@vunk/plus 1.10.1 → 1.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/components/WebGLRenderer.mjs +1 -1
  2. package/components/WebGPURenderer.mjs +1 -1
  3. package/components/agent-chat-provider/index.mjs +1 -1
  4. package/components/avatar/index.mjs +1 -1
  5. package/components/broadcasting-markdown/index.mjs +16 -13
  6. package/components/broadcasting-markdown/src/index.vue.d.ts +1 -75
  7. package/components/browserAll.mjs +1 -1
  8. package/components/bubble-list/index.css +0 -22
  9. package/components/bubble-list/index.mjs +413 -9
  10. package/components/bubble-templates/index.mjs +1 -1
  11. package/components/chat-independent/index.mjs +1 -1
  12. package/components/drawer/index.css +92 -92
  13. package/components/drawer/index.mjs +2 -2
  14. package/components/index2.mjs +90 -11
  15. package/components/index3.mjs +20 -79450
  16. package/components/lottie-animation/index.mjs +1 -1
  17. package/components/metahuman-broadcasting/index.d.ts +0 -1
  18. package/components/metahuman-broadcasting/index.mjs +3092 -68
  19. package/components/metahuman-broadcasting/src/index.vue.d.ts +75 -191
  20. package/components/monaco-editor/index.mjs +1 -1
  21. package/components/monaco-environment/index.mjs +1 -1
  22. package/components/pixi-frame/index.d.ts +4 -1
  23. package/components/pixi-frame/index.mjs +2 -2
  24. package/components/pixi-frame/src/bitmap-generator.vue.d.ts +146 -0
  25. package/components/recorder-button/index.mjs +1 -1
  26. package/components/routes-menu-content/index.mjs +3 -3
  27. package/components/scrollbar/index.mjs +3 -3
  28. package/components/sender/index.mjs +2 -2
  29. package/components/speech-button/index.mjs +3 -3
  30. package/components/table-columns/index.mjs +1 -1
  31. package/components/tables-v1/index.mjs +1 -1
  32. package/components/tables-v1-checkbox/index.mjs +1 -1
  33. package/components/text/index.mjs +1 -1
  34. package/components/typing-markdown/index.mjs +1 -1
  35. package/components/vditor/index.mjs +3 -3
  36. package/components/webworkerAll.mjs +1 -1
  37. package/components/xgplayer/index.mjs +4 -16359
  38. package/icons/end/index.mjs +1 -1
  39. package/icons/keyboard/index.mjs +1 -1
  40. package/icons/start/index.mjs +1 -1
  41. package/icons/voice/index.mjs +1 -1
  42. package/index.css +92 -114
  43. package/package.json +4 -20
  44. package/shared/data/blobToAudioBuffer.d.ts +1 -0
  45. package/shared/data/imgUrlToBitmap.d.ts +1 -0
  46. package/shared/data/index.d.ts +2 -0
  47. package/shared/data/index.mjs +25 -0
  48. package/components/_baseUniq-BXtq6_NW.mjs +0 -239
  49. package/components/abap-B7h4dtBh.mjs +0 -6
  50. package/components/actionscript-3-Bmm7RA3Y.mjs +0 -6
  51. package/components/ada-BZS802Se.mjs +0 -6
  52. package/components/andromeeda-CrngpmZk.mjs +0 -3
  53. package/components/apache-D4roVlsU.mjs +0 -6
  54. package/components/apex-D6mfw0H5.mjs +0 -6
  55. package/components/apl-DDK-VObo.mjs +0 -18
  56. package/components/applescript-C43Knf0G.mjs +0 -6
  57. package/components/ara-DRBH84ND.mjs +0 -6
  58. package/components/arc-Js_tyW10.mjs +0 -131
  59. package/components/architecture-O4VJ6CD3-ZoZ2IAk2.mjs +0 -15
  60. package/components/architectureDiagram-SUXI7LT5-kyYGGrHN.mjs +0 -8678
  61. package/components/asm-3tg4MVib.mjs +0 -6
  62. package/components/astro-v4FYbRud.mjs +0 -19
  63. package/components/aurora-x-wJ4-eM2h.mjs +0 -3
  64. package/components/awk-ChreaG-G.mjs +0 -6
  65. package/components/ayu-dark-BEKp3oqs.mjs +0 -3
  66. package/components/ballerina-B0yt0TYU.mjs +0 -6
  67. package/components/batch-Ce_EX3Sx.mjs +0 -14
  68. package/components/beancount-BRIsdQEB.mjs +0 -6
  69. package/components/berry-Brv4WWdL.mjs +0 -14
  70. package/components/bibtex-BLeFwAes.mjs +0 -6
  71. package/components/bicep-BVrgfErX.mjs +0 -6
  72. package/components/blade-By3Sw_Ex.mjs +0 -22
  73. package/components/blockDiagram-6J76NXCF-IAr4zDV3.mjs +0 -3610
  74. package/components/c-C4VtT7JA.mjs +0 -6
  75. package/components/c4Diagram-6F6E4RAY-Dv27rXcJ.mjs +0 -2492
  76. package/components/catppuccin-frappe-zLMNRRUx.mjs +0 -3
  77. package/components/catppuccin-latte-CdF5jC3c.mjs +0 -3
  78. package/components/catppuccin-macchiato-DyjXeyRt.mjs +0 -3
  79. package/components/catppuccin-mocha-66IdYxR8.mjs +0 -3
  80. package/components/cdc-30ktANo3.mjs +0 -14
  81. package/components/channel-BBZy6zOT.mjs +0 -7
  82. package/components/chunk-353BL4L5-Dn_Y_Yna.mjs +0 -17
  83. package/components/chunk-67H74DCK-Br5U8bfD.mjs +0 -102
  84. package/components/chunk-AACKK3MU-DH_MKxca.mjs +0 -17
  85. package/components/chunk-BFAMUDN2-DHLCoYMN.mjs +0 -13
  86. package/components/chunk-E2GYISFI-DQPHyyga.mjs +0 -19
  87. package/components/chunk-OW32GOEJ-CQOSE6Bn.mjs +0 -1924
  88. package/components/chunk-SKB7J2MH-BlwHRDiW.mjs +0 -25
  89. package/components/chunk-SZ463SBG-DEp8buKJ.mjs +0 -1823
  90. package/components/clarity-6uBl6Vpb.mjs +0 -6
  91. package/components/classDiagram-M3E45YP4-D0ySDe-v.mjs +0 -32
  92. package/components/classDiagram-v2-YAWTLIQI-D0ySDe-v.mjs +0 -32
  93. package/components/clojure-COBRmwo8.mjs +0 -14
  94. package/components/clone-CEJtuQzg.mjs +0 -8
  95. package/components/cmake-CDfQILeU.mjs +0 -6
  96. package/components/cobol-BOOIiISO.mjs +0 -13
  97. package/components/coffee-DO_RGoZp.mjs +0 -9
  98. package/components/cpp-DAK8ktHO.mjs +0 -25
  99. package/components/crystal-CBGbbyVp.mjs +0 -19
  100. package/components/cs-h3ksD6-P.mjs +0 -14
  101. package/components/css-BtVcDqlU.mjs +0 -6
  102. package/components/cue-BFSVLV6N.mjs +0 -6
  103. package/components/cypher-Dl2CXoXF.mjs +0 -14
  104. package/components/cytoscape.esm-BojS1z60.mjs +0 -30216
  105. package/components/d-9qSZPw74.mjs +0 -6
  106. package/components/dagre-JOIXM2OF-5zx0JY2T.mjs +0 -707
  107. package/components/dark-plus-DmZ1Dzd4.mjs +0 -3
  108. package/components/dart-CCSsOg9l.mjs +0 -6
  109. package/components/dax-CvsmLV-B.mjs +0 -6
  110. package/components/defaultLocale-DVr69WTU.mjs +0 -202
  111. package/components/diagram-5UYTHUR4-C19nyAKc.mjs +0 -215
  112. package/components/diagram-VMROVX33-DkGwo-hj.mjs +0 -861
  113. package/components/diagram-ZTM2IBQH-CBgHCu9L.mjs +0 -317
  114. package/components/diff-BEdzuHlE.mjs +0 -6
  115. package/components/dockerfile-B3DP334t.mjs +0 -14
  116. package/components/dracula-B8-AVrwI.mjs +0 -3
  117. package/components/dracula-soft-BHeefow7.mjs +0 -3
  118. package/components/dream-maker-CNLQpoF-.mjs +0 -6
  119. package/components/elixir-0rTCSSfp.mjs +0 -11
  120. package/components/elm-BhwiZPvf.mjs +0 -10
  121. package/components/erDiagram-3M52JZNH-cttdAJXW.mjs +0 -1169
  122. package/components/erb-Lra8TlYM.mjs +0 -27
  123. package/components/erlang-D2NNgvtR.mjs +0 -17
  124. package/components/everforest-dark-Cg1xdODP.mjs +0 -3
  125. package/components/everforest-light-BmTD3bxe.mjs +0 -3
  126. package/components/fish-BU5HSdZy.mjs +0 -6
  127. package/components/flowDiagram-KYDEHFYC-9HpsqDdB.mjs +0 -2345
  128. package/components/fs-CdBSddpF.mjs +0 -17
  129. package/components/ganttDiagram-EK5VF46D-8QB3ofs6.mjs +0 -3497
  130. package/components/gdresource-CAbkn6H_.mjs +0 -11
  131. package/components/gdscript-Be_cubqt.mjs +0 -6
  132. package/components/gdshader-BEzE4j_3.mjs +0 -6
  133. package/components/gherkin-xCNF9gh8.mjs +0 -6
  134. package/components/git-commit-PP9xCApN.mjs +0 -9
  135. package/components/git-rebase-DqdGofLo.mjs +0 -9
  136. package/components/gitGraph-ZV4HHKMB-BSmtVGRu.mjs +0 -15
  137. package/components/gitGraphDiagram-GW3U2K7C-DNzc0Vx_.mjs +0 -1227
  138. package/components/github-dark-O22yVQaY.mjs +0 -3
  139. package/components/github-dark-default-DB2Hkvqn.mjs +0 -3
  140. package/components/github-dark-dimmed-CMZ_OfqC.mjs +0 -3
  141. package/components/github-dark-high-contrast-DmxWVmCU.mjs +0 -3
  142. package/components/github-light-BTbR9xVK.mjs +0 -3
  143. package/components/github-light-default-DWEonwFe.mjs +0 -3
  144. package/components/github-light-high-contrast-WJ_cPDts.mjs +0 -3
  145. package/components/glimmer-js-BkPYTyD4.mjs +0 -23
  146. package/components/glsl-CGsiYPcu.mjs +0 -9
  147. package/components/gnuplot-tV8vezdE.mjs +0 -6
  148. package/components/go-CBmVHZBz.mjs +0 -6
  149. package/components/graph-3zJxsO-i.mjs +0 -425
  150. package/components/graphql-D4pgneW3.mjs +0 -15
  151. package/components/groovy-Bn4MhXgW.mjs +0 -6
  152. package/components/gruvbox-dark-hard-C89wZ4s3.mjs +0 -3
  153. package/components/gruvbox-dark-medium-swz85q_b.mjs +0 -3
  154. package/components/gruvbox-dark-soft-BYHBHQJW.mjs +0 -3
  155. package/components/gruvbox-light-hard-DEF_ZxYZ.mjs +0 -3
  156. package/components/gruvbox-light-medium-ziUMnHJx.mjs +0 -3
  157. package/components/gruvbox-light-soft-Cuwp0tsB.mjs +0 -3
  158. package/components/gts-d3WsqAZM.mjs +0 -23
  159. package/components/hack-CwaBuF5l.mjs +0 -13
  160. package/components/haml-gLijj4rW.mjs +0 -11
  161. package/components/hbs-CFi5SpI3.mjs +0 -23
  162. package/components/hcl-axoq0Ycu.mjs +0 -6
  163. package/components/hjson-I7LcauIB.mjs +0 -6
  164. package/components/hlsl-TRzjajlb.mjs +0 -6
  165. package/components/houston-CF_ws8Cq.mjs +0 -3
  166. package/components/hs-DXSGqUFF.mjs +0 -14
  167. package/components/html-CLq-n30c.mjs +0 -11
  168. package/components/html-derivative-C8POX8SL.mjs +0 -9
  169. package/components/http-BYUKZ6kX.mjs +0 -20
  170. package/components/imba-C4923lSV.mjs +0 -6
  171. package/components/index4.mjs +0 -78
  172. package/components/info-63CPKGFF-C8sYWczU.mjs +0 -15
  173. package/components/infoDiagram-LHK5PUON-C-vFFPTf.mjs +0 -44
  174. package/components/init-ZxktEp_H.mjs +0 -15
  175. package/components/java-BfXh-0uJ.mjs +0 -6
  176. package/components/jinja-html-BmW4v_vu.mjs +0 -11
  177. package/components/jison-C9kAT_Oj.mjs +0 -9
  178. package/components/journeyDiagram-EWQZEKCU-BJrw4-AG.mjs +0 -1264
  179. package/components/js-CN_xSsjU.mjs +0 -14
  180. package/components/json-TjWBGEk1.mjs +0 -6
  181. package/components/json5-DCGCKrmX.mjs +0 -6
  182. package/components/jsonc-DLVLp8id.mjs +0 -6
  183. package/components/jsonl-B-R_pDGg.mjs +0 -6
  184. package/components/jsonnet-Cs8BnnC6.mjs +0 -6
  185. package/components/jssm-D_YBQ_cM.mjs +0 -14
  186. package/components/jsx-BPmvoin2.mjs +0 -6
  187. package/components/julia-C-JjBobP.mjs +0 -19
  188. package/components/kanagawa-dragon-DU8n2NNT.mjs +0 -3
  189. package/components/kanagawa-lotus-Byd0CDet.mjs +0 -3
  190. package/components/kanagawa-wave-DExoagcR.mjs +0 -3
  191. package/components/kanban-definition-ZSS6B67P-BptAnqU-.mjs +0 -1059
  192. package/components/kotlin-BM2ZNTMh.mjs +0 -6
  193. package/components/kusto-D9MF7CZf.mjs +0 -14
  194. package/components/laserwave-DF03wMlf.mjs +0 -3
  195. package/components/latex-BsqkLZB_.mjs +0 -10
  196. package/components/layout-sGZIJplX.mjs +0 -2043
  197. package/components/less-BAzLMJNR.mjs +0 -6
  198. package/components/light-plus-DS08Xg5J.mjs +0 -3
  199. package/components/linear-DqgVh5FN.mjs +0 -336
  200. package/components/liquid-f2VHt0dg.mjs +0 -15
  201. package/components/lisp-DAq1kaby.mjs +0 -6
  202. package/components/logo-D9l7oEJ8.mjs +0 -6
  203. package/components/lua-CH3ttzl_.mjs +0 -9
  204. package/components/makefile-D2qLe7q0.mjs +0 -14
  205. package/components/marko-DwRyI_--.mjs +0 -15
  206. package/components/material-theme-B8B2U48Q.mjs +0 -3
  207. package/components/material-theme-darker-BV0iY_T3.mjs +0 -3
  208. package/components/material-theme-lighter-DrzybSTF.mjs +0 -3
  209. package/components/material-theme-ocean-BRPLVReX.mjs +0 -3
  210. package/components/material-theme-palenight-DSJwsR_D.mjs +0 -3
  211. package/components/matlab-7XHduepk.mjs +0 -6
  212. package/components/md-BIvDPr-W.mjs +0 -14
  213. package/components/mdc-Rx6hWSHn.mjs +0 -16
  214. package/components/mdx-D5wExp-O.mjs +0 -6
  215. package/components/mermaid-CUjtoYEe.mjs +0 -6
  216. package/components/mermaid-parser.core-CH9ryA1K.mjs +0 -16987
  217. package/components/mermaid.core-CAqkCmS1.mjs +0 -20977
  218. package/components/min-BngCxx8g.mjs +0 -109
  219. package/components/min-dark-BNaN9fWk.mjs +0 -3
  220. package/components/min-light-CMrjentn.mjs +0 -3
  221. package/components/mindmap-definition-6CBA2TL7-Cp_EeEsh.mjs +0 -5856
  222. package/components/mojo-CrbF881p.mjs +0 -6
  223. package/components/monokai-DelygWXa.mjs +0 -3
  224. package/components/narrat-DOwkIbBe.mjs +0 -14
  225. package/components/nf-DHfvJ2gH.mjs +0 -14
  226. package/components/nginx-B_jWsywZ.mjs +0 -10
  227. package/components/night-owl-DSS199ra.mjs +0 -3
  228. package/components/nim-yzbnZKJd.mjs +0 -22
  229. package/components/nix--3K2gyjg.mjs +0 -6
  230. package/components/nord-CvDbBq5M.mjs +0 -3
  231. package/components/objective-c-DkOBZg1J.mjs +0 -14
  232. package/components/objective-cpp-DEoN9Fe5.mjs +0 -6
  233. package/components/ocaml-B1kfGk9Y.mjs +0 -6
  234. package/components/one-dark-pro-CsMf0BoJ.mjs +0 -3
  235. package/components/one-light-BwwAsfsj.mjs +0 -3
  236. package/components/ordinal-DSZU4PqD.mjs +0 -76
  237. package/components/packet-HUATNLJX-bfFWFja0.mjs +0 -15
  238. package/components/pascal-CU8Kjkr_.mjs +0 -6
  239. package/components/perl-FH6su6vZ.mjs +0 -18
  240. package/components/php-Dnl1TfYH.mjs +0 -20
  241. package/components/pie-WTHONI2E-QPrWs3SR.mjs +0 -15
  242. package/components/pieDiagram-NIOCPIFQ-C46Y_4C6.mjs +0 -250
  243. package/components/plastic-BjwMpBc0.mjs +0 -3
  244. package/components/plsql-B3Na24V4.mjs +0 -6
  245. package/components/poimandres-ChWyhPrn.mjs +0 -3
  246. package/components/postcss-kj1IbjVd.mjs +0 -6
  247. package/components/powerquery-B-e1fO-k.mjs +0 -6
  248. package/components/prisma-bmxcSDxq.mjs +0 -6
  249. package/components/prolog-BT9GCzqD.mjs +0 -6
  250. package/components/properties-D6yKO1eW.mjs +0 -14
  251. package/components/proto-BIXM0k1a.mjs +0 -6
  252. package/components/ps1-aFyNx8UH.mjs +0 -18
  253. package/components/pug-BrOx0bSt.mjs +0 -21
  254. package/components/puppet-N15G4Usj.mjs +0 -6
  255. package/components/purescript-DrwsEYNH.mjs +0 -6
  256. package/components/python-D2s92fRP.mjs +0 -14
  257. package/components/ql-DTm-NCRo.mjs +0 -14
  258. package/components/quadrantDiagram-2OG54O6I-Dgf6d6F_.mjs +0 -1349
  259. package/components/r-oprfD2-9.mjs +0 -6
  260. package/components/radar-NJJJXTRR-BnUCJhQL.mjs +0 -15
  261. package/components/raku-xArQd_rF.mjs +0 -14
  262. package/components/razor-BoXCAbWQ.mjs +0 -13
  263. package/components/red-DByOl5N0.mjs +0 -3
  264. package/components/reg-CULnG2WX.mjs +0 -6
  265. package/components/rel-CHRwzjd4.mjs +0 -6
  266. package/components/requirementDiagram-QOLK2EJ7-CSF6N7HA.mjs +0 -1173
  267. package/components/riscv-BNQ9cVpw.mjs +0 -6
  268. package/components/rose-pine-LL9gXmP2.mjs +0 -3
  269. package/components/rose-pine-dawn-CH9zdisO.mjs +0 -3
  270. package/components/rose-pine-moon-B1oKSfEJ.mjs +0 -3
  271. package/components/rst-bEtD1v7N.mjs +0 -36
  272. package/components/ruby-BmfBy6EV.mjs +0 -44
  273. package/components/rust-Bf_fdNdL.mjs +0 -14
  274. package/components/sankeyDiagram-4UZDY2LN-BAHB7dMS.mjs +0 -1201
  275. package/components/sas-BLBgC3TA.mjs +0 -9
  276. package/components/sass-BheygBdF.mjs +0 -6
  277. package/components/scala-B-_7vFVn.mjs +0 -6
  278. package/components/scheme-BSHdPinv.mjs +0 -6
  279. package/components/scss-Dq-LbI_c.mjs +0 -9
  280. package/components/sequenceDiagram-SKLFT4DO-10gLJ50N.mjs +0 -3424
  281. package/components/shaderlab-BOQRTiQi.mjs +0 -17
  282. package/components/shellsession-Cu3c0QAc.mjs +0 -17
  283. package/components/slack-dark-BEe10hxO.mjs +0 -3
  284. package/components/slack-ochin-BKmu9pBc.mjs +0 -3
  285. package/components/smalltalk-qxcGy4fT.mjs +0 -6
  286. package/components/snazzy-light-Dcvd-ZyI.mjs +0 -3
  287. package/components/solarized-dark-BBl5y5sR.mjs +0 -3
  288. package/components/solarized-light-DW9b_AY8.mjs +0 -3
  289. package/components/solidity-CewKZgp-.mjs +0 -6
  290. package/components/sparql-DswowMAp.mjs +0 -9
  291. package/components/splunk-gK6Iw_P9.mjs +0 -14
  292. package/components/sql-DzUuSofg.mjs +0 -6
  293. package/components/ssh-config-Bk_I5wDR.mjs +0 -6
  294. package/components/stata-Dl7wDdBE.mjs +0 -9
  295. package/components/stateDiagram-MI5ZYTHO-D6p6nCaj.mjs +0 -461
  296. package/components/stateDiagram-v2-5AN5P6BG-DaN5hC-t.mjs +0 -31
  297. package/components/stylus-qRNkxrFU.mjs +0 -14
  298. package/components/svelte-B9qv3vkS.mjs +0 -15
  299. package/components/swift-BRQRsam8.mjs +0 -6
  300. package/components/synthwave-84-CoUef9sh.mjs +0 -3
  301. package/components/system-verilog-BcESSvRn.mjs +0 -6
  302. package/components/tasl-DfOr2qHi.mjs +0 -6
  303. package/components/tcl-CTsc4-t7.mjs +0 -6
  304. package/components/tex-CumJx1zu.mjs +0 -9
  305. package/components/timeline-definition-MYPXXCX6-gLqnWxDu.mjs +0 -1236
  306. package/components/tokyo-night-DjtLpAEY.mjs +0 -3
  307. package/components/toml-vHPzWDj6.mjs +0 -6
  308. package/components/treemap-75Q7IDZK-B2atdfMH.mjs +0 -15
  309. package/components/tsx-CmGGo4Hm.mjs +0 -6
  310. package/components/turtle-BnC7StHY.mjs +0 -6
  311. package/components/twig-0XKNpXN1.mjs +0 -35
  312. package/components/typescript-CgxwwAuC.mjs +0 -14
  313. package/components/v-Bmdjo9cy.mjs +0 -6
  314. package/components/vb-DuF6ZenW.mjs +0 -14
  315. package/components/verilog-CCb_iTfF.mjs +0 -6
  316. package/components/vesper-4Q1cEwPL.mjs +0 -3
  317. package/components/vhdl-DMqk4T2s.mjs +0 -6
  318. package/components/vimscript-aKp9YbYm.mjs +0 -18
  319. package/components/vitesse-black-BqNLki8b.mjs +0 -3
  320. package/components/vitesse-dark-jJ32WhwH.mjs +0 -3
  321. package/components/vitesse-light-476zM4e6.mjs +0 -3
  322. package/components/vue-DVNNTw2l.mjs +0 -40
  323. package/components/vue-html-Cr5wciIP.mjs +0 -16
  324. package/components/vyper-DYedWgAE.mjs +0 -14
  325. package/components/wasm-BBh6f151.mjs +0 -6
  326. package/components/wasm-DDgzZJey.mjs +0 -7
  327. package/components/wenyan-BdqozpMZ.mjs +0 -6
  328. package/components/wgsl-Vo-hHVWH.mjs +0 -6
  329. package/components/wolfram-CRmjUoI4.mjs +0 -6
  330. package/components/xml-BMzZeaqs.mjs +0 -9
  331. package/components/xsl-CAhvzxWv.mjs +0 -10
  332. package/components/xychartDiagram-H2YORKM3-Whqa4ezL.mjs +0 -1895
  333. package/components/yml-BhSrWWMS.mjs +0 -14
  334. package/components/zenscript-DFINJL6j.mjs +0 -6
  335. package/components/zig-CS4FMAZp.mjs +0 -6
  336. package/components/zsh-hcK4TBd7.mjs +0 -26
  337. package/shared/StreamingInferenceService.mjs +0 -204
  338. package/shared/audioToFrames/index.d.ts +0 -19
  339. package/shared/audioToFrames/index.mjs +0 -44
  340. package/shared/audioToFrames/src/assets/mask.d.ts +0 -2
  341. package/shared/audioToFrames/src/audio/StreamingFeatureExtractorService.d.ts +0 -125
  342. package/shared/audioToFrames/src/audio/index.d.ts +0 -5
  343. package/shared/audioToFrames/src/audio/index.mjs +0 -375
  344. package/shared/audioToFrames/src/config.d.ts +0 -4
  345. package/shared/audioToFrames/src/core/constants.d.ts +0 -17
  346. package/shared/audioToFrames/src/core/index.d.ts +0 -6
  347. package/shared/audioToFrames/src/core/index.mjs +0 -24
  348. package/shared/audioToFrames/src/core/utils.d.ts +0 -26
  349. package/shared/audioToFrames/src/inference/StreamingInferenceService.d.ts +0 -189
  350. package/shared/audioToFrames/src/inference/index.d.ts +0 -5
  351. package/shared/audioToFrames/src/inference/index.mjs +0 -3
  352. package/shared/audioToFrames/src/media/DataLoaderService.d.ts +0 -59
  353. package/shared/audioToFrames/src/media/PredictiveFrameLoader.d.ts +0 -81
  354. package/shared/audioToFrames/src/media/index.d.ts +0 -6
  355. package/shared/audioToFrames/src/media/index.mjs +0 -236
  356. package/shared/config.mjs +0 -5
  357. package/shared/constants.mjs +0 -7
