@yuku123/z-team-component 0.2.141 → 0.2.143

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/{AdminModuleContent-FFU5MUjw.js → AdminModuleContent-C9y4u5Ab.js} +6 -6
  2. package/dist/{ChangeLogView-C5v5uT8L.js → ChangeLogView-Crx_PRZV.js} +1 -1
  3. package/dist/{ComponentDoc-DnZq0_Rk.js → ComponentDoc-CpD9Oqft.js} +3 -3
  4. package/dist/{InvitationManagementPage-dEBNe9_s.js → InvitationManagementPage-K8R9NQMT.js} +1 -1
  5. package/dist/{OnboardingPage-BW8WhBg5.js → OnboardingPage-DovjMzon.js} +2 -2
  6. package/dist/{ScheduledTasks-BaZ0_klE.js → ScheduledTasks-CAtPYgXw.js} +1681 -1700
  7. package/dist/SettingsModal-B6s0m7ss.js +1103 -0
  8. package/dist/{SystemShell-I7vWo1XG.js → SystemShell-BwtZGu32.js} +361 -311
  9. package/dist/{admin-logs-BDPC3Q_Y.js → admin-logs-CqN5Phct.js} +1 -1
  10. package/dist/{api-U9U4zzq_.js → api-Cibkde66.js} +1 -1
  11. package/dist/{api-BJ5jPWNm.js → api-DIAm9CQz.js} +1 -1
  12. package/dist/{createWorkspaceWsHandler-B6TdD0Oz.js → createWorkspaceWsHandler-DTnK73tD.js} +822 -822
  13. package/dist/{ctc-sso-DtJHC-2M.js → ctc-sso-Hj8fdMY0.js} +8 -6
  14. package/dist/{index-BGZV4U3S.js → index-B2ytjRa-.js} +3 -3
  15. package/dist/{index-CPpqideA.js → index-BBtMl9Nz.js} +1 -1
  16. package/dist/{index-CP5raaOW.js → index-BGcqNhV1.js} +3 -3
  17. package/dist/{index-DSXVCDf7.js → index-BGwAJocm.js} +1 -1
  18. package/dist/{index-Dd5RE_0a.js → index-Bbb31dmy.js} +4 -4
  19. package/dist/{index-BPEfgkzE.js → index-BfR9eIzg.js} +3 -3
  20. package/dist/{index-XgaiU13i.js → index-BhHEPcvx.js} +1 -1
  21. package/dist/{index-WWGxF0UX.js → index-Bn9tzXst.js} +2 -2
  22. package/dist/{index-mDjl3m2W.js → index-Bs8fmFn0.js} +22 -22
  23. package/dist/{index-DuZrrpXt.js → index-CGYCCh8R.js} +3 -3
  24. package/dist/{index-BwhK44Dc.js → index-C_Ysrnnp.js} +3 -3
  25. package/dist/{index-XTNGZnrF.js → index-CshNZQgN.js} +1 -1
  26. package/dist/{index-CVgvlDAT.js → index-D7dN1HGT.js} +2 -2
  27. package/dist/{index-DKUg7Evq.js → index-DCoLm48X.js} +2 -2
  28. package/dist/{index-Bfw6OE5L.js → index-DTezuv5L.js} +3 -3
  29. package/dist/{index-DIv1OJ_2.js → index-DW8IHcLd.js} +2 -2
  30. package/dist/{index-Gn0zdd5m.js → index-DXaXLRHV.js} +2 -2
  31. package/dist/{index-CmzTSdmD.js → index-Dd2LlTvg.js} +4 -4
  32. package/dist/{index-d6RIzlsj.js → index-DkbEusgG.js} +2 -2
  33. package/dist/index-Dpcve4hK.js +20 -0
  34. package/dist/index-VIj6jQQc.js +8412 -0
  35. package/dist/{index-CToJEufJ.js → index-WeUfGyGs.js} +1 -1
  36. package/dist/{index-BXaJSMd0.js → index-a3rvjuIX.js} +2 -2
  37. package/dist/{index-skl-gjj4.js → index-amd_6wnu.js} +285 -293
  38. package/dist/{index-CsNtBWH-.js → index-oCHQ6Gm8.js} +2 -2
  39. package/dist/index.js +1 -1
  40. package/dist/{instance-D_EP8AQm.js → instance-cM3jNPz_.js} +1 -1
  41. package/dist/{menuPermission-Bhnols4v.js → menuPermission-CtsbPA_m.js} +3 -3
  42. package/dist/pages.js +1 -1
  43. package/dist/{send-default-agent-team-message-0RB1pYex.js → send-default-agent-team-message-C3A4gJAt.js} +1 -1
  44. package/dist/{training-B1eRX8g1.js → training-VX0S1Wq1.js} +1 -1
  45. package/dist/{webide-C4ThGZzY.js → webide-DdKW4JyS.js} +3 -3
  46. package/dist/z-team-component.css +1 -1
  47. package/package.json +2 -2
  48. package/dist/index-kjli87DO.js +0 -9458
