@chaibuilder/pages 0.16.7 → 0.16.9
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-BGZjtYdS.cjs} +1 -1
- package/dist/{2AITGKQY-BXiVm60u.js → 2AITGKQY-BmDJ4ubt.js} +2 -2
- package/dist/{NCMVHL6D-CnBMv9bF.cjs → NCMVHL6D-CRT9RlLF.cjs} +1 -1
- package/dist/{NCMVHL6D-C0JGE8Qr.js → NCMVHL6D-Dk4_u4LD.js} +2 -2
- package/dist/{ZDWCUMSJ-jR6OAwVS.cjs → ZDWCUMSJ-DEHPTCDq.cjs} +1 -1
- package/dist/{ZDWCUMSJ-Cs-CWvpw.js → ZDWCUMSJ-Ktzz_Tsg.js} +1 -1
- package/dist/_arrayEach-BoWUuJyH.js +44 -0
- package/dist/_arrayEach-CvixaZ6g.cjs +1 -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-BLNVUYeo.js} +2 -2
- package/dist/{add-new-language-page-UatKeIR2.cjs → add-new-language-page-jU1kF1AN.cjs} +1 -1
- package/dist/{add-new-page-BZ2av8fu.cjs → add-new-page-DKyY5ZY7.cjs} +1 -1
- package/dist/{add-new-page-BzBMJ3Cn.js → add-new-page-X9ytZJiO.js} +1 -1
- package/dist/ai-panel-content-Bi18WMi2.cjs +1 -0
- package/dist/ai-panel-content-ChDHNrKg.js +54 -0
- package/dist/ai-panel-default-lang-B6tYYmxI.cjs +3 -0
- package/dist/ai-panel-default-lang-CxmSDvNu.js +307 -0
- package/dist/ai-panel-other-lang-B0umwiEm.cjs +1 -0
- package/dist/ai-panel-other-lang-CicrT1I-.js +130 -0
- package/dist/ai-prompt-input-BOAqFpAN.js +4027 -0
- package/dist/ai-prompt-input-L_bHFj7w.cjs +45 -0
- package/dist/{ai-translation-prompt-DH7gwfqx.cjs → ai-translation-prompt-23g3VfWP.cjs} +1 -1
- package/dist/{ai-translation-prompt-B8VdHfLY.js → ai-translation-prompt-DoeWqKDZ.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-CEYgkAY6.js +83 -0
- package/dist/arc-DQcgp6fe.cjs +1 -0
- package/dist/architecture-U656AL7Q-D9ThnYW7.js +5 -0
- package/dist/architecture-U656AL7Q-DXHyXosc.cjs +1 -0
- package/dist/architectureDiagram-VXUJARFQ-DJkKSCT6.cjs +36 -0
- package/dist/architectureDiagram-VXUJARFQ-xhCIZb18.js +4669 -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-DqXdnG8y.cjs +122 -0
- package/dist/blockDiagram-VD42YOAC-zvZU2M01.js +2368 -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-BpDWqFJi.js +1581 -0
- package/dist/c4Diagram-YG6GDRKO-COF9vwh9.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-DMpDH8Tt.js +5 -0
- package/dist/channel-DshxF_w-.cjs +1 -0
- package/dist/chunk-4BX2VUAB-DOrHz66s.cjs +1 -0
- package/dist/chunk-4BX2VUAB-DcXzX0k2.js +9 -0
- package/dist/chunk-55IACEB6-MgFQOjd_.cjs +1 -0
- package/dist/chunk-55IACEB6-yEIZuruo.js +8 -0
- package/dist/chunk-B4BG7PRW-Bm0X0FwP.js +1376 -0
- package/dist/chunk-B4BG7PRW-Dw8okTHN.cjs +165 -0
- package/dist/chunk-DI55MBZ5-CY8rQYfB.cjs +220 -0
- package/dist/chunk-DI55MBZ5-Dzl4K5YZ.js +1382 -0
- package/dist/chunk-FMBD7UC4-DeDzgDPq.cjs +15 -0
- package/dist/chunk-FMBD7UC4-DsnO3YB7.js +19 -0
- package/dist/chunk-QN33PNHL-D0hZD6ce.cjs +1 -0
- package/dist/chunk-QN33PNHL-eCpJSQLd.js +20 -0
- package/dist/chunk-QZHKN3VN-0xh2Brzo.js +15 -0
- package/dist/chunk-QZHKN3VN-DPT45Qxb.cjs +1 -0
- package/dist/chunk-TZMSLE5B-B0DNnH2K.cjs +1 -0
- package/dist/chunk-TZMSLE5B-v44khzET.js +64 -0
- package/dist/clarity-PKm5CwqM.js +6 -0
- package/dist/clarity-gPuvqtpF.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-CatlwrWr.js +16 -0
- package/dist/classDiagram-2ON5EDUG-DZwYP3Mp.cjs +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-CatlwrWr.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-DZwYP3Mp.cjs +1 -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-CdqaV_In.js +2609 -0
- package/dist/cose-bilkent-S5V4N54A-oJ7CCCne.cjs +1 -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-DwJsczXN.cjs +4 -0
- package/dist/dagre-6UL2VRFP-ylnuUwh7.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-Crpwn0Wk.cjs → delete-page-CSuwBSa6.cjs} +1 -1
- package/dist/{delete-page-Ck7tD4Hf.js → delete-page-D8gUlElz.js} +1 -1
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/desktop-tn3MFXCZ.cjs +1 -0
- package/dist/diagram-PSM6KHXK-DPPOo04u.cjs +24 -0
- package/dist/diagram-PSM6KHXK-me6JcFi2.js +534 -0
- package/dist/diagram-QEK2KX5R-CfDWc-r0.js +221 -0
- package/dist/diagram-QEK2KX5R-atRnaXRv.cjs +43 -0
- package/dist/diagram-S2PKOQOG-BzM_Yydz.cjs +24 -0
- package/dist/diagram-S2PKOQOG-DvQBNtA7.js +143 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/diff-CA31fCOg.cjs +1 -0
- package/dist/{digital-asset-manager-BVrv1-r1.cjs → digital-asset-manager-B1NMros3.cjs} +1 -1
- package/dist/{digital-asset-manager-DgLKRrYj.js → digital-asset-manager-C-tiZy6C.js} +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-BgR_Z5mB.js} +2 -2
- package/dist/{duplicate-page-CXUueWfr.cjs → duplicate-page-DfsShaR3.cjs} +1 -1
- package/dist/{dynamic-page-selector-DcWDnam4.cjs → dynamic-page-selector-B9LvdmAM.cjs} +1 -1
- package/dist/{dynamic-page-selector-D544FjmW.js → dynamic-page-selector-B_Il05Tb.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-BvcqZzam.js +842 -0
- package/dist/erDiagram-Q2GNP2WA-CIz-zXL5.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-DNDFiS4P.js +1627 -0
- package/dist/flowDiagram-NV44I4VS-H3UO6GU6.cjs +162 -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-3uLir5Ok.cjs +267 -0
- package/dist/ganttDiagram-LVOFAZNH-CuEk_EPv.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-BNgutOCt.js +5 -0
- package/dist/gitGraph-F6HP7TQM-DnzvXoTf.cjs +1 -0
- package/dist/gitGraphDiagram-NY62KEGX-CpjW-tAs.cjs +65 -0
- package/dist/gitGraphDiagram-NY62KEGX-DJ--wipu.js +712 -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-DdQbaicX.js → index-CSOKPmkj.js} +120 -113
- package/dist/index-D_4YaLhN.cjs +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +6 -6
- package/dist/info-NVLQJR56-cQ8VboSE.js +5 -0
- package/dist/info-NVLQJR56-nlYJye66.cjs +1 -0
- package/dist/infoDiagram-ER5ION4S-BYBSnMk9.cjs +2 -0
- package/dist/infoDiagram-ER5ION4S-D1ovR6Sb.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-D-YRkdmZ.cjs +139 -0
- package/dist/journeyDiagram-XKPGCS4Q-aab6wkCY.js +836 -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-BafhQd3C.cjs} +2 -2
- package/dist/{json-diff-viewer-BhWTP1YY.js → json-diff-viewer-eh2Twply.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-BDK6FtYy.js +721 -0
- package/dist/kanban-definition-3W4ZIXB7-D_bnY8Es.cjs +89 -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-by1VOWvc.js → lang-panel-Dha1mI9s.js} +33 -33
- package/dist/{lang-panel-tOddhH70.cjs → lang-panel-koRXBdpN.cjs} +1 -1
- 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-CBvDLesx.cjs +1 -0
- package/dist/linear-DmFX6iHR.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-BUCysjr2.cjs → mark-as-template-BHkftF1C.cjs} +1 -1
- package/dist/{mark-as-template-ngqCvlhA.js → mark-as-template-DojgcJFD.js} +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-Crve7Cv1.js +13256 -0
- package/dist/mermaid-parser.core-Df9eyFSv.cjs +128 -0
- package/dist/mermaid.core-DY8gIrXk.cjs +196 -0
- package/dist/mermaid.core-e6RNUZK7.js +14260 -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-BqZKJ_7z.js +787 -0
- package/dist/mindmap-definition-VGOIOE7T-CFYCEGsR.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-CzTbZ07M.cjs → no-language-page-content-BjlCydsa.cjs} +1 -1
- package/dist/{no-language-page-content-Dz3GSvnO.js → no-language-page-content-ZlibO6-a.js} +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-BNOgRfy4.js +5 -0
- package/dist/packet-BFZMPI3H-CmnL1d8H.cjs +1 -0
- package/dist/{page-creator-D2iEu92e.js → page-creator-CYxW-uMk.js} +2 -2
- package/dist/{page-creator-BICVMC59.cjs → page-creator-D-HTXuwL.cjs} +1 -1
- package/dist/{page-lock-request-DjfV2kmK.js → page-lock-request-DIqND4Zp.js} +5 -5
- package/dist/{page-lock-request-hlvjC2uX.cjs → page-lock-request-ggTN32LL.cjs} +1 -1
- package/dist/{page-locked-by-dialog-NpUOJvWZ.cjs → page-locked-by-dialog-DF_r3NKB.cjs} +1 -1
- package/dist/{page-locked-by-dialog-m6K_uaE8.js → page-locked-by-dialog-Dv1QMUs2.js} +1 -1
- package/dist/{page-manager-new-C2jmBaFF.cjs → page-manager-new-B7nEY5DJ.cjs} +1 -1
- package/dist/{page-manager-new-DshyH-mV.js → page-manager-new-iuNdn54Y.js} +56 -56
- package/dist/{page-manager-search-and-filter-D_g51CM8.cjs → page-manager-search-and-filter-BuQLf3EG.cjs} +1 -1
- package/dist/{page-manager-search-and-filter-DCg7Fqi_.js → page-manager-search-and-filter-Dvt-nBOL.js} +1 -1
- package/dist/{page-revisions-content-N_qdjfDX.cjs → page-revisions-content-CR_65Pri.cjs} +1 -1
- package/dist/{page-revisions-content-DZzxttKH.js → page-revisions-content-DH30uwKy.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-B4yrare5.js +5 -0
- package/dist/pie-7BOR55EZ-CM2pRchz.cjs +1 -0
- package/dist/pieDiagram-ADFJNKIX-C_B1s9Ov.cjs +30 -0
- package/dist/pieDiagram-ADFJNKIX-DhRe-2Yk.js +162 -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-Dtu7807d.cjs → publish-pages-content-DOniOjSV.cjs} +1 -1
- package/dist/{publish-pages-content-CRvy9fwt.js → publish-pages-content-fwqyxl_3.js} +6 -6
- 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-CrS56DWV.cjs +7 -0
- package/dist/quadrantDiagram-AYHSOK5B-DSaDCScU.js +1024 -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-CN3oBECV.js +5 -0
- package/dist/radar-NHE76QYJ-CPX8AaYO.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-CbpHc5TO.js +852 -0
- package/dist/requirementDiagram-UZGBJVZJ-D60OatrS.cjs +64 -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-AFuyaZMZ.js +810 -0
- package/dist/sankeyDiagram-TZEHDZUN-DklD-Q91.cjs +10 -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-DKP-iiLU.js} +1 -1
- package/dist/{save-to-lib-XnTNVHzy.cjs → save-to-lib-DmZbKkm9.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-BPkRbRtv.js +43632 -0
- package/dist/selected-block-display-CMhOKq0c.cjs +541 -0
- package/dist/{seo-panel-dIE8Wi40.js → seo-panel-D1FyS42r.js} +17 -17
- package/dist/{seo-panel-Ce3uf7XT.cjs → seo-panel-l-VdkTzp.cjs} +1 -1
- package/dist/sequenceDiagram-WL72ISMW-CotOH2Xj.cjs +145 -0
- package/dist/sequenceDiagram-WL72ISMW-p_o77zn1.js +2522 -0
- package/dist/server.cjs +206 -121
- package/dist/server.d.ts +12 -0
- package/dist/server.js +775 -690
- 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-0VORoKPu.cjs} +1 -1
- package/dist/{shared-json-ld-UCI8GeFi.js → shared-json-ld-jn36kQ1J.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-BbkCbVMY.cjs → slug-input-CPHwulQv.cjs} +1 -1
- package/dist/{slug-input-DTA7c8c6.js → slug-input-DPMG1pMZ.js} +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-B1pfSzZB.cjs +1 -0
- package/dist/stateDiagram-FKZM4ZOC-Ch8gd7OX.js +264 -0
- package/dist/stateDiagram-v2-4FDKWEC3-BDxmTUgh.js +16 -0
- package/dist/stateDiagram-v2-4FDKWEC3-DCj4svbU.cjs +1 -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-DsZ67xQ8.cjs} +1 -1
- package/dist/{theme-panel-footer-BjRPU7lq.js → theme-panel-footer-XREndTvO.js} +1 -1
- package/dist/timeline-definition-IT6M3QCI-CK1EW7lG.cjs +61 -0
- package/dist/timeline-definition-IT6M3QCI-CmX-2kfr.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-B51FyMCU.js +5 -0
- package/dist/treemap-KMMF4GRG-D5Rm845j.cjs +1 -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-Dbhko_72.cjs → unmark-as-template-BB_2lvTh.cjs} +1 -1
- package/dist/{unmark-as-template-BWviVI2t.js → unmark-as-template-VHopisw3.js} +1 -1
- package/dist/{unpublish-page-BzI9EFF9.js → unpublish-page-Cq5OwCf-.js} +1 -1
- package/dist/{unpublish-page-D0EmMryc.cjs → unpublish-page-DJKgb2OG.cjs} +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-SIUM1SWa.js → web-preview-BEYsnCo4.js} +2 -2
- package/dist/{web-preview-CSV-DXpI.cjs → web-preview-CGX6_m7_.cjs} +1 -1
- 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-BXSS1azt.cjs +7 -0
- package/dist/xychartDiagram-PRI3JC2R-vt3IdmK_.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 +19 -3
- 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,712 @@
|
|
|
1
|
+
import { p as Z } from "./chunk-4BX2VUAB-DcXzX0k2.js";
|
|
2
|
+
import { I as F } from "./chunk-QZHKN3VN-0xh2Brzo.js";
|
|
3
|
+
import { E as U, _ as h, d as rr, F as er, G as tr, H as ar, l as m, s as nr, g as sr, b as or, c as cr, o as ir, p as dr, e as B, v as hr, j as lr, u as $r, I as fr } from "./mermaid.core-e6RNUZK7.js";
|
|
4
|
+
import { p as gr } from "./mermaid-parser.core-Crve7Cv1.js";
|
|
5
|
+
var u = {
|
|
6
|
+
NORMAL: 0,
|
|
7
|
+
REVERSE: 1,
|
|
8
|
+
HIGHLIGHT: 2,
|
|
9
|
+
MERGE: 3,
|
|
10
|
+
CHERRY_PICK: 4
|
|
11
|
+
}, yr = U.gitGraph, z = /* @__PURE__ */ h(() => er({
|
|
12
|
+
...yr,
|
|
13
|
+
...tr().gitGraph
|
|
14
|
+
}), "getConfig"), i = new F(() => {
|
|
15
|
+
const t = z(), r = t.mainBranchName, a = t.mainBranchOrder;
|
|
16
|
+
return {
|
|
17
|
+
mainBranchName: r,
|
|
18
|
+
commits: /* @__PURE__ */ new Map(),
|
|
19
|
+
head: null,
|
|
20
|
+
branchConfig: /* @__PURE__ */ new Map([[r, { name: r, order: a }]]),
|
|
21
|
+
branches: /* @__PURE__ */ new Map([[r, null]]),
|
|
22
|
+
currBranch: r,
|
|
23
|
+
direction: "LR",
|
|
24
|
+
seq: 0,
|
|
25
|
+
options: {}
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
function j() {
|
|
29
|
+
return ar({ length: 7 });
|
|
30
|
+
}
|
|
31
|
+
h(j, "getID");
|
|
32
|
+
function N(t, r) {
|
|
33
|
+
const a = /* @__PURE__ */ Object.create(null);
|
|
34
|
+
return t.reduce((s, e) => {
|
|
35
|
+
const n = r(e);
|
|
36
|
+
return a[n] || (a[n] = !0, s.push(e)), s;
|
|
37
|
+
}, []);
|
|
38
|
+
}
|
|
39
|
+
h(N, "uniqBy");
|
|
40
|
+
var xr = /* @__PURE__ */ h(function(t) {
|
|
41
|
+
i.records.direction = t;
|
|
42
|
+
}, "setDirection"), ur = /* @__PURE__ */ h(function(t) {
|
|
43
|
+
m.debug("options str", t), t = t == null ? void 0 : t.trim(), t = t || "{}";
|
|
44
|
+
try {
|
|
45
|
+
i.records.options = JSON.parse(t);
|
|
46
|
+
} catch (r) {
|
|
47
|
+
m.error("error while parsing gitGraph options", r.message);
|
|
48
|
+
}
|
|
49
|
+
}, "setOptions"), pr = /* @__PURE__ */ h(function() {
|
|
50
|
+
return i.records.options;
|
|
51
|
+
}, "getOptions"), br = /* @__PURE__ */ h(function(t) {
|
|
52
|
+
let r = t.msg, a = t.id;
|
|
53
|
+
const s = t.type;
|
|
54
|
+
let e = t.tags;
|
|
55
|
+
m.info("commit", r, a, s, e), m.debug("Entering commit:", r, a, s, e);
|
|
56
|
+
const n = z();
|
|
57
|
+
a = B.sanitizeText(a, n), r = B.sanitizeText(r, n), e = e == null ? void 0 : e.map((o) => B.sanitizeText(o, n));
|
|
58
|
+
const c = {
|
|
59
|
+
id: a || i.records.seq + "-" + j(),
|
|
60
|
+
message: r,
|
|
61
|
+
seq: i.records.seq++,
|
|
62
|
+
type: s ?? u.NORMAL,
|
|
63
|
+
tags: e ?? [],
|
|
64
|
+
parents: i.records.head == null ? [] : [i.records.head.id],
|
|
65
|
+
branch: i.records.currBranch
|
|
66
|
+
};
|
|
67
|
+
i.records.head = c, m.info("main branch", n.mainBranchName), i.records.commits.has(c.id) && m.warn(`Commit ID ${c.id} already exists`), i.records.commits.set(c.id, c), i.records.branches.set(i.records.currBranch, c.id), m.debug("in pushCommit " + c.id);
|
|
68
|
+
}, "commit"), mr = /* @__PURE__ */ h(function(t) {
|
|
69
|
+
let r = t.name;
|
|
70
|
+
const a = t.order;
|
|
71
|
+
if (r = B.sanitizeText(r, z()), i.records.branches.has(r))
|
|
72
|
+
throw new Error(
|
|
73
|
+
`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`
|
|
74
|
+
);
|
|
75
|
+
i.records.branches.set(r, i.records.head != null ? i.records.head.id : null), i.records.branchConfig.set(r, { name: r, order: a }), _(r), m.debug("in createBranch");
|
|
76
|
+
}, "branch"), wr = /* @__PURE__ */ h((t) => {
|
|
77
|
+
let r = t.branch, a = t.id;
|
|
78
|
+
const s = t.type, e = t.tags, n = z();
|
|
79
|
+
r = B.sanitizeText(r, n), a && (a = B.sanitizeText(a, n));
|
|
80
|
+
const c = i.records.branches.get(i.records.currBranch), o = i.records.branches.get(r), $ = c ? i.records.commits.get(c) : void 0, l = o ? i.records.commits.get(o) : void 0;
|
|
81
|
+
if ($ && l && $.branch === r)
|
|
82
|
+
throw new Error(`Cannot merge branch '${r}' into itself.`);
|
|
83
|
+
if (i.records.currBranch === r) {
|
|
84
|
+
const d = new Error('Incorrect usage of "merge". Cannot merge a branch to itself');
|
|
85
|
+
throw d.hash = {
|
|
86
|
+
text: `merge ${r}`,
|
|
87
|
+
token: `merge ${r}`,
|
|
88
|
+
expected: ["branch abc"]
|
|
89
|
+
}, d;
|
|
90
|
+
}
|
|
91
|
+
if ($ === void 0 || !$) {
|
|
92
|
+
const d = new Error(
|
|
93
|
+
`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`
|
|
94
|
+
);
|
|
95
|
+
throw d.hash = {
|
|
96
|
+
text: `merge ${r}`,
|
|
97
|
+
token: `merge ${r}`,
|
|
98
|
+
expected: ["commit"]
|
|
99
|
+
}, d;
|
|
100
|
+
}
|
|
101
|
+
if (!i.records.branches.has(r)) {
|
|
102
|
+
const d = new Error(
|
|
103
|
+
'Incorrect usage of "merge". Branch to be merged (' + r + ") does not exist"
|
|
104
|
+
);
|
|
105
|
+
throw d.hash = {
|
|
106
|
+
text: `merge ${r}`,
|
|
107
|
+
token: `merge ${r}`,
|
|
108
|
+
expected: [`branch ${r}`]
|
|
109
|
+
}, d;
|
|
110
|
+
}
|
|
111
|
+
if (l === void 0 || !l) {
|
|
112
|
+
const d = new Error(
|
|
113
|
+
'Incorrect usage of "merge". Branch to be merged (' + r + ") has no commits"
|
|
114
|
+
);
|
|
115
|
+
throw d.hash = {
|
|
116
|
+
text: `merge ${r}`,
|
|
117
|
+
token: `merge ${r}`,
|
|
118
|
+
expected: ['"commit"']
|
|
119
|
+
}, d;
|
|
120
|
+
}
|
|
121
|
+
if ($ === l) {
|
|
122
|
+
const d = new Error('Incorrect usage of "merge". Both branches have same head');
|
|
123
|
+
throw d.hash = {
|
|
124
|
+
text: `merge ${r}`,
|
|
125
|
+
token: `merge ${r}`,
|
|
126
|
+
expected: ["branch abc"]
|
|
127
|
+
}, d;
|
|
128
|
+
}
|
|
129
|
+
if (a && i.records.commits.has(a)) {
|
|
130
|
+
const d = new Error(
|
|
131
|
+
'Incorrect usage of "merge". Commit with id:' + a + " already exists, use different custom id"
|
|
132
|
+
);
|
|
133
|
+
throw d.hash = {
|
|
134
|
+
text: `merge ${r} ${a} ${s} ${e == null ? void 0 : e.join(" ")}`,
|
|
135
|
+
token: `merge ${r} ${a} ${s} ${e == null ? void 0 : e.join(" ")}`,
|
|
136
|
+
expected: [
|
|
137
|
+
`merge ${r} ${a}_UNIQUE ${s} ${e == null ? void 0 : e.join(" ")}`
|
|
138
|
+
]
|
|
139
|
+
}, d;
|
|
140
|
+
}
|
|
141
|
+
const f = o || "", g = {
|
|
142
|
+
id: a || `${i.records.seq}-${j()}`,
|
|
143
|
+
message: `merged branch ${r} into ${i.records.currBranch}`,
|
|
144
|
+
seq: i.records.seq++,
|
|
145
|
+
parents: i.records.head == null ? [] : [i.records.head.id, f],
|
|
146
|
+
branch: i.records.currBranch,
|
|
147
|
+
type: u.MERGE,
|
|
148
|
+
customType: s,
|
|
149
|
+
customId: !!a,
|
|
150
|
+
tags: e ?? []
|
|
151
|
+
};
|
|
152
|
+
i.records.head = g, i.records.commits.set(g.id, g), i.records.branches.set(i.records.currBranch, g.id), m.debug(i.records.branches), m.debug("in mergeBranch");
|
|
153
|
+
}, "merge"), vr = /* @__PURE__ */ h(function(t) {
|
|
154
|
+
let r = t.id, a = t.targetId, s = t.tags, e = t.parent;
|
|
155
|
+
m.debug("Entering cherryPick:", r, a, s);
|
|
156
|
+
const n = z();
|
|
157
|
+
if (r = B.sanitizeText(r, n), a = B.sanitizeText(a, n), s = s == null ? void 0 : s.map(($) => B.sanitizeText($, n)), e = B.sanitizeText(e, n), !r || !i.records.commits.has(r)) {
|
|
158
|
+
const $ = new Error(
|
|
159
|
+
'Incorrect usage of "cherryPick". Source commit id should exist and provided'
|
|
160
|
+
);
|
|
161
|
+
throw $.hash = {
|
|
162
|
+
text: `cherryPick ${r} ${a}`,
|
|
163
|
+
token: `cherryPick ${r} ${a}`,
|
|
164
|
+
expected: ["cherry-pick abc"]
|
|
165
|
+
}, $;
|
|
166
|
+
}
|
|
167
|
+
const c = i.records.commits.get(r);
|
|
168
|
+
if (c === void 0 || !c)
|
|
169
|
+
throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');
|
|
170
|
+
if (e && !(Array.isArray(c.parents) && c.parents.includes(e)))
|
|
171
|
+
throw new Error(
|
|
172
|
+
"Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit."
|
|
173
|
+
);
|
|
174
|
+
const o = c.branch;
|
|
175
|
+
if (c.type === u.MERGE && !e)
|
|
176
|
+
throw new Error(
|
|
177
|
+
"Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified."
|
|
178
|
+
);
|
|
179
|
+
if (!a || !i.records.commits.has(a)) {
|
|
180
|
+
if (o === i.records.currBranch) {
|
|
181
|
+
const g = new Error(
|
|
182
|
+
'Incorrect usage of "cherryPick". Source commit is already on current branch'
|
|
183
|
+
);
|
|
184
|
+
throw g.hash = {
|
|
185
|
+
text: `cherryPick ${r} ${a}`,
|
|
186
|
+
token: `cherryPick ${r} ${a}`,
|
|
187
|
+
expected: ["cherry-pick abc"]
|
|
188
|
+
}, g;
|
|
189
|
+
}
|
|
190
|
+
const $ = i.records.branches.get(i.records.currBranch);
|
|
191
|
+
if ($ === void 0 || !$) {
|
|
192
|
+
const g = new Error(
|
|
193
|
+
`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`
|
|
194
|
+
);
|
|
195
|
+
throw g.hash = {
|
|
196
|
+
text: `cherryPick ${r} ${a}`,
|
|
197
|
+
token: `cherryPick ${r} ${a}`,
|
|
198
|
+
expected: ["cherry-pick abc"]
|
|
199
|
+
}, g;
|
|
200
|
+
}
|
|
201
|
+
const l = i.records.commits.get($);
|
|
202
|
+
if (l === void 0 || !l) {
|
|
203
|
+
const g = new Error(
|
|
204
|
+
`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`
|
|
205
|
+
);
|
|
206
|
+
throw g.hash = {
|
|
207
|
+
text: `cherryPick ${r} ${a}`,
|
|
208
|
+
token: `cherryPick ${r} ${a}`,
|
|
209
|
+
expected: ["cherry-pick abc"]
|
|
210
|
+
}, g;
|
|
211
|
+
}
|
|
212
|
+
const f = {
|
|
213
|
+
id: i.records.seq + "-" + j(),
|
|
214
|
+
message: `cherry-picked ${c == null ? void 0 : c.message} into ${i.records.currBranch}`,
|
|
215
|
+
seq: i.records.seq++,
|
|
216
|
+
parents: i.records.head == null ? [] : [i.records.head.id, c.id],
|
|
217
|
+
branch: i.records.currBranch,
|
|
218
|
+
type: u.CHERRY_PICK,
|
|
219
|
+
tags: s ? s.filter(Boolean) : [
|
|
220
|
+
`cherry-pick:${c.id}${c.type === u.MERGE ? `|parent:${e}` : ""}`
|
|
221
|
+
]
|
|
222
|
+
};
|
|
223
|
+
i.records.head = f, i.records.commits.set(f.id, f), i.records.branches.set(i.records.currBranch, f.id), m.debug(i.records.branches), m.debug("in cherryPick");
|
|
224
|
+
}
|
|
225
|
+
}, "cherryPick"), _ = /* @__PURE__ */ h(function(t) {
|
|
226
|
+
if (t = B.sanitizeText(t, z()), i.records.branches.has(t)) {
|
|
227
|
+
i.records.currBranch = t;
|
|
228
|
+
const r = i.records.branches.get(i.records.currBranch);
|
|
229
|
+
r === void 0 || !r ? i.records.head = null : i.records.head = i.records.commits.get(r) ?? null;
|
|
230
|
+
} else {
|
|
231
|
+
const r = new Error(
|
|
232
|
+
`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`
|
|
233
|
+
);
|
|
234
|
+
throw r.hash = {
|
|
235
|
+
text: `checkout ${t}`,
|
|
236
|
+
token: `checkout ${t}`,
|
|
237
|
+
expected: [`branch ${t}`]
|
|
238
|
+
}, r;
|
|
239
|
+
}
|
|
240
|
+
}, "checkout");
|
|
241
|
+
function A(t, r, a) {
|
|
242
|
+
const s = t.indexOf(r);
|
|
243
|
+
s === -1 ? t.push(a) : t.splice(s, 1, a);
|
|
244
|
+
}
|
|
245
|
+
h(A, "upsert");
|
|
246
|
+
function D(t) {
|
|
247
|
+
const r = t.reduce((e, n) => e.seq > n.seq ? e : n, t[0]);
|
|
248
|
+
let a = "";
|
|
249
|
+
t.forEach(function(e) {
|
|
250
|
+
e === r ? a += " *" : a += " |";
|
|
251
|
+
});
|
|
252
|
+
const s = [a, r.id, r.seq];
|
|
253
|
+
for (const e in i.records.branches)
|
|
254
|
+
i.records.branches.get(e) === r.id && s.push(e);
|
|
255
|
+
if (m.debug(s.join(" ")), r.parents && r.parents.length == 2 && r.parents[0] && r.parents[1]) {
|
|
256
|
+
const e = i.records.commits.get(r.parents[0]);
|
|
257
|
+
A(t, r, e), r.parents[1] && t.push(i.records.commits.get(r.parents[1]));
|
|
258
|
+
} else {
|
|
259
|
+
if (r.parents.length == 0)
|
|
260
|
+
return;
|
|
261
|
+
if (r.parents[0]) {
|
|
262
|
+
const e = i.records.commits.get(r.parents[0]);
|
|
263
|
+
A(t, r, e);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
t = N(t, (e) => e.id), D(t);
|
|
267
|
+
}
|
|
268
|
+
h(D, "prettyPrintCommitHistory");
|
|
269
|
+
var Cr = /* @__PURE__ */ h(function() {
|
|
270
|
+
m.debug(i.records.commits);
|
|
271
|
+
const t = V()[0];
|
|
272
|
+
D([t]);
|
|
273
|
+
}, "prettyPrint"), Er = /* @__PURE__ */ h(function() {
|
|
274
|
+
i.reset(), hr();
|
|
275
|
+
}, "clear"), Br = /* @__PURE__ */ h(function() {
|
|
276
|
+
return [...i.records.branchConfig.values()].map((r, a) => r.order !== null && r.order !== void 0 ? r : {
|
|
277
|
+
...r,
|
|
278
|
+
order: parseFloat(`0.${a}`)
|
|
279
|
+
}).sort((r, a) => (r.order ?? 0) - (a.order ?? 0)).map(({ name: r }) => ({ name: r }));
|
|
280
|
+
}, "getBranchesAsObjArray"), kr = /* @__PURE__ */ h(function() {
|
|
281
|
+
return i.records.branches;
|
|
282
|
+
}, "getBranches"), Lr = /* @__PURE__ */ h(function() {
|
|
283
|
+
return i.records.commits;
|
|
284
|
+
}, "getCommits"), V = /* @__PURE__ */ h(function() {
|
|
285
|
+
const t = [...i.records.commits.values()];
|
|
286
|
+
return t.forEach(function(r) {
|
|
287
|
+
m.debug(r.id);
|
|
288
|
+
}), t.sort((r, a) => r.seq - a.seq), t;
|
|
289
|
+
}, "getCommitsArray"), Tr = /* @__PURE__ */ h(function() {
|
|
290
|
+
return i.records.currBranch;
|
|
291
|
+
}, "getCurrentBranch"), Mr = /* @__PURE__ */ h(function() {
|
|
292
|
+
return i.records.direction;
|
|
293
|
+
}, "getDirection"), Rr = /* @__PURE__ */ h(function() {
|
|
294
|
+
return i.records.head;
|
|
295
|
+
}, "getHead"), X = {
|
|
296
|
+
commitType: u,
|
|
297
|
+
getConfig: z,
|
|
298
|
+
setDirection: xr,
|
|
299
|
+
setOptions: ur,
|
|
300
|
+
getOptions: pr,
|
|
301
|
+
commit: br,
|
|
302
|
+
branch: mr,
|
|
303
|
+
merge: wr,
|
|
304
|
+
cherryPick: vr,
|
|
305
|
+
checkout: _,
|
|
306
|
+
//reset,
|
|
307
|
+
prettyPrint: Cr,
|
|
308
|
+
clear: Er,
|
|
309
|
+
getBranchesAsObjArray: Br,
|
|
310
|
+
getBranches: kr,
|
|
311
|
+
getCommits: Lr,
|
|
312
|
+
getCommitsArray: V,
|
|
313
|
+
getCurrentBranch: Tr,
|
|
314
|
+
getDirection: Mr,
|
|
315
|
+
getHead: Rr,
|
|
316
|
+
setAccTitle: nr,
|
|
317
|
+
getAccTitle: sr,
|
|
318
|
+
getAccDescription: or,
|
|
319
|
+
setAccDescription: cr,
|
|
320
|
+
setDiagramTitle: ir,
|
|
321
|
+
getDiagramTitle: dr
|
|
322
|
+
}, Ir = /* @__PURE__ */ h((t, r) => {
|
|
323
|
+
Z(t, r), t.dir && r.setDirection(t.dir);
|
|
324
|
+
for (const a of t.statements)
|
|
325
|
+
qr(a, r);
|
|
326
|
+
}, "populate"), qr = /* @__PURE__ */ h((t, r) => {
|
|
327
|
+
const s = {
|
|
328
|
+
Commit: /* @__PURE__ */ h((e) => r.commit(Or(e)), "Commit"),
|
|
329
|
+
Branch: /* @__PURE__ */ h((e) => r.branch(zr(e)), "Branch"),
|
|
330
|
+
Merge: /* @__PURE__ */ h((e) => r.merge(Gr(e)), "Merge"),
|
|
331
|
+
Checkout: /* @__PURE__ */ h((e) => r.checkout(Hr(e)), "Checkout"),
|
|
332
|
+
CherryPicking: /* @__PURE__ */ h((e) => r.cherryPick(Pr(e)), "CherryPicking")
|
|
333
|
+
}[t.$type];
|
|
334
|
+
s ? s(t) : m.error(`Unknown statement type: ${t.$type}`);
|
|
335
|
+
}, "parseStatement"), Or = /* @__PURE__ */ h((t) => ({
|
|
336
|
+
id: t.id,
|
|
337
|
+
msg: t.message ?? "",
|
|
338
|
+
type: t.type !== void 0 ? u[t.type] : u.NORMAL,
|
|
339
|
+
tags: t.tags ?? void 0
|
|
340
|
+
}), "parseCommit"), zr = /* @__PURE__ */ h((t) => ({
|
|
341
|
+
name: t.name,
|
|
342
|
+
order: t.order ?? 0
|
|
343
|
+
}), "parseBranch"), Gr = /* @__PURE__ */ h((t) => ({
|
|
344
|
+
branch: t.branch,
|
|
345
|
+
id: t.id ?? "",
|
|
346
|
+
type: t.type !== void 0 ? u[t.type] : void 0,
|
|
347
|
+
tags: t.tags ?? void 0
|
|
348
|
+
}), "parseMerge"), Hr = /* @__PURE__ */ h((t) => t.branch, "parseCheckout"), Pr = /* @__PURE__ */ h((t) => {
|
|
349
|
+
var a;
|
|
350
|
+
return {
|
|
351
|
+
id: t.id,
|
|
352
|
+
targetId: "",
|
|
353
|
+
tags: ((a = t.tags) == null ? void 0 : a.length) === 0 ? void 0 : t.tags,
|
|
354
|
+
parent: t.parent
|
|
355
|
+
};
|
|
356
|
+
}, "parseCherryPicking"), Wr = {
|
|
357
|
+
parse: /* @__PURE__ */ h(async (t) => {
|
|
358
|
+
const r = await gr("gitGraph", t);
|
|
359
|
+
m.debug(r), Ir(r, X);
|
|
360
|
+
}, "parse")
|
|
361
|
+
}, S = rr(), b = S == null ? void 0 : S.gitGraph, R = 10, I = 40, k = 4, L = 2, O = 8, C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), P = 30, G = /* @__PURE__ */ new Map(), W = [], M = 0, x = "LR", jr = /* @__PURE__ */ h(() => {
|
|
362
|
+
C.clear(), E.clear(), G.clear(), M = 0, W = [], x = "LR";
|
|
363
|
+
}, "clear"), J = /* @__PURE__ */ h((t) => {
|
|
364
|
+
const r = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
365
|
+
return (typeof t == "string" ? t.split(/\\n|\n|<br\s*\/?>/gi) : t).forEach((s) => {
|
|
366
|
+
const e = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
367
|
+
e.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), e.setAttribute("dy", "1em"), e.setAttribute("x", "0"), e.setAttribute("class", "row"), e.textContent = s.trim(), r.appendChild(e);
|
|
368
|
+
}), r;
|
|
369
|
+
}, "drawText"), Q = /* @__PURE__ */ h((t) => {
|
|
370
|
+
let r, a, s;
|
|
371
|
+
return x === "BT" ? (a = /* @__PURE__ */ h((e, n) => e <= n, "comparisonFunc"), s = 1 / 0) : (a = /* @__PURE__ */ h((e, n) => e >= n, "comparisonFunc"), s = 0), t.forEach((e) => {
|
|
372
|
+
var c, o;
|
|
373
|
+
const n = x === "TB" || x == "BT" ? (c = E.get(e)) == null ? void 0 : c.y : (o = E.get(e)) == null ? void 0 : o.x;
|
|
374
|
+
n !== void 0 && a(n, s) && (r = e, s = n);
|
|
375
|
+
}), r;
|
|
376
|
+
}, "findClosestParent"), Sr = /* @__PURE__ */ h((t) => {
|
|
377
|
+
let r = "", a = 1 / 0;
|
|
378
|
+
return t.forEach((s) => {
|
|
379
|
+
const e = E.get(s).y;
|
|
380
|
+
e <= a && (r = s, a = e);
|
|
381
|
+
}), r || void 0;
|
|
382
|
+
}, "findClosestParentBT"), Ar = /* @__PURE__ */ h((t, r, a) => {
|
|
383
|
+
let s = a, e = a;
|
|
384
|
+
const n = [];
|
|
385
|
+
t.forEach((c) => {
|
|
386
|
+
const o = r.get(c);
|
|
387
|
+
if (!o)
|
|
388
|
+
throw new Error(`Commit not found for key ${c}`);
|
|
389
|
+
o.parents.length ? (s = Yr(o), e = Math.max(s, e)) : n.push(o), Kr(o, s);
|
|
390
|
+
}), s = e, n.forEach((c) => {
|
|
391
|
+
Nr(c, s, a);
|
|
392
|
+
}), t.forEach((c) => {
|
|
393
|
+
const o = r.get(c);
|
|
394
|
+
if (o != null && o.parents.length) {
|
|
395
|
+
const $ = Sr(o.parents);
|
|
396
|
+
s = E.get($).y - I, s <= e && (e = s);
|
|
397
|
+
const l = C.get(o.branch).pos, f = s - R;
|
|
398
|
+
E.set(o.id, { x: l, y: f });
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
}, "setParallelBTPos"), Dr = /* @__PURE__ */ h((t) => {
|
|
402
|
+
var s;
|
|
403
|
+
const r = Q(t.parents.filter((e) => e !== null));
|
|
404
|
+
if (!r)
|
|
405
|
+
throw new Error(`Closest parent not found for commit ${t.id}`);
|
|
406
|
+
const a = (s = E.get(r)) == null ? void 0 : s.y;
|
|
407
|
+
if (a === void 0)
|
|
408
|
+
throw new Error(`Closest parent position not found for commit ${t.id}`);
|
|
409
|
+
return a;
|
|
410
|
+
}, "findClosestParentPos"), Yr = /* @__PURE__ */ h((t) => Dr(t) + I, "calculateCommitPosition"), Kr = /* @__PURE__ */ h((t, r) => {
|
|
411
|
+
const a = C.get(t.branch);
|
|
412
|
+
if (!a)
|
|
413
|
+
throw new Error(`Branch not found for commit ${t.id}`);
|
|
414
|
+
const s = a.pos, e = r + R;
|
|
415
|
+
return E.set(t.id, { x: s, y: e }), { x: s, y: e };
|
|
416
|
+
}, "setCommitPosition"), Nr = /* @__PURE__ */ h((t, r, a) => {
|
|
417
|
+
const s = C.get(t.branch);
|
|
418
|
+
if (!s)
|
|
419
|
+
throw new Error(`Branch not found for commit ${t.id}`);
|
|
420
|
+
const e = r + a, n = s.pos;
|
|
421
|
+
E.set(t.id, { x: n, y: e });
|
|
422
|
+
}, "setRootPosition"), _r = /* @__PURE__ */ h((t, r, a, s, e, n) => {
|
|
423
|
+
if (n === u.HIGHLIGHT)
|
|
424
|
+
t.append("rect").attr("x", a.x - 10).attr("y", a.y - 10).attr("width", 20).attr("height", 20).attr(
|
|
425
|
+
"class",
|
|
426
|
+
`commit ${r.id} commit-highlight${e % O} ${s}-outer`
|
|
427
|
+
), t.append("rect").attr("x", a.x - 6).attr("y", a.y - 6).attr("width", 12).attr("height", 12).attr(
|
|
428
|
+
"class",
|
|
429
|
+
`commit ${r.id} commit${e % O} ${s}-inner`
|
|
430
|
+
);
|
|
431
|
+
else if (n === u.CHERRY_PICK)
|
|
432
|
+
t.append("circle").attr("cx", a.x).attr("cy", a.y).attr("r", 10).attr("class", `commit ${r.id} ${s}`), t.append("circle").attr("cx", a.x - 3).attr("cy", a.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("circle").attr("cx", a.x + 3).attr("cy", a.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("line").attr("x1", a.x + 3).attr("y1", a.y + 1).attr("x2", a.x).attr("y2", a.y - 5).attr("stroke", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("line").attr("x1", a.x - 3).attr("y1", a.y + 1).attr("x2", a.x).attr("y2", a.y - 5).attr("stroke", "#fff").attr("class", `commit ${r.id} ${s}`);
|
|
433
|
+
else {
|
|
434
|
+
const c = t.append("circle");
|
|
435
|
+
if (c.attr("cx", a.x), c.attr("cy", a.y), c.attr("r", r.type === u.MERGE ? 9 : 10), c.attr("class", `commit ${r.id} commit${e % O}`), n === u.MERGE) {
|
|
436
|
+
const o = t.append("circle");
|
|
437
|
+
o.attr("cx", a.x), o.attr("cy", a.y), o.attr("r", 6), o.attr(
|
|
438
|
+
"class",
|
|
439
|
+
`commit ${s} ${r.id} commit${e % O}`
|
|
440
|
+
);
|
|
441
|
+
}
|
|
442
|
+
n === u.REVERSE && t.append("path").attr(
|
|
443
|
+
"d",
|
|
444
|
+
`M ${a.x - 5},${a.y - 5}L${a.x + 5},${a.y + 5}M${a.x - 5},${a.y + 5}L${a.x + 5},${a.y - 5}`
|
|
445
|
+
).attr("class", `commit ${s} ${r.id} commit${e % O}`);
|
|
446
|
+
}
|
|
447
|
+
}, "drawCommitBullet"), Vr = /* @__PURE__ */ h((t, r, a, s) => {
|
|
448
|
+
var e;
|
|
449
|
+
if (r.type !== u.CHERRY_PICK && (r.customId && r.type === u.MERGE || r.type !== u.MERGE) && (b != null && b.showCommitLabel)) {
|
|
450
|
+
const n = t.append("g"), c = n.insert("rect").attr("class", "commit-label-bkg"), o = n.append("text").attr("x", s).attr("y", a.y + 25).attr("class", "commit-label").text(r.id), $ = (e = o.node()) == null ? void 0 : e.getBBox();
|
|
451
|
+
if ($ && (c.attr("x", a.posWithOffset - $.width / 2 - L).attr("y", a.y + 13.5).attr("width", $.width + 2 * L).attr("height", $.height + 2 * L), x === "TB" || x === "BT" ? (c.attr("x", a.x - ($.width + 4 * k + 5)).attr("y", a.y - 12), o.attr("x", a.x - ($.width + 4 * k)).attr("y", a.y + $.height - 12)) : o.attr("x", a.posWithOffset - $.width / 2), b.rotateCommitLabel))
|
|
452
|
+
if (x === "TB" || x === "BT")
|
|
453
|
+
o.attr(
|
|
454
|
+
"transform",
|
|
455
|
+
"rotate(-45, " + a.x + ", " + a.y + ")"
|
|
456
|
+
), c.attr(
|
|
457
|
+
"transform",
|
|
458
|
+
"rotate(-45, " + a.x + ", " + a.y + ")"
|
|
459
|
+
);
|
|
460
|
+
else {
|
|
461
|
+
const l = -7.5 - ($.width + 10) / 25 * 9.5, f = 10 + $.width / 25 * 8.5;
|
|
462
|
+
n.attr(
|
|
463
|
+
"transform",
|
|
464
|
+
"translate(" + l + ", " + f + ") rotate(-45, " + s + ", " + a.y + ")"
|
|
465
|
+
);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}, "drawCommitLabel"), Xr = /* @__PURE__ */ h((t, r, a, s) => {
|
|
469
|
+
var e;
|
|
470
|
+
if (r.tags.length > 0) {
|
|
471
|
+
let n = 0, c = 0, o = 0;
|
|
472
|
+
const $ = [];
|
|
473
|
+
for (const l of r.tags.reverse()) {
|
|
474
|
+
const f = t.insert("polygon"), g = t.append("circle"), d = t.append("text").attr("y", a.y - 16 - n).attr("class", "tag-label").text(l), y = (e = d.node()) == null ? void 0 : e.getBBox();
|
|
475
|
+
if (!y)
|
|
476
|
+
throw new Error("Tag bbox not found");
|
|
477
|
+
c = Math.max(c, y.width), o = Math.max(o, y.height), d.attr("x", a.posWithOffset - y.width / 2), $.push({
|
|
478
|
+
tag: d,
|
|
479
|
+
hole: g,
|
|
480
|
+
rect: f,
|
|
481
|
+
yOffset: n
|
|
482
|
+
}), n += 20;
|
|
483
|
+
}
|
|
484
|
+
for (const { tag: l, hole: f, rect: g, yOffset: d } of $) {
|
|
485
|
+
const y = o / 2, p = a.y - 19.2 - d;
|
|
486
|
+
if (g.attr("class", "tag-label-bkg").attr(
|
|
487
|
+
"points",
|
|
488
|
+
`
|
|
489
|
+
${s - c / 2 - k / 2},${p + L}
|
|
490
|
+
${s - c / 2 - k / 2},${p - L}
|
|
491
|
+
${a.posWithOffset - c / 2 - k},${p - y - L}
|
|
492
|
+
${a.posWithOffset + c / 2 + k},${p - y - L}
|
|
493
|
+
${a.posWithOffset + c / 2 + k},${p + y + L}
|
|
494
|
+
${a.posWithOffset - c / 2 - k},${p + y + L}`
|
|
495
|
+
), f.attr("cy", p).attr("cx", s - c / 2 + k / 2).attr("r", 1.5).attr("class", "tag-hole"), x === "TB" || x === "BT") {
|
|
496
|
+
const w = s + d;
|
|
497
|
+
g.attr("class", "tag-label-bkg").attr(
|
|
498
|
+
"points",
|
|
499
|
+
`
|
|
500
|
+
${a.x},${w + 2}
|
|
501
|
+
${a.x},${w - 2}
|
|
502
|
+
${a.x + R},${w - y - 2}
|
|
503
|
+
${a.x + R + c + 4},${w - y - 2}
|
|
504
|
+
${a.x + R + c + 4},${w + y + 2}
|
|
505
|
+
${a.x + R},${w + y + 2}`
|
|
506
|
+
).attr("transform", "translate(12,12) rotate(45, " + a.x + "," + s + ")"), f.attr("cx", a.x + k / 2).attr("cy", w).attr("transform", "translate(12,12) rotate(45, " + a.x + "," + s + ")"), l.attr("x", a.x + 5).attr("y", w + 3).attr("transform", "translate(14,14) rotate(45, " + a.x + "," + s + ")");
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}, "drawCommitTags"), Jr = /* @__PURE__ */ h((t) => {
|
|
511
|
+
switch (t.customType ?? t.type) {
|
|
512
|
+
case u.NORMAL:
|
|
513
|
+
return "commit-normal";
|
|
514
|
+
case u.REVERSE:
|
|
515
|
+
return "commit-reverse";
|
|
516
|
+
case u.HIGHLIGHT:
|
|
517
|
+
return "commit-highlight";
|
|
518
|
+
case u.MERGE:
|
|
519
|
+
return "commit-merge";
|
|
520
|
+
case u.CHERRY_PICK:
|
|
521
|
+
return "commit-cherry-pick";
|
|
522
|
+
default:
|
|
523
|
+
return "commit-normal";
|
|
524
|
+
}
|
|
525
|
+
}, "getCommitClassType"), Qr = /* @__PURE__ */ h((t, r, a, s) => {
|
|
526
|
+
const e = { x: 0, y: 0 };
|
|
527
|
+
if (t.parents.length > 0) {
|
|
528
|
+
const n = Q(t.parents);
|
|
529
|
+
if (n) {
|
|
530
|
+
const c = s.get(n) ?? e;
|
|
531
|
+
return r === "TB" ? c.y + I : r === "BT" ? (s.get(t.id) ?? e).y - I : c.x + I;
|
|
532
|
+
}
|
|
533
|
+
} else
|
|
534
|
+
return r === "TB" ? P : r === "BT" ? (s.get(t.id) ?? e).y - I : 0;
|
|
535
|
+
return 0;
|
|
536
|
+
}, "calculatePosition"), Zr = /* @__PURE__ */ h((t, r, a) => {
|
|
537
|
+
var c, o;
|
|
538
|
+
const s = x === "BT" && a ? r : r + R, e = x === "TB" || x === "BT" ? s : (c = C.get(t.branch)) == null ? void 0 : c.pos, n = x === "TB" || x === "BT" ? (o = C.get(t.branch)) == null ? void 0 : o.pos : s;
|
|
539
|
+
if (n === void 0 || e === void 0)
|
|
540
|
+
throw new Error(`Position were undefined for commit ${t.id}`);
|
|
541
|
+
return { x: n, y: e, posWithOffset: s };
|
|
542
|
+
}, "getCommitPosition"), K = /* @__PURE__ */ h((t, r, a) => {
|
|
543
|
+
if (!b)
|
|
544
|
+
throw new Error("GitGraph config not found");
|
|
545
|
+
const s = t.append("g").attr("class", "commit-bullets"), e = t.append("g").attr("class", "commit-labels");
|
|
546
|
+
let n = x === "TB" || x === "BT" ? P : 0;
|
|
547
|
+
const c = [...r.keys()], o = (b == null ? void 0 : b.parallelCommits) ?? !1, $ = /* @__PURE__ */ h((f, g) => {
|
|
548
|
+
var p, w;
|
|
549
|
+
const d = (p = r.get(f)) == null ? void 0 : p.seq, y = (w = r.get(g)) == null ? void 0 : w.seq;
|
|
550
|
+
return d !== void 0 && y !== void 0 ? d - y : 0;
|
|
551
|
+
}, "sortKeys");
|
|
552
|
+
let l = c.sort($);
|
|
553
|
+
x === "BT" && (o && Ar(l, r, n), l = l.reverse()), l.forEach((f) => {
|
|
554
|
+
var y;
|
|
555
|
+
const g = r.get(f);
|
|
556
|
+
if (!g)
|
|
557
|
+
throw new Error(`Commit not found for key ${f}`);
|
|
558
|
+
o && (n = Qr(g, x, n, E));
|
|
559
|
+
const d = Zr(g, n, o);
|
|
560
|
+
if (a) {
|
|
561
|
+
const p = Jr(g), w = g.customType ?? g.type, q = ((y = C.get(g.branch)) == null ? void 0 : y.index) ?? 0;
|
|
562
|
+
_r(s, g, d, p, q, w), Vr(e, g, d, n), Xr(e, g, d, n);
|
|
563
|
+
}
|
|
564
|
+
x === "TB" || x === "BT" ? E.set(g.id, { x: d.x, y: d.posWithOffset }) : E.set(g.id, { x: d.posWithOffset, y: d.y }), n = x === "BT" && o ? n + I : n + I + R, n > M && (M = n);
|
|
565
|
+
});
|
|
566
|
+
}, "drawCommits"), Fr = /* @__PURE__ */ h((t, r, a, s, e) => {
|
|
567
|
+
const c = (x === "TB" || x === "BT" ? a.x < s.x : a.y < s.y) ? r.branch : t.branch, o = /* @__PURE__ */ h((l) => l.branch === c, "isOnBranchToGetCurve"), $ = /* @__PURE__ */ h((l) => l.seq > t.seq && l.seq < r.seq, "isBetweenCommits");
|
|
568
|
+
return [...e.values()].some((l) => $(l) && o(l));
|
|
569
|
+
}, "shouldRerouteArrow"), H = /* @__PURE__ */ h((t, r, a = 0) => {
|
|
570
|
+
const s = t + Math.abs(t - r) / 2;
|
|
571
|
+
if (a > 5)
|
|
572
|
+
return s;
|
|
573
|
+
if (W.every((c) => Math.abs(c - s) >= 10))
|
|
574
|
+
return W.push(s), s;
|
|
575
|
+
const n = Math.abs(t - r);
|
|
576
|
+
return H(t, r - n / 5, a + 1);
|
|
577
|
+
}, "findLane"), Ur = /* @__PURE__ */ h((t, r, a, s) => {
|
|
578
|
+
var y, p, w, q, Y;
|
|
579
|
+
const e = E.get(r.id), n = E.get(a.id);
|
|
580
|
+
if (e === void 0 || n === void 0)
|
|
581
|
+
throw new Error(`Commit positions not found for commits ${r.id} and ${a.id}`);
|
|
582
|
+
const c = Fr(r, a, e, n, s);
|
|
583
|
+
let o = "", $ = "", l = 0, f = 0, g = (y = C.get(a.branch)) == null ? void 0 : y.index;
|
|
584
|
+
a.type === u.MERGE && r.id !== a.parents[0] && (g = (p = C.get(r.branch)) == null ? void 0 : p.index);
|
|
585
|
+
let d;
|
|
586
|
+
if (c) {
|
|
587
|
+
o = "A 10 10, 0, 0, 0,", $ = "A 10 10, 0, 0, 1,", l = 10, f = 10;
|
|
588
|
+
const T = e.y < n.y ? H(e.y, n.y) : H(n.y, e.y), v = e.x < n.x ? H(e.x, n.x) : H(n.x, e.x);
|
|
589
|
+
x === "TB" ? e.x < n.x ? d = `M ${e.x} ${e.y} L ${v - l} ${e.y} ${$} ${v} ${e.y + f} L ${v} ${n.y - l} ${o} ${v + f} ${n.y} L ${n.x} ${n.y}` : (g = (w = C.get(r.branch)) == null ? void 0 : w.index, d = `M ${e.x} ${e.y} L ${v + l} ${e.y} ${o} ${v} ${e.y + f} L ${v} ${n.y - l} ${$} ${v - f} ${n.y} L ${n.x} ${n.y}`) : x === "BT" ? e.x < n.x ? d = `M ${e.x} ${e.y} L ${v - l} ${e.y} ${o} ${v} ${e.y - f} L ${v} ${n.y + l} ${$} ${v + f} ${n.y} L ${n.x} ${n.y}` : (g = (q = C.get(r.branch)) == null ? void 0 : q.index, d = `M ${e.x} ${e.y} L ${v + l} ${e.y} ${$} ${v} ${e.y - f} L ${v} ${n.y + l} ${o} ${v - f} ${n.y} L ${n.x} ${n.y}`) : e.y < n.y ? d = `M ${e.x} ${e.y} L ${e.x} ${T - l} ${o} ${e.x + f} ${T} L ${n.x - l} ${T} ${$} ${n.x} ${T + f} L ${n.x} ${n.y}` : (g = (Y = C.get(r.branch)) == null ? void 0 : Y.index, d = `M ${e.x} ${e.y} L ${e.x} ${T + l} ${$} ${e.x + f} ${T} L ${n.x - l} ${T} ${o} ${n.x} ${T - f} L ${n.x} ${n.y}`);
|
|
590
|
+
} else
|
|
591
|
+
o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, x === "TB" ? (e.x < n.x && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${o} ${e.x + f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${$} ${n.x} ${e.y + f} L ${n.x} ${n.y}`), e.x > n.x && (o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${$} ${e.x - f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x + l} ${e.y} ${o} ${n.x} ${e.y + f} L ${n.x} ${n.y}`), e.x === n.x && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`)) : x === "BT" ? (e.x < n.x && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${$} ${e.x + f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}`), e.x > n.x && (o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${o} ${e.x - f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}`), e.x === n.x && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`)) : (e.y < n.y && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${$} ${n.x} ${e.y + f} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${o} ${e.x + f} ${n.y} L ${n.x} ${n.y}`), e.y > n.y && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${$} ${e.x + f} ${n.y} L ${n.x} ${n.y}`), e.y === n.y && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`));
|
|
592
|
+
if (d === void 0)
|
|
593
|
+
throw new Error("Line definition not found");
|
|
594
|
+
t.append("path").attr("d", d).attr("class", "arrow arrow" + g % O);
|
|
595
|
+
}, "drawArrow"), re = /* @__PURE__ */ h((t, r) => {
|
|
596
|
+
const a = t.append("g").attr("class", "commit-arrows");
|
|
597
|
+
[...r.keys()].forEach((s) => {
|
|
598
|
+
const e = r.get(s);
|
|
599
|
+
e.parents && e.parents.length > 0 && e.parents.forEach((n) => {
|
|
600
|
+
Ur(a, r.get(n), e, r);
|
|
601
|
+
});
|
|
602
|
+
});
|
|
603
|
+
}, "drawArrows"), ee = /* @__PURE__ */ h((t, r) => {
|
|
604
|
+
const a = t.append("g");
|
|
605
|
+
r.forEach((s, e) => {
|
|
606
|
+
var p;
|
|
607
|
+
const n = e % O, c = (p = C.get(s.name)) == null ? void 0 : p.pos;
|
|
608
|
+
if (c === void 0)
|
|
609
|
+
throw new Error(`Position not found for branch ${s.name}`);
|
|
610
|
+
const o = a.append("line");
|
|
611
|
+
o.attr("x1", 0), o.attr("y1", c), o.attr("x2", M), o.attr("y2", c), o.attr("class", "branch branch" + n), x === "TB" ? (o.attr("y1", P), o.attr("x1", c), o.attr("y2", M), o.attr("x2", c)) : x === "BT" && (o.attr("y1", M), o.attr("x1", c), o.attr("y2", P), o.attr("x2", c)), W.push(c);
|
|
612
|
+
const $ = s.name, l = J($), f = a.insert("rect"), d = a.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + n);
|
|
613
|
+
d.node().appendChild(l);
|
|
614
|
+
const y = l.getBBox();
|
|
615
|
+
f.attr("class", "branchLabelBkg label" + n).attr("rx", 4).attr("ry", 4).attr("x", -y.width - 4 - ((b == null ? void 0 : b.rotateCommitLabel) === !0 ? 30 : 0)).attr("y", -y.height / 2 + 8).attr("width", y.width + 18).attr("height", y.height + 4), d.attr(
|
|
616
|
+
"transform",
|
|
617
|
+
"translate(" + (-y.width - 14 - ((b == null ? void 0 : b.rotateCommitLabel) === !0 ? 30 : 0)) + ", " + (c - y.height / 2 - 1) + ")"
|
|
618
|
+
), x === "TB" ? (f.attr("x", c - y.width / 2 - 10).attr("y", 0), d.attr("transform", "translate(" + (c - y.width / 2 - 5) + ", 0)")) : x === "BT" ? (f.attr("x", c - y.width / 2 - 10).attr("y", M), d.attr("transform", "translate(" + (c - y.width / 2 - 5) + ", " + M + ")")) : f.attr("transform", "translate(-19, " + (c - y.height / 2) + ")");
|
|
619
|
+
});
|
|
620
|
+
}, "drawBranches"), te = /* @__PURE__ */ h(function(t, r, a, s, e) {
|
|
621
|
+
return C.set(t, { pos: r, index: a }), r += 50 + (e ? 40 : 0) + (x === "TB" || x === "BT" ? s.width / 2 : 0), r;
|
|
622
|
+
}, "setBranchPosition"), ae = /* @__PURE__ */ h(function(t, r, a, s) {
|
|
623
|
+
if (jr(), m.debug("in gitgraph renderer", t + `
|
|
624
|
+
`, "id:", r, a), !b)
|
|
625
|
+
throw new Error("GitGraph config not found");
|
|
626
|
+
const e = b.rotateCommitLabel ?? !1, n = s.db;
|
|
627
|
+
G = n.getCommits();
|
|
628
|
+
const c = n.getBranchesAsObjArray();
|
|
629
|
+
x = n.getDirection();
|
|
630
|
+
const o = lr(`[id="${r}"]`);
|
|
631
|
+
let $ = 0;
|
|
632
|
+
c.forEach((l, f) => {
|
|
633
|
+
var q;
|
|
634
|
+
const g = J(l.name), d = o.append("g"), y = d.insert("g").attr("class", "branchLabel"), p = y.insert("g").attr("class", "label branch-label");
|
|
635
|
+
(q = p.node()) == null || q.appendChild(g);
|
|
636
|
+
const w = g.getBBox();
|
|
637
|
+
$ = te(l.name, $, f, w, e), p.remove(), y.remove(), d.remove();
|
|
638
|
+
}), K(o, G, !1), b.showBranches && ee(o, c), re(o, G), K(o, G, !0), $r.insertTitle(
|
|
639
|
+
o,
|
|
640
|
+
"gitTitleText",
|
|
641
|
+
b.titleTopMargin ?? 0,
|
|
642
|
+
n.getDiagramTitle()
|
|
643
|
+
), fr(
|
|
644
|
+
void 0,
|
|
645
|
+
o,
|
|
646
|
+
b.diagramPadding,
|
|
647
|
+
b.useMaxWidth
|
|
648
|
+
);
|
|
649
|
+
}, "draw"), ne = {
|
|
650
|
+
draw: ae
|
|
651
|
+
}, se = /* @__PURE__ */ h((t) => `
|
|
652
|
+
.commit-id,
|
|
653
|
+
.commit-msg,
|
|
654
|
+
.branch-label {
|
|
655
|
+
fill: lightgrey;
|
|
656
|
+
color: lightgrey;
|
|
657
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
658
|
+
font-family: var(--mermaid-font-family);
|
|
659
|
+
}
|
|
660
|
+
${[0, 1, 2, 3, 4, 5, 6, 7].map(
|
|
661
|
+
(r) => `
|
|
662
|
+
.branch-label${r} { fill: ${t["gitBranchLabel" + r]}; }
|
|
663
|
+
.commit${r} { stroke: ${t["git" + r]}; fill: ${t["git" + r]}; }
|
|
664
|
+
.commit-highlight${r} { stroke: ${t["gitInv" + r]}; fill: ${t["gitInv" + r]}; }
|
|
665
|
+
.label${r} { fill: ${t["git" + r]}; }
|
|
666
|
+
.arrow${r} { stroke: ${t["git" + r]}; }
|
|
667
|
+
`
|
|
668
|
+
).join(`
|
|
669
|
+
`)}
|
|
670
|
+
|
|
671
|
+
.branch {
|
|
672
|
+
stroke-width: 1;
|
|
673
|
+
stroke: ${t.lineColor};
|
|
674
|
+
stroke-dasharray: 2;
|
|
675
|
+
}
|
|
676
|
+
.commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}
|
|
677
|
+
.commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }
|
|
678
|
+
.tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
|
|
679
|
+
.tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }
|
|
680
|
+
.tag-hole { fill: ${t.textColor}; }
|
|
681
|
+
|
|
682
|
+
.commit-merge {
|
|
683
|
+
stroke: ${t.primaryColor};
|
|
684
|
+
fill: ${t.primaryColor};
|
|
685
|
+
}
|
|
686
|
+
.commit-reverse {
|
|
687
|
+
stroke: ${t.primaryColor};
|
|
688
|
+
fill: ${t.primaryColor};
|
|
689
|
+
stroke-width: 3;
|
|
690
|
+
}
|
|
691
|
+
.commit-highlight-outer {
|
|
692
|
+
}
|
|
693
|
+
.commit-highlight-inner {
|
|
694
|
+
stroke: ${t.primaryColor};
|
|
695
|
+
fill: ${t.primaryColor};
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
|
|
699
|
+
.gitTitleText {
|
|
700
|
+
text-anchor: middle;
|
|
701
|
+
font-size: 18px;
|
|
702
|
+
fill: ${t.textColor};
|
|
703
|
+
}
|
|
704
|
+
`, "getStyles"), oe = se, le = {
|
|
705
|
+
parser: Wr,
|
|
706
|
+
db: X,
|
|
707
|
+
renderer: ne,
|
|
708
|
+
styles: oe
|
|
709
|
+
};
|
|
710
|
+
export {
|
|
711
|
+
le as diagram
|
|
712
|
+
};
|