@elmethis/core 1.0.0-alpha.149 → 1.0.0-alpha.150

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 (666) hide show
  1. package/dist/index.d.ts +2 -3
  2. package/dist/index.mjs +119 -121
  3. package/package.json +1 -1
  4. package/dist/_virtual/_commonjsHelpers.mjs +0 -6
  5. package/dist/_virtual/advancedFormat.mjs +0 -7
  6. package/dist/_virtual/advancedFormat2.mjs +0 -4
  7. package/dist/_virtual/cancellation.mjs +0 -5
  8. package/dist/_virtual/cancellation2.mjs +0 -4
  9. package/dist/_virtual/constants.mjs +0 -4
  10. package/dist/_virtual/cose-base.mjs +0 -4
  11. package/dist/_virtual/cose-base2.mjs +0 -4
  12. package/dist/_virtual/customParseFormat.mjs +0 -7
  13. package/dist/_virtual/customParseFormat2.mjs +0 -4
  14. package/dist/_virtual/cytoscape-cose-bilkent.mjs +0 -7
  15. package/dist/_virtual/cytoscape-cose-bilkent2.mjs +0 -4
  16. package/dist/_virtual/cytoscape-fcose.mjs +0 -7
  17. package/dist/_virtual/cytoscape-fcose2.mjs +0 -4
  18. package/dist/_virtual/dayjs.min.mjs +0 -7
  19. package/dist/_virtual/dayjs.min2.mjs +0 -4
  20. package/dist/_virtual/events.mjs +0 -5
  21. package/dist/_virtual/events2.mjs +0 -4
  22. package/dist/_virtual/index.mjs +0 -5
  23. package/dist/_virtual/index2.mjs +0 -4
  24. package/dist/_virtual/is.mjs +0 -4
  25. package/dist/_virtual/isoWeek.mjs +0 -7
  26. package/dist/_virtual/isoWeek2.mjs +0 -4
  27. package/dist/_virtual/layout-base.mjs +0 -4
  28. package/dist/_virtual/layout-base2.mjs +0 -4
  29. package/dist/_virtual/ral.mjs +0 -4
  30. package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
  31. package/dist/components/code/ElmMermaid.vue.d.ts +0 -8
  32. package/dist/components/code/ElmMermaid.vue.mjs +0 -6
  33. package/dist/components/code/ElmMermaid.vue2.mjs +0 -56
  34. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +0 -20
  35. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +0 -76
  36. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -57
  37. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -220
  38. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -64
  39. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +0 -101
  40. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +0 -45
  41. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +0 -693
  42. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -39
  43. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -14
  44. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -10
  45. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -15
  46. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -15
  47. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -28
  48. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
  49. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -54
  50. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -17
  51. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -27
  52. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -24
  53. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -120
  54. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -33
  55. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -10
  56. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -29
  57. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -41
  58. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +0 -6
  59. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +0 -34
  60. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +0 -34
  61. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +0 -541
  62. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +0 -46
  63. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +0 -34
  64. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +0 -42
  65. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +0 -34
  66. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +0 -6
  67. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +0 -6
  68. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +0 -6
  69. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +0 -6
  70. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +0 -6
  71. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -115
  72. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +0 -531
  73. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +0 -393
  74. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -42
  75. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -12
  76. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
  77. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -42
  78. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -87
  79. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -161
  80. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
  81. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -416
  82. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -47
  83. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -41
  84. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
  85. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -424
  86. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -22
  87. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -48
  88. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -387
  89. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -40
  90. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -83
  91. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -181
  92. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
  93. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -69
  94. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -270
  95. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -59
  96. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -128
  97. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -38
  98. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -323
  99. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -434
  100. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -251
  101. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -167
  102. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -19
  103. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -720
  104. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -11
  105. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -552
  106. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -214
  107. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
  108. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -115
  109. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
  110. package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +0 -1090
  111. package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +0 -2555
  112. package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +0 -374
  113. package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +0 -1278
  114. package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +0 -29469
  115. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +0 -21
  116. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +0 -21
  117. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +0 -21
  118. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +0 -6
  119. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +0 -10
  120. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +0 -47
  121. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +0 -6
  122. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +0 -21
  123. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +0 -21
  124. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +0 -6
  125. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +0 -11
  126. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +0 -51
  127. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +0 -94
  128. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +0 -6
  129. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +0 -338
  130. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +0 -13
  131. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +0 -95
  132. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +0 -6
  133. package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +0 -70
  134. package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +0 -6
  135. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +0 -20
  136. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +0 -7
  137. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +0 -15
  138. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +0 -15
  139. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +0 -10
  140. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +0 -12
  141. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +0 -10
  142. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +0 -37
  143. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +0 -21
  144. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +0 -21
  145. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +0 -6
  146. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +0 -82
  147. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +0 -7
  148. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +0 -7
  149. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +0 -8
  150. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +0 -13
  151. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +0 -29
  152. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +0 -4
  153. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +0 -9
  154. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +0 -18
  155. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +0 -8
  156. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +0 -15
  157. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +0 -20
  158. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +0 -20
  159. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +0 -8
  160. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +0 -43
  161. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +0 -28
  162. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +0 -59
  163. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +0 -18
  164. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +0 -16
  165. package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +0 -73
  166. package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +0 -88
  167. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +0 -22
  168. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +0 -8
  169. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +0 -326
  170. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +0 -13
  171. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +0 -5
  172. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +0 -8
  173. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +0 -56
  174. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +0 -8
  175. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +0 -95
  176. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +0 -16
  177. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +0 -61
  178. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +0 -14
  179. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +0 -6
  180. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +0 -38
  181. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +0 -34
  182. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +0 -54
  183. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +0 -6
  184. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +0 -8
  185. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +0 -20
  186. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +0 -14
  187. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +0 -9
  188. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +0 -12
  189. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +0 -7
  190. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +0 -10
  191. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +0 -46
  192. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +0 -9
  193. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +0 -64
  194. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +0 -14
  195. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +0 -76
  196. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +0 -6
  197. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +0 -28
  198. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +0 -11
  199. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +0 -6
  200. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +0 -31
  201. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +0 -8
  202. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +0 -16
  203. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +0 -20
  204. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +0 -88
  205. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +0 -14
  206. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +0 -10
  207. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +0 -19
  208. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +0 -9
  209. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +0 -18
  210. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +0 -12
  211. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +0 -6
  212. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +0 -64
  213. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +0 -14
  214. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +0 -23
  215. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +0 -9
  216. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +0 -10
  217. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +0 -17
  218. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +0 -24
  219. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +0 -16
  220. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +0 -16
  221. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +0 -8
  222. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +0 -22
  223. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +0 -6
  224. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +0 -28
  225. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +0 -20
  226. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +0 -10
  227. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +0 -11
  228. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +0 -6
  229. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +0 -4
  230. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +0 -8
  231. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +0 -45
  232. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +0 -10
  233. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +0 -133
  234. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +0 -6
  235. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +0 -8
  236. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +0 -66
  237. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +0 -63
  238. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +0 -50
  239. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +0 -49
  240. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +0 -43
  241. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +0 -73
  242. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +0 -69
  243. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +0 -57
  244. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +0 -83
  245. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +0 -75
  246. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +0 -63
  247. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +0 -39
  248. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +0 -25
  249. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +0 -99
  250. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +0 -54
  251. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +0 -59
  252. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +0 -6
  253. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +0 -6
  254. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +0 -41
  255. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +0 -32
  256. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +0 -5
  257. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +0 -19
  258. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +0 -55
  259. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +0 -10
  260. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +0 -25
  261. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +0 -542
  262. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +0 -34
  263. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +0 -16
  264. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +0 -26
  265. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +0 -61
  266. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +0 -23
  267. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +0 -26
  268. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +0 -27
  269. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +0 -15
  270. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +0 -54
  271. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +0 -66
  272. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +0 -45
  273. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +0 -13
  274. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +0 -96
  275. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +0 -21
  276. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +0 -5
  277. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +0 -9
  278. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +0 -39
  279. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +0 -55
  280. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +0 -42
  281. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +0 -18
  282. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +0 -18
  283. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +0 -14
  284. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +0 -15
  285. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +0 -23
  286. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +0 -16
  287. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +0 -68
  288. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +0 -11
  289. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +0 -18
  290. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +0 -23
  291. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +0 -13
  292. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +0 -125
  293. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +0 -20
  294. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +0 -24
  295. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +0 -8
  296. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +0 -47
  297. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +0 -25
  298. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +0 -18
  299. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +0 -25
  300. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +0 -22
  301. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +0 -64
  302. package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +0 -45
  303. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -55
  304. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -33
  305. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -66
  306. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -49
  307. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -97
  308. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -344
  309. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -94
  310. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -69
  311. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -25
  312. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -29
  313. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -33
  314. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -54
  315. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -51
  316. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -30
  317. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -84
  318. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -66
  319. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -47
  320. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -66
  321. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +0 -296
  322. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -29
  323. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -45
  324. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -29
  325. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -148
  326. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -30
  327. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -164
  328. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -33
  329. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +0 -2
  330. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +0 -2
  331. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -7
  332. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -7
  333. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -7
  334. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -420
  335. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -47
  336. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +0 -286
  337. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +0 -58
  338. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +0 -133
  339. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +0 -37
  340. package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +0 -965
  341. package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +0 -43
  342. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +0 -131
  343. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +0 -5
  344. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +0 -24
  345. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +0 -40
  346. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +0 -50
  347. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +0 -39
  348. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +0 -172
  349. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +0 -33
  350. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +0 -13
  351. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +0 -15
  352. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +0 -13
  353. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +0 -12
  354. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +0 -8
  355. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +0 -7
  356. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +0 -12
  357. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +0 -7
  358. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +0 -7
  359. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +0 -7
  360. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +0 -10
  361. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +0 -20
  362. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +0 -18
  363. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +0 -95
  364. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +0 -11
  365. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +0 -14
  366. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +0 -10
  367. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +0 -87
  368. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +0 -74
  369. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -17
  370. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -62
  371. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -478
  372. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -725
  373. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -20
  374. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +0 -11
  375. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -13
  376. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -233
  377. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -17
  378. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -453
  379. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +0 -72
  380. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -336
  381. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +0 -105
  382. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +0 -111
  383. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +0 -139
  384. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +0 -19
  385. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +0 -80
  386. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +0 -70
  387. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +0 -62
  388. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +0 -60
  389. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -256
  390. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -202
  391. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +0 -69
  392. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +0 -73
  393. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -159
  394. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +0 -137
  395. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +0 -177
  396. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -126
  397. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +0 -12
  398. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +0 -12
  399. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -33
  400. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -377
  401. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -56
  402. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -239
  403. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +0 -466
  404. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -37
  405. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +0 -236
  406. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -142
  407. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -75
  408. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -43
  409. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +0 -81
  410. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -328
  411. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +0 -210
  412. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -15
  413. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -74
  414. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -64
  415. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -106
  416. package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +0 -3197
  417. package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +0 -3745
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -6
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -21
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -21
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -6
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -21
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -6
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -6
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +0 -15
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -18
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -5
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -5
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -6
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -16
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -12
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -13
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -24
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -10
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -10
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +0 -13
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +0 -12
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -10
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -13
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -13
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +0 -8
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -16
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -83
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -21
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +0 -6
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -14
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +0 -13
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +0 -12
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +0 -21
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -5
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +0 -8
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -13
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -14
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +0 -6
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +0 -14
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -45
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -9
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +0 -35
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -22
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -9
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -14
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +0 -20
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -19
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -20
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -6
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +0 -12
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +0 -15
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -20
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -27
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -61
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +0 -8
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +0 -9
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -9
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -14
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -10
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -21
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -8
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +0 -46
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +0 -6
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +0 -7
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -13
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -9
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -16
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -7
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -9
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -11
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -23
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +0 -8
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -5
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -23
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +0 -21
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -15
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +0 -10
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -12
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +0 -50
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +0 -59
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +0 -50
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -4
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -9
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -8
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +0 -13
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -9
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -5
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -25
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -17
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -34
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -6
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +0 -25
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -8
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -8
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -15
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -10
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -11
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -13
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -43
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -9
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +0 -10
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -10
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -17
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -16
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -7
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -11
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -8
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -7
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -20
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -8
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -7
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -14
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -14
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -9
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
  541. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
  542. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -10
  543. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +0 -10
  544. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -11
  545. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -15
  546. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -5
  547. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -5
  548. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -12
  549. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -18
  550. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -8
  551. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -8
  552. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -21
  553. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -6
  554. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -12
  555. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +0 -8
  556. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +0 -6
  557. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +0 -10
  558. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -6
  559. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -20
  560. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -8
  561. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -8
  562. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -6
  563. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -6
  564. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -22
  565. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +0 -12
  566. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -16
  567. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -11
  568. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -18
  569. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +0 -8
  570. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -8
  571. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -6
  572. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +0 -11
  573. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +0 -8
  574. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +0 -8
  575. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +0 -11
  576. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -8
  577. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +0 -8
  578. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -6
  579. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -13
  580. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -4
  581. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -8
  582. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
  583. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -11
  584. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +0 -35
  585. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -13
  586. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -7
  587. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -8
  588. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -7
  589. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -6
  590. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -22
  591. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -8
  592. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -9
  593. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -8
  594. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -9
  595. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -9
  596. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +0 -11
  597. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -22
  598. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -8
  599. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -9
  600. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +0 -5
  601. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +0 -10
  602. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +0 -12
  603. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -6
  604. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -6
  605. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -8
  606. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -7
  607. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -8
  608. package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +0 -2152
  609. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +0 -1093
  610. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +0 -3598
  611. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +0 -2487
  612. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +0 -17
  613. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +0 -143
  614. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +0 -2696
  615. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +0 -19
  616. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +0 -1828
  617. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +0 -1961
  618. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +0 -332
  619. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +0 -109
  620. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +0 -78
  621. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +0 -5018
  622. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +0 -696
  623. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +0 -17
  624. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +0 -557
  625. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +0 -38
  626. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +0 -57
  627. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +0 -107
  628. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +0 -17
  629. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +0 -3052
  630. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +0 -27
  631. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +0 -27
  632. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +0 -662
  633. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +0 -306
  634. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +0 -191
  635. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +0 -1168
  636. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +0 -2339
  637. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +0 -2104
  638. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +0 -1215
  639. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +0 -31
  640. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +0 -1201
  641. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +0 -1055
  642. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +0 -1195
  643. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +0 -188
  644. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +0 -1340
  645. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +0 -1168
  646. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +0 -670
  647. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +0 -3419
  648. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +0 -477
  649. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +0 -27
  650. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +0 -1232
  651. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +0 -1778
  652. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +0 -1222
  653. package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +0 -1001
  654. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +0 -16
  655. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +0 -164
  656. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +0 -29
  657. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +0 -156
  658. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +0 -38
  659. package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +0 -42
  660. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +0 -95
  661. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +0 -133
  662. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +0 -40
  663. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +0 -28
  664. package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +0 -225
  665. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +0 -1262
  666. package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +0 -344
