@yuku123/z-team-component 0.2.142 → 0.2.144
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/{AdminModuleContent-DIntalEE.js → AdminModuleContent-CI41-loR.js} +6 -6
- package/dist/{ChangeLogView-BG0idpcI.js → ChangeLogView-CX_OBYdc.js} +1 -1
- package/dist/{ComponentDoc-DmA8kQED.js → ComponentDoc-BHX2fG49.js} +3 -3
- package/dist/{InvitationManagementPage-BmvQrlzu.js → InvitationManagementPage-BGAOTVOU.js} +1 -1
- package/dist/{OnboardingPage-BNqu7ED-.js → OnboardingPage-m7WDhG28.js} +2 -2
- package/dist/{ScheduledTasks-BpLYITou.js → ScheduledTasks-DqvvqROs.js} +6 -6
- package/dist/SettingsModal-COXFhGnd.js +1103 -0
- package/dist/{SystemShell-CHJGJAor.js → SystemShell-Bds4cq9N.js} +336 -287
- package/dist/{admin-logs-CGbHioxz.js → admin-logs-BwDg5q4t.js} +1 -1
- package/dist/{api-DTQ6gite.js → api-CskpHyom.js} +1 -1
- package/dist/{api-CVAq8S_3.js → api-G8KaVVN3.js} +1 -1
- package/dist/{createWorkspaceWsHandler-eEZssgTR.js → createWorkspaceWsHandler-ctpaXi2d.js} +1941 -1942
- package/dist/{index-CwohTaZ3.js → index-B17uPWGl.js} +4 -4
- package/dist/{index-BruNw5wQ.js → index-B7JFmBYe.js} +1 -1
- package/dist/{index-BXas8GPY.js → index-BMUQTAmb.js} +2 -2
- package/dist/{index-DUEGauT8.js → index-BOly7cia.js} +1 -1
- package/dist/index-BYnrTKwB.js +8411 -0
- package/dist/{index-WYKbD2Kc.js → index-BZc2uUlh.js} +1 -1
- package/dist/{index-C6TJo_6f.js → index-BgG4dDXJ.js} +3 -3
- package/dist/{index-DoQpFpjM.js → index-CI6Emdzl.js} +285 -293
- package/dist/{index-1hUJPdXC.js → index-CJKCpzvH.js} +2 -2
- package/dist/{index-ZTJ7n_J_.js → index-CRhxaCtd.js} +21 -21
- package/dist/{index-ByWmrjar.js → index-CUPU72rT.js} +2 -2
- package/dist/{index-DCbdksxa.js → index-DGaDQP0Y.js} +3 -3
- package/dist/{index-iFIFnLjk.js → index-DQe837UG.js} +3 -3
- package/dist/{index-DnA9mLM4.js → index-DWxhaeje.js} +2 -2
- package/dist/{index-CnHG8LvQ.js → index-DZFSy0Rv.js} +2 -2
- package/dist/{index-DNofgrle.js → index-DmfZyJzc.js} +2 -2
- package/dist/{index-CkFZb89W.js → index-DmrI2KwP.js} +3 -3
- package/dist/{index-D2qy0vH-.js → index-DoXcaHVL.js} +2 -2
- package/dist/index-Dpcve4hK.js +20 -0
- package/dist/{index-BiKw2Cl_.js → index-DyTKK4_R.js} +1 -1
- package/dist/{index-G4_ZNL1t.js → index-Svv8bFhP.js} +2 -2
- package/dist/{index-ClaU3cVV.js → index-UM4UGCCT.js} +2 -2
- package/dist/{index-B02tvvRk.js → index-aGZZ0IIh.js} +1 -1
- package/dist/{index-BLDm7Ltq.js → index-i8ZgRX12.js} +4 -4
- package/dist/{index-D6jssKSM.js → index-iRJ67LFe.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{instance-Ce0ksjOY.js → instance-DxMam1i4.js} +1 -1
- package/dist/{menuPermission-CXN-JDku.js → menuPermission-B3X5wSsa.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-Caz3lGg6.js → send-default-agent-team-message-Ba49_sZR.js} +1 -1
- package/dist/{training-ry7fCVV4.js → training-BRcZMYpA.js} +1 -1
- package/dist/{webide-DyvaibPK.js → webide-DWzy29mH.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +2 -2
- package/dist/index-CSuF7xTK.js +0 -9496
|
@@ -1,8 +1,8 @@
|
|
|
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 { H as b, I as g } from "./ComponentDoc-
|
|
5
|
-
import { i as K, P as x } from "./index-
|
|
4
|
+
import { H as b, I as g } from "./ComponentDoc-BHX2fG49.js";
|
|
5
|
+
import { i as K, P as x } from "./index-BZc2uUlh.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,
|
|
8
8
|
dot: S,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { r as D, f as le } from "./ctc-sso-Hj8fdMY0.js";
|
|
3
|
-
import { u as r, $ as de, a0 as ue, a1 as pe, a2 as he, m as q, a3 as me, a4 as fe, r as ge, k as K, l as X } from "./ComponentDoc-
|
|
3
|
+
import { u as r, $ as de, a0 as ue, a1 as pe, a2 as he, m as q, a3 as me, a4 as fe, r as ge, k as K, l as X } from "./ComponentDoc-BHX2fG49.js";
|
|
4
4
|
import { ArrowLeftOutlined as ke, LogoutOutlined as be, SearchOutlined as Se } from "@ant-design/icons";
|
|
5
5
|
import { Spin as O, Button as J, Input as we, Empty as Y, Tag as ye, message as ve } from "antd";
|
|
6
6
|
import Q from "query-string";
|
|
7
7
|
import { useState as y, useRef as E, useEffect as S, useMemo as ee, useCallback as B } from "react";
|
|
8
|
-
import { useLocation as
|
|
8
|
+
import { useLocation as je } from "react-router-dom";
|
|
9
9
|
import { h as A } from "./history-BlrA1eaW.js";
|
|
10
|
-
import {
|
|
11
|
-
import { l as Ce, j as Pe } from "./instance-
|
|
10
|
+
import { j as Te, C as Ne } from "./createWorkspaceWsHandler-ctpaXi2d.js";
|
|
11
|
+
import { l as Ce, j as Pe } from "./instance-DxMam1i4.js";
|
|
12
12
|
import { i as xe, s as _e } from "./mobile-client-O3yr9h6t.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { s as Ee } from "./admin-logs-
|
|
14
|
+
import { s as Ee } from "./admin-logs-BwDg5q4t.js";
|
|
15
15
|
const ae = 2e4;
|
|
16
16
|
function Ae(s, i = ae, o = globalThis) {
|
|
17
17
|
let c = null;
|
|
@@ -92,7 +92,7 @@ function Oe(s, i) {
|
|
|
92
92
|
});
|
|
93
93
|
ue(s, i, o), r.getState().loadRunningExecutions().catch(() => {
|
|
94
94
|
});
|
|
95
|
-
const n = r.getState(), { handler: N, dispose: m } =
|
|
95
|
+
const n = r.getState(), { handler: N, dispose: m } = Te({
|
|
96
96
|
projectId: s,
|
|
97
97
|
token: i,
|
|
98
98
|
updateExecution: n.updateExecution,
|
|
@@ -123,7 +123,7 @@ function te() {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
function Xe() {
|
|
126
|
-
const s =
|
|
126
|
+
const s = je(), [i, o] = y("list"), [c, n] = y("chat"), [N, m] = y("team"), [k, p] = y(""), [f, $] = y(
|
|
127
127
|
() => !!r.getState().currentUser
|
|
128
128
|
), [re, I] = y(!1), {
|
|
129
129
|
currentProject: v,
|
|
@@ -134,7 +134,7 @@ function Xe() {
|
|
|
134
134
|
token: oe,
|
|
135
135
|
loadProjects: V,
|
|
136
136
|
expandProject: z,
|
|
137
|
-
updateCurrentUser:
|
|
137
|
+
updateCurrentUser: j,
|
|
138
138
|
requestChatScrollBottom: w
|
|
139
139
|
} = r(), b = ee(() => {
|
|
140
140
|
const e = Q.parse(s.search), a = String(e.projectId ?? e.project_id ?? "").trim();
|
|
@@ -161,25 +161,25 @@ function Xe() {
|
|
|
161
161
|
const M = 3;
|
|
162
162
|
if (r.getState().currentUser) {
|
|
163
163
|
r.getState().token && q().then((l) => {
|
|
164
|
-
e ||
|
|
164
|
+
e || j(l);
|
|
165
165
|
}).catch(() => {
|
|
166
166
|
});
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const T = (g) => {
|
|
170
170
|
const l = r.getState().token;
|
|
171
171
|
if (H.current != null) {
|
|
172
|
-
e || (
|
|
173
|
-
e ||
|
|
172
|
+
e || (j(X(g)), $(!0)), q().then((G) => {
|
|
173
|
+
e || j(G);
|
|
174
174
|
}).catch(() => {
|
|
175
175
|
!e && l && (localStorage.removeItem("z_team_token"), r.setState({ token: "" }));
|
|
176
176
|
});
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
q().then((G) => {
|
|
180
|
-
e ||
|
|
180
|
+
e || j(G);
|
|
181
181
|
}).catch(() => {
|
|
182
|
-
e || (l && (localStorage.removeItem("z_team_token"), r.setState({ token: "" })),
|
|
182
|
+
e || (l && (localStorage.removeItem("z_team_token"), r.setState({ token: "" })), j(X(g)));
|
|
183
183
|
}).finally(() => {
|
|
184
184
|
e || $(!0);
|
|
185
185
|
});
|
|
@@ -202,7 +202,7 @@ function Xe() {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
if (l && K(l)) {
|
|
205
|
-
|
|
205
|
+
T(l);
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
208
208
|
if (F >= M) {
|
|
@@ -221,7 +221,7 @@ function Xe() {
|
|
|
221
221
|
})(), () => {
|
|
222
222
|
e = !0;
|
|
223
223
|
};
|
|
224
|
-
}, [
|
|
224
|
+
}, [j]), S(() => {
|
|
225
225
|
R && V();
|
|
226
226
|
}, [R, V]), S(() => {
|
|
227
227
|
var h;
|
|
@@ -260,8 +260,8 @@ function Xe() {
|
|
|
260
260
|
let h = !1;
|
|
261
261
|
C.current = !0, I(!0);
|
|
262
262
|
const x = async () => {
|
|
263
|
-
const
|
|
264
|
-
for (; Date.now() <
|
|
263
|
+
const T = Date.now() + 4e3;
|
|
264
|
+
for (; Date.now() < T; ) {
|
|
265
265
|
if (h)
|
|
266
266
|
return;
|
|
267
267
|
const _ = r.getState();
|
|
@@ -275,19 +275,19 @@ function Xe() {
|
|
|
275
275
|
if (await x(), h)
|
|
276
276
|
return;
|
|
277
277
|
let {
|
|
278
|
-
token:
|
|
278
|
+
token: T,
|
|
279
279
|
projects: _,
|
|
280
280
|
expandProject: g
|
|
281
281
|
} = r.getState(), l = _.find((d) => d.id === e);
|
|
282
282
|
if (!l) {
|
|
283
|
-
const d = await Ce(e,
|
|
283
|
+
const d = await Ce(e, T);
|
|
284
284
|
if (h)
|
|
285
285
|
return;
|
|
286
286
|
if (d.status === "NOT_FOUND" || !d.scenarioInstance) {
|
|
287
287
|
ve.info("无此工程");
|
|
288
288
|
return;
|
|
289
289
|
}
|
|
290
|
-
if (l = await Pe(e,
|
|
290
|
+
if (l = await Pe(e, T), h)
|
|
291
291
|
return;
|
|
292
292
|
}
|
|
293
293
|
if (h || !l)
|
|
@@ -1,12 +1,12 @@
|
|
|
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 U, f as $, B, b as D, u as F } from "./ComponentDoc-
|
|
3
|
+
import { a as U, f as $, B, b as D, u as F } from "./ComponentDoc-BHX2fG49.js";
|
|
4
4
|
import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as be, ArrowLeftOutlined as fe, UserOutlined as Ue, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
|
|
5
5
|
import { message as b, 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";
|
|
6
6
|
import ve from "react-markdown";
|
|
7
7
|
import _e from "rehype-highlight";
|
|
8
8
|
import ge from "remark-gfm";
|
|
9
|
-
import { M as na } from "./index-
|
|
9
|
+
import { M as na } from "./index-BgG4dDXJ.js";
|
|
10
10
|
function j(a) {
|
|
11
11
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
12
12
|
}
|
|
@@ -3,15 +3,15 @@ import { SearchOutlined as Ie, ReloadOutlined as Te, PlusOutlined as xe, ArrowUp
|
|
|
3
3
|
import { Input as K, Select as ae, Button as M, Modal as ve, Space as Ke, Tooltip as oe, message as P, Tag as H, Popconfirm as Ne, Spin as Ze, Empty as We, AutoComplete as rt, Segmented as $t, TreeSelect as Xe, Descriptions as ne, InputNumber as Me, Drawer as cl, Tabs as Pt, Switch as Ot, Radio as pt, Tree as ul, Table as $e } from "antd";
|
|
4
4
|
import { ListTable as Se, DEFAULT_PAGINATION as hl, SidebarShell as ml, MenuTree as pl } from "@yuku123/z-frontend-common/ui";
|
|
5
5
|
import { useState as o, useCallback as de, useEffect as ce, useMemo as ue, useRef as Bt } from "react";
|
|
6
|
-
import { f as Mt, a as zt, b as st, c as dt, s as gt, d as gl, e as yl, g as et, h as vl, i as fl, j as wl, k as Ft, l as yt, m as Cl, n as bl, o as Il, r as Gt, p as Ut, q as xl, t as vt, u as Tl, v as ct, w as ut, x as Nl, y as kl, z as Sl, A as _l, B as ft, C as Al, D as El, E as Dl, F as Rl, G as Ll, H as wt, I as $l, J as Pl, K as Ol, L as Bl, M as Ml, N as zl, O as Fl, P as Ct, Q as Gl, R as Ul, S as jl, T as Wl, U as Hl } from "./training-
|
|
7
|
-
import { u as Ce, a7 as Kl } from "./ComponentDoc-
|
|
6
|
+
import { f as Mt, a as zt, b as st, c as dt, s as gt, d as gl, e as yl, g as et, h as vl, i as fl, j as wl, k as Ft, l as yt, m as Cl, n as bl, o as Il, r as Gt, p as Ut, q as xl, t as vt, u as Tl, v as ct, w as ut, x as Nl, y as kl, z as Sl, A as _l, B as ft, C as Al, D as El, E as Dl, F as Rl, G as Ll, H as wt, I as $l, J as Pl, K as Ol, L as Bl, M as Ml, N as zl, O as Fl, P as Ct, Q as Gl, R as Ul, S as jl, T as Wl, U as Hl } from "./training-BRcZMYpA.js";
|
|
7
|
+
import { u as Ce, a7 as Kl } from "./ComponentDoc-BHX2fG49.js";
|
|
8
8
|
import { s as r } from "./index.module-UI0iz8K0.js";
|
|
9
9
|
import ql from "dayjs";
|
|
10
10
|
import bt from "react-markdown";
|
|
11
11
|
import It from "remark-gfm";
|
|
12
12
|
import { h as be } from "./index.module-CAa-2T7m.js";
|
|
13
13
|
import { MarkdownLiveEditor as Vl } from "@yuku123/z-frontend-markdown";
|
|
14
|
-
import { h as Ql } from "./index-
|
|
14
|
+
import { h as Ql } from "./index-BZc2uUlh.js";
|
|
15
15
|
function Jl() {
|
|
16
16
|
const l = Ce((i) => i.token), [n, E] = o([]), [A, L] = o(!1), [I, B] = o(""), [D, z] = o(null), [c, _] = o(!1), [C, T] = o(!1), [x, G] = o(null), [u, v] = o([]), [S, y] = o([]), [j, J] = o([]), [Z, O] = o([]), [w, F] = o([]), h = de(async () => {
|
|
17
17
|
L(!0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useCallback as u } from "react";
|
|
3
|
-
import { S as I, P } from "./webide-
|
|
4
|
-
import { L as D, P as N, S as H, C as W, E as $, a as j, W as b, b as g, T as B, c as O } from "./ScheduledTasks-
|
|
5
|
-
import { w as q, p as z } from "./index-
|
|
3
|
+
import { S as I, P } from "./webide-DWzy29mH.js";
|
|
4
|
+
import { L as D, P as N, S as H, C as W, E as $, a as j, W as b, b as g, T as B, c as O } from "./ScheduledTasks-DqvvqROs.js";
|
|
5
|
+
import { w as q, p as z } from "./index-BYnrTKwB.js";
|
|
6
6
|
import { TodoTab as E } from "@yuku123/z-task-component";
|
|
7
7
|
function J({
|
|
8
8
|
view: s,
|
|
@@ -3,8 +3,8 @@ import { useMemo as m, useCallback as B, useEffect as N } from "react";
|
|
|
3
3
|
import { useNavigate as O, useLocation as S } from "react-router-dom";
|
|
4
4
|
import { AppstoreOutlined as $, HomeOutlined as x, DashboardOutlined as g, TableOutlined as w, DatabaseOutlined as A, RobotOutlined as L, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as R, BranchesOutlined as I, DeploymentUnitOutlined as P, SafetyCertificateOutlined as U, RocketOutlined as q } from "@ant-design/icons";
|
|
5
5
|
import G from "@yuku123/z-lc-component";
|
|
6
|
-
import { f as T, M as E } from "./menuPermission-
|
|
7
|
-
import { u as _ } from "./ComponentDoc-
|
|
6
|
+
import { f as T, M as E } from "./menuPermission-B3X5wSsa.js";
|
|
7
|
+
import { u as _ } from "./ComponentDoc-BHX2fG49.js";
|
|
8
8
|
import { SidebarShell as D, MenuTree as C } from "@yuku123/z-frontend-common/ui";
|
|
9
9
|
const K = "_shellWrap_kxkvd_7", j = "_shell_kxkvd_7", F = "_productBanner_kxkvd_25", H = "_productBannerLabel_kxkvd_37", z = "_productBannerName_kxkvd_43", J = "_productBannerCode_kxkvd_51", Q = "_productBannerBack_kxkvd_56", V = "_main_kxkvd_351", p = {
|
|
10
10
|
shellWrap: K,
|
|
@@ -1,6 +1,6 @@
|
|
|
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-Hj8fdMY0.js";
|
|
3
|
-
import { u as c, E as ne, j as oe, r as le, k as X, l as ce, m as me } from "./ComponentDoc-
|
|
3
|
+
import { u as c, E as ne, j as oe, r as le, k as X, l as ce, m as me } from "./ComponentDoc-BHX2fG49.js";
|
|
4
4
|
import { CheckCircleFilled as de, QuestionCircleOutlined as ue, CloseOutlined as fe } from "@ant-design/icons";
|
|
5
5
|
import { message as P, Result as pe, Button as D, Spin as G, Input as ge, Image as he } from "antd";
|
|
6
6
|
import be from "query-string";
|
|
@@ -9,7 +9,7 @@ import { useLocation as _e } from "react-router-dom";
|
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
12
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
12
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-Ba49_sZR.js";
|
|
13
13
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
14
14
|
function ke(a) {
|
|
15
15
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as c, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-
|
|
2
|
+
import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-BHX2fG49.js";
|
|
3
3
|
import { CheckCircleFilled as b } from "@ant-design/icons";
|
|
4
4
|
import { Result as D, Button as R, Spin as U } from "antd";
|
|
5
5
|
import B from "query-string";
|
|
6
6
|
import { useMemo as y, useState as f, useRef as q, useCallback as A, useEffect as J } from "react";
|
|
7
7
|
import { useLocation as W } from "react-router-dom";
|
|
8
8
|
import { h as w } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-
|
|
9
|
+
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-DxMam1i4.js";
|
|
10
10
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
11
11
|
function nt() {
|
|
12
12
|
const m = W(), p = B.parse(m.search), o = String(
|
|
@@ -2,11 +2,11 @@ import { jsxs as r, jsx as a, Fragment as yt } from "react/jsx-runtime";
|
|
|
2
2
|
import { ReloadOutlined as vt, SearchOutlined as gt, RightOutlined as Nt, TeamOutlined as ft, MessageOutlined as wt, AppstoreOutlined as Me, DeploymentUnitOutlined as bt, ThunderboltOutlined as Tt } from "@ant-design/icons";
|
|
3
3
|
import { Button as Q, Select as Pe, Spin as he, Empty as f, Tag as k, Input as j, Modal as Ct } from "antd";
|
|
4
4
|
import { useState as p, useCallback as y, useEffect as me, useMemo as Y, useRef as St } from "react";
|
|
5
|
-
import { u as B } from "./ComponentDoc-
|
|
5
|
+
import { u as B } from "./ComponentDoc-BHX2fG49.js";
|
|
6
6
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
7
7
|
import { menuItems as Rt } from "@yuku123/z-product-component";
|
|
8
|
-
import { C as Pt } from "./createWorkspaceWsHandler-
|
|
9
|
-
import { l as At, c as kt } from "./api-
|
|
8
|
+
import { C as Pt } from "./createWorkspaceWsHandler-ctpaXi2d.js";
|
|
9
|
+
import { l as At, c as kt } from "./api-CskpHyom.js";
|
|
10
10
|
import { SidebarShell as It, MenuTree as Et } from "@yuku123/z-frontend-common/ui";
|
|
11
11
|
const Lt = "product-workspace", xe = "productCode";
|
|
12
12
|
function w(n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as H, LoginPage as j, StatusTag as z, defaultStatusMap as V } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { d as y } from "./ComponentDoc-
|
|
3
|
-
import { J as F, K as J, L as Q, M as X, N as Z, O as $, Q as ee, R as te, U as re, V as ae, W as oe, X as ne, Y as le, Y as ie, _ as se } from "./ComponentDoc-
|
|
2
|
+
import { d as y } from "./ComponentDoc-BHX2fG49.js";
|
|
3
|
+
import { J as F, K as J, L as Q, M as X, N as Z, O as $, Q as ee, R as te, U as re, V as ae, W as oe, X as ne, Y as le, Y as ie, _ as se } from "./ComponentDoc-BHX2fG49.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 R } from "react";
|
|
6
6
|
import { Alert as I, Space as x, Button as l, Tag as c, Result as T } from "antd";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useParams as r } from "react-router-dom";
|
|
3
|
+
const a = "_shell_1tuyi_4", c = "_frame_1tuyi_13", t = {
|
|
4
|
+
shell: a,
|
|
5
|
+
frame: c
|
|
6
|
+
}, m = ["sources", "sinks", "templates", "schedules", "jobs"];
|
|
7
|
+
function i() {
|
|
8
|
+
const { view: e } = r(), l = m.includes(e ?? "") ? e : "templates";
|
|
9
|
+
return /* @__PURE__ */ s("div", { className: t.shell, children: /* @__PURE__ */ s(
|
|
10
|
+
"iframe",
|
|
11
|
+
{
|
|
12
|
+
src: `/etl/index.html#${l}`,
|
|
13
|
+
title: "z-etl 数据整顿",
|
|
14
|
+
className: t.frame
|
|
15
|
+
}
|
|
16
|
+
) });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
i as default
|
|
20
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as N, useRef as _, 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-CX_OBYdc.js";
|
|
5
5
|
const T = "_docs_3auja_12", p = "_bgLayer_3auja_59", v = "_bgGrid_3auja_70", y = "_navbar_3auja_87", f = "_navLeft_3auja_103", z = "_navBack_3auja_110", j = "_navBrand_3auja_132", C = "_navLogo_3auja_139", k = "_navTitle_3auja_154", L = "_navLink_3auja_164", I = "_layout_3auja_191", B = "_sidebar_3auja_202", S = "_sidebarInner_3auja_213", O = "_sidebarTitle_3auja_217", q = "_tocItem_3auja_227", P = "_tocActive_3auja_249", E = "_tocNum_3auja_260", D = "_content_3auja_275", G = "_section_3auja_285", K = "_secTitle_3auja_290", w = "_subTitle_3auja_301", M = "_lead_3auja_309", x = "_list_3auja_329", R = "_olist_3auja_360", Z = "_archLayer_3auja_397", F = "_archHead_3auja_412", W = "_archNum_3auja_420", H = "_archHeadText_3auja_432", Q = "_archLabel_3auja_439", U = "_archEn_3auja_446", V = "_archTagline_3auja_453", $ = "_callout_3auja_487", J = "_calloutBlue_3auja_488", Y = "_calloutGreen_3auja_489", X = "_calloutRed_3auja_490", ee = "_inlineCode_3auja_531", le = "_codeBlock_3auja_544", ne = "_tableWrap_3auja_560", ce = "_table_3auja_560", ae = "_tableKey_3auja_602", ie = "_tableIcon_3auja_607", te = "_statusDot_3auja_613", se = "_tone_pending_3auja_622", de = "_tone_running_3auja_626", re = "_tone_suspended_3auja_631", he = "_tone_done_3auja_636", oe = "_tone_failed_3auja_641", me = "_tone_cancelled_3auja_646", ge = "_markGood_3auja_652", ue = "_markBad_3auja_653", be = "_faqList_3auja_667", Ne = "_faqItem_3auja_673", _e = "_faqQ_3auja_687", Ae = "_faqA_3auja_694", Te = "_changelogEmbed_3auja_701", pe = "_changelogTip_3auja_709", ve = "_changelogLink_3auja_715", ye = "_docFooter_3auja_727", fe = "_backBtn_3auja_738", ze = "_docFooterText_3auja_761", l = {
|
|
6
6
|
docs: T,
|
|
7
7
|
bgLayer: p,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as t, jsx as n, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useRef as D, useCallback as B, useEffect as N } from "react";
|
|
3
|
-
import { u as j } from "./ComponentDoc-
|
|
3
|
+
import { u as j } from "./ComponentDoc-BHX2fG49.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { l as F, c as G, a as z, b as K, p as W } from "./api-
|
|
5
|
+
import { l as F, c as G, a as z, b as K, p as W } from "./api-CskpHyom.js";
|
|
6
6
|
const L = "dev_brain_scenario";
|
|
7
7
|
function q() {
|
|
8
8
|
var M;
|
|
@@ -1,6 +1,6 @@
|
|
|
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-Hj8fdMY0.js";
|
|
3
|
-
import { u as s, j as D, r as F, k as U, l as W, m as B } from "./ComponentDoc-
|
|
3
|
+
import { u as s, j as D, r as F, k as U, l as W, m as B } from "./ComponentDoc-BHX2fG49.js";
|
|
4
4
|
import { CheckCircleFilled as H } from "@ant-design/icons";
|
|
5
5
|
import { Result as G, Button as J, Spin as K } from "antd";
|
|
6
6
|
import O from "query-string";
|
|
@@ -8,7 +8,7 @@ import { useState as d, useRef as Q, useCallback as V, useMemo as R, useEffect a
|
|
|
8
8
|
import { useLocation as X } from "react-router-dom";
|
|
9
9
|
import { h as b } from "./history-BlrA1eaW.js";
|
|
10
10
|
import { b as Y } from "./mobile-client-O3yr9h6t.js";
|
|
11
|
-
import { s as Z } from "./send-default-agent-team-message-
|
|
11
|
+
import { s as Z } from "./send-default-agent-team-message-Ba49_sZR.js";
|
|
12
12
|
function pe() {
|
|
13
13
|
const h = X(), f = O.parse(h.search), c = String(
|
|
14
14
|
f.scenarioCode ?? f.scenario_code ?? ""
|
|
@@ -3,7 +3,7 @@ import { ReloadOutlined as oe, SearchOutlined as re, ThunderboltOutlined as ie }
|
|
|
3
3
|
import { message as R, Spin as ce, Space as de, Button as A, Tabs as ue, Tag as g, Input as M, Select as he, Popconfirm as me, Modal as pe } from "antd";
|
|
4
4
|
import { ListTable as I } from "@yuku123/z-frontend-common/ui";
|
|
5
5
|
import { useState as c, useCallback as P, useEffect as U, useMemo as ye } from "react";
|
|
6
|
-
import { a as J } from "./ComponentDoc-
|
|
6
|
+
import { a as J } from "./ComponentDoc-BHX2fG49.js";
|
|
7
7
|
function fe() {
|
|
8
8
|
return typeof window > "u" ? !1 : window.ZTEAM_USE_KAPI === !0;
|
|
9
9
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as U, r as q, k as Q, l as V, m as X } from "./ComponentDoc-
|
|
2
|
+
import { u as U, r as q, k as Q, l as V, m as X } from "./ComponentDoc-BHX2fG49.js";
|
|
3
3
|
import { TeamOutlined as Y, UserOutlined as ee, MenuFoldOutlined as ne, DownOutlined as $, RightOutlined as x, LogoutOutlined as te } from "@ant-design/icons";
|
|
4
4
|
import { Dropdown as ae, Avatar as se } from "antd";
|
|
5
5
|
import { useState as C, useMemo as re, useCallback as G, useEffect as oe } from "react";
|
|
6
6
|
import { h as E } from "./history-BlrA1eaW.js";
|
|
7
|
-
import { E as ce, h as ue } from "./index-
|
|
7
|
+
import { E as ce, h as ue } from "./index-BZc2uUlh.js";
|
|
8
8
|
import { M, u as ie, S as me } from "./menuTree-BjchjhUw.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { s as le } from "./admin-logs-
|
|
11
|
-
import de from "./AdminModuleContent-
|
|
10
|
+
import { s as le } from "./admin-logs-BwDg5q4t.js";
|
|
11
|
+
import de from "./AdminModuleContent-CI41-loR.js";
|
|
12
12
|
const he = "_adminLayout_e0cuy_3", _e = "_topBanner_e0cuy_40", pe = "_bannerLeft_e0cuy_52", be = "_bannerLogo_e0cuy_58", ye = "_bannerBrand_e0cuy_65", ge = "_bannerProduct_e0cuy_71", we = "_bannerSubtitle_e0cuy_78", Ie = "_bannerRight_e0cuy_84", fe = "_modeBtn_e0cuy_115", Se = "_headerUser_e0cuy_135", ve = "_headerUsername_e0cuy_149", Be = "_adminBody_e0cuy_160", ke = "_sidebar_e0cuy_168", Pe = "_menuSection_e0cuy_179", Ae = "_collapseAllBtn_e0cuy_193", Ne = "_menuList_e0cuy_210", Le = "_menuItem_e0cuy_219", Re = "_menuItemActive_e0cuy_241", Oe = "_menuGroupRowOpen_e0cuy_252", Ue = "_menuGroupRowBranch_e0cuy_262", $e = "_menuItemIcon_e0cuy_266", xe = "_dragBar_e0cuy_284", Ce = "_dragBarActive_e0cuy_305", Ge = "_contentArea_e0cuy_310", Ee = "_contentBody_e0cuy_318", Me = "_menuItemGroup_e0cuy_329", We = "_menuExpandIcon_e0cuy_334", De = "_menuSubList_e0cuy_342", Fe = "_menuItemOnPath_e0cuy_372", Te = "_menuSubItem_e0cuy_376", je = "_menuSubItemActive_e0cuy_393", ze = "_menuSubItemBranch_e0cuy_411", He = "_menuSubItemBranchOpen_e0cuy_415", Ze = "_menuSubItemBranchActive_e0cuy_425", Je = "_menuSubItemRow_e0cuy_435", Ke = "_menuNestedList_e0cuy_441", e = {
|
|
13
13
|
adminLayout: he,
|
|
14
14
|
topBanner: _e,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a, f as c, B as o, b as r } from "./ComponentDoc-
|
|
1
|
+
import { a, f as c, B as o, b as r } from "./ComponentDoc-BHX2fG49.js";
|
|
2
2
|
async function S(e, n = "") {
|
|
3
3
|
const t = new URLSearchParams();
|
|
4
4
|
n && t.set("token", n), e.scenario_code && t.set("scenario_code", e.scenario_code), e.status && t.set("status", e.status), e.name && t.set("name", e.name), e.role && t.set("role", e.role), e.create_time_start && t.set("create_time_start", e.create_time_start), e.create_time_end && t.set("create_time_end", e.create_time_end), t.set("page", String(e.page ?? 1)), t.set("size", String(e.size ?? 20));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { Alert as h } from "antd";
|
|
3
|
-
import { u as d } from "./ComponentDoc-
|
|
4
|
-
import { h as g } from "./index-
|
|
5
|
-
import { N as A } from "./index-
|
|
3
|
+
import { u as d } from "./ComponentDoc-BHX2fG49.js";
|
|
4
|
+
import { h as g } from "./index-BZc2uUlh.js";
|
|
5
|
+
import { N as A } from "./index-BYnrTKwB.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,4 +1,4 @@
|
|
|
1
|
-
import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-
|
|
1
|
+
import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-BHX2fG49.js";
|
|
2
2
|
import { createElement as e } from "react";
|
|
3
3
|
import { BellOutlined as m, ProjectOutlined as p, DesktopOutlined as i, ReadOutlined as n } from "@ant-design/icons";
|
|
4
4
|
import "react/jsx-runtime";
|
|
@@ -6,9 +6,9 @@ import pa from "react-markdown";
|
|
|
6
6
|
import fa from "rehype-highlight";
|
|
7
7
|
import ha from "remark-gfm";
|
|
8
8
|
import { h as ya } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { a as v, f as g, B as C, b as S, u as er, v as yt, a8 as ga, t as et, e as _a, aa as ba, ab as On, ac as va, ad as tr } from "./ComponentDoc-
|
|
10
|
-
import { f as wa, a as Sa, u as En, b as Na, c as Ca, r as ka, d as Ta, e as Ia, g as $a, h as xa, m as La } from "./admin-logs-
|
|
11
|
-
import { a as Da, f as Aa, c as Ra } from "./index-
|
|
9
|
+
import { a as v, f as g, B as C, b as S, u as er, v as yt, a8 as ga, t as et, e as _a, aa as ba, ab as On, ac as va, ad as tr } from "./ComponentDoc-BHX2fG49.js";
|
|
10
|
+
import { f as wa, a as Sa, u as En, b as Na, c as Ca, r as ka, d as Ta, e as Ia, g as $a, h as xa, m as La } from "./admin-logs-BwDg5q4t.js";
|
|
11
|
+
import { a as Da, f as Aa, c as Ra } from "./index-BZc2uUlh.js";
|
|
12
12
|
import { findTodosLinkedToNote as Oa, buildTodoProjectContext as Ea, linkedTodoChipLabel as Pa } from "@yuku123/z-task-component";
|
|
13
13
|
import Ce from "dayjs";
|
|
14
14
|
import "./echarts-B1OU1xr4.js";
|