@yuku123/z-team-component 0.2.12 → 0.2.14

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.
Files changed (25) hide show
  1. package/dist/{InvitationManagementPage-CSxxSZju.js → InvitationManagementPage-BOBPMLt9.js} +2 -2
  2. package/dist/{OnboardingPage-Bz5ABadu.js → OnboardingPage-r4_G-aTn.js} +2 -2
  3. package/dist/{ProjectApp-Ctm715g-.js → ProjectApp-CTxO5bDr.js} +3 -3
  4. package/dist/{admin-logs-BUen5i5g.js → admin-logs-RkPVW5zJ.js} +8 -8
  5. package/dist/{api-CeKcLtWh.js → api-BKO2i6dx.js} +1 -1
  6. package/dist/{api-Ag31uvzx.js → api-mKVq2JFi.js} +526 -596
  7. package/dist/{createWorkspaceWsHandler-CUr-DG9O.js → createWorkspaceWsHandler-BpkDf0wr.js} +1354 -1354
  8. package/dist/{index-wnah4DZf.js → index-7wc83ksn.js} +4 -4
  9. package/dist/{index-BnMpZYkQ.js → index-B6EP1c21.js} +4 -4
  10. package/dist/{index-BX202PTL.js → index-BAEdGW8_.js} +3 -3
  11. package/dist/{index-DVXBAsZ1.js → index-BCL8Ew0Y.js} +4 -4
  12. package/dist/{index-CWEA9tsu.js → index-BXfYbdx8.js} +10 -10
  13. package/dist/{index-jWXeNDjv.js → index-BqM8YbEO.js} +2437 -2383
  14. package/dist/{index-CitYoEnW.js → index-Cvoo86-0.js} +7 -7
  15. package/dist/{index-ckwUfwfl.js → index-D39xiMXA.js} +13 -13
  16. package/dist/{index-CcR0jDcq.js → index-DLJO1VX8.js} +3 -3
  17. package/dist/{index-OTf6Ag8-.js → index-MOmt3iqG.js} +6 -6
  18. package/dist/{index-ejLBprb6.js → index-bMSgcCaX.js} +3 -3
  19. package/dist/index.js +1 -1
  20. package/dist/{instance-n-zwS8QM.js → instance-BNPgTp94.js} +84 -83
  21. package/dist/pages.js +1 -1
  22. package/dist/{send-default-agent-team-message-D7jJxHcZ.js → send-default-agent-team-message-JTSAqt7M.js} +1 -1
  23. package/dist/{sso-user-Cyw2nbfg.js → sso-user-BDYIn086.js} +1 -1
  24. package/dist/{useAppStore-kHxjSdse.js → useAppStore-CL9gD6JS.js} +1 -1
  25. package/package.json +2 -1
@@ -1,15 +1,15 @@
1
1
  import { jsxs as l, jsx as e, Fragment as Xe } from "react/jsx-runtime";