@@ -1,1778 +0,0 @@
1
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
2
- import { computeDimensionOfText } from "./chunk-C3MQ5ANM.mjs";
3
- import { cleanAndMerge } from "./chunk-O4NI6UNU.mjs";
4
- import { selectSvgElement } from "./chunk-7B677QYD.mjs";
5
- import { __name, setAccDescription, getAccDescription, getDiagramTitle, setDiagramTitle, getAccTitle, setAccTitle, log, configureSvgSize, clear, getConfig, defaultConfig_default, getThemeVariables as getThemeVariables3, sanitizeText } from "./chunk-YTJNT7DU.mjs";
6
- import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs";
7
- import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs";
8
- import band from "../../../../../../d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs";
9
- import linear from "../../../../../../d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs";
10
- import line from "../../../../../../d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs";
11
- var parser = function() {
12
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
13
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
14
- return o2;
15
- }, "o"), $V0 = [1, 10, 12, 14, 16, 18, 19, 21, 23], $V1 = [2, 6], $V2 = [1, 3], $V3 = [1, 5], $V4 = [1, 6], $V5 = [1, 7], $V6 = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], $V7 = [1, 25], $V8 = [1, 26], $V9 = [1, 28], $Va = [1, 29], $Vb = [1, 30], $Vc = [1, 31], $Vd = [1, 32], $Ve = [1, 33], $Vf = [1, 34], $Vg = [1, 35], $Vh = [1, 36], $Vi = [1, 37], $Vj = [1, 43], $Vk = [1, 42], $Vl = [1, 47], $Vm = [1, 50], $Vn = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], $Vo = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], $Vp = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], $Vq = [1, 64];
16
- var parser2 = {
17
- trace: /* @__PURE__ */ __name(function trace() {
18
- }, "trace"),
19
- yy: {},
20
- symbols_: { "error": 2, "start": 3, "eol": 4, "XYCHART": 5, "chartConfig": 6, "document": 7, "CHART_ORIENTATION": 8, "statement": 9, "title": 10, "text": 11, "X_AXIS": 12, "parseXAxis": 13, "Y_AXIS": 14, "parseYAxis": 15, "LINE": 16, "plotData": 17, "BAR": 18, "acc_title": 19, "acc_title_value": 20, "acc_descr": 21, "acc_descr_value": 22, "acc_descr_multiline_value": 23, "SQUARE_BRACES_START": 24, "commaSeparatedNumbers": 25, "SQUARE_BRACES_END": 26, "NUMBER_WITH_DECIMAL": 27, "COMMA": 28, "xAxisData": 29, "bandData": 30, "ARROW_DELIMITER": 31, "commaSeparatedTexts": 32, "yAxisData": 33, "NEWLINE": 34, "SEMI": 35, "EOF": 36, "alphaNum": 37, "STR": 38, "MD_STR": 39, "alphaNumToken": 40, "AMP": 41, "NUM": 42, "ALPHA": 43, "PLUS": 44, "EQUALS": 45, "MULT": 46, "DOT": 47, "BRKT": 48, "MINUS": 49, "UNDERSCORE": 50, "$accept": 0, "$end": 1 },
21
- terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END", 27: "NUMBER_WITH_DECIMAL", 28: "COMMA", 31: "ARROW_DELIMITER", 34: "NEWLINE", 35: "SEMI", 36: "EOF", 38: "STR", 39: "MD_STR", 41: "AMP", 42: "NUM", 43: "ALPHA", 44: "PLUS", 45: "EQUALS", 46: "MULT", 47: "DOT", 48: "BRKT", 49: "MINUS", 50: "UNDERSCORE" },
22
- productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [13, 1], [13, 2], [13, 1], [29, 1], [29, 3], [30, 3], [32, 3], [32, 1], [15, 1], [15, 2], [15, 1], [33, 3], [4, 1], [4, 1], [4, 1], [11, 1], [11, 1], [11, 1], [37, 1], [37, 2], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1]],
23
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
24
- var $0 = $$.length - 1;
25
- switch (yystate) {
26
- case 5:
27
- yy.setOrientation($$[$0]);
28
- break;
29
- case 9:
30
- yy.setDiagramTitle($$[$0].text.trim());
31
- break;
32
- case 12:
33
- yy.setLineData({ text: "", type: "text" }, $$[$0]);
34
- break;
35
- case 13:
36
- yy.setLineData($$[$0 - 1], $$[$0]);
37
- break;
38
- case 14:
39
- yy.setBarData({ text: "", type: "text" }, $$[$0]);
40
- break;
41
- case 15:
42
- yy.setBarData($$[$0 - 1], $$[$0]);
43
- break;
44
- case 16:
45
- this.$ = $$[$0].trim();
46
- yy.setAccTitle(this.$);
47
- break;
48
- case 17:
49
- case 18:
50
- this.$ = $$[$0].trim();
51
- yy.setAccDescription(this.$);
52
- break;
53
- case 19:
54
- this.$ = $$[$0 - 1];
55
- break;
56
- case 20:
57
- this.$ = [Number($$[$0 - 2]), ...$$[$0]];
58
- break;
59
- case 21:
60
- this.$ = [Number($$[$0])];
61
- break;
62
- case 22:
63
- yy.setXAxisTitle($$[$0]);
64
- break;
65
- case 23:
66
- yy.setXAxisTitle($$[$0 - 1]);
67
- break;
68
- case 24:
69
- yy.setXAxisTitle({ type: "text", text: "" });
70
- break;
71
- case 25:
72
- yy.setXAxisBand($$[$0]);
73
- break;
74
- case 26:
75
- yy.setXAxisRangeData(Number($$[$0 - 2]), Number($$[$0]));
76
- break;
77
- case 27:
78
- this.$ = $$[$0 - 1];
79
- break;
80
- case 28:
81
- this.$ = [$$[$0 - 2], ...$$[$0]];
82
- break;
83
- case 29:
84
- this.$ = [$$[$0]];
85
- break;
86
- case 30:
87
- yy.setYAxisTitle($$[$0]);
88
- break;
89
- case 31:
90
- yy.setYAxisTitle($$[$0 - 1]);
91
- break;
92
- case 32:
93
- yy.setYAxisTitle({ type: "text", text: "" });
94
- break;
95
- case 33:
96
- yy.setYAxisRangeData(Number($$[$0 - 2]), Number($$[$0]));
97
- break;
98
- case 37:
99
- this.$ = { text: $$[$0], type: "text" };
100
- break;
101
- case 38:
102
- this.$ = { text: $$[$0], type: "text" };
103
- break;
104
- case 39:
105
- this.$ = { text: $$[$0], type: "markdown" };
106
- break;
107
- case 40:
108
- this.$ = $$[$0];
109
- break;
110
- case 41:
111
- this.$ = $$[$0 - 1] + "" + $$[$0];
112
- break;
113
- }
114
- }, "anonymous"),
115
- table: [o($V0, $V1, { 3: 1, 4: 2, 7: 4, 5: $V2, 34: $V3, 35: $V4, 36: $V5 }), { 1: [3] }, o($V0, $V1, { 4: 2, 7: 4, 3: 8, 5: $V2, 34: $V3, 35: $V4, 36: $V5 }), o($V0, $V1, { 4: 2, 7: 4, 6: 9, 3: 10, 5: $V2, 8: [1, 11], 34: $V3, 35: $V4, 36: $V5 }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, o($V6, [2, 34]), o($V6, [2, 35]), o($V6, [2, 36]), { 1: [2, 1] }, o($V0, $V1, { 4: 2, 7: 4, 3: 21, 5: $V2, 34: $V3, 35: $V4, 36: $V5 }), { 1: [2, 3] }, o($V6, [2, 5]), o($V0, [2, 7], { 4: 22, 34: $V3, 35: $V4, 36: $V5 }), { 11: 23, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 39, 13: 38, 24: $Vj, 27: $Vk, 29: 40, 30: 41, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 45, 15: 44, 27: $Vl, 33: 46, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 49, 17: 48, 24: $Vm, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 52, 17: 51, 24: $Vm, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 20: [1, 53] }, { 22: [1, 54] }, o($Vn, [2, 18]), { 1: [2, 2] }, o($Vn, [2, 8]), o($Vn, [2, 9]), o($Vo, [2, 37], { 40: 55, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }), o($Vo, [2, 38]), o($Vo, [2, 39]), o($Vp, [2, 40]), o($Vp, [2, 42]), o($Vp, [2, 43]), o($Vp, [2, 44]), o($Vp, [2, 45]), o($Vp, [2, 46]), o($Vp, [2, 47]), o($Vp, [2, 48]), o($Vp, [2, 49]), o($Vp, [2, 50]), o($Vp, [2, 51]), o($Vn, [2, 10]), o($Vn, [2, 22], { 30: 41, 29: 56, 24: $Vj, 27: $Vk }), o($Vn, [2, 24]), o($Vn, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, o($Vn, [2, 11]), o($Vn, [2, 30], { 33: 60, 27: $Vl }), o($Vn, [2, 32]), { 31: [1, 61] }, o($Vn, [2, 12]), { 17: 62, 24: $Vm }, { 25: 63, 27: $Vq }, o($Vn, [2, 14]), { 17: 65, 24: $Vm }, o($Vn, [2, 16]), o($Vn, [2, 17]), o($Vp, [2, 41]), o($Vn, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, o($Vn, [2, 31]), { 27: [1, 69] }, o($Vn, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, o($Vn, [2, 15]), o($Vn, [2, 26]), o($Vn, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, o($Vn, [2, 33]), o($Vn, [2, 19]), { 25: 73, 27: $Vq }, { 26: [2, 28] }, { 26: [2, 20] }],
116
- defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 72: [2, 28], 73: [2, 20] },
117
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
118
- if (hash.recoverable) {
119
- this.trace(str);
120
- } else {
121
- var error = new Error(str);
122
- error.hash = hash;
123
- throw error;
124
- }
125
- }, "parseError"),
126
- parse: /* @__PURE__ */ __name(function parse(input) {
127
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
128
- var args = lstack.slice.call(arguments, 1);
129
- var lexer2 = Object.create(this.lexer);
130
- var sharedState = { yy: {} };
131
- for (var k in this.yy) {
132
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
133
- sharedState.yy[k] = this.yy[k];
134
- }
135
- }
136
- lexer2.setInput(input, sharedState.yy);
137
- sharedState.yy.lexer = lexer2;
138
- sharedState.yy.parser = this;
139
- if (typeof lexer2.yylloc == "undefined") {
140
- lexer2.yylloc = {};
141
- }
142
- var yyloc = lexer2.yylloc;
143
- lstack.push(yyloc);
144
- var ranges = lexer2.options && lexer2.options.ranges;
145
- if (typeof sharedState.yy.parseError === "function") {
146
- this.parseError = sharedState.yy.parseError;
147
- } else {
148
- this.parseError = Object.getPrototypeOf(this).parseError;
149
- }
150
- function popStack(n) {
151
- stack.length = stack.length - 2 * n;
152
- vstack.length = vstack.length - n;
153
- lstack.length = lstack.length - n;
154
- }
155
- __name(popStack, "popStack");
156
- function lex() {
157
- var token;
158
- token = tstack.pop() || lexer2.lex() || EOF;
159
- if (typeof token !== "number") {
160
- if (token instanceof Array) {
161
- tstack = token;
162
- token = tstack.pop();
163
- }
164
- token = self.symbols_[token] || token;
165
- }
166
- return token;
167
- }
168
- __name(lex, "lex");
169
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
170
- while (true) {
171
- state = stack[stack.length - 1];
172
- if (this.defaultActions[state]) {
173
- action = this.defaultActions[state];
174
- } else {
175
- if (symbol === null || typeof symbol == "undefined") {
176
- symbol = lex();
177
- }
178
- action = table[state] && table[state][symbol];
179
- }
180
- if (typeof action === "undefined" || !action.length || !action[0]) {
181
- var errStr = "";
182
- expected = [];
183
- for (p in table[state]) {
184
- if (this.terminals_[p] && p > TERROR) {
185
- expected.push("'" + this.terminals_[p] + "'");
186
- }
187
- }
188
- if (lexer2.showPosition) {
189
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
190
- } else {
191
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
192
- }
193
- this.parseError(errStr, {
194
- text: lexer2.match,
195
- token: this.terminals_[symbol] || symbol,
196
- line: lexer2.yylineno,
197
- loc: yyloc,
198
- expected
199
- });
200
- }
201
- if (action[0] instanceof Array && action.length > 1) {
202
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
203
- }
204
- switch (action[0]) {
205
- case 1:
206
- stack.push(symbol);
207
- vstack.push(lexer2.yytext);
208
- lstack.push(lexer2.yylloc);
209
- stack.push(action[1]);
210
- symbol = null;
211
- {
212
- yyleng = lexer2.yyleng;
213
- yytext = lexer2.yytext;
214
- yylineno = lexer2.yylineno;
215
- yyloc = lexer2.yylloc;
216
- }
217
- break;
218
- case 2:
219
- len = this.productions_[action[1]][1];
220
- yyval.$ = vstack[vstack.length - len];
221
- yyval._$ = {
222
- first_line: lstack[lstack.length - (len || 1)].first_line,
223
- last_line: lstack[lstack.length - 1].last_line,
224
- first_column: lstack[lstack.length - (len || 1)].first_column,
225
- last_column: lstack[lstack.length - 1].last_column
226
- };
227
- if (ranges) {
228
- yyval._$.range = [
229
- lstack[lstack.length - (len || 1)].range[0],
230
- lstack[lstack.length - 1].range[1]
231
- ];
232
- }
233
- r = this.performAction.apply(yyval, [
234
- yytext,
235
- yyleng,
236
- yylineno,
237
- sharedState.yy,
238
- action[1],
239
- vstack,
240
- lstack
241
- ].concat(args));
242
- if (typeof r !== "undefined") {
243
- return r;
244
- }
245
- if (len) {
246
- stack = stack.slice(0, -1 * len * 2);
247
- vstack = vstack.slice(0, -1 * len);
248
- lstack = lstack.slice(0, -1 * len);
249
- }
250
- stack.push(this.productions_[action[1]][0]);
251
- vstack.push(yyval.$);
252
- lstack.push(yyval._$);
253
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
254
- stack.push(newState);
255
- break;
256
- case 3:
257
- return true;
258
- }
259
- }
260
- return true;
261
- }, "parse")
262
- };
263
- var lexer = /* @__PURE__ */ function() {
264
- var lexer2 = {
265
- EOF: 1,
266
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
267
- if (this.yy.parser) {
268
- this.yy.parser.parseError(str, hash);
269
- } else {
270
- throw new Error(str);
271
- }
272
- }, "parseError"),
273
- // resets the lexer, sets new input
274
- setInput: /* @__PURE__ */ __name(function(input, yy) {
275
- this.yy = yy || this.yy || {};
276
- this._input = input;
277
- this._more = this._backtrack = this.done = false;
278
- this.yylineno = this.yyleng = 0;
279
- this.yytext = this.matched = this.match = "";
280
- this.conditionStack = ["INITIAL"];
281
- this.yylloc = {
282
- first_line: 1,
283
- first_column: 0,
284
- last_line: 1,
285
- last_column: 0
286
- };
287
- if (this.options.ranges) {
288
- this.yylloc.range = [0, 0];
289
- }
290
- this.offset = 0;
291
- return this;
292
- }, "setInput"),
293
- // consumes and returns one char from the input
294
- input: /* @__PURE__ */ __name(function() {
295
- var ch = this._input[0];
296
- this.yytext += ch;
297
- this.yyleng++;
298
- this.offset++;
299
- this.match += ch;
300
- this.matched += ch;
301
- var lines = ch.match(/(?:\r\n?|\n).*/g);
302
- if (lines) {
303
- this.yylineno++;
304
- this.yylloc.last_line++;
305
- } else {
306
- this.yylloc.last_column++;
307
- }
308
- if (this.options.ranges) {
309
- this.yylloc.range[1]++;
310
- }
311
- this._input = this._input.slice(1);
312
- return ch;
313
- }, "input"),
314
- // unshifts one char (or a string) into the input
315
- unput: /* @__PURE__ */ __name(function(ch) {
316
- var len = ch.length;
317
- var lines = ch.split(/(?:\r\n?|\n)/g);
318
- this._input = ch + this._input;
319
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
320
- this.offset -= len;
321
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
322
- this.match = this.match.substr(0, this.match.length - 1);
323
- this.matched = this.matched.substr(0, this.matched.length - 1);
324
- if (lines.length - 1) {
325
- this.yylineno -= lines.length - 1;
326
- }
327
- var r = this.yylloc.range;
328
- this.yylloc = {
329
- first_line: this.yylloc.first_line,
330
- last_line: this.yylineno + 1,
331
- first_column: this.yylloc.first_column,
332
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
333
- };
334
- if (this.options.ranges) {
335
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
336
- }
337
- this.yyleng = this.yytext.length;
338
- return this;
339
- }, "unput"),
340
- // When called from action, caches matched text and appends it on next action
341
- more: /* @__PURE__ */ __name(function() {
342
- this._more = true;
343
- return this;
344
- }, "more"),
345
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
346
- reject: /* @__PURE__ */ __name(function() {
347
- if (this.options.backtrack_lexer) {
348
- this._backtrack = true;
349
- } else {
350
- 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(), {
351
- text: "",
352
- token: null,
353
- line: this.yylineno
354
- });
355
- }
356
- return this;
357
- }, "reject"),
358
- // retain first n characters of the match
359
- less: /* @__PURE__ */ __name(function(n) {
360
- this.unput(this.match.slice(n));
361
- }, "less"),
362
- // displays already matched input, i.e. for error messages
363
- pastInput: /* @__PURE__ */ __name(function() {
364
- var past = this.matched.substr(0, this.matched.length - this.match.length);
365
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
366
- }, "pastInput"),
367
- // displays upcoming input, i.e. for error messages
368
- upcomingInput: /* @__PURE__ */ __name(function() {
369
- var next = this.match;
370
- if (next.length < 20) {
371
- next += this._input.substr(0, 20 - next.length);
372
- }
373
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
374
- }, "upcomingInput"),
375
- // displays the character position where the lexing error occurred, i.e. for error messages
376
- showPosition: /* @__PURE__ */ __name(function() {
377
- var pre = this.pastInput();
378
- var c = new Array(pre.length + 1).join("-");
379
- return pre + this.upcomingInput() + "\n" + c + "^";
380
- }, "showPosition"),
381
- // test the lexed token: return FALSE when not a match, otherwise return token
382
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
383
- var token, lines, backup;
384
- if (this.options.backtrack_lexer) {
385
- backup = {
386
- yylineno: this.yylineno,
387
- yylloc: {
388
- first_line: this.yylloc.first_line,
389
- last_line: this.last_line,
390
- first_column: this.yylloc.first_column,
391
- last_column: this.yylloc.last_column
392
- },
393
- yytext: this.yytext,
394
- match: this.match,
395
- matches: this.matches,
396
- matched: this.matched,
397
- yyleng: this.yyleng,
398
- offset: this.offset,
399
- _more: this._more,
400
- _input: this._input,
401
- yy: this.yy,
402
- conditionStack: this.conditionStack.slice(0),
403
- done: this.done
404
- };
405
- if (this.options.ranges) {
406
- backup.yylloc.range = this.yylloc.range.slice(0);
407
- }
408
- }
409
- lines = match[0].match(/(?:\r\n?|\n).*/g);
410
- if (lines) {
411
- this.yylineno += lines.length;
412
- }
413
- this.yylloc = {
414
- first_line: this.yylloc.last_line,
415
- last_line: this.yylineno + 1,
416
- first_column: this.yylloc.last_column,
417
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
418
- };
419
- this.yytext += match[0];
420
- this.match += match[0];
421
- this.matches = match;
422
- this.yyleng = this.yytext.length;
423
- if (this.options.ranges) {
424
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
425
- }
426
- this._more = false;
427
- this._backtrack = false;
428
- this._input = this._input.slice(match[0].length);
429
- this.matched += match[0];
430
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
431
- if (this.done && this._input) {
432
- this.done = false;
433
- }
434
- if (token) {
435
- return token;
436
- } else if (this._backtrack) {
437
- for (var k in backup) {
438
- this[k] = backup[k];
439
- }
440
- return false;
441
- }
442
- return false;
443
- }, "test_match"),
444
- // return next match in input
445
- next: /* @__PURE__ */ __name(function() {
446
- if (this.done) {
447
- return this.EOF;
448
- }
449
- if (!this._input) {
450
- this.done = true;
451
- }
452
- var token, match, tempMatch, index;
453
- if (!this._more) {
454
- this.yytext = "";
455
- this.match = "";
456
- }
457
- var rules = this._currentRules();
458
- for (var i = 0; i < rules.length; i++) {
459
- tempMatch = this._input.match(this.rules[rules[i]]);
460
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
461
- match = tempMatch;
462
- index = i;
463
- if (this.options.backtrack_lexer) {
464
- token = this.test_match(tempMatch, rules[i]);
465
- if (token !== false) {
466
- return token;
467
- } else if (this._backtrack) {
468
- match = false;
469
- continue;
470
- } else {
471
- return false;
472
- }
473
- } else if (!this.options.flex) {
474
- break;
475
- }
476
- }
477
- }
478
- if (match) {
479
- token = this.test_match(match, rules[index]);
480
- if (token !== false) {
481
- return token;
482
- }
483
- return false;
484
- }
485
- if (this._input === "") {
486
- return this.EOF;
487
- } else {
488
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
489
- text: "",
490
- token: null,
491
- line: this.yylineno
492
- });
493
- }
494
- }, "next"),
495
- // return next match that has a token
496
- lex: /* @__PURE__ */ __name(function lex() {
497
- var r = this.next();
498
- if (r) {
499
- return r;
500
- } else {
501
- return this.lex();
502
- }
503
- }, "lex"),
504
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
505
- begin: /* @__PURE__ */ __name(function begin(condition) {
506
- this.conditionStack.push(condition);
507
- }, "begin"),
508
- // pop the previously active lexer condition state off the condition stack
509
- popState: /* @__PURE__ */ __name(function popState() {
510
- var n = this.conditionStack.length - 1;
511
- if (n > 0) {
512
- return this.conditionStack.pop();
513
- } else {
514
- return this.conditionStack[0];
515
- }
516
- }, "popState"),
517
- // produce the lexer rule set which is active for the currently active lexer condition state
518
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
519
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
520
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
521
- } else {
522
- return this.conditions["INITIAL"].rules;
523
- }
524
- }, "_currentRules"),
525
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
526
- topState: /* @__PURE__ */ __name(function topState(n) {
527
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
528
- if (n >= 0) {
529
- return this.conditionStack[n];
530
- } else {
531
- return "INITIAL";
532
- }
533
- }, "topState"),
534
- // alias for begin(condition)
535
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
536
- this.begin(condition);
537
- }, "pushState"),
538
- // return the number of states currently on the stack
539
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
540
- return this.conditionStack.length;
541
- }, "stateStackSize"),
542
- options: { "case-insensitive": true },
543
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
544
- switch ($avoiding_name_collisions) {
545
- case 0:
546
- break;
547
- case 1:
548
- break;
549
- case 2:
550
- this.popState();
551
- return 34;
552
- case 3:
553
- this.popState();
554
- return 34;
555
- case 4:
556
- return 34;
557
- case 5:
558
- break;
559
- case 6:
560
- return 10;
561
- case 7:
562
- this.pushState("acc_title");
563
- return 19;
564
- case 8:
565
- this.popState();
566
- return "acc_title_value";
567
- case 9:
568
- this.pushState("acc_descr");
569
- return 21;
570
- case 10:
571
- this.popState();
572
- return "acc_descr_value";
573
- case 11:
574
- this.pushState("acc_descr_multiline");
575
- break;
576
- case 12:
577
- this.popState();
578
- break;
579
- case 13:
580
- return "acc_descr_multiline_value";
581
- case 14:
582
- return 5;
583
- case 15:
584
- return 8;
585
- case 16:
586
- this.pushState("axis_data");
587
- return "X_AXIS";
588
- case 17:
589
- this.pushState("axis_data");
590
- return "Y_AXIS";
591
- case 18:
592
- this.pushState("axis_band_data");
593
- return 24;
594
- case 19:
595
- return 31;
596
- case 20:
597
- this.pushState("data");
598
- return 16;
599
- case 21:
600
- this.pushState("data");
601
- return 18;
602
- case 22:
603
- this.pushState("data_inner");
604
- return 24;
605
- case 23:
606
- return 27;
607
- case 24:
608
- this.popState();
609
- return 26;
610
- case 25:
611
- this.popState();
612
- break;
613
- case 26:
614
- this.pushState("string");
615
- break;
616
- case 27:
617
- this.popState();
618
- break;
619
- case 28:
620
- return "STR";
621
- case 29:
622
- return 24;
623
- case 30:
624
- return 26;
625
- case 31:
626
- return 43;
627
- case 32:
628
- return "COLON";
629
- case 33:
630
- return 44;
631
- case 34:
632
- return 28;
633
- case 35:
634
- return 45;
635
- case 36:
636
- return 46;
637
- case 37:
638
- return 48;
639
- case 38:
640
- return 50;
641
- case 39:
642
- return 47;
643
- case 40:
644
- return 41;
645
- case 41:
646
- return 49;
647
- case 42:
648
- return 42;
649
- case 43:
650
- break;
651
- case 44:
652
- return 35;
653
- case 45:
654
- return 36;
655
- }
656
- }, "anonymous"),
657
- rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\{)/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
658
- conditions: { "data_inner": { "rules": [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "data": { "rules": [0, 1, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 22, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "axis_band_data": { "rules": [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "axis_data": { "rules": [0, 1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19, 20, 21, 23, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "acc_descr_multiline": { "rules": [12, 13], "inclusive": false }, "acc_descr": { "rules": [10], "inclusive": false }, "acc_title": { "rules": [8], "inclusive": false }, "title": { "rules": [], "inclusive": false }, "md_string": { "rules": [], "inclusive": false }, "string": { "rules": [27, 28], "inclusive": false }, "INITIAL": { "rules": [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true } }
659
- };
660
- return lexer2;
661
- }();
662
- parser2.lexer = lexer;
663
- function Parser() {
664
- this.yy = {};
665
- }
666
- __name(Parser, "Parser");
667
- Parser.prototype = parser2;
668
- parser2.Parser = Parser;
669
- return new Parser();
670
- }();
671
- parser.parser = parser;
672
- var xychart_default = parser;
673
- function isBarPlot(data) {
674
- return data.type === "bar";
675
- }
676
- __name(isBarPlot, "isBarPlot");
677
- function isBandAxisData(data) {
678
- return data.type === "band";
679
- }
680
- __name(isBandAxisData, "isBandAxisData");
681
- function isLinearAxisData(data) {
682
- return data.type === "linear";
683
- }
684
- __name(isLinearAxisData, "isLinearAxisData");
685
- var TextDimensionCalculatorWithFont = (_a = class {
686
- constructor(parentGroup) {
687
- this.parentGroup = parentGroup;
688
- }
689
- getMaxDimension(texts, fontSize) {
690
- if (!this.parentGroup) {
691
- return {
692
- width: texts.reduce((acc, cur) => Math.max(cur.length, acc), 0) * fontSize,
693
- height: fontSize
694
- };
695
- }
696
- const dimension = {
697
- width: 0,
698
- height: 0
699
- };
700
- const elem = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", fontSize);
701
- for (const t of texts) {
702
- const bbox = computeDimensionOfText(elem, 1, t);
703
- const width = bbox ? bbox.width : t.length * fontSize;
704
- const height = bbox ? bbox.height : fontSize;
705
- dimension.width = Math.max(dimension.width, width);
706
- dimension.height = Math.max(dimension.height, height);
707
- }
708
- elem.remove();
709
- return dimension;
710
- }
711
- }, __name(_a, "TextDimensionCalculatorWithFont"), _a);
712
- var BAR_WIDTH_TO_TICK_WIDTH_RATIO = 0.7;
713
- var MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL = 0.2;
714
- var BaseAxis = (_b = class {
715
- constructor(axisConfig, title, textDimensionCalculator, axisThemeConfig) {
716
- this.axisConfig = axisConfig;
717
- this.title = title;
718
- this.textDimensionCalculator = textDimensionCalculator;
719
- this.axisThemeConfig = axisThemeConfig;
720
- this.boundingRect = { x: 0, y: 0, width: 0, height: 0 };
721
- this.axisPosition = "left";
722
- this.showTitle = false;
723
- this.showLabel = false;
724
- this.showTick = false;
725
- this.showAxisLine = false;
726
- this.outerPadding = 0;
727
- this.titleTextHeight = 0;
728
- this.labelTextHeight = 0;
729
- this.range = [0, 10];
730
- this.boundingRect = { x: 0, y: 0, width: 0, height: 0 };
731
- this.axisPosition = "left";
732
- }
733
- setRange(range) {
734
- this.range = range;
735
- if (this.axisPosition === "left" || this.axisPosition === "right") {
736
- this.boundingRect.height = range[1] - range[0];
737
- } else {
738
- this.boundingRect.width = range[1] - range[0];
739
- }
740
- this.recalculateScale();
741
- }
742
- getRange() {
743
- return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
744
- }
745
- setAxisPosition(axisPosition) {
746
- this.axisPosition = axisPosition;
747
- this.setRange(this.range);
748
- }
749
- getTickDistance() {
750
- const range = this.getRange();
751
- return Math.abs(range[0] - range[1]) / this.getTickValues().length;
752
- }
753
- getAxisOuterPadding() {
754
- return this.outerPadding;
755
- }
756
- getLabelDimension() {
757
- return this.textDimensionCalculator.getMaxDimension(
758
- this.getTickValues().map((tick) => tick.toString()),
759
- this.axisConfig.labelFontSize
760
- );
761
- }
762
- recalculateOuterPaddingToDrawBar() {
763
- if (BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() > this.outerPadding * 2) {
764
- this.outerPadding = Math.floor(BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() / 2);
765
- }
766
- this.recalculateScale();
767
- }
768
- calculateSpaceIfDrawnHorizontally(availableSpace) {
769
- let availableHeight = availableSpace.height;
770
- if (this.axisConfig.showAxisLine && availableHeight > this.axisConfig.axisLineWidth) {
771
- availableHeight -= this.axisConfig.axisLineWidth;
772
- this.showAxisLine = true;
773
- }
774
- if (this.axisConfig.showLabel) {
775
- const spaceRequired = this.getLabelDimension();
776
- const maxPadding = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * availableSpace.width;
777
- this.outerPadding = Math.min(spaceRequired.width / 2, maxPadding);
778
- const heightRequired = spaceRequired.height + this.axisConfig.labelPadding * 2;
779
- this.labelTextHeight = spaceRequired.height;
780
- if (heightRequired <= availableHeight) {
781
- availableHeight -= heightRequired;
782
- this.showLabel = true;
783
- }
784
- }
785
- if (this.axisConfig.showTick && availableHeight >= this.axisConfig.tickLength) {
786
- this.showTick = true;
787
- availableHeight -= this.axisConfig.tickLength;
788
- }
789
- if (this.axisConfig.showTitle && this.title) {
790
- const spaceRequired = this.textDimensionCalculator.getMaxDimension(
791
- [this.title],
792
- this.axisConfig.titleFontSize
793
- );
794
- const heightRequired = spaceRequired.height + this.axisConfig.titlePadding * 2;
795
- this.titleTextHeight = spaceRequired.height;
796
- if (heightRequired <= availableHeight) {
797
- availableHeight -= heightRequired;
798
- this.showTitle = true;
799
- }
800
- }
801
- this.boundingRect.width = availableSpace.width;
802
- this.boundingRect.height = availableSpace.height - availableHeight;
803
- }
804
- calculateSpaceIfDrawnVertical(availableSpace) {
805
- let availableWidth = availableSpace.width;
806
- if (this.axisConfig.showAxisLine && availableWidth > this.axisConfig.axisLineWidth) {
807
- availableWidth -= this.axisConfig.axisLineWidth;
808
- this.showAxisLine = true;
809
- }
810
- if (this.axisConfig.showLabel) {
811
- const spaceRequired = this.getLabelDimension();
812
- const maxPadding = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * availableSpace.height;
813
- this.outerPadding = Math.min(spaceRequired.height / 2, maxPadding);
814
- const widthRequired = spaceRequired.width + this.axisConfig.labelPadding * 2;
815
- if (widthRequired <= availableWidth) {
816
- availableWidth -= widthRequired;
817
- this.showLabel = true;
818
- }
819
- }
820
- if (this.axisConfig.showTick && availableWidth >= this.axisConfig.tickLength) {
821
- this.showTick = true;
822
- availableWidth -= this.axisConfig.tickLength;
823
- }
824
- if (this.axisConfig.showTitle && this.title) {
825
- const spaceRequired = this.textDimensionCalculator.getMaxDimension(
826
- [this.title],
827
- this.axisConfig.titleFontSize
828
- );
829
- const widthRequired = spaceRequired.height + this.axisConfig.titlePadding * 2;
830
- this.titleTextHeight = spaceRequired.height;
831
- if (widthRequired <= availableWidth) {
832
- availableWidth -= widthRequired;
833
- this.showTitle = true;
834
- }
835
- }
836
- this.boundingRect.width = availableSpace.width - availableWidth;
837
- this.boundingRect.height = availableSpace.height;
838
- }
839
- calculateSpace(availableSpace) {
840
- if (this.axisPosition === "left" || this.axisPosition === "right") {
841
- this.calculateSpaceIfDrawnVertical(availableSpace);
842
- } else {
843
- this.calculateSpaceIfDrawnHorizontally(availableSpace);
844
- }
845
- this.recalculateScale();
846
- return {
847
- width: this.boundingRect.width,
848
- height: this.boundingRect.height
849
- };
850
- }
851
- setBoundingBoxXY(point) {
852
- this.boundingRect.x = point.x;
853
- this.boundingRect.y = point.y;
854
- }
855
- getDrawableElementsForLeftAxis() {
856
- const drawableElement = [];
857
- if (this.showAxisLine) {
858
- const x = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
859
- drawableElement.push({
860
- type: "path",
861
- groupTexts: ["left-axis", "axisl-line"],
862
- data: [
863
- {
864
- path: `M ${x},${this.boundingRect.y} L ${x},${this.boundingRect.y + this.boundingRect.height} `,
865
- strokeFill: this.axisThemeConfig.axisLineColor,
866
- strokeWidth: this.axisConfig.axisLineWidth
867
- }
868
- ]
869
- });
870
- }
871
- if (this.showLabel) {
872
- drawableElement.push({
873
- type: "text",
874
- groupTexts: ["left-axis", "label"],
875
- data: this.getTickValues().map((tick) => ({
876
- text: tick.toString(),
877
- x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
878
- y: this.getScaleValue(tick),
879
- fill: this.axisThemeConfig.labelColor,
880
- fontSize: this.axisConfig.labelFontSize,
881
- rotation: 0,
882
- verticalPos: "middle",
883
- horizontalPos: "right"
884
- }))
885
- });
886
- }
887
- if (this.showTick) {
888
- const x = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
889
- drawableElement.push({
890
- type: "path",
891
- groupTexts: ["left-axis", "ticks"],
892
- data: this.getTickValues().map((tick) => ({
893
- path: `M ${x},${this.getScaleValue(tick)} L ${x - this.axisConfig.tickLength},${this.getScaleValue(tick)}`,
894
- strokeFill: this.axisThemeConfig.tickColor,
895
- strokeWidth: this.axisConfig.tickWidth
896
- }))
897
- });
898
- }
899
- if (this.showTitle) {
900
- drawableElement.push({
901
- type: "text",
902
- groupTexts: ["left-axis", "title"],
903
- data: [
904
- {
905
- text: this.title,
906
- x: this.boundingRect.x + this.axisConfig.titlePadding,
907
- y: this.boundingRect.y + this.boundingRect.height / 2,
908
- fill: this.axisThemeConfig.titleColor,
909
- fontSize: this.axisConfig.titleFontSize,
910
- rotation: 270,
911
- verticalPos: "top",
912
- horizontalPos: "center"
913
- }
914
- ]
915
- });
916
- }
917
- return drawableElement;
918
- }
919
- getDrawableElementsForBottomAxis() {
920
- const drawableElement = [];
921
- if (this.showAxisLine) {
922
- const y = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
923
- drawableElement.push({
924
- type: "path",
925
- groupTexts: ["bottom-axis", "axis-line"],
926
- data: [
927
- {
928
- path: `M ${this.boundingRect.x},${y} L ${this.boundingRect.x + this.boundingRect.width},${y}`,
929
- strokeFill: this.axisThemeConfig.axisLineColor,
930
- strokeWidth: this.axisConfig.axisLineWidth
931
- }
932
- ]
933
- });
934
- }
935
- if (this.showLabel) {
936
- drawableElement.push({
937
- type: "text",
938
- groupTexts: ["bottom-axis", "label"],
939
- data: this.getTickValues().map((tick) => ({
940
- text: tick.toString(),
941
- x: this.getScaleValue(tick),
942
- y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
943
- fill: this.axisThemeConfig.labelColor,
944
- fontSize: this.axisConfig.labelFontSize,
945
- rotation: 0,
946
- verticalPos: "top",
947
- horizontalPos: "center"
948
- }))
949
- });
950
- }
951
- if (this.showTick) {
952
- const y = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
953
- drawableElement.push({
954
- type: "path",
955
- groupTexts: ["bottom-axis", "ticks"],
956
- data: this.getTickValues().map((tick) => ({
957
- path: `M ${this.getScaleValue(tick)},${y} L ${this.getScaleValue(tick)},${y + this.axisConfig.tickLength}`,
958
- strokeFill: this.axisThemeConfig.tickColor,
959
- strokeWidth: this.axisConfig.tickWidth
960
- }))
961
- });
962
- }
963
- if (this.showTitle) {
964
- drawableElement.push({
965
- type: "text",
966
- groupTexts: ["bottom-axis", "title"],
967
- data: [
968
- {
969
- text: this.title,
970
- x: this.range[0] + (this.range[1] - this.range[0]) / 2,
971
- y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
972
- fill: this.axisThemeConfig.titleColor,
973
- fontSize: this.axisConfig.titleFontSize,
974
- rotation: 0,
975
- verticalPos: "top",
976
- horizontalPos: "center"
977
- }
978
- ]
979
- });
980
- }
981
- return drawableElement;
982
- }
983
- getDrawableElementsForTopAxis() {
984
- const drawableElement = [];
985
- if (this.showAxisLine) {
986
- const y = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
987
- drawableElement.push({
988
- type: "path",
989
- groupTexts: ["top-axis", "axis-line"],
990
- data: [
991
- {
992
- path: `M ${this.boundingRect.x},${y} L ${this.boundingRect.x + this.boundingRect.width},${y}`,
993
- strokeFill: this.axisThemeConfig.axisLineColor,
994
- strokeWidth: this.axisConfig.axisLineWidth
995
- }
996
- ]
997
- });
998
- }
999
- if (this.showLabel) {
1000
- drawableElement.push({
1001
- type: "text",
1002
- groupTexts: ["top-axis", "label"],
1003
- data: this.getTickValues().map((tick) => ({
1004
- text: tick.toString(),
1005
- x: this.getScaleValue(tick),
1006
- y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1007
- fill: this.axisThemeConfig.labelColor,
1008
- fontSize: this.axisConfig.labelFontSize,
1009
- rotation: 0,
1010
- verticalPos: "top",
1011
- horizontalPos: "center"
1012
- }))
1013
- });
1014
- }
1015
- if (this.showTick) {
1016
- const y = this.boundingRect.y;
1017
- drawableElement.push({
1018
- type: "path",
1019
- groupTexts: ["top-axis", "ticks"],
1020
- data: this.getTickValues().map((tick) => ({
1021
- path: `M ${this.getScaleValue(tick)},${y + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(tick)},${y + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
1022
- strokeFill: this.axisThemeConfig.tickColor,
1023
- strokeWidth: this.axisConfig.tickWidth
1024
- }))
1025
- });
1026
- }
1027
- if (this.showTitle) {
1028
- drawableElement.push({
1029
- type: "text",
1030
- groupTexts: ["top-axis", "title"],
1031
- data: [
1032
- {
1033
- text: this.title,
1034
- x: this.boundingRect.x + this.boundingRect.width / 2,
1035
- y: this.boundingRect.y + this.axisConfig.titlePadding,
1036
- fill: this.axisThemeConfig.titleColor,
1037
- fontSize: this.axisConfig.titleFontSize,
1038
- rotation: 0,
1039
- verticalPos: "top",
1040
- horizontalPos: "center"
1041
- }
1042
- ]
1043
- });
1044
- }
1045
- return drawableElement;
1046
- }
1047
- getDrawableElements() {
1048
- if (this.axisPosition === "left") {
1049
- return this.getDrawableElementsForLeftAxis();
1050
- }
1051
- if (this.axisPosition === "right") {
1052
- throw Error("Drawing of right axis is not implemented");
1053
- }
1054
- if (this.axisPosition === "bottom") {
1055
- return this.getDrawableElementsForBottomAxis();
1056
- }
1057
- if (this.axisPosition === "top") {
1058
- return this.getDrawableElementsForTopAxis();
1059
- }
1060
- return [];
1061
- }
1062
- }, __name(_b, "BaseAxis"), _b);
1063
- var BandAxis = (_c = class extends BaseAxis {
1064
- constructor(axisConfig, axisThemeConfig, categories, title, textDimensionCalculator) {
1065
- super(axisConfig, title, textDimensionCalculator, axisThemeConfig);
1066
- this.categories = categories;
1067
- this.scale = band().domain(this.categories).range(this.getRange());
1068
- }
1069
- setRange(range) {
1070
- super.setRange(range);
1071
- }
1072
- recalculateScale() {
1073
- this.scale = band().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5);
1074
- log.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1075
- }
1076
- getTickValues() {
1077
- return this.categories;
1078
- }
1079
- getScaleValue(value) {
1080
- return this.scale(value) ?? this.getRange()[0];
1081
- }
1082
- }, __name(_c, "BandAxis"), _c);
1083
- var LinearAxis = (_d = class extends BaseAxis {
1084
- constructor(axisConfig, axisThemeConfig, domain, title, textDimensionCalculator) {
1085
- super(axisConfig, title, textDimensionCalculator, axisThemeConfig);
1086
- this.domain = domain;
1087
- this.scale = linear().domain(this.domain).range(this.getRange());
1088
- }
1089
- getTickValues() {
1090
- return this.scale.ticks();
1091
- }
1092
- recalculateScale() {
1093
- const domain = [...this.domain];
1094
- if (this.axisPosition === "left") {
1095
- domain.reverse();
1096
- }
1097
- this.scale = linear().domain(domain).range(this.getRange());
1098
- }
1099
- getScaleValue(value) {
1100
- return this.scale(value);
1101
- }
1102
- }, __name(_d, "LinearAxis"), _d);
1103
- function getAxis(data, axisConfig, axisThemeConfig, tmpSVGGroup2) {
1104
- const textDimensionCalculator = new TextDimensionCalculatorWithFont(tmpSVGGroup2);
1105
- if (isBandAxisData(data)) {
1106
- return new BandAxis(
1107
- axisConfig,
1108
- axisThemeConfig,
1109
- data.categories,
1110
- data.title,
1111
- textDimensionCalculator
1112
- );
1113
- }
1114
- return new LinearAxis(
1115
- axisConfig,
1116
- axisThemeConfig,
1117
- [data.min, data.max],
1118
- data.title,
1119
- textDimensionCalculator
1120
- );
1121
- }
1122
- __name(getAxis, "getAxis");
1123
- var ChartTitle = (_e = class {
1124
- constructor(textDimensionCalculator, chartConfig, chartData, chartThemeConfig) {
1125
- this.textDimensionCalculator = textDimensionCalculator;
1126
- this.chartConfig = chartConfig;
1127
- this.chartData = chartData;
1128
- this.chartThemeConfig = chartThemeConfig;
1129
- this.boundingRect = {
1130
- x: 0,
1131
- y: 0,
1132
- width: 0,
1133
- height: 0
1134
- };
1135
- this.showChartTitle = false;
1136
- }
1137
- setBoundingBoxXY(point) {
1138
- this.boundingRect.x = point.x;
1139
- this.boundingRect.y = point.y;
1140
- }
1141
- calculateSpace(availableSpace) {
1142
- const titleDimension = this.textDimensionCalculator.getMaxDimension(
1143
- [this.chartData.title],
1144
- this.chartConfig.titleFontSize
1145
- );
1146
- const widthRequired = Math.max(titleDimension.width, availableSpace.width);
1147
- const heightRequired = titleDimension.height + 2 * this.chartConfig.titlePadding;
1148
- if (titleDimension.width <= widthRequired && titleDimension.height <= heightRequired && this.chartConfig.showTitle && this.chartData.title) {
1149
- this.boundingRect.width = widthRequired;
1150
- this.boundingRect.height = heightRequired;
1151
- this.showChartTitle = true;
1152
- }
1153
- return {
1154
- width: this.boundingRect.width,
1155
- height: this.boundingRect.height
1156
- };
1157
- }
1158
- getDrawableElements() {
1159
- const drawableElem = [];
1160
- if (this.showChartTitle) {
1161
- drawableElem.push({
1162
- groupTexts: ["chart-title"],
1163
- type: "text",
1164
- data: [
1165
- {
1166
- fontSize: this.chartConfig.titleFontSize,
1167
- text: this.chartData.title,
1168
- verticalPos: "middle",
1169
- horizontalPos: "center",
1170
- x: this.boundingRect.x + this.boundingRect.width / 2,
1171
- y: this.boundingRect.y + this.boundingRect.height / 2,
1172
- fill: this.chartThemeConfig.titleColor,
1173
- rotation: 0
1174
- }
1175
- ]
1176
- });
1177
- }
1178
- return drawableElem;
1179
- }
1180
- }, __name(_e, "ChartTitle"), _e);
1181
- function getChartTitleComponent(chartConfig, chartData, chartThemeConfig, tmpSVGGroup2) {
1182
- const textDimensionCalculator = new TextDimensionCalculatorWithFont(tmpSVGGroup2);
1183
- return new ChartTitle(textDimensionCalculator, chartConfig, chartData, chartThemeConfig);
1184
- }
1185
- __name(getChartTitleComponent, "getChartTitleComponent");
1186
- var LinePlot = (_f = class {
1187
- constructor(plotData, xAxis, yAxis, orientation, plotIndex2) {
1188
- this.plotData = plotData;
1189
- this.xAxis = xAxis;
1190
- this.yAxis = yAxis;
1191
- this.orientation = orientation;
1192
- this.plotIndex = plotIndex2;
1193
- }
1194
- getDrawableElement() {
1195
- const finalData = this.plotData.data.map((d) => [
1196
- this.xAxis.getScaleValue(d[0]),
1197
- this.yAxis.getScaleValue(d[1])
1198
- ]);
1199
- let path;
1200
- if (this.orientation === "horizontal") {
1201
- path = line().y((d) => d[0]).x((d) => d[1])(finalData);
1202
- } else {
1203
- path = line().x((d) => d[0]).y((d) => d[1])(finalData);
1204
- }
1205
- if (!path) {
1206
- return [];
1207
- }
1208
- return [
1209
- {
1210
- groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1211
- type: "path",
1212
- data: [
1213
- {
1214
- path,
1215
- strokeFill: this.plotData.strokeFill,
1216
- strokeWidth: this.plotData.strokeWidth
1217
- }
1218
- ]
1219
- }
1220
- ];
1221
- }
1222
- }, __name(_f, "LinePlot"), _f);
1223
- var BarPlot = (_g = class {
1224
- constructor(barData, boundingRect, xAxis, yAxis, orientation, plotIndex2) {
1225
- this.barData = barData;
1226
- this.boundingRect = boundingRect;
1227
- this.xAxis = xAxis;
1228
- this.yAxis = yAxis;
1229
- this.orientation = orientation;
1230
- this.plotIndex = plotIndex2;
1231
- }
1232
- getDrawableElement() {
1233
- const finalData = this.barData.data.map((d) => [
1234
- this.xAxis.getScaleValue(d[0]),
1235
- this.yAxis.getScaleValue(d[1])
1236
- ]);
1237
- const barPaddingPercent = 0.05;
1238
- const barWidth = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * (1 - barPaddingPercent);
1239
- const barWidthHalf = barWidth / 2;
1240
- if (this.orientation === "horizontal") {
1241
- return [
1242
- {
1243
- groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1244
- type: "rect",
1245
- data: finalData.map((data) => ({
1246
- x: this.boundingRect.x,
1247
- y: data[0] - barWidthHalf,
1248
- height: barWidth,
1249
- width: data[1] - this.boundingRect.x,
1250
- fill: this.barData.fill,
1251
- strokeWidth: 0,
1252
- strokeFill: this.barData.fill
1253
- }))
1254
- }
1255
- ];
1256
- }
1257
- return [
1258
- {
1259
- groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1260
- type: "rect",
1261
- data: finalData.map((data) => ({
1262
- x: data[0] - barWidthHalf,
1263
- y: data[1],
1264
- width: barWidth,
1265
- height: this.boundingRect.y + this.boundingRect.height - data[1],
1266
- fill: this.barData.fill,
1267
- strokeWidth: 0,
1268
- strokeFill: this.barData.fill
1269
- }))
1270
- }
1271
- ];
1272
- }
1273
- }, __name(_g, "BarPlot"), _g);
1274
- var BasePlot = (_h = class {
1275
- constructor(chartConfig, chartData, chartThemeConfig) {
1276
- this.chartConfig = chartConfig;
1277
- this.chartData = chartData;
1278
- this.chartThemeConfig = chartThemeConfig;
1279
- this.boundingRect = {
1280
- x: 0,
1281
- y: 0,
1282
- width: 0,
1283
- height: 0
1284
- };
1285
- }
1286
- setAxes(xAxis, yAxis) {
1287
- this.xAxis = xAxis;
1288
- this.yAxis = yAxis;
1289
- }
1290
- setBoundingBoxXY(point) {
1291
- this.boundingRect.x = point.x;
1292
- this.boundingRect.y = point.y;
1293
- }
1294
- calculateSpace(availableSpace) {
1295
- this.boundingRect.width = availableSpace.width;
1296
- this.boundingRect.height = availableSpace.height;
1297
- return {
1298
- width: this.boundingRect.width,
1299
- height: this.boundingRect.height
1300
- };
1301
- }
1302
- getDrawableElements() {
1303
- if (!(this.xAxis && this.yAxis)) {
1304
- throw Error("Axes must be passed to render Plots");
1305
- }
1306
- const drawableElem = [];
1307
- for (const [i, plot] of this.chartData.plots.entries()) {
1308
- switch (plot.type) {
1309
- case "line":
1310
- {
1311
- const linePlot = new LinePlot(
1312
- plot,
1313
- this.xAxis,
1314
- this.yAxis,
1315
- this.chartConfig.chartOrientation,
1316
- i
1317
- );
1318
- drawableElem.push(...linePlot.getDrawableElement());
1319
- }
1320
- break;
1321
- case "bar":
1322
- {
1323
- const barPlot = new BarPlot(
1324
- plot,
1325
- this.boundingRect,
1326
- this.xAxis,
1327
- this.yAxis,
1328
- this.chartConfig.chartOrientation,
1329
- i
1330
- );
1331
- drawableElem.push(...barPlot.getDrawableElement());
1332
- }
1333
- break;
1334
- }
1335
- }
1336
- return drawableElem;
1337
- }
1338
- }, __name(_h, "BasePlot"), _h);
1339
- function getPlotComponent(chartConfig, chartData, chartThemeConfig) {
1340
- return new BasePlot(chartConfig, chartData, chartThemeConfig);
1341
- }
1342
- __name(getPlotComponent, "getPlotComponent");
1343
- var Orchestrator = (_i = class {
1344
- constructor(chartConfig, chartData, chartThemeConfig, tmpSVGGroup2) {
1345
- this.chartConfig = chartConfig;
1346
- this.chartData = chartData;
1347
- this.componentStore = {
1348
- title: getChartTitleComponent(chartConfig, chartData, chartThemeConfig, tmpSVGGroup2),
1349
- plot: getPlotComponent(chartConfig, chartData, chartThemeConfig),
1350
- xAxis: getAxis(
1351
- chartData.xAxis,
1352
- chartConfig.xAxis,
1353
- {
1354
- titleColor: chartThemeConfig.xAxisTitleColor,
1355
- labelColor: chartThemeConfig.xAxisLabelColor,
1356
- tickColor: chartThemeConfig.xAxisTickColor,
1357
- axisLineColor: chartThemeConfig.xAxisLineColor
1358
- },
1359
- tmpSVGGroup2
1360
- ),
1361
- yAxis: getAxis(
1362
- chartData.yAxis,
1363
- chartConfig.yAxis,
1364
- {
1365
- titleColor: chartThemeConfig.yAxisTitleColor,
1366
- labelColor: chartThemeConfig.yAxisLabelColor,
1367
- tickColor: chartThemeConfig.yAxisTickColor,
1368
- axisLineColor: chartThemeConfig.yAxisLineColor
1369
- },
1370
- tmpSVGGroup2
1371
- )
1372
- };
1373
- }
1374
- calculateVerticalSpace() {
1375
- let availableWidth = this.chartConfig.width;
1376
- let availableHeight = this.chartConfig.height;
1377
- let plotX = 0;
1378
- let plotY = 0;
1379
- let chartWidth = Math.floor(availableWidth * this.chartConfig.plotReservedSpacePercent / 100);
1380
- let chartHeight = Math.floor(
1381
- availableHeight * this.chartConfig.plotReservedSpacePercent / 100
1382
- );
1383
- let spaceUsed = this.componentStore.plot.calculateSpace({
1384
- width: chartWidth,
1385
- height: chartHeight
1386
- });
1387
- availableWidth -= spaceUsed.width;
1388
- availableHeight -= spaceUsed.height;
1389
- spaceUsed = this.componentStore.title.calculateSpace({
1390
- width: this.chartConfig.width,
1391
- height: availableHeight
1392
- });
1393
- plotY = spaceUsed.height;
1394
- availableHeight -= spaceUsed.height;
1395
- this.componentStore.xAxis.setAxisPosition("bottom");
1396
- spaceUsed = this.componentStore.xAxis.calculateSpace({
1397
- width: availableWidth,
1398
- height: availableHeight
1399
- });
1400
- availableHeight -= spaceUsed.height;
1401
- this.componentStore.yAxis.setAxisPosition("left");
1402
- spaceUsed = this.componentStore.yAxis.calculateSpace({
1403
- width: availableWidth,
1404
- height: availableHeight
1405
- });
1406
- plotX = spaceUsed.width;
1407
- availableWidth -= spaceUsed.width;
1408
- if (availableWidth > 0) {
1409
- chartWidth += availableWidth;
1410
- availableWidth = 0;
1411
- }
1412
- if (availableHeight > 0) {
1413
- chartHeight += availableHeight;
1414
- availableHeight = 0;
1415
- }
1416
- this.componentStore.plot.calculateSpace({
1417
- width: chartWidth,
1418
- height: chartHeight
1419
- });
1420
- this.componentStore.plot.setBoundingBoxXY({ x: plotX, y: plotY });
1421
- this.componentStore.xAxis.setRange([plotX, plotX + chartWidth]);
1422
- this.componentStore.xAxis.setBoundingBoxXY({ x: plotX, y: plotY + chartHeight });
1423
- this.componentStore.yAxis.setRange([plotY, plotY + chartHeight]);
1424
- this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: plotY });
1425
- if (this.chartData.plots.some((p) => isBarPlot(p))) {
1426
- this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1427
- }
1428
- }
1429
- calculateHorizontalSpace() {
1430
- let availableWidth = this.chartConfig.width;
1431
- let availableHeight = this.chartConfig.height;
1432
- let titleYEnd = 0;
1433
- let plotX = 0;
1434
- let plotY = 0;
1435
- let chartWidth = Math.floor(availableWidth * this.chartConfig.plotReservedSpacePercent / 100);
1436
- let chartHeight = Math.floor(
1437
- availableHeight * this.chartConfig.plotReservedSpacePercent / 100
1438
- );
1439
- let spaceUsed = this.componentStore.plot.calculateSpace({
1440
- width: chartWidth,
1441
- height: chartHeight
1442
- });
1443
- availableWidth -= spaceUsed.width;
1444
- availableHeight -= spaceUsed.height;
1445
- spaceUsed = this.componentStore.title.calculateSpace({
1446
- width: this.chartConfig.width,
1447
- height: availableHeight
1448
- });
1449
- titleYEnd = spaceUsed.height;
1450
- availableHeight -= spaceUsed.height;
1451
- this.componentStore.xAxis.setAxisPosition("left");
1452
- spaceUsed = this.componentStore.xAxis.calculateSpace({
1453
- width: availableWidth,
1454
- height: availableHeight
1455
- });
1456
- availableWidth -= spaceUsed.width;
1457
- plotX = spaceUsed.width;
1458
- this.componentStore.yAxis.setAxisPosition("top");
1459
- spaceUsed = this.componentStore.yAxis.calculateSpace({
1460
- width: availableWidth,
1461
- height: availableHeight
1462
- });
1463
- availableHeight -= spaceUsed.height;
1464
- plotY = titleYEnd + spaceUsed.height;
1465
- if (availableWidth > 0) {
1466
- chartWidth += availableWidth;
1467
- availableWidth = 0;
1468
- }
1469
- if (availableHeight > 0) {
1470
- chartHeight += availableHeight;
1471
- availableHeight = 0;
1472
- }
1473
- this.componentStore.plot.calculateSpace({
1474
- width: chartWidth,
1475
- height: chartHeight
1476
- });
1477
- this.componentStore.plot.setBoundingBoxXY({ x: plotX, y: plotY });
1478
- this.componentStore.yAxis.setRange([plotX, plotX + chartWidth]);
1479
- this.componentStore.yAxis.setBoundingBoxXY({ x: plotX, y: titleYEnd });
1480
- this.componentStore.xAxis.setRange([plotY, plotY + chartHeight]);
1481
- this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: plotY });
1482
- if (this.chartData.plots.some((p) => isBarPlot(p))) {
1483
- this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1484
- }
1485
- }
1486
- calculateSpace() {
1487
- if (this.chartConfig.chartOrientation === "horizontal") {
1488
- this.calculateHorizontalSpace();
1489
- } else {
1490
- this.calculateVerticalSpace();
1491
- }
1492
- }
1493
- getDrawableElement() {
1494
- this.calculateSpace();
1495
- const drawableElem = [];
1496
- this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1497
- for (const component of Object.values(this.componentStore)) {
1498
- drawableElem.push(...component.getDrawableElements());
1499
- }
1500
- return drawableElem;
1501
- }
1502
- }, __name(_i, "Orchestrator"), _i);
1503
- var XYChartBuilder = (_j = class {
1504
- static build(config, chartData, chartThemeConfig, tmpSVGGroup2) {
1505
- const orchestrator = new Orchestrator(config, chartData, chartThemeConfig, tmpSVGGroup2);
1506
- return orchestrator.getDrawableElement();
1507
- }
1508
- }, __name(_j, "XYChartBuilder"), _j);
1509
- var plotIndex = 0;
1510
- var tmpSVGGroup;
1511
- var xyChartConfig = getChartDefaultConfig();
1512
- var xyChartThemeConfig = getChartDefaultThemeConfig();
1513
- var xyChartData = getChartDefaultData();
1514
- var plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((color) => color.trim());
1515
- var hasSetXAxis = false;
1516
- var hasSetYAxis = false;
1517
- function getChartDefaultThemeConfig() {
1518
- const defaultThemeVariables = getThemeVariables3();
1519
- const config = getConfig();
1520
- return cleanAndMerge(defaultThemeVariables.xyChart, config.themeVariables.xyChart);
1521
- }
1522
- __name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
1523
- function getChartDefaultConfig() {
1524
- const config = getConfig();
1525
- return cleanAndMerge(
1526
- defaultConfig_default.xyChart,
1527
- config.xyChart
1528
- );
1529
- }
1530
- __name(getChartDefaultConfig, "getChartDefaultConfig");
1531
- function getChartDefaultData() {
1532
- return {
1533
- yAxis: {
1534
- type: "linear",
1535
- title: "",
1536
- min: Infinity,
1537
- max: -Infinity
1538
- },
1539
- xAxis: {
1540
- type: "band",
1541
- title: "",
1542
- categories: []
1543
- },
1544
- title: "",
1545
- plots: []
1546
- };
1547
- }
1548
- __name(getChartDefaultData, "getChartDefaultData");
1549
- function textSanitizer(text) {
1550
- const config = getConfig();
1551
- return sanitizeText(text.trim(), config);
1552
- }
1553
- __name(textSanitizer, "textSanitizer");
1554
- function setTmpSVGG(SVGG) {
1555
- tmpSVGGroup = SVGG;
1556
- }
1557
- __name(setTmpSVGG, "setTmpSVGG");
1558
- function setOrientation(orientation) {
1559
- if (orientation === "horizontal") {
1560
- xyChartConfig.chartOrientation = "horizontal";
1561
- } else {
1562
- xyChartConfig.chartOrientation = "vertical";
1563
- }
1564
- }
1565
- __name(setOrientation, "setOrientation");
1566
- function setXAxisTitle(title) {
1567
- xyChartData.xAxis.title = textSanitizer(title.text);
1568
- }
1569
- __name(setXAxisTitle, "setXAxisTitle");
1570
- function setXAxisRangeData(min, max) {
1571
- xyChartData.xAxis = { type: "linear", title: xyChartData.xAxis.title, min, max };
1572
- hasSetXAxis = true;
1573
- }
1574
- __name(setXAxisRangeData, "setXAxisRangeData");
1575
- function setXAxisBand(categories) {
1576
- xyChartData.xAxis = {
1577
- type: "band",
1578
- title: xyChartData.xAxis.title,
1579
- categories: categories.map((c) => textSanitizer(c.text))
1580
- };
1581
- hasSetXAxis = true;
1582
- }
1583
- __name(setXAxisBand, "setXAxisBand");
1584
- function setYAxisTitle(title) {
1585
- xyChartData.yAxis.title = textSanitizer(title.text);
1586
- }
1587
- __name(setYAxisTitle, "setYAxisTitle");
1588
- function setYAxisRangeData(min, max) {
1589
- xyChartData.yAxis = { type: "linear", title: xyChartData.yAxis.title, min, max };
1590
- hasSetYAxis = true;
1591
- }
1592
- __name(setYAxisRangeData, "setYAxisRangeData");
1593
- function setYAxisRangeFromPlotData(data) {
1594
- const minValue = Math.min(...data);
1595
- const maxValue = Math.max(...data);
1596
- const prevMinValue = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.min : Infinity;
1597
- const prevMaxValue = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.max : -Infinity;
1598
- xyChartData.yAxis = {
1599
- type: "linear",
1600
- title: xyChartData.yAxis.title,
1601
- min: Math.min(prevMinValue, minValue),
1602
- max: Math.max(prevMaxValue, maxValue)
1603
- };
1604
- }
1605
- __name(setYAxisRangeFromPlotData, "setYAxisRangeFromPlotData");
1606
- function transformDataWithoutCategory(data) {
1607
- let retData = [];
1608
- if (data.length === 0) {
1609
- return retData;
1610
- }
1611
- if (!hasSetXAxis) {
1612
- const prevMinValue = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.min : Infinity;
1613
- const prevMaxValue = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
1614
- setXAxisRangeData(Math.min(prevMinValue, 1), Math.max(prevMaxValue, data.length));
1615
- }
1616
- if (!hasSetYAxis) {
1617
- setYAxisRangeFromPlotData(data);
1618
- }
1619
- if (isBandAxisData(xyChartData.xAxis)) {
1620
- retData = xyChartData.xAxis.categories.map((c, i) => [c, data[i]]);
1621
- }
1622
- if (isLinearAxisData(xyChartData.xAxis)) {
1623
- const min = xyChartData.xAxis.min;
1624
- const max = xyChartData.xAxis.max;
1625
- const step = (max - min) / (data.length - 1);
1626
- const categories = [];
1627
- for (let i = min; i <= max; i += step) {
1628
- categories.push(`${i}`);
1629
- }
1630
- retData = categories.map((c, i) => [c, data[i]]);
1631
- }
1632
- return retData;
1633
- }
1634
- __name(transformDataWithoutCategory, "transformDataWithoutCategory");
1635
- function getPlotColorFromPalette(plotIndex2) {
1636
- return plotColorPalette[plotIndex2 === 0 ? 0 : plotIndex2 % plotColorPalette.length];
1637
- }
1638
- __name(getPlotColorFromPalette, "getPlotColorFromPalette");
1639
- function setLineData(title, data) {
1640
- const plotData = transformDataWithoutCategory(data);
1641
- xyChartData.plots.push({
1642
- type: "line",
1643
- strokeFill: getPlotColorFromPalette(plotIndex),
1644
- strokeWidth: 2,
1645
- data: plotData
1646
- });
1647
- plotIndex++;
1648
- }
1649
- __name(setLineData, "setLineData");
1650
- function setBarData(title, data) {
1651
- const plotData = transformDataWithoutCategory(data);
1652
- xyChartData.plots.push({
1653
- type: "bar",
1654
- fill: getPlotColorFromPalette(plotIndex),
1655
- data: plotData
1656
- });
1657
- plotIndex++;
1658
- }
1659
- __name(setBarData, "setBarData");
1660
- function getDrawableElem() {
1661
- if (xyChartData.plots.length === 0) {
1662
- throw Error("No Plot to render, please provide a plot with some data");
1663
- }
1664
- xyChartData.title = getDiagramTitle();
1665
- return XYChartBuilder.build(xyChartConfig, xyChartData, xyChartThemeConfig, tmpSVGGroup);
1666
- }
1667
- __name(getDrawableElem, "getDrawableElem");
1668
- function getChartThemeConfig() {
1669
- return xyChartThemeConfig;
1670
- }
1671
- __name(getChartThemeConfig, "getChartThemeConfig");
1672
- function getChartConfig() {
1673
- return xyChartConfig;
1674
- }
1675
- __name(getChartConfig, "getChartConfig");
1676
- var clear2 = /* @__PURE__ */ __name(function() {
1677
- clear();
1678
- plotIndex = 0;
1679
- xyChartConfig = getChartDefaultConfig();
1680
- xyChartData = getChartDefaultData();
1681
- xyChartThemeConfig = getChartDefaultThemeConfig();
1682
- plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((color) => color.trim());
1683
- hasSetXAxis = false;
1684
- hasSetYAxis = false;
1685
- }, "clear");
1686
- var xychartDb_default = {
1687
- getDrawableElem,
1688
- clear: clear2,
1689
- setAccTitle,
1690
- getAccTitle,
1691
- setDiagramTitle,
1692
- getDiagramTitle,
1693
- getAccDescription,
1694
- setAccDescription,
1695
- setOrientation,
1696
- setXAxisTitle,
1697
- setXAxisRangeData,
1698
- setXAxisBand,
1699
- setYAxisTitle,
1700
- setYAxisRangeData,
1701
- setLineData,
1702
- setBarData,
1703
- setTmpSVGG,
1704
- getChartThemeConfig,
1705
- getChartConfig
1706
- };
1707
- var draw = /* @__PURE__ */ __name((txt, id, _version, diagObj) => {
1708
- const db = diagObj.db;
1709
- const themeConfig = db.getChartThemeConfig();
1710
- const chartConfig = db.getChartConfig();
1711
- function getDominantBaseLine(horizontalPos) {
1712
- return horizontalPos === "top" ? "text-before-edge" : "middle";
1713
- }
1714
- __name(getDominantBaseLine, "getDominantBaseLine");
1715
- function getTextAnchor(verticalPos) {
1716
- return verticalPos === "left" ? "start" : verticalPos === "right" ? "end" : "middle";
1717
- }
1718
- __name(getTextAnchor, "getTextAnchor");
1719
- function getTextTransformation(data) {
1720
- return `translate(${data.x}, ${data.y}) rotate(${data.rotation || 0})`;
1721
- }
1722
- __name(getTextTransformation, "getTextTransformation");
1723
- log.debug("Rendering xychart chart\n" + txt);
1724
- const svg = selectSvgElement(id);
1725
- const group = svg.append("g").attr("class", "main");
1726
- const background = group.append("rect").attr("width", chartConfig.width).attr("height", chartConfig.height).attr("class", "background");
1727
- configureSvgSize(svg, chartConfig.height, chartConfig.width, true);
1728
- svg.attr("viewBox", `0 0 ${chartConfig.width} ${chartConfig.height}`);
1729
- background.attr("fill", themeConfig.backgroundColor);
1730
- db.setTmpSVGG(svg.append("g").attr("class", "mermaid-tmp-group"));
1731
- const shapes = db.getDrawableElem();
1732
- const groups = {};
1733
- function getGroup(gList) {
1734
- let elem = group;
1735
- let prefix = "";
1736
- for (const [i] of gList.entries()) {
1737
- let parent = group;
1738
- if (i > 0 && groups[prefix]) {
1739
- parent = groups[prefix];
1740
- }
1741
- prefix += gList[i];
1742
- elem = groups[prefix];
1743
- if (!elem) {
1744
- elem = groups[prefix] = parent.append("g").attr("class", gList[i]);
1745
- }
1746
- }
1747
- return elem;
1748
- }
1749
- __name(getGroup, "getGroup");
1750
- for (const shape of shapes) {
1751
- if (shape.data.length === 0) {
1752
- continue;
1753
- }
1754
- const shapeGroup = getGroup(shape.groupTexts);
1755
- switch (shape.type) {
1756
- case "rect":
1757
- shapeGroup.selectAll("rect").data(shape.data).enter().append("rect").attr("x", (data) => data.x).attr("y", (data) => data.y).attr("width", (data) => data.width).attr("height", (data) => data.height).attr("fill", (data) => data.fill).attr("stroke", (data) => data.strokeFill).attr("stroke-width", (data) => data.strokeWidth);
1758
- break;
1759
- case "text":
1760
- shapeGroup.selectAll("text").data(shape.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (data) => data.fill).attr("font-size", (data) => data.fontSize).attr("dominant-baseline", (data) => getDominantBaseLine(data.verticalPos)).attr("text-anchor", (data) => getTextAnchor(data.horizontalPos)).attr("transform", (data) => getTextTransformation(data)).text((data) => data.text);
1761
- break;
1762
- case "path":
1763
- shapeGroup.selectAll("path").data(shape.data).enter().append("path").attr("d", (data) => data.path).attr("fill", (data) => data.fill ? data.fill : "none").attr("stroke", (data) => data.strokeFill).attr("stroke-width", (data) => data.strokeWidth);
1764
- break;
1765
- }
1766
- }
1767
- }, "draw");
1768
- var xychartRenderer_default = {
1769
- draw
1770
- };
1771
- var diagram = {
1772
- parser: xychart_default,
1773
- db: xychartDb_default,
1774
- renderer: xychartRenderer_default
1775
- };
1776
- export {
1777
- diagram
1778
- };