@wandox/sdk 0.1.35 → 0.1.36

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 (105) hide show
  1. package/dist/{V1Workbench-Duh15otc.js → V1Workbench-BTDED9f0.js} +4 -4
  2. package/dist/{V1Workbench-OnGicnM-.cjs → V1Workbench-dkHeo8tR.cjs} +1 -1
  3. package/dist/{V2Workbench-Cwx-XP5u.js → V2Workbench-P9muvE1U.js} +72 -72
  4. package/dist/{V2Workbench-ChqSBXHY.cjs → V2Workbench-Un5ZzXV7.cjs} +2 -2
  5. package/dist/{WorkbenchRuntime-QRXyaZ5I.cjs → WorkbenchRuntime-C-WMn1Qs.cjs} +1 -1
  6. package/dist/{WorkbenchRuntime-B2C8SbrZ.js → WorkbenchRuntime-DwnSaeU0.js} +2 -2
  7. package/dist/{arc-CfnbUnJa.cjs → arc-DnAFTAlx.cjs} +1 -1
  8. package/dist/{arc-C3McnqVx.js → arc-lrZAmC97.js} +1 -1
  9. package/dist/{architectureDiagram-3BPJPVTR-EmeNsmhR.cjs → architectureDiagram-3BPJPVTR-CPhTU6Eo.cjs} +1 -1
  10. package/dist/{architectureDiagram-3BPJPVTR-DKV9z5FO.js → architectureDiagram-3BPJPVTR-qSATMtIu.js} +3 -3
  11. package/dist/{blockDiagram-GPEHLZMM-CwMlZLrY.js → blockDiagram-GPEHLZMM-CDwrkiVy.js} +3 -3
  12. package/dist/{blockDiagram-GPEHLZMM-B3PO97gR.cjs → blockDiagram-GPEHLZMM-XVMF04BT.cjs} +1 -1
  13. package/dist/{c4Diagram-AAUBKEIU-DDvw0p9i.js → c4Diagram-AAUBKEIU-CGowpJup.js} +2 -2
  14. package/dist/{c4Diagram-AAUBKEIU-CIJm8DIv.cjs → c4Diagram-AAUBKEIU-DffwDzj1.cjs} +1 -1
  15. package/dist/{channel-B6D2dt-a.cjs → channel-BXFE-BpN.cjs} +1 -1
  16. package/dist/{channel-BW_f3mZ1.js → channel-CY7r6qlF.js} +1 -1
  17. package/dist/{chunk-2J33WTMH-CAtXTwyr.cjs → chunk-2J33WTMH-D4rEqGzt.cjs} +1 -1
  18. package/dist/{chunk-2J33WTMH-B9LmfIjP.js → chunk-2J33WTMH-DuCYldMe.js} +1 -1
  19. package/dist/{chunk-4BX2VUAB-TTJvrk_8.cjs → chunk-4BX2VUAB-BsCUMKlS.cjs} +1 -1
  20. package/dist/{chunk-4BX2VUAB-C_E82st1.js → chunk-4BX2VUAB-Cxp0_Qfx.js} +1 -1
  21. package/dist/{chunk-55IACEB6-CuKoQ8P-.js → chunk-55IACEB6-BLJmAN4x.js} +1 -1
  22. package/dist/{chunk-55IACEB6-Co8MIdgs.cjs → chunk-55IACEB6-XDcbyyvP.cjs} +1 -1
  23. package/dist/{chunk-727SXJPM-Cup_K8Hg.cjs → chunk-727SXJPM-1bTbq9QM.cjs} +1 -1
  24. package/dist/{chunk-727SXJPM-Cs8uS9SJ.js → chunk-727SXJPM-BjPhiU2p.js} +5 -5
  25. package/dist/{chunk-AQP2D5EJ-Ck3VZgwQ.js → chunk-AQP2D5EJ-CGe-fbI_.js} +3 -3
  26. package/dist/{chunk-AQP2D5EJ-BJ2GPeyZ.cjs → chunk-AQP2D5EJ-EH5FWOXH.cjs} +1 -1
  27. package/dist/{chunk-FMBD7UC4-ClCmPgT2.cjs → chunk-FMBD7UC4-BEhZw-9x.cjs} +1 -1
  28. package/dist/{chunk-FMBD7UC4-_xpDdMNi.js → chunk-FMBD7UC4-BrTtqwn9.js} +1 -1
  29. package/dist/{chunk-ND2GUHAM-BahupltG.js → chunk-ND2GUHAM-C22ALL-1.js} +1 -1
  30. package/dist/{chunk-ND2GUHAM-5_kT1SOB.cjs → chunk-ND2GUHAM-CTAo-Gfu.cjs} +1 -1
  31. package/dist/{chunk-QZHKN3VN-CdL_F3Vv.js → chunk-QZHKN3VN-C_Ih-bcC.js} +1 -1
  32. package/dist/{chunk-QZHKN3VN-Ca5tmmHx.cjs → chunk-QZHKN3VN-R1cC06zp.cjs} +1 -1
  33. package/dist/{classDiagram-4FO5ZUOK-CnMvmQcX.js → classDiagram-4FO5ZUOK-C_wQW8PQ.js} +2 -2
  34. package/dist/{classDiagram-4FO5ZUOK-DZ87tNdh.cjs → classDiagram-4FO5ZUOK-scM2IOJa.cjs} +1 -1
  35. package/dist/{classDiagram-v2-Q7XG4LA2-90g5yMq9.js → classDiagram-v2-Q7XG4LA2-B0_wL31A.js} +2 -2
  36. package/dist/{classDiagram-v2-Q7XG4LA2-DZ87tNdh.cjs → classDiagram-v2-Q7XG4LA2-scM2IOJa.cjs} +1 -1
  37. package/dist/{cose-bilkent-S5V4N54A-DOMJ8Dw0.js → cose-bilkent-S5V4N54A-DXGf68xP.js} +2 -2
  38. package/dist/{cose-bilkent-S5V4N54A-D9USBZBY.cjs → cose-bilkent-S5V4N54A-DpRpmxlF.cjs} +1 -1
  39. package/dist/{dagre-BM42HDAG-D9xkOYd1.cjs → dagre-BM42HDAG-Bllljh6b.cjs} +1 -1
  40. package/dist/{dagre-BM42HDAG-BruKrkrz.js → dagre-BM42HDAG-DAmZKlMa.js} +1 -1
  41. package/dist/{diagram-2AECGRRQ-CHwHxLjN.cjs → diagram-2AECGRRQ-BtVZDvFi.cjs} +1 -1
  42. package/dist/{diagram-2AECGRRQ-B7fBRPEm.js → diagram-2AECGRRQ-e4xTSyXB.js} +2 -2
  43. package/dist/{diagram-5GNKFQAL-C68LRU93.js → diagram-5GNKFQAL-B57ntKRP.js} +3 -3
  44. package/dist/{diagram-5GNKFQAL-B3sIjwSe.cjs → diagram-5GNKFQAL-DDznFCpC.cjs} +1 -1
  45. package/dist/{diagram-KO2AKTUF-CZkt3wwK.cjs → diagram-KO2AKTUF-B1_pEYsh.cjs} +1 -1
  46. package/dist/{diagram-KO2AKTUF-Decii5jM.js → diagram-KO2AKTUF-CZHRsaEN.js} +2 -2
  47. package/dist/{diagram-LMA3HP47-D7hixvGx.cjs → diagram-LMA3HP47-DCOfsSfF.cjs} +1 -1
  48. package/dist/{diagram-LMA3HP47-BRJpaLnd.js → diagram-LMA3HP47-Dw1iJ4GY.js} +2 -2
  49. package/dist/{diagram-OG6HWLK6-dSSwZ9rN.cjs → diagram-OG6HWLK6-C9iJ1_vk.cjs} +1 -1
  50. package/dist/{diagram-OG6HWLK6-DwSOhl1j.js → diagram-OG6HWLK6-DBRyn55R.js} +3 -3
  51. package/dist/{erDiagram-TEJ5UH35-CCZ0q594.cjs → erDiagram-TEJ5UH35-CQLcSzGq.cjs} +1 -1
  52. package/dist/{erDiagram-TEJ5UH35-ClUTkoiL.js → erDiagram-TEJ5UH35-CwU_D9zQ.js} +4 -4
  53. package/dist/{flowDiagram-I6XJVG4X-BN-jwNXL.cjs → flowDiagram-I6XJVG4X-BXfh71rU.cjs} +1 -1
  54. package/dist/{flowDiagram-I6XJVG4X-CfhSJE55.js → flowDiagram-I6XJVG4X-DeoNy8j_.js} +6 -6
  55. package/dist/{ganttDiagram-6RSMTGT7-Dq7VvM2M.js → ganttDiagram-6RSMTGT7-Df26R8Yw.js} +3 -3
  56. package/dist/{ganttDiagram-6RSMTGT7-CF1liYk-.cjs → ganttDiagram-6RSMTGT7-zl3WHbE2.cjs} +1 -1
  57. package/dist/{gitGraphDiagram-PVQCEYII-P9t07gif.cjs → gitGraphDiagram-PVQCEYII-B1DCGlgk.cjs} +1 -1
  58. package/dist/{gitGraphDiagram-PVQCEYII-odnoukk4.js → gitGraphDiagram-PVQCEYII-D4lV7Wyt.js} +3 -3
  59. package/dist/{index-Cq6GT084.js → index-B6ippZgO.js} +1 -1
  60. package/dist/{index-4FmQg3Zk.js → index-B7ymMLUP.js} +8 -8
  61. package/dist/{index-CFEgQrfn.js → index-C5MgqruW.js} +3 -3
  62. package/dist/{index-CLCe0Dgz.cjs → index-CgghWcty.cjs} +1 -1
  63. package/dist/{index-BQMJ9VDu.cjs → index-D2f85EfC.cjs} +1 -1
  64. package/dist/{index-CQgUKSVP.cjs → index-Fogne5nt.cjs} +6 -6
  65. package/dist/{infoDiagram-5YYISTIA-CzWTUV3i.js → infoDiagram-5YYISTIA-BVUPRn39.js} +1 -1
  66. package/dist/{infoDiagram-5YYISTIA-vIftEDKa.cjs → infoDiagram-5YYISTIA-CQzoD1R6.cjs} +1 -1
  67. package/dist/{ishikawaDiagram-YF4QCWOH-DoFATknv.cjs → ishikawaDiagram-YF4QCWOH-B2szA0Bd.cjs} +1 -1
  68. package/dist/{ishikawaDiagram-YF4QCWOH-5oQSrlLN.js → ishikawaDiagram-YF4QCWOH-D-w9d_mh.js} +1 -1
  69. package/dist/{journeyDiagram-JHISSGLW-DUspfQIx.cjs → journeyDiagram-JHISSGLW-BlZOXaNG.cjs} +1 -1
  70. package/dist/{journeyDiagram-JHISSGLW-BHsXT1p8.js → journeyDiagram-JHISSGLW-DvxAjmWW.js} +4 -4
  71. package/dist/{kanban-definition-UN3LZRKU-CbizhZ4A.js → kanban-definition-UN3LZRKU-3ITzwD_V.js} +2 -2
  72. package/dist/{kanban-definition-UN3LZRKU-BqKlDwWt.cjs → kanban-definition-UN3LZRKU-uWpfk339.cjs} +1 -1
  73. package/dist/{linear-O3WIbS9A.js → linear-h0PKX5pS.js} +1 -1
  74. package/dist/{linear-BeJA81Is.cjs → linear-xTyNvSvf.cjs} +1 -1
  75. package/dist/{mermaid.core-C-YWP2jz.js → mermaid.core-B-oz1JHo.js} +35 -35
  76. package/dist/{mermaid.core-EIMF3BAo.cjs → mermaid.core-BNCrNPF3.cjs} +3 -3
  77. package/dist/{mindmap-definition-RKZ34NQL-DcaDYCfJ.cjs → mindmap-definition-RKZ34NQL-CP2xdC8i.cjs} +1 -1
  78. package/dist/{mindmap-definition-RKZ34NQL-yQ9g46ph.js → mindmap-definition-RKZ34NQL-iv6ScGf8.js} +3 -3
  79. package/dist/{pieDiagram-4H26LBE5-DDbOWta5.cjs → pieDiagram-4H26LBE5-DBlTRpYF.cjs} +1 -1
  80. package/dist/{pieDiagram-4H26LBE5-BPAmrvlh.js → pieDiagram-4H26LBE5-DG5ob37D.js} +3 -3
  81. package/dist/{quadrantDiagram-W4KKPZXB-7EOeN28t.cjs → quadrantDiagram-W4KKPZXB-BIJcQpbE.cjs} +1 -1
  82. package/dist/{quadrantDiagram-W4KKPZXB-CBFKlxRx.js → quadrantDiagram-W4KKPZXB-gdLXyrgM.js} +2 -2
  83. package/dist/{requirementDiagram-4Y6WPE33-BAkakkMp.cjs → requirementDiagram-4Y6WPE33-BZupS8ve.cjs} +1 -1
  84. package/dist/{requirementDiagram-4Y6WPE33-BZk_3wFB.js → requirementDiagram-4Y6WPE33-Devp3bFn.js} +3 -3
  85. package/dist/{sankeyDiagram-5OEKKPKP-CrbL-5cr.js → sankeyDiagram-5OEKKPKP-DclF12AE.js} +1 -1
  86. package/dist/{sankeyDiagram-5OEKKPKP-DYEggaLM.cjs → sankeyDiagram-5OEKKPKP-YmUkqYvM.cjs} +1 -1
  87. package/dist/{sequenceDiagram-3UESZ5HK-B2Yk8NuE.js → sequenceDiagram-3UESZ5HK-Bp3v1G4L.js} +3 -3
  88. package/dist/{sequenceDiagram-3UESZ5HK-cky8-ajI.cjs → sequenceDiagram-3UESZ5HK-Cc6KiFLH.cjs} +1 -1
  89. package/dist/{stateDiagram-AJRCARHV-4peSgT8x.cjs → stateDiagram-AJRCARHV-BhKrmX4f.cjs} +1 -1
  90. package/dist/{stateDiagram-AJRCARHV-DKppy5jM.js → stateDiagram-AJRCARHV-DzpR85VO.js} +2 -2
  91. package/dist/{stateDiagram-v2-BHNVJYJU-CefiWaGq.cjs → stateDiagram-v2-BHNVJYJU-C0Aq_ia1.cjs} +1 -1
  92. package/dist/{stateDiagram-v2-BHNVJYJU-DsQP1CsR.js → stateDiagram-v2-BHNVJYJU-DwsxsR-W.js} +2 -2
  93. package/dist/{timeline-definition-PNZ67QCA-CFJYzYQn.cjs → timeline-definition-PNZ67QCA-AdSmOXjp.cjs} +1 -1
  94. package/dist/{timeline-definition-PNZ67QCA-snDcaYSq.js → timeline-definition-PNZ67QCA-B87x3yay.js} +2 -2
  95. package/dist/{vennDiagram-CIIHVFJN-RPKP_Mb2.cjs → vennDiagram-CIIHVFJN-CLpzW4Nc.cjs} +1 -1
  96. package/dist/{vennDiagram-CIIHVFJN-BniEMR4w.js → vennDiagram-CIIHVFJN-GqWq5zHi.js} +1 -1
  97. package/dist/wandox.cjs +1 -1
  98. package/dist/wandox.css +1 -1
  99. package/dist/wandox.js +1 -1
  100. package/dist/wandox.umd.js +2 -2
  101. package/dist/{wardleyDiagram-YWT4CUSO-DvDYViI5.js → wardleyDiagram-YWT4CUSO-5_EScJ4X.js} +2 -2
  102. package/dist/{wardleyDiagram-YWT4CUSO-msArC69-.cjs → wardleyDiagram-YWT4CUSO-Cls7iV6P.cjs} +1 -1
  103. package/dist/{xychartDiagram-2RQKCTM6-B4nZMXk5.cjs → xychartDiagram-2RQKCTM6-D8JYg9fO.cjs} +1 -1
  104. package/dist/{xychartDiagram-2RQKCTM6-CEcIgPon.js → xychartDiagram-2RQKCTM6-DbdkH607.js} +2 -2
  105. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { ds as a, af as as, c$ as e, aZ as $s, ai as ns, a_ as We, bK as Ps, a$ as ma, dZ as As, K as js, aa as ha, a9 as Ye, d5 as ks, Q as xa, P as pa, d9 as Ms, dF as $, ch as _a, S as ba, J as Ge, cZ as fa, cN as wa, dN as ya, cc as ga, cG as ja, cF as ka, as as va, ap as Na, o as Ca, m as Ra, v as Sa, b0 as Fs, b1 as Ia, bB as Ls, b2 as Qe, n as Ea, ar as $a, cH as Pa, cI as Aa, aE as vs, b3 as Ma, aY as Fa, b4 as Ns, b5 as La, b6 as Ta, b7 as Da, b8 as Oa, ej as Va } from "./index-4FmQg3Zk.js";
