@wzh-/ai-chat-example 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_basePickBy-CkZky1V-.js +135 -0
- package/dist/_baseUniq-f11MNaXe.js +573 -0
- package/dist/abap--jVlqvLx.js +2 -0
- package/dist/actionscript-3-N1AoJtTA.js +2 -0
- package/dist/ada-CYGINLea.js +2 -0
- package/dist/ai-chat-example.css +3 -0
- package/dist/andromeeda-CvsZnG9k.js +2 -0
- package/dist/angular-html-C5vmpet2.js +14 -0
- package/dist/angular-html-CLTv4jM9.js +5 -0
- package/dist/angular-ts-BKqJWrwt.js +19 -0
- package/dist/apache-D6X-_dyJ.js +2 -0
- package/dist/apex-C7VgAgAE.js +2 -0
- package/dist/apl-BcJs32yU.js +15 -0
- package/dist/applescript-DN64Su6U.js +2 -0
- package/dist/ara-Dm1jHrgg.js +2 -0
- package/dist/arc-Dh_0vvHo.js +78 -0
- package/dist/architecture-U656AL7Q-BqUSHYp0.js +8 -0
- package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +4053 -0
- package/dist/array-CkdOJbdT.js +5 -0
- package/dist/asciidoc-BpqtqRF5.js +2 -0
- package/dist/asm-DUGlKYIq.js +2 -0
- package/dist/astro-q-huTQEP.js +16 -0
- package/dist/aurora-x-DwOih-un.js +2 -0
- package/dist/awk-DcnVbJrN.js +2 -0
- package/dist/ayu-dark-Bd-89MKE.js +2 -0
- package/dist/ballerina-BQVdQd9X.js +2 -0
- package/dist/bash-DI_p7w58.js +2 -0
- package/dist/bat-juB1J52r.js +2 -0
- package/dist/beancount-ThxIlRc3.js +2 -0
- package/dist/berry-qC18BfC_.js +2 -0
- package/dist/bibtex-CahMDY_0.js +2 -0
- package/dist/bicep-CHLBKS47.js +2 -0
- package/dist/blade-Ckff5WJQ.js +19 -0
- package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +3013 -0
- package/dist/bsl-BTNab0FD.js +3 -0
- package/dist/c-BYDGkYzS.js +2 -0
- package/dist/c-CX6yudYR.js +2 -0
- package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +2955 -0
- package/dist/cadence-DA5J9-Di.js +2 -0
- package/dist/cairo-DUZgbTPW.js +3 -0
- package/dist/catppuccin-frappe-CE3kxG1f.js +2 -0
- package/dist/catppuccin-latte-DW2FXeIv.js +2 -0
- package/dist/catppuccin-macchiato-CD5qjRSF.js +2 -0
- package/dist/catppuccin-mocha-BYwVJvjI.js +2 -0
- package/dist/channel-BrxVk5HC.js +3 -0
- package/dist/chunk-4BX2VUAB-BGxl5VGr.js +6 -0
- package/dist/chunk-55IACEB6-CDMD5yu1.js +6 -0
- package/dist/chunk-76Q3JFCE-Db4Lkmow.js +19 -0
- package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +2515 -0
- package/dist/chunk-ATLVNIR6-C3g7rsIT.js +65 -0
- package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +3108 -0
- package/dist/chunk-CVBHYZKI-DxEBlSK7.js +10 -0
- package/dist/chunk-DI55MBZ5-CCWuZnfW.js +1994 -0
- package/dist/chunk-DNh5sLlG.js +18 -0
- package/dist/chunk-EXTU4WIE-BjMX7pAs.js +7 -0
- package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +3 -0
- package/dist/chunk-FPAJGGOC-nWbO3e1v.js +12252 -0
- package/dist/chunk-FWNWRKHM-CjcwRw2u.js +56 -0
- package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +74 -0
- package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +463 -0
- package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +4861 -0
- package/dist/chunk-LBM3YZW2-D8lrIfGo.js +19 -0
- package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +19 -0
- package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +1140 -0
- package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +39 -0
- package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +26 -0
- package/dist/chunk-QN33PNHL-DnPw7tni.js +23 -0
- package/dist/chunk-QXUST7PY-D9mGQ-UP.js +486 -0
- package/dist/chunk-QZHKN3VN-ClanGuXA.js +11 -0
- package/dist/chunk-S3R3BYOJ-DHTsHczu.js +1074 -0
- package/dist/chunk-S6J4BHB3-8RrHs9bD.js +19 -0
- package/dist/chunk-T53DSG4Q-C2BDA_QX.js +24 -0
- package/dist/chunk-TZMSLE5B-F4nHm7N1.js +55 -0
- package/dist/chunk-XAJISQIX-Bz7ki7DY.js +135 -0
- package/dist/clarity-CsFOkG3c.js +2 -0
- package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +33 -0
- package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +33 -0
- package/dist/clojure-u1TZmmdQ.js +2 -0
- package/dist/clone-BRioDvRr.js +7 -0
- package/dist/cmake-CA3Lfsq7.js +2 -0
- package/dist/cmake-K1k8HMYR.js +2 -0
- package/dist/cobol-DhzLzJib.js +10 -0
- package/dist/codeowners-l4eSxhtA.js +2 -0
- package/dist/codeql-5CeQaktT.js +2 -0
- package/dist/coffee-P21KTKMu.js +3 -0
- package/dist/common-lisp-BVttGbYJ.js +2 -0
- package/dist/coq-CZjzQDnb.js +2 -0
- package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +2250 -0
- package/dist/cpp-C6JyDxZu.js +16 -0
- package/dist/cpp-GAIEvywS.js +6 -0
- package/dist/crystal-BJfcoGS4.js +16 -0
- package/dist/csharp-BbUwciq4.js +2 -0
- package/dist/csharp-JE-9ns6W.js +2 -0
- package/dist/css-Crp0iO_o.js +2 -0
- package/dist/css-Cy-fypCV.js +2 -0
- package/dist/csv-DJ7xG4PY.js +2 -0
- package/dist/csv-DtT8LmMi.js +2 -0
- package/dist/cue-BwjaQTCz.js +2 -0
- package/dist/cypher-B7e06enY.js +2 -0
- package/dist/cytoscape.esm-CWqS6puh.js +18100 -0
- package/dist/d-q60wkid4.js +2 -0
- package/dist/dagre-6UL2VRFP-B38_sZWh.js +298 -0
- package/dist/dagre-DtvXp3zQ.js +1395 -0
- package/dist/dark-plus-D_fA88xf.js +2 -0
- package/dist/dart-DjkWvBgr.js +2 -0
- package/dist/dax-lueLIZQI.js +2 -0
- package/dist/defaultLocale-CoJOMwPq.js +177 -0
- package/dist/desktop-DaphHKD5.js +2 -0
- package/dist/diagram-PSM6KHXK-D6swsG-y.js +497 -0
- package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +226 -0
- package/dist/diagram-S2PKOQOG-DLx7PlpM.js +144 -0
- package/dist/diff-COB48_rb.js +2 -0
- package/dist/diff-DlXnqUMK.js +2 -0
- package/dist/dist-CrnZo_23.js +49 -0
- package/dist/docker-DZKmuwpA.js +2 -0
- package/dist/dotenv-hmNahw-8.js +2 -0
- package/dist/dracula-ddM3a7au.js +2 -0
- package/dist/dracula-soft-vfA-TA_S.js +2 -0
- package/dist/dream-maker-Cxa2a8FY.js +2 -0
- package/dist/edge-Dm7HQa9N.js +12 -0
- package/dist/elixir-BkvHyCNd.js +5 -0
- package/dist/elm-rz9wTSrn.js +4 -0
- package/dist/emacs-lisp-w5URnZPZ.js +2 -0
- package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +1603 -0
- package/dist/erb-DyrwQYVz.js +25 -0
- package/dist/erlang-DLFKZs5N.js +3 -0
- package/dist/everforest-dark-DAPtv4yI.js +2 -0
- package/dist/everforest-light-nQzYm8GO.js +2 -0
- package/dist/fennel-CJDNJZTU.js +2 -0
- package/dist/fish-BkYaLI4-.js +2 -0
- package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +4132 -0
- package/dist/fluent-DShra35H.js +2 -0
- package/dist/fortran-fixed-form-SzB0QY3n.js +3 -0
- package/dist/fortran-free-form-CgbOAJnm.js +2 -0
- package/dist/fortran-free-form-Js8JrQQE.js +2 -0
- package/dist/fsharp-CtWO0jvL.js +3 -0
- package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +3009 -0
- package/dist/gdresource-CgyXKpe4.js +8 -0
- package/dist/gdscript-DnurdQnh.js +2 -0
- package/dist/gdscript-STdmRKv-.js +2 -0
- package/dist/gdshader-Bs2s6cSB.js +2 -0
- package/dist/gdshader-YiVaPq6D.js +2 -0
- package/dist/genie-BppkvzZC.js +2 -0
- package/dist/gherkin-Bp4zdWMb.js +2 -0
- package/dist/git-commit--0GGwZNa.js +3 -0
- package/dist/git-rebase-orw-bSIZ.js +3 -0
- package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +8 -0
- package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +634 -0
- package/dist/github-dark-CMN1tZPn.js +2 -0
- package/dist/github-dark-DxCf_Qaz.js +2 -0
- package/dist/github-dark-default-DVCJut02.js +2 -0
- package/dist/github-dark-dimmed-DXu9oDqW.js +2 -0
- package/dist/github-dark-high-contrast-BBZdE-mX.js +2 -0
- package/dist/github-light-CfdX7txK.js +2 -0
- package/dist/github-light-Y8g-VxKq.js +2 -0
- package/dist/github-light-default-BNGkGE--.js +2 -0
- package/dist/github-light-high-contrast-DiSIc-nG.js +2 -0
- package/dist/gleam-Lw0tKp8T.js +2 -0
- package/dist/glimmer-js-C6E6wJv0.js +12 -0
- package/dist/glimmer-ts-C6GgTGNO.js +12 -0
- package/dist/glsl-D8_YBRKT.js +3 -0
- package/dist/glsl-rwn_QCp2.js +3 -0
- package/dist/gnuplot-BeA3etmO.js +2 -0
- package/dist/go-BhDDN9y4.js +2 -0
- package/dist/go-xfE7BrfS.js +2 -0
- package/dist/graphlib-BZdVmxO6.js +223 -0
- package/dist/graphql-DQHhbQm2.js +6 -0
- package/dist/graphql-DoBLseH6.js +12 -0
- package/dist/groovy-C5-mv4io.js +2 -0
- package/dist/gruvbox-dark-hard-CULu6kVy.js +2 -0
- package/dist/gruvbox-dark-medium-BJM4uQXO.js +2 -0
- package/dist/gruvbox-dark-soft-CVaORUwa.js +2 -0
- package/dist/gruvbox-light-hard-B-WJAGLa.js +2 -0
- package/dist/gruvbox-light-medium-jc8FWnuC.js +2 -0
- package/dist/gruvbox-light-soft-CmvYQK92.js +2 -0
- package/dist/hack-DEAxoi73.js +10 -0
- package/dist/haml-BG2d3iX4.js +4 -0
- package/dist/haml-mA656Lm7.js +8 -0
- package/dist/handlebars-CO5xAxJ3.js +12 -0
- package/dist/haskell-Hsexh2aP.js +2 -0
- package/dist/haxe-BJVSeYxy.js +2 -0
- package/dist/haxe-CD_Rs3P5.js +2 -0
- package/dist/hcl-D098sJ_J.js +2 -0
- package/dist/hjson-BwXHX5r6.js +2 -0
- package/dist/hlsl-B0pnUVYG.js +2 -0
- package/dist/hlsl-Dt9-unql.js +2 -0
- package/dist/houston-C7hMWO_I.js +2 -0
- package/dist/html-DFCxtjnd.js +4 -0
- package/dist/html-DKSj3FeM.js +8 -0
- package/dist/html-derivative-BCRkrTcD.js +5 -0
- package/dist/html-derivative-C-vidKoA.js +3 -0
- package/dist/http-CYP1tEDW.js +17 -0
- package/dist/hurl-BJexUSKz.js +15 -0
- package/dist/hxml-XfuSEjM-.js +3 -0
- package/dist/hy-DPQ04rHt.js +2 -0
- package/dist/imba-Bgu2n5Mo.js +2 -0
- package/dist/info-NVLQJR56-hEN1y0nS.js +8 -0
- package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +31 -0
- package/dist/ini-g9mZnyrk.js +2 -0
- package/dist/init-CBay3kgM.js +13 -0
- package/dist/isArrayLikeObject-Dz_TDfw0.js +459 -0
- package/dist/isEmpty-CCym_WUL.js +32 -0
- package/dist/java-CUbPyze1.js +2 -0
- package/dist/java-DIOGgqAD.js +2 -0
- package/dist/javascript-9-JPeKdm.js +2 -0
- package/dist/javascript-De1qhUaI.js +2 -0
- package/dist/jinja-CVFxFRh6.js +5 -0
- package/dist/jison-0X6LppGq.js +3 -0
- package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +884 -0
- package/dist/js/chat-example.es.js +39220 -0
- package/dist/js/chat-example.umd.js +2989 -0
- package/dist/json-DJtYdWQK.js +2 -0
- package/dist/json-fcFpRaf3.js +2 -0
- package/dist/json5-CPTZJOmf.js +2 -0
- package/dist/jsonc-CYrayg0k.js +2 -0
- package/dist/jsonl-Bsv7LjJ3.js +2 -0
- package/dist/jsonnet-B7LkHJxg.js +2 -0
- package/dist/jssm-BopKGZKg.js +2 -0
- package/dist/jsx-Bf3Nk9Di.js +2 -0
- package/dist/jsx-qo0JNHpZ.js +2 -0
- package/dist/julia-ChGs-n_c.js +17 -0
- package/dist/kanagawa-dragon-CSqqi78I.js +2 -0
- package/dist/kanagawa-lotus-l2vgoxpH.js +2 -0
- package/dist/kanagawa-wave-BWhFcnLj.js +2 -0
- package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +971 -0
- package/dist/katex-BcWXJDMd.js +22097 -0
- package/dist/katex-K1dsczyg.js +2 -0
- package/dist/kdl-BbokxoZ9.js +2 -0
- package/dist/kotlin-3dXKmwyJ.js +2 -0
- package/dist/kusto-Os6_yHEz.js +2 -0
- package/dist/laserwave-8RcN1zf8.js +2 -0
- package/dist/latex-BnWZlY4q.js +4 -0
- package/dist/lean--0Wr4Cy4.js +2 -0
- package/dist/less-B4ybD-7s.js +2 -0
- package/dist/less-Cb54jO7u.js +2 -0
- package/dist/light-plus-CP_iZQDF.js +2 -0
- package/dist/line-EpckC7pZ.js +30 -0
- package/dist/linear-DjVN4o4U.js +250 -0
- package/dist/liquid-pc5Mduds.js +12 -0
- package/dist/llvm-ILH_SX7E.js +2 -0
- package/dist/log-DwO_GzA0.js +2 -0
- package/dist/logo-B4FeRowR.js +2 -0
- package/dist/lua-0TqNbT8C.js +3 -0
- package/dist/lua-6pXga3HV.js +3 -0
- package/dist/luau-DsUEyLJN.js +2 -0
- package/dist/make-p6NYc19I.js +2 -0
- package/dist/markdown-CCRtgC0b.js +2 -0
- package/dist/markdown-LaaQ4Eua.js +2 -0
- package/dist/marked.esm-D9xINNve.js +1384 -0
- package/dist/marko-D8uDUUEs.js +12 -0
- package/dist/material-theme-D__z84-n.js +2 -0
- package/dist/material-theme-darker-CWC5BoMv.js +2 -0
- package/dist/material-theme-lighter-BJrV5b2o.js +2 -0
- package/dist/material-theme-ocean-DYpMfDiX.js +2 -0
- package/dist/material-theme-palenight-3Ix3iI7Q.js +2 -0
- package/dist/math-CJAnbPum.js +8 -0
- package/dist/matlab-CL0oMGfq.js +2 -0
- package/dist/mdc-Ki3KnB5U.js +13 -0
- package/dist/mdx-BTufVkNP.js +2 -0
- package/dist/mermaid-FCjIh1A7.js +2 -0
- package/dist/mermaid-parser.core-DVXSGppp.js +48 -0
- package/dist/mermaid.core-Ra1JFCui.js +895 -0
- package/dist/min-dark-B4KRMcN3.js +2 -0
- package/dist/min-light-BQVJODr0.js +2 -0
- package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +960 -0
- package/dist/mipsasm-Cn6AQ4lM.js +2 -0
- package/dist/mojo-C9IiQhp4.js +2 -0
- package/dist/monokai-vDwMMRi4.js +2 -0
- package/dist/move-BdizQ4_I.js +2 -0
- package/dist/narrat-BP2kx-u2.js +2 -0
- package/dist/nextflow-CyRmCGOe.js +2 -0
- package/dist/nginx-B46vdQ9n.js +4 -0
- package/dist/night-owl-DmjkOa5g.js +2 -0
- package/dist/nim-BxQNx10D.js +19 -0
- package/dist/nix-qPhlsqZI.js +2 -0
- package/dist/nord-sjxbvIbg.js +2 -0
- package/dist/nushell-puA-1bCW.js +2 -0
- package/dist/objective-c-D-qDLNy5.js +2 -0
- package/dist/objective-cpp-CFxSAM6p.js +2 -0
- package/dist/ocaml-CsLB7SWJ.js +2 -0
- package/dist/one-dark-pro-BHH-VjFD.js +2 -0
- package/dist/one-light-BqE6erWk.js +2 -0
- package/dist/openscad-DJCIQfnJ.js +2 -0
- package/dist/ordinal-CYQpsShT.js +61 -0
- package/dist/packet-BFZMPI3H-Bnlch4JI.js +8 -0
- package/dist/pascal-CPg9_ZFN.js +2 -0
- package/dist/path-esxOUfAH.js +79 -0
- package/dist/perl-D1bDaADZ.js +15 -0
- package/dist/php-BX51InqL.js +9 -0
- package/dist/php-D5tmU8Cr.js +16 -0
- package/dist/pie-7BOR55EZ-B9egLHl5.js +8 -0
- package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +172 -0
- package/dist/pkl-BQQ96hvn.js +2 -0
- package/dist/plastic-BrNUBdSC.js +2 -0
- package/dist/plsql-Co7Bxe7U.js +2 -0
- package/dist/po-BqzJCro7.js +2 -0
- package/dist/poimandres-C_AK8TlO.js +2 -0
- package/dist/polar-CtdYIPEe.js +2 -0
- package/dist/postcss-ChqFKb46.js +2 -0
- package/dist/postcss-ainQkoyY.js +2 -0
- package/dist/powerquery-CDugc1w-.js +2 -0
- package/dist/powershell-j5X-IA59.js +2 -0
- package/dist/prisma-Cyl7YhUw.js +2 -0
- package/dist/prolog-DELKnUYf.js +2 -0
- package/dist/proto-C4A_gDBY.js +2 -0
- package/dist/pug-BcLlS7Yb.js +10 -0
- package/dist/puppet-DFC9LyFj.js +2 -0
- package/dist/purescript-eECq7_n2.js +2 -0
- package/dist/python-BhdCuCld.js +2 -0
- package/dist/python-CuBu5pyY.js +2 -0
- package/dist/qml-MD0NqqIl.js +3 -0
- package/dist/qmldir-BpJII-Ze.js +2 -0
- package/dist/qss-CpMcemMc.js +2 -0
- package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +1970 -0
- package/dist/r-CQeHOO4c.js +2 -0
- package/dist/r-D90zdkbN.js +2 -0
- package/dist/racket-COTs6Zfi.js +2 -0
- package/dist/radar-NHE76QYJ-DdALhlvV.js +8 -0
- package/dist/raku-DfOtwMUC.js +2 -0
- package/dist/razor-eRwFWsjJ.js +10 -0
- package/dist/red-CWGFZsim.js +2 -0
- package/dist/reg-BX5DwoEA.js +2 -0
- package/dist/regexp-Ca0eDBa2.js +2 -0
- package/dist/regexp-Cap8fK_2.js +2 -0
- package/dist/rel-CzXuLSk3.js +2 -0
- package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +2194 -0
- package/dist/riscv-DnFIiqh3.js +2 -0
- package/dist/rose-pine-C4v2iQVe.js +2 -0
- package/dist/rose-pine-dawn-D5sdDB-J.js +2 -0
- package/dist/rose-pine-moon-2Vb7bLLO.js +2 -0
- package/dist/rosmsg-D02ul3fM.js +2 -0
- package/dist/rst-DFmSdXGd.js +34 -0
- package/dist/ruby-BAEFomR0.js +20 -0
- package/dist/ruby-DDMUvAvC.js +28 -0
- package/dist/rust-s3hBbfQg.js +2 -0
- package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +884 -0
- package/dist/sas-TjtLSnOp.js +3 -0
- package/dist/sass-v3HeJ9Fl.js +2 -0
- package/dist/scala-BTIBM_Vn.js +2 -0
- package/dist/scheme-C4NQMf7a.js +2 -0
- package/dist/scss-C-bthdG1.js +3 -0
- package/dist/scss-D-6-mg-f.js +3 -0
- package/dist/sdbl-BA3l-JrH.js +2 -0
- package/dist/sdbl-gc7zIVWR.js +2 -0
- package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +3560 -0
- package/dist/shaderlab-BRlB5fpk.js +3 -0
- package/dist/shellscript-BQ8mKDAF.js +2 -0
- package/dist/shellscript-DZa_4vvb.js +2 -0
- package/dist/shellsession-CIlmlgbR.js +3 -0
- package/dist/slack-dark-DhXO5DWr.js +2 -0
- package/dist/slack-ochin-aAGl4PPH.js +2 -0
- package/dist/smalltalk-DbwVUw_i.js +2 -0
- package/dist/snazzy-light-B4S5mk83.js +2 -0
- package/dist/solarized-dark-Dexkq3Fm.js +2 -0
- package/dist/solarized-light-I-Bzy8UC.js +2 -0
- package/dist/solidity-SMk0TJDc.js +2 -0
- package/dist/soy-DwSCrzEF.js +5 -0
- package/dist/sparql-D9kVSpEx.js +3 -0
- package/dist/splunk-DXXu2r7r.js +2 -0
- package/dist/sql-Bi3LyNPb.js +2 -0
- package/dist/sql-D0eLHBiZ.js +2 -0
- package/dist/src-B-SBGd0A.js +1975 -0
- package/dist/ssh-config-DyVcFTfI.js +2 -0
- package/dist/stata-DkEObyNb.js +3 -0
- package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +224 -0
- package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +32 -0
- package/dist/stylus-BKTuFHcX.js +2 -0
- package/dist/stylus-DEHALDNh.js +2 -0
- package/dist/svelte-KFuclcR6.js +12 -0
- package/dist/swift-Cenptrnf.js +2 -0
- package/dist/synthwave-84-BRkDuVE-.js +2 -0
- package/dist/system-verilog-Cvgukx4v.js +2 -0
- package/dist/systemd-BepdslJQ.js +2 -0
- package/dist/talonscript-Q98m-VXh.js +2 -0
- package/dist/tasl-uebrX98X.js +2 -0
- package/dist/tcl-B1Ny4XFf.js +2 -0
- package/dist/templ-C5mtYbb_.js +10 -0
- package/dist/terraform-0mA5ERTe.js +2 -0
- package/dist/tex-B4uYy1vC.js +3 -0
- package/dist/tex-BoVFa1ir.js +3 -0
- package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +830 -0
- package/dist/tokyo-night-D0mU3-u8.js +2 -0
- package/dist/toml-vMAjra5M.js +2 -0
- package/dist/treemap-KMMF4GRG-COjpj6-C.js +8 -0
- package/dist/ts-tags-DRdTXGhb.js +38 -0
- package/dist/tsv-BnmbkntZ.js +2 -0
- package/dist/tsx-BaaPsUbd.js +2 -0
- package/dist/tsx-C0w0w5St.js +2 -0
- package/dist/turtle-4UWi_qX6.js +2 -0
- package/dist/turtle-BRmolh-6.js +2 -0
- package/dist/twig-cEhAbahS.js +33 -0
- package/dist/typescript-4YtK2JL4.js +2 -0
- package/dist/typescript-CmJ8D0yY.js +2 -0
- package/dist/typespec-CILw3zvZ.js +2 -0
- package/dist/typst-CLajFw6q.js +2 -0
- package/dist/v-MJV2RQvK.js +2 -0
- package/dist/vala-Dc1TiHw1.js +2 -0
- package/dist/vb-CoJdNmGs.js +2 -0
- package/dist/verilog-C7aVmiO0.js +2 -0
- package/dist/vesper-Cvcqyrim.js +2 -0
- package/dist/vhdl-CYQvzAG1.js +2 -0
- package/dist/viml-DOyjiDI8.js +2 -0
- package/dist/vitesse-black-CUYJaB5b.js +2 -0
- package/dist/vitesse-dark-BNlzDJ1Z.js +2 -0
- package/dist/vitesse-light-JU98KqVa.js +2 -0
- package/dist/vue-B3C4YeUK.js +8 -0
- package/dist/vue-DMpjAWNv.js +20 -0
- package/dist/vue-html-BIZN50ug.js +13 -0
- package/dist/vue-vine-DxezWcjL.js +22 -0
- package/dist/vyper-JU_r7Ch6.js +2 -0
- package/dist/wasm-DJ1S--fN.js +2 -0
- package/dist/wasm-eLFiAU8u.js +2 -0
- package/dist/wenyan-CqkzmyWz.js +2 -0
- package/dist/wgsl-gV62iTnF.js +2 -0
- package/dist/wikitext-BfUl8La4.js +2 -0
- package/dist/wit-kp_bCf2U.js +2 -0
- package/dist/wolfram-aPsN9AKt.js +2 -0
- package/dist/xml-BglBgo29.js +3 -0
- package/dist/xml-BxRdgEAX.js +3 -0
- package/dist/xsl-Cni90e0k.js +4 -0
- package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +2022 -0
- package/dist/yaml-DQRfaSRo.js +2 -0
- package/dist/yaml-P2kjOPvW.js +2 -0
- package/dist/zenscript-BuY4FX-t.js +2 -0
- package/dist/zig-CGDGjytz.js +2 -0
- package/package.json +10 -6
- package/.vscode/extensions.json +0 -3
- package/.vscode/settings.json +0 -6
- package/auto-imports.d.ts +0 -73
- package/components.d.ts +0 -312
- package/components.json +0 -21
- package/index.html +0 -13
- package/src/App.vue +0 -68
- package/src/components/ChatConversation/ChatConversation.vue +0 -97
- package/src/components/ChatConversation/index.ts +0 -1
- package/src/components/ChatPromptInputProvider/ChatPromptInputProvider.vue +0 -47
- package/src/components/ChatPromptInputProvider/index.ts +0 -1
- package/src/components/ai-elements/artifact/Artifact.vue +0 -23
- package/src/components/ai-elements/artifact/ArtifactAction.vue +0 -72
- package/src/components/ai-elements/artifact/ArtifactActions.vue +0 -19
- package/src/components/ai-elements/artifact/ArtifactClose.vue +0 -39
- package/src/components/ai-elements/artifact/ArtifactContent.vue +0 -20
- package/src/components/ai-elements/artifact/ArtifactDescription.vue +0 -20
- package/src/components/ai-elements/artifact/ArtifactHeader.vue +0 -23
- package/src/components/ai-elements/artifact/ArtifactTitle.vue +0 -20
- package/src/components/ai-elements/artifact/index.ts +0 -8
- package/src/components/ai-elements/canvas/Canvas.vue +0 -37
- package/src/components/ai-elements/canvas/index.ts +0 -1
- package/src/components/ai-elements/chain-of-thought/ChainOfThought.vue +0 -41
- package/src/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue +0 -32
- package/src/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue +0 -43
- package/src/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue +0 -25
- package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue +0 -24
- package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue +0 -17
- package/src/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue +0 -54
- package/src/components/ai-elements/chain-of-thought/context.ts +0 -22
- package/src/components/ai-elements/chain-of-thought/index.ts +0 -7
- package/src/components/ai-elements/checkpoint/Checkpoint.vue +0 -19
- package/src/components/ai-elements/checkpoint/CheckpointIcon.vue +0 -19
- package/src/components/ai-elements/checkpoint/CheckpointTrigger.vue +0 -46
- package/src/components/ai-elements/checkpoint/index.ts +0 -3
- package/src/components/ai-elements/code-block/CodeBlock.vue +0 -84
- package/src/components/ai-elements/code-block/CodeBlockCopyButton.vue +0 -84
- package/src/components/ai-elements/code-block/context.ts +0 -7
- package/src/components/ai-elements/code-block/index.ts +0 -2
- package/src/components/ai-elements/code-block/utils.ts +0 -46
- package/src/components/ai-elements/confirmation/Confirmation.vue +0 -30
- package/src/components/ai-elements/confirmation/ConfirmationAccepted.vue +0 -18
- package/src/components/ai-elements/confirmation/ConfirmationAction.vue +0 -9
- package/src/components/ai-elements/confirmation/ConfirmationActions.vue +0 -23
- package/src/components/ai-elements/confirmation/ConfirmationRejected.vue +0 -18
- package/src/components/ai-elements/confirmation/ConfirmationRequest.vue +0 -11
- package/src/components/ai-elements/confirmation/ConfirmationTitle.vue +0 -18
- package/src/components/ai-elements/confirmation/context.ts +0 -46
- package/src/components/ai-elements/confirmation/index.ts +0 -7
- package/src/components/ai-elements/connection/Connection.vue +0 -36
- package/src/components/ai-elements/connection/index.ts +0 -1
- package/src/components/ai-elements/context/Context.vue +0 -29
- package/src/components/ai-elements/context/ContextCacheUsage.vue +0 -45
- package/src/components/ai-elements/context/ContextContent.vue +0 -20
- package/src/components/ai-elements/context/ContextContentBody.vue +0 -14
- package/src/components/ai-elements/context/ContextContentFooter.vue +0 -49
- package/src/components/ai-elements/context/ContextContentHeader.vue +0 -49
- package/src/components/ai-elements/context/ContextIcon.vue +0 -62
- package/src/components/ai-elements/context/ContextInputUsage.vue +0 -46
- package/src/components/ai-elements/context/ContextOutputUsage.vue +0 -45
- package/src/components/ai-elements/context/ContextReasoningUsage.vue +0 -48
- package/src/components/ai-elements/context/ContextTrigger.vue +0 -32
- package/src/components/ai-elements/context/TokensWithCost.vue +0 -25
- package/src/components/ai-elements/context/context.ts +0 -23
- package/src/components/ai-elements/context/index.ts +0 -12
- package/src/components/ai-elements/controls/Controls.vue +0 -25
- package/src/components/ai-elements/controls/index.ts +0 -1
- package/src/components/ai-elements/conversation/Conversation.vue +0 -37
- package/src/components/ai-elements/conversation/ConversationContent.vue +0 -21
- package/src/components/ai-elements/conversation/ConversationEmptyState.vue +0 -40
- package/src/components/ai-elements/conversation/ConversationScrollButton.vue +0 -34
- package/src/components/ai-elements/conversation/index.ts +0 -4
- package/src/components/ai-elements/edge/Animated.vue +0 -91
- package/src/components/ai-elements/edge/Temporary.vue +0 -28
- package/src/components/ai-elements/edge/index.ts +0 -2
- package/src/components/ai-elements/image/Image.vue +0 -29
- package/src/components/ai-elements/image/index.ts +0 -1
- package/src/components/ai-elements/inline-citation/InlineCitation.vue +0 -14
- package/src/components/ai-elements/inline-citation/InlineCitationCard.vue +0 -17
- package/src/components/ai-elements/inline-citation/InlineCitationCardBody.vue +0 -15
- package/src/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue +0 -35
- package/src/components/ai-elements/inline-citation/InlineCitationCarousel.vue +0 -15
- package/src/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue +0 -9
- package/src/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue +0 -16
- package/src/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue +0 -46
- package/src/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue +0 -15
- package/src/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue +0 -23
- package/src/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue +0 -23
- package/src/components/ai-elements/inline-citation/InlineCitationQuote.vue +0 -16
- package/src/components/ai-elements/inline-citation/InlineCitationSource.vue +0 -26
- package/src/components/ai-elements/inline-citation/InlineCitationText.vue +0 -14
- package/src/components/ai-elements/inline-citation/index.ts +0 -14
- package/src/components/ai-elements/loader/Loader.vue +0 -23
- package/src/components/ai-elements/loader/LoaderIcon.vue +0 -38
- package/src/components/ai-elements/loader/index.ts +0 -2
- package/src/components/ai-elements/message/Message.vue +0 -27
- package/src/components/ai-elements/message/MessageAction.vue +0 -45
- package/src/components/ai-elements/message/MessageActions.vue +0 -19
- package/src/components/ai-elements/message/MessageAttachment.vue +0 -87
- package/src/components/ai-elements/message/MessageAttachments.vue +0 -25
- package/src/components/ai-elements/message/MessageAvatar.vue +0 -22
- package/src/components/ai-elements/message/MessageBranch.vue +0 -66
- package/src/components/ai-elements/message/MessageBranchContent.vue +0 -51
- package/src/components/ai-elements/message/MessageBranchNext.vue +0 -23
- package/src/components/ai-elements/message/MessageBranchPage.vue +0 -28
- package/src/components/ai-elements/message/MessageBranchPrevious.vue +0 -23
- package/src/components/ai-elements/message/MessageBranchSelector.vue +0 -23
- package/src/components/ai-elements/message/MessageContent.vue +0 -26
- package/src/components/ai-elements/message/MessageResponse.vue +0 -42
- package/src/components/ai-elements/message/MessageToolbar.vue +0 -24
- package/src/components/ai-elements/message/context.ts +0 -22
- package/src/components/ai-elements/message/index.ts +0 -15
- package/src/components/ai-elements/model-selector/ModelSelector.vue +0 -9
- package/src/components/ai-elements/model-selector/ModelSelectorContent.vue +0 -29
- package/src/components/ai-elements/model-selector/ModelSelectorDialog.vue +0 -9
- package/src/components/ai-elements/model-selector/ModelSelectorEmpty.vue +0 -9
- package/src/components/ai-elements/model-selector/ModelSelectorGroup.vue +0 -9
- package/src/components/ai-elements/model-selector/ModelSelectorInput.vue +0 -18
- package/src/components/ai-elements/model-selector/ModelSelectorItem.vue +0 -10
- package/src/components/ai-elements/model-selector/ModelSelectorList.vue +0 -9
- package/src/components/ai-elements/model-selector/ModelSelectorLogo.vue +0 -22
- package/src/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue +0 -24
- package/src/components/ai-elements/model-selector/ModelSelectorName.vue +0 -19
- package/src/components/ai-elements/model-selector/ModelSelectorSeparator.vue +0 -7
- package/src/components/ai-elements/model-selector/ModelSelectorShortcut.vue +0 -9
- package/src/components/ai-elements/model-selector/ModelSelectorTrigger.vue +0 -9
- package/src/components/ai-elements/model-selector/index.ts +0 -14
- package/src/components/ai-elements/node/Node.vue +0 -31
- package/src/components/ai-elements/node/NodeAction.vue +0 -9
- package/src/components/ai-elements/node/NodeContent.vue +0 -15
- package/src/components/ai-elements/node/NodeDescription.vue +0 -9
- package/src/components/ai-elements/node/NodeFooter.vue +0 -15
- package/src/components/ai-elements/node/NodeHeader.vue +0 -15
- package/src/components/ai-elements/node/NodeTitle.vue +0 -9
- package/src/components/ai-elements/node/index.ts +0 -7
- package/src/components/ai-elements/open-in-chat/OpenIn.vue +0 -20
- package/src/components/ai-elements/open-in-chat/OpenInContent.vue +0 -25
- package/src/components/ai-elements/open-in-chat/OpenInItemLink.vue +0 -30
- package/src/components/ai-elements/open-in-chat/OpenInTrigger.vue +0 -16
- package/src/components/ai-elements/open-in-chat/context.ts +0 -20
- package/src/components/ai-elements/open-in-chat/index.ts +0 -9
- package/src/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue +0 -13
- package/src/components/ai-elements/open-in-chat/providers/icons/Claude.vue +0 -15
- package/src/components/ai-elements/open-in-chat/providers/icons/Cursor.vue +0 -13
- package/src/components/ai-elements/open-in-chat/providers/icons/Github.vue +0 -8
- package/src/components/ai-elements/open-in-chat/providers/icons/Scira.vue +0 -58
- package/src/components/ai-elements/open-in-chat/providers/icons/V0.vue +0 -15
- package/src/components/ai-elements/open-in-chat/providers/icons/index.ts +0 -6
- package/src/components/ai-elements/open-in-chat/providers/index.ts +0 -69
- package/src/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue +0 -18
- package/src/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue +0 -18
- package/src/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue +0 -18
- package/src/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue +0 -18
- package/src/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue +0 -18
- package/src/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue +0 -18
- package/src/components/ai-elements/panel/Panel.vue +0 -28
- package/src/components/ai-elements/panel/index.ts +0 -1
- package/src/components/ai-elements/plan/Plan.vue +0 -32
- package/src/components/ai-elements/plan/PlanAction.vue +0 -9
- package/src/components/ai-elements/plan/PlanContent.vue +0 -12
- package/src/components/ai-elements/plan/PlanDescription.vue +0 -25
- package/src/components/ai-elements/plan/PlanFooter.vue +0 -9
- package/src/components/ai-elements/plan/PlanHeader.vue +0 -18
- package/src/components/ai-elements/plan/PlanTitle.vue +0 -16
- package/src/components/ai-elements/plan/PlanTrigger.vue +0 -25
- package/src/components/ai-elements/plan/context.ts +0 -20
- package/src/components/ai-elements/plan/index.ts +0 -8
- package/src/components/ai-elements/prompt-input/PromptInput.vue +0 -116
- package/src/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue +0 -22
- package/src/components/ai-elements/prompt-input/PromptInputActionMenu.vue +0 -15
- package/src/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue +0 -21
- package/src/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue +0 -22
- package/src/components/ai-elements/prompt-input/PromptInputAttachment.vue +0 -94
- package/src/components/ai-elements/prompt-input/PromptInputAttachments.vue +0 -22
- package/src/components/ai-elements/prompt-input/PromptInputBody.vue +0 -12
- package/src/components/ai-elements/prompt-input/PromptInputButton.vue +0 -56
- package/src/components/ai-elements/prompt-input/PromptInputCommand.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputCommandGroup.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputCommandInput.vue +0 -17
- package/src/components/ai-elements/prompt-input/PromptInputCommandItem.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputCommandList.vue +0 -17
- package/src/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue +0 -16
- package/src/components/ai-elements/prompt-input/PromptInputFooter.vue +0 -23
- package/src/components/ai-elements/prompt-input/PromptInputHeader.vue +0 -23
- package/src/components/ai-elements/prompt-input/PromptInputHoverCard.vue +0 -23
- package/src/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue +0 -15
- package/src/components/ai-elements/prompt-input/PromptInputProvider.vue +0 -32
- package/src/components/ai-elements/prompt-input/PromptInputSelect.vue +0 -15
- package/src/components/ai-elements/prompt-input/PromptInputSelectContent.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputSelectItem.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue +0 -26
- package/src/components/ai-elements/prompt-input/PromptInputSelectValue.vue +0 -19
- package/src/components/ai-elements/prompt-input/PromptInputSpeechButton.vue +0 -137
- package/src/components/ai-elements/prompt-input/PromptInputSubmit.vue +0 -60
- package/src/components/ai-elements/prompt-input/PromptInputTab.vue +0 -16
- package/src/components/ai-elements/prompt-input/PromptInputTabBody.vue +0 -16
- package/src/components/ai-elements/prompt-input/PromptInputTabItem.vue +0 -16
- package/src/components/ai-elements/prompt-input/PromptInputTabLabel.vue +0 -16
- package/src/components/ai-elements/prompt-input/PromptInputTabsList.vue +0 -16
- package/src/components/ai-elements/prompt-input/PromptInputTextarea.vue +0 -78
- package/src/components/ai-elements/prompt-input/PromptInputTools.vue +0 -12
- package/src/components/ai-elements/prompt-input/context.ts +0 -223
- package/src/components/ai-elements/prompt-input/index.ts +0 -39
- package/src/components/ai-elements/prompt-input/types.ts +0 -28
- package/src/components/ai-elements/queue/Queue.vue +0 -21
- package/src/components/ai-elements/queue/QueueItem.vue +0 -21
- package/src/components/ai-elements/queue/QueueItemAction.vue +0 -25
- package/src/components/ai-elements/queue/QueueItemActions.vue +0 -14
- package/src/components/ai-elements/queue/QueueItemAttachment.vue +0 -14
- package/src/components/ai-elements/queue/QueueItemContent.vue +0 -32
- package/src/components/ai-elements/queue/QueueItemDescription.vue +0 -32
- package/src/components/ai-elements/queue/QueueItemFile.vue +0 -25
- package/src/components/ai-elements/queue/QueueItemImage.vue +0 -18
- package/src/components/ai-elements/queue/QueueItemIndicator.vue +0 -30
- package/src/components/ai-elements/queue/QueueList.vue +0 -22
- package/src/components/ai-elements/queue/QueueSection.vue +0 -26
- package/src/components/ai-elements/queue/QueueSectionContent.vue +0 -15
- package/src/components/ai-elements/queue/QueueSectionLabel.vue +0 -26
- package/src/components/ai-elements/queue/QueueSectionTrigger.vue +0 -25
- package/src/components/ai-elements/queue/index.ts +0 -15
- package/src/components/ai-elements/reasoning/Reasoning.vue +0 -94
- package/src/components/ai-elements/reasoning/ReasoningContent.vue +0 -41
- package/src/components/ai-elements/reasoning/ReasoningTrigger.vue +0 -61
- package/src/components/ai-elements/reasoning/context.ts +0 -19
- package/src/components/ai-elements/reasoning/index.ts +0 -3
- package/src/components/ai-elements/shimmer/Shimmer.vue +0 -69
- package/src/components/ai-elements/shimmer/index.ts +0 -1
- package/src/components/ai-elements/sources/Source.vue +0 -26
- package/src/components/ai-elements/sources/Sources.vue +0 -17
- package/src/components/ai-elements/sources/SourcesContent.vue +0 -23
- package/src/components/ai-elements/sources/SourcesTrigger.vue +0 -24
- package/src/components/ai-elements/sources/index.ts +0 -4
- package/src/components/ai-elements/suggestion/Suggestion.vue +0 -38
- package/src/components/ai-elements/suggestion/Suggestions.vue +0 -20
- package/src/components/ai-elements/suggestion/index.ts +0 -2
- package/src/components/ai-elements/task/Task.vue +0 -32
- package/src/components/ai-elements/task/TaskContent.vue +0 -27
- package/src/components/ai-elements/task/TaskItem.vue +0 -16
- package/src/components/ai-elements/task/TaskItemFile.vue +0 -18
- package/src/components/ai-elements/task/TaskTrigger.vue +0 -33
- package/src/components/ai-elements/task/index.ts +0 -5
- package/src/components/ai-elements/tool/Tool.vue +0 -18
- package/src/components/ai-elements/tool/ToolContent.vue +0 -23
- package/src/components/ai-elements/tool/ToolHeader.vue +0 -38
- package/src/components/ai-elements/tool/ToolInput.vue +0 -32
- package/src/components/ai-elements/tool/ToolOutput.vue +0 -69
- package/src/components/ai-elements/tool/ToolStatusBadge.vue +0 -63
- package/src/components/ai-elements/tool/index.ts +0 -5
- package/src/components/ai-elements/toolbar/Toolbar.vue +0 -32
- package/src/components/ai-elements/toolbar/index.ts +0 -1
- package/src/components/ai-elements/web-preview/WebPreview.vue +0 -60
- package/src/components/ai-elements/web-preview/WebPreviewBody.vue +0 -34
- package/src/components/ai-elements/web-preview/WebPreviewConsole.vue +0 -92
- package/src/components/ai-elements/web-preview/WebPreviewNavigation.vue +0 -21
- package/src/components/ai-elements/web-preview/WebPreviewNavigationButton.vue +0 -45
- package/src/components/ai-elements/web-preview/WebPreviewUrl.vue +0 -43
- package/src/components/ai-elements/web-preview/context.ts +0 -25
- package/src/components/ai-elements/web-preview/index.ts +0 -7
- package/src/components/ui/alert/Alert.vue +0 -21
- package/src/components/ui/alert/AlertDescription.vue +0 -17
- package/src/components/ui/alert/AlertTitle.vue +0 -17
- package/src/components/ui/alert/index.ts +0 -24
- package/src/components/ui/avatar/Avatar.vue +0 -18
- package/src/components/ui/avatar/AvatarFallback.vue +0 -21
- package/src/components/ui/avatar/AvatarImage.vue +0 -16
- package/src/components/ui/avatar/index.ts +0 -3
- package/src/components/ui/badge/Badge.vue +0 -26
- package/src/components/ui/badge/index.ts +0 -26
- package/src/components/ui/button/Button.vue +0 -29
- package/src/components/ui/button/index.ts +0 -38
- package/src/components/ui/button-group/ButtonGroup.vue +0 -22
- package/src/components/ui/button-group/ButtonGroupSeparator.vue +0 -24
- package/src/components/ui/button-group/ButtonGroupText.vue +0 -29
- package/src/components/ui/button-group/index.ts +0 -25
- package/src/components/ui/card/Card.vue +0 -22
- package/src/components/ui/card/CardAction.vue +0 -17
- package/src/components/ui/card/CardContent.vue +0 -17
- package/src/components/ui/card/CardDescription.vue +0 -17
- package/src/components/ui/card/CardFooter.vue +0 -17
- package/src/components/ui/card/CardHeader.vue +0 -17
- package/src/components/ui/card/CardTitle.vue +0 -17
- package/src/components/ui/card/index.ts +0 -7
- package/src/components/ui/carousel/Carousel.vue +0 -53
- package/src/components/ui/carousel/CarouselContent.vue +0 -33
- package/src/components/ui/carousel/CarouselItem.vue +0 -24
- package/src/components/ui/carousel/CarouselNext.vue +0 -41
- package/src/components/ui/carousel/CarouselPrevious.vue +0 -41
- package/src/components/ui/carousel/index.ts +0 -10
- package/src/components/ui/carousel/interface.ts +0 -26
- package/src/components/ui/carousel/useCarousel.ts +0 -56
- package/src/components/ui/collapsible/Collapsible.vue +0 -19
- package/src/components/ui/collapsible/CollapsibleContent.vue +0 -15
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +0 -15
- package/src/components/ui/collapsible/index.ts +0 -3
- package/src/components/ui/command/Command.vue +0 -87
- package/src/components/ui/command/CommandDialog.vue +0 -31
- package/src/components/ui/command/CommandEmpty.vue +0 -27
- package/src/components/ui/command/CommandGroup.vue +0 -45
- package/src/components/ui/command/CommandInput.vue +0 -39
- package/src/components/ui/command/CommandItem.vue +0 -76
- package/src/components/ui/command/CommandList.vue +0 -25
- package/src/components/ui/command/CommandSeparator.vue +0 -21
- package/src/components/ui/command/CommandShortcut.vue +0 -17
- package/src/components/ui/command/index.ts +0 -25
- package/src/components/ui/dialog/Dialog.vue +0 -19
- package/src/components/ui/dialog/DialogClose.vue +0 -15
- package/src/components/ui/dialog/DialogContent.vue +0 -53
- package/src/components/ui/dialog/DialogDescription.vue +0 -23
- package/src/components/ui/dialog/DialogFooter.vue +0 -15
- package/src/components/ui/dialog/DialogHeader.vue +0 -17
- package/src/components/ui/dialog/DialogOverlay.vue +0 -21
- package/src/components/ui/dialog/DialogScrollContent.vue +0 -59
- package/src/components/ui/dialog/DialogTitle.vue +0 -23
- package/src/components/ui/dialog/DialogTrigger.vue +0 -15
- package/src/components/ui/dialog/index.ts +0 -10
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -19
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -39
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -39
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -15
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -31
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -23
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -21
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -40
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -23
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -17
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -18
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -27
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -30
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -17
- package/src/components/ui/dropdown-menu/index.ts +0 -16
- package/src/components/ui/hover-card/HoverCard.vue +0 -19
- package/src/components/ui/hover-card/HoverCardContent.vue +0 -43
- package/src/components/ui/hover-card/HoverCardTrigger.vue +0 -15
- package/src/components/ui/hover-card/index.ts +0 -3
- package/src/components/ui/input/Input.vue +0 -33
- package/src/components/ui/input/index.ts +0 -1
- package/src/components/ui/input-group/InputGroup.vue +0 -37
- package/src/components/ui/input-group/InputGroupAddon.vue +0 -36
- package/src/components/ui/input-group/InputGroupButton.vue +0 -21
- package/src/components/ui/input-group/InputGroupInput.vue +0 -19
- package/src/components/ui/input-group/InputGroupText.vue +0 -19
- package/src/components/ui/input-group/InputGroupTextarea.vue +0 -19
- package/src/components/ui/input-group/index.ts +0 -59
- package/src/components/ui/progress/Progress.vue +0 -38
- package/src/components/ui/progress/index.ts +0 -1
- package/src/components/ui/scroll-area/ScrollArea.vue +0 -33
- package/src/components/ui/scroll-area/ScrollBar.vue +0 -32
- package/src/components/ui/scroll-area/index.ts +0 -2
- package/src/components/ui/select/Select.vue +0 -19
- package/src/components/ui/select/SelectContent.vue +0 -51
- package/src/components/ui/select/SelectGroup.vue +0 -15
- package/src/components/ui/select/SelectItem.vue +0 -44
- package/src/components/ui/select/SelectItemText.vue +0 -15
- package/src/components/ui/select/SelectLabel.vue +0 -17
- package/src/components/ui/select/SelectScrollDownButton.vue +0 -26
- package/src/components/ui/select/SelectScrollUpButton.vue +0 -26
- package/src/components/ui/select/SelectSeparator.vue +0 -19
- package/src/components/ui/select/SelectTrigger.vue +0 -33
- package/src/components/ui/select/SelectValue.vue +0 -15
- package/src/components/ui/select/index.ts +0 -11
- package/src/components/ui/separator/Separator.vue +0 -29
- package/src/components/ui/separator/index.ts +0 -1
- package/src/components/ui/textarea/Textarea.vue +0 -28
- package/src/components/ui/textarea/index.ts +0 -1
- package/src/components/ui/tooltip/Tooltip.vue +0 -19
- package/src/components/ui/tooltip/TooltipContent.vue +0 -34
- package/src/components/ui/tooltip/TooltipProvider.vue +0 -14
- package/src/components/ui/tooltip/TooltipTrigger.vue +0 -15
- package/src/components/ui/tooltip/index.ts +0 -4
- package/src/composables/useChat.ts +0 -46
- package/src/index.ts +0 -3
- package/src/lib/utils.ts +0 -7
- package/src/main.ts +0 -5
- package/src/request/index.ts +0 -41
- package/src/style.css +0 -120
- package/tsconfig.app.json +0 -25
- package/tsconfig.json +0 -13
- package/tsconfig.node.json +0 -26
- package/vite.config.ts +0 -26
- /package/{public → dist}/vite.svg +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DialogContentEmits, DialogContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { X } from "lucide-vue-next"
|
|
6
|
-
import {
|
|
7
|
-
DialogClose,
|
|
8
|
-
DialogContent,
|
|
9
|
-
DialogPortal,
|
|
10
|
-
useForwardPropsEmits,
|
|
11
|
-
} from "reka-ui"
|
|
12
|
-
import { cn } from "@/lib/utils"
|
|
13
|
-
import DialogOverlay from "./DialogOverlay.vue"
|
|
14
|
-
|
|
15
|
-
defineOptions({
|
|
16
|
-
inheritAttrs: false,
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
const props = withDefaults(defineProps<DialogContentProps & { class?: HTMLAttributes["class"], showCloseButton?: boolean }>(), {
|
|
20
|
-
showCloseButton: true,
|
|
21
|
-
})
|
|
22
|
-
const emits = defineEmits<DialogContentEmits>()
|
|
23
|
-
|
|
24
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
25
|
-
|
|
26
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<template>
|
|
30
|
-
<DialogPortal>
|
|
31
|
-
<DialogOverlay />
|
|
32
|
-
<DialogContent
|
|
33
|
-
data-slot="dialog-content"
|
|
34
|
-
v-bind="{ ...$attrs, ...forwarded }"
|
|
35
|
-
:class="
|
|
36
|
-
cn(
|
|
37
|
-
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
|
|
38
|
-
props.class,
|
|
39
|
-
)"
|
|
40
|
-
>
|
|
41
|
-
<slot />
|
|
42
|
-
|
|
43
|
-
<DialogClose
|
|
44
|
-
v-if="showCloseButton"
|
|
45
|
-
data-slot="dialog-close"
|
|
46
|
-
class="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
|
|
47
|
-
>
|
|
48
|
-
<X />
|
|
49
|
-
<span class="sr-only">Close</span>
|
|
50
|
-
</DialogClose>
|
|
51
|
-
</DialogContent>
|
|
52
|
-
</DialogPortal>
|
|
53
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DialogDescriptionProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { DialogDescription, useForwardProps } from "reka-ui"
|
|
6
|
-
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
8
|
-
const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
-
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
-
|
|
12
|
-
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<template>
|
|
16
|
-
<DialogDescription
|
|
17
|
-
data-slot="dialog-description"
|
|
18
|
-
v-bind="forwardedProps"
|
|
19
|
-
:class="cn('text-muted-foreground text-sm', props.class)"
|
|
20
|
-
>
|
|
21
|
-
<slot />
|
|
22
|
-
</DialogDescription>
|
|
23
|
-
</template>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import { cn } from "@/lib/utils"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="dialog-footer"
|
|
11
|
-
:class="cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import { cn } from "@/lib/utils"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<{
|
|
6
|
-
class?: HTMLAttributes["class"]
|
|
7
|
-
}>()
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<template>
|
|
11
|
-
<div
|
|
12
|
-
data-slot="dialog-header"
|
|
13
|
-
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</div>
|
|
17
|
-
</template>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DialogOverlayProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { DialogOverlay } from "reka-ui"
|
|
6
|
-
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
8
|
-
const props = defineProps<DialogOverlayProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
-
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<template>
|
|
14
|
-
<DialogOverlay
|
|
15
|
-
data-slot="dialog-overlay"
|
|
16
|
-
v-bind="delegatedProps"
|
|
17
|
-
:class="cn('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80', props.class)"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</DialogOverlay>
|
|
21
|
-
</template>
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DialogContentEmits, DialogContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { X } from "lucide-vue-next"
|
|
6
|
-
import {
|
|
7
|
-
DialogClose,
|
|
8
|
-
DialogContent,
|
|
9
|
-
DialogOverlay,
|
|
10
|
-
DialogPortal,
|
|
11
|
-
useForwardPropsEmits,
|
|
12
|
-
} from "reka-ui"
|
|
13
|
-
import { cn } from "@/lib/utils"
|
|
14
|
-
|
|
15
|
-
defineOptions({
|
|
16
|
-
inheritAttrs: false,
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
|
20
|
-
const emits = defineEmits<DialogContentEmits>()
|
|
21
|
-
|
|
22
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
23
|
-
|
|
24
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<template>
|
|
28
|
-
<DialogPortal>
|
|
29
|
-
<DialogOverlay
|
|
30
|
-
class="fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
|
|
31
|
-
>
|
|
32
|
-
<DialogContent
|
|
33
|
-
:class="
|
|
34
|
-
cn(
|
|
35
|
-
'relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full',
|
|
36
|
-
props.class,
|
|
37
|
-
)
|
|
38
|
-
"
|
|
39
|
-
v-bind="{ ...$attrs, ...forwarded }"
|
|
40
|
-
@pointer-down-outside="(event) => {
|
|
41
|
-
const originalEvent = event.detail.originalEvent;
|
|
42
|
-
const target = originalEvent.target as HTMLElement;
|
|
43
|
-
if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
}
|
|
46
|
-
}"
|
|
47
|
-
>
|
|
48
|
-
<slot />
|
|
49
|
-
|
|
50
|
-
<DialogClose
|
|
51
|
-
class="absolute top-4 right-4 p-0.5 transition-colors rounded-md hover:bg-secondary"
|
|
52
|
-
>
|
|
53
|
-
<X class="w-4 h-4" />
|
|
54
|
-
<span class="sr-only">Close</span>
|
|
55
|
-
</DialogClose>
|
|
56
|
-
</DialogContent>
|
|
57
|
-
</DialogOverlay>
|
|
58
|
-
</DialogPortal>
|
|
59
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DialogTitleProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { DialogTitle, useForwardProps } from "reka-ui"
|
|
6
|
-
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
8
|
-
const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
-
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
-
|
|
12
|
-
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<template>
|
|
16
|
-
<DialogTitle
|
|
17
|
-
data-slot="dialog-title"
|
|
18
|
-
v-bind="forwardedProps"
|
|
19
|
-
:class="cn('text-lg leading-none font-semibold', props.class)"
|
|
20
|
-
>
|
|
21
|
-
<slot />
|
|
22
|
-
</DialogTitle>
|
|
23
|
-
</template>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DialogTriggerProps } from "reka-ui"
|
|
3
|
-
import { DialogTrigger } from "reka-ui"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<DialogTriggerProps>()
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<DialogTrigger
|
|
10
|
-
data-slot="dialog-trigger"
|
|
11
|
-
v-bind="props"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</DialogTrigger>
|
|
15
|
-
</template>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as Dialog } from "./Dialog.vue"
|
|
2
|
-
export { default as DialogClose } from "./DialogClose.vue"
|
|
3
|
-
export { default as DialogContent } from "./DialogContent.vue"
|
|
4
|
-
export { default as DialogDescription } from "./DialogDescription.vue"
|
|
5
|
-
export { default as DialogFooter } from "./DialogFooter.vue"
|
|
6
|
-
export { default as DialogHeader } from "./DialogHeader.vue"
|
|
7
|
-
export { default as DialogOverlay } from "./DialogOverlay.vue"
|
|
8
|
-
export { default as DialogScrollContent } from "./DialogScrollContent.vue"
|
|
9
|
-
export { default as DialogTitle } from "./DialogTitle.vue"
|
|
10
|
-
export { default as DialogTrigger } from "./DialogTrigger.vue"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuRootEmits, DropdownMenuRootProps } from "reka-ui"
|
|
3
|
-
import { DropdownMenuRoot, useForwardPropsEmits } from "reka-ui"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<DropdownMenuRootProps>()
|
|
6
|
-
const emits = defineEmits<DropdownMenuRootEmits>()
|
|
7
|
-
|
|
8
|
-
const forwarded = useForwardPropsEmits(props, emits)
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<DropdownMenuRoot
|
|
13
|
-
v-slot="slotProps"
|
|
14
|
-
data-slot="dropdown-menu"
|
|
15
|
-
v-bind="forwarded"
|
|
16
|
-
>
|
|
17
|
-
<slot v-bind="slotProps" />
|
|
18
|
-
</DropdownMenuRoot>
|
|
19
|
-
</template>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuCheckboxItemEmits, DropdownMenuCheckboxItemProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { Check } from "lucide-vue-next"
|
|
6
|
-
import {
|
|
7
|
-
DropdownMenuCheckboxItem,
|
|
8
|
-
DropdownMenuItemIndicator,
|
|
9
|
-
useForwardPropsEmits,
|
|
10
|
-
} from "reka-ui"
|
|
11
|
-
import { cn } from "@/lib/utils"
|
|
12
|
-
|
|
13
|
-
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
|
|
14
|
-
const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
|
|
15
|
-
|
|
16
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
17
|
-
|
|
18
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<template>
|
|
22
|
-
<DropdownMenuCheckboxItem
|
|
23
|
-
data-slot="dropdown-menu-checkbox-item"
|
|
24
|
-
v-bind="forwarded"
|
|
25
|
-
:class=" cn(
|
|
26
|
-
'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
|
|
27
|
-
props.class,
|
|
28
|
-
)"
|
|
29
|
-
>
|
|
30
|
-
<span class="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
|
|
31
|
-
<DropdownMenuItemIndicator>
|
|
32
|
-
<slot name="indicator-icon">
|
|
33
|
-
<Check class="size-4" />
|
|
34
|
-
</slot>
|
|
35
|
-
</DropdownMenuItemIndicator>
|
|
36
|
-
</span>
|
|
37
|
-
<slot />
|
|
38
|
-
</DropdownMenuCheckboxItem>
|
|
39
|
-
</template>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuContentEmits, DropdownMenuContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import {
|
|
6
|
-
DropdownMenuContent,
|
|
7
|
-
DropdownMenuPortal,
|
|
8
|
-
useForwardPropsEmits,
|
|
9
|
-
} from "reka-ui"
|
|
10
|
-
import { cn } from "@/lib/utils"
|
|
11
|
-
|
|
12
|
-
defineOptions({
|
|
13
|
-
inheritAttrs: false,
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
const props = withDefaults(
|
|
17
|
-
defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),
|
|
18
|
-
{
|
|
19
|
-
sideOffset: 4,
|
|
20
|
-
},
|
|
21
|
-
)
|
|
22
|
-
const emits = defineEmits<DropdownMenuContentEmits>()
|
|
23
|
-
|
|
24
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
25
|
-
|
|
26
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<template>
|
|
30
|
-
<DropdownMenuPortal>
|
|
31
|
-
<DropdownMenuContent
|
|
32
|
-
data-slot="dropdown-menu-content"
|
|
33
|
-
v-bind="{ ...$attrs, ...forwarded }"
|
|
34
|
-
:class="cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md', props.class)"
|
|
35
|
-
>
|
|
36
|
-
<slot />
|
|
37
|
-
</DropdownMenuContent>
|
|
38
|
-
</DropdownMenuPortal>
|
|
39
|
-
</template>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuGroupProps } from "reka-ui"
|
|
3
|
-
import { DropdownMenuGroup } from "reka-ui"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<DropdownMenuGroupProps>()
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<DropdownMenuGroup
|
|
10
|
-
data-slot="dropdown-menu-group"
|
|
11
|
-
v-bind="props"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</DropdownMenuGroup>
|
|
15
|
-
</template>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuItemProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { DropdownMenuItem, useForwardProps } from "reka-ui"
|
|
6
|
-
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
8
|
-
const props = withDefaults(defineProps<DropdownMenuItemProps & {
|
|
9
|
-
class?: HTMLAttributes["class"]
|
|
10
|
-
inset?: boolean
|
|
11
|
-
variant?: "default" | "destructive"
|
|
12
|
-
}>(), {
|
|
13
|
-
variant: "default",
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
const delegatedProps = reactiveOmit(props, "inset", "variant", "class")
|
|
17
|
-
|
|
18
|
-
const forwardedProps = useForwardProps(delegatedProps)
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<template>
|
|
22
|
-
<DropdownMenuItem
|
|
23
|
-
data-slot="dropdown-menu-item"
|
|
24
|
-
:data-inset="inset ? '' : undefined"
|
|
25
|
-
:data-variant="variant"
|
|
26
|
-
v-bind="forwardedProps"
|
|
27
|
-
:class="cn('focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*=\'text-\'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4', props.class)"
|
|
28
|
-
>
|
|
29
|
-
<slot />
|
|
30
|
-
</DropdownMenuItem>
|
|
31
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuLabelProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { DropdownMenuLabel, useForwardProps } from "reka-ui"
|
|
6
|
-
import { cn } from "@/lib/utils"
|
|
7
|
-
|
|
8
|
-
const props = defineProps<DropdownMenuLabelProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
|
|
9
|
-
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class", "inset")
|
|
11
|
-
const forwardedProps = useForwardProps(delegatedProps)
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<DropdownMenuLabel
|
|
16
|
-
data-slot="dropdown-menu-label"
|
|
17
|
-
:data-inset="inset ? '' : undefined"
|
|
18
|
-
v-bind="forwardedProps"
|
|
19
|
-
:class="cn('px-2 py-1.5 text-sm font-medium data-[inset]:pl-8', props.class)"
|
|
20
|
-
>
|
|
21
|
-
<slot />
|
|
22
|
-
</DropdownMenuLabel>
|
|
23
|
-
</template>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuRadioGroupEmits, DropdownMenuRadioGroupProps } from "reka-ui"
|
|
3
|
-
import {
|
|
4
|
-
DropdownMenuRadioGroup,
|
|
5
|
-
useForwardPropsEmits,
|
|
6
|
-
} from "reka-ui"
|
|
7
|
-
|
|
8
|
-
const props = defineProps<DropdownMenuRadioGroupProps>()
|
|
9
|
-
const emits = defineEmits<DropdownMenuRadioGroupEmits>()
|
|
10
|
-
|
|
11
|
-
const forwarded = useForwardPropsEmits(props, emits)
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<DropdownMenuRadioGroup
|
|
16
|
-
data-slot="dropdown-menu-radio-group"
|
|
17
|
-
v-bind="forwarded"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</DropdownMenuRadioGroup>
|
|
21
|
-
</template>
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuRadioItemEmits, DropdownMenuRadioItemProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { Circle } from "lucide-vue-next"
|
|
6
|
-
import {
|
|
7
|
-
DropdownMenuItemIndicator,
|
|
8
|
-
DropdownMenuRadioItem,
|
|
9
|
-
useForwardPropsEmits,
|
|
10
|
-
} from "reka-ui"
|
|
11
|
-
import { cn } from "@/lib/utils"
|
|
12
|
-
|
|
13
|
-
const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
|
|
14
|
-
|
|
15
|
-
const emits = defineEmits<DropdownMenuRadioItemEmits>()
|
|
16
|
-
|
|
17
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
18
|
-
|
|
19
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
20
|
-
</script>
|
|
21
|
-
|
|
22
|
-
<template>
|
|
23
|
-
<DropdownMenuRadioItem
|
|
24
|
-
data-slot="dropdown-menu-radio-item"
|
|
25
|
-
v-bind="forwarded"
|
|
26
|
-
:class="cn(
|
|
27
|
-
'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
|
|
28
|
-
props.class,
|
|
29
|
-
)"
|
|
30
|
-
>
|
|
31
|
-
<span class="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
|
|
32
|
-
<DropdownMenuItemIndicator>
|
|
33
|
-
<slot name="indicator-icon">
|
|
34
|
-
<Circle class="size-2 fill-current" />
|
|
35
|
-
</slot>
|
|
36
|
-
</DropdownMenuItemIndicator>
|
|
37
|
-
</span>
|
|
38
|
-
<slot />
|
|
39
|
-
</DropdownMenuRadioItem>
|
|
40
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuSeparatorProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import {
|
|
6
|
-
DropdownMenuSeparator,
|
|
7
|
-
} from "reka-ui"
|
|
8
|
-
import { cn } from "@/lib/utils"
|
|
9
|
-
|
|
10
|
-
const props = defineProps<DropdownMenuSeparatorProps & {
|
|
11
|
-
class?: HTMLAttributes["class"]
|
|
12
|
-
}>()
|
|
13
|
-
|
|
14
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<template>
|
|
18
|
-
<DropdownMenuSeparator
|
|
19
|
-
data-slot="dropdown-menu-separator"
|
|
20
|
-
v-bind="delegatedProps"
|
|
21
|
-
:class="cn('bg-border -mx-1 my-1 h-px', props.class)"
|
|
22
|
-
/>
|
|
23
|
-
</template>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import { cn } from "@/lib/utils"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<{
|
|
6
|
-
class?: HTMLAttributes["class"]
|
|
7
|
-
}>()
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<template>
|
|
11
|
-
<span
|
|
12
|
-
data-slot="dropdown-menu-shortcut"
|
|
13
|
-
:class="cn('text-muted-foreground ml-auto text-xs tracking-widest', props.class)"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</span>
|
|
17
|
-
</template>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuSubEmits, DropdownMenuSubProps } from "reka-ui"
|
|
3
|
-
import {
|
|
4
|
-
DropdownMenuSub,
|
|
5
|
-
useForwardPropsEmits,
|
|
6
|
-
} from "reka-ui"
|
|
7
|
-
|
|
8
|
-
const props = defineProps<DropdownMenuSubProps>()
|
|
9
|
-
const emits = defineEmits<DropdownMenuSubEmits>()
|
|
10
|
-
|
|
11
|
-
const forwarded = useForwardPropsEmits(props, emits)
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<DropdownMenuSub v-slot="slotProps" data-slot="dropdown-menu-sub" v-bind="forwarded">
|
|
16
|
-
<slot v-bind="slotProps" />
|
|
17
|
-
</DropdownMenuSub>
|
|
18
|
-
</template>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuSubContentEmits, DropdownMenuSubContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import {
|
|
6
|
-
DropdownMenuSubContent,
|
|
7
|
-
useForwardPropsEmits,
|
|
8
|
-
} from "reka-ui"
|
|
9
|
-
import { cn } from "@/lib/utils"
|
|
10
|
-
|
|
11
|
-
const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
|
|
12
|
-
const emits = defineEmits<DropdownMenuSubContentEmits>()
|
|
13
|
-
|
|
14
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
15
|
-
|
|
16
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<template>
|
|
20
|
-
<DropdownMenuSubContent
|
|
21
|
-
data-slot="dropdown-menu-sub-content"
|
|
22
|
-
v-bind="forwarded"
|
|
23
|
-
:class="cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg', props.class)"
|
|
24
|
-
>
|
|
25
|
-
<slot />
|
|
26
|
-
</DropdownMenuSubContent>
|
|
27
|
-
</template>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuSubTriggerProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { ChevronRight } from "lucide-vue-next"
|
|
6
|
-
import {
|
|
7
|
-
DropdownMenuSubTrigger,
|
|
8
|
-
useForwardProps,
|
|
9
|
-
} from "reka-ui"
|
|
10
|
-
import { cn } from "@/lib/utils"
|
|
11
|
-
|
|
12
|
-
const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
|
|
13
|
-
|
|
14
|
-
const delegatedProps = reactiveOmit(props, "class", "inset")
|
|
15
|
-
const forwardedProps = useForwardProps(delegatedProps)
|
|
16
|
-
</script>
|
|
17
|
-
|
|
18
|
-
<template>
|
|
19
|
-
<DropdownMenuSubTrigger
|
|
20
|
-
data-slot="dropdown-menu-sub-trigger"
|
|
21
|
-
v-bind="forwardedProps"
|
|
22
|
-
:class="cn(
|
|
23
|
-
'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8',
|
|
24
|
-
props.class,
|
|
25
|
-
)"
|
|
26
|
-
>
|
|
27
|
-
<slot />
|
|
28
|
-
<ChevronRight class="ml-auto size-4" />
|
|
29
|
-
</DropdownMenuSubTrigger>
|
|
30
|
-
</template>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { DropdownMenuTriggerProps } from "reka-ui"
|
|
3
|
-
import { DropdownMenuTrigger, useForwardProps } from "reka-ui"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<DropdownMenuTriggerProps>()
|
|
6
|
-
|
|
7
|
-
const forwardedProps = useForwardProps(props)
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<template>
|
|
11
|
-
<DropdownMenuTrigger
|
|
12
|
-
data-slot="dropdown-menu-trigger"
|
|
13
|
-
v-bind="forwardedProps"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</DropdownMenuTrigger>
|
|
17
|
-
</template>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { default as DropdownMenu } from "./DropdownMenu.vue"
|
|
2
|
-
|
|
3
|
-
export { default as DropdownMenuCheckboxItem } from "./DropdownMenuCheckboxItem.vue"
|
|
4
|
-
export { default as DropdownMenuContent } from "./DropdownMenuContent.vue"
|
|
5
|
-
export { default as DropdownMenuGroup } from "./DropdownMenuGroup.vue"
|
|
6
|
-
export { default as DropdownMenuItem } from "./DropdownMenuItem.vue"
|
|
7
|
-
export { default as DropdownMenuLabel } from "./DropdownMenuLabel.vue"
|
|
8
|
-
export { default as DropdownMenuRadioGroup } from "./DropdownMenuRadioGroup.vue"
|
|
9
|
-
export { default as DropdownMenuRadioItem } from "./DropdownMenuRadioItem.vue"
|
|
10
|
-
export { default as DropdownMenuSeparator } from "./DropdownMenuSeparator.vue"
|
|
11
|
-
export { default as DropdownMenuShortcut } from "./DropdownMenuShortcut.vue"
|
|
12
|
-
export { default as DropdownMenuSub } from "./DropdownMenuSub.vue"
|
|
13
|
-
export { default as DropdownMenuSubContent } from "./DropdownMenuSubContent.vue"
|
|
14
|
-
export { default as DropdownMenuSubTrigger } from "./DropdownMenuSubTrigger.vue"
|
|
15
|
-
export { default as DropdownMenuTrigger } from "./DropdownMenuTrigger.vue"
|
|
16
|
-
export { DropdownMenuPortal } from "reka-ui"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { HoverCardRootEmits, HoverCardRootProps } from "reka-ui"
|
|
3
|
-
import { HoverCardRoot, useForwardPropsEmits } from "reka-ui"
|
|
4
|
-
|
|
5
|
-
const props = defineProps<HoverCardRootProps>()
|
|
6
|
-
const emits = defineEmits<HoverCardRootEmits>()
|
|
7
|
-
|
|
8
|
-
const forwarded = useForwardPropsEmits(props, emits)
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<HoverCardRoot
|
|
13
|
-
v-slot="slotProps"
|
|
14
|
-
data-slot="hover-card"
|
|
15
|
-
v-bind="forwarded"
|
|
16
|
-
>
|
|
17
|
-
<slot v-bind="slotProps" />
|
|
18
|
-
</HoverCardRoot>
|
|
19
|
-
</template>
|