@yuku123/z-team-component 0.2.53 → 0.2.54

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.
Files changed (48) hide show
  1. package/dist/{ChangeLogView-Dm7C3S14.js → ChangeLogView-Cstbioyw.js} +137 -137
  2. package/dist/{ComponentDoc-y1NfPcHG.js → ComponentDoc-yvIrAz9-.js} +3 -3
  3. package/dist/{InvitationManagementPage-Btw9iVOl.js → InvitationManagementPage-CIouC3Fn.js} +1 -1
  4. package/dist/{OnboardingPage-wF0OrgfD.js → OnboardingPage-DScwVCi-.js} +2 -2
  5. package/dist/{ScheduledTasks-CzzgG3n8.js → ScheduledTasks-Dd2lJrBF.js} +2924 -2892
  6. package/dist/{SystemShell-BSCmnOxf.js → SystemShell-DtvyWy0u.js} +1 -1
  7. package/dist/{admin-logs-vR556ORQ.js → admin-logs-B9KS6VJz.js} +2 -2
  8. package/dist/{api-Jfnj1ybB.js → api-CALqShkO.js} +1 -0
  9. package/dist/{api-Bs0qYxjL.js → api-CdVRdA0g.js} +1 -1
  10. package/dist/createWorkspaceWsHandler-CL5-4wFp.js +13037 -0
  11. package/dist/{index-yS7XIUis.js → index-4YxdJwFm.js} +3 -3
  12. package/dist/{index-CnEWSsKt.js → index-7Pe_xBrh.js} +1 -1
  13. package/dist/{index-DroZE6Bv.js → index-C2Wkg1b5.js} +3 -3
  14. package/dist/{index-BbkE7r8M.js → index-C3B7CbHo.js} +610 -529
  15. package/dist/{index-BkX0I2aB.js → index-C6S3MIu4.js} +56 -56
  16. package/dist/{index-B3LhKHBx.js → index-CGWttFLb.js} +41 -35
  17. package/dist/{index-Di_vaPxC.js → index-CKS65_Dw.js} +3 -3
  18. package/dist/{index-Ck_D109M.js → index-CLWgeKwr.js} +2 -2
  19. package/dist/{index-BXiuxhgz.js → index-C_2o9qgM.js} +2 -2
  20. package/dist/{index-tADa82Fa.js → index-CgQH7-9F.js} +3 -3
  21. package/dist/{index-Dj5_8ulz.js → index-D6V-4vNa.js} +5 -5
  22. package/dist/{index-BtWtVMgY.js → index-DC5lxCN8.js} +6 -6
  23. package/dist/{index-CYViRXQo.js → index-DET70T3j.js} +1 -1
  24. package/dist/{index-DqUOCs_a.js → index-DEx5rtXv.js} +2 -2
  25. package/dist/{index-C5WSr14Z.js → index-DJOyOVn_.js} +87 -74
  26. package/dist/{index-DmZdGNnh.js → index-DKeYG0Fu.js} +4 -4
  27. package/dist/index-DLQoecEe.js +1143 -0
  28. package/dist/{index-BNShjps9.js → index-DLyAy3cr.js} +7 -7
  29. package/dist/{index-Onqu_VQO.js → index-DOygBsXO.js} +1121 -1123
  30. package/dist/index-TDZM-Zv3.js +9287 -0
  31. package/dist/{index-JLtVgwZv.js → index-aw72ID7y.js} +1 -1
  32. package/dist/{index-gxEdw4X4.js → index-lftFkqfI.js} +4 -4
  33. package/dist/{index-JMzBzwiO.js → index-usrA11ZG.js} +618 -617
  34. package/dist/index.js +1 -1
  35. package/dist/{instance-B0DZJnee.js → instance-f3C-1qYl.js} +1 -1
  36. package/dist/pages.js +1 -1
  37. package/dist/{schedule-D3jTrI1R.js → schedule-DfkgwPdE.js} +1 -1
  38. package/dist/{send-default-agent-team-message-CbqHaohM.js → send-default-agent-team-message-d_ECdczr.js} +1 -1
  39. package/dist/{sso-user-Dw_wwYa-.js → sso-user-HcsSzg8P.js} +1 -1
  40. package/dist/{training-CETtJBNQ.js → training-DnNQN0An.js} +1 -1
  41. package/dist/{useAppStore-s-CLa-nF.js → useAppStore-kRZEA5WZ.js} +1 -1
  42. package/dist/{webide-6j4OVoNA.js → webide-DPjFYxLl.js} +1526 -1526
  43. package/dist/z-team-component.css +2 -2
  44. package/package.json +1 -1
  45. package/dist/SmartWorkbench.module-xRRmpTTw.js +0 -85
  46. package/dist/createWorkspaceWsHandler-obuYWncQ.js +0 -12820
  47. package/dist/index-CxrBnzg2.js +0 -1182
  48. package/dist/index-DUmgSTQu.js +0 -9179