2
- import { n as qa, A as za, l as Oe, m as Ze, p as Ba, h as Ts, R as Je, c as Ds, a as Os, d as Cs, i as Ha, e as Ua, f as Ka, u as Wa, j as Ya, o as Rs, b as Ga, S as Qa } from "./WorkbenchRuntime-B2C8SbrZ.js";
3
- import { D as Za } from "./index-Cq6GT084.js";
1
+ import { ds as a, af as as, c$ as e, aZ as $s, ai as ns, a_ as We, bK as Ps, a$ as ma, dZ as As, K as js, aa as ha, a9 as Ye, d5 as ks, Q as xa, P as pa, d9 as Ms, dF as $, ch as _a, S as ba, J as Ge, cZ as fa, cN as wa, dN as ya, cc as ga, cG as ja, cF as ka, as as va, ap as Na, o as Ca, m as Ra, v as Sa, b0 as Fs, b1 as Ia, bB as Ls, b2 as Qe, n as Ea, ar as $a, cH as Pa, cI as Aa, aE as vs, b3 as Ma, aY as Fa, b4 as Ns, b5 as La, b6 as Ta, b7 as Da, b8 as Oa, ej as Va } from "./index-B7ymMLUP.js";
2
+ import { n as qa, A as za, l as Oe, m as Ze, p as Ba, h as Ts, R as Je, c as Ds, a as Os, d as Cs, i as Ha, e as Ua, f as Ka, u as Wa, j as Ya, o as Rs, b as Ga, S as Qa } from "./WorkbenchRuntime-DwnSaeU0.js";
3
+ import { D as Za } from "./index-B6ippZgO.js";
4
4
  var Ja = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z" } }] }, name: "appstore", theme: "filled" };
