@automattic/agenttic-ui 0.1.11 → 0.1.13

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 (346) hide show
  1. package/dist/components/chat/ChatInput.d.ts.map +1 -1
  2. package/dist/components/composable/AgentUISuggestions.d.ts +2 -1
  3. package/dist/components/composable/AgentUISuggestions.d.ts.map +1 -1
  4. package/dist/index.css +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +2050 -41
  8. package/package.json +2 -5
  9. package/dist/_basePickBy-Co6w2C-t.js +0 -151
  10. package/dist/_baseUniq-BbhifY2s.js +0 -614
  11. package/dist/abap-Y8Dl9g_6.js +0 -6
  12. package/dist/actionscript-3-DZzbMeqX.js +0 -6
  13. package/dist/ada-vP6ak0IW.js +0 -6
  14. package/dist/andromeeda-uXNdzNpk.js +0 -4
  15. package/dist/angular-html-BmadGEgW.js +0 -32
  16. package/dist/angular-ts-D-QQnnGT.js +0 -21
  17. package/dist/apache-BUjz-sD2.js +0 -6
  18. package/dist/apex-D_wPycVx.js +0 -6
  19. package/dist/apl-sitt7C8I.js +0 -16
  20. package/dist/applescript-BPx7YFFu.js +0 -6
  21. package/dist/ara-Z2fSOxSw.js +0 -6
  22. package/dist/arc-DMQNivgh.js +0 -83
  23. package/dist/architecture-O4VJ6CD3-CrsUkgBe.js +0 -5
  24. package/dist/architectureDiagram-KFL7JDKH-BCeU_Tkj.js +0 -4665
  25. package/dist/asciidoc-B-pCoB3G.js +0 -6
  26. package/dist/asm-BTWLY5ym.js +0 -6
  27. package/dist/astro-DHnp0xIo.js +0 -18
  28. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  29. package/dist/awk-Fb0P9dkn.js +0 -6
  30. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  31. package/dist/ballerina-oZK-YekG.js +0 -6
  32. package/dist/bat-0FvbqU9S.js +0 -6
  33. package/dist/beancount-DEfTbbFX.js +0 -6
  34. package/dist/berry-PwsHPR_K.js +0 -6
  35. package/dist/bibtex-EULQRLY5.js +0 -6
  36. package/dist/bicep-DFU2oTl7.js +0 -6
  37. package/dist/blade-OPzGcV14.js +0 -20
  38. package/dist/blockDiagram-ZYB65J3Q-eNfG2owp.js +0 -2265
  39. package/dist/bsl-NkNNwerW.js +0 -8
  40. package/dist/c-eeMepfLm.js +0 -6
  41. package/dist/c4Diagram-AAMF2YG6-CEVcZg_d.js +0 -1581
  42. package/dist/cadence-DMRWHJp4.js +0 -6
  43. package/dist/cairo-DM6WF2e3.js +0 -8
  44. package/dist/catppuccin-frappe-DlGpEc12.js +0 -4
  45. package/dist/catppuccin-latte-DDI4I_Rd.js +0 -4
  46. package/dist/catppuccin-macchiato-BBzuZG5U.js +0 -4
  47. package/dist/catppuccin-mocha-CwrFPXRy.js +0 -4
  48. package/dist/channel-DwkBtswx.js +0 -5
  49. package/dist/chunk-ANTBXLJU-DjsG4Faa.js +0 -9
  50. package/dist/chunk-FHKO5MBM-DvgpKHah.js +0 -15
  51. package/dist/chunk-GLLZNHP4-BS9MWsNn.js +0 -19
  52. package/dist/chunk-JBRWN2VN-BB1oFn95.js +0 -1376
  53. package/dist/chunk-LXBSTHXV-DoWWvL-R.js +0 -1382
  54. package/dist/chunk-NRVI72HA-CN8BG5Yn.js +0 -20
  55. package/dist/chunk-OMD6QJNC-D7UKmZm8.js +0 -64
  56. package/dist/chunk-WVR4S24B-D3bw0yi4.js +0 -8
  57. package/dist/clarity-BseSxcHx.js +0 -6
  58. package/dist/classDiagram-3BZAVTQC-DhpbenB7.js +0 -16
  59. package/dist/classDiagram-v2-QTMF73CY-DhpbenB7.js +0 -16
  60. package/dist/clojure-CXJfHrL3.js +0 -6
  61. package/dist/clone-DmrWxu_i.js +0 -8
  62. package/dist/cmake-BJz8BOTU.js +0 -6
  63. package/dist/cobol-4A8XjHhj.js +0 -10
  64. package/dist/codeowners-Bt9yU6NX.js +0 -6
  65. package/dist/codeql-DHkodjjI.js +0 -6
  66. package/dist/coffee-Dl27lzbd.js +0 -8
  67. package/dist/common-lisp-EVqT9Zhp.js +0 -6
  68. package/dist/coq-B0L9upzn.js +0 -6
  69. package/dist/cpp-Cj177cuW.js +0 -18
  70. package/dist/crystal-ymVvJzbZ.js +0 -18
  71. package/dist/csharp-DmxfTLWR.js +0 -6
  72. package/dist/css-CECN5uSL.js +0 -6
  73. package/dist/csv-CmYOceLb.js +0 -6
  74. package/dist/cue-ZzumE7IT.js +0 -6
  75. package/dist/cypher-jpdmjtA6.js +0 -6
  76. package/dist/cytoscape.esm-ZmItrg9y.js +0 -18731
  77. package/dist/d-CBagWSwH.js +0 -6
  78. package/dist/dagre-2BBEFEWP-DWbEdWsD.js +0 -447
  79. package/dist/dark-plus-pUHDTVV0.js +0 -4
  80. package/dist/dart-6ObCrKr9.js +0 -6
  81. package/dist/dax-CcDT-8dH.js +0 -6
  82. package/dist/defaultLocale-D7EN2tov.js +0 -171
  83. package/dist/desktop-B93p9R9O.js +0 -6
  84. package/dist/diagram-4IRLE6MV-Q8q6qm5n.js +0 -534
  85. package/dist/diagram-GUPCWM2R-B8VhFieT.js +0 -143
  86. package/dist/diagram-RP2FKANI-CYWUKKLB.js +0 -221
  87. package/dist/diff-BxzP2J8R.js +0 -6
  88. package/dist/docker-CsHqm9tx.js +0 -6
  89. package/dist/dotenv-BMjVjUL1.js +0 -6
  90. package/dist/dracula-BtZx2Kac.js +0 -4
  91. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  92. package/dist/dream-maker-PAx17jaB.js +0 -6
  93. package/dist/edge-_LvgTcmu.js +0 -12
  94. package/dist/elixir-BTCUAmQk.js +0 -8
  95. package/dist/elm-BtNbw_Cd.js +0 -8
  96. package/dist/emacs-lisp-Cfxdx5D-.js +0 -6
  97. package/dist/erDiagram-HZWUO2LU-CC0RhTpv.js +0 -842
  98. package/dist/erb-D0PIpZCP.js +0 -10
  99. package/dist/erlang-xM7DPKQj.js +0 -8
  100. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  101. package/dist/everforest-light-BbXl82Em.js +0 -4
  102. package/dist/fennel-N4WcXuKx.js +0 -6
  103. package/dist/fish-B6QqlqeT.js +0 -6
  104. package/dist/flowDiagram-THRYKUMA-B00E_hY6.js +0 -1627
  105. package/dist/fluent-BMXUxfv1.js +0 -6
  106. package/dist/fortran-fixed-form-DUsA-VGo.js +0 -8
  107. package/dist/fortran-free-form-DPIT_jbP.js +0 -6
  108. package/dist/fsharp-BTdsmEUN.js +0 -8
  109. package/dist/ganttDiagram-WV7ZQ7D5-Cv2vsghm.js +0 -2499
  110. package/dist/gdresource-DLfsylRW.js +0 -10
  111. package/dist/gdscript-9lm8qppb.js +0 -6
  112. package/dist/gdshader-Bk8fF6yr.js +0 -6
  113. package/dist/genie-DzUvd7U9.js +0 -6
  114. package/dist/gherkin-DHRaV0YP.js +0 -6
  115. package/dist/git-commit-Bd32YZ0K.js +0 -8
  116. package/dist/git-rebase-ZWUFO_T4.js +0 -8
  117. package/dist/gitGraph-ZV4HHKMB-Bj31zYat.js +0 -5
  118. package/dist/gitGraphDiagram-OJR772UL-BGrYC5q0.js +0 -712
  119. package/dist/github-dark-DenFmJkN.js +0 -4
  120. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  121. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  122. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  123. package/dist/github-light-JYsPkUQd.js +0 -4
  124. package/dist/github-light-default-D99KPAby.js +0 -4
  125. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  126. package/dist/gleam-Bv284lvN.js +0 -6
  127. package/dist/glimmer-js-CkxRszZZ.js +0 -14
  128. package/dist/glimmer-ts-Bi6BYQCn.js +0 -14
  129. package/dist/glsl-CkUcVZNK.js +0 -8
  130. package/dist/gnuplot-yPG9-sE_.js +0 -6
  131. package/dist/go-ChxJuLYK.js +0 -6
  132. package/dist/graph-DaSuptw6.js +0 -247
  133. package/dist/graphql-BLaPX4fU.js +0 -14
  134. package/dist/groovy-CJQTphOW.js +0 -6
  135. package/dist/gruvbox-dark-hard-C2ND4cMr.js +0 -4
  136. package/dist/gruvbox-dark-medium-C8k4c8au.js +0 -4
  137. package/dist/gruvbox-dark-soft-xx9Q6FaG.js +0 -4
  138. package/dist/gruvbox-light-hard-BpUXv5in.js +0 -4
  139. package/dist/gruvbox-light-medium-D3XFCoU1.js +0 -4
  140. package/dist/gruvbox-light-soft-u7hpfz6Z.js +0 -4
  141. package/dist/hack-Bx1jMtBC.js +0 -10
  142. package/dist/haml-6FagfhCM.js +0 -10
  143. package/dist/handlebars-Bd5Y4M6I.js +0 -14
  144. package/dist/haskell-WeIwNIP6.js +0 -6
  145. package/dist/haxe-TztHsm5T.js +0 -6
  146. package/dist/hcl-D438OF-I.js +0 -6
  147. package/dist/hjson-DYBUbqOl.js +0 -6
  148. package/dist/hlsl-Bk8TCZNL.js +0 -6
  149. package/dist/houston-BDYrDoDW.js +0 -4
  150. package/dist/html-7XVNRwN7.js +0 -10
  151. package/dist/html-derivative-BNxZ5Yf6.js +0 -8
  152. package/dist/http-WC357zBG.js +0 -14
  153. package/dist/hxml-GbqSQCLa.js +0 -8
  154. package/dist/hy-Brt5EZ7-.js +0 -6
  155. package/dist/imba-CimUv-Uh.js +0 -6
  156. package/dist/index-DR9mkSeU.js +0 -29474
  157. package/dist/info-63CPKGFF-DnZM8nKQ.js +0 -5
  158. package/dist/infoDiagram-DDUCL6P7-ClQolrbt.js +0 -24
  159. package/dist/ini-BZIuRIvJ.js +0 -6
  160. package/dist/init-DjUOC4st.js +0 -16
  161. package/dist/java-DY6VlHhP.js +0 -6
  162. package/dist/javascript-Dp1Jmi5H.js +0 -6
  163. package/dist/jinja-WEhOU5ES.js +0 -11
  164. package/dist/jison-c2JI40PB.js +0 -8
  165. package/dist/journeyDiagram-FFXJYRFH-P_IVMTj2.js +0 -836
  166. package/dist/json-DxJze_jm.js +0 -6
  167. package/dist/json5-BT4Fjg39.js +0 -6
  168. package/dist/jsonc-CHjZD8gR.js +0 -6
  169. package/dist/jsonl-BGuvDmy9.js +0 -6
  170. package/dist/jsonnet-Bx2cfsXg.js +0 -6
  171. package/dist/jssm-BcADi6EI.js +0 -6
  172. package/dist/jsx-BtKADgXT.js +0 -6
  173. package/dist/julia-DcoDQokW.js +0 -16
  174. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  175. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  176. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  177. package/dist/kanban-definition-KOZQBZVT-Uk8JKe_b.js +0 -720
  178. package/dist/kotlin-ByBMgTeR.js +0 -6
  179. package/dist/kusto-VWFLl2T0.js +0 -6
  180. package/dist/laserwave-6a00oqik.js +0 -4
  181. package/dist/latex-MZCpjnva.js +0 -8
  182. package/dist/layout-BHKAMNdk.js +0 -1324
  183. package/dist/lean-DXqEE_d1.js +0 -6
  184. package/dist/less-B1GLI2Di.js +0 -6
  185. package/dist/light-plus-CZuVqSLX.js +0 -4
  186. package/dist/linear-UAzexi4b.js +0 -255
  187. package/dist/liquid-3HHuHOZ2.js +0 -14
  188. package/dist/llvm-6RQLId6G.js +0 -6
  189. package/dist/log-Al8wyEFV.js +0 -6
  190. package/dist/logo-DBa4JDzV.js +0 -6
  191. package/dist/lua-kX5WP_P5.js +0 -8
  192. package/dist/luau-BeoZWRh5.js +0 -6
  193. package/dist/make-CsMclxtr.js +0 -6
  194. package/dist/markdown-CiI2E98D.js +0 -6
  195. package/dist/marko-L-KhXzqZ.js +0 -14
  196. package/dist/material-theme-D6KBX41T.js +0 -4
  197. package/dist/material-theme-darker-CkRroheE.js +0 -4
  198. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  199. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  200. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  201. package/dist/matlab-BOAaUVP0.js +0 -6
  202. package/dist/mdc-DPBWa7dN.js +0 -12
  203. package/dist/mdx-BOhZZUJ8.js +0 -6
  204. package/dist/mermaid-B0ixDHKN.js +0 -6
  205. package/dist/mermaid-parser.core-FuzJzmL7.js +0 -12921
  206. package/dist/mermaid.core-D7qBd055.js +0 -14002
  207. package/dist/min-dark-C7ak0t6c.js +0 -4
  208. package/dist/min-light-CKFxVcPp.js +0 -4
  209. package/dist/mindmap-definition-LNHGMQRG-D1C2-kkn.js +0 -3229
  210. package/dist/mipsasm-CTx18fBl.js +0 -6
  211. package/dist/mojo-BD611d7o.js +0 -6
  212. package/dist/monokai-C1KBYcO0.js +0 -4
  213. package/dist/move-653S600C.js +0 -6
  214. package/dist/narrat-DmhDCBs-.js +0 -6
  215. package/dist/nextflow-D1Zd9cNl.js +0 -6
  216. package/dist/nginx-5vhPAEw3.js +0 -8
  217. package/dist/night-owl-Bm2rzalh.js +0 -4
  218. package/dist/nim-Fi8wNe6i.js +0 -20
  219. package/dist/nix-ceY58Dty.js +0 -6
  220. package/dist/nord-CC5OiUXg.js +0 -4
  221. package/dist/nushell-Be2rueDv.js +0 -6
  222. package/dist/objective-c-Itk8tzmv.js +0 -6
  223. package/dist/objective-cpp-DGt5UKRO.js +0 -6
  224. package/dist/ocaml-eSVK32Eg.js +0 -6
  225. package/dist/one-dark-pro-DTA3VF0_.js +0 -4
  226. package/dist/one-light-D9sNaUtq.js +0 -4
  227. package/dist/ordinal-DfAQgscy.js +0 -61
  228. package/dist/packet-HUATNLJX-B5EJOyma.js +0 -5
  229. package/dist/pascal-xy8pJNns.js +0 -6
  230. package/dist/perl-BoEn6HmT.js +0 -16
  231. package/dist/php-BRU9zhoN.js +0 -18
  232. package/dist/pie-WTHONI2E-Bl1BKqE7.js +0 -5
  233. package/dist/pieDiagram-DBDJKBY4-BkVTsR1n.js +0 -161
  234. package/dist/plastic-CSTz3KZp.js +0 -4
  235. package/dist/plsql-pVbGZfOv.js +0 -6
  236. package/dist/po-BNfHvqmm.js +0 -6
  237. package/dist/poimandres-C-VADXHD.js +0 -4
  238. package/dist/polar-CAZahv3u.js +0 -6
  239. package/dist/postcss-05aHdL-n.js +0 -6
  240. package/dist/powerquery-DI9HkTvs.js +0 -6
  241. package/dist/powershell-Clc4ydu-.js +0 -6
  242. package/dist/prisma-FZjmVtSl.js +0 -6
  243. package/dist/prolog-C5-yg4TO.js +0 -6
  244. package/dist/proto-MmCPeFAD.js +0 -6
  245. package/dist/pug-CJWI-qSo.js +0 -12
  246. package/dist/puppet-CUJHmnxV.js +0 -6
  247. package/dist/purescript-rUfGld-4.js +0 -6
  248. package/dist/python-BFNSHbwJ.js +0 -6
  249. package/dist/qml-D3ATcgGh.js +0 -8
  250. package/dist/qmldir-BInDYbpo.js +0 -6
  251. package/dist/qss-AeJTysr_.js +0 -6
  252. package/dist/quadrantDiagram-YPSRARAO-D1el8UE7.js +0 -1024
  253. package/dist/r-Bm0uF0U2.js +0 -6
  254. package/dist/racket-B83wSAja.js +0 -6
  255. package/dist/radar-NJJJXTRR-Ba8Estdw.js +0 -5
  256. package/dist/raku-nEQ4ZJJ7.js +0 -6
  257. package/dist/razor-BPFYEoc9.js +0 -10
  258. package/dist/red-7y8PH7HH.js +0 -4
  259. package/dist/reg-m_s_Kiip.js +0 -6
  260. package/dist/regexp-BazyLpPg.js +0 -6
  261. package/dist/rel-BcRfyd6Q.js +0 -6
  262. package/dist/requirementDiagram-EGVEC5DT-DL1bEAjs.js +0 -852
  263. package/dist/riscv-Ce8MAQLP.js +0 -6
  264. package/dist/rose-pine-Cr4kwgAY.js +0 -4
  265. package/dist/rose-pine-dawn-ClRRUdXX.js +0 -4
  266. package/dist/rose-pine-moon-ucNn3Gm8.js +0 -4
  267. package/dist/rst-B6mPMsKo.js +0 -22
  268. package/dist/ruby-DInklMmU.js +0 -30
  269. package/dist/rust-CLzF9zIN.js +0 -6
  270. package/dist/sankeyDiagram-HRAUVNP4-Dyr3TqRu.js +0 -810
  271. package/dist/sas-fpEvgATw.js +0 -8
  272. package/dist/sass-DxHp5rTx.js +0 -6
  273. package/dist/scala-D4grkFkl.js +0 -6
  274. package/dist/scheme-BCRWuEm4.js +0 -6
  275. package/dist/scss-B1FaCqwR.js +0 -8
  276. package/dist/sdbl-B7T8abf4.js +0 -6
  277. package/dist/sequenceDiagram-4MX5Z3NR-CaMVkEvG.js +0 -2283
  278. package/dist/shaderlab-Cr62-Wb4.js +0 -8
  279. package/dist/shellscript-InADTalH.js +0 -6
  280. package/dist/shellsession-DiDJNQdy.js +0 -8
  281. package/dist/slack-dark-i7wN4OET.js +0 -4
  282. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  283. package/dist/smalltalk-BlI1_OkM.js +0 -6
  284. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  285. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  286. package/dist/solarized-light-BheCkDPT.js +0 -4
  287. package/dist/solidity-CneOhxmR.js +0 -6
  288. package/dist/soy-LybuU3Y_.js +0 -8
  289. package/dist/sparql-B0KWFEri.js +0 -8
  290. package/dist/splunk-CRXR8A9s.js +0 -6
  291. package/dist/sql-Cn_v3PB0.js +0 -6
  292. package/dist/ssh-config-DP-hNVbF.js +0 -6
  293. package/dist/stata-B8c5fTjX.js +0 -8
  294. package/dist/stateDiagram-UUKSUZ4H-D-xTiq6H.js +0 -263
  295. package/dist/stateDiagram-v2-EYPG3UTE-BK5bFTpp.js +0 -16
  296. package/dist/stylus-CyKEU1Ej.js +0 -6
  297. package/dist/svelte-BjDUPxZ1.js +0 -14
  298. package/dist/swift-_uF_96_m.js +0 -6
  299. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  300. package/dist/system-verilog-BCm7smPJ.js +0 -6
  301. package/dist/systemd-C-4qm6XH.js +0 -6
  302. package/dist/talonscript-CFF3LF_O.js +0 -6
  303. package/dist/tasl-Cg_WBUAe.js +0 -6
  304. package/dist/tcl-DN7buRTF.js +0 -6
  305. package/dist/templ-Brj2RH7A.js +0 -12
  306. package/dist/terraform-DGvcn9zM.js +0 -6
  307. package/dist/tex-CmrLTxbG.js +0 -8
  308. package/dist/timeline-definition-3HZDQTIS-DbCuAY-N.js +0 -801
  309. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  310. package/dist/toml-DY62mUL_.js +0 -6
  311. package/dist/treemap-75Q7IDZK-RcudvwLc.js +0 -5
  312. package/dist/ts-tags-CZMzuZh-.js +0 -41
  313. package/dist/tsv-BtvSkaG0.js +0 -6
  314. package/dist/tsx-B8rCNbgL.js +0 -6
  315. package/dist/turtle-_H59FV7D.js +0 -6
  316. package/dist/twig-GjIxYqCX.js +0 -18
  317. package/dist/typescript-mg6ATTE8.js +0 -6
  318. package/dist/typespec-Djmco60m.js +0 -6
  319. package/dist/typst-D_1QKWns.js +0 -6
  320. package/dist/v-BW14IZv7.js +0 -6
  321. package/dist/vala-uxaPR7d1.js +0 -6
  322. package/dist/vb-D8_c5-KN.js +0 -6
  323. package/dist/verilog-B-bybjPF.js +0 -6
  324. package/dist/vesper-BckBta1U.js +0 -4
  325. package/dist/vhdl-CUlNa8ac.js +0 -6
  326. package/dist/viml-DsfA-sWm.js +0 -6
  327. package/dist/vitesse-black-BoGvW84i.js +0 -4
  328. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  329. package/dist/vitesse-light-CcmG315c.js +0 -4
  330. package/dist/vue-D-ba2-Rx.js +0 -31
  331. package/dist/vue-html-Dn2ZoOSz.js +0 -10
  332. package/dist/vue-vine-Jmfkm6lF.js +0 -20
  333. package/dist/vyper-CPQuu50u.js +0 -6
  334. package/dist/wasm-BBXxrAl7.js +0 -6
  335. package/dist/wasm-DQxwEHae.js +0 -7
  336. package/dist/wenyan-pbVjoM9_.js +0 -6
  337. package/dist/wgsl-DY4iK1q1.js +0 -6
  338. package/dist/wikitext-Z-MoUasO.js +0 -6
  339. package/dist/wit-CQMQOlTg.js +0 -6
  340. package/dist/wolfram-Dz4KXISs.js +0 -6
  341. package/dist/xml-C2J0sS9M.js +0 -8
  342. package/dist/xsl-BmSZphgC.js +0 -8
  343. package/dist/xychartDiagram-FDP5SA34-NGeBTA9Y.js +0 -1340
  344. package/dist/yaml-DaO7k5B1.js +0 -6
  345. package/dist/zenscript-CxBjpf9c.js +0 -6
  346. package/dist/zig-Vm0PO9wB.js +0 -6
