@antdv-next/x 1.0.2-beta.1 → 1.0.2-beta.3

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 (156) hide show
  1. package/dist/actions/Actions.js +1 -1
  2. package/dist/attachments/index.js +1 -1
  3. package/dist/code-highlighter/CodeHighlighter.js +24 -7
  4. package/dist/conversations/index.js +1 -1
  5. package/dist/file-card/FileCard.js +1 -1
  6. package/dist/file-card/List.js +1 -1
  7. package/dist/index.umd.js +73 -32
  8. package/dist/locale/useLocale.js +1 -1
  9. package/dist/mermaid/Mermaid.js +1 -1
  10. package/dist/package.js +1 -1
  11. package/dist/prompts/Prompts.js +1 -1
  12. package/dist/sender/Sender.js +1 -1
  13. package/dist/sender/SenderHeader.js +1 -1
  14. package/dist/sender/SenderSwitch.js +1 -1
  15. package/dist/sources/Sources.js +1 -1
  16. package/dist/suggestion/Suggestion.js +1 -1
  17. package/dist/theme/genStyleUtils.js +1 -1
  18. package/dist/think/Think.js +1 -1
  19. package/dist/thought-chain/Item.js +1 -1
  20. package/dist/thought-chain/Node.js +1 -1
  21. package/dist/thought-chain/ThoughtChain.js +1 -1
  22. package/dist/welcome/index.js +1 -1
  23. package/dist/x-provider/context.d.ts +5 -1
  24. package/dist/x-provider/hooks/use-x-provider-context.js +1 -1
  25. package/dist/x-provider/index.d.ts +47 -0
  26. package/dist/x-provider/index.js +25 -0
  27. package/{dist-browser/Serializer-y_SfSPKv.js → es/Serializer-D1JYN1kI.js} +4 -4
  28. package/{dist-browser/_basePickBy-Cy7KVmkk.js → es/_basePickBy-DZiMKfOQ.js} +23 -23
  29. package/{dist-browser/_baseUniq-Ch3HuHeT.js → es/_baseUniq-DY3uHjSO.js} +83 -83
  30. package/es/antdv-next-x.esm.js +21009 -0
  31. package/{dist-browser/arc-caEkbRYF.js → es/arc-BuXEd18J.js} +3 -3
  32. package/es/architecture-PBZL5I3N-BdQzc3t9.js +3 -0
  33. package/{dist-browser/architectureDiagram-2XIMDMQ5-D3IYLROv.js → es/architectureDiagram-2XIMDMQ5-C8x7stcr.js} +85 -85
  34. package/{dist-browser/blockDiagram-WCTKOSBZ-nXanZ0sc.js → es/blockDiagram-WCTKOSBZ-DA-s3zoq.js} +530 -530
  35. package/{dist-browser/c4Diagram-IC4MRINW-C-gVp6th.js → es/c4Diagram-IC4MRINW-DD81dyS8.js} +170 -170
  36. package/es/channel-DZcPzDuw.js +5 -0
  37. package/{dist-browser/chunk-4BX2VUAB-fLFD6XW0.js → es/chunk-4BX2VUAB-B3zzxglQ.js} +2 -2
  38. package/{dist-browser/chunk-55IACEB6-OtyKJzCH.js → es/chunk-55IACEB6-CA9CRLkM.js} +2 -2
  39. package/{dist-browser/chunk-7E7YKBS2-C1dd36rm.js → es/chunk-7E7YKBS2-C_F-WOLQ.js} +2 -2
  40. package/{dist-browser/chunk-7R4GIKGN-DuTRhdsf.js → es/chunk-7R4GIKGN-CaI-1szl.js} +3 -3
  41. package/{dist-browser/chunk-C72U2L5F-ClmZGhFC.js → es/chunk-C72U2L5F-l6RZhGri.js} +2 -2
  42. package/{dist-browser/chunk-EGIJ26TM-Bar_u1MN.js → es/chunk-EGIJ26TM-Be42NeHw.js} +2 -2
  43. package/{dist-browser/chunk-FMBD7UC4-C_uJ_JJA.js → es/chunk-FMBD7UC4-DJh0L322.js} +2 -2
  44. package/{dist-browser/chunk-GEFDOKGD-P7WhyrTU.js → es/chunk-GEFDOKGD-BWt_f4io.js} +278 -278
  45. package/es/chunk-GLR3WWYH-B30PgFZZ.js +41 -0
  46. package/{dist-browser/chunk-HHEYEP7N-rv5s5WD4.js → es/chunk-HHEYEP7N-DkMnkoQX.js} +3 -3
  47. package/{dist-browser/chunk-JSJVCQXG-89HUGe9V.js → es/chunk-JSJVCQXG-ddNKdfu8.js} +4 -4
  48. package/{dist-browser/chunk-KX2RTZJC-pMHnNRQg.js → es/chunk-KX2RTZJC-BbnGQVgL.js} +3 -3
  49. package/{dist-browser/chunk-KYZI473N-DJmSs1gK.js → es/chunk-KYZI473N-B2rmiORt.js} +573 -573
  50. package/{dist-browser/chunk-L3YUKLVL-Ck54qytQ.js → es/chunk-L3YUKLVL-CmAZrf2E.js} +2 -2
  51. package/{dist-browser/chunk-MX3YWQON-MkpK3uBD.js → es/chunk-MX3YWQON-B3_AxMM1.js} +2 -2
  52. package/{dist-browser/chunk-NQ4KR5QH-DGshodQv.js → es/chunk-NQ4KR5QH-CmCG9ow3.js} +120 -120
  53. package/{dist-browser/chunk-O4XLMI2P-e-ZzDQwg.js → es/chunk-O4XLMI2P-CTLwv925.js} +238 -238
  54. package/{dist-browser/chunk-OZEHJAEY-DULNd43V.js → es/chunk-OZEHJAEY-CtONdvqY.js} +2 -2
  55. package/{dist-browser/chunk-PQ6SQG4A-CQ9Csv7s.js → es/chunk-PQ6SQG4A-Dx7no2mb.js} +3 -3
  56. package/{dist-browser/chunk-PU5JKC2W-DkEFvrjH.js → es/chunk-PU5JKC2W-O9_8B7zU.js} +76 -76
  57. package/{dist-browser/chunk-QZHKN3VN-qww1plfw.js → es/chunk-QZHKN3VN-BbuqVxkO.js} +2 -2
  58. package/{dist-browser/chunk-R5LLSJPH-BERXSDGJ.js → es/chunk-R5LLSJPH-CpwKqyBY.js} +2 -2
  59. package/{dist-browser/chunk-WL4C6EOR-C-d8WPS7.js → es/chunk-WL4C6EOR-BXrjoxmr.js} +120 -120
  60. package/{dist-browser/chunk-XIRO2GV7-CFHofxVB.js → es/chunk-XIRO2GV7-4kMze38t.js} +2 -2
  61. package/{dist-browser/chunk-XPW4576I-DgvoNZkW.js → es/chunk-XPW4576I-DG6JendS.js} +2 -2
  62. package/{dist-browser/chunk-XZSTWKYB-k8_EXrSa.js → es/chunk-XZSTWKYB-DjOnj3KP.js} +93 -93
  63. package/{dist-browser/chunk-YBOYWFTD-BUW4AzEX.js → es/chunk-YBOYWFTD-DVAsFYJ-.js} +8 -8
  64. package/es/classDiagram-VBA2DB6C-wt_pcvEN.js +29 -0
  65. package/es/classDiagram-v2-RAHNMMFH-B8Bw4b3n.js +29 -0
  66. package/es/clone-CtpnpaZq.js +8 -0
  67. package/{dist-browser/cose-bilkent-S5V4N54A-CnrS2OC1.js → es/cose-bilkent-S5V4N54A-IRlkXPnk.js} +3 -3
  68. package/{dist-browser/css-Dh17kjFY.js → es/css-DyS1hwc1.js} +1 -1
  69. package/es/css-HrHT_VUz.js +2 -0
  70. package/{dist-browser/cytoscape.esm-BY3wHcbp.js → es/cytoscape.esm-i2CZcWd-.js} +1 -1
  71. package/{dist-browser/dagre-BJOzGlhW.js → es/dagre-Dm2PNtRY.js} +57 -57
  72. package/es/dagre-KLK3FWXG-DLgOeqbz.js +294 -0
  73. package/{dist-browser/defaultLocale-BaPFSbai.js → es/defaultLocale-bckJcYh1.js} +12 -12
  74. package/{dist-browser/diagram-E7M64L7V-DxuJj8ZG.js → es/diagram-E7M64L7V-Cdek_47s.js} +83 -83
  75. package/{dist-browser/diagram-IFDJBPK2-BOpPZ6pu.js → es/diagram-IFDJBPK2-DzCaWPW3.js} +31 -31
  76. package/{dist-browser/diagram-P4PSJMXO--ChDmcya.js → es/diagram-P4PSJMXO-B7pPaer-.js} +32 -32
  77. package/{dist-browser/dist-DltyvPj3.js → es/dist-BX_roQzC.js} +1 -1
  78. package/{dist-browser/erDiagram-INFDFZHY-BA3m-v87.js → es/erDiagram-INFDFZHY-BZHMCNB3.js} +128 -128
  79. package/{dist-browser/flowDiagram-PKNHOUZH-BCq6k3kr.js → es/flowDiagram-PKNHOUZH-BBJx8-jP.js} +156 -156
  80. package/{dist-browser/ganttDiagram-A5KZAMGK-DdMePS21.js → es/ganttDiagram-A5KZAMGK-4TJAHJUF.js} +622 -625
  81. package/es/gitGraph-HDMCJU4V-CGPcRI5K.js +3 -0
  82. package/{dist-browser/gitGraphDiagram-K3NZZRJ6-CLbRwChG.js → es/gitGraphDiagram-K3NZZRJ6-CSATib_y.js} +176 -176
  83. package/{dist-browser/graphlib-C7ysKz4u.js → es/graphlib-WtNUGuyd.js} +4 -4
  84. package/{dist-browser/html-BmZO1Eoo.js → es/html-B6UxjOv0.js} +2 -2
  85. package/es/html-Hb1oe8XT.js +2 -0
  86. package/es/info-3K5VOQVL-D6bOjfim.js +3 -0
  87. package/{dist-browser/infoDiagram-LFFYTUFH-DQAZ-vFk.js → es/infoDiagram-LFFYTUFH-ahqynRAA.js} +5 -5
  88. package/{dist-browser/init-PAs0hR-b.js → es/init-B75p2clj.js} +1 -1
  89. package/{dist-browser/isArrayLikeObject-y3HlYDaX.js → es/isArrayLikeObject-D4gDJaEW.js} +80 -80
  90. package/{dist-browser/isEmpty-2JxdWtc-.js → es/isEmpty-BgdRybYg.js} +3 -3
  91. package/{dist-browser/ishikawaDiagram-PHBUUO56-B0r2IgGz.js → es/ishikawaDiagram-PHBUUO56-B9NWp429.js} +67 -67
  92. package/{dist-browser/journeyDiagram-4ABVD52K-DnMUhOvg.js → es/journeyDiagram-4ABVD52K-CXmYa8OF.js} +6 -6
  93. package/{dist-browser/kanban-definition-K7BYSVSG-Da5Y-nJy.js → es/kanban-definition-K7BYSVSG-g9tToeab.js} +11 -11
  94. package/{dist-browser/katex-b-xdokOf.js → es/katex-Bvh2oRWI.js} +1 -1
  95. package/{dist-browser/line-h2iCTGsE.js → es/line-DETnb8Mr.js} +4 -4
  96. package/{dist-browser/linear-Bv7XrZCH.js → es/linear-DGQDIL28.js} +23 -23
  97. package/{dist-browser/math-DPzKeDKn.js → es/math-CoDOuve-.js} +1 -1
  98. package/{dist-browser/mermaid-parser.core-kTgpNO7M.js → es/mermaid-parser.core-DXn-0ev4.js} +16 -16
  99. package/{dist-browser/mermaid.core-DRuUNxpC.js → es/mermaid.core-W4vXivv8.js} +208 -208
  100. package/{dist-browser/mindmap-definition-YRQLILUH-CYeqnCde.js → es/mindmap-definition-YRQLILUH-x9QfilEP.js} +16 -16
  101. package/{dist-browser/ordinal-D8PKtxfM.js → es/ordinal-F3U6aXtP.js} +3 -3
  102. package/es/packet-RMMSAZCW-CW6reTze.js +3 -0
  103. package/{dist-browser/path-DZ-6AyWK.js → es/path-Dm3C8WEs.js} +3 -3
  104. package/es/pie-UPGHQEXC-ByJXXnsc.js +3 -0
  105. package/{dist-browser/pieDiagram-SKSYHLDU-DAsfTGvY.js → es/pieDiagram-SKSYHLDU-CG2GOW6Z.js} +32 -32
  106. package/{dist-browser/quadrantDiagram-337W2JSQ-CZLbmQS4.js → es/quadrantDiagram-337W2JSQ-C81pfz0c.js} +4 -4
  107. package/es/radar-KQ55EAFF-DLq-eYVH.js +3 -0
  108. package/{dist-browser/requirementDiagram-Z7DCOOCP-Cb_Ygnfe.js → es/requirementDiagram-Z7DCOOCP-J-tc0fnw.js} +59 -59
  109. package/{dist-browser/rough.esm-C_hJ3ICT.js → es/rough.esm-BhGP2Udb.js} +1 -1
  110. package/{dist-browser/sankeyDiagram-WA2Y5GQK-DBe5YfW4.js → es/sankeyDiagram-WA2Y5GQK-BfGyH2f1.js} +18 -18
  111. package/{dist-browser/sequenceDiagram-2WXFIKYE-C_KUoojT.js → es/sequenceDiagram-2WXFIKYE-m6aSnjku.js} +390 -390
  112. package/{dist-browser/src-BukXhifV.js → es/src-CFVe5TPD.js} +86 -86
  113. package/{dist-browser/stateDiagram-RAJIS63D-boG6DyfW.js → es/stateDiagram-RAJIS63D-CPJuOh-s.js} +68 -68
  114. package/es/stateDiagram-v2-FVOUBMTO-uxSkj8dH.js +27 -0
  115. package/{dist-browser/timeline-definition-YZTLITO2-pFt6rZ6S.js → es/timeline-definition-YZTLITO2-C7Vz32PK.js} +4 -4
  116. package/es/treemap-KZPCXAKY-BhLuAwPA.js +3 -0
  117. package/{dist-browser/vennDiagram-LZ73GAT5-VaCO6k4H.js → es/vennDiagram-LZ73GAT5-BWloH3fI.js} +107 -107
  118. package/{dist-browser/vue-BJ0ov2CZ.js → es/vue-2aJw7p5p.js} +3 -3
  119. package/{dist-browser/vue-html-D0gyDbfn.js → es/vue-html-DEjI8X9t.js} +1 -1
  120. package/{dist-browser/xychartDiagram-JWTSCODW-xS5ybemA.js → es/xychartDiagram-JWTSCODW-l-SVBlqB.js} +103 -103
  121. package/package.json +13 -11
  122. package/dist/index.esm.js +0 -11377
  123. package/dist-browser/architecture-PBZL5I3N-DHfBr78A.js +0 -3
  124. package/dist-browser/channel-DoEe9DF9.js +0 -5
  125. package/dist-browser/chunk-GLR3WWYH-BvazRgdo.js +0 -41
  126. package/dist-browser/classDiagram-VBA2DB6C-DWTAs0Zm.js +0 -29
  127. package/dist-browser/classDiagram-v2-RAHNMMFH-CoxCdmrt.js +0 -29
  128. package/dist-browser/clone-BXDbKCDu.js +0 -8
  129. package/dist-browser/css-D9vrnIUE.js +0 -2
  130. package/dist-browser/dagre-KLK3FWXG-CFC0naVr.js +0 -294
  131. package/dist-browser/gitGraph-HDMCJU4V-DbzpICZW.js +0 -3
  132. package/dist-browser/html-DnTYsv5k.js +0 -2
  133. package/dist-browser/index.es.js +0 -56150
  134. package/dist-browser/index.umd.js +0 -3281
  135. package/dist-browser/info-3K5VOQVL-CpUiQuel.js +0 -3
  136. package/dist-browser/packet-RMMSAZCW-UTFQ0FQx.js +0 -3
  137. package/dist-browser/pie-UPGHQEXC-CarAcBSi.js +0 -3
  138. package/dist-browser/radar-KQ55EAFF-NXK5PC9R.js +0 -3
  139. package/dist-browser/stateDiagram-v2-FVOUBMTO-DHCajhrN.js +0 -27
  140. package/dist-browser/treemap-KZPCXAKY-Cj9QakFB.js +0 -3
  141. /package/{dist-browser → es}/array-CWNufkl9.js +0 -0
  142. /package/{dist-browser → es}/bash-CXEwhtGQ.js +0 -0
  143. /package/{dist-browser → es}/chunk-WQLz0Won.js +0 -0
  144. /package/{dist-browser → es}/diff-BSu5dsa2.js +0 -0
  145. /package/{dist-browser → es}/javascript-BXHK_bZ2.js +0 -0
  146. /package/{dist-browser → es}/javascript-NV_FQBab.js +0 -0
  147. /package/{dist-browser → es}/json-C8Y9C4Ne.js +0 -0
  148. /package/{dist-browser → es}/json-DZ_9-j3Q.js +0 -0
  149. /package/{dist-browser → es}/jsx-CxlNNvOI.js +0 -0
  150. /package/{dist-browser → es}/markdown-BKwT7HWz.js +0 -0
  151. /package/{dist-browser → es}/mermaid-C1RUu_Iw.js +0 -0
  152. /package/{dist-browser → es}/python-BQM8giqx.js +0 -0
  153. /package/{dist-browser → es}/tsx-DIYEV_g7.js +0 -0
  154. /package/{dist-browser → es}/typescript-B6MWEsBH.js +0 -0
  155. /package/{dist-browser → es}/typescript-CR48gG1F.js +0 -0
  156. /package/{dist-browser → es}/yaml-Y0CqUPTQ.js +0 -0