@@ -1,4 +1,5 @@
1
- function d() {
1
+ const d = "/kapi/z-ctc/api";
2
+ function m() {
2
3
  if (typeof window > "u") return null;
3
4
  try {
4
5
  const t = localStorage.getItem("USER_INFO");
@@ -16,7 +17,7 @@ function d() {
16
17
  return null;
17
18
  }
18
19
  }
19
- async function m() {
20
+ async function f() {
20
21
  const t = () => {
21
22
  localStorage.removeItem("USER_INFO"), window.USER_INFO = void 0;
22
23
  };
@@ -104,14 +105,15 @@ async function u() {
104
105
  return null;
105
106
  }
106
107
  }
107
- function f() {
108
+ function g() {
108
109
  const t = new URL(window.location.href);
109
110
  t.searchParams.has("_from_login") || t.searchParams.set("_from_login", "1");
110
111
  const a = `/login?redirect=${encodeURIComponent(t.toString())}`;
111
112
  window.location.href = a;
112
113
  }
113
114
  export {
114
- m as f,
115
- f as r,
116
- d as s
115
+ d as C,
116
+ f,
117
+ g as r,
118
+ m as s
117
119
  };
@@ -6,8 +6,8 @@ import { useState as F, useRef as cp, useEffect as Y, useMemo as mp, useCallback
6
6
  import Mp, { defaultUrlTransform as lA } from "react-markdown";
7
7
  import sp from "rehype-highlight";
8
8
  import hp from "remark-gfm";
9
- import { a as $, f as pp, B as ap, G as Ap, a8 as Ta, a9 as xA, u as wp } from "./ComponentDoc-DnZq0_Rk.js";
10
- import { u as va, v as iA, x as cA, y as TA, h as vA, z as FA, B as dA, E as OA, G as RA, H as Gp, I as Cp, J as Lp, K as Zp, M as Ep, O as XA, Q as NA, V as kA, X as WA } from "./index-kjli87DO.js";
9
+ import { a as $, f as pp, B as ap, G as Ap, a8 as Ta, a9 as xA, u as wp } from "./ComponentDoc-CpD9Oqft.js";
10
+ import { M as va, O as iA, V as cA, X as TA, h as vA, Y as FA, _ as dA, $ as OA, a0 as RA, a1 as Gp, a2 as Cp, a3 as Lp, a4 as Zp, a5 as Ep, a6 as XA, a7 as NA, a8 as kA, a9 as WA } from "./index-VIj6jQQc.js";
11
11
  import { h as K } from "./index.module-CAa-2T7m.js";
12
12
  async function DA(a = "") {
13
13
  const t = a ? `?token=${encodeURIComponent(a)}` : "", U = await $(`${ap}/learning/columns${t}`, pp);
@@ -1819,7 +1819,7 @@ const Dt = [
1819
1819
  draftDeleteBtn: O0,
1820
1820
  markdown: R0
1821
1821
  }, X0 = fA(
1822
- () => import("./index-CsNtBWH-.js").then((a) => ({ default: a.MarketContent }))
1822
+ () => import("./index-oCHQ6Gm8.js").then((a) => ({ default: a.MarketContent }))
1823
1823
  );
1824
1824
  function N0(a) {
1825
1825
  const t = [], U = a.split(`
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as N, useRef as _, useEffect as r, useCallback as h } from "react";
3
3
  import { h as o } from "./history-BlrA1eaW.js";
4
- import { C as A } from "./ChangeLogView-C5v5uT8L.js";
4
+ import { C as A } from "./ChangeLogView-Crx_PRZV.js";
5
5
  const T = "_docs_3auja_12", p = "_bgLayer_3auja_59", v = "_bgGrid_3auja_70", y = "_navbar_3auja_87", f = "_navLeft_3auja_103", z = "_navBack_3auja_110", j = "_navBrand_3auja_132", C = "_navLogo_3auja_139", k = "_navTitle_3auja_154", L = "_navLink_3auja_164", I = "_layout_3auja_191", B = "_sidebar_3auja_202", S = "_sidebarInner_3auja_213", O = "_sidebarTitle_3auja_217", q = "_tocItem_3auja_227", P = "_tocActive_3auja_249", E = "_tocNum_3auja_260", D = "_content_3auja_275", G = "_section_3auja_285", K = "_secTitle_3auja_290", w = "_subTitle_3auja_301", M = "_lead_3auja_309", x = "_list_3auja_329", R = "_olist_3auja_360", Z = "_archLayer_3auja_397", F = "_archHead_3auja_412", W = "_archNum_3auja_420", H = "_archHeadText_3auja_432", Q = "_archLabel_3auja_439", U = "_archEn_3auja_446", V = "_archTagline_3auja_453", $ = "_callout_3auja_487", J = "_calloutBlue_3auja_488", Y = "_calloutGreen_3auja_489", X = "_calloutRed_3auja_490", ee = "_inlineCode_3auja_531", le = "_codeBlock_3auja_544", ne = "_tableWrap_3auja_560", ce = "_table_3auja_560", ae = "_tableKey_3auja_602", ie = "_tableIcon_3auja_607", te = "_statusDot_3auja_613", se = "_tone_pending_3auja_622", de = "_tone_running_3auja_626", re = "_tone_suspended_3auja_631", he = "_tone_done_3auja_636", oe = "_tone_failed_3auja_641", me = "_tone_cancelled_3auja_646", ge = "_markGood_3auja_652", ue = "_markBad_3auja_653", be = "_faqList_3auja_667", Ne = "_faqItem_3auja_673", _e = "_faqQ_3auja_687", Ae = "_faqA_3auja_694", Te = "_changelogEmbed_3auja_701", pe = "_changelogTip_3auja_709", ve = "_changelogLink_3auja_715", ye = "_docFooter_3auja_727", fe = "_backBtn_3auja_738", ze = "_docFooterText_3auja_761", l = {
6
6
  docs: T,
7
7
  bgLayer: p,
@@ -3,15 +3,15 @@ import { SearchOutlined as Ie, ReloadOutlined as Te, PlusOutlined as xe, ArrowUp
3
3
  import { Input as K, Select as ae, Button as M, Modal as ve, Space as Ke, Tooltip as oe, message as P, Tag as H, Popconfirm as Ne, Spin as Ze, Empty as We, AutoComplete as rt, Segmented as $t, TreeSelect as Xe, Descriptions as ne, InputNumber as Me, Drawer as cl, Tabs as Pt, Switch as Ot, Radio as pt, Tree as ul, Table as $e } from "antd";
4
4
  import { ListTable as Se, DEFAULT_PAGINATION as hl, SidebarShell as ml, MenuTree as pl } from "@yuku123/z-frontend-common/ui";
5
5
  import { useState as o, useCallback as de, useEffect as ce, useMemo as ue, useRef as Bt } from "react";
6
- import { f as Mt, a as zt, b as st, c as dt, s as gt, d as gl, e as yl, g as et, h as vl, i as fl, j as wl, k as Ft, l as yt, m as Cl, n as bl, o as Il, r as Gt, p as Ut, q as xl, t as vt, u as Tl, v as ct, w as ut, x as Nl, y as kl, z as Sl, A as _l, B as ft, C as Al, D as El, E as Dl, F as Rl, G as Ll, H as wt, I as $l, J as Pl, K as Ol, L as Bl, M as Ml, N as zl, O as Fl, P as Ct, Q as Gl, R as Ul, S as jl, T as Wl, U as Hl } from "./training-B1eRX8g1.js";
7
- import { u as Ce, a7 as Kl } from "./ComponentDoc-DnZq0_Rk.js";
6
+ import { f as Mt, a as zt, b as st, c as dt, s as gt, d as gl, e as yl, g as et, h as vl, i as fl, j as wl, k as Ft, l as yt, m as Cl, n as bl, o as Il, r as Gt, p as Ut, q as xl, t as vt, u as Tl, v as ct, w as ut, x as Nl, y as kl, z as Sl, A as _l, B as ft, C as Al, D as El, E as Dl, F as Rl, G as Ll, H as wt, I as $l, J as Pl, K as Ol, L as Bl, M as Ml, N as zl, O as Fl, P as Ct, Q as Gl, R as Ul, S as jl, T as Wl, U as Hl } from "./training-VX0S1Wq1.js";
7
+ import { u as Ce, a7 as Kl } from "./ComponentDoc-CpD9Oqft.js";
8
8
  import { s as r } from "./index.module-UI0iz8K0.js";
9
9
  import ql from "dayjs";
10
10
  import bt from "react-markdown";
11
11
  import It from "remark-gfm";
12
12
  import { h as be } from "./index.module-CAa-2T7m.js";
13
13
  import { MarkdownLiveEditor as Vl } from "@yuku123/z-frontend-markdown";
14
- import { h as Ql } from "./index-DSXVCDf7.js";
14
+ import { h as Ql } from "./index-BGwAJocm.js";
15
15
  function Jl() {
16
16
  const l = Ce((i) => i.token), [n, E] = o([]), [A, L] = o(!1), [I, B] = o(""), [D, z] = o(null), [c, _] = o(!1), [C, T] = o(!1), [x, G] = o(null), [u, v] = o([]), [S, y] = o([]), [j, J] = o([]), [Z, O] = o([]), [w, F] = o([]), h = de(async () => {
17
17
  L(!0);
@@ -1,4 +1,4 @@
1
- import { a as h, f as _, B as N, G as A, t as g } from "./ComponentDoc-DnZq0_Rk.js";
1
+ import { a as h, f as _, B as N, G as A, t as g } from "./ComponentDoc-CpD9Oqft.js";
2
2
  import { jsx as p, jsxs as I } from "react/jsx-runtime";
3
3
  import { useMemo as S, useState as C, useEffect as G, Component as L } from "react";
4
4
  function $(t) {
@@ -3,11 +3,11 @@ import { useNavigate as ue, useLocation as ae, Navigate as q } from "react-route
3
3
  import { useMemo as U, useState as h, useEffect as z, useRef as F, lazy as re } from "react";
4
4
  import { Spin as he, Row as ye, Col as W, Card as M, Statistic as K, Space as S, Tag as I, Button as v, Alert as V, Table as ge, Badge as oe, Popconfirm as B, message as w, Select as le, Drawer as fe, Tabs as ke, Form as N, Modal as be, Input as X, InputNumber as Z } from "antd";
5
5
  import { DashboardOutlined as Q, ClusterOutlined as J, CloudServerOutlined as D, ContainerOutlined as ce, ReloadOutlined as Y, PlayCircleOutlined as we, PauseCircleOutlined as xe, ClearOutlined as ie, SendOutlined as ve, PlusOutlined as Ce, BranchesOutlined as Pe, RocketOutlined as Se, AlertOutlined as Ie, FileTextOutlined as Re, DatabaseOutlined as ee, CloudOutlined as $e, DeploymentUnitOutlined as Oe } from "@ant-design/icons";
6
- import { P as Te, R as Ee } from "./index-BXaJSMd0.js";
7
- import { f as Ae, M as Ne } from "./menuPermission-Bhnols4v.js";
8
- import { u as te, a6 as _e } from "./ComponentDoc-DnZq0_Rk.js";
6
+ import { P as Te, R as Ee } from "./index-a3rvjuIX.js";
7
+ import { f as Ae, M as Ne } from "./menuPermission-CtsbPA_m.js";
8
+ import { u as te, a6 as _e } from "./ComponentDoc-CpD9Oqft.js";
9
9
  import { SidebarShell as ze, MenuTree as De, ListTable as de } from "@yuku123/z-frontend-common/ui";
10
- import "./index-kjli87DO.js";
10
+ import "./index-VIj6jQQc.js";
11
11
  const Fe = "_shell_rfl59_7", Me = "_main_rfl59_215", He = "_empty_rfl59_226", Le = "_emptyIcon_rfl59_236", Be = "_emptyText_rfl59_241", L = {
12
12
  shell: Fe,
13
13
  main: Me,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as h, useCallback as u } from "react";
3
- import { S as I, P } from "./webide-C4ThGZzY.js";
4
- import { L as D, P as N, S as H, C as W, E as $, a as j, W as b, b as g, T as B, c as O } from "./ScheduledTasks-BaZ0_klE.js";
5
- import { w as q, p as z } from "./index-kjli87DO.js";
3
+ import { S as I, P } from "./webide-DdKW4JyS.js";
4
+ import { L as D, P as N, S as H, C as W, E as $, a as j, W as b, b as g, T as B, c as O } from "./ScheduledTasks-CAtPYgXw.js";
5
+ import { w as q, p as z } from "./index-VIj6jQQc.js";
6
6
  import { TodoTab as E } from "@yuku123/z-task-component";
7
7
  function J({
8
8
  view: s,
@@ -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, b as E } from "./ComponentDoc-DnZq0_Rk.js";
5
+ import { a as A, B as R, b as E } from "./ComponentDoc-CpD9Oqft.js";
6
6
  function B(a) {
7
7
  const l = new URLSearchParams();
8
8
  Object.entries(a).forEach(([N, s]) => {
@@ -3,8 +3,8 @@ import { useMemo as m, useCallback as B, useEffect as N } from "react";
3
3
  import { useNavigate as O, useLocation as S } from "react-router-dom";
4
4
  import { AppstoreOutlined as $, HomeOutlined as x, DashboardOutlined as g, TableOutlined as w, DatabaseOutlined as A, RobotOutlined as L, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as R, BranchesOutlined as I, DeploymentUnitOutlined as P, SafetyCertificateOutlined as U, RocketOutlined as q } from "@ant-design/icons";
5
5
  import G from "@yuku123/z-lc-component";
6
- import { f as T, M as E } from "./menuPermission-Bhnols4v.js";
7
- import { u as _ } from "./ComponentDoc-DnZq0_Rk.js";
6
+ import { f as T, M as E } from "./menuPermission-CtsbPA_m.js";
7
+ import { u as _ } from "./ComponentDoc-CpD9Oqft.js";
8
8
  import { SidebarShell as D, MenuTree as C } from "@yuku123/z-frontend-common/ui";
9
9
  const K = "_shellWrap_kxkvd_7", j = "_shell_kxkvd_7", F = "_productBanner_kxkvd_25", H = "_productBannerLabel_kxkvd_37", z = "_productBannerName_kxkvd_43", J = "_productBannerCode_kxkvd_51", Q = "_productBannerBack_kxkvd_56", V = "_main_kxkvd_351", p = {
10
10
  shellWrap: K,
@@ -1,17 +1,17 @@
1
1
  import { jsxs as u, jsx as t } from "react/jsx-runtime";
2
- import { r as D, f as le } from "./ctc-sso-DtJHC-2M.js";
3
- import { u as r, $ as de, a0 as ue, a1 as pe, a2 as he, m as q, a3 as me, a4 as fe, r as ge, k as K, l as X } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { r as D, f as le } from "./ctc-sso-Hj8fdMY0.js";
3
+ import { u as r, $ as de, a0 as ue, a1 as pe, a2 as he, m as q, a3 as me, a4 as fe, r as ge, k as K, l as X } from "./ComponentDoc-CpD9Oqft.js";
4
4
  import { ArrowLeftOutlined as ke, LogoutOutlined as be, SearchOutlined as Se } from "@ant-design/icons";
5
5
  import { Spin as O, Button as J, Input as we, Empty as Y, Tag as ye, message as ve } from "antd";
6
6
  import Q from "query-string";
7
7
  import { useState as y, useRef as E, useEffect as S, useMemo as ee, useCallback as B } from "react";
8
- import { useLocation as Te } from "react-router-dom";
8
+ import { useLocation as je } from "react-router-dom";
9
9
  import { h as A } from "./history-BlrA1eaW.js";
10
- import { a as je, C as Ne } from "./createWorkspaceWsHandler-B6TdD0Oz.js";
11
- import { l as Ce, j as Pe } from "./instance-D_EP8AQm.js";
10
+ import { j as Te, C as Ne } from "./createWorkspaceWsHandler-DTnK73tD.js";
11
+ import { l as Ce, j as Pe } from "./instance-cM3jNPz_.js";
12
12
  import { i as xe, s as _e } from "./mobile-client-O3yr9h6t.js";
13
13
  /* empty css */
14
- import { s as Ee } from "./admin-logs-BDPC3Q_Y.js";
14
+ import { s as Ee } from "./admin-logs-CqN5Phct.js";
15
15
  const ae = 2e4;
16
16
  function Ae(s, i = ae, o = globalThis) {
17
17
  let c = null;
@@ -92,7 +92,7 @@ function Oe(s, i) {
92
92
  });
93
93
  ue(s, i, o), r.getState().loadRunningExecutions().catch(() => {
94
94
  });
95
- const n = r.getState(), { handler: N, dispose: m } = je({
95
+ const n = r.getState(), { handler: N, dispose: m } = Te({
96
96
  projectId: s,
97
97
  token: i,
98
98
  updateExecution: n.updateExecution,
@@ -123,7 +123,7 @@ function te() {
123
123
  });
124
124
  }
125
125
  function Xe() {
126
- const s = Te(), [i, o] = y("list"), [c, n] = y("chat"), [N, m] = y("team"), [k, p] = y(""), [f, $] = y(
126
+ const s = je(), [i, o] = y("list"), [c, n] = y("chat"), [N, m] = y("team"), [k, p] = y(""), [f, $] = y(
127
127
  () => !!r.getState().currentUser
128
128
  ), [re, I] = y(!1), {
129
129
  currentProject: v,
@@ -134,7 +134,7 @@ function Xe() {
134
134
  token: oe,
135
135
  loadProjects: V,
136
136
  expandProject: z,
137
- updateCurrentUser: T,
137
+ updateCurrentUser: j,
138
138
  requestChatScrollBottom: w
139
139
  } = r(), b = ee(() => {
140
140
  const e = Q.parse(s.search), a = String(e.projectId ?? e.project_id ?? "").trim();
@@ -161,25 +161,25 @@ function Xe() {
161
161
  const M = 3;
162
162
  if (r.getState().currentUser) {
163
163
  r.getState().token && q().then((l) => {
164
- e || T(l);
164
+ e || j(l);
165
165
  }).catch(() => {
166
166
  });
167
167
  return;
168
168
  }
169
- const j = (g) => {
169
+ const T = (g) => {
170
170
  const l = r.getState().token;
171
171
  if (H.current != null) {
172
- e || (T(X(g)), $(!0)), q().then((G) => {
173
- e || T(G);
172
+ e || (j(X(g)), $(!0)), q().then((G) => {
173
+ e || j(G);
174
174
  }).catch(() => {
175
175
  !e && l && (localStorage.removeItem("z_team_token"), r.setState({ token: "" }));
176
176
  });
177
177
  return;
178
178
  }
179
179
  q().then((G) => {
180
- e || T(G);
180
+ e || j(G);
181
181
  }).catch(() => {
182
- e || (l && (localStorage.removeItem("z_team_token"), r.setState({ token: "" })), T(X(g)));
182
+ e || (l && (localStorage.removeItem("z_team_token"), r.setState({ token: "" })), j(X(g)));
183
183
  }).finally(() => {
184
184
  e || $(!0);
185
185
  });
@@ -202,7 +202,7 @@ function Xe() {
202
202
  }
203
203
  }
204
204
  if (l && K(l)) {
205
- j(l);
205
+ T(l);
206
206
  return;
207
207
  }
208
208
  if (F >= M) {
@@ -221,7 +221,7 @@ function Xe() {
221
221
  })(), () => {
222
222
  e = !0;
223
223
  };
224
- }, [T]), S(() => {
224
+ }, [j]), S(() => {
225
225
  R && V();
226
226
  }, [R, V]), S(() => {
227
227
  var h;
@@ -260,8 +260,8 @@ function Xe() {
260
260
  let h = !1;
261
261
  C.current = !0, I(!0);
262
262
  const x = async () => {
263
- const j = Date.now() + 4e3;
264
- for (; Date.now() < j; ) {
263
+ const T = Date.now() + 4e3;
264
+ for (; Date.now() < T; ) {
265
265
  if (h)
266
266
  return;
267
267
  const _ = r.getState();
@@ -275,19 +275,19 @@ function Xe() {
275
275
  if (await x(), h)
276
276
  return;
277
277
  let {
278
- token: j,
278
+ token: T,
279
279
  projects: _,
280
280
  expandProject: g
281
281
  } = r.getState(), l = _.find((d) => d.id === e);
282
282
  if (!l) {
283
- const d = await Ce(e, j);
283
+ const d = await Ce(e, T);
284
284
  if (h)
285
285
  return;
286
286
  if (d.status === "NOT_FOUND" || !d.scenarioInstance) {
287
287
  ve.info("无此工程");
288
288
  return;
289
289
  }
290
- if (l = await Pe(e, j), h)
290
+ if (l = await Pe(e, T), h)
291
291
  return;
292
292
  }
293
293
  if (h || !l)
@@ -2,11 +2,11 @@ import { jsxs as r, jsx as a, Fragment as yt } from "react/jsx-runtime";
2
2
  import { ReloadOutlined as vt, SearchOutlined as gt, RightOutlined as Nt, TeamOutlined as ft, MessageOutlined as wt, AppstoreOutlined as Me, DeploymentUnitOutlined as bt, ThunderboltOutlined as Tt } from "@ant-design/icons";
3
3
  import { Button as Q, Select as Pe, Spin as he, Empty as f, Tag as k, Input as j, Modal as Ct } from "antd";
4
4
  import { useState as p, useCallback as y, useEffect as me, useMemo as Y, useRef as St } from "react";
5
- import { u as B } from "./ComponentDoc-DnZq0_Rk.js";
5
+ import { u as B } from "./ComponentDoc-CpD9Oqft.js";
6
6
  import { h as W } from "./history-BlrA1eaW.js";
7
7
  import { menuItems as Rt } from "@yuku123/z-product-component";
8
- import { C as Pt } from "./createWorkspaceWsHandler-B6TdD0Oz.js";
9
- import { l as At, c as kt } from "./api-U9U4zzq_.js";
8
+ import { C as Pt } from "./createWorkspaceWsHandler-DTnK73tD.js";
9
+ import { l as At, c as kt } from "./api-Cibkde66.js";
10
10
  import { SidebarShell as It, MenuTree as Et } from "@yuku123/z-frontend-common/ui";
11
11
  const Lt = "product-workspace", xe = "productCode";
12
12
  function w(n) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
- import { f as ie, r as z } from "./ctc-sso-DtJHC-2M.js";
3
- import { u as c, E as ne, j as oe, r as le, k as X, l as ce, m as me } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { f as ie, r as z } from "./ctc-sso-Hj8fdMY0.js";
3
+ import { u as c, E as ne, j as oe, r as le, k as X, l as ce, m as me } from "./ComponentDoc-CpD9Oqft.js";
4
4
  import { CheckCircleFilled as de, QuestionCircleOutlined as ue, CloseOutlined as fe } from "@ant-design/icons";
5
5
  import { message as P, Result as pe, Button as D, Spin as G, Input as ge, Image as he } from "antd";
6
6
  import be from "query-string";
@@ -9,7 +9,7 @@ import { useLocation as _e } from "react-router-dom";
9
9
  import { h as W } from "./history-BlrA1eaW.js";
10
10
  /* empty css */
11
11
  import { b as ye } from "./mobile-client-O3yr9h6t.js";
12
- import { a as ve, s as we } from "./send-default-agent-team-message-0RB1pYex.js";
12
+ import { a as ve, s as we } from "./send-default-agent-team-message-C3A4gJAt.js";
13
13
  const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
14
14
  function ke(a) {
15
15
  return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { C as r } from "./ChangeLogView-C5v5uT8L.js";
2
+ import { C as r } from "./ChangeLogView-Crx_PRZV.js";
3
3
  function n() {
4
4
  return /* @__PURE__ */ e(r, { variant: "page" });
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { AppLayout as v, ErrorBoundary as H, LoginPage as j, StatusTag as z, defaultStatusMap as V } from "@yuku123/z-frontend-common";
2
- import { d as y } from "./ComponentDoc-DnZq0_Rk.js";
3
- import { J as F, K as J, L as Q, M as X, N as Z, O as $, Q as ee, R as te, U as re, V as ae, W as oe, X as ne, Y as le, Y as ie, _ as se } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { d as y } from "./ComponentDoc-CpD9Oqft.js";
3
+ import { J as F, K as J, L as Q, M as X, N as Z, O as $, Q as ee, R as te, U as re, V as ae, W as oe, X as ne, Y as le, Y as ie, _ as se } from "./ComponentDoc-CpD9Oqft.js";
4
4
  import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
5
5
  import { useState as n, useEffect as R } from "react";
6
6
  import { Alert as I, Space as x, Button as l, Tag as c, Result as T } from "antd";
@@ -1,6 +1,6 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
- import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
3
- import { u as m, g as L, r as T, k as N, l as q, m as R } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { f as z, r as v } from "./ctc-sso-Hj8fdMY0.js";
3
+ import { u as m, g as L, r as T, k as N, l as q, m as R } from "./ComponentDoc-CpD9Oqft.js";
4
4
  import { CheckCircleFilled as W } from "@ant-design/icons";
5
5
  import { Spin as A } from "antd";
6
6
  import F from "query-string";
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
- import { f as z, r as T } from "./ctc-sso-DtJHC-2M.js";
3
- import { u as s, j as D, r as F, k as U, l as W, m as B } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { f as z, r as T } from "./ctc-sso-Hj8fdMY0.js";
3
+ import { u as s, j as D, r as F, k as U, l as W, m as B } from "./ComponentDoc-CpD9Oqft.js";
4
4
  import { CheckCircleFilled as H } from "@ant-design/icons";
5
5
  import { Result as G, Button as J, Spin as K } from "antd";
6
6
  import O from "query-string";
@@ -8,7 +8,7 @@ import { useState as d, useRef as Q, useCallback as V, useMemo as R, useEffect a
8
8
  import { useLocation as X } from "react-router-dom";
9
9
  import { h as b } from "./history-BlrA1eaW.js";
10
10
  import { b as Y } from "./mobile-client-O3yr9h6t.js";
11
- import { s as Z } from "./send-default-agent-team-message-0RB1pYex.js";
11
+ import { s as Z } from "./send-default-agent-team-message-C3A4gJAt.js";
12
12
  function pe() {
13
13
  const h = X(), f = O.parse(h.search), c = String(
14
14
  f.scenarioCode ?? f.scenario_code ?? ""
@@ -2,8 +2,8 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { CopyOutlined as ie, ReloadOutlined as Ne, PlusOutlined as be, StopOutlined as Ve, DeleteOutlined as Ye, ClearOutlined as Xe, CloseOutlined as Ze, SendOutlined as et, RobotOutlined as fe, CloudServerOutlined as Ie, MessageOutlined as tt, BarChartOutlined as at, KeyOutlined as Pe, NodeIndexOutlined as nt, ApiOutlined as st, ToolOutlined as ot, FundOutlined as rt } from "@ant-design/icons";
3
3
  import { useState as f, useEffect as Y, useCallback as H, useRef as ke, useMemo as Ee, Suspense as lt, lazy as it } from "react";
4
4
  import { Table as le, Tooltip as se, Tabs as Me, Input as _e, Button as L, Modal as ge, Drawer as $e, Spin as ne, Statistic as K, message as j, Tag as X, Select as ct, Checkbox as dt } from "antd";
5
- import { u as Oe } from "./ComponentDoc-DnZq0_Rk.js";
6
- import { M as mt } from "./index-CToJEufJ.js";
5
+ import { u as Oe } from "./ComponentDoc-CpD9Oqft.js";
6
+ import { M as mt } from "./index-WeUfGyGs.js";
7
7
  import { SidebarShell as ut, MenuTree as ht } from "@yuku123/z-frontend-common/ui";
8
8
  import { AgentAppList as pt, AgentInstanceManager as kt, McpPage as gt } from "@yuku123/z-agent-component";
9
9
  import { Catalog as yt } from "@yuku123/z-skill-component";
@@ -1,12 +1,12 @@
1
1
  import { jsx as c, jsxs as _ } from "react/jsx-runtime";
2
- import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-CpD9Oqft.js";
3
3
  import { CheckCircleFilled as b } from "@ant-design/icons";
4
4
  import { Result as D, Button as R, Spin as U } from "antd";
5
5
  import B from "query-string";
6
6
  import { useMemo as y, useState as f, useRef as q, useCallback as A, useEffect as J } from "react";
7
7
  import { useLocation as W } from "react-router-dom";
8
8
  import { h as w } from "./history-BlrA1eaW.js";
9
- import { l as Z, j as z, f as H, b as L, p as M } from "./instance-D_EP8AQm.js";
9
+ import { l as Z, j as z, f as H, b as L, p as M } from "./instance-cM3jNPz_.js";
10
10
  import { b as N } from "./mobile-client-O3yr9h6t.js";
11
11
  function nt() {
12
12
  const m = W(), p = B.parse(m.search), o = String(
@@ -1,14 +1,14 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { u as U, r as q, k as Q, l as V, m as X } from "./ComponentDoc-DnZq0_Rk.js";
2
+ import { u as U, r as q, k as Q, l as V, m as X } from "./ComponentDoc-CpD9Oqft.js";
3
3
  import { TeamOutlined as Y, UserOutlined as ee, MenuFoldOutlined as ne, DownOutlined as $, RightOutlined as x, LogoutOutlined as te } from "@ant-design/icons";
4
4
  import { Dropdown as ae, Avatar as se } from "antd";
5
5
  import { useState as C, useMemo as re, useCallback as G, useEffect as oe } from "react";
6
6
  import { h as E } from "./history-BlrA1eaW.js";
7
- import { E as ce, h as ue } from "./index-DSXVCDf7.js";
7
+ import { E as ce, h as ue } from "./index-BGwAJocm.js";
8
8
  import { M, u as ie, S as me } from "./menuTree-BjchjhUw.js";
9
9
  /* empty css */
10
- import { s as le } from "./admin-logs-BDPC3Q_Y.js";
11
- import de from "./AdminModuleContent-FFU5MUjw.js";
10
+ import { s as le } from "./admin-logs-CqN5Phct.js";
11
+ import de from "./AdminModuleContent-C9y4u5Ab.js";
12
12
  const he = "_adminLayout_e0cuy_3", _e = "_topBanner_e0cuy_40", pe = "_bannerLeft_e0cuy_52", be = "_bannerLogo_e0cuy_58", ye = "_bannerBrand_e0cuy_65", ge = "_bannerProduct_e0cuy_71", we = "_bannerSubtitle_e0cuy_78", Ie = "_bannerRight_e0cuy_84", fe = "_modeBtn_e0cuy_115", Se = "_headerUser_e0cuy_135", ve = "_headerUsername_e0cuy_149", Be = "_adminBody_e0cuy_160", ke = "_sidebar_e0cuy_168", Pe = "_menuSection_e0cuy_179", Ae = "_collapseAllBtn_e0cuy_193", Ne = "_menuList_e0cuy_210", Le = "_menuItem_e0cuy_219", Re = "_menuItemActive_e0cuy_241", Oe = "_menuGroupRowOpen_e0cuy_252", Ue = "_menuGroupRowBranch_e0cuy_262", $e = "_menuItemIcon_e0cuy_266", xe = "_dragBar_e0cuy_284", Ce = "_dragBarActive_e0cuy_305", Ge = "_contentArea_e0cuy_310", Ee = "_contentBody_e0cuy_318", Me = "_menuItemGroup_e0cuy_329", We = "_menuExpandIcon_e0cuy_334", De = "_menuSubList_e0cuy_342", Fe = "_menuItemOnPath_e0cuy_372", Te = "_menuSubItem_e0cuy_376", je = "_menuSubItemActive_e0cuy_393", ze = "_menuSubItemBranch_e0cuy_411", He = "_menuSubItemBranchOpen_e0cuy_415", Ze = "_menuSubItemBranchActive_e0cuy_425", Je = "_menuSubItemRow_e0cuy_435", Ke = "_menuNestedList_e0cuy_441", e = {
13
13
  adminLayout: he,
14
14
  topBanner: _e,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as t, jsx as n, Fragment as _ } from "react/jsx-runtime";
2
2
  import { useState as i, useRef as D, useCallback as B, useEffect as N } from "react";
3
- import { u as j } from "./ComponentDoc-DnZq0_Rk.js";
3
+ import { u as j } from "./ComponentDoc-CpD9Oqft.js";
4
4
  /* empty css */
5
- import { l as F, c as G, a as z, b as K, p as W } from "./api-U9U4zzq_.js";
5
+ import { l as F, c as G, a as z, b as K, p as W } from "./api-Cibkde66.js";
6
6
  const L = "dev_brain_scenario";
7
7
  function q() {
8
8
  var M;
@@ -0,0 +1,20 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { useParams as r } from "react-router-dom";
3
+ const a = "_shell_1tuyi_4", c = "_frame_1tuyi_13", t = {
4
+ shell: a,
5
+ frame: c
6
+ }, m = ["sources", "sinks", "templates", "schedules", "jobs"];
7
+ function i() {
8
+ const { view: e } = r(), l = m.includes(e ?? "") ? e : "templates";
9
+ return /* @__PURE__ */ s("div", { className: t.shell, children: /* @__PURE__ */ s(
10
+ "iframe",
11
+ {
12
+ src: `/etl/index.html#${l}`,
13
+ title: "z-etl 数据整顿",
14
+ className: t.frame
15
+ }
16
+ ) });
17
+ }
18
+ export {
19
+ i as default
20
+ };