gentiq 0.3.0-beta.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/README.md +69 -0
- package/dist/_baseUniq-TDAOmhbK.js +477 -0
- package/dist/abap-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-DQVEcJUW.js +6 -0
- package/dist/ada-vP6ak0IW.js +6 -0
- package/dist/andromeeda-BbmzSJq1.js +4 -0
- package/dist/angular-html-DPB4Rf0C.js +32 -0
- package/dist/angular-ts-CTOR2ofC.js +21 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apex-OyTfjCYK.js +6 -0
- package/dist/apl-CjNiDgad.js +16 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/applescript-BPx7YFFu.js +6 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/arc-B23PJ6bK.js +83 -0
- package/dist/architecture-U656AL7Q-BvIUsKQB.js +6 -0
- package/dist/architectureDiagram-VXUJARFQ-JctS14Gy.js +4662 -0
- package/dist/asciidoc-B-pCoB3G.js +6 -0
- package/dist/asm-BTWLY5ym.js +6 -0
- package/dist/astro-CFFExE8Q.js +18 -0
- package/dist/aurora-x-BwoVEUWZ.js +4 -0
- package/dist/awk-Fb0P9dkn.js +6 -0
- package/dist/ayu-dark-Dsjk_2Jx.js +4 -0
- package/dist/ayu-light-R7pgdmWq.js +4 -0
- package/dist/ayu-mirage-DraY-SDX.js +4 -0
- package/dist/ballerina-oZK-YekG.js +6 -0
- package/dist/bat-0FvbqU9S.js +6 -0
- package/dist/beancount-DqJEb89h.js +6 -0
- package/dist/berry-DODBq_Ff.js +6 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-BorU73w0.js +6 -0
- package/dist/blade-D0HyNvCw.js +20 -0
- package/dist/blockDiagram-VD42YOAC-CpHgxD56.js +2256 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/c3-Bt581sCe.js +6 -0
- package/dist/c4Diagram-YG6GDRKO-BpB9I2VL.js +1580 -0
- package/dist/cadence-02UX7mW8.js +6 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
- package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
- package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
- package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
- package/dist/channel-CcEuJqMa.js +5 -0
- package/dist/chunk-4BX2VUAB-fJ9qu6Ml.js +8 -0
- package/dist/chunk-55IACEB6-xu18Ig-m.js +8 -0
- package/dist/chunk-B4BG7PRW-BUFWmPG8.js +1375 -0
- package/dist/chunk-DI55MBZ5-CBWQ7yeq.js +1370 -0
- package/dist/chunk-FMBD7UC4-B5wH8SkU.js +19 -0
- package/dist/chunk-QN33PNHL-BtP382hW.js +19 -0
- package/dist/chunk-QZHKN3VN-CZw1n0rX.js +15 -0
- package/dist/chunk-TZMSLE5B-nMJvKXPl.js +64 -0
- package/dist/clarity-PKm5CwqM.js +6 -0
- package/dist/classDiagram-2ON5EDUG-DXW-a3UX.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-DXW-a3UX.js +16 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/clone-CufQXExc.js +8 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cobol-HihOMwht.js +10 -0
- package/dist/code-block-IT6T5CEO-DNTLz0rX.js +9159 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeql-DHkodjjI.js +6 -0
- package/dist/coffee-DGBR_nr_.js +8 -0
- package/dist/common-lisp-EVqT9Zhp.js +6 -0
- package/dist/coq-B0L9upzn.js +6 -0
- package/dist/cose-bilkent-S5V4N54A-B8eYFJrJ.js +2609 -0
- package/dist/cpp-Cj177cuW.js +18 -0
- package/dist/crystal-CRJyc4G-.js +18 -0
- package/dist/csharp-CCgA4A09.js +6 -0
- package/dist/css-CECN5uSL.js +6 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-jpdmjtA6.js +6 -0
- package/dist/cytoscape.esm-Cvf3sx9F.js +18704 -0
- package/dist/d-CBagWSwH.js +6 -0
- package/dist/dagre-6UL2VRFP-Du354Osy.js +443 -0
- package/dist/dark-plus-pUHDTVV0.js +4 -0
- package/dist/dart-6ObCrKr9.js +6 -0
- package/dist/dax-CcDT-8dH.js +6 -0
- package/dist/defaultLocale-BgPVtth8.js +171 -0
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/diagram-PSM6KHXK-m1QM5VEG.js +531 -0
- package/dist/diagram-QEK2KX5R-DukJsRoT.js +217 -0
- package/dist/diagram-S2PKOQOG-rTJRLIcF.js +142 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/dotenv-BMjVjUL1.js +6 -0
- package/dist/dracula-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BKa-aqBv.js +4 -0
- package/dist/dream-maker-PAx17jaB.js +6 -0
- package/dist/edge-BYQkOzbF.js +12 -0
- package/dist/elixir-Dh036GMp.js +8 -0
- package/dist/elm-BtNbw_Cd.js +8 -0
- package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
- package/dist/erDiagram-Q2GNP2WA-BVkaLyG6.js +841 -0
- package/dist/erb-BWGJ5tqi.js +10 -0
- package/dist/erlang-DNcDT8Hi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK.js +4 -0
- package/dist/everforest-light-BbXl82Em.js +4 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.png +0 -0
- package/dist/favicon.svg +147 -0
- package/dist/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH.js +6 -0
- package/dist/flowDiagram-NV44I4VS-DXxQz7VK.js +1620 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fortran-fixed-form-B67KFkXH.js +8 -0
- package/dist/fortran-free-form-CwqYvCLJ.js +6 -0
- package/dist/fsharp-CYOiIVNx.js +8 -0
- package/dist/ganttDiagram-JELNMOA3-C1pAJiOk.js +2671 -0
- package/dist/gdresource-CvCIUjhi.js +10 -0
- package/dist/gdscript-DSAxJ_aS.js +6 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gentiq.css +1 -0
- package/dist/gentiq.es.js +13 -0
- package/dist/gentiq.umd.js +3081 -0
- package/dist/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -0
- package/dist/gitGraph-F6HP7TQM-C8jNmLS8.js +6 -0
- package/dist/gitGraphDiagram-NY62KEGX-DmVh6f5G.js +699 -0
- package/dist/github-dark-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H.js +4 -0
- package/dist/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist/github-light-JYsPkUQd.js +4 -0
- package/dist/github-light-default-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist/gleam-Bv284lvN.js +6 -0
- package/dist/glimmer-js-DkxNrfPT.js +14 -0
- package/dist/glimmer-ts-D6YZEmK_.js +14 -0
- package/dist/glsl-CkUcVZNK.js +8 -0
- package/dist/gn-XtJxiLa4.js +6 -0
- package/dist/gnuplot-yPG9-sE_.js +6 -0
- package/dist/go-CvFNMTvu.js +6 -0
- package/dist/graph-D0fz-Owe.js +381 -0
- package/dist/graphql-CBu2ehBn.js +14 -0
- package/dist/groovy-CJQTphOW.js +6 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
- package/dist/hack-ItRNKiEb.js +10 -0
- package/dist/haml-NZLVzu_R.js +10 -0
- package/dist/handlebars-mxStpSE7.js +14 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe-TztHsm5T.js +6 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/horizon-CJQ10nlf.js +4 -0
- package/dist/houston-BDYrDoDW.js +4 -0
- package/dist/html-B50bmoVb.js +10 -0
- package/dist/html-derivative-C6bxFbFW.js +8 -0
- package/dist/http-DLvAkeD-.js +14 -0
- package/dist/hurl-CgkFN90t.js +12 -0
- package/dist/hxml-GbqSQCLa.js +8 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/imba-CimUv-Uh.js +6 -0
- package/dist/index-sB0aBtcs.js +74604 -0
- package/dist/index.d.ts +2 -0
- package/dist/info-NVLQJR56-BHz_5TCp.js +6 -0
- package/dist/infoDiagram-WHAUD3N6-DWiTUoVc.js +24 -0
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/java-DY6VlHhP.js +6 -0
- package/dist/javascript-C25yR2R2.js +6 -0
- package/dist/jinja-CFW5uAwY.js +11 -0
- package/dist/jison-DdreslRX.js +8 -0
- package/dist/journeyDiagram-XKPGCS4Q-CJFguVFG.js +834 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonnet-Bx2cfsXg.js +6 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jsx-BtKADgXT.js +6 -0
- package/dist/julia-CZiKXNNP.js +16 -0
- package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
- package/dist/kanagawa-wave-CQwozSzG.js +4 -0
- package/dist/kanban-definition-3W4ZIXB7-BeMIqmop.js +719 -0
- package/dist/kdl-BNOv9TC3.js +6 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-DH_XitHS.js +6 -0
- package/dist/laserwave-6a00oqik.js +4 -0
- package/dist/latex-DugOA5yb.js +8 -0
- package/dist/layout-vSwZhOZs.js +1441 -0
- package/dist/lean-BnVxaZxY.js +6 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/linear-CZDSkBQV.js +259 -0
- package/dist/liquid-CHzkx3jT.js +14 -0
- package/dist/llvm-co1rIKs3.js +6 -0
- package/dist/log-Al8wyEFV.js +6 -0
- package/dist/logo-DBa4JDzV.js +6 -0
- package/dist/lua-Bp3IRv7I.js +8 -0
- package/dist/luau-UQyhudEE.js +6 -0
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-Ns9BYtDO.js +14 -0
- package/dist/material-theme-D6KBX41T.js +4 -0
- package/dist/material-theme-darker-CkRroheE.js +4 -0
- package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0.js +6 -0
- package/dist/mdc-uaivvctV.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mermaid-C3rz4dYh.js +6 -0
- package/dist/mermaid-VLURNSYL-BTAoYrF1.js +4 -0
- package/dist/mermaid-parser.core-h6bP0Abx.js +14177 -0
- package/dist/mermaid.core-B2msLShh.js +14187 -0
- package/dist/min-DI8KnbHZ.js +38 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/mindmap-definition-VGOIOE7T-CKsLBIhv.js +784 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-CgKe2b8g.js +6 -0
- package/dist/monokai-C1KBYcO0.js +4 -0
- package/dist/moonbit-NVPuhMCm.js +6 -0
- package/dist/move-Db4ltDq1.js +6 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-DmSVRGjG.js +6 -0
- package/dist/nginx-D7O4WoB1.js +8 -0
- package/dist/night-owl-Bm2rzalh.js +4 -0
- package/dist/night-owl-light-CBI5u5kw.js +4 -0
- package/dist/nim-QAjRdh9w.js +20 -0
- package/dist/nix-fTRXMGic.js +9 -0
- package/dist/nord-CC5OiUXg.js +4 -0
- package/dist/nushell-D8j3dhT-.js +6 -0
- package/dist/objective-c-Itk8tzmv.js +6 -0
- package/dist/objective-cpp-DGt5UKRO.js +6 -0
- package/dist/ocaml-eSVK32Eg.js +6 -0
- package/dist/odin-BItnF517.js +6 -0
- package/dist/one-dark-pro-DTA3VF0_.js +4 -0
- package/dist/one-light-LkMrt1Cf.js +4 -0
- package/dist/openscad-Sp5uZ6f2.js +6 -0
- package/dist/ordinal-B6-f3MAq.js +61 -0
- package/dist/packet-BFZMPI3H-B4h24WzK.js +6 -0
- package/dist/pascal-xy8pJNns.js +6 -0
- package/dist/perl-DkVrgJBg.js +16 -0
- package/dist/php-BIzsF_5x.js +18 -0
- package/dist/pie-7BOR55EZ-D_SNAhMN.js +6 -0
- package/dist/pieDiagram-ADFJNKIX-CCArYzEI.js +161 -0
- package/dist/pkl-C-zSNmaA.js +6 -0
- package/dist/plastic-CSTz3KZp.js +4 -0
- package/dist/plsql-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/poimandres-C-VADXHD.js +4 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-Clc4ydu-.js +6 -0
- package/dist/prisma-FZjmVtSl.js +6 -0
- package/dist/prolog-C5-yg4TO.js +6 -0
- package/dist/proto-C7QgialS.js +6 -0
- package/dist/pug-XOw9Q1Ho.js +12 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/purescript-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ.js +6 -0
- package/dist/qml-rTNXsquU.js +8 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qss-AeJTysr_.js +6 -0
- package/dist/quadrantDiagram-AYHSOK5B-lCtD8uwO.js +1022 -0
- package/dist/r-CSmzDPi7.js +6 -0
- package/dist/racket-B83wSAja.js +6 -0
- package/dist/radar-NHE76QYJ-mCBV0DA7.js +6 -0
- package/dist/raku-nEQ4ZJJ7.js +6 -0
- package/dist/razor-Ci8D0dQK.js +10 -0
- package/dist/red-7y8PH7HH.js +4 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/requirementDiagram-UZGBJVZJ-CmIAjjIF.js +850 -0
- package/dist/riscv-Ce8MAQLP.js +6 -0
- package/dist/ron-BboLFi1G.js +6 -0
- package/dist/rose-pine-BKc3yVeu.js +4 -0
- package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
- package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
- package/dist/rosmsg-Cz0w1km8.js +6 -0
- package/dist/rst-BJB_3FCk.js +22 -0
- package/dist/ruby-Chl-GArK.js +30 -0
- package/dist/rust-CLzF9zIN.js +6 -0
- package/dist/sankeyDiagram-TZEHDZUN-BnJi6yd7.js +810 -0
- package/dist/sas-fpEvgATw.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/scala-D4grkFkl.js +6 -0
- package/dist/scheme-BCRWuEm4.js +6 -0
- package/dist/scss-B1FaCqwR.js +8 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/sequenceDiagram-WL72ISMW-BTCEMQyg.js +2511 -0
- package/dist/shaderlab-Cr62-Wb4.js +8 -0
- package/dist/shellscript-InADTalH.js +6 -0
- package/dist/shellsession-DiDJNQdy.js +8 -0
- package/dist/slack-dark-i7wN4OET.js +4 -0
- package/dist/slack-ochin-ndHf0LoP.js +4 -0
- package/dist/smalltalk-BlI1_OkM.js +6 -0
- package/dist/snazzy-light-BlSJXAu4.js +4 -0
- package/dist/solarized-dark-UTmkh7lw.js +4 -0
- package/dist/solarized-light-BheCkDPT.js +4 -0
- package/dist/solidity-DUWnFhS6.js +6 -0
- package/dist/soy-C1-6njHa.js +8 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-CRXR8A9s.js +6 -0
- package/dist/sql-Cn_v3PB0.js +6 -0
- package/dist/src/App.d.ts +7 -0
- package/dist/src/Chat.d.ts +12 -0
- package/dist/src/Part.d.ts +17 -0
- package/dist/src/admin/AdminApp.d.ts +1 -0
- package/dist/src/admin/lib/api.d.ts +150 -0
- package/dist/src/admin/pages/AdminsPage.d.ts +1 -0
- package/dist/src/admin/pages/AnalyticsPage.d.ts +1 -0
- package/dist/src/admin/pages/ChatHistoryPage.d.ts +1 -0
- package/dist/src/admin/pages/DashboardPage.d.ts +1 -0
- package/dist/src/admin/pages/LoginPage.d.ts +5 -0
- package/dist/src/admin/pages/UsersPage.d.ts +1 -0
- package/dist/src/components/MessageList.d.ts +15 -0
- package/dist/src/components/PromptInputArea.d.ts +9 -0
- package/dist/src/components/RequireAuth.d.ts +6 -0
- package/dist/src/components/ai-elements/actions.d.ts +9 -0
- package/dist/src/components/ai-elements/branch.d.ts +20 -0
- package/dist/src/components/ai-elements/code-block.d.ts +15 -0
- package/dist/src/components/ai-elements/conversation.d.ts +9 -0
- package/dist/src/components/ai-elements/image.d.ts +6 -0
- package/dist/src/components/ai-elements/inline-citation.d.ts +38 -0
- package/dist/src/components/ai-elements/loader.d.ts +5 -0
- package/dist/src/components/ai-elements/message.d.ts +8 -0
- package/dist/src/components/ai-elements/prompt-input.d.ts +21 -0
- package/dist/src/components/ai-elements/reasoning.d.ts +16 -0
- package/dist/src/components/ai-elements/response.d.ts +5 -0
- package/dist/src/components/ai-elements/sources.d.ts +12 -0
- package/dist/src/components/ai-elements/suggestion.d.ts +10 -0
- package/dist/src/components/ai-elements/task.d.ts +14 -0
- package/dist/src/components/ai-elements/tool.d.ts +23 -0
- package/dist/src/components/ai-elements/web-preview.d.ts +34 -0
- package/dist/src/components/app-header.d.ts +1 -0
- package/dist/src/components/app-sidebar.d.ts +3 -0
- package/dist/src/components/mode-toggle.d.ts +4 -0
- package/dist/src/components/theme-provider.d.ts +14 -0
- package/dist/src/components/ui/avatar.d.ts +6 -0
- package/dist/src/components/ui/badge.d.ts +9 -0
- package/dist/src/components/ui/button.d.ts +10 -0
- package/dist/src/components/ui/carousel.d.ts +19 -0
- package/dist/src/components/ui/checkbox.d.ts +4 -0
- package/dist/src/components/ui/collapsible.d.ts +6 -0
- package/dist/src/components/ui/dialog.d.ts +15 -0
- package/dist/src/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/src/components/ui/hover-card.d.ts +6 -0
- package/dist/src/components/ui/input.d.ts +3 -0
- package/dist/src/components/ui/scroll-area.d.ts +5 -0
- package/dist/src/components/ui/select.d.ts +15 -0
- package/dist/src/components/ui/separator.d.ts +4 -0
- package/dist/src/components/ui/sheet.d.ts +13 -0
- package/dist/src/components/ui/sidebar.d.ts +69 -0
- package/dist/src/components/ui/skeleton.d.ts +3 -0
- package/dist/src/components/ui/sonner.d.ts +3 -0
- package/dist/src/components/ui/switch.d.ts +4 -0
- package/dist/src/components/ui/textarea.d.ts +3 -0
- package/dist/src/components/ui/tooltip.d.ts +7 -0
- package/dist/src/components/welcome-screen.d.ts +5 -0
- package/dist/src/hooks/use-mobile.d.ts +1 -0
- package/dist/src/hooks/useAppLanguage.d.ts +13 -0
- package/dist/src/hooks/useConversationIdFromUrl.d.ts +1 -0
- package/dist/src/hooks/useGentiqChat.d.ts +46 -0
- package/dist/src/i18n.d.ts +2 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/lib/api.d.ts +19 -0
- package/dist/src/lib/text-direction.d.ts +1 -0
- package/dist/src/lib/tool-icons.d.ts +2 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/locales/en.json.d.ts +213 -0
- package/dist/src/locales/fa.json.d.ts +212 -0
- package/dist/src/pages/UserLoginPage.d.ts +1 -0
- package/dist/src/provider.d.ts +11 -0
- package/dist/src/types.d.ts +5 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX.js +8 -0
- package/dist/stateDiagram-FKZM4ZOC-DARNM7aj.js +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-Cn3_WsxM.js +16 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/surrealql-CQi7GQN7.js +8 -0
- package/dist/svelte-CYf4HR3U.js +14 -0
- package/dist/swift-9UzSvamq.js +6 -0
- package/dist/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-BCm7smPJ.js +6 -0
- package/dist/systemd-C-4qm6XH.js +6 -0
- package/dist/talonscript-CFF3LF_O.js +6 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-Crs9Ui8q.js +12 -0
- package/dist/terraform-DGvcn9zM.js +6 -0
- package/dist/tex-BvKThJ8p.js +8 -0
- package/dist/timeline-definition-IT6M3QCI-B6g4qq5Y.js +795 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/treemap-KMMF4GRG-Dmd7XzeO.js +6 -0
- package/dist/ts-tags-ioVe2PKw.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsx-B8rCNbgL.js +6 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-DWdZLOs_.js +18 -0
- package/dist/typescript-RycA9KXf.js +6 -0
- package/dist/typespec-DWqp-kUU.js +6 -0
- package/dist/typst-D_1QKWns.js +6 -0
- package/dist/v-BPCNiyYe.js +6 -0
- package/dist/vala-uxaPR7d1.js +6 -0
- package/dist/vb-D8_c5-KN.js +6 -0
- package/dist/verilog-B-bybjPF.js +6 -0
- package/dist/vesper-BckBta1U.js +4 -0
- package/dist/vhdl-CUlNa8ac.js +6 -0
- package/dist/viml-DsfA-sWm.js +6 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/vitesse-black-BoGvW84i.js +4 -0
- package/dist/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist/vitesse-light-CcmG315c.js +4 -0
- package/dist/vue-DXEmyXn9.js +31 -0
- package/dist/vue-html-j9xNEdu3.js +8 -0
- package/dist/vue-vine-D41-N99t.js +18 -0
- package/dist/vyper-CPQuu50u.js +6 -0
- package/dist/wasm-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae.js +7 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-Z-MoUasO.js +6 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-Dz4KXISs.js +6 -0
- package/dist/xml-C2J0sS9M.js +8 -0
- package/dist/xsl-BmSZphgC.js +8 -0
- package/dist/xychartDiagram-PRI3JC2R-CVDrDDmO.js +1340 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +117 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"SQL","name":"sql","patterns":[{"match":"((?<!@)@)\\\\b(\\\\w+)\\\\b","name":"text.variable"},{"match":"(\\\\[)[^]]*(])","name":"text.bracketed"},{"include":"#comments"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.sql"},"5":{"name":"entity.name.function.sql"}},"match":"(?i:^\\\\s*(create(?:\\\\s+or\\\\s+replace)?)\\\\s+(aggregate|conversion|database|domain|function|group|(unique\\\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)([\\"\'`]?)(\\\\w+)\\\\4","name":"meta.create.sql"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.sql"}},"match":"(?i:^\\\\s*(drop)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))","name":"meta.drop.sql"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.table.sql"},"3":{"name":"entity.name.function.sql"},"4":{"name":"keyword.other.cascade.sql"}},"match":"(?i:\\\\s*(drop)\\\\s+(table)\\\\s+(\\\\w+)(\\\\s+cascade)?\\\\b)","name":"meta.drop.sql"},{"captures":{"1":{"name":"keyword.other.create.sql"},"2":{"name":"keyword.other.table.sql"}},"match":"(?i:^\\\\s*(alter)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|proc(edure)?|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)","name":"meta.alter.sql"},{"captures":{"1":{"name":"storage.type.sql"},"2":{"name":"storage.type.sql"},"3":{"name":"constant.numeric.sql"},"4":{"name":"storage.type.sql"},"5":{"name":"constant.numeric.sql"},"6":{"name":"storage.type.sql"},"7":{"name":"constant.numeric.sql"},"8":{"name":"constant.numeric.sql"},"9":{"name":"storage.type.sql"},"10":{"name":"constant.numeric.sql"},"11":{"name":"storage.type.sql"},"12":{"name":"storage.type.sql"},"13":{"name":"storage.type.sql"},"14":{"name":"constant.numeric.sql"},"15":{"name":"storage.type.sql"}},"match":"(?i)\\\\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\\\b|\\\\b(bit\\\\svarying|character\\\\s(?:varying)?|tinyint|var\\\\schar|float|interval)\\\\((\\\\d+)\\\\)|\\\\b(char|number|varchar\\\\d?)\\\\b(?:\\\\((\\\\d+)\\\\))?|\\\\b(numeric|decimal)\\\\b(?:\\\\((\\\\d+),(\\\\d+)\\\\))?|\\\\b(times?)\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\swith(?:out)?\\\\stime\\\\szone\\\\b)?|\\\\b(timestamp)(s|tz)?\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\s(with(?:|out))\\\\stime\\\\szone\\\\b)?"},{"match":"(?i:\\\\b((?:primary|foreign)\\\\s+key|references|on\\\\s+(delete|update)(\\\\s+cascade)?|nocheck|check|constraint|collate|default)\\\\b)","name":"storage.modifier.sql"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.sql"},{"match":"(?i:\\\\b(select(\\\\s+(all|distinct))?|insert\\\\s+(ignore\\\\s+)?into|update|delete|from|set|where|group\\\\s+by|or|like|and|union(\\\\s+all)?|having|order\\\\s+by|limit|cross\\\\s+join|join|straight_join|(inner|(left|right|full)(\\\\s+outer)?)\\\\s+join|natural(\\\\s+(inner|(left|right|full)(\\\\s+outer)?))?\\\\s+join)\\\\b)","name":"keyword.other.DML.sql"},{"match":"(?i:\\\\b(on|off|((is\\\\s+)?not\\\\s+)?null)\\\\b)","name":"keyword.other.DDL.create.II.sql"},{"match":"(?i:\\\\bvalues\\\\b)","name":"keyword.other.DML.II.sql"},{"match":"(?i:\\\\b(begin(\\\\s+work)?|start\\\\s+transaction|commit(\\\\s+work)?|rollback(\\\\s+work)?)\\\\b)","name":"keyword.other.LUW.sql"},{"match":"(?i:\\\\b(grant(\\\\swith\\\\sgrant\\\\soption)?|revoke)\\\\b)","name":"keyword.other.authorization.sql"},{"match":"(?i:\\\\bin\\\\b)","name":"keyword.other.data-integrity.sql"},{"match":"(?i:^\\\\s*(comment\\\\s+on\\\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\\\s+)","name":"keyword.other.object-comments.sql"},{"match":"(?i)\\\\bAS\\\\b","name":"keyword.other.alias.sql"},{"match":"(?i)\\\\b(DESC|ASC)\\\\b","name":"keyword.other.order.sql"},{"match":"\\\\*","name":"keyword.operator.star.sql"},{"match":"[!<>]?=|<>|[<>]","name":"keyword.operator.comparison.sql"},{"match":"[-+/]","name":"keyword.operator.math.sql"},{"match":"\\\\|\\\\|","name":"keyword.operator.concatenator.sql"},{"captures":{"1":{"name":"support.function.aggregate.sql"}},"match":"(?i)\\\\b(approx_count_distinct|approx_percentile_cont|approx_percentile_disc|avg|checksum_agg|count|count_big|group|grouping|grouping_id|max|min|sum|stdevp??|varp??)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.analytic.sql"}},"match":"(?i)\\\\b(cume_dist|first_value|lag|last_value|lead|percent_rank|percentile_cont|percentile_disc)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.bitmanipulation.sql"}},"match":"(?i)\\\\b((?:bit_coun|get_bi|left_shif|right_shif|set_bi)t)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.conversion.sql"}},"match":"(?i)\\\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.collation.sql"}},"match":"(?i)\\\\b(collationproperty|tertiary_weights)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.cryptographic.sql"}},"match":"(?i)\\\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.cursor.sql"}},"match":"(?i)\\\\b(cursor_status)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.datetime.sql"}},"match":"(?i)\\\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|datetrunc|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.datatype.sql"}},"match":"(?i)\\\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.expression.sql"}},"match":"(?i)\\\\b(coalesce|nullif)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.globalvar.sql"}},"match":"(?<!@)@@(?i)\\\\b(cursor_rows|connections|cpu_busy|datefirst|dbts|error|fetch_status|identity|idle|io_busy|langid|language|lock_timeout|max_connections|max_precision|nestlevel|options|packet_errors|pack_received|pack_sent|procid|remserver|rowcount|servername|servicename|spid|textsize|timeticks|total_errors|total_read|total_write|trancount|version)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.json.sql"}},"match":"(?i)\\\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.logical.sql"}},"match":"(?i)\\\\b(choose|iif|greatest|least)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.mathematical.sql"}},"match":"(?i)\\\\b(abs|acos|asin|atan|atn2|ceiling|cos|cot|degrees|exp|floor|log|log10|pi|power|radians|rand|round|sign|sin|sqrt|square|tan)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.metadata.sql"}},"match":"(?i)\\\\b(app_name|applock_mode|applock_test|assemblyproperty|col_length|col_name|columnproperty|database_principal_id|databasepropertyex|db_id|db_name|file_id|file_idex|file_name|filegroup_id|filegroup_name|filegroupproperty|fileproperty|fulltextcatalogproperty|fulltextserviceproperty|index_col|indexkey_property|indexproperty|object_definition|object_id|object_name|object_schema_name|objectproperty|objectpropertyex|original_db_name|parsename|schema_id|schema_name|scope_identity|serverproperty|stats_date|type_id|type_name|typeproperty)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.ranking.sql"}},"match":"(?i)\\\\b(rank|dense_rank|ntile|row_number)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.rowset.sql"}},"match":"(?i)\\\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.security.sql"}},"match":"(?i)\\\\b(certencoded|certprivatekey|current_user|database_principal_id|has_perms_by_name|is_member|is_rolemember|is_srvrolemember|original_login|permissions|pwdcompare|pwdencrypt|schema_id|schema_name|session_user|suser_id|suser_sid|suser_sname|system_user|suser_name|user_id|user_name)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.string.sql"}},"match":"(?i)\\\\b(ascii|char|charindex|concat|difference|format|left|len|lower|ltrim|nchar|nodes|patindex|quotename|replace|replicate|reverse|right|rtrim|soundex|space|str|string_agg|string_escape|string_split|stuff|substring|translate|trim|unicode|upper)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.system.sql"}},"match":"(?i)\\\\b(binary_checksum|checksum|compress|connectionproperty|context_info|current_request_id|current_transaction_id|decompress|error_line|error_message|error_number|error_procedure|error_severity|error_state|formatmessage|get_filestream_transaction_context|getansinull|host_id|host_name|isnull|isnumeric|min_active_rowversion|newid|newsequentialid|rowcount_big|session_context|session_id|xact_state)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.textimage.sql"}},"match":"(?i)\\\\b(patindex|textptr|textvalid)\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"support.function.vector.sql"}},"match":"(?i)\\\\b(vector_(?:distance|norm|normalize))\\\\b\\\\s*\\\\("},{"captures":{"1":{"name":"constant.other.database-name.sql"},"2":{"name":"constant.other.table-name.sql"}},"match":"(\\\\w+?)\\\\.(\\\\w+)"},{"include":"#strings"},{"include":"#regexps"},{"match":"\\\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|add|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|alter|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|array|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_drop|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference|automatic|autopilot|availability|availability_mode|backup|backup_priority|base64|basic|batches|batchsize|before|between|bigint|binary|binding|bit|block|blockers|blocksize|bmk|both|break|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|checksum|cleanup_policy|clear|clear_port|close|clustered|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|connection|containment|continue|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create(\\\\\\\\s+or\\\\\\\\s+alter)?|credential|cross|cryptographic|cryptographic_provider|cube|cursor|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime2??|datetimeoffset|day(s)?|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|deallocate|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_fulltext_language|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distinct|distributed|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|else|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|except|exec|executable|execute|exists|expand|expiredate|expiry_date|explicit|external|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|fetch|field_terminator|fieldterminator|file|filelistonly|filegroup|filegrowth|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|first_row|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|for|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|goto|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hour(s)?|http|identity|identity_value|if|ifnull|ignore|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|incremental|index|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intersect|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kill|kilobytes_per_batch|labelonly|langid|language|last|lastrow|leading|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|log|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|match|matched|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minute(s)?|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|month|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|nested_triggers|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nonclustered|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|nulls|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|open|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|proc(edure)?|procedure_name|profile|provider|quarter|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|raiserror|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|reconfigure|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replace|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|respect|restart|restore|restricted_user|resume|retaindays|retention|return|revert|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowguidcol|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|save|scalar|schema|schemabinding|scoped|scroll|scroll_locks|sddl|second|secexpr|seconds|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|sessions??|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|shortest_path|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|shutdown|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablockx??|take|tape|target|target_index|target_partition|target_recovery_time|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|top??|torn_page_detection|track_columns_updated|trailing|tran|transaction|transfer|transform_noise_words|triple_des|triple_des_3key|truncate|trustworthy|try|tsql|two_digit_year_cutoff|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|unique|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|values??|varbinary|varchar|vector|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|wait_at_low_priority|waitfor|webmethod|week|weekday|weight|well_formed_xml|when|while|widechar|widechar_ansi|widenative|windows??|with|within|within group|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|year|zone)\\\\b","name":"keyword.other.sql"},{"captures":{"1":{"name":"punctuation.section.scope.begin.sql"},"2":{"name":"punctuation.section.scope.end.sql"}},"match":"(\\\\()(\\\\))","name":"meta.block.sql"}],"repository":{"comment-block":{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.sql"}},"end":"\\\\*/","name":"comment.block","patterns":[{"include":"#comment-block"}]},"comments":{"patterns":[{"begin":"(^[\\\\t ]+)?(?=--)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.sql"}},"end":"(?!\\\\G)","patterns":[{"begin":"--","beginCaptures":{"0":{"name":"punctuation.definition.comment.sql"}},"end":"\\\\n","name":"comment.line.double-dash.sql"}]},{"begin":"(^[\\\\t ]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.sql"}},"end":"(?!\\\\G)","patterns":[]},{"include":"#comment-block"}]},"regexps":{"patterns":[{"begin":"/(?=\\\\S.*/)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"/","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.regexp.sql","patterns":[{"include":"#string_interpolation"},{"match":"\\\\\\\\/","name":"constant.character.escape.slash.sql"}]},{"begin":"%r\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.regexp.modr.sql","patterns":[{"include":"#string_interpolation"}]}]},"string_escape":{"match":"\\\\\\\\.","name":"constant.character.escape.sql"},"string_interpolation":{"captures":{"1":{"name":"punctuation.definition.string.begin.sql"},"3":{"name":"punctuation.definition.string.end.sql"}},"match":"(#\\\\{)([^}]*)(})","name":"string.interpolated.sql"},"strings":{"patterns":[{"captures":{"2":{"name":"punctuation.definition.string.begin.sql"},"3":{"name":"punctuation.definition.string.end.sql"}},"match":"(N)?(\')[^\']*(\')","name":"string.quoted.single.sql"},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.quoted.single.sql","patterns":[{"include":"#string_escape"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.sql"},"2":{"name":"punctuation.definition.string.end.sql"}},"match":"(`)[^\\\\\\\\`]*(`)","name":"string.quoted.other.backtick.sql"},{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.quoted.other.backtick.sql","patterns":[{"include":"#string_escape"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.sql"},"2":{"name":"punctuation.definition.string.end.sql"}},"match":"(\\")[^\\"#]*(\\")","name":"string.quoted.double.sql"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.quoted.double.sql","patterns":[{"include":"#string_interpolation"}]},{"begin":"%\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sql"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.string.end.sql"}},"name":"string.other.quoted.brackets.sql","patterns":[{"include":"#string_interpolation"}]}]}},"scopeName":"source.sql"}')), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ChatProps } from './Chat';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export interface ChatUIProps extends ChatProps {
|
|
4
|
+
sidebar?: ReactNode;
|
|
5
|
+
header?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function ChatUI({ sidebar, header, ...chatProps }: ChatUIProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
export interface ChatProps {
|
|
3
|
+
agentName?: string;
|
|
4
|
+
toolComponents?: Record<string, ComponentType<any>>;
|
|
5
|
+
renderMessagePart?: (part: any, message: any) => ReactNode;
|
|
6
|
+
components?: {
|
|
7
|
+
MessageList?: ComponentType<any>;
|
|
8
|
+
PromptInput?: ComponentType<any>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const Chat: ({ agentName, toolComponents, renderMessagePart, components }: ChatProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default Chat;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { UIDataTypes, UIMessagePart, UITools, UIMessage } from 'ai';
|
|
3
|
+
interface PartProps {
|
|
4
|
+
part: UIMessagePart<UIDataTypes, UITools>;
|
|
5
|
+
message: UIMessage;
|
|
6
|
+
status: string;
|
|
7
|
+
regen: (id: string) => void;
|
|
8
|
+
index: number;
|
|
9
|
+
lastMessage: boolean;
|
|
10
|
+
conversationId: string;
|
|
11
|
+
isFinished?: boolean;
|
|
12
|
+
toolComponents?: Record<string, ComponentType<any>>;
|
|
13
|
+
renderMessagePart?: (part: any, message: any) => ReactNode;
|
|
14
|
+
chat?: any;
|
|
15
|
+
}
|
|
16
|
+
export declare function Part({ part, message, status, regen, index, lastMessage, conversationId, isFinished, toolComponents, renderMessagePart, chat, }: PartProps): import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function AdminApp(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
interface AdminLoginResponse {
|
|
2
|
+
token: string;
|
|
3
|
+
admin_id: string;
|
|
4
|
+
username: string;
|
|
5
|
+
name: string;
|
|
6
|
+
permissions: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface Admin {
|
|
9
|
+
id: string;
|
|
10
|
+
username: string;
|
|
11
|
+
name: string;
|
|
12
|
+
permissions: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface User {
|
|
15
|
+
id: string;
|
|
16
|
+
phone: string;
|
|
17
|
+
name: string;
|
|
18
|
+
surname: string;
|
|
19
|
+
token?: string;
|
|
20
|
+
balance?: {
|
|
21
|
+
tokens: number;
|
|
22
|
+
requests: number;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
interface AdminRegisterResponse {
|
|
26
|
+
admin_id: string;
|
|
27
|
+
username: string;
|
|
28
|
+
name: string;
|
|
29
|
+
permissions: string[];
|
|
30
|
+
}
|
|
31
|
+
export interface Textbook {
|
|
32
|
+
textbook: string;
|
|
33
|
+
textbook_title: string;
|
|
34
|
+
grade: number;
|
|
35
|
+
major: string | null;
|
|
36
|
+
page_count: number;
|
|
37
|
+
}
|
|
38
|
+
interface Thread {
|
|
39
|
+
id: string;
|
|
40
|
+
user_id: string;
|
|
41
|
+
title?: string;
|
|
42
|
+
created_at: string;
|
|
43
|
+
updated_at: string;
|
|
44
|
+
feedback_info?: {
|
|
45
|
+
like: number;
|
|
46
|
+
dislike: number;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
interface ThreadItem {
|
|
50
|
+
id: string;
|
|
51
|
+
thread_id: string;
|
|
52
|
+
role: string;
|
|
53
|
+
content: any;
|
|
54
|
+
feedback?: string;
|
|
55
|
+
created_at: string;
|
|
56
|
+
}
|
|
57
|
+
export interface TextbookDoc {
|
|
58
|
+
id: string;
|
|
59
|
+
textbook: string;
|
|
60
|
+
textbook_title: string;
|
|
61
|
+
grade: number;
|
|
62
|
+
major: string | null;
|
|
63
|
+
chapter: string;
|
|
64
|
+
section: string;
|
|
65
|
+
page_number: number;
|
|
66
|
+
content: string;
|
|
67
|
+
keywords: string[];
|
|
68
|
+
}
|
|
69
|
+
export interface Job {
|
|
70
|
+
id: string;
|
|
71
|
+
type: string;
|
|
72
|
+
status: string;
|
|
73
|
+
user_id: string | null;
|
|
74
|
+
created_at: string;
|
|
75
|
+
updated_at: string;
|
|
76
|
+
metadata: any;
|
|
77
|
+
progress: number;
|
|
78
|
+
message: string | null;
|
|
79
|
+
result: any;
|
|
80
|
+
error: string | null;
|
|
81
|
+
}
|
|
82
|
+
export declare class AdminAPI {
|
|
83
|
+
private token;
|
|
84
|
+
constructor();
|
|
85
|
+
setToken(token: string): void;
|
|
86
|
+
clearToken(): void;
|
|
87
|
+
getToken(): string | null;
|
|
88
|
+
private request;
|
|
89
|
+
login(username: string, password: string): Promise<AdminLoginResponse>;
|
|
90
|
+
checkSetupStatus(): Promise<{
|
|
91
|
+
needs_setup: boolean;
|
|
92
|
+
}>;
|
|
93
|
+
register(username: string, password: string, name: string, permissions: string[]): Promise<AdminRegisterResponse>;
|
|
94
|
+
listAdmins(): Promise<{
|
|
95
|
+
admins: Admin[];
|
|
96
|
+
}>;
|
|
97
|
+
updateAdmin(adminId: string, data: {
|
|
98
|
+
name?: string;
|
|
99
|
+
password?: string;
|
|
100
|
+
permissions?: string[];
|
|
101
|
+
}): Promise<any>;
|
|
102
|
+
deleteAdmin(adminId: string): Promise<any>;
|
|
103
|
+
listPermissions(): Promise<{
|
|
104
|
+
permissions: string[];
|
|
105
|
+
}>;
|
|
106
|
+
listTextbooks(skip?: number, limit?: number): Promise<{
|
|
107
|
+
textbooks: Textbook[];
|
|
108
|
+
count: number;
|
|
109
|
+
}>;
|
|
110
|
+
addTextbook(formData: FormData): Promise<any>;
|
|
111
|
+
removeTextbook(textbook: string, textbook_title: string, grade: number, major?: string | null): Promise<any>;
|
|
112
|
+
exportTextbooks(): Promise<Blob>;
|
|
113
|
+
importTextbooks(file: File): Promise<any>;
|
|
114
|
+
listThreads(skip?: number, limit?: number, query?: string, feedback?: string): Promise<{
|
|
115
|
+
threads: Thread[];
|
|
116
|
+
count: number;
|
|
117
|
+
}>;
|
|
118
|
+
getThreadItems(threadId: string): Promise<{
|
|
119
|
+
thread: Thread;
|
|
120
|
+
items: ThreadItem[];
|
|
121
|
+
count: number;
|
|
122
|
+
}>;
|
|
123
|
+
listTextbookDocs(textbook: string, grade: number, major?: string | null, skip?: number, limit?: number): Promise<{
|
|
124
|
+
docs: TextbookDoc[];
|
|
125
|
+
count: number;
|
|
126
|
+
}>;
|
|
127
|
+
updateTextbookDoc(docId: string, content: string): Promise<any>;
|
|
128
|
+
updateTextbookInfo(oldTextbook: string, oldGrade: number, oldMajor: string | null, textbook: string, textbookTitle: string, grade: number, major: string | null): Promise<any>;
|
|
129
|
+
listUsers(skip?: number, limit?: number, query?: string): Promise<{
|
|
130
|
+
users: User[];
|
|
131
|
+
count: number;
|
|
132
|
+
}>;
|
|
133
|
+
createUser(phone: string, name: string, surname: string, tokens?: number, requests?: number): Promise<any>;
|
|
134
|
+
updateUser(userId: string, data: {
|
|
135
|
+
phone?: string;
|
|
136
|
+
name?: string;
|
|
137
|
+
surname?: string;
|
|
138
|
+
}): Promise<any>;
|
|
139
|
+
deleteUser(userId: string): Promise<any>;
|
|
140
|
+
updateUserBalance(userId: string, tokens: number, requests: number): Promise<any>;
|
|
141
|
+
refreshUserToken(userId: string): Promise<any>;
|
|
142
|
+
getAnalytics(days?: number): Promise<any>;
|
|
143
|
+
listJobs(limit?: number, type?: string): Promise<{
|
|
144
|
+
jobs: Job[];
|
|
145
|
+
count: number;
|
|
146
|
+
}>;
|
|
147
|
+
cancelJob(jobId: string): Promise<any>;
|
|
148
|
+
}
|
|
149
|
+
export declare const adminAPI: AdminAPI;
|
|
150
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function AdminsPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function AnalyticsPage(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ChatHistoryPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function DashboardPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function UsersPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode, ComponentType } from 'react';
|
|
2
|
+
interface MessageListProps {
|
|
3
|
+
messages: any[];
|
|
4
|
+
status: string;
|
|
5
|
+
isLoadingHistory: boolean;
|
|
6
|
+
error: any;
|
|
7
|
+
conversationId: string;
|
|
8
|
+
regen: (id: string) => void;
|
|
9
|
+
onSuggestionClick: (suggestion: string) => void;
|
|
10
|
+
toolComponents?: Record<string, ComponentType<any>>;
|
|
11
|
+
renderMessagePart?: (part: any, message: any) => ReactNode;
|
|
12
|
+
chat?: any;
|
|
13
|
+
}
|
|
14
|
+
export declare function MessageList({ messages, status, isLoadingHistory, error, conversationId, regen, onSuggestionClick, toolComponents, renderMessagePart, chat, }: MessageListProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface PromptInputAreaProps {
|
|
2
|
+
onSend: (text: string, files?: FileList) => void;
|
|
3
|
+
status: string;
|
|
4
|
+
isLastMessageFinished: boolean;
|
|
5
|
+
stop: () => void;
|
|
6
|
+
isErrorVisible: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function PromptInputArea({ onSend, status, isLastMessageFinished, stop, isErrorVisible }: PromptInputAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
export type ActionsProps = ComponentProps<'div'>;
|
|
4
|
+
export declare const Actions: ({ className, children, ...props }: ActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export type ActionProps = ComponentProps<typeof Button> & {
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const Action: ({ tooltip, children, label, className, variant, size, ...props }: ActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { UIMessage } from 'ai';
|
|
3
|
+
import { ComponentProps, HTMLAttributes } from 'react';
|
|
4
|
+
export type BranchProps = HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
defaultBranch?: number;
|
|
6
|
+
onBranchChange?: (branchIndex: number) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const Branch: ({ defaultBranch, onBranchChange, className, ...props }: BranchProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export type BranchMessagesProps = HTMLAttributes<HTMLDivElement>;
|
|
10
|
+
export declare const BranchMessages: ({ children, ...props }: BranchMessagesProps) => import("react/jsx-runtime").JSX.Element[];
|
|
11
|
+
export type BranchSelectorProps = HTMLAttributes<HTMLDivElement> & {
|
|
12
|
+
from: UIMessage['role'];
|
|
13
|
+
};
|
|
14
|
+
export declare const BranchSelector: ({ className, from, ...props }: BranchSelectorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export type BranchPreviousProps = ComponentProps<typeof Button>;
|
|
16
|
+
export declare const BranchPrevious: ({ className, children, ...props }: BranchPreviousProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export type BranchNextProps = ComponentProps<typeof Button>;
|
|
18
|
+
export declare const BranchNext: ({ className, children, ...props }: BranchNextProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type BranchPageProps = HTMLAttributes<HTMLSpanElement>;
|
|
20
|
+
export declare const BranchPage: ({ className, ...props }: BranchPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { ComponentProps, HTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
export type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
code: string;
|
|
5
|
+
language: 'json';
|
|
6
|
+
showLineNumbers?: boolean;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
|
|
11
|
+
onCopy?: () => void;
|
|
12
|
+
onError?: (error: Error) => void;
|
|
13
|
+
timeout?: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { StickToBottom } from 'use-stick-to-bottom';
|
|
4
|
+
export type ConversationProps = ComponentProps<typeof StickToBottom>;
|
|
5
|
+
export declare const Conversation: ({ className, ...props }: ConversationProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
|
|
7
|
+
export declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export type ConversationScrollButtonProps = ComponentProps<typeof Button>;
|
|
9
|
+
export declare const ConversationScrollButton: ({ className, ...props }: ConversationScrollButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Experimental_GeneratedImage } from 'ai';
|
|
2
|
+
export type ImageProps = Experimental_GeneratedImage & {
|
|
3
|
+
className?: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const Image: ({ base64, uint8Array, mediaType, ...props }: ImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Badge } from '../ui/badge';
|
|
2
|
+
import { Carousel } from '../ui/carousel';
|
|
3
|
+
import { HoverCard } from '../ui/hover-card';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
5
|
+
export type InlineCitationProps = ComponentProps<'span'>;
|
|
6
|
+
export declare const InlineCitation: ({ className, ...props }: InlineCitationProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export type InlineCitationTextProps = ComponentProps<'span'>;
|
|
8
|
+
export declare const InlineCitationText: ({ className, ...props }: InlineCitationTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export type InlineCitationCardProps = ComponentProps<typeof HoverCard>;
|
|
10
|
+
export declare const InlineCitationCard: (props: InlineCitationCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type InlineCitationCardTriggerProps = ComponentProps<typeof Badge> & {
|
|
12
|
+
sources: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare const InlineCitationCardTrigger: ({ sources, className, ...props }: InlineCitationCardTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export type InlineCitationCardBodyProps = ComponentProps<'div'>;
|
|
16
|
+
export declare const InlineCitationCardBody: ({ className, ...props }: InlineCitationCardBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export type InlineCitationCarouselProps = ComponentProps<typeof Carousel>;
|
|
18
|
+
export declare const InlineCitationCarousel: ({ className, children, ...props }: InlineCitationCarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type InlineCitationCarouselContentProps = ComponentProps<'div'>;
|
|
20
|
+
export declare const InlineCitationCarouselContent: (props: InlineCitationCarouselContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export type InlineCitationCarouselItemProps = ComponentProps<'div'>;
|
|
22
|
+
export declare const InlineCitationCarouselItem: ({ className, ...props }: InlineCitationCarouselItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export type InlineCitationCarouselHeaderProps = ComponentProps<'div'>;
|
|
24
|
+
export declare const InlineCitationCarouselHeader: ({ className, ...props }: InlineCitationCarouselHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export type InlineCitationCarouselIndexProps = ComponentProps<'div'>;
|
|
26
|
+
export declare const InlineCitationCarouselIndex: ({ children, className, ...props }: InlineCitationCarouselIndexProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export type InlineCitationCarouselPrevProps = ComponentProps<'button'>;
|
|
28
|
+
export declare const InlineCitationCarouselPrev: ({ className, ...props }: InlineCitationCarouselPrevProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export type InlineCitationCarouselNextProps = ComponentProps<'button'>;
|
|
30
|
+
export declare const InlineCitationCarouselNext: ({ className, ...props }: InlineCitationCarouselNextProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export type InlineCitationSourceProps = ComponentProps<'div'> & {
|
|
32
|
+
title?: string;
|
|
33
|
+
url?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const InlineCitationSource: ({ title, url, description, className, children, ...props }: InlineCitationSourceProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export type InlineCitationQuoteProps = ComponentProps<'blockquote'>;
|
|
38
|
+
export declare const InlineCitationQuote: ({ children, className, ...props }: InlineCitationQuoteProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UIMessage } from 'ai';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
export type MessageProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
from: UIMessage['role'];
|
|
5
|
+
};
|
|
6
|
+
export declare const Message: ({ className, from, ...props }: MessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export type MessageContentProps = HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
export declare const MessageContent: ({ children, className, ...props }: MessageContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { Textarea } from '../ui/textarea';
|
|
3
|
+
import { ChatStatus } from 'ai';
|
|
4
|
+
import { ComponentProps, HTMLAttributes } from 'react';
|
|
5
|
+
export type PromptInputProps = HTMLAttributes<HTMLFormElement>;
|
|
6
|
+
export declare const PromptInput: ({ className, ...props }: PromptInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export type PromptInputTextareaProps = ComponentProps<typeof Textarea> & {
|
|
8
|
+
minHeight?: number;
|
|
9
|
+
maxHeight?: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const PromptInputTextarea: ({ onChange, className, placeholder, ...props }: PromptInputTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export type PromptInputToolbarProps = HTMLAttributes<HTMLDivElement>;
|
|
13
|
+
export declare const PromptInputToolbar: ({ className, ...props }: PromptInputToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
15
|
+
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export type PromptInputButtonProps = ComponentProps<typeof Button>;
|
|
17
|
+
export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export type PromptInputSubmitProps = ComponentProps<typeof Button> & {
|
|
19
|
+
status?: ChatStatus;
|
|
20
|
+
};
|
|
21
|
+
export declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../ui/collapsible';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
export type ReasoningProps = ComponentProps<typeof Collapsible> & {
|
|
4
|
+
isStreaming?: boolean;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
duration?: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const Reasoning: import('react').MemoExoticComponent<({ className, isStreaming, open, defaultOpen, onOpenChange, duration: durationProp, children, ...props }: ReasoningProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
+
export type ReasoningTriggerProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
12
|
+
export declare const ReasoningTrigger: import('react').MemoExoticComponent<({ className, children, ...props }: ReasoningTriggerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
+
export type ReasoningContentProps = ComponentProps<typeof CollapsibleContent> & {
|
|
14
|
+
children: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const ReasoningContent: import('react').MemoExoticComponent<({ className, children, ...props }: ReasoningContentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Streamdown } from 'streamdown';
|
|
3
|
+
type ResponseProps = ComponentProps<typeof Streamdown>;
|
|
4
|
+
export declare const Response: import('react').MemoExoticComponent<({ className, ...props }: ResponseProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CollapsibleContent, CollapsibleTrigger } from '../ui/collapsible';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
export type SourcesProps = ComponentProps<'div'>;
|
|
4
|
+
export declare const Sources: ({ className, ...props }: SourcesProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
6
|
+
count: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const SourcesTrigger: ({ className, count, children, ...props }: SourcesTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
10
|
+
export declare const SourcesContent: ({ className, ...props }: SourcesContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type SourceProps = ComponentProps<'a'>;
|
|
12
|
+
export declare const Source: ({ href, title, children, ...props }: SourceProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { ScrollArea } from '../ui/scroll-area';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
export type SuggestionsProps = ComponentProps<typeof ScrollArea>;
|
|
5
|
+
export declare const Suggestions: ({ className, children, ...props }: SuggestionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export type SuggestionProps = Omit<ComponentProps<typeof Button>, 'onClick'> & {
|
|
7
|
+
suggestion: string;
|
|
8
|
+
onClick?: (suggestion: string) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const Suggestion: ({ suggestion, onClick, className, variant, size, children, ...props }: SuggestionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../ui/collapsible';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
export type TaskItemFileProps = ComponentProps<'div'>;
|
|
4
|
+
export declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export type TaskItemProps = ComponentProps<'div'>;
|
|
6
|
+
export declare const TaskItem: ({ children, className, ...props }: TaskItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export type TaskProps = ComponentProps<typeof Collapsible>;
|
|
8
|
+
export declare const Task: ({ defaultOpen, className, ...props }: TaskProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export type TaskTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const TaskTrigger: ({ children, className, title, ...props }: TaskTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
14
|
+
export declare const TaskContent: ({ children, className, ...props }: TaskContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Collapsible, CollapsibleContent } from '../ui/collapsible';
|
|
2
|
+
import { ToolUIPart } from 'ai';
|
|
3
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
4
|
+
export type ToolProps = ComponentProps<typeof Collapsible>;
|
|
5
|
+
export declare const Tool: ({ className, ...props }: ToolProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export interface ToolHeaderProps {
|
|
7
|
+
type: string;
|
|
8
|
+
state: ToolUIPart['state'];
|
|
9
|
+
toolName?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const ToolHeader: ({ className, type, state, toolName, ...props }: ToolHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
14
|
+
export declare const ToolContent: ({ className, ...props }: ToolContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export type ToolInputProps = ComponentProps<'div'> & {
|
|
16
|
+
input: ToolUIPart['input'];
|
|
17
|
+
};
|
|
18
|
+
export declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type ToolOutputProps = ComponentProps<'div'> & {
|
|
20
|
+
output: ReactNode;
|
|
21
|
+
errorText: ToolUIPart['errorText'];
|
|
22
|
+
};
|
|
23
|
+
export declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Button } from '../ui/button';
|
|
2
|
+
import { Input } from '../ui/input';
|
|
3
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
4
|
+
export interface WebPreviewContextValue {
|
|
5
|
+
url: string;
|
|
6
|
+
setUrl: (url: string) => void;
|
|
7
|
+
consoleOpen: boolean;
|
|
8
|
+
setConsoleOpen: (open: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
export type WebPreviewProps = ComponentProps<'div'> & {
|
|
11
|
+
defaultUrl?: string;
|
|
12
|
+
onUrlChange?: (url: string) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const WebPreview: ({ className, children, defaultUrl, onUrlChange, ...props }: WebPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export type WebPreviewNavigationProps = ComponentProps<'div'>;
|
|
16
|
+
export declare const WebPreviewNavigation: ({ className, children, ...props }: WebPreviewNavigationProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export type WebPreviewNavigationButtonProps = ComponentProps<typeof Button> & {
|
|
18
|
+
tooltip?: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const WebPreviewNavigationButton: ({ onClick, disabled, tooltip, children, ...props }: WebPreviewNavigationButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export type WebPreviewUrlProps = ComponentProps<typeof Input>;
|
|
22
|
+
export declare const WebPreviewUrl: ({ value, onChange, onKeyDown, ...props }: WebPreviewUrlProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export type WebPreviewBodyProps = ComponentProps<'iframe'> & {
|
|
24
|
+
loading?: ReactNode;
|
|
25
|
+
};
|
|
26
|
+
export declare const WebPreviewBody: ({ className, loading, src, ...props }: WebPreviewBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export type WebPreviewConsoleProps = ComponentProps<'div'> & {
|
|
28
|
+
logs?: {
|
|
29
|
+
level: 'log' | 'warn' | 'error';
|
|
30
|
+
message: string;
|
|
31
|
+
timestamp: Date;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
export declare const WebPreviewConsole: ({ className, logs, children, ...props }: WebPreviewConsoleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function AppHeader(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
3
|
+
interface ThemeProviderProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
defaultTheme?: Theme;
|
|
6
|
+
storageKey?: string;
|
|
7
|
+
}
|
|
8
|
+
interface ThemeProviderState {
|
|
9
|
+
theme: Theme;
|
|
10
|
+
setTheme: (theme: Theme) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const useTheme: () => ThemeProviderState;
|
|
14
|
+
export {};
|