@yuku123/z-team-component 0.2.72 → 0.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChangeLogView-AUM7QbBp.js → ChangeLogView-BJxIhIPc.js} +1 -1
- package/dist/{ComponentDoc-CLxzCDOh.js → ComponentDoc-CFKpk6X_.js} +3 -3
- package/dist/{InvitationManagementPage-MxyMf4G0.js → InvitationManagementPage-Dr4SxM5K.js} +1 -1
- package/dist/{OnboardingPage-BRwX8RYe.js → OnboardingPage-DcYULxKd.js} +2 -2
- package/dist/{ScheduledTasks-CM1m4eVZ.js → ScheduledTasks-T4NFJWsk.js} +2918 -3170
- package/dist/{SystemShell-BlgZhQ3V.js → SystemShell-D8aDuO_D.js} +215 -196
- package/dist/{admin-logs-Dx2fTWjF.js → admin-logs-asBlA9MU.js} +2 -2
- package/dist/{api-prj570UT.js → api-Bj-xsNGU.js} +1 -1
- package/dist/{api-CvQEwiLU.js → api-DPkUB1DA.js} +67 -67
- package/dist/{createWorkspaceWsHandler-gVanGCAb.js → createWorkspaceWsHandler-25JfnMML.js} +1834 -1812
- package/dist/{index-pyPNcAqs.js → index-BA3lZUmW.js} +1 -1
- package/dist/{index-DOyFfs3n.js → index-BYTVXqVp.js} +3844 -3731
- package/dist/{index-pc_ckjzD.js → index-BYn9kfIj.js} +3 -3
- package/dist/{index-C1rcAeiF.js → index-BZnC9BRh.js} +3 -3
- package/dist/{index-BujZj4b8.js → index-B_O9mXF6.js} +4 -4
- package/dist/{index-nj-cjKsf.js → index-BohoJQPr.js} +1849 -1857
- package/dist/{index-DDlmkQRB.js → index-C7ymoOiI.js} +2 -2
- package/dist/{index-DZbYU9xn.js → index-C9YhDxMT.js} +1 -1
- package/dist/{index-CxYTuPnw.js → index-CMVYzEVW.js} +2 -2
- package/dist/{index-DrWXMU6s.js → index-COhXbfib.js} +1 -1
- package/dist/index-CQcGGl6J.js +137 -0
- package/dist/{index-B5xRddRA.js → index-CbTwXfER.js} +6 -6
- package/dist/{index-Dk0Qm8aZ.js → index-Ccc2gRJA.js} +1 -1
- package/dist/{index-D1PpV_Lf.js → index-Ce9TrTy7.js} +2 -2
- package/dist/{index-C4AgHd-o.js → index-Czt_d2TY.js} +2 -2
- package/dist/{index-Cry-Oyoh.js → index-DHDQGO4q.js} +3 -3
- package/dist/{index-DJMZ1RpC.js → index-DOOlyOVX.js} +2 -2
- package/dist/{index-QZpyj7Q3.js → index-DfecivMN.js} +1256 -1256
- package/dist/{index-CL7GMxR-.js → index-DxRqnvKU.js} +4 -4
- package/dist/{index-PGSvSOmm.js → index-IK8UlsDo.js} +30 -30
- package/dist/{index-Cr4Rf1IT.js → index-OP18iV8V.js} +5 -5
- package/dist/{index-CrpF4NY8.js → index-Zx-BL-9D.js} +1 -1
- package/dist/{index-Do4YkHdZ.js → index-d5kr3WEM.js} +4 -4
- package/dist/{index-DzAkJL3V.js → index-rPNKkWaw.js} +3 -3
- package/dist/index-rkF8co0n.js +2882 -0
- package/dist/index.js +1 -1
- package/dist/{instance-TOlRCxS4.js → instance-B9aQMplq.js} +1 -1
- package/dist/{menuPermission-Bay-G_zT.js → menuPermission-6NaQTuIn.js} +3 -3
- package/dist/pages.js +11 -11
- package/dist/{schedule-DkbDjIh4.js → schedule-iMEGim0L.js} +1 -1
- package/dist/{send-default-agent-team-message-Bv-QRc7Y.js → send-default-agent-team-message-DtkE1OO4.js} +1 -1
- package/dist/{sso-user-BpOzJlQ3.js → sso-user-CFgbZoZ1.js} +1 -1
- package/dist/{training-BDzZav1U.js → training-DeyqAiin.js} +1 -1
- package/dist/{useAppStore-B1sVy9Iw.js → useAppStore-DQP0l22d.js} +19 -19
- package/dist/{webide-C3IaJ_eP.js → webide-BlpH-J-H.js} +4 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/index-BbxVn7xy.js +0 -1747
- package/dist/index-D4opADk_.js +0 -168
- package/dist/index-zhz9iWvI.js +0 -2629
|
@@ -1,17 +1,17 @@
|
|
|
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-DtJHC-2M.js";
|
|
3
|
-
import { r as ne, h as X, s as oe } from "./sso-user-
|
|
3
|
+
import { r as ne, h as X, s as oe } from "./sso-user-CFgbZoZ1.js";
|
|
4
4
|
import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { message as k, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
|
|
6
6
|
import pe from "query-string";
|
|
7
7
|
import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect as V } from "react";
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
|
-
import {
|
|
11
|
-
import { u as c } from "./useAppStore-
|
|
10
|
+
import { l as he, d as be, e as _e } from "./api-DPkUB1DA.js";
|
|
11
|
+
import { u as c } from "./useAppStore-DQP0l22d.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
14
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
14
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-DtkE1OO4.js";
|
|
15
15
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
16
16
|
function Pe(a) {
|
|
17
17
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as L, useMemo as p } from "react";
|
|
3
3
|
import { useNavigate as v, useLocation as A } from "react-router-dom";
|
|
4
|
-
import { DownOutlined as k, RightOutlined as
|
|
5
|
-
import { P as
|
|
6
|
-
import { f as
|
|
7
|
-
import { u as
|
|
8
|
-
const
|
|
9
|
-
shell:
|
|
10
|
-
sidebar:
|
|
11
|
-
menuList:
|
|
12
|
-
menuGroup:
|
|
13
|
-
menuGroupHeader:
|
|
14
|
-
menuGroupIcon:
|
|
4
|
+
import { DownOutlined as k, RightOutlined as w } from "@ant-design/icons";
|
|
5
|
+
import { P as W, R as $ } from "./index-CMVYzEVW.js";
|
|
6
|
+
import { f as E, M as g } from "./menuPermission-6NaQTuIn.js";
|
|
7
|
+
import { u as j } from "./useAppStore-DQP0l22d.js";
|
|
8
|
+
const H = "_shell_1jjcx_7", M = "_sidebar_1jjcx_15", R = "_menuList_1jjcx_37", T = "_menuGroup_1jjcx_43", C = "_menuGroupHeader_1jjcx_47", P = "_menuGroupIcon_1jjcx_65", z = "_menuGroupLabel_1jjcx_70", K = "_menuGroupArrow_1jjcx_74", U = "_menuSubList_1jjcx_80", Z = "_menuSubItem_1jjcx_86", B = "_menuSubItemActive_1jjcx_103", D = "_menuSubItemIcon_1jjcx_110", O = "_menuSubItemLabel_1jjcx_115", q = "_menuSubItemWrap_1jjcx_119", F = "_main_1jjcx_123", J = "_empty_1jjcx_134", Q = "_emptyIcon_1jjcx_144", V = "_emptyText_1jjcx_149", n = {
|
|
9
|
+
shell: H,
|
|
10
|
+
sidebar: M,
|
|
11
|
+
menuList: R,
|
|
12
|
+
menuGroup: T,
|
|
13
|
+
menuGroupHeader: C,
|
|
14
|
+
menuGroupIcon: P,
|
|
15
15
|
menuGroupLabel: z,
|
|
16
16
|
menuGroupArrow: K,
|
|
17
17
|
menuSubList: U,
|
|
@@ -47,50 +47,50 @@ function oe({
|
|
|
47
47
|
mode: s,
|
|
48
48
|
emptyText: i,
|
|
49
49
|
activePathOverride: _,
|
|
50
|
-
menuOnly:
|
|
50
|
+
menuOnly: h = !1
|
|
51
51
|
}) {
|
|
52
|
-
const
|
|
52
|
+
const I = v(), { pathname: a } = A(), d = j((e) => e.currentUser), b = j((e) => e.permissionState), [x, S] = L(
|
|
53
53
|
new Set(m.map((e) => e.title))
|
|
54
54
|
), l = p(
|
|
55
|
-
() => b === "failed" ? m :
|
|
55
|
+
() => b === "failed" ? m : E(m, d),
|
|
56
56
|
[m, d, b]
|
|
57
|
-
),
|
|
57
|
+
), f = p(() => {
|
|
58
58
|
const e = _ ?? a;
|
|
59
59
|
for (const o of l)
|
|
60
60
|
for (const c of o.items)
|
|
61
61
|
if (c.path === e) return c.key;
|
|
62
62
|
return null;
|
|
63
|
-
}, [l, _, a]),
|
|
64
|
-
|
|
63
|
+
}, [l, _, a]), G = (e) => {
|
|
64
|
+
S((o) => {
|
|
65
65
|
const c = new Set(o);
|
|
66
66
|
return c.has(e) ? c.delete(e) : c.add(e), c;
|
|
67
67
|
});
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
},
|
|
68
|
+
}, y = (e) => {
|
|
69
|
+
I(`${e.path}?mode=${s}`);
|
|
70
|
+
}, N = p(() => X(r, a), [r, a]);
|
|
71
71
|
return /* @__PURE__ */ u("div", { className: n.shell, children: [
|
|
72
72
|
/* @__PURE__ */ u("aside", { className: n.sidebar, children: [
|
|
73
|
-
/* @__PURE__ */ t(
|
|
73
|
+
/* @__PURE__ */ t(g, {}),
|
|
74
74
|
/* @__PURE__ */ t("nav", { className: n.menuList, children: l.map((e) => {
|
|
75
|
-
const o =
|
|
75
|
+
const o = x.has(e.title);
|
|
76
76
|
return /* @__PURE__ */ u("div", { className: n.menuGroup, children: [
|
|
77
77
|
/* @__PURE__ */ u(
|
|
78
78
|
"div",
|
|
79
79
|
{
|
|
80
80
|
className: n.menuGroupHeader,
|
|
81
|
-
onClick: () =>
|
|
81
|
+
onClick: () => G(e.title),
|
|
82
82
|
children: [
|
|
83
83
|
/* @__PURE__ */ t("span", { className: n.menuGroupIcon, children: e.icon }),
|
|
84
84
|
/* @__PURE__ */ t("span", { className: n.menuGroupLabel, children: e.title }),
|
|
85
|
-
/* @__PURE__ */ t("span", { className: n.menuGroupArrow, children: o ? /* @__PURE__ */ t(k, {}) : /* @__PURE__ */ t(
|
|
85
|
+
/* @__PURE__ */ t("span", { className: n.menuGroupArrow, children: o ? /* @__PURE__ */ t(k, {}) : /* @__PURE__ */ t(w, {}) })
|
|
86
86
|
]
|
|
87
87
|
}
|
|
88
88
|
),
|
|
89
89
|
o && /* @__PURE__ */ t("ul", { className: n.menuSubList, children: e.items.map((c) => /* @__PURE__ */ u(
|
|
90
90
|
"li",
|
|
91
91
|
{
|
|
92
|
-
className: `${n.menuSubItemWrap} ${n.menuSubItem} ${
|
|
93
|
-
onClick: () =>
|
|
92
|
+
className: `${n.menuSubItemWrap} ${n.menuSubItem} ${f === c.key ? n.menuSubItemActive : ""}`,
|
|
93
|
+
onClick: () => y(c),
|
|
94
94
|
children: [
|
|
95
95
|
/* @__PURE__ */ t("span", { className: n.menuSubItemIcon, children: c.icon }),
|
|
96
96
|
/* @__PURE__ */ t("span", { className: n.menuSubItemLabel, children: c.label })
|
|
@@ -101,9 +101,9 @@ function oe({
|
|
|
101
101
|
] }, e.title);
|
|
102
102
|
}) })
|
|
103
103
|
] }),
|
|
104
|
-
|
|
105
|
-
/* @__PURE__ */ t(
|
|
106
|
-
/* @__PURE__ */ t(
|
|
104
|
+
h ? null : /* @__PURE__ */ u("main", { className: n.main, children: [
|
|
105
|
+
/* @__PURE__ */ t(W, {}),
|
|
106
|
+
/* @__PURE__ */ t($, { resetKey: a, children: N ?? /* @__PURE__ */ t(Y, { text: i }) })
|
|
107
107
|
] })
|
|
108
108
|
] });
|
|
109
109
|
}
|
|
@@ -6,10 +6,10 @@ import { useState as F, useRef as fp, useEffect as Y, useMemo as Wp, useCallback
|
|
|
6
6
|
import Vp, { defaultUrlTransform as KA } from "react-markdown";
|
|
7
7
|
import gp from "rehype-highlight";
|
|
8
8
|
import Jp from "remark-gfm";
|
|
9
|
-
import { ap as xa, aq as jA } from "./api-
|
|
10
|
-
import { u as Dp } from "./useAppStore-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { ap as xa, aq as jA } from "./api-DPkUB1DA.js";
|
|
10
|
+
import { u as Dp } from "./useAppStore-DQP0l22d.js";
|
|
11
|
+
import { w as ia, x as oA, y as fA, z as lA, i as xA, B as iA, E as cA, G as TA, H as vA, I as up, J as Yp, K as mp, M as yp, O as Ip, Q as FA, V as dA, X as OA, Y as XA } from "./index-BYTVXqVp.js";
|
|
12
|
+
import { d as RA, e as NA, f as kA, g as WA, h as Cp, j as DA, k as qA, r as uA, l as mA, m as wA, n as BA, o as GA, p as LA, q as zA, t as VA } from "./createWorkspaceWsHandler-25JfnMML.js";
|
|
13
13
|
import { h as r } from "./index.module-CAa-2T7m.js";
|
|
14
14
|
const gA = "_editorView_as93v_7", JA = "_editorTopBar_as93v_16", bA = "_backBtn_as93v_25", MA = "_titleInput_as93v_39", sA = "_summaryBar_as93v_50", QA = "_summaryInput_as93v_55", hA = "_mdToolbar_as93v_67", YA = "_mdBtn_as93v_77", yA = "_mdSep_as93v_84", IA = "_editorBody_as93v_93", CA = "_tocPanel_as93v_100", ZA = "_tocHeader_as93v_108", EA = "_tocList_as93v_117", _A = "_tocItem_as93v_122", $A = "_tocEmpty_as93v_137", pt = "_textarea_as93v_144", at = "_half_as93v_160", At = "_preview_as93v_163", tt = "_markdown_as93v_173", et = "_videoEmbed_as93v_185", w = {
|
|
15
15
|
editorView: gA,
|
|
@@ -1682,7 +1682,7 @@ const Rt = [
|
|
|
1682
1682
|
draftDeleteBtn: T0,
|
|
1683
1683
|
markdown: v0
|
|
1684
1684
|
}, F0 = HA(
|
|
1685
|
-
() => import("./index-
|
|
1685
|
+
() => import("./index-BYn9kfIj.js").then((a) => ({ default: a.MarketContent }))
|
|
1686
1686
|
);
|
|
1687
1687
|
function d0(a) {
|
|
1688
1688
|
const n = [], x = 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, u as E } from "./api-
|
|
5
|
+
import { a as A, B as R, u as E } from "./api-DPkUB1DA.js";
|
|
6
6
|
function B(a) {
|
|
7
7
|
const l = new URLSearchParams();
|
|
8
8
|
Object.entries(a).forEach(([N, s]) => {
|
|
@@ -1,16 +1,16 @@
|
|
|
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-DtJHC-2M.js";
|
|
3
|
-
import { r as D, h as U, s as F } from "./sso-user-
|
|
3
|
+
import { r as D, h as U, s as F } from "./sso-user-CFgbZoZ1.js";
|
|
4
4
|
import { CheckCircleFilled as W } from "@ant-design/icons";
|
|
5
5
|
import { Result as B, Button as H, Spin as G } from "antd";
|
|
6
6
|
import J from "query-string";
|
|
7
7
|
import { useState as d, useRef as K, useCallback as O, useMemo as R, useEffect as E } from "react";
|
|
8
8
|
import { useLocation as Q } from "react-router-dom";
|
|
9
9
|
import { h as b } from "./history-BlrA1eaW.js";
|
|
10
|
-
import {
|
|
11
|
-
import { u as s } from "./useAppStore-
|
|
10
|
+
import { d as V, e as X } from "./api-DPkUB1DA.js";
|
|
11
|
+
import { u as s } from "./useAppStore-DQP0l22d.js";
|
|
12
12
|
import { b as Y } from "./mobile-client-O3yr9h6t.js";
|
|
13
|
-
import { s as Z } from "./send-default-agent-team-message-
|
|
13
|
+
import { s as Z } from "./send-default-agent-team-message-DtkE1OO4.js";
|
|
14
14
|
function de() {
|
|
15
15
|
const h = Q(), f = J.parse(h.search), c = String(
|
|
16
16
|
f.scenarioCode ?? f.scenario_code ?? ""
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as c, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { i as $, t as x, p as O, b,
|
|
2
|
+
import { i as $, t as x, p as O, c as b, b as v } from "./api-DPkUB1DA.js";
|
|
3
3
|
import { CheckCircleFilled as F } 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 j, 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 y } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-
|
|
10
|
-
import { u as w } from "./useAppStore-
|
|
9
|
+
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-B9aQMplq.js";
|
|
10
|
+
import { u as w } from "./useAppStore-DQP0l22d.js";
|
|
11
11
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
12
12
|
function ct() {
|
|
13
13
|
const m = W(), p = B.parse(m.search), o = String(
|