@yuku123/z-team-component 0.2.69 → 0.2.70
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-BvhR-L9F.js → ComponentDoc-CSDEl9iB.js} +1 -1
- package/dist/{InvitationManagementPage-C--Bqp77.js → InvitationManagementPage-DbrhFX7e.js} +1 -1
- package/dist/{OnboardingPage-CXYBBWzq.js → OnboardingPage-4MasLdvm.js} +2 -2
- package/dist/{ScheduledTasks-CfOhYsuW.js → ScheduledTasks-BuOufjoH.js} +3274 -3253
- package/dist/{SystemShell-DY_9OPmK.js → SystemShell-DcxZUrpj.js} +4 -4
- package/dist/{api-BwqJva6j.js → api-BjMOoPbe.js} +1 -1
- package/dist/{index-Bcmpano-.js → index-60oB6_Xg.js} +2 -2
- package/dist/{index-3D84TzWR.js → index-B847h2X1.js} +3 -3
- package/dist/{index-Dg_RxMSl.js → index-BqvHNZGS.js} +2 -2
- package/dist/{index-BTaIR3d2.js → index-CBNl1a7_.js} +2 -2
- package/dist/{index-DhvigSkV.js → index-CBwtAPSf.js} +368 -368
- package/dist/{index-_k8hx1Xa.js → index-CbG4xgoA.js} +1 -1
- package/dist/{index-xW8_0kYe.js → index-Cr589chh.js} +33 -32
- package/dist/{index-CAQYhg0W.js → index-CrgU396B.js} +1 -1
- package/dist/{index-CJRkqMer.js → index-CyU1nc6C.js} +1 -1
- package/dist/{index-CaKuAE4Y.js → index-DMvs2G1h.js} +2 -2
- package/dist/{index-Cb5MugwR.js → index-DbHOY3ig.js} +1 -1
- package/dist/{index-B37qq8I_.js → index-kgvynVu5.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{menuPermission-TIdrM4_Y.js → menuPermission-DLB5LOaC.js} +1 -1
- package/dist/pages.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
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 { g as b, s as g } from "./ComponentDoc-
|
|
4
|
+
import { g as b, s as g } from "./ComponentDoc-CSDEl9iB.js";
|
|
5
5
|
import { i as K, P as x } from "./schedule-BRvmKoDG.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,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as d, jsx as
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r, useCallback as c } from "react";
|
|
3
|
-
import { S, T as
|
|
4
|
-
import { P as
|
|
5
|
-
import { p as j } from "./index-
|
|
3
|
+
import { S as C, T as S, P as D } from "./webide-CWTbQs4I.js";
|
|
4
|
+
import { P as N, S as I, C as W, E as H, a as $, W as h, b, T as B, c as E } from "./ScheduledTasks-BuOufjoH.js";
|
|
5
|
+
import { p as j } from "./index-CBwtAPSf.js";
|
|
6
6
|
function J({
|
|
7
7
|
view: s,
|
|
8
8
|
agents: a,
|
|
@@ -19,18 +19,18 @@ function J({
|
|
|
19
19
|
), [p, k] = r(
|
|
20
20
|
null
|
|
21
21
|
), x = c(
|
|
22
|
-
(
|
|
23
|
-
o("notes"), m({ id:
|
|
22
|
+
(e) => {
|
|
23
|
+
o("notes"), m({ id: e, ts: Date.now() });
|
|
24
24
|
},
|
|
25
25
|
[o]
|
|
26
|
-
),
|
|
27
|
-
(
|
|
28
|
-
o("todo"), k({ id:
|
|
26
|
+
), P = c(
|
|
27
|
+
(e) => {
|
|
28
|
+
o("todo"), k({ id: e, ts: Date.now() });
|
|
29
29
|
},
|
|
30
30
|
[o]
|
|
31
|
-
),
|
|
31
|
+
), y = s.kind === "chat" ? `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none";
|
|
32
32
|
return /* @__PURE__ */ d("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
|
|
33
|
-
s.kind === "chat" && /* @__PURE__ */
|
|
33
|
+
s.kind === "chat" && /* @__PURE__ */ t(
|
|
34
34
|
"div",
|
|
35
35
|
{
|
|
36
36
|
style: {
|
|
@@ -39,41 +39,42 @@ function J({
|
|
|
39
39
|
display: "flex",
|
|
40
40
|
flexDirection: "column"
|
|
41
41
|
},
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
-
|
|
42
|
+
children: /* @__PURE__ */ t(
|
|
43
|
+
N,
|
|
44
44
|
{
|
|
45
45
|
agent: s.agent,
|
|
46
46
|
initialSessionId: s.sessionId,
|
|
47
|
+
draftNoAutoPick: s.draft === !0,
|
|
47
48
|
chromeless: !0,
|
|
48
49
|
agents: a,
|
|
49
|
-
onSwitchAgent: (
|
|
50
|
+
onSwitchAgent: (e) => i(e)
|
|
50
51
|
},
|
|
51
|
-
|
|
52
|
+
y
|
|
52
53
|
)
|
|
53
54
|
}
|
|
54
55
|
),
|
|
55
|
-
s.kind === "schedule" && /* @__PURE__ */
|
|
56
|
-
s.kind === "history" && /* @__PURE__ */
|
|
56
|
+
s.kind === "schedule" && /* @__PURE__ */ t(I, { localOnline: !1 }),
|
|
57
|
+
s.kind === "history" && /* @__PURE__ */ t(
|
|
57
58
|
W,
|
|
58
59
|
{
|
|
59
60
|
agents: a,
|
|
60
61
|
token: l,
|
|
61
|
-
onOpenSession: (
|
|
62
|
+
onOpenSession: (e, A) => i(e, A)
|
|
62
63
|
}
|
|
63
64
|
),
|
|
64
|
-
s.kind === "extensions" && /* @__PURE__ */
|
|
65
|
+
s.kind === "extensions" && /* @__PURE__ */ t(
|
|
65
66
|
H,
|
|
66
67
|
{
|
|
67
68
|
agents: a,
|
|
68
69
|
loading: !1,
|
|
69
70
|
skillsAgent: j(a),
|
|
70
71
|
token: l,
|
|
71
|
-
onChat: (
|
|
72
|
+
onChat: (e) => i(e),
|
|
72
73
|
onConfig: g,
|
|
73
74
|
onCreated: u
|
|
74
75
|
}
|
|
75
76
|
),
|
|
76
|
-
s.kind === "agentDetail" && /* @__PURE__ */
|
|
77
|
+
s.kind === "agentDetail" && /* @__PURE__ */ t("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ t(
|
|
77
78
|
$,
|
|
78
79
|
{
|
|
79
80
|
agent: s.agent,
|
|
@@ -81,7 +82,7 @@ function J({
|
|
|
81
82
|
}
|
|
82
83
|
) }),
|
|
83
84
|
s.kind === "tab" && /* @__PURE__ */ d("div", { style: { flex: 1, minHeight: 0 }, children: [
|
|
84
|
-
s.tab === "projects" && /* @__PURE__ */
|
|
85
|
+
s.tab === "projects" && /* @__PURE__ */ t(
|
|
85
86
|
h,
|
|
86
87
|
{
|
|
87
88
|
activeTab: "projects",
|
|
@@ -91,7 +92,7 @@ function J({
|
|
|
91
92
|
hideTabs: !0
|
|
92
93
|
}
|
|
93
94
|
),
|
|
94
|
-
s.tab === "personal" && /* @__PURE__ */
|
|
95
|
+
s.tab === "personal" && /* @__PURE__ */ t(
|
|
95
96
|
h,
|
|
96
97
|
{
|
|
97
98
|
activeTab: "personal",
|
|
@@ -101,27 +102,27 @@ function J({
|
|
|
101
102
|
hideTabs: !0
|
|
102
103
|
}
|
|
103
104
|
),
|
|
104
|
-
s.tab === "business-stats" && /* @__PURE__ */
|
|
105
|
-
s.tab === "tools" && /* @__PURE__ */
|
|
106
|
-
s.tab === "websites" && /* @__PURE__ */
|
|
107
|
-
s.tab === "todo" && /* @__PURE__ */
|
|
108
|
-
|
|
105
|
+
s.tab === "business-stats" && /* @__PURE__ */ t(C, { source: "scenario" }),
|
|
106
|
+
s.tab === "tools" && /* @__PURE__ */ t(b, { showTools: !0, showWebsites: !1 }),
|
|
107
|
+
s.tab === "websites" && /* @__PURE__ */ t(b, { showTools: !1, showWebsites: !0 }),
|
|
108
|
+
s.tab === "todo" && /* @__PURE__ */ t(
|
|
109
|
+
S,
|
|
109
110
|
{
|
|
110
111
|
onOpenProject: n,
|
|
111
112
|
onOpenNote: x,
|
|
112
113
|
openTodoId: p
|
|
113
114
|
}
|
|
114
115
|
),
|
|
115
|
-
s.tab === "notes" && /* @__PURE__ */
|
|
116
|
+
s.tab === "notes" && /* @__PURE__ */ t(
|
|
116
117
|
D,
|
|
117
118
|
{
|
|
118
119
|
onOpenProject: n,
|
|
119
|
-
onOpenTodo:
|
|
120
|
+
onOpenTodo: P,
|
|
120
121
|
openNoteId: T
|
|
121
122
|
}
|
|
122
123
|
),
|
|
123
|
-
s.tab === "training" && /* @__PURE__ */
|
|
124
|
-
s.tab === "webide" && /* @__PURE__ */
|
|
124
|
+
s.tab === "training" && /* @__PURE__ */ t(B, {}),
|
|
125
|
+
s.tab === "webide" && /* @__PURE__ */ t(E, {})
|
|
125
126
|
] })
|
|
126
127
|
] });
|
|
127
128
|
}
|
|
@@ -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-CSDEl9iB.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"),
|
|
@@ -7,7 +7,7 @@ import { message as U, Input as H, Tooltip as se, Button as g, Spin as ce, Empty
|
|
|
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-CBNl1a7_.js";
|
|
11
11
|
function j(a) {
|
|
12
12
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
13
13
|
}
|
|
@@ -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 A } from "react";
|
|
4
4
|
import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as p, DashboardOutlined as s, ExperimentOutlined as q, SettingOutlined as d, KeyOutlined as n, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as u, HddOutlined as l, ApartmentOutlined as g, InboxOutlined as k, FileTextOutlined as y, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as f, SearchOutlined as m, DatabaseOutlined as v, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, FundOutlined as N, CloudUploadOutlined as _, TagsOutlined as x, CodeOutlined as B } from "@ant-design/icons";
|
|
5
|
-
import { W as R } from "./index-
|
|
5
|
+
import { W as R } from "./index-BqvHNZGS.js";
|
|
6
6
|
import { ConfigApp as U } from "@yuku123/z-config-component";
|
|
7
7
|
import { MistApp as H } from "@yuku123/z-mist-component";
|
|
8
8
|
import { MetaApp as L } from "@yuku123/z-meta-component";
|
|
@@ -16,7 +16,7 @@ import { MqApp as Z } from "@yuku123/z-mq-component";
|
|
|
16
16
|
import { OssApp as J } from "@yuku123/z-oss-component";
|
|
17
17
|
import { ZkbApp as X } from "@yuku123/z-kb-component";
|
|
18
18
|
import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-CBwtAPSf.js";
|
|
20
20
|
const $ = "/api/graph";
|
|
21
21
|
let O = !1;
|
|
22
22
|
function ee() {
|
|
@@ -3,7 +3,7 @@ import { useState as y, useMemo as d } from "react";
|
|
|
3
3
|
import { useNavigate as G, useLocation as k } from "react-router-dom";
|
|
4
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
5
|
import R from "@yuku123/z-lc-component";
|
|
6
|
-
import { f as U, M as x } from "./menuPermission-
|
|
6
|
+
import { f as U, M as x } from "./menuPermission-DLB5LOaC.js";
|
|
7
7
|
import { u as b } from "./useAppStore-BGOxWep2.js";
|
|
8
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
9
|
shell: D,
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { 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-
|
|
2
|
+
import { a as y } from "./ComponentDoc-CSDEl9iB.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-CSDEl9iB.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
6
|
import { Alert as I, Space as x, Button as l, Tag as c, Result as R } from "antd";
|
package/dist/index.js
CHANGED
|
@@ -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-BGOxWep2.js";
|
|
4
4
|
import { h as g } from "./schedule-BRvmKoDG.js";
|
|
5
|
-
import { N as A } from "./index-
|
|
5
|
+
import { N as A } from "./index-CBwtAPSf.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 { 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-CSDEl9iB.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "antd";
|