@foris/avocado-not-front 1.12.0 → 2.0.1

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 (343) hide show
  1. package/dist/avocado-not-front.es.js +2191 -8
  2. package/dist/avocado-not-front.umd.js +3 -4642
  3. package/dist/hooks/useAction.d.ts +3 -3
  4. package/dist/services/axios/useFetchAndLoad.d.ts +1 -1
  5. package/dist/types/builder.type.d.ts +1 -0
  6. package/dist/types/components.type.d.ts +9 -1
  7. package/package.json +35 -18
  8. package/dist/abap-Y8Dl9g_6-Y8Dl9g_6.js +0 -6
  9. package/dist/actionscript-3-DZzbMeqX-DZzbMeqX.js +0 -6
  10. package/dist/ada-vP6ak0IW-vP6ak0IW.js +0 -6
  11. package/dist/andromeeda-BIpZ7gaU-BIpZ7gaU.js +0 -4
  12. package/dist/angular-html-DPB4Rf0C-1_1_4tyh.js +0 -34
  13. package/dist/angular-ts-CeqPwKaz-ohSx1G-R.js +0 -24
  14. package/dist/apache-BUjz-sD2-BUjz-sD2.js +0 -6
  15. package/dist/apex-oLhhs58q-oLhhs58q.js +0 -6
  16. package/dist/apl-Bfz1rp5e-DI6exAvT.js +0 -17
  17. package/dist/applescript-BPx7YFFu-BPx7YFFu.js +0 -6
  18. package/dist/ara-Z2fSOxSw-Z2fSOxSw.js +0 -6
  19. package/dist/arc-DHSZg76Q-C6o4oFmD.js +0 -85
  20. package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX-9O3-degh.js +0 -4672
  21. package/dist/asciidoc-B-pCoB3G-B-pCoB3G.js +0 -6
  22. package/dist/asm-BTWLY5ym-BTWLY5ym.js +0 -6
  23. package/dist/astro-CFFExE8Q-D857V_mk.js +0 -18
  24. package/dist/aurora-x-BwoVEUWZ-BwoVEUWZ.js +0 -4
  25. package/dist/awk-Fb0P9dkn-Fb0P9dkn.js +0 -6
  26. package/dist/ayu-dark-CxPZkpb2-CxPZkpb2.js +0 -4
  27. package/dist/ballerina-oZK-YekG-oZK-YekG.js +0 -6
  28. package/dist/bat-0FvbqU9S-0FvbqU9S.js +0 -6
  29. package/dist/beancount-DqJEb89h-DqJEb89h.js +0 -6
  30. package/dist/berry-DODBq_Ff-DODBq_Ff.js +0 -6
  31. package/dist/bibtex-EULQRLY5-EULQRLY5.js +0 -6
  32. package/dist/bicep-BorU73w0-BorU73w0.js +0 -6
  33. package/dist/blade-DRRSiTQz-DuQj1Sqy.js +0 -21
  34. package/dist/blockDiagram-VD42YOAC-B4cTulr6-CNlYtTjf.js +0 -2407
  35. package/dist/bsl-NkNNwerW-DeWv6DbE.js +0 -8
  36. package/dist/c-eeMepfLm-eeMepfLm.js +0 -6
  37. package/dist/c4Diagram-YG6GDRKO-B8--s8xx-CZw1PsLU.js +0 -1585
  38. package/dist/cadence-02UX7mW8-02UX7mW8.js +0 -6
  39. package/dist/cairo-DM6WF2e3-BLxuUSuB.js +0 -8
  40. package/dist/catppuccin-frappe-D3cH2rXe-D3cH2rXe.js +0 -4
  41. package/dist/catppuccin-latte-C0LRGUW4-C0LRGUW4.js +0 -4
  42. package/dist/catppuccin-macchiato-c5wQ11TT-c5wQ11TT.js +0 -4
  43. package/dist/catppuccin-mocha-WMD6Qvya-WMD6Qvya.js +0 -4
  44. package/dist/channel-Cqk_cOiy-72hMZ_v0.js +0 -5
  45. package/dist/chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js +0 -9
  46. package/dist/chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js +0 -8
  47. package/dist/chunk-B4BG7PRW-CFs53zrP-DB12fnkn.js +0 -1375
  48. package/dist/chunk-DI55MBZ5-CKjAOeh7-D98MsfUL.js +0 -1383
  49. package/dist/chunk-FMBD7UC4-B29MtLTn-tjtGIWPm.js +0 -19
  50. package/dist/chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js +0 -20
  51. package/dist/chunk-QZHKN3VN-B_Q6cMrq-78n0e61s.js +0 -15
  52. package/dist/chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js +0 -64
  53. package/dist/clarity-PKm5CwqM-PKm5CwqM.js +0 -6
  54. package/dist/classDiagram-2ON5EDUG-DJmXfcVi-CF8YlvOv.js +0 -22
  55. package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi-CF8YlvOv.js +0 -22
  56. package/dist/clojure-CXJfHrL3-CXJfHrL3.js +0 -6
  57. package/dist/cmake-BJz8BOTU-BJz8BOTU.js +0 -6
  58. package/dist/cobol-DYTFdEK1-1eoMdnt0.js +0 -12
  59. package/dist/code-block-QI2IAROF-C_F85uim-MNaL7yo9.js +0 -2805
  60. package/dist/codeowners-Bt9yU6NX-Bt9yU6NX.js +0 -6
  61. package/dist/codeql-DHkodjjI-DHkodjjI.js +0 -6
  62. package/dist/coffee-DGBR_nr_-Cu5d6u6p.js +0 -8
  63. package/dist/common-lisp-EVqT9Zhp-EVqT9Zhp.js +0 -6
  64. package/dist/coq-B0L9upzn-B0L9upzn.js +0 -6
  65. package/dist/cose-bilkent-S5V4N54A-N3jM_XQd-BbbJbKzj.js +0 -2612
  66. package/dist/cpp-ZFnOq6fV-CkUSzFY-.js +0 -19
  67. package/dist/crystal-CRJyc4G--B_7jzPPy.js +0 -18
  68. package/dist/csharp-C7yUs7-w-C7yUs7-w.js +0 -6
  69. package/dist/css-CECN5uSL-CECN5uSL.js +0 -6
  70. package/dist/csv-CmYOceLb-DlI6xKnA.js +0 -6
  71. package/dist/cue-ZzumE7IT-ZzumE7IT.js +0 -6
  72. package/dist/cypher-jpdmjtA6-jpdmjtA6.js +0 -6
  73. package/dist/cytoscape.esm-ClN43hhW-Dh4GqQxb.js +0 -18836
  74. package/dist/d-CBagWSwH-CBagWSwH.js +0 -6
  75. package/dist/dagre-6UL2VRFP-CJdrtgOu-CLaqjT6l.js +0 -451
  76. package/dist/dark-plus-pUHDTVV0-pUHDTVV0.js +0 -4
  77. package/dist/dart-6ObCrKr9-6ObCrKr9.js +0 -6
  78. package/dist/dax-CcDT-8dH-CcDT-8dH.js +0 -6
  79. package/dist/defaultLocale-DcQU6Vee-C62bXCQv.js +0 -177
  80. package/dist/desktop-B93p9R9O-B93p9R9O.js +0 -6
  81. package/dist/diagram-PSM6KHXK-DSaDqHvO-DVH1Sew6.js +0 -544
  82. package/dist/diagram-QEK2KX5R-BbxboH_--DYDmO4S1.js +0 -224
  83. package/dist/diagram-S2PKOQOG-DWsCb5He--yPVUK-A.js +0 -146
  84. package/dist/diff-BxzP2J8R-BxzP2J8R.js +0 -6
  85. package/dist/docker-CsHqm9tx-CsHqm9tx.js +0 -6
  86. package/dist/dotenv-BMjVjUL1-BMjVjUL1.js +0 -6
  87. package/dist/dracula-BtZx2Kac-BtZx2Kac.js +0 -4
  88. package/dist/dracula-soft-BKa-aqBv-BKa-aqBv.js +0 -4
  89. package/dist/dream-maker-PAx17jaB-PAx17jaB.js +0 -6
  90. package/dist/edge-B882-fmN-CXsL8OuZ.js +0 -14
  91. package/dist/elixir-DRzNHQCz-EnC5QsDh.js +0 -10
  92. package/dist/elm-DZPAA5Qn-BCPZo0aa.js +0 -9
  93. package/dist/emacs-lisp-Cfxdx5D--Cfxdx5D-.js +0 -6
  94. package/dist/erDiagram-Q2GNP2WA-Bl0uHx93-Cm6cgw10.js +0 -844
  95. package/dist/erb-DB1DqdBc-CnAEHkSC.js +0 -27
  96. package/dist/erlang-DNcDT8Hi-Cs3llSSi.js +0 -8
  97. package/dist/everforest-dark-DMCBqXCK-DMCBqXCK.js +0 -4
  98. package/dist/everforest-light-BbXl82Em-BbXl82Em.js +0 -4
  99. package/dist/fennel-N4WcXuKx-N4WcXuKx.js +0 -6
  100. package/dist/fish-BTDEUgqH-BTDEUgqH.js +0 -6
  101. package/dist/flowDiagram-NV44I4VS-Dq0mXT8f-BL0sk42H.js +0 -1631
  102. package/dist/fluent-BMXUxfv1-BMXUxfv1.js +0 -6
  103. package/dist/fortran-fixed-form-DUsA-VGo-CYX4aMfD.js +0 -8
  104. package/dist/fortran-free-form-DPIT_jbP-DPIT_jbP.js +0 -6
  105. package/dist/fsharp-CYOiIVNx-D3KYyprZ.js +0 -8
  106. package/dist/ganttDiagram-JELNMOA3-Dj1adndm-BODWVm5T.js +0 -2702
  107. package/dist/gdresource-BwtMIoBm-DVtwhfL2.js +0 -10
  108. package/dist/gdscript-BifyeYhI-BifyeYhI.js +0 -6
  109. package/dist/gdshader-Bk8fF6yr-Bk8fF6yr.js +0 -6
  110. package/dist/genie-DzUvd7U9-DzUvd7U9.js +0 -6
  111. package/dist/gherkin-DHRaV0YP-DHRaV0YP.js +0 -6
  112. package/dist/git-commit-Bd32YZ0K-D9qSjMiw.js +0 -8
  113. package/dist/git-rebase-ZWUFO_T4-uqUGWt5o.js +0 -8
  114. package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1-BsIE257G.js +0 -715
  115. package/dist/github-dark-DenFmJkN-DenFmJkN.js +0 -4
  116. package/dist/github-dark-default-BJPUVz4H-BJPUVz4H.js +0 -4
  117. package/dist/github-dark-dimmed-DUshB20C-DUshB20C.js +0 -4
  118. package/dist/github-dark-high-contrast-D3aGCnF8-D3aGCnF8.js +0 -4
  119. package/dist/github-light-JYsPkUQd-JYsPkUQd.js +0 -4
  120. package/dist/github-light-default-D99KPAby-D99KPAby.js +0 -4
  121. package/dist/github-light-high-contrast-BbmZE-Mp-BbmZE-Mp.js +0 -4
  122. package/dist/gleam-Bv284lvN-Bv284lvN.js +0 -6
  123. package/dist/glimmer-js-DkxNrfPT-Dr8vv_dk.js +0 -14
  124. package/dist/glimmer-ts-D6YZEmK_-CeJS1lkt.js +0 -14
  125. package/dist/glsl-CkUcVZNK-D6P60Alb.js +0 -8
  126. package/dist/gnuplot-yPG9-sE_-yPG9-sE_.js +0 -6
  127. package/dist/go-ChxJuLYK-ChxJuLYK.js +0 -6
  128. package/dist/graph-DB2UxkYH-Bs-uwV4G.js +0 -1190
  129. package/dist/graphql-CBu2ehBn-B9KpeKh4.js +0 -14
  130. package/dist/groovy-CJQTphOW-CJQTphOW.js +0 -6
  131. package/dist/gruvbox-dark-hard-C5HOtKIh-C5HOtKIh.js +0 -4
  132. package/dist/gruvbox-dark-medium-FVgwJHuz-FVgwJHuz.js +0 -4
  133. package/dist/gruvbox-dark-soft-B46F314v-B46F314v.js +0 -4
  134. package/dist/gruvbox-light-hard-CJD38wDZ-CJD38wDZ.js +0 -4
  135. package/dist/gruvbox-light-medium-BlIhMYTA-BlIhMYTA.js +0 -4
  136. package/dist/gruvbox-light-soft-DoPHyLVZ-DoPHyLVZ.js +0 -4
  137. package/dist/hack-DVWgrvc2-CFszvyOs.js +0 -12
  138. package/dist/haml-NZLVzu_R-6sAynSNG.js +0 -10
  139. package/dist/handlebars-mxStpSE7-C1GOcwW1.js +0 -14
  140. package/dist/haskell-WeIwNIP6-WeIwNIP6.js +0 -6
  141. package/dist/haxe-TztHsm5T-TztHsm5T.js +0 -6
  142. package/dist/hcl-D438OF-I-D438OF-I.js +0 -6
  143. package/dist/hjson-DYBUbqOl-DYBUbqOl.js +0 -6
  144. package/dist/hlsl-Bk8TCZNL-Bk8TCZNL.js +0 -6
  145. package/dist/houston-BDYrDoDW-BDYrDoDW.js +0 -4
  146. package/dist/html-B50bmoVb-BJ3eCZKL.js +0 -10
  147. package/dist/html-derivative-ByyNxAP5-BxLhKRHw.js +0 -10
  148. package/dist/http-BVIWqb92-CjnDmEd8.js +0 -19
  149. package/dist/hurl-B8OTiYoQ-DoRwHSAy.js +0 -17
  150. package/dist/hxml-GbqSQCLa-BnvJylRx.js +0 -8
  151. package/dist/hy-Brt5EZ7--Brt5EZ7-.js +0 -6
  152. package/dist/imba-CimUv-Uh-CimUv-Uh.js +0 -6
  153. package/dist/infoDiagram-WHAUD3N6-DPjzRs82-ChgGSBbk.js +0 -27
  154. package/dist/ini-BZIuRIvJ-BZIuRIvJ.js +0 -6
  155. package/dist/init-DjUOC4st-C8Nwz6AJ.js +0 -16
  156. package/dist/java-DY6VlHhP-DY6VlHhP.js +0 -6
  157. package/dist/javascript-C25yR2R2-C25yR2R2.js +0 -6
  158. package/dist/jinja-CI-LSgSv-BEWEZ83m.js +0 -13
  159. package/dist/jison-DdreslRX-DzaoIrEq.js +0 -8
  160. package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq-DYzqQ6Qu.js +0 -840
  161. package/dist/json-DxJze_jm-DxJze_jm.js +0 -6
  162. package/dist/json5-BT4Fjg39-BT4Fjg39.js +0 -6
  163. package/dist/jsonc-CHjZD8gR-CHjZD8gR.js +0 -6
  164. package/dist/jsonl-BGuvDmy9-BGuvDmy9.js +0 -6
  165. package/dist/jsonnet-Bx2cfsXg-Bx2cfsXg.js +0 -6
  166. package/dist/jssm-BcADi6EI-BcADi6EI.js +0 -6
  167. package/dist/jsx-BtKADgXT-BtKADgXT.js +0 -6
  168. package/dist/julia-ll8P6QXy-CifMye9u.js +0 -19
  169. package/dist/kanagawa-dragon-CiKur4Hl-CiKur4Hl.js +0 -4
  170. package/dist/kanagawa-lotus-BKu-smKu-BKu-smKu.js +0 -4
  171. package/dist/kanagawa-wave-CQwozSzG-CQwozSzG.js +0 -4
  172. package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx-Bz8MmnxI.js +0 -724
  173. package/dist/katex.min-l0sNRNKZ-l0sNRNKZ.js +0 -1
  174. package/dist/kdl-BNOv9TC3-0Q4F1UAs.js +0 -6
  175. package/dist/kotlin-ByBMgTeR-ByBMgTeR.js +0 -6
  176. package/dist/kusto-VWFLl2T0-VWFLl2T0.js +0 -6
  177. package/dist/laserwave-6a00oqik-6a00oqik.js +0 -4
  178. package/dist/latex-DF20280u-RMy1LUrW.js +0 -9
  179. package/dist/layout-Q6wQN5dr-BC95Y2G0.js +0 -1727
  180. package/dist/lean-D5yRrexI-D5yRrexI.js +0 -6
  181. package/dist/less-B1GLI2Di-B1GLI2Di.js +0 -6
  182. package/dist/light-plus-CZuVqSLX-CZuVqSLX.js +0 -4
  183. package/dist/linear-UL3ZZUJv-CWZvrkAD.js +0 -277
  184. package/dist/liquid-CHzkx3jT-G75tv0iE.js +0 -14
  185. package/dist/llvm-co1rIKs3-co1rIKs3.js +0 -6
  186. package/dist/log-Al8wyEFV-Al8wyEFV.js +0 -6
  187. package/dist/logo-DBa4JDzV-DBa4JDzV.js +0 -6
  188. package/dist/lua-kX5WP_P5-DxLUTRud.js +0 -8
  189. package/dist/luau-DtBSxLyz-DtBSxLyz.js +0 -6
  190. package/dist/make-CsMclxtr-CsMclxtr.js +0 -6
  191. package/dist/markdown-CrScaQ96-CrScaQ96.js +0 -6
  192. package/dist/marko-ls0Jg2j8-BHrfxEh0.js +0 -14
  193. package/dist/material-theme-D6KBX41T-D6KBX41T.js +0 -4
  194. package/dist/material-theme-darker-CkRroheE-CkRroheE.js +0 -4
  195. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +0 -4
  196. package/dist/material-theme-ocean-ClGX14Ja-ClGX14Ja.js +0 -4
  197. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +0 -4
  198. package/dist/matlab-BOAaUVP0-BOAaUVP0.js +0 -6
  199. package/dist/mdc-DIP5_jeM-Cff0amyo.js +0 -15
  200. package/dist/mdx-BOhZZUJ8-BOhZZUJ8.js +0 -6
  201. package/dist/mermaid-B0ixDHKN-B0ixDHKN.js +0 -6
  202. package/dist/mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js +0 -140994
  203. package/dist/mermaid.core-Cpfp0NBU-DQS-fLaZ.js +0 -14401
  204. package/dist/min-dark-C7ak0t6c-C7ak0t6c.js +0 -4
  205. package/dist/min-light-CKFxVcPp-CKFxVcPp.js +0 -4
  206. package/dist/mindmap-definition-VGOIOE7T-B6ovfeib-CXlRkpn9.js +0 -790
  207. package/dist/mipsasm-CTx18fBl-CTx18fBl.js +0 -6
  208. package/dist/mojo-BD611d7o-BD611d7o.js +0 -6
  209. package/dist/monokai-C1KBYcO0-C1KBYcO0.js +0 -4
  210. package/dist/move-F-dICmj2-F-dICmj2.js +0 -6
  211. package/dist/narrat-DmhDCBs--DmhDCBs-.js +0 -6
  212. package/dist/nextflow-DmSVRGjG-DmSVRGjG.js +0 -6
  213. package/dist/nginx-COxS3qoU-CvZmIOfz.js +0 -9
  214. package/dist/night-owl-Bm2rzalh-Bm2rzalh.js +0 -4
  215. package/dist/nim-CCwXZLHG-CVhjPGL5.js +0 -21
  216. package/dist/nix-BZK5F767-BZK5F767.js +0 -9
  217. package/dist/nord-CC5OiUXg-CC5OiUXg.js +0 -4
  218. package/dist/nushell-D8j3dhT--D8j3dhT-.js +0 -6
  219. package/dist/objective-c-Itk8tzmv-Itk8tzmv.js +0 -6
  220. package/dist/objective-cpp-DGt5UKRO-DGt5UKRO.js +0 -6
  221. package/dist/ocaml-eSVK32Eg-eSVK32Eg.js +0 -6
  222. package/dist/one-dark-pro-DTA3VF0_-DTA3VF0_.js +0 -4
  223. package/dist/one-light-D9sNaUtq-D9sNaUtq.js +0 -4
  224. package/dist/openscad-Sp5uZ6f2-Sp5uZ6f2.js +0 -6
  225. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +0 -65
  226. package/dist/pascal-xy8pJNns-xy8pJNns.js +0 -6
  227. package/dist/perl-NvKK8p2P-DbsmNmLT.js +0 -17
  228. package/dist/php-CK5hNnT0-DEpqLZ_n.js +0 -19
  229. package/dist/pieDiagram-ADFJNKIX-Bn24elWA-iGwy_4tX.js +0 -166
  230. package/dist/pkl-C-zSNmaA-C-zSNmaA.js +0 -6
  231. package/dist/plastic-CSTz3KZp-CSTz3KZp.js +0 -4
  232. package/dist/plsql-pVbGZfOv-pVbGZfOv.js +0 -6
  233. package/dist/po-BNfHvqmm-BNfHvqmm.js +0 -6
  234. package/dist/poimandres-C-VADXHD-C-VADXHD.js +0 -4
  235. package/dist/polar-CAZahv3u-CAZahv3u.js +0 -6
  236. package/dist/postcss-05aHdL-n-05aHdL-n.js +0 -6
  237. package/dist/powerquery-DI9HkTvs-DI9HkTvs.js +0 -6
  238. package/dist/powershell-Clc4ydu--Clc4ydu-.js +0 -6
  239. package/dist/prisma-FZjmVtSl-FZjmVtSl.js +0 -6
  240. package/dist/prolog-C5-yg4TO-C5-yg4TO.js +0 -6
  241. package/dist/proto-MmCPeFAD-MmCPeFAD.js +0 -6
  242. package/dist/pug-XOw9Q1Ho-BO4tUzTj.js +0 -12
  243. package/dist/puppet-CUJHmnxV-CUJHmnxV.js +0 -6
  244. package/dist/purescript-rUfGld-4-rUfGld-4.js +0 -6
  245. package/dist/python-BFNSHbwJ-BFNSHbwJ.js +0 -6
  246. package/dist/qml-rTNXsquU-DeTe0b4l.js +0 -8
  247. package/dist/qmldir-BInDYbpo-BInDYbpo.js +0 -6
  248. package/dist/qss-AeJTysr_-AeJTysr_.js +0 -6
  249. package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll-CFP8fgtI.js +0 -1030
  250. package/dist/r-Bm0uF0U2-Bm0uF0U2.js +0 -6
  251. package/dist/racket-B83wSAja-B83wSAja.js +0 -6
  252. package/dist/raku-nEQ4ZJJ7-nEQ4ZJJ7.js +0 -6
  253. package/dist/razor-CoqPuKQU-DUBs-Qe6.js +0 -12
  254. package/dist/red-7y8PH7HH-7y8PH7HH.js +0 -4
  255. package/dist/reg-m_s_Kiip-m_s_Kiip.js +0 -6
  256. package/dist/regexp-BazyLpPg-BazyLpPg.js +0 -6
  257. package/dist/rel-BcRfyd6Q-BcRfyd6Q.js +0 -6
  258. package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz-CC8EZoyz.js +0 -854
  259. package/dist/riscv-Ce8MAQLP-Ce8MAQLP.js +0 -6
  260. package/dist/rose-pine-BKc3yVeu-BKc3yVeu.js +0 -4
  261. package/dist/rose-pine-dawn-BulJcPZT-BulJcPZT.js +0 -4
  262. package/dist/rose-pine-moon-j6jiXKV8-j6jiXKV8.js +0 -4
  263. package/dist/rosmsg-Cz0w1km8-Cz0w1km8.js +0 -6
  264. package/dist/rst-AoEjemIj-Dr7TcJwd.js +0 -36
  265. package/dist/ruby-CGSl8JoB-D4hDjzwe.js +0 -36
  266. package/dist/rust-CLzF9zIN-CLzF9zIN.js +0 -6
  267. package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k-DhByp8vU.js +0 -830
  268. package/dist/sas-fpEvgATw-D9dNv8Ej.js +0 -8
  269. package/dist/sass-DxHp5rTx-DxHp5rTx.js +0 -6
  270. package/dist/scala-D4grkFkl-D4grkFkl.js +0 -6
  271. package/dist/scheme-BCRWuEm4-BCRWuEm4.js +0 -6
  272. package/dist/scss-B1FaCqwR-DbNEJJFR.js +0 -8
  273. package/dist/sdbl-B7T8abf4-B7T8abf4.js +0 -6
  274. package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7-DcFuWrLs.js +0 -2526
  275. package/dist/shaderlab-Cr62-Wb4-D_jbKjpl.js +0 -8
  276. package/dist/shellscript-InADTalH-InADTalH.js +0 -6
  277. package/dist/shellsession-DiDJNQdy-BGvYrs9g.js +0 -8
  278. package/dist/slack-dark-i7wN4OET-i7wN4OET.js +0 -4
  279. package/dist/slack-ochin-ndHf0LoP-ndHf0LoP.js +0 -4
  280. package/dist/smalltalk-BlI1_OkM-BlI1_OkM.js +0 -6
  281. package/dist/snazzy-light-BlSJXAu4-BlSJXAu4.js +0 -4
  282. package/dist/solarized-dark-UTmkh7lw-UTmkh7lw.js +0 -4
  283. package/dist/solarized-light-BheCkDPT-BheCkDPT.js +0 -4
  284. package/dist/solidity-DUWnFhS6-DUWnFhS6.js +0 -6
  285. package/dist/soy-YPoZ1G2p-C1q7UQeu.js +0 -10
  286. package/dist/sparql-B0KWFEri-CqC-y0Su.js +0 -8
  287. package/dist/splunk-CRXR8A9s-CRXR8A9s.js +0 -6
  288. package/dist/sql-Cn_v3PB0-Cn_v3PB0.js +0 -6
  289. package/dist/ssh-config-DP-hNVbF-DP-hNVbF.js +0 -6
  290. package/dist/stata-B8c5fTjX-Bf3brRPV.js +0 -8
  291. package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8-FBnBvaVW.js +0 -268
  292. package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b-B_Pfgmu4.js +0 -21
  293. package/dist/stylus-CyKEU1Ej-CyKEU1Ej.js +0 -6
  294. package/dist/svelte-5UasyOg7-e8KUCojE.js +0 -14
  295. package/dist/swift-9UzSvamq-9UzSvamq.js +0 -6
  296. package/dist/synthwave-84-NU3C_KFZ-NU3C_KFZ.js +0 -4
  297. package/dist/system-verilog-BCm7smPJ-BCm7smPJ.js +0 -6
  298. package/dist/systemd-C-4qm6XH-C-4qm6XH.js +0 -6
  299. package/dist/talonscript-CFF3LF_O-CvtCkGGO.js +0 -6
  300. package/dist/tasl-Cg_WBUAe-Cg_WBUAe.js +0 -6
  301. package/dist/tcl-DN7buRTF-DN7buRTF.js +0 -6
  302. package/dist/templ-peLZIM2D-DkTUdVi-.js +0 -12
  303. package/dist/terraform-DGvcn9zM-DGvcn9zM.js +0 -6
  304. package/dist/tex-DpOayVob-BjP51rYh.js +0 -8
  305. package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h-DfdfMl2Q.js +0 -805
  306. package/dist/tokyo-night-DP4TmcQl-DP4TmcQl.js +0 -4
  307. package/dist/toml-DY62mUL_-DY62mUL_.js +0 -6
  308. package/dist/treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js +0 -15006
  309. package/dist/ts-tags-CWmBp2js-DrKIoTCJ.js +0 -43
  310. package/dist/tsv-BtvSkaG0-BtvSkaG0.js +0 -6
  311. package/dist/tsx-B8rCNbgL-B8rCNbgL.js +0 -6
  312. package/dist/turtle-_H59FV7D-_H59FV7D.js +0 -6
  313. package/dist/twig-Cpoho6oi-CQE9XWXP.js +0 -35
  314. package/dist/typescript-RycA9KXf-RycA9KXf.js +0 -6
  315. package/dist/typespec-DWqp-kUU-DWqp-kUU.js +0 -6
  316. package/dist/typst-D_1QKWns-D_1QKWns.js +0 -6
  317. package/dist/v-BPCNiyYe-BPCNiyYe.js +0 -6
  318. package/dist/vala-uxaPR7d1-uxaPR7d1.js +0 -6
  319. package/dist/vb-D8_c5-KN-D8_c5-KN.js +0 -6
  320. package/dist/verilog-B-bybjPF-B-bybjPF.js +0 -6
  321. package/dist/vesper-BckBta1U-BckBta1U.js +0 -4
  322. package/dist/vhdl-CUlNa8ac-CUlNa8ac.js +0 -6
  323. package/dist/viml-DsfA-sWm-DsfA-sWm.js +0 -6
  324. package/dist/vitesse-black-BoGvW84i-BoGvW84i.js +0 -4
  325. package/dist/vitesse-dark-Cym-eLtO-Cym-eLtO.js +0 -4
  326. package/dist/vitesse-light-CcmG315c-CcmG315c.js +0 -4
  327. package/dist/vue-DmFKWfEU-DXvRBLDJ.js +0 -31
  328. package/dist/vue-html-BB2aI7Yc-e0S8MQFq.js +0 -15
  329. package/dist/vue-vine-CznNap4x-DAbzn77p.js +0 -24
  330. package/dist/vyper-CPQuu50u-CPQuu50u.js +0 -6
  331. package/dist/wasm-BBXxrAl7-BBXxrAl7.js +0 -6
  332. package/dist/wasm-DQxwEHae-DQxwEHae.js +0 -7
  333. package/dist/wenyan-pbVjoM9_-pbVjoM9_.js +0 -6
  334. package/dist/wgsl-DY4iK1q1-DY4iK1q1.js +0 -6
  335. package/dist/wikitext-Z-MoUasO-Z-MoUasO.js +0 -6
  336. package/dist/wit-CQMQOlTg-CQMQOlTg.js +0 -6
  337. package/dist/wolfram-Dz4KXISs-Dz4KXISs.js +0 -6
  338. package/dist/xml-C2J0sS9M-IZlib8U3.js +0 -8
  339. package/dist/xsl-CbTBIiv3-CgleMmCH.js +0 -9
  340. package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u-CFsnZXTL.js +0 -1345
  341. package/dist/yaml-DaO7k5B1-DaO7k5B1.js +0 -6
  342. package/dist/zenscript-CxBjpf9c-CxBjpf9c.js +0 -6
  343. package/dist/zig-Vm0PO9wB-Vm0PO9wB.js +0 -6
