@yuku123/z-team-component 0.2.148 → 0.2.150

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 (50) hide show
  1. package/dist/{AdminModuleContent-BFi4YCXr.js → AdminModuleContent-O5drOJBl.js} +6 -6
  2. package/dist/{ChangeLogView-Bu22xWfz.js → ChangeLogView-CwPKws_S.js} +1 -1
  3. package/dist/{ComponentDoc-Bw107P3L.js → ComponentDoc-DXBIIuBr.js} +3 -3
  4. package/dist/{InvitationManagementPage-DF4kOWgv.js → InvitationManagementPage-CVOkiNNr.js} +1 -1
  5. package/dist/{OnboardingPage-FoWQg9gd.js → OnboardingPage-BC7_eqie.js} +2 -2
  6. package/dist/{ScheduledTasks-tvO8OREK.js → ScheduledTasks-CdRr2Rmp.js} +9 -9
  7. package/dist/{SettingsModal-BxpwlD4i.js → SettingsModal-xN0nNhHX.js} +4 -4
  8. package/dist/{SystemShell-CLZ81x3C.js → SystemShell-Bscs2wz-.js} +7 -7
  9. package/dist/{admin-logs-CLscIj5-.js → admin-logs-nJUAMtfw.js} +1 -1
  10. package/dist/{api-BfkA_Wc1.js → api-BRZ4hC-2.js} +1 -1
  11. package/dist/{api-CgRFBzUL.js → api-d0I7FOOw.js} +1 -1
  12. package/dist/{browser-Czj7vZY6.js → browser-QOQM4fjZ.js} +1 -1
  13. package/dist/{createWorkspaceWsHandler-DVP3B83h.js → createWorkspaceWsHandler-DIC7-34v.js} +3 -3
  14. package/dist/{index-Bg1tcZHa.js → index--wOWvYY8.js} +2 -2
  15. package/dist/{index-d6Ao3AP0.js → index-12jjhvM5.js} +2 -2
  16. package/dist/{index-hFYCnB6S.js → index-9XnVuMS4.js} +3 -3
  17. package/dist/{index-Dac_Ry1I.js → index-B9ysg0hE.js} +890 -916
  18. package/dist/{index-CsVha_wr.js → index-BEQtTwCA.js} +3 -3
  19. package/dist/{index-CB_wBSlf.js → index-BP1FDWmX.js} +2 -2
  20. package/dist/{index-CrvyuJ0a.js → index-BRBxhULH.js} +1 -1
  21. package/dist/{index-BYWkpqNe.js → index-CG2eLv5n.js} +1 -1
  22. package/dist/{index-Dgr29zvz.js → index-CTusRpm8.js} +2 -2
  23. package/dist/{index-o9KwVKPj.js → index-ChzbeXl7.js} +4 -4
  24. package/dist/{index-D1Rq-mB9.js → index-ClTGCi_d.js} +1 -1
  25. package/dist/{index-DtavrGub.js → index-CtqrlQyb.js} +2 -2
  26. package/dist/{index-CteZt4ZE.js → index-DW-NBBnX.js} +2 -2
  27. package/dist/{index-BVTKsvRj.js → index-DfFBAVY2.js} +295 -275
  28. package/dist/{index-Bpbc2fB_.js → index-DlTTmoyO.js} +1 -1
  29. package/dist/{index-DXB8lU2y.js → index-Do5vaiEd.js} +6 -6
  30. package/dist/index-DrDFy5jN.js +139 -0
  31. package/dist/{index-BhjWhnbj.js → index-DxNYyF2g.js} +1 -1
  32. package/dist/{index-DDuisRNA.js → index-LKLZ2YQy.js} +2 -2
  33. package/dist/{index-BA7GGTHu.js → index-QX7HF362.js} +1 -1
  34. package/dist/{index-DOlTjzyC.js → index-W9gACkva.js} +2 -2
  35. package/dist/{index-DnLFnLsF.js → index-Z48uIxZ4.js} +4 -4
  36. package/dist/{index-CPJe3vx2.js → index-c1lCbspt.js} +2 -2
  37. package/dist/{index-Dzc1CJYC.js → index-mhs0JDHA.js} +1 -1
  38. package/dist/{index-VaTZ5IMd.js → index-ov4e9RCP.js} +4 -4
  39. package/dist/{index-Bq2sbBmK.js → index-pAnm3EWC.js} +3 -3
  40. package/dist/index.js +1 -1
  41. package/dist/{instance-CPNBQlxi.js → instance-CA6SzNn2.js} +1 -1
  42. package/dist/{menuPermission-DjWWZsOB.js → menuPermission-BTSlI-_J.js} +3 -3
  43. package/dist/pages.js +1 -1
  44. package/dist/{send-default-agent-team-message-DnWamie_.js → send-default-agent-team-message-DScGPI4E.js} +1 -1
  45. package/dist/{spark-md5-B2XF9Wvv.js → spark-md5-DuEhrzBB.js} +1 -1
  46. package/dist/{training-Dcs3Xne4.js → training-D9Bzyimn.js} +1 -1
  47. package/dist/{webide-CevSK14h.js → webide-C2vqx_M2.js} +3 -3
  48. package/dist/z-team-component.css +1 -1
  49. package/package.json +1 -1
  50. package/dist/index-BlDMnzJF.js +0 -18