@@ -1,720 +0,0 @@
1
- import { g as fe } from "./chunk-GLLZNHP4-BS9MWsNn.js";
2
- import { _ as c, l as te, c as W, K as ye, ah as be, ai as me, aj as _e, ac as Ee, H as Y, i as G, v as ke, J as Se, ad as Ne, ae as le, af as ce } from "./mermaid.core-D7qBd055.js";
3
- var $ = function() {
4
- var t = /* @__PURE__ */ c(function(_, s, n, a) {
5
- for (n = n || {}, a = _.length; a--; n[_[a]] = s) ;
6
- return n;
7
- }, "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], j = [1, 31], x = [6, 7, 11, 24], P = [1, 6, 13, 16, 17, 20, 23], H = [1, 35], M = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], U = [1, 38], V = {
8
- trace: /* @__PURE__ */ c(function() {
9
- }, "trace"),
10
- yy: {},
11
- 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 },
12
- 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" },
13
- 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]],
14
- performAction: /* @__PURE__ */ c(function(s, n, a, o, u, e, B) {
15
- var l = e.length - 1;
16
- switch (u) {
17
- case 6:
18
- case 7:
19
- return o;
20
- case 8:
21
- o.getLogger().trace("Stop NL ");
22
- break;
23
- case 9:
24
- o.getLogger().trace("Stop EOF ");
25
- break;
26
- case 11:
27
- o.getLogger().trace("Stop NL2 ");
28
- break;
29
- case 12:
30
- o.getLogger().trace("Stop EOF2 ");
31
- break;
32
- case 15:
33
- 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]);
34
- break;
35
- case 16:
36
- o.getLogger().info("Node: ", e[l].id), o.addNode(e[l - 1].length, e[l].id, e[l].descr, e[l].type);
37
- break;
38
- case 17:
39
- o.getLogger().trace("Icon: ", e[l]), o.decorateNode({ icon: e[l] });
40
- break;
41
- case 18:
42
- case 23:
43
- o.decorateNode({ class: e[l] });
44
- break;
45
- case 19:
46
- o.getLogger().trace("SPACELIST");
47
- break;
48
- case 20:
49
- 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]);
50
- break;
51
- case 21:
52
- o.getLogger().trace("Node: ", e[l].id), o.addNode(0, e[l].id, e[l].descr, e[l].type);
53
- break;
54
- case 22:
55
- o.decorateNode({ icon: e[l] });
56
- break;
57
- case 27:
58
- 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]) };
59
- break;
60
- case 28:
61
- this.$ = { id: e[l], descr: e[l], type: 0 };
62
- break;
63
- case 29:
64
- 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]) };
65
- break;
66
- case 30:
67
- this.$ = e[l - 1] + e[l];
68
- break;
69
- case 31:
70
- this.$ = e[l];
71
- break;
72
- }
73
- }, "anonymous"),
74
- 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: j }), 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: H, 11: M }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(i, [2, 16], { 15: 37, 24: j }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: U }), t(x, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, t(P, [2, 13], { 7: H, 11: M }), t(A, [2, 11]), t(A, [2, 12]), t(i, [2, 15], { 24: U }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
75
- defaultActions: { 2: [2, 1], 6: [2, 2] },
76
- parseError: /* @__PURE__ */ c(function(s, n) {
77
- if (n.recoverable)
78
- this.trace(s);
79
- else {
80
- var a = new Error(s);
81
- throw a.hash = n, a;
82
- }
83
- }, "parseError"),
84
- parse: /* @__PURE__ */ c(function(s) {
85
- 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: {} };
86
- for (var J in this.yy)
87
- Object.prototype.hasOwnProperty.call(this.yy, J) && (T.yy[J] = this.yy[J]);
88
- b.setInput(s, T.yy), T.yy.lexer = b, T.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
89
- var q = b.yylloc;
90
- e.push(q);
91
- var de = b.options && b.options.ranges;
92
- typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
93
- function pe(S) {
94
- a.length = a.length - 2 * S, u.length = u.length - S, e.length = e.length - S;
95
- }
96
- c(pe, "popStack");
97
- function ae() {
98
- var S;
99
- return S = o.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (o = S, S = o.pop()), S = n.symbols_[S] || S), S;
100
- }
101
- c(ae, "lex");
102
- for (var k, R, v, Q, F = {}, K, I, oe, X; ; ) {
103
- 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]) {
104
- var Z = "";
105
- X = [];
106
- for (K in B[R])
107
- this.terminals_[K] && K > ue && X.push("'" + this.terminals_[K] + "'");
108
- b.showPosition ? Z = "Parse error on line " + (z + 1) + `:
109
- ` + b.showPosition() + `
110
- 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, {
111
- text: b.match,
112
- token: this.terminals_[k] || k,
113
- line: b.yylineno,
114
- loc: q,
115
- expected: X
116
- });
117
- }
118
- if (v[0] instanceof Array && v.length > 1)
119
- throw new Error("Parse Error: multiple actions possible at state: " + R + ", token: " + k);
120
- switch (v[0]) {
121
- case 1:
122
- 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;
123
- break;
124
- case 2:
125
- if (I = this.productions_[v[1]][1], F.$ = u[u.length - I], F._$ = {
126
- first_line: e[e.length - (I || 1)].first_line,
127
- last_line: e[e.length - 1].last_line,
128
- first_column: e[e.length - (I || 1)].first_column,
129
- last_column: e[e.length - 1].last_column
130
- }, de && (F._$.range = [
131
- e[e.length - (I || 1)].range[0],
132
- e[e.length - 1].range[1]
133
- ]), Q = this.performAction.apply(F, [
134
- l,
135
- ie,
136
- z,
137
- T.yy,
138
- v[1],
139
- u,
140
- e
141
- ].concat(ge)), typeof Q < "u")
142
- return Q;
143
- 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);
144
- break;
145
- case 3:
146
- return !0;
147
- }
148
- }
149
- return !0;
150
- }, "parse")
151
- }, m = /* @__PURE__ */ function() {
152
- var _ = {
153
- EOF: 1,
154
- parseError: /* @__PURE__ */ c(function(n, a) {
155
- if (this.yy.parser)
156
- this.yy.parser.parseError(n, a);
157
- else
158
- throw new Error(n);
159
- }, "parseError"),
160
- // resets the lexer, sets new input
161
- setInput: /* @__PURE__ */ c(function(s, n) {
162
- 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 = {
163
- first_line: 1,
164
- first_column: 0,
165
- last_line: 1,
166
- last_column: 0
167
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
168
- }, "setInput"),
169
- // consumes and returns one char from the input
170
- input: /* @__PURE__ */ c(function() {
171
- var s = this._input[0];
172
- this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
173
- var n = s.match(/(?:\r\n?|\n).*/g);
174
- 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;
175
- }, "input"),
176
- // unshifts one char (or a string) into the input
177
- unput: /* @__PURE__ */ c(function(s) {
178
- var n = s.length, a = s.split(/(?:\r\n?|\n)/g);
179
- this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
180
- var o = this.match.split(/(?:\r\n?|\n)/g);
181
- 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);
182
- var u = this.yylloc.range;
183
- return this.yylloc = {
184
- first_line: this.yylloc.first_line,
185
- last_line: this.yylineno + 1,
186
- first_column: this.yylloc.first_column,
187
- 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
188
- }, this.options.ranges && (this.yylloc.range = [u[0], u[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
189
- }, "unput"),
190
- // When called from action, caches matched text and appends it on next action
191
- more: /* @__PURE__ */ c(function() {
192
- return this._more = !0, this;
193
- }, "more"),
194
- // 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.
195
- reject: /* @__PURE__ */ c(function() {
196
- if (this.options.backtrack_lexer)
197
- this._backtrack = !0;
198
- else
199
- 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).
200
- ` + this.showPosition(), {
201
- text: "",
202
- token: null,
203
- line: this.yylineno
204
- });
205
- return this;
206
- }, "reject"),
207
- // retain first n characters of the match
208
- less: /* @__PURE__ */ c(function(s) {
209
- this.unput(this.match.slice(s));
210
- }, "less"),
211
- // displays already matched input, i.e. for error messages
212
- pastInput: /* @__PURE__ */ c(function() {
213
- var s = this.matched.substr(0, this.matched.length - this.match.length);
214
- return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
215
- }, "pastInput"),
216
- // displays upcoming input, i.e. for error messages
217
- upcomingInput: /* @__PURE__ */ c(function() {
218
- var s = this.match;
219
- return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
220
- }, "upcomingInput"),
221
- // displays the character position where the lexing error occurred, i.e. for error messages
222
- showPosition: /* @__PURE__ */ c(function() {
223
- var s = this.pastInput(), n = new Array(s.length + 1).join("-");
224
- return s + this.upcomingInput() + `
225
- ` + n + "^";
226
- }, "showPosition"),
227
- // test the lexed token: return FALSE when not a match, otherwise return token
228
- test_match: /* @__PURE__ */ c(function(s, n) {
229
- var a, o, u;
230
- if (this.options.backtrack_lexer && (u = {
231
- yylineno: this.yylineno,
232
- yylloc: {
233
- first_line: this.yylloc.first_line,
234
- last_line: this.last_line,
235
- first_column: this.yylloc.first_column,
236
- last_column: this.yylloc.last_column
237
- },
238
- yytext: this.yytext,
239
- match: this.match,
240
- matches: this.matches,
241
- matched: this.matched,
242
- yyleng: this.yyleng,
243
- offset: this.offset,
244
- _more: this._more,
245
- _input: this._input,
246
- yy: this.yy,
247
- conditionStack: this.conditionStack.slice(0),
248
- done: this.done
249
- }, 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 = {
250
- first_line: this.yylloc.last_line,
251
- last_line: this.yylineno + 1,
252
- first_column: this.yylloc.last_column,
253
- last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
254
- }, 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)
255
- return a;
256
- if (this._backtrack) {
257
- for (var e in u)
258
- this[e] = u[e];
259
- return !1;
260
- }
261
- return !1;
262
- }, "test_match"),
263
- // return next match in input
264
- next: /* @__PURE__ */ c(function() {
265
- if (this.done)
266
- return this.EOF;
267
- this._input || (this.done = !0);
268
- var s, n, a, o;
269
- this._more || (this.yytext = "", this.match = "");
270
- for (var u = this._currentRules(), e = 0; e < u.length; e++)
271
- if (a = this._input.match(this.rules[u[e]]), a && (!n || a[0].length > n[0].length)) {
272
- if (n = a, o = e, this.options.backtrack_lexer) {
273
- if (s = this.test_match(a, u[e]), s !== !1)
274
- return s;
275
- if (this._backtrack) {
276
- n = !1;
277
- continue;
278
- } else
279
- return !1;
280
- } else if (!this.options.flex)
281
- break;
282
- }
283
- 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.
284
- ` + this.showPosition(), {
285
- text: "",
286
- token: null,
287
- line: this.yylineno
288
- });
289
- }, "next"),
290
- // return next match that has a token
291
- lex: /* @__PURE__ */ c(function() {
292
- var n = this.next();
293
- return n || this.lex();
294
- }, "lex"),
295
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
296
- begin: /* @__PURE__ */ c(function(n) {
297
- this.conditionStack.push(n);
298
- }, "begin"),
299
- // pop the previously active lexer condition state off the condition stack
300
- popState: /* @__PURE__ */ c(function() {
301
- var n = this.conditionStack.length - 1;
302
- return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
303
- }, "popState"),
304
- // produce the lexer rule set which is active for the currently active lexer condition state
305
- _currentRules: /* @__PURE__ */ c(function() {
306
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
307
- }, "_currentRules"),
308
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
309
- topState: /* @__PURE__ */ c(function(n) {
310
- return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
311
- }, "topState"),
312
- // alias for begin(condition)
313
- pushState: /* @__PURE__ */ c(function(n) {
314
- this.begin(n);
315
- }, "pushState"),
316
- // return the number of states currently on the stack
317
- stateStackSize: /* @__PURE__ */ c(function() {
318
- return this.conditionStack.length;
319
- }, "stateStackSize"),
320
- options: { "case-insensitive": !0 },
321
- performAction: /* @__PURE__ */ c(function(n, a, o, u) {
322
- switch (o) {
323
- case 0:
324
- return this.pushState("shapeData"), a.yytext = "", 24;
325
- case 1:
326
- return this.pushState("shapeDataStr"), 24;
327
- case 2:
328
- return this.popState(), 24;
329
- case 3:
330
- const e = /\n\s*/g;
331
- return a.yytext = a.yytext.replace(e, "<br/>"), 24;
332
- case 4:
333
- return 24;
334
- case 5:
335
- this.popState();
336
- break;
337
- case 6:
338
- return n.getLogger().trace("Found comment", a.yytext), 6;
339
- case 7:
340
- return 8;
341
- case 8:
342
- this.begin("CLASS");
343
- break;
344
- case 9:
345
- return this.popState(), 17;
346
- case 10:
347
- this.popState();
348
- break;
349
- case 11:
350
- n.getLogger().trace("Begin icon"), this.begin("ICON");
351
- break;
352
- case 12:
353
- return n.getLogger().trace("SPACELINE"), 6;
354
- case 13:
355
- return 7;
356
- case 14:
357
- return 16;
358
- case 15:
359
- n.getLogger().trace("end icon"), this.popState();
360
- break;
361
- case 16:
362
- return n.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
363
- case 17:
364
- return n.getLogger().trace("Cloud"), this.begin("NODE"), 20;
365
- case 18:
366
- return n.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
367
- case 19:
368
- return n.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
369
- case 20:
370
- return this.begin("NODE"), 20;
371
- case 21:
372
- return this.begin("NODE"), 20;
373
- case 22:
374
- return this.begin("NODE"), 20;
375
- case 23:
376
- return this.begin("NODE"), 20;
377
- case 24:
378
- return 13;
379
- case 25:
380
- return 23;
381
- case 26:
382
- return 11;
383
- case 27:
384
- this.begin("NSTR2");
385
- break;
386
- case 28:
387
- return "NODE_DESCR";
388
- case 29:
389
- this.popState();
390
- break;
391
- case 30:
392
- n.getLogger().trace("Starting NSTR"), this.begin("NSTR");
393
- break;
394
- case 31:
395
- return n.getLogger().trace("description:", a.yytext), "NODE_DESCR";
396
- case 32:
397
- this.popState();
398
- break;
399
- case 33:
400
- return this.popState(), n.getLogger().trace("node end ))"), "NODE_DEND";
401
- case 34:
402
- return this.popState(), n.getLogger().trace("node end )"), "NODE_DEND";
403
- case 35:
404
- return this.popState(), n.getLogger().trace("node end ...", a.yytext), "NODE_DEND";
405
- case 36:
406
- return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
407
- case 37:
408
- return this.popState(), n.getLogger().trace("node end (-"), "NODE_DEND";
409
- case 38:
410
- return this.popState(), n.getLogger().trace("node end (-"), "NODE_DEND";
411
- case 39:
412
- return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
413
- case 40:
414
- return this.popState(), n.getLogger().trace("node end (("), "NODE_DEND";
415
- case 41:
416
- return n.getLogger().trace("Long description:", a.yytext), 21;
417
- case 42:
418
- return n.getLogger().trace("Long description:", a.yytext), 21;
419
- }
420
- }, "anonymous"),
421
- 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],
422
- 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 } }
423
- };
424
- return _;
425
- }();
426
- V.lexer = m;
427
- function O() {
428
- this.yy = {};
429
- }
430
- return c(O, "Parser"), O.prototype = V, V.Parser = O, new O();
431
- }();
432
- $.parser = $;
433
- var xe = $, D = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ c(() => {
434
- D = [], ne = [], ee = 0, se = {};
435
- }, "clear"), De = /* @__PURE__ */ c((t) => {
436
- if (D.length === 0)
437
- return null;
438
- const g = D[0].level;
439
- let d = null;
440
- for (let r = D.length - 1; r >= 0; r--)
441
- if (D[r].level === g && !d && (d = D[r]), D[r].level < g)
442
- throw new Error('Items without section detected, found section ("' + D[r].label + '")');
443
- return t === (d == null ? void 0 : d.level) ? null : d;
444
- }, "getSection"), he = /* @__PURE__ */ c(function() {
445
- return ne;
446
- }, "getSections"), Le = /* @__PURE__ */ c(function() {
447
- const t = [], g = [], d = he(), r = W();
448
- for (const p of d) {
449
- const E = {
450
- id: p.id,
451
- label: G(p.label ?? "", r),
452
- isGroup: !0,
453
- ticket: p.ticket,
454
- shape: "kanbanSection",
455
- level: p.level,
456
- look: r.look
457
- };
458
- g.push(E);
459
- const f = D.filter((h) => h.parentId === p.id);
460
- for (const h of f) {
461
- const L = {
462
- id: h.id,
463
- parentId: p.id,
464
- label: G(h.label ?? "", r),
465
- isGroup: !1,
466
- ticket: h == null ? void 0 : h.ticket,
467
- priority: h == null ? void 0 : h.priority,
468
- assigned: h == null ? void 0 : h.assigned,
469
- icon: h == null ? void 0 : h.icon,
470
- shape: "kanbanItem",
471
- level: h.level,
472
- rx: 5,
473
- ry: 5,
474
- cssStyles: ["text-align: left"]
475
- };
476
- g.push(L);
477
- }
478
- }
479
- return { nodes: g, edges: t, other: {}, config: W() };
480
- }, "getData"), Oe = /* @__PURE__ */ c((t, g, d, r, p) => {
481
- var C, w;
482
- const E = W();
483
- let f = ((C = E.mindmap) == null ? void 0 : C.padding) ?? Y.mindmap.padding;
484
- switch (r) {
485
- case y.ROUNDED_RECT:
486
- case y.RECT:
487
- case y.HEXAGON:
488
- f *= 2;
489
- }
490
- const h = {
491
- id: G(g, E) || "kbn" + ee++,
492
- level: t,
493
- label: G(d, E),
494
- width: ((w = E.mindmap) == null ? void 0 : w.maxNodeWidth) ?? Y.mindmap.maxNodeWidth,
495
- padding: f,
496
- isGroup: !1
497
- };
498
- if (p !== void 0) {
499
- let N;
500
- p.includes(`
501
- `) ? N = p + `
502
- ` : N = `{
503
- ` + p + `
504
- }`;
505
- const i = ke(N, { schema: Se });
506
- if (i.shape && (i.shape !== i.shape.toLowerCase() || i.shape.includes("_")))
507
- throw new Error(`No such shape: ${i.shape}. Shape names should be lowercase.`);
508
- 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);
509
- }
510
- const L = De(t);
511
- L ? h.parentId = L.id || "kbn" + ee++ : ne.push(h), D.push(h);
512
- }, "addNode"), y = {
513
- DEFAULT: 0,
514
- NO_BORDER: 0,
515
- ROUNDED_RECT: 1,
516
- RECT: 2,
517
- CIRCLE: 3,
518
- CLOUD: 4,
519
- BANG: 5,
520
- HEXAGON: 6
521
- }, Ie = /* @__PURE__ */ c((t, g) => {
522
- switch (te.debug("In get type", t, g), t) {
523
- case "[":
524
- return y.RECT;
525
- case "(":
526
- return g === ")" ? y.ROUNDED_RECT : y.CLOUD;
527
- case "((":
528
- return y.CIRCLE;
529
- case ")":
530
- return y.CLOUD;
531
- case "))":
532
- return y.BANG;
533
- case "{{":
534
- return y.HEXAGON;
535
- default:
536
- return y.DEFAULT;
537
- }
538
- }, "getType"), Ce = /* @__PURE__ */ c((t, g) => {
539
- se[t] = g;
540
- }, "setElementForId"), we = /* @__PURE__ */ c((t) => {
541
- if (!t)
542
- return;
543
- const g = W(), d = D[D.length - 1];
544
- t.icon && (d.icon = G(t.icon, g)), t.class && (d.cssClasses = G(t.class, g));
545
- }, "decorateNode"), Ae = /* @__PURE__ */ c((t) => {
546
- switch (t) {
547
- case y.DEFAULT:
548
- return "no-border";
549
- case y.RECT:
550
- return "rect";
551
- case y.ROUNDED_RECT:
552
- return "rounded-rect";
553
- case y.CIRCLE:
554
- return "circle";
555
- case y.CLOUD:
556
- return "cloud";
557
- case y.BANG:
558
- return "bang";
559
- case y.HEXAGON:
560
- return "hexgon";
561
- default:
562
- return "no-border";
563
- }
564
- }, "type2Str"), Te = /* @__PURE__ */ c(() => te, "getLogger"), Re = /* @__PURE__ */ c((t) => se[t], "getElementById"), Pe = {
565
- clear: ve,
566
- addNode: Oe,
567
- getSections: he,
568
- getData: Le,
569
- nodeType: y,
570
- getType: Ie,
571
- setElementForId: Ce,
572
- decorateNode: we,
573
- type2Str: Ae,
574
- getLogger: Te,
575
- getElementById: Re
576
- }, Ve = Pe, Be = /* @__PURE__ */ c(async (t, g, d, r) => {
577
- var H, M, A, U, V;
578
- te.debug(`Rendering kanban diagram
579
- ` + t);
580
- const E = r.db.getData(), f = W();
581
- f.htmlLabels = !1;
582
- const h = ye(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, j = [];
592
- let x = 25;
593
- for (const m of w) {
594
- const O = ((H = f == null ? void 0 : f.kanban) == null ? void 0 : H.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 be(L, m);
597
- x = Math.max(x, (M = _ == null ? void 0 : _.labelBBox) == null ? void 0 : M.height), j.push(_);
598
- }
599
- let P = 0;
600
- for (const m of w) {
601
- const O = j[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 me(C, e, { config: f })).node().getBBox();
611
- e.y = n + l.height / 2, await _e(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
- Ee(
617
- void 0,
618
- h,
619
- ((U = f.mindmap) == null ? void 0 : U.padding) ?? Y.kanban.padding,
620
- ((V = f.mindmap) == null ? void 0 : V.useMaxWidth) ?? Y.kanban.useMaxWidth
621
- );
622
- }, "draw"), Fe = {
623
- draw: Be
624
- }, Ge = /* @__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], Ne(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"), je = /* @__PURE__ */ c((t) => `
681
- .edge {
682
- stroke-width: 3;
683
- }
684
- ${Ge(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
- ${fe()}
712
- `, "getStyles"), He = je, We = {
713
- db: Ve,
714
- renderer: Fe,
715
- parser: xe,
716
- styles: He
717
- };
718
- export {
719
- We as diagram
720
- };