netstar-ai-chat 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +112 -0
- package/dist/ChatPanel/AgentPicker.vue.d.ts +94 -0
- package/dist/ChatPanel/SubAgentNode.vue.d.ts +23 -0
- package/dist/ChatPanel/ToolCallNode.vue.d.ts +33 -0
- package/dist/ChatPanel/ToolRenders/SaveModuleDocsRenderer.vue.d.ts +33 -0
- package/dist/ChatPanel/ToolRenders/defaultToolRenderers.d.ts +4 -0
- package/dist/ChatPanel/WriteTodosTopPanel.vue.d.ts +20 -0
- package/dist/ChatPanel/index.vue.d.ts +117 -0
- package/dist/CodeBlockNode-CTasgSPs.cjs +1 -0
- package/dist/CodeBlockNode-DuMNoiwD.js +1245 -0
- package/dist/Serializer-CXJ0fE5z.js +249 -0
- package/dist/Serializer-fgUokho9.cjs +1 -0
- package/dist/StreamMarkdown/StreamMarkdown.vue.d.ts +29 -0
- package/dist/StreamMarkdown/components/CodeBlockNode.vue.d.ts +13 -0
- package/dist/StreamMarkdown/components/ThinkNode.vue.d.ts +20 -0
- package/dist/StreamMarkdown/components/copyToClipboard.d.ts +5 -0
- package/dist/StreamMarkdown/type.d.ts +9 -0
- package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-ConVUPun.cjs +1 -0
- package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-yxSn8jeO.js +5 -0
- package/dist/_baseClone-D3YkUt7B.cjs +1 -0
- package/dist/_baseClone-M9Eo-ngy.js +228 -0
- package/dist/abap-pyAsOErv.cjs +1 -0
- package/dist/abap-w3onj0rB.js +3 -0
- package/dist/abnfDiagram-VRR7QNED-BZIwESBc.js +89 -0
- package/dist/abnfDiagram-VRR7QNED-CbMhyWtU.cjs +1 -0
- package/dist/actionscript-3-BOqnK-sH.js +3 -0
- package/dist/actionscript-3-CzNUYu3T.cjs +1 -0
- package/dist/ada-BLw2DNCr.cjs +1 -0
- package/dist/ada-ZOYhNhP6.js +3 -0
- package/dist/andromeeda-BK7KK1TI.cjs +1 -0
- package/dist/andromeeda-D6zxFn77.js +4 -0
- package/dist/angular-html-CM15CIR-.js +16 -0
- package/dist/angular-html-CtqN3w77.cjs +1 -0
- package/dist/angular-ts-BZbyXOyX.cjs +1 -0
- package/dist/angular-ts-D_WjBMhi.js +18 -0
- package/dist/apache-DdGV2gIX.cjs +1 -0
- package/dist/apache-rcSYX-LI.js +3 -0
- package/dist/apex-BQsSAFNB.cjs +1 -0
- package/dist/apex-C-w0vHe4.js +3 -0
- package/dist/apl-CFUDRIMH.cjs +1 -0
- package/dist/apl-DEY32kA8.js +16 -0
- package/dist/applescript-BAJgLR5K.cjs +1 -0
- package/dist/applescript-BCUU8TOE.js +3 -0
- package/dist/ara-B4SncdQz.js +3 -0
- package/dist/ara-DSlRoA1z.cjs +1 -0
- package/dist/arc-BxwVc1OP.js +80 -0
- package/dist/arc-DcUn9_NX.cjs +1 -0
- package/dist/architecture-TIHT7OUA-BePVesqR.cjs +1 -0
- package/dist/architecture-TIHT7OUA-CdCN4XW2.js +3 -0
- package/dist/architectureDiagram-ZJ3FMSHR-DhyGcAG9.cjs +36 -0
- package/dist/architectureDiagram-ZJ3FMSHR-pJBnYWx2.js +4120 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/array-DZSRzHA_.cjs +1 -0
- package/dist/asciidoc-CSnR5M0p.cjs +1 -0
- package/dist/asciidoc-DZyZo06c.js +3 -0
- package/dist/asm-BmB_X3A_.js +3 -0
- package/dist/asm-zib-OSTh.cjs +1 -0
- package/dist/astro-BApYg9cK.cjs +1 -0
- package/dist/astro-Bk1s2QoB.js +16 -0
- package/dist/aurora-x-BF78MGx3.cjs +1 -0
- package/dist/aurora-x-Tc1Eqrl5.js +4 -0
- package/dist/awk-BYQNbw8p.cjs +1 -0
- package/dist/awk-C3bvZdNY.js +3 -0
- package/dist/ayu-dark-ClxspuCB.cjs +1 -0
- package/dist/ayu-dark-cVPWKu1C.js +4 -0
- package/dist/ballerina-BPk8Fg7E.cjs +1 -0
- package/dist/ballerina-Bp92mgFe.js +3 -0
- package/dist/bat-7FZ8F5O4.cjs +1 -0
- package/dist/bat-CXbg7Xg3.js +3 -0
- package/dist/beancount-DCtU0rYp.cjs +1 -0
- package/dist/beancount-DmmCjryt.js +3 -0
- package/dist/berry-D8ITycFg.cjs +1 -0
- package/dist/berry-DiFcr1nX.js +3 -0
- package/dist/bibtex-CmGvn0fl.js +3 -0
- package/dist/bibtex-YVvMHIoL.cjs +1 -0
- package/dist/bicep-DDIPSBse.cjs +1 -0
- package/dist/bicep-zPtP3CSU.js +3 -0
- package/dist/blade-aYJa4e4Z.js +18 -0
- package/dist/blade-s0X0QSRt.cjs +1 -0
- package/dist/blockDiagram-677ZJIJ3-BXsjcvEy.cjs +132 -0
- package/dist/blockDiagram-677ZJIJ3-DUfdZ59z.js +3160 -0
- package/dist/bsl-2e5sJ_f2.js +5 -0
- package/dist/bsl-Boo9Znnk.cjs +1 -0
- package/dist/c-CtSegEhe.cjs +1 -0
- package/dist/c-DOHa0HhF.js +5 -0
- package/dist/c4Diagram-LMCZKHZV-CupZJT9_.cjs +10 -0
- package/dist/c4Diagram-LMCZKHZV-XVBQkiBu.js +2962 -0
- package/dist/cadence-BdOzwJ16.cjs +1 -0
- package/dist/cadence-DKZt82SN.js +3 -0
- package/dist/cairo-D7N4wIlJ.js +5 -0
- package/dist/cairo-yxjWoJOX.cjs +1 -0
- package/dist/catppuccin-frappe-BgIo7C1L.js +4 -0
- package/dist/catppuccin-frappe-lMRSGXsq.cjs +1 -0
- package/dist/catppuccin-latte-DACltl2d.js +4 -0
- package/dist/catppuccin-latte-DvhQrqwX.cjs +1 -0
- package/dist/catppuccin-macchiato-D_87UlHU.js +4 -0
- package/dist/catppuccin-macchiato-SYJuf56p.cjs +1 -0
- package/dist/catppuccin-mocha-btILUzM9.js +4 -0
- package/dist/catppuccin-mocha-nV-o7gzF.cjs +1 -0
- package/dist/channel-B_58s50a.js +5 -0
- package/dist/channel-CftZUi3r.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
- package/dist/chunk-32BRIVSS-DUxAI9Oa.cjs +1 -0
- package/dist/chunk-32BRIVSS-O-rQI_k2.js +61 -0
- package/dist/chunk-52WLFC77-B-_tvcsL.js +590 -0
- package/dist/chunk-52WLFC77-SZUA2rNI.cjs +10 -0
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
- package/dist/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
- package/dist/chunk-7BUUIJ7U-B018BbRy.js +82 -0
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
- package/dist/chunk-C7G6YPKG-D1CB1CXU.js +67 -0
- package/dist/chunk-C7G6YPKG-HH-he6SO.cjs +1 -0
- package/dist/chunk-EX3LRPZG-D0TH5Vrj.js +2046 -0
- package/dist/chunk-EX3LRPZG-DgwSD7VR.cjs +231 -0
- package/dist/chunk-FWX5IMBZ-CCaqRbxb.cjs +1 -0
- package/dist/chunk-FWX5IMBZ-c8mJHkIt.js +57 -0
- package/dist/chunk-HOUHSVGY-CqEBw5yz.cjs +1 -0
- package/dist/chunk-HOUHSVGY-D13Pk7nF.js +277 -0
- package/dist/chunk-ICXQ74PX-Bq9mKzdP.js +1369 -0
- package/dist/chunk-ICXQ74PX-TcRXMN1n.cjs +2 -0
- package/dist/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
- package/dist/chunk-KEIR6QF5-CNjhxe7N.cjs +161 -0
- package/dist/chunk-KEIR6QF5-yJg1YNda.js +21383 -0
- package/dist/chunk-MOJQB5TN-BOC0rggK.js +490 -0
- package/dist/chunk-MOJQB5TN-CSjPQYln.cjs +88 -0
- package/dist/chunk-OGEWGWER-BYjMhJGb.js +32 -0
- package/dist/chunk-OGEWGWER-Bzj7N4Ii.cjs +1 -0
- package/dist/chunk-PUDLZKDR-D18W-L-L.js +4142 -0
- package/dist/chunk-PUDLZKDR-JbFT5hiR.cjs +156 -0
- package/dist/chunk-Q4XR5HBZ-DATOcgxL.cjs +70 -0
- package/dist/chunk-Q4XR5HBZ-DwgV8nWo.js +1628 -0
- package/dist/chunk-RYQCIY6F-Budeukwp.cjs +1 -0
- package/dist/chunk-RYQCIY6F-CTIaeOkt.js +240 -0
- package/dist/chunk-V7JOEXUC-BYc3FcMK.js +3357 -0
- package/dist/chunk-V7JOEXUC-Wa1_qMKV.cjs +206 -0
- package/dist/chunk-VAUOI2AC-3AGHwQI8.cjs +1 -0
- package/dist/chunk-VAUOI2AC-D4COVrqB.js +10 -0
- package/dist/chunk-VR4S4FIN-BBKjPbG_.js +26 -0
- package/dist/chunk-VR4S4FIN-DXfCPsY8.cjs +1 -0
- package/dist/chunk-WYO6CB5R-DNtzmu_Z.cjs +127 -0
- package/dist/chunk-WYO6CB5R-DVUXWnvM.js +3736 -0
- package/dist/chunk-XXDRQBXY-DWq_A1Wb.js +9 -0
- package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
- package/dist/chunk-ZGVPDNZ5-CYGK4FNM.js +3736 -0
- package/dist/chunk-ZGVPDNZ5-Ch-mMgcC.cjs +62 -0
- package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
- package/dist/chunk-ZIRB5QZD-DLqc5SfA.js +1146 -0
- package/dist/clarity-DnwH_oaR.js +3 -0
- package/dist/clarity-mvj5EDZ5.cjs +1 -0
- package/dist/classDiagram-OUVF2IWQ-BPcmQYGc.js +30 -0
- package/dist/classDiagram-OUVF2IWQ-CMJ1dZOd.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-CMJ1dZOd.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-C_A6LIqp.js +30 -0
- package/dist/clojure-C64DxiGB.cjs +1 -0
- package/dist/clojure-DQex2ThW.js +3 -0
- package/dist/cmake-BvNQeWu_.cjs +1 -0
- package/dist/cmake-C4lGF15i.js +3 -0
- package/dist/cobol-B6D1w50i.cjs +1 -0
- package/dist/cobol-f_8vDiHm.js +10 -0
- package/dist/codeowners-a_Z0p9_y.js +3 -0
- package/dist/codeowners-jShtr2Jw.cjs +1 -0
- package/dist/codeql-B0nK9JGf.js +3 -0
- package/dist/codeql-svt7Eror.cjs +1 -0
- package/dist/coffee-CIzsduL9.cjs +1 -0
- package/dist/coffee-D2SRpDoy.js +5 -0
- package/dist/common-lisp-BX8N9UvD.js +3 -0
- package/dist/common-lisp-Dd1YOGnK.cjs +1 -0
- package/dist/coq-B9dKr70z.cjs +1 -0
- package/dist/coq-CvkpvpO8.js +3 -0
- package/dist/cose-bilkent-JH36ORCC-DpRqLdKD.js +2251 -0
- package/dist/cose-bilkent-JH36ORCC-J0CMLAR2.cjs +1 -0
- package/dist/cpp-9IaFKtqm.cjs +1 -0
- package/dist/cpp-BWBwL8H2.js +19 -0
- package/dist/crystal-Bu5wFOgG.cjs +1 -0
- package/dist/crystal-DZ0RRcQB.js +18 -0
- package/dist/csharp-BSn8IIds.js +3 -0
- package/dist/csharp-DL064tVH.cjs +1 -0
- package/dist/css-CARKKeVZ.js +5 -0
- package/dist/css-Dedc30a-.cjs +1 -0
- package/dist/csv-CyUbk12o.js +3 -0
- package/dist/csv-yb5ne98b.cjs +1 -0
- package/dist/cue-BMD_ZKqV.js +3 -0
- package/dist/cue-BsqD5mfq.cjs +1 -0
- package/dist/cynefin-VYW2F7L2-D56X6uF-.js +3 -0
- package/dist/cynefin-VYW2F7L2-DfMKgfBn.cjs +1 -0
- package/dist/cynefinDiagram-TSTJHNR4-Ccm1ka2e.cjs +62 -0
- package/dist/cynefinDiagram-TSTJHNR4-LkTzYNHk.js +349 -0
- package/dist/cypher-CmLM-pVb.cjs +1 -0
- package/dist/cypher-MBxXk8fI.js +3 -0
- package/dist/cytoscape.esm-BJfLlyzE.cjs +321 -0
- package/dist/cytoscape.esm-CjrrPC2e.js +18151 -0
- package/dist/d-B1zD62h2.cjs +1 -0
- package/dist/d-Dr6f0t8l.js +3 -0
- package/dist/d2_markstream-vue-C462TwwW.js +5 -0
- package/dist/d2_markstream-vue-hk4WzRHI.cjs +1 -0
- package/dist/dagre-Cdkj1zk3.js +1603 -0
- package/dist/dagre-RL-7--pi.cjs +1 -0
- package/dist/dagre-VKFMJZFB-BTuSjqsN.js +326 -0
- package/dist/dagre-VKFMJZFB-D-LL1taY.cjs +4 -0
- package/dist/dark-plus-BiFR5lqb.js +4 -0
- package/dist/dark-plus-g9uFu8Uo.cjs +1 -0
- package/dist/dart-B-IpsYek.cjs +1 -0
- package/dist/dart-BKVVcZnx.js +3 -0
- package/dist/dax-DGyoV51j.cjs +1 -0
- package/dist/dax-julDJwHn.js +3 -0
- package/dist/defaultLocale-aSMWOJHq.js +201 -0
- package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
- package/dist/desktop-C7pIXmgL.cjs +1 -0
- package/dist/desktop-DN7gePkB.js +3 -0
- package/dist/diagram-FQU43EPY-DXRLbyr1.cjs +3 -0
- package/dist/diagram-FQU43EPY-Nd_0dBIp.js +432 -0
- package/dist/diagram-G47NLZAW-C6QidYrt.cjs +24 -0
- package/dist/diagram-G47NLZAW-DsbgcrAn.js +525 -0
- package/dist/diagram-NH7WQ7WH-BIir8UdD.cjs +24 -0
- package/dist/diagram-NH7WQ7WH-LBvy80o5.js +134 -0
- package/dist/diagram-OA4YK3LP-B6zIeHZO.cjs +30 -0
- package/dist/diagram-OA4YK3LP-wIkZDLSU.js +300 -0
- package/dist/diagram-WEI45ONY-DoJT44KW.cjs +41 -0
- package/dist/diagram-WEI45ONY-DuODSE5u.js +214 -0
- package/dist/diff-Pd8fJfZO.cjs +1 -0
- package/dist/diff-jiFCwOef.js +3 -0
- package/dist/dist-BD0EaJeM.js +42 -0
- package/dist/dist-BPaCZ1IA.cjs +3 -0
- package/dist/dist-BtUTYFnJ.js +6360 -0
- package/dist/dist-BxWvDA4U.js +59 -0
- package/dist/dist-CCXt4qM3.cjs +8 -0
- package/dist/dist-CS9eMk17.js +1588 -0
- package/dist/dist-Cu0Z5KOd.cjs +12 -0
- package/dist/dist-DNGlMOWd.cjs +1 -0
- package/dist/docker-DMpUQ2UE.js +3 -0
- package/dist/docker-OqFhd4tF.cjs +1 -0
- package/dist/dotenv-BNXs3SVk.js +3 -0
- package/dist/dotenv-skQA6mID.cjs +1 -0
- package/dist/dracula-B9CfY-AT.cjs +1 -0
- package/dist/dracula-DiGCm6b4.js +4 -0
- package/dist/dracula-soft-C5LEeGj9.js +4 -0
- package/dist/dracula-soft-IAqLIxBv.cjs +1 -0
- package/dist/dream-maker-DMoKJVoA.js +3 -0
- package/dist/dream-maker-Kuay-eJE.cjs +1 -0
- package/dist/ebnfDiagram-CCIWWBDH-BPnqNNpq.js +100 -0
- package/dist/ebnfDiagram-CCIWWBDH-BVWfIZk7.cjs +1 -0
- package/dist/edge-DPKc6QBW.cjs +1 -0
- package/dist/edge-DewrpuZI.js +12 -0
- package/dist/elixir-BHncl6yR.js +5 -0
- package/dist/elixir-Bz8PD4t1.cjs +1 -0
- package/dist/elm-DFucj7BB.cjs +1 -0
- package/dist/elm-DQTVghsR.js +5 -0
- package/dist/emacs-lisp-BLYG10aJ.js +3 -0
- package/dist/emacs-lisp-DjdBmCDP.cjs +1 -0
- package/dist/erDiagram-Q63AITRT-BDhFo6C9.cjs +85 -0
- package/dist/erDiagram-Q63AITRT-DT6IAJLm.js +1727 -0
- package/dist/erb-BCBUKD2W.js +10 -0
- package/dist/erb-BrUkDVI_.cjs +1 -0
- package/dist/erlang-Dk9Hm-lN.cjs +1 -0
- package/dist/erlang-Hh_mGaXF.js +3 -0
- package/dist/eventmodeling-45OFAUF4-9NJTUpfs.cjs +1 -0
- package/dist/eventmodeling-45OFAUF4-DhmcBUQs.js +3 -0
- package/dist/everforest-dark-B8U5Kz_2.cjs +1 -0
- package/dist/everforest-dark-DPbo4JN4.js +4 -0
- package/dist/everforest-light-3-FCa2iD.cjs +1 -0
- package/dist/everforest-light-E_X_ZD6H.js +4 -0
- package/dist/exports-C67Wizt6.js +16990 -0
- package/dist/exports-C8Eu-cBn.cjs +261 -0
- package/dist/fennel-F2TJW9Cm.js +3 -0
- package/dist/fennel-RU1EYi0I.cjs +1 -0
- package/dist/find-8kzfNl8Q.js +107 -0
- package/dist/find-D49DDMOn.cjs +1 -0
- package/dist/fish--5Qbt4_-.cjs +1 -0
- package/dist/fish-Cl8O7-1O.js +3 -0
- package/dist/flowDiagram-23GEKE2U-BIAXSHCZ.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-FteV-tpU.js +17 -0
- package/dist/fluent-B0YyYoEC.js +3 -0
- package/dist/fluent-CqQ_wVqT.cjs +1 -0
- package/dist/fortran-fixed-form-BPVXUvGc.cjs +1 -0
- package/dist/fortran-fixed-form-Cxg1zLtO.js +5 -0
- package/dist/fortran-free-form-f48WwHdi.js +3 -0
- package/dist/fortran-free-form-wAUw7GO7.cjs +1 -0
- package/dist/fsharp-D4kfoNJ7.js +5 -0
- package/dist/fsharp-Dkh04On7.cjs +1 -0
- package/dist/ganttDiagram-NO4QXBWP-B8AFbqrz.js +3084 -0
- package/dist/ganttDiagram-NO4QXBWP-iuUxsjHH.cjs +292 -0
- package/dist/gdresource-C3LE_wel.js +10 -0
- package/dist/gdresource-DOgNDMAP.cjs +1 -0
- package/dist/gdscript-697ItOg3.js +3 -0
- package/dist/gdscript-AA2UfFO_.cjs +1 -0
- package/dist/gdshader-BahZb96R.js +3 -0
- package/dist/gdshader-Bf5fzism.cjs +1 -0
- package/dist/genie-DaIfgQYl.js +3 -0
- package/dist/genie-IAbcuR8x.cjs +1 -0
- package/dist/gherkin-0dxzekuL.js +3 -0
- package/dist/gherkin-BOoUZ55R.cjs +1 -0
- package/dist/git-commit-CQ35rNAw.js +5 -0
- package/dist/git-commit-CoIFbnBM.cjs +1 -0
- package/dist/git-rebase-BUotlrNG.js +5 -0
- package/dist/git-rebase-bioQjlhA.cjs +1 -0
- package/dist/gitGraph-TEB2WS4Q-DQ-Mge2t.cjs +1 -0
- package/dist/gitGraph-TEB2WS4Q-DuFCGfar.js +3 -0
- package/dist/gitGraphDiagram-IHSO6WYX-CpjxCJlh.js +729 -0
- package/dist/gitGraphDiagram-IHSO6WYX-TXisRU_i.cjs +106 -0
- package/dist/github-dark-BVSmXPiH.js +4 -0
- package/dist/github-dark-default-D_WiUS3j.cjs +1 -0
- package/dist/github-dark-default-VbvJ-ilw.js +4 -0
- package/dist/github-dark-dimmed-BVZ6NmlH.js +4 -0
- package/dist/github-dark-dimmed-CF-d-yzu.cjs +1 -0
- package/dist/github-dark-high-contrast-B28XrSlN.cjs +1 -0
- package/dist/github-dark-high-contrast-Cu_F5fce.js +4 -0
- package/dist/github-dark-lSLm2DGc.cjs +1 -0
- package/dist/github-light-5VJ9LmmZ.cjs +1 -0
- package/dist/github-light-Dtf7jHNG.js +4 -0
- package/dist/github-light-default-CfhvIofU.cjs +1 -0
- package/dist/github-light-default-ChKQp2aO.js +4 -0
- package/dist/github-light-high-contrast-2daONXzf.cjs +1 -0
- package/dist/github-light-high-contrast-CfdjYrkI.js +4 -0
- package/dist/gleam-DyHWdg1e.js +3 -0
- package/dist/gleam-uW2PZxh0.cjs +1 -0
- package/dist/glimmer-js-Ciof3QL9.js +14 -0
- package/dist/glimmer-js-DiIpfAHi.cjs +1 -0
- package/dist/glimmer-ts-BGK6t0VF.js +14 -0
- package/dist/glimmer-ts-D7kaiXm8.cjs +1 -0
- package/dist/glsl-BK7MJn4u.js +6 -0
- package/dist/glsl-QqXZ78Kg.cjs +1 -0
- package/dist/gnuplot-5XuWKCad.js +3 -0
- package/dist/gnuplot-CFHC6IzT.cjs +1 -0
- package/dist/go-Bv7fxmN-.cjs +1 -0
- package/dist/go-C_wi3fjb.js +3 -0
- package/dist/graphlib-B0pkl27u.cjs +1 -0
- package/dist/graphlib-DjREGp7-.js +340 -0
- package/dist/graphql--1t261Yk.js +15 -0
- package/dist/graphql-wVo4PHpT.cjs +1 -0
- package/dist/groovy-AC3I0XgS.cjs +1 -0
- package/dist/groovy-BmEdfp0z.js +3 -0
- package/dist/hack-C4FKqOSK.cjs +1 -0
- package/dist/hack-DK3t1k__.js +10 -0
- package/dist/haml-B3VLhRsZ.js +11 -0
- package/dist/haml-CQ-lzphw.cjs +1 -0
- package/dist/handlebars-POWurPLW.cjs +1 -0
- package/dist/handlebars-_qNUzqAO.js +14 -0
- package/dist/haskell-BVQlrU40.cjs +1 -0
- package/dist/haskell-CZshrN4v.js +3 -0
- package/dist/haxe-CIeDdEBx.js +3 -0
- package/dist/haxe-CidPNuKh.cjs +1 -0
- package/dist/hcl-BrEqO7Sq.cjs +1 -0
- package/dist/hcl-DRqyh8D_.js +3 -0
- package/dist/hjson-CVbBR8Ay.cjs +1 -0
- package/dist/hjson-D-HSEzgv.js +3 -0
- package/dist/hlsl-DQCtPnLa.js +3 -0
- package/dist/hlsl-ze_s5DJn.cjs +1 -0
- package/dist/houston-BscSB6JY.js +4 -0
- package/dist/houston-BtgI9cLW.cjs +1 -0
- package/dist/html-D_OBWe7R.js +11 -0
- package/dist/html-derivative-Dq3Sh7mm.cjs +1 -0
- package/dist/html-derivative-XT6VOD81.js +6 -0
- package/dist/html-mo6ldvys.cjs +1 -0
- package/dist/http-C2taPV9U.cjs +1 -0
- package/dist/http-CdMPSPdd.js +14 -0
- package/dist/hxml-CHo8HAT-.js +5 -0
- package/dist/hxml-Dkp_OvfK.cjs +1 -0
- package/dist/hy-DB6h75gj.js +3 -0
- package/dist/hy-JhxQ7Sq3.cjs +1 -0
- package/dist/imba-BMaY4ENg.cjs +1 -0
- package/dist/imba-B_ww4ZTP.js +5 -0
- package/dist/index.cjs +352 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.mjs +25941 -0
- package/dist/index2-Db29305J.cjs +1 -0
- package/dist/index2-QpsswhC2.js +129 -0
- package/dist/index3-B9UVcR3x.cjs +1 -0
- package/dist/index3-CSFQ35FU.js +125 -0
- package/dist/index4-BjmzmXkZ.cjs +2 -0
- package/dist/index4-CzKbdrmD.js +1166 -0
- package/dist/index5-CjNnYoXJ.js +688 -0
- package/dist/index5-CvMqoYtf.cjs +1 -0
- package/dist/index6-BUkE1lni.js +468 -0
- package/dist/index6-DwZeyaka.cjs +1 -0
- package/dist/index7-CCL1p1Eh.cjs +1 -0
- package/dist/index7-D-76uUB1.js +7 -0
- package/dist/info-DKCQHKI2-CVAfu3m_.cjs +1 -0
- package/dist/info-DKCQHKI2-X1UEZeu5.js +3 -0
- package/dist/infoDiagram-FWYZ7A6U-BQ-pmobf.js +20 -0
- package/dist/infoDiagram-FWYZ7A6U-BTUkuUAu.cjs +2 -0
- package/dist/infographic_markstream-vue-DH5naZYC.js +5 -0
- package/dist/infographic_markstream-vue-DMdeL6IU.cjs +1 -0
- package/dist/ini-1ngrKrS7.js +3 -0
- package/dist/ini-DrnN5Bei.cjs +1 -0
- package/dist/init-07zIhv_j.cjs +1 -0
- package/dist/init-Co4dhKfe.js +15 -0
- package/dist/isEmpty-9fTBY8_5.js +929 -0
- package/dist/isEmpty-DaIHfoaK.cjs +1 -0
- package/dist/ishikawaDiagram-FXEZZL3T-DAFpMtyi.cjs +70 -0
- package/dist/ishikawaDiagram-FXEZZL3T-Dldh7OZP.js +719 -0
- package/dist/java-CCeor0rw.js +5 -0
- package/dist/java-DtOeEWAB.cjs +1 -0
- package/dist/javascript-1Zv2m4qT.cjs +1 -0
- package/dist/javascript-Bx27vxbw.js +5 -0
- package/dist/jinja-Bo4OY5rp.cjs +1 -0
- package/dist/jinja-DUV-rjqE.js +5 -0
- package/dist/jison-BHS26PqW.cjs +1 -0
- package/dist/jison-lY_a1uD8.js +5 -0
- package/dist/journeyDiagram-5HDEW3XC-BoJvuLAJ.cjs +139 -0
- package/dist/journeyDiagram-5HDEW3XC-DWc-P146.js +884 -0
- package/dist/json-As0Z6gXq.js +5 -0
- package/dist/json-B31_sYlO.cjs +1 -0
- package/dist/json5-B0AZLeeE.cjs +1 -0
- package/dist/json5-CkR44bl5.js +3 -0
- package/dist/jsonc-BhRQOhO0.js +3 -0
- package/dist/jsonc-zSGaK820.cjs +1 -0
- package/dist/jsonl-BWEDeKY6.js +3 -0
- package/dist/jsonl-mSW-3clM.cjs +1 -0
- package/dist/jsonnet-D8xj-VWe.js +3 -0
- package/dist/jsonnet-xnK8ISOr.cjs +1 -0
- package/dist/jssm-BqqNlOWn.js +3 -0
- package/dist/jssm-Dc68VWf8.cjs +1 -0
- package/dist/jsx-CHdPoawR.cjs +1 -0
- package/dist/jsx-DcWc-BUA.js +5 -0
- package/dist/julia-A2t8dw8p.cjs +1 -0
- package/dist/julia-JllIpLrt.js +16 -0
- package/dist/kanagawa-dragon-C_H008Ji.cjs +1 -0
- package/dist/kanagawa-dragon-CzUH0vOV.js +4 -0
- package/dist/kanagawa-lotus-CWHrabz1.js +4 -0
- package/dist/kanagawa-lotus-DuABjfU_.cjs +1 -0
- package/dist/kanagawa-wave-B27tzldJ.js +4 -0
- package/dist/kanagawa-wave-D93njvJc.cjs +1 -0
- package/dist/kanban-definition-HUTT4EX6-4QNogezI.js +975 -0
- package/dist/kanban-definition-HUTT4EX6-CSpYoE2w.cjs +89 -0
- package/dist/katex-mzuGQl-k.cjs +257 -0
- package/dist/katex-uQfgtQZ-.js +21962 -0
- package/dist/kotlin-CkALtvL4.js +3 -0
- package/dist/kotlin-x64ufdmW.cjs +1 -0
- package/dist/kusto-Cc3N9caa.js +3 -0
- package/dist/kusto-YvjJ-Hwr.cjs +1 -0
- package/dist/languageIconExtended-5rP5TRI7.cjs +116 -0
- package/dist/languageIconExtended-BKBNbfml.js +37 -0
- package/dist/laserwave-Q0rnzsLB.js +4 -0
- package/dist/laserwave-TFMEGQQo.cjs +1 -0
- package/dist/latex-B4owy79D.js +5 -0
- package/dist/latex-DPkqFaSl.cjs +1 -0
- package/dist/lean-CYVERefS.cjs +1 -0
- package/dist/lean-Dg5VYRtH.js +3 -0
- package/dist/less-BW5l_msz.js +3 -0
- package/dist/less-DKjtszmK.cjs +1 -0
- package/dist/light-plus-D1TTTooO.js +4 -0
- package/dist/light-plus-lbGw82Zw.cjs +1 -0
- package/dist/line-QnKkzT3y.js +34 -0
- package/dist/line-umMVu17Q.cjs +1 -0
- package/dist/linear-Cl2-QuPP.cjs +1 -0
- package/dist/linear-D5gAG4Dc.js +289 -0
- package/dist/liquid-DOhZfMRk.cjs +1 -0
- package/dist/liquid-DbDSSGUn.js +14 -0
- package/dist/log-C02Mufkv.js +3 -0
- package/dist/log-Dn7sU6Qz.cjs +1 -0
- package/dist/logo-CCpvPvYW.cjs +1 -0
- package/dist/logo-CESV6ppB.js +3 -0
- package/dist/lua-BWV9zmiO.js +6 -0
- package/dist/lua-BZylxbuX.cjs +1 -0
- package/dist/luau-CO1iqemL.js +3 -0
- package/dist/luau-D5ttg_a3.cjs +1 -0
- package/dist/make-BorM9pEX.js +3 -0
- package/dist/make-OoJyrwI_.cjs +1 -0
- package/dist/map-CnWYCApZ.cjs +1 -0
- package/dist/map-DmTyBWxT.js +16 -0
- package/dist/markdown-Dehhcpca.cjs +1 -0
- package/dist/markdown-bvZ2LFQ7.js +3 -0
- package/dist/marko-9qP7O73P.js +14 -0
- package/dist/marko-CkDNu79_.cjs +1 -0
- package/dist/material-theme-BkOXIsau.cjs +1 -0
- package/dist/material-theme-RBxZ7zcK.js +4 -0
- package/dist/material-theme-darker-CDq_a3lh.cjs +1 -0
- package/dist/material-theme-darker-CJJd5EpQ.js +4 -0
- package/dist/material-theme-lighter-0ylr_FPD.js +4 -0
- package/dist/material-theme-lighter-CSQ2VYal.cjs +1 -0
- package/dist/material-theme-ocean-BlU8W8uQ.js +4 -0
- package/dist/material-theme-ocean-kObtq4AQ.cjs +1 -0
- package/dist/material-theme-palenight-D1I1vvpR.cjs +1 -0
- package/dist/material-theme-palenight-Di4FHq0q.js +4 -0
- package/dist/matlab-CL6DKGr6.cjs +1 -0
- package/dist/matlab-CWaaTDe1.js +3 -0
- package/dist/mdc-D8ytkkcj.js +12 -0
- package/dist/mdc-DixMyBlq.cjs +1 -0
- package/dist/mdx-BYvRDPL7.cjs +1 -0
- package/dist/mdx-CwEa7e3y.js +3 -0
- package/dist/mermaid-CX3dK12k.cjs +1 -0
- package/dist/mermaid-Z3pEhdr4.js +3 -0
- package/dist/mermaid-parser.core-Bhhg_EMD.js +638 -0
- package/dist/mermaid-parser.core-C0weIoPn.cjs +6 -0
- package/dist/mermaid.core-CbBmSLjg.js +817 -0
- package/dist/mermaid.core-CsEkQu6v.cjs +10 -0
- package/dist/mhchem-CGx3NnwF.js +1762 -0
- package/dist/mhchem-DMzgkAws.cjs +1 -0
- package/dist/min-dark-BRRwK1lu.js +4 -0
- package/dist/min-dark-BVfJIgG3.cjs +1 -0
- package/dist/min-light-Bqm_Wy8m.js +4 -0
- package/dist/min-light-CpbVExmt.cjs +1 -0
- package/dist/mindmap-definition-LN4V7U3C-B29e6fR_.cjs +96 -0
- package/dist/mindmap-definition-LN4V7U3C-BUSRrZX0.js +1008 -0
- package/dist/mipsasm-CmvfwuBg.js +3 -0
- package/dist/mipsasm-Dmsj67N7.cjs +1 -0
- package/dist/mojo-CFCIR8gy.cjs +1 -0
- package/dist/mojo-emijrbEC.js +3 -0
- package/dist/monokai-BQ1cZfkR.cjs +1 -0
- package/dist/monokai-KOBwLR5r.js +4 -0
- package/dist/move-BtWg9WSG.js +3 -0
- package/dist/move-DFUk3AJ3.cjs +1 -0
- package/dist/narrat-CE6tJc3S.js +3 -0
- package/dist/narrat-DfhrkvLZ.cjs +1 -0
- package/dist/netstar-ai-chat.css +2 -0
- package/dist/nextflow-D8RM97Up.cjs +1 -0
- package/dist/nextflow-DIQqWNA9.js +3 -0
- package/dist/nginx-8x8qY3Vr.js +5 -0
- package/dist/nginx-DFfEIEnK.cjs +1 -0
- package/dist/night-owl-C0QObreH.cjs +1 -0
- package/dist/night-owl-DS6PHOBH.js +4 -0
- package/dist/nim-BIbchMrJ.cjs +1 -0
- package/dist/nim-nIS1y_GA.js +20 -0
- package/dist/nix-BeOLKLuV.js +3 -0
- package/dist/nix-D5-3ErHy.cjs +1 -0
- package/dist/nord-CA9ic6hU.cjs +1 -0
- package/dist/nord-CqaxQpqw.js +4 -0
- package/dist/nushell-BNdP_dr6.cjs +1 -0
- package/dist/nushell-BSiFk-Bi.js +3 -0
- package/dist/objective-c-BoPltVXU.cjs +1 -0
- package/dist/objective-c-D4ODnIJv.js +3 -0
- package/dist/objective-cpp-BC5VHuf6.cjs +1 -0
- package/dist/objective-cpp-CFzZBsJ8.js +3 -0
- package/dist/ocaml-DjzTWzJR.cjs +1 -0
- package/dist/ocaml-ygyAtqA3.js +3 -0
- package/dist/one-dark-pro-BiLpJ3Ut.cjs +1 -0
- package/dist/one-dark-pro-n87lL4ex.js +4 -0
- package/dist/one-light-BHJM53xo.cjs +1 -0
- package/dist/one-light-DHV5uJWg.js +4 -0
- package/dist/ordinal-95c16pGC.js +65 -0
- package/dist/ordinal-CUPR-p0T.cjs +1 -0
- package/dist/packet-7NZHBO7P-CWI1wkgR.js +3 -0
- package/dist/packet-7NZHBO7P-olpQFy19.cjs +1 -0
- package/dist/pascal-BCxfk_0K.cjs +1 -0
- package/dist/pascal-Cp3o03W3.js +3 -0
- package/dist/path-BECm07xX.js +85 -0
- package/dist/path-Kklx0M1v.cjs +1 -0
- package/dist/pegDiagram-2B236MQR-5may-nQh.cjs +1 -0
- package/dist/pegDiagram-2B236MQR-BlS7jv2X.js +94 -0
- package/dist/perl-B32vckzd.cjs +1 -0
- package/dist/perl-Caha11sj.js +16 -0
- package/dist/php-BZdcwfk-.cjs +1 -0
- package/dist/php-Dd_dF-AL.js +18 -0
- package/dist/pie-RZYD4A2V-CyOF19CW.js +3 -0
- package/dist/pie-RZYD4A2V-KV7VmSAP.cjs +1 -0
- package/dist/pieDiagram-ENE6RG2P-B5uibzAn.js +205 -0
- package/dist/pieDiagram-ENE6RG2P-peGWddZk.cjs +39 -0
- package/dist/plastic-CFgeDarh.cjs +1 -0
- package/dist/plastic-CfcNj0mY.js +4 -0
- package/dist/plsql-ak2Z7rg2.cjs +1 -0
- package/dist/plsql-x7conUc6.js +3 -0
- package/dist/po--CQNV_Eo.js +3 -0
- package/dist/po-DPOakX0_.cjs +1 -0
- package/dist/poimandres-B2kS4VCU.cjs +1 -0
- package/dist/poimandres-CSgoTNSr.js +4 -0
- package/dist/polar-DZoPeUtu.js +3 -0
- package/dist/polar-MGc0OyxL.cjs +1 -0
- package/dist/postcss-BAYQYIpZ.js +3 -0
- package/dist/postcss-DwSR_Nna.cjs +1 -0
- package/dist/powerquery-B9PiNUFU.js +3 -0
- package/dist/powerquery-bShN3jEf.cjs +1 -0
- package/dist/powershell-DGeGpYK6.cjs +1 -0
- package/dist/powershell-DmbTGv4H.js +3 -0
- package/dist/prisma-DcdjiSgR.js +3 -0
- package/dist/prisma-qjGbhxmN.cjs +1 -0
- package/dist/prolog-3Sh8TEBQ.js +3 -0
- package/dist/prolog-DOzeE1gX.cjs +1 -0
- package/dist/proto-BKmbHU2z.js +3 -0
- package/dist/proto-CQtcOaoZ.cjs +1 -0
- package/dist/pug-CQRIElQa.cjs +1 -0
- package/dist/pug-PKxYWb_o.js +12 -0
- package/dist/puppet-CMc7WUL-.js +3 -0
- package/dist/puppet-DXMJeNAQ.cjs +1 -0
- package/dist/purescript-BmHbM-d_.cjs +1 -0
- package/dist/purescript-CJV-ANk0.js +3 -0
- package/dist/python-Dgo3Imqt.js +3 -0
- package/dist/python-y8JZoKTg.cjs +1 -0
- package/dist/qml-DGggscta.cjs +1 -0
- package/dist/qml-znAETRGB.js +5 -0
- package/dist/qmldir-BSWsNKCW.js +3 -0
- package/dist/qmldir-Wb6QN41x.cjs +1 -0
- package/dist/qss-P1EyCZ52.js +3 -0
- package/dist/qss-b49hd9Kf.cjs +1 -0
- package/dist/quadrantDiagram-ABIIQ3AL-0axZxxZT.cjs +7 -0
- package/dist/quadrantDiagram-ABIIQ3AL-el6K_cdK.js +2001 -0
- package/dist/r-Q1Syx2NF.js +5 -0
- package/dist/r-VgF6jsMr.cjs +1 -0
- package/dist/racket-DIriCx31.cjs +1 -0
- package/dist/racket-DKb_r0U5.js +3 -0
- package/dist/radar-I7S5WNFK-BjTQsjn9.cjs +1 -0
- package/dist/radar-I7S5WNFK-DXOk1lH0.js +3 -0
- package/dist/railroad-3IZDKUUU-BudmQt4z.js +3 -0
- package/dist/railroad-3IZDKUUU-CVKrVFrS.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-BEuRVGxN.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-Bs1OWkDS.js +3 -0
- package/dist/railroad-ebnf-EBAXGLYW-Cih63c2z.cjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-DN3oF240.js +3 -0
- package/dist/railroad-peg-LSFZ7HO6--hTz8Aio.js +3 -0
- package/dist/railroad-peg-LSFZ7HO6-DbHn_Dfb.cjs +1 -0
- package/dist/railroadDiagram-RFXS5EU6-CCPPrI-t.js +76 -0
- package/dist/railroadDiagram-RFXS5EU6-DI-XxXi4.cjs +1 -0
- package/dist/raku-DM0xz1qH.js +3 -0
- package/dist/raku-aSFsj2VS.cjs +1 -0
- package/dist/razor-ClXepwCg.cjs +1 -0
- package/dist/razor-DoIrK7wH.js +10 -0
- package/dist/red-CuDZBeel.js +4 -0
- package/dist/red-utLotyz8.cjs +1 -0
- package/dist/reg-Bc7EZp_L.js +3 -0
- package/dist/reg-GmnSXO4L.cjs +1 -0
- package/dist/regexp-CjKnir1L.js +5 -0
- package/dist/regexp-CjwGKeJO.cjs +1 -0
- package/dist/rel-DMLolXbX.cjs +1 -0
- package/dist/rel-DT4yPypn.js +3 -0
- package/dist/requirementDiagram-TGXJPOKE-BxnKsGpN.cjs +84 -0
- package/dist/requirementDiagram-TGXJPOKE-FQoCKQHp.js +2223 -0
- package/dist/riscv-9-ahY7jN.js +3 -0
- package/dist/riscv-DWfvSg0U.cjs +1 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
- package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
- package/dist/rose-pine-BTVbOgGM.cjs +1 -0
- package/dist/rose-pine-Dsg47IX4.js +4 -0
- package/dist/rose-pine-dawn-C49-oxm2.js +4 -0
- package/dist/rose-pine-dawn-y8-MyOw6.cjs +1 -0
- package/dist/rose-pine-moon-BZmq4QbO.cjs +1 -0
- package/dist/rose-pine-moon-D19T_UYY.js +4 -0
- package/dist/rough.esm-B7woRVjF.js +1352 -0
- package/dist/rough.esm-r0QOSzHM.cjs +1 -0
- package/dist/rst-9SsxKThC.cjs +1 -0
- package/dist/rst-Ct-G6CIi.js +22 -0
- package/dist/ruby-CHhXdqUe.js +30 -0
- package/dist/ruby-q98Sa-C-.cjs +1 -0
- package/dist/rust-BbRDDZlI.js +3 -0
- package/dist/rust-DhJ-EsMg.cjs +1 -0
- package/dist/sankeyDiagram-HTMAVEWB-1N6666do.cjs +40 -0
- package/dist/sankeyDiagram-HTMAVEWB-CRbnmmPK.js +970 -0
- package/dist/sas-DhbnVUXW.cjs +1 -0
- package/dist/sas-nwN47Ppz.js +5 -0
- package/dist/sass-C3mlvlBn.js +3 -0
- package/dist/sass-MDtHeILc.cjs +1 -0
- package/dist/scala-BV3NjK9f.cjs +1 -0
- package/dist/scala-GwvQo9dz.js +3 -0
- package/dist/scheme-C_T6Gr_E.js +3 -0
- package/dist/scheme-DaNTt7Ra.cjs +1 -0
- package/dist/scss-KLMxyv4f.js +6 -0
- package/dist/scss-KgcvXJOI.cjs +1 -0
- package/dist/sdbl-9Nf-vYL_.cjs +1 -0
- package/dist/sdbl-BGVcFmba.js +3 -0
- package/dist/sequenceDiagram-DBY2YBRQ-B0eyTzj-.js +4168 -0
- package/dist/sequenceDiagram-DBY2YBRQ-ouUfS-aJ.cjs +162 -0
- package/dist/shaderlab-AMREd5T9.cjs +1 -0
- package/dist/shaderlab-yvRlOGRS.js +5 -0
- package/dist/shellscript-BRXFilKi.cjs +1 -0
- package/dist/shellscript-DsmUQZdg.js +5 -0
- package/dist/shellsession-BtjfrBaH.cjs +1 -0
- package/dist/shellsession-DQ_F9Wr_.js +5 -0
- package/dist/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
- package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
- package/dist/slack-dark-BzBaQ0xz.js +4 -0
- package/dist/slack-dark-DDeCEapU.cjs +1 -0
- package/dist/slack-ochin-Cnjuvrsj.js +4 -0
- package/dist/slack-ochin-DLKW_Bxr.cjs +1 -0
- package/dist/smalltalk-BN2TAEzt.js +3 -0
- package/dist/smalltalk-Dfg_7NMl.cjs +1 -0
- package/dist/snazzy-light-CO8ltd4m.js +4 -0
- package/dist/snazzy-light-Cb_pyD6_.cjs +1 -0
- package/dist/solarized-dark-CqgMwhwG.cjs +1 -0
- package/dist/solarized-dark-vcCVwuVC.js +4 -0
- package/dist/solarized-light-BgVA2R62.js +4 -0
- package/dist/solarized-light-U0ItNhXi.cjs +1 -0
- package/dist/solidity-bpqb7ojf.cjs +1 -0
- package/dist/solidity-idpkkykB.js +3 -0
- package/dist/soy-D11BGnGf.cjs +1 -0
- package/dist/soy-D5hACXEU.js +5 -0
- package/dist/sparql-D2f6sVo0.cjs +1 -0
- package/dist/sparql-DvWZ0oTn.js +5 -0
- package/dist/splunk-CC1SfDSs.cjs +1 -0
- package/dist/splunk-W3Nh1Gtf.js +3 -0
- package/dist/sql-BE7gM4sJ.js +5 -0
- package/dist/sql-CAKohXJZ.cjs +1 -0
- package/dist/src-CR--T_NF.cjs +1 -0
- package/dist/src-DR6txdQ-.js +2142 -0
- package/dist/ssh-config-Dn_5wFSU.cjs +1 -0
- package/dist/ssh-config-lL0vBG-J.js +3 -0
- package/dist/stata-DeV05m63.js +5 -0
- package/dist/stata-ckWyZ9G6.cjs +1 -0
- package/dist/stateDiagram-2N3HPSRC-DaporqgM.js +220 -0
- package/dist/stateDiagram-2N3HPSRC-DrVYkEQ-.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-DZ0YarTq.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-iNhJP0se.js +30 -0
- package/dist/stylus-7dQPGNPK.js +3 -0
- package/dist/stylus-CEIbUfUR.cjs +1 -0
- package/dist/svelte-BBzqqTAG.cjs +1 -0
- package/dist/svelte-DuClbIDV.js +14 -0
- package/dist/swift-BfppNwCZ.js +3 -0
- package/dist/swift-Dbq1ciSe.cjs +1 -0
- package/dist/swimlanes-5IMT3BWC-BkAqjD-a.cjs +1 -0
- package/dist/swimlanes-5IMT3BWC-Cl0MBCBd.js +5066 -0
- package/dist/swimlanesDiagram-G3AALYLV-Bh7l_29Y.cjs +8 -0
- package/dist/swimlanesDiagram-G3AALYLV-Bs_bljXb.js +31 -0
- package/dist/synthwave-84-CmyDaNXM.js +4 -0
- package/dist/synthwave-84-vhaAnDJD.cjs +1 -0
- package/dist/system-verilog-CBp9ww7I.js +3 -0
- package/dist/system-verilog-DyrRIUre.cjs +1 -0
- package/dist/systemd-CimDnTNX.cjs +1 -0
- package/dist/systemd-oFJVdchd.js +3 -0
- package/dist/talonscript-2QSX5qC5.cjs +1 -0
- package/dist/talonscript-BxIWRwbR.js +3 -0
- package/dist/tasl-Bxh5A0Un.js +3 -0
- package/dist/tasl-DkVK1Vvo.cjs +1 -0
- package/dist/tcl-CNIcTZox.cjs +1 -0
- package/dist/tcl-Yv5TG6Ev.js +3 -0
- package/dist/templ-BNN_ssr9.cjs +1 -0
- package/dist/templ-BxsPIKhr.js +12 -0
- package/dist/terraform-CGGCPjBs.cjs +1 -0
- package/dist/terraform-DLFpHj9I.js +3 -0
- package/dist/tex-DPBa3hMF.cjs +1 -0
- package/dist/tex-DZPZ_tE0.js +5 -0
- package/dist/timeline-definition-FHXFAJF6-Cb_8gFYP.cjs +120 -0
- package/dist/timeline-definition-FHXFAJF6-FkgzuuoZ.js +1069 -0
- package/dist/tokyo-night-BmmxIDHp.js +4 -0
- package/dist/tokyo-night-DXq-AiCd.cjs +1 -0
- package/dist/toml-CJQRMfJQ.cjs +1 -0
- package/dist/toml-Dm2pJ9O8.js +3 -0
- package/dist/treeView-QDETBFTQ-B_LvJjui.cjs +1 -0
- package/dist/treeView-QDETBFTQ-WaAklEEa.js +3 -0
- package/dist/treemap-6X3UGDF4-BZ8Ptxjo.cjs +1 -0
- package/dist/treemap-6X3UGDF4-TbJH_2rS.js +3 -0
- package/dist/ts-tags-BgTM9Oo9.js +38 -0
- package/dist/ts-tags-aCZsPrDI.cjs +1 -0
- package/dist/tsv-AfvsdcL-.js +3 -0
- package/dist/tsv-CrGD5YUm.cjs +1 -0
- package/dist/tsx-Bx4pCqLJ.js +5 -0
- package/dist/tsx-CqEtpJwc.cjs +1 -0
- package/dist/turtle-CSKPMBVG.js +3 -0
- package/dist/turtle-hKghkgYb.cjs +1 -0
- package/dist/twig-B4TBRIrX.cjs +1 -0
- package/dist/twig-BawUFy9o.js +18 -0
- package/dist/types/agent.d.ts +199 -0
- package/dist/typescript-BPkdvRNZ.js +5 -0
- package/dist/typescript-CjwIFskf.cjs +1 -0
- package/dist/typespec-BTz_JMOP.js +3 -0
- package/dist/typespec-DouelPXK.cjs +1 -0
- package/dist/typst-CE4u0InM.js +3 -0
- package/dist/typst-tWpJew-N.cjs +1 -0
- package/dist/v-BsQ8V6u8.js +3 -0
- package/dist/v-C8s-zsPQ.cjs +1 -0
- package/dist/vala-DM-_wXAy.cjs +1 -0
- package/dist/vala-YJiBqBnL.js +3 -0
- package/dist/vb-Bex0KYEQ.js +3 -0
- package/dist/vb-C9lJKj2z.cjs +1 -0
- package/dist/vennDiagram-L72KCM5P-DRanJu29.cjs +34 -0
- package/dist/vennDiagram-L72KCM5P-DigPDc3M.js +1880 -0
- package/dist/verilog-BGHQfpqH.js +3 -0
- package/dist/verilog-DirKIM6M.cjs +1 -0
- package/dist/vesper-B2O42csv.js +4 -0
- package/dist/vesper-DvpD9Vcf.cjs +1 -0
- package/dist/vhdl-BfmNQSSn.js +3 -0
- package/dist/vhdl-CNJHrCfd.cjs +1 -0
- package/dist/viml-B611mZED.cjs +1 -0
- package/dist/viml-CEz_TDNf.js +3 -0
- package/dist/vitesse-black-DC0QCRHA.js +4 -0
- package/dist/vitesse-black-NsXXFHlu.cjs +1 -0
- package/dist/vitesse-dark-Bv5Yx4Rj.js +4 -0
- package/dist/vitesse-dark-D0Ji9E-l.cjs +1 -0
- package/dist/vitesse-light-1Wh4YtKa.cjs +1 -0
- package/dist/vitesse-light-DYJDYLfk.js +4 -0
- package/dist/vue-DPEJC1L8.js +21 -0
- package/dist/vue-DwTH6YhB.cjs +1 -0
- package/dist/vue-html-CDRAOas6.js +10 -0
- package/dist/vue-html-THpxvSNU.cjs +1 -0
- package/dist/vue-i18n-3JaSdo8e.cjs +5 -0
- package/dist/vue-i18n-C_VfkvBa.js +3020 -0
- package/dist/vyper-9K4scKvw.js +3 -0
- package/dist/vyper-c-_n3oeH.cjs +1 -0
- package/dist/wardley-OPB4EBWU-B1lggTfF.cjs +1 -0
- package/dist/wardley-OPB4EBWU-GZ7F_2Eb.js +3 -0
- package/dist/wardleyDiagram-EHGQE667-DQE0RgUA.js +645 -0
- package/dist/wardleyDiagram-EHGQE667-ZqPLK5FR.cjs +78 -0
- package/dist/wasm-B9xa8Mue.js +4 -0
- package/dist/wasm-BIF3u71S.js +3 -0
- package/dist/wasm-DLWzvvDm.cjs +1 -0
- package/dist/wasm-DcRxl4j_.cjs +1 -0
- package/dist/wenyan-6FBHpKQQ.js +3 -0
- package/dist/wenyan-BQyJDXGi.cjs +1 -0
- package/dist/wgsl-0onuchT4.js +3 -0
- package/dist/wgsl-CZxSYjuU.cjs +1 -0
- package/dist/wikitext-C6FMYqyf.js +3 -0
- package/dist/wikitext-DKu5qD0V.cjs +1 -0
- package/dist/wolfram-B2KhbCjm.cjs +1 -0
- package/dist/wolfram-BuhvgrGp.js +3 -0
- package/dist/xml-B8vy9UOv.js +6 -0
- package/dist/xml-CQVcpGJ_.cjs +1 -0
- package/dist/xsl-B6FtdfnY.cjs +1 -0
- package/dist/xsl-DiaKo18G.js +5 -0
- package/dist/xychartDiagram-FW5EYKEG-9RCD4gzs.cjs +7 -0
- package/dist/xychartDiagram-FW5EYKEG-B_EUKZ5E.js +2102 -0
- package/dist/yaml-B-_wC7KV.cjs +1 -0
- package/dist/yaml-CANEFoqw.js +5 -0
- package/dist/zenscript-BSqTPUXj.cjs +1 -0
- package/dist/zenscript-DpMcKymA.js +3 -0
- package/dist/zig-DBCpOdKI.cjs +1 -0
- package/dist/zig-DWkMyyIZ.js +3 -0
- package/package.json +68 -0
|
@@ -0,0 +1,729 @@
|
|
|
1
|
+
import { n as e } from "./mermaid-parser.core-Bhhg_EMD.js";
|
|
2
|
+
import { n as t } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
|
|
3
|
+
import { m as n, p as r } from "./src-DR6txdQ-.js";
|
|
4
|
+
import { H as i, K as a, U as o, Y as s, a as c, b as l, f as u, s as d, v as f, w as p, x as m, y as h } from "./chunk-WYO6CB5R-DVUXWnvM.js";
|
|
5
|
+
import { g, i as _, m as v } from "./chunk-ICXQ74PX-Bq9mKzdP.js";
|
|
6
|
+
import { t as y } from "./chunk-JWPE2WC7-Ch0jmUXM.js";
|
|
7
|
+
import { t as b } from "./chunk-2Q5K7J3B-CINvUK-A.js";
|
|
8
|
+
//#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-IHSO6WYX.mjs
|
|
9
|
+
var x = {
|
|
10
|
+
NORMAL: 0,
|
|
11
|
+
REVERSE: 1,
|
|
12
|
+
HIGHLIGHT: 2,
|
|
13
|
+
MERGE: 3,
|
|
14
|
+
CHERRY_PICK: 4
|
|
15
|
+
}, ee = u.gitGraph, S = /* @__PURE__ */ t(() => _({
|
|
16
|
+
...ee,
|
|
17
|
+
...l().gitGraph
|
|
18
|
+
}), "getConfig"), C = new b(() => {
|
|
19
|
+
let e = S(), t = e.mainBranchName, n = e.mainBranchOrder;
|
|
20
|
+
return {
|
|
21
|
+
mainBranchName: t,
|
|
22
|
+
commits: /* @__PURE__ */ new Map(),
|
|
23
|
+
head: null,
|
|
24
|
+
branchConfig: /* @__PURE__ */ new Map([[t, {
|
|
25
|
+
name: t,
|
|
26
|
+
order: n
|
|
27
|
+
}]]),
|
|
28
|
+
branches: /* @__PURE__ */ new Map([[t, null]]),
|
|
29
|
+
currBranch: t,
|
|
30
|
+
direction: "LR",
|
|
31
|
+
seq: 0,
|
|
32
|
+
options: {}
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
function w() {
|
|
36
|
+
return v({ length: 7 });
|
|
37
|
+
}
|
|
38
|
+
t(w, "getID");
|
|
39
|
+
function T(e, t) {
|
|
40
|
+
let n = /* @__PURE__ */ Object.create(null);
|
|
41
|
+
return e.reduce((e, r) => {
|
|
42
|
+
let i = t(r);
|
|
43
|
+
return n[i] || (n[i] = !0, e.push(r)), e;
|
|
44
|
+
}, []);
|
|
45
|
+
}
|
|
46
|
+
t(T, "uniqBy");
|
|
47
|
+
var te = /* @__PURE__ */ t(function(e) {
|
|
48
|
+
C.records.direction = e;
|
|
49
|
+
}, "setDirection"), ne = /* @__PURE__ */ t(function(e) {
|
|
50
|
+
n.debug("options str", e), e = e?.trim(), e ||= "{}";
|
|
51
|
+
try {
|
|
52
|
+
C.records.options = JSON.parse(e);
|
|
53
|
+
} catch (e) {
|
|
54
|
+
n.error("error while parsing gitGraph options", e.message);
|
|
55
|
+
}
|
|
56
|
+
}, "setOptions"), re = /* @__PURE__ */ t(function() {
|
|
57
|
+
return C.records.options;
|
|
58
|
+
}, "getOptions"), ie = /* @__PURE__ */ t(function(e) {
|
|
59
|
+
let t = e.msg, r = e.id, i = e.type, a = e.tags;
|
|
60
|
+
n.info("commit", t, r, i, a), n.debug("Entering commit:", t, r, i, a);
|
|
61
|
+
let o = S();
|
|
62
|
+
r = d.sanitizeText(r, o), t = d.sanitizeText(t, o), a = a?.map((e) => d.sanitizeText(e, o));
|
|
63
|
+
let s = {
|
|
64
|
+
id: r || C.records.seq + "-" + w(),
|
|
65
|
+
message: t,
|
|
66
|
+
seq: C.records.seq++,
|
|
67
|
+
type: i ?? x.NORMAL,
|
|
68
|
+
tags: a ?? [],
|
|
69
|
+
parents: C.records.head == null ? [] : [C.records.head.id],
|
|
70
|
+
branch: C.records.currBranch
|
|
71
|
+
};
|
|
72
|
+
C.records.head = s, n.info("main branch", o.mainBranchName), C.records.commits.has(s.id) && n.warn(`Commit ID ${s.id} already exists`), C.records.commits.set(s.id, s), C.records.branches.set(C.records.currBranch, s.id), n.debug("in pushCommit " + s.id);
|
|
73
|
+
}, "commit"), ae = /* @__PURE__ */ t(function(e) {
|
|
74
|
+
let t = e.name, r = e.order;
|
|
75
|
+
if (t = d.sanitizeText(t, S()), C.records.branches.has(t)) throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);
|
|
76
|
+
C.records.branches.set(t, C.records.head == null ? null : C.records.head.id), C.records.branchConfig.set(t, {
|
|
77
|
+
name: t,
|
|
78
|
+
order: r
|
|
79
|
+
}), E(t), n.debug("in createBranch");
|
|
80
|
+
}, "branch"), oe = /* @__PURE__ */ t((e) => {
|
|
81
|
+
let t = e.branch, r = e.id, i = e.type, a = e.tags, o = S();
|
|
82
|
+
t = d.sanitizeText(t, o), r &&= d.sanitizeText(r, o);
|
|
83
|
+
let s = C.records.branches.get(C.records.currBranch), c = C.records.branches.get(t), l = s ? C.records.commits.get(s) : void 0, u = c ? C.records.commits.get(c) : void 0;
|
|
84
|
+
if (l && u && l.branch === t) throw Error(`Cannot merge branch '${t}' into itself.`);
|
|
85
|
+
if (C.records.currBranch === t) {
|
|
86
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Cannot merge a branch to itself");
|
|
87
|
+
throw e.hash = {
|
|
88
|
+
text: `merge ${t}`,
|
|
89
|
+
token: `merge ${t}`,
|
|
90
|
+
expected: ["branch abc"]
|
|
91
|
+
}, e;
|
|
92
|
+
}
|
|
93
|
+
if (l === void 0 || !l) {
|
|
94
|
+
let e = /* @__PURE__ */ Error(`Incorrect usage of "merge". Current branch (${C.records.currBranch})has no commits`);
|
|
95
|
+
throw e.hash = {
|
|
96
|
+
text: `merge ${t}`,
|
|
97
|
+
token: `merge ${t}`,
|
|
98
|
+
expected: ["commit"]
|
|
99
|
+
}, e;
|
|
100
|
+
}
|
|
101
|
+
if (!C.records.branches.has(t)) {
|
|
102
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + t + ") does not exist");
|
|
103
|
+
throw e.hash = {
|
|
104
|
+
text: `merge ${t}`,
|
|
105
|
+
token: `merge ${t}`,
|
|
106
|
+
expected: [`branch ${t}`]
|
|
107
|
+
}, e;
|
|
108
|
+
}
|
|
109
|
+
if (u === void 0 || !u) {
|
|
110
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + t + ") has no commits");
|
|
111
|
+
throw e.hash = {
|
|
112
|
+
text: `merge ${t}`,
|
|
113
|
+
token: `merge ${t}`,
|
|
114
|
+
expected: ["\"commit\""]
|
|
115
|
+
}, e;
|
|
116
|
+
}
|
|
117
|
+
if (l === u) {
|
|
118
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Both branches have same head");
|
|
119
|
+
throw e.hash = {
|
|
120
|
+
text: `merge ${t}`,
|
|
121
|
+
token: `merge ${t}`,
|
|
122
|
+
expected: ["branch abc"]
|
|
123
|
+
}, e;
|
|
124
|
+
}
|
|
125
|
+
if (r && C.records.commits.has(r)) {
|
|
126
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Commit with id:" + r + " already exists, use different custom id");
|
|
127
|
+
throw e.hash = {
|
|
128
|
+
text: `merge ${t} ${r} ${i} ${a?.join(" ")}`,
|
|
129
|
+
token: `merge ${t} ${r} ${i} ${a?.join(" ")}`,
|
|
130
|
+
expected: [`merge ${t} ${r}_UNIQUE ${i} ${a?.join(" ")}`]
|
|
131
|
+
}, e;
|
|
132
|
+
}
|
|
133
|
+
let f = c || "", p = {
|
|
134
|
+
id: r || `${C.records.seq}-${w()}`,
|
|
135
|
+
message: `merged branch ${t} into ${C.records.currBranch}`,
|
|
136
|
+
seq: C.records.seq++,
|
|
137
|
+
parents: C.records.head == null ? [] : [C.records.head.id, f],
|
|
138
|
+
branch: C.records.currBranch,
|
|
139
|
+
type: x.MERGE,
|
|
140
|
+
customType: i,
|
|
141
|
+
customId: !!r,
|
|
142
|
+
tags: a ?? []
|
|
143
|
+
};
|
|
144
|
+
C.records.head = p, C.records.commits.set(p.id, p), C.records.branches.set(C.records.currBranch, p.id), n.debug(C.records.branches), n.debug("in mergeBranch");
|
|
145
|
+
}, "merge"), se = /* @__PURE__ */ t(function(e) {
|
|
146
|
+
let t = e.id, r = e.targetId, i = e.tags, a = e.parent;
|
|
147
|
+
n.debug("Entering cherryPick:", t, r, i);
|
|
148
|
+
let o = S();
|
|
149
|
+
if (t = d.sanitizeText(t, o), r = d.sanitizeText(r, o), i = i?.map((e) => d.sanitizeText(e, o)), a = d.sanitizeText(a, o), !t || !C.records.commits.has(t)) {
|
|
150
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
151
|
+
throw e.hash = {
|
|
152
|
+
text: `cherryPick ${t} ${r}`,
|
|
153
|
+
token: `cherryPick ${t} ${r}`,
|
|
154
|
+
expected: ["cherry-pick abc"]
|
|
155
|
+
}, e;
|
|
156
|
+
}
|
|
157
|
+
let s = C.records.commits.get(t);
|
|
158
|
+
if (s === void 0 || !s) throw Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
159
|
+
if (a && !(Array.isArray(s.parents) && s.parents.includes(a))) throw /* @__PURE__ */ Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");
|
|
160
|
+
let c = s.branch;
|
|
161
|
+
if (s.type === x.MERGE && !a) throw /* @__PURE__ */ Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");
|
|
162
|
+
if (!r || !C.records.commits.has(r)) {
|
|
163
|
+
if (c === C.records.currBranch) {
|
|
164
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit is already on current branch");
|
|
165
|
+
throw e.hash = {
|
|
166
|
+
text: `cherryPick ${t} ${r}`,
|
|
167
|
+
token: `cherryPick ${t} ${r}`,
|
|
168
|
+
expected: ["cherry-pick abc"]
|
|
169
|
+
}, e;
|
|
170
|
+
}
|
|
171
|
+
let e = C.records.branches.get(C.records.currBranch);
|
|
172
|
+
if (e === void 0 || !e) {
|
|
173
|
+
let e = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);
|
|
174
|
+
throw e.hash = {
|
|
175
|
+
text: `cherryPick ${t} ${r}`,
|
|
176
|
+
token: `cherryPick ${t} ${r}`,
|
|
177
|
+
expected: ["cherry-pick abc"]
|
|
178
|
+
}, e;
|
|
179
|
+
}
|
|
180
|
+
let o = C.records.commits.get(e);
|
|
181
|
+
if (o === void 0 || !o) {
|
|
182
|
+
let e = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);
|
|
183
|
+
throw e.hash = {
|
|
184
|
+
text: `cherryPick ${t} ${r}`,
|
|
185
|
+
token: `cherryPick ${t} ${r}`,
|
|
186
|
+
expected: ["cherry-pick abc"]
|
|
187
|
+
}, e;
|
|
188
|
+
}
|
|
189
|
+
let l = {
|
|
190
|
+
id: C.records.seq + "-" + w(),
|
|
191
|
+
message: `cherry-picked ${s?.message} into ${C.records.currBranch}`,
|
|
192
|
+
seq: C.records.seq++,
|
|
193
|
+
parents: C.records.head == null ? [] : [C.records.head.id, s.id],
|
|
194
|
+
branch: C.records.currBranch,
|
|
195
|
+
type: x.CHERRY_PICK,
|
|
196
|
+
tags: i ? i.filter(Boolean) : [`cherry-pick:${s.id}${s.type === x.MERGE ? `|parent:${a}` : ""}`]
|
|
197
|
+
};
|
|
198
|
+
C.records.head = l, C.records.commits.set(l.id, l), C.records.branches.set(C.records.currBranch, l.id), n.debug(C.records.branches), n.debug("in cherryPick");
|
|
199
|
+
}
|
|
200
|
+
}, "cherryPick"), E = /* @__PURE__ */ t(function(e) {
|
|
201
|
+
if (e = d.sanitizeText(e, S()), C.records.branches.has(e)) {
|
|
202
|
+
C.records.currBranch = e;
|
|
203
|
+
let t = C.records.branches.get(C.records.currBranch);
|
|
204
|
+
t === void 0 || !t ? C.records.head = null : C.records.head = C.records.commits.get(t) ?? null;
|
|
205
|
+
} else {
|
|
206
|
+
let t = /* @__PURE__ */ Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);
|
|
207
|
+
throw t.hash = {
|
|
208
|
+
text: `checkout ${e}`,
|
|
209
|
+
token: `checkout ${e}`,
|
|
210
|
+
expected: [`branch ${e}`]
|
|
211
|
+
}, t;
|
|
212
|
+
}
|
|
213
|
+
}, "checkout");
|
|
214
|
+
function D(e, t, n) {
|
|
215
|
+
let r = e.indexOf(t);
|
|
216
|
+
r === -1 ? e.push(n) : e.splice(r, 1, n);
|
|
217
|
+
}
|
|
218
|
+
t(D, "upsert");
|
|
219
|
+
function O(e) {
|
|
220
|
+
let t = e.reduce((e, t) => e.seq > t.seq ? e : t, e[0]), r = "";
|
|
221
|
+
e.forEach(function(e) {
|
|
222
|
+
e === t ? r += " *" : r += " |";
|
|
223
|
+
});
|
|
224
|
+
let i = [
|
|
225
|
+
r,
|
|
226
|
+
t.id,
|
|
227
|
+
t.seq
|
|
228
|
+
];
|
|
229
|
+
for (let e in C.records.branches) C.records.branches.get(e) === t.id && i.push(e);
|
|
230
|
+
if (n.debug(i.join(" ")), t.parents && t.parents.length == 2 && t.parents[0] && t.parents[1]) {
|
|
231
|
+
let n = C.records.commits.get(t.parents[0]);
|
|
232
|
+
D(e, t, n), t.parents[1] && e.push(C.records.commits.get(t.parents[1]));
|
|
233
|
+
} else if (t.parents.length == 0) return;
|
|
234
|
+
else if (t.parents[0]) {
|
|
235
|
+
let n = C.records.commits.get(t.parents[0]);
|
|
236
|
+
D(e, t, n);
|
|
237
|
+
}
|
|
238
|
+
e = T(e, (e) => e.id), O(e);
|
|
239
|
+
}
|
|
240
|
+
t(O, "prettyPrintCommitHistory");
|
|
241
|
+
var ce = /* @__PURE__ */ t(function() {
|
|
242
|
+
n.debug(C.records.commits);
|
|
243
|
+
let e = k()[0];
|
|
244
|
+
O([e]);
|
|
245
|
+
}, "prettyPrint"), le = /* @__PURE__ */ t(function() {
|
|
246
|
+
C.reset(), c();
|
|
247
|
+
}, "clear"), ue = /* @__PURE__ */ t(function() {
|
|
248
|
+
return [...C.records.branchConfig.values()].map((e, t) => e.order !== null && e.order !== void 0 ? e : {
|
|
249
|
+
...e,
|
|
250
|
+
order: parseFloat(`0.${t}`)
|
|
251
|
+
}).sort((e, t) => (e.order ?? 0) - (t.order ?? 0)).map(({ name: e }) => ({ name: e }));
|
|
252
|
+
}, "getBranchesAsObjArray"), de = /* @__PURE__ */ t(function() {
|
|
253
|
+
return C.records.branches;
|
|
254
|
+
}, "getBranches"), fe = /* @__PURE__ */ t(function() {
|
|
255
|
+
return C.records.commits;
|
|
256
|
+
}, "getCommits"), k = /* @__PURE__ */ t(function() {
|
|
257
|
+
let e = [...C.records.commits.values()];
|
|
258
|
+
return e.forEach(function(e) {
|
|
259
|
+
n.debug(e.id);
|
|
260
|
+
}), e.sort((e, t) => e.seq - t.seq), e;
|
|
261
|
+
}, "getCommitsArray"), A = {
|
|
262
|
+
commitType: x,
|
|
263
|
+
getConfig: S,
|
|
264
|
+
setDirection: te,
|
|
265
|
+
setOptions: ne,
|
|
266
|
+
getOptions: re,
|
|
267
|
+
commit: ie,
|
|
268
|
+
branch: ae,
|
|
269
|
+
merge: oe,
|
|
270
|
+
cherryPick: se,
|
|
271
|
+
checkout: E,
|
|
272
|
+
prettyPrint: ce,
|
|
273
|
+
clear: le,
|
|
274
|
+
getBranchesAsObjArray: ue,
|
|
275
|
+
getBranches: de,
|
|
276
|
+
getCommits: fe,
|
|
277
|
+
getCommitsArray: k,
|
|
278
|
+
getCurrentBranch: /* @__PURE__ */ t(function() {
|
|
279
|
+
return C.records.currBranch;
|
|
280
|
+
}, "getCurrentBranch"),
|
|
281
|
+
getDirection: /* @__PURE__ */ t(function() {
|
|
282
|
+
return C.records.direction;
|
|
283
|
+
}, "getDirection"),
|
|
284
|
+
getHead: /* @__PURE__ */ t(function() {
|
|
285
|
+
return C.records.head;
|
|
286
|
+
}, "getHead"),
|
|
287
|
+
setAccTitle: o,
|
|
288
|
+
getAccTitle: h,
|
|
289
|
+
getAccDescription: f,
|
|
290
|
+
setAccDescription: i,
|
|
291
|
+
setDiagramTitle: a,
|
|
292
|
+
getDiagramTitle: p
|
|
293
|
+
}, pe = /* @__PURE__ */ t((e, t) => {
|
|
294
|
+
y(e, t), e.dir && t.setDirection(e.dir);
|
|
295
|
+
for (let n of e.statements) me(n, t);
|
|
296
|
+
}, "populate"), me = /* @__PURE__ */ t((e, r) => {
|
|
297
|
+
let i = {
|
|
298
|
+
Commit: /* @__PURE__ */ t((e) => r.commit(he(e)), "Commit"),
|
|
299
|
+
Branch: /* @__PURE__ */ t((e) => r.branch(ge(e)), "Branch"),
|
|
300
|
+
Merge: /* @__PURE__ */ t((e) => r.merge(_e(e)), "Merge"),
|
|
301
|
+
Checkout: /* @__PURE__ */ t((e) => r.checkout(ve(e)), "Checkout"),
|
|
302
|
+
CherryPicking: /* @__PURE__ */ t((e) => r.cherryPick(ye(e)), "CherryPicking")
|
|
303
|
+
}[e.$type];
|
|
304
|
+
i ? i(e) : n.error(`Unknown statement type: ${e.$type}`);
|
|
305
|
+
}, "parseStatement"), he = /* @__PURE__ */ t((e) => ({
|
|
306
|
+
id: e.id,
|
|
307
|
+
msg: e.message ?? "",
|
|
308
|
+
type: e.type === void 0 ? x.NORMAL : x[e.type],
|
|
309
|
+
tags: e.tags ?? void 0
|
|
310
|
+
}), "parseCommit"), ge = /* @__PURE__ */ t((e) => ({
|
|
311
|
+
name: e.name,
|
|
312
|
+
order: e.order ?? 0
|
|
313
|
+
}), "parseBranch"), _e = /* @__PURE__ */ t((e) => ({
|
|
314
|
+
branch: e.branch,
|
|
315
|
+
id: e.id ?? "",
|
|
316
|
+
type: e.type === void 0 ? void 0 : x[e.type],
|
|
317
|
+
tags: e.tags ?? void 0
|
|
318
|
+
}), "parseMerge"), ve = /* @__PURE__ */ t((e) => e.branch, "parseCheckout"), ye = /* @__PURE__ */ t((e) => ({
|
|
319
|
+
id: e.id,
|
|
320
|
+
targetId: "",
|
|
321
|
+
tags: e.tags?.length === 0 ? void 0 : e.tags,
|
|
322
|
+
parent: e.parent
|
|
323
|
+
}), "parseCherryPicking"), be = { parse: /* @__PURE__ */ t(async (t) => {
|
|
324
|
+
let r = await e("gitGraph", t);
|
|
325
|
+
n.debug(r), pe(r, A);
|
|
326
|
+
}, "parse") }, j = 10, M = 40, N = 4, P = 2, F = 8, I = /* @__PURE__ */ new Set([
|
|
327
|
+
"redux",
|
|
328
|
+
"redux-dark",
|
|
329
|
+
"redux-color",
|
|
330
|
+
"redux-dark-color"
|
|
331
|
+
]), L = 12, R = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), xe = /* @__PURE__ */ new Set([
|
|
332
|
+
"dark",
|
|
333
|
+
"redux-dark",
|
|
334
|
+
"redux-dark-color",
|
|
335
|
+
"neo-dark"
|
|
336
|
+
]), z = /* @__PURE__ */ t((e, t, n = !1) => n && e > 0 ? (e - 1) % (t - 1) + 1 : e % t, "calcColorIndex"), B = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), H = 30, U = /* @__PURE__ */ new Map(), W = [], G = 0, K = "LR", Se = /* @__PURE__ */ t(() => {
|
|
337
|
+
B.clear(), V.clear(), U.clear(), G = 0, W = [], K = "LR";
|
|
338
|
+
}, "clear"), q = /* @__PURE__ */ t((e) => {
|
|
339
|
+
let t = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
340
|
+
return (typeof e == "string" ? e.split(/\\n|\n|<br\s*\/?>/gi) : e).forEach((e) => {
|
|
341
|
+
let n = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
342
|
+
n.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), n.setAttribute("dy", "1em"), n.setAttribute("x", "0"), n.setAttribute("class", "row"), n.textContent = e.trim(), t.appendChild(n);
|
|
343
|
+
}), t;
|
|
344
|
+
}, "drawText"), J = /* @__PURE__ */ t((e) => {
|
|
345
|
+
let n, r, i;
|
|
346
|
+
return K === "BT" ? (r = /* @__PURE__ */ t((e, t) => e <= t, "comparisonFunc"), i = Infinity) : (r = /* @__PURE__ */ t((e, t) => e >= t, "comparisonFunc"), i = 0), e.forEach((e) => {
|
|
347
|
+
let t = K === "TB" || K == "BT" ? V.get(e)?.y : V.get(e)?.x;
|
|
348
|
+
t !== void 0 && r(t, i) && (n = e, i = t);
|
|
349
|
+
}), n;
|
|
350
|
+
}, "findClosestParent"), Ce = /* @__PURE__ */ t((e) => {
|
|
351
|
+
let t = "", n = Infinity;
|
|
352
|
+
return e.forEach((e) => {
|
|
353
|
+
let r = V.get(e).y;
|
|
354
|
+
r <= n && (t = e, n = r);
|
|
355
|
+
}), t || void 0;
|
|
356
|
+
}, "findClosestParentBT"), we = /* @__PURE__ */ t((e, t, n) => {
|
|
357
|
+
let r = n, i = n, a = [];
|
|
358
|
+
e.forEach((e) => {
|
|
359
|
+
let n = t.get(e);
|
|
360
|
+
if (!n) throw Error(`Commit not found for key ${e}`);
|
|
361
|
+
n.parents.length ? (r = Ee(n), i = Math.max(r, i)) : a.push(n), De(n, r);
|
|
362
|
+
}), r = i, a.forEach((e) => {
|
|
363
|
+
Oe(e, r, n);
|
|
364
|
+
}), e.forEach((e) => {
|
|
365
|
+
let n = t.get(e);
|
|
366
|
+
if (n?.parents.length) {
|
|
367
|
+
let e = Ce(n.parents);
|
|
368
|
+
r = V.get(e).y - M, r <= i && (i = r);
|
|
369
|
+
let t = B.get(n.branch).pos, a = r - j;
|
|
370
|
+
V.set(n.id, {
|
|
371
|
+
x: t,
|
|
372
|
+
y: a
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
}, "setParallelBTPos"), Te = /* @__PURE__ */ t((e) => {
|
|
377
|
+
let t = J(e.parents.filter((e) => e !== null));
|
|
378
|
+
if (!t) throw Error(`Closest parent not found for commit ${e.id}`);
|
|
379
|
+
let n = V.get(t)?.y;
|
|
380
|
+
if (n === void 0) throw Error(`Closest parent position not found for commit ${e.id}`);
|
|
381
|
+
return n;
|
|
382
|
+
}, "findClosestParentPos"), Ee = /* @__PURE__ */ t((e) => Te(e) + M, "calculateCommitPosition"), De = /* @__PURE__ */ t((e, t) => {
|
|
383
|
+
let n = B.get(e.branch);
|
|
384
|
+
if (!n) throw Error(`Branch not found for commit ${e.id}`);
|
|
385
|
+
let r = n.pos, i = t + j;
|
|
386
|
+
return V.set(e.id, {
|
|
387
|
+
x: r,
|
|
388
|
+
y: i
|
|
389
|
+
}), {
|
|
390
|
+
x: r,
|
|
391
|
+
y: i
|
|
392
|
+
};
|
|
393
|
+
}, "setCommitPosition"), Oe = /* @__PURE__ */ t((e, t, n) => {
|
|
394
|
+
let r = B.get(e.branch);
|
|
395
|
+
if (!r) throw Error(`Branch not found for commit ${e.id}`);
|
|
396
|
+
let i = t + n, a = r.pos;
|
|
397
|
+
V.set(e.id, {
|
|
398
|
+
x: a,
|
|
399
|
+
y: i
|
|
400
|
+
});
|
|
401
|
+
}, "setRootPosition"), ke = /* @__PURE__ */ t((e, t, n, r, i, a) => {
|
|
402
|
+
let { theme: o } = m(), s = I.has(o ?? ""), c = R.has(o ?? ""), l = xe.has(o ?? "");
|
|
403
|
+
if (a === x.HIGHLIGHT) e.append("rect").attr("x", n.x - 10 + (s ? 3 : 0)).attr("y", n.y - 10 + (s ? 3 : 0)).attr("width", s ? 14 : 20).attr("height", s ? 14 : 20).attr("class", `commit ${t.id} commit-highlight${z(i, F, c)} ${r}-outer`), e.append("rect").attr("x", n.x - 6 + (s ? 2 : 0)).attr("y", n.y - 6 + (s ? 2 : 0)).attr("width", s ? 8 : 12).attr("height", s ? 8 : 12).attr("class", `commit ${t.id} commit${z(i, F, c)} ${r}-inner`);
|
|
404
|
+
else if (a === x.CHERRY_PICK) e.append("circle").attr("cx", n.x).attr("cy", n.y).attr("r", s ? 7 : 10).attr("class", `commit ${t.id} ${r}`), e.append("circle").attr("cx", n.x - 3).attr("cy", n.y + 2).attr("r", s ? 2.5 : 2.75).attr("fill", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`), e.append("circle").attr("cx", n.x + 3).attr("cy", n.y + 2).attr("r", s ? 2.5 : 2.75).attr("fill", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`), e.append("line").attr("x1", n.x + 3).attr("y1", n.y + 1).attr("x2", n.x).attr("y2", n.y - 5).attr("stroke", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`), e.append("line").attr("x1", n.x - 3).attr("y1", n.y + 1).attr("x2", n.x).attr("y2", n.y - 5).attr("stroke", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`);
|
|
405
|
+
else {
|
|
406
|
+
let o = e.append("circle");
|
|
407
|
+
if (o.attr("cx", n.x), o.attr("cy", n.y), o.attr("r", s ? 7 : 10), o.attr("class", `commit ${t.id} commit${z(i, F, c)}`), a === x.MERGE) {
|
|
408
|
+
let a = e.append("circle");
|
|
409
|
+
a.attr("cx", n.x), a.attr("cy", n.y), a.attr("r", s ? 5 : 6), a.attr("class", `commit ${r} ${t.id} commit${z(i, F, c)}`);
|
|
410
|
+
}
|
|
411
|
+
if (a === x.REVERSE) {
|
|
412
|
+
let a = e.append("path"), o = s ? 4 : 5;
|
|
413
|
+
a.attr("d", `M ${n.x - o},${n.y - o}L${n.x + o},${n.y + o}M${n.x - o},${n.y + o}L${n.x + o},${n.y - o}`).attr("class", `commit ${r} ${t.id} commit${z(i, F, c)}`);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}, "drawCommitBullet"), Ae = /* @__PURE__ */ t((e, t, n, r, i) => {
|
|
417
|
+
if (t.type !== x.CHERRY_PICK && (t.customId && t.type === x.MERGE || t.type !== x.MERGE) && i.showCommitLabel) {
|
|
418
|
+
let a = e.append("g"), o = a.insert("rect").attr("class", "commit-label-bkg"), s = a.append("text").attr("x", r).attr("y", n.y + 25).attr("class", "commit-label").text(t.id), c = s.node()?.getBBox();
|
|
419
|
+
if (c && (o.attr("x", n.posWithOffset - c.width / 2 - P).attr("y", n.y + 13.5).attr("width", c.width + 2 * P).attr("height", c.height + 2 * P), K === "TB" || K === "BT" ? (o.attr("x", n.x - (c.width + 4 * N + 5)).attr("y", n.y - 12), s.attr("x", n.x - (c.width + 4 * N)).attr("y", n.y + c.height - 12)) : s.attr("x", n.posWithOffset - c.width / 2), i.rotateCommitLabel)) if (K === "TB" || K === "BT") s.attr("transform", "rotate(-45, " + n.x + ", " + n.y + ")"), o.attr("transform", "rotate(-45, " + n.x + ", " + n.y + ")");
|
|
420
|
+
else {
|
|
421
|
+
let e = -7.5 - (c.width + 10) / 25 * 9.5, t = 10 + c.width / 25 * 8.5;
|
|
422
|
+
a.attr("transform", "translate(" + e + ", " + t + ") rotate(-45, " + r + ", " + n.y + ")");
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}, "drawCommitLabel"), je = /* @__PURE__ */ t((e, t, n, r) => {
|
|
426
|
+
if (t.tags.length > 0) {
|
|
427
|
+
let i = 0, a = 0, o = 0, s = [];
|
|
428
|
+
for (let r of t.tags.reverse()) {
|
|
429
|
+
let t = e.insert("polygon"), c = e.append("circle"), l = e.append("text").attr("y", n.y - 16 - i).attr("class", "tag-label").text(r), u = l.node()?.getBBox();
|
|
430
|
+
if (!u) throw Error("Tag bbox not found");
|
|
431
|
+
a = Math.max(a, u.width), o = Math.max(o, u.height), l.attr("x", n.posWithOffset - u.width / 2), s.push({
|
|
432
|
+
tag: l,
|
|
433
|
+
hole: c,
|
|
434
|
+
rect: t,
|
|
435
|
+
yOffset: i
|
|
436
|
+
}), i += 20;
|
|
437
|
+
}
|
|
438
|
+
for (let { tag: e, hole: t, rect: i, yOffset: c } of s) {
|
|
439
|
+
let s = o / 2, l = n.y - 19.2 - c;
|
|
440
|
+
if (i.attr("class", "tag-label-bkg").attr("points", `
|
|
441
|
+
${r - a / 2 - N / 2},${l + P}
|
|
442
|
+
${r - a / 2 - N / 2},${l - P}
|
|
443
|
+
${n.posWithOffset - a / 2 - N},${l - s - P}
|
|
444
|
+
${n.posWithOffset + a / 2 + N},${l - s - P}
|
|
445
|
+
${n.posWithOffset + a / 2 + N},${l + s + P}
|
|
446
|
+
${n.posWithOffset - a / 2 - N},${l + s + P}`), t.attr("cy", l).attr("cx", r - a / 2 + N / 2).attr("r", 1.5).attr("class", "tag-hole"), K === "TB" || K === "BT") {
|
|
447
|
+
let o = r + c;
|
|
448
|
+
i.attr("class", "tag-label-bkg").attr("points", `
|
|
449
|
+
${n.x},${o + 2}
|
|
450
|
+
${n.x},${o - 2}
|
|
451
|
+
${n.x + j},${o - s - 2}
|
|
452
|
+
${n.x + j + a + 4},${o - s - 2}
|
|
453
|
+
${n.x + j + a + 4},${o + s + 2}
|
|
454
|
+
${n.x + j},${o + s + 2}`).attr("transform", "translate(12,12) rotate(45, " + n.x + "," + r + ")"), t.attr("cx", n.x + N / 2).attr("cy", o).attr("transform", "translate(12,12) rotate(45, " + n.x + "," + r + ")"), e.attr("x", n.x + 5).attr("y", o + 3).attr("transform", "translate(14,14) rotate(45, " + n.x + "," + r + ")");
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}, "drawCommitTags"), Me = /* @__PURE__ */ t((e) => {
|
|
459
|
+
switch (e.customType ?? e.type) {
|
|
460
|
+
case x.NORMAL: return "commit-normal";
|
|
461
|
+
case x.REVERSE: return "commit-reverse";
|
|
462
|
+
case x.HIGHLIGHT: return "commit-highlight";
|
|
463
|
+
case x.MERGE: return "commit-merge";
|
|
464
|
+
case x.CHERRY_PICK: return "commit-cherry-pick";
|
|
465
|
+
default: return "commit-normal";
|
|
466
|
+
}
|
|
467
|
+
}, "getCommitClassType"), Ne = /* @__PURE__ */ t((e, t, n, r) => {
|
|
468
|
+
let i = {
|
|
469
|
+
x: 0,
|
|
470
|
+
y: 0
|
|
471
|
+
};
|
|
472
|
+
if (e.parents.length > 0) {
|
|
473
|
+
let n = J(e.parents);
|
|
474
|
+
if (n) {
|
|
475
|
+
let a = r.get(n) ?? i;
|
|
476
|
+
return t === "TB" ? a.y + M : t === "BT" ? (r.get(e.id) ?? i).y - M : a.x + M;
|
|
477
|
+
}
|
|
478
|
+
} else if (t === "TB") return H;
|
|
479
|
+
else if (t === "BT") return (r.get(e.id) ?? i).y - M;
|
|
480
|
+
else return 0;
|
|
481
|
+
return 0;
|
|
482
|
+
}, "calculatePosition"), Pe = /* @__PURE__ */ t((e, t, n) => {
|
|
483
|
+
let r = K === "BT" && n ? t : t + j, i = B.get(e.branch)?.pos, a = K === "TB" || K === "BT" ? B.get(e.branch)?.pos : r;
|
|
484
|
+
if (a === void 0 || i === void 0) throw Error(`Position were undefined for commit ${e.id}`);
|
|
485
|
+
let o = I.has(m().theme ?? "");
|
|
486
|
+
return {
|
|
487
|
+
x: a,
|
|
488
|
+
y: K === "TB" || K === "BT" ? r : i + (o ? L / 2 + 1 : -2),
|
|
489
|
+
posWithOffset: r
|
|
490
|
+
};
|
|
491
|
+
}, "getCommitPosition"), Y = /* @__PURE__ */ t((e, n, r, i) => {
|
|
492
|
+
let a = e.append("g").attr("class", "commit-bullets"), o = e.append("g").attr("class", "commit-labels"), s = K === "TB" || K === "BT" ? H : 0, c = [...n.keys()], l = i.parallelCommits ?? !1, u = /* @__PURE__ */ t((e, t) => {
|
|
493
|
+
let r = n.get(e)?.seq, i = n.get(t)?.seq;
|
|
494
|
+
return r !== void 0 && i !== void 0 ? r - i : 0;
|
|
495
|
+
}, "sortKeys"), d = c.sort(u);
|
|
496
|
+
K === "BT" && (l && we(d, n, s), d = d.reverse()), d.forEach((e) => {
|
|
497
|
+
let t = n.get(e);
|
|
498
|
+
if (!t) throw Error(`Commit not found for key ${e}`);
|
|
499
|
+
l && (s = Ne(t, K, s, V));
|
|
500
|
+
let c = Pe(t, s, l);
|
|
501
|
+
if (r) {
|
|
502
|
+
let e = Me(t), n = t.customType ?? t.type;
|
|
503
|
+
ke(a, t, c, e, B.get(t.branch)?.index ?? 0, n), Ae(o, t, c, s, i), je(o, t, c, s);
|
|
504
|
+
}
|
|
505
|
+
K === "TB" || K === "BT" ? V.set(t.id, {
|
|
506
|
+
x: c.x,
|
|
507
|
+
y: c.posWithOffset
|
|
508
|
+
}) : V.set(t.id, {
|
|
509
|
+
x: c.posWithOffset,
|
|
510
|
+
y: c.y
|
|
511
|
+
}), s = K === "BT" && l ? s + M : s + M + j, s > G && (G = s);
|
|
512
|
+
});
|
|
513
|
+
}, "drawCommits"), Fe = /* @__PURE__ */ t((e, n, r, i, a) => {
|
|
514
|
+
let o = (K === "TB" || K === "BT" ? r.x < i.x : r.y < i.y) ? n.branch : e.branch, s = /* @__PURE__ */ t((e) => e.branch === o, "isOnBranchToGetCurve"), c = /* @__PURE__ */ t((t) => t.seq > e.seq && t.seq < n.seq, "isBetweenCommits");
|
|
515
|
+
return [...a.values()].some((e) => c(e) && s(e));
|
|
516
|
+
}, "shouldRerouteArrow"), X = /* @__PURE__ */ t((e, t, n = 0) => {
|
|
517
|
+
let r = e + Math.abs(e - t) / 2;
|
|
518
|
+
return n > 5 ? r : W.every((e) => Math.abs(e - r) >= 10) ? (W.push(r), r) : X(e, t - Math.abs(e - t) / 5, n + 1);
|
|
519
|
+
}, "findLane"), Ie = /* @__PURE__ */ t((e, t, n, r) => {
|
|
520
|
+
let { theme: i } = m(), a = R.has(i ?? ""), o = V.get(t.id), s = V.get(n.id);
|
|
521
|
+
if (o === void 0 || s === void 0) throw Error(`Commit positions not found for commits ${t.id} and ${n.id}`);
|
|
522
|
+
let c = Fe(t, n, o, s, r), l = "", u = "", d = 0, f = 0, p = B.get(n.branch)?.index;
|
|
523
|
+
n.type === x.MERGE && t.id !== n.parents[0] && (p = B.get(t.branch)?.index);
|
|
524
|
+
let h;
|
|
525
|
+
if (c) {
|
|
526
|
+
l = "A 10 10, 0, 0, 0,", u = "A 10 10, 0, 0, 1,", d = 10, f = 10;
|
|
527
|
+
let e = o.y < s.y ? X(o.y, s.y) : X(s.y, o.y), n = o.x < s.x ? X(o.x, s.x) : X(s.x, o.x);
|
|
528
|
+
K === "TB" ? o.x < s.x ? h = `M ${o.x} ${o.y} L ${n - d} ${o.y} ${u} ${n} ${o.y + f} L ${n} ${s.y - d} ${l} ${n + f} ${s.y} L ${s.x} ${s.y}` : (p = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${n + d} ${o.y} ${l} ${n} ${o.y + f} L ${n} ${s.y - d} ${u} ${n - f} ${s.y} L ${s.x} ${s.y}`) : K === "BT" ? o.x < s.x ? h = `M ${o.x} ${o.y} L ${n - d} ${o.y} ${l} ${n} ${o.y - f} L ${n} ${s.y + d} ${u} ${n + f} ${s.y} L ${s.x} ${s.y}` : (p = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${n + d} ${o.y} ${u} ${n} ${o.y - f} L ${n} ${s.y + d} ${l} ${n - f} ${s.y} L ${s.x} ${s.y}`) : o.y < s.y ? h = `M ${o.x} ${o.y} L ${o.x} ${e - d} ${l} ${o.x + f} ${e} L ${s.x - d} ${e} ${u} ${s.x} ${e + f} L ${s.x} ${s.y}` : (p = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${o.x} ${e + d} ${u} ${o.x + f} ${e} L ${s.x - d} ${e} ${l} ${s.x} ${e - f} L ${s.x} ${s.y}`);
|
|
529
|
+
} else l = "A 20 20, 0, 0, 0,", u = "A 20 20, 0, 0, 1,", d = 20, f = 20, K === "TB" ? (o.x < s.x && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y - d} ${l} ${o.x + f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${u} ${s.x} ${o.y + f} L ${s.x} ${s.y}`), o.x > s.x && (l = "A 20 20, 0, 0, 0,", u = "A 20 20, 0, 0, 1,", d = 20, f = 20, h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y - d} ${u} ${o.x - f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x + d} ${o.y} ${l} ${s.x} ${o.y + f} L ${s.x} ${s.y}`), o.x === s.x && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`)) : K === "BT" ? (o.x < s.x && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y + d} ${u} ${o.x + f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${l} ${s.x} ${o.y - f} L ${s.x} ${s.y}`), o.x > s.x && (l = "A 20 20, 0, 0, 0,", u = "A 20 20, 0, 0, 1,", d = 20, f = 20, h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y + d} ${l} ${o.x - f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x + d} ${o.y} ${u} ${s.x} ${o.y - f} L ${s.x} ${s.y}`), o.x === s.x && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`)) : (o.y < s.y && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${u} ${s.x} ${o.y + f} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${o.x} ${s.y - d} ${l} ${o.x + f} ${s.y} L ${s.x} ${s.y}`), o.y > s.y && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${l} ${s.x} ${o.y - f} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${o.x} ${s.y + d} ${u} ${o.x + f} ${s.y} L ${s.x} ${s.y}`), o.y === s.y && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`));
|
|
530
|
+
if (h === void 0) throw Error("Line definition not found");
|
|
531
|
+
e.append("path").attr("d", h).attr("class", "arrow arrow" + z(p, F, a));
|
|
532
|
+
}, "drawArrow"), Le = /* @__PURE__ */ t((e, t) => {
|
|
533
|
+
let n = e.append("g").attr("class", "commit-arrows");
|
|
534
|
+
[...t.keys()].forEach((e) => {
|
|
535
|
+
let r = t.get(e);
|
|
536
|
+
r.parents && r.parents.length > 0 && r.parents.forEach((e) => {
|
|
537
|
+
Ie(n, t.get(e), r, t);
|
|
538
|
+
});
|
|
539
|
+
});
|
|
540
|
+
}, "drawArrows"), Re = /* @__PURE__ */ t((e, t, n, r) => {
|
|
541
|
+
let { look: i, theme: a, themeVariables: o } = m(), { dropShadow: s, THEME_COLOR_LIMIT: c } = o, l = I.has(a ?? ""), u = R.has(a ?? ""), d = e.append("g");
|
|
542
|
+
t.forEach((e, t) => {
|
|
543
|
+
let a = z(t, l ? c : F, u), o = B.get(e.name)?.pos;
|
|
544
|
+
if (o === void 0) throw Error(`Position not found for branch ${e.name}`);
|
|
545
|
+
let f = K === "TB" || K === "BT" ? o : l ? o + L / 2 + 1 : o - 2, p = d.append("line");
|
|
546
|
+
p.attr("x1", 0), p.attr("y1", f), p.attr("x2", G), p.attr("y2", f), p.attr("class", "branch branch" + a), K === "TB" ? (p.attr("y1", H), p.attr("x1", o), p.attr("y2", G), p.attr("x2", o)) : K === "BT" && (p.attr("y1", G), p.attr("x1", o), p.attr("y2", H), p.attr("x2", o)), W.push(f);
|
|
547
|
+
let m = e.name, h = q(m), g = d.insert("rect"), _ = d.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + a);
|
|
548
|
+
_.node().appendChild(h);
|
|
549
|
+
let v = h.getBBox(), y = l ? 0 : 4, b = l ? 16 : 0, x = l ? L : 0;
|
|
550
|
+
i === "neo" && g.attr("data-look", "neo"), g.attr("class", "branchLabelBkg label" + a).attr("style", i === "neo" ? `filter:${l ? `url(#${r}-drop-shadow)` : s}` : "").attr("rx", y).attr("ry", y).attr("x", -v.width - 4 - (n.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -v.height / 2 + 10).attr("width", v.width + 18 + b).attr("height", v.height + 4 + x), _.attr("transform", "translate(" + (-v.width - 14 - (n.rotateCommitLabel === !0 ? 30 : 0) + b / 2) + ", " + (f - v.height / 2 - 2) + ")"), K === "TB" ? (g.attr("x", o - v.width / 2 - 10).attr("y", 0), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", 0)"), l && (g.attr("transform", `translate(${-b / 2 - 3}, ${-x - 10})`), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + (-x * 2 + 7) + ")"))) : K === "BT" ? (g.attr("x", o - v.width / 2 - 10).attr("y", G), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + G + ")"), l && (g.attr("transform", `translate(${-b / 2 - 3}, ${x + 10})`), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + (G + x * 2 + 4) + ")"))) : g.attr("transform", "translate(-19, " + (f - 12 - x / 2) + ")");
|
|
551
|
+
});
|
|
552
|
+
}, "drawBranches"), ze = /* @__PURE__ */ t(function(e, t, n, r, i) {
|
|
553
|
+
return B.set(e, {
|
|
554
|
+
pos: t,
|
|
555
|
+
index: n
|
|
556
|
+
}), t += 50 + (i ? 40 : 0) + (K === "TB" || K === "BT" ? r.width / 2 : 0), t;
|
|
557
|
+
}, "setBranchPosition"), Be = { draw: /* @__PURE__ */ t(function(e, t, i, a) {
|
|
558
|
+
Se(), n.debug("in gitgraph renderer", e + "\n", "id:", t, i);
|
|
559
|
+
let o = a.db;
|
|
560
|
+
if (!o.getConfig) {
|
|
561
|
+
n.error("getConfig method is not available on db");
|
|
562
|
+
return;
|
|
563
|
+
}
|
|
564
|
+
let c = o.getConfig(), l = c.rotateCommitLabel ?? !1;
|
|
565
|
+
U = o.getCommits();
|
|
566
|
+
let u = o.getBranchesAsObjArray();
|
|
567
|
+
K = o.getDirection();
|
|
568
|
+
let d = r(`[id="${t}"]`), { look: f, theme: p, themeVariables: h } = m(), { useGradient: _, gradientStart: v, gradientStop: y, filterColor: b } = h;
|
|
569
|
+
if (_) {
|
|
570
|
+
let e = d.append("defs").append("linearGradient").attr("id", t + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
571
|
+
e.append("stop").attr("offset", "0%").attr("stop-color", v).attr("stop-opacity", 1), e.append("stop").attr("offset", "100%").attr("stop-color", y).attr("stop-opacity", 1);
|
|
572
|
+
}
|
|
573
|
+
f === "neo" && I.has(p ?? "") && d.append("defs").append("filter").attr("id", t + "-drop-shadow").attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", b);
|
|
574
|
+
let x = 0;
|
|
575
|
+
u.forEach((e, t) => {
|
|
576
|
+
let n = q(e.name), r = d.append("g"), i = r.insert("g").attr("class", "branchLabel"), a = i.insert("g").attr("class", "label branch-label");
|
|
577
|
+
a.node()?.appendChild(n);
|
|
578
|
+
let o = n.getBBox();
|
|
579
|
+
x = ze(e.name, x, t, o, l), a.remove(), i.remove(), r.remove();
|
|
580
|
+
}), Y(d, U, !1, c), c.showBranches && Re(d, u, c, t), Le(d, U), Y(d, U, !0, c), g.insertTitle(d, "gitTitleText", c.titleTopMargin ?? 0, o.getDiagramTitle()), s(void 0, d, c.diagramPadding, c.useMaxWidth);
|
|
581
|
+
}, "draw") }, Z = 8, Q = /* @__PURE__ */ new Set([
|
|
582
|
+
"redux",
|
|
583
|
+
"redux-dark",
|
|
584
|
+
"redux-color",
|
|
585
|
+
"redux-dark-color"
|
|
586
|
+
]), Ve = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), $ = /* @__PURE__ */ new Set(["neo", "neo-dark"]), He = /* @__PURE__ */ new Set([
|
|
587
|
+
"dark",
|
|
588
|
+
"redux-dark",
|
|
589
|
+
"redux-dark-color",
|
|
590
|
+
"neo-dark"
|
|
591
|
+
]), Ue = /* @__PURE__ */ new Set([
|
|
592
|
+
"redux",
|
|
593
|
+
"redux-dark",
|
|
594
|
+
"redux-color",
|
|
595
|
+
"redux-dark-color",
|
|
596
|
+
"neo",
|
|
597
|
+
"neo-dark"
|
|
598
|
+
]), We = /* @__PURE__ */ t((e) => {
|
|
599
|
+
let { svgId: t } = e, n = "";
|
|
600
|
+
if (e.useGradient && t) for (let r = 0; r < e.THEME_COLOR_LIMIT; r++) n += `
|
|
601
|
+
.label${r} { fill: ${e.mainBkg}; stroke: url(${t}-gradient); stroke-width: ${e.strokeWidth};}
|
|
602
|
+
`;
|
|
603
|
+
return n;
|
|
604
|
+
}, "genGitGraphGradient"), Ge = /* @__PURE__ */ t((e) => {
|
|
605
|
+
let { theme: t, themeVariables: n } = l(), { borderColorArray: r } = n, i = Q.has(t);
|
|
606
|
+
if ($.has(t)) {
|
|
607
|
+
let t = "";
|
|
608
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) if (n === 0) t += `
|
|
609
|
+
.branch-label${n} { fill: ${e.nodeBorder};}
|
|
610
|
+
.commit${n} { stroke: ${e.nodeBorder}; }
|
|
611
|
+
.commit-highlight${n} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
612
|
+
.arrow${n} { stroke: ${e.nodeBorder}; }
|
|
613
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
614
|
+
.commit-cherry-pick${n} { stroke: ${e.nodeBorder}; }
|
|
615
|
+
${We(e)}`;
|
|
616
|
+
else {
|
|
617
|
+
let r = n % Z;
|
|
618
|
+
t += `
|
|
619
|
+
.branch-label${n} { fill: ${e["gitBranchLabel" + r]}; }
|
|
620
|
+
.commit${n} { stroke: ${e["git" + r]}; fill: ${e["git" + r]}; }
|
|
621
|
+
.commit-highlight${n} { stroke: ${e["gitInv" + r]}; fill: ${e["gitInv" + r]}; }
|
|
622
|
+
.arrow${n} { stroke: ${e["git" + r]}; }
|
|
623
|
+
`;
|
|
624
|
+
}
|
|
625
|
+
return t;
|
|
626
|
+
} else if (Ve.has(t)) {
|
|
627
|
+
let n = "";
|
|
628
|
+
for (let a = 0; a < e.THEME_COLOR_LIMIT; a++) if (a === 0) n += `
|
|
629
|
+
.branch-label${a} { fill: ${e.nodeBorder}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
|
|
630
|
+
.commit${a} { stroke: ${e.nodeBorder}; }
|
|
631
|
+
.commit-highlight${a} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
|
|
632
|
+
.label${a} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
|
|
633
|
+
.arrow${a} { stroke: ${e.nodeBorder}; }
|
|
634
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
635
|
+
`;
|
|
636
|
+
else {
|
|
637
|
+
let o = a % r.length;
|
|
638
|
+
n += `
|
|
639
|
+
.branch-label${a} { fill: ${e.nodeBorder}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
|
|
640
|
+
.commit${a} { stroke: ${r[o]}; fill: ${r[o]}; }
|
|
641
|
+
.commit-highlight${a} { stroke: ${r[o]}; fill: ${r[o]}; }
|
|
642
|
+
.label${a} { fill: ${He.has(t) ? e.mainBkg : r[o]}; stroke: ${r[o]}; stroke-width: ${e.strokeWidth}; }
|
|
643
|
+
.arrow${a} { stroke: ${r[o]}; }
|
|
644
|
+
`;
|
|
645
|
+
}
|
|
646
|
+
return n;
|
|
647
|
+
} else {
|
|
648
|
+
let t = "";
|
|
649
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) t += `
|
|
650
|
+
.branch-label${n} { fill: ${e.nodeBorder}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
|
|
651
|
+
.commit${n} { stroke: ${e.nodeBorder}; }
|
|
652
|
+
.commit-highlight${n} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
653
|
+
.label${n} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${i ? `font-weight:${e.noteFontWeight}` : ""}}
|
|
654
|
+
.arrow${n} { stroke: ${e.nodeBorder}; }
|
|
655
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
656
|
+
.commit-cherry-pick${n} { stroke: ${e.nodeBorder}; }
|
|
657
|
+
`;
|
|
658
|
+
return t;
|
|
659
|
+
}
|
|
660
|
+
}, "genColor"), Ke = /* @__PURE__ */ t((e) => `${Array.from({ length: e.THEME_COLOR_LIMIT }, (e, t) => t).map((t) => {
|
|
661
|
+
let n = t % Z;
|
|
662
|
+
return `
|
|
663
|
+
.branch-label${t} { fill: ${e["gitBranchLabel" + n]}; }
|
|
664
|
+
.commit${t} { stroke: ${e["git" + n]}; fill: ${e["git" + n]}; }
|
|
665
|
+
.commit-highlight${t} { stroke: ${e["gitInv" + n]}; fill: ${e["gitInv" + n]}; }
|
|
666
|
+
.label${t} { fill: ${e["git" + n]}; }
|
|
667
|
+
.arrow${t} { stroke: ${e["git" + n]}; }
|
|
668
|
+
`;
|
|
669
|
+
}).join("\n")}`, "normalTheme"), qe = {
|
|
670
|
+
parser: be,
|
|
671
|
+
db: A,
|
|
672
|
+
renderer: Be,
|
|
673
|
+
styles: /* @__PURE__ */ t((e) => {
|
|
674
|
+
let { theme: t } = l(), n = Ue.has(t);
|
|
675
|
+
return `
|
|
676
|
+
.commit-id,
|
|
677
|
+
.commit-msg,
|
|
678
|
+
.branch-label {
|
|
679
|
+
fill: lightgrey;
|
|
680
|
+
color: lightgrey;
|
|
681
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
682
|
+
font-family: var(--mermaid-font-family);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
${n ? Ge(e) : Ke(e)}
|
|
686
|
+
|
|
687
|
+
.branch {
|
|
688
|
+
stroke-width: ${e.strokeWidth};
|
|
689
|
+
stroke: ${e.commitLineColor ?? e.lineColor};
|
|
690
|
+
stroke-dasharray: ${n ? "4 2" : "2"};
|
|
691
|
+
}
|
|
692
|
+
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n ? e.nodeBorder : e.commitLabelColor}; ${n ? `font-weight:${e.noteFontWeight};` : ""}}
|
|
693
|
+
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n ? "transparent" : e.commitLabelBackground}; opacity: ${n ? "" : .5}; }
|
|
694
|
+
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
695
|
+
.tag-label-bkg { fill: ${n ? e.mainBkg : e.tagLabelBackground}; stroke: ${n ? e.nodeBorder : e.tagLabelBorder}; ${n ? `filter:${e.dropShadow}` : ""} }
|
|
696
|
+
.tag-hole { fill: ${e.textColor}; }
|
|
697
|
+
|
|
698
|
+
.commit-merge {
|
|
699
|
+
stroke: ${n ? e.mainBkg : e.primaryColor};
|
|
700
|
+
fill: ${n ? e.mainBkg : e.primaryColor};
|
|
701
|
+
}
|
|
702
|
+
.commit-reverse {
|
|
703
|
+
stroke: ${n ? e.mainBkg : e.primaryColor};
|
|
704
|
+
fill: ${n ? e.mainBkg : e.primaryColor};
|
|
705
|
+
stroke-width: ${n ? e.strokeWidth : 3};
|
|
706
|
+
}
|
|
707
|
+
.commit-highlight-outer {
|
|
708
|
+
}
|
|
709
|
+
.commit-highlight-inner {
|
|
710
|
+
stroke: ${n ? e.mainBkg : e.primaryColor};
|
|
711
|
+
fill: ${n ? e.mainBkg : e.primaryColor};
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.arrow {
|
|
715
|
+
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
716
|
+
stroke-width: ${Q.has(t) ? e.strokeWidth : 8};
|
|
717
|
+
stroke-linecap: round;
|
|
718
|
+
fill: none
|
|
719
|
+
}
|
|
720
|
+
.gitTitleText {
|
|
721
|
+
text-anchor: middle;
|
|
722
|
+
font-size: 18px;
|
|
723
|
+
fill: ${e.textColor};
|
|
724
|
+
}
|
|
725
|
+
`;
|
|
726
|
+
}, "getStyles")
|
|
727
|
+
};
|
|
728
|
+
//#endregion
|
|
729
|
+
export { qe as diagram };
|