5
5
  function Xe() {
6
6
  return Xe = Object.assign ? Object.assign.bind() : function(t) {
7
7
  for (var l = 1; l < arguments.length; l++) {
8
8
  var x = arguments[l];
9
- for (var u in x)
10
- Object.prototype.hasOwnProperty.call(x, u) && (t[u] = x[u]);
9
+ for (var m in x)
10
+ Object.prototype.hasOwnProperty.call(x, m) && (t[m] = x[m]);
11
11
  }
12
12
  return t;
13
13
  }, Xe.apply(this, arguments);
@@ -21,8 +21,8 @@ function es() {
21
21
  return es = Object.assign ? Object.assign.bind() : function(t) {
22
22
  for (var l = 1; l < arguments.length; l++) {
23
23
  var x = arguments[l];
24
- for (var u in x)
25
- Object.prototype.hasOwnProperty.call(x, u) && (t[u] = x[u]);
24
+ for (var m in x)
25
+ Object.prototype.hasOwnProperty.call(x, m) && (t[m] = x[m]);
26
26
  }
27
27
  return t;
28
28
  }, es.apply(this, arguments);
@@ -36,8 +36,8 @@ function ss() {
36
36
  return ss = Object.assign ? Object.assign.bind() : function(t) {
37
37
  for (var l = 1; l < arguments.length; l++) {
38
38
  var x = arguments[l];
39
- for (var u in x)
40
- Object.prototype.hasOwnProperty.call(x, u) && (t[u] = x[u]);
39
+ for (var m in x)
40
+ Object.prototype.hasOwnProperty.call(x, m) && (t[m] = x[m]);
41
41
  }
42
42
  return t;
43
43
  }, ss.apply(this, arguments);
@@ -46,9 +46,9 @@ const on = (t, l) => /* @__PURE__ */ a.createElement(as, ss({}, t, {
46
46
  ref: l,
47
47
  icon: nn
48
48
  })), tn = /* @__PURE__ */ a.forwardRef(on), Ue = "__all__", Ss = "__my__", Ke = "__library_all__", cn = "__library__:", ln = [
49
- { key: "map", label: "使用地图" },
49
+ { key: "all", label: "全部场景" },
50
50
  { key: "my", label: "我的场景" },
51
- { key: "all", label: "全部场景" }
51
+ { key: "map", label: "使用地图" }
52
52
  ];
53
53
  function rn(t) {
54
54
  return t === "map" ? "搜索当前地图下的场景" : t === "my" ? "搜索我的场景" : "搜索全部场景";
@@ -57,7 +57,7 @@ function dn({
57
57
  open: t,
58
58
  source: l,
59
59
  categories: x,
60
- categoryKey: u,
60
+ categoryKey: m,
61
61
  search: p,
62
62
  cards: k,
63
63
  executing: R,
@@ -91,15 +91,15 @@ function dn({
91
91
  {
92
92
  className: "wandox-console-chat__drawer-tabs",
93
93
  "aria-label": "场景来源",
94
- children: ln.map((m) => /* @__PURE__ */ e.jsx(
94
+ children: ln.map((u) => /* @__PURE__ */ e.jsx(
95
95
  "button",
96
96
  {
97
97
  type: "button",
98
- className: l === m.key ? "is-active" : "",
99
- onClick: () => P(m.key),
100
- children: m.label
98
+ className: l === u.key ? "is-active" : "",
99
+ onClick: () => P(u.key),
100
+ children: u.label
101
101
  },
102
- m.key
102
+ u.key
103
103
  ))
104
104
  }
105
105
  ) }),
@@ -117,20 +117,20 @@ function dn({
117
117
  /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-chat__drawer-middle", children: [
118
118
  l !== "my" && /* @__PURE__ */ e.jsxs("aside", { className: "wandox-console-chat__drawer-cats", children: [
119
119
  /* @__PURE__ */ e.jsx("div", { className: "wandox-console-chat__drawer-catslabel", children: "场景分类" }),
120
- x.map((m) => {
121
- const L = m.key === u;
120
+ x.map((u) => {
121
+ const L = u.key === m;
122
122
  return /* @__PURE__ */ e.jsxs(
123
123
  "button",
124
124
  {
125
125
  type: "button",
126
126
  className: `wandox-console-chat__drawer-cat${L ? " wandox-console-chat__drawer-cat--active" : ""}`,
127
- onClick: () => ee(m.key),
127
+ onClick: () => ee(u.key),
128
128
  children: [
129
- /* @__PURE__ */ e.jsx("span", { className: "wandox-console-chat__drawer-cat-name", children: m.name }),
130
- /* @__PURE__ */ e.jsx("span", { className: "wandox-console-chat__drawer-cat-count", children: m.count })
129
+ /* @__PURE__ */ e.jsx("span", { className: "wandox-console-chat__drawer-cat-name", children: u.name }),
130
+ /* @__PURE__ */ e.jsx("span", { className: "wandox-console-chat__drawer-cat-count", children: u.count })
131
131
  ]
132
132
  },
133
- m.key
133
+ u.key
134
134
  );
135
135
  })
136
136
  ] }),
@@ -142,11 +142,11 @@ function dn({
142
142
  prefix: /* @__PURE__ */ e.jsx(We, {}),
143
143
  placeholder: rn(l),
144
144
  value: p,
145
- onChange: (m) => W(m.target.value)
145
+ onChange: (u) => W(u.target.value)
146
146
  }
147
147
  ) }),
148
- k.length === 0 ? /* @__PURE__ */ e.jsx("div", { className: "wandox-console-chat__drawer-empty", children: p ? "没有匹配的场景" : "暂无可用场景" }) : /* @__PURE__ */ e.jsx("div", { className: "wandox-console-scenes", children: k.map((m) => {
149
- const L = _ === m.playbook_id;
148
+ k.length === 0 ? /* @__PURE__ */ e.jsx("div", { className: "wandox-console-chat__drawer-empty", children: p ? "没有匹配的场景" : "暂无可用场景" }) : /* @__PURE__ */ e.jsx("div", { className: "wandox-console-scenes", children: k.map((u) => {
149
+ const L = _ === u.playbook_id;
150
150
  return /* @__PURE__ */ e.jsx(
151
151
  "button",
152
152
  {
@@ -154,14 +154,14 @@ function dn({
154
154
  className: "wandox-console-scene",
155
155
  disabled: R || !!_,
156
156
  "aria-busy": L,
157
- onClick: () => void ce(m),
157
+ onClick: () => void ce(u),
158
158
  children: /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-scene__body", children: [
159
- /* @__PURE__ */ e.jsx("strong", { children: m.title }),
160
- m.desc && /* @__PURE__ */ e.jsx("span", { className: "wandox-console-scene__desc", children: m.desc }),
159
+ /* @__PURE__ */ e.jsx("strong", { title: u.title, children: u.title }),
160
+ u.desc && /* @__PURE__ */ e.jsx("span", { className: "wandox-console-scene__desc", title: u.desc, children: u.desc }),
161
161
  L && /* @__PURE__ */ e.jsx("span", { className: "wandox-console-scene__loading", children: "正在读取场景..." })
162
162
  ] })
163
163
  },
164
- m.key
164
+ u.key
165
165
  );
166
166
  }) })
167
167
  ] })
@@ -178,7 +178,7 @@ function qs({
178
178
  field: t,
179
179
  value: l,
180
180
  uploading: x,
181
- fileNameMap: u,
181
+ fileNameMap: m,
182
182
  getOptionState: p,
183
183
  onChange: k,
184
184
  onUpload: R
@@ -202,7 +202,7 @@ function qs({
202
202
  field: t,
203
203
  value: l,
204
204
  uploading: x,
205
- fileNameMap: u,
205
+ fileNameMap: m,
206
206
  getOptionState: p,
207
207
  onChange: k,
208
208
  onUpload: v,
@@ -220,7 +220,7 @@ function hn({
220
220
  agentId: t,
221
221
  agentName: l,
222
222
  playbookId: x,
223
- playbookParams: u,
223
+ playbookParams: m,
224
224
  initialMessage: p,
225
225
  initialAttachments: k,
226
226
  useMapCards: R = [],
@@ -230,7 +230,7 @@ function hn({
230
230
  agents: ee = [],
231
231
  onChangeAgent: W,
232
232
  onBack: ce,
233
- onSelectScene: m,
233
+ onSelectScene: u,
234
234
  onReady: L
235
235
  }) {
236
236
  const z = localStorage.getItem("sso_token") || "", S = localStorage.getItem("sso_domain") || "maiduo", Z = localStorage.getItem("sso_company") || "", se = a.useRef(null), ae = a.useRef(!1), [O, N] = a.useState(!1), [Y, ne] = a.useState(""), [B, T] = a.useState(""), [A, me] = a.useState("map"), [he, le] = a.useState(Ue), [M, I] = a.useState(null), we = a.useRef(null);
@@ -291,7 +291,7 @@ function hn({
291
291
  const c = Array.from(n.values()).flat(), r = [
292
292
  {
293
293
  key: Ke,
294
- name: "全部",
294
+ name: "全部场景",
295
295
  count: c.length,
296
296
  cards: c
297
297
  },
@@ -307,7 +307,7 @@ function hn({
307
307
  ], d = [
308
308
  {
309
309
  key: Ue,
310
- name: l || "全部场景",
310
+ name: "全部场景",
311
311
  count: R.length,
312
312
  cards: R
313
313
  },
@@ -460,7 +460,7 @@ function hn({
460
460
  X({
461
461
  message: s,
462
462
  playbook_id: x,
463
- playbook_params: u || {}
463
+ playbook_params: m || {}
464
464
  });
465
465
  } else p != null && p.trim() && Fe(p.trim(), void 0, k);
466
466
  })());
@@ -468,7 +468,7 @@ function hn({
468
468
  x,
469
469
  p,
470
470
  k,
471
- u,
471
+ m,
472
472
  X,
473
473
  ms,
474
474
  Fe
@@ -600,7 +600,7 @@ function hn({
600
600
  Ne(i);
601
601
  return;
602
602
  }
603
- Be(i.name, i.playbook_id), m == null || m(s);
603
+ Be(i.name, i.playbook_id), u == null || u(s);
604
604
  } catch (r) {
605
605
  const d = r instanceof Error ? r.message : "场景加载失败";
606
606
  $.error(d);
@@ -612,7 +612,7 @@ function hn({
612
612
  E,
613
613
  Ne,
614
614
  Be,
615
- m,
615
+ u,
616
616
  Y
617
617
  ]
618
618
  ), ps = a.useCallback(
@@ -684,7 +684,7 @@ function hn({
684
684
  message: d,
685
685
  playbook_id: c.playbook_id,
686
686
  playbook_params: r
687
- }), m == null || m(c);
687
+ }), u == null || u(c);
688
688
  } catch (d) {
689
689
  const i = d instanceof Error ? d.message : "执行失败";
690
690
  $.error(i);
@@ -696,7 +696,7 @@ function hn({
696
696
  E,
697
697
  X,
698
698
  p,
699
- m
699
+ u
700
700
  ]), oa = a.useCallback((s) => {
701
701
  ve.current += 1, ke({
702
702
  requestId: ++Q.current,
@@ -1351,7 +1351,7 @@ function pn({
1351
1351
  useMapCards: t,
1352
1352
  useMapCategories: l,
1353
1353
  playbooks: x = [],
1354
- selectedCategoryKey: u,
1354
+ selectedCategoryKey: m,
1355
1355
  onCategorySelect: p,
1356
1356
  loading: k,
1357
1357
  useMapError: R,
@@ -1362,10 +1362,10 @@ function pn({
1362
1362
  onAgentSelect: W,
1363
1363
  onOpenAgentChat: ce
1364
1364
  }) {
1365
- const [m, L] = a.useState(""), [z, S] = a.useState(""), Z = a.useRef(null), [se, ae] = a.useState([]), [O, N] = a.useState(!1), [Y, ne] = a.useState(""), B = a.useRef(0), [T, A] = a.useState({}), [me, he] = a.useState({}), [le, M] = a.useState({}), [I, we] = a.useState([]), [J, H] = a.useState(!1), V = a.useRef(null), j = a.useMemo(
1365
+ const [u, L] = a.useState(""), [z, S] = a.useState(""), Z = a.useRef(null), [se, ae] = a.useState([]), [O, N] = a.useState(!1), [Y, ne] = a.useState(""), B = a.useRef(0), [T, A] = a.useState({}), [me, he] = a.useState({}), [le, M] = a.useState({}), [I, we] = a.useState([]), [J, H] = a.useState(!1), V = a.useRef(null), j = a.useMemo(
1366
1366
  () => t.length > 0 ? t : Ha(x),
1367
1367
  [t, x]
1368
- ), ye = a.useMemo(() => u ? j.filter((o) => o.categoryKey === u) : j, [j, u]), oe = a.useMemo(() => {
1368
+ ), ye = a.useMemo(() => m ? j.filter((o) => o.categoryKey === m) : j, [j, m]), oe = a.useMemo(() => {
1369
1369
  const o = z.trim().toLowerCase();
1370
1370
  return o ? ye.filter(
1371
1371
  (y) => y.title.toLowerCase().includes(o) || y.desc.toLowerCase().includes(o)
@@ -1373,7 +1373,7 @@ function pn({
1373
1373
  }, [ye, z]), te = a.useMemo(() => oe.slice(0, 6), [oe]), fe = k || R && j.length === 0 || oe.length > 0, [G, xe] = a.useState("");
1374
1374
  a.useEffect(() => {
1375
1375
  B.current += 1, xe(""), L(""), ae([]), A({}), N(!1), ne("");
1376
- }, [u]), a.useEffect(() => {
1376
+ }, [m]), a.useEffect(() => {
1377
1377
  G && !j.some((o) => o.playbook_id === G) && (B.current += 1, xe(""), L(""), ae([]), A({}), N(!1), ne(""));
1378
1378
  }, [G, j]);
1379
1379
  const b = a.useMemo(
@@ -1564,7 +1564,7 @@ function pn({
1564
1564
  xn,
1565
1565
  {
1566
1566
  ref: Z,
1567
- value: m,
1567
+ value: u,
1568
1568
  onChange: (o) => L(o.target.value),
1569
1569
  autoSize: { minRows: 2 },
1570
1570
  variant: "borderless",
@@ -1668,11 +1668,11 @@ function pn({
1668
1668
  {
1669
1669
  type: "button",
1670
1670
  className: "wandox-console-prompt__send",
1671
- disabled: !m.trim(),
1671
+ disabled: !u.trim(),
1672
1672
  onClick: () => {
1673
1673
  v == null || v({
1674
1674
  playbookParams: {},
1675
- message: m.trim(),
1675
+ message: u.trim(),
1676
1676
  attachments: I
1677
1677
  });
1678
1678
  },
@@ -1724,8 +1724,8 @@ function pn({
1724
1724
  {
1725
1725
  type: "button",
1726
1726
  role: "tab",
1727
- "aria-selected": u === o.key,
1728
- className: `wandox-console-chip${u === o.key ? " wandox-console-chip--active" : ""}`,
1727
+ "aria-selected": m === o.key,
1728
+ className: `wandox-console-chip${m === o.key ? " wandox-console-chip--active" : ""}`,
1729
1729
  onClick: () => p == null ? void 0 : p(o.key),
1730
1730
  children: /* @__PURE__ */ e.jsx("span", { children: o.name })
1731
1731
  },
@@ -1785,8 +1785,8 @@ function pn({
1785
1785
  className: `wandox-console-scene${G === o.playbook_id ? " wandox-console-scene--selected" : ""}`,
1786
1786
  onClick: () => ie(o),
1787
1787
  children: /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-scene__body", children: [
1788
- /* @__PURE__ */ e.jsx("strong", { children: o.title }),
1789
- o.desc && /* @__PURE__ */ e.jsx("span", { className: "wandox-console-scene__desc", children: o.desc })
1788
+ /* @__PURE__ */ e.jsx("strong", { title: o.title, children: o.title }),
1789
+ o.desc && /* @__PURE__ */ e.jsx("span", { className: "wandox-console-scene__desc", title: o.desc, children: o.desc })
1790
1790
  ] })
1791
1791
  },
1792
1792
  o.key
@@ -1823,23 +1823,23 @@ function bn({
1823
1823
  activeId: x
1824
1824
  }) {
1825
1825
  return /* @__PURE__ */ e.jsxs("header", { className: "wandox-console-topnav", "aria-label": "控制台顶部导航", children: [
1826
- /* @__PURE__ */ e.jsx("nav", { className: "wandox-console-topnav__pill", "aria-label": "工作台", children: t.map((u) => {
1827
- const p = x === u.id;
1826
+ /* @__PURE__ */ e.jsx("nav", { className: "wandox-console-topnav__pill", "aria-label": "工作台", children: t.map((m) => {
1827
+ const p = x === m.id;
1828
1828
  return /* @__PURE__ */ e.jsxs(
1829
1829
  "button",
1830
1830
  {
1831
1831
  type: "button",
1832
1832
  className: `wandox-console-topnav__pill-btn${p ? " wandox-console-topnav__pill-btn--active" : ""}`,
1833
- title: u.title,
1834
- "aria-label": u.title,
1833
+ title: m.title,
1834
+ "aria-label": m.title,
1835
1835
  "aria-current": p ? "page" : void 0,
1836
- onClick: () => l(u.id),
1836
+ onClick: () => l(m.id),
1837
1837
  children: [
1838
- /* @__PURE__ */ e.jsx("span", { className: "wandox-console-topnav__pill-icon", children: u.icon }),
1839
- /* @__PURE__ */ e.jsx("span", { className: "wandox-console-topnav__pill-text", children: u.title })
1838
+ /* @__PURE__ */ e.jsx("span", { className: "wandox-console-topnav__pill-icon", children: m.icon }),
1839
+ /* @__PURE__ */ e.jsx("span", { className: "wandox-console-topnav__pill-text", children: m.title })
1840
1840
  ]
1841
1841
  },
1842
- u.id
1842
+ m.id
1843
1843
  );
1844
1844
  }) }),
1845
1845
  /* @__PURE__ */ e.jsx(
@@ -1911,13 +1911,13 @@ function Es({
1911
1911
  title: t,
1912
1912
  onBack: l,
1913
1913
  hideHeader: x = !1,
1914
- className: u,
1914
+ className: m,
1915
1915
  children: p
1916
1916
  }) {
1917
1917
  return /* @__PURE__ */ e.jsxs(
1918
1918
  "div",
1919
1919
  {
1920
- className: `wandox-console-featureview${u ? ` ${u}` : ""}`,
1920
+ className: `wandox-console-featureview${m ? ` ${m}` : ""}`,
1921
1921
  children: [
1922
1922
  !x && /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-featureview__bar", children: [
1923
1923
  /* @__PURE__ */ e.jsxs(
@@ -1943,7 +1943,7 @@ function jn({
1943
1943
  agents: t,
1944
1944
  initialAgentId: l,
1945
1945
  initialPlaybookId: x,
1946
- initialPlaybookParams: u,
1946
+ initialPlaybookParams: m,
1947
1947
  onReady: p
1948
1948
  } = {}) {
1949
1949
  const {
@@ -1953,11 +1953,11 @@ function jn({
1953
1953
  selectedAgent: v,
1954
1954
  selectAgent: P,
1955
1955
  ...ee
1956
- } = Wa({ presetAgents: t, initialAgentId: l }), [W, ce] = a.useState(null), m = a.useRef(null), L = a.useRef(!1), [z, S] = a.useState("home"), [Z, se] = a.useState(
1956
+ } = Wa({ presetAgents: t, initialAgentId: l }), [W, ce] = a.useState(null), u = a.useRef(null), L = a.useRef(!1), [z, S] = a.useState("home"), [Z, se] = a.useState(
1957
1957
  null
1958
1958
  ), [ae, O] = a.useState(!1), [N, Y] = a.useState(null), [ne, B] = a.useState(""), T = v == null ? void 0 : v.name, A = a.useCallback((h) => {
1959
- if (m.current) {
1960
- m.current.showInspectionResults(h);
1959
+ if (u.current) {
1960
+ u.current.showInspectionResults(h);
1961
1961
  return;
1962
1962
  }
1963
1963
  ce({ robotName: h });
@@ -1965,7 +1965,7 @@ function jn({
1965
1965
  a.useEffect(() => {
1966
1966
  p == null || p({ showInspectionResults: A });
1967
1967
  }, [A, p]), a.useEffect(() => {
1968
- !W || m.current || !_ || z === "chat" || (Y({
1968
+ !W || u.current || !_ || z === "chat" || (Y({
1969
1969
  agentId: _,
1970
1970
  agentName: T,
1971
1971
  playbookParams: {},
@@ -2003,7 +2003,7 @@ function jn({
2003
2003
  agentId: _,
2004
2004
  agentName: h.name,
2005
2005
  playbookId: x,
2006
- playbookParams: u || {},
2006
+ playbookParams: m || {},
2007
2007
  message: ""
2008
2008
  }), S("chat"));
2009
2009
  }, [
@@ -2011,7 +2011,7 @@ function jn({
2011
2011
  k,
2012
2012
  l,
2013
2013
  x,
2014
- u,
2014
+ m,
2015
2015
  _,
2016
2016
  T
2017
2017
  ]), a.useEffect(() => {
@@ -2089,11 +2089,11 @@ function jn({
2089
2089
  userPlaybooks: he,
2090
2090
  agents: k,
2091
2091
  onReady: (h) => {
2092
- m.current = h, W && (h.showInspectionResults(W.robotName), ce(null));
2092
+ u.current = h, W && (h.showInspectionResults(W.robotName), ce(null));
2093
2093
  },
2094
2094
  onChangeAgent: b,
2095
2095
  onBack: () => {
2096
- m.current = null, S("home");
2096
+ u.current = null, S("home");
2097
2097
  },
2098
2098
  onSelectScene: () => {
2099
2099
  }