@elmethis/core 1.0.0-alpha.14 → 1.0.0-alpha.141

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 (447) hide show
  1. package/dist/{Bash-Cd5wtNan.js → Bash-BYALHxBA.js} +19 -15
  2. package/dist/Css-B_lIFKfr.js +18 -0
  3. package/dist/ElmShikiHighlighter-g41rU8iG.js +7531 -0
  4. package/dist/{Rust-Beyp-qeb.js → Rust-DinaeL7B.js} +3 -3
  5. package/dist/_basePickBy-Cu6p_7XW.js +152 -0
  6. package/dist/_baseUniq-EFAhWRZ_.js +583 -0
  7. package/dist/abap-BPxeDPn4.js +6 -0
  8. package/dist/actionscript-3-Cjb604Dt.js +6 -0
  9. package/dist/ada-BSgRrxrM.js +6 -0
  10. package/dist/andromeeda-uXNdzNpk.js +4 -0
  11. package/dist/angular-html-Zg5oS4-1.js +32 -0
  12. package/dist/angular-ts-NgJ-y-q8.js +21 -0
  13. package/dist/apache-Cyj7Ib-S.js +6 -0
  14. package/dist/apex-DAAiMqi-.js +6 -0
  15. package/dist/apl-DxZdCuNa.js +16 -0
  16. package/dist/applescript-CroEtIVQ.js +6 -0
  17. package/dist/ara-9AczF2vY.js +6 -0
  18. package/dist/arc-XU5WZqau.js +83 -0
  19. package/dist/architecture-I3QFYML2-B3DQFv0i.js +5 -0
  20. package/dist/architectureDiagram-PQUH6ZAG-C8VLuNh-.js +4633 -0
  21. package/dist/asciidoc-raFNDrGb.js +6 -0
  22. package/dist/asm-C8ld_M07.js +6 -0
  23. package/dist/astro-DVLPOVeH.js +16 -0
  24. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  25. package/dist/awk-gc4Y_RTq.js +6 -0
  26. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  27. package/dist/ballerina-CML1q4Hw.js +6 -0
  28. package/dist/bat-BVW1L4ug.js +6 -0
  29. package/dist/beancount-DYEC72C_.js +6 -0
  30. package/dist/berry-VTah6p7n.js +6 -0
  31. package/dist/bibtex-Bqt_3AVI.js +6 -0
  32. package/dist/bicep-DGk9_2l4.js +6 -0
  33. package/dist/blade-kJIUE9Xv.js +20 -0
  34. package/dist/blockDiagram-5JUZGEFE-Oz114lB1.js +2247 -0
  35. package/dist/bsl-tt9CYf2I.js +8 -0
  36. package/dist/c-Cb-M0LQR.js +6 -0
  37. package/dist/c4Diagram-7JAJQR3Y-HFTedFjh.js +1581 -0
  38. package/dist/cadence-Di4VMBdJ.js +6 -0
  39. package/dist/cairo-CNbjbPRN.js +8 -0
  40. package/dist/catppuccin-frappe-MQ6irQtC.js +4 -0
  41. package/dist/catppuccin-latte-UMitw0Sv.js +4 -0
  42. package/dist/catppuccin-macchiato-CpTwm6bY.js +4 -0
  43. package/dist/catppuccin-mocha-DAcVHoH1.js +4 -0
  44. package/dist/channel-CZoD2q3F.js +5 -0
  45. package/dist/chunk-2O5F6CEG-_P2-sobY.js +24 -0
  46. package/dist/chunk-4IRHCMPZ-gjkKBXZH.js +1415 -0
  47. package/dist/chunk-5V4FS25O-BgKN92Ak.js +1372 -0
  48. package/dist/chunk-66XRIAFR-DuWbXcnI.js +15 -0
  49. package/dist/chunk-IUKPXING-3BMeQhuQ.js +9 -0
  50. package/dist/chunk-PLTTB2RT-C5TfzwCE.js +64 -0
  51. package/dist/clarity-WOA8trQj.js +6 -0
  52. package/dist/classDiagram-L266QK7U-DoPWwUsO.js +16 -0
  53. package/dist/classDiagram-v2-JRWBCVM4-DoPWwUsO.js +16 -0
  54. package/dist/clojure-r3NcJ8yt.js +6 -0
  55. package/dist/clone-D41a067H.js +8 -0
  56. package/dist/cmake-CQmEhYbr.js +6 -0
  57. package/dist/cobol-DpscMYyB.js +10 -0
  58. package/dist/codeowners-Bt9yU6NX.js +6 -0
  59. package/dist/codeql-2Dcm6WNF.js +6 -0
  60. package/dist/coffee-cT6mLyjo.js +8 -0
  61. package/dist/common-lisp-DuX5KqId.js +6 -0
  62. package/dist/components/{inline/ElmInlineCode.stories.d.ts → badge/ElmBadge.stories.d.ts} +2 -2
  63. package/dist/components/badge/ElmBadge.vue.d.ts +21 -0
  64. package/dist/components/badge/ElmTag.stories.d.ts +7 -0
  65. package/dist/components/badge/ElmTag.vue.d.ts +14 -0
  66. package/dist/components/code/ElmCodeBlock.vue.d.ts +8 -1
  67. package/dist/components/code/ElmKatex.vue.d.ts +3 -1
  68. package/dist/components/code/ElmMermaid.stories.d.ts +7 -0
  69. package/dist/components/code/ElmMermaid.vue.d.ts +8 -0
  70. package/dist/components/code/{ElmPrismHighlighter.stories.d.ts → ElmShikiHighlighter.stories.d.ts} +2 -3
  71. package/dist/components/code/{ElmPrismHighlighter.vue.d.ts → ElmShikiHighlighter.vue.d.ts} +3 -3
  72. package/dist/components/containments/ElmColumn.vue.d.ts +3 -2
  73. package/dist/components/containments/ElmColumnList.vue.d.ts +3 -2
  74. package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
  75. package/dist/components/containments/ElmDesktopWindow.vue.d.ts +27 -0
  76. package/dist/components/containments/ElmModal.stories.d.ts +6 -0
  77. package/dist/components/containments/ElmModal.vue.d.ts +35 -0
  78. package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
  79. package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
  80. package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
  81. package/dist/components/containments/ElmToggle.stories.d.ts +1 -0
  82. package/dist/components/containments/ElmToggle.vue.d.ts +13 -6
  83. package/dist/components/containments/ElmTooltip.vue.d.ts +5 -2
  84. package/dist/components/containments/useSnackbarState.d.ts +28 -0
  85. package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
  86. package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
  87. package/dist/components/data/ElmProgress.stories.d.ts +1 -0
  88. package/dist/components/data/ElmProgress.vue.d.ts +6 -1
  89. package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
  90. package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
  91. package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
  92. package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
  93. package/dist/components/fallback/ElmRectangleWave.vue.d.ts +1 -1
  94. package/dist/components/fallback/ElmSpinner.stories.d.ts +6 -0
  95. package/dist/components/fallback/ElmSpinner.vue.d.ts +9 -0
  96. package/dist/components/form/ElmButton.stories.d.ts +11 -0
  97. package/dist/components/form/ElmButton.vue.d.ts +41 -0
  98. package/dist/components/form/ElmCheckbox.vue.d.ts +16 -6
  99. package/dist/components/form/ElmSwitch.stories.d.ts +6 -0
  100. package/dist/components/form/ElmSwitch.vue.d.ts +32 -0
  101. package/dist/components/form/ElmTextField.stories.d.ts +6 -0
  102. package/dist/components/form/ElmTextField.vue.d.ts +30 -0
  103. package/dist/components/form/ElmTotp.stories.d.ts +6 -0
  104. package/dist/components/form/ElmTotp.vue.d.ts +12 -0
  105. package/dist/components/headings/ElmFragmentIdentifier.stories.d.ts +6 -0
  106. package/dist/components/headings/ElmFragmentIdentifier.vue.d.ts +8 -0
  107. package/dist/components/headings/ElmHeading1.vue.d.ts +3 -1
  108. package/dist/components/headings/ElmHeading2.vue.d.ts +3 -1
  109. package/dist/components/headings/ElmHeading3.vue.d.ts +3 -1
  110. package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
  111. package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
  112. package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
  113. package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
  114. package/dist/components/icon/ElmCubeIcon.vue.d.ts +1 -1
  115. package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +2 -2
  116. package/dist/components/icon/ElmLanguageIcon.vue.d.ts +1 -1
  117. package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
  118. package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
  119. package/dist/components/icon/languages/Bash.vue.d.ts +1 -1
  120. package/dist/components/icon/languages/{JavaScript.vue.d.ts → Css.vue.d.ts} +1 -1
  121. package/dist/components/icon/languages/Rust.vue.d.ts +1 -1
  122. package/dist/components/inline/ElmInlineLink.vue.d.ts +1 -1
  123. package/dist/components/inline/ElmInlineRuby.vue.d.ts +1 -1
  124. package/dist/components/inline/ElmInlineText.stories.d.ts +1 -0
  125. package/dist/components/inline/ElmInlineText.vue.d.ts +10 -1
  126. package/dist/components/inline/ElmTypingAnimation.stories.d.ts +6 -0
  127. package/dist/components/inline/ElmTypingAnimation.vue.d.ts +21 -0
  128. package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +6 -0
  129. package/dist/components/jsonschema/ElmChildContainer.vue.d.ts +21 -0
  130. package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +6 -0
  131. package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +7 -0
  132. package/dist/components/jsonschema/ElmFieldType.stories.d.ts +7 -0
  133. package/dist/components/jsonschema/ElmFieldType.vue.d.ts +8 -0
  134. package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +7 -0
  135. package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +7 -0
  136. package/dist/components/media/ElmFile.vue.d.ts +6 -1
  137. package/dist/components/media/ElmImage.stories.d.ts +1 -0
  138. package/dist/components/media/ElmImage.vue.d.ts +5 -0
  139. package/dist/components/navigation/ElmBookmark.stories.d.ts +2 -0
  140. package/dist/components/navigation/ElmBookmark.vue.d.ts +13 -9
  141. package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +3 -1
  142. package/dist/components/navigation/ElmPagetop.vue.d.ts +1 -1
  143. package/dist/components/navigation/ElmTableOfContents.vue.d.ts +1 -1
  144. package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
  145. package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
  146. package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
  147. package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
  148. package/dist/components/others/ElmTemplate.stories.d.ts +6 -0
  149. package/dist/components/others/ElmTyping.vue.d.ts +4 -0
  150. package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +33 -8
  151. package/dist/components/renderer/ElmJsonRendererAsync.vue.d.ts +3 -0
  152. package/dist/components/table/ElmTable.vue.d.ts +8 -2
  153. package/dist/components/table/ElmTableBody.vue.d.ts +3 -2
  154. package/dist/components/table/ElmTableCell.vue.d.ts +2 -1
  155. package/dist/components/table/ElmTableHeader.vue.d.ts +3 -2
  156. package/dist/components/table/ElmTableRow.vue.d.ts +3 -2
  157. package/dist/components/template/ElmTemplate.vue.d.ts +1 -1
  158. package/dist/components/typography/ElmBlockQuote.vue.d.ts +5 -2
  159. package/dist/components/typography/ElmBulletedList.vue.d.ts +5 -2
  160. package/dist/components/typography/ElmCallout.vue.d.ts +5 -2
  161. package/dist/components/typography/ElmDivider.vue.d.ts +8 -1
  162. package/dist/components/typography/ElmListItem.vue.d.ts +3 -2
  163. package/dist/components/typography/ElmNumberedList.vue.d.ts +5 -2
  164. package/dist/components/typography/ElmParagraph.vue.d.ts +5 -2
  165. package/dist/coq-DboLktjX.js +6 -0
  166. package/dist/cpp-Dfuj7FgN.js +18 -0
  167. package/dist/crystal-Cu359yzW.js +18 -0
  168. package/dist/csharp-xQvxkZxj.js +6 -0
  169. package/dist/css-BnL1064W.js +6 -0
  170. package/dist/csv-CmYOceLb.js +6 -0
  171. package/dist/cue-ByErcpN2.js +6 -0
  172. package/dist/cypher-DEVyrV5b.js +6 -0
  173. package/dist/cytoscape.esm-aRg21b6u.js +18120 -0
  174. package/dist/d-CBVqdj3C.js +6 -0
  175. package/dist/dagre-QXRM2OYR-B5ENZ7-y.js +447 -0
  176. package/dist/dark-plus-pUHDTVV0.js +4 -0
  177. package/dist/dart-u2fD-sKr.js +6 -0
  178. package/dist/dax-Crz9Wv4y.js +6 -0
  179. package/dist/desktop-DNXSD5qJ.js +6 -0
  180. package/dist/diagram-DHSB7DV3-Dqr8CsWn.js +126 -0
  181. package/dist/diff-DOdUfPSR.js +6 -0
  182. package/dist/docker-CsHqm9tx.js +6 -0
  183. package/dist/dotenv-BYL4tpZA.js +6 -0
  184. package/dist/dracula-BtZx2Kac.js +4 -0
  185. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  186. package/dist/dream-maker-kevRUHRs.js +6 -0
  187. package/dist/edge-D-R-hhaT.js +12 -0
  188. package/dist/elixir-DuneT2DZ.js +8 -0
  189. package/dist/elm-DdPFQYmH.js +8 -0
  190. package/dist/elmethis.js +68 -44
  191. package/dist/elmethis.umd.cjs +2444 -191
  192. package/dist/emacs-lisp-Bwasiep6.js +6 -0
  193. package/dist/erDiagram-MVNNDQJ5-CXPSajpL.js +841 -0
  194. package/dist/erb-BDkUfiWc.js +10 -0
  195. package/dist/erlang-CxpbZUOc.js +6 -0
  196. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  197. package/dist/everforest-light-BbXl82Em.js +4 -0
  198. package/dist/fennel-B1x5pKr1.js +6 -0
  199. package/dist/fish-BjbXctXH.js +6 -0
  200. package/dist/flowDiagram-27HWSH3H-DDg__sQI.js +1619 -0
  201. package/dist/fluent-DCuHrNR-.js +6 -0
  202. package/dist/fortran-fixed-form-muAGtm2V.js +8 -0
  203. package/dist/fortran-free-form-Db8k5H7x.js +6 -0
  204. package/dist/fsharp-D3TfYvtR.js +8 -0
  205. package/dist/ganttDiagram-ZCE2YOAT-ItVuJVUp.js +2493 -0
  206. package/dist/gdresource-C22851qr.js +10 -0
  207. package/dist/gdscript-C-C99PjI.js +6 -0
  208. package/dist/gdshader-0TihrSQl.js +6 -0
  209. package/dist/genie-MtKmcmPo.js +6 -0
  210. package/dist/gherkin-AzJBtK0J.js +6 -0
  211. package/dist/git-commit-Cdscfa4x.js +8 -0
  212. package/dist/git-rebase-BkertWzk.js +8 -0
  213. package/dist/gitGraph-YCYPL57B-CxR8jlxB.js +5 -0
  214. package/dist/gitGraphDiagram-ISGV4O2Y-DhGxfQ9h.js +712 -0
  215. package/dist/github-dark-DenFmJkN.js +4 -0
  216. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  217. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  218. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  219. package/dist/github-light-JYsPkUQd.js +4 -0
  220. package/dist/github-light-default-D99KPAby.js +4 -0
  221. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  222. package/dist/gleam-BoJB89vF.js +6 -0
  223. package/dist/glimmer-js-DEzcmBLn.js +14 -0
  224. package/dist/glimmer-ts-CfoDm2Ms.js +14 -0
  225. package/dist/glsl-BcGeWDoy.js +8 -0
  226. package/dist/gnuplot-DgGnPAp8.js +6 -0
  227. package/dist/go-Cw0OOp5U.js +6 -0
  228. package/dist/graph-C5-dvh3P.js +247 -0
  229. package/dist/graphql-BA9S3A0F.js +14 -0
  230. package/dist/groovy-45PuQEhl.js +6 -0
  231. package/dist/gruvbox-dark-hard-BDGmrmYl.js +4 -0
  232. package/dist/gruvbox-dark-medium-D7OrvcL5.js +4 -0
  233. package/dist/gruvbox-dark-soft-D_75PUdg.js +4 -0
  234. package/dist/gruvbox-light-hard-DhQt1gbs.js +4 -0
  235. package/dist/gruvbox-light-medium-DNXV_Sw8.js +4 -0
  236. package/dist/gruvbox-light-soft-C7ZspGxH.js +4 -0
  237. package/dist/hack-B5c1rmdK.js +10 -0
  238. package/dist/haml-CknjlTyn.js +10 -0
  239. package/dist/handlebars-DxZCQ1Ls.js +14 -0
  240. package/dist/haskell-ClRE648j.js +6 -0
  241. package/dist/haxe-CClgwBXY.js +6 -0
  242. package/dist/hcl-JJeBEFYE.js +6 -0
  243. package/dist/hjson-BollGKL_.js +6 -0
  244. package/dist/hlsl-b3kI2reZ.js +6 -0
  245. package/dist/hooks/useElmethisTheme.d.ts +4 -0
  246. package/dist/hooks/useTyping.d.ts +17 -0
  247. package/dist/houston-BDYrDoDW.js +4 -0
  248. package/dist/html-Iy9EJBkL.js +10 -0
  249. package/dist/html-derivative-BfM_d1x5.js +8 -0
  250. package/dist/http-Q-2xEgRf.js +14 -0
  251. package/dist/hxml-C2bnoXd-.js +8 -0
  252. package/dist/hy-S8dYOqS_.js +6 -0
  253. package/dist/imba-DzSSVziz.js +6 -0
  254. package/dist/{index-DO0Qe0Kt.js → index-BxVt53X-.js} +17103 -15864
  255. package/dist/index.d.ts +28 -4
  256. package/dist/info-46DW6VJ7-CzTI5cDT.js +5 -0
  257. package/dist/infoDiagram-SDLB2J7W-BkEUp5pe.js +22 -0
  258. package/dist/ini-Cw62c0sR.js +6 -0
  259. package/dist/init-DjUOC4st.js +16 -0
  260. package/dist/java-DNw9zkk2.js +6 -0
  261. package/dist/javascript-CXHlxgtu.js +6 -0
  262. package/dist/jinja-D3ov3d_Q.js +11 -0
  263. package/dist/jison-bKZ_ygkY.js +8 -0
  264. package/dist/journeyDiagram-D7A75E63-ByRCBusL.js +809 -0
  265. package/dist/json-D4cXEhM0.js +6 -0
  266. package/dist/json5-QDX9y-Y9.js +6 -0
  267. package/dist/jsonc-Bph7GQf8.js +6 -0
  268. package/dist/jsonl-CCrMgdQc.js +6 -0
  269. package/dist/jsonnet-SAcLllmN.js +6 -0
  270. package/dist/jssm-f8vsTkbr.js +6 -0
  271. package/dist/jsx-BYrS51r7.js +6 -0
  272. package/dist/julia-k0_CCOLn.js +16 -0
  273. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  274. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  275. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  276. package/dist/kanban-definition-4GR4SRK3-C9FjXyfa.js +719 -0
  277. package/dist/kotlin-DZs3CUXT.js +6 -0
  278. package/dist/kusto-gqgW0Ct6.js +6 -0
  279. package/dist/laserwave-6a00oqik.js +4 -0
  280. package/dist/latex-ixPYeODw.js +8 -0
  281. package/dist/layout-DMOm3fPE.js +1325 -0
  282. package/dist/lean-DM2VgJqL.js +6 -0
  283. package/dist/less-I_XXVOZl.js +6 -0
  284. package/dist/light-plus-CZuVqSLX.js +4 -0
  285. package/dist/linear-vosxqUwV.js +423 -0
  286. package/dist/liquid-DQYM4OUl.js +14 -0
  287. package/dist/llvm-D3Vjgx0u.js +6 -0
  288. package/dist/log-D-MzYv1Z.js +6 -0
  289. package/dist/logo-D1k-IeHX.js +6 -0
  290. package/dist/lua-DcPVWcJ7.js +8 -0
  291. package/dist/luau-B3dL2bb0.js +6 -0
  292. package/dist/make-CR9bkdqJ.js +6 -0
  293. package/dist/markdown-w3MmBOPg.js +6 -0
  294. package/dist/marko-Dou6ix2a.js +14 -0
  295. package/dist/material-theme-D6KBX41T.js +4 -0
  296. package/dist/material-theme-darker-CkRroheE.js +4 -0
  297. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  298. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  299. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  300. package/dist/matlab-Dj6qX5si.js +6 -0
  301. package/dist/mdc-Df47nGTR.js +12 -0
  302. package/dist/mdx-COYqLMfv.js +6 -0
  303. package/dist/mermaid-parser.core-num6RVDI.js +12476 -0
  304. package/dist/mermaid-qIAHIJes.js +6 -0
  305. package/dist/mermaid.core-CUpbGzSU.js +15361 -0
  306. package/dist/min-dark-C7ak0t6c.js +4 -0
  307. package/dist/min-light-CKFxVcPp.js +4 -0
  308. package/dist/mindmap-definition-7EJRZJGK-BS0DECYa.js +3220 -0
  309. package/dist/mipsasm-BJbuoeDX.js +6 -0
  310. package/dist/mojo-BFkEE7I6.js +6 -0
  311. package/dist/monokai-C1KBYcO0.js +4 -0
  312. package/dist/move-DhZIVzw9.js +6 -0
  313. package/dist/narrat-Cru3p5ML.js +6 -0
  314. package/dist/nextflow-JJGGygxI.js +6 -0
  315. package/dist/nginx-Chu4HPUZ.js +8 -0
  316. package/dist/night-owl-Bm2rzalh.js +4 -0
  317. package/dist/nim-m3ClKyoA.js +20 -0
  318. package/dist/nix-DeKhqLCs.js +6 -0
  319. package/dist/nord-CC5OiUXg.js +4 -0
  320. package/dist/nushell-vZ0whCpp.js +6 -0
  321. package/dist/objective-c-DLUrAoO7.js +6 -0
  322. package/dist/objective-cpp-BR9pz3Y7.js +6 -0
  323. package/dist/ocaml-JmaGD6hS.js +6 -0
  324. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  325. package/dist/one-light-D9sNaUtq.js +4 -0
  326. package/dist/ordinal-DfAQgscy.js +61 -0
  327. package/dist/packet-W2GHVCYJ-BGxlha7O.js +5 -0
  328. package/dist/pascal-NVmycfDo.js +6 -0
  329. package/dist/perl-Dvb6TR9K.js +16 -0
  330. package/dist/php-CJHnp_ft.js +18 -0
  331. package/dist/pie-BEWT4RHE-DWWPbog1.js +5 -0
  332. package/dist/pieDiagram-OC6WZ2SS-DyaIY5eh.js +161 -0
  333. package/dist/plastic-CSTz3KZp.js +4 -0
  334. package/dist/plsql-DMWd0imC.js +6 -0
  335. package/dist/po-GS6uwG3N.js +6 -0
  336. package/dist/poimandres-C-VADXHD.js +4 -0
  337. package/dist/polar-kLOnm3TU.js +6 -0
  338. package/dist/postcss-BHhGrjb8.js +6 -0
  339. package/dist/powerquery-CMfeLaGU.js +6 -0
  340. package/dist/powershell-D1mvJxDs.js +6 -0
  341. package/dist/prisma-pUoUFT3i.js +6 -0
  342. package/dist/prolog-DY7WzwMi.js +6 -0
  343. package/dist/proto-CNCp3VWu.js +6 -0
  344. package/dist/pug-CUZjrycK.js +12 -0
  345. package/dist/puppet-B0mgPBqt.js +6 -0
  346. package/dist/purescript-Go548NjJ.js +6 -0
  347. package/dist/python-x6NdgKMy.js +6 -0
  348. package/dist/qml-BZvDVi14.js +8 -0
  349. package/dist/qmldir-BInDYbpo.js +6 -0
  350. package/dist/qss-8QkBlVEn.js +6 -0
  351. package/dist/quadrantDiagram-OT6RYTWY-KqGbwtVf.js +1024 -0
  352. package/dist/r-HSnR3oil.js +6 -0
  353. package/dist/racket-N6wCNCGC.js +6 -0
  354. package/dist/raku-DIMO1_4D.js +6 -0
  355. package/dist/razor-B0naKaWH.js +10 -0
  356. package/dist/red-7y8PH7HH.js +4 -0
  357. package/dist/reg-6UpU0EA6.js +6 -0
  358. package/dist/regexp-DHtjPxOp.js +6 -0
  359. package/dist/rel-DBIoUiKW.js +6 -0
  360. package/dist/requirementDiagram-BKGUWIPO-B8gVW9iZ.js +850 -0
  361. package/dist/riscv-DpWk9ieM.js +6 -0
  362. package/dist/rose-pine-4uTOzEpE.js +4 -0
  363. package/dist/rose-pine-dawn-GMd81k-m.js +4 -0
  364. package/dist/rose-pine-moon-CIFp_3PJ.js +4 -0
  365. package/dist/rst-B64R6T0G.js +22 -0
  366. package/dist/ruby-DfrpdncG.js +30 -0
  367. package/dist/rust-B-KPd2nT.js +6 -0
  368. package/dist/sankeyDiagram-3MH5UGAL-CxuzhDHO.js +808 -0
  369. package/dist/sas-CJQBty5v.js +8 -0
  370. package/dist/sass-Zos2Blmo.js +6 -0
  371. package/dist/scala-7cAMYIqn.js +6 -0
  372. package/dist/scheme-BQZQETGI.js +6 -0
  373. package/dist/scss-SeF7XgZE.js +8 -0
  374. package/dist/sdbl-67k1U2sQ.js +6 -0
  375. package/dist/sequenceDiagram-C4VUPXDP-B5QnHsap.js +2281 -0
  376. package/dist/shaderlab-D-UIeqfT.js +8 -0
  377. package/dist/shellscript-DmhSIIKI.js +6 -0
  378. package/dist/shellsession-DJoY56qV.js +8 -0
  379. package/dist/slack-dark-i7wN4OET.js +4 -0
  380. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  381. package/dist/smalltalk-WltKgyq1.js +6 -0
  382. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  383. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  384. package/dist/solarized-light-BheCkDPT.js +4 -0
  385. package/dist/solidity-C04s0Yy3.js +6 -0
  386. package/dist/soy-BLRDPjcE.js +8 -0
  387. package/dist/sparql-DTCaWUmB.js +8 -0
  388. package/dist/splunk-SGh_QiTm.js +6 -0
  389. package/dist/sql-CsvhJWkt.js +6 -0
  390. package/dist/ssh-config-D4I637-k.js +6 -0
  391. package/dist/stata-CoSdWLbd.js +8 -0
  392. package/dist/stateDiagram-BVO7J4UH-C5UzuGHi.js +270 -0
  393. package/dist/stateDiagram-v2-WR7QG3WR-DlgZMlRM.js +16 -0
  394. package/dist/stylus-C0YS3cII.js +6 -0
  395. package/dist/svelte-D5kfh286.js +14 -0
  396. package/dist/swift-DvTgPjC_.js +6 -0
  397. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  398. package/dist/system-verilog-NDUJ-OOt.js +6 -0
  399. package/dist/systemd-WbxZvB8q.js +6 -0
  400. package/dist/talonscript-CL368eRB.js +6 -0
  401. package/dist/tasl-Dz-WwaLH.js +6 -0
  402. package/dist/tcl-DlZIgGJq.js +6 -0
  403. package/dist/templ-BeQ_faiG.js +12 -0
  404. package/dist/terraform-BlQVOgpk.js +6 -0
  405. package/dist/tex-D5wZQANC.js +8 -0
  406. package/dist/timeline-definition-WOTUTIAU-CmmAwmKk.js +804 -0
  407. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  408. package/dist/toml-DMRYbshZ.js +6 -0
  409. package/dist/ts-tags-BhMM8FHa.js +41 -0
  410. package/dist/tsv-BtvSkaG0.js +6 -0
  411. package/dist/tsx-D0IYuDPS.js +6 -0
  412. package/dist/turtle-p-VV8DEc.js +6 -0
  413. package/dist/twig-B7P5Ovvl.js +18 -0
  414. package/dist/typescript-DKfvlBCw.js +6 -0
  415. package/dist/typespec-CTme0-JL.js +6 -0
  416. package/dist/typst-Dn4vyooU.js +6 -0
  417. package/dist/v-D7ebitkb.js +6 -0
  418. package/dist/vala-TRtLMDHC.js +6 -0
  419. package/dist/vb-B47FrOmA.js +6 -0
  420. package/dist/verilog-B2TLsC4I.js +6 -0
  421. package/dist/vesper-BckBta1U.js +4 -0
  422. package/dist/vhdl-CU5AEtCN.js +6 -0
  423. package/dist/viml-D-fUhqVn.js +6 -0
  424. package/dist/vitesse-black-BoGvW84i.js +4 -0
  425. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  426. package/dist/vitesse-light-CcmG315c.js +4 -0
  427. package/dist/vue-CdwmeZFh.js +31 -0
  428. package/dist/vue-html-C-PRGoQQ.js +10 -0
  429. package/dist/vyper-C03y8CZF.js +6 -0
  430. package/dist/wasm-Bq8UuFo1.js +6 -0
  431. package/dist/wasm-DQxwEHae.js +7 -0
  432. package/dist/wenyan-DZPWEYbu.js +6 -0
  433. package/dist/wgsl-De1GPYf9.js +6 -0
  434. package/dist/wikitext-C-THcCj2.js +6 -0
  435. package/dist/wit-BanP67gl.js +6 -0
  436. package/dist/wolfram-CUT_U39K.js +6 -0
  437. package/dist/xml-jRL-qgj-.js +8 -0
  438. package/dist/xsl-CZWICAVO.js +8 -0
  439. package/dist/xychartDiagram-NJOKMNIP-DqY2kGQA.js +1304 -0
  440. package/dist/yaml-DcQhbMrL.js +6 -0
  441. package/dist/zenscript-8JCzLCTe.js +6 -0
  442. package/dist/zig-DhdgDxkm.js +6 -0
  443. package/package.json +36 -24
  444. package/dist/JavaScript-CPGj6jvI.js +0 -22
  445. package/dist/TypeScript-Dk8QmsMS.js +0 -22
  446. package/dist/components/icon/languages/TypeScript.vue.d.ts +0 -2
  447. package/dist/components/inline/ElmInlineCode.vue.d.ts +0 -15