2
- import { r as jh, h as Gh, s as Wh } from "./sso-user-Cyw2nbfg.js";
2
+ import { r as jh, h as Gh, s as Wh } from "./sso-user-BDYIn086.js";
3
3
  import { BookOutlined as Pl, ReloadOutlined as At, SearchOutlined as Xn, CloseOutlined as Gl, CaretDownOutlined as bs, CaretRightOutlined as Ns, UserOutlined as Cs, FolderOutlined as Xa, FileTextOutlined as Qi, FolderAddOutlined as pr, FileAddOutlined as gr, LinkOutlined as Nc, BarsOutlined as qh, ShareAltOutlined as Uu, BoldOutlined as Vh, ItalicOutlined as Yh, StrikethroughOutlined as Kh, UnorderedListOutlined as Jh, OrderedListOutlined as Qh, CheckSquareOutlined as Xh, CodeOutlined as fo, ConsoleSqlOutlined as Zh, PictureOutlined as ju, TableOutlined as Gu, EditOutlined as Dn, DeleteOutlined as Wt, PlusOutlined as Ht, SaveOutlined as Gn, ControlOutlined as yo, FolderOpenOutlined as ks, RobotOutlined as ma, ProfileOutlined as Wu, MessageOutlined as jo, SettingOutlined as yl, ToolOutlined as Aa, ApiOutlined as Go, ClusterOutlined as ep, InfoCircleOutlined as Pn, ExperimentOutlined as qu, CheckCircleOutlined as _l, PlayCircleOutlined as Pi, FormOutlined as Vu, CopyOutlined as Xi, AppstoreOutlined as hs, NotificationOutlined as tp, ThunderboltOutlined as Za, SyncOutlined as Yu, CloseCircleOutlined as Mi, FieldTimeOutlined as np, DownOutlined as vl, RightOutlined as Bi, RollbackOutlined as _o, TagOutlined as Ku, EllipsisOutlined as Ju, CheckOutlined as Cc, UserAddOutlined as wi, DatabaseOutlined as Wo, CloudSyncOutlined as ap, SwapOutlined as lp, CloudUploadOutlined as sp, FileMarkdownOutlined as ip, BellOutlined as rp, RocketOutlined as op, SendOutlined as wc, LeftOutlined as cp, CalendarOutlined as dp, WarningOutlined as vo, TeamOutlined as bo, SafetyCertificateOutlined as up, MinusCircleOutlined as qo, PlusCircleOutlined as No, WarningFilled as mp, CheckCircleFilled as Qu, CloseCircleFilled as Xu, NodeIndexOutlined as Si, FileImageOutlined as Zu, BranchesOutlined as em, ExclamationCircleOutlined as Co, ArrowLeftOutlined as tm, BulbOutlined as hp, FileSearchOutlined as Sc, UpOutlined as pp, LoadingOutlined as Tc, ExclamationCircleFilled as gp, ExportOutlined as fp, StarFilled as kc, StarOutlined as yp, EnterOutlined as _p, EyeOutlined as Zi, ClockCircleOutlined as nm, BarChartOutlined as am, DownloadOutlined as vp, ApartmentOutlined as bp, UndoOutlined as Np, LaptopOutlined as Cp, DesktopOutlined as wp, LockOutlined as Sp, StopOutlined as Tp, MenuFoldOutlined as kp, LogoutOutlined as xp, MonitorOutlined as Ip, CodeSandboxOutlined as $p } from "@ant-design/icons";
4
4
  import { message as h, Spin as _t, Modal as st, Tooltip as be, Button as k, Dropdown as Ul, Empty as $t, Tree as Vo, Input as Ce, Segmented as Ap, Form as nt, Space as at, Typography as Tt, Card as na, Table as ct, Divider as Kn, Select as We, InputNumber as Fn, Switch as xn, Tag as Q, Drawer as Ln, Tabs as It, Alert as gn, Radio as zn, Collapse as fn, Popconfirm as pn, DatePicker as Hn, Row as wo, Col as da, Statistic as vn, Skeleton as Ti, Descriptions as Dt, List as Ya, Layout as lm, Checkbox as aa, Steps as Lp, Upload as Ep, Progress as Yo, Image as sm, Badge as Jn, AutoComplete as Dp, TreeSelect as Rp, Breadcrumb as fr, Avatar as Op } from "antd";
5
5
  import zp, { Component as Pp, useState as r, useRef as bt, useEffect as Ne, useCallback as te, useMemo as Le, useLayoutEffect as im } from "react";
6
6
  import { h as bl } from "./history-BlrA1eaW.js";