@@ -1,5 +1,5 @@
1
- import { d as e, f as t, g as n, h as r, m as i, n as a, p as o, s, t as c } from "./chunk-XZSTWKYB-k8_EXrSa.js";
2
- //#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OZEHJAEY.mjs
1
+ import { d as e, f as t, g as n, h as r, m as i, n as a, p as o, s, t as c } from "./chunk-XZSTWKYB-DjOnj3KP.js";
2
+ //#region ../../node_modules/.pnpm/@mermaid-js+parser@1.0.1/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OZEHJAEY.mjs
3
3
  var l = class extends c {
4
4
  static {
5
5
  t(this, "TreemapTokenBuilder");
@@ -1,6 +1,6 @@
1
- import { h as e } from "./src-BukXhifV.js";
2
- import { b as t } from "./chunk-7R4GIKGN-DuTRhdsf.js";
3
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-PQ6SQG4A.mjs
1
+ import { h as e } from "./src-CFVe5TPD.js";
2
+ import { b as t } from "./chunk-7R4GIKGN-CaI-1szl.js";
3
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-PQ6SQG4A.mjs
4
4
  var n = /* @__PURE__ */ e((e) => {
5
5
  let { handDrawnSeed: n } = t();
6
6
  return {
@@ -1,7 +1,7 @@
1
- import { g as e, h as t, p as n } from "./src-BukXhifV.js";
2
- import { i as r } from "./chunk-GEFDOKGD-P7WhyrTU.js";
3
- import { L as i, P as a, k as o, s, y as c } from "./chunk-7R4GIKGN-DuTRhdsf.js";
4
- //#region ../../node_modules/@iconify/utils/lib/icon/defaults.js
1
+ import { i as e } from "./chunk-GEFDOKGD-BWt_f4io.js";
2
+ import { g as t, h as n, p as r } from "./src-CFVe5TPD.js";
3
+ import { L as i, P as a, k as o, s, y as c } from "./chunk-7R4GIKGN-CaI-1szl.js";
4
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/icon/defaults.js
5
5
  var l = Object.freeze({
6
6
  left: 0,
7
7
  top: 0,
@@ -59,7 +59,7 @@ var l = Object.freeze({
59
59
  return null;
60
60
  }, g = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1;
61
61
  //#endregion
62
- //#region ../../node_modules/@iconify/utils/lib/icon/transformations.js
62
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/icon/transformations.js
63
63
  function ee(e, t) {
64
64
  let n = {};
65
65
  !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
@@ -67,14 +67,14 @@ function ee(e, t) {
67
67
  return r && (n.rotate = r), n;
68
68
  }
69
69
  //#endregion
70
- //#region ../../node_modules/@iconify/utils/lib/icon/merge.js
70
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/icon/merge.js
71
71
  function te(e, t) {
72
72
  let n = ee(e, t);
73
73
  for (let r in f) r in u ? r in e && !(r in n) && (n[r] = u[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
74
74
  return n;
75
75
  }
76
76
  //#endregion
77
- //#region ../../node_modules/@iconify/utils/lib/icon-set/tree.js
77
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/icon-set/tree.js
78
78
  function ne(e, t) {
79
79
  let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
80
80
  function a(e) {
@@ -89,7 +89,7 @@ function ne(e, t) {
89
89
  return (t || Object.keys(n).concat(Object.keys(r))).forEach(a), i;
90
90
  }
91
91
  //#endregion
92
- //#region ../../node_modules/@iconify/utils/lib/icon-set/get-icon.js
92
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js
93
93
  function re(e, t, n) {
94
94
  let r = e.icons, i = e.aliases || Object.create(null), a = {};
95
95
  function o(e) {
@@ -103,7 +103,7 @@ function ie(e, t) {
103
103
  return n ? re(e, t, n) : null;
104
104
  }
105
105
  //#endregion
106
- //#region ../../node_modules/@iconify/utils/lib/svg/size.js
106
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/svg/size.js
107
107
  var ae = /(-?[0-9.]*[0-9]+[0-9.]*)/g, oe = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
108
108
  function se(e, t, n) {
109
109
  if (t === 1) return e;
@@ -122,7 +122,7 @@ function se(e, t, n) {
122
122
  }
123
123
  }
124
124
  //#endregion
125
- //#region ../../node_modules/@iconify/utils/lib/svg/defs.js
125
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/svg/defs.js
126
126
  function ce(e, t = "defs") {
127
127
  let n = "", r = e.indexOf("<" + t);
128
128
  for (; r >= 0;) {
@@ -145,7 +145,7 @@ function ue(e, t, n) {
145
145
  return le(r.defs, t + r.content + n);
146
146
  }
147
147
  //#endregion
148
- //#region ../../node_modules/@iconify/utils/lib/svg/build.js
148
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/svg/build.js
149
149
  var de = (e) => e === "unset" || e === "undefined" || e === "none";
150
150
  function fe(e, t) {
151
151
  let n = {
@@ -196,7 +196,7 @@ function fe(e, t) {
196
196
  };
197
197
  }
198
198
  //#endregion
199
- //#region ../../node_modules/@iconify/utils/lib/svg/id.js
199
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/svg/id.js
200
200
  var pe = /\sid="(\S+)"/g, me = /* @__PURE__ */ new Map();
201
201
  function he(e) {
202
202
  e = e.replace(/[0-9]+$/, "") || "a";
@@ -214,14 +214,14 @@ function ge(e) {
214
214
  }), e = e.replace(new RegExp(r, "g"), ""), e;
215
215
  }
216
216
  //#endregion
217
- //#region ../../node_modules/@iconify/utils/lib/svg/html.js
217
+ //#region ../../node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/svg/html.js
218
218
  function _e(e, t) {
219
219
  let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
220
220
  for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
221
221
  return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
222
222
  }
223
223
  //#endregion
224
- //#region ../../node_modules/marked/lib/marked.esm.js
224
+ //#region ../../node_modules/.pnpm/marked@16.4.2/node_modules/marked/lib/marked.esm.js
225
225
  function _() {
226
226
  return {
227
227
  async: !1,
@@ -1606,7 +1606,7 @@ G.options = G.setOptions = function(e) {
1606
1606
  return W.walkTokens(e, t);
1607
1607
  }, G.parseInline = W.parseInline, G.Parser = H, G.parser = H.parse, G.Renderer = B, G.TextRenderer = V, G.Lexer = z, G.lexer = z.lex, G.Tokenizer = R, G.Hooks = U, G.parse = G, G.options, G.setOptions, G.use, G.walkTokens, G.parseInline, H.parse, z.lex;
1608
1608
  //#endregion
1609
- //#region ../../node_modules/ts-dedent/esm/index.js
1609
+ //#region ../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js
1610
1610
  function gt(e) {
1611
1611
  var t = [...arguments].slice(1), n = Array.from(typeof e == "string" ? [e] : e);
1612
1612
  n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
@@ -1632,51 +1632,51 @@ function gt(e) {
1632
1632
  }), a;
1633
1633
  }
1634
1634
  //#endregion
1635
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-PU5JKC2W.mjs
1635
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-PU5JKC2W.mjs
1636
1636
  var _t = {
1637
1637
  body: "<g><rect width=\"80\" height=\"80\" style=\"fill: #087ebf; stroke-width: 0px;\"/><text transform=\"translate(21.16 64.67)\" style=\"fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;\"><tspan x=\"0\" y=\"0\">?</tspan></text></g>",
1638
1638
  height: 80,
1639
1639
  width: 80
1640
- }, K = /* @__PURE__ */ new Map(), vt = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ t((t) => {
1641
- for (let n of t) {
1640
+ }, K = /* @__PURE__ */ new Map(), vt = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ n((e) => {
1641
+ for (let n of e) {
1642
1642
  if (!n.name) throw Error("Invalid icon loader. Must have a \"name\" property with non-empty string value.");
1643
- if (e.debug("Registering icon pack:", n.name), "loader" in n) vt.set(n.name, n.loader);
1643
+ if (t.debug("Registering icon pack:", n.name), "loader" in n) vt.set(n.name, n.loader);
1644
1644
  else if ("icons" in n) K.set(n.name, n.icons);
1645
- else throw e.error("Invalid icon loader:", n), Error("Invalid icon loader. Must have either \"icons\" or \"loader\" property.");
1645
+ else throw t.error("Invalid icon loader:", n), Error("Invalid icon loader. Must have either \"icons\" or \"loader\" property.");
1646
1646
  }
1647
- }, "registerIconPacks"), bt = /* @__PURE__ */ t(async (t, n) => {
1648
- let r = h(t, !0, n !== void 0);
1649
- if (!r) throw Error(`Invalid icon name: ${t}`);
1647
+ }, "registerIconPacks"), bt = /* @__PURE__ */ n(async (e, n) => {
1648
+ let r = h(e, !0, n !== void 0);
1649
+ if (!r) throw Error(`Invalid icon name: ${e}`);
1650
1650
  let i = r.prefix || n;
1651
- if (!i) throw Error(`Icon name must contain a prefix: ${t}`);
1651
+ if (!i) throw Error(`Icon name must contain a prefix: ${e}`);
1652
1652
  let a = K.get(i);
1653
1653
  if (!a) {
1654
- let t = vt.get(i);
1655
- if (!t) throw Error(`Icon set not found: ${r.prefix}`);
1654
+ let e = vt.get(i);
1655
+ if (!e) throw Error(`Icon set not found: ${r.prefix}`);
1656
1656
  try {
1657
1657
  a = {
1658
- ...await t(),
1658
+ ...await e(),
1659
1659
  prefix: i
1660
1660
  }, K.set(i, a);
1661
- } catch (t) {
1662
- throw e.error(t), Error(`Failed to load icon set: ${r.prefix}`);
1661
+ } catch (e) {
1662
+ throw t.error(e), Error(`Failed to load icon set: ${r.prefix}`);
1663
1663
  }
1664
1664
  }
1665
1665
  let o = ie(a, r.name);
1666
- if (!o) throw Error(`Icon not found: ${t}`);
1666
+ if (!o) throw Error(`Icon not found: ${e}`);
1667
1667
  return o;
1668
- }, "getRegisteredIconData"), xt = /* @__PURE__ */ t(async (e) => {
1668
+ }, "getRegisteredIconData"), xt = /* @__PURE__ */ n(async (e) => {
1669
1669
  try {
1670
1670
  return await bt(e), !0;
1671
1671
  } catch {
1672
1672
  return !1;
1673
1673
  }
1674
- }, "isIconAvailable"), St = /* @__PURE__ */ t(async (t, n, r) => {
1674
+ }, "isIconAvailable"), St = /* @__PURE__ */ n(async (e, n, r) => {
1675
1675
  let a;
1676
1676
  try {
1677
- a = await bt(t, n?.fallbackPrefix);
1678
- } catch (t) {
1679
- e.error(t), a = _t;
1677
+ a = await bt(e, n?.fallbackPrefix);
1678
+ } catch (e) {
1679
+ t.error(e), a = _t;
1680
1680
  }
1681
1681
  let o = fe(a, n);
1682
1682
  return i(_e(ge(o.body), {
@@ -1687,16 +1687,16 @@ var _t = {
1687
1687
  function Ct(e, { markdownAutoWrap: t }) {
1688
1688
  return gt(e.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1689
1689
  }
1690
- t(Ct, "preprocessMarkdown");
1690
+ n(Ct, "preprocessMarkdown");
1691
1691
  function wt(e) {
1692
1692
  return e.split(/\\n|\n|<br\s*\/?>/gi).map((e) => e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map((e) => ({
1693
1693
  content: e,
1694
1694
  type: "normal"
1695
1695
  })) ?? []);
1696
1696
  }
1697
- t(wt, "nonMarkdownToLines");
1698
- function Tt(e, n = {}) {
1699
- let r = Ct(e, n), i = G.lexer(r), a = [[]], o = 0;
1697
+ n(wt, "nonMarkdownToLines");
1698
+ function Tt(e, t = {}) {
1699
+ let r = Ct(e, t), i = G.lexer(r), a = [[]], o = 0;
1700
1700
  function s(e, t = "normal") {
1701
1701
  e.type === "text" ? e.text.split("\n").forEach((e, n) => {
1702
1702
  n !== 0 && (o++, a.push([])), e.split(" ").forEach((e) => {
@@ -1712,7 +1712,7 @@ function Tt(e, n = {}) {
1712
1712
  type: "normal"
1713
1713
  });
1714
1714
  }
1715
- return t(s, "processNode"), i.forEach((e) => {
1715
+ return n(s, "processNode"), i.forEach((e) => {
1716
1716
  e.type === "paragraph" ? e.tokens?.forEach((e) => {
1717
1717
  s(e);
1718
1718
  }) : e.type === "html" ? a[o].push({
@@ -1724,27 +1724,27 @@ function Tt(e, n = {}) {
1724
1724
  });
1725
1725
  }), a;
1726
1726
  }
1727
- t(Tt, "markdownToLines");
1727
+ n(Tt, "markdownToLines");
1728
1728
  function Et(e) {
1729
1729
  return e ? `<p>${e.replace(/\\n|\n/g, "<br />")}</p>` : "";
1730
1730
  }
1731
- t(Et, "nonMarkdownToHTML");
1732
- function Dt(n, { markdownAutoWrap: r } = {}) {
1733
- let i = G.lexer(n);
1734
- function a(t) {
1735
- return t.type === "text" ? r === !1 ? t.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : t.text.replace(/\n */g, "<br/>") : t.type === "strong" ? `<strong>${t.tokens?.map(a).join("")}</strong>` : t.type === "em" ? `<em>${t.tokens?.map(a).join("")}</em>` : t.type === "paragraph" ? `<p>${t.tokens?.map(a).join("")}</p>` : t.type === "space" ? "" : t.type === "html" ? `${t.text}` : t.type === "escape" ? t.text : (e.warn(`Unsupported markdown: ${t.type}`), t.raw);
1731
+ n(Et, "nonMarkdownToHTML");
1732
+ function Dt(e, { markdownAutoWrap: r } = {}) {
1733
+ let i = G.lexer(e);
1734
+ function a(e) {
1735
+ return e.type === "text" ? r === !1 ? e.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : e.text.replace(/\n */g, "<br/>") : e.type === "strong" ? `<strong>${e.tokens?.map(a).join("")}</strong>` : e.type === "em" ? `<em>${e.tokens?.map(a).join("")}</em>` : e.type === "paragraph" ? `<p>${e.tokens?.map(a).join("")}</p>` : e.type === "space" ? "" : e.type === "html" ? `${e.text}` : e.type === "escape" ? e.text : (t.warn(`Unsupported markdown: ${e.type}`), e.raw);
1736
1736
  }
1737
- return t(a, "output"), i.map(a).join("");
1737
+ return n(a, "output"), i.map(a).join("");
1738
1738
  }
1739
- t(Dt, "markdownToHTML");
1739
+ n(Dt, "markdownToHTML");
1740
1740
  function Ot(e) {
1741
1741
  return Intl.Segmenter ? [...new Intl.Segmenter().segment(e)].map((e) => e.segment) : [...e];
1742
1742
  }
1743
- t(Ot, "splitTextToChars");
1743
+ n(Ot, "splitTextToChars");
1744
1744
  function kt(e, t) {
1745
1745
  return q(e, [], Ot(t.content), t.type);
1746
1746
  }
1747
- t(kt, "splitWordToFitWidth");
1747
+ n(kt, "splitWordToFitWidth");
1748
1748
  function q(e, t, n, r) {
1749
1749
  if (n.length === 0) return [{
1750
1750
  content: t.join(""),
@@ -1765,12 +1765,12 @@ function q(e, t, n, r) {
1765
1765
  type: r
1766
1766
  }]);
1767
1767
  }
1768
- t(q, "splitWordToFitWidthRecursion");
1768
+ n(q, "splitWordToFitWidthRecursion");
1769
1769
  function At(e, t) {
1770
1770
  if (e.some(({ content: e }) => e.includes("\n"))) throw Error("splitLineToFitWidth does not support newlines in the line");
1771
1771
  return J(e, t);
1772
1772
  }
1773
- t(At, "splitLineToFitWidth");
1773
+ n(At, "splitLineToFitWidth");
1774
1774
  function J(e, t, n = [], r = []) {
1775
1775
  if (e.length === 0) return r.length > 0 && n.push(r), n.length > 0 ? n : [];
1776
1776
  let i = "";
@@ -1790,11 +1790,11 @@ function J(e, t, n = [], r = []) {
1790
1790
  }
1791
1791
  return J(e, t, n);
1792
1792
  }
1793
- t(J, "splitLineToFitWidthRecursion");
1793
+ n(J, "splitLineToFitWidthRecursion");
1794
1794
  function Y(e, t) {
1795
1795
  t && e.attr("style", t);
1796
1796
  }
1797
- t(Y, "applyStyle");
1797
+ n(Y, "applyStyle");
1798
1798
  var jt = 16384;
1799
1799
  async function Mt(e, t, n, r, l = !1, u = c()) {
1800
1800
  let d = e.append("foreignObject");
@@ -1804,19 +1804,19 @@ async function Mt(e, t, n, r, l = !1, u = c()) {
1804
1804
  let g = f.node().getBoundingClientRect();
1805
1805
  return g.width === n && (f.style("display", "table"), f.style("white-space", "break-spaces"), f.style("width", n + "px"), g = f.node().getBoundingClientRect()), d.node();
1806
1806
  }
1807
- t(Mt, "addHtmlSpan");
1807
+ n(Mt, "addHtmlSpan");
1808
1808
  function X(e, t, n, r = !1) {
1809
1809
  let i = e.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", t * n - .1 + "em").attr("dy", n + "em");
1810
1810
  return r && i.attr("text-anchor", "middle"), i;
1811
1811
  }
1812
- t(X, "createTspan");
1812
+ n(X, "createTspan");
1813
1813
  function Nt(e, t, n) {
1814
1814
  let r = e.append("text"), i = X(r, 1, t);
1815
1815
  Q(i, n);
1816
1816
  let a = i.node().getComputedTextLength();
1817
1817
  return r.remove(), a;
1818
1818
  }
1819
- t(Nt, "computeWidthOfText");
1819
+ n(Nt, "computeWidthOfText");
1820
1820
  function Pt(e, t, n) {
1821
1821
  let r = e.append("text"), i = X(r, 1, t);
1822
1822
  Q(i, [{
@@ -1826,13 +1826,13 @@ function Pt(e, t, n) {
1826
1826
  let a = i.node()?.getBoundingClientRect();
1827
1827
  return a && r.remove(), a;
1828
1828
  }
1829
- t(Pt, "computeDimensionOfText");
1830
- function Z(e, n, r, i = !1, a = !1) {
1831
- let o = 1.1, s = n.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
1829
+ n(Pt, "computeDimensionOfText");
1830
+ function Z(e, t, r, i = !1, a = !1) {
1831
+ let o = 1.1, s = t.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
1832
1832
  a && l.attr("text-anchor", "middle");
1833
1833
  let u = 0;
1834
- for (let n of r) {
1835
- let r = /* @__PURE__ */ t((t) => Nt(s, o, t) <= e, "checkWidth"), i = r(n) ? [n] : At(n, r);
1834
+ for (let t of r) {
1835
+ let r = /* @__PURE__ */ n((t) => Nt(s, o, t) <= e, "checkWidth"), i = r(t) ? [t] : At(t, r);
1836
1836
  for (let e of i) Q(X(l, u, o, a), e), u++;
1837
1837
  }
1838
1838
  if (i) {
@@ -1840,14 +1840,14 @@ function Z(e, n, r, i = !1, a = !1) {
1840
1840
  return c.attr("x", e.x - 2).attr("y", e.y - 2).attr("width", e.width + 4).attr("height", e.height + 4), s.node();
1841
1841
  } else return l.node();
1842
1842
  }
1843
- t(Z, "createFormattedText");
1843
+ n(Z, "createFormattedText");
1844
1844
  function Q(e, t) {
1845
1845
  e.text(""), t.forEach((t, n) => {
1846
1846
  let r = e.append("tspan").attr("font-style", t.type === "em" ? "italic" : "normal").attr("class", "text-inner-tspan").attr("font-weight", t.type === "strong" ? "bold" : "normal");
1847
1847
  n === 0 ? r.text(t.content) : r.text(" " + t.content);
1848
1848
  });
1849
1849
  }
1850
- t(Q, "updateTextContentAndStyles");
1850
+ n(Q, "updateTextContentAndStyles");
1851
1851
  async function $(e, t = {}) {
1852
1852
  let n = [];
1853
1853
  e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e, r, a) => (n.push((async () => {
@@ -1857,28 +1857,28 @@ async function $(e, t = {}) {
1857
1857
  let r = await Promise.all(n);
1858
1858
  return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, () => r.shift() ?? "");
1859
1859
  }
1860
- t($, "replaceIconSubstring");
1861
- var Ft = /* @__PURE__ */ t(async (t, i = "", { style: a = "", isTitle: s = !1, classes: c = "", useHtmlLabels: l = !0, markdown: u = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
1862
- if (e.debug("XYZ createText", i, a, s, c, l, d, "addSvgBackground: ", p), l) {
1863
- let e = await $(r(u ? Dt(i, m) : Et(i)), m), n = i.replace(/\\\\/g, "\\");
1864
- return await Mt(t, {
1860
+ n($, "replaceIconSubstring");
1861
+ var Ft = /* @__PURE__ */ n(async (n, i = "", { style: a = "", isTitle: s = !1, classes: c = "", useHtmlLabels: l = !0, markdown: u = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
1862
+ if (t.debug("XYZ createText", i, a, s, c, l, d, "addSvgBackground: ", p), l) {
1863
+ let t = await $(e(u ? Dt(i, m) : Et(i)), m), r = i.replace(/\\\\/g, "\\");
1864
+ return await Mt(n, {
1865
1865
  isNode: d,
1866
- label: o(i) ? n : e,
1866
+ label: o(i) ? r : t,
1867
1867
  labelStyle: a.replace("fill:", "color:")
1868
1868
  }, f, c, p, m);
1869
1869
  } else {
1870
- let e = i.replace(/<br\s*\/?>/g, "<br/>"), r = Z(f, t, u ? Tt(e.replace("<br>", "<br/>"), m) : wt(e), i ? p : !1, !d);
1870
+ let e = i.replace(/<br\s*\/?>/g, "<br/>"), t = Z(f, n, u ? Tt(e.replace("<br>", "<br/>"), m) : wt(e), i ? p : !1, !d);
1871
1871
  if (d) {
1872
1872
  /stroke:/.exec(a) && (a = a.replace("stroke:", "lineColor:"));
1873
1873
  let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1874
- n(r).attr("style", e);
1874
+ r(t).attr("style", e);
1875
1875
  } else {
1876
1876
  let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1877
- n(r).select("rect").attr("style", e.replace(/background:/g, "fill:"));
1878
- let t = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1879
- n(r).select("text").attr("style", t);
1877
+ r(t).select("rect").attr("style", e.replace(/background:/g, "fill:"));
1878
+ let n = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1879
+ r(t).select("text").attr("style", n);
1880
1880
  }
1881
- return s ? n(r).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : n(r).selectAll("tspan.text-outer-tspan").classed("row", !0), r;
1881
+ return s ? r(t).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : r(t).selectAll("tspan.text-outer-tspan").classed("row", !0), t;
1882
1882
  }
1883
1883
  }, "createText");
1884
1884
  //#endregion
@@ -1,5 +1,5 @@
1
- import { h as e } from "./src-BukXhifV.js";
2
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs
1
+ import { h as e } from "./src-CFVe5TPD.js";
2
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs
3
3
  var t = class {
4
4
  constructor(e) {
5
5
  this.init = e, this.records = this.init();
@@ -1,5 +1,5 @@
1
- import { f as e, g as t, h as n, m as r, n as i, p as a, r as o, s, t as c } from "./chunk-XZSTWKYB-k8_EXrSa.js";
2
- //#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-R5LLSJPH.mjs
1
+ import { f as e, g as t, h as n, m as r, n as i, p as a, r as o, s, t as c } from "./chunk-XZSTWKYB-DjOnj3KP.js";
2
+ //#region ../../node_modules/.pnpm/@mermaid-js+parser@1.0.1/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-R5LLSJPH.mjs
3
3
  var l = class extends c {
4
4
  static {
5
5
  e(this, "ArchitectureTokenBuilder");