@yuku123/z-team-component 0.2.175 → 0.2.176
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-D_8EYwdn.js → AdminModuleContent-CAJNrpxG.js} +6 -6
- package/dist/{ChangeLogView-DUpaLhCQ.js → ChangeLogView-BUx22ygE.js} +1 -1
- package/dist/{ComponentDoc-DX-G36XL.js → ComponentDoc-in_96CpL.js} +3 -3
- package/dist/{InvitationManagementPage-I8MOZm3P.js → InvitationManagementPage-CTDyMZs5.js} +1 -1
- package/dist/{OnboardingPage-AaBeXdmN.js → OnboardingPage-Co-rTH3C.js} +2 -2
- package/dist/{ScheduledTasks-BL_8NPGL.js → ScheduledTasks-DQvZJDXk.js} +9 -9
- package/dist/{SettingsModal-CGAZqXe4.js → SettingsModal-qQ4nqVvN.js} +4 -4
- package/dist/{SystemShell-CaVgXHac.js → SystemShell-BcLGyPbY.js} +7 -7
- package/dist/{admin-logs-B9buBCgA.js → admin-logs-C-qJqvCO.js} +1 -1
- package/dist/{api-ZYYxC97k.js → api-0uTaCrct.js} +1 -1
- package/dist/{api-BmkkjjsH.js → api-ZCLTKVhT.js} +1 -1
- package/dist/{browser-C0gbH8ge.js → browser-C660-9Z7.js} +1 -1
- package/dist/{createWorkspaceWsHandler-MqWCJ3KJ.js → createWorkspaceWsHandler-DhTzpTnA.js} +3 -3
- package/dist/{index-CWaHhvIE.js → index-BAv2yPv6.js} +4 -4
- package/dist/{index-TaTPCmzs.js → index-BYSyirOf.js} +4 -4
- package/dist/{index-DbWXIpT-.js → index-BrldFNRa.js} +1 -1
- package/dist/{index-aC6vnN6n.js → index-BroEucBT.js} +12209 -12179
- package/dist/{index-BnHTn8Xs.js → index-Bx8xhnEs.js} +2 -2
- package/dist/{index-x-bISlja.js → index-CBN-LCEi.js} +2 -2
- package/dist/{index-B2y5hSr-.js → index-CM8ISiGI.js} +6 -6
- package/dist/{index-DKB_9Pt2.js → index-CU9O7jJt.js} +2 -2
- package/dist/{index-DUhw_cyy.js → index-ChxP6rJn.js} +1 -1
- package/dist/{index-BUj4F26q.js → index-CjxEE4bh.js} +2 -2
- package/dist/{index-kY06f1E0.js → index-CkdkzLiT.js} +1 -1
- package/dist/{index-DC8RZCnW.js → index-D3BFkFWc.js} +2 -2
- package/dist/{index-D9d8bgEi.js → index-DOFOhA6I.js} +3 -3
- package/dist/{index-C5sKclSK.js → index-DRyoc2Hq.js} +1 -1
- package/dist/{index-DmFsawHq.js → index-DaAurGGZ.js} +2 -2
- package/dist/{index-BvMBUz-F.js → index-Dd5v5akw.js} +8 -8
- package/dist/{index-BVNGvh47.js → index-Deb1t6Ss.js} +2 -2
- package/dist/{index-4DweUdei.js → index-DoIosQmo.js} +2 -2
- package/dist/{index-D4e8DuEX.js → index-EkCS9h8N.js} +1 -1
- package/dist/{index-Bd-Cv2QM.js → index-NOZ0vWu9.js} +3 -3
- package/dist/{index-9op0-8ql.js → index-bZ3cxpkz.js} +1 -1
- package/dist/index-ftQ2n-vh.js +144 -0
- package/dist/{index-5JrzKWwz.js → index-jE6cLfnT.js} +4 -4
- package/dist/{index-B7XLCmXb.js → index-kvt7x63p.js} +1 -1
- package/dist/{index-Bflp4ZlY.js → index-ylpBVPTR.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{instance-DxbL4Bbl.js → instance-Cm6oQb9w.js} +1 -1
- package/dist/{menuPermission-DPK7_dTG.js → menuPermission-BeDNWc92.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-BTBYYybd.js → send-default-agent-team-message-BGOlzIHO.js} +1 -1
- package/dist/{spark-md5-g8UkrRCx.js → spark-md5-CY1_eD7h.js} +1 -1
- package/dist/{training-B_3o23mq.js → training-C0qOiKrb.js} +1 -1
- package/dist/{webide-Bnacw27I.js → webide-DtsdHo3h.js} +3 -3
- package/package.json +3 -3
- package/dist/index-BQq61T-r.js +0 -136
|
@@ -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-in_96CpL.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-BGOlzIHO.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 || "");
|
|
@@ -2,8 +2,8 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { CopyOutlined as ie, ReloadOutlined as Ne, PlusOutlined as be, StopOutlined as Ve, DeleteOutlined as Ye, ClearOutlined as Xe, CloseOutlined as Ze, SendOutlined as et, RobotOutlined as fe, CloudServerOutlined as Ie, MessageOutlined as tt, BarChartOutlined as at, KeyOutlined as Pe, NodeIndexOutlined as nt, ApiOutlined as st, ToolOutlined as ot, FundOutlined as rt } from "@ant-design/icons";
|
|
3
3
|
import { useState as f, useEffect as Y, useCallback as H, useRef as ke, useMemo as Ee, Suspense as lt, lazy as it } from "react";
|
|
4
4
|
import { Table as le, Tooltip as se, Tabs as Me, Input as _e, Button as L, Modal as ge, Drawer as $e, Spin as ne, Statistic as K, message as j, Tag as X, Select as ct, Checkbox as dt } from "antd";
|
|
5
|
-
import { u as Oe } from "./ComponentDoc-
|
|
6
|
-
import { M as mt } from "./index-
|
|
5
|
+
import { u as Oe } from "./ComponentDoc-in_96CpL.js";
|
|
6
|
+
import { M as mt } from "./index-BrldFNRa.js";
|
|
7
7
|
import { SidebarShell as ut, MenuTree as ht } from "@yuku123/z-frontend-common/ui";
|
|
8
8
|
import { AgentAppList as pt, AgentInstanceManager as kt, McpPage as gt } from "@yuku123/z-agent-component";
|
|
9
9
|
import { Catalog as yt } from "@yuku123/z-skill-component";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n, jsxs as p, Fragment as J } from "react/jsx-runtime";
|
|
2
|
-
import { S as On, P as An } from "./webide-
|
|
2
|
+
import { S as On, P as An } from "./webide-DtsdHo3h.js";
|
|
3
3
|
import { Dropdown as qe } from "antd";
|
|
4
4
|
import { PlayCircleOutlined as Dn, FileTextOutlined as cn, PlusOutlined as Pn, ClockCircleOutlined as $n, AppstoreOutlined as jn, UnorderedListOutlined as xn, SettingOutlined as En } from "@ant-design/icons";
|
|
5
5
|
import { useState as u, useRef as Ne, useEffect as I, useCallback as B, useMemo as O } from "react";
|
|
6
|
-
import { u as X, w as Rn, x as Kn, t as Mn, v as z, y as Fn, z as ke, A as Bn, D as Hn } from "./ComponentDoc-
|
|
7
|
-
import { s, T as Wn, R as Ae, D as we, f as _n, a as Zn, F as De, P as Gn, L as Vn, A as Un, C as Qn, b as zn, c as Jn, p as Xn, d as Yn, e as en, g as nn, h as qn, W as et, i as nt, u as tn, S as tt, j as st, k as sn, l as at, r as lt, m as ot, U as it, n as ct, o as rt, q as dt } from "./index-
|
|
8
|
-
import { u as rn, i as ut, s as an, c as pt } from "./createWorkspaceWsHandler-
|
|
9
|
-
import { h as ht, f as mt } from "./index-
|
|
10
|
-
import { S as gt, P as ft, L as bt, a as yt, E as kt, C as Nt, W as ln, b as on, T as wt, c as Tt } from "./ScheduledTasks-
|
|
6
|
+
import { u as X, w as Rn, x as Kn, t as Mn, v as z, y as Fn, z as ke, A as Bn, D as Hn } from "./ComponentDoc-in_96CpL.js";
|
|
7
|
+
import { s, T as Wn, R as Ae, D as we, f as _n, a as Zn, F as De, P as Gn, L as Vn, A as Un, C as Qn, b as zn, c as Jn, p as Xn, d as Yn, e as en, g as nn, h as qn, W as et, i as nt, u as tn, S as tt, j as st, k as sn, l as at, r as lt, m as ot, U as it, n as ct, o as rt, q as dt } from "./index-Dd5v5akw.js";
|
|
8
|
+
import { u as rn, i as ut, s as an, c as pt } from "./createWorkspaceWsHandler-DhTzpTnA.js";
|
|
9
|
+
import { h as ht, f as mt } from "./index-EkCS9h8N.js";
|
|
10
|
+
import { S as gt, P as ft, L as bt, a as yt, E as kt, C as Nt, W as ln, b as on, T as wt, c as Tt } from "./ScheduledTasks-DQvZJDXk.js";
|
|
11
11
|
import { TodoTab as vt } from "@yuku123/z-task-component";
|
|
12
12
|
const Ct = [
|
|
13
13
|
"帮我排查一个线上问题",
|
|
@@ -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-in_96CpL.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-Cm6oQb9w.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(
|
|
@@ -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-in_96CpL.js";
|
|
5
|
+
import { i as K, P as x } from "./index-EkCS9h8N.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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { f as z, r as v } from "./ctc-sso-Hj8fdMY0.js";
|
|
3
|
-
import { u as m, g as L, r as T, k as N, l as q, m as R } from "./ComponentDoc-
|
|
3
|
+
import { u as m, g as L, r as T, k as N, l as q, m as R } from "./ComponentDoc-in_96CpL.js";
|
|
4
4
|
import { CheckCircleFilled as W } from "@ant-design/icons";
|
|
5
5
|
import { Spin as A } from "antd";
|
|
6
6
|
import F from "query-string";
|
|
@@ -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-in_96CpL.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-BGOlzIHO.js";
|
|
12
12
|
function pe() {
|
|
13
13
|
const h = X(), f = O.parse(h.search), c = String(
|
|
14
14
|
f.scenarioCode ?? f.scenario_code ?? ""
|
|
@@ -6,8 +6,8 @@ import { useState as T, useRef as ip, useEffect as $, useMemo as Bp, useCallback
|
|
|
6
6
|
import Qp, { defaultUrlTransform as vA } from "react-markdown";
|
|
7
7
|
import Yp from "rehype-highlight";
|
|
8
8
|
import yp from "remark-gfm";
|
|
9
|
-
import { a as pp, f as ap, B as Ap, G as tp, a9 as da, aa as FA, u as Gp } from "./ComponentDoc-
|
|
10
|
-
import { M as Oa, O as dA, V as OA, X as RA, h as XA, Y as NA, _ as kA, $ as WA, a0 as DA, a1 as Vp, a2 as Ep, a3 as gp, a4 as _p, a5 as $p, a6 as uA, a7 as qA, a8 as mA, a9 as wA } from "./index-
|
|
9
|
+
import { a as pp, f as ap, B as Ap, G as tp, a9 as da, aa as FA, u as Gp } from "./ComponentDoc-in_96CpL.js";
|
|
10
|
+
import { M as Oa, O as dA, V as OA, X as RA, h as XA, Y as NA, _ as kA, $ as WA, a0 as DA, a1 as Vp, a2 as Ep, a3 as gp, a4 as _p, a5 as $p, a6 as uA, a7 as qA, a8 as mA, a9 as wA } from "./index-Dd5v5akw.js";
|
|
11
11
|
import { h as K } from "./index.module-FP1W21Vy.js";
|
|
12
12
|
async function BA(a = "") {
|
|
13
13
|
const e = a ? `?token=${encodeURIComponent(a)}` : "", r = await pp(`${Ap}/learning/columns${e}`, ap);
|
|
@@ -1813,7 +1813,7 @@ const Bt = [
|
|
|
1813
1813
|
draftDeleteBtn: W0,
|
|
1814
1814
|
markdown: D0
|
|
1815
1815
|
}, u0 = TA(
|
|
1816
|
-
() => import("./index-
|
|
1816
|
+
() => import("./index-DoIosQmo.js").then((a) => ({ default: a.MarketContent }))
|
|
1817
1817
|
);
|
|
1818
1818
|
function q0(a) {
|
|
1819
1819
|
const e = [], r = a.split(`
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n, Fragment as H } from "react/jsx-runtime";
|
|
|
2
2
|
import { BookOutlined as V, ReloadOutlined as Ne, SearchOutlined as fe, CloseOutlined as ge, CaretDownOutlined as ve, CaretRightOutlined as Te } from "@ant-design/icons";
|
|
3
3
|
import { message as Se, Spin as F } from "antd";
|
|
4
4
|
import { useState as k, useRef as M, useEffect as G, useCallback as C } from "react";
|
|
5
|
-
import { a as A, B as R, b as E } from "./ComponentDoc-
|
|
5
|
+
import { a as A, B as R, b as E } from "./ComponentDoc-in_96CpL.js";
|
|
6
6
|
function B(a) {
|
|
7
7
|
const l = new URLSearchParams();
|
|
8
8
|
Object.entries(a).forEach(([N, s]) => {
|
|
@@ -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-in_96CpL.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-0uTaCrct.js";
|
|
6
6
|
const L = "dev_brain_scenario";
|
|
7
7
|
function q() {
|
|
8
8
|
var M;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as Ye } from "react/jsx-runtime";
|
|
2
|
-
import { a as ue, f as Se, B as Ce, G as Ke, b as ft, aq as Eo, u as W, T as pn, ar as Po, as as Kn, t as Ae, at as vn, z as ve, au as Oo, ai as Do, aj as Ro, am as Xa, c as Fo, v as St, av as ga, aw as jo, ax as Bo, ay as Ho, az as Wo, aA as Uo, w as qn, x as zo, aB as zt, aC as Go, aD as Ko, A as qo, y as Vo, D as Jo, e as eo, aE as Yo, i as Zo, a0 as Qo, a1 as Xo, a2 as es, a3 as ts, a5 as ns, m as as, aF as os, r as ss, k as ya, l as _a } from "./ComponentDoc-
|
|
2
|
+
import { a as ue, f as Se, B as Ce, G as Ke, b as ft, aq as Eo, u as W, T as pn, ar as Po, as as Kn, t as Ae, at as vn, z as ve, au as Oo, ai as Do, aj as Ro, am as Xa, c as Fo, v as St, av as ga, aw as jo, ax as Bo, ay as Ho, az as Wo, aA as Uo, w as qn, x as zo, aB as zt, aC as Go, aD as Ko, A as qo, y as Vo, D as Jo, e as eo, aE as Yo, i as Zo, a0 as Qo, a1 as Xo, a2 as es, a3 as ts, a5 as ns, m as as, aF as os, r as ss, k as ya, l as _a } from "./ComponentDoc-in_96CpL.js";
|
|
3
3
|
import { s as rs, r as wn, f as is } from "./ctc-sso-Hj8fdMY0.js";
|
|
4
4
|
import { Input as cs, Tooltip as Cn, Spin as Ct, Tabs as to, Popconfirm as Rn, Button as Ft, Empty as Zt, Tag as ka, Popover as va, Dropdown as ls, Avatar as ds, Modal as wa, message as ba } from "antd";
|
|
5
5
|
import Gt from "query-string";
|
|
6
6
|
import { useState as g, useRef as le, useCallback as ne, useEffect as H, createElement as us, useLayoutEffect as Xn, useMemo as Re, memo as ms, Suspense as dn, lazy as ct } from "react";
|
|
7
7
|
import { useLocation as ps, useNavigate as hs } from "react-router-dom";
|
|
8
8
|
import { h as ze } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { q as ke, v as fs, B as no, S as ao, w as Tn, u as ea, i as oo, n as gs, x as l, y as E, C as ys, j as _s, U as ks } from "./createWorkspaceWsHandler-
|
|
9
|
+
import { q as ke, v as fs, B as no, S as ao, w as Tn, u as ea, i as oo, n as gs, x as l, y as E, C as ys, j as _s, U as ks } from "./createWorkspaceWsHandler-DhTzpTnA.js";
|
|
10
10
|
import { BarChartOutlined as vs, PieChartOutlined as ws, LinkOutlined as bs, UnorderedListOutlined as Ns, FileTextOutlined as ta, ReadOutlined as so, ConsoleSqlOutlined as Ss, SearchOutlined as ro, CloseOutlined as Xt, CustomerServiceOutlined as io, ThunderboltOutlined as Na, MessageOutlined as Cs, ReloadOutlined as co, UndoOutlined as Is, DeleteOutlined as Ts, FolderOpenOutlined as $s, BellOutlined as Ls, ApartmentOutlined as Ms, DownOutlined as As, CrownOutlined as xs, RightOutlined as Es, PlusOutlined as Ps, CheckCircleOutlined as Sa, CheckOutlined as Os, SettingOutlined as Ca, LaptopOutlined as Ds, MenuFoldOutlined as Rs, HeartOutlined as Fs, BookOutlined as js, BulbOutlined as Bs, TeamOutlined as Hs, ProductOutlined as Ws, CloudServerOutlined as Us, AppstoreOutlined as zs, UserOutlined as Gs, NotificationOutlined as Ks, LogoutOutlined as qs } from "@ant-design/icons";
|
|
11
11
|
import { create as Vs } from "zustand";
|
|
12
|
-
import { h as $n, f as Js, E as Fn } from "./index-
|
|
13
|
-
import { s as lo } from "./admin-logs-
|
|
12
|
+
import { h as $n, f as Js, E as Fn } from "./index-EkCS9h8N.js";
|
|
13
|
+
import { s as lo } from "./admin-logs-C-qJqvCO.js";
|
|
14
14
|
import { createPortal as na } from "react-dom";
|
|
15
15
|
import Ia from "react-markdown";
|
|
16
16
|
import Ta from "rehype-highlight";
|
|
17
17
|
import $a from "remark-gfm";
|
|
18
18
|
import { configureMeta as Ys } from "@yuku123/z-meta-component";
|
|
19
|
-
import { l as Zs, j as Qs } from "./instance-
|
|
19
|
+
import { l as Zs, j as Qs } from "./instance-Cm6oQb9w.js";
|
|
20
20
|
/* empty css */
|
|
21
21
|
import { s as Xs, i as er } from "./mobile-client-O3yr9h6t.js";
|
|
22
22
|
async function Vp(t = {}, n = "") {
|
|
@@ -6745,9 +6745,9 @@ function zm({
|
|
|
6745
6745
|
}
|
|
6746
6746
|
const Gm = "/api";
|
|
6747
6747
|
Ys({ apiBase: Gm });
|
|
6748
|
-
const Km = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3ctitle%3elogo%3c/title%3e%3cg%20id='页面-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='01-1.全部应用'%20transform='translate(-20.000000,%20-8.000000)'%3e%3cg%20id='logo'%20transform='translate(20.000000,%208.000000)'%3e%3crect%20id='蒙版'%20fill='%23F5FAFF'%20x='0'%20y='0'%20width='24'%20height='24'%20rx='2'%3e%3c/rect%3e%3cg%20id='资源-1'%20transform='translate(4.000000,%204.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M1.16034197,15.1111111%20C0.519502794,15.1111111%200,14.6106136%200,13.9932187%20L0,2.69831289%20C0.00159892866,1.20871436%201.25461265,0.00154043404%202.80077542,0%20L8.75478013,0%20C10.3009429,0.00154043404%2011.5539566,1.20871436%2011.5555556,2.69831289%20L11.5555556,8.29476193%20C11.5555556,8.91215688%2011.0360528,9.41265438%2010.3952136,9.41265438%20C9.75437442,9.41265438%209.23487162,8.91215688%209.23487162,8.29476193%20L9.23487162,2.70529971%20C9.23681414,2.5814236%209.18709207,2.46197487%209.09684605,2.37371702%20C9.00660003,2.28545916%208.88337485,2.23577075%208.75478013,2.23578489%20L2.80802756,2.23578489%20C2.67944752,2.23391343%202.55546299,2.28181649%202.46385373,2.36876099%20C2.37224448,2.45570548%202.32066926,2.57442264%202.32068393,2.69831289%20L2.32068393,13.9932187%20C2.32068393,14.6106136%201.80118114,15.1111111%201.16034197,15.1111111%20Z'%20id='路径'%20fill='%231F8BFF'%3e%3c/path%3e%3cpath%20d='M13.1974657,15.1111111%20L7.2469787,15.1111111%20C5.70041075,15.1095715%204.44684388,13.9026896%204.44444444,12.4129481%20L4.44444444,6.81251221%20C4.44444444,6.19483167%204.96427348,5.69410265%205.60551509,5.69410265%20C6.24675669,5.69410265%206.76658573,6.19483167%206.76658573,6.81251221%20L6.76658573,12.4129481%20C6.76738557,12.6679673%206.98223074,12.8742932%207.2469787,12.874292%20L13.1974657,12.874292%20C13.4622137,12.8742932%2013.6770589,12.6679673%2013.6778587,12.4129481%20L13.6778587,1.11840956%20C13.6778587,0.500729014%2014.1976878,0%2014.8389294,0%20C15.480171,0%2016,0.500729014%2016,1.11840956%20L16,12.4129481%20C15.9976006,13.9026896%2014.7440337,15.1095715%2013.1974657,15.1111111%20L13.1974657,15.1111111%20Z'%20id='路径'%20fill='%23FFDC29'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", qm = ct(() => import("./index-
|
|
6749
|
-
ct(() => import("./index-
|
|
6750
|
-
const Zm = ct(() => import("./index-COyCBJUi.js")), Qm = ct(() => import("./index-
|
|
6748
|
+
const Km = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3ctitle%3elogo%3c/title%3e%3cg%20id='页面-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='01-1.全部应用'%20transform='translate(-20.000000,%20-8.000000)'%3e%3cg%20id='logo'%20transform='translate(20.000000,%208.000000)'%3e%3crect%20id='蒙版'%20fill='%23F5FAFF'%20x='0'%20y='0'%20width='24'%20height='24'%20rx='2'%3e%3c/rect%3e%3cg%20id='资源-1'%20transform='translate(4.000000,%204.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M1.16034197,15.1111111%20C0.519502794,15.1111111%200,14.6106136%200,13.9932187%20L0,2.69831289%20C0.00159892866,1.20871436%201.25461265,0.00154043404%202.80077542,0%20L8.75478013,0%20C10.3009429,0.00154043404%2011.5539566,1.20871436%2011.5555556,2.69831289%20L11.5555556,8.29476193%20C11.5555556,8.91215688%2011.0360528,9.41265438%2010.3952136,9.41265438%20C9.75437442,9.41265438%209.23487162,8.91215688%209.23487162,8.29476193%20L9.23487162,2.70529971%20C9.23681414,2.5814236%209.18709207,2.46197487%209.09684605,2.37371702%20C9.00660003,2.28545916%208.88337485,2.23577075%208.75478013,2.23578489%20L2.80802756,2.23578489%20C2.67944752,2.23391343%202.55546299,2.28181649%202.46385373,2.36876099%20C2.37224448,2.45570548%202.32066926,2.57442264%202.32068393,2.69831289%20L2.32068393,13.9932187%20C2.32068393,14.6106136%201.80118114,15.1111111%201.16034197,15.1111111%20Z'%20id='路径'%20fill='%231F8BFF'%3e%3c/path%3e%3cpath%20d='M13.1974657,15.1111111%20L7.2469787,15.1111111%20C5.70041075,15.1095715%204.44684388,13.9026896%204.44444444,12.4129481%20L4.44444444,6.81251221%20C4.44444444,6.19483167%204.96427348,5.69410265%205.60551509,5.69410265%20C6.24675669,5.69410265%206.76658573,6.19483167%206.76658573,6.81251221%20L6.76658573,12.4129481%20C6.76738557,12.6679673%206.98223074,12.8742932%207.2469787,12.874292%20L13.1974657,12.874292%20C13.4622137,12.8742932%2013.6770589,12.6679673%2013.6778587,12.4129481%20L13.6778587,1.11840956%20C13.6778587,0.500729014%2014.1976878,0%2014.8389294,0%20C15.480171,0%2016,0.500729014%2016,1.11840956%20L16,12.4129481%20C15.9976006,13.9026896%2014.7440337,15.1095715%2013.1974657,15.1111111%20L13.1974657,15.1111111%20Z'%20id='路径'%20fill='%23FFDC29'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", qm = ct(() => import("./index-CM8ISiGI.js")), Vm = ct(() => import("./index-NOZ0vWu9.js")), Jm = ct(() => import("./SettingsModal-qQ4nqVvN.js")), Ym = ct(() => import("./index-CBN-LCEi.js"));
|
|
6749
|
+
ct(() => import("./index-DRyoc2Hq.js"));
|
|
6750
|
+
const Zm = ct(() => import("./index-COyCBJUi.js")), Qm = ct(() => import("./index-DOFOhA6I.js").then((t) => t.i)), Xm = ct(() => import("./index-BAv2yPv6.js")), ep = ct(() => import("./index-jE6cLfnT.js")), tp = ct(() => import("./index-ftQ2n-vh.js")), np = ct(() => import("./index-ylpBVPTR.js")), ap = ct(() => import("./index-BroEucBT.js").then((t) => ({ default: t.default }))), Ya = ct(() => import("./SystemShell-BcLGyPbY.js")), wo = "ft_popup_read";
|
|
6751
6751
|
function Za(t) {
|
|
6752
6752
|
return t.id != null ? String(t.id) : `${t.title ?? ""}|${t.content ?? ""}`;
|
|
6753
6753
|
}
|
|
@@ -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 { K as Q, L as X, M as Y, N as $, O as J, Q as Z, R as ee, U as te, V as re, W as ae, X as oe, Y as ne, _ as le, _ as ie, $ as se } from "./ComponentDoc-
|
|
2
|
+
import { d as y } from "./ComponentDoc-in_96CpL.js";
|
|
3
|
+
import { K as Q, L as X, M as Y, N as $, O as J, Q as Z, R as ee, U as te, V as re, W as ae, X as oe, Y as ne, _ as le, _ as ie, $ as se } from "./ComponentDoc-in_96CpL.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";
|
|
@@ -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-in_96CpL.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-DOFOhA6I.js";
|
|
10
10
|
function j(a) {
|
|
11
11
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as h, f as _, B as N, G as A, t as g } from "./ComponentDoc-
|
|
1
|
+
import { a as h, f as _, B as N, G as A, t as g } from "./ComponentDoc-in_96CpL.js";
|
|
2
2
|
import { jsx as p, jsxs as I } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo as S, useState as C, useEffect as G, Component as L } from "react";
|
|
4
4
|
function $(t) {
|
|
@@ -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-DtsdHo3h.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-DQvZJDXk.js";
|
|
5
|
+
import { w as q, p as z } from "./index-Dd5v5akw.js";
|
|
6
6
|
import { TodoTab as E } from "@yuku123/z-task-component";
|
|
7
7
|
function J({
|
|
8
8
|
view: s,
|
|
@@ -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-BUx22ygE.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,
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { jsxs as f, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as m, useCallback as N, useEffect as S } from "react";
|
|
3
|
+
import { useNavigate as x, useLocation as g } from "react-router-dom";
|
|
4
|
+
import { AppstoreOutlined as b, DatabaseOutlined as B, TableOutlined as v, HomeOutlined as L, DashboardOutlined as A, RobotOutlined as w, FunctionOutlined as M, ApartmentOutlined as I, EyeOutlined as W, BranchesOutlined as E, DeploymentUnitOutlined as G, SafetyCertificateOutlined as R, RocketOutlined as U } from "@ant-design/icons";
|
|
5
|
+
import P from "@yuku123/z-lc-component";
|
|
6
|
+
import { GLOBAL_MENU_ITEMS as T } from "@yuku123/z-lc-component/menu";
|
|
7
|
+
import { f as q, M as C } from "./menuPermission-BeDNWc92.js";
|
|
8
|
+
import { u as $ } from "./ComponentDoc-in_96CpL.js";
|
|
9
|
+
import { SidebarShell as D, MenuTree as K } from "@yuku123/z-frontend-common/ui";
|
|
10
|
+
const j = "_shellWrap_kxkvd_7", Y = "_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 = {
|
|
11
|
+
shellWrap: j,
|
|
12
|
+
shell: Y,
|
|
13
|
+
productBanner: F,
|
|
14
|
+
productBannerLabel: H,
|
|
15
|
+
productBannerName: z,
|
|
16
|
+
productBannerCode: J,
|
|
17
|
+
productBannerBack: Q,
|
|
18
|
+
main: V
|
|
19
|
+
}, h = "/lc", X = {
|
|
20
|
+
apps: /* @__PURE__ */ n(b, {}),
|
|
21
|
+
designer: /* @__PURE__ */ n(v, {}),
|
|
22
|
+
"db-import": /* @__PURE__ */ n(B, {})
|
|
23
|
+
}, Z = /* @__PURE__ */ new Set(["apps", "designer", "db-import", "admin", "docs"]);
|
|
24
|
+
function ee(e, t) {
|
|
25
|
+
if (!e.startsWith(h)) return null;
|
|
26
|
+
const o = e.slice(h.length).replace(/^\//, "").split("/").filter(Boolean);
|
|
27
|
+
return o[0] === "designer" && o[1] ? o[1] : o[0] && !Z.has(o[0]) ? o[0] : new URLSearchParams(t.startsWith("?") ? t.slice(1) : t).get("appCode") || null;
|
|
28
|
+
}
|
|
29
|
+
function te(e) {
|
|
30
|
+
const t = `?appCode=${encodeURIComponent(e)}`;
|
|
31
|
+
return [
|
|
32
|
+
{ key: `${e}:overview`, label: "应用概览", icon: /* @__PURE__ */ n(L, {}), path: e },
|
|
33
|
+
{ key: `${e}:dashboard`, label: "仪表盘", icon: /* @__PURE__ */ n(A, {}), path: `${e}/dashboard` },
|
|
34
|
+
{ key: `${e}:designer`, label: "Schema 设计器", icon: /* @__PURE__ */ n(v, {}), path: `designer/${e}` },
|
|
35
|
+
{ key: `${e}:db-import`, label: "从数据库导入", icon: /* @__PURE__ */ n(B, {}), path: `db-import${t}` },
|
|
36
|
+
{ key: `${e}:ai`, label: "AI 建模", icon: /* @__PURE__ */ n(w, {}), path: `admin/ai${t}` },
|
|
37
|
+
{ key: `${e}:dicts`, label: "数据字典", icon: /* @__PURE__ */ n(M, {}), path: `admin/dicts${t}` },
|
|
38
|
+
{ key: `${e}:relations`, label: "实体关系", icon: /* @__PURE__ */ n(I, {}), path: `admin/relations${t}` },
|
|
39
|
+
{ key: `${e}:views`, label: "视图配置", icon: /* @__PURE__ */ n(W, {}), path: `admin/views${t}` },
|
|
40
|
+
{ key: `${e}:pipelines`, label: "Pipeline", icon: /* @__PURE__ */ n(E, {}), path: `admin/pipelines${t}` },
|
|
41
|
+
{ key: `${e}:workflows`, label: "流程绑定", icon: /* @__PURE__ */ n(G, {}), path: `admin/workflows${t}` },
|
|
42
|
+
{ key: `${e}:permissions`, label: "权限矩阵", icon: /* @__PURE__ */ n(R, {}), path: `admin/permissions${t}`, permission: "PERMISSION_MANAGE" },
|
|
43
|
+
{ key: `${e}:deployments`, label: "部署记录", icon: /* @__PURE__ */ n(U, {}), path: `admin/deployments${t}` }
|
|
44
|
+
];
|
|
45
|
+
}
|
|
46
|
+
function ne(e) {
|
|
47
|
+
const t = T.map((r) => ({
|
|
48
|
+
key: r.key,
|
|
49
|
+
label: r.label,
|
|
50
|
+
icon: X[r.key] ?? /* @__PURE__ */ n(b, {}),
|
|
51
|
+
path: r.path
|
|
52
|
+
}));
|
|
53
|
+
return e && t.push({
|
|
54
|
+
key: e,
|
|
55
|
+
label: e,
|
|
56
|
+
icon: /* @__PURE__ */ n(b, {}),
|
|
57
|
+
children: te(e)
|
|
58
|
+
}), [{ title: "应用", icon: /* @__PURE__ */ n(b, {}), items: t }];
|
|
59
|
+
}
|
|
60
|
+
function re(e, t, r, o) {
|
|
61
|
+
if (!e.path) return !1;
|
|
62
|
+
const l = e.path.indexOf("?"), a = l >= 0 ? e.path.slice(0, l) : e.path;
|
|
63
|
+
return (o ? t === a : t === a || t.startsWith(`${a}/`)) ? l >= 0 ? new URLSearchParams(e.path.slice(l + 1)).get("appCode") === r : !0 : !1;
|
|
64
|
+
}
|
|
65
|
+
function ae(e, t, r, o) {
|
|
66
|
+
if (!t.startsWith(h)) return null;
|
|
67
|
+
const l = t.slice(h.length).replace(/^\//, ""), a = e.flatMap(
|
|
68
|
+
(u) => u.items.flatMap((c) => c.children ? [c, ...c.children] : [c])
|
|
69
|
+
);
|
|
70
|
+
for (const u of [!0, !1])
|
|
71
|
+
for (const c of a)
|
|
72
|
+
if (re(c, l, o, u)) return c.key;
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
function he() {
|
|
76
|
+
const e = x(), { pathname: t, search: r } = g(), o = $((s) => s.currentUser), l = $((s) => s.permissionState), a = m(() => {
|
|
77
|
+
try {
|
|
78
|
+
const s = new URLSearchParams(r), i = s.get("product");
|
|
79
|
+
return i ? { code: i, name: s.get("productName") || i } : null;
|
|
80
|
+
} catch {
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
}, [r]), u = N(() => {
|
|
84
|
+
if (!a) return;
|
|
85
|
+
const s = new URLSearchParams();
|
|
86
|
+
s.set("product", a.code), a.name && s.set("productName", a.name), e(`/product?${s.toString()}`);
|
|
87
|
+
}, [a, e]);
|
|
88
|
+
S(() => {
|
|
89
|
+
t.startsWith("/lc") || e(`/lc/apps${r || ""}`, { replace: !0 });
|
|
90
|
+
}, [t, r, e]);
|
|
91
|
+
const c = m(() => ee(t, r), [t, r]), _ = m(() => ne(c), [c]), k = m(
|
|
92
|
+
() => l === "failed" ? _ : q(_, o),
|
|
93
|
+
[_, o, l]
|
|
94
|
+
), y = m(
|
|
95
|
+
() => ae(k, t, r, c),
|
|
96
|
+
[k, t, r, c]
|
|
97
|
+
), O = m(
|
|
98
|
+
() => k.map((s) => ({
|
|
99
|
+
key: s.title,
|
|
100
|
+
title: s.title,
|
|
101
|
+
items: s.items.map((i) => ({
|
|
102
|
+
key: i.key,
|
|
103
|
+
label: i.label,
|
|
104
|
+
icon: i.icon,
|
|
105
|
+
active: y === i.key,
|
|
106
|
+
onClick: i.path ? () => e(`${h}/${i.path}`) : void 0,
|
|
107
|
+
children: i.children ? i.children.map((d) => ({
|
|
108
|
+
key: d.key,
|
|
109
|
+
label: d.label,
|
|
110
|
+
icon: d.icon,
|
|
111
|
+
active: y === d.key,
|
|
112
|
+
onClick: d.path ? () => e(`${h}/${d.path}`) : void 0
|
|
113
|
+
})) : void 0
|
|
114
|
+
}))
|
|
115
|
+
})),
|
|
116
|
+
[k, y, e]
|
|
117
|
+
);
|
|
118
|
+
return /* @__PURE__ */ f("div", { className: p.shellWrap, children: [
|
|
119
|
+
a && /* @__PURE__ */ f("div", { className: p.productBanner, children: [
|
|
120
|
+
/* @__PURE__ */ n("span", { className: p.productBannerLabel, children: "📦 当前产品" }),
|
|
121
|
+
/* @__PURE__ */ n("span", { className: p.productBannerName, title: a.name, children: a.name }),
|
|
122
|
+
/* @__PURE__ */ n("span", { className: p.productBannerCode, children: a.code }),
|
|
123
|
+
/* @__PURE__ */ n("button", { type: "button", className: p.productBannerBack, onClick: u, children: "← 返回产品工作台" })
|
|
124
|
+
] }),
|
|
125
|
+
/* @__PURE__ */ f("div", { className: p.shell, children: [
|
|
126
|
+
/* @__PURE__ */ f(
|
|
127
|
+
D,
|
|
128
|
+
{
|
|
129
|
+
title: "研发工作台",
|
|
130
|
+
width: 220,
|
|
131
|
+
storageKey: "ft_dev_sidebar_collapsed",
|
|
132
|
+
children: [
|
|
133
|
+
/* @__PURE__ */ n(C, {}),
|
|
134
|
+
/* @__PURE__ */ n(K, { groups: O, defaultCollapsed: !0 })
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
),
|
|
138
|
+
/* @__PURE__ */ n("main", { className: p.main, children: /* @__PURE__ */ n(P, {}) })
|
|
139
|
+
] })
|
|
140
|
+
] });
|
|
141
|
+
}
|
|
142
|
+
export {
|
|
143
|
+
he as default
|
|
144
|
+
};
|
|
@@ -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-in_96CpL.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-EkCS9h8N.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-C-qJqvCO.js";
|
|
11
|
+
import de from "./AdminModuleContent-CAJNrpxG.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,
|
|
@@ -5,7 +5,7 @@ var zr = (h) => {
|
|
|
5
5
|
var Ca = (h, M, p) => M in h ? ka(h, M, { enumerable: !0, configurable: !0, writable: !0, value: p }) : h[M] = p;
|
|
6
6
|
var Pr = (h, M, p) => Ca(h, typeof M != "symbol" ? M + "" : M, p), mn = (h, M, p) => M.has(h) || zr("Cannot " + p);
|
|
7
7
|
var c = (h, M, p) => (mn(h, M, "read from private field"), p ? p.call(h) : M.get(h)), J = (h, M, p) => M.has(h) ? zr("Cannot add the same private member more than once") : M instanceof WeakSet ? M.add(h) : M.set(h, p), x = (h, M, p, v) => (mn(h, M, "write to private field"), v ? v.call(h, p) : M.set(h, p), p), I = (h, M, p) => (mn(h, M, "access private method"), p);
|
|
8
|
-
import { ap as Da, J as Ea } from "./ComponentDoc-
|
|
8
|
+
import { ap as Da, J as Ea } from "./ComponentDoc-in_96CpL.js";
|
|
9
9
|
function Na(h, M) {
|
|
10
10
|
for (var p = 0; p < M.length; p++) {
|
|
11
11
|
const v = M[p];
|
|
@@ -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, a8 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-C0qOiKrb.js";
|
|
7
|
+
import { u as Ce, a8 as Kl } from "./ComponentDoc-in_96CpL.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-FP1W21Vy.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-EkCS9h8N.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);
|
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-in_96CpL.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-in_96CpL.js";
|
|
4
|
+
import { h as g } from "./index-EkCS9h8N.js";
|
|
5
|
+
import { N as A } from "./index-Dd5v5akw.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-in_96CpL.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, a9 as ga, t as et, e as _a, ab as ba, ac as On, ad as va, ae 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, a9 as ga, t as et, e as _a, ab as ba, ac as On, ad as va, ae as tr } from "./ComponentDoc-in_96CpL.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-C-qJqvCO.js";
|
|
11
|
+
import { a as Da, f as Aa, c as Ra } from "./index-EkCS9h8N.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";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuku123/z-team-component",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.176",
|
|
4
4
|
"description": "z-team 团队工作台组件层(lead 005 §8.7:403 文件整体接管,含 pages/workspace/ 系统模式集成 shell)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@yuku123/z-frontend-markdown": "^0.1.0",
|
|
74
74
|
"@yuku123/z-graph-component": "^0.1.0",
|
|
75
75
|
"@yuku123/z-gw-component": "^0.1.0",
|
|
76
|
-
"@yuku123/z-lc-component": "^0.1.
|
|
76
|
+
"@yuku123/z-lc-component": "^0.1.8",
|
|
77
77
|
"@yuku123/z-meta-component": "^0.1.0",
|
|
78
78
|
"@yuku123/z-mist-component": "^0.1.0",
|
|
79
79
|
"@yuku123/z-mq-component": "^0.1.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@yuku123/z-ops-frontend-component": "^0.2.11",
|
|
83
83
|
"@yuku123/z-oss-component": "^0.1.0",
|
|
84
84
|
"@yuku123/z-product-component": "^0.3.8",
|
|
85
|
-
"@yuku123/z-qa-component": "^0.1.
|
|
85
|
+
"@yuku123/z-qa-component": "^0.1.11",
|
|
86
86
|
"@yuku123/z-rpc-component": "^0.1.0",
|
|
87
87
|
"@yuku123/z-schedule-component": "^0.1.0",
|
|
88
88
|
"@yuku123/z-skill-component": "^0.1.4",
|