@@ -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 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 = {
3
+ import { useState as m, useCallback as x } from "react";
4
+ import { h as w } from "./history-BlrA1eaW.js";
5
+ const R = "_portalRoot_1sa2c_7", q = "_portalHeader_1sa2c_47", B = "_brandRow_1sa2c_53", D = "_brandLogo_1sa2c_59", L = "_brandTitle_1sa2c_63", M = "_brandSubtitle_1sa2c_70", G = "_portalMain_1sa2c_76", H = "_sectionTitle_1sa2c_85", j = "_cardGrid_1sa2c_92", K = "_scenarioCard_1sa2c_98", W = "_cardTop_1sa2c_114", z = "_cardIcon_1sa2c_119", Z = "_cardInfo_1sa2c_123", Q = "_cardTitle_1sa2c_127", J = "_cardTags_1sa2c_134", U = "_tag_1sa2c_139", X = "_cardDesc_1sa2c_148", Y = "_cardAction_1sa2c_154", V = "_btnCreate_1sa2c_159", ee = "_portalFooter_1sa2c_184", ae = "_linkWorkspace_1sa2c_190", oe = "_modalOverlay_1sa2c_206", te = "_modalBox_1sa2c_217", re = "_modalHeader_1sa2c_226", ne = "_modalIcon_1sa2c_239", ce = "_modalClose_1sa2c_242", le = "_modalBody_1sa2c_255", ie = "_modalDesc_1sa2c_258", se = "_fieldGroup_1sa2c_264", de = "_fieldLabel_1sa2c_269", _e = "_required_1sa2c_274", pe = "_fieldInput_1sa2c_278", me = "_fieldInputError_1sa2c_298", ue = "_fieldTextarea_1sa2c_301", fe = "_fieldTextareaError_1sa2c_325", he = "_fieldError_1sa2c_328", ge = "_modalFooter_1sa2c_333", Ce = "_btnCancel_1sa2c_339", be = "_btnConfirm_1sa2c_354", e = {
6
6
  portalRoot: R,
7
7
  portalHeader: q,
8
8
  brandRow: B,
@@ -28,21 +28,21 @@ const R = "_portalRoot_1mw0k_2", q = "_portalHeader_1mw0k_11", B = "_brandRow_1m
28
28
  modalBox: te,
29
29
  modalHeader: re,
30
30
  modalIcon: ne,
31
- modalClose: le,
32
- modalBody: ie,
33
- modalDesc: ce,
34
- fieldGroup: de,
35
- fieldLabel: se,
36
- required: me,
37
- fieldInput: _e,
38
- fieldInputError: pe,
31
+ modalClose: ce,
32
+ modalBody: le,
33
+ modalDesc: ie,
34
+ fieldGroup: se,
35
+ fieldLabel: de,
36
+ required: _e,
37
+ fieldInput: pe,
38
+ fieldInputError: me,
39
39
  fieldTextarea: ue,
40
40
  fieldTextareaError: fe,
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 = [
41
+ fieldError: he,
42
+ modalFooter: ge,
43
+ btnCancel: Ce,
44
+ btnConfirm: be
45
+ }, Ne = window.ZTEAM_USE_KAPI === !0 ? "/kapi/z-team/api" : "/z-team/api", Te = [
46
46
  {
47
47
  key: "ppt-creation",
48
48
  icon: /* @__PURE__ */ a(P, {}),
@@ -122,23 +122,23 @@ const R = "_portalRoot_1mw0k_2", q = "_portalHeader_1mw0k_11", B = "_brandRow_1m
122
122
  }
123
123
  }
124
124
  ];
125
- function Ne({
125
+ function ye({
126
126
  scenario: o,
127
- onClose: l,
128
- onCreated: s
127
+ onClose: c,
128
+ onCreated: d
129
129
  }) {
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;
130
+ var g, C, b, N, T;
131
+ const [r, s] = m(""), [u, f] = m(!1), [l, i] = m(""), E = !!((g = o.inputConfig) != null && g.multiline), h = x(async () => {
132
+ var y, k, I;
133
133
  const t = r.trim();
134
- if ((N = o.inputConfig) != null && N.required && !t) {
135
- c(`请填写${o.inputConfig.label}`);
134
+ if ((y = o.inputConfig) != null && y.required && !t) {
135
+ i(`请填写${o.inputConfig.label}`);
136
136
  return;
137
137
  }
138
- c(""), f(!0);
138
+ i(""), f(!0);
139
139
  try {
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/`, {
140
+ const _ = ((k = t.split(`
141
+ `)[0]) == null ? void 0 : k.trim()) ?? "", S = _.length > 0 ? _.length > 32 ? `${_.slice(0, 32)}…` : _ : `${Date.now()}`, v = `${o.title}-${S}`, p = await (await fetch(`${Ne}/scenario-instances/`, {
142
142
  method: "POST",
143
143
  credentials: "include",
144
144
  headers: {
@@ -146,9 +146,9 @@ function Ne({
146
146
  "Content-Type": "application/json"
147
147
  },
148
148
  body: JSON.stringify({
149
- name: I,
149
+ name: v,
150
150
  description: `${o.title}:${t.length > 120 ? `${t.slice(0, 120)}…` : t}`,
151
- workspace_path: I,
151
+ workspace_path: v,
152
152
  scenario_code: o.scenarioCode,
153
153
  extend_params: {
154
154
  [o.inputConfig.paramKey]: t,
@@ -156,34 +156,34 @@ function Ne({
156
156
  }
157
157
  })
158
158
  })).json();
159
- _.success && ((y = _.data) != null && y.id) ? s(_.data.id) : c(_.message || "创建失败,请重试");
159
+ p.success && ((I = p.data) != null && I.id) ? d(p.data.id) : i(p.message || "创建失败,请重试");
160
160
  } catch {
161
- c("网络错误,请检查服务是否可用");
161
+ i("网络错误,请检查服务是否可用");
162
162
  } finally {
163
163
  f(!1);
164
164
  }
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: [
165
+ }, [r, o, d]);
166
+ return /* @__PURE__ */ a("div", { className: e.modalOverlay, onClick: c, 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: l, children: /* @__PURE__ */ a(F, {}) })
170
+ /* @__PURE__ */ a("button", { className: e.modalClose, onClick: c, 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
- (g = o.inputConfig) == null ? void 0 : g.label,
177
- ((w = o.inputConfig) == null ? void 0 : w.required) && /* @__PURE__ */ a("span", { className: e.required, children: "*" })
176
+ (C = o.inputConfig) == null ? void 0 : C.label,
177
+ ((b = o.inputConfig) == null ? void 0 : b.required) && /* @__PURE__ */ a("span", { className: e.required, children: "*" })
178
178
  ] }),
179
179
  E ? /* @__PURE__ */ a(
180
180
  "textarea",
181
181
  {
182
- className: `${e.fieldTextarea} ${i ? e.fieldTextareaError : ""}`,
182
+ className: `${e.fieldTextarea} ${l ? e.fieldTextareaError : ""}`,
183
183
  value: r,
184
- placeholder: (C = o.inputConfig) == null ? void 0 : C.placeholder,
184
+ placeholder: (N = o.inputConfig) == null ? void 0 : N.placeholder,
185
185
  onChange: (t) => {
186
- d(t.target.value), i && c("");
186
+ s(t.target.value), l && i("");
187
187
  },
188
188
  rows: 5,
189
189
  autoFocus: !0
@@ -191,29 +191,29 @@ function Ne({
191
191
  ) : /* @__PURE__ */ a(
192
192
  "input",
193
193
  {
194
- className: `${e.fieldInput} ${i ? e.fieldInputError : ""}`,
194
+ className: `${e.fieldInput} ${l ? e.fieldInputError : ""}`,
195
195
  type: "text",
196
196
  value: r,
197
- placeholder: (b = o.inputConfig) == null ? void 0 : b.placeholder,
197
+ placeholder: (T = o.inputConfig) == null ? void 0 : T.placeholder,
198
198
  onChange: (t) => {
199
- d(t.target.value), i && c("");
199
+ s(t.target.value), l && i("");
200
200
  },
201
201
  onKeyDown: (t) => {
202
- t.key === "Enter" && k();
202
+ t.key === "Enter" && h();
203
203
  },
204
204
  autoFocus: !0
205
205
  }
206
206
  ),
207
- i && /* @__PURE__ */ a("p", { className: e.fieldError, children: i })
207
+ l && /* @__PURE__ */ a("p", { className: e.fieldError, children: l })
208
208
  ] })
209
209
  ] }),
210
210
  /* @__PURE__ */ n("div", { className: e.modalFooter, children: [
211
- /* @__PURE__ */ a("button", { className: e.btnCancel, onClick: l, children: "取消" }),
211
+ /* @__PURE__ */ a("button", { className: e.btnCancel, onClick: c, children: "取消" }),
212
212
  /* @__PURE__ */ a(
213
213
  "button",
214
214
  {
215
215
  className: e.btnConfirm,
216
- onClick: k,
216
+ onClick: h,
217
217
  disabled: u,
218
218
  children: u ? "创建中..." : "确认并开始"
219
219
  }
@@ -222,10 +222,10 @@ function Ne({
222
222
  ] }) });
223
223
  }
224
224
  function Ee() {
225
- const [o, l] = p(
225
+ const [o, c] = m(
226
226
  null
227
- ), s = x((r) => {
228
- localStorage.setItem("ft_last_project_id", String(r)), localStorage.removeItem("ft_last_file_path"), v.push("/workspace");
227
+ ), d = x((r) => {
228
+ localStorage.setItem("ft_last_project_id", String(r)), localStorage.removeItem("ft_last_file_path"), w.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: be.map((r) => /* @__PURE__ */ n("div", { className: e.scenarioCard, children: [
240
+ /* @__PURE__ */ a("div", { className: e.cardGrid, children: Te.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((d) => /* @__PURE__ */ a("span", { className: e.tag, children: d }, d)) })
245
+ /* @__PURE__ */ a("div", { className: e.cardTags, children: r.tags.map((s) => /* @__PURE__ */ a("span", { className: e.tag, children: s }, s)) })
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: () => l(r),
253
+ onClick: () => c(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: () => v.push("/workspace"),
263
+ onClick: () => w.push("/workspace"),
264
264
  children: "进入工作台 →"
265
265
  }
266
266
  ) }),
267
267
  o && /* @__PURE__ */ a(
268
- Ne,
268
+ ye,
269
269
  {
270
270
  scenario: o,
271
- onClose: () => l(null),
272
- onCreated: s
271
+ onClose: () => c(null),
272
+ onCreated: d
273
273
  }
274
274
  )
275
275
  ] });
@@ -1,19 +1,18 @@
1
1
  import { jsxs as t, jsx as e, Fragment as we } from "react/jsx-runtime";
2
2
  import { SearchOutlined as Ie, ReloadOutlined as Ne, PlusOutlined as xe, ArrowUpOutlined as Et, ArrowDownOutlined as Dt, DeleteOutlined as Te, PlayCircleOutlined as Rt, FolderOutlined as He, CaretRightOutlined as rt, VideoCameraOutlined as Lt, EditOutlined as Ve, CopyOutlined as $t, CheckCircleOutlined as Pt, ClockCircleOutlined as Ot, AuditOutlined as dt, EyeOutlined as ot, SendOutlined as Qt, UserAddOutlined as Jt, TeamOutlined as Yt, AppstoreOutlined as Zt, CloudUploadOutlined as Xt, LinkOutlined as el, InfoCircleOutlined as tl, FileProtectOutlined as ll, BookOutlined as nl, GiftOutlined as al, AppstoreAddOutlined as il, NodeIndexOutlined as rl, FileDoneOutlined as ol, SolutionOutlined as sl, BarChartOutlined as dl } from "@ant-design/icons";
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
- import { ListTable as _e, DEFAULT_PAGINATION as hl } from "@yuku123/z-frontend-common/ui";
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-CETtJBNQ.js";
7
- import { u as Ce } from "./useAppStore-s-CLa-nF.js";
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-DnNQN0An.js";
7
+ import { u as Ce } from "./useAppStore-kRZEA5WZ.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-Jfnj1ybB.js";
15
- import { h as ql } from "./schedule-D3jTrI1R.js";
16
- import { s as Ee } from "./SmartWorkbench.module-xRRmpTTw.js";
14
+ import { ao as Kl } from "./api-CALqShkO.js";
15
+ import { h as ql } from "./schedule-DfkgwPdE.js";
17
16
  function Vl() {
18
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 () => {
19
18
  L(!0);
@@ -246,7 +245,7 @@ function Vl() {
246
245
  ] })
247
246
  ] }),
248
247
  /* @__PURE__ */ e("div", { className: r.tableCard, children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
249
- _e,
248
+ Ae,
250
249
  {
251
250
  rows: n,
252
251
  rowKey: "id",
@@ -740,8 +739,8 @@ function Pn() {
740
739
  W.id != null && g.set(W.id, s(W));
741
740
  for (const W of u) {
742
741
  if (W.id == null) continue;
743
- const ge = g.get(W.id), Ae = W.parentId != null ? g.get(W.parentId) : void 0;
744
- Ae && Ae !== ge ? Ae.children.push(ge) : ie.push(ge);
742
+ const ge = g.get(W.id), Ee = W.parentId != null ? g.get(W.parentId) : void 0;
743
+ Ee && Ee !== ge ? Ee.children.push(ge) : ie.push(ge);
745
744
  }
746
745
  const re = new Set(
747
746
  u.filter((W) => W.id != null).map((W) => W.name)
@@ -859,8 +858,8 @@ ${An(s)}
859
858
  continue;
860
859
  }
861
860
  for (const ge of W) {
862
- const Ae = s.get(ge);
863
- Ae ? Ae.push(re) : s.set(ge, [re]);
861
+ const Ee = s.get(ge);
862
+ Ee ? Ee.push(re) : s.set(ge, [re]);
864
863
  }
865
864
  }
866
865
  const ie = [...s.entries()].sort(
@@ -988,7 +987,7 @@ ${An(s)}
988
987
  },
989
988
  s.id
990
989
  ), gt = (s, g) => {
991
- var Ae;
990
+ var Ee;
992
991
  const ie = G.has(s.name), re = h === s.name, W = s.children.length > 0, ge = s.items.length > 0 || W;
993
992
  return /* @__PURE__ */ t("div", { children: [
994
993
  /* @__PURE__ */ t(
@@ -1024,7 +1023,7 @@ ${An(s)}
1024
1023
  /* @__PURE__ */ e(He, { className: q.groupIcon }),
1025
1024
  /* @__PURE__ */ e("span", { className: q.treeItemTitle, children: s.name }),
1026
1025
  /* @__PURE__ */ e("span", { className: q.groupCount, children: s.items.length }),
1027
- ((Ae = s.cat) == null ? void 0 : Ae.id) != null ? /* @__PURE__ */ e(
1026
+ ((Ee = s.cat) == null ? void 0 : Ee.id) != null ? /* @__PURE__ */ e(
1028
1027
  ke,
1029
1028
  {
1030
1029
  title: s.items.length > 0 ? `文件夹内有 ${s.items.length} 篇资料,无法删除` : W ? `文件夹下有 ${s.children.length} 个子文件夹,无法删除` : "确认删除该文件夹?",
@@ -1572,7 +1571,7 @@ function Mn() {
1572
1571
  ] })
1573
1572
  ] }),
1574
1573
  /* @__PURE__ */ e("div", { className: r.tableCard, children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
1575
- _e,
1574
+ Ae,
1576
1575
  {
1577
1576
  rows: n,
1578
1577
  columns: O,
@@ -2079,7 +2078,7 @@ function zn() {
2079
2078
  ] })
2080
2079
  ] }),
2081
2080
  /* @__PURE__ */ e("div", { className: r.tableCard, children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
2082
- _e,
2081
+ Ae,
2083
2082
  {
2084
2083
  rows: n,
2085
2084
  rowKey: "batchKey",
@@ -2212,7 +2211,7 @@ function zn() {
2212
2211
  " 人 · 点「批改/查看」看逐题答卷)"
2213
2212
  ] }),
2214
2213
  /* @__PURE__ */ e(
2215
- _e,
2214
+ Ae,
2216
2215
  {
2217
2216
  rows: ee,
2218
2217
  rowKey: "examId",
@@ -2540,7 +2539,7 @@ function na() {
2540
2539
  ] })
2541
2540
  ] }),
2542
2541
  /* @__PURE__ */ e("div", { className: r.tableCard, children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
2543
- _e,
2542
+ Ae,
2544
2543
  {
2545
2544
  rows: n,
2546
2545
  rowKey: "id",
@@ -2826,7 +2825,7 @@ function aa({
2826
2825
  )
2827
2826
  ] }),
2828
2827
  /* @__PURE__ */ e(
2829
- _e,
2828
+ Ae,
2830
2829
  {
2831
2830
  rows: _,
2832
2831
  rowKey: "id",
@@ -3072,7 +3071,7 @@ function ia() {
3072
3071
  ] })
3073
3072
  ] }),
3074
3073
  /* @__PURE__ */ e("div", { className: r.tableCard, children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
3075
- _e,
3074
+ Ae,
3076
3075
  {
3077
3076
  rows: n,
3078
3077
  rowKey: "id",
@@ -3522,7 +3521,7 @@ function oa() {
3522
3521
  ] })
3523
3522
  ] }),
3524
3523
  /* @__PURE__ */ e(
3525
- _e,
3524
+ Ae,
3526
3525
  {
3527
3526
  rows: u,
3528
3527
  rowKey: "id",
@@ -3855,7 +3854,7 @@ function sa() {
3855
3854
  ] })
3856
3855
  ] }),
3857
3856
  /* @__PURE__ */ e("div", { className: r.tableCard, children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
3858
- _e,
3857
+ Ae,
3859
3858
  {
3860
3859
  rows: n,
3861
3860
  rowKey: "id",
@@ -5605,7 +5604,7 @@ function Ma() {
5605
5604
  ] }) })
5606
5605
  ] }),
5607
5606
  /* @__PURE__ */ e("div", { className: [r.tableCard, le.tableSide].join(" "), children: /* @__PURE__ */ e("div", { className: r.tableWrap, children: /* @__PURE__ */ e(
5608
- _e,
5607
+ Ae,
5609
5608
  {
5610
5609
  rows: G,
5611
5610
  rowKey: "id",
@@ -5821,9 +5820,16 @@ function Ma() {
5821
5820
  )
5822
5821
  ] });
5823
5822
  }
5824
- const za = "_groupLabel_1p4a9_5", Fa = {
5825
- groupLabel: za
5826
- }, Ua = [
5823
+ const za = "_container_nfu8c_5", Fa = "_sidebar_nfu8c_14", Ua = "_menuList_nfu8c_24", Ga = "_menuItem_nfu8c_29", ja = "_menuItemActive_nfu8c_47", Wa = "_menuIcon_nfu8c_54", Ha = "_panelArea_nfu8c_61", Ka = "_groupLabel_nfu8c_70", _e = {
5824
+ container: za,
5825
+ sidebar: Fa,
5826
+ menuList: Ua,
5827
+ menuItem: Ga,
5828
+ menuItemActive: ja,
5829
+ menuIcon: Wa,
5830
+ panelArea: Ha,
5831
+ groupLabel: Ka
5832
+ }, qa = [
5827
5833
  {
5828
5834
  label: "素材管理",
5829
5835
  items: [
@@ -5844,25 +5850,25 @@ const za = "_groupLabel_1p4a9_5", Fa = {
5844
5850
  ]
5845
5851
  }
5846
5852
  ];
5847
- function ai() {
5853
+ function di() {
5848
5854
  const [l, n] = o("video");
5849
- return Ce((k) => ql(k.currentUser, "TRAINING")) ? /* @__PURE__ */ t("div", { className: Ee.container, children: [
5850
- /* @__PURE__ */ e("aside", { className: Ee.sidebar, children: /* @__PURE__ */ e("nav", { className: Ee.menuList, children: Ua.map((k) => /* @__PURE__ */ t("div", { children: [
5851
- /* @__PURE__ */ e("div", { className: Fa.groupLabel, children: k.label }),
5855
+ return Ce((k) => ql(k.currentUser, "TRAINING")) ? /* @__PURE__ */ t("div", { className: _e.container, children: [
5856
+ /* @__PURE__ */ e("aside", { className: _e.sidebar, children: /* @__PURE__ */ e("nav", { className: _e.menuList, children: qa.map((k) => /* @__PURE__ */ t("div", { children: [
5857
+ /* @__PURE__ */ e("div", { className: _e.groupLabel, children: k.label }),
5852
5858
  k.items.map((L) => /* @__PURE__ */ t(
5853
5859
  "div",
5854
5860
  {
5855
- className: `${Ee.menuItem} ${l === L.key ? Ee.menuItemActive : ""}`,
5861
+ className: `${_e.menuItem} ${l === L.key ? _e.menuItemActive : ""}`,
5856
5862
  onClick: () => n(L.key),
5857
5863
  children: [
5858
- /* @__PURE__ */ e("span", { className: Ee.menuIcon, children: L.icon }),
5864
+ /* @__PURE__ */ e("span", { className: _e.menuIcon, children: L.icon }),
5859
5865
  /* @__PURE__ */ e("span", { children: L.label })
5860
5866
  ]
5861
5867
  },
5862
5868
  L.key
5863
5869
  ))
5864
5870
  ] }, k.label)) }) }),
5865
- /* @__PURE__ */ t("main", { className: Ee.panelArea, children: [
5871
+ /* @__PURE__ */ t("main", { className: _e.panelArea, children: [
5866
5872
  l === "video" && /* @__PURE__ */ e(Ma, {}),
5867
5873
  l === "paper" && /* @__PURE__ */ e(la, {}),
5868
5874
  l === "doc" && /* @__PURE__ */ e(Pn, {}),
@@ -5873,15 +5879,15 @@ function ai() {
5873
5879
  l === "ops" && /* @__PURE__ */ e(Mn, {}),
5874
5880
  l === "stats" && /* @__PURE__ */ e(fa, {})
5875
5881
  ] })
5876
- ] }) : /* @__PURE__ */ e("div", { className: Ee.container, children: /* @__PURE__ */ e(
5882
+ ] }) : /* @__PURE__ */ e("div", { className: _e.container, children: /* @__PURE__ */ e(
5877
5883
  "div",
5878
5884
  {
5879
- className: Ee.panelArea,
5885
+ className: _e.panelArea,
5880
5886
  style: { alignItems: "center", justifyContent: "center" },
5881
5887
  children: /* @__PURE__ */ e(Ke, { description: "无培训管理权限(需要权限点:TRAINING)" })
5882
5888
  }
5883
5889
  ) });
5884
5890
  }
5885
5891
  export {
5886
- ai as default
5892
+ di as default
5887
5893
  };
@@ -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-Jfnj1ybB.js";
4
- import { u as F } from "./useAppStore-s-CLa-nF.js";
3
+ import { a as b, f as $, B, u as D } from "./api-CALqShkO.js";
4
+ import { u as F } from "./useAppStore-kRZEA5WZ.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-Dj5_8ulz.js";
10
+ import { M as oa } from "./index-D6V-4vNa.js";
11
11
  function j(a) {
12
12
  return a ? `?token=${encodeURIComponent(a)}` : "";
13
13
  }
@@ -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-s-CLa-nF.js";
3
+ import { u as O } from "./useAppStore-kRZEA5WZ.js";
4
4
  /* empty css */
5
- import { T as P, g as U } from "./api-Jfnj1ybB.js";
5
+ import { T as P, g as U } from "./api-CALqShkO.js";
6
6
  async function y(o, s) {
7
7
  const n = await o.text().catch(() => "");
8
8
  let t = {};
@@ -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-y1NfPcHG.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-y1NfPcHG.js";
2
+ import { a as y } from "./ComponentDoc-yvIrAz9-.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-yvIrAz9-.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";
@@ -1,8 +1,8 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as r, useCallback as c } from "react";
3
- import { S, T as A, P as D } from "./webide-6j4OVoNA.js";
4
- import { P as I, S as N, C as W, E as H, a as $, W as h, b, T as B, c as E } from "./ScheduledTasks-CzzgG3n8.js";
5
- import { p as j } from "./index-DUmgSTQu.js";
3
+ import { S, T as A, P as D } from "./webide-DPjFYxLl.js";
4
+ import { P as I, S as N, C as W, E as H, a as $, W as h, b, T as B, c as E } from "./ScheduledTasks-Dd2lJrBF.js";
5
+ import { p as j } from "./index-TDZM-Zv3.js";
6
6
  function J({
7
7
  view: s,
8
8
  agents: a,
@@ -6,10 +6,10 @@ import { useState as F, useRef as fp, useEffect as Y, useMemo as Wp, useCallback
6
6
  import Vp, { defaultUrlTransform as KA } from "react-markdown";
7
7
  import gp from "rehype-highlight";
8
8
  import Jp from "remark-gfm";
9
- import { ap as xa, aq as jA } from "./api-Jfnj1ybB.js";
10
- import { u as Dp } from "./useAppStore-s-CLa-nF.js";
11
- import { u as ia, v as oA, w as fA, x as lA, i as xA, y as iA, z as cA, B as TA, E as vA, G as up, H as Yp, I as mp, J as yp, K as Ip, M as FA, N as dA, O as OA, Q as XA } from "./index-DUmgSTQu.js";
12
- import { u as RA, b as NA, f as kA, d as WA, e as Cp, g as DA, h as qA, r as uA, i as mA, j as wA, k as BA, l as GA, m as LA, n as zA, o as VA } from "./createWorkspaceWsHandler-obuYWncQ.js";
9
+ import { ap as xa, aq as jA } from "./api-CALqShkO.js";
10
+ import { u as Dp } from "./useAppStore-kRZEA5WZ.js";
11
+ import { u as ia, v as oA, w as fA, x as lA, i as xA, y as iA, z as cA, B as TA, E as vA, G as up, H as Yp, I as mp, J as yp, K as Ip, M as FA, N as dA, O as OA, Q as XA } from "./index-TDZM-Zv3.js";
12
+ import { b as RA, d as NA, f as kA, e as WA, g as Cp, h as DA, j as qA, r as uA, k as mA, l as wA, m as BA, n as GA, o as LA, p as zA, q as VA } from "./createWorkspaceWsHandler-CL5-4wFp.js";
13
13
  import { h as r } from "./index.module-CAa-2T7m.js";
14
14
  const gA = "_editorView_as93v_7", JA = "_editorTopBar_as93v_16", bA = "_backBtn_as93v_25", MA = "_titleInput_as93v_39", sA = "_summaryBar_as93v_50", QA = "_summaryInput_as93v_55", hA = "_mdToolbar_as93v_67", YA = "_mdBtn_as93v_77", yA = "_mdSep_as93v_84", IA = "_editorBody_as93v_93", CA = "_tocPanel_as93v_100", ZA = "_tocHeader_as93v_108", EA = "_tocList_as93v_117", _A = "_tocItem_as93v_122", $A = "_tocEmpty_as93v_137", pt = "_textarea_as93v_144", at = "_half_as93v_160", At = "_preview_as93v_163", tt = "_markdown_as93v_173", et = "_videoEmbed_as93v_185", w = {
15
15
  editorView: gA,
@@ -1682,7 +1682,7 @@ const Rt = [
1682
1682
  draftDeleteBtn: T0,
1683
1683
  markdown: v0
1684
1684
  }, F0 = HA(
1685
- () => import("./index-Di_vaPxC.js").then((a) => ({ default: a.MarketContent }))
1685
+ () => import("./index-CKS65_Dw.js").then((a) => ({ default: a.MarketContent }))
1686
1686
  );
1687
1687
  function d0(a) {
1688
1688
  const n = [], x = a.split(`
@@ -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-Dw_wwYa-.js";
3
+ import { r as de, h as K, s as X } from "./sso-user-HcsSzg8P.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-obuYWncQ.js";
11
- import { u as c, f as ye, T as ve } from "./useAppStore-s-CLa-nF.js";
12
- import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-Jfnj1ybB.js";
13
- import { l as xe, j as Pe } from "./instance-B0DZJnee.js";
10
+ import { c as we, C as Se } from "./createWorkspaceWsHandler-CL5-4wFp.js";
11
+ import { u as c, f as ye, T as ve } from "./useAppStore-kRZEA5WZ.js";
12
+ import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-CALqShkO.js";
13
+ import { l as xe, j as Pe } from "./instance-f3C-1qYl.js";
14
14
  /* empty css */
15
- import { s as _e } from "./admin-logs-vR556ORQ.js";
15
+ import { s as _e } from "./admin-logs-B9KS6VJz.js";
16
16
  const ae = 2e4;
17
17
  function Ee(l, o = ae, n = globalThis) {
18
18
  let s = null;
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { C as r } from "./ChangeLogView-Dm7C3S14.js";
2
+ import { C as r } from "./ChangeLogView-Cstbioyw.js";
3
3
  function n() {
4
4
  return /* @__PURE__ */ e(r, { variant: "page" });
5
5
  }
@@ -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-y1NfPcHG.js";
7
- import "./index-DUmgSTQu.js";
6
+ import { M as D } from "./ComponentDoc-yvIrAz9-.js";
7
+ import "./index-TDZM-Zv3.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 运维",