@wzh-/ai-chat-example 1.0.2 → 1.0.4
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/css/index.css +2 -0
- package/dist/js/_basePickBy.js +135 -0
- package/dist/js/_baseUniq.js +573 -0
- package/dist/js/angular-html.js +14 -0
- package/dist/js/angular-html2.js +5 -0
- package/dist/js/angular-ts.js +19 -0
- package/dist/js/apl.js +15 -0
- package/dist/js/arc.js +78 -0
- package/dist/js/architecture-U656AL7Q.js +8 -0
- package/dist/js/architectureDiagram-VXUJARFQ.js +4053 -0
- package/dist/js/astro.js +16 -0
- package/dist/js/bash.js +2 -0
- package/dist/js/blade.js +19 -0
- package/dist/js/blockDiagram-VD42YOAC.js +3013 -0
- package/dist/js/bsl.js +3 -0
- package/dist/js/c.js +2 -0
- package/dist/js/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/js/cairo.js +3 -0
- package/dist/js/channel.js +3 -0
- package/dist/js/chunk-4BX2VUAB.js +6 -0
- package/dist/js/chunk-55IACEB6.js +6 -0
- package/dist/js/chunk-76Q3JFCE.js +19 -0
- package/dist/js/chunk-ABZYJK2D.js +2515 -0
- package/dist/js/chunk-ATLVNIR6.js +65 -0
- package/dist/js/chunk-B4BG7PRW.js +3108 -0
- package/dist/js/chunk-CVBHYZKI.js +10 -0
- package/dist/js/chunk-DI55MBZ5.js +1994 -0
- package/dist/js/chunk-EXTU4WIE.js +7 -0
- package/dist/js/chunk-FMBD7UC4.js +3 -0
- package/dist/js/chunk-FPAJGGOC.js +12252 -0
- package/dist/js/chunk-FWNWRKHM.js +56 -0
- package/dist/js/chunk-HN2XXSSU.js +74 -0
- package/dist/js/chunk-JA3XYJ7Z.js +463 -0
- package/dist/js/chunk-JZLCHNYA.js +4861 -0
- package/dist/js/chunk-LBM3YZW2.js +19 -0
- package/dist/js/chunk-LHMN2FUI.js +19 -0
- package/dist/js/chunk-MI3HLSF2.js +1140 -0
- package/dist/js/chunk-N4CR4FBY.js +39 -0
- package/dist/js/chunk-O7ZBX7Z2.js +26 -0
- package/dist/js/chunk-QN33PNHL.js +23 -0
- package/dist/js/chunk-QXUST7PY.js +486 -0
- package/dist/js/chunk-QZHKN3VN.js +11 -0
- package/dist/js/chunk-S3R3BYOJ.js +1074 -0
- package/dist/js/chunk-S6J4BHB3.js +19 -0
- package/dist/js/chunk-T53DSG4Q.js +24 -0
- package/dist/js/chunk-TZMSLE5B.js +55 -0
- package/dist/js/classDiagram-2ON5EDUG.js +33 -0
- package/dist/js/classDiagram-v2-WZHVMYZB.js +33 -0
- package/dist/js/clone.js +7 -0
- package/dist/js/cmake.js +2 -0
- package/dist/js/cobol.js +10 -0
- package/dist/js/coffee.js +3 -0
- package/dist/js/cose-bilkent-S5V4N54A.js +2250 -0
- package/dist/js/cpp.js +16 -0
- package/dist/js/cpp2.js +6 -0
- package/dist/js/crystal.js +16 -0
- package/dist/js/csharp.js +2 -0
- package/dist/js/css.js +2 -0
- package/dist/js/csv.js +2 -0
- package/dist/js/dagre-6UL2VRFP.js +298 -0
- package/dist/js/dagre.js +1395 -0
- package/dist/js/diagram-PSM6KHXK.js +497 -0
- package/dist/js/diagram-QEK2KX5R.js +226 -0
- package/dist/js/diagram-S2PKOQOG.js +144 -0
- package/dist/js/diff.js +2 -0
- package/dist/js/dist.js +49 -0
- package/dist/js/edge.js +12 -0
- package/dist/js/elixir.js +5 -0
- package/dist/js/elm.js +4 -0
- package/dist/js/erDiagram-Q2GNP2WA.js +1603 -0
- package/dist/js/erb.js +25 -0
- package/dist/js/erlang.js +3 -0
- package/dist/js/flowDiagram-NV44I4VS.js +4132 -0
- package/dist/js/fortran-fixed-form.js +3 -0
- package/dist/js/fortran-free-form.js +2 -0
- package/dist/js/fsharp.js +3 -0
- package/dist/js/ganttDiagram-JELNMOA3.js +3009 -0
- package/dist/js/gdresource.js +8 -0
- package/dist/js/gdscript.js +2 -0
- package/dist/js/gdshader.js +2 -0
- package/dist/js/git-commit.js +3 -0
- package/dist/js/git-rebase.js +3 -0
- package/dist/js/gitGraph-F6HP7TQM.js +8 -0
- package/dist/js/gitGraphDiagram-NY62KEGX.js +634 -0
- package/dist/js/github-dark.js +2 -0
- package/dist/js/github-light.js +2 -0
- package/dist/js/glimmer-js.js +12 -0
- package/dist/js/glimmer-ts.js +12 -0
- package/dist/js/glsl.js +3 -0
- package/dist/js/glsl2.js +3 -0
- package/dist/js/go.js +2 -0
- package/dist/js/graphlib.js +223 -0
- package/dist/js/graphql.js +6 -0
- package/dist/js/graphql2.js +12 -0
- package/dist/js/hack.js +10 -0
- package/dist/js/haml.js +4 -0
- package/dist/js/haml2.js +8 -0
- package/dist/js/handlebars.js +12 -0
- package/dist/js/haxe.js +2 -0
- package/dist/js/hlsl.js +2 -0
- package/dist/js/html-derivative.js +5 -0
- package/dist/js/html-derivative2.js +3 -0
- package/dist/js/html.js +4 -0
- package/dist/js/html2.js +8 -0
- package/dist/js/http.js +17 -0
- package/dist/js/hurl.js +15 -0
- package/dist/js/hxml.js +3 -0
- package/dist/js/index.js +37693 -0
- package/dist/js/info-NVLQJR56.js +8 -0
- package/dist/js/infoDiagram-WHAUD3N6.js +31 -0
- package/dist/js/isEmpty.js +32 -0
- package/dist/js/java.js +2 -0
- package/dist/js/javascript.js +2 -0
- package/dist/js/jinja.js +5 -0
- package/dist/js/jison.js +3 -0
- package/dist/js/journeyDiagram-XKPGCS4Q.js +884 -0
- package/dist/js/json.js +2 -0
- package/dist/js/jsx.js +2 -0
- package/dist/js/julia.js +17 -0
- package/dist/js/kanban-definition-3W4ZIXB7.js +971 -0
- package/dist/js/katex.js +2 -0
- package/dist/js/latex.js +4 -0
- package/dist/js/less.js +2 -0
- package/dist/js/line.js +30 -0
- package/dist/js/linear.js +250 -0
- package/dist/js/liquid.js +12 -0
- package/dist/js/lua.js +3 -0
- package/dist/js/lua2.js +3 -0
- package/dist/js/markdown.js +2 -0
- package/dist/js/marko.js +12 -0
- package/dist/js/mdc.js +13 -0
- package/dist/js/mermaid-parser.core.js +48 -0
- package/dist/js/mermaid.core.js +895 -0
- package/dist/js/mindmap-definition-VGOIOE7T.js +960 -0
- package/dist/js/nginx.js +4 -0
- package/dist/js/nim.js +19 -0
- package/dist/js/ordinal.js +61 -0
- package/dist/js/packet-BFZMPI3H.js +8 -0
- package/dist/js/perl.js +15 -0
- package/dist/js/php.js +9 -0
- package/dist/js/php2.js +16 -0
- package/dist/js/pie-7BOR55EZ.js +8 -0
- package/dist/js/pieDiagram-ADFJNKIX.js +172 -0
- package/dist/js/postcss.js +2 -0
- package/dist/js/pug.js +10 -0
- package/dist/js/python.js +2 -0
- package/dist/js/qml.js +3 -0
- package/dist/js/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/js/r.js +2 -0
- package/dist/js/radar-NHE76QYJ.js +8 -0
- package/dist/js/razor.js +10 -0
- package/dist/js/regexp.js +2 -0
- package/dist/js/requirementDiagram-UZGBJVZJ.js +2194 -0
- package/dist/js/rst.js +34 -0
- package/dist/js/ruby.js +20 -0
- package/dist/js/ruby2.js +28 -0
- package/dist/js/sankeyDiagram-TZEHDZUN.js +884 -0
- package/dist/js/sas.js +3 -0
- package/dist/js/scss.js +3 -0
- package/dist/js/scss2.js +3 -0
- package/dist/js/sdbl.js +2 -0
- package/dist/js/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/js/shaderlab.js +3 -0
- package/dist/js/shellscript.js +2 -0
- package/dist/js/shellsession.js +3 -0
- package/dist/js/soy.js +5 -0
- package/dist/js/sparql.js +3 -0
- package/dist/js/sql.js +2 -0
- package/dist/js/src.js +1975 -0
- package/dist/js/stata.js +3 -0
- package/dist/js/stateDiagram-FKZM4ZOC.js +224 -0
- package/dist/js/stateDiagram-v2-4FDKWEC3.js +32 -0
- package/dist/js/stylus.js +2 -0
- package/dist/js/svelte.js +12 -0
- package/dist/js/templ.js +10 -0
- package/dist/js/tex.js +3 -0
- package/dist/js/tex2.js +3 -0
- package/dist/js/timeline-definition-IT6M3QCI.js +830 -0
- package/dist/js/treemap-KMMF4GRG.js +8 -0
- package/dist/js/ts-tags.js +38 -0
- package/dist/js/tsx.js +2 -0
- package/dist/js/turtle.js +2 -0
- package/dist/js/twig.js +33 -0
- package/dist/js/typescript.js +2 -0
- package/dist/js/vue-html.js +13 -0
- package/dist/js/vue-vine.js +22 -0
- package/dist/js/vue.js +20 -0
- package/dist/js/vue2.js +8 -0
- package/dist/js/xml.js +3 -0
- package/dist/js/xml2.js +3 -0
- package/dist/js/xsl.js +4 -0
- package/dist/js/xychartDiagram-PRI3JC2R.js +2022 -0
- package/dist/js/yaml.js +2 -0
- package/dist/types/components/ai-elements/artifact/ArtifactAction.vue.d.ts +32 -0
- package/dist/types/components/ai-elements/artifact/ArtifactClose.vue.d.ts +27 -0
- package/dist/types/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +27 -0
- package/dist/types/components/ai-elements/conversation/Conversation.vue.d.ts +47 -0
- package/dist/types/components/ai-elements/message/MessageAction.vue.d.ts +28 -0
- package/dist/types/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +20 -0
- package/dist/types/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +30 -0
- package/dist/types/components/ai-elements/shimmer/Shimmer.vue.d.ts +28 -0
- package/dist/types/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +30 -0
- package/dist/types/components/ui/badge/index.d.ts +6 -0
- package/dist/types/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/types/components/ui/button/index.d.ts +7 -0
- package/dist/types/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/types/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/types/components/ui/button-group/index.d.ts +8 -0
- package/dist/types/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
- package/dist/types/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
- package/dist/types/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
- package/dist/types/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/types/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/types/composables/useChat.d.ts +8 -0
- package/dist/types/types/css.d.ts +5 -0
- package/package.json +12 -6
- package/dist/_basePickBy-CkZky1V-.js +0 -135
- package/dist/_baseUniq-f11MNaXe.js +0 -573
- package/dist/angular-html-C5vmpet2.js +0 -14
- package/dist/angular-html-CLTv4jM9.js +0 -5
- package/dist/angular-ts-BKqJWrwt.js +0 -19
- package/dist/apl-BcJs32yU.js +0 -15
- package/dist/arc-Dh_0vvHo.js +0 -78
- package/dist/architecture-U656AL7Q-BqUSHYp0.js +0 -8
- package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +0 -4053
- package/dist/astro-q-huTQEP.js +0 -16
- package/dist/bash-DI_p7w58.js +0 -2
- package/dist/blade-Ckff5WJQ.js +0 -19
- package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +0 -3013
- package/dist/bsl-BTNab0FD.js +0 -3
- package/dist/c-BYDGkYzS.js +0 -2
- package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +0 -2955
- package/dist/cairo-DUZgbTPW.js +0 -3
- package/dist/channel-BrxVk5HC.js +0 -3
- package/dist/chunk-4BX2VUAB-BGxl5VGr.js +0 -6
- package/dist/chunk-55IACEB6-CDMD5yu1.js +0 -6
- package/dist/chunk-76Q3JFCE-Db4Lkmow.js +0 -19
- package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +0 -2515
- package/dist/chunk-ATLVNIR6-C3g7rsIT.js +0 -65
- package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +0 -3108
- package/dist/chunk-CVBHYZKI-DxEBlSK7.js +0 -10
- package/dist/chunk-DI55MBZ5-CCWuZnfW.js +0 -1994
- package/dist/chunk-EXTU4WIE-BjMX7pAs.js +0 -7
- package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +0 -3
- package/dist/chunk-FPAJGGOC-nWbO3e1v.js +0 -12252
- package/dist/chunk-FWNWRKHM-CjcwRw2u.js +0 -56
- package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +0 -74
- package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +0 -463
- package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +0 -4861
- package/dist/chunk-LBM3YZW2-D8lrIfGo.js +0 -19
- package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +0 -19
- package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +0 -1140
- package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +0 -39
- package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +0 -26
- package/dist/chunk-QN33PNHL-DnPw7tni.js +0 -23
- package/dist/chunk-QXUST7PY-D9mGQ-UP.js +0 -486
- package/dist/chunk-QZHKN3VN-ClanGuXA.js +0 -11
- package/dist/chunk-S3R3BYOJ-DHTsHczu.js +0 -1074
- package/dist/chunk-S6J4BHB3-8RrHs9bD.js +0 -19
- package/dist/chunk-T53DSG4Q-C2BDA_QX.js +0 -24
- package/dist/chunk-TZMSLE5B-F4nHm7N1.js +0 -55
- package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +0 -33
- package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +0 -33
- package/dist/clone-BRioDvRr.js +0 -7
- package/dist/cmake-CA3Lfsq7.js +0 -2
- package/dist/cobol-DhzLzJib.js +0 -10
- package/dist/coffee-P21KTKMu.js +0 -3
- package/dist/components/ai-elements/artifact/ArtifactAction.vue.d.ts +0 -32
- package/dist/components/ai-elements/artifact/ArtifactClose.vue.d.ts +0 -27
- package/dist/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +0 -27
- package/dist/components/ai-elements/conversation/Conversation.vue.d.ts +0 -47
- package/dist/components/ai-elements/message/MessageAction.vue.d.ts +0 -28
- package/dist/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +0 -20
- package/dist/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +0 -30
- package/dist/components/ai-elements/shimmer/Shimmer.vue.d.ts +0 -28
- package/dist/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +0 -30
- package/dist/components/ui/badge/index.d.ts +0 -6
- package/dist/components/ui/button/Button.vue.d.ts +0 -27
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +0 -9
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -26
- package/dist/components/ui/button-group/index.d.ts +0 -8
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -26
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -26
- package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +0 -21
- package/dist/components/ui/select/Select.vue.d.ts +0 -28
- package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
- package/dist/composables/useChat.d.ts +0 -8
- package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +0 -2250
- package/dist/cpp-C6JyDxZu.js +0 -16
- package/dist/cpp-GAIEvywS.js +0 -6
- package/dist/crystal-BJfcoGS4.js +0 -16
- package/dist/csharp-JE-9ns6W.js +0 -2
- package/dist/css-Cy-fypCV.js +0 -2
- package/dist/csv-DJ7xG4PY.js +0 -2
- package/dist/dagre-6UL2VRFP-B38_sZWh.js +0 -298
- package/dist/dagre-DtvXp3zQ.js +0 -1395
- package/dist/diagram-PSM6KHXK-D6swsG-y.js +0 -497
- package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +0 -226
- package/dist/diagram-S2PKOQOG-DLx7PlpM.js +0 -144
- package/dist/diff-COB48_rb.js +0 -2
- package/dist/dist-CrnZo_23.js +0 -49
- package/dist/edge-Dm7HQa9N.js +0 -12
- package/dist/elixir-BkvHyCNd.js +0 -5
- package/dist/elm-rz9wTSrn.js +0 -4
- package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +0 -1603
- package/dist/erb-DyrwQYVz.js +0 -25
- package/dist/erlang-DLFKZs5N.js +0 -3
- package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +0 -4132
- package/dist/fortran-fixed-form-SzB0QY3n.js +0 -3
- package/dist/fortran-free-form-Js8JrQQE.js +0 -2
- package/dist/fsharp-CtWO0jvL.js +0 -3
- package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +0 -3009
- package/dist/gdresource-CgyXKpe4.js +0 -8
- package/dist/gdscript-STdmRKv-.js +0 -2
- package/dist/gdshader-Bs2s6cSB.js +0 -2
- package/dist/git-commit--0GGwZNa.js +0 -3
- package/dist/git-rebase-orw-bSIZ.js +0 -3
- package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +0 -634
- package/dist/github-dark-CMN1tZPn.js +0 -2
- package/dist/github-light-Y8g-VxKq.js +0 -2
- package/dist/glimmer-js-C6E6wJv0.js +0 -12
- package/dist/glimmer-ts-C6GgTGNO.js +0 -12
- package/dist/glsl-D8_YBRKT.js +0 -3
- package/dist/glsl-rwn_QCp2.js +0 -3
- package/dist/go-BhDDN9y4.js +0 -2
- package/dist/graphlib-BZdVmxO6.js +0 -223
- package/dist/graphql-DQHhbQm2.js +0 -6
- package/dist/graphql-DoBLseH6.js +0 -12
- package/dist/hack-DEAxoi73.js +0 -10
- package/dist/haml-BG2d3iX4.js +0 -4
- package/dist/haml-mA656Lm7.js +0 -8
- package/dist/handlebars-CO5xAxJ3.js +0 -12
- package/dist/haxe-BJVSeYxy.js +0 -2
- package/dist/hlsl-Dt9-unql.js +0 -2
- package/dist/html-DFCxtjnd.js +0 -4
- package/dist/html-DKSj3FeM.js +0 -8
- package/dist/html-derivative-BCRkrTcD.js +0 -5
- package/dist/html-derivative-C-vidKoA.js +0 -3
- package/dist/http-CYP1tEDW.js +0 -17
- package/dist/hurl-BJexUSKz.js +0 -15
- package/dist/hxml-XfuSEjM-.js +0 -3
- package/dist/index.js +0 -2984
- package/dist/index.mjs +0 -37693
- package/dist/info-NVLQJR56-hEN1y0nS.js +0 -8
- package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +0 -31
- package/dist/isEmpty-CCym_WUL.js +0 -32
- package/dist/java-DIOGgqAD.js +0 -2
- package/dist/javascript-9-JPeKdm.js +0 -2
- package/dist/jinja-CVFxFRh6.js +0 -5
- package/dist/jison-0X6LppGq.js +0 -3
- package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +0 -884
- package/dist/json-DJtYdWQK.js +0 -2
- package/dist/jsx-qo0JNHpZ.js +0 -2
- package/dist/julia-ChGs-n_c.js +0 -17
- package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +0 -971
- package/dist/katex-K1dsczyg.js +0 -2
- package/dist/latex-BnWZlY4q.js +0 -4
- package/dist/less-B4ybD-7s.js +0 -2
- package/dist/line-EpckC7pZ.js +0 -30
- package/dist/linear-DjVN4o4U.js +0 -250
- package/dist/liquid-pc5Mduds.js +0 -12
- package/dist/lua-0TqNbT8C.js +0 -3
- package/dist/lua-6pXga3HV.js +0 -3
- package/dist/markdown-LaaQ4Eua.js +0 -2
- package/dist/marko-D8uDUUEs.js +0 -12
- package/dist/mdc-Ki3KnB5U.js +0 -13
- package/dist/mermaid-parser.core-DVXSGppp.js +0 -48
- package/dist/mermaid.core-Ra1JFCui.js +0 -895
- package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +0 -960
- package/dist/nginx-B46vdQ9n.js +0 -4
- package/dist/nim-BxQNx10D.js +0 -19
- package/dist/ordinal-CYQpsShT.js +0 -61
- package/dist/packet-BFZMPI3H-Bnlch4JI.js +0 -8
- package/dist/perl-D1bDaADZ.js +0 -15
- package/dist/php-BX51InqL.js +0 -9
- package/dist/php-D5tmU8Cr.js +0 -16
- package/dist/pie-7BOR55EZ-B9egLHl5.js +0 -8
- package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +0 -172
- package/dist/postcss-ainQkoyY.js +0 -2
- package/dist/pug-BcLlS7Yb.js +0 -10
- package/dist/python-CuBu5pyY.js +0 -2
- package/dist/qml-MD0NqqIl.js +0 -3
- package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +0 -1970
- package/dist/r-CQeHOO4c.js +0 -2
- package/dist/radar-NHE76QYJ-DdALhlvV.js +0 -8
- package/dist/razor-eRwFWsjJ.js +0 -10
- package/dist/regexp-Ca0eDBa2.js +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +0 -2194
- package/dist/rst-DFmSdXGd.js +0 -34
- package/dist/ruby-BAEFomR0.js +0 -20
- package/dist/ruby-DDMUvAvC.js +0 -28
- package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +0 -884
- package/dist/sas-TjtLSnOp.js +0 -3
- package/dist/scss-C-bthdG1.js +0 -3
- package/dist/scss-D-6-mg-f.js +0 -3
- package/dist/sdbl-gc7zIVWR.js +0 -2
- package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +0 -3560
- package/dist/shaderlab-BRlB5fpk.js +0 -3
- package/dist/shellscript-DZa_4vvb.js +0 -2
- package/dist/shellsession-CIlmlgbR.js +0 -3
- package/dist/soy-DwSCrzEF.js +0 -5
- package/dist/sparql-D9kVSpEx.js +0 -3
- package/dist/sql-Bi3LyNPb.js +0 -2
- package/dist/src-B-SBGd0A.js +0 -1975
- package/dist/stata-DkEObyNb.js +0 -3
- package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +0 -224
- package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +0 -32
- package/dist/stylus-DEHALDNh.js +0 -2
- package/dist/svelte-KFuclcR6.js +0 -12
- package/dist/templ-C5mtYbb_.js +0 -10
- package/dist/tex-B4uYy1vC.js +0 -3
- package/dist/tex-BoVFa1ir.js +0 -3
- package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +0 -830
- package/dist/treemap-KMMF4GRG-COjpj6-C.js +0 -8
- package/dist/ts-tags-DRdTXGhb.js +0 -38
- package/dist/tsx-BaaPsUbd.js +0 -2
- package/dist/turtle-BRmolh-6.js +0 -2
- package/dist/twig-cEhAbahS.js +0 -33
- package/dist/typescript-CmJ8D0yY.js +0 -2
- package/dist/vue-B3C4YeUK.js +0 -8
- package/dist/vue-DMpjAWNv.js +0 -20
- package/dist/vue-html-BIZN50ug.js +0 -13
- package/dist/vue-vine-DxezWcjL.js +0 -22
- package/dist/xml-BglBgo29.js +0 -3
- package/dist/xml-BxRdgEAX.js +0 -3
- package/dist/xsl-Cni90e0k.js +0 -4
- package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +0 -2022
- package/dist/yaml-DQRfaSRo.js +0 -2
- /package/dist/{abap--jVlqvLx.js → js/abap.js} +0 -0
- /package/dist/{actionscript-3-N1AoJtTA.js → js/actionscript-3.js} +0 -0
- /package/dist/{ada-CYGINLea.js → js/ada.js} +0 -0
- /package/dist/{andromeeda-CvsZnG9k.js → js/andromeeda.js} +0 -0
- /package/dist/{apache-D6X-_dyJ.js → js/apache.js} +0 -0
- /package/dist/{apex-C7VgAgAE.js → js/apex.js} +0 -0
- /package/dist/{applescript-DN64Su6U.js → js/applescript.js} +0 -0
- /package/dist/{ara-Dm1jHrgg.js → js/ara.js} +0 -0
- /package/dist/{array-CkdOJbdT.js → js/array.js} +0 -0
- /package/dist/{asciidoc-BpqtqRF5.js → js/asciidoc.js} +0 -0
- /package/dist/{asm-DUGlKYIq.js → js/asm.js} +0 -0
- /package/dist/{aurora-x-DwOih-un.js → js/aurora-x.js} +0 -0
- /package/dist/{awk-DcnVbJrN.js → js/awk.js} +0 -0
- /package/dist/{ayu-dark-Bd-89MKE.js → js/ayu-dark.js} +0 -0
- /package/dist/{ballerina-BQVdQd9X.js → js/ballerina.js} +0 -0
- /package/dist/{bat-juB1J52r.js → js/bat.js} +0 -0
- /package/dist/{beancount-ThxIlRc3.js → js/beancount.js} +0 -0
- /package/dist/{berry-qC18BfC_.js → js/berry.js} +0 -0
- /package/dist/{bibtex-CahMDY_0.js → js/bibtex.js} +0 -0
- /package/dist/{bicep-CHLBKS47.js → js/bicep.js} +0 -0
- /package/dist/{c-CX6yudYR.js → js/c2.js} +0 -0
- /package/dist/{cadence-DA5J9-Di.js → js/cadence.js} +0 -0
- /package/dist/{catppuccin-frappe-CE3kxG1f.js → js/catppuccin-frappe.js} +0 -0
- /package/dist/{catppuccin-latte-DW2FXeIv.js → js/catppuccin-latte.js} +0 -0
- /package/dist/{catppuccin-macchiato-CD5qjRSF.js → js/catppuccin-macchiato.js} +0 -0
- /package/dist/{catppuccin-mocha-BYwVJvjI.js → js/catppuccin-mocha.js} +0 -0
- /package/dist/{chunk-XAJISQIX-Bz7ki7DY.js → js/chunk-XAJISQIX.js} +0 -0
- /package/dist/{chunk-DNh5sLlG.js → js/chunk.js} +0 -0
- /package/dist/{clarity-CsFOkG3c.js → js/clarity.js} +0 -0
- /package/dist/{clojure-u1TZmmdQ.js → js/clojure.js} +0 -0
- /package/dist/{cmake-K1k8HMYR.js → js/cmake2.js} +0 -0
- /package/dist/{codeowners-l4eSxhtA.js → js/codeowners.js} +0 -0
- /package/dist/{codeql-5CeQaktT.js → js/codeql.js} +0 -0
- /package/dist/{common-lisp-BVttGbYJ.js → js/common-lisp.js} +0 -0
- /package/dist/{coq-CZjzQDnb.js → js/coq.js} +0 -0
- /package/dist/{csharp-BbUwciq4.js → js/csharp2.js} +0 -0
- /package/dist/{css-Crp0iO_o.js → js/css2.js} +0 -0
- /package/dist/{csv-DtT8LmMi.js → js/csv2.js} +0 -0
- /package/dist/{cue-BwjaQTCz.js → js/cue.js} +0 -0
- /package/dist/{cypher-B7e06enY.js → js/cypher.js} +0 -0
- /package/dist/{cytoscape.esm-CWqS6puh.js → js/cytoscape.esm.js} +0 -0
- /package/dist/{d-q60wkid4.js → js/d.js} +0 -0
- /package/dist/{dark-plus-D_fA88xf.js → js/dark-plus.js} +0 -0
- /package/dist/{dart-DjkWvBgr.js → js/dart.js} +0 -0
- /package/dist/{dax-lueLIZQI.js → js/dax.js} +0 -0
- /package/dist/{defaultLocale-CoJOMwPq.js → js/defaultLocale.js} +0 -0
- /package/dist/{desktop-DaphHKD5.js → js/desktop.js} +0 -0
- /package/dist/{diff-DlXnqUMK.js → js/diff2.js} +0 -0
- /package/dist/{docker-DZKmuwpA.js → js/docker.js} +0 -0
- /package/dist/{dotenv-hmNahw-8.js → js/dotenv.js} +0 -0
- /package/dist/{dracula-soft-vfA-TA_S.js → js/dracula-soft.js} +0 -0
- /package/dist/{dracula-ddM3a7au.js → js/dracula.js} +0 -0
- /package/dist/{dream-maker-Cxa2a8FY.js → js/dream-maker.js} +0 -0
- /package/dist/{emacs-lisp-w5URnZPZ.js → js/emacs-lisp.js} +0 -0
- /package/dist/{everforest-dark-DAPtv4yI.js → js/everforest-dark.js} +0 -0
- /package/dist/{everforest-light-nQzYm8GO.js → js/everforest-light.js} +0 -0
- /package/dist/{fennel-CJDNJZTU.js → js/fennel.js} +0 -0
- /package/dist/{fish-BkYaLI4-.js → js/fish.js} +0 -0
- /package/dist/{fluent-DShra35H.js → js/fluent.js} +0 -0
- /package/dist/{fortran-free-form-CgbOAJnm.js → js/fortran-free-form2.js} +0 -0
- /package/dist/{gdscript-DnurdQnh.js → js/gdscript2.js} +0 -0
- /package/dist/{gdshader-YiVaPq6D.js → js/gdshader2.js} +0 -0
- /package/dist/{genie-BppkvzZC.js → js/genie.js} +0 -0
- /package/dist/{gherkin-Bp4zdWMb.js → js/gherkin.js} +0 -0
- /package/dist/{github-dark-default-DVCJut02.js → js/github-dark-default.js} +0 -0
- /package/dist/{github-dark-dimmed-DXu9oDqW.js → js/github-dark-dimmed.js} +0 -0
- /package/dist/{github-dark-high-contrast-BBZdE-mX.js → js/github-dark-high-contrast.js} +0 -0
- /package/dist/{github-dark-DxCf_Qaz.js → js/github-dark2.js} +0 -0
- /package/dist/{github-light-default-BNGkGE--.js → js/github-light-default.js} +0 -0
- /package/dist/{github-light-high-contrast-DiSIc-nG.js → js/github-light-high-contrast.js} +0 -0
- /package/dist/{github-light-CfdX7txK.js → js/github-light2.js} +0 -0
- /package/dist/{gleam-Lw0tKp8T.js → js/gleam.js} +0 -0
- /package/dist/{gnuplot-BeA3etmO.js → js/gnuplot.js} +0 -0
- /package/dist/{go-xfE7BrfS.js → js/go2.js} +0 -0
- /package/dist/{groovy-C5-mv4io.js → js/groovy.js} +0 -0
- /package/dist/{gruvbox-dark-hard-CULu6kVy.js → js/gruvbox-dark-hard.js} +0 -0
- /package/dist/{gruvbox-dark-medium-BJM4uQXO.js → js/gruvbox-dark-medium.js} +0 -0
- /package/dist/{gruvbox-dark-soft-CVaORUwa.js → js/gruvbox-dark-soft.js} +0 -0
- /package/dist/{gruvbox-light-hard-B-WJAGLa.js → js/gruvbox-light-hard.js} +0 -0
- /package/dist/{gruvbox-light-medium-jc8FWnuC.js → js/gruvbox-light-medium.js} +0 -0
- /package/dist/{gruvbox-light-soft-CmvYQK92.js → js/gruvbox-light-soft.js} +0 -0
- /package/dist/{haskell-Hsexh2aP.js → js/haskell.js} +0 -0
- /package/dist/{haxe-CD_Rs3P5.js → js/haxe2.js} +0 -0
- /package/dist/{hcl-D098sJ_J.js → js/hcl.js} +0 -0
- /package/dist/{hjson-BwXHX5r6.js → js/hjson.js} +0 -0
- /package/dist/{hlsl-B0pnUVYG.js → js/hlsl2.js} +0 -0
- /package/dist/{houston-C7hMWO_I.js → js/houston.js} +0 -0
- /package/dist/{hy-DPQ04rHt.js → js/hy.js} +0 -0
- /package/dist/{imba-Bgu2n5Mo.js → js/imba.js} +0 -0
- /package/dist/{ini-g9mZnyrk.js → js/ini.js} +0 -0
- /package/dist/{init-CBay3kgM.js → js/init.js} +0 -0
- /package/dist/{isArrayLikeObject-Dz_TDfw0.js → js/isArrayLikeObject.js} +0 -0
- /package/dist/{java-CUbPyze1.js → js/java2.js} +0 -0
- /package/dist/{javascript-De1qhUaI.js → js/javascript2.js} +0 -0
- /package/dist/{json-fcFpRaf3.js → js/json2.js} +0 -0
- /package/dist/{json5-CPTZJOmf.js → js/json5.js} +0 -0
- /package/dist/{jsonc-CYrayg0k.js → js/jsonc.js} +0 -0
- /package/dist/{jsonl-Bsv7LjJ3.js → js/jsonl.js} +0 -0
- /package/dist/{jsonnet-B7LkHJxg.js → js/jsonnet.js} +0 -0
- /package/dist/{jssm-BopKGZKg.js → js/jssm.js} +0 -0
- /package/dist/{jsx-Bf3Nk9Di.js → js/jsx2.js} +0 -0
- /package/dist/{kanagawa-dragon-CSqqi78I.js → js/kanagawa-dragon.js} +0 -0
- /package/dist/{kanagawa-lotus-l2vgoxpH.js → js/kanagawa-lotus.js} +0 -0
- /package/dist/{kanagawa-wave-BWhFcnLj.js → js/kanagawa-wave.js} +0 -0
- /package/dist/{katex-BcWXJDMd.js → js/katex2.js} +0 -0
- /package/dist/{kdl-BbokxoZ9.js → js/kdl.js} +0 -0
- /package/dist/{kotlin-3dXKmwyJ.js → js/kotlin.js} +0 -0
- /package/dist/{kusto-Os6_yHEz.js → js/kusto.js} +0 -0
- /package/dist/{laserwave-8RcN1zf8.js → js/laserwave.js} +0 -0
- /package/dist/{lean--0Wr4Cy4.js → js/lean.js} +0 -0
- /package/dist/{less-Cb54jO7u.js → js/less2.js} +0 -0
- /package/dist/{light-plus-CP_iZQDF.js → js/light-plus.js} +0 -0
- /package/dist/{llvm-ILH_SX7E.js → js/llvm.js} +0 -0
- /package/dist/{log-DwO_GzA0.js → js/log.js} +0 -0
- /package/dist/{logo-B4FeRowR.js → js/logo.js} +0 -0
- /package/dist/{luau-DsUEyLJN.js → js/luau.js} +0 -0
- /package/dist/{make-p6NYc19I.js → js/make.js} +0 -0
- /package/dist/{markdown-CCRtgC0b.js → js/markdown2.js} +0 -0
- /package/dist/{marked.esm-D9xINNve.js → js/marked.esm.js} +0 -0
- /package/dist/{material-theme-darker-CWC5BoMv.js → js/material-theme-darker.js} +0 -0
- /package/dist/{material-theme-lighter-BJrV5b2o.js → js/material-theme-lighter.js} +0 -0
- /package/dist/{material-theme-ocean-DYpMfDiX.js → js/material-theme-ocean.js} +0 -0
- /package/dist/{material-theme-palenight-3Ix3iI7Q.js → js/material-theme-palenight.js} +0 -0
- /package/dist/{material-theme-D__z84-n.js → js/material-theme.js} +0 -0
- /package/dist/{math-CJAnbPum.js → js/math.js} +0 -0
- /package/dist/{matlab-CL0oMGfq.js → js/matlab.js} +0 -0
- /package/dist/{mdx-BTufVkNP.js → js/mdx.js} +0 -0
- /package/dist/{mermaid-FCjIh1A7.js → js/mermaid.js} +0 -0
- /package/dist/{min-dark-B4KRMcN3.js → js/min-dark.js} +0 -0
- /package/dist/{min-light-BQVJODr0.js → js/min-light.js} +0 -0
- /package/dist/{mipsasm-Cn6AQ4lM.js → js/mipsasm.js} +0 -0
- /package/dist/{mojo-C9IiQhp4.js → js/mojo.js} +0 -0
- /package/dist/{monokai-vDwMMRi4.js → js/monokai.js} +0 -0
- /package/dist/{move-BdizQ4_I.js → js/move.js} +0 -0
- /package/dist/{narrat-BP2kx-u2.js → js/narrat.js} +0 -0
- /package/dist/{nextflow-CyRmCGOe.js → js/nextflow.js} +0 -0
- /package/dist/{night-owl-DmjkOa5g.js → js/night-owl.js} +0 -0
- /package/dist/{nix-qPhlsqZI.js → js/nix.js} +0 -0
- /package/dist/{nord-sjxbvIbg.js → js/nord.js} +0 -0
- /package/dist/{nushell-puA-1bCW.js → js/nushell.js} +0 -0
- /package/dist/{objective-c-D-qDLNy5.js → js/objective-c.js} +0 -0
- /package/dist/{objective-cpp-CFxSAM6p.js → js/objective-cpp.js} +0 -0
- /package/dist/{ocaml-CsLB7SWJ.js → js/ocaml.js} +0 -0
- /package/dist/{one-dark-pro-BHH-VjFD.js → js/one-dark-pro.js} +0 -0
- /package/dist/{one-light-BqE6erWk.js → js/one-light.js} +0 -0
- /package/dist/{openscad-DJCIQfnJ.js → js/openscad.js} +0 -0
- /package/dist/{pascal-CPg9_ZFN.js → js/pascal.js} +0 -0
- /package/dist/{path-esxOUfAH.js → js/path.js} +0 -0
- /package/dist/{pkl-BQQ96hvn.js → js/pkl.js} +0 -0
- /package/dist/{plastic-BrNUBdSC.js → js/plastic.js} +0 -0
- /package/dist/{plsql-Co7Bxe7U.js → js/plsql.js} +0 -0
- /package/dist/{po-BqzJCro7.js → js/po.js} +0 -0
- /package/dist/{poimandres-C_AK8TlO.js → js/poimandres.js} +0 -0
- /package/dist/{polar-CtdYIPEe.js → js/polar.js} +0 -0
- /package/dist/{postcss-ChqFKb46.js → js/postcss2.js} +0 -0
- /package/dist/{powerquery-CDugc1w-.js → js/powerquery.js} +0 -0
- /package/dist/{powershell-j5X-IA59.js → js/powershell.js} +0 -0
- /package/dist/{prisma-Cyl7YhUw.js → js/prisma.js} +0 -0
- /package/dist/{prolog-DELKnUYf.js → js/prolog.js} +0 -0
- /package/dist/{proto-C4A_gDBY.js → js/proto.js} +0 -0
- /package/dist/{puppet-DFC9LyFj.js → js/puppet.js} +0 -0
- /package/dist/{purescript-eECq7_n2.js → js/purescript.js} +0 -0
- /package/dist/{python-BhdCuCld.js → js/python2.js} +0 -0
- /package/dist/{qmldir-BpJII-Ze.js → js/qmldir.js} +0 -0
- /package/dist/{qss-CpMcemMc.js → js/qss.js} +0 -0
- /package/dist/{r-D90zdkbN.js → js/r2.js} +0 -0
- /package/dist/{racket-COTs6Zfi.js → js/racket.js} +0 -0
- /package/dist/{raku-DfOtwMUC.js → js/raku.js} +0 -0
- /package/dist/{red-CWGFZsim.js → js/red.js} +0 -0
- /package/dist/{reg-BX5DwoEA.js → js/reg.js} +0 -0
- /package/dist/{regexp-Cap8fK_2.js → js/regexp2.js} +0 -0
- /package/dist/{rel-CzXuLSk3.js → js/rel.js} +0 -0
- /package/dist/{riscv-DnFIiqh3.js → js/riscv.js} +0 -0
- /package/dist/{rose-pine-dawn-D5sdDB-J.js → js/rose-pine-dawn.js} +0 -0
- /package/dist/{rose-pine-moon-2Vb7bLLO.js → js/rose-pine-moon.js} +0 -0
- /package/dist/{rose-pine-C4v2iQVe.js → js/rose-pine.js} +0 -0
- /package/dist/{rosmsg-D02ul3fM.js → js/rosmsg.js} +0 -0
- /package/dist/{rust-s3hBbfQg.js → js/rust.js} +0 -0
- /package/dist/{sass-v3HeJ9Fl.js → js/sass.js} +0 -0
- /package/dist/{scala-BTIBM_Vn.js → js/scala.js} +0 -0
- /package/dist/{scheme-C4NQMf7a.js → js/scheme.js} +0 -0
- /package/dist/{sdbl-BA3l-JrH.js → js/sdbl2.js} +0 -0
- /package/dist/{shellscript-BQ8mKDAF.js → js/shellscript2.js} +0 -0
- /package/dist/{slack-dark-DhXO5DWr.js → js/slack-dark.js} +0 -0
- /package/dist/{slack-ochin-aAGl4PPH.js → js/slack-ochin.js} +0 -0
- /package/dist/{smalltalk-DbwVUw_i.js → js/smalltalk.js} +0 -0
- /package/dist/{snazzy-light-B4S5mk83.js → js/snazzy-light.js} +0 -0
- /package/dist/{solarized-dark-Dexkq3Fm.js → js/solarized-dark.js} +0 -0
- /package/dist/{solarized-light-I-Bzy8UC.js → js/solarized-light.js} +0 -0
- /package/dist/{solidity-SMk0TJDc.js → js/solidity.js} +0 -0
- /package/dist/{splunk-DXXu2r7r.js → js/splunk.js} +0 -0
- /package/dist/{sql-D0eLHBiZ.js → js/sql2.js} +0 -0
- /package/dist/{ssh-config-DyVcFTfI.js → js/ssh-config.js} +0 -0
- /package/dist/{stylus-BKTuFHcX.js → js/stylus2.js} +0 -0
- /package/dist/{swift-Cenptrnf.js → js/swift.js} +0 -0
- /package/dist/{synthwave-84-BRkDuVE-.js → js/synthwave-84.js} +0 -0
- /package/dist/{system-verilog-Cvgukx4v.js → js/system-verilog.js} +0 -0
- /package/dist/{systemd-BepdslJQ.js → js/systemd.js} +0 -0
- /package/dist/{talonscript-Q98m-VXh.js → js/talonscript.js} +0 -0
- /package/dist/{tasl-uebrX98X.js → js/tasl.js} +0 -0
- /package/dist/{tcl-B1Ny4XFf.js → js/tcl.js} +0 -0
- /package/dist/{terraform-0mA5ERTe.js → js/terraform.js} +0 -0
- /package/dist/{tokyo-night-D0mU3-u8.js → js/tokyo-night.js} +0 -0
- /package/dist/{toml-vMAjra5M.js → js/toml.js} +0 -0
- /package/dist/{tsv-BnmbkntZ.js → js/tsv.js} +0 -0
- /package/dist/{tsx-C0w0w5St.js → js/tsx2.js} +0 -0
- /package/dist/{turtle-4UWi_qX6.js → js/turtle2.js} +0 -0
- /package/dist/{typescript-4YtK2JL4.js → js/typescript2.js} +0 -0
- /package/dist/{typespec-CILw3zvZ.js → js/typespec.js} +0 -0
- /package/dist/{typst-CLajFw6q.js → js/typst.js} +0 -0
- /package/dist/{v-MJV2RQvK.js → js/v.js} +0 -0
- /package/dist/{vala-Dc1TiHw1.js → js/vala.js} +0 -0
- /package/dist/{vb-CoJdNmGs.js → js/vb.js} +0 -0
- /package/dist/{verilog-C7aVmiO0.js → js/verilog.js} +0 -0
- /package/dist/{vesper-Cvcqyrim.js → js/vesper.js} +0 -0
- /package/dist/{vhdl-CYQvzAG1.js → js/vhdl.js} +0 -0
- /package/dist/{viml-DOyjiDI8.js → js/viml.js} +0 -0
- /package/dist/{vitesse-black-CUYJaB5b.js → js/vitesse-black.js} +0 -0
- /package/dist/{vitesse-dark-BNlzDJ1Z.js → js/vitesse-dark.js} +0 -0
- /package/dist/{vitesse-light-JU98KqVa.js → js/vitesse-light.js} +0 -0
- /package/dist/{vyper-JU_r7Ch6.js → js/vyper.js} +0 -0
- /package/dist/{wasm-DJ1S--fN.js → js/wasm.js} +0 -0
- /package/dist/{wasm-eLFiAU8u.js → js/wasm2.js} +0 -0
- /package/dist/{wenyan-CqkzmyWz.js → js/wenyan.js} +0 -0
- /package/dist/{wgsl-gV62iTnF.js → js/wgsl.js} +0 -0
- /package/dist/{wikitext-BfUl8La4.js → js/wikitext.js} +0 -0
- /package/dist/{wit-kp_bCf2U.js → js/wit.js} +0 -0
- /package/dist/{wolfram-aPsN9AKt.js → js/wolfram.js} +0 -0
- /package/dist/{yaml-P2kjOPvW.js → js/yaml2.js} +0 -0
- /package/dist/{zenscript-BuY4FX-t.js → js/zenscript.js} +0 -0
- /package/dist/{zig-CGDGjytz.js → js/zig.js} +0 -0
- /package/dist/{App.vue.d.ts → types/App.vue.d.ts} +0 -0
- /package/dist/{components → types/components}/ChatConversation/ChatConversation.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ChatConversation/index.d.ts +0 -0
- /package/dist/{components → types/components}/ChatPromptInputProvider/ChatPromptInputProvider.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ChatPromptInputProvider/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/Artifact.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/ArtifactActions.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/ArtifactContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/ArtifactDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/ArtifactHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/ArtifactTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/artifact/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/canvas/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThought.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtImage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtStep.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/chain-of-thought/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/checkpoint/Checkpoint.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/checkpoint/CheckpointIcon.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/checkpoint/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/code-block/CodeBlock.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/code-block/CodeBlockCopyButton.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/code-block/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/code-block/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/code-block/utils.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/Confirmation.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationAccepted.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationAction.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationActions.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationRejected.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationRequest.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/confirmation/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/connection/Connection.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/connection/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/Context.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextCacheUsage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextContentBody.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextContentFooter.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextContentHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextIcon.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextInputUsage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextOutputUsage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextReasoningUsage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/ContextTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/TokensWithCost.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/context/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/controls/Controls.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/controls/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/conversation/ConversationContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/conversation/ConversationEmptyState.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/conversation/ConversationScrollButton.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/conversation/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/edge/Animated.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/edge/Temporary.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/edge/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/image/Image.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/image/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitation.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCard.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCardBody.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCardTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarousel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselIndex.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselNext.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselPrev.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationQuote.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationSource.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationText.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/inline-citation/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/loader/Loader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/loader/LoaderIcon.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/loader/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/Message.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageActions.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageAttachment.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageAttachments.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageAvatar.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageBranch.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageBranchContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageBranchNext.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageBranchPage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageBranchPrevious.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageBranchSelector.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageResponse.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/MessageToolbar.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/message/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelector.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorList.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorName.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/model-selector/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/Node.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/NodeAction.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/NodeContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/NodeDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/NodeFooter.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/NodeHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/NodeTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/node/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenIn.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenInContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenInItemLink.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenInTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/ChatGPT.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Claude.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Cursor.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Github.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Scira.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/V0.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInClaude.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInCursor.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInScira.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInT3.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInv0.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/panel/Panel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/panel/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/Plan.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanAction.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanFooter.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/PlanTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/plan/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionAddAttachments.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenu.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenuContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenuItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputAttachment.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputAttachments.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputBody.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommand.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandEmpty.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandInput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandList.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandSeparator.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputFooter.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHoverCard.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHoverCardContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputProvider.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelect.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectValue.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSpeechButton.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTab.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabBody.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabLabel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabsList.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTextarea.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTools.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/prompt-input/types.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/Queue.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemAction.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemActions.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemAttachment.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemFile.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemImage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueItemIndicator.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueList.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueSection.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueSectionContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueSectionLabel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/QueueSectionTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/queue/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/reasoning/Reasoning.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/reasoning/ReasoningContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/reasoning/ReasoningTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/reasoning/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/reasoning/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/shimmer/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/sources/Source.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/sources/Sources.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/sources/SourcesContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/sources/SourcesTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/sources/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/suggestion/Suggestion.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/suggestion/Suggestions.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/suggestion/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/task/Task.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/task/TaskContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/task/TaskItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/task/TaskItemFile.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/task/TaskTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/task/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/Tool.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/ToolContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/ToolHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/ToolInput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/ToolOutput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/ToolStatusBadge.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/tool/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/toolbar/Toolbar.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/toolbar/index.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/WebPreview.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewBody.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewConsole.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewNavigation.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewUrl.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/context.d.ts +0 -0
- /package/dist/{components → types/components}/ai-elements/web-preview/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/alert/Alert.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/alert/AlertDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/alert/AlertTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/alert/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/avatar/Avatar.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/avatar/AvatarFallback.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/avatar/AvatarImage.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/avatar/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/badge/Badge.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/button-group/ButtonGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/Card.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/CardAction.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/CardContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/CardDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/CardFooter.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/CardHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/CardTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/card/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/carousel/CarouselContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/carousel/CarouselItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/carousel/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/carousel/interface.d.ts +0 -0
- /package/dist/{components → types/components}/ui/collapsible/Collapsible.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/collapsible/CollapsibleContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/collapsible/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/Command.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandDialog.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandEmpty.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandInput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandList.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandSeparator.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/CommandShortcut.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/command/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/Dialog.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogClose.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogDescription.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogFooter.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogHeader.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogOverlay.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogScrollContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/DialogTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dialog/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/dropdown-menu/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/hover-card/HoverCard.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/hover-card/HoverCardContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/hover-card/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input/Input.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input-group/InputGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input-group/InputGroupAddon.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input-group/InputGroupInput.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input-group/InputGroupText.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input-group/InputGroupTextarea.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/input-group/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/progress/Progress.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/progress/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/scroll-area/ScrollArea.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/scroll-area/ScrollBar.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/scroll-area/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectItemText.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectLabel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectScrollDownButton.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectScrollUpButton.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectSeparator.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/SelectValue.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/select/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/separator/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/textarea/Textarea.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/textarea/index.d.ts +0 -0
- /package/dist/{components → types/components}/ui/tooltip/Tooltip.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/tooltip/TooltipContent.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/tooltip/TooltipProvider.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/tooltip/TooltipTrigger.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ui/tooltip/index.d.ts +0 -0
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
- /package/dist/{lib → types/lib}/utils.d.ts +0 -0
- /package/dist/{main.d.ts → types/main.d.ts} +0 -0
- /package/dist/{request → types/request}/index.d.ts +0 -0
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
import "./chunk-FPAJGGOC-nWbO3e1v.js";
|
|
2
|
-
import "./isArrayLikeObject-Dz_TDfw0.js";
|
|
3
|
-
import "./_baseUniq-f11MNaXe.js";
|
|
4
|
-
import "./_basePickBy-CkZky1V-.js";
|
|
5
|
-
import "./isEmpty-CCym_WUL.js";
|
|
6
|
-
import { g as utils_default, i as cleanAndMerge, m as random } from "./chunk-S3R3BYOJ-DHTsHczu.js";
|
|
7
|
-
import "./clone-BRioDvRr.js";
|
|
8
|
-
import "./chunk-O7ZBX7Z2-D8Yaukr5.js";
|
|
9
|
-
import "./chunk-S6J4BHB3-8RrHs9bD.js";
|
|
10
|
-
import "./chunk-LBM3YZW2-D8lrIfGo.js";
|
|
11
|
-
import "./chunk-76Q3JFCE-Db4Lkmow.js";
|
|
12
|
-
import "./chunk-T53DSG4Q-C2BDA_QX.js";
|
|
13
|
-
import "./chunk-LHMN2FUI-DLQ0i8hl.js";
|
|
14
|
-
import "./chunk-FWNWRKHM-CjcwRw2u.js";
|
|
15
|
-
import { g as log, h as __name, p as select_default } from "./src-B-SBGd0A.js";
|
|
16
|
-
import { B as setAccTitle, C as getDiagramTitle, K as setupGraphViewbox2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, d as defaultConfig_default, s as common_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-BZvlc6Ej.js";
|
|
17
|
-
import "./math-CJAnbPum.js";
|
|
18
|
-
import "./dist-CrnZo_23.js";
|
|
19
|
-
import { t as populateCommonDb } from "./chunk-4BX2VUAB-BGxl5VGr.js";
|
|
20
|
-
import { t as parse } from "./mermaid-parser.core-DVXSGppp.js";
|
|
21
|
-
import { t as ImperativeState } from "./chunk-QZHKN3VN-ClanGuXA.js";
|
|
22
|
-
var commitType = {
|
|
23
|
-
NORMAL: 0,
|
|
24
|
-
REVERSE: 1,
|
|
25
|
-
HIGHLIGHT: 2,
|
|
26
|
-
MERGE: 3,
|
|
27
|
-
CHERRY_PICK: 4
|
|
28
|
-
}, DEFAULT_GITGRAPH_CONFIG = defaultConfig_default.gitGraph, getConfig3 = /* @__PURE__ */ __name(() => cleanAndMerge({
|
|
29
|
-
...DEFAULT_GITGRAPH_CONFIG,
|
|
30
|
-
...getConfig().gitGraph
|
|
31
|
-
}), "getConfig"), state = new ImperativeState(() => {
|
|
32
|
-
let p = getConfig3(), H = p.mainBranchName, U = p.mainBranchOrder;
|
|
33
|
-
return {
|
|
34
|
-
mainBranchName: H,
|
|
35
|
-
commits: /* @__PURE__ */ new Map(),
|
|
36
|
-
head: null,
|
|
37
|
-
branchConfig: /* @__PURE__ */ new Map([[H, {
|
|
38
|
-
name: H,
|
|
39
|
-
order: U
|
|
40
|
-
}]]),
|
|
41
|
-
branches: /* @__PURE__ */ new Map([[H, null]]),
|
|
42
|
-
currBranch: H,
|
|
43
|
-
direction: "LR",
|
|
44
|
-
seq: 0,
|
|
45
|
-
options: {}
|
|
46
|
-
};
|
|
47
|
-
});
|
|
48
|
-
function getID() {
|
|
49
|
-
return random({ length: 7 });
|
|
50
|
-
}
|
|
51
|
-
__name(getID, "getID");
|
|
52
|
-
function uniqBy(p, H) {
|
|
53
|
-
let U = /* @__PURE__ */ Object.create(null);
|
|
54
|
-
return p.reduce((p, W) => {
|
|
55
|
-
let G = H(W);
|
|
56
|
-
return U[G] || (U[G] = !0, p.push(W)), p;
|
|
57
|
-
}, []);
|
|
58
|
-
}
|
|
59
|
-
__name(uniqBy, "uniqBy");
|
|
60
|
-
var setDirection = /* @__PURE__ */ __name(function(p) {
|
|
61
|
-
state.records.direction = p;
|
|
62
|
-
}, "setDirection"), setOptions = /* @__PURE__ */ __name(function(p) {
|
|
63
|
-
log.debug("options str", p), p = p?.trim(), p ||= "{}";
|
|
64
|
-
try {
|
|
65
|
-
state.records.options = JSON.parse(p);
|
|
66
|
-
} catch (p) {
|
|
67
|
-
log.error("error while parsing gitGraph options", p.message);
|
|
68
|
-
}
|
|
69
|
-
}, "setOptions"), getOptions = /* @__PURE__ */ __name(function() {
|
|
70
|
-
return state.records.options;
|
|
71
|
-
}, "getOptions"), commit = /* @__PURE__ */ __name(function(p) {
|
|
72
|
-
let H = p.msg, U = p.id, G = p.type, K = p.tags;
|
|
73
|
-
log.info("commit", H, U, G, K), log.debug("Entering commit:", H, U, G, K);
|
|
74
|
-
let q = getConfig3();
|
|
75
|
-
U = common_default.sanitizeText(U, q), H = common_default.sanitizeText(H, q), K = K?.map((p) => common_default.sanitizeText(p, q));
|
|
76
|
-
let J = {
|
|
77
|
-
id: U || state.records.seq + "-" + getID(),
|
|
78
|
-
message: H,
|
|
79
|
-
seq: state.records.seq++,
|
|
80
|
-
type: G ?? commitType.NORMAL,
|
|
81
|
-
tags: K ?? [],
|
|
82
|
-
parents: state.records.head == null ? [] : [state.records.head.id],
|
|
83
|
-
branch: state.records.currBranch
|
|
84
|
-
};
|
|
85
|
-
state.records.head = J, log.info("main branch", q.mainBranchName), state.records.commits.has(J.id) && log.warn(`Commit ID ${J.id} already exists`), state.records.commits.set(J.id, J), state.records.branches.set(state.records.currBranch, J.id), log.debug("in pushCommit " + J.id);
|
|
86
|
-
}, "commit"), branch = /* @__PURE__ */ __name(function(p) {
|
|
87
|
-
let H = p.name, U = p.order;
|
|
88
|
-
if (H = common_default.sanitizeText(H, getConfig3()), state.records.branches.has(H)) 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 ${H}")`);
|
|
89
|
-
state.records.branches.set(H, state.records.head == null ? null : state.records.head.id), state.records.branchConfig.set(H, {
|
|
90
|
-
name: H,
|
|
91
|
-
order: U
|
|
92
|
-
}), checkout(H), log.debug("in createBranch");
|
|
93
|
-
}, "branch"), merge = /* @__PURE__ */ __name((p) => {
|
|
94
|
-
let H = p.branch, U = p.id, G = p.type, K = p.tags, q = getConfig3();
|
|
95
|
-
H = common_default.sanitizeText(H, q), U &&= common_default.sanitizeText(U, q);
|
|
96
|
-
let J = state.records.branches.get(state.records.currBranch), Y = state.records.branches.get(H), X = J ? state.records.commits.get(J) : void 0, Z = Y ? state.records.commits.get(Y) : void 0;
|
|
97
|
-
if (X && Z && X.branch === H) throw Error(`Cannot merge branch '${H}' into itself.`);
|
|
98
|
-
if (state.records.currBranch === H) {
|
|
99
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Cannot merge a branch to itself");
|
|
100
|
-
throw p.hash = {
|
|
101
|
-
text: `merge ${H}`,
|
|
102
|
-
token: `merge ${H}`,
|
|
103
|
-
expected: ["branch abc"]
|
|
104
|
-
}, p;
|
|
105
|
-
}
|
|
106
|
-
if (X === void 0 || !X) {
|
|
107
|
-
let p = /* @__PURE__ */ Error(`Incorrect usage of "merge". Current branch (${state.records.currBranch})has no commits`);
|
|
108
|
-
throw p.hash = {
|
|
109
|
-
text: `merge ${H}`,
|
|
110
|
-
token: `merge ${H}`,
|
|
111
|
-
expected: ["commit"]
|
|
112
|
-
}, p;
|
|
113
|
-
}
|
|
114
|
-
if (!state.records.branches.has(H)) {
|
|
115
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + H + ") does not exist");
|
|
116
|
-
throw p.hash = {
|
|
117
|
-
text: `merge ${H}`,
|
|
118
|
-
token: `merge ${H}`,
|
|
119
|
-
expected: [`branch ${H}`]
|
|
120
|
-
}, p;
|
|
121
|
-
}
|
|
122
|
-
if (Z === void 0 || !Z) {
|
|
123
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + H + ") has no commits");
|
|
124
|
-
throw p.hash = {
|
|
125
|
-
text: `merge ${H}`,
|
|
126
|
-
token: `merge ${H}`,
|
|
127
|
-
expected: ["\"commit\""]
|
|
128
|
-
}, p;
|
|
129
|
-
}
|
|
130
|
-
if (X === Z) {
|
|
131
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Both branches have same head");
|
|
132
|
-
throw p.hash = {
|
|
133
|
-
text: `merge ${H}`,
|
|
134
|
-
token: `merge ${H}`,
|
|
135
|
-
expected: ["branch abc"]
|
|
136
|
-
}, p;
|
|
137
|
-
}
|
|
138
|
-
if (U && state.records.commits.has(U)) {
|
|
139
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Commit with id:" + U + " already exists, use different custom id");
|
|
140
|
-
throw p.hash = {
|
|
141
|
-
text: `merge ${H} ${U} ${G} ${K?.join(" ")}`,
|
|
142
|
-
token: `merge ${H} ${U} ${G} ${K?.join(" ")}`,
|
|
143
|
-
expected: [`merge ${H} ${U}_UNIQUE ${G} ${K?.join(" ")}`]
|
|
144
|
-
}, p;
|
|
145
|
-
}
|
|
146
|
-
let Q = Y || "", $ = {
|
|
147
|
-
id: U || `${state.records.seq}-${getID()}`,
|
|
148
|
-
message: `merged branch ${H} into ${state.records.currBranch}`,
|
|
149
|
-
seq: state.records.seq++,
|
|
150
|
-
parents: state.records.head == null ? [] : [state.records.head.id, Q],
|
|
151
|
-
branch: state.records.currBranch,
|
|
152
|
-
type: commitType.MERGE,
|
|
153
|
-
customType: G,
|
|
154
|
-
customId: !!U,
|
|
155
|
-
tags: K ?? []
|
|
156
|
-
};
|
|
157
|
-
state.records.head = $, state.records.commits.set($.id, $), state.records.branches.set(state.records.currBranch, $.id), log.debug(state.records.branches), log.debug("in mergeBranch");
|
|
158
|
-
}, "merge"), cherryPick = /* @__PURE__ */ __name(function(p) {
|
|
159
|
-
let H = p.id, U = p.targetId, G = p.tags, K = p.parent;
|
|
160
|
-
log.debug("Entering cherryPick:", H, U, G);
|
|
161
|
-
let q = getConfig3();
|
|
162
|
-
if (H = common_default.sanitizeText(H, q), U = common_default.sanitizeText(U, q), G = G?.map((p) => common_default.sanitizeText(p, q)), K = common_default.sanitizeText(K, q), !H || !state.records.commits.has(H)) {
|
|
163
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
164
|
-
throw p.hash = {
|
|
165
|
-
text: `cherryPick ${H} ${U}`,
|
|
166
|
-
token: `cherryPick ${H} ${U}`,
|
|
167
|
-
expected: ["cherry-pick abc"]
|
|
168
|
-
}, p;
|
|
169
|
-
}
|
|
170
|
-
let J = state.records.commits.get(H);
|
|
171
|
-
if (J === void 0 || !J) throw Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
172
|
-
if (K && !(Array.isArray(J.parents) && J.parents.includes(K))) throw /* @__PURE__ */ Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");
|
|
173
|
-
let Y = J.branch;
|
|
174
|
-
if (J.type === commitType.MERGE && !K) throw /* @__PURE__ */ Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");
|
|
175
|
-
if (!U || !state.records.commits.has(U)) {
|
|
176
|
-
if (Y === state.records.currBranch) {
|
|
177
|
-
let p = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit is already on current branch");
|
|
178
|
-
throw p.hash = {
|
|
179
|
-
text: `cherryPick ${H} ${U}`,
|
|
180
|
-
token: `cherryPick ${H} ${U}`,
|
|
181
|
-
expected: ["cherry-pick abc"]
|
|
182
|
-
}, p;
|
|
183
|
-
}
|
|
184
|
-
let p = state.records.branches.get(state.records.currBranch);
|
|
185
|
-
if (p === void 0 || !p) {
|
|
186
|
-
let p = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${state.records.currBranch})has no commits`);
|
|
187
|
-
throw p.hash = {
|
|
188
|
-
text: `cherryPick ${H} ${U}`,
|
|
189
|
-
token: `cherryPick ${H} ${U}`,
|
|
190
|
-
expected: ["cherry-pick abc"]
|
|
191
|
-
}, p;
|
|
192
|
-
}
|
|
193
|
-
let q = state.records.commits.get(p);
|
|
194
|
-
if (q === void 0 || !q) {
|
|
195
|
-
let p = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${state.records.currBranch})has no commits`);
|
|
196
|
-
throw p.hash = {
|
|
197
|
-
text: `cherryPick ${H} ${U}`,
|
|
198
|
-
token: `cherryPick ${H} ${U}`,
|
|
199
|
-
expected: ["cherry-pick abc"]
|
|
200
|
-
}, p;
|
|
201
|
-
}
|
|
202
|
-
let X = {
|
|
203
|
-
id: state.records.seq + "-" + getID(),
|
|
204
|
-
message: `cherry-picked ${J?.message} into ${state.records.currBranch}`,
|
|
205
|
-
seq: state.records.seq++,
|
|
206
|
-
parents: state.records.head == null ? [] : [state.records.head.id, J.id],
|
|
207
|
-
branch: state.records.currBranch,
|
|
208
|
-
type: commitType.CHERRY_PICK,
|
|
209
|
-
tags: G ? G.filter(Boolean) : [`cherry-pick:${J.id}${J.type === commitType.MERGE ? `|parent:${K}` : ""}`]
|
|
210
|
-
};
|
|
211
|
-
state.records.head = X, state.records.commits.set(X.id, X), state.records.branches.set(state.records.currBranch, X.id), log.debug(state.records.branches), log.debug("in cherryPick");
|
|
212
|
-
}
|
|
213
|
-
}, "cherryPick"), checkout = /* @__PURE__ */ __name(function(p) {
|
|
214
|
-
if (p = common_default.sanitizeText(p, getConfig3()), state.records.branches.has(p)) {
|
|
215
|
-
state.records.currBranch = p;
|
|
216
|
-
let H = state.records.branches.get(state.records.currBranch);
|
|
217
|
-
H === void 0 || !H ? state.records.head = null : state.records.head = state.records.commits.get(H) ?? null;
|
|
218
|
-
} else {
|
|
219
|
-
let H = /* @__PURE__ */ Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${p}")`);
|
|
220
|
-
throw H.hash = {
|
|
221
|
-
text: `checkout ${p}`,
|
|
222
|
-
token: `checkout ${p}`,
|
|
223
|
-
expected: [`branch ${p}`]
|
|
224
|
-
}, H;
|
|
225
|
-
}
|
|
226
|
-
}, "checkout");
|
|
227
|
-
function upsert(p, H, U) {
|
|
228
|
-
let W = p.indexOf(H);
|
|
229
|
-
W === -1 ? p.push(U) : p.splice(W, 1, U);
|
|
230
|
-
}
|
|
231
|
-
__name(upsert, "upsert");
|
|
232
|
-
function prettyPrintCommitHistory(p) {
|
|
233
|
-
let H = p.reduce((p, H) => p.seq > H.seq ? p : H, p[0]), U = "";
|
|
234
|
-
p.forEach(function(p) {
|
|
235
|
-
p === H ? U += " *" : U += " |";
|
|
236
|
-
});
|
|
237
|
-
let G = [
|
|
238
|
-
U,
|
|
239
|
-
H.id,
|
|
240
|
-
H.seq
|
|
241
|
-
];
|
|
242
|
-
for (let p in state.records.branches) state.records.branches.get(p) === H.id && G.push(p);
|
|
243
|
-
if (log.debug(G.join(" ")), H.parents && H.parents.length == 2 && H.parents[0] && H.parents[1]) {
|
|
244
|
-
let U = state.records.commits.get(H.parents[0]);
|
|
245
|
-
upsert(p, H, U), H.parents[1] && p.push(state.records.commits.get(H.parents[1]));
|
|
246
|
-
} else if (H.parents.length == 0) return;
|
|
247
|
-
else if (H.parents[0]) {
|
|
248
|
-
let U = state.records.commits.get(H.parents[0]);
|
|
249
|
-
upsert(p, H, U);
|
|
250
|
-
}
|
|
251
|
-
p = uniqBy(p, (p) => p.id), prettyPrintCommitHistory(p);
|
|
252
|
-
}
|
|
253
|
-
__name(prettyPrintCommitHistory, "prettyPrintCommitHistory");
|
|
254
|
-
var prettyPrint = /* @__PURE__ */ __name(function() {
|
|
255
|
-
log.debug(state.records.commits);
|
|
256
|
-
let p = getCommitsArray()[0];
|
|
257
|
-
prettyPrintCommitHistory([p]);
|
|
258
|
-
}, "prettyPrint"), clear2 = /* @__PURE__ */ __name(function() {
|
|
259
|
-
state.reset(), clear();
|
|
260
|
-
}, "clear"), getBranchesAsObjArray = /* @__PURE__ */ __name(function() {
|
|
261
|
-
return [...state.records.branchConfig.values()].map((p, H) => p.order !== null && p.order !== void 0 ? p : {
|
|
262
|
-
...p,
|
|
263
|
-
order: parseFloat(`0.${H}`)
|
|
264
|
-
}).sort((p, H) => (p.order ?? 0) - (H.order ?? 0)).map(({ name: p }) => ({ name: p }));
|
|
265
|
-
}, "getBranchesAsObjArray"), getBranches = /* @__PURE__ */ __name(function() {
|
|
266
|
-
return state.records.branches;
|
|
267
|
-
}, "getBranches"), getCommits = /* @__PURE__ */ __name(function() {
|
|
268
|
-
return state.records.commits;
|
|
269
|
-
}, "getCommits"), getCommitsArray = /* @__PURE__ */ __name(function() {
|
|
270
|
-
let p = [...state.records.commits.values()];
|
|
271
|
-
return p.forEach(function(p) {
|
|
272
|
-
log.debug(p.id);
|
|
273
|
-
}), p.sort((p, H) => p.seq - H.seq), p;
|
|
274
|
-
}, "getCommitsArray"), db = {
|
|
275
|
-
commitType,
|
|
276
|
-
getConfig: getConfig3,
|
|
277
|
-
setDirection,
|
|
278
|
-
setOptions,
|
|
279
|
-
getOptions,
|
|
280
|
-
commit,
|
|
281
|
-
branch,
|
|
282
|
-
merge,
|
|
283
|
-
cherryPick,
|
|
284
|
-
checkout,
|
|
285
|
-
prettyPrint,
|
|
286
|
-
clear: clear2,
|
|
287
|
-
getBranchesAsObjArray,
|
|
288
|
-
getBranches,
|
|
289
|
-
getCommits,
|
|
290
|
-
getCommitsArray,
|
|
291
|
-
getCurrentBranch: /* @__PURE__ */ __name(function() {
|
|
292
|
-
return state.records.currBranch;
|
|
293
|
-
}, "getCurrentBranch"),
|
|
294
|
-
getDirection: /* @__PURE__ */ __name(function() {
|
|
295
|
-
return state.records.direction;
|
|
296
|
-
}, "getDirection"),
|
|
297
|
-
getHead: /* @__PURE__ */ __name(function() {
|
|
298
|
-
return state.records.head;
|
|
299
|
-
}, "getHead"),
|
|
300
|
-
setAccTitle,
|
|
301
|
-
getAccTitle,
|
|
302
|
-
getAccDescription,
|
|
303
|
-
setAccDescription,
|
|
304
|
-
setDiagramTitle,
|
|
305
|
-
getDiagramTitle
|
|
306
|
-
}, populate = /* @__PURE__ */ __name((p, H) => {
|
|
307
|
-
populateCommonDb(p, H), p.dir && H.setDirection(p.dir);
|
|
308
|
-
for (let U of p.statements) parseStatement(U, H);
|
|
309
|
-
}, "populate"), parseStatement = /* @__PURE__ */ __name((p, H) => {
|
|
310
|
-
let U = {
|
|
311
|
-
Commit: /* @__PURE__ */ __name((p) => H.commit(parseCommit(p)), "Commit"),
|
|
312
|
-
Branch: /* @__PURE__ */ __name((p) => H.branch(parseBranch(p)), "Branch"),
|
|
313
|
-
Merge: /* @__PURE__ */ __name((p) => H.merge(parseMerge(p)), "Merge"),
|
|
314
|
-
Checkout: /* @__PURE__ */ __name((p) => H.checkout(parseCheckout(p)), "Checkout"),
|
|
315
|
-
CherryPicking: /* @__PURE__ */ __name((p) => H.cherryPick(parseCherryPicking(p)), "CherryPicking")
|
|
316
|
-
}[p.$type];
|
|
317
|
-
U ? U(p) : log.error(`Unknown statement type: ${p.$type}`);
|
|
318
|
-
}, "parseStatement"), parseCommit = /* @__PURE__ */ __name((p) => ({
|
|
319
|
-
id: p.id,
|
|
320
|
-
msg: p.message ?? "",
|
|
321
|
-
type: p.type === void 0 ? commitType.NORMAL : commitType[p.type],
|
|
322
|
-
tags: p.tags ?? void 0
|
|
323
|
-
}), "parseCommit"), parseBranch = /* @__PURE__ */ __name((p) => ({
|
|
324
|
-
name: p.name,
|
|
325
|
-
order: p.order ?? 0
|
|
326
|
-
}), "parseBranch"), parseMerge = /* @__PURE__ */ __name((p) => ({
|
|
327
|
-
branch: p.branch,
|
|
328
|
-
id: p.id ?? "",
|
|
329
|
-
type: p.type === void 0 ? void 0 : commitType[p.type],
|
|
330
|
-
tags: p.tags ?? void 0
|
|
331
|
-
}), "parseMerge"), parseCheckout = /* @__PURE__ */ __name((p) => p.branch, "parseCheckout"), parseCherryPicking = /* @__PURE__ */ __name((p) => ({
|
|
332
|
-
id: p.id,
|
|
333
|
-
targetId: "",
|
|
334
|
-
tags: p.tags?.length === 0 ? void 0 : p.tags,
|
|
335
|
-
parent: p.parent
|
|
336
|
-
}), "parseCherryPicking"), parser = { parse: /* @__PURE__ */ __name(async (p) => {
|
|
337
|
-
let H = await parse("gitGraph", p);
|
|
338
|
-
log.debug(H), populate(H, db);
|
|
339
|
-
}, "parse") }, DEFAULT_GITGRAPH_CONFIG2 = getConfig2()?.gitGraph, LAYOUT_OFFSET = 10, COMMIT_STEP = 40, PX = 4, PY = 2, THEME_COLOR_LIMIT = 8, branchPos = /* @__PURE__ */ new Map(), commitPos = /* @__PURE__ */ new Map(), defaultPos = 30, allCommitsDict = /* @__PURE__ */ new Map(), lanes = [], maxPos = 0, dir = "LR", clear3 = /* @__PURE__ */ __name(() => {
|
|
340
|
-
branchPos.clear(), commitPos.clear(), allCommitsDict.clear(), maxPos = 0, lanes = [], dir = "LR";
|
|
341
|
-
}, "clear"), drawText = /* @__PURE__ */ __name((p) => {
|
|
342
|
-
let H = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
343
|
-
return (typeof p == "string" ? p.split(/\\n|\n|<br\s*\/?>/gi) : p).forEach((p) => {
|
|
344
|
-
let U = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
345
|
-
U.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), U.setAttribute("dy", "1em"), U.setAttribute("x", "0"), U.setAttribute("class", "row"), U.textContent = p.trim(), H.appendChild(U);
|
|
346
|
-
}), H;
|
|
347
|
-
}, "drawText"), findClosestParent = /* @__PURE__ */ __name((p) => {
|
|
348
|
-
let H, U, W;
|
|
349
|
-
return dir === "BT" ? (U = /* @__PURE__ */ __name((p, H) => p <= H, "comparisonFunc"), W = Infinity) : (U = /* @__PURE__ */ __name((p, H) => p >= H, "comparisonFunc"), W = 0), p.forEach((p) => {
|
|
350
|
-
let G = dir === "TB" || dir == "BT" ? commitPos.get(p)?.y : commitPos.get(p)?.x;
|
|
351
|
-
G !== void 0 && U(G, W) && (H = p, W = G);
|
|
352
|
-
}), H;
|
|
353
|
-
}, "findClosestParent"), findClosestParentBT = /* @__PURE__ */ __name((p) => {
|
|
354
|
-
let H = "", U = Infinity;
|
|
355
|
-
return p.forEach((p) => {
|
|
356
|
-
let W = commitPos.get(p).y;
|
|
357
|
-
W <= U && (H = p, U = W);
|
|
358
|
-
}), H || void 0;
|
|
359
|
-
}, "findClosestParentBT"), setParallelBTPos = /* @__PURE__ */ __name((p, H, U) => {
|
|
360
|
-
let W = U, G = U, K = [];
|
|
361
|
-
p.forEach((p) => {
|
|
362
|
-
let U = H.get(p);
|
|
363
|
-
if (!U) throw Error(`Commit not found for key ${p}`);
|
|
364
|
-
U.parents.length ? (W = calculateCommitPosition(U), G = Math.max(W, G)) : K.push(U), setCommitPosition(U, W);
|
|
365
|
-
}), W = G, K.forEach((p) => {
|
|
366
|
-
setRootPosition(p, W, U);
|
|
367
|
-
}), p.forEach((p) => {
|
|
368
|
-
let U = H.get(p);
|
|
369
|
-
if (U?.parents.length) {
|
|
370
|
-
let p = findClosestParentBT(U.parents);
|
|
371
|
-
W = commitPos.get(p).y - COMMIT_STEP, W <= G && (G = W);
|
|
372
|
-
let H = branchPos.get(U.branch).pos, K = W - LAYOUT_OFFSET;
|
|
373
|
-
commitPos.set(U.id, {
|
|
374
|
-
x: H,
|
|
375
|
-
y: K
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
}, "setParallelBTPos"), findClosestParentPos = /* @__PURE__ */ __name((p) => {
|
|
380
|
-
let H = findClosestParent(p.parents.filter((p) => p !== null));
|
|
381
|
-
if (!H) throw Error(`Closest parent not found for commit ${p.id}`);
|
|
382
|
-
let U = commitPos.get(H)?.y;
|
|
383
|
-
if (U === void 0) throw Error(`Closest parent position not found for commit ${p.id}`);
|
|
384
|
-
return U;
|
|
385
|
-
}, "findClosestParentPos"), calculateCommitPosition = /* @__PURE__ */ __name((p) => findClosestParentPos(p) + COMMIT_STEP, "calculateCommitPosition"), setCommitPosition = /* @__PURE__ */ __name((p, H) => {
|
|
386
|
-
let U = branchPos.get(p.branch);
|
|
387
|
-
if (!U) throw Error(`Branch not found for commit ${p.id}`);
|
|
388
|
-
let W = U.pos, G = H + LAYOUT_OFFSET;
|
|
389
|
-
return commitPos.set(p.id, {
|
|
390
|
-
x: W,
|
|
391
|
-
y: G
|
|
392
|
-
}), {
|
|
393
|
-
x: W,
|
|
394
|
-
y: G
|
|
395
|
-
};
|
|
396
|
-
}, "setCommitPosition"), setRootPosition = /* @__PURE__ */ __name((p, H, U) => {
|
|
397
|
-
let W = branchPos.get(p.branch);
|
|
398
|
-
if (!W) throw Error(`Branch not found for commit ${p.id}`);
|
|
399
|
-
let G = H + U, K = W.pos;
|
|
400
|
-
commitPos.set(p.id, {
|
|
401
|
-
x: K,
|
|
402
|
-
y: G
|
|
403
|
-
});
|
|
404
|
-
}, "setRootPosition"), drawCommitBullet = /* @__PURE__ */ __name((p, H, U, W, G, K) => {
|
|
405
|
-
if (K === commitType.HIGHLIGHT) p.append("rect").attr("x", U.x - 10).attr("y", U.y - 10).attr("width", 20).attr("height", 20).attr("class", `commit ${H.id} commit-highlight${G % THEME_COLOR_LIMIT} ${W}-outer`), p.append("rect").attr("x", U.x - 6).attr("y", U.y - 6).attr("width", 12).attr("height", 12).attr("class", `commit ${H.id} commit${G % THEME_COLOR_LIMIT} ${W}-inner`);
|
|
406
|
-
else if (K === commitType.CHERRY_PICK) p.append("circle").attr("cx", U.x).attr("cy", U.y).attr("r", 10).attr("class", `commit ${H.id} ${W}`), p.append("circle").attr("cx", U.x - 3).attr("cy", U.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${H.id} ${W}`), p.append("circle").attr("cx", U.x + 3).attr("cy", U.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${H.id} ${W}`), p.append("line").attr("x1", U.x + 3).attr("y1", U.y + 1).attr("x2", U.x).attr("y2", U.y - 5).attr("stroke", "#fff").attr("class", `commit ${H.id} ${W}`), p.append("line").attr("x1", U.x - 3).attr("y1", U.y + 1).attr("x2", U.x).attr("y2", U.y - 5).attr("stroke", "#fff").attr("class", `commit ${H.id} ${W}`);
|
|
407
|
-
else {
|
|
408
|
-
let q = p.append("circle");
|
|
409
|
-
if (q.attr("cx", U.x), q.attr("cy", U.y), q.attr("r", H.type === commitType.MERGE ? 9 : 10), q.attr("class", `commit ${H.id} commit${G % THEME_COLOR_LIMIT}`), K === commitType.MERGE) {
|
|
410
|
-
let K = p.append("circle");
|
|
411
|
-
K.attr("cx", U.x), K.attr("cy", U.y), K.attr("r", 6), K.attr("class", `commit ${W} ${H.id} commit${G % THEME_COLOR_LIMIT}`);
|
|
412
|
-
}
|
|
413
|
-
K === commitType.REVERSE && p.append("path").attr("d", `M ${U.x - 5},${U.y - 5}L${U.x + 5},${U.y + 5}M${U.x - 5},${U.y + 5}L${U.x + 5},${U.y - 5}`).attr("class", `commit ${W} ${H.id} commit${G % THEME_COLOR_LIMIT}`);
|
|
414
|
-
}
|
|
415
|
-
}, "drawCommitBullet"), drawCommitLabel = /* @__PURE__ */ __name((p, H, U, W) => {
|
|
416
|
-
if (H.type !== commitType.CHERRY_PICK && (H.customId && H.type === commitType.MERGE || H.type !== commitType.MERGE) && DEFAULT_GITGRAPH_CONFIG2?.showCommitLabel) {
|
|
417
|
-
let G = p.append("g"), K = G.insert("rect").attr("class", "commit-label-bkg"), q = G.append("text").attr("x", W).attr("y", U.y + 25).attr("class", "commit-label").text(H.id), J = q.node()?.getBBox();
|
|
418
|
-
if (J && (K.attr("x", U.posWithOffset - J.width / 2 - PY).attr("y", U.y + 13.5).attr("width", J.width + 2 * PY).attr("height", J.height + 2 * PY), dir === "TB" || dir === "BT" ? (K.attr("x", U.x - (J.width + 4 * PX + 5)).attr("y", U.y - 12), q.attr("x", U.x - (J.width + 4 * PX)).attr("y", U.y + J.height - 12)) : q.attr("x", U.posWithOffset - J.width / 2), DEFAULT_GITGRAPH_CONFIG2.rotateCommitLabel)) if (dir === "TB" || dir === "BT") q.attr("transform", "rotate(-45, " + U.x + ", " + U.y + ")"), K.attr("transform", "rotate(-45, " + U.x + ", " + U.y + ")");
|
|
419
|
-
else {
|
|
420
|
-
let p = -7.5 - (J.width + 10) / 25 * 9.5, H = 10 + J.width / 25 * 8.5;
|
|
421
|
-
G.attr("transform", "translate(" + p + ", " + H + ") rotate(-45, " + W + ", " + U.y + ")");
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
}, "drawCommitLabel"), drawCommitTags = /* @__PURE__ */ __name((p, H, U, W) => {
|
|
425
|
-
if (H.tags.length > 0) {
|
|
426
|
-
let G = 0, K = 0, q = 0, J = [];
|
|
427
|
-
for (let W of H.tags.reverse()) {
|
|
428
|
-
let H = p.insert("polygon"), Y = p.append("circle"), X = p.append("text").attr("y", U.y - 16 - G).attr("class", "tag-label").text(W), Z = X.node()?.getBBox();
|
|
429
|
-
if (!Z) throw Error("Tag bbox not found");
|
|
430
|
-
K = Math.max(K, Z.width), q = Math.max(q, Z.height), X.attr("x", U.posWithOffset - Z.width / 2), J.push({
|
|
431
|
-
tag: X,
|
|
432
|
-
hole: Y,
|
|
433
|
-
rect: H,
|
|
434
|
-
yOffset: G
|
|
435
|
-
}), G += 20;
|
|
436
|
-
}
|
|
437
|
-
for (let { tag: p, hole: H, rect: G, yOffset: Y } of J) {
|
|
438
|
-
let J = q / 2, X = U.y - 19.2 - Y;
|
|
439
|
-
if (G.attr("class", "tag-label-bkg").attr("points", `
|
|
440
|
-
${W - K / 2 - PX / 2},${X + PY}
|
|
441
|
-
${W - K / 2 - PX / 2},${X - PY}
|
|
442
|
-
${U.posWithOffset - K / 2 - PX},${X - J - PY}
|
|
443
|
-
${U.posWithOffset + K / 2 + PX},${X - J - PY}
|
|
444
|
-
${U.posWithOffset + K / 2 + PX},${X + J + PY}
|
|
445
|
-
${U.posWithOffset - K / 2 - PX},${X + J + PY}`), H.attr("cy", X).attr("cx", W - K / 2 + PX / 2).attr("r", 1.5).attr("class", "tag-hole"), dir === "TB" || dir === "BT") {
|
|
446
|
-
let q = W + Y;
|
|
447
|
-
G.attr("class", "tag-label-bkg").attr("points", `
|
|
448
|
-
${U.x},${q + 2}
|
|
449
|
-
${U.x},${q - 2}
|
|
450
|
-
${U.x + LAYOUT_OFFSET},${q - J - 2}
|
|
451
|
-
${U.x + LAYOUT_OFFSET + K + 4},${q - J - 2}
|
|
452
|
-
${U.x + LAYOUT_OFFSET + K + 4},${q + J + 2}
|
|
453
|
-
${U.x + LAYOUT_OFFSET},${q + J + 2}`).attr("transform", "translate(12,12) rotate(45, " + U.x + "," + W + ")"), H.attr("cx", U.x + PX / 2).attr("cy", q).attr("transform", "translate(12,12) rotate(45, " + U.x + "," + W + ")"), p.attr("x", U.x + 5).attr("y", q + 3).attr("transform", "translate(14,14) rotate(45, " + U.x + "," + W + ")");
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}, "drawCommitTags"), getCommitClassType = /* @__PURE__ */ __name((p) => {
|
|
458
|
-
switch (p.customType ?? p.type) {
|
|
459
|
-
case commitType.NORMAL: return "commit-normal";
|
|
460
|
-
case commitType.REVERSE: return "commit-reverse";
|
|
461
|
-
case commitType.HIGHLIGHT: return "commit-highlight";
|
|
462
|
-
case commitType.MERGE: return "commit-merge";
|
|
463
|
-
case commitType.CHERRY_PICK: return "commit-cherry-pick";
|
|
464
|
-
default: return "commit-normal";
|
|
465
|
-
}
|
|
466
|
-
}, "getCommitClassType"), calculatePosition = /* @__PURE__ */ __name((p, H, U, W) => {
|
|
467
|
-
let G = {
|
|
468
|
-
x: 0,
|
|
469
|
-
y: 0
|
|
470
|
-
};
|
|
471
|
-
if (p.parents.length > 0) {
|
|
472
|
-
let U = findClosestParent(p.parents);
|
|
473
|
-
if (U) {
|
|
474
|
-
let K = W.get(U) ?? G;
|
|
475
|
-
return H === "TB" ? K.y + COMMIT_STEP : H === "BT" ? (W.get(p.id) ?? G).y - COMMIT_STEP : K.x + COMMIT_STEP;
|
|
476
|
-
}
|
|
477
|
-
} else if (H === "TB") return defaultPos;
|
|
478
|
-
else if (H === "BT") return (W.get(p.id) ?? G).y - COMMIT_STEP;
|
|
479
|
-
else return 0;
|
|
480
|
-
return 0;
|
|
481
|
-
}, "calculatePosition"), getCommitPosition = /* @__PURE__ */ __name((p, H, U) => {
|
|
482
|
-
let W = dir === "BT" && U ? H : H + LAYOUT_OFFSET, G = dir === "TB" || dir === "BT" ? W : branchPos.get(p.branch)?.pos, K = dir === "TB" || dir === "BT" ? branchPos.get(p.branch)?.pos : W;
|
|
483
|
-
if (K === void 0 || G === void 0) throw Error(`Position were undefined for commit ${p.id}`);
|
|
484
|
-
return {
|
|
485
|
-
x: K,
|
|
486
|
-
y: G,
|
|
487
|
-
posWithOffset: W
|
|
488
|
-
};
|
|
489
|
-
}, "getCommitPosition"), drawCommits = /* @__PURE__ */ __name((p, H, U) => {
|
|
490
|
-
if (!DEFAULT_GITGRAPH_CONFIG2) throw Error("GitGraph config not found");
|
|
491
|
-
let W = p.append("g").attr("class", "commit-bullets"), K = p.append("g").attr("class", "commit-labels"), q = dir === "TB" || dir === "BT" ? defaultPos : 0, J = [...H.keys()], Y = DEFAULT_GITGRAPH_CONFIG2?.parallelCommits ?? !1, X = /* @__PURE__ */ __name((p, U) => {
|
|
492
|
-
let W = H.get(p)?.seq, G = H.get(U)?.seq;
|
|
493
|
-
return W !== void 0 && G !== void 0 ? W - G : 0;
|
|
494
|
-
}, "sortKeys"), Z = J.sort(X);
|
|
495
|
-
dir === "BT" && (Y && setParallelBTPos(Z, H, q), Z = Z.reverse()), Z.forEach((p) => {
|
|
496
|
-
let G = H.get(p);
|
|
497
|
-
if (!G) throw Error(`Commit not found for key ${p}`);
|
|
498
|
-
Y && (q = calculatePosition(G, dir, q, commitPos));
|
|
499
|
-
let J = getCommitPosition(G, q, Y);
|
|
500
|
-
if (U) {
|
|
501
|
-
let p = getCommitClassType(G), H = G.customType ?? G.type;
|
|
502
|
-
drawCommitBullet(W, G, J, p, branchPos.get(G.branch)?.index ?? 0, H), drawCommitLabel(K, G, J, q), drawCommitTags(K, G, J, q);
|
|
503
|
-
}
|
|
504
|
-
dir === "TB" || dir === "BT" ? commitPos.set(G.id, {
|
|
505
|
-
x: J.x,
|
|
506
|
-
y: J.posWithOffset
|
|
507
|
-
}) : commitPos.set(G.id, {
|
|
508
|
-
x: J.posWithOffset,
|
|
509
|
-
y: J.y
|
|
510
|
-
}), q = dir === "BT" && Y ? q + COMMIT_STEP : q + COMMIT_STEP + LAYOUT_OFFSET, q > maxPos && (maxPos = q);
|
|
511
|
-
});
|
|
512
|
-
}, "drawCommits"), shouldRerouteArrow = /* @__PURE__ */ __name((p, H, U, W, K) => {
|
|
513
|
-
let q = (dir === "TB" || dir === "BT" ? U.x < W.x : U.y < W.y) ? H.branch : p.branch, J = /* @__PURE__ */ __name((p) => p.branch === q, "isOnBranchToGetCurve"), Y = /* @__PURE__ */ __name((U) => U.seq > p.seq && U.seq < H.seq, "isBetweenCommits");
|
|
514
|
-
return [...K.values()].some((p) => Y(p) && J(p));
|
|
515
|
-
}, "shouldRerouteArrow"), findLane = /* @__PURE__ */ __name((p, H, U = 0) => {
|
|
516
|
-
let W = p + Math.abs(p - H) / 2;
|
|
517
|
-
return U > 5 ? W : lanes.every((p) => Math.abs(p - W) >= 10) ? (lanes.push(W), W) : findLane(p, H - Math.abs(p - H) / 5, U + 1);
|
|
518
|
-
}, "findLane"), drawArrow = /* @__PURE__ */ __name((p, H, U, W) => {
|
|
519
|
-
let G = commitPos.get(H.id), K = commitPos.get(U.id);
|
|
520
|
-
if (G === void 0 || K === void 0) throw Error(`Commit positions not found for commits ${H.id} and ${U.id}`);
|
|
521
|
-
let q = shouldRerouteArrow(H, U, G, K, W), J = "", Y = "", X = 0, Z = 0, Q = branchPos.get(U.branch)?.index;
|
|
522
|
-
U.type === commitType.MERGE && H.id !== U.parents[0] && (Q = branchPos.get(H.branch)?.index);
|
|
523
|
-
let $;
|
|
524
|
-
if (q) {
|
|
525
|
-
J = "A 10 10, 0, 0, 0,", Y = "A 10 10, 0, 0, 1,", X = 10, Z = 10;
|
|
526
|
-
let p = G.y < K.y ? findLane(G.y, K.y) : findLane(K.y, G.y), U = G.x < K.x ? findLane(G.x, K.x) : findLane(K.x, G.x);
|
|
527
|
-
dir === "TB" ? G.x < K.x ? $ = `M ${G.x} ${G.y} L ${U - X} ${G.y} ${Y} ${U} ${G.y + Z} L ${U} ${K.y - X} ${J} ${U + Z} ${K.y} L ${K.x} ${K.y}` : (Q = branchPos.get(H.branch)?.index, $ = `M ${G.x} ${G.y} L ${U + X} ${G.y} ${J} ${U} ${G.y + Z} L ${U} ${K.y - X} ${Y} ${U - Z} ${K.y} L ${K.x} ${K.y}`) : dir === "BT" ? G.x < K.x ? $ = `M ${G.x} ${G.y} L ${U - X} ${G.y} ${J} ${U} ${G.y - Z} L ${U} ${K.y + X} ${Y} ${U + Z} ${K.y} L ${K.x} ${K.y}` : (Q = branchPos.get(H.branch)?.index, $ = `M ${G.x} ${G.y} L ${U + X} ${G.y} ${Y} ${U} ${G.y - Z} L ${U} ${K.y + X} ${J} ${U - Z} ${K.y} L ${K.x} ${K.y}`) : G.y < K.y ? $ = `M ${G.x} ${G.y} L ${G.x} ${p - X} ${J} ${G.x + Z} ${p} L ${K.x - X} ${p} ${Y} ${K.x} ${p + Z} L ${K.x} ${K.y}` : (Q = branchPos.get(H.branch)?.index, $ = `M ${G.x} ${G.y} L ${G.x} ${p + X} ${Y} ${G.x + Z} ${p} L ${K.x - X} ${p} ${J} ${K.x} ${p - Z} L ${K.x} ${K.y}`);
|
|
528
|
-
} else J = "A 20 20, 0, 0, 0,", Y = "A 20 20, 0, 0, 1,", X = 20, Z = 20, dir === "TB" ? (G.x < K.x && ($ = U.type === commitType.MERGE && H.id !== U.parents[0] ? `M ${G.x} ${G.y} L ${G.x} ${K.y - X} ${J} ${G.x + Z} ${K.y} L ${K.x} ${K.y}` : `M ${G.x} ${G.y} L ${K.x - X} ${G.y} ${Y} ${K.x} ${G.y + Z} L ${K.x} ${K.y}`), G.x > K.x && (J = "A 20 20, 0, 0, 0,", Y = "A 20 20, 0, 0, 1,", X = 20, Z = 20, $ = U.type === commitType.MERGE && H.id !== U.parents[0] ? `M ${G.x} ${G.y} L ${G.x} ${K.y - X} ${Y} ${G.x - Z} ${K.y} L ${K.x} ${K.y}` : `M ${G.x} ${G.y} L ${K.x + X} ${G.y} ${J} ${K.x} ${G.y + Z} L ${K.x} ${K.y}`), G.x === K.x && ($ = `M ${G.x} ${G.y} L ${K.x} ${K.y}`)) : dir === "BT" ? (G.x < K.x && ($ = U.type === commitType.MERGE && H.id !== U.parents[0] ? `M ${G.x} ${G.y} L ${G.x} ${K.y + X} ${Y} ${G.x + Z} ${K.y} L ${K.x} ${K.y}` : `M ${G.x} ${G.y} L ${K.x - X} ${G.y} ${J} ${K.x} ${G.y - Z} L ${K.x} ${K.y}`), G.x > K.x && (J = "A 20 20, 0, 0, 0,", Y = "A 20 20, 0, 0, 1,", X = 20, Z = 20, $ = U.type === commitType.MERGE && H.id !== U.parents[0] ? `M ${G.x} ${G.y} L ${G.x} ${K.y + X} ${J} ${G.x - Z} ${K.y} L ${K.x} ${K.y}` : `M ${G.x} ${G.y} L ${K.x - X} ${G.y} ${J} ${K.x} ${G.y - Z} L ${K.x} ${K.y}`), G.x === K.x && ($ = `M ${G.x} ${G.y} L ${K.x} ${K.y}`)) : (G.y < K.y && ($ = U.type === commitType.MERGE && H.id !== U.parents[0] ? `M ${G.x} ${G.y} L ${K.x - X} ${G.y} ${Y} ${K.x} ${G.y + Z} L ${K.x} ${K.y}` : `M ${G.x} ${G.y} L ${G.x} ${K.y - X} ${J} ${G.x + Z} ${K.y} L ${K.x} ${K.y}`), G.y > K.y && ($ = U.type === commitType.MERGE && H.id !== U.parents[0] ? `M ${G.x} ${G.y} L ${K.x - X} ${G.y} ${J} ${K.x} ${G.y - Z} L ${K.x} ${K.y}` : `M ${G.x} ${G.y} L ${G.x} ${K.y + X} ${Y} ${G.x + Z} ${K.y} L ${K.x} ${K.y}`), G.y === K.y && ($ = `M ${G.x} ${G.y} L ${K.x} ${K.y}`));
|
|
529
|
-
if ($ === void 0) throw Error("Line definition not found");
|
|
530
|
-
p.append("path").attr("d", $).attr("class", "arrow arrow" + Q % THEME_COLOR_LIMIT);
|
|
531
|
-
}, "drawArrow"), drawArrows = /* @__PURE__ */ __name((p, H) => {
|
|
532
|
-
let U = p.append("g").attr("class", "commit-arrows");
|
|
533
|
-
[...H.keys()].forEach((p) => {
|
|
534
|
-
let W = H.get(p);
|
|
535
|
-
W.parents && W.parents.length > 0 && W.parents.forEach((p) => {
|
|
536
|
-
drawArrow(U, H.get(p), W, H);
|
|
537
|
-
});
|
|
538
|
-
});
|
|
539
|
-
}, "drawArrows"), drawBranches = /* @__PURE__ */ __name((p, H) => {
|
|
540
|
-
let U = p.append("g");
|
|
541
|
-
H.forEach((p, H) => {
|
|
542
|
-
let W = H % THEME_COLOR_LIMIT, G = branchPos.get(p.name)?.pos;
|
|
543
|
-
if (G === void 0) throw Error(`Position not found for branch ${p.name}`);
|
|
544
|
-
let K = U.append("line");
|
|
545
|
-
K.attr("x1", 0), K.attr("y1", G), K.attr("x2", maxPos), K.attr("y2", G), K.attr("class", "branch branch" + W), dir === "TB" ? (K.attr("y1", defaultPos), K.attr("x1", G), K.attr("y2", maxPos), K.attr("x2", G)) : dir === "BT" && (K.attr("y1", maxPos), K.attr("x1", G), K.attr("y2", defaultPos), K.attr("x2", G)), lanes.push(G);
|
|
546
|
-
let q = p.name, J = drawText(q), Y = U.insert("rect"), X = U.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + W);
|
|
547
|
-
X.node().appendChild(J);
|
|
548
|
-
let Z = J.getBBox();
|
|
549
|
-
Y.attr("class", "branchLabelBkg label" + W).attr("rx", 4).attr("ry", 4).attr("x", -Z.width - 4 - (DEFAULT_GITGRAPH_CONFIG2?.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -Z.height / 2 + 8).attr("width", Z.width + 18).attr("height", Z.height + 4), X.attr("transform", "translate(" + (-Z.width - 14 - (DEFAULT_GITGRAPH_CONFIG2?.rotateCommitLabel === !0 ? 30 : 0)) + ", " + (G - Z.height / 2 - 1) + ")"), dir === "TB" ? (Y.attr("x", G - Z.width / 2 - 10).attr("y", 0), X.attr("transform", "translate(" + (G - Z.width / 2 - 5) + ", 0)")) : dir === "BT" ? (Y.attr("x", G - Z.width / 2 - 10).attr("y", maxPos), X.attr("transform", "translate(" + (G - Z.width / 2 - 5) + ", " + maxPos + ")")) : Y.attr("transform", "translate(-19, " + (G - Z.height / 2) + ")");
|
|
550
|
-
});
|
|
551
|
-
}, "drawBranches"), setBranchPosition = /* @__PURE__ */ __name(function(p, H, U, W, G) {
|
|
552
|
-
return branchPos.set(p, {
|
|
553
|
-
pos: H,
|
|
554
|
-
index: U
|
|
555
|
-
}), H += 50 + (G ? 40 : 0) + (dir === "TB" || dir === "BT" ? W.width / 2 : 0), H;
|
|
556
|
-
}, "setBranchPosition"), diagram = {
|
|
557
|
-
parser,
|
|
558
|
-
db,
|
|
559
|
-
renderer: { draw: /* @__PURE__ */ __name(function(H, U, G, q) {
|
|
560
|
-
if (clear3(), log.debug("in gitgraph renderer", H + "\n", "id:", U, G), !DEFAULT_GITGRAPH_CONFIG2) throw Error("GitGraph config not found");
|
|
561
|
-
let J = DEFAULT_GITGRAPH_CONFIG2.rotateCommitLabel ?? !1, X = q.db;
|
|
562
|
-
allCommitsDict = X.getCommits();
|
|
563
|
-
let Z = X.getBranchesAsObjArray();
|
|
564
|
-
dir = X.getDirection();
|
|
565
|
-
let Q = select_default(`[id="${U}"]`), $ = 0;
|
|
566
|
-
Z.forEach((p, H) => {
|
|
567
|
-
let U = drawText(p.name), W = Q.append("g"), G = W.insert("g").attr("class", "branchLabel"), K = G.insert("g").attr("class", "label branch-label");
|
|
568
|
-
K.node()?.appendChild(U);
|
|
569
|
-
let q = U.getBBox();
|
|
570
|
-
$ = setBranchPosition(p.name, $, H, q, J), K.remove(), G.remove(), W.remove();
|
|
571
|
-
}), drawCommits(Q, allCommitsDict, !1), DEFAULT_GITGRAPH_CONFIG2.showBranches && drawBranches(Q, Z), drawArrows(Q, allCommitsDict), drawCommits(Q, allCommitsDict, !0), utils_default.insertTitle(Q, "gitTitleText", DEFAULT_GITGRAPH_CONFIG2.titleTopMargin ?? 0, X.getDiagramTitle()), setupGraphViewbox2(void 0, Q, DEFAULT_GITGRAPH_CONFIG2.diagramPadding, DEFAULT_GITGRAPH_CONFIG2.useMaxWidth);
|
|
572
|
-
}, "draw") },
|
|
573
|
-
styles: /* @__PURE__ */ __name((p) => `
|
|
574
|
-
.commit-id,
|
|
575
|
-
.commit-msg,
|
|
576
|
-
.branch-label {
|
|
577
|
-
fill: lightgrey;
|
|
578
|
-
color: lightgrey;
|
|
579
|
-
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
580
|
-
font-family: var(--mermaid-font-family);
|
|
581
|
-
}
|
|
582
|
-
${[
|
|
583
|
-
0,
|
|
584
|
-
1,
|
|
585
|
-
2,
|
|
586
|
-
3,
|
|
587
|
-
4,
|
|
588
|
-
5,
|
|
589
|
-
6,
|
|
590
|
-
7
|
|
591
|
-
].map((H) => `
|
|
592
|
-
.branch-label${H} { fill: ${p["gitBranchLabel" + H]}; }
|
|
593
|
-
.commit${H} { stroke: ${p["git" + H]}; fill: ${p["git" + H]}; }
|
|
594
|
-
.commit-highlight${H} { stroke: ${p["gitInv" + H]}; fill: ${p["gitInv" + H]}; }
|
|
595
|
-
.label${H} { fill: ${p["git" + H]}; }
|
|
596
|
-
.arrow${H} { stroke: ${p["git" + H]}; }
|
|
597
|
-
`).join("\n")}
|
|
598
|
-
|
|
599
|
-
.branch {
|
|
600
|
-
stroke-width: 1;
|
|
601
|
-
stroke: ${p.lineColor};
|
|
602
|
-
stroke-dasharray: 2;
|
|
603
|
-
}
|
|
604
|
-
.commit-label { font-size: ${p.commitLabelFontSize}; fill: ${p.commitLabelColor};}
|
|
605
|
-
.commit-label-bkg { font-size: ${p.commitLabelFontSize}; fill: ${p.commitLabelBackground}; opacity: 0.5; }
|
|
606
|
-
.tag-label { font-size: ${p.tagLabelFontSize}; fill: ${p.tagLabelColor};}
|
|
607
|
-
.tag-label-bkg { fill: ${p.tagLabelBackground}; stroke: ${p.tagLabelBorder}; }
|
|
608
|
-
.tag-hole { fill: ${p.textColor}; }
|
|
609
|
-
|
|
610
|
-
.commit-merge {
|
|
611
|
-
stroke: ${p.primaryColor};
|
|
612
|
-
fill: ${p.primaryColor};
|
|
613
|
-
}
|
|
614
|
-
.commit-reverse {
|
|
615
|
-
stroke: ${p.primaryColor};
|
|
616
|
-
fill: ${p.primaryColor};
|
|
617
|
-
stroke-width: 3;
|
|
618
|
-
}
|
|
619
|
-
.commit-highlight-outer {
|
|
620
|
-
}
|
|
621
|
-
.commit-highlight-inner {
|
|
622
|
-
stroke: ${p.primaryColor};
|
|
623
|
-
fill: ${p.primaryColor};
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
|
|
627
|
-
.gitTitleText {
|
|
628
|
-
text-anchor: middle;
|
|
629
|
-
font-size: 18px;
|
|
630
|
-
fill: ${p.textColor};
|
|
631
|
-
}
|
|
632
|
-
`, "getStyles")
|
|
633
|
-
};
|
|
634
|
-
export { diagram };
|