@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,23 +1,23 @@
1
- import { g as e, h as t } from "./src-BukXhifV.js";
2
- import "./chunk-GEFDOKGD-P7WhyrTU.js";
3
- import { $ as n, L as r, O as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-DuTRhdsf.js";
4
- import "./chunk-PU5JKC2W-DkEFvrjH.js";
5
- import "./chunk-MX3YWQON-MkpK3uBD.js";
6
- import "./chunk-YBOYWFTD-BUW4AzEX.js";
7
- import { t as l } from "./chunk-55IACEB6-OtyKJzCH.js";
8
- import { t as u } from "./chunk-KX2RTZJC-pMHnNRQg.js";
9
- import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
10
- import "./chunk-KYZI473N-DJmSs1gK.js";
11
- import "./chunk-O4XLMI2P-e-ZzDQwg.js";
12
- import { r as d, t as f } from "./chunk-GLR3WWYH-BvazRgdo.js";
13
- //#region ../../node_modules/uuid/dist/esm-browser/stringify.js
1
+ import "./chunk-GEFDOKGD-BWt_f4io.js";
2
+ import { g as e, h as t } from "./src-CFVe5TPD.js";
3
+ import { $ as n, L as r, O as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-CaI-1szl.js";
4
+ import "./chunk-PU5JKC2W-O9_8B7zU.js";
5
+ import "./chunk-MX3YWQON-B3_AxMM1.js";
6
+ import "./chunk-YBOYWFTD-DVAsFYJ-.js";
7
+ import { t as l } from "./chunk-55IACEB6-CA9CRLkM.js";
8
+ import { t as u } from "./chunk-KX2RTZJC-BbnGQVgL.js";
9
+ import "./chunk-PQ6SQG4A-Dx7no2mb.js";
10
+ import "./chunk-KYZI473N-B2rmiORt.js";
11
+ import "./chunk-O4XLMI2P-CTLwv925.js";
12
+ import { r as d, t as f } from "./chunk-GLR3WWYH-B30PgFZZ.js";
13
+ //#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js
14
14
  var p = [];
15
15
  for (let e = 0; e < 256; ++e) p.push((e + 256).toString(16).slice(1));
16
16
  function m(e, t = 0) {
17
17
  return (p[e[t + 0]] + p[e[t + 1]] + p[e[t + 2]] + p[e[t + 3]] + "-" + p[e[t + 4]] + p[e[t + 5]] + "-" + p[e[t + 6]] + p[e[t + 7]] + "-" + p[e[t + 8]] + p[e[t + 9]] + "-" + p[e[t + 10]] + p[e[t + 11]] + p[e[t + 12]] + p[e[t + 13]] + p[e[t + 14]] + p[e[t + 15]]).toLowerCase();
18
18
  }
19
19
  //#endregion
20
- //#region ../../node_modules/uuid/dist/esm-browser/rng.js
20
+ //#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js
21
21
  var h, g = new Uint8Array(16);
22
22
  function _() {
23
23
  if (!h) {
@@ -28,7 +28,7 @@ function _() {
28
28
  }
29
29
  var v = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
30
30
  //#endregion
31
- //#region ../../node_modules/uuid/dist/esm-browser/v4.js
31
+ //#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js
32
32
  function y(e, t, n) {
33
33
  if (v.randomUUID && !t && !e) return v.randomUUID();
34
34
  e ||= {};
@@ -42,7 +42,7 @@ function y(e, t, n) {
42
42
  return m(r);
43
43
  }
44
44
  //#endregion
45
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-YRQLILUH.mjs
45
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-YRQLILUH.mjs
46
46
  var b = (function() {
47
47
  var e = /* @__PURE__ */ t(function(e, t, n, r) {
48
48
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -1,5 +1,5 @@
1
- import { t as e } from "./init-PAs0hR-b.js";
2
- //#region ../../node_modules/internmap/src/index.js
1
+ import { t as e } from "./init-B75p2clj.js";
2
+ //#region ../../node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.js
3
3
  var t = class extends Map {
4
4
  constructor(e, t = a) {
5
5
  if (super(), Object.defineProperties(this, {
@@ -36,7 +36,7 @@ function a(e) {
36
36
  return typeof e == "object" && e ? e.valueOf() : e;
37
37
  }
38
38
  //#endregion
39
- //#region ../../node_modules/d3-scale/src/ordinal.js
39
+ //#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.js
40
40
  var o = Symbol("implicit");
41
41
  function s() {
42
42
  var n = new t(), r = [], i = [], a = o;
@@ -0,0 +1,3 @@
1
+ import "./chunk-XZSTWKYB-DjOnj3KP.js";
2
+ import { n as e } from "./chunk-C72U2L5F-l6RZhGri.js";
3
+ export { e as createPacketServices };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/d3-path/src/path.js
1
+ //#region ../../node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.js
2
2
  var e = Math.PI, t = 2 * e, n = 1e-6, r = t - n;
3
3
  function i(e) {
4
4
  this._ += e[0];
@@ -60,14 +60,14 @@ function s() {
60
60
  }
61
61
  s.prototype = o.prototype;
62
62
  //#endregion
63
- //#region ../../node_modules/d3-shape/src/constant.js
63
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.js
64
64
  function c(e) {
65
65
  return function() {
66
66
  return e;
67
67
  };
68
68
  }
69
69
  //#endregion
70
- //#region ../../node_modules/d3-shape/src/path.js
70
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.js
71
71
  function l(e) {
72
72
  let t = 3;
73
73
  return e.digits = function(n) {
@@ -0,0 +1,3 @@
1
+ import "./chunk-XZSTWKYB-DjOnj3KP.js";
2
+ import { n as e } from "./chunk-XIRO2GV7-4kMze38t.js";
3
+ export { e as createPieServices };
@@ -1,25 +1,25 @@
1
- import { g as e, h as t } from "./src-BukXhifV.js";
2
- import { f as n, r } from "./chunk-GEFDOKGD-P7WhyrTU.js";
3
- import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, c as d, d as f, v as p } from "./chunk-7R4GIKGN-DuTRhdsf.js";
4
- import { t as m } from "./ordinal-D8PKtxfM.js";
5
- import { n as h } from "./path-DZ-6AyWK.js";
6
- import { p as g } from "./math-DPzKeDKn.js";
7
- import { t as _ } from "./arc-caEkbRYF.js";
1
+ import { f as e, r as t } from "./chunk-GEFDOKGD-BWt_f4io.js";
2
+ import { g as n, h as r } from "./src-CFVe5TPD.js";
3
+ import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, c as d, d as f, v as p } from "./chunk-7R4GIKGN-CaI-1szl.js";
4
+ import { t as m } from "./ordinal-F3U6aXtP.js";
5
+ import { n as h } from "./path-Dm3C8WEs.js";
6
+ import { p as g } from "./math-CoDOuve-.js";
7
+ import { t as _ } from "./arc-BuXEd18J.js";
8
8
  import { t as v } from "./array-CWNufkl9.js";
9
- import { t as y } from "./chunk-HHEYEP7N-rv5s5WD4.js";
10
- import { t as b } from "./chunk-4BX2VUAB-fLFD6XW0.js";
11
- import { t as x } from "./mermaid-parser.core-kTgpNO7M.js";
12
- //#region ../../node_modules/d3-shape/src/descending.js
9
+ import { t as y } from "./chunk-HHEYEP7N-DkMnkoQX.js";
10
+ import { t as b } from "./chunk-4BX2VUAB-B3zzxglQ.js";
11
+ import { t as x } from "./mermaid-parser.core-DXn-0ev4.js";
12
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.js
13
13
  function S(e, t) {
14
14
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
15
15
  }
16
16
  //#endregion
17
- //#region ../../node_modules/d3-shape/src/identity.js
17
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.js
18
18
  function C(e) {
19
19
  return e;
20
20
  }
21
21
  //#endregion
22
- //#region ../../node_modules/d3-shape/src/pie.js
22
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.js
23
23
  function w() {
24
24
  var e = C, t = S, n = null, r = h(0), i = h(g), a = h(0);
25
25
  function o(o) {
@@ -54,14 +54,14 @@ function w() {
54
54
  }, o;
55
55
  }
56
56
  //#endregion
57
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-SKSYHLDU.mjs
57
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-SKSYHLDU.mjs
58
58
  var T = f.pie, E = {
59
59
  sections: /* @__PURE__ */ new Map(),
60
60
  showData: !1,
61
61
  config: T
62
62
  }, D = E.sections, O = E.showData, k = structuredClone(T), A = {
63
- getConfig: /* @__PURE__ */ t(() => structuredClone(k), "getConfig"),
64
- clear: /* @__PURE__ */ t(() => {
63
+ getConfig: /* @__PURE__ */ r(() => structuredClone(k), "getConfig"),
64
+ clear: /* @__PURE__ */ r(() => {
65
65
  D = /* @__PURE__ */ new Map(), O = E.showData, l();
66
66
  }, "clear"),
67
67
  setDiagramTitle: s,
@@ -70,21 +70,21 @@ var T = f.pie, E = {
70
70
  getAccTitle: p,
71
71
  setAccDescription: i,
72
72
  getAccDescription: c,
73
- addSection: /* @__PURE__ */ t(({ label: t, value: n }) => {
74
- if (n < 0) throw Error(`"${t}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);
75
- D.has(t) || (D.set(t, n), e.debug(`added new section: ${t}, with value: ${n}`));
73
+ addSection: /* @__PURE__ */ r(({ label: e, value: t }) => {
74
+ if (t < 0) throw Error(`"${e}" has invalid value: ${t}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);
75
+ D.has(e) || (D.set(e, t), n.debug(`added new section: ${e}, with value: ${t}`));
76
76
  }, "addSection"),
77
- getSections: /* @__PURE__ */ t(() => D, "getSections"),
78
- setShowData: /* @__PURE__ */ t((e) => {
77
+ getSections: /* @__PURE__ */ r(() => D, "getSections"),
78
+ setShowData: /* @__PURE__ */ r((e) => {
79
79
  O = e;
80
80
  }, "setShowData"),
81
- getShowData: /* @__PURE__ */ t(() => O, "getShowData")
82
- }, j = /* @__PURE__ */ t((e, t) => {
81
+ getShowData: /* @__PURE__ */ r(() => O, "getShowData")
82
+ }, j = /* @__PURE__ */ r((e, t) => {
83
83
  b(e, t), t.setShowData(e.showData), e.sections.map(t.addSection);
84
- }, "populateDb"), M = { parse: /* @__PURE__ */ t(async (t) => {
85
- let n = await x("pie", t);
86
- e.debug(n), j(n, A);
87
- }, "parse") }, N = /* @__PURE__ */ t((e) => `
84
+ }, "populateDb"), M = { parse: /* @__PURE__ */ r(async (e) => {
85
+ let t = await x("pie", e);
86
+ n.debug(t), j(t, A);
87
+ }, "parse") }, N = /* @__PURE__ */ r((e) => `
88
88
  .pieCircle{
89
89
  stroke: ${e.pieStrokeColor};
90
90
  stroke-width : ${e.pieStrokeWidth};
@@ -112,7 +112,7 @@ var T = f.pie, E = {
112
112
  font-family: ${e.fontFamily};
113
113
  font-size: ${e.pieLegendTextSize};
114
114
  }
115
- `, "getStyles"), P = /* @__PURE__ */ t((e) => {
115
+ `, "getStyles"), P = /* @__PURE__ */ r((e) => {
116
116
  let t = [...e.values()].reduce((e, t) => e + t, 0), n = [...e.entries()].map(([e, t]) => ({
117
117
  label: e,
118
118
  value: t
@@ -121,11 +121,11 @@ var T = f.pie, E = {
121
121
  }, "createPieArcs"), F = {
122
122
  parser: M,
123
123
  db: A,
124
- renderer: { draw: /* @__PURE__ */ t((t, i, a, o) => {
125
- e.debug("rendering pie chart\n" + t);
126
- let s = o.db, c = u(), l = r(s.getConfig(), c.pie), f = y(i), p = f.append("g");
124
+ renderer: { draw: /* @__PURE__ */ r((r, i, a, o) => {
125
+ n.debug("rendering pie chart\n" + r);
126
+ let s = o.db, c = u(), l = t(s.getConfig(), c.pie), f = y(i), p = f.append("g");
127
127
  p.attr("transform", "translate(225,225)");
128
- let { themeVariables: h } = c, [g] = n(h.pieOuterStrokeWidth);
128
+ let { themeVariables: h } = c, [g] = e(h.pieOuterStrokeWidth);
129
129
  g ??= 2;
130
130
  let v = l.textPosition, b = _().innerRadius(0).outerRadius(185), x = _().innerRadius(185 * v).outerRadius(185 * v);
131
131
  p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", 185 + g / 2).attr("class", "pieOuterCircle");
@@ -1,7 +1,7 @@
1
- import { g as e, h as t, p as n } from "./src-BukXhifV.js";
2
- import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-DuTRhdsf.js";
3
- import { t as h } from "./linear-Bv7XrZCH.js";
4
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-337W2JSQ.mjs
1
+ import { g as e, h as t, p as n } from "./src-CFVe5TPD.js";
2
+ import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-CaI-1szl.js";
3
+ import { t as h } from "./linear-DGQDIL28.js";
4
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-337W2JSQ.mjs
5
5
  var g = (function() {
6
6
  var e = /* @__PURE__ */ t(function(e, t, n, r) {
7
7
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -0,0 +1,3 @@
1
+ import "./chunk-XZSTWKYB-DjOnj3KP.js";
2
+ import { n as e } from "./chunk-L3YUKLVL-CmAZrf2E.js";
3
+ export { e as createRadarServices };
@@ -1,21 +1,21 @@
1
- import { g as e, h as t, m as n } from "./src-BukXhifV.js";
2
- import { h as r } from "./chunk-GEFDOKGD-P7WhyrTU.js";
3
- import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, v as d } from "./chunk-7R4GIKGN-DuTRhdsf.js";
4
- import "./chunk-PU5JKC2W-DkEFvrjH.js";
5
- import "./chunk-MX3YWQON-MkpK3uBD.js";
6
- import "./chunk-YBOYWFTD-BUW4AzEX.js";
7
- import { t as f } from "./chunk-55IACEB6-OtyKJzCH.js";
8
- import { t as p } from "./chunk-KX2RTZJC-pMHnNRQg.js";
9
- import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
10
- import "./chunk-KYZI473N-DJmSs1gK.js";
11
- import "./chunk-O4XLMI2P-e-ZzDQwg.js";
12
- import { r as m, t as h } from "./chunk-GLR3WWYH-BvazRgdo.js";
13
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
1
+ import { h as e } from "./chunk-GEFDOKGD-BWt_f4io.js";
2
+ import { g as t, h as n, m as r } from "./src-CFVe5TPD.js";
3
+ import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, v as d } from "./chunk-7R4GIKGN-CaI-1szl.js";
4
+ import "./chunk-PU5JKC2W-O9_8B7zU.js";
5
+ import "./chunk-MX3YWQON-B3_AxMM1.js";
6
+ import "./chunk-YBOYWFTD-DVAsFYJ-.js";
7
+ import { t as f } from "./chunk-55IACEB6-CA9CRLkM.js";
8
+ import { t as p } from "./chunk-KX2RTZJC-BbnGQVgL.js";
9
+ import "./chunk-PQ6SQG4A-Dx7no2mb.js";
10
+ import "./chunk-KYZI473N-B2rmiORt.js";
11
+ import "./chunk-O4XLMI2P-CTLwv925.js";
12
+ import { r as m, t as h } from "./chunk-GLR3WWYH-B30PgFZZ.js";
13
+ //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
14
14
  var g = (function() {
15
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
15
+ var e = /* @__PURE__ */ n(function(e, t, n, r) {
16
16
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
17
17
  return n;
18
- }, "o"), n = [1, 3], r = [1, 4], i = [1, 5], a = [1, 6], o = [
18
+ }, "o"), t = [1, 3], r = [1, 4], i = [1, 5], a = [1, 6], o = [
19
19
  5,
20
20
  6,
21
21
  8,
@@ -188,7 +188,7 @@ var g = (function() {
188
188
  89,
189
189
  90
190
190
  ], W = [1, 110], G = [1, 106], K = [1, 107], q = [1, 108], J = [1, 109], Y = [1, 111], X = [1, 116], Z = [1, 117], Q = [1, 114], $ = [1, 115], le = {
191
- trace: /* @__PURE__ */ t(function() {}, "trace"),
191
+ trace: /* @__PURE__ */ n(function() {}, "trace"),
192
192
  yy: {},
193
193
  symbols_: {
194
194
  error: 2,
@@ -441,7 +441,7 @@ var g = (function() {
441
441
  [60, 1],
442
442
  [60, 1]
443
443
  ],
444
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
444
+ performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
445
445
  var s = a.length - 1;
446
446
  switch (i) {
447
447
  case 4:
@@ -597,7 +597,7 @@ var g = (function() {
597
597
  {
598
598
  3: 1,
599
599
  4: 2,
600
- 6: n,
600
+ 6: t,
601
601
  9: r,
602
602
  11: i,
603
603
  13: a
@@ -607,7 +607,7 @@ var g = (function() {
607
607
  3: 8,
608
608
  4: 2,
609
609
  5: [1, 7],
610
- 6: n,
610
+ 6: t,
611
611
  9: r,
612
612
  11: i,
613
613
  13: a
@@ -619,7 +619,7 @@ var g = (function() {
619
619
  {
620
620
  3: 12,
621
621
  4: 2,
622
- 6: n,
622
+ 6: t,
623
623
  9: r,
624
624
  11: i,
625
625
  13: a
@@ -1417,15 +1417,15 @@ var g = (function() {
1417
1417
  150: [2, 89],
1418
1418
  151: [2, 90]
1419
1419
  },
1420
- parseError: /* @__PURE__ */ t(function(e, t) {
1420
+ parseError: /* @__PURE__ */ n(function(e, t) {
1421
1421
  if (t.recoverable) this.trace(e);
1422
1422
  else {
1423
1423
  var n = Error(e);
1424
1424
  throw n.hash = t, n;
1425
1425
  }
1426
1426
  }, "parseError"),
1427
- parse: /* @__PURE__ */ t(function(e) {
1428
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1427
+ parse: /* @__PURE__ */ n(function(e) {
1428
+ var t = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1429
1429
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1430
1430
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1431
1431
  var v = h.yylloc;
@@ -1435,12 +1435,12 @@ var g = (function() {
1435
1435
  function b(e) {
1436
1436
  r.length -= 2 * e, a.length -= e, o.length -= e;
1437
1437
  }
1438
- t(b, "popStack");
1438
+ n(b, "popStack");
1439
1439
  function x() {
1440
1440
  var e = i.pop() || h.lex() || p;
1441
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1441
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
1442
1442
  }
1443
- t(x, "lex");
1443
+ n(x, "lex");
1444
1444
  for (var S, C, w, T, E, D = {}, O, k, ee, A;;) {
1445
1445
  if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1446
1446
  var te = "";
@@ -1484,11 +1484,11 @@ var g = (function() {
1484
1484
  le.lexer = /* @__PURE__ */ (function() {
1485
1485
  return {
1486
1486
  EOF: 1,
1487
- parseError: /* @__PURE__ */ t(function(e, t) {
1487
+ parseError: /* @__PURE__ */ n(function(e, t) {
1488
1488
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1489
1489
  else throw Error(e);
1490
1490
  }, "parseError"),
1491
- setInput: /* @__PURE__ */ t(function(e, t) {
1491
+ setInput: /* @__PURE__ */ n(function(e, t) {
1492
1492
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1493
1493
  first_line: 1,
1494
1494
  first_column: 0,
@@ -1496,11 +1496,11 @@ var g = (function() {
1496
1496
  last_column: 0
1497
1497
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1498
1498
  }, "setInput"),
1499
- input: /* @__PURE__ */ t(function() {
1499
+ input: /* @__PURE__ */ n(function() {
1500
1500
  var e = this._input[0];
1501
1501
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1502
1502
  }, "input"),
1503
- unput: /* @__PURE__ */ t(function(e) {
1503
+ unput: /* @__PURE__ */ n(function(e) {
1504
1504
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1505
1505
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1506
1506
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1513,10 +1513,10 @@ var g = (function() {
1513
1513
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1514
1514
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1515
1515
  }, "unput"),
1516
- more: /* @__PURE__ */ t(function() {
1516
+ more: /* @__PURE__ */ n(function() {
1517
1517
  return this._more = !0, this;
1518
1518
  }, "more"),
1519
- reject: /* @__PURE__ */ t(function() {
1519
+ reject: /* @__PURE__ */ n(function() {
1520
1520
  if (this.options.backtrack_lexer) this._backtrack = !0;
1521
1521
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1522
1522
  text: "",
@@ -1525,22 +1525,22 @@ var g = (function() {
1525
1525
  });
1526
1526
  return this;
1527
1527
  }, "reject"),
1528
- less: /* @__PURE__ */ t(function(e) {
1528
+ less: /* @__PURE__ */ n(function(e) {
1529
1529
  this.unput(this.match.slice(e));
1530
1530
  }, "less"),
1531
- pastInput: /* @__PURE__ */ t(function() {
1531
+ pastInput: /* @__PURE__ */ n(function() {
1532
1532
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1533
1533
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1534
1534
  }, "pastInput"),
1535
- upcomingInput: /* @__PURE__ */ t(function() {
1535
+ upcomingInput: /* @__PURE__ */ n(function() {
1536
1536
  var e = this.match;
1537
1537
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1538
1538
  }, "upcomingInput"),
1539
- showPosition: /* @__PURE__ */ t(function() {
1539
+ showPosition: /* @__PURE__ */ n(function() {
1540
1540
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1541
1541
  return e + this.upcomingInput() + "\n" + t + "^";
1542
1542
  }, "showPosition"),
1543
- test_match: /* @__PURE__ */ t(function(e, t) {
1543
+ test_match: /* @__PURE__ */ n(function(e, t) {
1544
1544
  var n, r, i;
1545
1545
  if (this.options.backtrack_lexer && (i = {
1546
1546
  yylineno: this.yylineno,
@@ -1573,7 +1573,7 @@ var g = (function() {
1573
1573
  }
1574
1574
  return !1;
1575
1575
  }, "test_match"),
1576
- next: /* @__PURE__ */ t(function() {
1576
+ next: /* @__PURE__ */ n(function() {
1577
1577
  if (this.done) return this.EOF;
1578
1578
  this._input || (this.done = !0);
1579
1579
  var e, t, n, r;
@@ -1593,29 +1593,29 @@ var g = (function() {
1593
1593
  line: this.yylineno
1594
1594
  });
1595
1595
  }, "next"),
1596
- lex: /* @__PURE__ */ t(function() {
1596
+ lex: /* @__PURE__ */ n(function() {
1597
1597
  return this.next() || this.lex();
1598
1598
  }, "lex"),
1599
- begin: /* @__PURE__ */ t(function(e) {
1599
+ begin: /* @__PURE__ */ n(function(e) {
1600
1600
  this.conditionStack.push(e);
1601
1601
  }, "begin"),
1602
- popState: /* @__PURE__ */ t(function() {
1602
+ popState: /* @__PURE__ */ n(function() {
1603
1603
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1604
1604
  }, "popState"),
1605
- _currentRules: /* @__PURE__ */ t(function() {
1605
+ _currentRules: /* @__PURE__ */ n(function() {
1606
1606
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1607
1607
  }, "_currentRules"),
1608
- topState: /* @__PURE__ */ t(function(e) {
1608
+ topState: /* @__PURE__ */ n(function(e) {
1609
1609
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1610
1610
  }, "topState"),
1611
- pushState: /* @__PURE__ */ t(function(e) {
1611
+ pushState: /* @__PURE__ */ n(function(e) {
1612
1612
  this.begin(e);
1613
1613
  }, "pushState"),
1614
- stateStackSize: /* @__PURE__ */ t(function() {
1614
+ stateStackSize: /* @__PURE__ */ n(function() {
1615
1615
  return this.conditionStack.length;
1616
1616
  }, "stateStackSize"),
1617
1617
  options: { "case-insensitive": !0 },
1618
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
1618
+ performAction: /* @__PURE__ */ n(function(e, t, n, r) {
1619
1619
  switch (n) {
1620
1620
  case 0: return "title";
1621
1621
  case 1: return this.begin("acc_title"), 9;
@@ -1914,7 +1914,7 @@ var g = (function() {
1914
1914
  function ue() {
1915
1915
  this.yy = {};
1916
1916
  }
1917
- return t(ue, "Parser"), ue.prototype = le, le.Parser = ue, new ue();
1917
+ return n(ue, "Parser"), ue.prototype = le, le.Parser = ue, new ue();
1918
1918
  })();
1919
1919
  g.parser = g;
1920
1920
  var _ = g, v = class {
@@ -1943,10 +1943,10 @@ var _ = g, v = class {
1943
1943
  VERIFIES: "verifies",
1944
1944
  REFINES: "refines",
1945
1945
  TRACES: "traces"
1946
- }, this.setAccTitle = o, this.getAccTitle = d, this.setAccDescription = i, this.getAccDescription = c, this.setDiagramTitle = s, this.getDiagramTitle = a, this.getConfig = /* @__PURE__ */ t(() => u().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1946
+ }, this.setAccTitle = o, this.getAccTitle = d, this.setAccDescription = i, this.getAccDescription = c, this.setDiagramTitle = s, this.getDiagramTitle = a, this.getConfig = /* @__PURE__ */ n(() => u().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1947
1947
  }
1948
1948
  static {
1949
- t(this, "RequirementDB");
1949
+ n(this, "RequirementDB");
1950
1950
  }
1951
1951
  getDirection() {
1952
1952
  return this.direction;
@@ -2008,14 +2008,14 @@ var _ = g, v = class {
2008
2008
  setNewReqVerifyMethod(e) {
2009
2009
  this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = e);
2010
2010
  }
2011
- addElement(t) {
2012
- return this.elements.has(t) || (this.elements.set(t, {
2013
- name: t,
2011
+ addElement(e) {
2012
+ return this.elements.has(e) || (this.elements.set(e, {
2013
+ name: e,
2014
2014
  type: this.latestElement.type,
2015
2015
  docRef: this.latestElement.docRef,
2016
2016
  cssStyles: [],
2017
2017
  classes: ["default"]
2018
- }), e.info("Added new element: ", t)), this.resetLatestElement(), this.elements.get(t);
2018
+ }), t.info("Added new element: ", e)), this.resetLatestElement(), this.elements.get(e);
2019
2019
  }
2020
2020
  getElements() {
2021
2021
  return this.elements;
@@ -2116,7 +2116,7 @@ var _ = g, v = class {
2116
2116
  direction: this.getDirection()
2117
2117
  };
2118
2118
  }
2119
- }, y = /* @__PURE__ */ t((e) => `
2119
+ }, y = /* @__PURE__ */ n((e) => `
2120
2120
 
2121
2121
  marker {
2122
2122
  fill: ${e.relationColor};
@@ -2184,11 +2184,11 @@ var _ = g, v = class {
2184
2184
  }
2185
2185
 
2186
2186
  `, "getStyles"), b = {};
2187
- n(b, { draw: () => x });
2188
- var x = /* @__PURE__ */ t(async function(t, n, i, a) {
2189
- e.info("REF0:"), e.info("Drawing requirement diagram (unified)", n);
2190
- let { securityLevel: o, state: s, layout: c } = u(), l = a.db.getData(), d = f(n, o);
2191
- l.type = a.type, l.layoutAlgorithm = h(c), l.nodeSpacing = s?.nodeSpacing ?? 50, l.rankSpacing = s?.rankSpacing ?? 50, l.markers = ["requirement_contains", "requirement_arrow"], l.diagramId = n, await m(l, d), r.insertTitle(d, "requirementDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), p(d, 8, "requirementDiagram", s?.useMaxWidth ?? !0);
2187
+ r(b, { draw: () => x });
2188
+ var x = /* @__PURE__ */ n(async function(n, r, i, a) {
2189
+ t.info("REF0:"), t.info("Drawing requirement diagram (unified)", r);
2190
+ let { securityLevel: o, state: s, layout: c } = u(), l = a.db.getData(), d = f(r, o);
2191
+ l.type = a.type, l.layoutAlgorithm = h(c), l.nodeSpacing = s?.nodeSpacing ?? 50, l.rankSpacing = s?.rankSpacing ?? 50, l.markers = ["requirement_contains", "requirement_arrow"], l.diagramId = r, await m(l, d), e.insertTitle(d, "requirementDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), p(d, 8, "requirementDiagram", s?.useMaxWidth ?? !0);
2192
2192
  }, "draw"), S = {
2193
2193
  parser: _,
2194
2194
  get db() {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/roughjs/bundled/rough.esm.js
1
+ //#region ../../node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.js
2
2
  function e(e, t, n) {
3
3
  if (e && e.length) {
4
4
  let [r, i] = t, a = Math.PI / 180 * n, o = Math.cos(a), s = Math.sin(a);