@yuku123/z-team-component 0.2.80 → 0.2.83
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-_bRZ55Yi.js +542 -0
- package/dist/ComponentDoc-BFoF51we.js +3998 -0
- package/dist/InvitationManagementPage-CTPCZXHu.js +495 -0
- package/dist/OnboardingPage-DwtuTL61.js +393 -0
- package/dist/ScheduledTasks-yeTm2bOY.js +9407 -0
- package/dist/SystemShell-D9OzKxL-.js +689 -0
- package/dist/_commonjsHelpers-B52_cu2H.js +26 -0
- package/dist/api-CIhVblfa.js +2155 -0
- package/dist/api-DXLNhtCX.js +20 -0
- package/dist/browser-jb_PFvU3.js +1538 -0
- package/dist/createWorkspaceWsHandler-BWP5S5X3.js +12951 -0
- package/dist/ctc-sso-DtJHC-2M.js +117 -0
- package/dist/echarts-B1OU1xr4.js +16 -0
- package/dist/history-BlrA1eaW.js +41 -0
- package/dist/index-BCp5EtqR.js +914 -0
- package/dist/index-BHrMl3Jq.js +9585 -0
- package/dist/index-BP7WTzVH.js +137 -0
- package/dist/index-B_LJRFsK.js +339 -0
- package/dist/index-BgIheStI.js +133 -0
- package/dist/index-BohoJQPr.js +7631 -0
- package/dist/index-BydWNuk5.js +1229 -0
- package/dist/index-C815hPWS.js +430 -0
- package/dist/index-CBQMS6rx.js +178 -0
- package/dist/index-CESmMALI.js +242 -0
- package/dist/index-CUVdeb8y.js +638 -0
- package/dist/index-CijskN6t.js +316 -0
- package/dist/index-CoBZZQBy.js +112 -0
- package/dist/index-Co_0idJY.js +2936 -0
- package/dist/index-Cvx6rrxD.js +956 -0
- package/dist/index-Cwr5Slv1.js +480 -0
- package/dist/index-CxFAICql.js +42050 -0
- package/dist/index-DK70mOTz.js +143 -0
- package/dist/index-DT80Pwa_.js +5893 -0
- package/dist/index-DWsfQMp8.js +208 -0
- package/dist/index-DhDdFRHC.js +279 -0
- package/dist/index-Dm3wmB0K.js +435 -0
- package/dist/index-DzS6-D3M.js +1640 -0
- package/dist/index-PKkV63Sw.js +1143 -0
- package/dist/index-SbMjh8t4.js +574 -0
- package/dist/index-cdB5K3gx.js +814 -0
- package/dist/index-mnWs_wA3.js +93 -0
- package/dist/index-nU-V276i.js +170 -0
- package/dist/index-nW0ikV2R.js +2700 -0
- package/dist/index-uF04Ucsi.js +8 -0
- package/dist/index-x_7Rmav9.js +118 -0
- package/dist/index.js +10 -0
- package/dist/index.module-CAa-2T7m.js +72 -0
- package/dist/index.module-UI0iz8K0.js +42 -0
- package/dist/{menuPermission-D9NGpBZP.js → menuPermission-DHUqvHfu.js} +1 -1
- package/dist/pages.js +1 -1
- package/package.json +1 -1
|
@@ -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-DHUqvHfu.js";
|
|
7
|
+
import { u as b } from "./useAppStore-BBr_Fwsz.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
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-BFoF51we.js";
|
|
2
|
+
import { h as m } from "./history-BlrA1eaW.js";
|
|
3
|
+
export {
|
|
4
|
+
e as ComponentDocPage,
|
|
5
|
+
s as ProjectApp,
|
|
6
|
+
a as SubscribeApp,
|
|
7
|
+
r as ZTeamApp,
|
|
8
|
+
m as history,
|
|
9
|
+
i as isTokenExpired
|
|
10
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const c = "_hub_1scx0_1", o = "_header_1scx0_9", t = "_backBtn_1scx0_19", n = "_title_1scx0_35", e = "_bodySplit_1scx0_42", _ = "_spinWrapper_1scx0_55", a = "_columnsLayout_1scx0_70", s = "_catNav_1scx0_78", r = "_catNavTitle_1scx0_89", v = "_catItem_1scx0_97", l = "_catItemActive_1scx0_116", m = "_columnGridWrap_1scx0_122", d = "_catTag_1scx0_131", x = "_columnGrid_1scx0_122", u = "_columnCard_1scx0_149", i = "_columnCover_1scx0_163", p = "_columnCoverPlaceholder_1scx0_176", I = "_columnInfo_1scx0_182", G = "_columnDesc_1scx0_191", T = "_columnMeta_1scx0_200", C = "_latestUpdate_1scx0_204", A = "_latestTime_1scx0_214", N = "_deleteIcon_1scx0_229", b = "_columnActionsBar_1scx0_238", h = "_actionBtn_1scx0_245", g = "_actionBtnDanger_1scx0_263", y = "_ownerTag_1scx0_272", B = "_coverGrid_1scx0_279", D = "_coverCell_1scx0_284", U = "_coverItem_1scx0_287", k = "_coverNone_1scx0_301", L = "_coverUpload_1scx0_311", M = "_coverUploadIcon_1scx0_319", S = "_coverUploadingMask_1scx0_322", w = "_coverItemSelected_1scx0_330", O = "_coverName_1scx0_334", P = "_splitLayout_1scx0_346", W = "_articleNav_1scx0_354", f = "_navColumnDesc_1scx0_365", E = "_navGroup_1scx0_378", R = "_navToolbar_1scx0_382", $ = "_navAddGroup_1scx0_386", j = "_navGroupOps_1scx0_406", q = "_navGroupTitle_1scx0_415", z = "_navGroupIcon_1scx0_428", F = "_navGroupName_1scx0_433", H = "_navGroupCount_1scx0_440", J = "_navChapter_1scx0_447", K = "_navItem_1scx0_451", Q = "_navItemActive_1scx0_464", V = "_navTitle_1scx0_468", X = "_navItemRead_1scx0_472", Y = "_navIndex_1scx0_475", Z = "_readDot_1scx0_492", cc = "_navOps_1scx0_499", oc = "_navEmpty_1scx0_509", tc = "_readerPane_1scx0_513", nc = "_readerContent_1scx0_528", ec = "_tocAside_1scx0_534", _c = "_tocTitle_1scx0_545", ac = "_tocList_1scx0_554", sc = "_tocItem_1scx0_559", rc = "_tocSub_1scx0_576", vc = "_tocItemActive_1scx0_579", lc = "_readerTitle_1scx0_592", mc = "_readerMeta_1scx0_599", dc = "_markdown_1scx0_611", xc = {
|
|
2
|
+
hub: c,
|
|
3
|
+
header: o,
|
|
4
|
+
backBtn: t,
|
|
5
|
+
title: n,
|
|
6
|
+
bodySplit: e,
|
|
7
|
+
spinWrapper: _,
|
|
8
|
+
columnsLayout: a,
|
|
9
|
+
catNav: s,
|
|
10
|
+
catNavTitle: r,
|
|
11
|
+
catItem: v,
|
|
12
|
+
catItemActive: l,
|
|
13
|
+
columnGridWrap: m,
|
|
14
|
+
catTag: d,
|
|
15
|
+
columnGrid: x,
|
|
16
|
+
columnCard: u,
|
|
17
|
+
columnCover: i,
|
|
18
|
+
columnCoverPlaceholder: p,
|
|
19
|
+
columnInfo: I,
|
|
20
|
+
columnDesc: G,
|
|
21
|
+
columnMeta: T,
|
|
22
|
+
latestUpdate: C,
|
|
23
|
+
latestTime: A,
|
|
24
|
+
deleteIcon: N,
|
|
25
|
+
columnActionsBar: b,
|
|
26
|
+
actionBtn: h,
|
|
27
|
+
actionBtnDanger: g,
|
|
28
|
+
ownerTag: y,
|
|
29
|
+
coverGrid: B,
|
|
30
|
+
coverCell: D,
|
|
31
|
+
coverItem: U,
|
|
32
|
+
coverNone: k,
|
|
33
|
+
coverUpload: L,
|
|
34
|
+
coverUploadIcon: M,
|
|
35
|
+
coverUploadingMask: S,
|
|
36
|
+
coverItemSelected: w,
|
|
37
|
+
coverName: O,
|
|
38
|
+
splitLayout: P,
|
|
39
|
+
articleNav: W,
|
|
40
|
+
navColumnDesc: f,
|
|
41
|
+
navGroup: E,
|
|
42
|
+
navToolbar: R,
|
|
43
|
+
navAddGroup: $,
|
|
44
|
+
navGroupOps: j,
|
|
45
|
+
navGroupTitle: q,
|
|
46
|
+
navGroupIcon: z,
|
|
47
|
+
navGroupName: F,
|
|
48
|
+
navGroupCount: H,
|
|
49
|
+
navChapter: J,
|
|
50
|
+
navItem: K,
|
|
51
|
+
navItemActive: Q,
|
|
52
|
+
navTitle: V,
|
|
53
|
+
navItemRead: X,
|
|
54
|
+
navIndex: Y,
|
|
55
|
+
readDot: Z,
|
|
56
|
+
navOps: cc,
|
|
57
|
+
navEmpty: oc,
|
|
58
|
+
readerPane: tc,
|
|
59
|
+
readerContent: nc,
|
|
60
|
+
tocAside: ec,
|
|
61
|
+
tocTitle: _c,
|
|
62
|
+
tocList: ac,
|
|
63
|
+
tocItem: sc,
|
|
64
|
+
tocSub: rc,
|
|
65
|
+
tocItemActive: vc,
|
|
66
|
+
readerTitle: lc,
|
|
67
|
+
readerMeta: mc,
|
|
68
|
+
markdown: dc
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
xc as h
|
|
72
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const t = "_scenarioPage_1rtig_1", e = "_toolbar_1rtig_11", i = "_toolbarLeft_1rtig_22", o = "_pageTitle_1rtig_30", r = "_statInline_1rtig_39", _ = "_statChip_1rtig_47", n = "_statDivider_1rtig_53", s = "_pageActions_1rtig_60", a = "_tableCard_1rtig_68", c = "_tableWrap_1rtig_76", l = "_codeTag_1rtig_136", g = "_nameCell_1rtig_146", d = "_defaultBadge_1rtig_166", m = "_descCell_1rtig_180", p = "_mutedCell_1rtig_186", I = "_actionGroup_1rtig_190", f = "_emptyState_1rtig_203", y = "_emptyIcon_1rtig_212", b = "_emptyTitle_1rtig_225", C = "_emptyHint_1rtig_232", T = "_loadingWrap_1rtig_240", w = "_scenarioDrawerWrap_1rtig_266", u = "_section_1rtig_275", D = "_formRow_1rtig_279", R = "_formLabel_1rtig_283", S = "_formHint_1rtig_291", W = "_formRowPair_1rtig_298", v = "_sectionDivider_1rtig_307", A = "_listItemRow_1rtig_323", B = "_listItemIndex_1rtig_339", H = "_listItemBody_1rtig_354", L = "_listItemActions_1rtig_367", P = "_inlineFields_1rtig_375", x = "_dirTree_1rtig_395", h = "_dirNode_1rtig_401", F = "_dirTreeScroll_1rtig_411", G = "_readmeSection_1rtig_417", N = {
|
|
2
|
+
scenarioPage: t,
|
|
3
|
+
toolbar: e,
|
|
4
|
+
toolbarLeft: i,
|
|
5
|
+
pageTitle: o,
|
|
6
|
+
statInline: r,
|
|
7
|
+
statChip: _,
|
|
8
|
+
statDivider: n,
|
|
9
|
+
pageActions: s,
|
|
10
|
+
tableCard: a,
|
|
11
|
+
tableWrap: c,
|
|
12
|
+
codeTag: l,
|
|
13
|
+
nameCell: g,
|
|
14
|
+
defaultBadge: d,
|
|
15
|
+
descCell: m,
|
|
16
|
+
mutedCell: p,
|
|
17
|
+
actionGroup: I,
|
|
18
|
+
emptyState: f,
|
|
19
|
+
emptyIcon: y,
|
|
20
|
+
emptyTitle: b,
|
|
21
|
+
emptyHint: C,
|
|
22
|
+
loadingWrap: T,
|
|
23
|
+
scenarioDrawerWrap: w,
|
|
24
|
+
section: u,
|
|
25
|
+
formRow: D,
|
|
26
|
+
formLabel: R,
|
|
27
|
+
formHint: S,
|
|
28
|
+
formRowPair: W,
|
|
29
|
+
sectionDivider: v,
|
|
30
|
+
listItemRow: A,
|
|
31
|
+
listItemIndex: B,
|
|
32
|
+
listItemBody: H,
|
|
33
|
+
listItemActions: L,
|
|
34
|
+
inlineFields: P,
|
|
35
|
+
dirTree: x,
|
|
36
|
+
dirNode: h,
|
|
37
|
+
dirTreeScroll: F,
|
|
38
|
+
readmeSection: G
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
N as s
|
|
42
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { Alert as h } from "antd";
|
|
3
3
|
import { u as d } from "./useAppStore-BBr_Fwsz.js";
|
|
4
4
|
import { h as g } from "./schedule-CETzN_0H.js";
|
|
5
|
-
import { N as A } from "./index-
|
|
5
|
+
import { N as A } from "./index-BHrMl3Jq.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,6 +1,6 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
2
|
import { BellOutlined as t, ProjectOutlined as o, DesktopOutlined as r, ReadOutlined as a } from "@ant-design/icons";
|
|
3
|
-
import { S as m, P as p, C as i, Z as n } from "./ComponentDoc-
|
|
3
|
+
import { S as m, P as p, C as i, Z as n } from "./ComponentDoc-BFoF51we.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "antd";
|