@yuku123/z-team-component 0.2.120 → 0.2.121
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-Y_QH1plH.js → ChangeLogView-8IViZtG4.js} +1 -1
- package/dist/{ComponentDoc-CL21xKJq.js → ComponentDoc-Mgk6TOn6.js} +19 -19
- package/dist/{InvitationManagementPage-DyTmaxEg.js → InvitationManagementPage-B-a0t1IZ.js} +1 -1
- package/dist/{OnboardingPage-C2JxiRHG.js → OnboardingPage-DzWxvVGg.js} +2 -2
- package/dist/{ScheduledTasks-CgCtlBMQ.js → ScheduledTasks--NRaw2yP.js} +6 -6
- package/dist/{SystemShell-D0lqAZXa.js → SystemShell-zIzEkwxi.js} +4 -4
- package/dist/{admin-logs-DOD9sld2.js → admin-logs-DqnnLQ2i.js} +1 -1
- package/dist/{api-BeVcV0tG.js → api-BhwgnFDD.js} +1 -1
- package/dist/{api-Dp52cusL.js → api-DahDAsfc.js} +1 -1
- package/dist/{createWorkspaceWsHandler-Dw2IbCP6.js → createWorkspaceWsHandler-DRcUjes9.js} +3 -3
- package/dist/{index-l4zOrdso.js → index-8wGs3Z7T.js} +6 -6
- package/dist/{index-BksqqkCK.js → index-BbJFWsmk.js} +9 -9
- package/dist/{index-BQqx92fO.js → index-BcmoQQNY.js} +13 -13
- package/dist/{index-DvlKBauY.js → index-BgP8-tny.js} +1 -1
- package/dist/{index-FMt7UDtC.js → index-BiubS6R1.js} +2 -2
- package/dist/{index-DSd6c6vb.js → index-BxpAAgTl.js} +1 -1
- package/dist/{index-BY5R5TII.js → index-C5NIwgUh.js} +3 -3
- package/dist/{index-yPxBIDYT.js → index-CDfn5Tb5.js} +3 -3
- package/dist/{index-BkBoYM9z.js → index-CGefpPcF.js} +3 -3
- package/dist/{index-C3MK1uw8.js → index-CIfQeDR1.js} +1 -1
- package/dist/{index-Bphmo7ZS.js → index-CYo4Ez6h.js} +2 -2
- package/dist/{index-yjiUxiEd.js → index-CZhMuUEf.js} +3 -3
- package/dist/{index-BcokvPr9.js → index-CdhVx89Q.js} +3 -3
- package/dist/{index-Bq5RZcFs.js → index-Cm_NXrie.js} +2 -2
- package/dist/index-Cpmnj8JS.js +1073 -0
- package/dist/{index-DZ9S5z4n.js → index-D8XTuJj6.js} +6 -6
- package/dist/{index-Cm2d0m2G.js → index-DCEyt8CX.js} +3 -3
- package/dist/{index-CV4fiod5.js → index-DVR9zYBR.js} +2 -2
- package/dist/{index-l8u4euaB.js → index-Dh0QePS2.js} +2 -2
- package/dist/{index-DSEpNeqx.js → index-Dne7Wqbc.js} +2 -2
- package/dist/{index-Bk-HYKwp.js → index-HLzFywnS.js} +2 -2
- package/dist/{index-CGQujCIy.js → index-aMPdQTQ9.js} +6 -6
- package/dist/{index-Dxr7Z05j.js → index-kmNfQBRN.js} +1 -1
- package/dist/{index-CvWmUx37.js → index-oVpeYh5s.js} +4 -4
- package/dist/{index-CNxf_seS.js → index-rnhtPktY.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{instance-B9ocTBYb.js → instance-B1GyJEnB.js} +1 -1
- package/dist/{menuPermission-DVS-8kGw.js → menuPermission-DPGwgzZA.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-BJu89mbA.js → send-default-agent-team-message-Cb00q2KK.js} +1 -1
- package/dist/{sso-user-B59e8F2t.js → sso-user-CKsqQODJ.js} +1 -1
- package/dist/{training-BJPti5Wc.js → training-5ZpXXciF.js} +1 -1
- package/dist/{webide-nb8waZwh.js → webide-Q-cM4m7F.js} +3 -3
- package/package.json +1 -1
- package/dist/index-CbhUaBsw.js +0 -242
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as ge } from "react/jsx-runtime";
|
|
2
|
-
import { S as Tn, P as In } from "./webide-
|
|
2
|
+
import { S as Tn, P as In } from "./webide-Q-cM4m7F.js";
|
|
3
3
|
import { message as Me, Tooltip as Qe, Dropdown as fn } from "antd";
|
|
4
4
|
import { MessageOutlined as Sn, MoreOutlined as st, DashboardOutlined as Ln, MenuUnfoldOutlined as lt, MenuFoldOutlined as ot, RightOutlined as it, SettingOutlined as An, TeamOutlined as ct, FolderOpenOutlined as rt, BarChartOutlined as dt, PieChartOutlined as ut, CodeOutlined as mt, LinkOutlined as pt, UnorderedListOutlined as On, FileTextOutlined as nn, ReadOutlined as ht, ConsoleSqlOutlined as gt, PlayCircleOutlined as bt, PlusOutlined as yt, ClockCircleOutlined as ft, AppstoreOutlined as vt } from "@ant-design/icons";
|
|
5
5
|
import { useState as d, useRef as Oe, useCallback as U, useEffect as A, useMemo as X } from "react";
|
|
6
|
-
import { u as re, _ as Dn, n as q, $ as Nt, a0 as _t, a1 as kt, a2 as Ct, a3 as wt, a4 as Tt, t as It, a5 as St, a6 as je, a7 as Lt, a8 as At } from "./ComponentDoc-
|
|
7
|
-
import { f as Xe, c as Ye, a as Ot, d as Dt, b as $n, s, T as $t, R as Je, D as Ke, e as xt, g as Bt, F as qe, P as Rt, L as Pt, A as Et, C as Mt, h as jt, i as Ht, p as Ft, j as Kt, k as vn, l as Nn, W as Wt, m as Ut, S as Vt, n as Gt, o as Zt, r as zt, q as Qt, U as Xt, t as Yt, u as Jt, v as qt } from "./index-
|
|
8
|
-
import { a as Fe, u as xn, i as ea, s as _n } from "./createWorkspaceWsHandler-
|
|
9
|
-
import { h as Bn, f as na } from "./index-
|
|
10
|
-
import { W as en, b as We, T as Rn, c as Pn, a as En, L as Mn, P as jn, S as ta, E as aa, C as sa } from "./ScheduledTasks
|
|
6
|
+
import { u as re, _ as Dn, n as q, $ as Nt, a0 as _t, a1 as kt, a2 as Ct, a3 as wt, a4 as Tt, t as It, a5 as St, a6 as je, a7 as Lt, a8 as At } from "./ComponentDoc-Mgk6TOn6.js";
|
|
7
|
+
import { f as Xe, c as Ye, a as Ot, d as Dt, b as $n, s, T as $t, R as Je, D as Ke, e as xt, g as Bt, F as qe, P as Rt, L as Pt, A as Et, C as Mt, h as jt, i as Ht, p as Ft, j as Kt, k as vn, l as Nn, W as Wt, m as Ut, S as Vt, n as Gt, o as Zt, r as zt, q as Qt, U as Xt, t as Yt, u as Jt, v as qt } from "./index-BbJFWsmk.js";
|
|
8
|
+
import { a as Fe, u as xn, i as ea, s as _n } from "./createWorkspaceWsHandler-DRcUjes9.js";
|
|
9
|
+
import { h as Bn, f as na } from "./index-BgP8-tny.js";
|
|
10
|
+
import { W as en, b as We, T as Rn, c as Pn, a as En, L as Mn, P as jn, S as ta, E as aa, C as sa } from "./ScheduledTasks--NRaw2yP.js";
|
|
11
11
|
import { TodoTab as Hn } from "@yuku123/z-task-component";
|
|
12
12
|
const la = "_sidebarInner_1vu3c_1", oa = "_header_1vu3c_8", ia = "_headerActions_1vu3c_19", ca = "_tabBar_1vu3c_26", ra = "_tab_1vu3c_26", da = "_tabActive_1vu3c_50", ua = "_btnSm_1vu3c_66", ma = "_agentSection_1vu3c_84", pa = "_agentItem_1vu3c_90", ha = "_agentItemActive_1vu3c_112", ga = "_agentAvatar_1vu3c_117", ba = "_agentName_1vu3c_130", ya = "_emptyState_1vu3c_156", fa = "_createInputRow_1vu3c_168", va = "_createInput_1vu3c_168", Na = "_createConfirmBtn_1vu3c_188", _a = "_contextMenu_1vu3c_205", ka = "_contextMenuItem_1vu3c_216", Ca = "_contextMenuItemDanger_1vu3c_231", wa = "_contextMenuDivider_1vu3c_239", Ta = "_renameOverlay_1vu3c_246", Ia = "_renameDialog_1vu3c_259", Sa = "_renameTitle_1vu3c_267", La = "_renameInput_1vu3c_274", Aa = "_renameActions_1vu3c_289", Oa = "_renameBtn_1vu3c_295", Da = "_renameBtnPrimary_1vu3c_309", $a = "_agentDetailBtn_1vu3c_326", xa = "_agentItemShared_1vu3c_358", Ba = "_agentInfo_1vu3c_362", Ra = "_agentOwner_1vu3c_374", Pa = "_sharedBadge_1vu3c_382", Ea = "_createLocalDialog_1vu3c_430", Ma = "_createLocalLabel_1vu3c_438", ja = "_agentTypeCards_1vu3c_446", Ha = "_agentTypeCard_1vu3c_446", Fa = "_agentTypeIcon_1vu3c_474", Ka = "_agentTypeBody_1vu3c_487", Wa = "_agentTypeTitle_1vu3c_494", Ua = "_agentTypeDesc_1vu3c_500", Va = "_agentTypeBadge_1vu3c_506", l = {
|
|
13
13
|
sidebarInner: la,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { f as z, r as T } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as D, h as U, s as F } from "./sso-user-
|
|
3
|
+
import { r as D, h as U, s as F } from "./sso-user-CKsqQODJ.js";
|
|
4
4
|
import { CheckCircleFilled as W } from "@ant-design/icons";
|
|
5
5
|
import { Result as B, Button as H, Spin as G } from "antd";
|
|
6
6
|
import J from "query-string";
|
|
7
7
|
import { useState as d, useRef as K, useCallback as O, useMemo as R, useEffect as E } from "react";
|
|
8
8
|
import { useLocation as Q } from "react-router-dom";
|
|
9
9
|
import { h as b } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { u as s, j as V, k as X } from "./ComponentDoc-
|
|
10
|
+
import { u as s, j as V, k as X } from "./ComponentDoc-Mgk6TOn6.js";
|
|
11
11
|
import { b as Y } from "./mobile-client-O3yr9h6t.js";
|
|
12
|
-
import { s as Z } from "./send-default-agent-team-message-
|
|
12
|
+
import { s as Z } from "./send-default-agent-team-message-Cb00q2KK.js";
|
|
13
13
|
function ue() {
|
|
14
14
|
const h = Q(), f = J.parse(h.search), c = String(
|
|
15
15
|
f.scenarioCode ?? f.scenario_code ?? ""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as t, jsx as n, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useRef as D, useCallback as B, useEffect as N } from "react";
|
|
3
|
-
import { u as j } from "./ComponentDoc-
|
|
3
|
+
import { u as j } from "./ComponentDoc-Mgk6TOn6.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { l as F, c as G, a as z, b as K, p as W } from "./api-
|
|
5
|
+
import { l as F, c as G, a as z, b as K, p as W } from "./api-DahDAsfc.js";
|
|
6
6
|
const L = "dev_brain_scenario";
|
|
7
7
|
function q() {
|
|
8
8
|
var M;
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Navigate as t } from "react-router-dom";
|
|
3
3
|
import { lazy as T } from "react";
|
|
4
4
|
import { UnorderedListOutlined as o, HistoryOutlined as d, ClusterOutlined as s, DashboardOutlined as n, ExperimentOutlined as q, SettingOutlined as u, KeyOutlined as p, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as g, HddOutlined as l, ApartmentOutlined as k, InboxOutlined as y, FileTextOutlined as f, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as v, SearchOutlined as m, DatabaseOutlined as O, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, ScheduleOutlined as N, FundOutlined as _, CloudUploadOutlined as x, TagsOutlined as B, CodeOutlined as R } from "@ant-design/icons";
|
|
5
|
-
import { W as U } from "./index-
|
|
5
|
+
import { W as U } from "./index-C5NIwgUh.js";
|
|
6
6
|
import { ConfigApp as j } from "@yuku123/z-config-component";
|
|
7
7
|
import { MistApp as H } from "@yuku123/z-mist-component";
|
|
8
8
|
import { MetaApp as K } from "@yuku123/z-meta-component";
|
|
@@ -17,7 +17,7 @@ import { OssApp as Z } from "@yuku123/z-oss-component";
|
|
|
17
17
|
import { KbApp as $ } from "@yuku123/z-cognition-kb-component";
|
|
18
18
|
import { ScheduleApp as ee } from "@yuku123/z-schedule-component";
|
|
19
19
|
import { ScriptProductizationPage as i } from "@yuku123/z-agent-component";
|
|
20
|
-
import "./index-
|
|
20
|
+
import "./index-BbJFWsmk.js";
|
|
21
21
|
const te = "/api/graph";
|
|
22
22
|
let C = !1;
|
|
23
23
|
function ce() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as s, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as L, h as N, s as T } from "./sso-user-
|
|
3
|
+
import { r as L, h as N, s as T } from "./sso-user-CKsqQODJ.js";
|
|
4
4
|
import { CheckCircleFilled as q } from "@ant-design/icons";
|
|
5
5
|
import { Spin as R } from "antd";
|
|
6
6
|
import W from "query-string";
|
|
7
7
|
import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
|
|
8
8
|
import { useLocation as F } from "react-router-dom";
|
|
9
9
|
import { h as H } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { u as m, g as Y, k as B } from "./ComponentDoc-
|
|
10
|
+
import { u as m, g as Y, k as B } from "./ComponentDoc-Mgk6TOn6.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { b as G } from "./mobile-client-O3yr9h6t.js";
|
|
13
13
|
function oe() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import v, { useState as d, useEffect as _, useMemo as h } from "react";
|
|
3
3
|
import { useLocation as N } from "react-router-dom";
|
|
4
|
-
import { w as b, x as g } from "./ComponentDoc-
|
|
5
|
-
import { i as x, P as K } from "./index-
|
|
4
|
+
import { w as b, x as g } from "./ComponentDoc-Mgk6TOn6.js";
|
|
5
|
+
import { i as x, P as K } from "./index-BgP8-tny.js";
|
|
6
6
|
const E = "_banner_2v7mc_1", S = "_dot_2v7mc_18", f = "_text_2v7mc_26", A = "_retry_2v7mc_31", F = "_dismiss_2v7mc_44", P = "_details_2v7mc_57", k = "_method_2v7mc_85", C = "_status_2v7mc_86", D = "_statusNet_2v7mc_87", $ = "_url_2v7mc_88", e = {
|
|
7
7
|
banner: E,
|
|
8
8
|
dot: S,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as z, LoginPage as _, StatusTag as j, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { d as y } from "./ComponentDoc-
|
|
3
|
-
import { z as V, E as Q, A as X,
|
|
2
|
+
import { d as y } from "./ComponentDoc-Mgk6TOn6.js";
|
|
3
|
+
import { z as V, E as Q, A as X, M as Y, D as Z, O as $, F as ee, R as te, G as re, H as ae, I as oe, J as ne, K as le, K as ie, L as se } from "./ComponentDoc-Mgk6TOn6.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";
|
|
@@ -59,12 +59,12 @@ function B() {
|
|
|
59
59
|
)
|
|
60
60
|
] });
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const M = {
|
|
63
63
|
CREATING: { text: "创建中", color: "processing" },
|
|
64
64
|
RUNNING: { text: "运行中", color: "success" },
|
|
65
65
|
STOPPED: { text: "已停止", color: "default" },
|
|
66
66
|
ERROR: { text: "错误", color: "error" }
|
|
67
|
-
},
|
|
67
|
+
}, D = {
|
|
68
68
|
GIT: { text: "GIT 模式", color: "blue" },
|
|
69
69
|
SHARED: { text: "SHARED 模式", color: "purple" }
|
|
70
70
|
};
|
|
@@ -111,7 +111,7 @@ function U() {
|
|
|
111
111
|
dataIndex: "mode",
|
|
112
112
|
width: 120,
|
|
113
113
|
render: (t) => {
|
|
114
|
-
const o =
|
|
114
|
+
const o = D[t] || { text: t, color: "default" };
|
|
115
115
|
return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
|
|
116
116
|
}
|
|
117
117
|
},
|
|
@@ -122,7 +122,7 @@ function U() {
|
|
|
122
122
|
dataIndex: "status",
|
|
123
123
|
width: 120,
|
|
124
124
|
render: (t) => {
|
|
125
|
-
const o =
|
|
125
|
+
const o = M[t] || { text: t, color: "default" };
|
|
126
126
|
return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
|
|
127
127
|
}
|
|
128
128
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as N, useRef as _, useEffect as r, useCallback as h } from "react";
|
|
3
3
|
import { h as o } from "./history-BlrA1eaW.js";
|
|
4
|
-
import { C as A } from "./ChangeLogView-
|
|
4
|
+
import { C as A } from "./ChangeLogView-8IViZtG4.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,
|
|
@@ -6,9 +6,9 @@ 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 { aa as xa, ab as jA, u as Dp } from "./ComponentDoc-
|
|
10
|
-
import { x as ia, y as oA, z as fA, B as lA, b as xA, E as iA, G as cA, H as TA, I as vA, J as up, K as Yp, M as mp, O as yp, Q as Ip, V as FA, X as dA, Y as OA, Z as XA } from "./index-
|
|
11
|
-
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-
|
|
9
|
+
import { aa as xa, ab as jA, u as Dp } from "./ComponentDoc-Mgk6TOn6.js";
|
|
10
|
+
import { x as ia, y as oA, z as fA, B as lA, b as xA, E as iA, G as cA, H as TA, I as vA, J as up, K as Yp, M as mp, O as yp, Q as Ip, V as FA, X as dA, Y as OA, Z as XA } from "./index-BbJFWsmk.js";
|
|
11
|
+
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-DRcUjes9.js";
|
|
12
12
|
import { h as r } from "./index.module-CAa-2T7m.js";
|
|
13
13
|
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 = {
|
|
14
14
|
editorView: gA,
|
|
@@ -1681,7 +1681,7 @@ const Rt = [
|
|
|
1681
1681
|
draftDeleteBtn: T0,
|
|
1682
1682
|
markdown: v0
|
|
1683
1683
|
}, F0 = HA(
|
|
1684
|
-
() => import("./index-
|
|
1684
|
+
() => import("./index-BiubS6R1.js").then((a) => ({ default: a.MarketContent }))
|
|
1685
1685
|
);
|
|
1686
1686
|
function d0(a) {
|
|
1687
1687
|
const n = [], x = a.split(`
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, f as d, B as r, b as c } from "./ComponentDoc-
|
|
1
|
+
import { a as o, f as d, B as r, b as c } from "./ComponentDoc-Mgk6TOn6.js";
|
|
2
2
|
async function h(e, n = "") {
|
|
3
3
|
const t = new URLSearchParams();
|
|
4
4
|
n && t.set("token", n), e.scenario_code && t.set("scenario_code", e.scenario_code), e.status && t.set("status", e.status), e.name && t.set("name", e.name), e.role && t.set("role", e.role), e.create_time_start && t.set("create_time_start", e.create_time_start), e.create_time_end && t.set("create_time_end", e.create_time_end), t.set("page", String(e.page ?? 1)), t.set("size", String(e.size ?? 20));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { Alert as h } from "antd";
|
|
3
|
-
import { u as d } from "./ComponentDoc-
|
|
4
|
-
import { h as g } from "./index-
|
|
5
|
-
import { N as A } from "./index-
|
|
3
|
+
import { u as d } from "./ComponentDoc-Mgk6TOn6.js";
|
|
4
|
+
import { h as g } from "./index-BgP8-tny.js";
|
|
5
|
+
import { N as A } from "./index-BbJFWsmk.js";
|
|
6
6
|
function P() {
|
|
7
7
|
return d((n) => n.permissionState) !== "failed" ? null : /* @__PURE__ */ a(
|
|
8
8
|
h,
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-
|
|
1
|
+
import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-Mgk6TOn6.js";
|
|
2
2
|
import { createElement as e } from "react";
|
|
3
3
|
import { BellOutlined as m, ProjectOutlined as p, DesktopOutlined as i, ReadOutlined as n } from "@ant-design/icons";
|
|
4
4
|
import "react/jsx-runtime";
|
|
@@ -6,9 +6,9 @@ import ur from "react-markdown";
|
|
|
6
6
|
import mr from "rehype-highlight";
|
|
7
7
|
import fr from "remark-gfm";
|
|
8
8
|
import { h as pr } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { a as w, f as _, B as v, b as C, u as ea, n as yt, aa as hr, t as et, e as yr, ac as gr, ad as On, ae as _r, af as ta } from "./ComponentDoc-
|
|
10
|
-
import { f as br, a as vr, u as En, b as Sr, c as wr, r as Cr, d as Nr, e as Tr, g as kr, h as Ir, m as $r } from "./admin-logs-
|
|
11
|
-
import { a as xr, f as Lr, c as Ar } from "./index-
|
|
9
|
+
import { a as w, f as _, B as v, b as C, u as ea, n as yt, aa as hr, t as et, e as yr, ac as gr, ad as On, ae as _r, af as ta } from "./ComponentDoc-Mgk6TOn6.js";
|
|
10
|
+
import { f as br, a as vr, u as En, b as Sr, c as wr, r as Cr, d as Nr, e as Tr, g as kr, h as Ir, m as $r } from "./admin-logs-DqnnLQ2i.js";
|
|
11
|
+
import { a as xr, f as Lr, c as Ar } from "./index-BgP8-tny.js";
|
|
12
12
|
import { findTodosLinkedToNote as Dr, buildTodoProjectContext as Rr, linkedTodoChipLabel as Or } from "@yuku123/z-task-component";
|
|
13
13
|
import Ne from "dayjs";
|
|
14
14
|
import "./echarts-B1OU1xr4.js";
|
package/package.json
CHANGED
package/dist/index-CbhUaBsw.js
DELETED
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { Navigate as i, useLocation as b } from "react-router-dom";
|
|
3
|
-
import { Alert as u } from "antd";
|
|
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
|
-
import { W as P } from "./index-BY5R5TII.js";
|
|
6
|
-
import { M as D } from "./ComponentDoc-CL21xKJq.js";
|
|
7
|
-
import "./index-BksqqkCK.js";
|
|
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
|
-
{
|
|
10
|
-
title: "DevOps 运维",
|
|
11
|
-
icon: /* @__PURE__ */ e(r, {}),
|
|
12
|
-
items: [
|
|
13
|
-
{
|
|
14
|
-
key: "devops-dashboard",
|
|
15
|
-
label: "运维总览",
|
|
16
|
-
icon: /* @__PURE__ */ e(v, {}),
|
|
17
|
-
path: "/ops/devops/dashboard",
|
|
18
|
-
desc: "集群概览与资源统计"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
key: "devops-nodes",
|
|
22
|
-
label: "节点管理",
|
|
23
|
-
icon: /* @__PURE__ */ e(r, {}),
|
|
24
|
-
path: "/ops/devops/nodes",
|
|
25
|
-
desc: "K8s 节点列表与状态"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
key: "devops-pods",
|
|
29
|
-
label: "Pod 管理",
|
|
30
|
-
icon: /* @__PURE__ */ e(y, {}),
|
|
31
|
-
path: "/ops/devops/pods",
|
|
32
|
-
desc: "Pod 列表、日志、终端"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
key: "devops-hpa",
|
|
36
|
-
label: "弹性伸缩",
|
|
37
|
-
icon: /* @__PURE__ */ e(l, {}),
|
|
38
|
-
path: "/ops/devops/hpa",
|
|
39
|
-
desc: "HPA 自动扩缩容策略"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
key: "devops-registry",
|
|
43
|
-
label: "镜像仓库",
|
|
44
|
-
icon: /* @__PURE__ */ e(l, {}),
|
|
45
|
-
path: "/ops/devops/registry",
|
|
46
|
-
desc: "容器镜像统一管理"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
key: "devops-pipeline",
|
|
50
|
-
label: "流水线",
|
|
51
|
-
icon: /* @__PURE__ */ e(O, {}),
|
|
52
|
-
path: "/ops/devops/pipeline",
|
|
53
|
-
desc: "CI/CD 流水线编排"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
key: "devops-release",
|
|
57
|
-
label: "发布管理",
|
|
58
|
-
icon: /* @__PURE__ */ e(g, {}),
|
|
59
|
-
path: "/ops/devops/release",
|
|
60
|
-
desc: "应用发布与回滚"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
key: "devops-monitor",
|
|
64
|
-
label: "监控告警",
|
|
65
|
-
icon: /* @__PURE__ */ e(k, {}),
|
|
66
|
-
path: "/ops/devops/monitor",
|
|
67
|
-
desc: "Prometheus/Grafana 监控"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
key: "devops-logs",
|
|
71
|
-
label: "日志管理",
|
|
72
|
-
icon: /* @__PURE__ */ e(S, {}),
|
|
73
|
-
path: "/ops/devops/logs",
|
|
74
|
-
desc: "Loki 集中日志查询"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
key: "devops-dba",
|
|
78
|
-
label: "DBA 工单",
|
|
79
|
-
icon: /* @__PURE__ */ e(c, {}),
|
|
80
|
-
path: "/ops/devops/dba",
|
|
81
|
-
desc: "数据库运维工单"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
title: "基础设施",
|
|
87
|
-
icon: /* @__PURE__ */ e(r, {}),
|
|
88
|
-
items: [
|
|
89
|
-
{
|
|
90
|
-
key: "ops-channel",
|
|
91
|
-
label: "渠道管理",
|
|
92
|
-
icon: /* @__PURE__ */ e(f, {}),
|
|
93
|
-
path: "/ops/channel",
|
|
94
|
-
desc: "部署渠道配置与管理"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
key: "ops-env",
|
|
98
|
-
label: "环境管理",
|
|
99
|
-
icon: /* @__PURE__ */ e(l, {}),
|
|
100
|
-
path: "/ops/delivery",
|
|
101
|
-
desc: "运行环境配置与管理"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
key: "ops-deploy",
|
|
105
|
-
label: "部署管理",
|
|
106
|
-
icon: /* @__PURE__ */ e(z, {}),
|
|
107
|
-
path: "/ops/deployment",
|
|
108
|
-
desc: "应用部署与发布管理"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
key: "ops-repo",
|
|
112
|
-
label: "仓库管理",
|
|
113
|
-
icon: /* @__PURE__ */ e(c, {}),
|
|
114
|
-
path: "/ops/repo-mgmt",
|
|
115
|
-
desc: "代码仓库与镜像管理"
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
title: "资源管理",
|
|
121
|
-
icon: /* @__PURE__ */ e(l, {}),
|
|
122
|
-
items: [
|
|
123
|
-
{
|
|
124
|
-
key: "resource",
|
|
125
|
-
label: "资源管理",
|
|
126
|
-
icon: /* @__PURE__ */ e(l, {}),
|
|
127
|
-
path: "/resource/domain",
|
|
128
|
-
desc: "域名、ECS、RDS、OSS 管理"
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
];
|
|
133
|
-
function p({ label: o }) {
|
|
134
|
-
return /* @__PURE__ */ n("div", { style: { padding: 40, textAlign: "center", color: "#999" }, children: [
|
|
135
|
-
/* @__PURE__ */ n("h2", { children: [
|
|
136
|
-
"🚧 ",
|
|
137
|
-
o
|
|
138
|
-
] }),
|
|
139
|
-
/* @__PURE__ */ e("p", { children: "功能开发中..." })
|
|
140
|
-
] });
|
|
141
|
-
}
|
|
142
|
-
function t({ label: o, reason: d, message: h = "该页面未孵化,因为后端接口尚不可用" }) {
|
|
143
|
-
return /* @__PURE__ */ n("div", { style: { padding: 40, maxWidth: 720, margin: "0 auto" }, children: [
|
|
144
|
-
/* @__PURE__ */ n("h2", { style: { textAlign: "center" }, children: [
|
|
145
|
-
"🧪 ",
|
|
146
|
-
o
|
|
147
|
-
] }),
|
|
148
|
-
/* @__PURE__ */ e(
|
|
149
|
-
u,
|
|
150
|
-
{
|
|
151
|
-
type: "warning",
|
|
152
|
-
showIcon: !0,
|
|
153
|
-
message: h,
|
|
154
|
-
description: d
|
|
155
|
-
}
|
|
156
|
-
)
|
|
157
|
-
] });
|
|
158
|
-
}
|
|
159
|
-
function s({ label: o }) {
|
|
160
|
-
return /* @__PURE__ */ e(
|
|
161
|
-
t,
|
|
162
|
-
{
|
|
163
|
-
label: o,
|
|
164
|
-
message: "该页面未孵化,因为组件从来不在本仓",
|
|
165
|
-
reason: "组件从未迁进本仓:z-opc 的 src 目录下没有这个组件,历史上也没有任何提交 import 过它(OPS_ROUTES 里留着一个解析不到的标识符)。要恢复这一页,得先把组件从 z-ops 迁进来并接上它自己的后端;在那之前这里刻意不放假表格。"
|
|
166
|
-
}
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
function m() {
|
|
170
|
-
const { pathname: o } = b();
|
|
171
|
-
return /* @__PURE__ */ e(i, { to: `${o}?mode=middleware`, replace: !0 });
|
|
172
|
-
}
|
|
173
|
-
const A = [...D, "/script"], T = [
|
|
174
|
-
// ─── 运维中心 ───
|
|
175
|
-
// ⚠ 这一族路由的组件从来没有从 z-ops 迁进来(见 UnmigratedPage 注释)。原先直接写
|
|
176
|
-
// <ChannelPage/> 之类会在**模块求值期**抛 ReferenceError 并白屏整个前端,不是只坏这一页。
|
|
177
|
-
{ path: "/ops", element: /* @__PURE__ */ e(i, { to: "/ops/devops", replace: !0 }) },
|
|
178
|
-
{ path: "/ops/channel", element: /* @__PURE__ */ e(s, { label: "渠道管理" }) },
|
|
179
|
-
{ path: "/ops/delivery", element: /* @__PURE__ */ e(s, { label: "环境管理" }) },
|
|
180
|
-
{ path: "/ops/deployment", element: /* @__PURE__ */ e(s, { label: "部署管理" }) },
|
|
181
|
-
{ path: "/ops/deployment/:id", element: /* @__PURE__ */ e(s, { label: "部署管理" }) },
|
|
182
|
-
{ path: "/ops/repo-mgmt", element: /* @__PURE__ */ e(s, { label: "仓库管理" }) },
|
|
183
|
-
{ path: "/ops/git-platform", element: /* @__PURE__ */ e(s, { label: "仓库管理" }) },
|
|
184
|
-
// ─── DevOps 子路由(K8s 管理面:**本宿主不承载** ⇒ 显式占位,见 DEVOPS_MIGRATED_NOTE)───
|
|
185
|
-
// ⚠ 这 4 条原先挂的是真组件(OpsDashboard / K8sNodeList / K8sPodList / K8sHpaList),
|
|
186
|
-
// 而它们的 API_BASE = '/z-team/ops/k8s'(OpsK8s/api.ts)——
|
|
187
|
-
// **该前缀的 handler 在 z-ops 仓的 z-ops-web 里**(K8sController @RequestMapping("/z-team/ops/k8s")
|
|
188
|
-
// / HpaController @RequestMapping("/z-team/ops/k8s/hpa")),**不在 z-opc 主壳**:
|
|
189
|
-
// ① 主壳 boot jar 的 BOOT-INF/lib 里 0 个 z-ops-*;
|
|
190
|
-
// ② 主壳 nginx 路由总表里没有 `^/z-team/ops` 这条反代规则;
|
|
191
|
-
// ⇒ 生产实测 GET /z-team/ops/k8s/nodes → HTTP 200 + text/html + 451B
|
|
192
|
-
// (sha16 92c38b6b20edc50d,与必假路径逐字节相同)= **SPA 兜底页**。
|
|
193
|
-
// ⇒ 这 4 条是「菜单项点进去是页面、数据源在后端不存在」的**断头路**
|
|
194
|
-
// (卡 TASK-20261023-056 · ops-001~004)。
|
|
195
|
-
// ⇒ 修法 = **撤菜单项的落地形态**:不再渲染真组件、不再发任何打到 /z-team/ops 的请求,
|
|
196
|
-
// 改渲染显式占位并写明**实测到的堵点**与归属平台(口径见 003_辅助能力/
|
|
197
|
-
// frontend-incubation-audit/SKILL.md:占位不许写成空表/全 0 的假绿)。
|
|
198
|
-
// ⚠ 菜单项**保留**(不删条目):深链进来要有明确去处,而不是白屏或落回 SPA 兜底。
|
|
199
|
-
{ path: "/ops/devops", element: /* @__PURE__ */ e(t, { label: "DevOps 运维", reason: a, message: "该页面已迁至独立运维平台 z-ops,本宿主不承载" }) },
|
|
200
|
-
{ path: "/ops/devops/dashboard", element: /* @__PURE__ */ e(t, { label: "运维总览", reason: a, message: "该页面已迁至独立运维平台 z-ops,本宿主不承载" }) },
|
|
201
|
-
{ path: "/ops/devops/nodes", element: /* @__PURE__ */ e(t, { label: "节点管理", reason: a, message: "该页面已迁至独立运维平台 z-ops,本宿主不承载" }) },
|
|
202
|
-
{ path: "/ops/devops/pods", element: /* @__PURE__ */ e(t, { label: "Pod 管理", reason: a, message: "该页面已迁至独立运维平台 z-ops,本宿主不承载" }) },
|
|
203
|
-
{ path: "/ops/devops/hpa", element: /* @__PURE__ */ e(t, { label: "弹性伸缩", reason: a, message: "该页面已迁至独立运维平台 z-ops,本宿主不承载" }) },
|
|
204
|
-
{ path: "/ops/devops/registry", element: /* @__PURE__ */ e(p, { label: "镜像仓库" }) },
|
|
205
|
-
{ path: "/ops/devops/pipeline", element: /* @__PURE__ */ e(p, { label: "流水线" }) },
|
|
206
|
-
{ path: "/ops/devops/release", element: /* @__PURE__ */ e(p, { label: "发布管理" }) },
|
|
207
|
-
{ path: "/ops/devops/monitor", element: /* @__PURE__ */ e(p, { label: "监控告警" }) },
|
|
208
|
-
{ path: "/ops/devops/logs", element: /* @__PURE__ */ e(p, { label: "日志管理" }) },
|
|
209
|
-
{ path: "/ops/devops/dba", element: /* @__PURE__ */ e(p, { label: "DBA 工单" }) },
|
|
210
|
-
// ─── 资源管理 ───
|
|
211
|
-
{ path: "/resource", element: /* @__PURE__ */ e(i, { to: "/resource/domain", replace: !0 }) },
|
|
212
|
-
{ path: "/resource/domain", element: /* @__PURE__ */ e(s, { label: "域名管理" }) },
|
|
213
|
-
{ path: "/resource/ecs", element: /* @__PURE__ */ e(s, { label: "ECS 管理" }) },
|
|
214
|
-
{ path: "/resource/rds", element: /* @__PURE__ */ e(s, { label: "RDS 管理" }) },
|
|
215
|
-
{ path: "/resource/oss", element: /* @__PURE__ */ e(s, { label: "OSS 管理" }) },
|
|
216
|
-
// ─── 已迁到中间件面的前缀 → 旧深链交还中间件面 ───
|
|
217
|
-
// ⚠ 必须排在最后:matchWorkbenchPath 先全表精确、再全表通配,
|
|
218
|
-
// 但本面自己的 /ops/* 与 /resource/* 都在前面,不会被这几条吃掉。
|
|
219
|
-
...A.flatMap((o) => [
|
|
220
|
-
{ path: o, element: /* @__PURE__ */ e(m, {}) },
|
|
221
|
-
{ path: `${o}/*`, element: /* @__PURE__ */ e(m, {}) }
|
|
222
|
-
])
|
|
223
|
-
];
|
|
224
|
-
function U({
|
|
225
|
-
activePathOverride: o,
|
|
226
|
-
menuOnly: d = !1
|
|
227
|
-
} = {}) {
|
|
228
|
-
return /* @__PURE__ */ e(
|
|
229
|
-
P,
|
|
230
|
-
{
|
|
231
|
-
groups: E,
|
|
232
|
-
routes: T,
|
|
233
|
-
mode: "ops",
|
|
234
|
-
emptyText: "请从左侧菜单选择运维模块",
|
|
235
|
-
activePathOverride: o,
|
|
236
|
-
menuOnly: d
|
|
237
|
-
}
|
|
238
|
-
);
|
|
239
|
-
}
|
|
240
|
-
export {
|
|
241
|
-
U as default
|
|
242
|
-
};
|