@chaibuilder/pages 0.16.8 → 0.16.10
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/{2AITGKQY-BkyIOFBN.cjs → 2AITGKQY-C0A7leVc.cjs} +1 -1
- package/dist/{2AITGKQY-BXiVm60u.js → 2AITGKQY-LtoYzpXb.js} +2 -2
- package/dist/{NCMVHL6D-CnBMv9bF.cjs → NCMVHL6D-BbCiXTDR.cjs} +1 -1
- package/dist/{NCMVHL6D-C0JGE8Qr.js → NCMVHL6D-BqKNTZhH.js} +2 -2
- package/dist/{ZDWCUMSJ-Cs-CWvpw.js → ZDWCUMSJ-CudD-G3A.js} +1 -1
- package/dist/{ZDWCUMSJ-jR6OAwVS.cjs → ZDWCUMSJ-DEjMuvHw.cjs} +1 -1
- package/dist/_arrayEach-7nw56Qes.cjs +1 -0
- package/dist/_arrayEach-CBNlJl8q.js +44 -0
- package/dist/abap-DV7Q1lGP.cjs +1 -0
- package/dist/abap-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-DXOxkRa2.cjs +1 -0
- package/dist/actionscript-3-DZzbMeqX.js +6 -0
- package/dist/ada-D46EKCNf.cjs +1 -0
- package/dist/ada-vP6ak0IW.js +6 -0
- package/dist/{add-new-language-page-CKwMwrAg.js → add-new-language-page-C3R8vwOA.js} +2 -2
- package/dist/{add-new-language-page-UatKeIR2.cjs → add-new-language-page-CTZglguY.cjs} +1 -1
- package/dist/{add-new-page-BZ2av8fu.cjs → add-new-page-ByCsABU-.cjs} +1 -1
- package/dist/{add-new-page-BzBMJ3Cn.js → add-new-page-Dn-jphFf.js} +1 -1
- package/dist/ai-panel-content-CF7-wrq0.js +54 -0
- package/dist/ai-panel-content-VYS5Bn3a.cjs +1 -0
- package/dist/ai-panel-default-lang-C_zJzkZ4.js +313 -0
- package/dist/ai-panel-default-lang-D5vpT3cL.cjs +3 -0
- package/dist/ai-panel-other-lang-5Hdkr4eJ.js +130 -0
- package/dist/ai-panel-other-lang-BFnghH5Z.cjs +1 -0
- package/dist/ai-prompt-input-BXp7SxcJ.cjs +45 -0
- package/dist/ai-prompt-input-CrBweB8X.js +4027 -0
- package/dist/{ai-translation-prompt-DH7gwfqx.cjs → ai-translation-prompt-BYubvAxO.cjs} +1 -1
- package/dist/{ai-translation-prompt-B8VdHfLY.js → ai-translation-prompt-E3TEDobP.js} +1 -1
- package/dist/andromeeda-BIpZ7gaU.js +4 -0
- package/dist/andromeeda-DVDxRwp5.cjs +1 -0
- package/dist/angular-html-DPB4Rf0C.js +32 -0
- package/dist/angular-html-KMf2QdtP.cjs +1 -0
- package/dist/angular-ts-BxIbo3R1.cjs +1 -0
- package/dist/angular-ts-CTOR2ofC.js +21 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apache-DL1xuH1f.cjs +1 -0
- package/dist/apex-CtcXmQ6V.js +6 -0
- package/dist/apex-UUd3Occv.cjs +1 -0
- package/dist/apl-CjNiDgad.js +16 -0
- package/dist/apl-Dj2G2M9w.cjs +1 -0
- package/dist/applescript-BPx7YFFu.js +6 -0
- package/dist/applescript-COilsSrZ.cjs +1 -0
- package/dist/ara-B6Lpq1YJ.cjs +1 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/arc-CuYV2Z4i.js +83 -0
- package/dist/arc-Dzs-yn9V.cjs +1 -0
- package/dist/architecture-U656AL7Q-BFW69Rn1.js +5 -0
- package/dist/architecture-U656AL7Q-C1RBosC-.cjs +1 -0
- package/dist/architectureDiagram-VXUJARFQ-C7E-J7qp.js +4669 -0
- package/dist/architectureDiagram-VXUJARFQ-i1olysFf.cjs +36 -0
- package/dist/asciidoc-B-pCoB3G.js +6 -0
- package/dist/asciidoc-DcKqW72n.cjs +1 -0
- package/dist/asm-BTWLY5ym.js +6 -0
- package/dist/asm-DYMFy-sD.cjs +1 -0
- package/dist/astro-CFFExE8Q.js +18 -0
- package/dist/astro-DAOP_Xq6.cjs +1 -0
- package/dist/aurora-x-BwoVEUWZ.js +4 -0
- package/dist/aurora-x-C5IpmIOG.cjs +1 -0
- package/dist/awk-Fb0P9dkn.js +6 -0
- package/dist/awk-IEszImW6.cjs +1 -0
- package/dist/ayu-dark-Cv7nTiif.cjs +1 -0
- package/dist/ayu-dark-CxPZkpb2.js +4 -0
- package/dist/ballerina-Dr6dU4hP.cjs +1 -0
- package/dist/ballerina-oZK-YekG.js +6 -0
- package/dist/bat-0FvbqU9S.js +6 -0
- package/dist/bat-DGkUhhn2.cjs +1 -0
- package/dist/beancount-Bv1Sweoy.cjs +1 -0
- package/dist/beancount-DqJEb89h.js +6 -0
- package/dist/berry-DZkhZ7K3.cjs +1 -0
- package/dist/berry-PwsHPR_K.js +6 -0
- package/dist/bibtex-BgA36Z3k.cjs +1 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-BorU73w0.js +6 -0
- package/dist/bicep-DL0zb-7W.cjs +1 -0
- package/dist/blade-BYkiyM-T.cjs +1 -0
- package/dist/blade-CRa6j5zS.js +20 -0
- package/dist/blockDiagram-VD42YOAC-8bGFphRU.js +2368 -0
- package/dist/blockDiagram-VD42YOAC-DG8nN7FI.cjs +122 -0
- package/dist/blocks.d.ts +12 -0
- package/dist/bsl-9bVgFeM9.cjs +1 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/builder.d.ts +12 -0
- package/dist/c-CtlmKnPF.cjs +1 -0
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/c4Diagram-YG6GDRKO-C5vTWKII.js +1581 -0
- package/dist/c4Diagram-YG6GDRKO-ojLwrHAZ.cjs +10 -0
- package/dist/cadence-02UX7mW8.js +6 -0
- package/dist/cadence-DcbmM5v3.cjs +1 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/cairo-li7sQsxU.cjs +1 -0
- package/dist/catppuccin-frappe-Bn4lgmUk.cjs +1 -0
- package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
- package/dist/catppuccin-latte-BPtsb8jD.cjs +1 -0
- package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
- package/dist/catppuccin-macchiato-BLfpQWhT.cjs +1 -0
- package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
- package/dist/catppuccin-mocha-COMta283.cjs +1 -0
- package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
- package/dist/channel-Cdlcq82Q.js +5 -0
- package/dist/channel-D8SQrHOQ.cjs +1 -0
- package/dist/chunk-4BX2VUAB-D0Nkkvke.cjs +1 -0
- package/dist/chunk-4BX2VUAB-kRXCJxGQ.js +9 -0
- package/dist/chunk-55IACEB6-Ya_-e5Gj.cjs +1 -0
- package/dist/chunk-55IACEB6-xzVewFKl.js +8 -0
- package/dist/chunk-B4BG7PRW-C8Sj4Rta.cjs +165 -0
- package/dist/chunk-B4BG7PRW-DG5qX3ch.js +1376 -0
- package/dist/chunk-DI55MBZ5-C9He0Rku.cjs +220 -0
- package/dist/chunk-DI55MBZ5-CI_Ti_F2.js +1382 -0
- package/dist/chunk-FMBD7UC4-9Wx_99-Q.js +19 -0
- package/dist/chunk-FMBD7UC4-Be12B01Q.cjs +15 -0
- package/dist/chunk-QN33PNHL-B65aZfT8.cjs +1 -0
- package/dist/chunk-QN33PNHL-qSV2Zj2E.js +20 -0
- package/dist/chunk-QZHKN3VN-Dcw61eWf.js +15 -0
- package/dist/chunk-QZHKN3VN-V8GIXVhC.cjs +1 -0
- package/dist/chunk-TZMSLE5B-BUsuXR8P.cjs +1 -0
- package/dist/chunk-TZMSLE5B-De8BBIp6.js +64 -0
- package/dist/clarity-PKm5CwqM.js +6 -0
- package/dist/clarity-gPuvqtpF.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-DD8PWOat.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-DYXMSnp5.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-DD8PWOat.cjs +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-DYXMSnp5.js +16 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/clojure-OUsr1SUl.cjs +1 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cmake-jM6P58qY.cjs +1 -0
- package/dist/cobol-CcrsCSUZ.cjs +1 -0
- package/dist/cobol-HihOMwht.js +10 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeowners-QhPK6lIJ.cjs +1 -0
- package/dist/codeql-D9-TdUN8.cjs +1 -0
- package/dist/codeql-DHkodjjI.js +6 -0
- package/dist/coffee-DGBR_nr_.js +8 -0
- package/dist/coffee-DycxIFwY.cjs +1 -0
- package/dist/common-lisp-C77gR-8i.cjs +1 -0
- package/dist/common-lisp-EVqT9Zhp.js +6 -0
- package/dist/coq-B0L9upzn.js +6 -0
- package/dist/coq-vlPdR5hP.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-BzynRFve.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-C0LrMYq9.js +2609 -0
- package/dist/cpp-Cj177cuW.js +18 -0
- package/dist/cpp-DvI2Eoso.cjs +1 -0
- package/dist/crystal-B_WXhL2O.cjs +1 -0
- package/dist/crystal-CRJyc4G-.js +18 -0
- package/dist/csharp-C902_8Dy.cjs +1 -0
- package/dist/csharp-COJ2mCKr.js +6 -0
- package/dist/css-CECN5uSL.js +6 -0
- package/dist/css-Do0mp2lm.cjs +1 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/csv-DiEdJzSJ.cjs +1 -0
- package/dist/cue-D1vJRJEx.cjs +1 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-atSM3NsM.cjs +1 -0
- package/dist/cypher-jpdmjtA6.js +6 -0
- package/dist/cytoscape.esm-DdQZKk9f.js +18735 -0
- package/dist/cytoscape.esm-DkGgpG6d.cjs +331 -0
- package/dist/d-2qe3NhmZ.cjs +1 -0
- package/dist/d-CBagWSwH.js +6 -0
- package/dist/dagre-6UL2VRFP-CJe6baLS.cjs +4 -0
- package/dist/dagre-6UL2VRFP-DK7rwVEg.js +445 -0
- package/dist/dark-plus-CRFsux2L.js +4 -0
- package/dist/dark-plus-DwC1RSst.cjs +1 -0
- package/dist/dart-6ObCrKr9.js +6 -0
- package/dist/dart-Ds0_0fwe.cjs +1 -0
- package/dist/dax-CcDT-8dH.js +6 -0
- package/dist/dax-DbkQa40E.cjs +1 -0
- package/dist/defaultLocale-D7EN2tov.js +171 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs +1 -0
- package/dist/{delete-page-Ck7tD4Hf.js → delete-page-BtWRzpTh.js} +1 -1
- package/dist/{delete-page-Crpwn0Wk.cjs → delete-page-CecAr8Ev.cjs} +1 -1
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/desktop-tn3MFXCZ.cjs +1 -0
- package/dist/diagram-PSM6KHXK-C_A00ng9.js +534 -0
- package/dist/diagram-PSM6KHXK-X4v5dsQ4.cjs +24 -0
- package/dist/diagram-QEK2KX5R-rhfU6qwd.cjs +43 -0
- package/dist/diagram-QEK2KX5R-tTChUtDg.js +221 -0
- package/dist/diagram-S2PKOQOG-CJixlBq7.js +143 -0
- package/dist/diagram-S2PKOQOG-XyZUZk_b.cjs +24 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/diff-CA31fCOg.cjs +1 -0
- package/dist/{digital-asset-manager-DgLKRrYj.js → digital-asset-manager-CyBlpHrq.js} +1 -1
- package/dist/{digital-asset-manager-BVrv1-r1.cjs → digital-asset-manager-Y8YMABE1.cjs} +1 -1
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/docker-zJpMwmYa.cjs +1 -0
- package/dist/dotenv-BMjVjUL1.js +6 -0
- package/dist/dotenv-DpcNCNek.cjs +1 -0
- package/dist/dracula-BNgwAJ-d.cjs +1 -0
- package/dist/dracula-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BHZ7sHFu.cjs +1 -0
- package/dist/dracula-soft-BKa-aqBv.js +4 -0
- package/dist/dream-maker-BkijXDkm.cjs +1 -0
- package/dist/dream-maker-PAx17jaB.js +6 -0
- package/dist/{duplicate-page-C7d1f7Ii.js → duplicate-page-3Dv56tPR.js} +2 -2
- package/dist/{duplicate-page-CXUueWfr.cjs → duplicate-page-nGQAYVQc.cjs} +1 -1
- package/dist/{dynamic-page-selector-DcWDnam4.cjs → dynamic-page-selector-B9XaZMxt.cjs} +1 -1
- package/dist/{dynamic-page-selector-D544FjmW.js → dynamic-page-selector-BapENUmp.js} +1 -1
- package/dist/edge-BYQkOzbF.js +12 -0
- package/dist/edge-DaIYN5Mx.cjs +1 -0
- package/dist/elixir-BH_wmMK4.cjs +1 -0
- package/dist/elixir-Dh036GMp.js +8 -0
- package/dist/elm-BtNbw_Cd.js +8 -0
- package/dist/elm-Dc4sEBjc.cjs +1 -0
- package/dist/emacs-lisp-C1UCIjUO.cjs +1 -0
- package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
- package/dist/erDiagram-Q2GNP2WA-B1QcX93p.js +842 -0
- package/dist/erDiagram-Q2GNP2WA-Up8_IT91.cjs +60 -0
- package/dist/erb-BqFQADjR.cjs +1 -0
- package/dist/erb-CS4zioBv.js +10 -0
- package/dist/erlang-CB2cfp6Z.cjs +1 -0
- package/dist/erlang-DNcDT8Hi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK.js +4 -0
- package/dist/everforest-dark-_sBMomR1.cjs +1 -0
- package/dist/everforest-light-BbXl82Em.js +4 -0
- package/dist/everforest-light-H0xoYxl0.cjs +1 -0
- package/dist/fennel-Bz9-EMMc.cjs +1 -0
- package/dist/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH.js +6 -0
- package/dist/fish-DwmQKRZi.cjs +1 -0
- package/dist/flowDiagram-NV44I4VS-BJffdKk6.cjs +162 -0
- package/dist/flowDiagram-NV44I4VS-Dq0-N_i3.js +1627 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fluent-CJtpNuaO.cjs +1 -0
- package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
- package/dist/fortran-fixed-form-rAbNFykM.cjs +1 -0
- package/dist/fortran-free-form-DPIT_jbP.js +6 -0
- package/dist/fortran-free-form-DRAcQkel.cjs +1 -0
- package/dist/fsharp-CYOiIVNx.js +8 -0
- package/dist/fsharp-DVcRF7k-.cjs +1 -0
- package/dist/ganttDiagram-LVOFAZNH-CndRZUwp.cjs +267 -0
- package/dist/ganttDiagram-LVOFAZNH-DCuouHg6.js +2506 -0
- package/dist/gdresource-BwtMIoBm.js +10 -0
- package/dist/gdresource-CcLusmd_.cjs +1 -0
- package/dist/gdscript-BifyeYhI.js +6 -0
- package/dist/gdscript-DSegQKMB.cjs +1 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/gdshader-DsmqQl4t.cjs +1 -0
- package/dist/genie-Dy2rU8CF.cjs +1 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gherkin-BmiEVBJ1.cjs +1 -0
- package/dist/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-commit-DlVDzq9L.cjs +1 -0
- package/dist/git-rebase-Bn4RLd7u.cjs +1 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -0
- package/dist/gitGraph-F6HP7TQM-1lOuaCHS.cjs +1 -0
- package/dist/gitGraph-F6HP7TQM-Bwgh2Tgj.js +5 -0
- package/dist/gitGraphDiagram-NY62KEGX-BFpRv9B4.js +712 -0
- package/dist/gitGraphDiagram-NY62KEGX-Cc8RVspd.cjs +65 -0
- package/dist/github-dark-BKL9xNgN.cjs +1 -0
- package/dist/github-dark-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H.js +4 -0
- package/dist/github-dark-default-Dsv5MuSi.cjs +1 -0
- package/dist/github-dark-dimmed-CtB9hz8U.cjs +1 -0
- package/dist/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-BqZVM-jF.cjs +1 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist/github-light-BFTOhCbz.cjs +1 -0
- package/dist/github-light-JYsPkUQd.js +4 -0
- package/dist/github-light-default-BZoWH9dH.cjs +1 -0
- package/dist/github-light-default-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist/github-light-high-contrast-Ks3kPGJU.cjs +1 -0
- package/dist/gleam-Bv284lvN.js +6 -0
- package/dist/gleam-DHVuTCr7.cjs +1 -0
- package/dist/glimmer-js-CzmC7OX8.cjs +1 -0
- package/dist/glimmer-js-DkxNrfPT.js +14 -0
- package/dist/glimmer-ts-D6YZEmK_.js +14 -0
- package/dist/glimmer-ts-DLN2_wRt.cjs +1 -0
- package/dist/glsl-CQekZ3Zq.cjs +1 -0
- package/dist/glsl-CkUcVZNK.js +8 -0
- package/dist/gnuplot-CDPKvI9X.cjs +1 -0
- package/dist/gnuplot-yPG9-sE_.js +6 -0
- package/dist/go-ChxJuLYK.js +6 -0
- package/dist/go-epHseFUa.cjs +1 -0
- package/dist/graph-BJDrjORS.js +244 -0
- package/dist/graph-BLd2spTm.cjs +1 -0
- package/dist/graphql-BnP1YhXQ.cjs +1 -0
- package/dist/graphql-CBu2ehBn.js +14 -0
- package/dist/groovy-CJQTphOW.js +6 -0
- package/dist/groovy-D7VuDBXz.cjs +1 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
- package/dist/gruvbox-dark-hard-CUGefKS6.cjs +1 -0
- package/dist/gruvbox-dark-medium-BoKPlKfz.cjs +1 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
- package/dist/gruvbox-dark-soft-DSrhOWeL.cjs +1 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
- package/dist/gruvbox-light-hard-De4IuseP.cjs +1 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
- package/dist/gruvbox-light-medium-CzMY3IEJ.cjs +1 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
- package/dist/gruvbox-light-soft-U4iAIpWZ.cjs +1 -0
- package/dist/hack-BaDv2o40.cjs +1 -0
- package/dist/hack-ItRNKiEb.js +10 -0
- package/dist/haml-Bk21rGjP.cjs +1 -0
- package/dist/haml-NZLVzu_R.js +10 -0
- package/dist/handlebars-CJJi3lrU.cjs +1 -0
- package/dist/handlebars-mxStpSE7.js +14 -0
- package/dist/haskell-BShesV2P.cjs +1 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe-Bo5XuRS0.cjs +1 -0
- package/dist/haxe-TztHsm5T.js +6 -0
- package/dist/hcl-CrZnvm-1.cjs +1 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/hjson-CEESwTUP.cjs +1 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/hlsl-CyvYRIb9.cjs +1 -0
- package/dist/houston-BDYrDoDW.js +4 -0
- package/dist/houston-T57H3gQZ.cjs +1 -0
- package/dist/html-B50bmoVb.js +10 -0
- package/dist/html-C62Zf2h4.cjs +1 -0
- package/dist/html-derivative-C6bxFbFW.js +8 -0
- package/dist/html-derivative-NDb86jON.cjs +1 -0
- package/dist/http-BPlLI56k.cjs +1 -0
- package/dist/http-DLvAkeD-.js +14 -0
- package/dist/hurl-BQGBr8gH.cjs +1 -0
- package/dist/hurl-CgkFN90t.js +12 -0
- package/dist/hxml-GbqSQCLa.js +8 -0
- package/dist/hxml-vnw7fzrV.cjs +1 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/hy-a1E2Ed6P.cjs +1 -0
- package/dist/{image-editor-CnDnY97s.cjs → image-editor-EmBN_Nn_.cjs} +1 -1
- package/dist/imba-CR1Q6r17.cjs +1 -0
- package/dist/imba-CimUv-Uh.js +6 -0
- package/dist/index-C1bimRWu.cjs +5 -0
- package/dist/{index-DdQbaicX.js → index-C_34q9jG.js} +121 -114
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +6 -6
- package/dist/info-NVLQJR56-C3piIB8L.cjs +1 -0
- package/dist/info-NVLQJR56-DxpWS9Ek.js +5 -0
- package/dist/infoDiagram-ER5ION4S-DqXS6eRb.cjs +2 -0
- package/dist/infoDiagram-ER5ION4S-iBX13SKY.js +24 -0
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/ini-Dpu3Xy2p.cjs +1 -0
- package/dist/init-CHZsXQcr.cjs +1 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/java--6gf61wy.cjs +1 -0
- package/dist/java-DY6VlHhP.js +6 -0
- package/dist/javascript-C25yR2R2.js +6 -0
- package/dist/javascript-DgmXW4Ha.cjs +1 -0
- package/dist/jinja-6NmewwV8.cjs +1 -0
- package/dist/jinja-CFW5uAwY.js +11 -0
- package/dist/jison-CD9Qsaj0.cjs +1 -0
- package/dist/jison-DdreslRX.js +8 -0
- package/dist/journeyDiagram-XKPGCS4Q-CIELmZlO.js +836 -0
- package/dist/journeyDiagram-XKPGCS4Q-CJX0XVNj.cjs +139 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json-YkPizm35.cjs +1 -0
- package/dist/{json-diff-viewer-KCkYwJMA.cjs → json-diff-viewer-B9kQEwcr.cjs} +2 -2
- package/dist/{json-diff-viewer-BhWTP1YY.js → json-diff-viewer-D2tCblUU.js} +1 -1
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/json5-CCgFZiQn.cjs +1 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonc-CKPHIcXW.cjs +1 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonl-Dq56Hab-.cjs +1 -0
- package/dist/jsonnet-Bx2cfsXg.js +6 -0
- package/dist/jsonnet-Csh7E68F.cjs +1 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jssm-D0M9iZPY.cjs +1 -0
- package/dist/jsx-BtKADgXT.js +6 -0
- package/dist/jsx-DLX6UGgg.cjs +1 -0
- package/dist/julia--2-efCjg.js +16 -0
- package/dist/julia-DimQn8rn.cjs +1 -0
- package/dist/kanagawa-dragon-BJZF7xDr.cjs +1 -0
- package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
- package/dist/kanagawa-lotus-BhgzmRV4.cjs +1 -0
- package/dist/kanagawa-wave-BgJip59C.cjs +1 -0
- package/dist/kanagawa-wave-CQwozSzG.js +4 -0
- package/dist/kanban-definition-3W4ZIXB7-DnhdFt_Y.cjs +89 -0
- package/dist/kanban-definition-3W4ZIXB7-WK7l1gdb.js +721 -0
- package/dist/kdl-BNOv9TC3.js +6 -0
- package/dist/kdl-CDG1p2Qi.cjs +1 -0
- package/dist/kotlin-BHZjvNqT.cjs +1 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-BgZ0fOqg.cjs +1 -0
- package/dist/kusto-VWFLl2T0.js +6 -0
- package/dist/{lang-panel-tOddhH70.cjs → lang-panel-ClCAoE4L.cjs} +1 -1
- package/dist/{lang-panel-by1VOWvc.js → lang-panel-CsA6jzez.js} +33 -33
- package/dist/laserwave--izBLY1I.cjs +1 -0
- package/dist/laserwave-6a00oqik.js +4 -0
- package/dist/latex-CO8r39zT.js +8 -0
- package/dist/latex-Xma1qZep.cjs +1 -0
- package/dist/layout-AXx0t5i6.cjs +1 -0
- package/dist/layout-B6VyrpKo.js +1223 -0
- package/dist/lean-BCqiTZhG.cjs +1 -0
- package/dist/lean-k2QBx9cb.js +6 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/less-Dtg8mm6P.cjs +1 -0
- package/dist/light-plus-B5D0le0o.cjs +1 -0
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/linear-CdbmJ0kA.cjs +1 -0
- package/dist/linear-CebAae2s.js +259 -0
- package/dist/liquid-CHzkx3jT.js +14 -0
- package/dist/liquid-DjlCV7Vm.cjs +1 -0
- package/dist/llvm-DcRvQ_r8.cjs +1 -0
- package/dist/llvm-co1rIKs3.js +6 -0
- package/dist/log-Al8wyEFV.js +6 -0
- package/dist/log-CjTZ0gSB.cjs +1 -0
- package/dist/logo-BAktp_5i.cjs +1 -0
- package/dist/logo-DBa4JDzV.js +6 -0
- package/dist/lua-BfOnSJPp.cjs +1 -0
- package/dist/lua-kX5WP_P5.js +8 -0
- package/dist/luau-DTep-u3e.cjs +1 -0
- package/dist/luau-DtBSxLyz.js +6 -0
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/make-NcdIe21U.cjs +1 -0
- package/dist/{mark-as-template-ngqCvlhA.js → mark-as-template-BsOhlLYx.js} +1 -1
- package/dist/{mark-as-template-BUCysjr2.cjs → mark-as-template-DUeGBAgn.cjs} +1 -1
- package/dist/markdown-Byu9Sdmq.cjs +1 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-Cvx4TamJ.cjs +1 -0
- package/dist/marko-ls0Jg2j8.js +14 -0
- package/dist/material-theme-D6KBX41T.js +4 -0
- package/dist/material-theme-Dj0-OyRN.cjs +1 -0
- package/dist/material-theme-darker-CkRroheE.js +4 -0
- package/dist/material-theme-darker-Dvfs29ir.cjs +1 -0
- package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist/material-theme-lighter-EU3ZGl_r.cjs +1 -0
- package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist/material-theme-ocean-px_3Pwqa.cjs +1 -0
- package/dist/material-theme-palenight-38jxvsGX.cjs +1 -0
- package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0.js +6 -0
- package/dist/matlab-CHTOL9Kx.cjs +1 -0
- package/dist/mdc-DEPKJPdx.cjs +1 -0
- package/dist/mdc-uaivvctV.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mdx-CjwI68TB.cjs +1 -0
- package/dist/mermaid-B0ixDHKN.js +6 -0
- package/dist/mermaid-XEfjk_VN.cjs +1 -0
- package/dist/mermaid-parser.core-DKJdj2_U.cjs +128 -0
- package/dist/mermaid-parser.core-GitSl6co.js +13256 -0
- package/dist/mermaid.core-3NhAXOzj.js +14260 -0
- package/dist/mermaid.core-Cop_RRH4.cjs +196 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-dark-tt5o_I5e.cjs +1 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/min-light-tmTHl_CQ.cjs +1 -0
- package/dist/mindmap-definition-VGOIOE7T-BOk1rAbB.js +787 -0
- package/dist/mindmap-definition-VGOIOE7T-cJsasSc0.cjs +68 -0
- package/dist/mipsasm-BSlRcFIy.cjs +1 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-BD611d7o.js +6 -0
- package/dist/mojo-BQ8pQfYA.cjs +1 -0
- package/dist/monokai-C1KBYcO0.js +4 -0
- package/dist/monokai-DMIxv6MM.cjs +1 -0
- package/dist/move-Bm1vlCWg.cjs +1 -0
- package/dist/move-F-dICmj2.js +6 -0
- package/dist/narrat-CBeKHgTl.cjs +1 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-0_vzQJwQ.cjs +1 -0
- package/dist/nextflow-BAAEJxI_.js +6 -0
- package/dist/nginx-5vhPAEw3.js +8 -0
- package/dist/nginx-ByVOUyIE.cjs +1 -0
- package/dist/night-owl-BN78kThQ.cjs +1 -0
- package/dist/night-owl-Bm2rzalh.js +4 -0
- package/dist/nim-Bqmp5Of3.cjs +1 -0
- package/dist/nim-QAjRdh9w.js +20 -0
- package/dist/nix-B_7Vy2bT.js +6 -0
- package/dist/nix-BoOZl1xr.cjs +1 -0
- package/dist/{no-language-page-content-Dz3GSvnO.js → no-language-page-content-DveHrqZF.js} +1 -1
- package/dist/{no-language-page-content-CzTbZ07M.cjs → no-language-page-content-KLiCVKWw.cjs} +1 -1
- package/dist/nord-CC5OiUXg.js +4 -0
- package/dist/nord-Ca5AGUWc.cjs +1 -0
- package/dist/nushell-D8j3dhT-.js +6 -0
- package/dist/nushell-nGrB_wpI.cjs +1 -0
- package/dist/objective-c-Itk8tzmv.js +6 -0
- package/dist/objective-c-RjkWwFge.cjs +1 -0
- package/dist/objective-cpp-DGt5UKRO.js +6 -0
- package/dist/objective-cpp-HnfhWwRe.cjs +1 -0
- package/dist/ocaml-Cx8ewW_A.cjs +1 -0
- package/dist/ocaml-eSVK32Eg.js +6 -0
- package/dist/one-dark-pro-C09VQHwB.cjs +1 -0
- package/dist/one-dark-pro-DTA3VF0_.js +4 -0
- package/dist/one-light-020-h_lv.cjs +1 -0
- package/dist/one-light-D9sNaUtq.js +4 -0
- package/dist/ordinal-CagbB1m8.cjs +1 -0
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/packet-BFZMPI3H-B0uDu6gg.cjs +1 -0
- package/dist/packet-BFZMPI3H-tS-CKRal.js +5 -0
- package/dist/{page-creator-D2iEu92e.js → page-creator-Du1tv5PL.js} +2 -2
- package/dist/{page-creator-BICVMC59.cjs → page-creator-I5z6OA-y.cjs} +1 -1
- package/dist/{page-lock-request-DjfV2kmK.js → page-lock-request-C_FjXr4-.js} +5 -5
- package/dist/{page-lock-request-hlvjC2uX.cjs → page-lock-request-DSCZ2b9Y.cjs} +1 -1
- package/dist/{page-locked-by-dialog-m6K_uaE8.js → page-locked-by-dialog-DAJlxcUt.js} +1 -1
- package/dist/{page-locked-by-dialog-NpUOJvWZ.cjs → page-locked-by-dialog-Daefw0-2.cjs} +1 -1
- package/dist/{page-manager-new-DshyH-mV.js → page-manager-new-BNk_0XVK.js} +56 -56
- package/dist/{page-manager-new-C2jmBaFF.cjs → page-manager-new-DmA0Ka0c.cjs} +1 -1
- package/dist/{page-manager-search-and-filter-D_g51CM8.cjs → page-manager-search-and-filter-DkR8sFPh.cjs} +1 -1
- package/dist/{page-manager-search-and-filter-DCg7Fqi_.js → page-manager-search-and-filter-heV_U9x0.js} +1 -1
- package/dist/{page-revisions-content-N_qdjfDX.cjs → page-revisions-content-BIhjzS21.cjs} +1 -1
- package/dist/{page-revisions-content-DZzxttKH.js → page-revisions-content-BVg59skx.js} +18 -18
- package/dist/pages.css +1 -1
- package/dist/pascal-DBu9vQ2o.cjs +1 -0
- package/dist/pascal-xy8pJNns.js +6 -0
- package/dist/perl-CxWZPeDZ.cjs +1 -0
- package/dist/perl-DkVrgJBg.js +16 -0
- package/dist/php-BLXVJphD.cjs +1 -0
- package/dist/php-j2zCzTEz.js +18 -0
- package/dist/pie-7BOR55EZ-CcDzfu0_.js +5 -0
- package/dist/pie-7BOR55EZ-CqYqIXXG.cjs +1 -0
- package/dist/pieDiagram-ADFJNKIX-CFfE-HG7.js +162 -0
- package/dist/pieDiagram-ADFJNKIX-DWVdC3zW.cjs +30 -0
- package/dist/pkl-C-zSNmaA.js +6 -0
- package/dist/pkl-Dvyry4Rm.cjs +1 -0
- package/dist/plastic-CSTz3KZp.js +4 -0
- package/dist/plastic-r5piqq-S.cjs +1 -0
- package/dist/plsql-IJkoPJ9P.cjs +1 -0
- package/dist/plsql-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/po-Rhu6MvnX.cjs +1 -0
- package/dist/poimandres-BLP3NNjc.cjs +1 -0
- package/dist/poimandres-C-VADXHD.js +4 -0
- package/dist/polar-BtWqSUq2.cjs +1 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/postcss-Dh97DcaJ.cjs +1 -0
- package/dist/powerquery-BGL6VIw7.cjs +1 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-BiEPMjy-.cjs +1 -0
- package/dist/powershell-Clc4ydu-.js +6 -0
- package/dist/prisma-Dp473sn0.cjs +1 -0
- package/dist/prisma-FZjmVtSl.js +6 -0
- package/dist/prolog-C5-yg4TO.js +6 -0
- package/dist/prolog-N1U-3UeF.cjs +1 -0
- package/dist/proto-MmCPeFAD.js +6 -0
- package/dist/proto-kd7Vn2fe.cjs +1 -0
- package/dist/{publish-pages-content-CRvy9fwt.js → publish-pages-content-BhJ_uRxQ.js} +6 -6
- package/dist/{publish-pages-content-Dtu7807d.cjs → publish-pages-content-CKydxoZ_.cjs} +1 -1
- package/dist/pug-DiGNE7sm.cjs +1 -0
- package/dist/pug-XOw9Q1Ho.js +12 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/puppet-cDQP_ZC_.cjs +1 -0
- package/dist/purescript-DMxb59gF.cjs +1 -0
- package/dist/purescript-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ.js +6 -0
- package/dist/python-s9jfVbew.cjs +1 -0
- package/dist/qml-beorq0E4.cjs +1 -0
- package/dist/qml-rTNXsquU.js +8 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qmldir-DNF9H2ir.cjs +1 -0
- package/dist/qss-AeJTysr_.js +6 -0
- package/dist/qss-DwA_oiAM.cjs +1 -0
- package/dist/quadrantDiagram-AYHSOK5B-6xSOcCxL.js +1024 -0
- package/dist/quadrantDiagram-AYHSOK5B-J0R9fpox.cjs +7 -0
- package/dist/r-Bm0uF0U2.js +6 -0
- package/dist/r-ChIwckeM.cjs +1 -0
- package/dist/racket-B83wSAja.js +6 -0
- package/dist/racket-D4laxZit.cjs +1 -0
- package/dist/radar-NHE76QYJ-C4G7hzu6.js +5 -0
- package/dist/radar-NHE76QYJ-EznHmPEg.cjs +1 -0
- package/dist/raku-DHySPsLw.cjs +1 -0
- package/dist/raku-nEQ4ZJJ7.js +6 -0
- package/dist/razor-DgCbant-.cjs +1 -0
- package/dist/razor-Dh1wKTmh.js +10 -0
- package/dist/red-7y8PH7HH.js +4 -0
- package/dist/red-BQGOv1D5.cjs +1 -0
- package/dist/reg-CevkCKuZ.cjs +1 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/regexp-DabTWNLE.cjs +1 -0
- package/dist/rel-BS5APza7.cjs +1 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/render.d.ts +12 -0
- package/dist/requirementDiagram-UZGBJVZJ-DXq0f3Op.cjs +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-p2d3AnQ8.js +852 -0
- package/dist/riscv-BnGFr6V7.cjs +1 -0
- package/dist/riscv-Ce8MAQLP.js +6 -0
- package/dist/rose-pine-Cr4kwgAY.js +4 -0
- package/dist/rose-pine-Dynd1SQq.cjs +1 -0
- package/dist/rose-pine-dawn-ClRRUdXX.js +4 -0
- package/dist/rose-pine-dawn-DwrpEjkh.cjs +1 -0
- package/dist/rose-pine-moon-8HmiewSG.cjs +1 -0
- package/dist/rose-pine-moon-ucNn3Gm8.js +4 -0
- package/dist/rosmsg-C7VSFzUC.cjs +1 -0
- package/dist/rosmsg-Cz0w1km8.js +6 -0
- package/dist/rst-CcbeA9zE.js +22 -0
- package/dist/rst-D08gsKw8.cjs +1 -0
- package/dist/ruby-B5H7kBtd.cjs +1 -0
- package/dist/ruby-DMPw6uKF.js +30 -0
- package/dist/runtime.d.ts +12 -0
- package/dist/rust-CLzF9zIN.js +6 -0
- package/dist/rust-CNeTMPbB.cjs +1 -0
- package/dist/sankeyDiagram-TZEHDZUN-CLBuuob-.cjs +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-CbASga1e.js +810 -0
- package/dist/sas-D5Fn8Q38.cjs +1 -0
- package/dist/sas-fpEvgATw.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/sass-vyo-bUwh.cjs +1 -0
- package/dist/{save-to-lib-BE0-MXVv.js → save-to-lib-Byfa7tCG.js} +1 -1
- package/dist/{save-to-lib-XnTNVHzy.cjs → save-to-lib-C3mx8iXu.cjs} +1 -1
- package/dist/scala-D4grkFkl.js +6 -0
- package/dist/scala-ZSekD-8-.cjs +1 -0
- package/dist/scheme-BCRWuEm4.js +6 -0
- package/dist/scheme-vM0LdD-_.cjs +1 -0
- package/dist/scss-B1FaCqwR.js +8 -0
- package/dist/scss-CKlduTMv.cjs +1 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/sdbl-DeWT5r4i.cjs +1 -0
- package/dist/selected-block-display-CZ3zwgqL.js +43632 -0
- package/dist/selected-block-display-GwQBADhp.cjs +541 -0
- package/dist/{seo-panel-dIE8Wi40.js → seo-panel-CrpYigIp.js} +17 -17
- package/dist/{seo-panel-Ce3uf7XT.cjs → seo-panel-DxaEiunO.cjs} +1 -1
- package/dist/sequenceDiagram-WL72ISMW-3T2mzAhA.js +2522 -0
- package/dist/sequenceDiagram-WL72ISMW-DmS_WEPR.cjs +145 -0
- package/dist/server.cjs +206 -121
- package/dist/server.d.ts +12 -0
- package/dist/server.js +776 -691
- package/dist/shaderlab-Cr62-Wb4.js +8 -0
- package/dist/shaderlab-DGJjQHxC.cjs +1 -0
- package/dist/{shared-json-ld-DiVirR4t.cjs → shared-json-ld-CcUhox6j.cjs} +1 -1
- package/dist/{shared-json-ld-UCI8GeFi.js → shared-json-ld-DczSLaqw.js} +48 -48
- package/dist/shellscript-DYWjN7qW.cjs +1 -0
- package/dist/shellscript-InADTalH.js +6 -0
- package/dist/shellsession-DMUSXX8m.cjs +1 -0
- package/dist/shellsession-DiDJNQdy.js +8 -0
- package/dist/slack-dark-akqwQ7ED.cjs +1 -0
- package/dist/slack-dark-i7wN4OET.js +4 -0
- package/dist/slack-ochin-BoQQWmTv.cjs +1 -0
- package/dist/slack-ochin-ndHf0LoP.js +4 -0
- package/dist/{slug-input-DTA7c8c6.js → slug-input-CjagPxIn.js} +1 -1
- package/dist/{slug-input-BbkCbVMY.cjs → slug-input-CsniBgYf.cjs} +1 -1
- package/dist/smalltalk-BNs6hxu4.cjs +1 -0
- package/dist/smalltalk-BlI1_OkM.js +6 -0
- package/dist/snazzy-light-BlSJXAu4.js +4 -0
- package/dist/snazzy-light-D_IwRieF.cjs +1 -0
- package/dist/solarized-dark-UTmkh7lw.js +4 -0
- package/dist/solarized-dark-gmm-WbDC.cjs +1 -0
- package/dist/solarized-light-BheCkDPT.js +4 -0
- package/dist/solarized-light-DzcxRSZP.cjs +1 -0
- package/dist/solidity-CYggdHYd.cjs +1 -0
- package/dist/solidity-CneOhxmR.js +6 -0
- package/dist/soy-C1-6njHa.js +8 -0
- package/dist/soy-CDFPDtGX.cjs +1 -0
- package/dist/sparql-6Cg9ppCl.cjs +1 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-CRXR8A9s.js +6 -0
- package/dist/splunk-CWPivao_.cjs +1 -0
- package/dist/sql-Cn_v3PB0.js +6 -0
- package/dist/sql-DhUUVgH1.cjs +1 -0
- package/dist/ssh-config-B93wBIBa.cjs +1 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX.js +8 -0
- package/dist/stata-DCWFCQQG.cjs +1 -0
- package/dist/stateDiagram-FKZM4ZOC-BmMX9umD.cjs +1 -0
- package/dist/stateDiagram-FKZM4ZOC-D9lkyJcL.js +264 -0
- package/dist/stateDiagram-v2-4FDKWEC3-BwQkMtRv.cjs +1 -0
- package/dist/stateDiagram-v2-4FDKWEC3-D0yq-_gB.js +16 -0
- package/dist/stylus-B64Bt0D4.cjs +1 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/svelte-5UasyOg7.js +14 -0
- package/dist/svelte-DFg_x5i4.cjs +1 -0
- package/dist/swift-9UzSvamq.js +6 -0
- package/dist/swift-BMbGdc3j.cjs +1 -0
- package/dist/synthwave-84-BBRLOmNT.cjs +1 -0
- package/dist/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-BCm7smPJ.js +6 -0
- package/dist/system-verilog-BFclLo9e.cjs +1 -0
- package/dist/systemd-C-4qm6XH.js +6 -0
- package/dist/systemd-Dtw7P4tb.cjs +1 -0
- package/dist/tailwind.d.ts +12 -0
- package/dist/talonscript-CFF3LF_O.js +6 -0
- package/dist/talonscript-D8SvZJVc.cjs +1 -0
- package/dist/tasl--DC4oX-L.cjs +1 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-0Q0H86Yn.cjs +1 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-BDNMUns0.cjs +1 -0
- package/dist/templ-peLZIM2D.js +12 -0
- package/dist/terraform-C0RDrmWi.cjs +1 -0
- package/dist/terraform-DGvcn9zM.js +6 -0
- package/dist/tex-BUUuwxQS.js +8 -0
- package/dist/tex-By7qnogv.cjs +1 -0
- package/dist/{theme-panel-footer-uGKDjNbs.cjs → theme-panel-footer-BYI0_a19.cjs} +1 -1
- package/dist/{theme-panel-footer-BjRPU7lq.js → theme-panel-footer-C-uSbeOf.js} +1 -1
- package/dist/timeline-definition-IT6M3QCI-Bi9IiYMF.cjs +61 -0
- package/dist/timeline-definition-IT6M3QCI-LtkAohDp.js +801 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/tokyo-night-GOhjzM5y.cjs +1 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/toml-Q64DoSvG.cjs +1 -0
- package/dist/treemap-KMMF4GRG-DAuFMsAI.cjs +1 -0
- package/dist/treemap-KMMF4GRG-vy1iI8-N.js +5 -0
- package/dist/ts-tags-DILCom6A.cjs +1 -0
- package/dist/ts-tags-ioVe2PKw.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsv-DqNGnuVj.cjs +1 -0
- package/dist/tsx-B8rCNbgL.js +6 -0
- package/dist/tsx-DIpfUf9u.cjs +1 -0
- package/dist/turtle-DipIidr5.cjs +1 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-B42NGISI.cjs +1 -0
- package/dist/twig-CcRLVyUg.js +18 -0
- package/dist/typescript-RycA9KXf.js +6 -0
- package/dist/typescript-b48wo4zk.cjs +1 -0
- package/dist/typespec-CLqB-2XS.cjs +1 -0
- package/dist/typespec-Djmco60m.js +6 -0
- package/dist/typst-Cqq4j4V-.cjs +1 -0
- package/dist/typst-D_1QKWns.js +6 -0
- package/dist/{unmark-as-template-BWviVI2t.js → unmark-as-template-CGKkAZPZ.js} +1 -1
- package/dist/{unmark-as-template-Dbhko_72.cjs → unmark-as-template-GuUssCYI.cjs} +1 -1
- package/dist/{unpublish-page-D0EmMryc.cjs → unpublish-page-D67IrGmd.cjs} +1 -1
- package/dist/{unpublish-page-BzI9EFF9.js → unpublish-page-ow8e1CXO.js} +1 -1
- package/dist/use-page-expand-manager-B5Y2KS1c.cjs +1 -0
- package/dist/utils.d.ts +12 -0
- package/dist/v-81C2s01-.cjs +1 -0
- package/dist/v-BPCNiyYe.js +6 -0
- package/dist/vala-CsAYdCD2.cjs +1 -0
- package/dist/vala-uxaPR7d1.js +6 -0
- package/dist/vb-AiTMb16X.cjs +1 -0
- package/dist/vb-D8_c5-KN.js +6 -0
- package/dist/verilog-AMohXZcN.cjs +1 -0
- package/dist/verilog-B-bybjPF.js +6 -0
- package/dist/vesper-B59Iw4gV.cjs +1 -0
- package/dist/vesper-BckBta1U.js +4 -0
- package/dist/vhdl-CUlNa8ac.js +6 -0
- package/dist/vhdl-DIdR1NA5.cjs +1 -0
- package/dist/viml-D01eKeA4.cjs +1 -0
- package/dist/viml-DsfA-sWm.js +6 -0
- package/dist/vitesse-black-BoGvW84i.js +4 -0
- package/dist/vitesse-black-MF-1S1MG.cjs +1 -0
- package/dist/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist/vitesse-dark-SIffJYSe.cjs +1 -0
- package/dist/vitesse-light-CcmG315c.js +4 -0
- package/dist/vitesse-light-U63SkYGT.cjs +1 -0
- package/dist/vue-DUYfTwgV.cjs +1 -0
- package/dist/vue-DrinnB8Y.js +31 -0
- package/dist/vue-html-B8T_zUQ-.cjs +1 -0
- package/dist/vue-html-CQOyCFnQ.js +10 -0
- package/dist/vue-vine-CAyeVfAj.js +20 -0
- package/dist/vue-vine-ClEtVpt5.cjs +1 -0
- package/dist/vyper-CPQuu50u.js +6 -0
- package/dist/vyper-DTzyzn3a.cjs +1 -0
- package/dist/wasm-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae.js +7 -0
- package/dist/wasm-Dp-QrJpp.cjs +1 -0
- package/dist/wasm-Dw4u1m6u.cjs +1 -0
- package/dist/web-blocks.d.ts +12 -0
- package/dist/{web-preview-CSV-DXpI.cjs → web-preview-Dm8A9E8S.cjs} +1 -1
- package/dist/{web-preview-SIUM1SWa.js → web-preview-NCfHy3pB.js} +2 -2
- package/dist/wenyan-CRNx8UP3.cjs +1 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DF5qc9dd.cjs +1 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-D7uzEIfK.cjs +1 -0
- package/dist/wikitext-Z-MoUasO.js +6 -0
- package/dist/wit-BjWgLsJj.cjs +1 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-BR4t3Ffc.cjs +1 -0
- package/dist/wolfram-Dz4KXISs.js +6 -0
- package/dist/xml-BpsKWkuV.cjs +1 -0
- package/dist/xml-C2J0sS9M.js +8 -0
- package/dist/xsl-BmSZphgC.js +8 -0
- package/dist/xsl-D-3VYix6.cjs +1 -0
- package/dist/xychartDiagram-PRI3JC2R-d5V8_6ka.cjs +7 -0
- package/dist/xychartDiagram-PRI3JC2R-ggiHJXU7.js +1340 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/yaml-XVBmpKh-.cjs +1 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zenscript-fNvwKexi.cjs +1 -0
- package/dist/zig-BAyIAcWK.cjs +1 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +28 -12
- package/dist/ai-panel-content-B7VWN9Hp.js +0 -54
- package/dist/ai-panel-content-DvNWlTtZ.cjs +0 -1
- package/dist/ai-panel-default-lang-DRkJegQm.js +0 -178
- package/dist/ai-panel-default-lang-Dnfg53l_.cjs +0 -1
- package/dist/ai-panel-message-bubble-Bl-aUeU4.cjs +0 -1
- package/dist/ai-panel-message-bubble-DPAaAMAZ.js +0 -38
- package/dist/ai-panel-other-lang-0_g52R_I.cjs +0 -1
- package/dist/ai-panel-other-lang-CQVkWTd3.js +0 -150
- package/dist/ai-panel-quick-prompts-BfMsNuRu.js +0 -46
- package/dist/ai-panel-quick-prompts-CGKAAn9A.cjs +0 -1
- package/dist/ai-prompt-input-C3TnCYfz.js +0 -222
- package/dist/ai-prompt-input-CffQQOKA.cjs +0 -1
- package/dist/index-B1OACNv-.cjs +0 -5
- package/dist/prompt-helper-D0QRFyFX.js +0 -187
- package/dist/prompt-helper-DIy7u3rt.cjs +0 -51
- package/dist/use-page-expand-manager-2KjeYfVS.cjs +0 -1
|
@@ -0,0 +1,1382 @@
|
|
|
1
|
+
import { g as te } from "./chunk-55IACEB6-xzVewFKl.js";
|
|
2
|
+
import { s as ee } from "./chunk-QN33PNHL-qSV2Zj2E.js";
|
|
3
|
+
import { _ as f, g as se, s as ie, b as re, c as ae, o as ne, p as oe, d as F, l as b, ab as le, e as W, v as ce, A as he, u as ue } from "./mermaid.core-3NhAXOzj.js";
|
|
4
|
+
var vt = function() {
|
|
5
|
+
var e = /* @__PURE__ */ f(function(V, o, h, n) {
|
|
6
|
+
for (h = h || {}, n = V.length; n--; h[V[n]] = o) ;
|
|
7
|
+
return h;
|
|
8
|
+
}, "o"), t = [1, 2], s = [1, 3], a = [1, 4], i = [2, 4], l = [1, 9], d = [1, 11], S = [1, 16], p = [1, 17], T = [1, 18], _ = [1, 19], m = [1, 33], k = [1, 20], A = [1, 21], $ = [1, 22], x = [1, 23], R = [1, 24], u = [1, 26], L = [1, 27], I = [1, 28], N = [1, 29], G = [1, 30], P = [1, 31], B = [1, 32], at = [1, 35], nt = [1, 36], ot = [1, 37], lt = [1, 38], K = [1, 34], y = [1, 4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], ct = [1, 4, 5, 14, 15, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 39, 40, 41, 45, 48, 51, 52, 53, 54, 57], xt = [4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], gt = {
|
|
9
|
+
trace: /* @__PURE__ */ f(function() {
|
|
10
|
+
}, "trace"),
|
|
11
|
+
yy: {},
|
|
12
|
+
symbols_: { error: 2, start: 3, SPACE: 4, NL: 5, SD: 6, document: 7, line: 8, statement: 9, classDefStatement: 10, styleStatement: 11, cssClassStatement: 12, idStatement: 13, DESCR: 14, "-->": 15, HIDE_EMPTY: 16, scale: 17, WIDTH: 18, COMPOSIT_STATE: 19, STRUCT_START: 20, STRUCT_STOP: 21, STATE_DESCR: 22, AS: 23, ID: 24, FORK: 25, JOIN: 26, CHOICE: 27, CONCURRENT: 28, note: 29, notePosition: 30, NOTE_TEXT: 31, direction: 32, acc_title: 33, acc_title_value: 34, acc_descr: 35, acc_descr_value: 36, acc_descr_multiline_value: 37, CLICK: 38, STRING: 39, HREF: 40, classDef: 41, CLASSDEF_ID: 42, CLASSDEF_STYLEOPTS: 43, DEFAULT: 44, style: 45, STYLE_IDS: 46, STYLEDEF_STYLEOPTS: 47, class: 48, CLASSENTITY_IDS: 49, STYLECLASS: 50, direction_tb: 51, direction_bt: 52, direction_rl: 53, direction_lr: 54, eol: 55, ";": 56, EDGE_STATE: 57, STYLE_SEPARATOR: 58, left_of: 59, right_of: 60, $accept: 0, $end: 1 },
|
|
13
|
+
terminals_: { 2: "error", 4: "SPACE", 5: "NL", 6: "SD", 14: "DESCR", 15: "-->", 16: "HIDE_EMPTY", 17: "scale", 18: "WIDTH", 19: "COMPOSIT_STATE", 20: "STRUCT_START", 21: "STRUCT_STOP", 22: "STATE_DESCR", 23: "AS", 24: "ID", 25: "FORK", 26: "JOIN", 27: "CHOICE", 28: "CONCURRENT", 29: "note", 31: "NOTE_TEXT", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 38: "CLICK", 39: "STRING", 40: "HREF", 41: "classDef", 42: "CLASSDEF_ID", 43: "CLASSDEF_STYLEOPTS", 44: "DEFAULT", 45: "style", 46: "STYLE_IDS", 47: "STYLEDEF_STYLEOPTS", 48: "class", 49: "CLASSENTITY_IDS", 50: "STYLECLASS", 51: "direction_tb", 52: "direction_bt", 53: "direction_rl", 54: "direction_lr", 56: ";", 57: "EDGE_STATE", 58: "STYLE_SEPARATOR", 59: "left_of", 60: "right_of" },
|
|
14
|
+
productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 3], [9, 4], [9, 1], [9, 2], [9, 1], [9, 4], [9, 3], [9, 6], [9, 1], [9, 1], [9, 1], [9, 1], [9, 4], [9, 4], [9, 1], [9, 2], [9, 2], [9, 1], [9, 5], [9, 5], [10, 3], [10, 3], [11, 3], [12, 3], [32, 1], [32, 1], [32, 1], [32, 1], [55, 1], [55, 1], [13, 1], [13, 1], [13, 3], [13, 3], [30, 1], [30, 1]],
|
|
15
|
+
performAction: /* @__PURE__ */ f(function(o, h, n, g, E, r, Z) {
|
|
16
|
+
var c = r.length - 1;
|
|
17
|
+
switch (E) {
|
|
18
|
+
case 3:
|
|
19
|
+
return g.setRootDoc(r[c]), r[c];
|
|
20
|
+
case 4:
|
|
21
|
+
this.$ = [];
|
|
22
|
+
break;
|
|
23
|
+
case 5:
|
|
24
|
+
r[c] != "nl" && (r[c - 1].push(r[c]), this.$ = r[c - 1]);
|
|
25
|
+
break;
|
|
26
|
+
case 6:
|
|
27
|
+
case 7:
|
|
28
|
+
this.$ = r[c];
|
|
29
|
+
break;
|
|
30
|
+
case 8:
|
|
31
|
+
this.$ = "nl";
|
|
32
|
+
break;
|
|
33
|
+
case 12:
|
|
34
|
+
this.$ = r[c];
|
|
35
|
+
break;
|
|
36
|
+
case 13:
|
|
37
|
+
const tt = r[c - 1];
|
|
38
|
+
tt.description = g.trimColon(r[c]), this.$ = tt;
|
|
39
|
+
break;
|
|
40
|
+
case 14:
|
|
41
|
+
this.$ = { stmt: "relation", state1: r[c - 2], state2: r[c] };
|
|
42
|
+
break;
|
|
43
|
+
case 15:
|
|
44
|
+
const Tt = g.trimColon(r[c]);
|
|
45
|
+
this.$ = { stmt: "relation", state1: r[c - 3], state2: r[c - 1], description: Tt };
|
|
46
|
+
break;
|
|
47
|
+
case 19:
|
|
48
|
+
this.$ = { stmt: "state", id: r[c - 3], type: "default", description: "", doc: r[c - 1] };
|
|
49
|
+
break;
|
|
50
|
+
case 20:
|
|
51
|
+
var U = r[c], X = r[c - 2].trim();
|
|
52
|
+
if (r[c].match(":")) {
|
|
53
|
+
var ut = r[c].split(":");
|
|
54
|
+
U = ut[0], X = [X, ut[1]];
|
|
55
|
+
}
|
|
56
|
+
this.$ = { stmt: "state", id: U, type: "default", description: X };
|
|
57
|
+
break;
|
|
58
|
+
case 21:
|
|
59
|
+
this.$ = { stmt: "state", id: r[c - 3], type: "default", description: r[c - 5], doc: r[c - 1] };
|
|
60
|
+
break;
|
|
61
|
+
case 22:
|
|
62
|
+
this.$ = { stmt: "state", id: r[c], type: "fork" };
|
|
63
|
+
break;
|
|
64
|
+
case 23:
|
|
65
|
+
this.$ = { stmt: "state", id: r[c], type: "join" };
|
|
66
|
+
break;
|
|
67
|
+
case 24:
|
|
68
|
+
this.$ = { stmt: "state", id: r[c], type: "choice" };
|
|
69
|
+
break;
|
|
70
|
+
case 25:
|
|
71
|
+
this.$ = { stmt: "state", id: g.getDividerId(), type: "divider" };
|
|
72
|
+
break;
|
|
73
|
+
case 26:
|
|
74
|
+
this.$ = { stmt: "state", id: r[c - 1].trim(), note: { position: r[c - 2].trim(), text: r[c].trim() } };
|
|
75
|
+
break;
|
|
76
|
+
case 29:
|
|
77
|
+
this.$ = r[c].trim(), g.setAccTitle(this.$);
|
|
78
|
+
break;
|
|
79
|
+
case 30:
|
|
80
|
+
case 31:
|
|
81
|
+
this.$ = r[c].trim(), g.setAccDescription(this.$);
|
|
82
|
+
break;
|
|
83
|
+
case 32:
|
|
84
|
+
this.$ = {
|
|
85
|
+
stmt: "click",
|
|
86
|
+
id: r[c - 3],
|
|
87
|
+
url: r[c - 2],
|
|
88
|
+
tooltip: r[c - 1]
|
|
89
|
+
};
|
|
90
|
+
break;
|
|
91
|
+
case 33:
|
|
92
|
+
this.$ = {
|
|
93
|
+
stmt: "click",
|
|
94
|
+
id: r[c - 3],
|
|
95
|
+
url: r[c - 1],
|
|
96
|
+
tooltip: ""
|
|
97
|
+
};
|
|
98
|
+
break;
|
|
99
|
+
case 34:
|
|
100
|
+
case 35:
|
|
101
|
+
this.$ = { stmt: "classDef", id: r[c - 1].trim(), classes: r[c].trim() };
|
|
102
|
+
break;
|
|
103
|
+
case 36:
|
|
104
|
+
this.$ = { stmt: "style", id: r[c - 1].trim(), styleClass: r[c].trim() };
|
|
105
|
+
break;
|
|
106
|
+
case 37:
|
|
107
|
+
this.$ = { stmt: "applyClass", id: r[c - 1].trim(), styleClass: r[c].trim() };
|
|
108
|
+
break;
|
|
109
|
+
case 38:
|
|
110
|
+
g.setDirection("TB"), this.$ = { stmt: "dir", value: "TB" };
|
|
111
|
+
break;
|
|
112
|
+
case 39:
|
|
113
|
+
g.setDirection("BT"), this.$ = { stmt: "dir", value: "BT" };
|
|
114
|
+
break;
|
|
115
|
+
case 40:
|
|
116
|
+
g.setDirection("RL"), this.$ = { stmt: "dir", value: "RL" };
|
|
117
|
+
break;
|
|
118
|
+
case 41:
|
|
119
|
+
g.setDirection("LR"), this.$ = { stmt: "dir", value: "LR" };
|
|
120
|
+
break;
|
|
121
|
+
case 44:
|
|
122
|
+
case 45:
|
|
123
|
+
this.$ = { stmt: "state", id: r[c].trim(), type: "default", description: "" };
|
|
124
|
+
break;
|
|
125
|
+
case 46:
|
|
126
|
+
this.$ = { stmt: "state", id: r[c - 2].trim(), classes: [r[c].trim()], type: "default", description: "" };
|
|
127
|
+
break;
|
|
128
|
+
case 47:
|
|
129
|
+
this.$ = { stmt: "state", id: r[c - 2].trim(), classes: [r[c].trim()], type: "default", description: "" };
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
}, "anonymous"),
|
|
133
|
+
table: [{ 3: 1, 4: t, 5: s, 6: a }, { 1: [3] }, { 3: 5, 4: t, 5: s, 6: a }, { 3: 6, 4: t, 5: s, 6: a }, e([1, 4, 5, 16, 17, 19, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], i, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: l, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 22: _, 24: m, 25: k, 26: A, 27: $, 28: x, 29: R, 32: 25, 33: u, 35: L, 37: I, 38: N, 41: G, 45: P, 48: B, 51: at, 52: nt, 53: ot, 54: lt, 57: K }, e(y, [2, 5]), { 9: 39, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 22: _, 24: m, 25: k, 26: A, 27: $, 28: x, 29: R, 32: 25, 33: u, 35: L, 37: I, 38: N, 41: G, 45: P, 48: B, 51: at, 52: nt, 53: ot, 54: lt, 57: K }, e(y, [2, 7]), e(y, [2, 8]), e(y, [2, 9]), e(y, [2, 10]), e(y, [2, 11]), e(y, [2, 12], { 14: [1, 40], 15: [1, 41] }), e(y, [2, 16]), { 18: [1, 42] }, e(y, [2, 18], { 20: [1, 43] }), { 23: [1, 44] }, e(y, [2, 22]), e(y, [2, 23]), e(y, [2, 24]), e(y, [2, 25]), { 30: 45, 31: [1, 46], 59: [1, 47], 60: [1, 48] }, e(y, [2, 28]), { 34: [1, 49] }, { 36: [1, 50] }, e(y, [2, 31]), { 13: 51, 24: m, 57: K }, { 42: [1, 52], 44: [1, 53] }, { 46: [1, 54] }, { 49: [1, 55] }, e(ct, [2, 44], { 58: [1, 56] }), e(ct, [2, 45], { 58: [1, 57] }), e(y, [2, 38]), e(y, [2, 39]), e(y, [2, 40]), e(y, [2, 41]), e(y, [2, 6]), e(y, [2, 13]), { 13: 58, 24: m, 57: K }, e(y, [2, 17]), e(xt, i, { 7: 59 }), { 24: [1, 60] }, { 24: [1, 61] }, { 23: [1, 62] }, { 24: [2, 48] }, { 24: [2, 49] }, e(y, [2, 29]), e(y, [2, 30]), { 39: [1, 63], 40: [1, 64] }, { 43: [1, 65] }, { 43: [1, 66] }, { 47: [1, 67] }, { 50: [1, 68] }, { 24: [1, 69] }, { 24: [1, 70] }, e(y, [2, 14], { 14: [1, 71] }), { 4: l, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 21: [1, 72], 22: _, 24: m, 25: k, 26: A, 27: $, 28: x, 29: R, 32: 25, 33: u, 35: L, 37: I, 38: N, 41: G, 45: P, 48: B, 51: at, 52: nt, 53: ot, 54: lt, 57: K }, e(y, [2, 20], { 20: [1, 73] }), { 31: [1, 74] }, { 24: [1, 75] }, { 39: [1, 76] }, { 39: [1, 77] }, e(y, [2, 34]), e(y, [2, 35]), e(y, [2, 36]), e(y, [2, 37]), e(ct, [2, 46]), e(ct, [2, 47]), e(y, [2, 15]), e(y, [2, 19]), e(xt, i, { 7: 78 }), e(y, [2, 26]), e(y, [2, 27]), { 5: [1, 79] }, { 5: [1, 80] }, { 4: l, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 21: [1, 81], 22: _, 24: m, 25: k, 26: A, 27: $, 28: x, 29: R, 32: 25, 33: u, 35: L, 37: I, 38: N, 41: G, 45: P, 48: B, 51: at, 52: nt, 53: ot, 54: lt, 57: K }, e(y, [2, 32]), e(y, [2, 33]), e(y, [2, 21])],
|
|
134
|
+
defaultActions: { 5: [2, 1], 6: [2, 2], 47: [2, 48], 48: [2, 49] },
|
|
135
|
+
parseError: /* @__PURE__ */ f(function(o, h) {
|
|
136
|
+
if (h.recoverable)
|
|
137
|
+
this.trace(o);
|
|
138
|
+
else {
|
|
139
|
+
var n = new Error(o);
|
|
140
|
+
throw n.hash = h, n;
|
|
141
|
+
}
|
|
142
|
+
}, "parseError"),
|
|
143
|
+
parse: /* @__PURE__ */ f(function(o) {
|
|
144
|
+
var h = this, n = [0], g = [], E = [null], r = [], Z = this.table, c = "", U = 0, X = 0, ut = 2, tt = 1, Tt = r.slice.call(arguments, 1), D = Object.create(this.lexer), j = { yy: {} };
|
|
145
|
+
for (var Et in this.yy)
|
|
146
|
+
Object.prototype.hasOwnProperty.call(this.yy, Et) && (j.yy[Et] = this.yy[Et]);
|
|
147
|
+
D.setInput(o, j.yy), j.yy.lexer = D, j.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
|
|
148
|
+
var _t = D.yylloc;
|
|
149
|
+
r.push(_t);
|
|
150
|
+
var Qt = D.options && D.options.ranges;
|
|
151
|
+
typeof j.yy.parseError == "function" ? this.parseError = j.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
152
|
+
function Zt(O) {
|
|
153
|
+
n.length = n.length - 2 * O, E.length = E.length - O, r.length = r.length - O;
|
|
154
|
+
}
|
|
155
|
+
f(Zt, "popStack");
|
|
156
|
+
function Lt() {
|
|
157
|
+
var O;
|
|
158
|
+
return O = g.pop() || D.lex() || tt, typeof O != "number" && (O instanceof Array && (g = O, O = g.pop()), O = h.symbols_[O] || O), O;
|
|
159
|
+
}
|
|
160
|
+
f(Lt, "lex");
|
|
161
|
+
for (var C, H, w, mt, J = {}, dt, Y, Ot, ft; ; ) {
|
|
162
|
+
if (H = n[n.length - 1], this.defaultActions[H] ? w = this.defaultActions[H] : ((C === null || typeof C > "u") && (C = Lt()), w = Z[H] && Z[H][C]), typeof w > "u" || !w.length || !w[0]) {
|
|
163
|
+
var bt = "";
|
|
164
|
+
ft = [];
|
|
165
|
+
for (dt in Z[H])
|
|
166
|
+
this.terminals_[dt] && dt > ut && ft.push("'" + this.terminals_[dt] + "'");
|
|
167
|
+
D.showPosition ? bt = "Parse error on line " + (U + 1) + `:
|
|
168
|
+
` + D.showPosition() + `
|
|
169
|
+
Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : bt = "Parse error on line " + (U + 1) + ": Unexpected " + (C == tt ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(bt, {
|
|
170
|
+
text: D.match,
|
|
171
|
+
token: this.terminals_[C] || C,
|
|
172
|
+
line: D.yylineno,
|
|
173
|
+
loc: _t,
|
|
174
|
+
expected: ft
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
if (w[0] instanceof Array && w.length > 1)
|
|
178
|
+
throw new Error("Parse Error: multiple actions possible at state: " + H + ", token: " + C);
|
|
179
|
+
switch (w[0]) {
|
|
180
|
+
case 1:
|
|
181
|
+
n.push(C), E.push(D.yytext), r.push(D.yylloc), n.push(w[1]), C = null, X = D.yyleng, c = D.yytext, U = D.yylineno, _t = D.yylloc;
|
|
182
|
+
break;
|
|
183
|
+
case 2:
|
|
184
|
+
if (Y = this.productions_[w[1]][1], J.$ = E[E.length - Y], J._$ = {
|
|
185
|
+
first_line: r[r.length - (Y || 1)].first_line,
|
|
186
|
+
last_line: r[r.length - 1].last_line,
|
|
187
|
+
first_column: r[r.length - (Y || 1)].first_column,
|
|
188
|
+
last_column: r[r.length - 1].last_column
|
|
189
|
+
}, Qt && (J._$.range = [
|
|
190
|
+
r[r.length - (Y || 1)].range[0],
|
|
191
|
+
r[r.length - 1].range[1]
|
|
192
|
+
]), mt = this.performAction.apply(J, [
|
|
193
|
+
c,
|
|
194
|
+
X,
|
|
195
|
+
U,
|
|
196
|
+
j.yy,
|
|
197
|
+
w[1],
|
|
198
|
+
E,
|
|
199
|
+
r
|
|
200
|
+
].concat(Tt)), typeof mt < "u")
|
|
201
|
+
return mt;
|
|
202
|
+
Y && (n = n.slice(0, -1 * Y * 2), E = E.slice(0, -1 * Y), r = r.slice(0, -1 * Y)), n.push(this.productions_[w[1]][0]), E.push(J.$), r.push(J._$), Ot = Z[n[n.length - 2]][n[n.length - 1]], n.push(Ot);
|
|
203
|
+
break;
|
|
204
|
+
case 3:
|
|
205
|
+
return !0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return !0;
|
|
209
|
+
}, "parse")
|
|
210
|
+
}, qt = /* @__PURE__ */ function() {
|
|
211
|
+
var V = {
|
|
212
|
+
EOF: 1,
|
|
213
|
+
parseError: /* @__PURE__ */ f(function(h, n) {
|
|
214
|
+
if (this.yy.parser)
|
|
215
|
+
this.yy.parser.parseError(h, n);
|
|
216
|
+
else
|
|
217
|
+
throw new Error(h);
|
|
218
|
+
}, "parseError"),
|
|
219
|
+
// resets the lexer, sets new input
|
|
220
|
+
setInput: /* @__PURE__ */ f(function(o, h) {
|
|
221
|
+
return this.yy = h || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
222
|
+
first_line: 1,
|
|
223
|
+
first_column: 0,
|
|
224
|
+
last_line: 1,
|
|
225
|
+
last_column: 0
|
|
226
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
227
|
+
}, "setInput"),
|
|
228
|
+
// consumes and returns one char from the input
|
|
229
|
+
input: /* @__PURE__ */ f(function() {
|
|
230
|
+
var o = this._input[0];
|
|
231
|
+
this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o;
|
|
232
|
+
var h = o.match(/(?:\r\n?|\n).*/g);
|
|
233
|
+
return h ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
|
|
234
|
+
}, "input"),
|
|
235
|
+
// unshifts one char (or a string) into the input
|
|
236
|
+
unput: /* @__PURE__ */ f(function(o) {
|
|
237
|
+
var h = o.length, n = o.split(/(?:\r\n?|\n)/g);
|
|
238
|
+
this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - h), this.offset -= h;
|
|
239
|
+
var g = this.match.split(/(?:\r\n?|\n)/g);
|
|
240
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
|
|
241
|
+
var E = this.yylloc.range;
|
|
242
|
+
return this.yylloc = {
|
|
243
|
+
first_line: this.yylloc.first_line,
|
|
244
|
+
last_line: this.yylineno + 1,
|
|
245
|
+
first_column: this.yylloc.first_column,
|
|
246
|
+
last_column: n ? (n.length === g.length ? this.yylloc.first_column : 0) + g[g.length - n.length].length - n[0].length : this.yylloc.first_column - h
|
|
247
|
+
}, this.options.ranges && (this.yylloc.range = [E[0], E[0] + this.yyleng - h]), this.yyleng = this.yytext.length, this;
|
|
248
|
+
}, "unput"),
|
|
249
|
+
// When called from action, caches matched text and appends it on next action
|
|
250
|
+
more: /* @__PURE__ */ f(function() {
|
|
251
|
+
return this._more = !0, this;
|
|
252
|
+
}, "more"),
|
|
253
|
+
// 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.
|
|
254
|
+
reject: /* @__PURE__ */ f(function() {
|
|
255
|
+
if (this.options.backtrack_lexer)
|
|
256
|
+
this._backtrack = !0;
|
|
257
|
+
else
|
|
258
|
+
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).
|
|
259
|
+
` + this.showPosition(), {
|
|
260
|
+
text: "",
|
|
261
|
+
token: null,
|
|
262
|
+
line: this.yylineno
|
|
263
|
+
});
|
|
264
|
+
return this;
|
|
265
|
+
}, "reject"),
|
|
266
|
+
// retain first n characters of the match
|
|
267
|
+
less: /* @__PURE__ */ f(function(o) {
|
|
268
|
+
this.unput(this.match.slice(o));
|
|
269
|
+
}, "less"),
|
|
270
|
+
// displays already matched input, i.e. for error messages
|
|
271
|
+
pastInput: /* @__PURE__ */ f(function() {
|
|
272
|
+
var o = this.matched.substr(0, this.matched.length - this.match.length);
|
|
273
|
+
return (o.length > 20 ? "..." : "") + o.substr(-20).replace(/\n/g, "");
|
|
274
|
+
}, "pastInput"),
|
|
275
|
+
// displays upcoming input, i.e. for error messages
|
|
276
|
+
upcomingInput: /* @__PURE__ */ f(function() {
|
|
277
|
+
var o = this.match;
|
|
278
|
+
return o.length < 20 && (o += this._input.substr(0, 20 - o.length)), (o.substr(0, 20) + (o.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
279
|
+
}, "upcomingInput"),
|
|
280
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
281
|
+
showPosition: /* @__PURE__ */ f(function() {
|
|
282
|
+
var o = this.pastInput(), h = new Array(o.length + 1).join("-");
|
|
283
|
+
return o + this.upcomingInput() + `
|
|
284
|
+
` + h + "^";
|
|
285
|
+
}, "showPosition"),
|
|
286
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
287
|
+
test_match: /* @__PURE__ */ f(function(o, h) {
|
|
288
|
+
var n, g, E;
|
|
289
|
+
if (this.options.backtrack_lexer && (E = {
|
|
290
|
+
yylineno: this.yylineno,
|
|
291
|
+
yylloc: {
|
|
292
|
+
first_line: this.yylloc.first_line,
|
|
293
|
+
last_line: this.last_line,
|
|
294
|
+
first_column: this.yylloc.first_column,
|
|
295
|
+
last_column: this.yylloc.last_column
|
|
296
|
+
},
|
|
297
|
+
yytext: this.yytext,
|
|
298
|
+
match: this.match,
|
|
299
|
+
matches: this.matches,
|
|
300
|
+
matched: this.matched,
|
|
301
|
+
yyleng: this.yyleng,
|
|
302
|
+
offset: this.offset,
|
|
303
|
+
_more: this._more,
|
|
304
|
+
_input: this._input,
|
|
305
|
+
yy: this.yy,
|
|
306
|
+
conditionStack: this.conditionStack.slice(0),
|
|
307
|
+
done: this.done
|
|
308
|
+
}, this.options.ranges && (E.yylloc.range = this.yylloc.range.slice(0))), g = o[0].match(/(?:\r\n?|\n).*/g), g && (this.yylineno += g.length), this.yylloc = {
|
|
309
|
+
first_line: this.yylloc.last_line,
|
|
310
|
+
last_line: this.yylineno + 1,
|
|
311
|
+
first_column: this.yylloc.last_column,
|
|
312
|
+
last_column: g ? g[g.length - 1].length - g[g.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
|
|
313
|
+
}, this.yytext += o[0], this.match += o[0], this.matches = o, 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(o[0].length), this.matched += o[0], n = this.performAction.call(this, this.yy, this, h, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n)
|
|
314
|
+
return n;
|
|
315
|
+
if (this._backtrack) {
|
|
316
|
+
for (var r in E)
|
|
317
|
+
this[r] = E[r];
|
|
318
|
+
return !1;
|
|
319
|
+
}
|
|
320
|
+
return !1;
|
|
321
|
+
}, "test_match"),
|
|
322
|
+
// return next match in input
|
|
323
|
+
next: /* @__PURE__ */ f(function() {
|
|
324
|
+
if (this.done)
|
|
325
|
+
return this.EOF;
|
|
326
|
+
this._input || (this.done = !0);
|
|
327
|
+
var o, h, n, g;
|
|
328
|
+
this._more || (this.yytext = "", this.match = "");
|
|
329
|
+
for (var E = this._currentRules(), r = 0; r < E.length; r++)
|
|
330
|
+
if (n = this._input.match(this.rules[E[r]]), n && (!h || n[0].length > h[0].length)) {
|
|
331
|
+
if (h = n, g = r, this.options.backtrack_lexer) {
|
|
332
|
+
if (o = this.test_match(n, E[r]), o !== !1)
|
|
333
|
+
return o;
|
|
334
|
+
if (this._backtrack) {
|
|
335
|
+
h = !1;
|
|
336
|
+
continue;
|
|
337
|
+
} else
|
|
338
|
+
return !1;
|
|
339
|
+
} else if (!this.options.flex)
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
return h ? (o = this.test_match(h, E[g]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
343
|
+
` + this.showPosition(), {
|
|
344
|
+
text: "",
|
|
345
|
+
token: null,
|
|
346
|
+
line: this.yylineno
|
|
347
|
+
});
|
|
348
|
+
}, "next"),
|
|
349
|
+
// return next match that has a token
|
|
350
|
+
lex: /* @__PURE__ */ f(function() {
|
|
351
|
+
var h = this.next();
|
|
352
|
+
return h || this.lex();
|
|
353
|
+
}, "lex"),
|
|
354
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
355
|
+
begin: /* @__PURE__ */ f(function(h) {
|
|
356
|
+
this.conditionStack.push(h);
|
|
357
|
+
}, "begin"),
|
|
358
|
+
// pop the previously active lexer condition state off the condition stack
|
|
359
|
+
popState: /* @__PURE__ */ f(function() {
|
|
360
|
+
var h = this.conditionStack.length - 1;
|
|
361
|
+
return h > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
362
|
+
}, "popState"),
|
|
363
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
364
|
+
_currentRules: /* @__PURE__ */ f(function() {
|
|
365
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
366
|
+
}, "_currentRules"),
|
|
367
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
368
|
+
topState: /* @__PURE__ */ f(function(h) {
|
|
369
|
+
return h = this.conditionStack.length - 1 - Math.abs(h || 0), h >= 0 ? this.conditionStack[h] : "INITIAL";
|
|
370
|
+
}, "topState"),
|
|
371
|
+
// alias for begin(condition)
|
|
372
|
+
pushState: /* @__PURE__ */ f(function(h) {
|
|
373
|
+
this.begin(h);
|
|
374
|
+
}, "pushState"),
|
|
375
|
+
// return the number of states currently on the stack
|
|
376
|
+
stateStackSize: /* @__PURE__ */ f(function() {
|
|
377
|
+
return this.conditionStack.length;
|
|
378
|
+
}, "stateStackSize"),
|
|
379
|
+
options: { "case-insensitive": !0 },
|
|
380
|
+
performAction: /* @__PURE__ */ f(function(h, n, g, E) {
|
|
381
|
+
switch (g) {
|
|
382
|
+
case 0:
|
|
383
|
+
return 38;
|
|
384
|
+
case 1:
|
|
385
|
+
return 40;
|
|
386
|
+
case 2:
|
|
387
|
+
return 39;
|
|
388
|
+
case 3:
|
|
389
|
+
return 44;
|
|
390
|
+
case 4:
|
|
391
|
+
return 51;
|
|
392
|
+
case 5:
|
|
393
|
+
return 52;
|
|
394
|
+
case 6:
|
|
395
|
+
return 53;
|
|
396
|
+
case 7:
|
|
397
|
+
return 54;
|
|
398
|
+
case 8:
|
|
399
|
+
break;
|
|
400
|
+
case 9:
|
|
401
|
+
break;
|
|
402
|
+
case 10:
|
|
403
|
+
return 5;
|
|
404
|
+
case 11:
|
|
405
|
+
break;
|
|
406
|
+
case 12:
|
|
407
|
+
break;
|
|
408
|
+
case 13:
|
|
409
|
+
break;
|
|
410
|
+
case 14:
|
|
411
|
+
break;
|
|
412
|
+
case 15:
|
|
413
|
+
return this.pushState("SCALE"), 17;
|
|
414
|
+
case 16:
|
|
415
|
+
return 18;
|
|
416
|
+
case 17:
|
|
417
|
+
this.popState();
|
|
418
|
+
break;
|
|
419
|
+
case 18:
|
|
420
|
+
return this.begin("acc_title"), 33;
|
|
421
|
+
case 19:
|
|
422
|
+
return this.popState(), "acc_title_value";
|
|
423
|
+
case 20:
|
|
424
|
+
return this.begin("acc_descr"), 35;
|
|
425
|
+
case 21:
|
|
426
|
+
return this.popState(), "acc_descr_value";
|
|
427
|
+
case 22:
|
|
428
|
+
this.begin("acc_descr_multiline");
|
|
429
|
+
break;
|
|
430
|
+
case 23:
|
|
431
|
+
this.popState();
|
|
432
|
+
break;
|
|
433
|
+
case 24:
|
|
434
|
+
return "acc_descr_multiline_value";
|
|
435
|
+
case 25:
|
|
436
|
+
return this.pushState("CLASSDEF"), 41;
|
|
437
|
+
case 26:
|
|
438
|
+
return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
|
|
439
|
+
case 27:
|
|
440
|
+
return this.popState(), this.pushState("CLASSDEFID"), 42;
|
|
441
|
+
case 28:
|
|
442
|
+
return this.popState(), 43;
|
|
443
|
+
case 29:
|
|
444
|
+
return this.pushState("CLASS"), 48;
|
|
445
|
+
case 30:
|
|
446
|
+
return this.popState(), this.pushState("CLASS_STYLE"), 49;
|
|
447
|
+
case 31:
|
|
448
|
+
return this.popState(), 50;
|
|
449
|
+
case 32:
|
|
450
|
+
return this.pushState("STYLE"), 45;
|
|
451
|
+
case 33:
|
|
452
|
+
return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
|
|
453
|
+
case 34:
|
|
454
|
+
return this.popState(), 47;
|
|
455
|
+
case 35:
|
|
456
|
+
return this.pushState("SCALE"), 17;
|
|
457
|
+
case 36:
|
|
458
|
+
return 18;
|
|
459
|
+
case 37:
|
|
460
|
+
this.popState();
|
|
461
|
+
break;
|
|
462
|
+
case 38:
|
|
463
|
+
this.pushState("STATE");
|
|
464
|
+
break;
|
|
465
|
+
case 39:
|
|
466
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 25;
|
|
467
|
+
case 40:
|
|
468
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 26;
|
|
469
|
+
case 41:
|
|
470
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -10).trim(), 27;
|
|
471
|
+
case 42:
|
|
472
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 25;
|
|
473
|
+
case 43:
|
|
474
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 26;
|
|
475
|
+
case 44:
|
|
476
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -10).trim(), 27;
|
|
477
|
+
case 45:
|
|
478
|
+
return 51;
|
|
479
|
+
case 46:
|
|
480
|
+
return 52;
|
|
481
|
+
case 47:
|
|
482
|
+
return 53;
|
|
483
|
+
case 48:
|
|
484
|
+
return 54;
|
|
485
|
+
case 49:
|
|
486
|
+
this.pushState("STATE_STRING");
|
|
487
|
+
break;
|
|
488
|
+
case 50:
|
|
489
|
+
return this.pushState("STATE_ID"), "AS";
|
|
490
|
+
case 51:
|
|
491
|
+
return this.popState(), "ID";
|
|
492
|
+
case 52:
|
|
493
|
+
this.popState();
|
|
494
|
+
break;
|
|
495
|
+
case 53:
|
|
496
|
+
return "STATE_DESCR";
|
|
497
|
+
case 54:
|
|
498
|
+
return 19;
|
|
499
|
+
case 55:
|
|
500
|
+
this.popState();
|
|
501
|
+
break;
|
|
502
|
+
case 56:
|
|
503
|
+
return this.popState(), this.pushState("struct"), 20;
|
|
504
|
+
case 57:
|
|
505
|
+
break;
|
|
506
|
+
case 58:
|
|
507
|
+
return this.popState(), 21;
|
|
508
|
+
case 59:
|
|
509
|
+
break;
|
|
510
|
+
case 60:
|
|
511
|
+
return this.begin("NOTE"), 29;
|
|
512
|
+
case 61:
|
|
513
|
+
return this.popState(), this.pushState("NOTE_ID"), 59;
|
|
514
|
+
case 62:
|
|
515
|
+
return this.popState(), this.pushState("NOTE_ID"), 60;
|
|
516
|
+
case 63:
|
|
517
|
+
this.popState(), this.pushState("FLOATING_NOTE");
|
|
518
|
+
break;
|
|
519
|
+
case 64:
|
|
520
|
+
return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
|
|
521
|
+
case 65:
|
|
522
|
+
break;
|
|
523
|
+
case 66:
|
|
524
|
+
return "NOTE_TEXT";
|
|
525
|
+
case 67:
|
|
526
|
+
return this.popState(), "ID";
|
|
527
|
+
case 68:
|
|
528
|
+
return this.popState(), this.pushState("NOTE_TEXT"), 24;
|
|
529
|
+
case 69:
|
|
530
|
+
return this.popState(), n.yytext = n.yytext.substr(2).trim(), 31;
|
|
531
|
+
case 70:
|
|
532
|
+
return this.popState(), n.yytext = n.yytext.slice(0, -8).trim(), 31;
|
|
533
|
+
case 71:
|
|
534
|
+
return 6;
|
|
535
|
+
case 72:
|
|
536
|
+
return 6;
|
|
537
|
+
case 73:
|
|
538
|
+
return 16;
|
|
539
|
+
case 74:
|
|
540
|
+
return 57;
|
|
541
|
+
case 75:
|
|
542
|
+
return 24;
|
|
543
|
+
case 76:
|
|
544
|
+
return n.yytext = n.yytext.trim(), 14;
|
|
545
|
+
case 77:
|
|
546
|
+
return 15;
|
|
547
|
+
case 78:
|
|
548
|
+
return 28;
|
|
549
|
+
case 79:
|
|
550
|
+
return 58;
|
|
551
|
+
case 80:
|
|
552
|
+
return 5;
|
|
553
|
+
case 81:
|
|
554
|
+
return "INVALID";
|
|
555
|
+
}
|
|
556
|
+
}, "anonymous"),
|
|
557
|
+
rules: [/^(?:click\b)/i, /^(?:href\b)/i, /^(?:"[^"]*")/i, /^(?:default\b)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:classDef\s+)/i, /^(?:DEFAULT\s+)/i, /^(?:\w+\s+)/i, /^(?:[^\n]*)/i, /^(?:class\s+)/i, /^(?:(\w+)+((,\s*\w+)*))/i, /^(?:[^\n]*)/i, /^(?:style\s+)/i, /^(?:[\w,]+\s+)/i, /^(?:[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:state\s+)/i, /^(?:.*<<fork>>)/i, /^(?:.*<<join>>)/i, /^(?:.*<<choice>>)/i, /^(?:.*\[\[fork\]\])/i, /^(?:.*\[\[join\]\])/i, /^(?:.*\[\[choice\]\])/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:["])/i, /^(?:\s*as\s+)/i, /^(?:[^\n\{]*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n\s\{]+)/i, /^(?:\n)/i, /^(?:\{)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:\})/i, /^(?:[\n])/i, /^(?:note\s+)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:")/i, /^(?:\s*as\s*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n]*)/i, /^(?:\s*[^:\n\s\-]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:[\s\S]*?end note\b)/i, /^(?:stateDiagram\s+)/i, /^(?:stateDiagram-v2\s+)/i, /^(?:hide empty description\b)/i, /^(?:\[\*\])/i, /^(?:[^:\n\s\-\{]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:-->)/i, /^(?:--)/i, /^(?::::)/i, /^(?:$)/i, /^(?:.)/i],
|
|
558
|
+
conditions: { LINE: { rules: [12, 13], inclusive: !1 }, struct: { rules: [12, 13, 25, 29, 32, 38, 45, 46, 47, 48, 57, 58, 59, 60, 74, 75, 76, 77, 78], inclusive: !1 }, FLOATING_NOTE_ID: { rules: [67], inclusive: !1 }, FLOATING_NOTE: { rules: [64, 65, 66], inclusive: !1 }, NOTE_TEXT: { rules: [69, 70], inclusive: !1 }, NOTE_ID: { rules: [68], inclusive: !1 }, NOTE: { rules: [61, 62, 63], inclusive: !1 }, STYLEDEF_STYLEOPTS: { rules: [], inclusive: !1 }, STYLEDEF_STYLES: { rules: [34], inclusive: !1 }, STYLE_IDS: { rules: [], inclusive: !1 }, STYLE: { rules: [33], inclusive: !1 }, CLASS_STYLE: { rules: [31], inclusive: !1 }, CLASS: { rules: [30], inclusive: !1 }, CLASSDEFID: { rules: [28], inclusive: !1 }, CLASSDEF: { rules: [26, 27], inclusive: !1 }, acc_descr_multiline: { rules: [23, 24], inclusive: !1 }, acc_descr: { rules: [21], inclusive: !1 }, acc_title: { rules: [19], inclusive: !1 }, SCALE: { rules: [16, 17, 36, 37], inclusive: !1 }, ALIAS: { rules: [], inclusive: !1 }, STATE_ID: { rules: [51], inclusive: !1 }, STATE_STRING: { rules: [52, 53], inclusive: !1 }, FORK_STATE: { rules: [], inclusive: !1 }, STATE: { rules: [12, 13, 39, 40, 41, 42, 43, 44, 49, 50, 54, 55, 56], inclusive: !1 }, ID: { rules: [12, 13], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 18, 20, 22, 25, 29, 32, 35, 38, 56, 60, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81], inclusive: !0 } }
|
|
559
|
+
};
|
|
560
|
+
return V;
|
|
561
|
+
}();
|
|
562
|
+
gt.lexer = qt;
|
|
563
|
+
function ht() {
|
|
564
|
+
this.yy = {};
|
|
565
|
+
}
|
|
566
|
+
return f(ht, "Parser"), ht.prototype = gt, gt.Parser = ht, new ht();
|
|
567
|
+
}();
|
|
568
|
+
vt.parser = vt;
|
|
569
|
+
var Be = vt, de = "TB", Yt = "TB", Rt = "dir", Q = "state", q = "root", Ct = "relation", fe = "classDef", pe = "style", Se = "applyClass", it = "default", Gt = "divider", Bt = "fill:none", Vt = "fill: #333", Mt = "c", Ut = "text", jt = "normal", Dt = "rect", kt = "rectWithTitle", ye = "stateStart", ge = "stateEnd", It = "divider", Nt = "roundedWithTitle", Te = "note", Ee = "noteGroup", rt = "statediagram", _e = "state", me = `${rt}-${_e}`, Ht = "transition", be = "note", De = "note-edge", ke = `${Ht} ${De}`, ve = `${rt}-${be}`, Ce = "cluster", Ae = `${rt}-${Ce}`, xe = "cluster-alt", Le = `${rt}-${xe}`, Wt = "parent", zt = "note", Oe = "state", At = "----", Re = `${At}${zt}`, wt = `${At}${Wt}`, Kt = /* @__PURE__ */ f((e, t = Yt) => {
|
|
570
|
+
if (!e.doc)
|
|
571
|
+
return t;
|
|
572
|
+
let s = t;
|
|
573
|
+
for (const a of e.doc)
|
|
574
|
+
a.stmt === "dir" && (s = a.value);
|
|
575
|
+
return s;
|
|
576
|
+
}, "getDir"), Ie = /* @__PURE__ */ f(function(e, t) {
|
|
577
|
+
return t.db.getClasses();
|
|
578
|
+
}, "getClasses"), Ne = /* @__PURE__ */ f(async function(e, t, s, a) {
|
|
579
|
+
b.info("REF0:"), b.info("Drawing state diagram (v2)", t);
|
|
580
|
+
const { securityLevel: i, state: l, layout: d } = F();
|
|
581
|
+
a.db.extract(a.db.getRootDocV2());
|
|
582
|
+
const S = a.db.getData(), p = te(t, i);
|
|
583
|
+
S.type = a.type, S.layoutAlgorithm = d, S.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 50, S.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 50, S.markers = ["barb"], S.diagramId = t, await he(S, p);
|
|
584
|
+
const T = 8;
|
|
585
|
+
try {
|
|
586
|
+
(typeof a.db.getLinks == "function" ? a.db.getLinks() : /* @__PURE__ */ new Map()).forEach((m, k) => {
|
|
587
|
+
var I;
|
|
588
|
+
const A = typeof k == "string" ? k : typeof (k == null ? void 0 : k.id) == "string" ? k.id : "";
|
|
589
|
+
if (!A) {
|
|
590
|
+
b.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(k));
|
|
591
|
+
return;
|
|
592
|
+
}
|
|
593
|
+
const $ = (I = p.node()) == null ? void 0 : I.querySelectorAll("g");
|
|
594
|
+
let x;
|
|
595
|
+
if ($ == null || $.forEach((N) => {
|
|
596
|
+
var P;
|
|
597
|
+
((P = N.textContent) == null ? void 0 : P.trim()) === A && (x = N);
|
|
598
|
+
}), !x) {
|
|
599
|
+
b.warn("⚠️ Could not find node matching text:", A);
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
const R = x.parentNode;
|
|
603
|
+
if (!R) {
|
|
604
|
+
b.warn("⚠️ Node has no parent, cannot wrap:", A);
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
const u = document.createElementNS("http://www.w3.org/2000/svg", "a"), L = m.url.replace(/^"+|"+$/g, "");
|
|
608
|
+
if (u.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", L), u.setAttribute("target", "_blank"), m.tooltip) {
|
|
609
|
+
const N = m.tooltip.replace(/^"+|"+$/g, "");
|
|
610
|
+
u.setAttribute("title", N);
|
|
611
|
+
}
|
|
612
|
+
R.replaceChild(u, x), u.appendChild(x), b.info("🔗 Wrapped node in <a> tag for:", A, m.url);
|
|
613
|
+
});
|
|
614
|
+
} catch (_) {
|
|
615
|
+
b.error("❌ Error injecting clickable links:", _);
|
|
616
|
+
}
|
|
617
|
+
ue.insertTitle(
|
|
618
|
+
p,
|
|
619
|
+
"statediagramTitleText",
|
|
620
|
+
(l == null ? void 0 : l.titleTopMargin) ?? 25,
|
|
621
|
+
a.db.getDiagramTitle()
|
|
622
|
+
), ee(p, T, rt, (l == null ? void 0 : l.useMaxWidth) ?? !0);
|
|
623
|
+
}, "draw"), Ve = {
|
|
624
|
+
getClasses: Ie,
|
|
625
|
+
draw: Ne,
|
|
626
|
+
getDir: Kt
|
|
627
|
+
}, St = /* @__PURE__ */ new Map(), M = 0;
|
|
628
|
+
function yt(e = "", t = 0, s = "", a = At) {
|
|
629
|
+
const i = s !== null && s.length > 0 ? `${a}${s}` : "";
|
|
630
|
+
return `${Oe}-${e}${i}-${t}`;
|
|
631
|
+
}
|
|
632
|
+
f(yt, "stateDomId");
|
|
633
|
+
var we = /* @__PURE__ */ f((e, t, s, a, i, l, d, S) => {
|
|
634
|
+
b.trace("items", t), t.forEach((p) => {
|
|
635
|
+
switch (p.stmt) {
|
|
636
|
+
case Q:
|
|
637
|
+
st(e, p, s, a, i, l, d, S);
|
|
638
|
+
break;
|
|
639
|
+
case it:
|
|
640
|
+
st(e, p, s, a, i, l, d, S);
|
|
641
|
+
break;
|
|
642
|
+
case Ct:
|
|
643
|
+
{
|
|
644
|
+
st(
|
|
645
|
+
e,
|
|
646
|
+
p.state1,
|
|
647
|
+
s,
|
|
648
|
+
a,
|
|
649
|
+
i,
|
|
650
|
+
l,
|
|
651
|
+
d,
|
|
652
|
+
S
|
|
653
|
+
), st(
|
|
654
|
+
e,
|
|
655
|
+
p.state2,
|
|
656
|
+
s,
|
|
657
|
+
a,
|
|
658
|
+
i,
|
|
659
|
+
l,
|
|
660
|
+
d,
|
|
661
|
+
S
|
|
662
|
+
);
|
|
663
|
+
const T = {
|
|
664
|
+
id: "edge" + M,
|
|
665
|
+
start: p.state1.id,
|
|
666
|
+
end: p.state2.id,
|
|
667
|
+
arrowhead: "normal",
|
|
668
|
+
arrowTypeEnd: "arrow_barb",
|
|
669
|
+
style: Bt,
|
|
670
|
+
labelStyle: "",
|
|
671
|
+
label: W.sanitizeText(p.description ?? "", F()),
|
|
672
|
+
arrowheadStyle: Vt,
|
|
673
|
+
labelpos: Mt,
|
|
674
|
+
labelType: Ut,
|
|
675
|
+
thickness: jt,
|
|
676
|
+
classes: Ht,
|
|
677
|
+
look: d
|
|
678
|
+
};
|
|
679
|
+
i.push(T), M++;
|
|
680
|
+
}
|
|
681
|
+
break;
|
|
682
|
+
}
|
|
683
|
+
});
|
|
684
|
+
}, "setupDoc"), $t = /* @__PURE__ */ f((e, t = Yt) => {
|
|
685
|
+
let s = t;
|
|
686
|
+
if (e.doc)
|
|
687
|
+
for (const a of e.doc)
|
|
688
|
+
a.stmt === "dir" && (s = a.value);
|
|
689
|
+
return s;
|
|
690
|
+
}, "getDir");
|
|
691
|
+
function et(e, t, s) {
|
|
692
|
+
if (!t.id || t.id === "</join></fork>" || t.id === "</choice>")
|
|
693
|
+
return;
|
|
694
|
+
t.cssClasses && (Array.isArray(t.cssCompiledStyles) || (t.cssCompiledStyles = []), t.cssClasses.split(" ").forEach((i) => {
|
|
695
|
+
const l = s.get(i);
|
|
696
|
+
l && (t.cssCompiledStyles = [...t.cssCompiledStyles ?? [], ...l.styles]);
|
|
697
|
+
}));
|
|
698
|
+
const a = e.find((i) => i.id === t.id);
|
|
699
|
+
a ? Object.assign(a, t) : e.push(t);
|
|
700
|
+
}
|
|
701
|
+
f(et, "insertOrUpdateNode");
|
|
702
|
+
function Xt(e) {
|
|
703
|
+
var t;
|
|
704
|
+
return ((t = e == null ? void 0 : e.classes) == null ? void 0 : t.join(" ")) ?? "";
|
|
705
|
+
}
|
|
706
|
+
f(Xt, "getClassesFromDbInfo");
|
|
707
|
+
function Jt(e) {
|
|
708
|
+
return (e == null ? void 0 : e.styles) ?? [];
|
|
709
|
+
}
|
|
710
|
+
f(Jt, "getStylesFromDbInfo");
|
|
711
|
+
var st = /* @__PURE__ */ f((e, t, s, a, i, l, d, S) => {
|
|
712
|
+
var A, $, x;
|
|
713
|
+
const p = t.id, T = s.get(p), _ = Xt(T), m = Jt(T), k = F();
|
|
714
|
+
if (b.info("dataFetcher parsedItem", t, T, m), p !== "root") {
|
|
715
|
+
let R = Dt;
|
|
716
|
+
t.start === !0 ? R = ye : t.start === !1 && (R = ge), t.type !== it && (R = t.type), St.get(p) || St.set(p, {
|
|
717
|
+
id: p,
|
|
718
|
+
shape: R,
|
|
719
|
+
description: W.sanitizeText(p, k),
|
|
720
|
+
cssClasses: `${_} ${me}`,
|
|
721
|
+
cssStyles: m
|
|
722
|
+
});
|
|
723
|
+
const u = St.get(p);
|
|
724
|
+
t.description && (Array.isArray(u.description) ? (u.shape = kt, u.description.push(t.description)) : (A = u.description) != null && A.length && u.description.length > 0 ? (u.shape = kt, u.description === p ? u.description = [t.description] : u.description = [u.description, t.description]) : (u.shape = Dt, u.description = t.description), u.description = W.sanitizeTextOrArray(u.description, k)), (($ = u.description) == null ? void 0 : $.length) === 1 && u.shape === kt && (u.type === "group" ? u.shape = Nt : u.shape = Dt), !u.type && t.doc && (b.info("Setting cluster for XCX", p, $t(t)), u.type = "group", u.isGroup = !0, u.dir = $t(t), u.shape = t.type === Gt ? It : Nt, u.cssClasses = `${u.cssClasses} ${Ae} ${l ? Le : ""}`);
|
|
725
|
+
const L = {
|
|
726
|
+
labelStyle: "",
|
|
727
|
+
shape: u.shape,
|
|
728
|
+
label: u.description,
|
|
729
|
+
cssClasses: u.cssClasses,
|
|
730
|
+
cssCompiledStyles: [],
|
|
731
|
+
cssStyles: u.cssStyles,
|
|
732
|
+
id: p,
|
|
733
|
+
dir: u.dir,
|
|
734
|
+
domId: yt(p, M),
|
|
735
|
+
type: u.type,
|
|
736
|
+
isGroup: u.type === "group",
|
|
737
|
+
padding: 8,
|
|
738
|
+
rx: 10,
|
|
739
|
+
ry: 10,
|
|
740
|
+
look: d
|
|
741
|
+
};
|
|
742
|
+
if (L.shape === It && (L.label = ""), e && e.id !== "root" && (b.trace("Setting node ", p, " to be child of its parent ", e.id), L.parentId = e.id), L.centerLabel = !0, t.note) {
|
|
743
|
+
const I = {
|
|
744
|
+
labelStyle: "",
|
|
745
|
+
shape: Te,
|
|
746
|
+
label: t.note.text,
|
|
747
|
+
cssClasses: ve,
|
|
748
|
+
// useHtmlLabels: false,
|
|
749
|
+
cssStyles: [],
|
|
750
|
+
cssCompiledStyles: [],
|
|
751
|
+
id: p + Re + "-" + M,
|
|
752
|
+
domId: yt(p, M, zt),
|
|
753
|
+
type: u.type,
|
|
754
|
+
isGroup: u.type === "group",
|
|
755
|
+
padding: (x = k.flowchart) == null ? void 0 : x.padding,
|
|
756
|
+
look: d,
|
|
757
|
+
position: t.note.position
|
|
758
|
+
}, N = p + wt, G = {
|
|
759
|
+
labelStyle: "",
|
|
760
|
+
shape: Ee,
|
|
761
|
+
label: t.note.text,
|
|
762
|
+
cssClasses: u.cssClasses,
|
|
763
|
+
cssStyles: [],
|
|
764
|
+
id: p + wt,
|
|
765
|
+
domId: yt(p, M, Wt),
|
|
766
|
+
type: "group",
|
|
767
|
+
isGroup: !0,
|
|
768
|
+
padding: 16,
|
|
769
|
+
//getConfig().flowchart.padding
|
|
770
|
+
look: d,
|
|
771
|
+
position: t.note.position
|
|
772
|
+
};
|
|
773
|
+
M++, G.id = N, I.parentId = N, et(a, G, S), et(a, I, S), et(a, L, S);
|
|
774
|
+
let P = p, B = I.id;
|
|
775
|
+
t.note.position === "left of" && (P = I.id, B = p), i.push({
|
|
776
|
+
id: P + "-" + B,
|
|
777
|
+
start: P,
|
|
778
|
+
end: B,
|
|
779
|
+
arrowhead: "none",
|
|
780
|
+
arrowTypeEnd: "",
|
|
781
|
+
style: Bt,
|
|
782
|
+
labelStyle: "",
|
|
783
|
+
classes: ke,
|
|
784
|
+
arrowheadStyle: Vt,
|
|
785
|
+
labelpos: Mt,
|
|
786
|
+
labelType: Ut,
|
|
787
|
+
thickness: jt,
|
|
788
|
+
look: d
|
|
789
|
+
});
|
|
790
|
+
} else
|
|
791
|
+
et(a, L, S);
|
|
792
|
+
}
|
|
793
|
+
t.doc && (b.trace("Adding nodes children "), we(t, t.doc, s, a, i, !l, d, S));
|
|
794
|
+
}, "dataFetcher"), $e = /* @__PURE__ */ f(() => {
|
|
795
|
+
St.clear(), M = 0;
|
|
796
|
+
}, "reset"), v = {
|
|
797
|
+
START_NODE: "[*]",
|
|
798
|
+
START_TYPE: "start",
|
|
799
|
+
END_NODE: "[*]",
|
|
800
|
+
END_TYPE: "end",
|
|
801
|
+
COLOR_KEYWORD: "color",
|
|
802
|
+
FILL_KEYWORD: "fill",
|
|
803
|
+
BG_FILL: "bgFill",
|
|
804
|
+
STYLECLASS_SEP: ","
|
|
805
|
+
}, Pt = /* @__PURE__ */ f(() => /* @__PURE__ */ new Map(), "newClassesList"), Ft = /* @__PURE__ */ f(() => ({
|
|
806
|
+
relations: [],
|
|
807
|
+
states: /* @__PURE__ */ new Map(),
|
|
808
|
+
documents: {}
|
|
809
|
+
}), "newDoc"), pt = /* @__PURE__ */ f((e) => JSON.parse(JSON.stringify(e)), "clone"), z, Me = (z = class {
|
|
810
|
+
constructor(t) {
|
|
811
|
+
this.version = t, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = Pt(), this.documents = { root: Ft() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = se, this.setAccTitle = ie, this.getAccDescription = re, this.setAccDescription = ae, this.setDiagramTitle = ne, this.getDiagramTitle = oe, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* Convert all of the statements (stmts) that were parsed into states and relationships.
|
|
815
|
+
* This is done because a state diagram may have nested sections,
|
|
816
|
+
* where each section is a 'document' and has its own set of statements.
|
|
817
|
+
* Ex: the section within a fork has its own statements, and incoming and outgoing statements
|
|
818
|
+
* refer to the fork as a whole (document).
|
|
819
|
+
* See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
|
|
820
|
+
* This will push the statement into the list of statements for the current document.
|
|
821
|
+
*/
|
|
822
|
+
extract(t) {
|
|
823
|
+
this.clear(!0);
|
|
824
|
+
for (const i of Array.isArray(t) ? t : t.doc)
|
|
825
|
+
switch (i.stmt) {
|
|
826
|
+
case Q:
|
|
827
|
+
this.addState(i.id.trim(), i.type, i.doc, i.description, i.note);
|
|
828
|
+
break;
|
|
829
|
+
case Ct:
|
|
830
|
+
this.addRelation(i.state1, i.state2, i.description);
|
|
831
|
+
break;
|
|
832
|
+
case fe:
|
|
833
|
+
this.addStyleClass(i.id.trim(), i.classes);
|
|
834
|
+
break;
|
|
835
|
+
case pe:
|
|
836
|
+
this.handleStyleDef(i);
|
|
837
|
+
break;
|
|
838
|
+
case Se:
|
|
839
|
+
this.setCssClass(i.id.trim(), i.styleClass);
|
|
840
|
+
break;
|
|
841
|
+
case "click":
|
|
842
|
+
this.addLink(i.id, i.url, i.tooltip);
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
const s = this.getStates(), a = F();
|
|
846
|
+
$e(), st(
|
|
847
|
+
void 0,
|
|
848
|
+
this.getRootDocV2(),
|
|
849
|
+
s,
|
|
850
|
+
this.nodes,
|
|
851
|
+
this.edges,
|
|
852
|
+
!0,
|
|
853
|
+
a.look,
|
|
854
|
+
this.classes
|
|
855
|
+
);
|
|
856
|
+
for (const i of this.nodes)
|
|
857
|
+
if (Array.isArray(i.label)) {
|
|
858
|
+
if (i.description = i.label.slice(1), i.isGroup && i.description.length > 0)
|
|
859
|
+
throw new Error(
|
|
860
|
+
`Group nodes can only have label. Remove the additional description for node [${i.id}]`
|
|
861
|
+
);
|
|
862
|
+
i.label = i.label[0];
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
handleStyleDef(t) {
|
|
866
|
+
const s = t.id.trim().split(","), a = t.styleClass.split(",");
|
|
867
|
+
for (const i of s) {
|
|
868
|
+
let l = this.getState(i);
|
|
869
|
+
if (!l) {
|
|
870
|
+
const d = i.trim();
|
|
871
|
+
this.addState(d), l = this.getState(d);
|
|
872
|
+
}
|
|
873
|
+
l && (l.styles = a.map((d) => {
|
|
874
|
+
var S;
|
|
875
|
+
return (S = d.replace(/;/g, "")) == null ? void 0 : S.trim();
|
|
876
|
+
}));
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
setRootDoc(t) {
|
|
880
|
+
b.info("Setting root doc", t), this.rootDoc = t, this.version === 1 ? this.extract(t) : this.extract(this.getRootDocV2());
|
|
881
|
+
}
|
|
882
|
+
docTranslator(t, s, a) {
|
|
883
|
+
if (s.stmt === Ct) {
|
|
884
|
+
this.docTranslator(t, s.state1, !0), this.docTranslator(t, s.state2, !1);
|
|
885
|
+
return;
|
|
886
|
+
}
|
|
887
|
+
if (s.stmt === Q && (s.id === v.START_NODE ? (s.id = t.id + (a ? "_start" : "_end"), s.start = a) : s.id = s.id.trim()), s.stmt !== q && s.stmt !== Q || !s.doc)
|
|
888
|
+
return;
|
|
889
|
+
const i = [];
|
|
890
|
+
let l = [];
|
|
891
|
+
for (const d of s.doc)
|
|
892
|
+
if (d.type === Gt) {
|
|
893
|
+
const S = pt(d);
|
|
894
|
+
S.doc = pt(l), i.push(S), l = [];
|
|
895
|
+
} else
|
|
896
|
+
l.push(d);
|
|
897
|
+
if (i.length > 0 && l.length > 0) {
|
|
898
|
+
const d = {
|
|
899
|
+
stmt: Q,
|
|
900
|
+
id: le(),
|
|
901
|
+
type: "divider",
|
|
902
|
+
doc: pt(l)
|
|
903
|
+
};
|
|
904
|
+
i.push(pt(d)), s.doc = i;
|
|
905
|
+
}
|
|
906
|
+
s.doc.forEach((d) => this.docTranslator(s, d, !0));
|
|
907
|
+
}
|
|
908
|
+
getRootDocV2() {
|
|
909
|
+
return this.docTranslator(
|
|
910
|
+
{ id: q, stmt: q },
|
|
911
|
+
{ id: q, stmt: q, doc: this.rootDoc },
|
|
912
|
+
!0
|
|
913
|
+
), { id: q, doc: this.rootDoc };
|
|
914
|
+
}
|
|
915
|
+
/**
|
|
916
|
+
* Function called by parser when a node definition has been found.
|
|
917
|
+
*
|
|
918
|
+
* @param descr - description for the state. Can be a string or a list or strings
|
|
919
|
+
* @param classes - class styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 class, convert it to an array of that 1 class.
|
|
920
|
+
* @param styles - styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 style, convert it to an array of that 1 style.
|
|
921
|
+
* @param textStyles - text styles to apply to this state. Can be a string (1 text test) or an array of text styles. If it's just 1 text style, convert it to an array of that 1 text style.
|
|
922
|
+
*/
|
|
923
|
+
addState(t, s = it, a = void 0, i = void 0, l = void 0, d = void 0, S = void 0, p = void 0) {
|
|
924
|
+
const T = t == null ? void 0 : t.trim();
|
|
925
|
+
if (!this.currentDocument.states.has(T))
|
|
926
|
+
b.info("Adding state ", T, i), this.currentDocument.states.set(T, {
|
|
927
|
+
stmt: Q,
|
|
928
|
+
id: T,
|
|
929
|
+
descriptions: [],
|
|
930
|
+
type: s,
|
|
931
|
+
doc: a,
|
|
932
|
+
note: l,
|
|
933
|
+
classes: [],
|
|
934
|
+
styles: [],
|
|
935
|
+
textStyles: []
|
|
936
|
+
});
|
|
937
|
+
else {
|
|
938
|
+
const _ = this.currentDocument.states.get(T);
|
|
939
|
+
if (!_)
|
|
940
|
+
throw new Error(`State not found: ${T}`);
|
|
941
|
+
_.doc || (_.doc = a), _.type || (_.type = s);
|
|
942
|
+
}
|
|
943
|
+
if (i && (b.info("Setting state description", T, i), (Array.isArray(i) ? i : [i]).forEach((m) => this.addDescription(T, m.trim()))), l) {
|
|
944
|
+
const _ = this.currentDocument.states.get(T);
|
|
945
|
+
if (!_)
|
|
946
|
+
throw new Error(`State not found: ${T}`);
|
|
947
|
+
_.note = l, _.note.text = W.sanitizeText(_.note.text, F());
|
|
948
|
+
}
|
|
949
|
+
d && (b.info("Setting state classes", T, d), (Array.isArray(d) ? d : [d]).forEach((m) => this.setCssClass(T, m.trim()))), S && (b.info("Setting state styles", T, S), (Array.isArray(S) ? S : [S]).forEach((m) => this.setStyle(T, m.trim()))), p && (b.info("Setting state styles", T, S), (Array.isArray(p) ? p : [p]).forEach((m) => this.setTextStyle(T, m.trim())));
|
|
950
|
+
}
|
|
951
|
+
clear(t) {
|
|
952
|
+
this.nodes = [], this.edges = [], this.documents = { root: Ft() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = Pt(), t || (this.links = /* @__PURE__ */ new Map(), ce());
|
|
953
|
+
}
|
|
954
|
+
getState(t) {
|
|
955
|
+
return this.currentDocument.states.get(t);
|
|
956
|
+
}
|
|
957
|
+
getStates() {
|
|
958
|
+
return this.currentDocument.states;
|
|
959
|
+
}
|
|
960
|
+
logDocuments() {
|
|
961
|
+
b.info("Documents = ", this.documents);
|
|
962
|
+
}
|
|
963
|
+
getRelations() {
|
|
964
|
+
return this.currentDocument.relations;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* Adds a clickable link to a state.
|
|
968
|
+
*/
|
|
969
|
+
addLink(t, s, a) {
|
|
970
|
+
this.links.set(t, { url: s, tooltip: a }), b.warn("Adding link", t, s, a);
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Get all registered links.
|
|
974
|
+
*/
|
|
975
|
+
getLinks() {
|
|
976
|
+
return this.links;
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* If the id is a start node ( [*] ), then return a new id constructed from
|
|
980
|
+
* the start node name and the current start node count.
|
|
981
|
+
* else return the given id
|
|
982
|
+
*/
|
|
983
|
+
startIdIfNeeded(t = "") {
|
|
984
|
+
return t === v.START_NODE ? (this.startEndCount++, `${v.START_TYPE}${this.startEndCount}`) : t;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* If the id is a start node ( [*] ), then return the start type ('start')
|
|
988
|
+
* else return the given type
|
|
989
|
+
*/
|
|
990
|
+
startTypeIfNeeded(t = "", s = it) {
|
|
991
|
+
return t === v.START_NODE ? v.START_TYPE : s;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* If the id is an end node ( [*] ), then return a new id constructed from
|
|
995
|
+
* the end node name and the current start_end node count.
|
|
996
|
+
* else return the given id
|
|
997
|
+
*/
|
|
998
|
+
endIdIfNeeded(t = "") {
|
|
999
|
+
return t === v.END_NODE ? (this.startEndCount++, `${v.END_TYPE}${this.startEndCount}`) : t;
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* If the id is an end node ( [*] ), then return the end type
|
|
1003
|
+
* else return the given type
|
|
1004
|
+
*
|
|
1005
|
+
*/
|
|
1006
|
+
endTypeIfNeeded(t = "", s = it) {
|
|
1007
|
+
return t === v.END_NODE ? v.END_TYPE : s;
|
|
1008
|
+
}
|
|
1009
|
+
addRelationObjs(t, s, a = "") {
|
|
1010
|
+
const i = this.startIdIfNeeded(t.id.trim()), l = this.startTypeIfNeeded(t.id.trim(), t.type), d = this.startIdIfNeeded(s.id.trim()), S = this.startTypeIfNeeded(s.id.trim(), s.type);
|
|
1011
|
+
this.addState(
|
|
1012
|
+
i,
|
|
1013
|
+
l,
|
|
1014
|
+
t.doc,
|
|
1015
|
+
t.description,
|
|
1016
|
+
t.note,
|
|
1017
|
+
t.classes,
|
|
1018
|
+
t.styles,
|
|
1019
|
+
t.textStyles
|
|
1020
|
+
), this.addState(
|
|
1021
|
+
d,
|
|
1022
|
+
S,
|
|
1023
|
+
s.doc,
|
|
1024
|
+
s.description,
|
|
1025
|
+
s.note,
|
|
1026
|
+
s.classes,
|
|
1027
|
+
s.styles,
|
|
1028
|
+
s.textStyles
|
|
1029
|
+
), this.currentDocument.relations.push({
|
|
1030
|
+
id1: i,
|
|
1031
|
+
id2: d,
|
|
1032
|
+
relationTitle: W.sanitizeText(a, F())
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Add a relation between two items. The items may be full objects or just the string id of a state.
|
|
1037
|
+
*/
|
|
1038
|
+
addRelation(t, s, a) {
|
|
1039
|
+
if (typeof t == "object" && typeof s == "object")
|
|
1040
|
+
this.addRelationObjs(t, s, a);
|
|
1041
|
+
else if (typeof t == "string" && typeof s == "string") {
|
|
1042
|
+
const i = this.startIdIfNeeded(t.trim()), l = this.startTypeIfNeeded(t), d = this.endIdIfNeeded(s.trim()), S = this.endTypeIfNeeded(s);
|
|
1043
|
+
this.addState(i, l), this.addState(d, S), this.currentDocument.relations.push({
|
|
1044
|
+
id1: i,
|
|
1045
|
+
id2: d,
|
|
1046
|
+
relationTitle: a ? W.sanitizeText(a, F()) : void 0
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
addDescription(t, s) {
|
|
1051
|
+
var l;
|
|
1052
|
+
const a = this.currentDocument.states.get(t), i = s.startsWith(":") ? s.replace(":", "").trim() : s;
|
|
1053
|
+
(l = a == null ? void 0 : a.descriptions) == null || l.push(W.sanitizeText(i, F()));
|
|
1054
|
+
}
|
|
1055
|
+
cleanupLabel(t) {
|
|
1056
|
+
return t.startsWith(":") ? t.slice(2).trim() : t.trim();
|
|
1057
|
+
}
|
|
1058
|
+
getDividerId() {
|
|
1059
|
+
return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Called when the parser comes across a (style) class definition
|
|
1063
|
+
* @example classDef my-style fill:#f96;
|
|
1064
|
+
*
|
|
1065
|
+
* @param id - the id of this (style) class
|
|
1066
|
+
* @param styleAttributes - the string with 1 or more style attributes (each separated by a comma)
|
|
1067
|
+
*/
|
|
1068
|
+
addStyleClass(t, s = "") {
|
|
1069
|
+
this.classes.has(t) || this.classes.set(t, { id: t, styles: [], textStyles: [] });
|
|
1070
|
+
const a = this.classes.get(t);
|
|
1071
|
+
s && a && s.split(v.STYLECLASS_SEP).forEach((i) => {
|
|
1072
|
+
const l = i.replace(/([^;]*);/, "$1").trim();
|
|
1073
|
+
if (RegExp(v.COLOR_KEYWORD).exec(i)) {
|
|
1074
|
+
const S = l.replace(v.FILL_KEYWORD, v.BG_FILL).replace(v.COLOR_KEYWORD, v.FILL_KEYWORD);
|
|
1075
|
+
a.textStyles.push(S);
|
|
1076
|
+
}
|
|
1077
|
+
a.styles.push(l);
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
getClasses() {
|
|
1081
|
+
return this.classes;
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* Add a (style) class or css class to a state with the given id.
|
|
1085
|
+
* If the state isn't already in the list of known states, add it.
|
|
1086
|
+
* Might be called by parser when a style class or CSS class should be applied to a state
|
|
1087
|
+
*
|
|
1088
|
+
* @param itemIds - The id or a list of ids of the item(s) to apply the css class to
|
|
1089
|
+
* @param cssClassName - CSS class name
|
|
1090
|
+
*/
|
|
1091
|
+
setCssClass(t, s) {
|
|
1092
|
+
t.split(",").forEach((a) => {
|
|
1093
|
+
var l;
|
|
1094
|
+
let i = this.getState(a);
|
|
1095
|
+
if (!i) {
|
|
1096
|
+
const d = a.trim();
|
|
1097
|
+
this.addState(d), i = this.getState(d);
|
|
1098
|
+
}
|
|
1099
|
+
(l = i == null ? void 0 : i.classes) == null || l.push(s);
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Add a style to a state with the given id.
|
|
1104
|
+
* @example style stateId fill:#f9f,stroke:#333,stroke-width:4px
|
|
1105
|
+
* where 'style' is the keyword
|
|
1106
|
+
* stateId is the id of a state
|
|
1107
|
+
* the rest of the string is the styleText (all of the attributes to be applied to the state)
|
|
1108
|
+
*
|
|
1109
|
+
* @param itemId - The id of item to apply the style to
|
|
1110
|
+
* @param styleText - the text of the attributes for the style
|
|
1111
|
+
*/
|
|
1112
|
+
setStyle(t, s) {
|
|
1113
|
+
var a, i;
|
|
1114
|
+
(i = (a = this.getState(t)) == null ? void 0 : a.styles) == null || i.push(s);
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Add a text style to a state with the given id
|
|
1118
|
+
*
|
|
1119
|
+
* @param itemId - The id of item to apply the css class to
|
|
1120
|
+
* @param cssClassName - CSS class name
|
|
1121
|
+
*/
|
|
1122
|
+
setTextStyle(t, s) {
|
|
1123
|
+
var a, i;
|
|
1124
|
+
(i = (a = this.getState(t)) == null ? void 0 : a.textStyles) == null || i.push(s);
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Finds the direction statement in the root document.
|
|
1128
|
+
* @returns the direction statement if present
|
|
1129
|
+
*/
|
|
1130
|
+
getDirectionStatement() {
|
|
1131
|
+
return this.rootDoc.find((t) => t.stmt === Rt);
|
|
1132
|
+
}
|
|
1133
|
+
getDirection() {
|
|
1134
|
+
var t;
|
|
1135
|
+
return ((t = this.getDirectionStatement()) == null ? void 0 : t.value) ?? de;
|
|
1136
|
+
}
|
|
1137
|
+
setDirection(t) {
|
|
1138
|
+
const s = this.getDirectionStatement();
|
|
1139
|
+
s ? s.value = t : this.rootDoc.unshift({ stmt: Rt, value: t });
|
|
1140
|
+
}
|
|
1141
|
+
trimColon(t) {
|
|
1142
|
+
return t.startsWith(":") ? t.slice(1).trim() : t.trim();
|
|
1143
|
+
}
|
|
1144
|
+
getData() {
|
|
1145
|
+
const t = F();
|
|
1146
|
+
return {
|
|
1147
|
+
nodes: this.nodes,
|
|
1148
|
+
edges: this.edges,
|
|
1149
|
+
other: {},
|
|
1150
|
+
config: t,
|
|
1151
|
+
direction: Kt(this.getRootDocV2())
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
getConfig() {
|
|
1155
|
+
return F().state;
|
|
1156
|
+
}
|
|
1157
|
+
}, f(z, "StateDB"), z.relationType = {
|
|
1158
|
+
AGGREGATION: 0,
|
|
1159
|
+
EXTENSION: 1,
|
|
1160
|
+
COMPOSITION: 2,
|
|
1161
|
+
DEPENDENCY: 3
|
|
1162
|
+
}, z), Pe = /* @__PURE__ */ f((e) => `
|
|
1163
|
+
defs #statediagram-barbEnd {
|
|
1164
|
+
fill: ${e.transitionColor};
|
|
1165
|
+
stroke: ${e.transitionColor};
|
|
1166
|
+
}
|
|
1167
|
+
g.stateGroup text {
|
|
1168
|
+
fill: ${e.nodeBorder};
|
|
1169
|
+
stroke: none;
|
|
1170
|
+
font-size: 10px;
|
|
1171
|
+
}
|
|
1172
|
+
g.stateGroup text {
|
|
1173
|
+
fill: ${e.textColor};
|
|
1174
|
+
stroke: none;
|
|
1175
|
+
font-size: 10px;
|
|
1176
|
+
|
|
1177
|
+
}
|
|
1178
|
+
g.stateGroup .state-title {
|
|
1179
|
+
font-weight: bolder;
|
|
1180
|
+
fill: ${e.stateLabelColor};
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
g.stateGroup rect {
|
|
1184
|
+
fill: ${e.mainBkg};
|
|
1185
|
+
stroke: ${e.nodeBorder};
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
g.stateGroup line {
|
|
1189
|
+
stroke: ${e.lineColor};
|
|
1190
|
+
stroke-width: 1;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.transition {
|
|
1194
|
+
stroke: ${e.transitionColor};
|
|
1195
|
+
stroke-width: 1;
|
|
1196
|
+
fill: none;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
.stateGroup .composit {
|
|
1200
|
+
fill: ${e.background};
|
|
1201
|
+
border-bottom: 1px
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.stateGroup .alt-composit {
|
|
1205
|
+
fill: #e0e0e0;
|
|
1206
|
+
border-bottom: 1px
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.state-note {
|
|
1210
|
+
stroke: ${e.noteBorderColor};
|
|
1211
|
+
fill: ${e.noteBkgColor};
|
|
1212
|
+
|
|
1213
|
+
text {
|
|
1214
|
+
fill: ${e.noteTextColor};
|
|
1215
|
+
stroke: none;
|
|
1216
|
+
font-size: 10px;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.stateLabel .box {
|
|
1221
|
+
stroke: none;
|
|
1222
|
+
stroke-width: 0;
|
|
1223
|
+
fill: ${e.mainBkg};
|
|
1224
|
+
opacity: 0.5;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
.edgeLabel .label rect {
|
|
1228
|
+
fill: ${e.labelBackgroundColor};
|
|
1229
|
+
opacity: 0.5;
|
|
1230
|
+
}
|
|
1231
|
+
.edgeLabel {
|
|
1232
|
+
background-color: ${e.edgeLabelBackground};
|
|
1233
|
+
p {
|
|
1234
|
+
background-color: ${e.edgeLabelBackground};
|
|
1235
|
+
}
|
|
1236
|
+
rect {
|
|
1237
|
+
opacity: 0.5;
|
|
1238
|
+
background-color: ${e.edgeLabelBackground};
|
|
1239
|
+
fill: ${e.edgeLabelBackground};
|
|
1240
|
+
}
|
|
1241
|
+
text-align: center;
|
|
1242
|
+
}
|
|
1243
|
+
.edgeLabel .label text {
|
|
1244
|
+
fill: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1245
|
+
}
|
|
1246
|
+
.label div .edgeLabel {
|
|
1247
|
+
color: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.stateLabel text {
|
|
1251
|
+
fill: ${e.stateLabelColor};
|
|
1252
|
+
font-size: 10px;
|
|
1253
|
+
font-weight: bold;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.node circle.state-start {
|
|
1257
|
+
fill: ${e.specialStateColor};
|
|
1258
|
+
stroke: ${e.specialStateColor};
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
.node .fork-join {
|
|
1262
|
+
fill: ${e.specialStateColor};
|
|
1263
|
+
stroke: ${e.specialStateColor};
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.node circle.state-end {
|
|
1267
|
+
fill: ${e.innerEndBackground};
|
|
1268
|
+
stroke: ${e.background};
|
|
1269
|
+
stroke-width: 1.5
|
|
1270
|
+
}
|
|
1271
|
+
.end-state-inner {
|
|
1272
|
+
fill: ${e.compositeBackground || e.background};
|
|
1273
|
+
// stroke: ${e.background};
|
|
1274
|
+
stroke-width: 1.5
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
.node rect {
|
|
1278
|
+
fill: ${e.stateBkg || e.mainBkg};
|
|
1279
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1280
|
+
stroke-width: 1px;
|
|
1281
|
+
}
|
|
1282
|
+
.node polygon {
|
|
1283
|
+
fill: ${e.mainBkg};
|
|
1284
|
+
stroke: ${e.stateBorder || e.nodeBorder};;
|
|
1285
|
+
stroke-width: 1px;
|
|
1286
|
+
}
|
|
1287
|
+
#statediagram-barbEnd {
|
|
1288
|
+
fill: ${e.lineColor};
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.statediagram-cluster rect {
|
|
1292
|
+
fill: ${e.compositeTitleBackground};
|
|
1293
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1294
|
+
stroke-width: 1px;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.cluster-label, .nodeLabel {
|
|
1298
|
+
color: ${e.stateLabelColor};
|
|
1299
|
+
// line-height: 1;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
.statediagram-cluster rect.outer {
|
|
1303
|
+
rx: 5px;
|
|
1304
|
+
ry: 5px;
|
|
1305
|
+
}
|
|
1306
|
+
.statediagram-state .divider {
|
|
1307
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.statediagram-state .title-state {
|
|
1311
|
+
rx: 5px;
|
|
1312
|
+
ry: 5px;
|
|
1313
|
+
}
|
|
1314
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
1315
|
+
fill: ${e.compositeBackground || e.background};
|
|
1316
|
+
}
|
|
1317
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
1318
|
+
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
.statediagram-cluster .inner {
|
|
1322
|
+
rx:0;
|
|
1323
|
+
ry:0;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
.statediagram-state rect.basic {
|
|
1327
|
+
rx: 5px;
|
|
1328
|
+
ry: 5px;
|
|
1329
|
+
}
|
|
1330
|
+
.statediagram-state rect.divider {
|
|
1331
|
+
stroke-dasharray: 10,10;
|
|
1332
|
+
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.note-edge {
|
|
1336
|
+
stroke-dasharray: 5;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.statediagram-note rect {
|
|
1340
|
+
fill: ${e.noteBkgColor};
|
|
1341
|
+
stroke: ${e.noteBorderColor};
|
|
1342
|
+
stroke-width: 1px;
|
|
1343
|
+
rx: 0;
|
|
1344
|
+
ry: 0;
|
|
1345
|
+
}
|
|
1346
|
+
.statediagram-note rect {
|
|
1347
|
+
fill: ${e.noteBkgColor};
|
|
1348
|
+
stroke: ${e.noteBorderColor};
|
|
1349
|
+
stroke-width: 1px;
|
|
1350
|
+
rx: 0;
|
|
1351
|
+
ry: 0;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.statediagram-note text {
|
|
1355
|
+
fill: ${e.noteTextColor};
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
.statediagram-note .nodeLabel {
|
|
1359
|
+
color: ${e.noteTextColor};
|
|
1360
|
+
}
|
|
1361
|
+
.statediagram .edgeLabel {
|
|
1362
|
+
color: red; // ${e.noteTextColor};
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
#dependencyStart, #dependencyEnd {
|
|
1366
|
+
fill: ${e.lineColor};
|
|
1367
|
+
stroke: ${e.lineColor};
|
|
1368
|
+
stroke-width: 1;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
.statediagramTitleText {
|
|
1372
|
+
text-anchor: middle;
|
|
1373
|
+
font-size: 18px;
|
|
1374
|
+
fill: ${e.textColor};
|
|
1375
|
+
}
|
|
1376
|
+
`, "getStyles"), Ue = Pe;
|
|
1377
|
+
export {
|
|
1378
|
+
Me as S,
|
|
1379
|
+
Ue as a,
|
|
1380
|
+
Ve as b,
|
|
1381
|
+
Be as s
|
|
1382
|
+
};
|