@wandox/sdk 0.1.35 → 0.1.37

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 (107) hide show
  1. package/dist/{V1Workbench-Duh15otc.js → V1Workbench-CqWNz8eg.js} +206 -206
  2. package/dist/{V1Workbench-OnGicnM-.cjs → V1Workbench-UL6m_GSU.cjs} +1 -1
  3. package/dist/V2Workbench-a7fIKHSI.js +2352 -0
  4. package/dist/V2Workbench-tUL0KmKo.cjs +2 -0
  5. package/dist/{WorkbenchRuntime-QRXyaZ5I.cjs → WorkbenchRuntime-BPjLWyHy.cjs} +5 -5
  6. package/dist/{WorkbenchRuntime-B2C8SbrZ.js → WorkbenchRuntime-kI4h_Boi.js} +149 -143
  7. package/dist/{arc-CfnbUnJa.cjs → arc-B5N4v9Jv.cjs} +1 -1
  8. package/dist/{arc-C3McnqVx.js → arc-BRgfV2vT.js} +1 -1
  9. package/dist/{architectureDiagram-3BPJPVTR-DKV9z5FO.js → architectureDiagram-3BPJPVTR-DUgD63Rt.js} +3 -3
  10. package/dist/{architectureDiagram-3BPJPVTR-EmeNsmhR.cjs → architectureDiagram-3BPJPVTR-DjM6oFEx.cjs} +1 -1
  11. package/dist/{blockDiagram-GPEHLZMM-CwMlZLrY.js → blockDiagram-GPEHLZMM-6EI7pONG.js} +3 -3
  12. package/dist/{blockDiagram-GPEHLZMM-B3PO97gR.cjs → blockDiagram-GPEHLZMM-Bbk0DebD.cjs} +1 -1
  13. package/dist/{c4Diagram-AAUBKEIU-DDvw0p9i.js → c4Diagram-AAUBKEIU-CPATCWpo.js} +2 -2
  14. package/dist/{c4Diagram-AAUBKEIU-CIJm8DIv.cjs → c4Diagram-AAUBKEIU-UW4tUuYO.cjs} +1 -1
  15. package/dist/{channel-BW_f3mZ1.js → channel-BOuHczM9.js} +1 -1
  16. package/dist/{channel-B6D2dt-a.cjs → channel-BPVKsQR4.cjs} +1 -1
  17. package/dist/{chunk-2J33WTMH-B9LmfIjP.js → chunk-2J33WTMH-BMA-WoY7.js} +1 -1
  18. package/dist/{chunk-2J33WTMH-CAtXTwyr.cjs → chunk-2J33WTMH-JkZNZ2FQ.cjs} +1 -1
  19. package/dist/{chunk-4BX2VUAB-C_E82st1.js → chunk-4BX2VUAB-CoubCo12.js} +1 -1
  20. package/dist/{chunk-4BX2VUAB-TTJvrk_8.cjs → chunk-4BX2VUAB-DJjQ2iym.cjs} +1 -1
  21. package/dist/{chunk-55IACEB6-CuKoQ8P-.js → chunk-55IACEB6-B8_bbLHJ.js} +1 -1
  22. package/dist/{chunk-55IACEB6-Co8MIdgs.cjs → chunk-55IACEB6-k8m2Tb0O.cjs} +1 -1
  23. package/dist/{chunk-727SXJPM-Cup_K8Hg.cjs → chunk-727SXJPM-Dk4Qx6Cj.cjs} +1 -1
  24. package/dist/{chunk-727SXJPM-Cs8uS9SJ.js → chunk-727SXJPM-w5uqNLUJ.js} +5 -5
  25. package/dist/{chunk-AQP2D5EJ-Ck3VZgwQ.js → chunk-AQP2D5EJ-BC_iX9X6.js} +3 -3
  26. package/dist/{chunk-AQP2D5EJ-BJ2GPeyZ.cjs → chunk-AQP2D5EJ-rJ3mY-t4.cjs} +1 -1
  27. package/dist/{chunk-FMBD7UC4-ClCmPgT2.cjs → chunk-FMBD7UC4-C_CgBQVs.cjs} +1 -1
  28. package/dist/{chunk-FMBD7UC4-_xpDdMNi.js → chunk-FMBD7UC4-DZlFTSR3.js} +1 -1
  29. package/dist/{chunk-ND2GUHAM-BahupltG.js → chunk-ND2GUHAM-SOVIggp_.js} +1 -1
  30. package/dist/{chunk-ND2GUHAM-5_kT1SOB.cjs → chunk-ND2GUHAM-rYKw1ewI.cjs} +1 -1
  31. package/dist/{chunk-QZHKN3VN-CdL_F3Vv.js → chunk-QZHKN3VN-BzYA6_MS.js} +1 -1
  32. package/dist/{chunk-QZHKN3VN-Ca5tmmHx.cjs → chunk-QZHKN3VN-D_n03X4c.cjs} +1 -1
  33. package/dist/{classDiagram-4FO5ZUOK-DZ87tNdh.cjs → classDiagram-4FO5ZUOK-Cus7V0-B.cjs} +1 -1
  34. package/dist/{classDiagram-4FO5ZUOK-CnMvmQcX.js → classDiagram-4FO5ZUOK-yY-LWEE5.js} +2 -2
  35. package/dist/{classDiagram-v2-Q7XG4LA2-DZ87tNdh.cjs → classDiagram-v2-Q7XG4LA2-Cus7V0-B.cjs} +1 -1
  36. package/dist/{classDiagram-v2-Q7XG4LA2-90g5yMq9.js → classDiagram-v2-Q7XG4LA2-D_2oVIAG.js} +2 -2
  37. package/dist/{cose-bilkent-S5V4N54A-D9USBZBY.cjs → cose-bilkent-S5V4N54A-C8A50UJc.cjs} +1 -1
  38. package/dist/{cose-bilkent-S5V4N54A-DOMJ8Dw0.js → cose-bilkent-S5V4N54A-DtK_d2nt.js} +6 -6
  39. package/dist/{dagre-BM42HDAG-BruKrkrz.js → dagre-BM42HDAG-B9o52kSq.js} +1 -1
  40. package/dist/{dagre-BM42HDAG-D9xkOYd1.cjs → dagre-BM42HDAG-CctSzO0L.cjs} +1 -1
  41. package/dist/{diagram-2AECGRRQ-B7fBRPEm.js → diagram-2AECGRRQ-DEOJdLIi.js} +2 -2
  42. package/dist/{diagram-2AECGRRQ-CHwHxLjN.cjs → diagram-2AECGRRQ-DeefcALf.cjs} +1 -1
  43. package/dist/{diagram-5GNKFQAL-B3sIjwSe.cjs → diagram-5GNKFQAL-C9cD2jn6.cjs} +1 -1
  44. package/dist/{diagram-5GNKFQAL-C68LRU93.js → diagram-5GNKFQAL-DyxjjnMI.js} +3 -3
  45. package/dist/{diagram-KO2AKTUF-Decii5jM.js → diagram-KO2AKTUF-4juRrpvB.js} +2 -2
  46. package/dist/{diagram-KO2AKTUF-CZkt3wwK.cjs → diagram-KO2AKTUF-Mo7XhFrv.cjs} +1 -1
  47. package/dist/{diagram-LMA3HP47-D7hixvGx.cjs → diagram-LMA3HP47-BFs_xRRv.cjs} +1 -1
  48. package/dist/{diagram-LMA3HP47-BRJpaLnd.js → diagram-LMA3HP47-CxL8EBEI.js} +2 -2
  49. package/dist/{diagram-OG6HWLK6-DwSOhl1j.js → diagram-OG6HWLK6-BX-585Ye.js} +3 -3
  50. package/dist/{diagram-OG6HWLK6-dSSwZ9rN.cjs → diagram-OG6HWLK6-CB1fsChK.cjs} +1 -1
  51. package/dist/{erDiagram-TEJ5UH35-ClUTkoiL.js → erDiagram-TEJ5UH35-DC0Ho0nI.js} +4 -4
  52. package/dist/{erDiagram-TEJ5UH35-CCZ0q594.cjs → erDiagram-TEJ5UH35-vPdDZRYq.cjs} +1 -1
  53. package/dist/{flowDiagram-I6XJVG4X-CfhSJE55.js → flowDiagram-I6XJVG4X-7BW5uO8c.js} +6 -6
  54. package/dist/{flowDiagram-I6XJVG4X-BN-jwNXL.cjs → flowDiagram-I6XJVG4X-BiRLUlz2.cjs} +1 -1
  55. package/dist/{ganttDiagram-6RSMTGT7-CF1liYk-.cjs → ganttDiagram-6RSMTGT7-BMrijLIp.cjs} +1 -1
  56. package/dist/{ganttDiagram-6RSMTGT7-Dq7VvM2M.js → ganttDiagram-6RSMTGT7-Bhohg83R.js} +3 -3
  57. package/dist/{gitGraphDiagram-PVQCEYII-P9t07gif.cjs → gitGraphDiagram-PVQCEYII-Bq_8mOSi.cjs} +1 -1
  58. package/dist/{gitGraphDiagram-PVQCEYII-odnoukk4.js → gitGraphDiagram-PVQCEYII-CwSJFsFx.js} +3 -3
  59. package/dist/{index-CLCe0Dgz.cjs → index-Bl0cgfIz.cjs} +1 -1
  60. package/dist/{index-BQMJ9VDu.cjs → index-BygO8jcH.cjs} +1 -1
  61. package/dist/{index-Cq6GT084.js → index-CQYJcpLn.js} +155 -155
  62. package/dist/{index-4FmQg3Zk.js → index-Dhd78ysx.js} +677 -673
  63. package/dist/{index-CFEgQrfn.js → index-RmIugmM4.js} +38 -38
  64. package/dist/{index-CQgUKSVP.cjs → index-dISfYziG.cjs} +182 -182
  65. package/dist/{infoDiagram-5YYISTIA-vIftEDKa.cjs → infoDiagram-5YYISTIA-B-PYR74F.cjs} +1 -1
  66. package/dist/{infoDiagram-5YYISTIA-CzWTUV3i.js → infoDiagram-5YYISTIA-BNytnCXI.js} +1 -1
  67. package/dist/{ishikawaDiagram-YF4QCWOH-DoFATknv.cjs → ishikawaDiagram-YF4QCWOH-4OKBUv_s.cjs} +1 -1
  68. package/dist/{ishikawaDiagram-YF4QCWOH-5oQSrlLN.js → ishikawaDiagram-YF4QCWOH-BG80wXBr.js} +1 -1
  69. package/dist/{journeyDiagram-JHISSGLW-BHsXT1p8.js → journeyDiagram-JHISSGLW-g82mk2Fe.js} +4 -4
  70. package/dist/{journeyDiagram-JHISSGLW-DUspfQIx.cjs → journeyDiagram-JHISSGLW-yt60VGMo.cjs} +1 -1
  71. package/dist/{kanban-definition-UN3LZRKU-BqKlDwWt.cjs → kanban-definition-UN3LZRKU-BFH_hAyY.cjs} +1 -1
  72. package/dist/{kanban-definition-UN3LZRKU-CbizhZ4A.js → kanban-definition-UN3LZRKU-BmK56MSs.js} +2 -2
  73. package/dist/{linear-O3WIbS9A.js → linear-BpsU0HcQ.js} +1 -1
  74. package/dist/{linear-BeJA81Is.cjs → linear-zILWiTVq.cjs} +1 -1
  75. package/dist/{mermaid.core-EIMF3BAo.cjs → mermaid.core-BvN-J_AM.cjs} +3 -3
  76. package/dist/{mermaid.core-C-YWP2jz.js → mermaid.core-NivSZeQG.js} +35 -35
  77. package/dist/{mindmap-definition-RKZ34NQL-yQ9g46ph.js → mindmap-definition-RKZ34NQL-BXoEIZmG.js} +3 -3
  78. package/dist/{mindmap-definition-RKZ34NQL-DcaDYCfJ.cjs → mindmap-definition-RKZ34NQL-C3LWrNPx.cjs} +1 -1
  79. package/dist/{pieDiagram-4H26LBE5-DDbOWta5.cjs → pieDiagram-4H26LBE5-CN01uXEU.cjs} +1 -1
  80. package/dist/{pieDiagram-4H26LBE5-BPAmrvlh.js → pieDiagram-4H26LBE5-y5XnB67r.js} +3 -3
  81. package/dist/{quadrantDiagram-W4KKPZXB-7EOeN28t.cjs → quadrantDiagram-W4KKPZXB-BdWRtxg8.cjs} +1 -1
  82. package/dist/{quadrantDiagram-W4KKPZXB-CBFKlxRx.js → quadrantDiagram-W4KKPZXB-DoHOsDDM.js} +2 -2
  83. package/dist/{requirementDiagram-4Y6WPE33-BAkakkMp.cjs → requirementDiagram-4Y6WPE33-B6ltwG99.cjs} +1 -1
  84. package/dist/{requirementDiagram-4Y6WPE33-BZk_3wFB.js → requirementDiagram-4Y6WPE33-BUqcv09v.js} +3 -3
  85. package/dist/{sankeyDiagram-5OEKKPKP-CrbL-5cr.js → sankeyDiagram-5OEKKPKP-D3yaTkog.js} +1 -1
  86. package/dist/{sankeyDiagram-5OEKKPKP-DYEggaLM.cjs → sankeyDiagram-5OEKKPKP-Dw_I3L5w.cjs} +1 -1
  87. package/dist/{sequenceDiagram-3UESZ5HK-B2Yk8NuE.js → sequenceDiagram-3UESZ5HK-Dlw7AYVR.js} +3 -3
  88. package/dist/{sequenceDiagram-3UESZ5HK-cky8-ajI.cjs → sequenceDiagram-3UESZ5HK-Dw-Oo3gQ.cjs} +1 -1
  89. package/dist/{stateDiagram-AJRCARHV-DKppy5jM.js → stateDiagram-AJRCARHV-G5aGpm4h.js} +2 -2
  90. package/dist/{stateDiagram-AJRCARHV-4peSgT8x.cjs → stateDiagram-AJRCARHV-RlkILcfR.cjs} +1 -1
  91. package/dist/{stateDiagram-v2-BHNVJYJU-CefiWaGq.cjs → stateDiagram-v2-BHNVJYJU-B5MqneJj.cjs} +1 -1
  92. package/dist/{stateDiagram-v2-BHNVJYJU-DsQP1CsR.js → stateDiagram-v2-BHNVJYJU-U7btkN-c.js} +2 -2
  93. package/dist/{timeline-definition-PNZ67QCA-CFJYzYQn.cjs → timeline-definition-PNZ67QCA-DZWO25QG.cjs} +1 -1
  94. package/dist/{timeline-definition-PNZ67QCA-snDcaYSq.js → timeline-definition-PNZ67QCA-I1bAZF32.js} +2 -2
  95. package/dist/{vennDiagram-CIIHVFJN-BniEMR4w.js → vennDiagram-CIIHVFJN-GqC6bKPW.js} +1 -1
  96. package/dist/{vennDiagram-CIIHVFJN-RPKP_Mb2.cjs → vennDiagram-CIIHVFJN-OMVDPAYS.cjs} +1 -1
  97. package/dist/wandox.cjs +1 -1
  98. package/dist/wandox.css +1 -1
  99. package/dist/wandox.js +3 -3
  100. package/dist/wandox.umd.js +625 -625
  101. package/dist/{wardleyDiagram-YWT4CUSO-msArC69-.cjs → wardleyDiagram-YWT4CUSO-BS6EQ76K.cjs} +1 -1
  102. package/dist/{wardleyDiagram-YWT4CUSO-DvDYViI5.js → wardleyDiagram-YWT4CUSO-B_ri0S8_.js} +2 -2
  103. package/dist/{xychartDiagram-2RQKCTM6-B4nZMXk5.cjs → xychartDiagram-2RQKCTM6-BIi1O5Px.cjs} +1 -1
  104. package/dist/{xychartDiagram-2RQKCTM6-CEcIgPon.js → xychartDiagram-2RQKCTM6-VaspgPkc.js} +2 -2
  105. package/package.json +1 -1
  106. package/dist/V2Workbench-ChqSBXHY.cjs +0 -2
  107. package/dist/V2Workbench-Cwx-XP5u.js +0 -2170
