@yuku123/z-team-component 0.2.40 → 0.2.42
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/{ComponentDoc-D2R0AgNC.js → ComponentDoc-C-MpAQB6.js} +39 -39
- package/dist/{InvitationManagementPage-CEV7N3zE.js → InvitationManagementPage-DyHiVHXs.js} +1 -1
- package/dist/{OnboardingPage-DClNUCVP.js → OnboardingPage-LqTT4gFG.js} +2 -2
- package/dist/{SystemShell-B8mZr4ql.js → SystemShell-B0PhX-cr.js} +1 -1
- package/dist/{api-BrM7h9IZ.js → api-DYG7gCR2.js} +1 -1
- package/dist/{index-DaVCpPYX.js → index-BD4wbX3d.js} +1 -1
- package/dist/{index-CR3sbzOU.js → index-BfRlRsfj.js} +3 -3
- package/dist/{index-DbFxBDoO.js → index-CHDQ81hx.js} +2 -2
- package/dist/{index-DY6GPSIu.js → index-CMgpbpLA.js} +1218 -1203
- package/dist/index-CcpWacSZ.js +1664 -0
- package/dist/index-Cx9Yfc6I.js +1514 -0
- package/dist/{index-BAY37t4f.js → index-D4tQ0KN9.js} +1 -1
- package/dist/{index-DpUTAD45.js → index-DUxnVFCC.js} +1 -1
- package/dist/{index-BchBIdvC.js → index-D_ykYu_g.js} +1054 -1056
- package/dist/{index-DKSp5bM6.js → index-qhzl9hrX.js} +1973 -2005
- package/dist/index.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-C-4ksDPw.js → schedule-Dstx5SE_.js} +34 -34
- package/dist/{webide-RsFP9pHM.js → webide-qCE8lM1s.js} +1897 -1898
- package/package.json +1 -1
- package/dist/index-D0emG0lK.js +0 -844
- package/dist/index-a4cM-7bG.js +0 -1433
package/dist/index.js
CHANGED
package/dist/pages.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
2
|
import { ReadOutlined as t } from "@ant-design/icons";
|
|
3
|
-
import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-
|
|
3
|
+
import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-C-MpAQB6.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "antd";
|
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
import { jsxs as E, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { Component as N } from "react";
|
|
3
3
|
import { a as c, B as i, u as l, f as u, g as A, v as f } from "./api-C78tCfne.js";
|
|
4
|
-
|
|
5
|
-
RUNTIME_MONITOR_VIEW: ["RUNTIME_MONITOR_MANAGE"],
|
|
6
|
-
EVALUATION_VIEW: ["EVALUATION_MANAGE"],
|
|
7
|
-
COLLABORATION_VIEW: [
|
|
8
|
-
"AGENT_MANAGE",
|
|
9
|
-
"SKILL_MANAGE",
|
|
10
|
-
"SCENARIO_MANAGE",
|
|
11
|
-
"PROFILE_MANAGE",
|
|
12
|
-
"TAG_MANAGE",
|
|
13
|
-
"TOOL_MANAGE"
|
|
14
|
-
],
|
|
15
|
-
EVOLUTION_VIEW: ["EVOLUTION_MANAGE"],
|
|
16
|
-
OPS_CONFIG_VIEW: [
|
|
17
|
-
"OPS_CONFIG_MANAGE",
|
|
18
|
-
"ONCALL_MANAGE",
|
|
19
|
-
"ANNOUNCEMENT_MANAGE",
|
|
20
|
-
"OPS_REPORT_MANAGE"
|
|
21
|
-
],
|
|
22
|
-
KNOWLEDGE_VIEW: ["KNOWLEDGE_MANAGE"],
|
|
23
|
-
WEBIDE_VIEW: ["WEBIDE_MANAGE"]
|
|
24
|
-
};
|
|
25
|
-
function I(n, e) {
|
|
26
|
-
var r;
|
|
27
|
-
if (!n) return !1;
|
|
28
|
-
if (n.is_global_admin || (r = n.permissions) != null && r.includes(e)) return !0;
|
|
29
|
-
const t = S[e];
|
|
30
|
-
return !!(t != null && t.some((a) => {
|
|
31
|
-
var s;
|
|
32
|
-
return (s = n.permissions) == null ? void 0 : s.includes(a);
|
|
33
|
-
}));
|
|
34
|
-
}
|
|
35
|
-
class O extends N {
|
|
4
|
+
class I extends N {
|
|
36
5
|
constructor(e) {
|
|
37
6
|
super(e), this.state = { hasError: !1, error: null };
|
|
38
7
|
}
|
|
@@ -93,6 +62,37 @@ class O extends N {
|
|
|
93
62
|
) : this.props.children;
|
|
94
63
|
}
|
|
95
64
|
}
|
|
65
|
+
const S = {
|
|
66
|
+
RUNTIME_MONITOR_VIEW: ["RUNTIME_MONITOR_MANAGE"],
|
|
67
|
+
EVALUATION_VIEW: ["EVALUATION_MANAGE"],
|
|
68
|
+
COLLABORATION_VIEW: [
|
|
69
|
+
"AGENT_MANAGE",
|
|
70
|
+
"SKILL_MANAGE",
|
|
71
|
+
"SCENARIO_MANAGE",
|
|
72
|
+
"PROFILE_MANAGE",
|
|
73
|
+
"TAG_MANAGE",
|
|
74
|
+
"TOOL_MANAGE"
|
|
75
|
+
],
|
|
76
|
+
EVOLUTION_VIEW: ["EVOLUTION_MANAGE"],
|
|
77
|
+
OPS_CONFIG_VIEW: [
|
|
78
|
+
"OPS_CONFIG_MANAGE",
|
|
79
|
+
"ONCALL_MANAGE",
|
|
80
|
+
"ANNOUNCEMENT_MANAGE",
|
|
81
|
+
"OPS_REPORT_MANAGE"
|
|
82
|
+
],
|
|
83
|
+
KNOWLEDGE_VIEW: ["KNOWLEDGE_MANAGE"],
|
|
84
|
+
WEBIDE_VIEW: ["WEBIDE_MANAGE"]
|
|
85
|
+
};
|
|
86
|
+
function O(n, e) {
|
|
87
|
+
var r;
|
|
88
|
+
if (!n) return !1;
|
|
89
|
+
if (n.is_global_admin || (r = n.permissions) != null && r.includes(e)) return !0;
|
|
90
|
+
const t = S[e];
|
|
91
|
+
return !!(t != null && t.some((a) => {
|
|
92
|
+
var s;
|
|
93
|
+
return (s = n.permissions) == null ? void 0 : s.includes(a);
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
96
|
function p(n) {
|
|
97
97
|
const e = n && typeof n == "object" ? n : {}, t = Array.isArray(e.items) ? A(e.items) : [];
|
|
98
98
|
return { ...e, items: t };
|
|
@@ -223,14 +223,14 @@ async function P(n = "") {
|
|
|
223
223
|
return l(t, "标记已读失败");
|
|
224
224
|
}
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
I as E,
|
|
227
227
|
P as a,
|
|
228
228
|
_ as b,
|
|
229
229
|
G as c,
|
|
230
230
|
T as d,
|
|
231
231
|
R as e,
|
|
232
232
|
b as f,
|
|
233
|
-
|
|
233
|
+
O as h,
|
|
234
234
|
U as m,
|
|
235
235
|
M as r,
|
|
236
236
|
L as s,
|