7
- import { e as Oe, B as Me, d as Be, f as Ue, b4 as Ko, m as Tn, aw as Mp, t as ot, i as Wl, b5 as Bp, b6 as Fp, b7 as Hp, ah as Up, b8 as jp, b9 as Gp, b1 as Wp, ba as qp, bb as xc, bc as Vp, bd as Yp, be as Kp, bf as ia, bg as Jp, b2 as ki, bh as Ds, bi as yr, bj as Jl, bk as Qp, bl as Xp, bm as Zp, bn as eg, bo as tg, bp as ng, bq as ag, br as lg, bs as sg, bt as ig, bu as Ic, bv as rg, bw as $c, bx as Ac, by as og, bz as cg, bA as dg, bB as ug, bC as mg, bD as hg, y as rm, a3 as Lc, bE as Jo, bF as Qo, bG as xi, ap as pg, bH as gg, bI as fg, bJ as yg, bK as _g, bL as vg, bM as bg, bN as Ng, bO as Cg, bP as wg, bQ as Sg, bR as Tg, bS as kg, bT as xg, bU as Ec, bV as Ig, bW as om, bX as $g, bY as cm, bZ as Ag, h as Lg } from "./api-Ag31uvzx.js";
7
+ import { a as Oe, B as Me, b as Be, f as Ue, b2 as Ko, k as Tn, au as Mp, t as ot, i as Wl, b3 as Bp, b4 as Fp, b5 as Hp, af as Up, b6 as jp, b7 as Gp, a$ as Wp, b8 as qp, b9 as xc, ba as Vp, bb as Yp, bc as Kp, bd as ia, be as Jp, b0 as ki, bf as Ds, bg as yr, bh as Jl, bi as Qp, bj as Xp, bk as Zp, bl as eg, bm as tg, bn as ng, bo as ag, bp as lg, bq as sg, br as ig, bs as Ic, bt as rg, bu as $c, bv as Ac, bw as og, bx as cg, by as dg, bz as ug, bA as mg, bB as hg, w as rm, a1 as Lc, bC as Jo, bD as Qo, bE as xi, an as pg, bF as gg, bG as fg, bH as yg, bI as _g, bJ as vg, bK as bg, bL as Ng, bM as Cg, bN as wg, bO as Sg, bP as Tg, bQ as kg, bR as xg, bS as Ec, bT as Ig, bU as om, bV as $g, bW as cm, bX as Ag, e as Lg } from "./api-mKVq2JFi.js";
8
8
  import So from "react-markdown";
9
9
  import Eg from "rehype-highlight";
10
10
  import To from "remark-gfm";
11
- import { e as ko, u as Fi, f as dm, j as Ii, r as Dg, k as um, b as Rg, m as Og, l as mm, n as hm, o as pm, p as gm, q as zg, v as fm, s as Pg } from "./admin-logs-BUen5i5g.js";
12
- import { u as Lt } from "./useAppStore-kHxjSdse.js";
11
+ import { e as ko, u as Fi, f as dm, j as Ii, r as Dg, k as um, b as Rg, m as Og, l as mm, n as hm, o as pm, p as gm, q as zg, v as fm, s as Pg } from "./admin-logs-RkPVW5zJ.js";
12
+ import { u as Lt } from "./useAppStore-CL9gD6JS.js";
13
13
  /* empty css */
14
14
  import yt from "dayjs";
15
15
  import * as va from "echarts";
@@ -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-B62FfkZg.js";
3
- import { r as D, h as U, s as F } from "./sso-user-Cyw2nbfg.js";
3
+ import { r as D, h as U, s as F } from "./sso-user-BDYIn086.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 { g as V, h as X } from "./api-Ag31uvzx.js";
11
- import { u as s } from "./useAppStore-kHxjSdse.js";
10
+ import { d as V, e as X } from "./api-mKVq2JFi.js";
11
+ import { u as s } from "./useAppStore-CL9gD6JS.js";
12
12
  import { b as Y } from "./mobile-client-O3yr9h6t.js";