@@ -1,1059 +0,0 @@
1
- import { g as getIconStyles } from './chunk-E2GYISFI-DQPHyyga.mjs';
2
- import { _ as __name, l as log, c as getConfig2, K as selectSvgElement, ah as insertCluster, ai as insertNode, aj as positionNode, ac as setupGraphViewbox, H as defaultConfig_default, i as sanitizeText, v as load, J as JSON_SCHEMA, ad as isDark, ae as lighten, af as darken } from './mermaid.core-CAqkCmS1.mjs';
3
- import './index3.mjs';
4
- import 'vue';
5
- import '@vunk/plus/components/bubble-templates';
6
- import 'element-plus';
7
- import './index4.mjs';
8
- import '@vueuse/core';
9
- import '@vunk/plus/components/scrollbar';
10
- import './_plugin-vue_export-helper.mjs';
11
- import '@vunk/shared/function';
12
- import '@vunk/plus/components/agent-chat-provider';
13
-
14
- var parser = function() {
15
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
16
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
17
- return o2;
18
- }, "o"), $V0 = [1, 4], $V1 = [1, 13], $V2 = [1, 12], $V3 = [1, 15], $V4 = [1, 16], $V5 = [1, 20], $V6 = [1, 19], $V7 = [6, 7, 8], $V8 = [1, 26], $V9 = [1, 24], $Va = [1, 25], $Vb = [6, 7, 11], $Vc = [1, 31], $Vd = [6, 7, 11, 24], $Ve = [1, 6, 13, 16, 17, 20, 23], $Vf = [1, 35], $Vg = [1, 36], $Vh = [1, 6, 7, 11, 13, 16, 17, 20, 23], $Vi = [1, 38];
19
- var parser2 = {
20
- trace: /* @__PURE__ */ __name(function trace() {
21
- }, "trace"),
22
- yy: {},
23
- 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 },
24
- 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" },
25
- 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]],
26
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
27
- var $0 = $$.length - 1;
28
- switch (yystate) {
29
- case 6:
30
- case 7:
31
- return yy;
32
- case 8:
33
- yy.getLogger().trace("Stop NL ");
34
- break;
35
- case 9:
36
- yy.getLogger().trace("Stop EOF ");
37
- break;
38
- case 11:
39
- yy.getLogger().trace("Stop NL2 ");
40
- break;
41
- case 12:
42
- yy.getLogger().trace("Stop EOF2 ");
43
- break;
44
- case 15:
45
- yy.getLogger().info("Node: ", $$[$0 - 1].id);
46
- yy.addNode($$[$0 - 2].length, $$[$0 - 1].id, $$[$0 - 1].descr, $$[$0 - 1].type, $$[$0]);
47
- break;
48
- case 16:
49
- yy.getLogger().info("Node: ", $$[$0].id);
50
- yy.addNode($$[$0 - 1].length, $$[$0].id, $$[$0].descr, $$[$0].type);
51
- break;
52
- case 17:
53
- yy.getLogger().trace("Icon: ", $$[$0]);
54
- yy.decorateNode({ icon: $$[$0] });
55
- break;
56
- case 18:
57
- case 23:
58
- yy.decorateNode({ class: $$[$0] });
59
- break;
60
- case 19:
61
- yy.getLogger().trace("SPACELIST");
62
- break;
63
- case 20:
64
- yy.getLogger().trace("Node: ", $$[$0 - 1].id);
65
- yy.addNode(0, $$[$0 - 1].id, $$[$0 - 1].descr, $$[$0 - 1].type, $$[$0]);
66
- break;
67
- case 21:
68
- yy.getLogger().trace("Node: ", $$[$0].id);
69
- yy.addNode(0, $$[$0].id, $$[$0].descr, $$[$0].type);
70
- break;
71
- case 22:
72
- yy.decorateNode({ icon: $$[$0] });
73
- break;
74
- case 27:
75
- yy.getLogger().trace("node found ..", $$[$0 - 2]);
76
- this.$ = { id: $$[$0 - 1], descr: $$[$0 - 1], type: yy.getType($$[$0 - 2], $$[$0]) };
77
- break;
78
- case 28:
79
- this.$ = { id: $$[$0], descr: $$[$0], type: 0 };
80
- break;
81
- case 29:
82
- yy.getLogger().trace("node found ..", $$[$0 - 3]);
83
- this.$ = { id: $$[$0 - 3], descr: $$[$0 - 1], type: yy.getType($$[$0 - 2], $$[$0]) };
84
- break;
85
- case 30:
86
- this.$ = $$[$0 - 1] + $$[$0];
87
- break;
88
- case 31:
89
- this.$ = $$[$0];
90
- break;
91
- }
92
- }, "anonymous"),
93
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: $V0 }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: $V0 }, { 6: $V1, 7: [1, 10], 9: 9, 12: 11, 13: $V2, 14: 14, 16: $V3, 17: $V4, 18: 17, 19: 18, 20: $V5, 23: $V6 }, o($V7, [2, 3]), { 1: [2, 2] }, o($V7, [2, 4]), o($V7, [2, 5]), { 1: [2, 6], 6: $V1, 12: 21, 13: $V2, 14: 14, 16: $V3, 17: $V4, 18: 17, 19: 18, 20: $V5, 23: $V6 }, { 6: $V1, 9: 22, 12: 11, 13: $V2, 14: 14, 16: $V3, 17: $V4, 18: 17, 19: 18, 20: $V5, 23: $V6 }, { 6: $V8, 7: $V9, 10: 23, 11: $Va }, o($Vb, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: $V5, 23: $V6 }), o($Vb, [2, 19]), o($Vb, [2, 21], { 15: 30, 24: $Vc }), o($Vb, [2, 22]), o($Vb, [2, 23]), o($Vd, [2, 25]), o($Vd, [2, 26]), o($Vd, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: $V8, 7: $V9, 10: 34, 11: $Va }, { 1: [2, 7], 6: $V1, 12: 21, 13: $V2, 14: 14, 16: $V3, 17: $V4, 18: 17, 19: 18, 20: $V5, 23: $V6 }, o($Ve, [2, 14], { 7: $Vf, 11: $Vg }), o($Vh, [2, 8]), o($Vh, [2, 9]), o($Vh, [2, 10]), o($Vb, [2, 16], { 15: 37, 24: $Vc }), o($Vb, [2, 17]), o($Vb, [2, 18]), o($Vb, [2, 20], { 24: $Vi }), o($Vd, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, o($Ve, [2, 13], { 7: $Vf, 11: $Vg }), o($Vh, [2, 11]), o($Vh, [2, 12]), o($Vb, [2, 15], { 24: $Vi }), o($Vd, [2, 30]), { 22: [1, 41] }, o($Vd, [2, 27]), o($Vd, [2, 29])],
94
- defaultActions: { 2: [2, 1], 6: [2, 2] },
95
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
96
- if (hash.recoverable) {
97
- this.trace(str);
98
- } else {
99
- var error = new Error(str);
100
- error.hash = hash;
101
- throw error;
102
- }
103
- }, "parseError"),
104
- parse: /* @__PURE__ */ __name(function parse(input) {
105
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
106
- var args = lstack.slice.call(arguments, 1);
107
- var lexer2 = Object.create(this.lexer);
108
- var sharedState = { yy: {} };
109
- for (var k in this.yy) {
110
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
111
- sharedState.yy[k] = this.yy[k];
112
- }
113
- }
114
- lexer2.setInput(input, sharedState.yy);
115
- sharedState.yy.lexer = lexer2;
116
- sharedState.yy.parser = this;
117
- if (typeof lexer2.yylloc == "undefined") {
118
- lexer2.yylloc = {};
119
- }
120
- var yyloc = lexer2.yylloc;
121
- lstack.push(yyloc);
122
- var ranges = lexer2.options && lexer2.options.ranges;
123
- if (typeof sharedState.yy.parseError === "function") {
124
- this.parseError = sharedState.yy.parseError;
125
- } else {
126
- this.parseError = Object.getPrototypeOf(this).parseError;
127
- }
128
- function popStack(n) {
129
- stack.length = stack.length - 2 * n;
130
- vstack.length = vstack.length - n;
131
- lstack.length = lstack.length - n;
132
- }
133
- __name(popStack, "popStack");
134
- function lex() {
135
- var token;
136
- token = tstack.pop() || lexer2.lex() || EOF;
137
- if (typeof token !== "number") {
138
- if (token instanceof Array) {
139
- tstack = token;
140
- token = tstack.pop();
141
- }
142
- token = self.symbols_[token] || token;
143
- }
144
- return token;
145
- }
146
- __name(lex, "lex");
147
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
148
- while (true) {
149
- state = stack[stack.length - 1];
150
- if (this.defaultActions[state]) {
151
- action = this.defaultActions[state];
152
- } else {
153
- if (symbol === null || typeof symbol == "undefined") {
154
- symbol = lex();
155
- }
156
- action = table[state] && table[state][symbol];
157
- }
158
- if (typeof action === "undefined" || !action.length || !action[0]) {
159
- var errStr = "";
160
- expected = [];
161
- for (p in table[state]) {
162
- if (this.terminals_[p] && p > TERROR) {
163
- expected.push("'" + this.terminals_[p] + "'");
164
- }
165
- }
166
- if (lexer2.showPosition) {
167
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
168
- } else {
169
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
170
- }
171
- this.parseError(errStr, {
172
- text: lexer2.match,
173
- token: this.terminals_[symbol] || symbol,
174
- line: lexer2.yylineno,
175
- loc: yyloc,
176
- expected
177
- });
178
- }
179
- if (action[0] instanceof Array && action.length > 1) {
180
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
181
- }
182
- switch (action[0]) {
183
- case 1:
184
- stack.push(symbol);
185
- vstack.push(lexer2.yytext);
186
- lstack.push(lexer2.yylloc);
187
- stack.push(action[1]);
188
- symbol = null;
189
- {
190
- yyleng = lexer2.yyleng;
191
- yytext = lexer2.yytext;
192
- yylineno = lexer2.yylineno;
193
- yyloc = lexer2.yylloc;
194
- }
195
- break;
196
- case 2:
197
- len = this.productions_[action[1]][1];
198
- yyval.$ = vstack[vstack.length - len];
199
- yyval._$ = {
200
- first_line: lstack[lstack.length - (len || 1)].first_line,
201
- last_line: lstack[lstack.length - 1].last_line,
202
- first_column: lstack[lstack.length - (len || 1)].first_column,
203
- last_column: lstack[lstack.length - 1].last_column
204
- };
205
- if (ranges) {
206
- yyval._$.range = [
207
- lstack[lstack.length - (len || 1)].range[0],
208
- lstack[lstack.length - 1].range[1]
209
- ];
210
- }
211
- r = this.performAction.apply(yyval, [
212
- yytext,
213
- yyleng,
214
- yylineno,
215
- sharedState.yy,
216
- action[1],
217
- vstack,
218
- lstack
219
- ].concat(args));
220
- if (typeof r !== "undefined") {
221
- return r;
222
- }
223
- if (len) {
224
- stack = stack.slice(0, -1 * len * 2);
225
- vstack = vstack.slice(0, -1 * len);
226
- lstack = lstack.slice(0, -1 * len);
227
- }
228
- stack.push(this.productions_[action[1]][0]);
229
- vstack.push(yyval.$);
230
- lstack.push(yyval._$);
231
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
232
- stack.push(newState);
233
- break;
234
- case 3:
235
- return true;
236
- }
237
- }
238
- return true;
239
- }, "parse")
240
- };
241
- var lexer = /* @__PURE__ */ function() {
242
- var lexer2 = {
243
- EOF: 1,
244
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
245
- if (this.yy.parser) {
246
- this.yy.parser.parseError(str, hash);
247
- } else {
248
- throw new Error(str);
249
- }
250
- }, "parseError"),
251
- // resets the lexer, sets new input
252
- setInput: /* @__PURE__ */ __name(function(input, yy) {
253
- this.yy = yy || this.yy || {};
254
- this._input = input;
255
- this._more = this._backtrack = this.done = false;
256
- this.yylineno = this.yyleng = 0;
257
- this.yytext = this.matched = this.match = "";
258
- this.conditionStack = ["INITIAL"];
259
- this.yylloc = {
260
- first_line: 1,
261
- first_column: 0,
262
- last_line: 1,
263
- last_column: 0
264
- };
265
- if (this.options.ranges) {
266
- this.yylloc.range = [0, 0];
267
- }
268
- this.offset = 0;
269
- return this;
270
- }, "setInput"),
271
- // consumes and returns one char from the input
272
- input: /* @__PURE__ */ __name(function() {
273
- var ch = this._input[0];
274
- this.yytext += ch;
275
- this.yyleng++;
276
- this.offset++;
277
- this.match += ch;
278
- this.matched += ch;
279
- var lines = ch.match(/(?:\r\n?|\n).*/g);
280
- if (lines) {
281
- this.yylineno++;
282
- this.yylloc.last_line++;
283
- } else {
284
- this.yylloc.last_column++;
285
- }
286
- if (this.options.ranges) {
287
- this.yylloc.range[1]++;
288
- }
289
- this._input = this._input.slice(1);
290
- return ch;
291
- }, "input"),
292
- // unshifts one char (or a string) into the input
293
- unput: /* @__PURE__ */ __name(function(ch) {
294
- var len = ch.length;
295
- var lines = ch.split(/(?:\r\n?|\n)/g);
296
- this._input = ch + this._input;
297
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
298
- this.offset -= len;
299
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
300
- this.match = this.match.substr(0, this.match.length - 1);
301
- this.matched = this.matched.substr(0, this.matched.length - 1);
302
- if (lines.length - 1) {
303
- this.yylineno -= lines.length - 1;
304
- }
305
- var r = this.yylloc.range;
306
- this.yylloc = {
307
- first_line: this.yylloc.first_line,
308
- last_line: this.yylineno + 1,
309
- first_column: this.yylloc.first_column,
310
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
311
- };
312
- if (this.options.ranges) {
313
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
314
- }
315
- this.yyleng = this.yytext.length;
316
- return this;
317
- }, "unput"),
318
- // When called from action, caches matched text and appends it on next action
319
- more: /* @__PURE__ */ __name(function() {
320
- this._more = true;
321
- return this;
322
- }, "more"),
323
- // 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.
324
- reject: /* @__PURE__ */ __name(function() {
325
- if (this.options.backtrack_lexer) {
326
- this._backtrack = true;
327
- } else {
328
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
329
- text: "",
330
- token: null,
331
- line: this.yylineno
332
- });
333
- }
334
- return this;
335
- }, "reject"),
336
- // retain first n characters of the match
337
- less: /* @__PURE__ */ __name(function(n) {
338
- this.unput(this.match.slice(n));
339
- }, "less"),
340
- // displays already matched input, i.e. for error messages
341
- pastInput: /* @__PURE__ */ __name(function() {
342
- var past = this.matched.substr(0, this.matched.length - this.match.length);
343
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
344
- }, "pastInput"),
345
- // displays upcoming input, i.e. for error messages
346
- upcomingInput: /* @__PURE__ */ __name(function() {
347
- var next = this.match;
348
- if (next.length < 20) {
349
- next += this._input.substr(0, 20 - next.length);
350
- }
351
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
352
- }, "upcomingInput"),
353
- // displays the character position where the lexing error occurred, i.e. for error messages
354
- showPosition: /* @__PURE__ */ __name(function() {
355
- var pre = this.pastInput();
356
- var c = new Array(pre.length + 1).join("-");
357
- return pre + this.upcomingInput() + "\n" + c + "^";
358
- }, "showPosition"),
359
- // test the lexed token: return FALSE when not a match, otherwise return token
360
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
361
- var token, lines, backup;
362
- if (this.options.backtrack_lexer) {
363
- backup = {
364
- yylineno: this.yylineno,
365
- yylloc: {
366
- first_line: this.yylloc.first_line,
367
- last_line: this.last_line,
368
- first_column: this.yylloc.first_column,
369
- last_column: this.yylloc.last_column
370
- },
371
- yytext: this.yytext,
372
- match: this.match,
373
- matches: this.matches,
374
- matched: this.matched,
375
- yyleng: this.yyleng,
376
- offset: this.offset,
377
- _more: this._more,
378
- _input: this._input,
379
- yy: this.yy,
380
- conditionStack: this.conditionStack.slice(0),
381
- done: this.done
382
- };
383
- if (this.options.ranges) {
384
- backup.yylloc.range = this.yylloc.range.slice(0);
385
- }
386
- }
387
- lines = match[0].match(/(?:\r\n?|\n).*/g);
388
- if (lines) {
389
- this.yylineno += lines.length;
390
- }
391
- this.yylloc = {
392
- first_line: this.yylloc.last_line,
393
- last_line: this.yylineno + 1,
394
- first_column: this.yylloc.last_column,
395
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
396
- };
397
- this.yytext += match[0];
398
- this.match += match[0];
399
- this.matches = match;
400
- this.yyleng = this.yytext.length;
401
- if (this.options.ranges) {
402
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
403
- }
404
- this._more = false;
405
- this._backtrack = false;
406
- this._input = this._input.slice(match[0].length);
407
- this.matched += match[0];
408
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
409
- if (this.done && this._input) {
410
- this.done = false;
411
- }
412
- if (token) {
413
- return token;
414
- } else if (this._backtrack) {
415
- for (var k in backup) {
416
- this[k] = backup[k];
417
- }
418
- return false;
419
- }
420
- return false;
421
- }, "test_match"),
422
- // return next match in input
423
- next: /* @__PURE__ */ __name(function() {
424
- if (this.done) {
425
- return this.EOF;
426
- }
427
- if (!this._input) {
428
- this.done = true;
429
- }
430
- var token, match, tempMatch, index;
431
- if (!this._more) {
432
- this.yytext = "";
433
- this.match = "";
434
- }
435
- var rules = this._currentRules();
436
- for (var i = 0; i < rules.length; i++) {
437
- tempMatch = this._input.match(this.rules[rules[i]]);
438
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
439
- match = tempMatch;
440
- index = i;
441
- if (this.options.backtrack_lexer) {
442
- token = this.test_match(tempMatch, rules[i]);
443
- if (token !== false) {
444
- return token;
445
- } else if (this._backtrack) {
446
- match = false;
447
- continue;
448
- } else {
449
- return false;
450
- }
451
- } else if (!this.options.flex) {
452
- break;
453
- }
454
- }
455
- }
456
- if (match) {
457
- token = this.test_match(match, rules[index]);
458
- if (token !== false) {
459
- return token;
460
- }
461
- return false;
462
- }
463
- if (this._input === "") {
464
- return this.EOF;
465
- } else {
466
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
467
- text: "",
468
- token: null,
469
- line: this.yylineno
470
- });
471
- }
472
- }, "next"),
473
- // return next match that has a token
474
- lex: /* @__PURE__ */ __name(function lex() {
475
- var r = this.next();
476
- if (r) {
477
- return r;
478
- } else {
479
- return this.lex();
480
- }
481
- }, "lex"),
482
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
483
- begin: /* @__PURE__ */ __name(function begin(condition) {
484
- this.conditionStack.push(condition);
485
- }, "begin"),
486
- // pop the previously active lexer condition state off the condition stack
487
- popState: /* @__PURE__ */ __name(function popState() {
488
- var n = this.conditionStack.length - 1;
489
- if (n > 0) {
490
- return this.conditionStack.pop();
491
- } else {
492
- return this.conditionStack[0];
493
- }
494
- }, "popState"),
495
- // produce the lexer rule set which is active for the currently active lexer condition state
496
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
497
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
498
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
499
- } else {
500
- return this.conditions["INITIAL"].rules;
501
- }
502
- }, "_currentRules"),
503
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
504
- topState: /* @__PURE__ */ __name(function topState(n) {
505
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
506
- if (n >= 0) {
507
- return this.conditionStack[n];
508
- } else {
509
- return "INITIAL";
510
- }
511
- }, "topState"),
512
- // alias for begin(condition)
513
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
514
- this.begin(condition);
515
- }, "pushState"),
516
- // return the number of states currently on the stack
517
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
518
- return this.conditionStack.length;
519
- }, "stateStackSize"),
520
- options: { "case-insensitive": true },
521
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
522
- switch ($avoiding_name_collisions) {
523
- case 0:
524
- this.pushState("shapeData");
525
- yy_.yytext = "";
526
- return 24;
527
- case 1:
528
- this.pushState("shapeDataStr");
529
- return 24;
530
- case 2:
531
- this.popState();
532
- return 24;
533
- case 3:
534
- const re = /\n\s*/g;
535
- yy_.yytext = yy_.yytext.replace(re, "<br/>");
536
- return 24;
537
- case 4:
538
- return 24;
539
- case 5:
540
- this.popState();
541
- break;
542
- case 6:
543
- yy.getLogger().trace("Found comment", yy_.yytext);
544
- return 6;
545
- case 7:
546
- return 8;
547
- case 8:
548
- this.begin("CLASS");
549
- break;
550
- case 9:
551
- this.popState();
552
- return 17;
553
- case 10:
554
- this.popState();
555
- break;
556
- case 11:
557
- yy.getLogger().trace("Begin icon");
558
- this.begin("ICON");
559
- break;
560
- case 12:
561
- yy.getLogger().trace("SPACELINE");
562
- return 6;
563
- case 13:
564
- return 7;
565
- case 14:
566
- return 16;
567
- case 15:
568
- yy.getLogger().trace("end icon");
569
- this.popState();
570
- break;
571
- case 16:
572
- yy.getLogger().trace("Exploding node");
573
- this.begin("NODE");
574
- return 20;
575
- case 17:
576
- yy.getLogger().trace("Cloud");
577
- this.begin("NODE");
578
- return 20;
579
- case 18:
580
- yy.getLogger().trace("Explosion Bang");
581
- this.begin("NODE");
582
- return 20;
583
- case 19:
584
- yy.getLogger().trace("Cloud Bang");
585
- this.begin("NODE");
586
- return 20;
587
- case 20:
588
- this.begin("NODE");
589
- return 20;
590
- case 21:
591
- this.begin("NODE");
592
- return 20;
593
- case 22:
594
- this.begin("NODE");
595
- return 20;
596
- case 23:
597
- this.begin("NODE");
598
- return 20;
599
- case 24:
600
- return 13;
601
- case 25:
602
- return 23;
603
- case 26:
604
- return 11;
605
- case 27:
606
- this.begin("NSTR2");
607
- break;
608
- case 28:
609
- return "NODE_DESCR";
610
- case 29:
611
- this.popState();
612
- break;
613
- case 30:
614
- yy.getLogger().trace("Starting NSTR");
615
- this.begin("NSTR");
616
- break;
617
- case 31:
618
- yy.getLogger().trace("description:", yy_.yytext);
619
- return "NODE_DESCR";
620
- case 32:
621
- this.popState();
622
- break;
623
- case 33:
624
- this.popState();
625
- yy.getLogger().trace("node end ))");
626
- return "NODE_DEND";
627
- case 34:
628
- this.popState();
629
- yy.getLogger().trace("node end )");
630
- return "NODE_DEND";
631
- case 35:
632
- this.popState();
633
- yy.getLogger().trace("node end ...", yy_.yytext);
634
- return "NODE_DEND";
635
- case 36:
636
- this.popState();
637
- yy.getLogger().trace("node end ((");
638
- return "NODE_DEND";
639
- case 37:
640
- this.popState();
641
- yy.getLogger().trace("node end (-");
642
- return "NODE_DEND";
643
- case 38:
644
- this.popState();
645
- yy.getLogger().trace("node end (-");
646
- return "NODE_DEND";
647
- case 39:
648
- this.popState();
649
- yy.getLogger().trace("node end ((");
650
- return "NODE_DEND";
651
- case 40:
652
- this.popState();
653
- yy.getLogger().trace("node end ((");
654
- return "NODE_DEND";
655
- case 41:
656
- yy.getLogger().trace("Long description:", yy_.yytext);
657
- return 21;
658
- case 42:
659
- yy.getLogger().trace("Long description:", yy_.yytext);
660
- return 21;
661
- }
662
- }, "anonymous"),
663
- 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],
664
- conditions: { "shapeDataEndBracket": { "rules": [], "inclusive": false }, "shapeDataStr": { "rules": [2, 3], "inclusive": false }, "shapeData": { "rules": [1, 4, 5], "inclusive": false }, "CLASS": { "rules": [9, 10], "inclusive": false }, "ICON": { "rules": [14, 15], "inclusive": false }, "NSTR2": { "rules": [28, 29], "inclusive": false }, "NSTR": { "rules": [31, 32], "inclusive": false }, "NODE": { "rules": [27, 30, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], "inclusive": false }, "INITIAL": { "rules": [0, 6, 7, 8, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "inclusive": true } }
665
- };
666
- return lexer2;
667
- }();
668
- parser2.lexer = lexer;
669
- function Parser() {
670
- this.yy = {};
671
- }
672
- __name(Parser, "Parser");
673
- Parser.prototype = parser2;
674
- parser2.Parser = Parser;
675
- return new Parser();
676
- }();
677
- parser.parser = parser;
678
- var kanban_default = parser;
679
- var nodes = [];
680
- var sections = [];
681
- var cnt = 0;
682
- var elements = {};
683
- var clear = /* @__PURE__ */ __name(() => {
684
- nodes = [];
685
- sections = [];
686
- cnt = 0;
687
- elements = {};
688
- }, "clear");
689
- var getSection = /* @__PURE__ */ __name((level) => {
690
- if (nodes.length === 0) {
691
- return null;
692
- }
693
- const sectionLevel = nodes[0].level;
694
- let lastSection = null;
695
- for (let i = nodes.length - 1; i >= 0; i--) {
696
- if (nodes[i].level === sectionLevel && !lastSection) {
697
- lastSection = nodes[i];
698
- }
699
- if (nodes[i].level < sectionLevel) {
700
- throw new Error('Items without section detected, found section ("' + nodes[i].label + '")');
701
- }
702
- }
703
- if (level === (lastSection == null ? void 0 : lastSection.level)) {
704
- return null;
705
- }
706
- return lastSection;
707
- }, "getSection");
708
- var getSections = /* @__PURE__ */ __name(function() {
709
- return sections;
710
- }, "getSections");
711
- var getData = /* @__PURE__ */ __name(function() {
712
- const edges = [];
713
- const _nodes = [];
714
- const sections2 = getSections();
715
- const conf = getConfig2();
716
- for (const section of sections2) {
717
- const node = {
718
- id: section.id,
719
- label: sanitizeText(section.label ?? "", conf),
720
- isGroup: true,
721
- ticket: section.ticket,
722
- shape: "kanbanSection",
723
- level: section.level,
724
- look: conf.look
725
- };
726
- _nodes.push(node);
727
- const children = nodes.filter((n) => n.parentId === section.id);
728
- for (const item of children) {
729
- const childNode = {
730
- id: item.id,
731
- parentId: section.id,
732
- label: sanitizeText(item.label ?? "", conf),
733
- isGroup: false,
734
- ticket: item == null ? void 0 : item.ticket,
735
- priority: item == null ? void 0 : item.priority,
736
- assigned: item == null ? void 0 : item.assigned,
737
- icon: item == null ? void 0 : item.icon,
738
- shape: "kanbanItem",
739
- level: item.level,
740
- rx: 5,
741
- ry: 5,
742
- cssStyles: ["text-align: left"]
743
- };
744
- _nodes.push(childNode);
745
- }
746
- }
747
- return { nodes: _nodes, edges, other: {}, config: getConfig2() };
748
- }, "getData");
749
- var addNode = /* @__PURE__ */ __name((level, id, descr, type, shapeData) => {
750
- var _a, _b;
751
- const conf = getConfig2();
752
- let padding = ((_a = conf.mindmap) == null ? void 0 : _a.padding) ?? defaultConfig_default.mindmap.padding;
753
- switch (type) {
754
- case nodeType.ROUNDED_RECT:
755
- case nodeType.RECT:
756
- case nodeType.HEXAGON:
757
- padding *= 2;
758
- }
759
- const node = {
760
- id: sanitizeText(id, conf) || "kbn" + cnt++,
761
- level,
762
- label: sanitizeText(descr, conf),
763
- width: ((_b = conf.mindmap) == null ? void 0 : _b.maxNodeWidth) ?? defaultConfig_default.mindmap.maxNodeWidth,
764
- padding,
765
- isGroup: false
766
- };
767
- if (shapeData !== void 0) {
768
- let yamlData;
769
- if (!shapeData.includes("\n")) {
770
- yamlData = "{\n" + shapeData + "\n}";
771
- } else {
772
- yamlData = shapeData + "\n";
773
- }
774
- const doc = load(yamlData, { schema: JSON_SCHEMA });
775
- if (doc.shape && (doc.shape !== doc.shape.toLowerCase() || doc.shape.includes("_"))) {
776
- throw new Error(`No such shape: ${doc.shape}. Shape names should be lowercase.`);
777
- }
778
- if ((doc == null ? void 0 : doc.shape) && doc.shape === "kanbanItem") {
779
- node.shape = doc == null ? void 0 : doc.shape;
780
- }
781
- if (doc == null ? void 0 : doc.label) {
782
- node.label = doc == null ? void 0 : doc.label;
783
- }
784
- if (doc == null ? void 0 : doc.icon) {
785
- node.icon = doc == null ? void 0 : doc.icon.toString();
786
- }
787
- if (doc == null ? void 0 : doc.assigned) {
788
- node.assigned = doc == null ? void 0 : doc.assigned.toString();
789
- }
790
- if (doc == null ? void 0 : doc.ticket) {
791
- node.ticket = doc == null ? void 0 : doc.ticket.toString();
792
- }
793
- if (doc == null ? void 0 : doc.priority) {
794
- node.priority = doc == null ? void 0 : doc.priority;
795
- }
796
- }
797
- const section = getSection(level);
798
- if (section) {
799
- node.parentId = section.id || "kbn" + cnt++;
800
- } else {
801
- sections.push(node);
802
- }
803
- nodes.push(node);
804
- }, "addNode");
805
- var nodeType = {
806
- DEFAULT: 0,
807
- NO_BORDER: 0,
808
- ROUNDED_RECT: 1,
809
- RECT: 2,
810
- CIRCLE: 3,
811
- CLOUD: 4,
812
- BANG: 5,
813
- HEXAGON: 6
814
- };
815
- var getType = /* @__PURE__ */ __name((startStr, endStr) => {
816
- log.debug("In get type", startStr, endStr);
817
- switch (startStr) {
818
- case "[":
819
- return nodeType.RECT;
820
- case "(":
821
- return endStr === ")" ? nodeType.ROUNDED_RECT : nodeType.CLOUD;
822
- case "((":
823
- return nodeType.CIRCLE;
824
- case ")":
825
- return nodeType.CLOUD;
826
- case "))":
827
- return nodeType.BANG;
828
- case "{{":
829
- return nodeType.HEXAGON;
830
- default:
831
- return nodeType.DEFAULT;
832
- }
833
- }, "getType");
834
- var setElementForId = /* @__PURE__ */ __name((id, element) => {
835
- elements[id] = element;
836
- }, "setElementForId");
837
- var decorateNode = /* @__PURE__ */ __name((decoration) => {
838
- if (!decoration) {
839
- return;
840
- }
841
- const config = getConfig2();
842
- const node = nodes[nodes.length - 1];
843
- if (decoration.icon) {
844
- node.icon = sanitizeText(decoration.icon, config);
845
- }
846
- if (decoration.class) {
847
- node.cssClasses = sanitizeText(decoration.class, config);
848
- }
849
- }, "decorateNode");
850
- var type2Str = /* @__PURE__ */ __name((type) => {
851
- switch (type) {
852
- case nodeType.DEFAULT:
853
- return "no-border";
854
- case nodeType.RECT:
855
- return "rect";
856
- case nodeType.ROUNDED_RECT:
857
- return "rounded-rect";
858
- case nodeType.CIRCLE:
859
- return "circle";
860
- case nodeType.CLOUD:
861
- return "cloud";
862
- case nodeType.BANG:
863
- return "bang";
864
- case nodeType.HEXAGON:
865
- return "hexgon";
866
- // cspell: disable-line
867
- default:
868
- return "no-border";
869
- }
870
- }, "type2Str");
871
- var getLogger = /* @__PURE__ */ __name(() => log, "getLogger");
872
- var getElementById = /* @__PURE__ */ __name((id) => elements[id], "getElementById");
873
- var db = {
874
- clear,
875
- addNode,
876
- getSections,
877
- getData,
878
- nodeType,
879
- getType,
880
- setElementForId,
881
- decorateNode,
882
- type2Str,
883
- getLogger,
884
- getElementById
885
- };
886
- var kanbanDb_default = db;
887
- var draw = /* @__PURE__ */ __name(async (text, id, _version, diagObj) => {
888
- var _a, _b, _c, _d, _e;
889
- log.debug("Rendering kanban diagram\n" + text);
890
- const db2 = diagObj.db;
891
- const data4Layout = db2.getData();
892
- const conf = getConfig2();
893
- conf.htmlLabels = false;
894
- const svg = selectSvgElement(id);
895
- const sectionsElem = svg.append("g");
896
- sectionsElem.attr("class", "sections");
897
- const nodesElem = svg.append("g");
898
- nodesElem.attr("class", "items");
899
- const sections2 = data4Layout.nodes.filter(
900
- // TODO: TypeScript 5.5 will infer this predicate automatically
901
- (node) => node.isGroup
902
- );
903
- let cnt2 = 0;
904
- const padding = 10;
905
- const sectionObjects = [];
906
- let maxLabelHeight = 25;
907
- for (const section of sections2) {
908
- const WIDTH = ((_a = conf == null ? void 0 : conf.kanban) == null ? void 0 : _a.sectionWidth) || 200;
909
- cnt2 = cnt2 + 1;
910
- section.x = WIDTH * cnt2 + (cnt2 - 1) * padding / 2;
911
- section.width = WIDTH;
912
- section.y = 0;
913
- section.height = WIDTH * 3;
914
- section.rx = 5;
915
- section.ry = 5;
916
- section.cssClasses = section.cssClasses + " section-" + cnt2;
917
- const sectionObj = await insertCluster(sectionsElem, section);
918
- maxLabelHeight = Math.max(maxLabelHeight, (_b = sectionObj == null ? void 0 : sectionObj.labelBBox) == null ? void 0 : _b.height);
919
- sectionObjects.push(sectionObj);
920
- }
921
- let i = 0;
922
- for (const section of sections2) {
923
- const sectionObj = sectionObjects[i];
924
- i = i + 1;
925
- const WIDTH = ((_c = conf == null ? void 0 : conf.kanban) == null ? void 0 : _c.sectionWidth) || 200;
926
- const top = -WIDTH * 3 / 2 + maxLabelHeight;
927
- let y = top;
928
- const sectionItems = data4Layout.nodes.filter((node) => node.parentId === section.id);
929
- for (const item of sectionItems) {
930
- if (item.isGroup) {
931
- throw new Error("Groups within groups are not allowed in Kanban diagrams");
932
- }
933
- item.x = section.x;
934
- item.width = WIDTH - 1.5 * padding;
935
- const nodeEl = await insertNode(nodesElem, item, { config: conf });
936
- const bbox = nodeEl.node().getBBox();
937
- item.y = y + bbox.height / 2;
938
- await positionNode(item);
939
- y = item.y + bbox.height / 2 + padding / 2;
940
- }
941
- const rect = sectionObj.cluster.select("rect");
942
- const height = Math.max(y - top + 3 * padding, 50) + (maxLabelHeight - 25);
943
- rect.attr("height", height);
944
- }
945
- setupGraphViewbox(
946
- void 0,
947
- svg,
948
- ((_d = conf.mindmap) == null ? void 0 : _d.padding) ?? defaultConfig_default.kanban.padding,
949
- ((_e = conf.mindmap) == null ? void 0 : _e.useMaxWidth) ?? defaultConfig_default.kanban.useMaxWidth
950
- );
951
- }, "draw");
952
- var kanbanRenderer_default = {
953
- draw
954
- };
955
- var genSections = /* @__PURE__ */ __name((options) => {
956
- let sections2 = "";
957
- for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
958
- options["lineColor" + i] = options["lineColor" + i] || options["cScaleInv" + i];
959
- if (isDark(options["lineColor" + i])) {
960
- options["lineColor" + i] = lighten(options["lineColor" + i], 20);
961
- } else {
962
- options["lineColor" + i] = darken(options["lineColor" + i], 20);
963
- }
964
- }
965
- const adjuster = /* @__PURE__ */ __name((color, level) => options.darkMode ? darken(color, level) : lighten(color, level), "adjuster");
966
- for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
967
- const sw = "" + (17 - 3 * i);
968
- sections2 += `
969
- .section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
970
- fill: ${adjuster(options["cScale" + i], 10)};
971
- stroke: ${adjuster(options["cScale" + i], 10)};
972
-
973
- }
974
- .section-${i - 1} text {
975
- fill: ${options["cScaleLabel" + i]};
976
- }
977
- .node-icon-${i - 1} {
978
- font-size: 40px;
979
- color: ${options["cScaleLabel" + i]};
980
- }
981
- .section-edge-${i - 1}{
982
- stroke: ${options["cScale" + i]};
983
- }
984
- .edge-depth-${i - 1}{
985
- stroke-width: ${sw};
986
- }
987
- .section-${i - 1} line {
988
- stroke: ${options["cScaleInv" + i]} ;
989
- stroke-width: 3;
990
- }
991
-
992
- .disabled, .disabled circle, .disabled text {
993
- fill: lightgray;
994
- }
995
- .disabled text {
996
- fill: #efefef;
997
- }
998
-
999
- .node rect,
1000
- .node circle,
1001
- .node ellipse,
1002
- .node polygon,
1003
- .node path {
1004
- fill: ${options.background};
1005
- stroke: ${options.nodeBorder};
1006
- stroke-width: 1px;
1007
- }
1008
-
1009
- .kanban-ticket-link {
1010
- fill: ${options.background};
1011
- stroke: ${options.nodeBorder};
1012
- text-decoration: underline;
1013
- }
1014
- `;
1015
- }
1016
- return sections2;
1017
- }, "genSections");
1018
- var getStyles = /* @__PURE__ */ __name((options) => `
1019
- .edge {
1020
- stroke-width: 3;
1021
- }
1022
- ${genSections(options)}
1023
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
1024
- fill: ${options.git0};
1025
- }
1026
- .section-root text {
1027
- fill: ${options.gitBranchLabel0};
1028
- }
1029
- .icon-container {
1030
- height:100%;
1031
- display: flex;
1032
- justify-content: center;
1033
- align-items: center;
1034
- }
1035
- .edge {
1036
- fill: none;
1037
- }
1038
- .cluster-label, .label {
1039
- color: ${options.textColor};
1040
- fill: ${options.textColor};
1041
- }
1042
- .kanban-label {
1043
- dy: 1em;
1044
- alignment-baseline: middle;
1045
- text-anchor: middle;
1046
- dominant-baseline: middle;
1047
- text-align: center;
1048
- }
1049
- ${getIconStyles()}
1050
- `, "getStyles");
1051
- var styles_default = getStyles;
1052
- var diagram = {
1053
- db: kanbanDb_default,
1054
- renderer: kanbanRenderer_default,
1055
- parser: kanban_default,
1056
- styles: styles_default
1057
- };
1058
-
1059
- export { diagram };