@yuku123/z-team-component 0.2.58 → 0.2.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChangeLogView-Cstbioyw.js → ChangeLogView-VRWVzP0r.js} +1 -1
- package/dist/{ComponentDoc-MWEULbua.js → ComponentDoc-DjfucAFW.js} +1497 -1387
- package/dist/{InvitationManagementPage-DHomiF0D.js → InvitationManagementPage-BQ_4HcPk.js} +1 -1
- package/dist/{OnboardingPage-D4ccf9Rj.js → OnboardingPage-DM8emo6P.js} +2 -2
- package/dist/{ScheduledTasks-xjtP-eIJ.js → ScheduledTasks-BYxdbsSa.js} +8 -8
- package/dist/SystemShell-BEdMWZ8d.js +670 -0
- package/dist/{admin-logs-B9KS6VJz.js → admin-logs-DCYof_u5.js} +2 -2
- package/dist/{api-BAOITIl4.js → api-Bz4pq8m7.js} +1 -1
- package/dist/{api-CALqShkO.js → api-DWt94BcM.js} +584 -572
- package/dist/{createWorkspaceWsHandler-DP30xvug.js → createWorkspaceWsHandler-3aHkBZE9.js} +4 -4
- package/dist/{index-4YxdJwFm.js → index-4LNRkvy6.js} +3 -3
- package/dist/{index-CDFDjyHa.js → index-BHUK6MwQ.js} +1794 -1784
- package/dist/{index-C2Wkg1b5.js → index-BIdcTXZW.js} +3 -3
- package/dist/index-BVEvns4M.js +2858 -0
- package/dist/{index-m8V5TniT.js → index-BVh0W8ck.js} +15861 -15586
- package/dist/{index-C4-Sn2rx.js → index-C0rbeCoZ.js} +12 -12
- package/dist/{index-8gCovDDT.js → index-C6jp_1-U.js} +6 -6
- package/dist/index-CQSTQAPg.js +112 -0
- package/dist/{index-lftFkqfI.js → index-CTKf6h2u.js} +4 -4
- package/dist/{index-Ot_5dG_I.js → index-Cf7WJqfM.js} +20 -16
- package/dist/{index-Bw0a0nRQ.js → index-Cip94Q-G.js} +3 -3
- package/dist/{index-DKeYG0Fu.js → index-CrIIInfs.js} +4 -4
- package/dist/{index-UjMCPXHz.js → index-DbEvwIck.js} +3 -3
- package/dist/{index-CLWgeKwr.js → index-DtVBFjaJ.js} +2 -2
- package/dist/{index-CGWttFLb.js → index-Dvhocfyo.js} +4 -4
- package/dist/index-DyE5noq6.js +118 -0
- package/dist/{index-DHXxiZa9.js → index-KqKj9E7y.js} +3 -3
- package/dist/{index-aw72ID7y.js → index-NPxrK-81.js} +1 -1
- package/dist/{index-CinRd7Nz.js → index-VY-pgcyl.js} +1 -1
- package/dist/{index-DJOyOVn_.js → index-VxO9i5r6.js} +1 -1
- package/dist/{index-DniCNHNJ.js → index-_gGu4e-w.js} +1 -1
- package/dist/{index-C3B7CbHo.js → index-bsGAZKaU.js} +624 -613
- package/dist/{index-Dtm6ORr2.js → index-eGX5rkV8.js} +5 -5
- package/dist/{index-DET70T3j.js → index-i6Ejgpao.js} +1 -1
- package/dist/index-ncjLe3A0.js +93 -0
- package/dist/index.js +1 -1
- package/dist/{instance-f3C-1qYl.js → instance-CbkHlDr4.js} +1 -1
- package/dist/menuPermission-BWqugXIc.js +60 -0
- package/dist/pages.js +1 -1
- package/dist/schedule-BRvmKoDG.js +587 -0
- package/dist/{send-default-agent-team-message-d_ECdczr.js → send-default-agent-team-message-8wnVWO7H.js} +1 -1
- package/dist/{sso-user-HcsSzg8P.js → sso-user-QZNVhjpR.js} +1 -1
- package/dist/{training-DnNQN0An.js → training-DYo1pvX7.js} +1 -1
- package/dist/{useAppStore-kRZEA5WZ.js → useAppStore-BGOxWep2.js} +6 -2
- package/dist/{webide-BcRzJX-h.js → webide-CWTbQs4I.js} +4 -4
- package/dist/z-team-component.css +2 -2
- package/package.json +1 -1
- package/dist/SystemShell-XnTCunV0.js +0 -907
- package/dist/index-BPOiMJa1.js +0 -2841
- package/dist/index-C0EIMJI2.js +0 -112
- package/dist/index-DRrBkbr_.js +0 -100
- package/dist/schedule-DfkgwPdE.js +0 -497
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as H, LoginPage as _, StatusTag as z, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { a as y } from "./ComponentDoc-
|
|
3
|
-
import {
|
|
2
|
+
import { a as y } from "./ComponentDoc-DjfucAFW.js";
|
|
3
|
+
import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-DjfucAFW.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
|
-
import { Alert as I, Space as
|
|
7
|
-
import { ReloadOutlined as
|
|
6
|
+
import { Alert as I, Space as x, Button as l, Tag as c, Result as R } from "antd";
|
|
7
|
+
import { ReloadOutlined as g, UserAddOutlined as E, TeamOutlined as b, PlusOutlined as w, CodeOutlined as A } from "@ant-design/icons";
|
|
8
8
|
import { ListTable as f } from "@yuku123/z-frontend-common/ui";
|
|
9
9
|
const G = y, O = {
|
|
10
10
|
LEADER: "red",
|
|
@@ -28,12 +28,12 @@ function K() {
|
|
|
28
28
|
f,
|
|
29
29
|
{
|
|
30
30
|
cardTitle: /* @__PURE__ */ r("span", { children: [
|
|
31
|
-
/* @__PURE__ */ e(
|
|
31
|
+
/* @__PURE__ */ e(b, { style: { marginRight: 8 } }),
|
|
32
32
|
"Agent 群组 IM"
|
|
33
33
|
] }),
|
|
34
|
-
cardExtra: /* @__PURE__ */ r(
|
|
35
|
-
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(
|
|
36
|
-
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(
|
|
34
|
+
cardExtra: /* @__PURE__ */ r(x, { children: [
|
|
35
|
+
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(g, {}), loading: i, children: "刷新" }),
|
|
36
|
+
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(E, {}), disabled: !0, children: "创建群组" })
|
|
37
37
|
] }),
|
|
38
38
|
rows: s,
|
|
39
39
|
columns: [
|
|
@@ -99,8 +99,8 @@ function U() {
|
|
|
99
99
|
/* @__PURE__ */ e(A, { style: { marginRight: 8 } }),
|
|
100
100
|
"WebIDE 容器管理"
|
|
101
101
|
] }),
|
|
102
|
-
cardExtra: /* @__PURE__ */ r(
|
|
103
|
-
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(
|
|
102
|
+
cardExtra: /* @__PURE__ */ r(x, { children: [
|
|
103
|
+
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(g, {}), onClick: p, loading: d, children: "刷新" }),
|
|
104
104
|
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(w, {}), disabled: !0, children: "新建 WebIDE" })
|
|
105
105
|
] }),
|
|
106
106
|
rows: i,
|
|
@@ -139,7 +139,7 @@ function U() {
|
|
|
139
139
|
)
|
|
140
140
|
] });
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function k() {
|
|
143
143
|
return /* @__PURE__ */ e(
|
|
144
144
|
R,
|
|
145
145
|
{
|
|
@@ -153,7 +153,7 @@ export {
|
|
|
153
153
|
K as AgentTeamIM,
|
|
154
154
|
v as AppLayout,
|
|
155
155
|
J as CurlImportModal,
|
|
156
|
-
|
|
156
|
+
k as DebugPlayground,
|
|
157
157
|
Q as EndpointsTab,
|
|
158
158
|
X as EnvironmentsTab,
|
|
159
159
|
H as ErrorBoundary,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { r as q, f as le } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as de, h as K, s as X } from "./sso-user-
|
|
3
|
+
import { r as de, h as K, s as X } from "./sso-user-QZNVhjpR.js";
|
|
4
4
|
import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
|
|
5
5
|
import { Spin as M, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
|
|
6
6
|
import Q from "query-string";
|
|
7
7
|
import { useState as S, useRef as E, useEffect as y, useMemo as Y, useCallback as B } from "react";
|
|
8
8
|
import { useLocation as ke } from "react-router-dom";
|
|
9
9
|
import { h as R } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { c as we, C as Se } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as c, f as ye, T as ve } from "./useAppStore-
|
|
12
|
-
import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-
|
|
13
|
-
import { l as xe, j as Pe } from "./instance-
|
|
10
|
+
import { c as we, C as Se } from "./createWorkspaceWsHandler-3aHkBZE9.js";
|
|
11
|
+
import { u as c, f as ye, T as ve } from "./useAppStore-BGOxWep2.js";
|
|
12
|
+
import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-DWt94BcM.js";
|
|
13
|
+
import { l as xe, j as Pe } from "./instance-CbkHlDr4.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { s as _e } from "./admin-logs-
|
|
15
|
+
import { s as _e } from "./admin-logs-DCYof_u5.js";
|
|
16
16
|
const ae = 2e4;
|
|
17
17
|
function Ee(l, o = ae, n = globalThis) {
|
|
18
18
|
let s = null;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x, useMemo as p } from "react";
|
|
3
|
+
import { useNavigate as v, useLocation as A } from "react-router-dom";
|
|
4
|
+
import { DownOutlined as k, RightOutlined as W } from "@ant-design/icons";
|
|
5
|
+
import { P as $, R as E } from "./index-ncjLe3A0.js";
|
|
6
|
+
import { f as g, M as H } from "./menuPermission-BWqugXIc.js";
|
|
7
|
+
import { u as h } from "./useAppStore-BGOxWep2.js";
|
|
8
|
+
const M = "_shell_92w2c_7", R = "_sidebar_92w2c_15", T = "_menuList_92w2c_37", C = "_menuGroup_92w2c_43", P = "_menuGroupHeader_92w2c_47", j = "_menuGroupIcon_92w2c_65", z = "_menuGroupLabel_92w2c_70", K = "_menuGroupArrow_92w2c_74", U = "_menuSubList_92w2c_80", Z = "_menuSubItem_92w2c_86", B = "_menuSubItemActive_92w2c_103", D = "_menuSubItemIcon_92w2c_110", O = "_menuSubItemLabel_92w2c_115", q = "_menuSubItemWrap_92w2c_119", F = "_main_92w2c_123", J = "_empty_92w2c_130", Q = "_emptyIcon_92w2c_140", V = "_emptyText_92w2c_145", n = {
|
|
9
|
+
shell: M,
|
|
10
|
+
sidebar: R,
|
|
11
|
+
menuList: T,
|
|
12
|
+
menuGroup: C,
|
|
13
|
+
menuGroupHeader: P,
|
|
14
|
+
menuGroupIcon: j,
|
|
15
|
+
menuGroupLabel: z,
|
|
16
|
+
menuGroupArrow: K,
|
|
17
|
+
menuSubList: U,
|
|
18
|
+
menuSubItem: Z,
|
|
19
|
+
menuSubItemActive: B,
|
|
20
|
+
menuSubItemIcon: D,
|
|
21
|
+
menuSubItemLabel: O,
|
|
22
|
+
menuSubItemWrap: q,
|
|
23
|
+
main: F,
|
|
24
|
+
empty: J,
|
|
25
|
+
emptyIcon: Q,
|
|
26
|
+
emptyText: V
|
|
27
|
+
};
|
|
28
|
+
function X(m, r) {
|
|
29
|
+
for (const s of m)
|
|
30
|
+
if (s.path === r) return s.element;
|
|
31
|
+
for (const s of m)
|
|
32
|
+
if (s.path.includes("*") || s.path.includes(":")) {
|
|
33
|
+
const i = "^" + s.path.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
34
|
+
if (new RegExp(i).test(r)) return s.element;
|
|
35
|
+
}
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
function Y({ text: m }) {
|
|
39
|
+
return /* @__PURE__ */ u("div", { className: n.empty, children: [
|
|
40
|
+
/* @__PURE__ */ t("div", { className: n.emptyIcon, children: "⚙️" }),
|
|
41
|
+
/* @__PURE__ */ t("div", { className: n.emptyText, children: m })
|
|
42
|
+
] });
|
|
43
|
+
}
|
|
44
|
+
function oe({
|
|
45
|
+
groups: m,
|
|
46
|
+
routes: r,
|
|
47
|
+
mode: s,
|
|
48
|
+
emptyText: i,
|
|
49
|
+
activePathOverride: _,
|
|
50
|
+
menuOnly: I = !1
|
|
51
|
+
}) {
|
|
52
|
+
const S = v(), { pathname: a } = A(), d = h((e) => e.currentUser), b = h((e) => e.permissionState), [f, w] = x(
|
|
53
|
+
new Set(m.map((e) => e.title))
|
|
54
|
+
), l = p(
|
|
55
|
+
() => b === "failed" ? m : g(m, d),
|
|
56
|
+
[m, d, b]
|
|
57
|
+
), G = p(() => {
|
|
58
|
+
const e = _ ?? a;
|
|
59
|
+
for (const o of l)
|
|
60
|
+
for (const c of o.items)
|
|
61
|
+
if (c.path === e) return c.key;
|
|
62
|
+
return null;
|
|
63
|
+
}, [l, _, a]), y = (e) => {
|
|
64
|
+
w((o) => {
|
|
65
|
+
const c = new Set(o);
|
|
66
|
+
return c.has(e) ? c.delete(e) : c.add(e), c;
|
|
67
|
+
});
|
|
68
|
+
}, N = (e) => {
|
|
69
|
+
S(`${e.path}?mode=${s}`);
|
|
70
|
+
}, L = p(() => X(r, a), [r, a]);
|
|
71
|
+
return /* @__PURE__ */ u("div", { className: n.shell, children: [
|
|
72
|
+
/* @__PURE__ */ u("aside", { className: n.sidebar, children: [
|
|
73
|
+
/* @__PURE__ */ t(H, {}),
|
|
74
|
+
/* @__PURE__ */ t("nav", { className: n.menuList, children: l.map((e) => {
|
|
75
|
+
const o = f.has(e.title);
|
|
76
|
+
return /* @__PURE__ */ u("div", { className: n.menuGroup, children: [
|
|
77
|
+
/* @__PURE__ */ u(
|
|
78
|
+
"div",
|
|
79
|
+
{
|
|
80
|
+
className: n.menuGroupHeader,
|
|
81
|
+
onClick: () => y(e.title),
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ t("span", { className: n.menuGroupIcon, children: e.icon }),
|
|
84
|
+
/* @__PURE__ */ t("span", { className: n.menuGroupLabel, children: e.title }),
|
|
85
|
+
/* @__PURE__ */ t("span", { className: n.menuGroupArrow, children: o ? /* @__PURE__ */ t(k, {}) : /* @__PURE__ */ t(W, {}) })
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
o && /* @__PURE__ */ t("ul", { className: n.menuSubList, children: e.items.map((c) => /* @__PURE__ */ u(
|
|
90
|
+
"li",
|
|
91
|
+
{
|
|
92
|
+
className: `${n.menuSubItemWrap} ${n.menuSubItem} ${G === c.key ? n.menuSubItemActive : ""}`,
|
|
93
|
+
onClick: () => N(c),
|
|
94
|
+
children: [
|
|
95
|
+
/* @__PURE__ */ t("span", { className: n.menuSubItemIcon, children: c.icon }),
|
|
96
|
+
/* @__PURE__ */ t("span", { className: n.menuSubItemLabel, children: c.label })
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
c.key
|
|
100
|
+
)) })
|
|
101
|
+
] }, e.title);
|
|
102
|
+
}) })
|
|
103
|
+
] }),
|
|
104
|
+
I ? null : /* @__PURE__ */ u("main", { className: n.main, children: [
|
|
105
|
+
/* @__PURE__ */ t($, {}),
|
|
106
|
+
/* @__PURE__ */ t(E, { resetKey: a, children: L ?? /* @__PURE__ */ t(Y, { text: i }) })
|
|
107
|
+
] })
|
|
108
|
+
] });
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
oe as W
|
|
112
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
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-QZNVhjpR.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 { d as V, e as X } from "./api-
|
|
11
|
-
import { u as s } from "./useAppStore-
|
|
10
|
+
import { d as V, e as X } from "./api-DWt94BcM.js";
|
|
11
|
+
import { u as s } from "./useAppStore-BGOxWep2.js";
|
|
12
12
|
import { b as Y } from "./mobile-client-O3yr9h6t.js";
|
|
13
|
-
import { s as Z } from "./send-default-agent-team-message-
|
|
13
|
+
import { s as Z } from "./send-default-agent-team-message-8wnVWO7H.js";
|
|
14
14
|
function de() {
|
|
15
15
|
const h = Q(), f = J.parse(h.search), c = String(
|
|
16
16
|
f.scenarioCode ?? f.scenario_code ?? ""
|
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import { jsx as e, jsxs as b } from "react/jsx-runtime";
|
|
2
2
|
import { Navigate as t } from "react-router-dom";
|
|
3
|
-
import { lazy as
|
|
4
|
-
import { UnorderedListOutlined as i, HistoryOutlined as
|
|
5
|
-
import { W as B } from "./index-
|
|
3
|
+
import { lazy as S } from "react";
|
|
4
|
+
import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as l, DashboardOutlined as n, ExperimentOutlined as q, SettingOutlined as k, KeyOutlined as s, AppstoreOutlined as m, SafetyCertificateOutlined as w, TeamOutlined as z, ProfileOutlined as u, ApiOutlined as y, HddOutlined as h, ApartmentOutlined as f, InboxOutlined as v, FileTextOutlined as O, SendOutlined as P, CloudServerOutlined as a, NodeIndexOutlined as _, TableOutlined as C, SearchOutlined as d, DatabaseOutlined as D, ConsoleSqlOutlined as x, BranchesOutlined as E, DeploymentUnitOutlined as G, BookOutlined as g, FundOutlined as M, CloudUploadOutlined as I, TagsOutlined as N, CodeOutlined as R } from "@ant-design/icons";
|
|
5
|
+
import { W as B } from "./index-CQSTQAPg.js";
|
|
6
6
|
import { ConfigApp as U } from "@yuku123/z-config-component";
|
|
7
7
|
import { MistApp as K } from "@yuku123/z-mist-component";
|
|
8
8
|
import { MetaApp as L } from "@yuku123/z-meta-component";
|
|
9
9
|
import { MsgApp as j } from "@yuku123/z-msg-component";
|
|
10
10
|
import { RpcApp as W } from "@yuku123/z-rpc-component";
|
|
11
|
-
import { VectorApp as
|
|
12
|
-
import { GraphApp as
|
|
11
|
+
import { VectorApp as F } from "@yuku123/z-vector-component";
|
|
12
|
+
import { GraphApp as H } from "@yuku123/z-graph-component";
|
|
13
13
|
import { GwApp as V } from "@yuku123/z-gw-component";
|
|
14
14
|
import { CacheApp as Z } from "@yuku123/z-cache-component";
|
|
15
15
|
import { MqApp as Q } from "@yuku123/z-mq-component";
|
|
16
16
|
import { OssApp as Y } from "@yuku123/z-oss-component";
|
|
17
17
|
import { ZkbApp as J } from "@yuku123/z-kb-component";
|
|
18
18
|
import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
|
|
19
|
-
import "./index-
|
|
20
|
-
const c = (p, r) =>
|
|
19
|
+
import "./index-BHUK6MwQ.js";
|
|
20
|
+
const c = (p, r) => S(() => p().then((A) => ({ default: A[r] }))), X = c(() => import("@yuku123/z-config-component"), "ComponentDocPage"), $ = c(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), ee = c(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), te = c(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), ce = c(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), ae = c(() => import("@yuku123/z-kb-component"), "ComponentDocPage"), oe = c(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), ie = c(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), ne = c(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), se = c(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), pe = c(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), re = c(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), le = [
|
|
21
21
|
{
|
|
22
22
|
title: "配置中心",
|
|
23
23
|
icon: /* @__PURE__ */ e(k, {}),
|
|
24
|
+
// 通用配置(z-config)属 4A 的 OPS_CONFIG_VIEW「运营配置查看」域:
|
|
25
|
+
// 4A 普通用户角色 USER 不含该权限点 ⇒ 普通用户看不到配置中心入口
|
|
26
|
+
// (否则点进去就是 403 白脸)。管理员角色 ADMIN / 超管可见。
|
|
27
|
+
permission: "OPS_CONFIG_VIEW",
|
|
24
28
|
items: [
|
|
25
29
|
{
|
|
26
30
|
key: "config-list",
|
|
@@ -32,7 +36,7 @@ const c = (p, r) => T(() => p().then((A) => ({ default: A[r] }))), X = c(() => i
|
|
|
32
36
|
{
|
|
33
37
|
key: "config-history",
|
|
34
38
|
label: "变更历史",
|
|
35
|
-
icon: /* @__PURE__ */ e(
|
|
39
|
+
icon: /* @__PURE__ */ e(T, {}),
|
|
36
40
|
path: "/config/history",
|
|
37
41
|
desc: "配置变更记录与版本回溯"
|
|
38
42
|
},
|
|
@@ -170,7 +174,7 @@ const c = (p, r) => T(() => p().then((A) => ({ default: A[r] }))), X = c(() => i
|
|
|
170
174
|
},
|
|
171
175
|
{
|
|
172
176
|
title: "服务注册",
|
|
173
|
-
icon: /* @__PURE__ */ e(
|
|
177
|
+
icon: /* @__PURE__ */ e(_, {}),
|
|
174
178
|
items: [
|
|
175
179
|
{
|
|
176
180
|
key: "rpc-service",
|
|
@@ -229,7 +233,7 @@ const c = (p, r) => T(() => p().then((A) => ({ default: A[r] }))), X = c(() => i
|
|
|
229
233
|
{
|
|
230
234
|
key: "graph-query",
|
|
231
235
|
label: "图查询",
|
|
232
|
-
icon: /* @__PURE__ */ e(
|
|
236
|
+
icon: /* @__PURE__ */ e(x, {}),
|
|
233
237
|
path: "/graph/query",
|
|
234
238
|
desc: "Cypher 执行 + 执行计划,写语句二次确认(/api/graph/query)"
|
|
235
239
|
},
|
|
@@ -426,14 +430,14 @@ const c = (p, r) => T(() => p().then((A) => ({ default: A[r] }))), X = c(() => i
|
|
|
426
430
|
{
|
|
427
431
|
key: "script-version",
|
|
428
432
|
label: "脚本版本",
|
|
429
|
-
icon: /* @__PURE__ */ e(
|
|
433
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
430
434
|
path: "/script/version",
|
|
431
435
|
desc: "GET /api/script/version/list/{scriptId} · 按脚本主表 ID 查,状态是字符串枚举"
|
|
432
436
|
},
|
|
433
437
|
{
|
|
434
438
|
key: "script-tag",
|
|
435
439
|
label: "标签治理",
|
|
436
|
-
icon: /* @__PURE__ */ e(
|
|
440
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
437
441
|
path: "/script/tag",
|
|
438
442
|
desc: "GET /api/script/tag/list · 3 条标签,颜色取 tag_color(回退 color)"
|
|
439
443
|
}
|
|
@@ -496,12 +500,12 @@ const he = [
|
|
|
496
500
|
// ─── 向量检索 (z-vector) ───
|
|
497
501
|
// REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
498
502
|
{ path: "/vector", element: /* @__PURE__ */ e(t, { to: "/vector/collections", replace: !0 }) },
|
|
499
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
503
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(F, {}) },
|
|
500
504
|
// ─── 图数据库 (z-graph) ───
|
|
501
505
|
// REST 面是内嵌 GraphControlServer(JDK HttpServer,非 Spring MVC),经 z-opc 的 /api/graph/** 代理出去
|
|
502
506
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
503
507
|
{ path: "/graph", element: /* @__PURE__ */ e(t, { to: "/graph/schema", replace: !0 }) },
|
|
504
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
508
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(H, {}) },
|
|
505
509
|
// ─── 网关 (z-gw) ───
|
|
506
510
|
// admin 面是 z-gw-admin 的原生 Spring MVC(pom 加 io.github.yuku123:z-gw-admin 后挂 /gw/admin/**,12 条 handler);
|
|
507
511
|
// 页面不直连裸 /gw/admin(不在 sso.intercept-paths 内),一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
@@ -566,7 +570,7 @@ const he = [
|
|
|
566
570
|
{ path: "/cache/docs", element: /* @__PURE__ */ e(pe, {}) },
|
|
567
571
|
{ path: "/mq/docs", element: /* @__PURE__ */ e(re, {}) }
|
|
568
572
|
];
|
|
569
|
-
function
|
|
573
|
+
function xe() {
|
|
570
574
|
return /* @__PURE__ */ e(
|
|
571
575
|
B,
|
|
572
576
|
{
|
|
@@ -578,5 +582,5 @@ function _e() {
|
|
|
578
582
|
);
|
|
579
583
|
}
|
|
580
584
|
export {
|
|
581
|
-
|
|
585
|
+
xe as default
|
|
582
586
|
};
|
|
@@ -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-
|
|
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-
|
|
5
|
-
import { p as j } from "./index-
|
|
3
|
+
import { S, T as A, P as D } from "./webide-CWTbQs4I.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-BYxdbsSa.js";
|
|
5
|
+
import { p as j } from "./index-BHUK6MwQ.js";
|
|
6
6
|
function J({
|
|
7
7
|
view: s,
|
|
8
8
|
agents: a,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { f as ie, r as z } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as ne, h as X, s as oe } from "./sso-user-
|
|
3
|
+
import { r as ne, h as X, s as oe } from "./sso-user-QZNVhjpR.js";
|
|
4
4
|
import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { message as k, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
|
|
6
6
|
import pe from "query-string";
|
|
7
7
|
import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect as V } from "react";
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { l as he, d as be, e as _e } from "./api-
|
|
11
|
-
import { u as c } from "./useAppStore-
|
|
10
|
+
import { l as he, d as be, e as _e } from "./api-DWt94BcM.js";
|
|
11
|
+
import { u as c } from "./useAppStore-BGOxWep2.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
14
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
14
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-8wnVWO7H.js";
|
|
15
15
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
16
16
|
function Pe(a) {
|
|
17
17
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as re, useCallback as O } from "react";
|
|
3
|
-
import { a as b, f as $, B, u as D } from "./api-
|
|
4
|
-
import { u as F } from "./useAppStore-
|
|
3
|
+
import { a as b, f as $, B, u as D } from "./api-DWt94BcM.js";
|
|
4
|
+
import { u as F } from "./useAppStore-BGOxWep2.js";
|
|
5
5
|
import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as Ue, ArrowLeftOutlined as fe, UserOutlined as be, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
|
|
6
6
|
import { message as U, Input as H, Tooltip as se, Button as g, Spin as ce, Empty as De, Popconfirm as pe, Tag as ie, Modal as Re, Select as Pe, Upload as me, Tabs as Le } from "antd";
|
|
7
7
|
import ve from "react-markdown";
|
|
8
8
|
import _e from "rehype-highlight";
|
|
9
9
|
import ge from "remark-gfm";
|
|
10
|
-
import { M as oa } from "./index-
|
|
10
|
+
import { M as oa } from "./index-eGX5rkV8.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-
|
|
3
|
+
import { u as O } from "./useAppStore-BGOxWep2.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { T as P, g as U } from "./api-
|
|
5
|
+
import { T as P, g as U } from "./api-DWt94BcM.js";
|
|
6
6
|
async function y(o, s) {
|
|
7
7
|
const n = await o.text().catch(() => "");
|
|
8
8
|
let t = {};
|
|
@@ -3,16 +3,16 @@ import { SearchOutlined as Ie, ReloadOutlined as Ne, PlusOutlined as xe, ArrowUp
|
|
|
3
3
|
import { Input as K, Select as ae, Button as M, Modal as ve, Space as qe, Tooltip as oe, message as P, Tag as H, Popconfirm as ke, Spin as Xe, Empty as Ke, AutoComplete as st, Segmented as Bt, TreeSelect as et, Descriptions as ne, InputNumber as Fe, Drawer as cl, Tabs as Mt, Switch as zt, Radio as yt, Tree as ul, Table as Oe } from "antd";
|
|
4
4
|
import { ListTable as Ae, DEFAULT_PAGINATION as hl } from "@yuku123/z-frontend-common/ui";
|
|
5
5
|
import { useState as o, useCallback as de, useEffect as ce, useMemo as pe, useRef as Ft } from "react";
|
|
6
|
-
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-
|
|
7
|
-
import { u as Ce } from "./useAppStore-
|
|
6
|
+
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-DYo1pvX7.js";
|
|
7
|
+
import { u as Ce } from "./useAppStore-BGOxWep2.js";
|
|
8
8
|
import { s as r } from "./index.module-UI0iz8K0.js";
|
|
9
9
|
import Wl from "dayjs";
|
|
10
10
|
import xt from "react-markdown";
|
|
11
11
|
import Tt from "remark-gfm";
|
|
12
12
|
import { h as be } from "./index.module-CAa-2T7m.js";
|
|
13
13
|
import { M as Hl } from "./index-CUVdeb8y.js";
|
|
14
|
-
import { ao as Kl } from "./api-
|
|
15
|
-
import { h as ql } from "./schedule-
|
|
14
|
+
import { ao as Kl } from "./api-DWt94BcM.js";
|
|
15
|
+
import { h as ql } from "./schedule-BRvmKoDG.js";
|
|
16
16
|
function Vl() {
|
|
17
17
|
const l = Ce((i) => i.token), [n, D] = o([]), [k, L] = o(!1), [x, B] = o(""), [E, F] = o(null), [c, A] = o(!1), [C, T] = o(!1), [I, U] = o(null), [u, v] = o([]), [_, y] = o([]), [j, J] = o([]), [Z, O] = o([]), [w, z] = o([]), h = de(async () => {
|
|
18
18
|
L(!0);
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as y, useMemo as d } from "react";
|
|
3
|
+
import { useNavigate as G, useLocation as k } from "react-router-dom";
|
|
4
|
+
import { CodeOutlined as L, DownOutlined as N, RightOutlined as O, AppstoreOutlined as v, TableOutlined as A, DatabaseOutlined as w, RobotOutlined as H, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as C, BranchesOutlined as $, DeploymentUnitOutlined as p, SafetyCertificateOutlined as g } from "@ant-design/icons";
|
|
5
|
+
import R from "@yuku123/z-lc-component";
|
|
6
|
+
import { f as U, M as x } from "./menuPermission-BWqugXIc.js";
|
|
7
|
+
import { u as b } from "./useAppStore-BGOxWep2.js";
|
|
8
|
+
const D = "_shell_1n5c7_7", E = "_sidebar_1n5c7_15", P = "_sidebarHeader_1n5c7_26", j = "_menuList_1n5c7_37", K = "_menuGroup_1n5c7_43", T = "_menuGroupHeader_1n5c7_47", B = "_menuGroupLabel_1n5c7_65", F = "_menuGroupArrow_1n5c7_69", q = "_menuSubList_1n5c7_74", z = "_menuSubItemWrap_1n5c7_80", J = "_menuSubItem_1n5c7_80", Q = "_menuSubItemActive_1n5c7_101", V = "_menuSubItemIcon_1n5c7_108", X = "_menuSubItemLabel_1n5c7_113", Y = "_main_1n5c7_118", t = {
|
|
9
|
+
shell: D,
|
|
10
|
+
sidebar: E,
|
|
11
|
+
sidebarHeader: P,
|
|
12
|
+
menuList: j,
|
|
13
|
+
menuGroup: K,
|
|
14
|
+
menuGroupHeader: T,
|
|
15
|
+
menuGroupLabel: B,
|
|
16
|
+
menuGroupArrow: F,
|
|
17
|
+
menuSubList: q,
|
|
18
|
+
menuSubItemWrap: z,
|
|
19
|
+
menuSubItem: J,
|
|
20
|
+
menuSubItemActive: Q,
|
|
21
|
+
menuSubItemIcon: V,
|
|
22
|
+
menuSubItemLabel: X,
|
|
23
|
+
main: Y
|
|
24
|
+
}, r = [
|
|
25
|
+
{
|
|
26
|
+
title: "应用",
|
|
27
|
+
items: [
|
|
28
|
+
{ key: "apps", label: "应用列表", icon: /* @__PURE__ */ e(v, {}), path: "apps" }
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
title: "建模",
|
|
33
|
+
items: [
|
|
34
|
+
{ key: "designer", label: "Schema 设计器", icon: /* @__PURE__ */ e(A, {}), path: "designer" },
|
|
35
|
+
{ key: "db-import", label: "从数据库导入", icon: /* @__PURE__ */ e(w, {}), path: "db-import" },
|
|
36
|
+
{ key: "admin-ai", label: "AI 建模", icon: /* @__PURE__ */ e(H, {}), path: "admin/ai" }
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: "配置",
|
|
41
|
+
items: [
|
|
42
|
+
{ key: "admin-dicts", label: "数据字典", icon: /* @__PURE__ */ e(M, {}), path: "admin/dicts" },
|
|
43
|
+
{ key: "admin-relations", label: "实体关系", icon: /* @__PURE__ */ e(W, {}), path: "admin/relations" },
|
|
44
|
+
{ key: "admin-views", label: "视图配置", icon: /* @__PURE__ */ e(C, {}), path: "admin/views" },
|
|
45
|
+
{ key: "admin-pipelines", label: "Pipeline", icon: /* @__PURE__ */ e($, {}), path: "admin/pipelines" },
|
|
46
|
+
{ key: "admin-workflows", label: "流程绑定", icon: /* @__PURE__ */ e(p, {}), path: "admin/workflows" }
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
title: "运行",
|
|
51
|
+
items: [
|
|
52
|
+
{ key: "admin-permissions", label: "权限矩阵", icon: /* @__PURE__ */ e(g, {}), path: "admin/permissions", permission: "PERMISSION_MANAGE" },
|
|
53
|
+
{ key: "admin-deployments", label: "部署记录", icon: /* @__PURE__ */ e(p, {}), path: "admin/deployments" }
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
], c = "/lc";
|
|
57
|
+
function Z(l) {
|
|
58
|
+
if (!l.startsWith(c)) return null;
|
|
59
|
+
const m = l.slice(c.length).replace(/^\//, "");
|
|
60
|
+
for (const o of r)
|
|
61
|
+
for (const s of o.items)
|
|
62
|
+
if (m === s.path || m.startsWith(`${s.path}/`)) return s.key;
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
function le() {
|
|
66
|
+
const l = G(), { pathname: m } = k(), o = b((n) => n.currentUser), s = b((n) => n.permissionState), [_, h] = y(
|
|
67
|
+
new Set(r.map((n) => n.title))
|
|
68
|
+
), S = d(
|
|
69
|
+
() => s === "failed" ? r : U(r, o),
|
|
70
|
+
[o, s]
|
|
71
|
+
), I = d(() => Z(m), [m]), f = (n) => {
|
|
72
|
+
h((u) => {
|
|
73
|
+
const i = new Set(u);
|
|
74
|
+
return i.has(n) ? i.delete(n) : i.add(n), i;
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
return /* @__PURE__ */ a("div", { className: t.shell, children: [
|
|
78
|
+
/* @__PURE__ */ a("aside", { className: t.sidebar, children: [
|
|
79
|
+
/* @__PURE__ */ a("div", { className: t.sidebarHeader, children: [
|
|
80
|
+
/* @__PURE__ */ e(L, {}),
|
|
81
|
+
/* @__PURE__ */ e("span", { children: "研发工作台" })
|
|
82
|
+
] }),
|
|
83
|
+
/* @__PURE__ */ e(x, {}),
|
|
84
|
+
/* @__PURE__ */ e("nav", { className: t.menuList, children: S.map((n) => {
|
|
85
|
+
const u = !_.has(n.title);
|
|
86
|
+
return /* @__PURE__ */ a("div", { className: t.menuGroup, children: [
|
|
87
|
+
/* @__PURE__ */ a(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: t.menuGroupHeader,
|
|
91
|
+
onClick: () => f(n.title),
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ e("span", { className: t.menuGroupLabel, children: n.title }),
|
|
94
|
+
/* @__PURE__ */ e("span", { className: t.menuGroupArrow, children: u ? /* @__PURE__ */ e(N, {}) : /* @__PURE__ */ e(O, {}) })
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
u && /* @__PURE__ */ e("ul", { className: t.menuSubList, children: n.items.map((i) => /* @__PURE__ */ a(
|
|
99
|
+
"li",
|
|
100
|
+
{
|
|
101
|
+
className: `${t.menuSubItemWrap} ${t.menuSubItem} ${I === i.key ? t.menuSubItemActive : ""}`,
|
|
102
|
+
onClick: () => l(`${c}/${i.path}`),
|
|
103
|
+
children: [
|
|
104
|
+
/* @__PURE__ */ e("span", { className: t.menuSubItemIcon, children: i.icon }),
|
|
105
|
+
/* @__PURE__ */ e("span", { className: t.menuSubItemLabel, children: i.label })
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
i.key
|
|
109
|
+
)) })
|
|
110
|
+
] }, n.title);
|
|
111
|
+
}) })
|
|
112
|
+
] }),
|
|
113
|
+
/* @__PURE__ */ e("main", { className: t.main, children: /* @__PURE__ */ e(R, {}) })
|
|
114
|
+
] });
|
|
115
|
+
}
|
|
116
|
+
export {
|
|
117
|
+
le as default
|
|
118
|
+
};
|
|
@@ -2,9 +2,9 @@ import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
|
2
2
|
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
|
-
import { W as P } from "./index-
|
|
6
|
-
import { M as D } from "./ComponentDoc-
|
|
7
|
-
import "./index-
|
|
5
|
+
import { W as P } from "./index-CQSTQAPg.js";
|
|
6
|
+
import { M as D } from "./ComponentDoc-DjfucAFW.js";
|
|
7
|
+
import "./index-BHUK6MwQ.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 运维",
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n, Fragment as H } from "react/jsx-runtime";
|
|
|
2
2
|
import { BookOutlined as V, ReloadOutlined as Ne, SearchOutlined as fe, CloseOutlined as ge, CaretDownOutlined as ve, CaretRightOutlined as Te } from "@ant-design/icons";
|
|
3
3
|
import { message as Se, Spin as F } from "antd";
|
|
4
4
|
import { useState as k, useRef as M, useEffect as G, useCallback as C } from "react";
|
|
5
|
-
import { a as A, B as R, u as E } from "./api-
|
|
5
|
+
import { a as A, B as R, u as E } from "./api-DWt94BcM.js";
|
|
6
6
|
function B(a) {
|
|
7
7
|
const l = new URLSearchParams();
|
|
8
8
|
Object.entries(a).forEach(([N, s]) => {
|
|
@@ -3,7 +3,7 @@ import { ThunderboltOutlined as ce, UpOutlined as Ie, DownOutlined as Se, LinkOu
|
|
|
3
3
|
import { useState as u, useEffect as F, useCallback as le, useMemo as se, useRef as Ne } from "react";
|
|
4
4
|
import fe from "axios";
|
|
5
5
|
import { Empty as oe, Modal as J, Select as q, Input as te, Form as D, Col as ee, Row as be, Space as de, Dropdown as Re, Popconfirm as ze, Tag as H, Descriptions as ke, Card as He, Table as Le, Tree as Oe, Button as L, Tooltip as Be, Spin as Ue } from "antd";
|
|
6
|
-
import { u as Me, i as qe, s as Fe } from "./createWorkspaceWsHandler-
|
|
6
|
+
import { u as Me, i as qe, s as Fe } from "./createWorkspaceWsHandler-3aHkBZE9.js";
|
|
7
7
|
const je = {
|
|
8
8
|
PageHeader: ({ title: a, subtitle: r }) => /* @__PURE__ */ i("div", { style: { marginBottom: 12 }, children: [
|
|
9
9
|
/* @__PURE__ */ e("h2", { style: { margin: 0 }, children: a }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as b, useRef as N, 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-VRWVzP0r.js";
|
|
5
5
|
const T = "_docs_lzhu5_12", v = "_bgLayer_lzhu5_59", p = "_bgGrid_lzhu5_70", f = "_navbar_lzhu5_87", y = "_navLeft_lzhu5_103", z = "_navBack_lzhu5_110", k = "_navBrand_lzhu5_132", I = "_navLogo_lzhu5_139", B = "_navTitle_lzhu5_154", q = "_navLink_lzhu5_164", L = "_layout_lzhu5_191", C = "_sidebar_lzhu5_202", S = "_sidebarInner_lzhu5_213", G = "_sidebarTitle_lzhu5_217", D = "_tocItem_lzhu5_227", E = "_tocActive_lzhu5_249", K = "_tocNum_lzhu5_260", w = "_content_lzhu5_275", F = "_section_lzhu5_285", O = "_secTitle_lzhu5_290", R = "_subTitle_lzhu5_301", x = "_lead_lzhu5_309", W = "_list_lzhu5_329", M = "_olist_lzhu5_360", Z = "_callout_lzhu5_397", Q = "_calloutBlue_lzhu5_398", $ = "_calloutGreen_lzhu5_399", P = "_calloutRed_lzhu5_400", U = "_inlineCode_lzhu5_441", V = "_codeBlock_lzhu5_454", H = "_tableWrap_lzhu5_470", j = "_table_lzhu5_470", Y = "_tableKey_lzhu5_512", J = "_tableIcon_lzhu5_517", X = "_statusDot_lzhu5_523", ee = "_tone_pending_lzhu5_532", le = "_tone_running_lzhu5_536", ne = "_tone_suspended_lzhu5_541", ce = "_tone_done_lzhu5_546", ie = "_tone_failed_lzhu5_551", te = "_tone_cancelled_lzhu5_556", ae = "_markGood_lzhu5_562", se = "_markBad_lzhu5_563", de = "_faqList_lzhu5_577", re = "_faqItem_lzhu5_583", he = "_faqQ_lzhu5_597", oe = "_faqA_lzhu5_604", me = "_changelogEmbed_lzhu5_611", ge = "_changelogTip_lzhu5_619", ue = "_changelogLink_lzhu5_625", _e = "_docFooter_lzhu5_637", be = "_backBtn_lzhu5_648", Ne = "_docFooterText_lzhu5_671", l = {
|
|
6
6
|
docs: T,
|
|
7
7
|
bgLayer: v,
|
|
@@ -3,7 +3,7 @@ import { useNavigate as X, useParams as me, useLocation as ye, useRoutes as ge }
|
|
|
3
3
|
import { useState as m, useEffect as M, useMemo as be } from "react";
|
|
4
4
|
import { RocketOutlined as fe, AppstoreOutlined as ce, CheckCircleOutlined as W, PlayCircleOutlined as K, CloseCircleOutlined as Z, BellOutlined as oe, BulbOutlined as ee, EditOutlined as _e, CloudUploadOutlined as we, CopyOutlined as ve, DeleteOutlined as Ie, ReloadOutlined as te, PlusOutlined as re, ArrowLeftOutlined as Ce, SaveOutlined as le, ShopOutlined as de, StarFilled as Te, CloudDownloadOutlined as ke, DashboardOutlined as xe, InfoCircleOutlined as Pe } from "@ant-design/icons";
|
|
5
5
|
import { Typography as j, Row as q, Col as R, Card as E, Statistic as N, Table as Oe, Tag as T, Form as b, Space as D, Button as u, Popconfirm as pe, Drawer as V, Input as A, Select as H, message as d, Tabs as Ae, Descriptions as C, Alert as Se, Switch as Re, Spin as De } from "antd";
|
|
6
|
-
import { r as _ } from "./ComponentDoc-
|
|
6
|
+
import { r as _ } from "./ComponentDoc-DjfucAFW.js";
|
|
7
7
|
import { ListTable as Y } from "@yuku123/z-frontend-common/ui";
|
|
8
8
|
const z = (r) => `script-admin/scripts/${encodeURIComponent(r)}`, P = {
|
|
9
9
|
list: () => _.get("script-admin/scripts"),
|