@@ -1,544 +0,0 @@
1
- import { _ as $, s as ie, g as ce, o as de, p as he, b as pe, c as ue, G as ee, F as te, b2 as fe, v as me, l as X, E as ye, K as ge, k as xe, b3 as B, j as K } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
2
- import { d as Se } from "./chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js";
3
- import { m as ve } from "./chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js";
4
- import { a as be } from "./treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js";
5
- import { n as E } from "./defaultLocale-DcQU6Vee-C62bXCQv.js";
6
- import { h as Q } from "./ordinal-MUacOSdK-B1MUT0BL.js";
7
- import "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
8
- import "react";
9
- import "react-dom";
10
- import "./init-DjUOC4st-C8Nwz6AJ.js";
11
- function Ce(t) {
12
- var a = 0, n = t.children, r = n && n.length;
13
- if (!r)
14
- a = 1;
15
- else
16
- for (; --r >= 0; )
17
- a += n[r].value;
18
- t.value = a;
19
- }
20
- function $e() {
21
- return this.eachAfter(Ce);
22
- }
23
- function we(t, a) {
24
- let n = -1;
25
- for (const r of this)
26
- t.call(a, r, ++n, this);
27
- return this;
28
- }
29
- function Le(t, a) {
30
- for (var n = this, r = [n], s, o, d = -1; n = r.pop(); )
31
- if (t.call(a, n, ++d, this), s = n.children)
32
- for (o = s.length - 1; o >= 0; --o)
33
- r.push(s[o]);
34
- return this;
35
- }
36
- function ke(t, a) {
37
- for (var n = this, r = [n], s = [], o, d, h, f = -1; n = r.pop(); )
38
- if (s.push(n), o = n.children)
39
- for (d = 0, h = o.length; d < h; ++d)
40
- r.push(o[d]);
41
- for (; n = s.pop(); )
42
- t.call(a, n, ++f, this);
43
- return this;
44
- }
45
- function Te(t, a) {
46
- let n = -1;
47
- for (const r of this)
48
- if (t.call(a, r, ++n, this))
49
- return r;
50
- }
51
- function Me(t) {
52
- return this.eachAfter(function(a) {
53
- for (var n = +t(a.data) || 0, r = a.children, s = r && r.length; --s >= 0; )
54
- n += r[s].value;
55
- a.value = n;
56
- });
57
- }
58
- function ze(t) {
59
- return this.eachBefore(function(a) {
60
- a.children && a.children.sort(t);
61
- });
62
- }
63
- function Fe(t) {
64
- for (var a = this, n = Ae(a, t), r = [a]; a !== n; )
65
- a = a.parent, r.push(a);
66
- for (var s = r.length; t !== n; )
67
- r.splice(s, 0, t), t = t.parent;
68
- return r;
69
- }
70
- function Ae(t, a) {
71
- if (t === a)
72
- return t;
73
- var n = t.ancestors(), r = a.ancestors(), s = null;
74
- for (t = n.pop(), a = r.pop(); t === a; )
75
- s = t, t = n.pop(), a = r.pop();
76
- return s;
77
- }
78
- function Pe() {
79
- for (var t = this, a = [t]; t = t.parent; )
80
- a.push(t);
81
- return a;
82
- }
83
- function Be() {
84
- return Array.from(this);
85
- }
86
- function We() {
87
- var t = [];
88
- return this.eachBefore(function(a) {
89
- a.children || t.push(a);
90
- }), t;
91
- }
92
- function Ne() {
93
- var t = this, a = [];
94
- return t.each(function(n) {
95
- n !== t && a.push({ source: n.parent, target: n });
96
- }), a;
97
- }
98
- function* De() {
99
- var t = this, a, n = [t], r, s, o;
100
- do
101
- for (a = n.reverse(), n = []; t = a.pop(); )
102
- if (yield t, r = t.children)
103
- for (s = 0, o = r.length; s < o; ++s)
104
- n.push(r[s]);
105
- while (n.length);
106
- }
107
- function Y(t, a) {
108
- t instanceof Map ? (t = [void 0, t], a === void 0 && (a = Ee)) : a === void 0 && (a = Ie);
109
- for (var n = new J(t), r, s = [n], o, d, h, f; r = s.pop(); )
110
- if ((d = a(r.data)) && (f = (d = Array.from(d)).length))
111
- for (r.children = d, h = f - 1; h >= 0; --h)
112
- s.push(o = d[h] = new J(d[h])), o.parent = r, o.depth = r.depth + 1;
113
- return n.eachBefore(je);
114
- }
115
- function Re() {
116
- return Y(this).eachBefore(Ve);
117
- }
118
- function Ie(t) {
119
- return t.children;
120
- }
121
- function Ee(t) {
122
- return Array.isArray(t) ? t[1] : null;
123
- }
124
- function Ve(t) {
125
- t.data.value !== void 0 && (t.value = t.data.value), t.data = t.data.data;
126
- }
127
- function je(t) {
128
- var a = 0;
129
- do
130
- t.height = a;
131
- while ((t = t.parent) && t.height < ++a);
132
- }
133
- function J(t) {
134
- this.data = t, this.depth = this.height = 0, this.parent = null;
135
- }
136
- J.prototype = Y.prototype = {
137
- constructor: J,
138
- count: $e,
139
- each: we,
140
- eachAfter: ke,
141
- eachBefore: Le,
142
- find: Te,
143
- sum: Me,
144
- sort: ze,
145
- path: Fe,
146
- ancestors: Pe,
147
- descendants: Be,
148
- leaves: We,
149
- links: Ne,
150
- copy: Re,
151
- [Symbol.iterator]: De
152
- };
153
- function Ge(t) {
154
- if (typeof t != "function")
155
- throw new Error();
156
- return t;
157
- }
158
- function V() {
159
- return 0;
160
- }
161
- function j(t) {
162
- return function() {
163
- return t;
164
- };
165
- }
166
- function He(t) {
167
- t.x0 = Math.round(t.x0), t.y0 = Math.round(t.y0), t.x1 = Math.round(t.x1), t.y1 = Math.round(t.y1);
168
- }
169
- function Oe(t, a, n, r, s) {
170
- for (var o = t.children, d, h = -1, f = o.length, i = t.value && (r - a) / t.value; ++h < f; )
171
- d = o[h], d.y0 = n, d.y1 = s, d.x0 = a, d.x1 = a += d.value * i;
172
- }
173
- function _e(t, a, n, r, s) {
174
- for (var o = t.children, d, h = -1, f = o.length, i = t.value && (s - n) / t.value; ++h < f; )
175
- d = o[h], d.x0 = a, d.x1 = r, d.y0 = n, d.y1 = n += d.value * i;
176
- }
177
- var qe = (1 + Math.sqrt(5)) / 2;
178
- function Ke(t, a, n, r, s, o) {
179
- for (var d = [], h = a.children, f, i, p = 0, b = 0, l = h.length, v, g, x = a.value, u, m, A, M, P, N, k; p < l; ) {
180
- v = s - n, g = o - r;
181
- do
182
- u = h[b++].value;
183
- while (!u && b < l);
184
- for (m = A = u, N = Math.max(g / v, v / g) / (x * t), k = u * u * N, P = Math.max(A / k, k / m); b < l; ++b) {
185
- if (u += i = h[b].value, i < m && (m = i), i > A && (A = i), k = u * u * N, M = Math.max(A / k, k / m), M > P) {
186
- u -= i;
187
- break;
188
- }
189
- P = M;
190
- }
191
- d.push(f = { value: u, dice: v < g, children: h.slice(p, b) }), f.dice ? Oe(f, n, r, s, x ? r += g * u / x : o) : _e(f, n, r, x ? n += v * u / x : s, o), x -= u, p = b;
192
- }
193
- return d;
194
- }
195
- const Je = function t(a) {
196
- function n(r, s, o, d, h) {
197
- Ke(a, r, s, o, d, h);
198
- }
199
- return n.ratio = function(r) {
200
- return t((r = +r) > 1 ? r : 1);
201
- }, n;
202
- }(qe);
203
- function Qe() {
204
- var t = Je, a = !1, n = 1, r = 1, s = [0], o = V, d = V, h = V, f = V, i = V;
205
- function p(l) {
206
- return l.x0 = l.y0 = 0, l.x1 = n, l.y1 = r, l.eachBefore(b), s = [0], a && l.eachBefore(He), l;
207
- }
208
- function b(l) {
209
- var v = s[l.depth], g = l.x0 + v, x = l.y0 + v, u = l.x1 - v, m = l.y1 - v;
210
- u < g && (g = u = (g + u) / 2), m < x && (x = m = (x + m) / 2), l.x0 = g, l.y0 = x, l.x1 = u, l.y1 = m, l.children && (v = s[l.depth + 1] = o(l) / 2, g += i(l) - v, x += d(l) - v, u -= h(l) - v, m -= f(l) - v, u < g && (g = u = (g + u) / 2), m < x && (x = m = (x + m) / 2), t(l, g, x, u, m));
211
- }
212
- return p.round = function(l) {
213
- return arguments.length ? (a = !!l, p) : a;
214
- }, p.size = function(l) {
215
- return arguments.length ? (n = +l[0], r = +l[1], p) : [n, r];
216
- }, p.tile = function(l) {
217
- return arguments.length ? (t = Ge(l), p) : t;
218
- }, p.padding = function(l) {
219
- return arguments.length ? p.paddingInner(l).paddingOuter(l) : p.paddingInner();
220
- }, p.paddingInner = function(l) {
221
- return arguments.length ? (o = typeof l == "function" ? l : j(+l), p) : o;
222
- }, p.paddingOuter = function(l) {
223
- return arguments.length ? p.paddingTop(l).paddingRight(l).paddingBottom(l).paddingLeft(l) : p.paddingTop();
224
- }, p.paddingTop = function(l) {
225
- return arguments.length ? (d = typeof l == "function" ? l : j(+l), p) : d;
226
- }, p.paddingRight = function(l) {
227
- return arguments.length ? (h = typeof l == "function" ? l : j(+l), p) : h;
228
- }, p.paddingBottom = function(l) {
229
- return arguments.length ? (f = typeof l == "function" ? l : j(+l), p) : f;
230
- }, p.paddingLeft = function(l) {
231
- return arguments.length ? (i = typeof l == "function" ? l : j(+l), p) : i;
232
- }, p;
233
- }
234
- var U, ae = (U = class {
235
- constructor() {
236
- this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = ie, this.getAccTitle = ce, this.setDiagramTitle = de, this.getDiagramTitle = he, this.getAccDescription = pe, this.setAccDescription = ue;
237
- }
238
- getNodes() {
239
- return this.nodes;
240
- }
241
- getConfig() {
242
- const t = ye, a = ee();
243
- return te({
244
- ...t.treemap,
245
- ...a.treemap ?? {}
246
- });
247
- }
248
- addNode(t, a) {
249
- this.nodes.push(t), this.levels.set(t, a), a === 0 && (this.outerNodes.push(t), this.root ?? (this.root = t));
250
- }
251
- getRoot() {
252
- return { name: "", children: this.outerNodes };
253
- }
254
- addClass(t, a) {
255
- const n = this.classes.get(t) ?? { id: t, styles: [], textStyles: [] }, r = a.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
256
- r && r.forEach((s) => {
257
- fe(s) && (n != null && n.textStyles ? n.textStyles.push(s) : n.textStyles = [s]), n != null && n.styles ? n.styles.push(s) : n.styles = [s];
258
- }), this.classes.set(t, n);
259
- }
260
- getClasses() {
261
- return this.classes;
262
- }
263
- getStylesForClass(t) {
264
- var a;
265
- return ((a = this.classes.get(t)) == null ? void 0 : a.styles) ?? [];
266
- }
267
- clear() {
268
- me(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
269
- }
270
- }, $(U, "TreeMapDB"), U);
271
- function ne(t) {
272
- if (!t.length)
273
- return [];
274
- const a = [], n = [];
275
- return t.forEach((r) => {
276
- const s = {
277
- name: r.name,
278
- children: r.type === "Leaf" ? void 0 : []
279
- };
280
- for (s.classSelector = r == null ? void 0 : r.classSelector, r != null && r.cssCompiledStyles && (s.cssCompiledStyles = [r.cssCompiledStyles]), r.type === "Leaf" && r.value !== void 0 && (s.value = r.value); n.length > 0 && n[n.length - 1].level >= r.level; )
281
- n.pop();
282
- if (n.length === 0)
283
- a.push(s);
284
- else {
285
- const o = n[n.length - 1].node;
286
- o.children ? o.children.push(s) : o.children = [s];
287
- }
288
- r.type !== "Leaf" && n.push({ node: s, level: r.level });
289
- }), a;
290
- }
291
- $(ne, "buildHierarchy");
292
- var Ue = /* @__PURE__ */ $((t, a) => {
293
- ve(t, a);
294
- const n = [];
295
- for (const o of t.TreemapRows ?? [])
296
- o.$type === "ClassDefStatement" && a.addClass(o.className ?? "", o.styleText ?? "");
297
- for (const o of t.TreemapRows ?? []) {
298
- const d = o.item;
299
- if (!d)
300
- continue;
301
- const h = o.indent ? parseInt(o.indent) : 0, f = Xe(d), i = d.classSelector ? a.getStylesForClass(d.classSelector) : [], p = i.length > 0 ? i.join(";") : void 0, b = {
302
- level: h,
303
- name: f,
304
- type: d.$type,
305
- value: d.value,
306
- classSelector: d.classSelector,
307
- cssCompiledStyles: p
308
- };
309
- n.push(b);
310
- }
311
- const r = ne(n), s = /* @__PURE__ */ $((o, d) => {
312
- for (const h of o)
313
- a.addNode(h, d), h.children && h.children.length > 0 && s(h.children, d + 1);
314
- }, "addNodesRecursively");
315
- s(r, 0);
316
- }, "populate"), Xe = /* @__PURE__ */ $((t) => t.name ? String(t.name) : "", "getItemName"), re = {
317
- // @ts-expect-error - TreeMapDB is not assignable to DiagramDB
318
- parser: { yy: void 0 },
319
- parse: /* @__PURE__ */ $(async (t) => {
320
- var a;
321
- try {
322
- const n = await be("treemap", t);
323
- X.debug("Treemap AST:", n);
324
- const r = (a = re.parser) == null ? void 0 : a.yy;
325
- if (!(r instanceof ae))
326
- throw new Error(
327
- "parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
328
- );
329
- Ue(n, r);
330
- } catch (n) {
331
- throw X.error("Error parsing treemap:", n), n;
332
- }
333
- }, "parse")
334
- }, Ye = 10, W = 10, G = 25, Ze = /* @__PURE__ */ $((t, a, n, r) => {
335
- const s = r.db, o = s.getConfig(), d = o.padding ?? Ye, h = s.getDiagramTitle(), f = s.getRoot(), { themeVariables: i } = ee();
336
- if (!f)
337
- return;
338
- const p = h ? 30 : 0, b = ge(a), l = o.nodeWidth ? o.nodeWidth * W : 960, v = o.nodeHeight ? o.nodeHeight * W : 500, g = l, x = v + p;
339
- b.attr("viewBox", `0 0 ${g} ${x}`), xe(b, x, g, o.useMaxWidth);
340
- let u;
341
- try {
342
- const e = o.valueFormat || ",";
343
- if (e === "$0,0")
344
- u = /* @__PURE__ */ $((c) => "$" + E(",")(c), "valueFormat");
345
- else if (e.startsWith("$") && e.includes(",")) {
346
- const c = /\.\d+/.exec(e), y = c ? c[0] : "";
347
- u = /* @__PURE__ */ $((w) => "$" + E("," + y)(w), "valueFormat");
348
- } else if (e.startsWith("$")) {
349
- const c = e.substring(1);
350
- u = /* @__PURE__ */ $((y) => "$" + E(c || "")(y), "valueFormat");
351
- } else
352
- u = E(e);
353
- } catch (e) {
354
- X.error("Error creating format function:", e), u = E(",");
355
- }
356
- const m = Q().range([
357
- "transparent",
358
- i.cScale0,
359
- i.cScale1,
360
- i.cScale2,
361
- i.cScale3,
362
- i.cScale4,
363
- i.cScale5,
364
- i.cScale6,
365
- i.cScale7,
366
- i.cScale8,
367
- i.cScale9,
368
- i.cScale10,
369
- i.cScale11
370
- ]), A = Q().range([
371
- "transparent",
372
- i.cScalePeer0,
373
- i.cScalePeer1,
374
- i.cScalePeer2,
375
- i.cScalePeer3,
376
- i.cScalePeer4,
377
- i.cScalePeer5,
378
- i.cScalePeer6,
379
- i.cScalePeer7,
380
- i.cScalePeer8,
381
- i.cScalePeer9,
382
- i.cScalePeer10,
383
- i.cScalePeer11
384
- ]), M = Q().range([
385
- i.cScaleLabel0,
386
- i.cScaleLabel1,
387
- i.cScaleLabel2,
388
- i.cScaleLabel3,
389
- i.cScaleLabel4,
390
- i.cScaleLabel5,
391
- i.cScaleLabel6,
392
- i.cScaleLabel7,
393
- i.cScaleLabel8,
394
- i.cScaleLabel9,
395
- i.cScaleLabel10,
396
- i.cScaleLabel11
397
- ]);
398
- h && b.append("text").attr("x", g / 2).attr("y", p / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(h);
399
- const P = b.append("g").attr("transform", `translate(0, ${p})`).attr("class", "treemapContainer"), N = Y(f).sum((e) => e.value ?? 0).sort((e, c) => (c.value ?? 0) - (e.value ?? 0)), k = Qe().size([l, v]).paddingTop(
400
- (e) => e.children && e.children.length > 0 ? G + W : 0
401
- ).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? W : 0).paddingRight((e) => e.children && e.children.length > 0 ? W : 0).paddingBottom((e) => e.children && e.children.length > 0 ? W : 0).round(!0)(N), le = k.descendants().filter((e) => e.children && e.children.length > 0), D = P.selectAll(".treemapSection").data(le).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
402
- D.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", G).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), D.append("clipPath").attr("id", (e, c) => `clip-section-${a}-${c}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", G), D.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, c) => `treemapSection section${c}`).attr("fill", (e) => m(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => A(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
403
- if (e.depth === 0)
404
- return "display: none;";
405
- const c = B({ cssCompiledStyles: e.data.cssCompiledStyles });
406
- return c.nodeStyles + ";" + c.borderStyles.join(";");
407
- }), D.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", G / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => {
408
- if (e.depth === 0)
409
- return "display: none;";
410
- const c = "dominant-baseline: middle; font-size: 12px; fill:" + M(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", y = B({ cssCompiledStyles: e.data.cssCompiledStyles });
411
- return c + y.labelStyles.replace("color:", "fill:");
412
- }).each(function(e) {
413
- if (e.depth === 0)
414
- return;
415
- const c = K(this), y = e.data.name;
416
- c.text(y);
417
- const w = e.x1 - e.x0, z = 6;
418
- let F;
419
- o.showValues !== !1 && e.value ? F = w - 10 - 30 - 10 - z : F = w - z - 6;
420
- const T = Math.max(15, F), L = c.node();
421
- if (L.getComputedTextLength() > T) {
422
- const S = "...";
423
- let C = y;
424
- for (; C.length > 0; ) {
425
- if (C = y.substring(0, C.length - 1), C.length === 0) {
426
- c.text(S), L.getComputedTextLength() > T && c.text("");
427
- break;
428
- }
429
- if (c.text(C + S), L.getComputedTextLength() <= T)
430
- break;
431
- }
432
- }
433
- }), o.showValues !== !1 && D.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", G / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? u(e.value) : "").attr("font-style", "italic").attr("style", (e) => {
434
- if (e.depth === 0)
435
- return "display: none;";
436
- const c = "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + M(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", y = B({ cssCompiledStyles: e.data.cssCompiledStyles });
437
- return c + y.labelStyles.replace("color:", "fill:");
438
- });
439
- const oe = k.leaves(), H = P.selectAll(".treemapLeafGroup").data(oe).enter().append("g").attr("class", (e, c) => `treemapNode treemapLeafGroup leaf${c}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
440
- H.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("style", (e) => B({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("stroke-width", 3), H.append("clipPath").attr("id", (e, c) => `clip-${a}-${c}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), H.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => {
441
- const c = "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + M(e.data.name) + ";", y = B({ cssCompiledStyles: e.data.cssCompiledStyles });
442
- return c + y.labelStyles.replace("color:", "fill:");
443
- }).attr("clip-path", (e, c) => `url(#clip-${a}-${c})`).text((e) => e.data.name).each(function(e) {
444
- const c = K(this), y = e.x1 - e.x0, w = e.y1 - e.y0, z = c.node(), F = 4, T = y - 2 * F, L = w - 2 * F;
445
- if (T < 10 || L < 10) {
446
- c.style("display", "none");
447
- return;
448
- }
449
- let S = parseInt(c.style("font-size"), 10);
450
- const C = 8, R = 28, O = 0.6, I = 6, _ = 2;
451
- for (; z.getComputedTextLength() > T && S > C; )
452
- S--, c.style("font-size", `${S}px`);
453
- let q = Math.max(
454
- I,
455
- Math.min(R, Math.round(S * O))
456
- ), Z = S + _ + q;
457
- for (; Z > L && S > C && (S--, q = Math.max(
458
- I,
459
- Math.min(R, Math.round(S * O))
460
- ), !(q < I && S === C)); )
461
- c.style("font-size", `${S}px`), Z = S + _ + q;
462
- c.style("font-size", `${S}px`), (z.getComputedTextLength() > T || S < C || L < S) && c.style("display", "none");
463
- }), o.showValues !== !1 && H.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
464
- return (e.y1 - e.y0) / 2;
465
- }).attr("style", (e) => {
466
- const c = "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + M(e.data.name) + ";", y = B({ cssCompiledStyles: e.data.cssCompiledStyles });
467
- return c + y.labelStyles.replace("color:", "fill:");
468
- }).attr("clip-path", (e, c) => `url(#clip-${a}-${c})`).text((e) => e.value ? u(e.value) : "").each(function(e) {
469
- const c = K(this), y = this.parentNode;
470
- if (!y) {
471
- c.style("display", "none");
472
- return;
473
- }
474
- const w = K(y).select(".treemapLabel");
475
- if (w.empty() || w.style("display") === "none") {
476
- c.style("display", "none");
477
- return;
478
- }
479
- const z = parseFloat(w.style("font-size")), F = 28, T = 0.6, L = 6, S = 2, C = Math.max(
480
- L,
481
- Math.min(F, Math.round(z * T))
482
- );
483
- c.style("font-size", `${C}px`);
484
- const R = (e.y1 - e.y0) / 2 + z / 2 + S;
485
- c.attr("y", R);
486
- const O = e.x1 - e.x0, I = e.y1 - e.y0 - 4, _ = O - 2 * 4;
487
- c.node().getComputedTextLength() > _ || R + C > I || C < L ? c.style("display", "none") : c.style("display", null);
488
- });
489
- const se = o.diagramPadding ?? 8;
490
- Se(b, se, "flowchart", (o == null ? void 0 : o.useMaxWidth) || !1);
491
- }, "draw"), et = /* @__PURE__ */ $(function(t, a) {
492
- return a.db.getClasses();
493
- }, "getClasses"), tt = { draw: Ze, getClasses: et }, at = {
494
- sectionStrokeColor: "black",
495
- sectionStrokeWidth: "1",
496
- sectionFillColor: "#efefef",
497
- leafStrokeColor: "black",
498
- leafStrokeWidth: "1",
499
- leafFillColor: "#efefef",
500
- labelColor: "black",
501
- labelFontSize: "12px",
502
- valueFontSize: "10px",
503
- valueColor: "black",
504
- titleColor: "black",
505
- titleFontSize: "14px"
506
- }, nt = /* @__PURE__ */ $(({
507
- treemap: t
508
- } = {}) => {
509
- const a = te(at, t);
510
- return `
511
- .treemapNode.section {
512
- stroke: ${a.sectionStrokeColor};
513
- stroke-width: ${a.sectionStrokeWidth};
514
- fill: ${a.sectionFillColor};
515
- }
516
- .treemapNode.leaf {
517
- stroke: ${a.leafStrokeColor};
518
- stroke-width: ${a.leafStrokeWidth};
519
- fill: ${a.leafFillColor};
520
- }
521
- .treemapLabel {
522
- fill: ${a.labelColor};
523
- font-size: ${a.labelFontSize};
524
- }
525
- .treemapValue {
526
- fill: ${a.valueColor};
527
- font-size: ${a.valueFontSize};
528
- }
529
- .treemapTitle {
530
- fill: ${a.titleColor};
531
- font-size: ${a.titleFontSize};
532
- }
533
- `;
534
- }, "getStyles"), rt = nt, mt = {
535
- parser: re,
536
- get db() {
537
- return new ae();
538
- },
539
- renderer: tt,
540
- styles: rt
541
- };
542
- export {
543
- mt as diagram
544
- };