@wandox/sdk 0.1.33 → 0.1.34

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 (106) hide show
  1. package/README.md +6 -2
  2. package/dist/{arc-CFGoWkTY.js → arc-D0KfcB3y.js} +1 -1
  3. package/dist/{arc-BQRtQJ9k.cjs → arc-DtBHZfqY.cjs} +1 -1
  4. package/dist/{architectureDiagram-3BPJPVTR-DYS3PxLb.cjs → architectureDiagram-3BPJPVTR-C2P4Wdju.cjs} +1 -1
  5. package/dist/{architectureDiagram-3BPJPVTR-DVqKFMFi.js → architectureDiagram-3BPJPVTR-VUz_J4KY.js} +3 -3
  6. package/dist/{blockDiagram-GPEHLZMM-CmcyVP4f.cjs → blockDiagram-GPEHLZMM-DyKZmQ5w.cjs} +1 -1
  7. package/dist/{blockDiagram-GPEHLZMM-C6c9vDdQ.js → blockDiagram-GPEHLZMM-HQFLyzc_.js} +3 -3
  8. package/dist/{c4Diagram-AAUBKEIU-DV7H6QUX.js → c4Diagram-AAUBKEIU-DH1AHWgW.js} +2 -2
  9. package/dist/{c4Diagram-AAUBKEIU-DqNQ_NW1.cjs → c4Diagram-AAUBKEIU-TV86wAk4.cjs} +1 -1
  10. package/dist/{channel-DW5wvDcX.cjs → channel-AJpjl4EL.cjs} +1 -1
  11. package/dist/{channel-dcNu0MRz.js → channel-BlVX_pqv.js} +1 -1
  12. package/dist/{chunk-2J33WTMH-CrG9dNxx.cjs → chunk-2J33WTMH-B3QEVdxo.cjs} +1 -1
  13. package/dist/{chunk-2J33WTMH-y7kx7TkN.js → chunk-2J33WTMH-t0efBHaF.js} +1 -1
  14. package/dist/{chunk-4BX2VUAB-DDqIA4kO.cjs → chunk-4BX2VUAB-B3PBOdBd.cjs} +1 -1
  15. package/dist/{chunk-4BX2VUAB-BELskQ2J.js → chunk-4BX2VUAB-B6_TK6LC.js} +1 -1
  16. package/dist/{chunk-55IACEB6-iTS2TPhB.js → chunk-55IACEB6-Dn6M7DjU.js} +1 -1
  17. package/dist/{chunk-55IACEB6-DK4ucJ-7.cjs → chunk-55IACEB6-DrbqgVSi.cjs} +1 -1
  18. package/dist/{chunk-727SXJPM-BxBO8q2U.cjs → chunk-727SXJPM-BxPLhhtr.cjs} +1 -1
  19. package/dist/{chunk-727SXJPM-DuWYu930.js → chunk-727SXJPM-CZZ8vzvu.js} +5 -5
  20. package/dist/{chunk-AQP2D5EJ-DoNLkwqN.js → chunk-AQP2D5EJ-B5tlMkxW.js} +3 -3
  21. package/dist/{chunk-AQP2D5EJ-DOTlmgEY.cjs → chunk-AQP2D5EJ-DEFjJjvF.cjs} +1 -1
  22. package/dist/{chunk-FMBD7UC4-SOCUK_t9.cjs → chunk-FMBD7UC4-gFc5W2fF.cjs} +1 -1
  23. package/dist/{chunk-FMBD7UC4-BwQebnrj.js → chunk-FMBD7UC4-rlodMWnO.js} +1 -1
  24. package/dist/{chunk-ND2GUHAM-CtGpWUtB.cjs → chunk-ND2GUHAM-B9qs3P-w.cjs} +1 -1
  25. package/dist/{chunk-ND2GUHAM-BQL2-tUF.js → chunk-ND2GUHAM-dJ5LgRGw.js} +1 -1
  26. package/dist/{chunk-QZHKN3VN-LiCsWEKP.js → chunk-QZHKN3VN-ChUvXVo2.js} +1 -1
  27. package/dist/{chunk-QZHKN3VN-UX2tk2uK.cjs → chunk-QZHKN3VN-D25PBsy4.cjs} +1 -1
  28. package/dist/{classDiagram-4FO5ZUOK-lDXGgv9d.js → classDiagram-4FO5ZUOK-CPy1KaCR.js} +2 -2
  29. package/dist/{classDiagram-4FO5ZUOK-PkrYP623.cjs → classDiagram-4FO5ZUOK-wFEmQFl-.cjs} +1 -1
  30. package/dist/{classDiagram-v2-Q7XG4LA2-Ce74jKyI.js → classDiagram-v2-Q7XG4LA2-CSZEPTC6.js} +2 -2
  31. package/dist/{classDiagram-v2-Q7XG4LA2-PkrYP623.cjs → classDiagram-v2-Q7XG4LA2-wFEmQFl-.cjs} +1 -1
  32. package/dist/{cose-bilkent-S5V4N54A-C8VzTXo7.cjs → cose-bilkent-S5V4N54A-C4j5j5T6.cjs} +1 -1
  33. package/dist/{cose-bilkent-S5V4N54A-D54kr34O.js → cose-bilkent-S5V4N54A-uRPNkg7E.js} +2 -2
  34. package/dist/{dagre-BM42HDAG-BtY2vW9S.cjs → dagre-BM42HDAG-C--V1vcV.cjs} +1 -1
  35. package/dist/{dagre-BM42HDAG-BiqOYJto.js → dagre-BM42HDAG-Iv0znKTe.js} +1 -1
  36. package/dist/{diagram-2AECGRRQ-C-rSMhIx.js → diagram-2AECGRRQ-BSOkNy0d.js} +2 -2
  37. package/dist/{diagram-2AECGRRQ-BNB5vGzX.cjs → diagram-2AECGRRQ-DgTZEGRd.cjs} +1 -1
  38. package/dist/{diagram-5GNKFQAL-S_Grx6ir.js → diagram-5GNKFQAL-C91PObIK.js} +3 -3
  39. package/dist/{diagram-5GNKFQAL-bpxQdo2C.cjs → diagram-5GNKFQAL-D5Mkr0VI.cjs} +1 -1
  40. package/dist/{diagram-KO2AKTUF-ELGk3l-i.cjs → diagram-KO2AKTUF-Bg-zssV4.cjs} +1 -1
  41. package/dist/{diagram-KO2AKTUF-eKQOgy6O.js → diagram-KO2AKTUF-CAH3eDcz.js} +2 -2
  42. package/dist/{diagram-LMA3HP47-CpE4LthG.cjs → diagram-LMA3HP47-SMfJTnR5.cjs} +1 -1
  43. package/dist/{diagram-LMA3HP47-B-uG3_N0.js → diagram-LMA3HP47-hOSm9f_K.js} +2 -2
  44. package/dist/{diagram-OG6HWLK6-DG4_vxgJ.js → diagram-OG6HWLK6-B-QlPomq.js} +3 -3
  45. package/dist/{diagram-OG6HWLK6-DDdJj07Q.cjs → diagram-OG6HWLK6-DNEN_x2d.cjs} +1 -1
  46. package/dist/{erDiagram-TEJ5UH35-BzyXZihW.cjs → erDiagram-TEJ5UH35-CG6J3vIN.cjs} +1 -1
  47. package/dist/{erDiagram-TEJ5UH35-Bm2L-KYC.js → erDiagram-TEJ5UH35-CmiMTzqm.js} +4 -4
  48. package/dist/{flowDiagram-I6XJVG4X-DWja3wPy.js → flowDiagram-I6XJVG4X-B-oB1PyG.js} +6 -6
  49. package/dist/{flowDiagram-I6XJVG4X-SC3NWHnp.cjs → flowDiagram-I6XJVG4X-BODLJZMQ.cjs} +1 -1
  50. package/dist/{ganttDiagram-6RSMTGT7-Bdl8lJE0.js → ganttDiagram-6RSMTGT7-4H-Azqhw.js} +3 -3
  51. package/dist/{ganttDiagram-6RSMTGT7-BtlwMR2X.cjs → ganttDiagram-6RSMTGT7-kGQE-0fY.cjs} +1 -1
  52. package/dist/{gitGraphDiagram-PVQCEYII-BD9WXXIJ.cjs → gitGraphDiagram-PVQCEYII-Dj601cg2.cjs} +1 -1
  53. package/dist/{gitGraphDiagram-PVQCEYII-D0R22NvI.js → gitGraphDiagram-PVQCEYII-ZKxubOBO.js} +3 -3
  54. package/dist/{index-BcUHp4mm.cjs → index-5xbDqXDX.cjs} +1 -1
  55. package/dist/{index-DxL6VLOT.cjs → index-BPJc-VZw.cjs} +265 -265
  56. package/dist/{index-DB9V7zre.cjs → index-BUHRhy1Y.cjs} +1 -1
  57. package/dist/{index-BPN_Dxyz.js → index-BXVFHGjy.js} +4 -4
  58. package/dist/{index-XkdJshqO.js → index-B_nZ3LrV.js} +71 -71
  59. package/dist/{index-LAVofA4F.cjs → index-D3SW2cEr.cjs} +1 -1
  60. package/dist/{index-CSUSaYAT.js → index-D4dy8yHF.js} +25054 -24913
  61. package/dist/{index-BB2w2-0P.js → index-DkJpASom.js} +1 -1
  62. package/dist/{index-DcttmVuU.cjs → index-DwVmVXmF.cjs} +2 -2
  63. package/dist/{index-GDchGS5n.js → index-q34Z4QAw.js} +3 -3
  64. package/dist/{infoDiagram-5YYISTIA-B1kTBhIl.cjs → infoDiagram-5YYISTIA-CfJwXJqb.cjs} +1 -1
  65. package/dist/{infoDiagram-5YYISTIA-DH4XoRzl.js → infoDiagram-5YYISTIA-mdLUb8Pf.js} +1 -1
  66. package/dist/{ishikawaDiagram-YF4QCWOH-D-J5HMF1.cjs → ishikawaDiagram-YF4QCWOH-BSPYHzHI.cjs} +1 -1
  67. package/dist/{ishikawaDiagram-YF4QCWOH-BoCLf4So.js → ishikawaDiagram-YF4QCWOH-CfS3BeT3.js} +1 -1
  68. package/dist/{journeyDiagram-JHISSGLW-DD35iknc.js → journeyDiagram-JHISSGLW-DUwZdGOg.js} +4 -4
  69. package/dist/{journeyDiagram-JHISSGLW-Cpb1JHik.cjs → journeyDiagram-JHISSGLW-nnM-h5QJ.cjs} +1 -1
  70. package/dist/{kanban-definition-UN3LZRKU-D0BAvjQJ.js → kanban-definition-UN3LZRKU-BtP29Iaf.js} +2 -2
  71. package/dist/{kanban-definition-UN3LZRKU-D4WsAGZu.cjs → kanban-definition-UN3LZRKU-Dt1TxPqZ.cjs} +1 -1
  72. package/dist/{linear-D_U8-iL2.cjs → linear-Bj7ETfty.cjs} +1 -1
  73. package/dist/{linear-DW_xObTJ.js → linear-DZDNy162.js} +1 -1
  74. package/dist/{mermaid.core-DU9zhKw6.cjs → mermaid.core-BTaTUIUu.cjs} +3 -3
  75. package/dist/{mermaid.core-BzQN-pNf.js → mermaid.core-Cc1KxlCM.js} +35 -35
  76. package/dist/{mindmap-definition-RKZ34NQL-CBIITNoj.cjs → mindmap-definition-RKZ34NQL-Cf0zrR9M.cjs} +1 -1
  77. package/dist/{mindmap-definition-RKZ34NQL-DPbXZpjF.js → mindmap-definition-RKZ34NQL-DZH26qfU.js} +3 -3
  78. package/dist/{pieDiagram-4H26LBE5-DMGXOR3V.cjs → pieDiagram-4H26LBE5-DRAafsrW.cjs} +1 -1
  79. package/dist/{pieDiagram-4H26LBE5-Cp3kzOe6.js → pieDiagram-4H26LBE5-Ddif1ew2.js} +3 -3
  80. package/dist/{quadrantDiagram-W4KKPZXB-Bt7BK_oi.cjs → quadrantDiagram-W4KKPZXB-BbkfZqRA.cjs} +1 -1
  81. package/dist/{quadrantDiagram-W4KKPZXB-D7ZN6s12.js → quadrantDiagram-W4KKPZXB-Cug5Y7_G.js} +2 -2
  82. package/dist/{requirementDiagram-4Y6WPE33-DpNgpxNI.cjs → requirementDiagram-4Y6WPE33-CWZD0-rx.cjs} +1 -1
  83. package/dist/{requirementDiagram-4Y6WPE33-CP_w0jZl.js → requirementDiagram-4Y6WPE33-DwnBT67e.js} +3 -3
  84. package/dist/{sankeyDiagram-5OEKKPKP-DbdIXU2h.js → sankeyDiagram-5OEKKPKP-BFE8-91E.js} +1 -1
  85. package/dist/{sankeyDiagram-5OEKKPKP-WgmNsD-c.cjs → sankeyDiagram-5OEKKPKP-I3_O-pWr.cjs} +1 -1
  86. package/dist/{sequenceDiagram-3UESZ5HK-bf29016q.cjs → sequenceDiagram-3UESZ5HK-CfoKZAsg.cjs} +1 -1
  87. package/dist/{sequenceDiagram-3UESZ5HK-CH8lWLXQ.js → sequenceDiagram-3UESZ5HK-ChL5sWeE.js} +3 -3
  88. package/dist/{stateDiagram-AJRCARHV-DfMkU1La.cjs → stateDiagram-AJRCARHV-DUnFbttq.cjs} +1 -1
  89. package/dist/{stateDiagram-AJRCARHV-CjIyqaSL.js → stateDiagram-AJRCARHV-DuflU8kG.js} +2 -2
  90. package/dist/{stateDiagram-v2-BHNVJYJU-B7W7zjFO.cjs → stateDiagram-v2-BHNVJYJU-Cf7QVlcI.cjs} +1 -1
  91. package/dist/{stateDiagram-v2-BHNVJYJU-Cs9XaSC7.js → stateDiagram-v2-BHNVJYJU-DjhPlTO0.js} +2 -2
  92. package/dist/{timeline-definition-PNZ67QCA-NG3L5V_r.cjs → timeline-definition-PNZ67QCA-DZfQpSWh.cjs} +1 -1
  93. package/dist/{timeline-definition-PNZ67QCA-DWReytgS.js → timeline-definition-PNZ67QCA-Iy3R3U3O.js} +2 -2
  94. package/dist/{useWorkbenchSession-CYrFzUN8.cjs → useWorkbenchSession-CuBY6GKC.cjs} +1 -1
  95. package/dist/{useWorkbenchSession-Dbc6INAR.js → useWorkbenchSession-kwuVHEAF.js} +2 -2
  96. package/dist/{vennDiagram-CIIHVFJN-DnDoiRcO.js → vennDiagram-CIIHVFJN-DcNPQahe.js} +1 -1
  97. package/dist/{vennDiagram-CIIHVFJN-CAu-sX41.cjs → vennDiagram-CIIHVFJN-DxHgY0Ea.cjs} +1 -1
  98. package/dist/wandox.cjs +1 -1
  99. package/dist/wandox.css +1 -1
  100. package/dist/wandox.js +1 -1
  101. package/dist/wandox.umd.js +593 -593
  102. package/dist/{wardleyDiagram-YWT4CUSO--9yZJSOx.cjs → wardleyDiagram-YWT4CUSO-Dy3rxs_V.cjs} +1 -1
  103. package/dist/{wardleyDiagram-YWT4CUSO-CvMmwHBR.js → wardleyDiagram-YWT4CUSO-b2m-CjkO.js} +2 -2
  104. package/dist/{xychartDiagram-2RQKCTM6-Bk_dhxt2.js → xychartDiagram-2RQKCTM6-CQEovrBb.js} +2 -2
  105. package/dist/{xychartDiagram-2RQKCTM6-VgyxuaQ4.cjs → xychartDiagram-2RQKCTM6-TK9Lfh_u.cjs} +1 -1
  106. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { ds as a, af as Rs, eb as ia, R as da, cs as ua, Q as As, aI as ma, S as Es, c0 as ha, d0 as e, bK as Is, aZ as xa, a_ as $s, ai as ss, a$ as Be, dZ as Ps, K as bs, aa as pa, P as _a, d9 as He, dF as X, J as Ge, c_ as fa, cO as ba, dN as ya, cd as ga, cH as wa, cG as ja, as as ka, ap as va, o as Na, m as Ca, v as Sa, b0 as Ms, b1 as Ra, bB as Ts, b2 as We, n as Aa, ar as Ea, cI as Ia, a9 as $a, cJ as Pa, aE as ys, b3 as Ma, aY as Ta, b4 as gs, b5 as Fa, b6 as La, b7 as Da, b8 as qa } from "./index-CSUSaYAT.js";