13
- import { s as Z } from "./send-default-agent-team-message-D7jJxHcZ.js";
13
+ import { s as Z } from "./send-default-agent-team-message-JTSAqt7M.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, c as v, u as F } from "./api-Ag31uvzx.js";
2
+ import { i as $, t as x, p as O, c as v, u as F } from "./api-mKVq2JFi.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 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-n-zwS8QM.js";
10
- import { u as w } from "./useAppStore-kHxjSdse.js";
9
+ import { l as Z, j as z, f as H, b as L, p as M } from "./instance-BNPgTp94.js";
10
+ import { u as w } from "./useAppStore-CL9gD6JS.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(
@@ -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-B62FfkZg.js";
3
- import { r as ne, h as X, s as oe } from "./sso-user-Cyw2nbfg.js";
3
+ import { r as ne, h as X, s as oe } from "./sso-user-BDYIn086.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 { v as he, g as be, h as _e } from "./api-Ag31uvzx.js";
11
- import { u as c } from "./useAppStore-kHxjSdse.js";
10
+ import { q as he, d as be, e as _e } from "./api-mKVq2JFi.js";
11
+ import { u as c } from "./useAppStore-CL9gD6JS.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-D7jJxHcZ.js";
14
+ import { a as ve, s as we } from "./send-default-agent-team-message-JTSAqt7M.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,8 +1,8 @@
1
1
  import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
2
2
  import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
3
- import { u as O } from "./useAppStore-kHxjSdse.js";
3
+ import { u as O } from "./useAppStore-CL9gD6JS.js";
4
4
  /* empty css */
5
- import { T as P, j as U } from "./api-Ag31uvzx.js";
5
+ import { T as P, g as U } from "./api-mKVq2JFi.js";
6
6
  async function y(o, s) {
7
7
  const n = await o.text().catch(() => "");
8
8
  let t = {};
@@ -92,7 +92,7 @@ async function J(o, s) {
92
92
  }
93
93
  const L = "dev_brain_scenario";
94
94
  function ee() {
95
- var E;
95
+ var M;
96
96
  const [o, s] = d([]), [n, t] = d(
97
97
  null
98
98
  ), [r, h] = d([]), [u, z] = d([]), [v, b] = d(""), [W, w] = d(!1), [g, S] = d(!1), [A, T] = d(""), C = F(null), { token: f } = O(), I = D(() => {
@@ -140,14 +140,14 @@ function ee() {
140
140
  } finally {
141
141
  w(!1);
142
142
  }
143
- }, j = async () => {
143
+ }, E = async () => {
144
144
  const e = v.trim();
145
145
  if (!e || !n) return;
146
146
  const c = u.filter((l) => l.memberType === "AGENT");
147
- let p, M = "TEXT";
147
+ let p, j = "TEXT";
148
148
  for (const l of c)
149
149
  if (e.includes(`@${l.displayName}`)) {
150
- p = String(l.id), M = "AT_AGENT";
150
+ p = String(l.id), j = "AT_AGENT";
151
151
  break;
152
152
  }
153
153
  b("");
@@ -156,7 +156,7 @@ function ee() {
156
156
  n.id,
157
157
  {
158
158
  content: e,
159
- message_type: M,
159
+ message_type: j,
160
160
  ...p ? { at_agent_ref_id: p } : {}
161
161
  },
162
162
  f || void 0
@@ -388,11 +388,11 @@ function ee() {
388
388
  maxHeight: 120,
389
389
  fontSize: 13
390
390
  },
391
- placeholder: x.length > 0 ? `Type message. @${(E = x[0]) == null ? void 0 : E.displayName} to mention agent.` : "Type message...",
391
+ placeholder: x.length > 0 ? `Type message. @${(M = x[0]) == null ? void 0 : M.displayName} to mention agent.` : "Type message...",
392
392
  value: v,
393
393
  onChange: (e) => b(e.target.value),
394
394
  onKeyDown: (e) => {
395
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), j());
395
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), E());
396
396
  }
397
397
  }
398
398
  ),
@@ -408,7 +408,7 @@ function ee() {
408
408
  cursor: "pointer",
409
409
  fontSize: 13
410
410
  },
411
- onClick: j,
411
+ onClick: E,
412
412
  children: "Send"
413
413
  }
414
414
  )