@@ -0,0 +1,719 @@
1
+ import { _ as c, l as te, c as W, K as fe, ag as ye, ah as be, ai as me, ab as _e, H as Y, i as G, v as Ee, J as ke, ac as Se, ad as le, ae as ce } from "./mermaid.core-CUpbGzSU.js";
2
+ var $ = function() {
3
+ var t = /* @__PURE__ */ c(function(_, s, n, a) {
4
+ for (n = n || {}, a = _.length; a--; n[_[a]] = s) ;
5
+ return n;
6
+ }, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], E = [1, 16], f = [1, 20], h = [1, 19], L = [6, 7, 8], C = [1, 26], w = [1, 24], N = [1, 25], i = [6, 7, 11], H = [1, 31], x = [6, 7, 11, 24], P = [1, 6, 13, 16, 17, 20, 23], M = [1, 35], U = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], j = [1, 38], V = {
7
+ trace: /* @__PURE__ */ c(function() {
8
+ }, "trace"),
9
+ yy: {},
10
+ symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, KANBAN: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, shapeData: 15, ICON: 16, CLASS: 17, nodeWithId: 18, nodeWithoutId: 19, NODE_DSTART: 20, NODE_DESCR: 21, NODE_DEND: 22, NODE_ID: 23, SHAPE_DATA: 24, $accept: 0, $end: 1 },
11
+ terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "KANBAN", 11: "EOF", 13: "SPACELIST", 16: "ICON", 17: "CLASS", 20: "NODE_DSTART", 21: "NODE_DESCR", 22: "NODE_DEND", 23: "NODE_ID", 24: "SHAPE_DATA" },
12
+ productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 3], [12, 2], [12, 2], [12, 2], [12, 1], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [19, 3], [18, 1], [18, 4], [15, 2], [15, 1]],
13
+ performAction: /* @__PURE__ */ c(function(s, n, a, o, u, e, B) {
14
+ var l = e.length - 1;
15
+ switch (u) {
16
+ case 6:
17
+ case 7:
18
+ return o;
19
+ case 8:
20
+ o.getLogger().trace("Stop NL ");
21
+ break;
22
+ case 9:
23
+ o.getLogger().trace("Stop EOF ");
24
+ break;
25
+ case 11:
26
+ o.getLogger().trace("Stop NL2 ");
27
+ break;
28
+ case 12:
29
+ o.getLogger().trace("Stop EOF2 ");
30
+ break;
31
+ case 15:
32
+ o.getLogger().info("Node: ", e[l - 1].id), o.addNode(e[l - 2].length, e[l - 1].id, e[l - 1].descr, e[l - 1].type, e[l]);
33
+ break;
34
+ case 16:
35
+ o.getLogger().info("Node: ", e[l].id), o.addNode(e[l - 1].length, e[l].id, e[l].descr, e[l].type);
36
+ break;
37
+ case 17:
38
+ o.getLogger().trace("Icon: ", e[l]), o.decorateNode({ icon: e[l] });
39
+ break;
40
+ case 18:
41
+ case 23:
42
+ o.decorateNode({ class: e[l] });
43
+ break;
44
+ case 19:
45
+ o.getLogger().trace("SPACELIST");
46
+ break;
47
+ case 20:
48
+ o.getLogger().trace("Node: ", e[l - 1].id), o.addNode(0, e[l - 1].id, e[l - 1].descr, e[l - 1].type, e[l]);
49
+ break;
50
+ case 21:
51
+ o.getLogger().trace("Node: ", e[l].id), o.addNode(0, e[l].id, e[l].descr, e[l].type);
52
+ break;
53
+ case 22:
54
+ o.decorateNode({ icon: e[l] });
55
+ break;
56
+ case 27:
57
+ o.getLogger().trace("node found ..", e[l - 2]), this.$ = { id: e[l - 1], descr: e[l - 1], type: o.getType(e[l - 2], e[l]) };
58
+ break;
59
+ case 28:
60
+ this.$ = { id: e[l], descr: e[l], type: 0 };
61
+ break;
62
+ case 29:
63
+ o.getLogger().trace("node found ..", e[l - 3]), this.$ = { id: e[l - 3], descr: e[l - 1], type: o.getType(e[l - 2], e[l]) };
64
+ break;
65
+ case 30:
66
+ this.$ = e[l - 1] + e[l];
67
+ break;
68
+ case 31:
69
+ this.$ = e[l];
70
+ break;
71
+ }
72
+ }, "anonymous"),
73
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: g }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: g }, { 6: d, 7: [1, 10], 9: 9, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(L, [2, 3]), { 1: [2, 2] }, t(L, [2, 4]), t(L, [2, 5]), { 1: [2, 6], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: C, 7: w, 10: 23, 11: N }, t(i, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: f, 23: h }), t(i, [2, 19]), t(i, [2, 21], { 15: 30, 24: H }), t(i, [2, 22]), t(i, [2, 23]), t(x, [2, 25]), t(x, [2, 26]), t(x, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: C, 7: w, 10: 34, 11: N }, { 1: [2, 7], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(P, [2, 14], { 7: M, 11: U }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(i, [2, 16], { 15: 37, 24: H }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: j }), t(x, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, t(P, [2, 13], { 7: M, 11: U }), t(A, [2, 11]), t(A, [2, 12]), t(i, [2, 15], { 24: j }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
74
+ defaultActions: { 2: [2, 1], 6: [2, 2] },
75
+ parseError: /* @__PURE__ */ c(function(s, n) {
76
+ if (n.recoverable)
77
+ this.trace(s);
78
+ else {
79
+ var a = new Error(s);
80
+ throw a.hash = n, a;
81
+ }
82
+ }, "parseError"),
83
+ parse: /* @__PURE__ */ c(function(s) {
84
+ var n = this, a = [0], o = [], u = [null], e = [], B = this.table, l = "", z = 0, ie = 0, ue = 2, re = 1, ge = e.slice.call(arguments, 1), b = Object.create(this.lexer), T = { yy: {} };
85
+ for (var J in this.yy)
86
+ Object.prototype.hasOwnProperty.call(this.yy, J) && (T.yy[J] = this.yy[J]);
87
+ b.setInput(s, T.yy), T.yy.lexer = b, T.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
88
+ var q = b.yylloc;
89
+ e.push(q);
90
+ var de = b.options && b.options.ranges;
91
+ typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
92
+ function pe(S) {
93
+ a.length = a.length - 2 * S, u.length = u.length - S, e.length = e.length - S;
94
+ }
95
+ c(pe, "popStack");
96
+ function ae() {
97
+ var S;
98
+ return S = o.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (o = S, S = o.pop()), S = n.symbols_[S] || S), S;
99
+ }
100
+ c(ae, "lex");
101
+ for (var k, R, v, Q, F = {}, K, I, oe, X; ; ) {
102
+ if (R = a[a.length - 1], this.defaultActions[R] ? v = this.defaultActions[R] : ((k === null || typeof k > "u") && (k = ae()), v = B[R] && B[R][k]), typeof v > "u" || !v.length || !v[0]) {
103
+ var Z = "";
104
+ X = [];
105
+ for (K in B[R])
106
+ this.terminals_[K] && K > ue && X.push("'" + this.terminals_[K] + "'");
107
+ b.showPosition ? Z = "Parse error on line " + (z + 1) + `:
108
+ ` + b.showPosition() + `
109
+ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "Parse error on line " + (z + 1) + ": Unexpected " + (k == re ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Z, {
110
+ text: b.match,
111
+ token: this.terminals_[k] || k,
112
+ line: b.yylineno,
113
+ loc: q,
114
+ expected: X
115
+ });
116
+ }
117
+ if (v[0] instanceof Array && v.length > 1)
118
+ throw new Error("Parse Error: multiple actions possible at state: " + R + ", token: " + k);
119
+ switch (v[0]) {
120
+ case 1:
121
+ a.push(k), u.push(b.yytext), e.push(b.yylloc), a.push(v[1]), k = null, ie = b.yyleng, l = b.yytext, z = b.yylineno, q = b.yylloc;
122
+ break;
123
+ case 2:
124
+ if (I = this.productions_[v[1]][1], F.$ = u[u.length - I], F._$ = {
125
+ first_line: e[e.length - (I || 1)].first_line,
126
+ last_line: e[e.length - 1].last_line,
127
+ first_column: e[e.length - (I || 1)].first_column,
128
+ last_column: e[e.length - 1].last_column
129
+ }, de && (F._$.range = [
130
+ e[e.length - (I || 1)].range[0],
131
+ e[e.length - 1].range[1]
132
+ ]), Q = this.performAction.apply(F, [
133
+ l,
134
+ ie,
135
+ z,
136
+ T.yy,
137
+ v[1],
138
+ u,
139
+ e
140
+ ].concat(ge)), typeof Q < "u")
141
+ return Q;
142
+ I && (a = a.slice(0, -1 * I * 2), u = u.slice(0, -1 * I), e = e.slice(0, -1 * I)), a.push(this.productions_[v[1]][0]), u.push(F.$), e.push(F._$), oe = B[a[a.length - 2]][a[a.length - 1]], a.push(oe);
143
+ break;
144
+ case 3:
145
+ return !0;
146
+ }
147
+ }
148
+ return !0;
149
+ }, "parse")
150
+ }, m = /* @__PURE__ */ function() {
151
+ var _ = {
152
+ EOF: 1,
153
+ parseError: /* @__PURE__ */ c(function(n, a) {
154
+ if (this.yy.parser)
155
+ this.yy.parser.parseError(n, a);
156
+ else
157
+ throw new Error(n);
158
+ }, "parseError"),
159
+ // resets the lexer, sets new input
160
+ setInput: /* @__PURE__ */ c(function(s, n) {
161
+ return this.yy = n || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
162
+ first_line: 1,
163
+ first_column: 0,
164
+ last_line: 1,
165
+ last_column: 0
166
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
167
+ }, "setInput"),
168
+ // consumes and returns one char from the input
169
+ input: /* @__PURE__ */ c(function() {
170
+ var s = this._input[0];
171
+ this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
172
+ var n = s.match(/(?:\r\n?|\n).*/g);
173
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
174
+ }, "input"),
175
+ // unshifts one char (or a string) into the input
176
+ unput: /* @__PURE__ */ c(function(s) {
177
+ var n = s.length, a = s.split(/(?:\r\n?|\n)/g);
178
+ this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
179
+ var o = this.match.split(/(?:\r\n?|\n)/g);
180
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
181
+ var u = this.yylloc.range;
182
+ return this.yylloc = {
183
+ first_line: this.yylloc.first_line,
184
+ last_line: this.yylineno + 1,
185
+ first_column: this.yylloc.first_column,
186
+ last_column: a ? (a.length === o.length ? this.yylloc.first_column : 0) + o[o.length - a.length].length - a[0].length : this.yylloc.first_column - n
187
+ }, this.options.ranges && (this.yylloc.range = [u[0], u[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
188
+ }, "unput"),
189
+ // When called from action, caches matched text and appends it on next action
190
+ more: /* @__PURE__ */ c(function() {
191
+ return this._more = !0, this;
192
+ }, "more"),
193
+ // 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.
194
+ reject: /* @__PURE__ */ c(function() {
195
+ if (this.options.backtrack_lexer)
196
+ this._backtrack = !0;
197
+ else
198
+ 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).
199
+ ` + this.showPosition(), {
200
+ text: "",
201
+ token: null,
202
+ line: this.yylineno
203
+ });
204
+ return this;
205
+ }, "reject"),
206
+ // retain first n characters of the match
207
+ less: /* @__PURE__ */ c(function(s) {
208
+ this.unput(this.match.slice(s));
209
+ }, "less"),
210
+ // displays already matched input, i.e. for error messages
211
+ pastInput: /* @__PURE__ */ c(function() {
212
+ var s = this.matched.substr(0, this.matched.length - this.match.length);
213
+ return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
214
+ }, "pastInput"),
215
+ // displays upcoming input, i.e. for error messages
216
+ upcomingInput: /* @__PURE__ */ c(function() {
217
+ var s = this.match;
218
+ return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
219
+ }, "upcomingInput"),
220
+ // displays the character position where the lexing error occurred, i.e. for error messages
221
+ showPosition: /* @__PURE__ */ c(function() {
222
+ var s = this.pastInput(), n = new Array(s.length + 1).join("-");
223
+ return s + this.upcomingInput() + `
224
+ ` + n + "^";
225
+ }, "showPosition"),
226
+ // test the lexed token: return FALSE when not a match, otherwise return token
227
+ test_match: /* @__PURE__ */ c(function(s, n) {
228
+ var a, o, u;
229
+ if (this.options.backtrack_lexer && (u = {
230
+ yylineno: this.yylineno,
231
+ yylloc: {
232
+ first_line: this.yylloc.first_line,
233
+ last_line: this.last_line,
234
+ first_column: this.yylloc.first_column,
235
+ last_column: this.yylloc.last_column
236
+ },
237
+ yytext: this.yytext,
238
+ match: this.match,
239
+ matches: this.matches,
240
+ matched: this.matched,
241
+ yyleng: this.yyleng,
242
+ offset: this.offset,
243
+ _more: this._more,
244
+ _input: this._input,
245
+ yy: this.yy,
246
+ conditionStack: this.conditionStack.slice(0),
247
+ done: this.done
248
+ }, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), o = s[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
249
+ first_line: this.yylloc.last_line,
250
+ last_line: this.yylineno + 1,
251
+ first_column: this.yylloc.last_column,
252
+ last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
253
+ }, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], a = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
254
+ return a;
255
+ if (this._backtrack) {
256
+ for (var e in u)
257
+ this[e] = u[e];
258
+ return !1;
259
+ }
260
+ return !1;
261
+ }, "test_match"),
262
+ // return next match in input
263
+ next: /* @__PURE__ */ c(function() {
264
+ if (this.done)
265
+ return this.EOF;
266
+ this._input || (this.done = !0);
267
+ var s, n, a, o;
268
+ this._more || (this.yytext = "", this.match = "");
269
+ for (var u = this._currentRules(), e = 0; e < u.length; e++)
270
+ if (a = this._input.match(this.rules[u[e]]), a && (!n || a[0].length > n[0].length)) {
271
+ if (n = a, o = e, this.options.backtrack_lexer) {
272
+ if (s = this.test_match(a, u[e]), s !== !1)
273
+ return s;
274
+ if (this._backtrack) {
275
+ n = !1;
276
+ continue;
277
+ } else
278
+ return !1;
279
+ } else if (!this.options.flex)
280
+ break;
281
+ }
282
+ return n ? (s = this.test_match(n, u[o]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
283
+ ` + this.showPosition(), {
284
+ text: "",
285
+ token: null,
286
+ line: this.yylineno
287
+ });
288
+ }, "next"),
289
+ // return next match that has a token
290
+ lex: /* @__PURE__ */ c(function() {
291
+ var n = this.next();
292
+ return n || this.lex();
293
+ }, "lex"),
294
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
295
+ begin: /* @__PURE__ */ c(function(n) {
296
+ this.conditionStack.push(n);
297
+ }, "begin"),
298
+ // pop the previously active lexer condition state off the condition stack
299
+ popState: /* @__PURE__ */ c(function() {
300
+ var n = this.conditionStack.length - 1;
301
+ return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
302
+ }, "popState"),
303
+ // produce the lexer rule set which is active for the currently active lexer condition state
304
+ _currentRules: /* @__PURE__ */ c(function() {
305
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
306
+ }, "_currentRules"),
307
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
308
+ topState: /* @__PURE__ */ c(function(n) {
309
+ return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
310
+ }, "topState"),
311
+ // alias for begin(condition)
312
+ pushState: /* @__PURE__ */ c(function(n) {
313
+ this.begin(n);
314
+ }, "pushState"),
315
+ // return the number of states currently on the stack
316
+ stateStackSize: /* @__PURE__ */ c(function() {
317
+ return this.conditionStack.length;
318
+ }, "stateStackSize"),
319
+ options: { "case-insensitive": !0 },
320
+ performAction: /* @__PURE__ */ c(function(n, a, o, u) {
321
+ switch (o) {
322
+ case 0:
323
+ return this.pushState("shapeData"), a.yytext = "", 24;
324
+ case 1:
325
+ return this.pushState("shapeDataStr"), 24;
326
+ case 2:
327
+ return this.popState(), 24;
328
+ case 3:
329
+ const e = /\n\s*/g;
330
+ return a.yytext = a.yytext.replace(e, "<br/>"), 24;
331
+ case 4:
332
+ return 24;
333
+ case 5:
334
+ this.popState();
335
+ break;
336
+ case 6:
337
+ return n.getLogger().trace("Found comment", a.yytext), 6;
338
+ case 7:
339
+ return 8;
340
+ case 8:
341
+ this.begin("CLASS");
342
+ break;
343
+ case 9:
344
+ return this.popState(), 17;
345
+ case 10:
346
+ this.popState();
347
+ break;
348
+ case 11:
349
+ n.getLogger().trace("Begin icon"), this.begin("ICON");
350
+ break;
351
+ case 12:
352
+ return n.getLogger().trace("SPACELINE"), 6;
353
+ case 13:
354
+ return 7;
355
+ case 14:
356
+ return 16;
357
+ case 15:
358
+ n.getLogger().trace("end icon"), this.popState();
359
+ break;
360
+ case 16:
361
+ return n.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
362
+ case 17:
363
+ return n.getLogger().trace("Cloud"), this.begin("NODE"), 20;
364
+ case 18:
365
+ return n.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
366
+ case 19:
367
+ return n.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
368
+ case 20:
369
+ return this.begin("NODE"), 20;
370
+ case 21:
371
+ return this.begin("NODE"), 20;
372
+ case 22:
373
+ return this.begin("NODE"), 20;
374
+ case 23:
375
+ return this.begin("NODE"), 20;
376
+ case 24:
377
+ return 13;
378
+ case 25:
379
+ return 23;
380
+ case 26:
381
+ return 11;
382
+ case 27:
383
+ this.begin("NSTR2");
384
+ break;
385
+ case 28:
386
+ return "NODE_DESCR";
387
+ case 29:
388
+ this.popState();
389
+ break;
390
+ case 30:
391
+ n.getLogger().trace("Starting NSTR"), this.begin("NSTR");
392
+ break;
393
+ case 31:
394
+ return n.getLogger().trace("description:", a.yytext), "NODE_DESCR";
395
+ case 32:
396
+ this.popState();
397
+ break;
398
+ case 33:
399
+ return this.popState(), n.getLogger().trace("node end ))"), "NODE_DEND";
400
+ case 34:
401
+ return this.popState(), n.getLogger().trace("node end )"), "NODE_DEND";
402
+ case 35:
403
+ return this.popState(), n.getLogger().trace("node end ...", a.yytext), "NODE_DEND";
404
+ case 36:
405
+ return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
406
+ case 37:
407
+ return this.popState(), n.getLogger().trace("node end (-"), "NODE_DEND";
408
+ case 38:
409
+ return this.popState(), n.getLogger().trace("node end (-"), "NODE_DEND";
410
+ case 39:
411
+ return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
412
+ case 40:
413
+ return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
414
+ case 41:
415
+ return n.getLogger().trace("Long description:", a.yytext), 21;
416
+ case 42:
417
+ return n.getLogger().trace("Long description:", a.yytext), 21;
418
+ }
419
+ }, "anonymous"),
420
+ rules: [/^(?:@\{)/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^\"]+)/i, /^(?:[^}^"]+)/i, /^(?:\})/i, /^(?:\s*%%.*)/i, /^(?:kanban\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}@]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
421
+ conditions: { shapeDataEndBracket: { rules: [], inclusive: !1 }, shapeDataStr: { rules: [2, 3], inclusive: !1 }, shapeData: { rules: [1, 4, 5], inclusive: !1 }, CLASS: { rules: [9, 10], inclusive: !1 }, ICON: { rules: [14, 15], inclusive: !1 }, NSTR2: { rules: [28, 29], inclusive: !1 }, NSTR: { rules: [31, 32], inclusive: !1 }, NODE: { rules: [27, 30, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], inclusive: !1 }, INITIAL: { rules: [0, 6, 7, 8, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], inclusive: !0 } }
422
+ };
423
+ return _;
424
+ }();
425
+ V.lexer = m;
426
+ function O() {
427
+ this.yy = {};
428
+ }
429
+ return c(O, "Parser"), O.prototype = V, V.Parser = O, new O();
430
+ }();
431
+ $.parser = $;
432
+ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
433
+ D = [], ne = [], ee = 0, se = {};
434
+ }, "clear"), ve = /* @__PURE__ */ c((t) => {
435
+ if (D.length === 0)
436
+ return null;
437
+ const g = D[0].level;
438
+ let d = null;
439
+ for (let r = D.length - 1; r >= 0; r--)
440
+ if (D[r].level === g && !d && (d = D[r]), D[r].level < g)
441
+ throw new Error('Items without section detected, found section ("' + D[r].label + '")');
442
+ return t === (d == null ? void 0 : d.level) ? null : d;
443
+ }, "getSection"), he = /* @__PURE__ */ c(function() {
444
+ return ne;
445
+ }, "getSections"), De = /* @__PURE__ */ c(function() {
446
+ const t = [], g = [], d = he(), r = W();
447
+ for (const p of d) {
448
+ const E = {
449
+ id: p.id,
450
+ label: G(p.label ?? "", r),
451
+ isGroup: !0,
452
+ ticket: p.ticket,
453
+ shape: "kanbanSection",
454
+ level: p.level,
455
+ look: r.look
456
+ };
457
+ g.push(E);
458
+ const f = D.filter((h) => h.parentId === p.id);
459
+ for (const h of f) {
460
+ const L = {
461
+ id: h.id,
462
+ parentId: p.id,
463
+ label: G(h.label ?? "", r),
464
+ isGroup: !1,
465
+ ticket: h == null ? void 0 : h.ticket,
466
+ priority: h == null ? void 0 : h.priority,
467
+ assigned: h == null ? void 0 : h.assigned,
468
+ icon: h == null ? void 0 : h.icon,
469
+ shape: "kanbanItem",
470
+ level: h.level,
471
+ rx: 5,
472
+ ry: 5,
473
+ cssStyles: ["text-align: left"]
474
+ };
475
+ g.push(L);
476
+ }
477
+ }
478
+ return { nodes: g, edges: t, other: {}, config: W() };
479
+ }, "getData"), Le = /* @__PURE__ */ c((t, g, d, r, p) => {
480
+ var C, w;
481
+ const E = W();
482
+ let f = ((C = E.mindmap) == null ? void 0 : C.padding) ?? Y.mindmap.padding;
483
+ switch (r) {
484
+ case y.ROUNDED_RECT:
485
+ case y.RECT:
486
+ case y.HEXAGON:
487
+ f *= 2;
488
+ }
489
+ const h = {
490
+ id: G(g, E) || "kbn" + ee++,
491
+ level: t,
492
+ label: G(d, E),
493
+ width: ((w = E.mindmap) == null ? void 0 : w.maxNodeWidth) ?? Y.mindmap.maxNodeWidth,
494
+ padding: f,
495
+ isGroup: !1
496
+ };
497
+ if (p !== void 0) {
498
+ let N;
499
+ p.includes(`
500
+ `) ? N = p + `
501
+ ` : N = `{
502
+ ` + p + `
503
+ }`;
504
+ const i = Ee(N, { schema: ke });
505
+ if (i.shape && (i.shape !== i.shape.toLowerCase() || i.shape.includes("_")))
506
+ throw new Error(`No such shape: ${i.shape}. Shape names should be lowercase.`);
507
+ i != null && i.shape && i.shape === "kanbanItem" && (h.shape = i == null ? void 0 : i.shape), i != null && i.label && (h.label = i == null ? void 0 : i.label), i != null && i.icon && (h.icon = i == null ? void 0 : i.icon.toString()), i != null && i.assigned && (h.assigned = i == null ? void 0 : i.assigned.toString()), i != null && i.ticket && (h.ticket = i == null ? void 0 : i.ticket.toString()), i != null && i.priority && (h.priority = i == null ? void 0 : i.priority);
508
+ }
509
+ const L = ve(t);
510
+ L ? h.parentId = L.id || "kbn" + ee++ : ne.push(h), D.push(h);
511
+ }, "addNode"), y = {
512
+ DEFAULT: 0,
513
+ NO_BORDER: 0,
514
+ ROUNDED_RECT: 1,
515
+ RECT: 2,
516
+ CIRCLE: 3,
517
+ CLOUD: 4,
518
+ BANG: 5,
519
+ HEXAGON: 6
520
+ }, Oe = /* @__PURE__ */ c((t, g) => {
521
+ switch (te.debug("In get type", t, g), t) {
522
+ case "[":
523
+ return y.RECT;
524
+ case "(":
525
+ return g === ")" ? y.ROUNDED_RECT : y.CLOUD;
526
+ case "((":
527
+ return y.CIRCLE;
528
+ case ")":
529
+ return y.CLOUD;
530
+ case "))":
531
+ return y.BANG;
532
+ case "{{":
533
+ return y.HEXAGON;
534
+ default:
535
+ return y.DEFAULT;
536
+ }
537
+ }, "getType"), Ie = /* @__PURE__ */ c((t, g) => {
538
+ se[t] = g;
539
+ }, "setElementForId"), Ce = /* @__PURE__ */ c((t) => {
540
+ if (!t)
541
+ return;
542
+ const g = W(), d = D[D.length - 1];
543
+ t.icon && (d.icon = G(t.icon, g)), t.class && (d.cssClasses = G(t.class, g));
544
+ }, "decorateNode"), we = /* @__PURE__ */ c((t) => {
545
+ switch (t) {
546
+ case y.DEFAULT:
547
+ return "no-border";
548
+ case y.RECT:
549
+ return "rect";
550
+ case y.ROUNDED_RECT:
551
+ return "rounded-rect";
552
+ case y.CIRCLE:
553
+ return "circle";
554
+ case y.CLOUD:
555
+ return "cloud";
556
+ case y.BANG:
557
+ return "bang";
558
+ case y.HEXAGON:
559
+ return "hexgon";
560
+ // cspell: disable-line
561
+ default:
562
+ return "no-border";
563
+ }
564
+ }, "type2Str"), Ae = /* @__PURE__ */ c(() => te, "getLogger"), Te = /* @__PURE__ */ c((t) => se[t], "getElementById"), Re = {
565
+ clear: xe,
566
+ addNode: Le,
567
+ getSections: he,
568
+ getData: De,
569
+ nodeType: y,
570
+ getType: Oe,
571
+ setElementForId: Ie,
572
+ decorateNode: Ce,
573
+ type2Str: we,
574
+ getLogger: Ae,
575
+ getElementById: Te
576
+ }, Pe = Re, Ve = /* @__PURE__ */ c(async (t, g, d, r) => {
577
+ var M, U, A, j, V;
578
+ te.debug(`Rendering kanban diagram
579
+ ` + t);
580
+ const E = r.db.getData(), f = W();
581
+ f.htmlLabels = !1;
582
+ const h = fe(g), L = h.append("g");
583
+ L.attr("class", "sections");
584
+ const C = h.append("g");
585
+ C.attr("class", "items");
586
+ const w = E.nodes.filter(
587
+ // TODO: TypeScript 5.5 will infer this predicate automatically
588
+ (m) => m.isGroup
589
+ );
590
+ let N = 0;
591
+ const i = 10, H = [];
592
+ let x = 25;
593
+ for (const m of w) {
594
+ const O = ((M = f == null ? void 0 : f.kanban) == null ? void 0 : M.sectionWidth) || 200;
595
+ N = N + 1, m.x = O * N + (N - 1) * i / 2, m.width = O, m.y = 0, m.height = O * 3, m.rx = 5, m.ry = 5, m.cssClasses = m.cssClasses + " section-" + N;
596
+ const _ = await ye(L, m);
597
+ x = Math.max(x, (U = _ == null ? void 0 : _.labelBBox) == null ? void 0 : U.height), H.push(_);
598
+ }
599
+ let P = 0;
600
+ for (const m of w) {
601
+ const O = H[P];
602
+ P = P + 1;
603
+ const _ = ((A = f == null ? void 0 : f.kanban) == null ? void 0 : A.sectionWidth) || 200, s = -_ * 3 / 2 + x;
604
+ let n = s;
605
+ const a = E.nodes.filter((e) => e.parentId === m.id);
606
+ for (const e of a) {
607
+ if (e.isGroup)
608
+ throw new Error("Groups within groups are not allowed in Kanban diagrams");
609
+ e.x = m.x, e.width = _ - 1.5 * i;
610
+ const l = (await be(C, e, { config: f })).node().getBBox();
611
+ e.y = n + l.height / 2, await me(e), n = e.y + l.height / 2 + i / 2;
612
+ }
613
+ const o = O.cluster.select("rect"), u = Math.max(n - s + 3 * i, 50) + (x - 25);
614
+ o.attr("height", u);
615
+ }
616
+ _e(
617
+ void 0,
618
+ h,
619
+ ((j = f.mindmap) == null ? void 0 : j.padding) ?? Y.kanban.padding,
620
+ ((V = f.mindmap) == null ? void 0 : V.useMaxWidth) ?? Y.kanban.useMaxWidth
621
+ );
622
+ }, "draw"), Be = {
623
+ draw: Ve
624
+ }, Fe = /* @__PURE__ */ c((t) => {
625
+ let g = "";
626
+ for (let r = 0; r < t.THEME_COLOR_LIMIT; r++)
627
+ t["lineColor" + r] = t["lineColor" + r] || t["cScaleInv" + r], Se(t["lineColor" + r]) ? t["lineColor" + r] = le(t["lineColor" + r], 20) : t["lineColor" + r] = ce(t["lineColor" + r], 20);
628
+ const d = /* @__PURE__ */ c((r, p) => t.darkMode ? ce(r, p) : le(r, p), "adjuster");
629
+ for (let r = 0; r < t.THEME_COLOR_LIMIT; r++) {
630
+ const p = "" + (17 - 3 * r);
631
+ g += `
632
+ .section-${r - 1} rect, .section-${r - 1} path, .section-${r - 1} circle, .section-${r - 1} polygon, .section-${r - 1} path {
633
+ fill: ${d(t["cScale" + r], 10)};
634
+ stroke: ${d(t["cScale" + r], 10)};
635
+
636
+ }
637
+ .section-${r - 1} text {
638
+ fill: ${t["cScaleLabel" + r]};
639
+ }
640
+ .node-icon-${r - 1} {
641
+ font-size: 40px;
642
+ color: ${t["cScaleLabel" + r]};
643
+ }
644
+ .section-edge-${r - 1}{
645
+ stroke: ${t["cScale" + r]};
646
+ }
647
+ .edge-depth-${r - 1}{
648
+ stroke-width: ${p};
649
+ }
650
+ .section-${r - 1} line {
651
+ stroke: ${t["cScaleInv" + r]} ;
652
+ stroke-width: 3;
653
+ }
654
+
655
+ .disabled, .disabled circle, .disabled text {
656
+ fill: lightgray;
657
+ }
658
+ .disabled text {
659
+ fill: #efefef;
660
+ }
661
+
662
+ .node rect,
663
+ .node circle,
664
+ .node ellipse,
665
+ .node polygon,
666
+ .node path {
667
+ fill: ${t.background};
668
+ stroke: ${t.nodeBorder};
669
+ stroke-width: 1px;
670
+ }
671
+
672
+ .kanban-ticket-link {
673
+ fill: ${t.background};
674
+ stroke: ${t.nodeBorder};
675
+ text-decoration: underline;
676
+ }
677
+ `;
678
+ }
679
+ return g;
680
+ }, "genSections"), Ge = /* @__PURE__ */ c((t) => `
681
+ .edge {
682
+ stroke-width: 3;
683
+ }
684
+ ${Fe(t)}
685
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
686
+ fill: ${t.git0};
687
+ }
688
+ .section-root text {
689
+ fill: ${t.gitBranchLabel0};
690
+ }
691
+ .icon-container {
692
+ height:100%;
693
+ display: flex;
694
+ justify-content: center;
695
+ align-items: center;
696
+ }
697
+ .edge {
698
+ fill: none;
699
+ }
700
+ .cluster-label, .label {
701
+ color: ${t.textColor};
702
+ fill: ${t.textColor};
703
+ }
704
+ .kanban-label {
705
+ dy: 1em;
706
+ alignment-baseline: middle;
707
+ text-anchor: middle;
708
+ dominant-baseline: middle;
709
+ text-align: center;
710
+ }
711
+ `, "getStyles"), He = Ge, Ue = {
712
+ db: Pe,
713
+ renderer: Be,
714
+ parser: Ne,
715
+ styles: He
716
+ };
717
+ export {
718
+ Ue as diagram
719
+ };