@@ -1,4 +1,4 @@
1
- import { a as h, f as _, B as N, G as A, t as g } from "./ComponentDoc-Bw107P3L.js";
1
+ import { a as h, f as _, B as N, G as A, t as g } from "./ComponentDoc-DXBIIuBr.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,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-CevSK14h.js";
2
+ import { S as On, P as An } from "./webide-C2vqx_M2.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-Bw107P3L.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-Dac_Ry1I.js";
8
- import { u as rn, i as ut, s as an, c as pt } from "./createWorkspaceWsHandler-DVP3B83h.js";
9
- import { h as ht, f as mt } from "./index-Bpbc2fB_.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-tvO8OREK.js";
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-DXBIIuBr.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-B9ysg0hE.js";
8
+ import { u as rn, i as ut, s as an, c as pt } from "./createWorkspaceWsHandler-DIC7-34v.js";
9
+ import { h as ht, f as mt } from "./index-DlTTmoyO.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-CdRr2Rmp.js";
11
11
  import { TodoTab as vt } from "@yuku123/z-task-component";
12
12
  const Ct = [
13
13
  "帮我排查一个线上问题",
@@ -0,0 +1,139 @@
1
+ import { jsxs as c, jsx as n } from "react/jsx-runtime";
2
+ import N, { useMemo as h, useState as v, useEffect as I } from "react";
3
+ import { BulbOutlined as x, DownOutlined as H, RightOutlined as A, AppstoreOutlined as $, BookOutlined as L, CodeOutlined as O } from "@ant-design/icons";
4
+ import { useNavigate as g, useLocation as w } from "react-router-dom";
5
+ import { menuSections as C, menuItems as P, appMeta as T, routes as E } from "@yuku123/z-cognition-component/pages";
6
+ import { menuItems as M, appMeta as R, routes as z } from "@yuku123/z-cognition-kb-component/pages";
7
+ import { menuItems as U, routes as W } from "@yuku123/z-cognition-indexer-component/pages";
8
+ const j = "_shell_k84qx_6", B = "_sidebar_k84qx_15", D = "_sidebarHeader_k84qx_26", K = "_sidebarHeaderIcon_k84qx_37", Z = "_menuList_k84qx_41", F = "_menuGroup_k84qx_48", J = "_menuGroupHeader_k84qx_53", Q = "_menuGroupHeaderOpen_k84qx_72", V = "_menuGroupHeaderActive_k84qx_83", X = "_menuGroupIcon_k84qx_87", Y = "_menuGroupLabel_k84qx_96", ee = "_menuGroupArrow_k84qx_101", ne = "_menuSubList_k84qx_107", te = "_menuSubItem_k84qx_114", se = "_menuItemOnPath_k84qx_147", oe = "_menuSubItemPill_k84qx_168", ue = "_menuSubItemActive_k84qx_184", me = "_menuSubItemIcon_k84qx_194", re = "_main_k84qx_210", ae = "_empty_k84qx_219", ce = "_emptyIcon_k84qx_229", ie = "_emptyText_k84qx_233", e = {
9
+ shell: j,
10
+ sidebar: B,
11
+ sidebarHeader: D,
12
+ sidebarHeaderIcon: K,
13
+ menuList: Z,
14
+ menuGroup: F,
15
+ menuGroupHeader: J,
16
+ menuGroupHeaderOpen: Q,
17
+ menuGroupHeaderActive: V,
18
+ menuGroupIcon: X,
19
+ menuGroupLabel: Y,
20
+ menuGroupArrow: ee,
21
+ menuSubList: ne,
22
+ menuSubItem: te,
23
+ menuItemOnPath: se,
24
+ menuSubItemPill: oe,
25
+ menuSubItemActive: ue,
26
+ menuSubItemIcon: me,
27
+ main: re,
28
+ empty: ae,
29
+ emptyIcon: ce,
30
+ emptyText: ie
31
+ }, i = [
32
+ { title: "知识管理", icon: /* @__PURE__ */ n(L, {}), items: M },
33
+ ...C || [
34
+ { title: "业务认知", icon: /* @__PURE__ */ n(x, {}), items: P }
35
+ ],
36
+ // 代码索引(2026-11-10 归纳):z-cognition 代码索引板块(原独立仓 z-indexer,收购后
37
+ // npm 包随之改名 @yuku123/z-cognition-indexer-component)前台四页,
38
+ // 与 admin「知识沉淀 → 知识认知 → 代码认知」同口径:前台查、后台管。
39
+ { title: "代码索引", icon: /* @__PURE__ */ n(O, {}), items: U }
40
+ ], b = [
41
+ ...z,
42
+ ...E,
43
+ ...W
44
+ ], le = "/z-kb/dashboard";
45
+ function de(u) {
46
+ const o = u.replace(/[.+^${}()|[\]\\]/g, "\\$&");
47
+ return new RegExp(
48
+ `^${o.replace(/:[A-Za-z0-9_]+\*/g, "(?:/.*)?").replace(/:[A-Za-z0-9_]+/g, "[^/]+")}$`
49
+ );
50
+ }
51
+ function pe(u) {
52
+ const o = b.find((t) => t.path === u);
53
+ if (o != null && o.Component) return o.Component;
54
+ for (const t of b)
55
+ if (t.Component) {
56
+ if (t.path.includes(":")) {
57
+ if (de(t.path).test(u)) return t.Component;
58
+ } else if (u.startsWith(t.path + "/"))
59
+ return t.Component;
60
+ }
61
+ return null;
62
+ }
63
+ function k(u) {
64
+ for (const o of i)
65
+ for (const t of o.items)
66
+ if (u === t.key || u.startsWith(t.key + "/")) return t.key;
67
+ return null;
68
+ }
69
+ function Se() {
70
+ var p, _;
71
+ const u = g(), { pathname: o } = w(), t = h(() => k(o), [o]), [f, l] = v(/* @__PURE__ */ new Set());
72
+ I(() => {
73
+ t && i.forEach((s) => {
74
+ s.items.some((m) => m.key === t) && l(
75
+ (m) => m.has(s.title) ? m : new Set(m).add(s.title)
76
+ );
77
+ });
78
+ }, [t]);
79
+ const S = (s) => {
80
+ l((m) => {
81
+ const r = new Set(m);
82
+ return r.has(s) ? r.delete(s) : r.add(s), r;
83
+ });
84
+ };
85
+ I(() => {
86
+ if (!k(o)) {
87
+ const { search: s } = window.location;
88
+ u(`${le}${s || ""}`, { replace: !0 });
89
+ }
90
+ }, [o, u]);
91
+ const d = h(() => pe(o), [o]);
92
+ return /* @__PURE__ */ c("div", { className: e.shell, children: [
93
+ /* @__PURE__ */ c("aside", { className: e.sidebar, children: [
94
+ /* @__PURE__ */ c("div", { className: e.sidebarHeader, children: [
95
+ /* @__PURE__ */ n("span", { className: e.sidebarHeaderIcon, children: /* @__PURE__ */ n(x, {}) }),
96
+ /* @__PURE__ */ n("span", { children: ((p = R) == null ? void 0 : p.title) ?? ((_ = T) == null ? void 0 : _.title) ?? "知识工作台" })
97
+ ] }),
98
+ /* @__PURE__ */ n("nav", { className: e.menuList, children: i.map((s) => {
99
+ const m = f.has(s.title), r = t ? s.items.findIndex((a) => a.key === t) : -1;
100
+ return /* @__PURE__ */ c("div", { className: e.menuGroup, children: [
101
+ /* @__PURE__ */ c(
102
+ "div",
103
+ {
104
+ className: `${e.menuGroupHeader} ${m ? e.menuGroupHeaderOpen : ""} ${r >= 0 ? e.menuGroupHeaderActive : ""}`,
105
+ onClick: () => S(s.title),
106
+ children: [
107
+ /* @__PURE__ */ n("span", { className: e.menuGroupIcon, children: s.icon }),
108
+ /* @__PURE__ */ n("span", { className: e.menuGroupLabel, children: s.title }),
109
+ /* @__PURE__ */ n("span", { className: e.menuGroupArrow, children: m ? /* @__PURE__ */ n(H, {}) : /* @__PURE__ */ n(A, {}) })
110
+ ]
111
+ }
112
+ ),
113
+ m && /* @__PURE__ */ n("ul", { className: e.menuSubList, children: s.items.map((a, G) => {
114
+ const y = r >= 0 && G <= r, q = t === a.key;
115
+ return /* @__PURE__ */ n(
116
+ "li",
117
+ {
118
+ className: `${e.menuSubItem} ${y ? e.menuItemOnPath : ""} ${q ? e.menuSubItemActive : ""}`,
119
+ onClick: () => u(a.key),
120
+ children: /* @__PURE__ */ c("div", { className: e.menuSubItemPill, children: [
121
+ a.icon ? /* @__PURE__ */ n("span", { className: e.menuSubItemIcon, children: a.icon }) : null,
122
+ /* @__PURE__ */ n("span", { children: a.label })
123
+ ] })
124
+ },
125
+ a.key
126
+ );
127
+ }) })
128
+ ] }, s.title);
129
+ }) })
130
+ ] }),
131
+ /* @__PURE__ */ n("main", { className: e.main, children: d ? /* @__PURE__ */ n(N.Suspense, { fallback: /* @__PURE__ */ n("div", { className: e.emptyText, children: "加载中…" }), children: /* @__PURE__ */ n(d, {}) }) : /* @__PURE__ */ c("div", { className: e.empty, children: [
132
+ /* @__PURE__ */ n("div", { className: e.emptyIcon, children: /* @__PURE__ */ n($, {}) }),
133
+ /* @__PURE__ */ n("div", { className: e.emptyText, children: "请从左侧选择认知模块" })
134
+ ] }) })
135
+ ] });
136
+ }
137
+ export {
138
+ Se as default
139
+ };
@@ -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-Bw107P3L.js";
6
+ import { a as J } from "./ComponentDoc-DXBIIuBr.js";
7
7
  function fe() {
8
8
  return typeof window > "u" ? !1 : window.ZTEAM_USE_KAPI === !0;
9
9
  }
@@ -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-DjWWZsOB.js";
7
- import { u as _ } from "./ComponentDoc-Bw107P3L.js";
6
+ import { f as T, M as E } from "./menuPermission-BTSlI-_J.js";
7
+ import { u as _ } from "./ComponentDoc-DXBIIuBr.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,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { C as r } from "./ChangeLogView-Bu22xWfz.js";
2
+ import { C as r } from "./ChangeLogView-CwPKws_S.js";
3
3
  function n() {
4
4
  return /* @__PURE__ */ e(r, { variant: "page" });
5
5
  }
@@ -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-Bw107P3L.js";
3
+ import { a as U, f as $, B, b as D, u as F } from "./ComponentDoc-DXBIIuBr.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-CsVha_wr.js";
9
+ import { M as na } from "./index-BEQtTwCA.js";
10
10
  function j(a) {
11
11
  return a ? `?token=${encodeURIComponent(a)}` : "";
12
12
  }
@@ -3,11 +3,11 @@ import { useNavigate as ue, useLocation as ae, Navigate as q } from "react-route
3
3
  import { useMemo as U, useState as h, useEffect as z, useRef as F, lazy as re } from "react";
4
4
  import { Spin as he, Row as ye, Col as W, Card as M, Statistic as K, Space as S, Tag as I, Button as v, Alert as V, Table as ge, Badge as oe, Popconfirm as B, message as w, Select as le, Drawer as fe, Tabs as ke, Form as N, Modal as be, Input as X, InputNumber as Z } from "antd";
5
5
  import { DashboardOutlined as Q, ClusterOutlined as J, CloudServerOutlined as D, ContainerOutlined as ce, ReloadOutlined as Y, PlayCircleOutlined as we, PauseCircleOutlined as xe, ClearOutlined as ie, SendOutlined as ve, PlusOutlined as Ce, BranchesOutlined as Pe, RocketOutlined as Se, AlertOutlined as Ie, FileTextOutlined as Re, DatabaseOutlined as ee, CloudOutlined as $e, DeploymentUnitOutlined as Oe } from "@ant-design/icons";
6
- import { P as Te, R as Ee } from "./index-Bg1tcZHa.js";
7
- import { f as Ae, M as Ne } from "./menuPermission-DjWWZsOB.js";
8
- import { u as te, a7 as _e } from "./ComponentDoc-Bw107P3L.js";
6
+ import { P as Te, R as Ee } from "./index--wOWvYY8.js";
7
+ import { f as Ae, M as Ne } from "./menuPermission-BTSlI-_J.js";
8
+ import { u as te, a7 as _e } from "./ComponentDoc-DXBIIuBr.js";
9
9
  import { SidebarShell as ze, MenuTree as De, ListTable as de } from "@yuku123/z-frontend-common/ui";
10
- import "./index-Dac_Ry1I.js";
10
+ import "./index-B9ysg0hE.js";
11
11
  const Fe = "_shell_rfl59_7", Me = "_main_rfl59_215", He = "_empty_rfl59_226", Le = "_emptyIcon_rfl59_236", Be = "_emptyText_rfl59_241", L = {
12
12
  shell: Fe,
13
13
  main: Me,
@@ -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-Bw107P3L.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-DXBIIuBr.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-DnWamie_.js";
12
+ import { a as ve, s as we } from "./send-default-agent-team-message-DScGPI4E.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,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-Bw107P3L.js";
3
+ import { u as m, g as L, r as T, k as N, l as q, m as R } from "./ComponentDoc-DXBIIuBr.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,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-Bw107P3L.js";
2
+ import { u as U, r as q, k as Q, l as V, m as X } from "./ComponentDoc-DXBIIuBr.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-Bpbc2fB_.js";
7
+ import { E as ce, h as ue } from "./index-DlTTmoyO.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-CLscIj5-.js";
11
- import de from "./AdminModuleContent-BFi4YCXr.js";
10
+ import { s as le } from "./admin-logs-nJUAMtfw.js";
11
+ import de from "./AdminModuleContent-O5drOJBl.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,
@@ -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-Dcs3Xne4.js";
7
- import { u as Ce, a8 as Kl } from "./ComponentDoc-Bw107P3L.js";
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-D9Bzyimn.js";
7
+ import { u as Ce, a8 as Kl } from "./ComponentDoc-DXBIIuBr.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-Bpbc2fB_.js";
14
+ import { h as Ql } from "./index-DlTTmoyO.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 { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-Bw107P3L.js";
1
+ import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-DXBIIuBr.js";
2
2
  import { h as m } from "./history-BlrA1eaW.js";
3
3
  export {
4
4
  e as ComponentDocPage,
@@ -1,4 +1,4 @@
1
- import { a, f as c, B as o, b as r } from "./ComponentDoc-Bw107P3L.js";
1
+ import { a, f as c, B as o, b as r } from "./ComponentDoc-DXBIIuBr.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-Bw107P3L.js";
4
- import { h as g } from "./index-Bpbc2fB_.js";
5
- import { N as A } from "./index-Dac_Ry1I.js";
3
+ import { u as d } from "./ComponentDoc-DXBIIuBr.js";
4
+ import { h as g } from "./index-DlTTmoyO.js";
5
+ import { N as A } from "./index-B9ysg0hE.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-Bw107P3L.js";
1
+ import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-DXBIIuBr.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";
@@ -1,4 +1,4 @@
1
- import { s as l } from "./ComponentDoc-Bw107P3L.js";
1
+ import { s as l } from "./ComponentDoc-DXBIIuBr.js";
2
2
  function m(o) {
3
3
  const n = o.filter((t) => t.member_type === "AGENT");
4
4
  return n.find((t) => t.is_default === !0) ?? n[0] ?? null;
@@ -1,4 +1,4 @@
1
- import { J as F } from "./ComponentDoc-Bw107P3L.js";
1
+ import { J as F } from "./ComponentDoc-DXBIIuBr.js";
2
2
  function L(l, d) {
3
3
  for (var y = 0; y < d.length; y++) {
4
4
  const s = d[y];
@@ -1,4 +1,4 @@
1
- import { a as g, f, B as y, b as m } from "./ComponentDoc-Bw107P3L.js";
1
+ import { a as g, f, B as y, b as m } from "./ComponentDoc-DXBIIuBr.js";
2
2
  function t(n, a = "") {
3
3
  const i = new URLSearchParams();
4
4
  Object.entries(n).forEach(([u, o]) => {
@@ -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-Bw107P3L.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-CLscIj5-.js";
11
- import { a as Da, f as Aa, c as Ra } from "./index-Bpbc2fB_.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-DXBIIuBr.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-nJUAMtfw.js";
11
+ import { a as Da, f as Aa, c as Ra } from "./index-DlTTmoyO.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";