2
- import { h as Oa, A as za, R as Ye, g as Re, i as Qe, u as Va, f as Ze, b as Fs, c as ws, d as Ua, e as Ka, a as Ba, S as Ha } from "./useWorkbenchSession-Dbc6INAR.js";
3
- import { D as Ga } from "./index-BB2w2-0P.js";
4
- var Wa = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z" } }] }, name: "sliders", theme: "outlined" };
1
+ import { ds as a, af as Rs, eb as ia, R as da, cs as ua, Q as As, aI as ma, S as Es, c0 as ha, d0 as e, bK as Is, aZ as xa, a_ as $s, ai as ss, a$ as Be, dZ as Ps, K as bs, aa as pa, P as _a, d9 as He, dF as X, J as Ge, c_ as fa, cO as ba, dN as ya, cd as ga, cH as wa, cG as ja, as as ka, ap as va, o as Na, m as Ca, v as Sa, b0 as Ms, b1 as Ra, bB as Ts, b2 as We, n as Aa, ar as Ea, cI as Ia, a9 as $a, cJ as Pa, aE as ys, b3 as Ma, aY as Ta, b4 as gs, b5 as Fa, b6 as La, b7 as Da, b8 as qa, ej as Oa } from "./index-D4dy8yHF.js";
2
+ import { h as za, A as Va, R as Ye, g as Re, i as Qe, u as Ua, f as Ze, b as Fs, c as ws, d as Ka, e as Ba, a as Ha, S as Ga } from "./useWorkbenchSession-kwuVHEAF.js";
3
+ import { D as Wa } from "./index-DkJpASom.js";
4
+ var Ya = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z" } }] }, name: "sliders", theme: "outlined" };
5
5
  function Je() {
6
6
  return Je = Object.assign ? Object.assign.bind() : function(n) {
7
7
  for (var t = 1; t < arguments.length; t++) {
@@ -12,11 +12,11 @@ function Je() {
12
12
  return n;
13
13
  }, Je.apply(this, arguments);
14
14
  }
15
- const Ya = (n, t) => /* @__PURE__ */ a.createElement(Rs, Je({}, n, {
15
+ const Qa = (n, t) => /* @__PURE__ */ a.createElement(Rs, Je({}, n, {
16
16
  ref: t,
17
- icon: Wa
18
- })), Ls = /* @__PURE__ */ a.forwardRef(Ya);
19
- var Qa = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "unordered-list", theme: "outlined" };
17
+ icon: Ya
18
+ })), Ls = /* @__PURE__ */ a.forwardRef(Qa);
19
+ var Za = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "unordered-list", theme: "outlined" };
20
20
  function Xe() {
21
21
  return Xe = Object.assign ? Object.assign.bind() : function(n) {
22
22
  for (var t = 1; t < arguments.length; t++) {
@@ -27,11 +27,11 @@ function Xe() {
27
27
  return n;
28
28
  }, Xe.apply(this, arguments);
29
29
  }
30
- const Za = (n, t) => /* @__PURE__ */ a.createElement(Rs, Xe({}, n, {
30
+ const Ja = (n, t) => /* @__PURE__ */ a.createElement(Rs, Xe({}, n, {
31
31
  ref: t,
32
- icon: Qa
33
- })), Ja = /* @__PURE__ */ a.forwardRef(Za), Xa = 99;
34
- function en(n) {
32
+ icon: Za
33
+ })), Xa = /* @__PURE__ */ a.forwardRef(Ja), en = 99;
34
+ function sn(n) {
35
35
  return {
36
36
  id: n.agent_id || n.agent_code || "",
37
37
  agentId: n.agent_id,
@@ -43,7 +43,7 @@ function en(n) {
43
43
  };
44
44
  }
45
45
  function Ue(n) {
46
- const t = en(n);
46
+ const t = sn(n);
47
47
  return {
48
48
  id: t.id,
49
49
  agentId: t.agentId,
@@ -73,7 +73,7 @@ function ks(n) {
73
73
  function es(n, t) {
74
74
  return t ? n.id === t || n.agentId === t || n.agentCode === t : !1;
75
75
  }
76
- function sn({
76
+ function an({
77
77
  presetAgents: n
78
78
  } = {}) {
79
79
  const { setAllQuestions: t } = ia(), [l, r] = a.useState(
@@ -95,7 +95,7 @@ function sn({
95
95
  }
96
96
  const m = await da({
97
97
  page: 1,
98
- page_size: Xa
98
+ page_size: en
99
99
  }), u = m.data || [], S = u.filter((N) => !N.hidden);
100
100
  !S.some((N) => N.is_main) && S.length > 0 && (S[0] = { ...S[0], is_main: !0 }), r(S.map(Ue));
101
101
  const Z = S.map(js);
@@ -120,7 +120,7 @@ function sn({
120
120
  reload: C
121
121
  };
122
122
  }
123
- function an(n) {
123
+ function nn(n) {
124
124
  const t = n || {};
125
125
  return {
126
126
  playbooks: ha(t),
@@ -128,13 +128,13 @@ function an(n) {
128
128
  childAgents: Array.isArray(t.children) ? t.children : []
129
129
  };
130
130
  }
131
- function nn(n) {
131
+ function tn(n) {
132
132
  return Array.isArray(n) ? n.reduce((t, l) => {
133
133
  const r = typeof (l == null ? void 0 : l.name) == "string" ? l.name.trim() : "";
134
134
  return r && t.push({ ...l, name: r }), t;
135
135
  }, []) : [];
136
136
  }
137
- function tn(n) {
137
+ function on(n) {
138
138
  var _, h, y, v, P;
139
139
  const t = n, l = (t == null ? void 0 : t.roles) ?? ((_ = t == null ? void 0 : t.data) == null ? void 0 : _.roles) ?? [];
140
140
  if (!Array.isArray(l))
@@ -157,7 +157,7 @@ function tn(n) {
157
157
  title: m.title || m.name || ((y = m.playbook) == null ? void 0 : y.name) || "未命名剧本",
158
158
  description: m.subtitle || m.description || ((v = m.playbook) == null ? void 0 : v.description) || "",
159
159
  sourceLabel: M,
160
- tags: nn(m.tags),
160
+ tags: tn(m.tags),
161
161
  playbookId: u,
162
162
  inputFields: m.input_fields || ((P = m.playbook) == null ? void 0 : P.input_fields) || [],
163
163
  categoryKey: w
@@ -168,11 +168,11 @@ function tn(n) {
168
168
  }
169
169
  return { categories: r, scenes: d, totalCount: b };
170
170
  }
171
- const on = "默认场景";
171
+ const cn = "默认场景";
172
172
  function Ds(n) {
173
- return n.category_name || n.category || n.type || on;
173
+ return n.category_name || n.category || n.type || cn;
174
174
  }
175
- function cn(n) {
175
+ function ln(n) {
176
176
  const t = /* @__PURE__ */ new Map();
177
177
  for (const l of n) {
178
178
  const r = Ds(l);
@@ -180,7 +180,7 @@ function cn(n) {
180
180
  }
181
181
  return Array.from(t, ([l, r]) => ({ key: l, name: l, count: r }));
182
182
  }
183
- function ln(n) {
183
+ function rn(n) {
184
184
  return n.map((t) => {
185
185
  const l = Ds(t);
186
186
  return {
@@ -210,18 +210,18 @@ function Os(n) {
210
210
  categoryKey: n.categoryKey
211
211
  };
212
212
  }
213
- function rn(n) {
214
- return cn(n).map(qs);
215
- }
216
213
  function dn(n) {
217
- return ln(n).map(Os);
214
+ return ln(n).map(qs);
218
215
  }
219
216
  function un(n) {
217
+ return rn(n).map(Os);
218
+ }
219
+ function mn(n) {
220
220
  if (Array.isArray(n)) return n;
221
221
  const t = n;
222
222
  return Array.isArray(t == null ? void 0 : t.user_playbooks) ? t.user_playbooks : [];
223
223
  }
224
- function mn(n) {
224
+ function hn(n) {
225
225
  const [t, l] = a.useState([]), [r, d] = a.useState([]), [b, _] = a.useState([]), [h, y] = a.useState([]), [v, P] = a.useState(!1), [f, M] = a.useState([]), [g, C] = a.useState([]), [w, m] = a.useState(0), [u, S] = a.useState(!1), [Z, N] = a.useState(null), [T, K] = a.useState(
226
226
  null
227
227
  ), [se, z] = a.useState(null), F = a.useRef(0), D = a.useRef(0), ne = a.useCallback(async () => {
@@ -238,7 +238,7 @@ function mn(n) {
238
238
  agent_id: n
239
239
  });
240
240
  if (k !== F.current) return;
241
- const I = an(q);
241
+ const I = nn(q);
242
242
  l(I.playbooks), d(I.playbookGroups), _(I.childAgents);
243
243
  } catch {
244
244
  if (k !== F.current) return;
@@ -252,7 +252,7 @@ function mn(n) {
252
252
  role_id: null
253
253
  });
254
254
  if (k !== F.current) return;
255
- const I = tn(q);
255
+ const I = on(q);
256
256
  M(I.categories), C(I.scenes), m(I.totalCount);
257
257
  } catch {
258
258
  if (k !== F.current) return;
@@ -273,7 +273,7 @@ function mn(n) {
273
273
  agent_id: n
274
274
  });
275
275
  if (k !== D.current) return;
276
- y(un(J));
276
+ y(mn(J));
277
277
  } catch {
278
278
  if (k !== D.current) return;
279
279
  K("我的场景加载失败"), y([]);
@@ -310,11 +310,11 @@ function mn(n) {
310
310
  useMapError: se
311
311
  };
312
312
  }
313
- function hn({
313
+ function xn({
314
314
  presetAgents: n,
315
315
  initialAgentId: t
316
316
  } = {}) {
317
- const l = sn({ presetAgents: n }), [r, d] = a.useState(t || ""), b = a.useRef(null);
317
+ const l = an({ presetAgents: n }), [r, d] = a.useState(t || ""), b = a.useRef(null);
318
318
  a.useEffect(() => {
319
319
  if (l.agents.length !== 0) {
320
320
  if (t && b.current !== t) {
@@ -341,7 +341,7 @@ function hn({
341
341
  (f) => f.agent_id === r || f.agent_code === r
342
342
  ),
343
343
  [l.sourceAgents, r]
344
- ), P = mn(r);
344
+ ), P = hn(r);
345
345
  return {
346
346
  ...l,
347
347
  agentLoading: l.loading,
@@ -356,7 +356,7 @@ function hn({
356
356
  selectAgent: _
357
357
  };
358
358
  }
359
- const xn = (n) => {
359
+ const pn = (n) => {
360
360
  const { onError: t } = n;
361
361
  t == null || t(new Error("该场景暂不支持文件上传"));
362
362
  };
@@ -369,7 +369,7 @@ function as({
369
369
  onChange: b,
370
370
  onUpload: _
371
371
  }) {
372
- const h = Oa(n.type), y = _ ?? ((v, P) => xn);
372
+ const h = za(n.type), y = _ ?? ((v, P) => pn);
373
373
  return /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-field", children: [
374
374
  /* @__PURE__ */ e.jsxs("label", { htmlFor: `wc-param-${n.name}`, children: [
375
375
  /* @__PURE__ */ e.jsx("span", { className: "wandox-console-field__label-text", children: n.label || n.name }),
@@ -383,7 +383,7 @@ function as({
383
383
  h && /* @__PURE__ */ e.jsx("span", { className: "wandox-console-field__required", children: "多值" })
384
384
  ] }),
385
385
  /* @__PURE__ */ e.jsx(
386
- za,
386
+ Va,
387
387
  {
388
388
  field: n,
389
389
  value: t,
@@ -397,15 +397,15 @@ function as({
397
397
  )
398
398
  ] });
399
399
  }
400
- const Ke = "__all__", vs = "__my__", Ns = "__library_all__", pn = "__library__:", _n = [
400
+ const Ke = "__all__", vs = "__my__", Ns = "__library_all__", _n = "__library__:", fn = [
401
401
  { key: "map", label: "使用地图" },
402
402
  { key: "my", label: "我的场景" },
403
403
  { key: "all", label: "全部场景" }
404
404
  ];
405
- function fn(n) {
405
+ function bn(n) {
406
406
  return n === "map" ? "搜索当前地图下的场景" : n === "my" ? "搜索我的场景" : "搜索全部场景";
407
407
  }
408
- function bn({
408
+ function yn({
409
409
  open: n,
410
410
  source: t,
411
411
  categories: l,
@@ -425,7 +425,7 @@ function bn({
425
425
  onStart: m
426
426
  }) {
427
427
  return /* @__PURE__ */ e.jsx(
428
- Ga,
428
+ Wa,
429
429
  {
430
430
  open: n,
431
431
  onClose: P,
@@ -447,7 +447,7 @@ function bn({
447
447
  {
448
448
  className: "wandox-console-chat__drawer-tabs",
449
449
  "aria-label": "场景来源",
450
- children: _n.map((u) => /* @__PURE__ */ e.jsx(
450
+ children: fn.map((u) => /* @__PURE__ */ e.jsx(
451
451
  "button",
452
452
  {
453
453
  type: "button",
@@ -496,7 +496,7 @@ function bn({
496
496
  {
497
497
  allowClear: !0,
498
498
  prefix: /* @__PURE__ */ e.jsx(Be, {}),
499
- placeholder: fn(t),
499
+ placeholder: bn(t),
500
500
  value: d,
501
501
  onChange: (u) => g(u.target.value)
502
502
  }
@@ -561,12 +561,12 @@ function bn({
561
561
  }
562
562
  );
563
563
  }
564
- function yn(n) {
564
+ function gn(n) {
565
565
  if (Array.isArray(n)) return n;
566
566
  const t = n;
567
567
  return Array.isArray(t == null ? void 0 : t.user_playbooks) ? t.user_playbooks : [];
568
568
  }
569
- function gn({
569
+ function wn({
570
570
  agentId: n,
571
571
  agentName: t,
572
572
  playbookId: l,
@@ -632,7 +632,7 @@ function gn({
632
632
  (x) => De(x, vs, "我的场景")
633
633
  ), o = /* @__PURE__ */ new Map();
634
634
  for (const x of y) {
635
- const L = x.category_name || x.category || x.type || "默认场景", E = `${pn}${L}`, _e = o.get(E) || [];
635
+ const L = x.category_name || x.category || x.type || "默认场景", E = `${_n}${L}`, _e = o.get(E) || [];
636
636
  _e.push(De(x, E, L)), o.set(E, _e);
637
637
  }
638
638
  const i = Array.from(o.values()).flat(), j = [
@@ -746,7 +746,7 @@ function gn({
746
746
  }, []), ke = a.useMemo(
747
747
  () => P.find((s) => s.id === n),
748
748
  [P, n]
749
- ), { messageData: Gs, executing: ae, stopping: Ws, actions: Ys } = Va({
749
+ ), { messageData: Gs, executing: ae, stopping: Ws, actions: Ys } = Ua({
750
750
  activeAgent: n,
751
751
  ssoToken: w,
752
752
  ssoDomain: m,
@@ -962,7 +962,7 @@ function gn({
962
962
  if (s !== B.current) return;
963
963
  me({
964
964
  requestId: ++Q.current,
965
- playbooks: yn(o)
965
+ playbooks: gn(o)
966
966
  });
967
967
  } catch {
968
968
  if (s !== B.current) return;
@@ -1175,7 +1175,7 @@ function gn({
1175
1175
  "aria-expanded": we,
1176
1176
  onClick: _s,
1177
1177
  children: [
1178
- /* @__PURE__ */ e.jsx(Ja, {}),
1178
+ /* @__PURE__ */ e.jsx(Xa, {}),
1179
1179
  /* @__PURE__ */ e.jsx("span", { className: "wandox-console-chat__toolbar-toggle-count", children: ie.length })
1180
1180
  ]
1181
1181
  }
@@ -1545,7 +1545,7 @@ function gn({
1545
1545
  }
1546
1546
  ) }),
1547
1547
  /* @__PURE__ */ e.jsx(
1548
- bn,
1548
+ yn,
1549
1549
  {
1550
1550
  open: N,
1551
1551
  source: z,
@@ -1582,8 +1582,8 @@ function gn({
1582
1582
  ] })
1583
1583
  );
1584
1584
  }
1585
- const { TextArea: wn } = ss;
1586
- function jn({
1585
+ const { TextArea: jn } = ss;
1586
+ function kn({
1587
1587
  useMapCards: n,
1588
1588
  useMapCategories: t,
1589
1589
  playbooks: l = [],
@@ -1599,7 +1599,7 @@ function jn({
1599
1599
  onOpenAgentChat: M
1600
1600
  }) {
1601
1601
  const [g, C] = a.useState(""), [w, m] = a.useState(""), u = a.useRef(null), [S, Z] = a.useState([]), [N, T] = a.useState(!1), [K, se] = a.useState(""), z = a.useRef(0), [F, D] = a.useState({}), [ne, V] = a.useState({}), [ee, de] = a.useState({}), [k, J] = a.useState([]), [q, I] = a.useState(!1), ye = a.useRef(null), H = a.useMemo(
1602
- () => n.length > 0 ? n : dn(l),
1602
+ () => n.length > 0 ? n : un(l),
1603
1603
  [n, l]
1604
1604
  ), te = a.useMemo(() => r ? H.filter((c) => c.categoryKey === r) : H, [H, r]), re = a.useMemo(() => {
1605
1605
  const c = w.trim().toLowerCase();
@@ -1794,7 +1794,7 @@ function jn({
1794
1794
  )
1795
1795
  ] }),
1796
1796
  R ? /* @__PURE__ */ e.jsx("div", { className: "wandox-console-taskarea wandox-console-taskarea--static", children: R.desc || R.title }) : /* @__PURE__ */ e.jsx("div", { className: "wandox-console-taskarea", children: /* @__PURE__ */ e.jsx(
1797
- wn,
1797
+ jn,
1798
1798
  {
1799
1799
  ref: u,
1800
1800
  value: g,
@@ -2005,12 +2005,12 @@ function jn({
2005
2005
  )
2006
2006
  ] }) });
2007
2007
  }
2008
- const kn = [
2008
+ const vn = [
2009
2009
  {
2010
2010
  id: "conversation",
2011
2011
  title: "智能体",
2012
2012
  desc: "与智能体自由对话或选择场景执行任务",
2013
- icon: /* @__PURE__ */ e.jsx(Ka, {}),
2013
+ icon: /* @__PURE__ */ e.jsx(Ba, {}),
2014
2014
  accent: "#4f46e5"
2015
2015
  },
2016
2016
  {
@@ -2023,10 +2023,10 @@ const kn = [
2023
2023
  ], Se = {
2024
2024
  id: "notification",
2025
2025
  title: "通知配置",
2026
- icon: /* @__PURE__ */ e.jsx(Ua, {}),
2026
+ icon: /* @__PURE__ */ e.jsx(Ka, {}),
2027
2027
  accent: "#e0730c"
2028
2028
  };
2029
- function vn({
2029
+ function Nn({
2030
2030
  features: n,
2031
2031
  onOpenFeature: t,
2032
2032
  activeId: l
@@ -2067,7 +2067,7 @@ function vn({
2067
2067
  )
2068
2068
  ] });
2069
2069
  }
2070
- function Nn({
2070
+ function Cn({
2071
2071
  className: n = "",
2072
2072
  state: t = "idle"
2073
2073
  }) {
@@ -2076,7 +2076,7 @@ function Nn({
2076
2076
  {
2077
2077
  className: `wandox-console-companion${n ? ` ${n}` : ""}`,
2078
2078
  "data-state": t,
2079
- src: "/brand/wandox-mark.svg",
2079
+ src: Oa,
2080
2080
  alt: "",
2081
2081
  "aria-hidden": "true"
2082
2082
  }
@@ -2093,7 +2093,7 @@ function Cs({ fading: n }) {
2093
2093
  /* @__PURE__ */ e.jsx("div", { className: "wandox-console-init__halo wandox-console-init__halo--b" }),
2094
2094
  /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-init__inner", children: [
2095
2095
  /* @__PURE__ */ e.jsx(
2096
- Nn,
2096
+ Cn,
2097
2097
  {
2098
2098
  className: "wandox-console-init__companion",
2099
2099
  state: "thinking"
@@ -2148,7 +2148,7 @@ function Ss({
2148
2148
  }
2149
2149
  );
2150
2150
  }
2151
- function An({
2151
+ function En({
2152
2152
  agents: n,
2153
2153
  initialAgentId: t,
2154
2154
  initialPlaybookId: l,
@@ -2162,7 +2162,7 @@ function An({
2162
2162
  selectedAgent: y,
2163
2163
  selectAgent: v,
2164
2164
  ...P
2165
- } = hn({ presetAgents: n, initialAgentId: t }), [f, M] = a.useState(null), g = a.useRef(null), C = a.useRef(!1), [w, m] = a.useState("home"), [u, S] = a.useState(
2165
+ } = xn({ presetAgents: n, initialAgentId: t }), [f, M] = a.useState(null), g = a.useRef(null), C = a.useRef(!1), [w, m] = a.useState("home"), [u, S] = a.useState(
2166
2166
  null
2167
2167
  ), [Z, N] = a.useState(!1), [T, K] = a.useState(null), [se, z] = a.useState(""), F = y == null ? void 0 : y.name, D = a.useCallback((p) => {
2168
2168
  if (g.current) {
@@ -2192,7 +2192,7 @@ function An({
2192
2192
  useMapError: J,
2193
2193
  reload: q
2194
2194
  } = P, I = a.useMemo(
2195
- () => ee.length > 0 ? ee : rn(ne),
2195
+ () => ee.length > 0 ? ee : dn(ne),
2196
2196
  [ee, ne]
2197
2197
  );
2198
2198
  a.useEffect(() => {
@@ -2284,7 +2284,7 @@ function An({
2284
2284
  };
2285
2285
  return w === "chat" && T ? /* @__PURE__ */ e.jsxs("div", { className: "wandox-console-chat-shell", children: [
2286
2286
  /* @__PURE__ */ e.jsx(
2287
- gn,
2287
+ wn,
2288
2288
  {
2289
2289
  agentId: T.agentId,
2290
2290
  agentName: T.agentName,
@@ -2317,9 +2317,9 @@ function An({
2317
2317
  children: [
2318
2318
  H && /* @__PURE__ */ e.jsx(Cs, { fading: re }),
2319
2319
  !Z && /* @__PURE__ */ e.jsx(
2320
- vn,
2320
+ Nn,
2321
2321
  {
2322
- features: kn,
2322
+ features: vn,
2323
2323
  activeId: u ?? "conversation",
2324
2324
  onOpenFeature: G
2325
2325
  }
@@ -2333,7 +2333,7 @@ function An({
2333
2333
  hideHeader: !0,
2334
2334
  className: "wandox-console-featureview--automation",
2335
2335
  children: /* @__PURE__ */ e.jsx(
2336
- Ba,
2336
+ Ha,
2337
2337
  {
2338
2338
  onCockpitEnter: () => N(!0),
2339
2339
  onCockpitExit: () => N(!1),
@@ -2348,11 +2348,11 @@ function An({
2348
2348
  title: "通知配置",
2349
2349
  onBack: () => S(null),
2350
2350
  hideHeader: !0,
2351
- children: /* @__PURE__ */ e.jsx(Ha, {})
2351
+ children: /* @__PURE__ */ e.jsx(Ga, {})
2352
2352
  }
2353
2353
  ),
2354
2354
  !u && /* @__PURE__ */ e.jsx(
2355
- jn,
2355
+ kn,
2356
2356
  {
2357
2357
  useMapCards: de,
2358
2358
  useMapCategories: I,
@@ -2375,5 +2375,5 @@ function An({
2375
2375
  );
2376
2376
  }
2377
2377
  export {
2378
- An as default
2378
+ En as default
2379
2379
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DxL6VLOT.cjs"),I=require("./index-BcUHp4mm.cjs"),X=r=>{const{componentCls:t}=r;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:r.marginXS},"&-md":{marginBlock:r.margin}}}}}},j=r=>{const{componentCls:t,sizePaddingEdgeHorizontal:s,colorSplit:a,lineWidth:o,textPaddingInline:u,orientationMargin:d,verticalMarginInline:S}=r,n=`${t}-rail`;return{[t]:{...e.resetComponent(r),borderBlockStart:`${e.unit(o)} solid ${a}`,[n]:{borderBlockStart:`${e.unit(o)} solid ${a}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:S,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${e.unit(o)} solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.unit(r.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.unit(r.dividerHorizontalWithTextGutterMargin)} 0`,color:r.colorTextHeading,fontWeight:500,fontSize:r.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,[`${n}-start, ${n}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${n}-start`]:{width:`calc(${d} * 100%)`},[`${n}-end`]:{width:`calc(100% - ${d} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${n}-start`]:{width:`calc(100% - ${d} * 100%)`},[`${n}-end`]:{width:`calc(${d} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:u},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${e.unit(o)} 0 0`,[n]:{borderBlockStart:`${e.unit(o)} dashed ${a}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${n}-start, ${n}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:a,borderStyle:"dotted",borderWidth:`${e.unit(o)} 0 0`,[n]:{borderBlockStart:`${e.unit(o)} dotted ${a}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:r.colorText,fontWeight:"normal",fontSize:r.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${n}-start`]:{width:0},[`${n}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:s}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${n}-start`]:{width:"100%"},[`${n}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:s}}}}},J=r=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:r.marginXS}),K=e.genStyleHooks("Divider",r=>{const t=e.merge(r,{dividerHorizontalWithTextGutterMargin:r.margin,sizePaddingEdgeHorizontal:0});return[j(t),X(t)]},J,{unitless:{orientationMargin:!0}}),Q=["left","right","center","start","end"],Y={small:"sm",middle:"md"},Z=r=>{const{getPrefixCls:t,direction:s,className:a,style:o,classNames:u,styles:d}=e.useComponentConfig("divider"),{prefixCls:S,type:n,orientation:$,vertical:M,titlePlacement:b,orientationMargin:l,className:k,rootClassName:B,children:c,dashed:N,variant:y="solid",plain:D,style:W,size:A,classNames:H,styles:F,...G}=r,i=t("divider",S),g=`${i}-rail`,[R,L]=K(i),C=e.useSize(A),f=Y[C],v=!!c,w=Q.includes($||""),h=e.reactExports.useMemo(()=>{const x=b??(w?$:"center");return x==="left"?s==="rtl"?"end":"start":x==="right"?s==="rtl"?"start":"end":x},[s,$,b,w]),z=h==="start"&&l!=null,P=h==="end"&&l!=null,[E,O]=e.useOrientation($,M,n),q={...r,orientation:E,titlePlacement:h,size:C},[m,p]=e.useMergeSemantic([u,H],[d,F],{props:q}),U=e.clsx(i,a,R,L,`${i}-${E}`,{[`${i}-with-text`]:v,[`${i}-with-text-${h}`]:v,[`${i}-dashed`]:!!N,[`${i}-${y}`]:y!=="solid",[`${i}-plain`]:!!D,[`${i}-rtl`]:s==="rtl",[`${i}-no-default-orientation-margin-start`]:z,[`${i}-no-default-orientation-margin-end`]:P,[`${i}-${f}`]:!!f,[g]:!c,[m.rail]:m.rail&&!c},k,B,m.root),T=e.reactExports.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),V={marginInlineStart:z?T:void 0,marginInlineEnd:P?T:void 0};return e.reactExports.createElement("div",{className:U,style:{...o,...p.root,...c?{}:p.rail,...W},...G,role:"separator"},c&&!O&&e.reactExports.createElement(e.reactExports.Fragment,null,e.reactExports.createElement("div",{className:e.clsx(g,`${g}-start`,m.rail),style:p.rail}),e.reactExports.createElement("span",{className:e.clsx(`${i}-inner-text`,m.content),style:{...V,...p.content}},c),e.reactExports.createElement("div",{className:e.clsx(g,`${g}-end`,m.rail),style:p.rail})))};exports.Alert=e.Alert;exports.AutoComplete=e.AutoComplete;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.Checkbox=e.Checkbox;exports.Col=e.Col;exports.Collapse=e.Collapse;exports.ConfigProvider=e.ConfigProvider;exports.DatePicker=e.DatePicker;exports.Descriptions=e.Descriptions;exports.Dropdown=e.Dropdown;exports.Empty=e.Empty;exports.Form=e.Form;exports.Image=e.Image;exports.Input=e.Input;exports.InputNumber=e.TypedInputNumber;exports.Menu=e.Menu;exports.Modal=e.Modal;exports.Pagination=e.Pagination;exports.Popconfirm=e.Popconfirm;exports.Popover=e.Popover;exports.Progress=e.Progress;exports.Radio=e.Radio;exports.Row=e.Row;exports.Segmented=e.Segmented;exports.Select=e.Select;exports.Skeleton=e.Skeleton;exports.Space=e.Space;exports.Spin=e.Spin;exports.Statistic=e.Statistic;exports.Switch=e.Switch;exports.Table=e.ForwardTable;exports.Tabs=e.Tabs;exports.Tag=e.Tag;exports.TimePicker=e.TimePicker;exports.Tooltip=e.Tooltip;exports.Tree=e.Tree;exports.Typography=e.Typography;exports.Upload=e.Upload;exports.message=e.staticMethods;exports.notification=e.staticMethods$1;exports.version=e.version;exports.Drawer=I.Drawer;exports.Steps=I.Steps;exports.Divider=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BPJc-VZw.cjs"),I=require("./index-5xbDqXDX.cjs"),X=r=>{const{componentCls:t}=r;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:r.marginXS},"&-md":{marginBlock:r.margin}}}}}},j=r=>{const{componentCls:t,sizePaddingEdgeHorizontal:s,colorSplit:a,lineWidth:o,textPaddingInline:u,orientationMargin:d,verticalMarginInline:S}=r,n=`${t}-rail`;return{[t]:{...e.resetComponent(r),borderBlockStart:`${e.unit(o)} solid ${a}`,[n]:{borderBlockStart:`${e.unit(o)} solid ${a}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:S,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${e.unit(o)} solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.unit(r.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.unit(r.dividerHorizontalWithTextGutterMargin)} 0`,color:r.colorTextHeading,fontWeight:500,fontSize:r.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,[`${n}-start, ${n}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${n}-start`]:{width:`calc(${d} * 100%)`},[`${n}-end`]:{width:`calc(100% - ${d} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${n}-start`]:{width:`calc(100% - ${d} * 100%)`},[`${n}-end`]:{width:`calc(${d} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:u},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${e.unit(o)} 0 0`,[n]:{borderBlockStart:`${e.unit(o)} dashed ${a}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${n}-start, ${n}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:a,borderStyle:"dotted",borderWidth:`${e.unit(o)} 0 0`,[n]:{borderBlockStart:`${e.unit(o)} dotted ${a}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:r.colorText,fontWeight:"normal",fontSize:r.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${n}-start`]:{width:0},[`${n}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:s}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${n}-start`]:{width:"100%"},[`${n}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:s}}}}},J=r=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:r.marginXS}),K=e.genStyleHooks("Divider",r=>{const t=e.merge(r,{dividerHorizontalWithTextGutterMargin:r.margin,sizePaddingEdgeHorizontal:0});return[j(t),X(t)]},J,{unitless:{orientationMargin:!0}}),Q=["left","right","center","start","end"],Y={small:"sm",middle:"md"},Z=r=>{const{getPrefixCls:t,direction:s,className:a,style:o,classNames:u,styles:d}=e.useComponentConfig("divider"),{prefixCls:S,type:n,orientation:$,vertical:M,titlePlacement:b,orientationMargin:l,className:k,rootClassName:B,children:c,dashed:N,variant:y="solid",plain:D,style:W,size:A,classNames:H,styles:F,...G}=r,i=t("divider",S),g=`${i}-rail`,[R,L]=K(i),C=e.useSize(A),f=Y[C],v=!!c,w=Q.includes($||""),h=e.reactExports.useMemo(()=>{const x=b??(w?$:"center");return x==="left"?s==="rtl"?"end":"start":x==="right"?s==="rtl"?"start":"end":x},[s,$,b,w]),z=h==="start"&&l!=null,P=h==="end"&&l!=null,[E,O]=e.useOrientation($,M,n),q={...r,orientation:E,titlePlacement:h,size:C},[m,p]=e.useMergeSemantic([u,H],[d,F],{props:q}),U=e.clsx(i,a,R,L,`${i}-${E}`,{[`${i}-with-text`]:v,[`${i}-with-text-${h}`]:v,[`${i}-dashed`]:!!N,[`${i}-${y}`]:y!=="solid",[`${i}-plain`]:!!D,[`${i}-rtl`]:s==="rtl",[`${i}-no-default-orientation-margin-start`]:z,[`${i}-no-default-orientation-margin-end`]:P,[`${i}-${f}`]:!!f,[g]:!c,[m.rail]:m.rail&&!c},k,B,m.root),T=e.reactExports.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),V={marginInlineStart:z?T:void 0,marginInlineEnd:P?T:void 0};return e.reactExports.createElement("div",{className:U,style:{...o,...p.root,...c?{}:p.rail,...W},...G,role:"separator"},c&&!O&&e.reactExports.createElement(e.reactExports.Fragment,null,e.reactExports.createElement("div",{className:e.clsx(g,`${g}-start`,m.rail),style:p.rail}),e.reactExports.createElement("span",{className:e.clsx(`${i}-inner-text`,m.content),style:{...V,...p.content}},c),e.reactExports.createElement("div",{className:e.clsx(g,`${g}-end`,m.rail),style:p.rail})))};exports.Alert=e.Alert;exports.AutoComplete=e.AutoComplete;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.Checkbox=e.Checkbox;exports.Col=e.Col;exports.Collapse=e.Collapse;exports.ConfigProvider=e.ConfigProvider;exports.DatePicker=e.DatePicker;exports.Descriptions=e.Descriptions;exports.Dropdown=e.Dropdown;exports.Empty=e.Empty;exports.Form=e.Form;exports.Image=e.Image;exports.Input=e.Input;exports.InputNumber=e.TypedInputNumber;exports.Menu=e.Menu;exports.Modal=e.Modal;exports.Pagination=e.Pagination;exports.Popconfirm=e.Popconfirm;exports.Popover=e.Popover;exports.Progress=e.Progress;exports.Radio=e.Radio;exports.Row=e.Row;exports.Segmented=e.Segmented;exports.Select=e.Select;exports.Skeleton=e.Skeleton;exports.Space=e.Space;exports.Spin=e.Spin;exports.Statistic=e.Statistic;exports.Switch=e.Switch;exports.Table=e.ForwardTable;exports.Tabs=e.Tabs;exports.Tag=e.Tag;exports.TimePicker=e.TimePicker;exports.Tooltip=e.Tooltip;exports.Tree=e.Tree;exports.Typography=e.Typography;exports.Upload=e.Upload;exports.message=e.staticMethods;exports.notification=e.staticMethods$1;exports.version=e.version;exports.Drawer=I.Drawer;exports.Steps=I.Steps;exports.Divider=Z;