@yuku123/z-team-component 0.2.29 → 0.2.31

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 (49) hide show
  1. package/dist/{ChangeLogView-CG-o5YP1.js → ChangeLogView-FLd1wS8H.js} +1 -1
  2. package/dist/ComponentDoc-CUhlRqDo.js +3843 -0
  3. package/dist/DebugPlayground-cxffrMgF.js +15 -0
  4. package/dist/{InvitationManagementPage-ByJuWwA_.js → InvitationManagementPage-DBAAQ3Qq.js} +90 -85
  5. package/dist/{OnboardingPage-D58h1JK_.js → OnboardingPage-zLHkQLok.js} +2 -2
  6. package/dist/SmartWorkbench.module-DzQskKT0.js +85 -0
  7. package/dist/SystemShell-yMCZOMUN.js +635 -0
  8. package/dist/{admin-logs-C2V1ElH9.js → admin-logs-Dv86pFvY.js} +2 -2
  9. package/dist/{api--Fg0hL9Y.js → api-19TXED_O.js} +52 -39
  10. package/dist/api-63lPU5Cs.js +20 -0
  11. package/dist/{createWorkspaceWsHandler-CqGqcTh_.js → createWorkspaceWsHandler-CBk4DqP4.js} +6 -5
  12. package/dist/{index-CDKg_qI5.js → index-B5_xKK08.js} +1140 -1153
  13. package/dist/{index-D2S8FrNc.js → index-BCBBZW4m.js} +358 -347
  14. package/dist/{index-D5u3BjCZ.js → index-BIJnjJd5.js} +2 -2
  15. package/dist/{index-bbwTcNjB.js → index-BTLD5gUt.js} +3 -3
  16. package/dist/{index-CiMxCTOS.js → index-B_EBV24V.js} +1 -1
  17. package/dist/{index-DOVOWiGU.js → index-BbjzrjsP.js} +1134 -1132
  18. package/dist/{index-BafC42Cl.js → index-Bd57t_yF.js} +1 -1
  19. package/dist/{index-C2aPiQSz.js → index-BjqYiZpC.js} +3 -3
  20. package/dist/{index-BaCiSbPR.js → index-BoGVJ0hC.js} +1 -1
  21. package/dist/{index-C01UUprh.js → index-BpuJ9Njb.js} +7016 -6946
  22. package/dist/index-C6vfXs2f.js +1329 -0
  23. package/dist/{index-CcFJEYgr.js → index-C815hPWS.js} +55 -52
  24. package/dist/{index-DvIHX7lZ.js → index-CcpWacSZ.js} +243 -236
  25. package/dist/index-CrC94bvI.js +169 -0
  26. package/dist/{index-Dky6GVc1.js → index-CwIgdJYL.js} +9 -9
  27. package/dist/{index-Da7ls5q6.js → index-DOPkM2W8.js} +6 -6
  28. package/dist/{index-CTD7k9dP.js → index-DYgD6BuB.js} +4 -4
  29. package/dist/{index-Da3doGtf.js → index-JMzBzwiO.js} +57 -54
  30. package/dist/{index-BwFEDHy3.js → index-VHvEmmhf.js} +5 -5
  31. package/dist/{index-CRac8IT2.js → index-icI-ZchA.js} +3 -3
  32. package/dist/{index-Dao4uqQd.js → index-x4-W5ClM.js} +4 -4
  33. package/dist/index.js +7 -6
  34. package/dist/{instance-1QEDBRqA.js → instance-D951fRuD.js} +1 -1
  35. package/dist/pages.js +13 -9
  36. package/dist/{schedule-C89oiqIR.js → schedule-DD50-7cs.js} +1 -1
  37. package/dist/{send-default-agent-team-message-CxkWi3XC.js → send-default-agent-team-message-Bbs2rMNf.js} +1 -1
  38. package/dist/{sso-user-BE1Ell5F.js → sso-user-BEY5ICaR.js} +1 -1
  39. package/dist/{training-o-vSBkqP.js → training-B-9tNFQw.js} +1 -1
  40. package/dist/{useAppStore-wgWaxcyc.js → useAppStore-BQN-26ns.js} +1 -1
  41. package/dist/{webide-BxD6cYe-.js → webide-P867RFZi.js} +4 -4
  42. package/dist/z-team-component.css +1 -1
  43. package/package.json +2 -2
  44. package/dist/ProjectApp-oUbzb0Io.js +0 -3818
  45. package/dist/SmartWorkbench.module-xRRmpTTw.js +0 -85
  46. package/dist/SystemShell-D4mGsT0X.js +0 -604
  47. package/dist/api-3-Ykp2ll.js +0 -19
  48. package/dist/index-B8mNsH88.js +0 -1411
  49. package/dist/index-DYDba1NC.js +0 -187
@@ -1,8 +1,8 @@
1
- import { jsx as e, jsxs as i, Fragment as pe } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as i, Fragment as be } from "react/jsx-runtime";
2
2
  import { ThunderboltOutlined as se, UpOutlined as Ie, DownOutlined as Se, LinkOutlined as $e, CopyOutlined as Te, EditOutlined as we, DeleteOutlined as ge, BranchesOutlined as Ae, HistoryOutlined as Ee, ReloadOutlined as xe, PlusOutlined as j, FileImageOutlined as De } from "@ant-design/icons";
3
- import { useState as b, useEffect as F, useCallback as re, useMemo as ne, useRef as fe } from "react";
3
+ import { useState as p, useEffect as F, useCallback as re, useMemo as ne, useRef as fe } from "react";
4
4
  import _e from "axios";
