@foris/avocado-not-front 1.11.7-beta.4 → 1.12.0
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.
- package/dist/abap-Y8Dl9g_6-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-DZzbMeqX-DZzbMeqX.js +6 -0
- package/dist/ada-vP6ak0IW-vP6ak0IW.js +6 -0
- package/dist/andromeeda-BIpZ7gaU-BIpZ7gaU.js +4 -0
- package/dist/angular-html-DPB4Rf0C-1_1_4tyh.js +34 -0
- package/dist/angular-ts-CeqPwKaz-ohSx1G-R.js +24 -0
- package/dist/apache-BUjz-sD2-BUjz-sD2.js +6 -0
- package/dist/apex-oLhhs58q-oLhhs58q.js +6 -0
- package/dist/apl-Bfz1rp5e-DI6exAvT.js +17 -0
- package/dist/applescript-BPx7YFFu-BPx7YFFu.js +6 -0
- package/dist/ara-Z2fSOxSw-Z2fSOxSw.js +6 -0
- package/dist/arc-DHSZg76Q-C6o4oFmD.js +85 -0
- package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX-9O3-degh.js +4672 -0
- package/dist/asciidoc-B-pCoB3G-B-pCoB3G.js +6 -0
- package/dist/asm-BTWLY5ym-BTWLY5ym.js +6 -0
- package/dist/astro-CFFExE8Q-D857V_mk.js +18 -0
- package/dist/aurora-x-BwoVEUWZ-BwoVEUWZ.js +4 -0
- package/dist/avocado-not-front.es.js +8 -2167
- package/dist/avocado-not-front.umd.js +4642 -3
- package/dist/awk-Fb0P9dkn-Fb0P9dkn.js +6 -0
- package/dist/ayu-dark-CxPZkpb2-CxPZkpb2.js +4 -0
- package/dist/ballerina-oZK-YekG-oZK-YekG.js +6 -0
- package/dist/bat-0FvbqU9S-0FvbqU9S.js +6 -0
- package/dist/beancount-DqJEb89h-DqJEb89h.js +6 -0
- package/dist/berry-DODBq_Ff-DODBq_Ff.js +6 -0
- package/dist/bibtex-EULQRLY5-EULQRLY5.js +6 -0
- package/dist/bicep-BorU73w0-BorU73w0.js +6 -0
- package/dist/blade-DRRSiTQz-DuQj1Sqy.js +21 -0
- package/dist/blockDiagram-VD42YOAC-B4cTulr6-CNlYtTjf.js +2407 -0
- package/dist/bsl-NkNNwerW-DeWv6DbE.js +8 -0
- package/dist/c-eeMepfLm-eeMepfLm.js +6 -0
- package/dist/c4Diagram-YG6GDRKO-B8--s8xx-CZw1PsLU.js +1585 -0
- package/dist/cadence-02UX7mW8-02UX7mW8.js +6 -0
- package/dist/cairo-DM6WF2e3-BLxuUSuB.js +8 -0
- package/dist/catppuccin-frappe-D3cH2rXe-D3cH2rXe.js +4 -0
- package/dist/catppuccin-latte-C0LRGUW4-C0LRGUW4.js +4 -0
- package/dist/catppuccin-macchiato-c5wQ11TT-c5wQ11TT.js +4 -0
- package/dist/catppuccin-mocha-WMD6Qvya-WMD6Qvya.js +4 -0
- package/dist/channel-Cqk_cOiy-72hMZ_v0.js +5 -0
- package/dist/chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js +9 -0
- package/dist/chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js +8 -0
- package/dist/chunk-B4BG7PRW-CFs53zrP-DB12fnkn.js +1375 -0
- package/dist/chunk-DI55MBZ5-CKjAOeh7-D98MsfUL.js +1383 -0
- package/dist/chunk-FMBD7UC4-B29MtLTn-tjtGIWPm.js +19 -0
- package/dist/chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js +20 -0
- package/dist/chunk-QZHKN3VN-B_Q6cMrq-78n0e61s.js +15 -0
- package/dist/chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js +64 -0
- package/dist/clarity-PKm5CwqM-PKm5CwqM.js +6 -0
- package/dist/classDiagram-2ON5EDUG-DJmXfcVi-CF8YlvOv.js +22 -0
- package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi-CF8YlvOv.js +22 -0
- package/dist/clojure-CXJfHrL3-CXJfHrL3.js +6 -0
- package/dist/cmake-BJz8BOTU-BJz8BOTU.js +6 -0
- package/dist/cobol-DYTFdEK1-1eoMdnt0.js +12 -0
- package/dist/code-block-QI2IAROF-C_F85uim-MNaL7yo9.js +2805 -0
- package/dist/codeowners-Bt9yU6NX-Bt9yU6NX.js +6 -0
- package/dist/codeql-DHkodjjI-DHkodjjI.js +6 -0
- package/dist/coffee-DGBR_nr_-Cu5d6u6p.js +8 -0
- package/dist/common-lisp-EVqT9Zhp-EVqT9Zhp.js +6 -0
- package/dist/coq-B0L9upzn-B0L9upzn.js +6 -0
- package/dist/cose-bilkent-S5V4N54A-N3jM_XQd-BbbJbKzj.js +2612 -0
- package/dist/cpp-ZFnOq6fV-CkUSzFY-.js +19 -0
- package/dist/crystal-CRJyc4G--B_7jzPPy.js +18 -0
- package/dist/csharp-C7yUs7-w-C7yUs7-w.js +6 -0
- package/dist/css-CECN5uSL-CECN5uSL.js +6 -0
- package/dist/csv-CmYOceLb-DlI6xKnA.js +6 -0
- package/dist/cue-ZzumE7IT-ZzumE7IT.js +6 -0
- package/dist/cypher-jpdmjtA6-jpdmjtA6.js +6 -0
- package/dist/cytoscape.esm-ClN43hhW-Dh4GqQxb.js +18836 -0
- package/dist/d-CBagWSwH-CBagWSwH.js +6 -0
- package/dist/dagre-6UL2VRFP-CJdrtgOu-CLaqjT6l.js +451 -0
- package/dist/dark-plus-pUHDTVV0-pUHDTVV0.js +4 -0
- package/dist/dart-6ObCrKr9-6ObCrKr9.js +6 -0
- package/dist/dax-CcDT-8dH-CcDT-8dH.js +6 -0
- package/dist/defaultLocale-DcQU6Vee-C62bXCQv.js +177 -0
- package/dist/desktop-B93p9R9O-B93p9R9O.js +6 -0
- package/dist/diagram-PSM6KHXK-DSaDqHvO-DVH1Sew6.js +544 -0
- package/dist/diagram-QEK2KX5R-BbxboH_--DYDmO4S1.js +224 -0
- package/dist/diagram-S2PKOQOG-DWsCb5He--yPVUK-A.js +146 -0
- package/dist/diff-BxzP2J8R-BxzP2J8R.js +6 -0
- package/dist/docker-CsHqm9tx-CsHqm9tx.js +6 -0
- package/dist/dotenv-BMjVjUL1-BMjVjUL1.js +6 -0
- package/dist/dracula-BtZx2Kac-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BKa-aqBv-BKa-aqBv.js +4 -0
- package/dist/dream-maker-PAx17jaB-PAx17jaB.js +6 -0
- package/dist/edge-B882-fmN-CXsL8OuZ.js +14 -0
- package/dist/elixir-DRzNHQCz-EnC5QsDh.js +10 -0
- package/dist/elm-DZPAA5Qn-BCPZo0aa.js +9 -0
- package/dist/emacs-lisp-Cfxdx5D--Cfxdx5D-.js +6 -0
- package/dist/erDiagram-Q2GNP2WA-Bl0uHx93-Cm6cgw10.js +844 -0
- package/dist/erb-DB1DqdBc-CnAEHkSC.js +27 -0
- package/dist/erlang-DNcDT8Hi-Cs3llSSi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK-DMCBqXCK.js +4 -0
- package/dist/everforest-light-BbXl82Em-BbXl82Em.js +4 -0
- package/dist/fennel-N4WcXuKx-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH-BTDEUgqH.js +6 -0
- package/dist/flowDiagram-NV44I4VS-Dq0mXT8f-BL0sk42H.js +1631 -0
- package/dist/fluent-BMXUxfv1-BMXUxfv1.js +6 -0
- package/dist/fortran-fixed-form-DUsA-VGo-CYX4aMfD.js +8 -0
- package/dist/fortran-free-form-DPIT_jbP-DPIT_jbP.js +6 -0
- package/dist/fsharp-CYOiIVNx-D3KYyprZ.js +8 -0
- package/dist/ganttDiagram-JELNMOA3-Dj1adndm-BODWVm5T.js +2702 -0
- package/dist/gdresource-BwtMIoBm-DVtwhfL2.js +10 -0
- package/dist/gdscript-BifyeYhI-BifyeYhI.js +6 -0
- package/dist/gdshader-Bk8fF6yr-Bk8fF6yr.js +6 -0
- package/dist/genie-DzUvd7U9-DzUvd7U9.js +6 -0
- package/dist/gherkin-DHRaV0YP-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K-D9qSjMiw.js +8 -0
- package/dist/git-rebase-ZWUFO_T4-uqUGWt5o.js +8 -0
- package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1-BsIE257G.js +715 -0
- package/dist/github-dark-DenFmJkN-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H-BJPUVz4H.js +4 -0
- package/dist/github-dark-dimmed-DUshB20C-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-D3aGCnF8-D3aGCnF8.js +4 -0
- package/dist/github-light-JYsPkUQd-JYsPkUQd.js +4 -0
- package/dist/github-light-default-D99KPAby-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp-BbmZE-Mp.js +4 -0
- package/dist/gleam-Bv284lvN-Bv284lvN.js +6 -0
- package/dist/glimmer-js-DkxNrfPT-Dr8vv_dk.js +14 -0
- package/dist/glimmer-ts-D6YZEmK_-CeJS1lkt.js +14 -0
- package/dist/glsl-CkUcVZNK-D6P60Alb.js +8 -0
- package/dist/gnuplot-yPG9-sE_-yPG9-sE_.js +6 -0
- package/dist/go-ChxJuLYK-ChxJuLYK.js +6 -0
- package/dist/graph-DB2UxkYH-Bs-uwV4G.js +1190 -0
- package/dist/graphql-CBu2ehBn-B9KpeKh4.js +14 -0
- package/dist/groovy-CJQTphOW-CJQTphOW.js +6 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh-C5HOtKIh.js +4 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz-FVgwJHuz.js +4 -0
- package/dist/gruvbox-dark-soft-B46F314v-B46F314v.js +4 -0
- package/dist/gruvbox-light-hard-CJD38wDZ-CJD38wDZ.js +4 -0
- package/dist/gruvbox-light-medium-BlIhMYTA-BlIhMYTA.js +4 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ-DoPHyLVZ.js +4 -0
- package/dist/hack-DVWgrvc2-CFszvyOs.js +12 -0
- package/dist/haml-NZLVzu_R-6sAynSNG.js +10 -0
- package/dist/handlebars-mxStpSE7-C1GOcwW1.js +14 -0
- package/dist/haskell-WeIwNIP6-WeIwNIP6.js +6 -0
- package/dist/haxe-TztHsm5T-TztHsm5T.js +6 -0
- package/dist/hcl-D438OF-I-D438OF-I.js +6 -0
- package/dist/hjson-DYBUbqOl-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL-Bk8TCZNL.js +6 -0
- package/dist/hooks/useAction.d.ts +3 -3
- package/dist/houston-BDYrDoDW-BDYrDoDW.js +4 -0
- package/dist/html-B50bmoVb-BJ3eCZKL.js +10 -0
- package/dist/html-derivative-ByyNxAP5-BxLhKRHw.js +10 -0
- package/dist/http-BVIWqb92-CjnDmEd8.js +19 -0
- package/dist/hurl-B8OTiYoQ-DoRwHSAy.js +17 -0
- package/dist/hxml-GbqSQCLa-BnvJylRx.js +8 -0
- package/dist/hy-Brt5EZ7--Brt5EZ7-.js +6 -0
- package/dist/imba-CimUv-Uh-CimUv-Uh.js +6 -0
- package/dist/infoDiagram-WHAUD3N6-DPjzRs82-ChgGSBbk.js +27 -0
- package/dist/ini-BZIuRIvJ-BZIuRIvJ.js +6 -0
- package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
- package/dist/java-DY6VlHhP-DY6VlHhP.js +6 -0
- package/dist/javascript-C25yR2R2-C25yR2R2.js +6 -0
- package/dist/jinja-CI-LSgSv-BEWEZ83m.js +13 -0
- package/dist/jison-DdreslRX-DzaoIrEq.js +8 -0
- package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq-DYzqQ6Qu.js +840 -0
- package/dist/json-DxJze_jm-DxJze_jm.js +6 -0
- package/dist/json5-BT4Fjg39-BT4Fjg39.js +6 -0
- package/dist/jsonc-CHjZD8gR-CHjZD8gR.js +6 -0
- package/dist/jsonl-BGuvDmy9-BGuvDmy9.js +6 -0
- package/dist/jsonnet-Bx2cfsXg-Bx2cfsXg.js +6 -0
- package/dist/jssm-BcADi6EI-BcADi6EI.js +6 -0
- package/dist/jsx-BtKADgXT-BtKADgXT.js +6 -0
- package/dist/julia-ll8P6QXy-CifMye9u.js +19 -0
- package/dist/kanagawa-dragon-CiKur4Hl-CiKur4Hl.js +4 -0
- package/dist/kanagawa-lotus-BKu-smKu-BKu-smKu.js +4 -0
- package/dist/kanagawa-wave-CQwozSzG-CQwozSzG.js +4 -0
- package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx-Bz8MmnxI.js +724 -0
- package/dist/katex.min-l0sNRNKZ-l0sNRNKZ.js +1 -0
- package/dist/kdl-BNOv9TC3-0Q4F1UAs.js +6 -0
- package/dist/kotlin-ByBMgTeR-ByBMgTeR.js +6 -0
- package/dist/kusto-VWFLl2T0-VWFLl2T0.js +6 -0
- package/dist/laserwave-6a00oqik-6a00oqik.js +4 -0
- package/dist/latex-DF20280u-RMy1LUrW.js +9 -0
- package/dist/layout-Q6wQN5dr-BC95Y2G0.js +1727 -0
- package/dist/lean-D5yRrexI-D5yRrexI.js +6 -0
- package/dist/less-B1GLI2Di-B1GLI2Di.js +6 -0
- package/dist/light-plus-CZuVqSLX-CZuVqSLX.js +4 -0
- package/dist/linear-UL3ZZUJv-CWZvrkAD.js +277 -0
- package/dist/liquid-CHzkx3jT-G75tv0iE.js +14 -0
- package/dist/llvm-co1rIKs3-co1rIKs3.js +6 -0
- package/dist/log-Al8wyEFV-Al8wyEFV.js +6 -0
- package/dist/logo-DBa4JDzV-DBa4JDzV.js +6 -0
- package/dist/lua-kX5WP_P5-DxLUTRud.js +8 -0
- package/dist/luau-DtBSxLyz-DtBSxLyz.js +6 -0
- package/dist/make-CsMclxtr-CsMclxtr.js +6 -0
- package/dist/markdown-CrScaQ96-CrScaQ96.js +6 -0
- package/dist/marko-ls0Jg2j8-BHrfxEh0.js +14 -0
- package/dist/material-theme-D6KBX41T-D6KBX41T.js +4 -0
- package/dist/material-theme-darker-CkRroheE-CkRroheE.js +4 -0
- package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +4 -0
- package/dist/material-theme-ocean-ClGX14Ja-ClGX14Ja.js +4 -0
- package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0-BOAaUVP0.js +6 -0
- package/dist/mdc-DIP5_jeM-Cff0amyo.js +15 -0
- package/dist/mdx-BOhZZUJ8-BOhZZUJ8.js +6 -0
- package/dist/mermaid-B0ixDHKN-B0ixDHKN.js +6 -0
- package/dist/mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js +140994 -0
- package/dist/mermaid.core-Cpfp0NBU-DQS-fLaZ.js +14401 -0
- package/dist/min-dark-C7ak0t6c-C7ak0t6c.js +4 -0
- package/dist/min-light-CKFxVcPp-CKFxVcPp.js +4 -0
- package/dist/mindmap-definition-VGOIOE7T-B6ovfeib-CXlRkpn9.js +790 -0
- package/dist/mipsasm-CTx18fBl-CTx18fBl.js +6 -0
- package/dist/mojo-BD611d7o-BD611d7o.js +6 -0
- package/dist/monokai-C1KBYcO0-C1KBYcO0.js +4 -0
- package/dist/move-F-dICmj2-F-dICmj2.js +6 -0
- package/dist/narrat-DmhDCBs--DmhDCBs-.js +6 -0
- package/dist/nextflow-DmSVRGjG-DmSVRGjG.js +6 -0
- package/dist/nginx-COxS3qoU-CvZmIOfz.js +9 -0
- package/dist/night-owl-Bm2rzalh-Bm2rzalh.js +4 -0
- package/dist/nim-CCwXZLHG-CVhjPGL5.js +21 -0
- package/dist/nix-BZK5F767-BZK5F767.js +9 -0
- package/dist/nord-CC5OiUXg-CC5OiUXg.js +4 -0
- package/dist/nushell-D8j3dhT--D8j3dhT-.js +6 -0
- package/dist/objective-c-Itk8tzmv-Itk8tzmv.js +6 -0
- package/dist/objective-cpp-DGt5UKRO-DGt5UKRO.js +6 -0
- package/dist/ocaml-eSVK32Eg-eSVK32Eg.js +6 -0
- package/dist/one-dark-pro-DTA3VF0_-DTA3VF0_.js +4 -0
- package/dist/one-light-D9sNaUtq-D9sNaUtq.js +4 -0
- package/dist/openscad-Sp5uZ6f2-Sp5uZ6f2.js +6 -0
- package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
- package/dist/pascal-xy8pJNns-xy8pJNns.js +6 -0
- package/dist/perl-NvKK8p2P-DbsmNmLT.js +17 -0
- package/dist/php-CK5hNnT0-DEpqLZ_n.js +19 -0
- package/dist/pieDiagram-ADFJNKIX-Bn24elWA-iGwy_4tX.js +166 -0
- package/dist/pkl-C-zSNmaA-C-zSNmaA.js +6 -0
- package/dist/plastic-CSTz3KZp-CSTz3KZp.js +4 -0
- package/dist/plsql-pVbGZfOv-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm-BNfHvqmm.js +6 -0
- package/dist/poimandres-C-VADXHD-C-VADXHD.js +4 -0
- package/dist/polar-CAZahv3u-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n-05aHdL-n.js +6 -0
- package/dist/powerquery-DI9HkTvs-DI9HkTvs.js +6 -0
- package/dist/powershell-Clc4ydu--Clc4ydu-.js +6 -0
- package/dist/prisma-FZjmVtSl-FZjmVtSl.js +6 -0
- package/dist/prolog-C5-yg4TO-C5-yg4TO.js +6 -0
- package/dist/proto-MmCPeFAD-MmCPeFAD.js +6 -0
- package/dist/pug-XOw9Q1Ho-BO4tUzTj.js +12 -0
- package/dist/puppet-CUJHmnxV-CUJHmnxV.js +6 -0
- package/dist/purescript-rUfGld-4-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ-BFNSHbwJ.js +6 -0
- package/dist/qml-rTNXsquU-DeTe0b4l.js +8 -0
- package/dist/qmldir-BInDYbpo-BInDYbpo.js +6 -0
- package/dist/qss-AeJTysr_-AeJTysr_.js +6 -0
- package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll-CFP8fgtI.js +1030 -0
- package/dist/r-Bm0uF0U2-Bm0uF0U2.js +6 -0
- package/dist/racket-B83wSAja-B83wSAja.js +6 -0
- package/dist/raku-nEQ4ZJJ7-nEQ4ZJJ7.js +6 -0
- package/dist/razor-CoqPuKQU-DUBs-Qe6.js +12 -0
- package/dist/red-7y8PH7HH-7y8PH7HH.js +4 -0
- package/dist/reg-m_s_Kiip-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg-BazyLpPg.js +6 -0
- package/dist/rel-BcRfyd6Q-BcRfyd6Q.js +6 -0
- package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz-CC8EZoyz.js +854 -0
- package/dist/riscv-Ce8MAQLP-Ce8MAQLP.js +6 -0
- package/dist/rose-pine-BKc3yVeu-BKc3yVeu.js +4 -0
- package/dist/rose-pine-dawn-BulJcPZT-BulJcPZT.js +4 -0
- package/dist/rose-pine-moon-j6jiXKV8-j6jiXKV8.js +4 -0
- package/dist/rosmsg-Cz0w1km8-Cz0w1km8.js +6 -0
- package/dist/rst-AoEjemIj-Dr7TcJwd.js +36 -0
- package/dist/ruby-CGSl8JoB-D4hDjzwe.js +36 -0
- package/dist/rust-CLzF9zIN-CLzF9zIN.js +6 -0
- package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k-DhByp8vU.js +830 -0
- package/dist/sas-fpEvgATw-D9dNv8Ej.js +8 -0
- package/dist/sass-DxHp5rTx-DxHp5rTx.js +6 -0
- package/dist/scala-D4grkFkl-D4grkFkl.js +6 -0
- package/dist/scheme-BCRWuEm4-BCRWuEm4.js +6 -0
- package/dist/scss-B1FaCqwR-DbNEJJFR.js +8 -0
- package/dist/sdbl-B7T8abf4-B7T8abf4.js +6 -0
- package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7-DcFuWrLs.js +2526 -0
- package/dist/services/axios/useFetchAndLoad.d.ts +1 -1
- package/dist/shaderlab-Cr62-Wb4-D_jbKjpl.js +8 -0
- package/dist/shellscript-InADTalH-InADTalH.js +6 -0
- package/dist/shellsession-DiDJNQdy-BGvYrs9g.js +8 -0
- package/dist/slack-dark-i7wN4OET-i7wN4OET.js +4 -0
- package/dist/slack-ochin-ndHf0LoP-ndHf0LoP.js +4 -0
- package/dist/smalltalk-BlI1_OkM-BlI1_OkM.js +6 -0
- package/dist/snazzy-light-BlSJXAu4-BlSJXAu4.js +4 -0
- package/dist/solarized-dark-UTmkh7lw-UTmkh7lw.js +4 -0
- package/dist/solarized-light-BheCkDPT-BheCkDPT.js +4 -0
- package/dist/solidity-DUWnFhS6-DUWnFhS6.js +6 -0
- package/dist/soy-YPoZ1G2p-C1q7UQeu.js +10 -0
- package/dist/sparql-B0KWFEri-CqC-y0Su.js +8 -0
- package/dist/splunk-CRXR8A9s-CRXR8A9s.js +6 -0
- package/dist/sql-Cn_v3PB0-Cn_v3PB0.js +6 -0
- package/dist/ssh-config-DP-hNVbF-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX-Bf3brRPV.js +8 -0
- package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8-FBnBvaVW.js +268 -0
- package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b-B_Pfgmu4.js +21 -0
- package/dist/style.css +1 -1
- package/dist/stylus-CyKEU1Ej-CyKEU1Ej.js +6 -0
- package/dist/svelte-5UasyOg7-e8KUCojE.js +14 -0
- package/dist/swift-9UzSvamq-9UzSvamq.js +6 -0
- package/dist/synthwave-84-NU3C_KFZ-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-BCm7smPJ-BCm7smPJ.js +6 -0
- package/dist/systemd-C-4qm6XH-C-4qm6XH.js +6 -0
- package/dist/talonscript-CFF3LF_O-CvtCkGGO.js +6 -0
- package/dist/tasl-Cg_WBUAe-Cg_WBUAe.js +6 -0
- package/dist/tcl-DN7buRTF-DN7buRTF.js +6 -0
- package/dist/templ-peLZIM2D-DkTUdVi-.js +12 -0
- package/dist/terraform-DGvcn9zM-DGvcn9zM.js +6 -0
- package/dist/tex-DpOayVob-BjP51rYh.js +8 -0
- package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h-DfdfMl2Q.js +805 -0
- package/dist/tokyo-night-DP4TmcQl-DP4TmcQl.js +4 -0
- package/dist/toml-DY62mUL_-DY62mUL_.js +6 -0
- package/dist/treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js +15006 -0
- package/dist/ts-tags-CWmBp2js-DrKIoTCJ.js +43 -0
- package/dist/tsv-BtvSkaG0-BtvSkaG0.js +6 -0
- package/dist/tsx-B8rCNbgL-B8rCNbgL.js +6 -0
- package/dist/turtle-_H59FV7D-_H59FV7D.js +6 -0
- package/dist/twig-Cpoho6oi-CQE9XWXP.js +35 -0
- package/dist/typescript-RycA9KXf-RycA9KXf.js +6 -0
- package/dist/typespec-DWqp-kUU-DWqp-kUU.js +6 -0
- package/dist/typst-D_1QKWns-D_1QKWns.js +6 -0
- package/dist/v-BPCNiyYe-BPCNiyYe.js +6 -0
- package/dist/vala-uxaPR7d1-uxaPR7d1.js +6 -0
- package/dist/vb-D8_c5-KN-D8_c5-KN.js +6 -0
- package/dist/verilog-B-bybjPF-B-bybjPF.js +6 -0
- package/dist/vesper-BckBta1U-BckBta1U.js +4 -0
- package/dist/vhdl-CUlNa8ac-CUlNa8ac.js +6 -0
- package/dist/viml-DsfA-sWm-DsfA-sWm.js +6 -0
- package/dist/vitesse-black-BoGvW84i-BoGvW84i.js +4 -0
- package/dist/vitesse-dark-Cym-eLtO-Cym-eLtO.js +4 -0
- package/dist/vitesse-light-CcmG315c-CcmG315c.js +4 -0
- package/dist/vue-DmFKWfEU-DXvRBLDJ.js +31 -0
- package/dist/vue-html-BB2aI7Yc-e0S8MQFq.js +15 -0
- package/dist/vue-vine-CznNap4x-DAbzn77p.js +24 -0
- package/dist/vyper-CPQuu50u-CPQuu50u.js +6 -0
- package/dist/wasm-BBXxrAl7-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae-DQxwEHae.js +7 -0
- package/dist/wenyan-pbVjoM9_-pbVjoM9_.js +6 -0
- package/dist/wgsl-DY4iK1q1-DY4iK1q1.js +6 -0
- package/dist/wikitext-Z-MoUasO-Z-MoUasO.js +6 -0
- package/dist/wit-CQMQOlTg-CQMQOlTg.js +6 -0
- package/dist/wolfram-Dz4KXISs-Dz4KXISs.js +6 -0
- package/dist/xml-C2J0sS9M-IZlib8U3.js +8 -0
- package/dist/xsl-CbTBIiv3-CgleMmCH.js +9 -0
- package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u-CFsnZXTL.js +1345 -0
- package/dist/yaml-DaO7k5B1-DaO7k5B1.js +6 -0
- package/dist/zenscript-CxBjpf9c-CxBjpf9c.js +6 -0
- package/dist/zig-Vm0PO9wB-Vm0PO9wB.js +6 -0
- package/package.json +25 -42
|
@@ -0,0 +1,790 @@
|
|
|
1
|
+
import { g as ct } from "./chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js";
|
|
2
|
+
import { d as ht } from "./chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js";
|
|
3
|
+
import { _ as a, l as I, d as X, E as M, i as P, aw as lt, z as dt, A as gt, ae as ut, af as pt, ag as yt } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
|
|
4
|
+
import "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const m = [];
|
|
8
|
+
for (let t = 0; t < 256; ++t)
|
|
9
|
+
m.push((t + 256).toString(16).slice(1));
|
|
10
|
+
function ft(t, s = 0) {
|
|
11
|
+
return (m[t[s + 0]] + m[t[s + 1]] + m[t[s + 2]] + m[t[s + 3]] + "-" + m[t[s + 4]] + m[t[s + 5]] + "-" + m[t[s + 6]] + m[t[s + 7]] + "-" + m[t[s + 8]] + m[t[s + 9]] + "-" + m[t[s + 10]] + m[t[s + 11]] + m[t[s + 12]] + m[t[s + 13]] + m[t[s + 14]] + m[t[s + 15]]).toLowerCase();
|
|
12
|
+
}
|
|
13
|
+
let W;
|
|
14
|
+
const mt = new Uint8Array(16);
|
|
15
|
+
function Et() {
|
|
16
|
+
if (!W) {
|
|
17
|
+
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
18
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
19
|
+
W = crypto.getRandomValues.bind(crypto);
|
|
20
|
+
}
|
|
21
|
+
return W(mt);
|
|
22
|
+
}
|
|
23
|
+
const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), nt = { randomUUID: _t };
|
|
24
|
+
function bt(t, s, i) {
|
|
25
|
+
var c;
|
|
26
|
+
if (nt.randomUUID && !s && !t)
|
|
27
|
+
return nt.randomUUID();
|
|
28
|
+
t = t || {};
|
|
29
|
+
const h = t.random ?? ((c = t.rng) == null ? void 0 : c.call(t)) ?? Et();
|
|
30
|
+
if (h.length < 16)
|
|
31
|
+
throw new Error("Random bytes length must be >= 16");
|
|
32
|
+
return h[6] = h[6] & 15 | 64, h[8] = h[8] & 63 | 128, ft(h);
|
|
33
|
+
}
|
|
34
|
+
var J = function() {
|
|
35
|
+
var t = /* @__PURE__ */ a(function(S, e, r, o) {
|
|
36
|
+
for (r = r || {}, o = S.length; o--; r[S[o]] = e)
|
|
37
|
+
;
|
|
38
|
+
return r;
|
|
39
|
+
}, "o"), s = [1, 4], i = [1, 13], c = [1, 12], h = [1, 15], y = [1, 16], u = [1, 20], g = [1, 19], L = [6, 7, 8], p = [1, 26], C = [1, 24], Y = [1, 25], b = [6, 7, 11], q = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], Q = [1, 34], R = [1, 6, 7, 11, 13, 15, 16, 19, 22], B = {
|
|
40
|
+
trace: /* @__PURE__ */ a(function() {
|
|
41
|
+
}, "trace"),
|
|
42
|
+
yy: {},
|
|
43
|
+
symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, MINDMAP: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, ICON: 15, CLASS: 16, nodeWithId: 17, nodeWithoutId: 18, NODE_DSTART: 19, NODE_DESCR: 20, NODE_DEND: 21, NODE_ID: 22, $accept: 0, $end: 1 },
|
|
44
|
+
terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
|
|
45
|
+
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, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
|
|
46
|
+
performAction: /* @__PURE__ */ a(function(S, e, r, o, l, n, E) {
|
|
47
|
+
var d = n.length - 1;
|
|
48
|
+
switch (l) {
|
|
49
|
+
case 6:
|
|
50
|
+
case 7:
|
|
51
|
+
return o;
|
|
52
|
+
case 8:
|
|
53
|
+
o.getLogger().trace("Stop NL ");
|
|
54
|
+
break;
|
|
55
|
+
case 9:
|
|
56
|
+
o.getLogger().trace("Stop EOF ");
|
|
57
|
+
break;
|
|
58
|
+
case 11:
|
|
59
|
+
o.getLogger().trace("Stop NL2 ");
|
|
60
|
+
break;
|
|
61
|
+
case 12:
|
|
62
|
+
o.getLogger().trace("Stop EOF2 ");
|
|
63
|
+
break;
|
|
64
|
+
case 15:
|
|
65
|
+
o.getLogger().info("Node: ", n[d].id), o.addNode(n[d - 1].length, n[d].id, n[d].descr, n[d].type);
|
|
66
|
+
break;
|
|
67
|
+
case 16:
|
|
68
|
+
o.getLogger().trace("Icon: ", n[d]), o.decorateNode({ icon: n[d] });
|
|
69
|
+
break;
|
|
70
|
+
case 17:
|
|
71
|
+
case 21:
|
|
72
|
+
o.decorateNode({ class: n[d] });
|
|
73
|
+
break;
|
|
74
|
+
case 18:
|
|
75
|
+
o.getLogger().trace("SPACELIST");
|
|
76
|
+
break;
|
|
77
|
+
case 19:
|
|
78
|
+
o.getLogger().trace("Node: ", n[d].id), o.addNode(0, n[d].id, n[d].descr, n[d].type);
|
|
79
|
+
break;
|
|
80
|
+
case 20:
|
|
81
|
+
o.decorateNode({ icon: n[d] });
|
|
82
|
+
break;
|
|
83
|
+
case 25:
|
|
84
|
+
o.getLogger().trace("node found ..", n[d - 2]), this.$ = { id: n[d - 1], descr: n[d - 1], type: o.getType(n[d - 2], n[d]) };
|
|
85
|
+
break;
|
|
86
|
+
case 26:
|
|
87
|
+
this.$ = { id: n[d], descr: n[d], type: o.nodeType.DEFAULT };
|
|
88
|
+
break;
|
|
89
|
+
case 27:
|
|
90
|
+
o.getLogger().trace("node found ..", n[d - 3]), this.$ = { id: n[d - 3], descr: n[d - 1], type: o.getType(n[d - 2], n[d]) };
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}, "anonymous"),
|
|
94
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: s }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: s }, { 6: i, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: h, 16: y, 17: 17, 18: 18, 19: u, 22: g }, t(L, [2, 3]), { 1: [2, 2] }, t(L, [2, 4]), t(L, [2, 5]), { 1: [2, 6], 6: i, 12: 21, 13: c, 14: 14, 15: h, 16: y, 17: 17, 18: 18, 19: u, 22: g }, { 6: i, 9: 22, 12: 11, 13: c, 14: 14, 15: h, 16: y, 17: 17, 18: 18, 19: u, 22: g }, { 6: p, 7: C, 10: 23, 11: Y }, t(b, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: u, 22: g }), t(b, [2, 18]), t(b, [2, 19]), t(b, [2, 20]), t(b, [2, 21]), t(b, [2, 23]), t(b, [2, 24]), t(b, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: p, 7: C, 10: 32, 11: Y }, { 1: [2, 7], 6: i, 12: 21, 13: c, 14: 14, 15: h, 16: y, 17: 17, 18: 18, 19: u, 22: g }, t(q, [2, 14], { 7: K, 11: Q }), t(R, [2, 8]), t(R, [2, 9]), t(R, [2, 10]), t(b, [2, 15]), t(b, [2, 16]), t(b, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(q, [2, 13], { 7: K, 11: Q }), t(R, [2, 11]), t(R, [2, 12]), { 21: [1, 37] }, t(b, [2, 25]), t(b, [2, 27])],
|
|
95
|
+
defaultActions: { 2: [2, 1], 6: [2, 2] },
|
|
96
|
+
parseError: /* @__PURE__ */ a(function(S, e) {
|
|
97
|
+
if (e.recoverable)
|
|
98
|
+
this.trace(S);
|
|
99
|
+
else {
|
|
100
|
+
var r = new Error(S);
|
|
101
|
+
throw r.hash = e, r;
|
|
102
|
+
}
|
|
103
|
+
}, "parseError"),
|
|
104
|
+
parse: /* @__PURE__ */ a(function(S) {
|
|
105
|
+
var e = this, r = [0], o = [], l = [null], n = [], E = this.table, d = "", A = 0, Z = 0, st = 2, V = 1, rt = n.slice.call(arguments, 1), f = Object.create(this.lexer), x = { yy: {} };
|
|
106
|
+
for (var F in this.yy)
|
|
107
|
+
Object.prototype.hasOwnProperty.call(this.yy, F) && (x.yy[F] = this.yy[F]);
|
|
108
|
+
f.setInput(S, x.yy), x.yy.lexer = f, x.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
|
|
109
|
+
var j = f.yylloc;
|
|
110
|
+
n.push(j);
|
|
111
|
+
var ot = f.options && f.options.ranges;
|
|
112
|
+
typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
113
|
+
function at(N) {
|
|
114
|
+
r.length = r.length - 2 * N, l.length = l.length - N, n.length = n.length - N;
|
|
115
|
+
}
|
|
116
|
+
a(at, "popStack");
|
|
117
|
+
function tt() {
|
|
118
|
+
var N;
|
|
119
|
+
return N = o.pop() || f.lex() || V, typeof N != "number" && (N instanceof Array && (o = N, N = o.pop()), N = e.symbols_[N] || N), N;
|
|
120
|
+
}
|
|
121
|
+
a(tt, "lex");
|
|
122
|
+
for (var _, T, D, G, O = {}, $, k, et, U; ; ) {
|
|
123
|
+
if (T = r[r.length - 1], this.defaultActions[T] ? D = this.defaultActions[T] : ((_ === null || typeof _ > "u") && (_ = tt()), D = E[T] && E[T][_]), typeof D > "u" || !D.length || !D[0]) {
|
|
124
|
+
var H = "";
|
|
125
|
+
U = [];
|
|
126
|
+
for ($ in E[T])
|
|
127
|
+
this.terminals_[$] && $ > st && U.push("'" + this.terminals_[$] + "'");
|
|
128
|
+
f.showPosition ? H = "Parse error on line " + (A + 1) + `:
|
|
129
|
+
` + f.showPosition() + `
|
|
130
|
+
Expecting ` + U.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : H = "Parse error on line " + (A + 1) + ": Unexpected " + (_ == V ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(H, {
|
|
131
|
+
text: f.match,
|
|
132
|
+
token: this.terminals_[_] || _,
|
|
133
|
+
line: f.yylineno,
|
|
134
|
+
loc: j,
|
|
135
|
+
expected: U
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
if (D[0] instanceof Array && D.length > 1)
|
|
139
|
+
throw new Error("Parse Error: multiple actions possible at state: " + T + ", token: " + _);
|
|
140
|
+
switch (D[0]) {
|
|
141
|
+
case 1:
|
|
142
|
+
r.push(_), l.push(f.yytext), n.push(f.yylloc), r.push(D[1]), _ = null, Z = f.yyleng, d = f.yytext, A = f.yylineno, j = f.yylloc;
|
|
143
|
+
break;
|
|
144
|
+
case 2:
|
|
145
|
+
if (k = this.productions_[D[1]][1], O.$ = l[l.length - k], O._$ = {
|
|
146
|
+
first_line: n[n.length - (k || 1)].first_line,
|
|
147
|
+
last_line: n[n.length - 1].last_line,
|
|
148
|
+
first_column: n[n.length - (k || 1)].first_column,
|
|
149
|
+
last_column: n[n.length - 1].last_column
|
|
150
|
+
}, ot && (O._$.range = [
|
|
151
|
+
n[n.length - (k || 1)].range[0],
|
|
152
|
+
n[n.length - 1].range[1]
|
|
153
|
+
]), G = this.performAction.apply(O, [
|
|
154
|
+
d,
|
|
155
|
+
Z,
|
|
156
|
+
A,
|
|
157
|
+
x.yy,
|
|
158
|
+
D[1],
|
|
159
|
+
l,
|
|
160
|
+
n
|
|
161
|
+
].concat(rt)), typeof G < "u")
|
|
162
|
+
return G;
|
|
163
|
+
k && (r = r.slice(0, -1 * k * 2), l = l.slice(0, -1 * k), n = n.slice(0, -1 * k)), r.push(this.productions_[D[1]][0]), l.push(O.$), n.push(O._$), et = E[r[r.length - 2]][r[r.length - 1]], r.push(et);
|
|
164
|
+
break;
|
|
165
|
+
case 3:
|
|
166
|
+
return !0;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
return !0;
|
|
170
|
+
}, "parse")
|
|
171
|
+
}, it = /* @__PURE__ */ function() {
|
|
172
|
+
var S = {
|
|
173
|
+
EOF: 1,
|
|
174
|
+
parseError: /* @__PURE__ */ a(function(e, r) {
|
|
175
|
+
if (this.yy.parser)
|
|
176
|
+
this.yy.parser.parseError(e, r);
|
|
177
|
+
else
|
|
178
|
+
throw new Error(e);
|
|
179
|
+
}, "parseError"),
|
|
180
|
+
// resets the lexer, sets new input
|
|
181
|
+
setInput: /* @__PURE__ */ a(function(e, r) {
|
|
182
|
+
return this.yy = r || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
183
|
+
first_line: 1,
|
|
184
|
+
first_column: 0,
|
|
185
|
+
last_line: 1,
|
|
186
|
+
last_column: 0
|
|
187
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
188
|
+
}, "setInput"),
|
|
189
|
+
// consumes and returns one char from the input
|
|
190
|
+
input: /* @__PURE__ */ a(function() {
|
|
191
|
+
var e = this._input[0];
|
|
192
|
+
this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e;
|
|
193
|
+
var r = e.match(/(?:\r\n?|\n).*/g);
|
|
194
|
+
return r ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
195
|
+
}, "input"),
|
|
196
|
+
// unshifts one char (or a string) into the input
|
|
197
|
+
unput: /* @__PURE__ */ a(function(e) {
|
|
198
|
+
var r = e.length, o = e.split(/(?:\r\n?|\n)/g);
|
|
199
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
|
|
200
|
+
var l = this.match.split(/(?:\r\n?|\n)/g);
|
|
201
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
|
|
202
|
+
var n = this.yylloc.range;
|
|
203
|
+
return this.yylloc = {
|
|
204
|
+
first_line: this.yylloc.first_line,
|
|
205
|
+
last_line: this.yylineno + 1,
|
|
206
|
+
first_column: this.yylloc.first_column,
|
|
207
|
+
last_column: o ? (o.length === l.length ? this.yylloc.first_column : 0) + l[l.length - o.length].length - o[0].length : this.yylloc.first_column - r
|
|
208
|
+
}, this.options.ranges && (this.yylloc.range = [n[0], n[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
|
|
209
|
+
}, "unput"),
|
|
210
|
+
// When called from action, caches matched text and appends it on next action
|
|
211
|
+
more: /* @__PURE__ */ a(function() {
|
|
212
|
+
return this._more = !0, this;
|
|
213
|
+
}, "more"),
|
|
214
|
+
// 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.
|
|
215
|
+
reject: /* @__PURE__ */ a(function() {
|
|
216
|
+
if (this.options.backtrack_lexer)
|
|
217
|
+
this._backtrack = !0;
|
|
218
|
+
else
|
|
219
|
+
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).
|
|
220
|
+
` + this.showPosition(), {
|
|
221
|
+
text: "",
|
|
222
|
+
token: null,
|
|
223
|
+
line: this.yylineno
|
|
224
|
+
});
|
|
225
|
+
return this;
|
|
226
|
+
}, "reject"),
|
|
227
|
+
// retain first n characters of the match
|
|
228
|
+
less: /* @__PURE__ */ a(function(e) {
|
|
229
|
+
this.unput(this.match.slice(e));
|
|
230
|
+
}, "less"),
|
|
231
|
+
// displays already matched input, i.e. for error messages
|
|
232
|
+
pastInput: /* @__PURE__ */ a(function() {
|
|
233
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
234
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
235
|
+
}, "pastInput"),
|
|
236
|
+
// displays upcoming input, i.e. for error messages
|
|
237
|
+
upcomingInput: /* @__PURE__ */ a(function() {
|
|
238
|
+
var e = this.match;
|
|
239
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
240
|
+
}, "upcomingInput"),
|
|
241
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
242
|
+
showPosition: /* @__PURE__ */ a(function() {
|
|
243
|
+
var e = this.pastInput(), r = new Array(e.length + 1).join("-");
|
|
244
|
+
return e + this.upcomingInput() + `
|
|
245
|
+
` + r + "^";
|
|
246
|
+
}, "showPosition"),
|
|
247
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
248
|
+
test_match: /* @__PURE__ */ a(function(e, r) {
|
|
249
|
+
var o, l, n;
|
|
250
|
+
if (this.options.backtrack_lexer && (n = {
|
|
251
|
+
yylineno: this.yylineno,
|
|
252
|
+
yylloc: {
|
|
253
|
+
first_line: this.yylloc.first_line,
|
|
254
|
+
last_line: this.last_line,
|
|
255
|
+
first_column: this.yylloc.first_column,
|
|
256
|
+
last_column: this.yylloc.last_column
|
|
257
|
+
},
|
|
258
|
+
yytext: this.yytext,
|
|
259
|
+
match: this.match,
|
|
260
|
+
matches: this.matches,
|
|
261
|
+
matched: this.matched,
|
|
262
|
+
yyleng: this.yyleng,
|
|
263
|
+
offset: this.offset,
|
|
264
|
+
_more: this._more,
|
|
265
|
+
_input: this._input,
|
|
266
|
+
yy: this.yy,
|
|
267
|
+
conditionStack: this.conditionStack.slice(0),
|
|
268
|
+
done: this.done
|
|
269
|
+
}, this.options.ranges && (n.yylloc.range = this.yylloc.range.slice(0))), l = e[0].match(/(?:\r\n?|\n).*/g), l && (this.yylineno += l.length), this.yylloc = {
|
|
270
|
+
first_line: this.yylloc.last_line,
|
|
271
|
+
last_line: this.yylineno + 1,
|
|
272
|
+
first_column: this.yylloc.last_column,
|
|
273
|
+
last_column: l ? l[l.length - 1].length - l[l.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
274
|
+
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], o = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
|
|
275
|
+
return o;
|
|
276
|
+
if (this._backtrack) {
|
|
277
|
+
for (var E in n)
|
|
278
|
+
this[E] = n[E];
|
|
279
|
+
return !1;
|
|
280
|
+
}
|
|
281
|
+
return !1;
|
|
282
|
+
}, "test_match"),
|
|
283
|
+
// return next match in input
|
|
284
|
+
next: /* @__PURE__ */ a(function() {
|
|
285
|
+
if (this.done)
|
|
286
|
+
return this.EOF;
|
|
287
|
+
this._input || (this.done = !0);
|
|
288
|
+
var e, r, o, l;
|
|
289
|
+
this._more || (this.yytext = "", this.match = "");
|
|
290
|
+
for (var n = this._currentRules(), E = 0; E < n.length; E++)
|
|
291
|
+
if (o = this._input.match(this.rules[n[E]]), o && (!r || o[0].length > r[0].length)) {
|
|
292
|
+
if (r = o, l = E, this.options.backtrack_lexer) {
|
|
293
|
+
if (e = this.test_match(o, n[E]), e !== !1)
|
|
294
|
+
return e;
|
|
295
|
+
if (this._backtrack) {
|
|
296
|
+
r = !1;
|
|
297
|
+
continue;
|
|
298
|
+
} else
|
|
299
|
+
return !1;
|
|
300
|
+
} else if (!this.options.flex)
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
return r ? (e = this.test_match(r, n[l]), e !== !1 ? e : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
304
|
+
` + this.showPosition(), {
|
|
305
|
+
text: "",
|
|
306
|
+
token: null,
|
|
307
|
+
line: this.yylineno
|
|
308
|
+
});
|
|
309
|
+
}, "next"),
|
|
310
|
+
// return next match that has a token
|
|
311
|
+
lex: /* @__PURE__ */ a(function() {
|
|
312
|
+
var e = this.next();
|
|
313
|
+
return e || this.lex();
|
|
314
|
+
}, "lex"),
|
|
315
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
316
|
+
begin: /* @__PURE__ */ a(function(e) {
|
|
317
|
+
this.conditionStack.push(e);
|
|
318
|
+
}, "begin"),
|
|
319
|
+
// pop the previously active lexer condition state off the condition stack
|
|
320
|
+
popState: /* @__PURE__ */ a(function() {
|
|
321
|
+
var e = this.conditionStack.length - 1;
|
|
322
|
+
return e > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
323
|
+
}, "popState"),
|
|
324
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
325
|
+
_currentRules: /* @__PURE__ */ a(function() {
|
|
326
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
327
|
+
}, "_currentRules"),
|
|
328
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
329
|
+
topState: /* @__PURE__ */ a(function(e) {
|
|
330
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
331
|
+
}, "topState"),
|
|
332
|
+
// alias for begin(condition)
|
|
333
|
+
pushState: /* @__PURE__ */ a(function(e) {
|
|
334
|
+
this.begin(e);
|
|
335
|
+
}, "pushState"),
|
|
336
|
+
// return the number of states currently on the stack
|
|
337
|
+
stateStackSize: /* @__PURE__ */ a(function() {
|
|
338
|
+
return this.conditionStack.length;
|
|
339
|
+
}, "stateStackSize"),
|
|
340
|
+
options: { "case-insensitive": !0 },
|
|
341
|
+
performAction: /* @__PURE__ */ a(function(e, r, o, l) {
|
|
342
|
+
switch (o) {
|
|
343
|
+
case 0:
|
|
344
|
+
return e.getLogger().trace("Found comment", r.yytext), 6;
|
|
345
|
+
case 1:
|
|
346
|
+
return 8;
|
|
347
|
+
case 2:
|
|
348
|
+
this.begin("CLASS");
|
|
349
|
+
break;
|
|
350
|
+
case 3:
|
|
351
|
+
return this.popState(), 16;
|
|
352
|
+
case 4:
|
|
353
|
+
this.popState();
|
|
354
|
+
break;
|
|
355
|
+
case 5:
|
|
356
|
+
e.getLogger().trace("Begin icon"), this.begin("ICON");
|
|
357
|
+
break;
|
|
358
|
+
case 6:
|
|
359
|
+
return e.getLogger().trace("SPACELINE"), 6;
|
|
360
|
+
case 7:
|
|
361
|
+
return 7;
|
|
362
|
+
case 8:
|
|
363
|
+
return 15;
|
|
364
|
+
case 9:
|
|
365
|
+
e.getLogger().trace("end icon"), this.popState();
|
|
366
|
+
break;
|
|
367
|
+
case 10:
|
|
368
|
+
return e.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
|
|
369
|
+
case 11:
|
|
370
|
+
return e.getLogger().trace("Cloud"), this.begin("NODE"), 19;
|
|
371
|
+
case 12:
|
|
372
|
+
return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
|
|
373
|
+
case 13:
|
|
374
|
+
return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
|
|
375
|
+
case 14:
|
|
376
|
+
return this.begin("NODE"), 19;
|
|
377
|
+
case 15:
|
|
378
|
+
return this.begin("NODE"), 19;
|
|
379
|
+
case 16:
|
|
380
|
+
return this.begin("NODE"), 19;
|
|
381
|
+
case 17:
|
|
382
|
+
return this.begin("NODE"), 19;
|
|
383
|
+
case 18:
|
|
384
|
+
return 13;
|
|
385
|
+
case 19:
|
|
386
|
+
return 22;
|
|
387
|
+
case 20:
|
|
388
|
+
return 11;
|
|
389
|
+
case 21:
|
|
390
|
+
this.begin("NSTR2");
|
|
391
|
+
break;
|
|
392
|
+
case 22:
|
|
393
|
+
return "NODE_DESCR";
|
|
394
|
+
case 23:
|
|
395
|
+
this.popState();
|
|
396
|
+
break;
|
|
397
|
+
case 24:
|
|
398
|
+
e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
|
|
399
|
+
break;
|
|
400
|
+
case 25:
|
|
401
|
+
return e.getLogger().trace("description:", r.yytext), "NODE_DESCR";
|
|
402
|
+
case 26:
|
|
403
|
+
this.popState();
|
|
404
|
+
break;
|
|
405
|
+
case 27:
|
|
406
|
+
return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
|
|
407
|
+
case 28:
|
|
408
|
+
return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
|
|
409
|
+
case 29:
|
|
410
|
+
return this.popState(), e.getLogger().trace("node end ...", r.yytext), "NODE_DEND";
|
|
411
|
+
case 30:
|
|
412
|
+
return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
|
|
413
|
+
case 31:
|
|
414
|
+
return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
|
|
415
|
+
case 32:
|
|
416
|
+
return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
|
|
417
|
+
case 33:
|
|
418
|
+
return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
|
|
419
|
+
case 34:
|
|
420
|
+
return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
|
|
421
|
+
case 35:
|
|
422
|
+
return e.getLogger().trace("Long description:", r.yytext), 20;
|
|
423
|
+
case 36:
|
|
424
|
+
return e.getLogger().trace("Long description:", r.yytext), 20;
|
|
425
|
+
}
|
|
426
|
+
}, "anonymous"),
|
|
427
|
+
rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\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],
|
|
428
|
+
conditions: { CLASS: { rules: [3, 4], inclusive: !1 }, ICON: { rules: [8, 9], inclusive: !1 }, NSTR2: { rules: [22, 23], inclusive: !1 }, NSTR: { rules: [25, 26], inclusive: !1 }, NODE: { rules: [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], inclusive: !0 } }
|
|
429
|
+
};
|
|
430
|
+
return S;
|
|
431
|
+
}();
|
|
432
|
+
B.lexer = it;
|
|
433
|
+
function w() {
|
|
434
|
+
this.yy = {};
|
|
435
|
+
}
|
|
436
|
+
return a(w, "Parser"), w.prototype = B, B.Parser = w, new w();
|
|
437
|
+
}();
|
|
438
|
+
J.parser = J;
|
|
439
|
+
var Nt = J, v = {
|
|
440
|
+
DEFAULT: 0,
|
|
441
|
+
NO_BORDER: 0,
|
|
442
|
+
ROUNDED_RECT: 1,
|
|
443
|
+
RECT: 2,
|
|
444
|
+
CIRCLE: 3,
|
|
445
|
+
CLOUD: 4,
|
|
446
|
+
BANG: 5,
|
|
447
|
+
HEXAGON: 6
|
|
448
|
+
}, z, Dt = (z = class {
|
|
449
|
+
constructor() {
|
|
450
|
+
this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = v, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
|
|
451
|
+
}
|
|
452
|
+
clear() {
|
|
453
|
+
this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
|
|
454
|
+
}
|
|
455
|
+
getParent(t) {
|
|
456
|
+
for (let s = this.nodes.length - 1; s >= 0; s--)
|
|
457
|
+
if (this.nodes[s].level < t)
|
|
458
|
+
return this.nodes[s];
|
|
459
|
+
return null;
|
|
460
|
+
}
|
|
461
|
+
getMindmap() {
|
|
462
|
+
return this.nodes.length > 0 ? this.nodes[0] : null;
|
|
463
|
+
}
|
|
464
|
+
addNode(t, s, i, c) {
|
|
465
|
+
var h, y;
|
|
466
|
+
I.info("addNode", t, s, i, c);
|
|
467
|
+
let u = !1;
|
|
468
|
+
this.nodes.length === 0 ? (this.baseLevel = t, t = 0, u = !0) : this.baseLevel !== void 0 && (t = t - this.baseLevel, u = !1);
|
|
469
|
+
const g = X();
|
|
470
|
+
let L = ((h = g.mindmap) == null ? void 0 : h.padding) ?? M.mindmap.padding;
|
|
471
|
+
switch (c) {
|
|
472
|
+
case this.nodeType.ROUNDED_RECT:
|
|
473
|
+
case this.nodeType.RECT:
|
|
474
|
+
case this.nodeType.HEXAGON:
|
|
475
|
+
L *= 2;
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
const p = {
|
|
479
|
+
id: this.count++,
|
|
480
|
+
nodeId: P(s, g),
|
|
481
|
+
level: t,
|
|
482
|
+
descr: P(i, g),
|
|
483
|
+
type: c,
|
|
484
|
+
children: [],
|
|
485
|
+
width: ((y = g.mindmap) == null ? void 0 : y.maxNodeWidth) ?? M.mindmap.maxNodeWidth,
|
|
486
|
+
padding: L,
|
|
487
|
+
isRoot: u
|
|
488
|
+
}, C = this.getParent(t);
|
|
489
|
+
if (C)
|
|
490
|
+
C.children.push(p), this.nodes.push(p);
|
|
491
|
+
else if (u)
|
|
492
|
+
this.nodes.push(p);
|
|
493
|
+
else
|
|
494
|
+
throw new Error(
|
|
495
|
+
`There can be only one root. No parent could be found for ("${p.descr}")`
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
getType(t, s) {
|
|
499
|
+
switch (I.debug("In get type", t, s), t) {
|
|
500
|
+
case "[":
|
|
501
|
+
return this.nodeType.RECT;
|
|
502
|
+
case "(":
|
|
503
|
+
return s === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
|
|
504
|
+
case "((":
|
|
505
|
+
return this.nodeType.CIRCLE;
|
|
506
|
+
case ")":
|
|
507
|
+
return this.nodeType.CLOUD;
|
|
508
|
+
case "))":
|
|
509
|
+
return this.nodeType.BANG;
|
|
510
|
+
case "{{":
|
|
511
|
+
return this.nodeType.HEXAGON;
|
|
512
|
+
default:
|
|
513
|
+
return this.nodeType.DEFAULT;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
setElementForId(t, s) {
|
|
517
|
+
this.elements[t] = s;
|
|
518
|
+
}
|
|
519
|
+
getElementById(t) {
|
|
520
|
+
return this.elements[t];
|
|
521
|
+
}
|
|
522
|
+
decorateNode(t) {
|
|
523
|
+
if (!t)
|
|
524
|
+
return;
|
|
525
|
+
const s = X(), i = this.nodes[this.nodes.length - 1];
|
|
526
|
+
t.icon && (i.icon = P(t.icon, s)), t.class && (i.class = P(t.class, s));
|
|
527
|
+
}
|
|
528
|
+
type2Str(t) {
|
|
529
|
+
switch (t) {
|
|
530
|
+
case this.nodeType.DEFAULT:
|
|
531
|
+
return "no-border";
|
|
532
|
+
case this.nodeType.RECT:
|
|
533
|
+
return "rect";
|
|
534
|
+
case this.nodeType.ROUNDED_RECT:
|
|
535
|
+
return "rounded-rect";
|
|
536
|
+
case this.nodeType.CIRCLE:
|
|
537
|
+
return "circle";
|
|
538
|
+
case this.nodeType.CLOUD:
|
|
539
|
+
return "cloud";
|
|
540
|
+
case this.nodeType.BANG:
|
|
541
|
+
return "bang";
|
|
542
|
+
case this.nodeType.HEXAGON:
|
|
543
|
+
return "hexgon";
|
|
544
|
+
default:
|
|
545
|
+
return "no-border";
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Assign section numbers to nodes based on their position relative to root
|
|
550
|
+
* @param node - The mindmap node to process
|
|
551
|
+
* @param sectionNumber - The section number to assign (undefined for root)
|
|
552
|
+
*/
|
|
553
|
+
assignSections(t, s) {
|
|
554
|
+
if (t.level === 0 ? t.section = void 0 : t.section = s, t.children)
|
|
555
|
+
for (const [i, c] of t.children.entries()) {
|
|
556
|
+
const h = t.level === 0 ? i : s;
|
|
557
|
+
this.assignSections(c, h);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* Convert mindmap tree structure to flat array of nodes
|
|
562
|
+
* @param node - The mindmap node to process
|
|
563
|
+
* @param processedNodes - Array to collect processed nodes
|
|
564
|
+
*/
|
|
565
|
+
flattenNodes(t, s) {
|
|
566
|
+
const i = ["mindmap-node"];
|
|
567
|
+
t.isRoot === !0 ? i.push("section-root", "section--1") : t.section !== void 0 && i.push(`section-${t.section}`), t.class && i.push(t.class);
|
|
568
|
+
const c = i.join(" "), h = /* @__PURE__ */ a((u) => {
|
|
569
|
+
switch (u) {
|
|
570
|
+
case v.CIRCLE:
|
|
571
|
+
return "mindmapCircle";
|
|
572
|
+
case v.RECT:
|
|
573
|
+
return "rect";
|
|
574
|
+
case v.ROUNDED_RECT:
|
|
575
|
+
return "rounded";
|
|
576
|
+
case v.CLOUD:
|
|
577
|
+
return "cloud";
|
|
578
|
+
case v.BANG:
|
|
579
|
+
return "bang";
|
|
580
|
+
case v.HEXAGON:
|
|
581
|
+
return "hexagon";
|
|
582
|
+
case v.DEFAULT:
|
|
583
|
+
return "defaultMindmapNode";
|
|
584
|
+
case v.NO_BORDER:
|
|
585
|
+
default:
|
|
586
|
+
return "rect";
|
|
587
|
+
}
|
|
588
|
+
}, "getShapeFromType"), y = {
|
|
589
|
+
id: t.id.toString(),
|
|
590
|
+
domId: "node_" + t.id.toString(),
|
|
591
|
+
label: t.descr,
|
|
592
|
+
isGroup: !1,
|
|
593
|
+
shape: h(t.type),
|
|
594
|
+
width: t.width,
|
|
595
|
+
height: t.height ?? 0,
|
|
596
|
+
padding: t.padding,
|
|
597
|
+
cssClasses: c,
|
|
598
|
+
cssStyles: [],
|
|
599
|
+
look: "default",
|
|
600
|
+
icon: t.icon,
|
|
601
|
+
x: t.x,
|
|
602
|
+
y: t.y,
|
|
603
|
+
// Mindmap-specific properties
|
|
604
|
+
level: t.level,
|
|
605
|
+
nodeId: t.nodeId,
|
|
606
|
+
type: t.type,
|
|
607
|
+
section: t.section
|
|
608
|
+
};
|
|
609
|
+
if (s.push(y), t.children)
|
|
610
|
+
for (const u of t.children)
|
|
611
|
+
this.flattenNodes(u, s);
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Generate edges from parent-child relationships in mindmap tree
|
|
615
|
+
* @param node - The mindmap node to process
|
|
616
|
+
* @param edges - Array to collect edges
|
|
617
|
+
*/
|
|
618
|
+
generateEdges(t, s) {
|
|
619
|
+
if (t.children)
|
|
620
|
+
for (const i of t.children) {
|
|
621
|
+
let c = "edge";
|
|
622
|
+
i.section !== void 0 && (c += ` section-edge-${i.section}`);
|
|
623
|
+
const h = t.level + 1;
|
|
624
|
+
c += ` edge-depth-${h}`;
|
|
625
|
+
const y = {
|
|
626
|
+
id: `edge_${t.id}_${i.id}`,
|
|
627
|
+
start: t.id.toString(),
|
|
628
|
+
end: i.id.toString(),
|
|
629
|
+
type: "normal",
|
|
630
|
+
curve: "basis",
|
|
631
|
+
thickness: "normal",
|
|
632
|
+
look: "default",
|
|
633
|
+
classes: c,
|
|
634
|
+
// Store mindmap-specific data
|
|
635
|
+
depth: t.level,
|
|
636
|
+
section: i.section
|
|
637
|
+
};
|
|
638
|
+
s.push(y), this.generateEdges(i, s);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* Get structured data for layout algorithms
|
|
643
|
+
* Following the pattern established by ER diagrams
|
|
644
|
+
* @returns Structured data containing nodes, edges, and config
|
|
645
|
+
*/
|
|
646
|
+
getData() {
|
|
647
|
+
const t = this.getMindmap(), s = X(), i = lt().layout !== void 0, c = s;
|
|
648
|
+
if (i || (c.layout = "cose-bilkent"), !t)
|
|
649
|
+
return {
|
|
650
|
+
nodes: [],
|
|
651
|
+
edges: [],
|
|
652
|
+
config: c
|
|
653
|
+
};
|
|
654
|
+
I.debug("getData: mindmapRoot", t, s), this.assignSections(t);
|
|
655
|
+
const h = [], y = [];
|
|
656
|
+
this.flattenNodes(t, h), this.generateEdges(t, y), I.debug(
|
|
657
|
+
`getData: processed ${h.length} nodes and ${y.length} edges`
|
|
658
|
+
);
|
|
659
|
+
const u = /* @__PURE__ */ new Map();
|
|
660
|
+
for (const g of h)
|
|
661
|
+
u.set(g.id, {
|
|
662
|
+
shape: g.shape,
|
|
663
|
+
width: g.width,
|
|
664
|
+
height: g.height,
|
|
665
|
+
padding: g.padding
|
|
666
|
+
});
|
|
667
|
+
return {
|
|
668
|
+
nodes: h,
|
|
669
|
+
edges: y,
|
|
670
|
+
config: c,
|
|
671
|
+
// Store the root node for mindmap-specific layout algorithms
|
|
672
|
+
rootNode: t,
|
|
673
|
+
// Properties required by dagre layout algorithm
|
|
674
|
+
markers: ["point"],
|
|
675
|
+
// Mindmaps don't use markers
|
|
676
|
+
direction: "TB",
|
|
677
|
+
// Top-to-bottom direction for mindmaps
|
|
678
|
+
nodeSpacing: 50,
|
|
679
|
+
// Default spacing between nodes
|
|
680
|
+
rankSpacing: 50,
|
|
681
|
+
// Default spacing between ranks
|
|
682
|
+
// Add shapes for ELK compatibility
|
|
683
|
+
shapes: Object.fromEntries(u),
|
|
684
|
+
// Additional properties that layout algorithms might expect
|
|
685
|
+
type: "mindmap",
|
|
686
|
+
diagramId: "mindmap-" + bt()
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
// Expose logger to grammar
|
|
690
|
+
getLogger() {
|
|
691
|
+
return I;
|
|
692
|
+
}
|
|
693
|
+
}, a(z, "MindmapDB"), z), St = /* @__PURE__ */ a(async (t, s, i, c) => {
|
|
694
|
+
var h, y;
|
|
695
|
+
I.debug(`Rendering mindmap diagram
|
|
696
|
+
` + t);
|
|
697
|
+
const u = c.db, g = u.getData(), L = ct(s, g.config.securityLevel);
|
|
698
|
+
g.type = c.type, g.layoutAlgorithm = dt(g.config.layout, {
|
|
699
|
+
fallback: "cose-bilkent"
|
|
700
|
+
}), g.diagramId = s, u.getMindmap() && (g.nodes.forEach((p) => {
|
|
701
|
+
p.shape === "rounded" ? (p.radius = 15, p.taper = 15, p.stroke = "none", p.width = 0, p.padding = 15) : p.shape === "circle" ? p.padding = 10 : p.shape === "rect" && (p.width = 0, p.padding = 10);
|
|
702
|
+
}), await gt(g, L), ht(
|
|
703
|
+
L,
|
|
704
|
+
((h = g.config.mindmap) == null ? void 0 : h.padding) ?? M.mindmap.padding,
|
|
705
|
+
"mindmapDiagram",
|
|
706
|
+
((y = g.config.mindmap) == null ? void 0 : y.useMaxWidth) ?? M.mindmap.useMaxWidth
|
|
707
|
+
));
|
|
708
|
+
}, "draw"), Lt = {
|
|
709
|
+
draw: St
|
|
710
|
+
}, kt = /* @__PURE__ */ a((t) => {
|
|
711
|
+
let s = "";
|
|
712
|
+
for (let i = 0; i < t.THEME_COLOR_LIMIT; i++)
|
|
713
|
+
t["lineColor" + i] = t["lineColor" + i] || t["cScaleInv" + i], ut(t["lineColor" + i]) ? t["lineColor" + i] = pt(t["lineColor" + i], 20) : t["lineColor" + i] = yt(t["lineColor" + i], 20);
|
|
714
|
+
for (let i = 0; i < t.THEME_COLOR_LIMIT; i++) {
|
|
715
|
+
const c = "" + (17 - 3 * i);
|
|
716
|
+
s += `
|
|
717
|
+
.section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
|
|
718
|
+
fill: ${t["cScale" + i]};
|
|
719
|
+
}
|
|
720
|
+
.section-${i - 1} text {
|
|
721
|
+
fill: ${t["cScaleLabel" + i]};
|
|
722
|
+
}
|
|
723
|
+
.node-icon-${i - 1} {
|
|
724
|
+
font-size: 40px;
|
|
725
|
+
color: ${t["cScaleLabel" + i]};
|
|
726
|
+
}
|
|
727
|
+
.section-edge-${i - 1}{
|
|
728
|
+
stroke: ${t["cScale" + i]};
|
|
729
|
+
}
|
|
730
|
+
.edge-depth-${i - 1}{
|
|
731
|
+
stroke-width: ${c};
|
|
732
|
+
}
|
|
733
|
+
.section-${i - 1} line {
|
|
734
|
+
stroke: ${t["cScaleInv" + i]} ;
|
|
735
|
+
stroke-width: 3;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.disabled, .disabled circle, .disabled text {
|
|
739
|
+
fill: lightgray;
|
|
740
|
+
}
|
|
741
|
+
.disabled text {
|
|
742
|
+
fill: #efefef;
|
|
743
|
+
}
|
|
744
|
+
`;
|
|
745
|
+
}
|
|
746
|
+
return s;
|
|
747
|
+
}, "genSections"), vt = /* @__PURE__ */ a((t) => `
|
|
748
|
+
.edge {
|
|
749
|
+
stroke-width: 3;
|
|
750
|
+
}
|
|
751
|
+
${kt(t)}
|
|
752
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
753
|
+
fill: ${t.git0};
|
|
754
|
+
}
|
|
755
|
+
.section-root text {
|
|
756
|
+
fill: ${t.gitBranchLabel0};
|
|
757
|
+
}
|
|
758
|
+
.section-root span {
|
|
759
|
+
color: ${t.gitBranchLabel0};
|
|
760
|
+
}
|
|
761
|
+
.section-2 span {
|
|
762
|
+
color: ${t.gitBranchLabel0};
|
|
763
|
+
}
|
|
764
|
+
.icon-container {
|
|
765
|
+
height:100%;
|
|
766
|
+
display: flex;
|
|
767
|
+
justify-content: center;
|
|
768
|
+
align-items: center;
|
|
769
|
+
}
|
|
770
|
+
.edge {
|
|
771
|
+
fill: none;
|
|
772
|
+
}
|
|
773
|
+
.mindmap-node-label {
|
|
774
|
+
dy: 1em;
|
|
775
|
+
alignment-baseline: middle;
|
|
776
|
+
text-anchor: middle;
|
|
777
|
+
dominant-baseline: middle;
|
|
778
|
+
text-align: center;
|
|
779
|
+
}
|
|
780
|
+
`, "getStyles"), xt = vt, At = {
|
|
781
|
+
get db() {
|
|
782
|
+
return new Dt();
|
|
783
|
+
},
|
|
784
|
+
renderer: Lt,
|
|
785
|
+
parser: Nt,
|
|
786
|
+
styles: xt
|
|
787
|
+
};
|
|
788
|
+
export {
|
|
789
|
+
At as diagram
|
|
790
|
+
};
|