@@ -1,10 +1,10 @@
1
- var Na = (e) => {
1
+ var Ca = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
- var ls = (e, t, s) => t.has(e) || Na("Cannot " + s);
5
- var $ = (e, t, s) => (ls(e, t, "read from private field"), s ? s.call(e) : t.get(e)), Ie = (e, t, s) => t.has(e) ? Na("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), ye = (e, t, s, a) => (ls(e, t, "write to private field"), a ? a.call(e, s) : t.set(e, s), s), we = (e, t, s) => (ls(e, t, "access private method"), s);
6
- import { ds as o, af as tt, bD as Sr, dj as Ea, dw as st, dC as Bn, dz as _n, d8 as Wn, cd as gs, c_ as Ia, dL as Jo, dM as Ln, cl as Zo, ci as ei, du as Ta, dg as Gn, cU as Ra, cA as ti, dD as Xs, e9 as De, df as ni, c$ as n, bx as si, cV as Yn, cr as ai, ai as Ae, cP as wr, bI as vr, bM as Cr, bE as Mt, bO as Vn, bB as Oe, b5 as at, i as pe, bd as on, be as Js, by as ft, aS as ri, b1 as Un, e1 as oi, N as Fe, aq as lt, aC as Nr, dF as W, a9 as ii, bQ as ci, a8 as li, U as Zs, bf as gt, bv as Er, aL as ui, aB as di, aE as Xn, a6 as Ir, a5 as mi, O as Aa, bJ as pi, bA as hn, bH as vt, bg as Fa, b8 as Tr, aM as hi, a7 as fi, c9 as La, aD as gi, E as xi, z as _i, di as ea, cW as se, cX as Jn, c3 as bi, a2 as Rr, W as xs, a0 as yi, $ as ji, cu as Gt, x as ki, aJ as Si, ay as wi, az as vi, aw as Ci, w as Ni, at as Ei, au as Ii, av as Ti, D as Ri, aK as Ai, ax as Fi, ac as Li, bN as Zn, b as Di, c5 as Ar, dy as zt, cj as cn, aO as ct, ae as Mi, bh as Fr, c6 as ta, db as _s, bi as Lr, b4 as na, r as $i, bj as sa, bk as Oi, bl as Pi, bm as zi, bn as $t, X as Dr, bG as Bi, aZ as Mr, c8 as Wi, bo as Vi, bK as Nt, b9 as Ui, ba as Ki, bp as Hi, eg as $r, a1 as qi, d9 as Qi, dZ as Or, L as Kn, aR as Gi, a$ as Pr, d as zr, cv as aa, cK as Yi, dh as ht, a_ as Br, cR as Kt, c7 as Xi, cf as xt, B as Wr, J as Ji, bq as Zi, cm as Ht, br as ec, dO as tc, dn as Vr, cE as nc, cD as Ur, cg as Kr, d1 as ra, cC as Hn, bX as sc, dr as Pn, bW as Hr, cJ as qr, dP as qn, bS as ac, dd as oa, dm as Qr, cx as Gr, dJ as Yr, dE as ia, cS as Bt, d6 as ca, cB as Re, dA as In, dx as rc, c4 as Xr, bT as Jr, bY as oc, bR as ic, de as cc, bU as lc, bV as uc, a3 as dc, _ as mc, Y as pc, Z as hc, V as fc, dp as Yt, dq as gc, ce as Da, cT as xc, da as Zr, cM as _c, bZ as bc, ed as yc, ee as jc, cO as eo, dS as kc, dI as Ma, b2 as Sc, cL as wc, bw as vc, dT as Cc, d0 as Nc, f as Ec, g as Ic, cn as Tc, dc as Rc, dt as Ac, e as Fc, cw as Lc, h as Dc, dQ as Mc, cy as $c, dV as Oc, e6 as Pc, eb as zc, R as Bc, cs as Wc, Q as Vc, aI as Uc, S as Kc, b$ as Hc } from "./index-4FmQg3Zk.js";
7
- import { S as qc, D as to } from "./index-Cq6GT084.js";
4
+ var ls = (e, t, s) => t.has(e) || Ca("Cannot " + s);
5
+ var $ = (e, t, s) => (ls(e, t, "read from private field"), s ? s.call(e) : t.get(e)), Ie = (e, t, s) => t.has(e) ? Ca("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), ye = (e, t, s, a) => (ls(e, t, "write to private field"), a ? a.call(e, s) : t.set(e, s), s), we = (e, t, s) => (ls(e, t, "access private method"), s);
6
+ import { dt as o, af as tt, bE as Sr, dk as Ea, dx as st, dD as Bn, dA as _n, d9 as Wn, ce as gs, c$ as Ia, dM as Jo, dN as Ln, cm as Zo, cj as ei, dv as Ta, dh as Gn, cV as Ra, cB as ti, dE as Xs, ea as De, dg as ni, d0 as n, by as si, cW as Yn, cs as ai, ai as Ae, cQ as wr, bJ as vr, bN as Nr, bF as Mt, bP as Vn, bC as Oe, b6 as at, i as pe, be as on, bf as Js, bz as ft, aT as ri, b2 as Un, e2 as oi, N as Fe, aq as lt, aC as Cr, dG as W, a9 as ii, bR as ci, a8 as li, U as Zs, bg as gt, bw as Er, aL as ui, aB as di, aE as Xn, a6 as Ir, a5 as mi, O as Aa, bK as pi, bB as hn, bI as vt, bh as Fa, b9 as Tr, aM as hi, a7 as fi, ca as La, aD as gi, E as xi, z as _i, dj as ea, cX as se, cY as Jn, c4 as bi, a2 as Rr, W as xs, a0 as yi, $ as ji, cv as Gt, x as ki, aJ as Si, ay as wi, az as vi, aw as Ni, w as Ci, at as Ei, au as Ii, av as Ti, D as Ri, aK as Ai, ax as Fi, ac as Li, bO as Zn, b as Di, c6 as Ar, dz as zt, ck as cn, aO as ct, ae as Mi, bi as Fr, c7 as ta, dc as _s, bj as Lr, b5 as na, r as $i, bk as sa, bl as Oi, bm as Pi, bn as zi, bo as $t, X as Dr, bH as Bi, a_ as Mr, c9 as Wi, bp as Vi, bL as Ct, ba as Ui, bb as Ki, bq as Hi, eh as $r, a1 as qi, da as Qi, d_ as Or, L as Kn, aS as Gi, b0 as Pr, d as zr, cw as aa, cL as Yi, di as ht, a$ as Br, cS as Kt, c8 as Xi, cg as xt, B as Wr, J as Ji, br as Zi, cn as Ht, bs as ec, dP as tc, dp as Vr, cF as nc, cE as Ur, ch as Kr, d2 as ra, cD as Hn, bY as sc, ds as Pn, bX as Hr, cK as qr, dQ as qn, bT as ac, de as oa, dn as Qr, cy as Gr, dK as Yr, dF as ia, cT as Bt, d7 as ca, cC as Re, dB as In, dy as rc, c5 as Xr, bU as Jr, bZ as oc, bS as ic, df as cc, bV as lc, bW as uc, a3 as dc, _ as mc, Y as pc, Z as hc, V as fc, dq as Yt, dr as gc, cf as Da, cU as xc, db as Zr, cN as _c, b_ as bc, ee as yc, ef as jc, cP as eo, dT as kc, dJ as Ma, b3 as Sc, cM as wc, bx as vc, dU as Nc, d1 as Cc, f as Ec, g as Ic, co as Tc, dd as Rc, du as Ac, e as Fc, cx as Lc, h as Dc, dR as Mc, cz as $c, dW as Oc, e7 as Pc, ec as zc, R as Bc, ct as Wc, Q as Vc, aI as Uc, S as Kc, c0 as Hc } from "./index-Dhd78ysx.js";
7
+ import { S as qc, D as to } from "./index-CQYJcpLn.js";
8
8
  var Qc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "arrow-left", theme: "outlined" };
9
9
  function bs() {
10
10
  return bs = Object.assign ? Object.assign.bind() : function(e) {
@@ -111,32 +111,32 @@ const ul = (e, t) => /* @__PURE__ */ o.createElement(tt, vs({}, e, {
111
111
  icon: ll
112
112
  })), dl = /* @__PURE__ */ o.forwardRef(ul);
113
113
  var ml = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z" } }] }, name: "notification", theme: "outlined" };
114
- function Cs() {
115
- return Cs = Object.assign ? Object.assign.bind() : function(e) {
114
+ function Ns() {
115
+ return Ns = Object.assign ? Object.assign.bind() : function(e) {
116
116
  for (var t = 1; t < arguments.length; t++) {
117
117
  var s = arguments[t];
118
118
  for (var a in s)
119
119
  Object.prototype.hasOwnProperty.call(s, a) && (e[a] = s[a]);
120
120
  }
121
121
  return e;
122
- }, Cs.apply(this, arguments);
122
+ }, Ns.apply(this, arguments);
123
123
  }
124
- const pl = (e, t) => /* @__PURE__ */ o.createElement(tt, Cs({}, e, {
124
+ const pl = (e, t) => /* @__PURE__ */ o.createElement(tt, Ns({}, e, {
125
125
  ref: t,
126
126
  icon: ml
127
127
  })), hl = /* @__PURE__ */ o.forwardRef(pl);
128
128
  var fl = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "robot", theme: "outlined" };
129
- function Ns() {
130
- return Ns = Object.assign ? Object.assign.bind() : function(e) {
129
+ function Cs() {
130
+ return Cs = Object.assign ? Object.assign.bind() : function(e) {
131
131
  for (var t = 1; t < arguments.length; t++) {
132
132
  var s = arguments[t];
133
133
  for (var a in s)
134
134
  Object.prototype.hasOwnProperty.call(s, a) && (e[a] = s[a]);
135
135
  }
136
136
  return e;
137
- }, Ns.apply(this, arguments);
137
+ }, Cs.apply(this, arguments);
138
138
  }
139
- const gl = (e, t) => /* @__PURE__ */ o.createElement(tt, Ns({}, e, {
139
+ const gl = (e, t) => /* @__PURE__ */ o.createElement(tt, Cs({}, e, {
140
140
  ref: t,
141
141
  icon: fl
142
142
  })), xl = /* @__PURE__ */ o.forwardRef(gl);
@@ -184,8 +184,8 @@ function Ts() {
184
184
  const vl = (e, t) => /* @__PURE__ */ o.createElement(tt, Ts({}, e, {
185
185
  ref: t,
186
186
  icon: wl
187
- })), Cl = /* @__PURE__ */ o.forwardRef(vl);
188
- var Nl = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z" } }] }, name: "wechat-work", theme: "outlined" };
187
+ })), Nl = /* @__PURE__ */ o.forwardRef(vl);
188
+ var Cl = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z" } }] }, name: "wechat-work", theme: "outlined" };
189
189
  function Rs() {
190
190
  return Rs = Object.assign ? Object.assign.bind() : function(e) {
191
191
  for (var t = 1; t < arguments.length; t++) {
@@ -198,15 +198,15 @@ function Rs() {
198
198
  }
199
199
  const El = (e, t) => /* @__PURE__ */ o.createElement(tt, Rs({}, e, {
200
200
  ref: t,
201
- icon: Nl
201
+ icon: Cl
202
202
  })), Il = /* @__PURE__ */ o.forwardRef(El);
203
- var Qe, fe, Nn, Ve, Wt, nn, kt, At, En, sn, an, Vt, Ut, Ft, rn, _e, fn, As, Fs, Ls, Ds, Ms, $s, Os, so, jr, Tl = (jr = class extends Sr {
203
+ var Qe, fe, Cn, Ve, Wt, nn, kt, At, En, sn, an, Vt, Ut, Ft, rn, _e, fn, As, Fs, Ls, Ds, Ms, $s, Os, so, jr, Tl = (jr = class extends Sr {
204
204
  constructor(t, s) {
205
205
  super();
206
206
  Ie(this, _e);
207
207
  Ie(this, Qe);
208
208
  Ie(this, fe);
209
- Ie(this, Nn);
209
+ Ie(this, Cn);
210
210
  Ie(this, Ve);
211
211
  Ie(this, Wt);
212
212
  Ie(this, nn);
@@ -309,7 +309,7 @@ var Qe, fe, Nn, Ve, Wt, nn, kt, At, En, sn, an, Vt, Ut, Ft, rn, _e, fn, As, Fs,
309
309
  }
310
310
  createResult(t, s) {
311
311
  var E;
312
- const a = $(this, fe), r = this.options, c = $(this, Ve), i = $(this, Wt), m = $(this, nn), g = t !== a ? t.state : $(this, Nn), { state: f } = t;
312
+ const a = $(this, fe), r = this.options, c = $(this, Ve), i = $(this, Wt), m = $(this, nn), g = t !== a ? t.state : $(this, Cn), { state: f } = t;
313
313
  let _ = { ...f }, x = !1, u;
314
314
  if (s._optimisticResults) {
315
315
  const j = this.hasListeners(), R = !j && $a(t, s), L = j && Oa(t, a, s, r);
@@ -415,7 +415,7 @@ var Qe, fe, Nn, Ve, Wt, nn, kt, At, En, sn, an, Vt, Ut, Ft, rn, _e, fn, As, Fs,
415
415
  onQueryUpdate() {
416
416
  this.updateResult(), this.hasListeners() && we(this, _e, Ds).call(this);
417
417
  }
418
- }, Qe = new WeakMap(), fe = new WeakMap(), Nn = new WeakMap(), Ve = new WeakMap(), Wt = new WeakMap(), nn = new WeakMap(), kt = new WeakMap(), At = new WeakMap(), En = new WeakMap(), sn = new WeakMap(), an = new WeakMap(), Vt = new WeakMap(), Ut = new WeakMap(), Ft = new WeakMap(), rn = new WeakMap(), _e = new WeakSet(), fn = function(t) {
418
+ }, Qe = new WeakMap(), fe = new WeakMap(), Cn = new WeakMap(), Ve = new WeakMap(), Wt = new WeakMap(), nn = new WeakMap(), kt = new WeakMap(), At = new WeakMap(), En = new WeakMap(), sn = new WeakMap(), an = new WeakMap(), Vt = new WeakMap(), Ut = new WeakMap(), Ft = new WeakMap(), rn = new WeakMap(), _e = new WeakSet(), fn = function(t) {
419
419
  we(this, _e, Os).call(this);
420
420
  let s = $(this, fe).fetch(
421
421
  this.options,
@@ -451,7 +451,7 @@ var Qe, fe, Nn, Ve, Wt, nn, kt, At, En, sn, an, Vt, Ut, Ft, rn, _e, fn, As, Fs,
451
451
  if (t === $(this, fe))
452
452
  return;
453
453
  const s = $(this, fe);
454
- ye(this, fe, t), ye(this, Nn, t.state), this.hasListeners() && (s == null || s.removeObserver(this), t.addObserver(this));
454
+ ye(this, fe, t), ye(this, Cn, t.state), this.hasListeners() && (s == null || s.removeObserver(this), t.addObserver(this));
455
455
  }, so = function(t) {
456
456
  Gn.batch(() => {
457
457
  t.listeners && this.listeners.forEach((s) => {
@@ -484,15 +484,15 @@ function la(e, t) {
484
484
  function Al(e, t) {
485
485
  return !Bn(e.getCurrentResult(), t);
486
486
  }
487
- var St, Lt, Ge, wt, Ct, zn, zs, kr, Fl = (kr = class extends Sr {
487
+ var St, Lt, Ge, wt, Nt, zn, zs, kr, Fl = (kr = class extends Sr {
488
488
  constructor(s, a) {
489
489
  super();
490
- Ie(this, Ct);
490
+ Ie(this, Nt);
491
491
  Ie(this, St);
492
492
  Ie(this, Lt);
493
493
  Ie(this, Ge);
494
494
  Ie(this, wt);
495
- ye(this, St, s), this.setOptions(a), this.bindMethods(), we(this, Ct, zn).call(this);
495
+ ye(this, St, s), this.setOptions(a), this.bindMethods(), we(this, Nt, zn).call(this);
496
496
  }
497
497
  bindMethods() {
498
498
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -511,20 +511,20 @@ var St, Lt, Ge, wt, Ct, zn, zs, kr, Fl = (kr = class extends Sr {
511
511
  this.hasListeners() || (s = $(this, Ge)) == null || s.removeObserver(this);
512
512
  }
513
513
  onMutationUpdate(s) {
514
- we(this, Ct, zn).call(this), we(this, Ct, zs).call(this, s);
514
+ we(this, Nt, zn).call(this), we(this, Nt, zs).call(this, s);
515
515
  }
516
516
  getCurrentResult() {
517
517
  return $(this, Lt);
518
518
  }
519
519
  reset() {
520
520
  var s;
521
- (s = $(this, Ge)) == null || s.removeObserver(this), ye(this, Ge, void 0), we(this, Ct, zn).call(this), we(this, Ct, zs).call(this);
521
+ (s = $(this, Ge)) == null || s.removeObserver(this), ye(this, Ge, void 0), we(this, Nt, zn).call(this), we(this, Nt, zs).call(this);
522
522
  }
523
523
  mutate(s, a) {
524
524
  var r;
525
525
  return ye(this, wt, a), (r = $(this, Ge)) == null || r.removeObserver(this), ye(this, Ge, $(this, St).getMutationCache().build($(this, St), this.options)), $(this, Ge).addObserver(this), $(this, Ge).execute(s);
526
526
  }
527
- }, St = new WeakMap(), Lt = new WeakMap(), Ge = new WeakMap(), wt = new WeakMap(), Ct = new WeakSet(), zn = function() {
527
+ }, St = new WeakMap(), Lt = new WeakMap(), Ge = new WeakMap(), wt = new WeakMap(), Nt = new WeakSet(), zn = function() {
528
528
  var a;
529
529
  const s = ((a = $(this, Ge)) == null ? void 0 : a.state) ?? ti();
530
530
  ye(this, Lt, {
@@ -1036,7 +1036,7 @@ function co({
1036
1036
  case "integer":
1037
1037
  case "float":
1038
1038
  return /* @__PURE__ */ n.jsx(
1039
- Cr,
1039
+ Nr,
1040
1040
  {
1041
1041
  size: a,
1042
1042
  value: Hl(t),
@@ -1168,7 +1168,7 @@ function Zl({
1168
1168
  platform: _.platform,
1169
1169
  webhook_url: _.webhook_url,
1170
1170
  secret: _.secret || void 0
1171
- }, u = await Nr({}, x);
1171
+ }, u = await Cr({}, x);
1172
1172
  u != null && u.data ? (W.success(a("webhook.createSuccess")), s({
1173
1173
  webhook_id: u.data.webhook_id || u.data.id,
1174
1174
  name: _.name,
@@ -1376,7 +1376,7 @@ function eu({
1376
1376
  case "integer":
1377
1377
  case "float":
1378
1378
  return /* @__PURE__ */ n.jsx(
1379
- Cr,
1379
+ Nr,
1380
1380
  {
1381
1381
  style: { width: "100%" },
1382
1382
  value: J,
@@ -1861,7 +1861,7 @@ const au = ({ className: e }) => {
1861
1861
  m.webhook_id,
1862
1862
  {},
1863
1863
  ae
1864
- ), W.success("更新成功")) : (await Nr({}, ae), W.success("创建成功")), i(!1), g.resetFields(), E();
1864
+ ), W.success("更新成功")) : (await Cr({}, ae), W.success("创建成功")), i(!1), g.resetFields(), E();
1865
1865
  } catch (q) {
1866
1866
  W.error((q == null ? void 0 : q.message) || "操作失败");
1867
1867
  } finally {
@@ -2907,11 +2907,11 @@ const qt = ["automation"], da = [...qt, "agents"], Ka = [...da, "list"], Ha = [.
2907
2907
  ]
2908
2908
  }
2909
2909
  };
2910
- function Ce(e, t = !1, s) {
2910
+ function Ne(e, t = !1, s) {
2911
2911
  return { queryKey: e, exact: t, predicate: s };
2912
2912
  }
2913
2913
  function Dn(e) {
2914
- return Ce(ce.executions.lists, !1, (t) => {
2914
+ return Ne(ce.executions.lists, !1, (t) => {
2915
2915
  const s = t.queryKey[t.queryKey.length - 1];
2916
2916
  return typeof s == "object" && s !== null && "agentId" in s && s.agentId === e;
2917
2917
  });
@@ -2920,36 +2920,36 @@ function _u(e) {
2920
2920
  switch (e.type) {
2921
2921
  case "agent-created":
2922
2922
  return {
2923
- invalidate: [Ce(ce.agents.lists)],
2923
+ invalidate: [Ne(ce.agents.lists)],
2924
2924
  remove: []
2925
2925
  };
2926
2926
  case "agent-updated":
2927
2927
  return {
2928
2928
  invalidate: [
2929
- Ce(ce.agents.lists),
2930
- Ce(ce.agents.detail(e.agentId), !0)
2929
+ Ne(ce.agents.lists),
2930
+ Ne(ce.agents.detail(e.agentId), !0)
2931
2931
  ],
2932
2932
  remove: []
2933
2933
  };
2934
2934
  case "agent-deleted":
2935
2935
  return {
2936
2936
  invalidate: [
2937
- Ce(ce.agents.lists),
2938
- Ce(ce.market.templates.lists),
2939
- Ce(ce.market.recommendations.all)
2937
+ Ne(ce.agents.lists),
2938
+ Ne(ce.market.templates.lists),
2939
+ Ne(ce.market.recommendations.all)
2940
2940
  ],
2941
2941
  remove: [
2942
- Ce(ce.agents.detail(e.agentId), !0),
2943
- Ce(ce.schedules.byAgent(e.agentId)),
2942
+ Ne(ce.agents.detail(e.agentId), !0),
2943
+ Ne(ce.schedules.byAgent(e.agentId)),
2944
2944
  Dn(e.agentId)
2945
2945
  ]
2946
2946
  };
2947
2947
  case "market-template-enabled":
2948
2948
  return {
2949
2949
  invalidate: [
2950
- Ce(ce.agents.lists),
2951
- Ce(ce.market.templates.lists),
2952
- Ce(
2950
+ Ne(ce.agents.lists),
2951
+ Ne(ce.market.templates.lists),
2952
+ Ne(
2953
2953
  e.sourceTemplateId != null ? ce.market.recommendations.byTemplate(
2954
2954
  e.sourceTemplateId
2955
2955
  ) : ce.market.recommendations.all
@@ -2961,10 +2961,10 @@ function _u(e) {
2961
2961
  return {
2962
2962
  invalidate: [
2963
2963
  ...e.agentId ? [Dn(e.agentId)] : [],
2964
- Ce(ce.executions.detail(e.executionId), !0)
2964
+ Ne(ce.executions.detail(e.executionId), !0)
2965
2965
  ],
2966
2966
  remove: [
2967
- Ce(
2967
+ Ne(
2968
2968
  ce.executions.waitingInputs.forExecution(
2969
2969
  e.executionId
2970
2970
  )
@@ -2975,11 +2975,11 @@ function _u(e) {
2975
2975
  return {
2976
2976
  invalidate: e.agentId ? [Dn(e.agentId)] : [],
2977
2977
  remove: [
2978
- Ce(ce.executions.detail(e.executionId), !0),
2979
- Ce(
2978
+ Ne(ce.executions.detail(e.executionId), !0),
2979
+ Ne(
2980
2980
  ce.executions.steps.byExecution(e.executionId)
2981
2981
  ),
2982
- Ce(
2982
+ Ne(
2983
2983
  ce.executions.waitingInputs.forExecution(
2984
2984
  e.executionId
2985
2985
  )
@@ -2988,20 +2988,20 @@ function _u(e) {
2988
2988
  };
2989
2989
  case "transfer-created":
2990
2990
  return {
2991
- invalidate: [Ce(ce.transfers.sentLists)],
2991
+ invalidate: [Ne(ce.transfers.sentLists)],
2992
2992
  remove: []
2993
2993
  };
2994
2994
  case "transfer-rejected":
2995
2995
  return {
2996
- invalidate: [Ce(ce.transfers.inboxLists)],
2996
+ invalidate: [Ne(ce.transfers.inboxLists)],
2997
2997
  remove: []
2998
2998
  };
2999
2999
  case "transfer-accepted":
3000
3000
  return {
3001
3001
  invalidate: [
3002
- Ce(ce.transfers.inboxLists),
3002
+ Ne(ce.transfers.inboxLists),
3003
3003
  ...e.agentId ? [Dn(e.agentId)] : [],
3004
- ...e.createdAgent ? [Ce(ce.agents.lists)] : []
3004
+ ...e.createdAgent ? [Ne(ce.agents.lists)] : []
3005
3005
  ],
3006
3006
  remove: []
3007
3007
  };
@@ -3009,9 +3009,9 @@ function _u(e) {
3009
3009
  case "schedule-deleted":
3010
3010
  return {
3011
3011
  invalidate: [
3012
- Ce(ce.schedules.byAgent(e.agentId)),
3013
- Ce(ce.agents.lists),
3014
- Ce(ce.agents.detail(e.agentId), !0)
3012
+ Ne(ce.schedules.byAgent(e.agentId)),
3013
+ Ne(ce.agents.lists),
3014
+ Ne(ce.agents.detail(e.agentId), !0)
3015
3015
  ],
3016
3016
  remove: []
3017
3017
  };
@@ -3633,8 +3633,8 @@ const wu = {
3633
3633
  enableMarketTemplate: Ti,
3634
3634
  enableRecommendedTemplate: Ii,
3635
3635
  cancelExecution: Ei,
3636
- deleteExecution: Ni,
3637
- createTransfer: Ci,
3636
+ deleteExecution: Ci,
3637
+ createTransfer: Ni,
3638
3638
  rejectTransfer: vi,
3639
3639
  createSchedule: wi,
3640
3640
  updateSchedule: Si,
@@ -3855,10 +3855,10 @@ const { Text: sr } = Zn, ps = {
3855
3855
  completed: "已完成",
3856
3856
  failed: "失败"
3857
3857
  };
3858
- function Cu(e) {
3858
+ function Nu(e) {
3859
3859
  return e === "completed" ? "finish" : e === "failed" ? "error" : e === "running" || e === "awaiting_async" || e === "waiting_input" ? "process" : "wait";
3860
3860
  }
3861
- function Nu(e, t) {
3861
+ function Cu(e, t) {
3862
3862
  if (!e.length) return 0;
3863
3863
  const s = e.findIndex(
3864
3864
  (r) => r.status === "running" || r.status === "awaiting_async" || r.status === "waiting_input"
@@ -4017,12 +4017,12 @@ function Fu({ agentId: e, inputData: t, onFinish: s, onCompleted: a, onRerun: r,
4017
4017
  C(!1);
4018
4018
  }
4019
4019
  }
4020
- }, A = (P) => _s(P), I = Nu(p, l), V = p[I], q = p.find((P) => P.step_id === O) || V, ae = q ? A(q.output_data) : null, ke = (q == null ? void 0 : q.substeps) ?? [], M = Iu(p), J = V ? ga(V) : null, X = (q == null ? void 0 : q.status) === "completed" && ae != null, Z = !!(q && (X || ke.length > 0)), de = p.map((P, T) => {
4020
+ }, A = (P) => _s(P), I = Cu(p, l), V = p[I], q = p.find((P) => P.step_id === O) || V, ae = q ? A(q.output_data) : null, ke = (q == null ? void 0 : q.substeps) ?? [], M = Iu(p), J = V ? ga(V) : null, X = (q == null ? void 0 : q.status) === "completed" && ae != null, Z = !!(q && (X || ke.length > 0)), de = p.map((P, T) => {
4021
4021
  const z = T === I, H = Mn(P.duration_ms), U = Au(P);
4022
4022
  let ge = ps[P.status] || P.status || "";
4023
4023
  return z && l === "waiting_input" ? ge = "待人工处理" : z && U ? ge = U : z && (P.status === "running" || P.status === "awaiting_async") ? ge = "处理中" : P.status === "completed" ? ge = H ? `耗时 ${H}` : "已完成" : P.requires_human_confirm && P.status === "pending" && (ge = "待人工确认"), {
4024
4024
  key: P.step_id,
4025
- status: Cu(P.status),
4025
+ status: Nu(P.status),
4026
4026
  title: P.step_name || `步骤 ${T + 1}`,
4027
4027
  description: /* @__PURE__ */ n.jsx("span", { className: "exec-tracker__step-desc", children: ge })
4028
4028
  };
@@ -4038,7 +4038,7 @@ function Fu({ agentId: e, inputData: t, onFinish: s, onCompleted: a, onRerun: r,
4038
4038
  `) ? `"${Ke.replace(/"/g, '""')}"` : Ke;
4039
4039
  }).join(",")
4040
4040
  ), he = `\uFEFF${[ge, ...be].join(`
4041
- `)}`, Ne = new Blob([he], { type: "text/csv;charset=utf-8;" }), Le = URL.createObjectURL(Ne), Ue = document.createElement("a");
4041
+ `)}`, Ce = new Blob([he], { type: "text/csv;charset=utf-8;" }), Le = URL.createObjectURL(Ce), Ue = document.createElement("a");
4042
4042
  Ue.href = Le, Ue.download = `执行结果_${H}.csv`, Ue.click(), URL.revokeObjectURL(Le);
4043
4043
  } else {
4044
4044
  const U = JSON.stringify(T ?? j, null, 2), ge = new Blob([U], { type: "application/json" }), be = URL.createObjectURL(ge), he = document.createElement("a");
@@ -4631,7 +4631,7 @@ function Mu() {
4631
4631
  {
4632
4632
  showUploadList: !1,
4633
4633
  accept: U.file_type || void 0,
4634
- beforeUpload: (Ne) => (V(z, U.name, Ne), !1),
4634
+ beforeUpload: (Ce) => (V(z, U.name, Ce), !1),
4635
4635
  disabled: be,
4636
4636
  style: { padding: "8px 0" },
4637
4637
  children: [
@@ -4645,10 +4645,10 @@ function Mu() {
4645
4645
  size: "small",
4646
4646
  style: { width: "100%" },
4647
4647
  value: T.params[U.name] ?? U.default,
4648
- onChange: (Ne) => ne(z, U.name, Ne),
4648
+ onChange: (Ce) => ne(z, U.name, Ce),
4649
4649
  placeholder: `请选择${U.label || U.name}`,
4650
4650
  allowClear: !0,
4651
- children: U.enum.map((Ne) => /* @__PURE__ */ n.jsx(ft.Option, { value: Ne, children: Ne }, Ne))
4651
+ children: U.enum.map((Ce) => /* @__PURE__ */ n.jsx(ft.Option, { value: Ce, children: Ce }, Ce))
4652
4652
  }
4653
4653
  ) : /prompt|提示词/i.test(U.name) || /prompt|提示词/i.test(U.label || "") ? /* @__PURE__ */ n.jsxs("div", { className: "afd-prompt-area", children: [
4654
4654
  /* @__PURE__ */ n.jsx(
@@ -4699,13 +4699,13 @@ function rr(e) {
4699
4699
  function vn(e) {
4700
4700
  return typeof e == "string" && e.trim() ? e : null;
4701
4701
  }
4702
- function Cn(e) {
4702
+ function Nn(e) {
4703
4703
  if (!rr(e)) return null;
4704
4704
  const t = Array.isArray(e.execution_steps) ? e.execution_steps : [];
4705
4705
  for (let s = t.length - 1; s >= 0; s -= 1) {
4706
4706
  const a = t[s];
4707
4707
  if (!rr(a)) continue;
4708
- const r = Cn(a.output_data) ?? Cn(a.output), c = vn(a.error_message);
4708
+ const r = Nn(a.output_data) ?? Nn(a.output), c = vn(a.error_message);
4709
4709
  if (r) return r;
4710
4710
  if (c) return c;
4711
4711
  }
@@ -4713,7 +4713,7 @@ function Cn(e) {
4713
4713
  }
4714
4714
  function xa(e) {
4715
4715
  if (!e) return null;
4716
- const t = Cn(e.output_data), s = vn(e.error_message);
4716
+ const t = Nn(e.output_data), s = vn(e.error_message);
4717
4717
  return t ?? s;
4718
4718
  }
4719
4719
  function Pu(e) {
@@ -4794,7 +4794,7 @@ function Bu({
4794
4794
  i ? /* @__PURE__ */ n.jsx(Fr, { style: { color: "#52c41a", fontSize: 14 } }) : m ? /* @__PURE__ */ n.jsx(Vi, { style: { color: "#ef4444", fontSize: 14 } }) : /* @__PURE__ */ n.jsx(gt, { style: { color: "#9ca3af", fontSize: 14 } }),
4795
4795
  /* @__PURE__ */ n.jsx("span", { className: "rdd-step-name", children: e.step_name }),
4796
4796
  e.duration_ms != null && /* @__PURE__ */ n.jsx("span", { className: "rdd-step-dur", children: Us(e.duration_ms) }),
4797
- l && /* @__PURE__ */ n.jsx(Nt, { title: y ? "导出 CSV" : "导出 JSON", children: /* @__PURE__ */ n.jsx(
4797
+ l && /* @__PURE__ */ n.jsx(Ct, { title: y ? "导出 CSV" : "导出 JSON", children: /* @__PURE__ */ n.jsx(
4798
4798
  "span",
4799
4799
  {
4800
4800
  className: "rdd-step-export",
@@ -4855,7 +4855,7 @@ function Vu() {
4855
4855
  }, [e == null ? void 0 : e.execution_id]);
4856
4856
  const l = () => {
4857
4857
  s(!1), a(null), c(null);
4858
- }, b = r == null ? void 0 : r.execution, y = r == null ? void 0 : r.result, S = ((r == null ? void 0 : r.steps) ?? []).filter((F) => F.status !== "skipped"), w = (r == null ? void 0 : r.transfers) ?? [], h = y == null ? void 0 : y.result_data, d = h == null ? void 0 : h.output, k = h == null ? void 0 : h.output_type, N = h == null ? void 0 : h.output_fields_map, C = k ? ta(k === "debug" ? "card" : k, d, N, h == null ? void 0 : h.title) : _s(h), v = k ? null : Cn(h) ?? Cn(d) ?? Pu(S) ?? vn(b == null ? void 0 : b.error_message) ?? vn(e == null ? void 0 : e.error_message), E = (y == null ? void 0 : y.result_summary) ?? (b == null ? void 0 : b.result_summary) ?? (e == null ? void 0 : e.result_summary) ?? "", j = (y == null ? void 0 : y.id) ?? (e == null ? void 0 : e.id), R = (b == null ? void 0 : b.status) === "completed", L = (b == null ? void 0 : b.status) === "failed", D = S.findIndex((F) => F.status === "failed"), O = S.find((F) => xa(F)) ?? (D >= 0 ? S[D] : void 0), K = (O == null ? void 0 : O.duration_ms) != null ? Us(O.duration_ms) : void 0;
4858
+ }, b = r == null ? void 0 : r.execution, y = r == null ? void 0 : r.result, S = ((r == null ? void 0 : r.steps) ?? []).filter((F) => F.status !== "skipped"), w = (r == null ? void 0 : r.transfers) ?? [], h = y == null ? void 0 : y.result_data, d = h == null ? void 0 : h.output, k = h == null ? void 0 : h.output_type, N = h == null ? void 0 : h.output_fields_map, C = k ? ta(k === "debug" ? "card" : k, d, N, h == null ? void 0 : h.title) : _s(h), v = k ? null : Nn(h) ?? Nn(d) ?? Pu(S) ?? vn(b == null ? void 0 : b.error_message) ?? vn(e == null ? void 0 : e.error_message), E = (y == null ? void 0 : y.result_summary) ?? (b == null ? void 0 : b.result_summary) ?? (e == null ? void 0 : e.result_summary) ?? "", j = (y == null ? void 0 : y.id) ?? (e == null ? void 0 : e.id), R = (b == null ? void 0 : b.status) === "completed", L = (b == null ? void 0 : b.status) === "failed", D = S.findIndex((F) => F.status === "failed"), O = S.find((F) => xa(F)) ?? (D >= 0 ? S[D] : void 0), K = (O == null ? void 0 : O.duration_ms) != null ? Us(O.duration_ms) : void 0;
4859
4859
  return /* @__PURE__ */ n.jsx(
4860
4860
  to,
4861
4861
  {
@@ -5020,7 +5020,7 @@ function Gu(e) {
5020
5020
  const t = ba(e), s = ln(t) ? t.items ?? t.records ?? t.rows ?? t.schedules ?? t.list ?? t.data : t;
5021
5021
  return Array.isArray(s) ? s.filter(ln).map((a) => a) : [];
5022
5022
  }
5023
- function Co(e) {
5023
+ function No(e) {
5024
5024
  if (!ln(e)) return null;
5025
5025
  const t = e.webhook_id ?? e.id;
5026
5026
  if (!t) return null;
@@ -5035,7 +5035,7 @@ function Co(e) {
5035
5035
  }
5036
5036
  function Yu(e) {
5037
5037
  const t = ba(e), s = ln(t) ? t.items ?? t.records ?? t.rows ?? t.webhooks ?? t.list ?? t.data : t;
5038
- return Array.isArray(s) ? s.map(Co).filter((a) => !!a) : [];
5038
+ return Array.isArray(s) ? s.map(No).filter((a) => !!a) : [];
5039
5039
  }
5040
5040
  function Xu(e) {
5041
5041
  switch (e) {
@@ -5061,7 +5061,7 @@ function Ju(e, t) {
5061
5061
  (a) => a.is_default && a.is_active !== !1
5062
5062
  )) == null ? void 0 : s.webhook_id) || "";
5063
5063
  }
5064
- function No(e, t, s) {
5064
+ function Co(e, t, s) {
5065
5065
  return {
5066
5066
  mode: "create",
5067
5067
  activeScheduleId: "",
@@ -5115,7 +5115,7 @@ function td(e, t) {
5115
5115
  }
5116
5116
  function nd() {
5117
5117
  return {
5118
- draft: No(null, [], []),
5118
+ draft: Co(null, [], []),
5119
5119
  editorRevision: 0,
5120
5120
  quickAddWebhookOpen: !1
5121
5121
  };
@@ -5161,7 +5161,7 @@ function ad(e, t) {
5161
5161
  r.current = d.activeScheduleId, a({ type: "apply_draft", draft: d });
5162
5162
  }, []), m = o.useCallback(
5163
5163
  (d) => {
5164
- i(No(e, t, d));
5164
+ i(Co(e, t, d));
5165
5165
  },
5166
5166
  [e, i, t]
5167
5167
  ), p = o.useCallback(
@@ -5536,7 +5536,7 @@ function _d(e, t) {
5536
5536
  appendFieldValue: r.appendFieldValue
5537
5537
  }), _ = o.useCallback(
5538
5538
  (l) => {
5539
- const b = Co(l);
5539
+ const b = No(l);
5540
5540
  b && (a.prependWebhook(b), r.updateWebhook(b.webhook_id));
5541
5541
  },
5542
5542
  [r.updateWebhook, a.prependWebhook]
@@ -5832,7 +5832,7 @@ function bd({ agent: e, open: t, onClose: s }) {
5832
5832
  children: "*"
5833
5833
  }
5834
5834
  ),
5835
- Q.description && /* @__PURE__ */ n.jsx(Nt, { title: Q.description, children: /* @__PURE__ */ n.jsx(
5835
+ Q.description && /* @__PURE__ */ n.jsx(Ct, { title: Q.description, children: /* @__PURE__ */ n.jsx(
5836
5836
  Pr,
5837
5837
  {
5838
5838
  className: "sm-field-label__hint",
@@ -5973,7 +5973,7 @@ function vd(e, t) {
5973
5973
  const s = e.title.trim(), a = s === String(e.id) || /^(?:agent[_-])?exec(?:ution)?[_-]/i.test(s);
5974
5974
  return s && !a ? s : t;
5975
5975
  }
5976
- function Cd(e) {
5976
+ function Nd(e) {
5977
5977
  var a, r;
5978
5978
  const t = ((a = e.listErrorMessage) == null ? void 0 : a.trim()) || ((r = e.listResultSummary) == null ? void 0 : r.trim());
5979
5979
  if (t) return t;
@@ -5982,7 +5982,7 @@ function Cd(e) {
5982
5982
  );
5983
5983
  return (s == null ? void 0 : s.description) || e.resultTitle || (s == null ? void 0 : s.title) || e.summary || "执行任务";
5984
5984
  }
5985
- function Nd(e) {
5985
+ function Cd(e) {
5986
5986
  return [e.triggerType === "scheduled" || e.trigger === "定时运行" ? "定时执行" : "手动执行", kd(e)].filter(Boolean).join(" · ");
5987
5987
  }
5988
5988
  function Ed({ children: e, tone: t = "gray" }) {
@@ -6040,12 +6040,12 @@ function Id({
6040
6040
  }
6041
6041
  )
6042
6042
  ] }),
6043
- /* @__PURE__ */ n.jsx("span", { className: "automation-history-task-card__subtitle", children: Cd(j) }),
6044
- /* @__PURE__ */ n.jsx("small", { children: Nd(j) })
6043
+ /* @__PURE__ */ n.jsx("span", { className: "automation-history-task-card__subtitle", children: Nd(j) }),
6044
+ /* @__PURE__ */ n.jsx("small", { children: Cd(j) })
6045
6045
  ]
6046
6046
  }
6047
6047
  ),
6048
- /* @__PURE__ */ n.jsx(Nt, { title: O ? "正在删除" : "删除执行记录", placement: "top", children: /* @__PURE__ */ n.jsx(
6048
+ /* @__PURE__ */ n.jsx(Ct, { title: O ? "正在删除" : "删除执行记录", placement: "top", children: /* @__PURE__ */ n.jsx(
6049
6049
  "button",
6050
6050
  {
6051
6051
  type: "button",
@@ -6064,7 +6064,7 @@ function Id({
6064
6064
  "button",
6065
6065
  {
6066
6066
  type: "button",
6067
- className: `wandox-automation-cockpit-action wandox-automation-cockpit-action--run${c === "run" ? " wandox-automation-cockpit-action--selected" : ""}`,
6067
+ className: "wandox-automation-cockpit-action",
6068
6068
  onClick: S,
6069
6069
  children: [
6070
6070
  /* @__PURE__ */ n.jsx(at, { "aria-hidden": "true" }),
@@ -6073,7 +6073,7 @@ function Id({
6073
6073
  }
6074
6074
  ),
6075
6075
  /* @__PURE__ */ n.jsx(
6076
- Nt,
6076
+ Ct,
6077
6077
  {
6078
6078
  title: r ? "已配置定时触发" : "配置定时触发",
6079
6079
  placement: "right",
@@ -6616,7 +6616,7 @@ function Kd({
6616
6616
  ] });
6617
6617
  if (t)
6618
6618
  return /* @__PURE__ */ n.jsxs("div", { className: "automation-inbox-result-empty is-error", children: [
6619
- /* @__PURE__ */ n.jsx(Cl, {}),
6619
+ /* @__PURE__ */ n.jsx(Nl, {}),
6620
6620
  /* @__PURE__ */ n.jsx("span", { children: t }),
6621
6621
  /* @__PURE__ */ n.jsx(
6622
6622
  "button",
@@ -6954,7 +6954,7 @@ function Jd({
6954
6954
  ] }),
6955
6955
  !e && /* @__PURE__ */ n.jsxs("div", { className: "automation-market-tools", children: [
6956
6956
  /* @__PURE__ */ n.jsx(
6957
- Nt,
6957
+ Ct,
6958
6958
  {
6959
6959
  title: g > 0 ? `收件箱 · ${g} 条待处理` : "收件箱",
6960
6960
  children: /* @__PURE__ */ n.jsx(Wr, { dot: g > 0, children: /* @__PURE__ */ n.jsx(
@@ -6968,7 +6968,7 @@ function Jd({
6968
6968
  ) })
6969
6969
  }
6970
6970
  ),
6971
- /* @__PURE__ */ n.jsx(Nt, { title: "创建自动化", children: /* @__PURE__ */ n.jsx(
6971
+ /* @__PURE__ */ n.jsx(Ct, { title: "创建自动化", children: /* @__PURE__ */ n.jsx(
6972
6972
  pe,
6973
6973
  {
6974
6974
  className: "automation-market-tools__button",
@@ -7970,7 +7970,7 @@ function ym({
7970
7970
  waitingRun: ge,
7971
7971
  runParametersLoading: be,
7972
7972
  isExecuting: he,
7973
- historyPage: Ne
7973
+ historyPage: Ce
7974
7974
  } = c.state, {
7975
7975
  refreshHistory: Le,
7976
7976
  changeHistoryPage: Ue,
@@ -8192,7 +8192,7 @@ function ym({
8192
8192
  cancelFirst: Te
8193
8193
  }), Je(ie.id), Te && t === Se && (mt(), V());
8194
8194
  const $e = pm(
8195
- Ne,
8195
+ Ce,
8196
8196
  ze.length
8197
8197
  );
8198
8198
  Ue($e), await _t(e, $e), W.success("执行记录已删除");
@@ -8210,7 +8210,7 @@ function ym({
8210
8210
  Ue,
8211
8211
  t,
8212
8212
  k,
8213
- Ne,
8213
+ Ce,
8214
8214
  _t,
8215
8215
  ze.length,
8216
8216
  Je,
@@ -8528,7 +8528,7 @@ function hs(e) {
8528
8528
  if (typeof e == "number" && Number.isFinite(e)) return String(e);
8529
8529
  if (typeof e == "string" && e.trim()) return e.trim();
8530
8530
  }
8531
- function Cm(e, t = 0) {
8531
+ function Nm(e, t = 0) {
8532
8532
  const s = $n(e) ? e : {}, a = $n(s.target_user) ? s.target_user : {}, r = $n(s.source_result) ? s.source_result : {}, c = $n(s.source_execution) ? s.source_execution : {}, i = hs(
8533
8533
  s.source_result_id ?? s.result_id ?? r.id ?? r.result_id
8534
8534
  ), m = hs(
@@ -8548,7 +8548,7 @@ function Cm(e, t = 0) {
8548
8548
  status: String(s.status ?? "pending")
8549
8549
  };
8550
8550
  }
8551
- function Nm(e, t) {
8551
+ function Cm(e, t) {
8552
8552
  const s = new Set(
8553
8553
  [t.id, t.resultId].filter((a) => !!a)
8554
8554
  );
@@ -8727,7 +8727,7 @@ function Mm(e = Am) {
8727
8727
  page: s.page,
8728
8728
  page_size: s.pageSize
8729
8729
  });
8730
- return Yt(a).map(Cm);
8730
+ return Yt(a).map(Nm);
8731
8731
  }
8732
8732
  };
8733
8733
  },
@@ -9378,7 +9378,7 @@ function Vm({
9378
9378
  }, [u, g, f, s]), d = o.useMemo(
9379
9379
  () => /* @__PURE__ */ n.jsxs("div", { className: "automation-header-actions", children: [
9380
9380
  /* @__PURE__ */ n.jsx(
9381
- Nt,
9381
+ Ct,
9382
9382
  {
9383
9383
  title: i > 0 ? `收件箱 · ${i} 条待处理` : "收件箱",
9384
9384
  children: /* @__PURE__ */ n.jsx(Wr, { dot: i > 0, children: /* @__PURE__ */ n.jsx(
@@ -9392,7 +9392,7 @@ function Vm({
9392
9392
  ) })
9393
9393
  }
9394
9394
  ),
9395
- /* @__PURE__ */ n.jsx(Nt, { title: "创建自动化", children: /* @__PURE__ */ n.jsx(
9395
+ /* @__PURE__ */ n.jsx(Ct, { title: "创建自动化", children: /* @__PURE__ */ n.jsx(
9396
9396
  pe,
9397
9397
  {
9398
9398
  className: "automation-header-icon-button",
@@ -9917,7 +9917,7 @@ function op({
9917
9917
  [Z, X, v]
9918
9918
  ), me = sp(k, Z), te = N === "running" || N === "review_content" || N === "review_submit" || N === "polling", re = In(Z), xe = bc(Z), P = o.useMemo(
9919
9919
  () => Z ? C.filter(
9920
- (le) => Nm(le, Z)
9920
+ (le) => Cm(le, Z)
9921
9921
  ) : [],
9922
9922
  [Z, C]
9923
9923
  ), T = S || !!(M && me === "run" && ae && w !== ae.id), z = !!(e === "cockpit" && ae && b === ae.id), H = o.useMemo(
@@ -9942,7 +9942,7 @@ function op({
9942
9942
  ), {
9943
9943
  workbenchSteps: be,
9944
9944
  waitingActiveStageKey: he,
9945
- workbenchIsCompleted: Ne,
9945
+ workbenchIsCompleted: Ce,
9946
9946
  defaultWorkbenchStageKey: Le,
9947
9947
  accessibleWorkbenchStageKeys: Ue,
9948
9948
  activeWorkbenchStageKey: ve,
@@ -10093,7 +10093,7 @@ function op({
10093
10093
  historyPage: D,
10094
10094
  workbenchSteps: be,
10095
10095
  waitingActiveStageKey: he,
10096
- workbenchIsCompleted: Ne,
10096
+ workbenchIsCompleted: Ce,
10097
10097
  activeWorkbenchStageKey: ve,
10098
10098
  workbenchFlowStages: ze,
10099
10099
  expandedWorkbenchStageKeys: Y,
@@ -10597,8 +10597,8 @@ function wp({
10597
10597
  value: t,
10598
10598
  formSize: "middle",
10599
10599
  onChange: r,
10600
- loadOptions: Nc,
10601
- uploadFile: Cc,
10600
+ loadOptions: Cc,
10601
+ uploadFile: Nc,
10602
10602
  hasGroups: s,
10603
10603
  presentation: "sections"
10604
10604
  },
@@ -10689,10 +10689,10 @@ function vp({
10689
10689
  }
10690
10690
  );
10691
10691
  }
10692
- function Cp({ children: e, tone: t = "gray" }) {
10692
+ function Np({ children: e, tone: t = "gray" }) {
10693
10693
  return /* @__PURE__ */ n.jsx("span", { className: `automation-badge automation-badge--${t}`, children: e });
10694
10694
  }
10695
- function Np(e) {
10695
+ function Cp(e) {
10696
10696
  const t = document.createElement("a");
10697
10697
  t.href = e.path, t.download = e.name, t.target = "_blank", document.body.appendChild(t), t.click(), document.body.removeChild(t);
10698
10698
  }
@@ -10766,7 +10766,7 @@ function Ep({
10766
10766
  "store_account",
10767
10767
  "product_sku",
10768
10768
  "publish_mode"
10769
- ].every((G) => ge.has(G)), he = x.length > 0, Ne = {
10769
+ ].every((G) => ge.has(G)), he = x.length > 0, Ce = {
10770
10770
  title: u.title || (be ? "新建刊登任务" : "新建任务"),
10771
10771
  description: u.description || (be ? "填写产品信息后,AI 将自动生成 Listing 文案并完成亚马逊模版映射" : he ? "填写任务信息后,系统将自动执行后续流程" : ""),
10772
10772
  footerNote: u.footerNote || (be ? "两种来源拿到基本信息后,AI 统一做亚马逊模版映射,后续流程一致" : he ? "确认参数后,系统将按当前配置执行后续流程" : ""),
@@ -10792,7 +10792,7 @@ function Ep({
10792
10792
  ")"
10793
10793
  ] })
10794
10794
  ] }),
10795
- !ue && oe && /* @__PURE__ */ n.jsx(Nt, { title: oe, children: /* @__PURE__ */ n.jsx(
10795
+ !ue && oe && /* @__PURE__ */ n.jsx(Ct, { title: oe, children: /* @__PURE__ */ n.jsx(
10796
10796
  "span",
10797
10797
  {
10798
10798
  className: "wandox-automation-run-field-label__hint",
@@ -10816,7 +10816,7 @@ function Ep({
10816
10816
  getOptionState: U.getFieldState,
10817
10817
  onChange: C,
10818
10818
  onUpload: L,
10819
- onDownloadTemplate: Np,
10819
+ onDownloadTemplate: Cp,
10820
10820
  draftValue: !oe && Object.prototype.hasOwnProperty.call(w, G.name) ? w[G.name] : void 0,
10821
10821
  onDraftChange: oe ? void 0 : v,
10822
10822
  onDraftCommit: oe ? void 0 : E,
@@ -10893,7 +10893,7 @@ function Ep({
10893
10893
  /* @__PURE__ */ n.jsx("strong", { children: "生成中" }),
10894
10894
  /* @__PURE__ */ n.jsx("p", { children: Ee ? `正在处理:${Ee.title}` : oe ? `正在处理:${oe.title}` : "正在创建执行记录" })
10895
10895
  ] }),
10896
- /* @__PURE__ */ n.jsx(Cp, { tone: "blue", children: `${Me}/${Be}` })
10896
+ /* @__PURE__ */ n.jsx(Np, { tone: "blue", children: `${Me}/${Be}` })
10897
10897
  ] }),
10898
10898
  /* @__PURE__ */ n.jsx(_p, { run: G })
10899
10899
  ] });
@@ -10907,14 +10907,14 @@ function Ep({
10907
10907
  {
10908
10908
  model: {
10909
10909
  formFooter: G,
10910
- footerNote: Ne.footerNote,
10910
+ footerNote: Ce.footerNote,
10911
10911
  phase: K,
10912
10912
  executing: ke,
10913
10913
  parametersLoading: ae,
10914
10914
  visibleFieldCount: ue,
10915
- submitLabel: Ne.submitLabel,
10916
- showDraft: !!Ne.showDraft,
10917
- draftLabel: Ne.draftLabel
10915
+ submitLabel: Ce.submitLabel,
10916
+ showDraft: !!Ce.showDraft,
10917
+ draftLabel: Ce.draftLabel
10918
10918
  },
10919
10919
  actions: {
10920
10920
  openDetail: f.openDetail,
@@ -10943,7 +10943,7 @@ function Ep({
10943
10943
  workspaceMode: q,
10944
10944
  isTransitioning: G,
10945
10945
  showDirectRunPanel: Me,
10946
- formUi: Ne,
10946
+ formUi: Ce,
10947
10947
  historicalFields: ue,
10948
10948
  historicalValues: oe,
10949
10949
  historicalEmptyBody: ze({
@@ -11706,7 +11706,7 @@ function dh({
11706
11706
  re(jt), window.setTimeout(() => re(""), 1900);
11707
11707
  }, []), { runConfigAgentId: P, runFormLoading: T, resetForAgent: z } = D, [H, U] = o.useState(
11708
11708
  []
11709
- ), { traces: ge, recordEvent: be } = cm(), [he, Ne] = o.useState(null), [Le, Ue] = o.useState(!1), ve = Hm(), ut = rm(), { reset: ze } = ut, Ke = o.useRef(""), _t = o.useRef(
11709
+ ), { traces: ge, recordEvent: be } = cm(), [he, Ce] = o.useState(null), [Le, Ue] = o.useState(!1), ve = Hm(), ut = rm(), { reset: ze } = ut, Ke = o.useRef(""), _t = o.useRef(
11710
11710
  null
11711
11711
  ), Xe = ha(), { abort: bt } = Xe, it = o.useCallback(
11712
11712
  (jt) => {
@@ -11828,7 +11828,7 @@ function dh({
11828
11828
  recommendedExecutionRef: _t,
11829
11829
  recordLiveTraceEvent: be,
11830
11830
  setActiveRunId: Z,
11831
- setWaitingPreviewSteps: Ne,
11831
+ setWaitingPreviewSteps: Ce,
11832
11832
  notify: xe
11833
11833
  }), {
11834
11834
  state: { rerunningRunId: is, reExecutingStepId: cs, transferModalResultId: ie },
@@ -11873,7 +11873,7 @@ function dh({
11873
11873
  openScheduleModal: An,
11874
11874
  closeScheduleModal: va,
11875
11875
  openCreateAgent: Ho,
11876
- returnToAgentSelection: Ca
11876
+ returnToAgentSelection: Na
11877
11877
  }
11878
11878
  } = Vm({
11879
11879
  embedded: e,
@@ -11945,14 +11945,14 @@ function dh({
11945
11945
  inbox: {
11946
11946
  model: { embedded: e, ...Ee },
11947
11947
  actions: {
11948
- back: Ca,
11948
+ back: Na,
11949
11949
  ...We
11950
11950
  }
11951
11951
  },
11952
11952
  cockpit: mt ? {
11953
11953
  model: { embedded: e, ...mn },
11954
11954
  actions: {
11955
- back: Ca,
11955
+ back: Na,
11956
11956
  history: {
11957
11957
  createRun: Se,
11958
11958
  configureSchedule: Qo,
@@ -12136,38 +12136,40 @@ function Xp(e) {
12136
12136
  }, []) : [];
12137
12137
  }
12138
12138
  function Jp(e) {
12139
- var i, m, p, g, f, _, x, u;
12139
+ var i, m, p, g, f, _, x, u, l, b;
12140
12140
  const t = e, s = (t == null ? void 0 : t.roles) ?? ((i = t == null ? void 0 : t.data) == null ? void 0 : i.roles) ?? [];
12141
12141
  if (!Array.isArray(s))
12142
12142
  return { categories: [], scenes: [], totalCount: 0 };
12143
12143
  const a = [], r = [];
12144
12144
  let c = 0;
12145
- for (const l of s) {
12146
- const b = l.name || l.role_code || "";
12147
- for (const y of l.goals || []) {
12148
- const S = y.items || [], w = String(y.id);
12149
- S.length > 0 && a.push({
12150
- key: w,
12151
- name: y.name || "未命名分类",
12152
- count: S.length
12145
+ for (const y of s) {
12146
+ const S = y.name || y.role_code || "";
12147
+ for (const w of y.goals || []) {
12148
+ const h = w.items || [], d = String(w.id);
12149
+ h.length > 0 && a.push({
12150
+ key: d,
12151
+ name: w.name || "未命名分类",
12152
+ count: h.length
12153
12153
  });
12154
- for (const h of S) {
12155
- const d = h.playbook_id || ((m = h.playbook) == null ? void 0 : m.playbook_id);
12156
- d && r.push({
12157
- key: `${w}-${d}`,
12158
- title: h.title || h.name || ((p = h.playbook) == null ? void 0 : p.name) || "未命名场景",
12159
- description: h.subtitle || h.description || ((g = h.playbook) == null ? void 0 : g.description) || "",
12160
- sourceLabel: b,
12161
- tags: Xp(h.tags),
12162
- playbookId: d,
12163
- inputFields: h.input_fields || ((f = h.playbook) == null ? void 0 : f.input_fields) || [],
12164
- categoryKey: w,
12165
- videoUrl: h.video_url || ((_ = h.playbook) == null ? void 0 : _.video_url) || void 0,
12166
- videoDuration: h.video_duration || ((x = h.playbook) == null ? void 0 : x.video_duration) || void 0,
12167
- viewCount: h.view_count ?? ((u = h.playbook) == null ? void 0 : u.view_count)
12154
+ for (const k of h) {
12155
+ const N = k.playbook_id || ((m = k.playbook) == null ? void 0 : m.playbook_id);
12156
+ N && r.push({
12157
+ key: `${d}-${N}`,
12158
+ title: k.title || k.name || ((p = k.playbook) == null ? void 0 : p.name) || "未命名场景",
12159
+ description: k.subtitle || k.description || ((g = k.playbook) == null ? void 0 : g.description) || "",
12160
+ sourceLabel: S,
12161
+ tags: Xp(k.tags),
12162
+ playbookId: N,
12163
+ inputFields: k.input_fields || ((f = k.playbook) == null ? void 0 : f.input_fields) || [],
12164
+ categoryKey: d,
12165
+ videoUrl: k.video_url || ((_ = k.playbook) == null ? void 0 : _.video_url) || void 0,
12166
+ videoDuration: k.video_duration || ((x = k.playbook) == null ? void 0 : x.video_duration) || void 0,
12167
+ viewCount: k.view_count ?? ((u = k.playbook) == null ? void 0 : u.view_count),
12168
+ isFeatured: k.is_featured ?? ((l = k.playbook) == null ? void 0 : l.is_featured) ?? !1,
12169
+ badge: k.badge || ((b = k.playbook) == null ? void 0 : b.badge) || null
12168
12170
  });
12169
12171
  }
12170
- c += S.length;
12172
+ c += h.length;
12171
12173
  }
12172
12174
  }
12173
12175
  return { categories: a, scenes: r, totalCount: c };
@@ -12198,7 +12200,9 @@ function th(e) {
12198
12200
  categoryKey: s,
12199
12201
  videoUrl: t.video_url,
12200
12202
  videoDuration: t.video_duration,
12201
- viewCount: t.view_count
12203
+ viewCount: t.view_count,
12204
+ isFeatured: !1,
12205
+ badge: t.badge || null
12202
12206
  };
12203
12207
  });
12204
12208
  }
@@ -12217,7 +12221,9 @@ function Po(e) {
12217
12221
  categoryKey: e.categoryKey,
12218
12222
  video_url: e.videoUrl,
12219
12223
  video_duration: e.videoDuration,
12220
- view_count: e.viewCount
12224
+ view_count: e.viewCount,
12225
+ is_featured: e.isFeatured,
12226
+ badge: e.badge
12221
12227
  };
12222
12228
  }
12223
12229
  function ph(e) {