5
- import { Empty as le, Modal as X, Select as q, Input as ee, Form as D, Col as Z, Row as be, Space as oe, Dropdown as ke, Popconfirm as ye, Tag as H, Descriptions as Re, Card as Le, Table as He, Tree as Oe, Button as O, Tooltip as Be, Spin as Ue } from "antd";
5
+ import { Empty as le, Modal as X, Select as q, Input as ee, Form as D, Col as Z, Row as pe, Space as oe, Dropdown as ke, Popconfirm as ye, Tag as H, Descriptions as Re, Card as Le, Table as He, Tree as Oe, Button as O, Tooltip as Be, Spin as Ue } from "antd";
6
6
  const Me = {
7
7
  PageHeader: ({ title: a, subtitle: c }) => /* @__PURE__ */ i("div", { style: { marginBottom: 12 }, children: [
8
8
  /* @__PURE__ */ e("h2", { style: { margin: 0 }, children: a }),
@@ -13,7 +13,7 @@ const Me = {
13
13
  domains: c = [],
14
14
  selectedTenant: n,
15
15
  selectedDomain: h,
16
- onTenantChange: p,
16
+ onTenantChange: b,
17
17
  onDomainChange: d
18
18
  }) => /* @__PURE__ */ i(oe, { style: { marginBottom: 12 }, children: [
19
19
  /* @__PURE__ */ e("span", { style: { color: "#666" }, children: "租户" }),
@@ -21,7 +21,7 @@ const Me = {
21
21
  q,
22
22
  {
23
23
  value: n,
24
- onChange: p,
24
+ onChange: b,
25
25
  style: { minWidth: 160 },
26
26
  options: a,
27
27
  placeholder: "请选择租户"
@@ -50,7 +50,7 @@ const Me = {
50
50
  Dropdown: (a) => /* @__PURE__ */ e(ke, { ...a }),
51
51
  Empty: (a) => /* @__PURE__ */ e(le, { ...a }),
52
52
  Space: (a) => /* @__PURE__ */ e(oe, { ...a }),
53
- Row: (a) => /* @__PURE__ */ e(be, { ...a }),
53
+ Row: (a) => /* @__PURE__ */ e(pe, { ...a }),
54
54
  Col: (a) => /* @__PURE__ */ e(Z, { ...a }),
55
55
  FormItem: ({ label: a, children: c, ...n }) => /* @__PURE__ */ e(D.Item, { label: a, ...n, children: c }),
56
56
  Input: (a) => /* @__PURE__ */ e(ee, { ...a }),
@@ -60,13 +60,13 @@ const Me = {
60
60
  };
61
61
  function ze({ node: a, highlightId: c, onElementClick: n }) {
62
62
  var d;
63
- const h = Me[a.type] || (() => null), p = c === a.id;
63
+ const h = Me[a.type] || (() => null), b = c === a.id;
64
64
  return /* @__PURE__ */ e(
65
65
  "div",
66
66
  {
67
67
  "data-node-id": a.id,
68
68
  "data-node-type": a.type,
69
- className: `manuscript-node ${p ? "manuscript-node-highlight" : ""}`,
69
+ className: `manuscript-node ${b ? "manuscript-node-highlight" : ""}`,
70
70
  onClick: (l) => {
71
71
  l.stopPropagation(), n == null || n(a);
72
72
  },
@@ -103,11 +103,11 @@ function je({
103
103
  isHighlighted: c,
104
104
  chainData: n,
105
105
  onEdit: h,
106
- onDelete: p,
106
+ onDelete: b,
107
107
  onClick: d,
108
108
  onEffectClick: l
109
109
  }) {
110
- const [_, r] = b(!1), f = n != null && n.triggerInfo ? Ne(n.triggerInfo, {}) : null, N = n != null && n.crossPageEffects ? Ne(n.crossPageEffects, []) : [];
110
+ const [_, r] = p(!1), f = n != null && n.triggerInfo ? Ne(n.triggerInfo, {}) : null, N = n != null && n.crossPageEffects ? Ne(n.crossPageEffects, []) : [];
111
111
  return /* @__PURE__ */ i(
112
112
  "div",
113
113
  {
@@ -203,7 +203,7 @@ function je({
203
203
  children: "编辑"
204
204
  }
205
205
  ),
206
- /* @__PURE__ */ e(ye, { title: "确认删除此 case?", onConfirm: () => p == null ? void 0 : p(a), children: /* @__PURE__ */ e(O, { size: "small", danger: !0, icon: /* @__PURE__ */ e(ge, {}), children: "删除" }) })
206
+ /* @__PURE__ */ e(ye, { title: "确认删除此 case?", onConfirm: () => b == null ? void 0 : b(a), children: /* @__PURE__ */ e(O, { size: "small", danger: !0, icon: /* @__PURE__ */ e(ge, {}), children: "删除" }) })
207
207
  ] })
208
208
  ] })
209
209
  ]
@@ -223,7 +223,7 @@ function Ge({
223
223
  initialCase: c,
224
224
  bizOptions: n = [],
225
225
  designNodes: h = [],
226
- onCancel: p,
226
+ onCancel: b,
227
227
  onSubmit: d
228
228
  }) {
229
229
  const [l] = D.useForm();
@@ -252,12 +252,12 @@ function Ge({
252
252
  {
253
253
  open: a,
254
254
  title: c ? `编辑 case: ${c.caseId}` : "新增 case",
255
- onCancel: p,
255
+ onCancel: b,
256
256
  onOk: _,
257
257
  okText: "保存 (commit)",
258
258
  destroyOnHidden: !0,
259
259
  children: /* @__PURE__ */ i(D, { form: l, layout: "vertical", children: [
260
- /* @__PURE__ */ i(be, { gutter: 16, children: [
260
+ /* @__PURE__ */ i(pe, { gutter: 16, children: [
261
261
  /* @__PURE__ */ e(Z, { span: 12, children: /* @__PURE__ */ e(
262
262
  D.Item,
263
263
  {
@@ -299,7 +299,7 @@ function Ge({
299
299
  5. 观察 5 个页面联动`
300
300
  }
301
301
  ) }),
302
- /* @__PURE__ */ i(be, { gutter: 16, children: [
302
+ /* @__PURE__ */ i(pe, { gutter: 16, children: [
303
303
  /* @__PURE__ */ e(Z, { span: 8, children: /* @__PURE__ */ e(D.Item, { name: "priority", label: "优先级", initialValue: "P1", children: /* @__PURE__ */ e(q, { options: [
304
304
  { value: "P0", label: "P0 紧急" },
305
305
  { value: "P1", label: "P1 重要" },
@@ -335,7 +335,7 @@ k.interceptors.response.use(
335
335
  (a) => (console.error("[ManuscriptView]", a), Promise.reject(a))
336
336
  );
337
337
  function Ve({ productCode: a, pageCode: c }) {
338
- const [n, h] = b(null), [p, d] = b(null), [l, _] = b([]), [r, f] = b([]), [N, v] = b([]), [P, $] = b("main"), [K, w] = b(null), [G, A] = b(null), [R, E] = b(!1), [S, T] = b(null), [x, V] = b(!1), [te, B] = b(!1), [U, Y] = b(""), [u, o] = b(!1), s = re(async () => {
338
+ const [n, h] = p(null), [b, d] = p(null), [l, _] = p([]), [r, f] = p([]), [N, v] = p([]), [P, $] = p("main"), [K, w] = p(null), [G, A] = p(null), [R, E] = p(!1), [S, T] = p(null), [x, V] = p(!1), [te, B] = p(!1), [U, Y] = p(""), [u, o] = p(!1), s = re(async () => {
339
339
  o(!0);
340
340
  try {
341
341
  const [m, g, z, I, ue] = await Promise.all([
@@ -370,13 +370,13 @@ function Ve({ productCode: a, pageCode: c }) {
370
370
  return [];
371
371
  }
372
372
  }, [n]), J = ne(() => {
373
- if (!(p != null && p.renderTree)) return [];
373
+ if (!(b != null && b.renderTree)) return [];
374
374
  try {
375
- return JSON.parse(p.renderTree);
375
+ return JSON.parse(b.renderTree);
376
376
  } catch {
377
377
  return [];
378
378
  }
379
- }, [p]), L = ne(() => {
379
+ }, [b]), L = ne(() => {
380
380
  const m = [];
381
381
  function g(z) {
382
382
  for (const I of z || [])
@@ -455,7 +455,7 @@ function Ve({ productCode: a, pageCode: c }) {
455
455
  X.error({ title: "创建分支失败", content: g == null ? void 0 : g.message });
456
456
  }
457
457
  };
458
- return u && !n && !p ? /* @__PURE__ */ i("div", { style: { textAlign: "center", padding: 40 }, children: [
458
+ return u && !n && !b ? /* @__PURE__ */ i("div", { style: { textAlign: "center", padding: 40 }, children: [
459
459
  /* @__PURE__ */ e(Ue, {}),
460
460
  " 加载中..."
461
461
  ] }) : /* @__PURE__ */ i("div", { className: "manuscript-view", children: [
@@ -528,7 +528,7 @@ function Ve({ productCode: a, pageCode: c }) {
528
528
  /* @__PURE__ */ i("div", { className: "design-header", children: [
529
529
  /* @__PURE__ */ i("h3", { children: [
530
530
  "🎨 设计稿件",
531
- (p == null ? void 0 : p.title) && /* @__PURE__ */ e("small", { style: { marginLeft: 8, color: "#888" }, children: p.title })
531
+ (b == null ? void 0 : b.title) && /* @__PURE__ */ e("small", { style: { marginLeft: 8, color: "#888" }, children: b.title })
532
532
  ] }),
533
533
  /* @__PURE__ */ i("span", { style: { color: "#888", fontSize: 12 }, children: [
534
534
  L.length,
@@ -611,7 +611,7 @@ function Ve({ productCode: a, pageCode: c }) {
611
611
  )
612
612
  ] });
613
613
  }
614
- const Je = "_container_1c2b1_6", We = "_sidebar_1c2b1_15", Xe = "_sidebarHeader_1c2b1_25", Ke = "_productList_1c2b1_37", Ye = "_productItem_1c2b1_43", Qe = "_productItemActive_1c2b1_57", Ze = "_productItemName_1c2b1_62", et = "_productItemCode_1c2b1_68", tt = "_productItemStatus_1c2b1_73", at = "_emptyHint_1c2b1_84", it = "_main_1c2b1_92", nt = "_productHeader_1c2b1_100", st = "_productTitle_1c2b1_109", ct = "_productCode_1c2b1_115", rt = "_tabBar_1c2b1_122", lt = "_tab_1c2b1_122", ot = "_tabActive_1c2b1_142", dt = "_tabContent_1c2b1_148", mt = "_formGroup_1c2b1_155", ht = "_formLabel_1c2b1_163", ut = "_formInput_1c2b1_171", bt = "_formTextarea_1c2b1_172", pt = "_designGrid_1c2b1_189", gt = "_designCard_1c2b1_195", _t = "_designImage_1c2b1_202", ft = "_designInfo_1c2b1_209", Nt = "_designName_1c2b1_213", vt = "_designDesc_1c2b1_220", yt = "_designActions_1c2b1_225", zt = "_designLink_1c2b1_233", Ct = "_table_1c2b1_244", Pt = "_empty_1c2b1_84", It = "_btn_1c2b1_284", St = "_btnPrimary_1c2b1_300", $t = "_btnDanger_1c2b1_311", Tt = "_toolbar_1c2b1_321", wt = "_priority_1c2b1_329", At = "_priorityP0_1c2b1_337", Et = "_priorityP1_1c2b1_342", xt = "_priorityP2_1c2b1_347", Dt = "_priorityP3_1c2b1_352", kt = "_status_1c2b1_357", Rt = "_statusActive_1c2b1_367", Lt = "_statusDone_1c2b1_372", Ht = "_featureNo_1c2b1_377", Ot = "_spinner_1c2b1_386", Bt = "_modal_1c2b1_394", Ut = "_modalBody_1c2b1_404", Mt = "_modalTitle_1c2b1_413", qt = "_modalActions_1c2b1_420", Ft = "_bizLayout_1c2b1_430", jt = "_bizList_1c2b1_437", Gt = "_bizFilter_1c2b1_448", Vt = "_bizFilterHint_1c2b1_454", Jt = "_bizListHeader_1c2b1_459", Wt = "_bizItem_1c2b1_467", Xt = "_bizItemActive_1c2b1_481", Kt = "_bizItemHeader_1c2b1_487", Yt = "_bizItemTitle_1c2b1_494", Qt = "_bizItemStatus_1c2b1_504", Zt = "_bizItemSummary_1c2b1_512", ea = "_bizItemMeta_1c2b1_522", ta = "_bizItemDot_1c2b1_527", aa = "_bizDetail_1c2b1_531", ia = "_bizDetailHeader_1c2b1_537", na = "_bizDetailTitle_1c2b1_543", sa = "_bizDetailCode_1c2b1_550", ca = "_bizSection_1c2b1_556", ra = "_bizSectionTitle_1c2b1_560", la = "_bizTriggerCard_1c2b1_570", oa = "_bizEffects_1c2b1_580", da = "_bizEffectCard_1c2b1_586", ma = "_bizEffectPage_1c2b1_595", ha = "_bizEffectArrow_1c2b1_602", ua = "_bizEffectPageCode_1c2b1_608", ba = "_bizEffectDelay_1c2b1_618", pa = "_bizEffectType_1c2b1_626", ga = "_bizEffectDesc_1c2b1_633", _a = "_bizStory_1c2b1_638", fa = "_chatLayout_1c2b1_657", Na = "_chatHeader_1c2b1_666", va = "_chatSessionSelect_1c2b1_673", ya = "_chatHint_1c2b1_683", za = "_chatBody_1c2b1_689", Ca = "_chatEmpty_1c2b1_699", Pa = "_msgRow_1c2b1_707", Ia = "_msgRowUser_1c2b1_714", Sa = "_bubble_1c2b1_718", $a = "_bubbleUser_1c2b1_728", Ta = "_bubbleAssistant_1c2b1_734", wa = "_streamingCursor_1c2b1_741", Aa = "_proposalCard_1c2b1_752", Ea = "_proposalHead_1c2b1_764", xa = "_proposalBadge_1c2b1_771", Da = "_proposalType_1c2b1_779", ka = "_proposalActions_1c2b1_785", Ra = "_proposalAccepted_1c2b1_791", La = "_proposalRejected_1c2b1_797", Ha = "_proposalPreview_1c2b1_803", Oa = "_chatError_1c2b1_813", Ba = "_chatInputRow_1c2b1_822", Ua = "_chatTextarea_1c2b1_828", t = {
614
+ const Je = "_container_1c2b1_6", We = "_sidebar_1c2b1_15", Xe = "_sidebarHeader_1c2b1_25", Ke = "_productList_1c2b1_37", Ye = "_productItem_1c2b1_43", Qe = "_productItemActive_1c2b1_57", Ze = "_productItemName_1c2b1_62", et = "_productItemCode_1c2b1_68", tt = "_productItemStatus_1c2b1_73", at = "_emptyHint_1c2b1_84", it = "_main_1c2b1_92", nt = "_productHeader_1c2b1_100", st = "_productTitle_1c2b1_109", ct = "_productCode_1c2b1_115", rt = "_tabBar_1c2b1_122", lt = "_tab_1c2b1_122", ot = "_tabActive_1c2b1_142", dt = "_tabContent_1c2b1_148", mt = "_formGroup_1c2b1_155", ht = "_formLabel_1c2b1_163", ut = "_formInput_1c2b1_171", pt = "_formTextarea_1c2b1_172", bt = "_designGrid_1c2b1_189", gt = "_designCard_1c2b1_195", _t = "_designImage_1c2b1_202", ft = "_designInfo_1c2b1_209", Nt = "_designName_1c2b1_213", vt = "_designDesc_1c2b1_220", yt = "_designActions_1c2b1_225", zt = "_designLink_1c2b1_233", Ct = "_table_1c2b1_244", Pt = "_empty_1c2b1_84", It = "_btn_1c2b1_284", St = "_btnPrimary_1c2b1_300", $t = "_btnDanger_1c2b1_311", Tt = "_toolbar_1c2b1_321", wt = "_priority_1c2b1_329", At = "_priorityP0_1c2b1_337", Et = "_priorityP1_1c2b1_342", xt = "_priorityP2_1c2b1_347", Dt = "_priorityP3_1c2b1_352", kt = "_status_1c2b1_357", Rt = "_statusActive_1c2b1_367", Lt = "_statusDone_1c2b1_372", Ht = "_featureNo_1c2b1_377", Ot = "_spinner_1c2b1_386", Bt = "_modal_1c2b1_394", Ut = "_modalBody_1c2b1_404", Mt = "_modalTitle_1c2b1_413", qt = "_modalActions_1c2b1_420", Ft = "_bizLayout_1c2b1_430", jt = "_bizList_1c2b1_437", Gt = "_bizFilter_1c2b1_448", Vt = "_bizFilterHint_1c2b1_454", Jt = "_bizListHeader_1c2b1_459", Wt = "_bizItem_1c2b1_467", Xt = "_bizItemActive_1c2b1_481", Kt = "_bizItemHeader_1c2b1_487", Yt = "_bizItemTitle_1c2b1_494", Qt = "_bizItemStatus_1c2b1_504", Zt = "_bizItemSummary_1c2b1_512", ea = "_bizItemMeta_1c2b1_522", ta = "_bizItemDot_1c2b1_527", aa = "_bizDetail_1c2b1_531", ia = "_bizDetailHeader_1c2b1_537", na = "_bizDetailTitle_1c2b1_543", sa = "_bizDetailCode_1c2b1_550", ca = "_bizSection_1c2b1_556", ra = "_bizSectionTitle_1c2b1_560", la = "_bizTriggerCard_1c2b1_570", oa = "_bizEffects_1c2b1_580", da = "_bizEffectCard_1c2b1_586", ma = "_bizEffectPage_1c2b1_595", ha = "_bizEffectArrow_1c2b1_602", ua = "_bizEffectPageCode_1c2b1_608", pa = "_bizEffectDelay_1c2b1_618", ba = "_bizEffectType_1c2b1_626", ga = "_bizEffectDesc_1c2b1_633", _a = "_bizStory_1c2b1_638", fa = "_chatLayout_1c2b1_657", Na = "_chatHeader_1c2b1_666", va = "_chatSessionSelect_1c2b1_673", ya = "_chatHint_1c2b1_683", za = "_chatBody_1c2b1_689", Ca = "_chatEmpty_1c2b1_699", Pa = "_msgRow_1c2b1_707", Ia = "_msgRowUser_1c2b1_714", Sa = "_bubble_1c2b1_718", $a = "_bubbleUser_1c2b1_728", Ta = "_bubbleAssistant_1c2b1_734", wa = "_streamingCursor_1c2b1_741", Aa = "_proposalCard_1c2b1_752", Ea = "_proposalHead_1c2b1_764", xa = "_proposalBadge_1c2b1_771", Da = "_proposalType_1c2b1_779", ka = "_proposalActions_1c2b1_785", Ra = "_proposalAccepted_1c2b1_791", La = "_proposalRejected_1c2b1_797", Ha = "_proposalPreview_1c2b1_803", Oa = "_chatError_1c2b1_813", Ba = "_chatInputRow_1c2b1_822", Ua = "_chatTextarea_1c2b1_828", t = {
615
615
  container: Je,
616
616
  sidebar: We,
617
617
  sidebarHeader: Xe,
@@ -633,8 +633,8 @@ const Je = "_container_1c2b1_6", We = "_sidebar_1c2b1_15", Xe = "_sidebarHeader_
633
633
  formGroup: mt,
634
634
  formLabel: ht,
635
635
  formInput: ut,
636
- formTextarea: bt,
637
- designGrid: pt,
636
+ formTextarea: pt,
637
+ designGrid: bt,
638
638
  designCard: gt,
639
639
  designImage: _t,
640
640
  designInfo: ft,
@@ -687,8 +687,8 @@ const Je = "_container_1c2b1_6", We = "_sidebar_1c2b1_15", Xe = "_sidebarHeader_
687
687
  bizEffectPage: ma,
688
688
  bizEffectArrow: ha,
689
689
  bizEffectPageCode: ua,
690
- bizEffectDelay: ba,
691
- bizEffectType: pa,
690
+ bizEffectDelay: pa,
691
+ bizEffectType: ba,
692
692
  bizEffectDesc: ga,
693
693
  bizStory: _a,
694
694
  chatLayout: fa,
@@ -726,7 +726,10 @@ const Ma = {
726
726
  description: "业务描述",
727
727
  requirement: "业务需求",
728
728
  design: "设计稿",
729
- biz_understanding: "业务理解稿件"
729
+ biz_understanding: "业务理解稿件",
730
+ glossary: "统一语言术语",
731
+ concept: "领域概念",
732
+ scenario: "用户链路场景"
730
733
  };
731
734
  function ve(a) {
732
735
  return a.replace(/<proposal[\s\S]*?<\/proposal>/g, "").trim();
@@ -763,10 +766,10 @@ function ja({
763
766
  productName: c,
764
767
  onArtifactChanged: n
765
768
  }) {
766
- const [h, p] = b([]), [d, l] = b(null), [_, r] = b([]), [f, N] = b([]), [v, P] = b(""), [$, K] = b(!1), [w, G] = b(""), [A, R] = b(""), E = fe(null), S = fe(null), T = re(async () => {
769
+ const [h, b] = p([]), [d, l] = p(null), [_, r] = p([]), [f, N] = p([]), [v, P] = p(""), [$, K] = p(!1), [w, G] = p(""), [A, R] = p(""), E = fe(null), S = fe(null), T = re(async () => {
767
770
  try {
768
771
  const u = await W.get(`/product/${a}/chat/sessions`), o = (u == null ? void 0 : u.data) || [];
769
- p(o), l(
772
+ b(o), l(
770
773
  (s) => s && o.some((y) => y.id === s) ? s : o.length > 0 ? o[0].id : null
771
774
  );
772
775
  } catch (u) {
@@ -823,7 +826,7 @@ function ja({
823
826
  `/api/product/${a}/chat/sessions/${d}/chat/stream`,
824
827
  {
825
828
  method: "POST",
826
- headers: { "Content-Type": "application/json" },
829
+ headers: { Accept: "text/event-stream", "Content-Type": "application/json" },
827
830
  body: JSON.stringify({ message: u }),
828
831
  signal: o.signal
829
832
  }
@@ -914,7 +917,7 @@ function ja({
914
917
  /* @__PURE__ */ e("p", { children: "新建产品后就可以开聊了。" }),
915
918
  /* @__PURE__ */ e("p", { children: "把产品想成什么聊什么:愿景、用户、需求、设计,聊清楚的会沉淀下来。" }),
916
919
  /* @__PURE__ */ e("button", { className: `${t.btn} ${t.btnPrimary}`, onClick: V, children: "开聊" })
917
- ] }) : /* @__PURE__ */ i(pe, { children: [
920
+ ] }) : /* @__PURE__ */ i(be, { children: [
918
921
  _.map(
919
922
  (u) => u.role === "user" ? /* @__PURE__ */ e("div", { className: `${t.msgRow} ${t.msgRowUser}`, children: /* @__PURE__ */ e("div", { className: `${t.bubble} ${t.bubbleUser}`, children: u.content }) }, u.id) : /* @__PURE__ */ i("div", { className: t.msgRow, children: [
920
923
  /* @__PURE__ */ e("div", { className: `${t.bubble} ${t.bubbleAssistant}`, children: ve(u.content) || "(本条为提案输出)" }),
@@ -975,10 +978,10 @@ function Ga({
975
978
  proposal: a,
976
979
  onDecide: c
977
980
  }) {
978
- const n = qa(a.payload), h = Ma[a.proposalType] || a.proposalType, p = a.action === "CREATE";
981
+ const n = qa(a.payload), h = Ma[a.proposalType] || a.proposalType, b = a.action === "CREATE";
979
982
  return /* @__PURE__ */ i("div", { className: t.proposalCard, children: [
980
983
  /* @__PURE__ */ i("div", { className: t.proposalHead, children: [
981
- /* @__PURE__ */ e("span", { className: t.proposalBadge, children: p ? "新增" : "更新" }),
984
+ /* @__PURE__ */ e("span", { className: t.proposalBadge, children: b ? "新增" : "更新" }),
982
985
  /* @__PURE__ */ e("span", { className: t.proposalType, children: h }),
983
986
  a.status === "PENDING" && /* @__PURE__ */ i("span", { className: t.proposalActions, children: [
984
987
  /* @__PURE__ */ e(
@@ -1013,7 +1016,7 @@ C.interceptors.response.use(
1013
1016
  (a) => (console.error("[ProductWorkbench] request failed", a), Promise.reject(a))
1014
1017
  );
1015
1018
  function si() {
1016
- const [a, c] = b([]), [n, h] = b(null), [p, d] = b(!1), [l, _] = b("chat"), [r, f] = b([]), [N, v] = b([]), [P, $] = b([]), [K, w] = b([]), [G, A] = b(!1), [R, E] = b(!1), [S, T] = b(!1), x = re(async () => {
1019
+ const [a, c] = p([]), [n, h] = p(null), [b, d] = p(!1), [l, _] = p("chat"), [r, f] = p([]), [N, v] = p([]), [P, $] = p([]), [K, w] = p([]), [G, A] = p(!1), [R, E] = p(!1), [S, T] = p(!1), x = re(async () => {
1017
1020
  d(!0);
1018
1021
  try {
1019
1022
  const o = await C.get("/product/list"), s = (o == null ? void 0 : o.data) || [];
@@ -1082,7 +1085,7 @@ function si() {
1082
1085
  console.error(o);
1083
1086
  }
1084
1087
  };
1085
- return p ? /* @__PURE__ */ e("div", { className: t.spinner, children: "加载中..." }) : /* @__PURE__ */ i("div", { className: t.container, children: [
1088
+ return b ? /* @__PURE__ */ e("div", { className: t.spinner, children: "加载中..." }) : /* @__PURE__ */ i("div", { className: t.container, children: [
1086
1089
  /* @__PURE__ */ i("aside", { className: t.sidebar, children: [
1087
1090
  /* @__PURE__ */ e("div", { className: t.sidebarHeader, children: /* @__PURE__ */ i(
1088
1091
  "button",
@@ -1110,7 +1113,7 @@ function si() {
1110
1113
  o.productCode
1111
1114
  )) })
1112
1115
  ] }),
1113
- /* @__PURE__ */ e("main", { className: t.main, children: n ? /* @__PURE__ */ i(pe, { children: [
1116
+ /* @__PURE__ */ e("main", { className: t.main, children: n ? /* @__PURE__ */ i(be, { children: [
1114
1117
  /* @__PURE__ */ i("div", { className: t.productHeader, children: [
1115
1118
  /* @__PURE__ */ i("div", { children: [
1116
1119
  /* @__PURE__ */ e("span", { className: t.productTitle, children: n.name }),
@@ -1270,7 +1273,7 @@ function Va({
1270
1273
  product: a,
1271
1274
  onSave: c
1272
1275
  }) {
1273
- const [n, h] = b(a.name), [p, d] = b(a.vision || ""), [l, _] = b(a.targetUsers || ""), [r, f] = b(a.description || "");
1276
+ const [n, h] = p(a.name), [b, d] = p(a.vision || ""), [l, _] = p(a.targetUsers || ""), [r, f] = p(a.description || "");
1274
1277
  return F(() => {
1275
1278
  h(a.name), d(a.vision || ""), _(a.targetUsers || ""), f(a.description || "");
1276
1279
  }, [a]), /* @__PURE__ */ i("div", { className: t.formGroup, children: [
@@ -1288,7 +1291,7 @@ function Va({
1288
1291
  "textarea",
1289
1292
  {
1290
1293
  className: t.formTextarea,
1291
- value: p,
1294
+ value: b,
1292
1295
  onChange: (N) => d(N.target.value),
1293
1296
  placeholder: "描述这个产品要解决什么问题..."
1294
1297
  }
@@ -1320,7 +1323,7 @@ function Va({
1320
1323
  "button",
1321
1324
  {
1322
1325
  className: `${t.btn} ${t.btnPrimary}`,
1323
- onClick: () => c({ name: n, vision: p, targetUsers: l, description: r }),
1326
+ onClick: () => c({ name: n, vision: b, targetUsers: l, description: r }),
1324
1327
  children: "保存"
1325
1328
  }
1326
1329
  )
@@ -1380,7 +1383,7 @@ function Wa({
1380
1383
  onAdd: c,
1381
1384
  onDelete: n
1382
1385
  }) {
1383
- const h = (d) => d === "P0" ? t.priorityP0 : d === "P1" ? t.priorityP1 : d === "P2" ? t.priorityP2 : t.priorityP3, p = (d) => d === "IN_PROGRESS" ? t.statusActive : d === "DONE" ? t.statusDone : "";
1386
+ const h = (d) => d === "P0" ? t.priorityP0 : d === "P1" ? t.priorityP1 : d === "P2" ? t.priorityP2 : t.priorityP3, b = (d) => d === "IN_PROGRESS" ? t.statusActive : d === "DONE" ? t.statusDone : "";
1384
1387
  return /* @__PURE__ */ i("div", { children: [
1385
1388
  /* @__PURE__ */ i("div", { className: t.toolbar, children: [
1386
1389
  /* @__PURE__ */ i("h3", { style: { margin: 0, fontSize: 14 }, children: [
@@ -1405,7 +1408,7 @@ function Wa({
1405
1408
  /* @__PURE__ */ e("td", { children: /* @__PURE__ */ e("span", { className: `${t.priority} ${h(d.priority)}`, children: d.priority }) }),
1406
1409
  /* @__PURE__ */ e("td", { children: d.title }),
1407
1410
  /* @__PURE__ */ e("td", { style: { color: "var(--text-tertiary, #999)" }, children: d.description }),
1408
- /* @__PURE__ */ e("td", { children: /* @__PURE__ */ e("span", { className: `${t.status} ${p(d.status)}`, children: d.status }) }),
1411
+ /* @__PURE__ */ e("td", { children: /* @__PURE__ */ e("span", { className: `${t.status} ${b(d.status)}`, children: d.status }) }),
1409
1412
  /* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(
1410
1413
  "button",
1411
1414
  {
@@ -1464,7 +1467,7 @@ function Ka({
1464
1467
  onCancel: a,
1465
1468
  onSubmit: c
1466
1469
  }) {
1467
- const [n, h] = b(""), [p, d] = b("");
1470
+ const [n, h] = p(""), [b, d] = p("");
1468
1471
  return /* @__PURE__ */ e("div", { className: t.modal, children: /* @__PURE__ */ i("div", { className: t.modalBody, children: [
1469
1472
  /* @__PURE__ */ e("div", { className: t.modalTitle, children: "新建产品" }),
1470
1473
  /* @__PURE__ */ e("label", { className: t.formLabel, children: "产品名称 *" }),
@@ -1482,7 +1485,7 @@ function Ka({
1482
1485
  "textarea",
1483
1486
  {
1484
1487
  className: t.formTextarea,
1485
- value: p,
1488
+ value: b,
1486
1489
  onChange: (l) => d(l.target.value),
1487
1490
  placeholder: "简要描述愿景..."
1488
1491
  }
@@ -1493,7 +1496,7 @@ function Ka({
1493
1496
  "button",
1494
1497
  {
1495
1498
  className: `${t.btn} ${t.btnPrimary}`,
1496
- onClick: () => n && c({ name: n, vision: p, status: "DRAFT" }),
1499
+ onClick: () => n && c({ name: n, vision: b, status: "DRAFT" }),
1497
1500
  disabled: !n,
1498
1501
  children: [
1499
1502
  /* @__PURE__ */ e(j, {}),
@@ -1508,7 +1511,7 @@ function Ya({
1508
1511
  onCancel: a,
1509
1512
  onSubmit: c
1510
1513
  }) {
1511
- const [n, h] = b(""), [p, d] = b(""), [l, _] = b("");
1514
+ const [n, h] = p(""), [b, d] = p(""), [l, _] = p("");
1512
1515
  return /* @__PURE__ */ e("div", { className: t.modal, children: /* @__PURE__ */ i("div", { className: t.modalBody, children: [
1513
1516
  /* @__PURE__ */ e("div", { className: t.modalTitle, children: "添加设计稿" }),
1514
1517
  /* @__PURE__ */ e("label", { className: t.formLabel, children: "名称" }),
@@ -1526,7 +1529,7 @@ function Ya({
1526
1529
  "input",
1527
1530
  {
1528
1531
  className: t.formInput,
1529
- value: p,
1532
+ value: b,
1530
1533
  onChange: (r) => d(r.target.value),
1531
1534
  placeholder: "https://... 或 Figma link"
1532
1535
  }
@@ -1546,8 +1549,8 @@ function Ya({
1546
1549
  "button",
1547
1550
  {
1548
1551
  className: `${t.btn} ${t.btnPrimary}`,
1549
- onClick: () => p && c({ name: n, fileUrl: p, description: l, assetType: "IMAGE" }),
1550
- disabled: !p,
1552
+ onClick: () => b && c({ name: n, fileUrl: b, description: l, assetType: "IMAGE" }),
1553
+ disabled: !b,
1551
1554
  children: [
1552
1555
  /* @__PURE__ */ e(j, {}),
1553
1556
  " 添加"
@@ -1561,7 +1564,7 @@ function Qa({
1561
1564
  onCancel: a,
1562
1565
  onSubmit: c
1563
1566
  }) {
1564
- const [n, h] = b(""), [p, d] = b(""), [l, _] = b("P1");
1567
+ const [n, h] = p(""), [b, d] = p(""), [l, _] = p("P1");
1565
1568
  return /* @__PURE__ */ e("div", { className: t.modal, children: /* @__PURE__ */ i("div", { className: t.modalBody, children: [
1566
1569
  /* @__PURE__ */ e("div", { className: t.modalTitle, children: "新增业务需求" }),
1567
1570
  /* @__PURE__ */ e("label", { className: t.formLabel, children: "标题 *" }),
@@ -1579,7 +1582,7 @@ function Qa({
1579
1582
  "textarea",
1580
1583
  {
1581
1584
  className: t.formTextarea,
1582
- value: p,
1585
+ value: b,
1583
1586
  onChange: (r) => d(r.target.value)
1584
1587
  }
1585
1588
  ),
@@ -1604,7 +1607,7 @@ function Qa({
1604
1607
  "button",
1605
1608
  {
1606
1609
  className: `${t.btn} ${t.btnPrimary}`,
1607
- onClick: () => n && c({ title: n, description: p, priority: l }),
1610
+ onClick: () => n && c({ title: n, description: b, priority: l }),
1608
1611
  disabled: !n,
1609
1612
  children: [
1610
1613
  /* @__PURE__ */ e(j, {}),
@@ -1616,7 +1619,7 @@ function Qa({
1616
1619
  ] }) });
1617
1620
  }
1618
1621
  function Za({ items: a }) {
1619
- const [c, n] = b(null), [h, p] = b(""), d = (r, f) => {
1622
+ const [c, n] = p(null), [h, b] = p(""), d = (r, f) => {
1620
1623
  if (!r) return f;
1621
1624
  try {
1622
1625
  return JSON.parse(r);
@@ -1633,7 +1636,7 @@ function Za({ items: a }) {
1633
1636
  className: t.formInput,
1634
1637
  placeholder: "反向追溯: 输入页面编码 (如 ctc.4a.account)",
1635
1638
  value: h,
1636
- onChange: (r) => p(r.target.value)
1639
+ onChange: (r) => b(r.target.value)
1637
1640
  }
1638
1641
  ),
1639
1642
  h && /* @__PURE__ */ i("span", { className: t.bizFilterHint, children: [
@@ -1675,7 +1678,7 @@ function Za({ items: a }) {
1675
1678
  );
1676
1679
  })
1677
1680
  ] }),
1678
- /* @__PURE__ */ e("div", { className: t.bizDetail, children: c ? /* @__PURE__ */ i(pe, { children: [
1681
+ /* @__PURE__ */ e("div", { className: t.bizDetail, children: c ? /* @__PURE__ */ i(be, { children: [
1679
1682
  /* @__PURE__ */ i("div", { className: t.bizDetailHeader, children: [
1680
1683
  /* @__PURE__ */ e("div", { className: t.bizDetailTitle, children: c.title }),
1681
1684
  /* @__PURE__ */ e("div", { className: t.bizDetailCode, children: c.bizCode })
@@ -6,10 +6,10 @@ import { useState as v, useRef as lp, useEffect as y, useMemo as Wp, useCallback
6
6
  import zp, { defaultUrlTransform as HA } from "react-markdown";
7
7
  import Vp from "rehype-highlight";
8
8
  import gp from "remark-gfm";
9
- import { af as la, ag as KA } from "./api--Fg0hL9Y.js";
10
- import { u as Dp } from "./useAppStore-wgWaxcyc.js";
11
- import { f as xa, u as jA, c as oA, r as fA, a as lA, b as xA, d as iA, e as cA, w as hp, i as TA, g as up, t as Yp, h as yp, j as vA, k as FA, l as dA, m as OA } from "./index-DOVOWiGU.js";
12
- import { u as XA, a as RA, f as NA, b as kA, d as Ip, e as WA, g as DA, r as qA, h as uA, i as mA, j as wA, k as BA, l as GA, m as LA, n as zA } from "./createWorkspaceWsHandler-CqGqcTh_.js";
9
+ import { af as la, ag as KA } from "./api-19TXED_O.js";
10
+ import { u as Dp } from "./useAppStore-BQN-26ns.js";
11
+ import { f as xa, u as jA, c as oA, r as fA, a as lA, b as xA, d as iA, e as cA, w as hp, i as TA, g as up, t as Yp, h as yp, j as vA, k as FA, l as dA, m as OA } from "./index-BbjzrjsP.js";
12
+ import { u as XA, a as RA, f as NA, b as kA, d as Ip, e as WA, g as DA, r as qA, h as uA, i as mA, j as wA, k as BA, l as GA, m as LA, n as zA } from "./createWorkspaceWsHandler-CBk4DqP4.js";
13
13
  import { h as r } from "./index.module-CAa-2T7m.js";
14
14
  const VA = "_editorView_as93v_7", gA = "_editorTopBar_as93v_16", JA = "_backBtn_as93v_25", bA = "_titleInput_as93v_39", MA = "_summaryBar_as93v_50", sA = "_summaryInput_as93v_55", QA = "_mdToolbar_as93v_67", hA = "_mdBtn_as93v_77", YA = "_mdSep_as93v_84", yA = "_editorBody_as93v_93", IA = "_tocPanel_as93v_100", CA = "_tocHeader_as93v_108", ZA = "_tocList_as93v_117", EA = "_tocItem_as93v_122", _A = "_tocEmpty_as93v_137", $A = "_textarea_as93v_144", pt = "_half_as93v_160", at = "_preview_as93v_163", At = "_markdown_as93v_173", tt = "_videoEmbed_as93v_185", w = {
15
15
  editorView: VA,
@@ -1682,7 +1682,7 @@ const Xt = [
1682
1682
  draftDeleteBtn: c0,
1683
1683
  markdown: T0
1684
1684
  }, v0 = rA(
1685
- () => import("./index-CRac8IT2.js").then((a) => ({ default: a.MarketContent }))
1685
+ () => import("./index-icI-ZchA.js").then((a) => ({ default: a.MarketContent }))
1686
1686
  );
1687
1687
  function F0(a) {
1688
1688
  const n = [], l = a.split(`
@@ -1,13 +1,13 @@
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 b, f as $, B, u as D } from "./api--Fg0hL9Y.js";
4
- import { u as F } from "./useAppStore-wgWaxcyc.js";
3
+ import { a as b, f as $, B, u as D } from "./api-19TXED_O.js";
4
+ import { u as F } from "./useAppStore-BQN-26ns.js";
5
5
  import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as Ue, ArrowLeftOutlined as fe, UserOutlined as be, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
6
6
  import { message as U, 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";
7
7
  import ve from "react-markdown";
8
8
  import _e from "rehype-highlight";
9
9
  import ge from "remark-gfm";
10
- import { M as oa } from "./index-BwFEDHy3.js";
10
+ import { M as oa } from "./index-VHvEmmhf.js";
11
11
  function j(a) {
12
12
  return a ? `?token=${encodeURIComponent(a)}` : "";
13
13
  }
@@ -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-BE1Ell5F.js";
3
+ import { r as ne, h as X, s as oe } from "./sso-user-BEY5ICaR.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 { q as he, d as be, e as _e } from "./api--Fg0hL9Y.js";
11
- import { u as c } from "./useAppStore-wgWaxcyc.js";
10
+ import { q as he, d as be, e as _e } from "./api-19TXED_O.js";
11
+ import { u as c } from "./useAppStore-BQN-26ns.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-CxkWi3XC.js";
14
+ import { a as ve, s as we } from "./send-default-agent-team-message-Bbs2rMNf.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 || "");
package/dist/index.js CHANGED
@@ -1,9 +1,10 @@
1
- import { P as s, S as e, Z as o, i as a } from "./ProjectApp-oUbzb0Io.js";
2
- import { h as t } from "./history-BlrA1eaW.js";
1
+ import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-CUhlRqDo.js";
2
+ import { h as m } from "./history-BlrA1eaW.js";
3
3
  export {
4
+ e as ComponentDocPage,
4
5
  s as ProjectApp,
5
- e as SubscribeApp,
6
- o as ZTeamApp,
7
- t as history,
8
- a as isTokenExpired
6
+ a as SubscribeApp,
7
+ r as ZTeamApp,
8
+ m as history,
9
+ i as isTokenExpired
9
10
  };
@@ -1,4 +1,4 @@
1
- import { a as o, f as d, B as r, u as c } from "./api--Fg0hL9Y.js";
1
+ import { a as o, f as d, B as r, u as c } from "./api-19TXED_O.js";
2
2
  async function h(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));
package/dist/pages.js CHANGED
@@ -1,17 +1,21 @@
1
- import { S as t, P as e, Z as o } from "./ProjectApp-oUbzb0Io.js";
1
+ import { createElement as e } from "react";
2
+ import { ReadOutlined as t } from "@ant-design/icons";
3
+ import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-CUhlRqDo.js";
2
4
  import "react/jsx-runtime";
3
- import "react";
4
5
  import "react-router-dom";
5
6
  import "antd";
6
- import "@ant-design/icons";
7
7
  import "@yuku123/z-frontend-common";
8
8
  import "@yuku123/z-frontend-common/ui";
9
- const b = { title: "z-team 团队工作台", short: "team" }, d = [
10
- { path: "/team/subscribe", title: "订阅", order: 1, Component: t },
11
- { path: "/team/project", title: "项目", order: 2, Component: e },
12
- { path: "/team/:rest*", Component: o }
9
+ const C = { title: "z-team 团队工作台", short: "team" }, h = [
10
+ { path: "/team/subscribe", title: "订阅", order: 1, Component: o },
11
+ { path: "/team/project", title: "项目", order: 2, Component: a },
12
+ // 组件文档页(lead 008 §7):放在 /team/:rest* 兜底之前,否则会被兜底路由吃掉。
13
+ { path: "/team/docs", title: "组件文档", order: 3, Component: r },
14
+ { path: "/team/:rest*", Component: m }
13
15
  ];
16
+ e(t);
14
17
  export {
15
- b as appMeta,
16
- d as routes
18
+ r as ComponentDocPage,
19
+ C as appMeta,
20
+ h as routes
17
21
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as E, jsx as h } from "react/jsx-runtime";
2
2
  import { Component as N } from "react";
3
- import { a as c, B as i, u as l, f as u, g as A, r as f } from "./api--Fg0hL9Y.js";
3
+ import { a as c, B as i, u as l, f as u, g as A, r as f } from "./api-19TXED_O.js";
4
4
  class I extends N {
5
5
  constructor(e) {
6
6
  super(e), this.state = { hasError: !1, error: null };
@@ -1,4 +1,4 @@
1
- import { s as l } from "./api--Fg0hL9Y.js";
1
+ import { s as l } from "./api-19TXED_O.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 { t as l } from "./api--Fg0hL9Y.js";
1
+ import { t as l } from "./api-19TXED_O.js";
2
2
  const d = "USER_INFO";
3
3
  function s() {
4
4
  try {
@@ -1,4 +1,4 @@
1
- import { a as g, f, B as y, u as m } from "./api--Fg0hL9Y.js";
1
+ import { a as g, f, B as y, u as m } from "./api-19TXED_O.js";
2
2
  function t(n, a = "") {
3
3
  const i = new URLSearchParams();
4
4
  Object.entries(n).forEach(([u, o]) => {
@@ -1,5 +1,5 @@
1
1
  import { create as Ce } from "zustand";
2
- import { Q as je, w as M, i as C, x as ne, k as A, t as _, y as se, z as Pe, A as Ne, C as we, D as Ee, E as xe, F as Fe, G as ae, H as Re, I as Oe, J as B, K as Ue, L as He, n as ie, M as Le, N as $e, O as Ge, P as De, R as Ve, S as Be, U as qe, V as ze, W as Ke, X as We, Y as Je, Z as Ye, _ as Ze, $ as Qe, a0 as Xe, s as x, a1 as et, a2 as oe, a3 as tt, a4 as nt, a5 as rt, a6 as st, a7 as at, a8 as it, a9 as ot, aa as ct, c as lt, ab as ut, ac as dt, v as ft, ad as mt } from "./api--Fg0hL9Y.js";
2
+ import { Q as je, w as M, i as C, x as ne, k as A, t as _, y as se, z as Pe, A as Ne, C as we, D as Ee, E as xe, F as Fe, G as ae, H as Re, I as Oe, J as B, K as Ue, L as He, n as ie, M as Le, N as $e, O as Ge, P as De, R as Ve, S as Be, U as qe, V as ze, W as Ke, X as We, Y as Je, Z as Ye, _ as Ze, $ as Qe, a0 as Xe, s as x, a1 as et, a2 as oe, a3 as tt, a4 as nt, a5 as rt, a6 as st, a7 as at, a8 as it, a9 as ot, aa as ct, c as lt, ab as ut, ac as dt, v as ft, ad as mt } from "./api-19TXED_O.js";
3
3
  import { message as F } from "antd";
4
4
  const _e = `[[REASONING:正在分析…]]
5
5
  正在分析…
@@ -6,11 +6,11 @@ import $r from "react-markdown";
6
6
  import Dr from "rehype-highlight";
7
7
  import Lr from "remark-gfm";
8
8
  import { h as Ar } from "./history-BlrA1eaW.js";
9
- import { a as E, f as A, B as M, u as j, r as Xe, t as Re, i as it, k as be, c as Or, af as Ln, ab as Rr, ap as Mr, aq as Jn, ar as Er, as as va } from "./api--Fg0hL9Y.js";
10
- import { u as In, f as Ca, a as Pr, b as Sa, c as Ur, d as zr, e as Na, g as Br, r as jr, h as Fr, m as Hr } from "./admin-logs-C2V1ElH9.js";
9
+ import { a as E, f as A, B as M, u as j, r as Xe, t as Re, i as it, k as be, c as Or, af as Ln, ab as Rr, ap as Mr, aq as Jn, ar as Er, as as va } from "./api-19TXED_O.js";
10
+ import { u as In, f as Ca, a as Pr, b as Sa, c as Ur, d as zr, e as Na, g as Br, r as jr, h as Fr, m as Hr } from "./admin-logs-Dv86pFvY.js";
11
11
  import Ee from "dayjs";
12
- import { u as Pt } from "./useAppStore-wgWaxcyc.js";
13
- import { s as Ia } from "./schedule-C89oiqIR.js";
12
+ import { u as Pt } from "./useAppStore-BQN-26ns.js";
13
+ import { s as Ia } from "./schedule-DD50-7cs.js";
14
14
  import { M as wa } from "./index-CUVdeb8y.js";
15
15
  import "./echarts-B1OU1xr4.js";
16
16
  import * as Wr from "echarts/core";