@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,805 @@
|
|
|
1
|
+
import { _ as r, D as mt, ac as xt, v as bt, j as q, d as kt, l as $, ad as _t, ae as vt, af as wt, ag as St } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
|
|
2
|
+
import { h as et } from "./arc-DHSZg76Q-C6o4oFmD.js";
|
|
3
|
+
import "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
var J = function() {
|
|
7
|
+
var n = /* @__PURE__ */ r(function(f, s, c, h) {
|
|
8
|
+
for (c = c || {}, h = f.length; h--; c[f[h]] = s)
|
|
9
|
+
;
|
|
10
|
+
return c;
|
|
11
|
+
}, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], a = [1, 10], i = [1, 11], d = [1, 12], l = [1, 13], p = [1, 16], y = [1, 17], m = {
|
|
12
|
+
trace: /* @__PURE__ */ r(function() {
|
|
13
|
+
}, "trace"),
|
|
14
|
+
yy: {},
|
|
15
|
+
symbols_: { error: 2, start: 3, timeline: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, period_statement: 18, event_statement: 19, period: 20, event: 21, $accept: 0, $end: 1 },
|
|
16
|
+
terminals_: { 2: "error", 4: "timeline", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 20: "period", 21: "event" },
|
|
17
|
+
productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [18, 1], [19, 1]],
|
|
18
|
+
performAction: /* @__PURE__ */ r(function(f, s, c, h, u, o, k) {
|
|
19
|
+
var x = o.length - 1;
|
|
20
|
+
switch (u) {
|
|
21
|
+
case 1:
|
|
22
|
+
return o[x - 1];
|
|
23
|
+
case 2:
|
|
24
|
+
this.$ = [];
|
|
25
|
+
break;
|
|
26
|
+
case 3:
|
|
27
|
+
o[x - 1].push(o[x]), this.$ = o[x - 1];
|
|
28
|
+
break;
|
|
29
|
+
case 4:
|
|
30
|
+
case 5:
|
|
31
|
+
this.$ = o[x];
|
|
32
|
+
break;
|
|
33
|
+
case 6:
|
|
34
|
+
case 7:
|
|
35
|
+
this.$ = [];
|
|
36
|
+
break;
|
|
37
|
+
case 8:
|
|
38
|
+
h.getCommonDb().setDiagramTitle(o[x].substr(6)), this.$ = o[x].substr(6);
|
|
39
|
+
break;
|
|
40
|
+
case 9:
|
|
41
|
+
this.$ = o[x].trim(), h.getCommonDb().setAccTitle(this.$);
|
|
42
|
+
break;
|
|
43
|
+
case 10:
|
|
44
|
+
case 11:
|
|
45
|
+
this.$ = o[x].trim(), h.getCommonDb().setAccDescription(this.$);
|
|
46
|
+
break;
|
|
47
|
+
case 12:
|
|
48
|
+
h.addSection(o[x].substr(8)), this.$ = o[x].substr(8);
|
|
49
|
+
break;
|
|
50
|
+
case 15:
|
|
51
|
+
h.addTask(o[x], 0, ""), this.$ = o[x];
|
|
52
|
+
break;
|
|
53
|
+
case 16:
|
|
54
|
+
h.addEvent(o[x].substr(2)), this.$ = o[x];
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}, "anonymous"),
|
|
58
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, n(t, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: e, 12: a, 14: i, 16: d, 17: l, 18: 14, 19: 15, 20: p, 21: y }, n(t, [2, 7], { 1: [2, 1] }), n(t, [2, 3]), { 9: 18, 11: e, 12: a, 14: i, 16: d, 17: l, 18: 14, 19: 15, 20: p, 21: y }, n(t, [2, 5]), n(t, [2, 6]), n(t, [2, 8]), { 13: [1, 19] }, { 15: [1, 20] }, n(t, [2, 11]), n(t, [2, 12]), n(t, [2, 13]), n(t, [2, 14]), n(t, [2, 15]), n(t, [2, 16]), n(t, [2, 4]), n(t, [2, 9]), n(t, [2, 10])],
|
|
59
|
+
defaultActions: {},
|
|
60
|
+
parseError: /* @__PURE__ */ r(function(f, s) {
|
|
61
|
+
if (s.recoverable)
|
|
62
|
+
this.trace(f);
|
|
63
|
+
else {
|
|
64
|
+
var c = new Error(f);
|
|
65
|
+
throw c.hash = s, c;
|
|
66
|
+
}
|
|
67
|
+
}, "parseError"),
|
|
68
|
+
parse: /* @__PURE__ */ r(function(f) {
|
|
69
|
+
var s = this, c = [0], h = [], u = [null], o = [], k = this.table, x = "", N = 0, M = 0, W = 2, I = 1, j = o.slice.call(arguments, 1), _ = Object.create(this.lexer), S = { yy: {} };
|
|
70
|
+
for (var v in this.yy)
|
|
71
|
+
Object.prototype.hasOwnProperty.call(this.yy, v) && (S.yy[v] = this.yy[v]);
|
|
72
|
+
_.setInput(f, S.yy), S.yy.lexer = _, S.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
|
|
73
|
+
var A = _.yylloc;
|
|
74
|
+
o.push(A);
|
|
75
|
+
var O = _.options && _.options.ranges;
|
|
76
|
+
typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
77
|
+
function L(E) {
|
|
78
|
+
c.length = c.length - 2 * E, u.length = u.length - E, o.length = o.length - E;
|
|
79
|
+
}
|
|
80
|
+
r(L, "popStack");
|
|
81
|
+
function D() {
|
|
82
|
+
var E;
|
|
83
|
+
return E = h.pop() || _.lex() || I, typeof E != "number" && (E instanceof Array && (h = E, E = h.pop()), E = s.symbols_[E] || E), E;
|
|
84
|
+
}
|
|
85
|
+
r(D, "lex");
|
|
86
|
+
for (var w, R, T, Y, P = {}, z, C, tt, V; ; ) {
|
|
87
|
+
if (R = c[c.length - 1], this.defaultActions[R] ? T = this.defaultActions[R] : ((w === null || typeof w > "u") && (w = D()), T = k[R] && k[R][w]), typeof T > "u" || !T.length || !T[0]) {
|
|
88
|
+
var Z = "";
|
|
89
|
+
V = [];
|
|
90
|
+
for (z in k[R])
|
|
91
|
+
this.terminals_[z] && z > W && V.push("'" + this.terminals_[z] + "'");
|
|
92
|
+
_.showPosition ? Z = "Parse error on line " + (N + 1) + `:
|
|
93
|
+
` + _.showPosition() + `
|
|
94
|
+
Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Z = "Parse error on line " + (N + 1) + ": Unexpected " + (w == I ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Z, {
|
|
95
|
+
text: _.match,
|
|
96
|
+
token: this.terminals_[w] || w,
|
|
97
|
+
line: _.yylineno,
|
|
98
|
+
loc: A,
|
|
99
|
+
expected: V
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
if (T[0] instanceof Array && T.length > 1)
|
|
103
|
+
throw new Error("Parse Error: multiple actions possible at state: " + R + ", token: " + w);
|
|
104
|
+
switch (T[0]) {
|
|
105
|
+
case 1:
|
|
106
|
+
c.push(w), u.push(_.yytext), o.push(_.yylloc), c.push(T[1]), w = null, M = _.yyleng, x = _.yytext, N = _.yylineno, A = _.yylloc;
|
|
107
|
+
break;
|
|
108
|
+
case 2:
|
|
109
|
+
if (C = this.productions_[T[1]][1], P.$ = u[u.length - C], P._$ = {
|
|
110
|
+
first_line: o[o.length - (C || 1)].first_line,
|
|
111
|
+
last_line: o[o.length - 1].last_line,
|
|
112
|
+
first_column: o[o.length - (C || 1)].first_column,
|
|
113
|
+
last_column: o[o.length - 1].last_column
|
|
114
|
+
}, O && (P._$.range = [
|
|
115
|
+
o[o.length - (C || 1)].range[0],
|
|
116
|
+
o[o.length - 1].range[1]
|
|
117
|
+
]), Y = this.performAction.apply(P, [
|
|
118
|
+
x,
|
|
119
|
+
M,
|
|
120
|
+
N,
|
|
121
|
+
S.yy,
|
|
122
|
+
T[1],
|
|
123
|
+
u,
|
|
124
|
+
o
|
|
125
|
+
].concat(j)), typeof Y < "u")
|
|
126
|
+
return Y;
|
|
127
|
+
C && (c = c.slice(0, -1 * C * 2), u = u.slice(0, -1 * C), o = o.slice(0, -1 * C)), c.push(this.productions_[T[1]][0]), u.push(P.$), o.push(P._$), tt = k[c[c.length - 2]][c[c.length - 1]], c.push(tt);
|
|
128
|
+
break;
|
|
129
|
+
case 3:
|
|
130
|
+
return !0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
return !0;
|
|
134
|
+
}, "parse")
|
|
135
|
+
}, b = /* @__PURE__ */ function() {
|
|
136
|
+
var f = {
|
|
137
|
+
EOF: 1,
|
|
138
|
+
parseError: /* @__PURE__ */ r(function(s, c) {
|
|
139
|
+
if (this.yy.parser)
|
|
140
|
+
this.yy.parser.parseError(s, c);
|
|
141
|
+
else
|
|
142
|
+
throw new Error(s);
|
|
143
|
+
}, "parseError"),
|
|
144
|
+
// resets the lexer, sets new input
|
|
145
|
+
setInput: /* @__PURE__ */ r(function(s, c) {
|
|
146
|
+
return this.yy = c || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
147
|
+
first_line: 1,
|
|
148
|
+
first_column: 0,
|
|
149
|
+
last_line: 1,
|
|
150
|
+
last_column: 0
|
|
151
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
152
|
+
}, "setInput"),
|
|
153
|
+
// consumes and returns one char from the input
|
|
154
|
+
input: /* @__PURE__ */ r(function() {
|
|
155
|
+
var s = this._input[0];
|
|
156
|
+
this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
|
|
157
|
+
var c = s.match(/(?:\r\n?|\n).*/g);
|
|
158
|
+
return c ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
|
|
159
|
+
}, "input"),
|
|
160
|
+
// unshifts one char (or a string) into the input
|
|
161
|
+
unput: /* @__PURE__ */ r(function(s) {
|
|
162
|
+
var c = s.length, h = s.split(/(?:\r\n?|\n)/g);
|
|
163
|
+
this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
|
|
164
|
+
var u = this.match.split(/(?:\r\n?|\n)/g);
|
|
165
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), h.length - 1 && (this.yylineno -= h.length - 1);
|
|
166
|
+
var o = this.yylloc.range;
|
|
167
|
+
return this.yylloc = {
|
|
168
|
+
first_line: this.yylloc.first_line,
|
|
169
|
+
last_line: this.yylineno + 1,
|
|
170
|
+
first_column: this.yylloc.first_column,
|
|
171
|
+
last_column: h ? (h.length === u.length ? this.yylloc.first_column : 0) + u[u.length - h.length].length - h[0].length : this.yylloc.first_column - c
|
|
172
|
+
}, this.options.ranges && (this.yylloc.range = [o[0], o[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
|
|
173
|
+
}, "unput"),
|
|
174
|
+
// When called from action, caches matched text and appends it on next action
|
|
175
|
+
more: /* @__PURE__ */ r(function() {
|
|
176
|
+
return this._more = !0, this;
|
|
177
|
+
}, "more"),
|
|
178
|
+
// 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.
|
|
179
|
+
reject: /* @__PURE__ */ r(function() {
|
|
180
|
+
if (this.options.backtrack_lexer)
|
|
181
|
+
this._backtrack = !0;
|
|
182
|
+
else
|
|
183
|
+
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).
|
|
184
|
+
` + this.showPosition(), {
|
|
185
|
+
text: "",
|
|
186
|
+
token: null,
|
|
187
|
+
line: this.yylineno
|
|
188
|
+
});
|
|
189
|
+
return this;
|
|
190
|
+
}, "reject"),
|
|
191
|
+
// retain first n characters of the match
|
|
192
|
+
less: /* @__PURE__ */ r(function(s) {
|
|
193
|
+
this.unput(this.match.slice(s));
|
|
194
|
+
}, "less"),
|
|
195
|
+
// displays already matched input, i.e. for error messages
|
|
196
|
+
pastInput: /* @__PURE__ */ r(function() {
|
|
197
|
+
var s = this.matched.substr(0, this.matched.length - this.match.length);
|
|
198
|
+
return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
|
|
199
|
+
}, "pastInput"),
|
|
200
|
+
// displays upcoming input, i.e. for error messages
|
|
201
|
+
upcomingInput: /* @__PURE__ */ r(function() {
|
|
202
|
+
var s = this.match;
|
|
203
|
+
return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
204
|
+
}, "upcomingInput"),
|
|
205
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
206
|
+
showPosition: /* @__PURE__ */ r(function() {
|
|
207
|
+
var s = this.pastInput(), c = new Array(s.length + 1).join("-");
|
|
208
|
+
return s + this.upcomingInput() + `
|
|
209
|
+
` + c + "^";
|
|
210
|
+
}, "showPosition"),
|
|
211
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
212
|
+
test_match: /* @__PURE__ */ r(function(s, c) {
|
|
213
|
+
var h, u, o;
|
|
214
|
+
if (this.options.backtrack_lexer && (o = {
|
|
215
|
+
yylineno: this.yylineno,
|
|
216
|
+
yylloc: {
|
|
217
|
+
first_line: this.yylloc.first_line,
|
|
218
|
+
last_line: this.last_line,
|
|
219
|
+
first_column: this.yylloc.first_column,
|
|
220
|
+
last_column: this.yylloc.last_column
|
|
221
|
+
},
|
|
222
|
+
yytext: this.yytext,
|
|
223
|
+
match: this.match,
|
|
224
|
+
matches: this.matches,
|
|
225
|
+
matched: this.matched,
|
|
226
|
+
yyleng: this.yyleng,
|
|
227
|
+
offset: this.offset,
|
|
228
|
+
_more: this._more,
|
|
229
|
+
_input: this._input,
|
|
230
|
+
yy: this.yy,
|
|
231
|
+
conditionStack: this.conditionStack.slice(0),
|
|
232
|
+
done: this.done
|
|
233
|
+
}, this.options.ranges && (o.yylloc.range = this.yylloc.range.slice(0))), u = s[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
|
|
234
|
+
first_line: this.yylloc.last_line,
|
|
235
|
+
last_line: this.yylineno + 1,
|
|
236
|
+
first_column: this.yylloc.last_column,
|
|
237
|
+
last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
|
|
238
|
+
}, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], h = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), h)
|
|
239
|
+
return h;
|
|
240
|
+
if (this._backtrack) {
|
|
241
|
+
for (var k in o)
|
|
242
|
+
this[k] = o[k];
|
|
243
|
+
return !1;
|
|
244
|
+
}
|
|
245
|
+
return !1;
|
|
246
|
+
}, "test_match"),
|
|
247
|
+
// return next match in input
|
|
248
|
+
next: /* @__PURE__ */ r(function() {
|
|
249
|
+
if (this.done)
|
|
250
|
+
return this.EOF;
|
|
251
|
+
this._input || (this.done = !0);
|
|
252
|
+
var s, c, h, u;
|
|
253
|
+
this._more || (this.yytext = "", this.match = "");
|
|
254
|
+
for (var o = this._currentRules(), k = 0; k < o.length; k++)
|
|
255
|
+
if (h = this._input.match(this.rules[o[k]]), h && (!c || h[0].length > c[0].length)) {
|
|
256
|
+
if (c = h, u = k, this.options.backtrack_lexer) {
|
|
257
|
+
if (s = this.test_match(h, o[k]), s !== !1)
|
|
258
|
+
return s;
|
|
259
|
+
if (this._backtrack) {
|
|
260
|
+
c = !1;
|
|
261
|
+
continue;
|
|
262
|
+
} else
|
|
263
|
+
return !1;
|
|
264
|
+
} else if (!this.options.flex)
|
|
265
|
+
break;
|
|
266
|
+
}
|
|
267
|
+
return c ? (s = this.test_match(c, o[u]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
268
|
+
` + this.showPosition(), {
|
|
269
|
+
text: "",
|
|
270
|
+
token: null,
|
|
271
|
+
line: this.yylineno
|
|
272
|
+
});
|
|
273
|
+
}, "next"),
|
|
274
|
+
// return next match that has a token
|
|
275
|
+
lex: /* @__PURE__ */ r(function() {
|
|
276
|
+
var s = this.next();
|
|
277
|
+
return s || this.lex();
|
|
278
|
+
}, "lex"),
|
|
279
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
280
|
+
begin: /* @__PURE__ */ r(function(s) {
|
|
281
|
+
this.conditionStack.push(s);
|
|
282
|
+
}, "begin"),
|
|
283
|
+
// pop the previously active lexer condition state off the condition stack
|
|
284
|
+
popState: /* @__PURE__ */ r(function() {
|
|
285
|
+
var s = this.conditionStack.length - 1;
|
|
286
|
+
return s > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
287
|
+
}, "popState"),
|
|
288
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
289
|
+
_currentRules: /* @__PURE__ */ r(function() {
|
|
290
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
291
|
+
}, "_currentRules"),
|
|
292
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
293
|
+
topState: /* @__PURE__ */ r(function(s) {
|
|
294
|
+
return s = this.conditionStack.length - 1 - Math.abs(s || 0), s >= 0 ? this.conditionStack[s] : "INITIAL";
|
|
295
|
+
}, "topState"),
|
|
296
|
+
// alias for begin(condition)
|
|
297
|
+
pushState: /* @__PURE__ */ r(function(s) {
|
|
298
|
+
this.begin(s);
|
|
299
|
+
}, "pushState"),
|
|
300
|
+
// return the number of states currently on the stack
|
|
301
|
+
stateStackSize: /* @__PURE__ */ r(function() {
|
|
302
|
+
return this.conditionStack.length;
|
|
303
|
+
}, "stateStackSize"),
|
|
304
|
+
options: { "case-insensitive": !0 },
|
|
305
|
+
performAction: /* @__PURE__ */ r(function(s, c, h, u) {
|
|
306
|
+
switch (h) {
|
|
307
|
+
case 0:
|
|
308
|
+
break;
|
|
309
|
+
case 1:
|
|
310
|
+
break;
|
|
311
|
+
case 2:
|
|
312
|
+
return 10;
|
|
313
|
+
case 3:
|
|
314
|
+
break;
|
|
315
|
+
case 4:
|
|
316
|
+
break;
|
|
317
|
+
case 5:
|
|
318
|
+
return 4;
|
|
319
|
+
case 6:
|
|
320
|
+
return 11;
|
|
321
|
+
case 7:
|
|
322
|
+
return this.begin("acc_title"), 12;
|
|
323
|
+
case 8:
|
|
324
|
+
return this.popState(), "acc_title_value";
|
|
325
|
+
case 9:
|
|
326
|
+
return this.begin("acc_descr"), 14;
|
|
327
|
+
case 10:
|
|
328
|
+
return this.popState(), "acc_descr_value";
|
|
329
|
+
case 11:
|
|
330
|
+
this.begin("acc_descr_multiline");
|
|
331
|
+
break;
|
|
332
|
+
case 12:
|
|
333
|
+
this.popState();
|
|
334
|
+
break;
|
|
335
|
+
case 13:
|
|
336
|
+
return "acc_descr_multiline_value";
|
|
337
|
+
case 14:
|
|
338
|
+
return 17;
|
|
339
|
+
case 15:
|
|
340
|
+
return 21;
|
|
341
|
+
case 16:
|
|
342
|
+
return 20;
|
|
343
|
+
case 17:
|
|
344
|
+
return 6;
|
|
345
|
+
case 18:
|
|
346
|
+
return "INVALID";
|
|
347
|
+
}
|
|
348
|
+
}, "anonymous"),
|
|
349
|
+
rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^:\n]+)/i, /^(?::\s(?:[^:\n]|:(?!\s))+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
|
|
350
|
+
conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], inclusive: !0 } }
|
|
351
|
+
};
|
|
352
|
+
return f;
|
|
353
|
+
}();
|
|
354
|
+
m.lexer = b;
|
|
355
|
+
function g() {
|
|
356
|
+
this.yy = {};
|
|
357
|
+
}
|
|
358
|
+
return r(g, "Parser"), g.prototype = m, m.Parser = g, new g();
|
|
359
|
+
}();
|
|
360
|
+
J.parser = J;
|
|
361
|
+
var $t = J, rt = {};
|
|
362
|
+
mt(rt, {
|
|
363
|
+
addEvent: () => pt,
|
|
364
|
+
addSection: () => lt,
|
|
365
|
+
addTask: () => ut,
|
|
366
|
+
addTaskOrg: () => yt,
|
|
367
|
+
clear: () => ct,
|
|
368
|
+
default: () => Et,
|
|
369
|
+
getCommonDb: () => ot,
|
|
370
|
+
getSections: () => ht,
|
|
371
|
+
getTasks: () => dt
|
|
372
|
+
});
|
|
373
|
+
var B = "", at = 0, G = [], U = [], F = [], ot = /* @__PURE__ */ r(() => xt, "getCommonDb"), ct = /* @__PURE__ */ r(function() {
|
|
374
|
+
G.length = 0, U.length = 0, B = "", F.length = 0, bt();
|
|
375
|
+
}, "clear"), lt = /* @__PURE__ */ r(function(n) {
|
|
376
|
+
B = n, G.push(n);
|
|
377
|
+
}, "addSection"), ht = /* @__PURE__ */ r(function() {
|
|
378
|
+
return G;
|
|
379
|
+
}, "getSections"), dt = /* @__PURE__ */ r(function() {
|
|
380
|
+
let n = nt();
|
|
381
|
+
const t = 100;
|
|
382
|
+
let e = 0;
|
|
383
|
+
for (; !n && e < t; )
|
|
384
|
+
n = nt(), e++;
|
|
385
|
+
return U.push(...F), U;
|
|
386
|
+
}, "getTasks"), ut = /* @__PURE__ */ r(function(n, t, e) {
|
|
387
|
+
const a = {
|
|
388
|
+
id: at++,
|
|
389
|
+
section: B,
|
|
390
|
+
type: B,
|
|
391
|
+
task: n,
|
|
392
|
+
score: t || 0,
|
|
393
|
+
//if event is defined, then add it the events array
|
|
394
|
+
events: e ? [e] : []
|
|
395
|
+
};
|
|
396
|
+
F.push(a);
|
|
397
|
+
}, "addTask"), pt = /* @__PURE__ */ r(function(n) {
|
|
398
|
+
F.find((t) => t.id === at - 1).events.push(n);
|
|
399
|
+
}, "addEvent"), yt = /* @__PURE__ */ r(function(n) {
|
|
400
|
+
const t = {
|
|
401
|
+
section: B,
|
|
402
|
+
type: B,
|
|
403
|
+
description: n,
|
|
404
|
+
task: n,
|
|
405
|
+
classes: []
|
|
406
|
+
};
|
|
407
|
+
U.push(t);
|
|
408
|
+
}, "addTaskOrg"), nt = /* @__PURE__ */ r(function() {
|
|
409
|
+
const n = /* @__PURE__ */ r(function(e) {
|
|
410
|
+
return F[e].processed;
|
|
411
|
+
}, "compileTask");
|
|
412
|
+
let t = !0;
|
|
413
|
+
for (const [e, a] of F.entries())
|
|
414
|
+
n(e), t = t && a.processed;
|
|
415
|
+
return t;
|
|
416
|
+
}, "compileTasks"), Et = {
|
|
417
|
+
clear: ct,
|
|
418
|
+
getCommonDb: ot,
|
|
419
|
+
addSection: lt,
|
|
420
|
+
getSections: ht,
|
|
421
|
+
getTasks: dt,
|
|
422
|
+
addTask: ut,
|
|
423
|
+
addTaskOrg: yt,
|
|
424
|
+
addEvent: pt
|
|
425
|
+
}, Tt = 12, X = /* @__PURE__ */ r(function(n, t) {
|
|
426
|
+
const e = n.append("rect");
|
|
427
|
+
return e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), e.attr("rx", t.rx), e.attr("ry", t.ry), t.class !== void 0 && e.attr("class", t.class), e;
|
|
428
|
+
}, "drawRect"), Mt = /* @__PURE__ */ r(function(n, t) {
|
|
429
|
+
const e = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), a = n.append("g");
|
|
430
|
+
a.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), a.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
|
|
431
|
+
function i(p) {
|
|
432
|
+
const y = et().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
433
|
+
p.append("path").attr("class", "mouth").attr("d", y).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
|
|
434
|
+
}
|
|
435
|
+
r(i, "smile");
|
|
436
|
+
function d(p) {
|
|
437
|
+
const y = et().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
438
|
+
p.append("path").attr("class", "mouth").attr("d", y).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
|
|
439
|
+
}
|
|
440
|
+
r(d, "sad");
|
|
441
|
+
function l(p) {
|
|
442
|
+
p.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
|
|
443
|
+
}
|
|
444
|
+
return r(l, "ambivalent"), t.score > 3 ? i(a) : t.score < 3 ? d(a) : l(a), e;
|
|
445
|
+
}, "drawFace"), At = /* @__PURE__ */ r(function(n, t) {
|
|
446
|
+
const e = n.append("circle");
|
|
447
|
+
return e.attr("cx", t.cx), e.attr("cy", t.cy), e.attr("class", "actor-" + t.pos), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("r", t.r), e.class !== void 0 && e.attr("class", e.class), t.title !== void 0 && e.append("title").text(t.title), e;
|
|
448
|
+
}, "drawCircle"), gt = /* @__PURE__ */ r(function(n, t) {
|
|
449
|
+
const e = t.text.replace(/<br\s*\/?>/gi, " "), a = n.append("text");
|
|
450
|
+
a.attr("x", t.x), a.attr("y", t.y), a.attr("class", "legend"), a.style("text-anchor", t.anchor), t.class !== void 0 && a.attr("class", t.class);
|
|
451
|
+
const i = a.append("tspan");
|
|
452
|
+
return i.attr("x", t.x + t.textMargin * 2), i.text(e), a;
|
|
453
|
+
}, "drawText"), Nt = /* @__PURE__ */ r(function(n, t) {
|
|
454
|
+
function e(i, d, l, p, y) {
|
|
455
|
+
return i + "," + d + " " + (i + l) + "," + d + " " + (i + l) + "," + (d + p - y) + " " + (i + l - y * 1.2) + "," + (d + p) + " " + i + "," + (d + p);
|
|
456
|
+
}
|
|
457
|
+
r(e, "genPoints");
|
|
458
|
+
const a = n.append("polygon");
|
|
459
|
+
a.attr("points", e(t.x, t.y, 50, 20, 7)), a.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, gt(n, t);
|
|
460
|
+
}, "drawLabel"), Ct = /* @__PURE__ */ r(function(n, t, e) {
|
|
461
|
+
const a = n.append("g"), i = K();
|
|
462
|
+
i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = e.width, i.height = e.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, X(a, i), ft(e)(
|
|
463
|
+
t.text,
|
|
464
|
+
a,
|
|
465
|
+
i.x,
|
|
466
|
+
i.y,
|
|
467
|
+
i.width,
|
|
468
|
+
i.height,
|
|
469
|
+
{ class: "journey-section section-type-" + t.num },
|
|
470
|
+
e,
|
|
471
|
+
t.colour
|
|
472
|
+
);
|
|
473
|
+
}, "drawSection"), it = -1, It = /* @__PURE__ */ r(function(n, t, e) {
|
|
474
|
+
const a = t.x + e.width / 2, i = n.append("g");
|
|
475
|
+
it++;
|
|
476
|
+
const d = 300 + 5 * 30;
|
|
477
|
+
i.append("line").attr("id", "task" + it).attr("x1", a).attr("y1", t.y).attr("x2", a).attr("y2", d).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Mt(i, {
|
|
478
|
+
cx: a,
|
|
479
|
+
cy: 300 + (5 - t.score) * 30,
|
|
480
|
+
score: t.score
|
|
481
|
+
});
|
|
482
|
+
const l = K();
|
|
483
|
+
l.x = t.x, l.y = t.y, l.fill = t.fill, l.width = e.width, l.height = e.height, l.class = "task task-type-" + t.num, l.rx = 3, l.ry = 3, X(i, l), ft(e)(
|
|
484
|
+
t.task,
|
|
485
|
+
i,
|
|
486
|
+
l.x,
|
|
487
|
+
l.y,
|
|
488
|
+
l.width,
|
|
489
|
+
l.height,
|
|
490
|
+
{ class: "task" },
|
|
491
|
+
e,
|
|
492
|
+
t.colour
|
|
493
|
+
);
|
|
494
|
+
}, "drawTask"), Ot = /* @__PURE__ */ r(function(n, t) {
|
|
495
|
+
X(n, {
|
|
496
|
+
x: t.startx,
|
|
497
|
+
y: t.starty,
|
|
498
|
+
width: t.stopx - t.startx,
|
|
499
|
+
height: t.stopy - t.starty,
|
|
500
|
+
fill: t.fill,
|
|
501
|
+
class: "rect"
|
|
502
|
+
}).lower();
|
|
503
|
+
}, "drawBackgroundRect"), Lt = /* @__PURE__ */ r(function() {
|
|
504
|
+
return {
|
|
505
|
+
x: 0,
|
|
506
|
+
y: 0,
|
|
507
|
+
fill: void 0,
|
|
508
|
+
"text-anchor": "start",
|
|
509
|
+
width: 100,
|
|
510
|
+
height: 100,
|
|
511
|
+
textMargin: 0,
|
|
512
|
+
rx: 0,
|
|
513
|
+
ry: 0
|
|
514
|
+
};
|
|
515
|
+
}, "getTextObj"), K = /* @__PURE__ */ r(function() {
|
|
516
|
+
return {
|
|
517
|
+
x: 0,
|
|
518
|
+
y: 0,
|
|
519
|
+
width: 100,
|
|
520
|
+
anchor: "start",
|
|
521
|
+
height: 100,
|
|
522
|
+
rx: 0,
|
|
523
|
+
ry: 0
|
|
524
|
+
};
|
|
525
|
+
}, "getNoteRect"), ft = /* @__PURE__ */ function() {
|
|
526
|
+
function n(i, d, l, p, y, m, b, g) {
|
|
527
|
+
const f = d.append("text").attr("x", l + y / 2).attr("y", p + m / 2 + 5).style("font-color", g).style("text-anchor", "middle").text(i);
|
|
528
|
+
a(f, b);
|
|
529
|
+
}
|
|
530
|
+
r(n, "byText");
|
|
531
|
+
function t(i, d, l, p, y, m, b, g, f) {
|
|
532
|
+
const { taskFontSize: s, taskFontFamily: c } = g, h = i.split(/<br\s*\/?>/gi);
|
|
533
|
+
for (let u = 0; u < h.length; u++) {
|
|
534
|
+
const o = u * s - s * (h.length - 1) / 2, k = d.append("text").attr("x", l + y / 2).attr("y", p).attr("fill", f).style("text-anchor", "middle").style("font-size", s).style("font-family", c);
|
|
535
|
+
k.append("tspan").attr("x", l + y / 2).attr("dy", o).text(h[u]), k.attr("y", p + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), a(k, b);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
r(t, "byTspan");
|
|
539
|
+
function e(i, d, l, p, y, m, b, g) {
|
|
540
|
+
const f = d.append("switch"), s = f.append("foreignObject").attr("x", l).attr("y", p).attr("width", y).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
|
|
541
|
+
s.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), t(i, f, l, p, y, m, b, g), a(s, b);
|
|
542
|
+
}
|
|
543
|
+
r(e, "byFo");
|
|
544
|
+
function a(i, d) {
|
|
545
|
+
for (const l in d)
|
|
546
|
+
l in d && i.attr(l, d[l]);
|
|
547
|
+
}
|
|
548
|
+
return r(a, "_setTextAttrs"), function(i) {
|
|
549
|
+
return i.textPlacement === "fo" ? e : i.textPlacement === "old" ? n : t;
|
|
550
|
+
};
|
|
551
|
+
}(), Rt = /* @__PURE__ */ r(function(n) {
|
|
552
|
+
n.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
|
|
553
|
+
}, "initGraphics");
|
|
554
|
+
function Q(n, t) {
|
|
555
|
+
n.each(function() {
|
|
556
|
+
var e = q(this), a = e.text().split(/(\s+|<br>)/).reverse(), i, d = [], l = 1.1, p = e.attr("y"), y = parseFloat(e.attr("dy")), m = e.text(null).append("tspan").attr("x", 0).attr("y", p).attr("dy", y + "em");
|
|
557
|
+
for (let b = 0; b < a.length; b++)
|
|
558
|
+
i = a[a.length - 1 - b], d.push(i), m.text(d.join(" ").trim()), (m.node().getComputedTextLength() > t || i === "<br>") && (d.pop(), m.text(d.join(" ").trim()), i === "<br>" ? d = [""] : d = [i], m = e.append("tspan").attr("x", 0).attr("y", p).attr("dy", l + "em").text(i));
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
r(Q, "wrap");
|
|
562
|
+
var Ht = /* @__PURE__ */ r(function(n, t, e, a) {
|
|
563
|
+
var i;
|
|
564
|
+
const d = e % Tt - 1, l = n.append("g");
|
|
565
|
+
t.section = d, l.attr(
|
|
566
|
+
"class",
|
|
567
|
+
(t.class ? t.class + " " : "") + "timeline-node " + ("section-" + d)
|
|
568
|
+
);
|
|
569
|
+
const p = l.append("g"), y = l.append("g"), m = y.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(Q, t.width).node().getBBox(), b = (i = a.fontSize) != null && i.replace ? a.fontSize.replace("px", "") : a.fontSize;
|
|
570
|
+
return t.height = m.height + b * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, y.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Dt(p, t, d, a), t;
|
|
571
|
+
}, "drawNode"), jt = /* @__PURE__ */ r(function(n, t, e) {
|
|
572
|
+
var a;
|
|
573
|
+
const i = n.append("g"), d = i.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(Q, t.width).node().getBBox(), l = (a = e.fontSize) != null && a.replace ? e.fontSize.replace("px", "") : e.fontSize;
|
|
574
|
+
return i.remove(), d.height + l * 1.1 * 0.5 + t.padding;
|
|
575
|
+
}, "getVirtualNodeHeight"), Dt = /* @__PURE__ */ r(function(n, t, e) {
|
|
576
|
+
n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
|
|
577
|
+
"d",
|
|
578
|
+
`M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
|
|
579
|
+
), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
|
|
580
|
+
}, "defaultBkg"), H = {
|
|
581
|
+
drawRect: X,
|
|
582
|
+
drawCircle: At,
|
|
583
|
+
drawSection: Ct,
|
|
584
|
+
drawText: gt,
|
|
585
|
+
drawLabel: Nt,
|
|
586
|
+
drawTask: It,
|
|
587
|
+
drawBackgroundRect: Ot,
|
|
588
|
+
getTextObj: Lt,
|
|
589
|
+
getNoteRect: K,
|
|
590
|
+
initGraphics: Rt,
|
|
591
|
+
drawNode: Ht,
|
|
592
|
+
getVirtualNodeHeight: jt
|
|
593
|
+
}, Pt = /* @__PURE__ */ r(function(n, t, e, a) {
|
|
594
|
+
var i, d, l;
|
|
595
|
+
const p = kt(), y = ((i = p.timeline) == null ? void 0 : i.leftMargin) ?? 50;
|
|
596
|
+
$.debug("timeline", a.db);
|
|
597
|
+
const m = p.securityLevel;
|
|
598
|
+
let b;
|
|
599
|
+
m === "sandbox" && (b = q("#i" + t));
|
|
600
|
+
const g = (m === "sandbox" ? q(b.nodes()[0].contentDocument.body) : q("body")).select("#" + t);
|
|
601
|
+
g.append("g");
|
|
602
|
+
const f = a.db.getTasks(), s = a.db.getCommonDb().getDiagramTitle();
|
|
603
|
+
$.debug("task", f), H.initGraphics(g);
|
|
604
|
+
const c = a.db.getSections();
|
|
605
|
+
$.debug("sections", c);
|
|
606
|
+
let h = 0, u = 0, o = 0, k = 0, x = 50 + y, N = 50;
|
|
607
|
+
k = 50;
|
|
608
|
+
let M = 0, W = !0;
|
|
609
|
+
c.forEach(function(S) {
|
|
610
|
+
const v = {
|
|
611
|
+
number: M,
|
|
612
|
+
descr: S,
|
|
613
|
+
section: M,
|
|
614
|
+
width: 150,
|
|
615
|
+
padding: 20,
|
|
616
|
+
maxHeight: h
|
|
617
|
+
}, A = H.getVirtualNodeHeight(g, v, p);
|
|
618
|
+
$.debug("sectionHeight before draw", A), h = Math.max(h, A + 20);
|
|
619
|
+
});
|
|
620
|
+
let I = 0, j = 0;
|
|
621
|
+
$.debug("tasks.length", f.length);
|
|
622
|
+
for (const [S, v] of f.entries()) {
|
|
623
|
+
const A = {
|
|
624
|
+
number: S,
|
|
625
|
+
descr: v,
|
|
626
|
+
section: v.section,
|
|
627
|
+
width: 150,
|
|
628
|
+
padding: 20,
|
|
629
|
+
maxHeight: u
|
|
630
|
+
}, O = H.getVirtualNodeHeight(g, A, p);
|
|
631
|
+
$.debug("taskHeight before draw", O), u = Math.max(u, O + 20), I = Math.max(I, v.events.length);
|
|
632
|
+
let L = 0;
|
|
633
|
+
for (const D of v.events) {
|
|
634
|
+
const w = {
|
|
635
|
+
descr: D,
|
|
636
|
+
section: v.section,
|
|
637
|
+
number: v.section,
|
|
638
|
+
width: 150,
|
|
639
|
+
padding: 20,
|
|
640
|
+
maxHeight: 50
|
|
641
|
+
};
|
|
642
|
+
L += H.getVirtualNodeHeight(g, w, p);
|
|
643
|
+
}
|
|
644
|
+
v.events.length > 0 && (L += (v.events.length - 1) * 10), j = Math.max(j, L);
|
|
645
|
+
}
|
|
646
|
+
$.debug("maxSectionHeight before draw", h), $.debug("maxTaskHeight before draw", u), c && c.length > 0 ? c.forEach((S) => {
|
|
647
|
+
const v = f.filter((D) => D.section === S), A = {
|
|
648
|
+
number: M,
|
|
649
|
+
descr: S,
|
|
650
|
+
section: M,
|
|
651
|
+
width: 200 * Math.max(v.length, 1) - 50,
|
|
652
|
+
padding: 20,
|
|
653
|
+
maxHeight: h
|
|
654
|
+
};
|
|
655
|
+
$.debug("sectionNode", A);
|
|
656
|
+
const O = g.append("g"), L = H.drawNode(O, A, M, p);
|
|
657
|
+
$.debug("sectionNode output", L), O.attr("transform", `translate(${x}, ${k})`), N += h + 50, v.length > 0 && st(
|
|
658
|
+
g,
|
|
659
|
+
v,
|
|
660
|
+
M,
|
|
661
|
+
x,
|
|
662
|
+
N,
|
|
663
|
+
u,
|
|
664
|
+
p,
|
|
665
|
+
I,
|
|
666
|
+
j,
|
|
667
|
+
h,
|
|
668
|
+
!1
|
|
669
|
+
), x += 200 * Math.max(v.length, 1), N = k, M++;
|
|
670
|
+
}) : (W = !1, st(
|
|
671
|
+
g,
|
|
672
|
+
f,
|
|
673
|
+
M,
|
|
674
|
+
x,
|
|
675
|
+
N,
|
|
676
|
+
u,
|
|
677
|
+
p,
|
|
678
|
+
I,
|
|
679
|
+
j,
|
|
680
|
+
h,
|
|
681
|
+
!0
|
|
682
|
+
));
|
|
683
|
+
const _ = g.node().getBBox();
|
|
684
|
+
$.debug("bounds", _), s && g.append("text").text(s).attr("x", _.width / 2 - y).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), o = W ? h + u + 150 : u + 100, g.append("g").attr("class", "lineWrapper").append("line").attr("x1", y).attr("y1", o).attr("x2", _.width + 3 * y).attr("y2", o).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), _t(
|
|
685
|
+
void 0,
|
|
686
|
+
g,
|
|
687
|
+
((d = p.timeline) == null ? void 0 : d.padding) ?? 50,
|
|
688
|
+
((l = p.timeline) == null ? void 0 : l.useMaxWidth) ?? !1
|
|
689
|
+
);
|
|
690
|
+
}, "draw"), st = /* @__PURE__ */ r(function(n, t, e, a, i, d, l, p, y, m, b) {
|
|
691
|
+
var g;
|
|
692
|
+
for (const f of t) {
|
|
693
|
+
const s = {
|
|
694
|
+
descr: f.task,
|
|
695
|
+
section: e,
|
|
696
|
+
number: e,
|
|
697
|
+
width: 150,
|
|
698
|
+
padding: 20,
|
|
699
|
+
maxHeight: d
|
|
700
|
+
};
|
|
701
|
+
$.debug("taskNode", s);
|
|
702
|
+
const c = n.append("g").attr("class", "taskWrapper"), h = H.drawNode(c, s, e, l).height;
|
|
703
|
+
if ($.debug("taskHeight after draw", h), c.attr("transform", `translate(${a}, ${i})`), d = Math.max(d, h), f.events) {
|
|
704
|
+
const u = n.append("g").attr("class", "lineWrapper");
|
|
705
|
+
let o = d;
|
|
706
|
+
i += 100, o = o + Bt(n, f.events, e, a, i, l), i -= 100, u.append("line").attr("x1", a + 190 / 2).attr("y1", i + d).attr("x2", a + 190 / 2).attr("y2", i + d + 100 + y + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
|
|
707
|
+
}
|
|
708
|
+
a = a + 200, b && !((g = l.timeline) != null && g.disableMulticolor) && e++;
|
|
709
|
+
}
|
|
710
|
+
i = i - 10;
|
|
711
|
+
}, "drawTasks"), Bt = /* @__PURE__ */ r(function(n, t, e, a, i, d) {
|
|
712
|
+
let l = 0;
|
|
713
|
+
const p = i;
|
|
714
|
+
i = i + 100;
|
|
715
|
+
for (const y of t) {
|
|
716
|
+
const m = {
|
|
717
|
+
descr: y,
|
|
718
|
+
section: e,
|
|
719
|
+
number: e,
|
|
720
|
+
width: 150,
|
|
721
|
+
padding: 20,
|
|
722
|
+
maxHeight: 50
|
|
723
|
+
};
|
|
724
|
+
$.debug("eventNode", m);
|
|
725
|
+
const b = n.append("g").attr("class", "eventWrapper"), g = H.drawNode(b, m, e, d).height;
|
|
726
|
+
l = l + g, b.attr("transform", `translate(${a}, ${i})`), i = i + 10 + g;
|
|
727
|
+
}
|
|
728
|
+
return i = p, l;
|
|
729
|
+
}, "drawEvents"), Ft = {
|
|
730
|
+
setConf: /* @__PURE__ */ r(() => {
|
|
731
|
+
}, "setConf"),
|
|
732
|
+
draw: Pt
|
|
733
|
+
}, Wt = /* @__PURE__ */ r((n) => {
|
|
734
|
+
let t = "";
|
|
735
|
+
for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
|
|
736
|
+
n["lineColor" + e] = n["lineColor" + e] || n["cScaleInv" + e], vt(n["lineColor" + e]) ? n["lineColor" + e] = wt(n["lineColor" + e], 20) : n["lineColor" + e] = St(n["lineColor" + e], 20);
|
|
737
|
+
for (let e = 0; e < n.THEME_COLOR_LIMIT; e++) {
|
|
738
|
+
const a = "" + (17 - 3 * e);
|
|
739
|
+
t += `
|
|
740
|
+
.section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} path {
|
|
741
|
+
fill: ${n["cScale" + e]};
|
|
742
|
+
}
|
|
743
|
+
.section-${e - 1} text {
|
|
744
|
+
fill: ${n["cScaleLabel" + e]};
|
|
745
|
+
}
|
|
746
|
+
.node-icon-${e - 1} {
|
|
747
|
+
font-size: 40px;
|
|
748
|
+
color: ${n["cScaleLabel" + e]};
|
|
749
|
+
}
|
|
750
|
+
.section-edge-${e - 1}{
|
|
751
|
+
stroke: ${n["cScale" + e]};
|
|
752
|
+
}
|
|
753
|
+
.edge-depth-${e - 1}{
|
|
754
|
+
stroke-width: ${a};
|
|
755
|
+
}
|
|
756
|
+
.section-${e - 1} line {
|
|
757
|
+
stroke: ${n["cScaleInv" + e]} ;
|
|
758
|
+
stroke-width: 3;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.lineWrapper line{
|
|
762
|
+
stroke: ${n["cScaleLabel" + e]} ;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.disabled, .disabled circle, .disabled text {
|
|
766
|
+
fill: lightgray;
|
|
767
|
+
}
|
|
768
|
+
.disabled text {
|
|
769
|
+
fill: #efefef;
|
|
770
|
+
}
|
|
771
|
+
`;
|
|
772
|
+
}
|
|
773
|
+
return t;
|
|
774
|
+
}, "genSections"), zt = /* @__PURE__ */ r((n) => `
|
|
775
|
+
.edge {
|
|
776
|
+
stroke-width: 3;
|
|
777
|
+
}
|
|
778
|
+
${Wt(n)}
|
|
779
|
+
.section-root rect, .section-root path, .section-root circle {
|
|
780
|
+
fill: ${n.git0};
|
|
781
|
+
}
|
|
782
|
+
.section-root text {
|
|
783
|
+
fill: ${n.gitBranchLabel0};
|
|
784
|
+
}
|
|
785
|
+
.icon-container {
|
|
786
|
+
height:100%;
|
|
787
|
+
display: flex;
|
|
788
|
+
justify-content: center;
|
|
789
|
+
align-items: center;
|
|
790
|
+
}
|
|
791
|
+
.edge {
|
|
792
|
+
fill: none;
|
|
793
|
+
}
|
|
794
|
+
.eventWrapper {
|
|
795
|
+
filter: brightness(120%);
|
|
796
|
+
}
|
|
797
|
+
`, "getStyles"), Vt = zt, Jt = {
|
|
798
|
+
db: rt,
|
|
799
|
+
renderer: Ft,
|
|
800
|
+
parser: $t,
|
|
801
|
+
styles: Vt
|
|
802
|
+
};
|
|
803
|
+
export {
|
|
804
|
+
Jt as diagram
|
|
805
|
+
};
|