@yuku123/z-team-component 0.2.59 → 0.2.61
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-Bx6NAJlK.js → ComponentDoc-CZGpQekc.js} +1497 -1387
- package/dist/{InvitationManagementPage-Gkqisq4C.js → InvitationManagementPage-Dvhu6OWP.js} +1 -1
- package/dist/{OnboardingPage-C7C4PEjn.js → OnboardingPage-CF_ECLv7.js} +2 -2
- package/dist/{ScheduledTasks-BQRcjBOd.js → ScheduledTasks-Cec22jf4.js} +8 -8
- package/dist/SystemShell-D8uLAhd8.js +670 -0
- package/dist/{admin-logs-B9KS6VJz.js → admin-logs-DCYof_u5.js} +2 -2
- package/dist/{api-CALqShkO.js → api-DWt94BcM.js} +584 -572
- package/dist/{api-Y-52Ejhz.js → api-Dxw9Ajfn.js} +1 -1
- package/dist/{createWorkspaceWsHandler-DP30xvug.js → createWorkspaceWsHandler-3aHkBZE9.js} +4 -4
- package/dist/{index-4YxdJwFm.js → index-4LNRkvy6.js} +3 -3
- package/dist/index-B5dPYPuA.js +93 -0
- package/dist/{index-C2Wkg1b5.js → index-BIdcTXZW.js} +3 -3
- package/dist/{index-m8V5TniT.js → index-BVh0W8ck.js} +15861 -15586
- package/dist/{index-Gt21FARO.js → index-BdGXRcf4.js} +3 -3
- package/dist/index-BgR7NlYr.js +118 -0
- package/dist/{index-8gCovDDT.js → index-C6jp_1-U.js} +6 -6
- package/dist/{index-DJ0FV74Y.js → index-CKtjapcc.js} +3 -3
- package/dist/{index-lftFkqfI.js → index-CTKf6h2u.js} +4 -4
- package/dist/{index-DKeYG0Fu.js → index-CrIIInfs.js} +4 -4
- package/dist/{index-63ovR-_x.js → index-DF4ZWJfp.js} +1 -1
- package/dist/index-DepaHnKP.js +2858 -0
- package/dist/{index-CO6WYRIS.js → index-Dfce6-jv.js} +3 -3
- package/dist/{index-Bpn6x1So.js → index-Dr8elYjm.js} +12 -12
- package/dist/{index-CLWgeKwr.js → index-DtVBFjaJ.js} +2 -2
- package/dist/{index-CGWttFLb.js → index-Dvhocfyo.js} +4 -4
- 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-C3B7CbHo.js → index-bsGAZKaU.js} +624 -613
- package/dist/index-gMeWspFX.js +112 -0
- package/dist/{index-DET70T3j.js → index-i6Ejgpao.js} +1 -1
- package/dist/{index-BvTYVEEv.js → index-nxjdN-Fp.js} +20 -16
- package/dist/{index-DfQCaS0z.js → index-tipx38MZ.js} +248 -244
- package/dist/{index-CN9NsUQ6.js → index-yRDgpDx1.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/{instance-f3C-1qYl.js → instance-CbkHlDr4.js} +1 -1
- package/dist/menuPermission-BvgoOn21.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-Df9PZzLO.js +0 -907
- package/dist/index-Bw9yypc4.js +0 -2841
- package/dist/index-C0EIMJI2.js +0 -112
- package/dist/index-DRrBkbr_.js +0 -100
- package/dist/schedule-DfkgwPdE.js +0 -497
|
@@ -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-gMeWspFX.js";
|
|
6
|
+
import { M as D } from "./ComponentDoc-CZGpQekc.js";
|
|
7
|
+
import "./index-tipx38MZ.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 运维",
|
|
@@ -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-BvgoOn21.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
|
+
};
|
|
@@ -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;
|
|
@@ -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-yRDgpDx1.js";
|
|
11
11
|
function j(a) {
|
|
12
12
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
13
13
|
}
|
|
@@ -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,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 || "");
|
|
@@ -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-CZGpQekc.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"),
|