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