@arcadeai/design-system 3.29.2 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/StickToBottom-BGUuEI8O.js +271 -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/applescript-BPx7YFFu.js +6 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/asciidoc-C1T9ziH6.js +6 -0
- package/dist/asm-BTWLY5ym.js +6 -0
- package/dist/assets/icons/yugabytedb.js +10 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- 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-DJoqd4M9.js +4 -0
- package/dist/ayu-light-BzXEJRJ-.js +4 -0
- package/dist/ayu-mirage-BJ2oZGzi.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/bird2-CIjBSNj3.js +6 -0
- package/dist/blade-D0HyNvCw.js +20 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/{utils-6KgZuQUR.js → bundle-mjs-lrpnyDSX.js} +607 -466
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/c3-BY5XW5ym.js +6 -0
- package/dist/cadence-02UX7mW8.js +6 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/{calendar-cxv-TTEh.js → calendar-DreAgQKY.js} +147 -142
- 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/clarity-PKm5CwqM.js +6 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cobol-HihOMwht.js +10 -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/components/index.js +494 -465
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +1 -1
- package/dist/components/ui/atoms/alert.js +4 -4
- package/dist/components/ui/atoms/avatar.js +1 -1
- package/dist/components/ui/atoms/badge.js +2 -2
- package/dist/components/ui/atoms/breadcrumb.js +9 -9
- package/dist/components/ui/atoms/button.js +2 -2
- package/dist/components/ui/atoms/byoc-badge.d.ts +1 -1
- package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/byoc-badge.js +2 -2
- package/dist/components/ui/atoms/calendar.js +2 -2
- package/dist/components/ui/atoms/card.js +23 -23
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/chat-container.d.ts +6 -0
- package/dist/components/ui/atoms/chat-container.d.ts.map +1 -0
- package/dist/components/ui/atoms/chat-container.js +55 -0
- package/dist/components/ui/atoms/checkbox.js +22 -22
- package/dist/components/ui/atoms/code-block.d.ts +11 -0
- package/dist/components/ui/atoms/code-block.d.ts.map +1 -0
- package/dist/components/ui/atoms/code-block.js +760 -0
- package/dist/components/ui/atoms/command.js +364 -288
- package/dist/components/ui/atoms/copy-button.d.ts +10 -0
- package/dist/components/ui/atoms/copy-button.d.ts.map +1 -0
- package/dist/components/ui/atoms/copy-button.js +35 -0
- package/dist/components/ui/atoms/dialog.js +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/form.js +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/icons/adp.js +1 -1
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +32 -30
- package/dist/components/ui/atoms/icons/workday.js +1 -1
- package/dist/components/ui/atoms/icons/yugabytedb.d.ts +4 -0
- package/dist/components/ui/atoms/icons/yugabytedb.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/yugabytedb.js +20 -0
- package/dist/components/ui/atoms/index.d.ts +6 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +472 -454
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/label.js +1 -1
- package/dist/components/ui/atoms/loader.d.ts +11 -0
- package/dist/components/ui/atoms/loader.d.ts.map +1 -0
- package/dist/components/ui/atoms/loader.js +332 -0
- package/dist/components/ui/atoms/markdown.d.ts +11 -0
- package/dist/components/ui/atoms/markdown.d.ts.map +1 -0
- package/dist/components/ui/atoms/markdown.js +6 -0
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/pro-badge.js +2 -2
- package/dist/components/ui/atoms/progress.js +1 -1
- package/dist/components/ui/atoms/radio-group.js +1 -1
- package/dist/components/ui/atoms/resizable.js +1 -1
- package/dist/components/ui/atoms/scroll-area.js +1 -1
- package/dist/components/ui/atoms/scroll-button.d.ts +10 -0
- package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -0
- package/dist/components/ui/atoms/scroll-button.js +33 -0
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/separator.js +1 -1
- package/dist/components/ui/atoms/sheet.js +1 -1
- package/dist/components/ui/atoms/sidebar.js +2 -2
- package/dist/components/ui/atoms/skeleton.js +1 -1
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/table.js +1 -1
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/textarea.js +1 -1
- package/dist/components/ui/atoms/toggle.js +6 -6
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +5 -5
- package/dist/components/ui/atoms/virtualized-grid.js +7 -6
- package/dist/components/ui/index.js +494 -465
- package/dist/components/ui/molecules/date-time-picker.js +1 -1
- package/dist/components/ui/molecules/index.d.ts +4 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +18 -7
- package/dist/components/ui/molecules/message.d.ts +37 -0
- package/dist/components/ui/molecules/message.d.ts.map +1 -0
- package/dist/components/ui/molecules/message.js +65 -0
- package/dist/components/ui/molecules/prompt-input.d.ts +29 -0
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -0
- package/dist/components/ui/molecules/prompt-input.js +136 -0
- package/dist/components/ui/molecules/requirement-badges.js +7 -5
- package/dist/components/ui/molecules/tool-card.js +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +3 -3
- package/dist/coq-B0L9upzn.js +6 -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/d-CBagWSwH.js +6 -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/desktop-B93p9R9O.js +6 -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/erb-ScVOXVpH.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/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH.js +6 -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/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/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -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/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/highlighted-body-B3W2YXNL-Dg7ybfUq.js +19 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/horizon-CJQ10nlf.js +4 -0
- package/dist/horizon-bright-CdkBZOMB.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-r7CUvu2m.js → index-UgeK3A8s.js} +1 -1
- package/dist/index-cd1ceFJg.js +6973 -0
- package/dist/ini-BZIuRIvJ.js +6 -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/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/just-CEK2SJ_k.js +18 -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/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-B8Egmqc5.js +8 -0
- package/dist/lean-BnVxaZxY.js +6 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/lib/utils.js +21 -3
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/liquid-CHzkx3jT.js +14 -0
- package/dist/llvm-Bk2XctFf.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/main.js +518 -489
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/markdown-CSrGIfKB.js +20177 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-CJBA24Ri.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-C9YSUwVC.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mermaid-3ZIDBTTL-Co7GHGDL.js +4 -0
- package/dist/mermaid-C3rz4dYh.js +6 -0
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +48 -46
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-EIZIZRTQ.js +6 -0
- package/dist/monokai-C1KBYcO0.js +4 -0
- package/dist/moonbit-B1TV0fG3.js +6 -0
- package/dist/move-Db4ltDq1.js +6 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-47kAzSl1.js +8 -0
- package/dist/nextflow-groovy-Drz_2V0j.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-BGCPRlV5.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/pascal-xy8pJNns.js +6 -0
- package/dist/perl-DkVrgJBg.js +16 -0
- package/dist/php-BIzsF_5x.js +18 -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/r-CSmzDPi7.js +6 -0
- package/dist/racket-B83wSAja.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/riscv-Ce8MAQLP.js +6 -0
- package/dist/ron-DCEEQypA.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-DM32Wy3O.js +22 -0
- package/dist/ruby-BeqCs27h.js +30 -0
- package/dist/rust-CLzF9zIN.js +6 -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/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/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX.js +8 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/surrealql-CQi7GQN7.js +8 -0
- package/dist/svelte-rYri41WT.js +14 -0
- package/dist/swift-DJpUqPLg.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-AHxmLTL0.js +8 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/{toolkit-card-DE-5B2dS.js → toolkit-card-Birn0MUI.js} +6 -4
- 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-DwV2Fi4L.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/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/yaml-DaO7k5B1.js +6 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +41 -35
|
@@ -1,404 +1,480 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { R as
|
|
1
|
+
import { jsx as x, jsxs as le } from "react/jsx-runtime";
|
|
2
|
+
import { R as Re, P as _e, O as Ae, a as $e } from "../../../index-By-GFSsC.js";
|
|
3
3
|
import * as l from "react";
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import "react-dom";
|
|
5
|
+
import { b as O } from "../../../index-D2LZVjSn.js";
|
|
6
|
+
import { u as V } from "../../../index-Cv867SGx.js";
|
|
7
7
|
import { SearchIcon as De } from "lucide-react";
|
|
8
|
-
import { Dialog as
|
|
9
|
-
import {
|
|
10
|
-
var
|
|
11
|
-
function
|
|
12
|
-
if (
|
|
13
|
-
var
|
|
14
|
-
if (
|
|
15
|
-
for (var
|
|
16
|
-
return
|
|
8
|
+
import { Dialog as Ne, DialogHeader as Pe, DialogTitle as Me, DialogDescription as je, DialogContent as Le } from "./dialog.js";
|
|
9
|
+
import { cn as _ } from "../../../lib/utils.js";
|
|
10
|
+
var ve = 1, Ve = 0.9, Oe = 0.8, Fe = 0.17, te = 0.1, re = 0.999, Ke = 0.9999, ze = 0.99, Te = /[\\\/_+.#"@\[\(\{&]/, qe = /[\\\/_+.#"@\[\(\{&]/g, We = /[\s-]/, be = /[\s-]/g;
|
|
11
|
+
function ae(e, t, r, i, a, o, d) {
|
|
12
|
+
if (o === t.length) return a === e.length ? ve : ze;
|
|
13
|
+
var m = `${a},${o}`;
|
|
14
|
+
if (d[m] !== void 0) return d[m];
|
|
15
|
+
for (var p = i.charAt(o), c = r.indexOf(p, a), v = 0, h, S, k, I; c >= 0; ) h = ae(e, t, r, i, c + 1, o + 1, d), h > v && (c === a ? h *= ve : Te.test(e.charAt(c - 1)) ? (h *= Oe, k = e.slice(a, c - 1).match(qe), k && a > 0 && (h *= Math.pow(re, k.length))) : We.test(e.charAt(c - 1)) ? (h *= Ve, I = e.slice(a, c - 1).match(be), I && a > 0 && (h *= Math.pow(re, I.length))) : (h *= Fe, a > 0 && (h *= Math.pow(re, c - a))), e.charAt(c) !== t.charAt(o) && (h *= Ke)), (h < te && r.charAt(c - 1) === i.charAt(o + 1) || i.charAt(o + 1) === i.charAt(o) && r.charAt(c - 1) !== i.charAt(o)) && (S = ae(e, t, r, i, c + 1, o + 2, d), S * te > h && (h = S * te)), h > v && (v = h), c = r.indexOf(p, c + 1);
|
|
16
|
+
return d[m] = v, v;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return e.toLowerCase().replace(
|
|
18
|
+
function ge(e) {
|
|
19
|
+
return e.toLowerCase().replace(be, " ");
|
|
20
20
|
}
|
|
21
|
-
function Be(e,
|
|
22
|
-
return e = r && r.length > 0 ? `${e + " " + r.join(" ")}` : e,
|
|
21
|
+
function Be(e, t, r) {
|
|
22
|
+
return e = r && r.length > 0 ? `${e + " " + r.join(" ")}` : e, ae(e, t, ge(e), ge(t), 0, 0, {});
|
|
23
23
|
}
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
var He = /* @__PURE__ */ Symbol.for("react.lazy"), W = l[" use ".trim().toString()];
|
|
25
|
+
function Ge(e) {
|
|
26
|
+
return typeof e == "object" && e !== null && "then" in e;
|
|
27
|
+
}
|
|
28
|
+
function ye(e) {
|
|
29
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === He && "_payload" in e && Ge(e._payload);
|
|
30
|
+
}
|
|
31
|
+
// @__NO_SIDE_EFFECTS__
|
|
32
|
+
function Ue(e) {
|
|
33
|
+
const t = /* @__PURE__ */ Ye(e), r = l.forwardRef((i, a) => {
|
|
34
|
+
let { children: o, ...d } = i;
|
|
35
|
+
ye(o) && typeof W == "function" && (o = W(o._payload));
|
|
36
|
+
const m = l.Children.toArray(o), p = m.find(Je);
|
|
37
|
+
if (p) {
|
|
38
|
+
const c = p.props.children, v = m.map((h) => h === p ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : h);
|
|
39
|
+
return /* @__PURE__ */ x(t, { ...d, ref: a, children: l.isValidElement(c) ? l.cloneElement(c, void 0, v) : null });
|
|
40
|
+
}
|
|
41
|
+
return /* @__PURE__ */ x(t, { ...d, ref: a, children: o });
|
|
42
|
+
});
|
|
43
|
+
return r.displayName = `${e}.Slot`, r;
|
|
44
|
+
}
|
|
45
|
+
// @__NO_SIDE_EFFECTS__
|
|
46
|
+
function Ye(e) {
|
|
47
|
+
const t = l.forwardRef((r, i) => {
|
|
48
|
+
let { children: a, ...o } = r;
|
|
49
|
+
if (ye(a) && typeof W == "function" && (a = W(a._payload)), l.isValidElement(a)) {
|
|
50
|
+
const d = Qe(a), m = Xe(o, a.props);
|
|
51
|
+
return a.type !== l.Fragment && (m.ref = i ? O(i, d) : d), l.cloneElement(a, m);
|
|
52
|
+
}
|
|
53
|
+
return l.Children.count(a) > 1 ? l.Children.only(null) : null;
|
|
54
|
+
});
|
|
55
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
56
|
+
}
|
|
57
|
+
var Ze = /* @__PURE__ */ Symbol("radix.slottable");
|
|
58
|
+
function Je(e) {
|
|
59
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ze;
|
|
60
|
+
}
|
|
61
|
+
function Xe(e, t) {
|
|
62
|
+
const r = { ...t };
|
|
63
|
+
for (const i in t) {
|
|
64
|
+
const a = e[i], o = t[i];
|
|
65
|
+
/^on[A-Z]/.test(i) ? a && o ? r[i] = (...m) => {
|
|
66
|
+
const p = o(...m);
|
|
67
|
+
return a(...m), p;
|
|
68
|
+
} : a && (r[i] = a) : i === "style" ? r[i] = { ...a, ...o } : i === "className" && (r[i] = [a, o].filter(Boolean).join(" "));
|
|
69
|
+
}
|
|
70
|
+
return { ...e, ...r };
|
|
71
|
+
}
|
|
72
|
+
function Qe(e) {
|
|
73
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
74
|
+
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
75
|
+
}
|
|
76
|
+
var et = [
|
|
77
|
+
"a",
|
|
78
|
+
"button",
|
|
79
|
+
"div",
|
|
80
|
+
"form",
|
|
81
|
+
"h2",
|
|
82
|
+
"h3",
|
|
83
|
+
"img",
|
|
84
|
+
"input",
|
|
85
|
+
"label",
|
|
86
|
+
"li",
|
|
87
|
+
"nav",
|
|
88
|
+
"ol",
|
|
89
|
+
"p",
|
|
90
|
+
"select",
|
|
91
|
+
"span",
|
|
92
|
+
"svg",
|
|
93
|
+
"ul"
|
|
94
|
+
], A = et.reduce((e, t) => {
|
|
95
|
+
const r = /* @__PURE__ */ Ue(`Primitive.${t}`), i = l.forwardRef((a, o) => {
|
|
96
|
+
const { asChild: d, ...m } = a, p = d ? r : t;
|
|
97
|
+
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ x(p, { ...m, ref: o });
|
|
98
|
+
});
|
|
99
|
+
return i.displayName = `Primitive.${t}`, { ...e, [t]: i };
|
|
100
|
+
}, {}), K = '[cmdk-group=""]', ne = '[cmdk-group-items=""]', tt = '[cmdk-group-heading=""]', xe = '[cmdk-item=""]', he = `${xe}:not([aria-disabled="true"])`, oe = "cmdk-item-select", j = "data-value", rt = (e, t, r) => Be(e, t, r), we = l.createContext(void 0), z = () => l.useContext(we), ke = l.createContext(void 0), ie = () => l.useContext(ke), Ee = l.createContext(void 0), Ce = l.forwardRef((e, t) => {
|
|
101
|
+
let r = L(() => {
|
|
102
|
+
var n, s;
|
|
103
|
+
return { search: "", value: (s = (n = e.value) != null ? n : e.defaultValue) != null ? s : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
|
|
104
|
+
}), i = L(() => /* @__PURE__ */ new Set()), a = L(() => /* @__PURE__ */ new Map()), o = L(() => /* @__PURE__ */ new Map()), d = L(() => /* @__PURE__ */ new Set()), m = Se(e), { label: p, children: c, value: v, onValueChange: h, filter: S, shouldFilter: k, loop: I, disablePointerSelection: H = !1, vimBindings: $ = !0, ...T } = e, G = V(), ue = V(), U = V(), D = l.useRef(null), y = ft();
|
|
105
|
+
N(() => {
|
|
30
106
|
if (v !== void 0) {
|
|
31
|
-
let
|
|
32
|
-
r.current.value =
|
|
107
|
+
let n = v.trim();
|
|
108
|
+
r.current.value = n, E.emit();
|
|
33
109
|
}
|
|
34
|
-
}, [v]),
|
|
35
|
-
|
|
110
|
+
}, [v]), N(() => {
|
|
111
|
+
y(6, de);
|
|
36
112
|
}, []);
|
|
37
|
-
let
|
|
38
|
-
var
|
|
39
|
-
if (!Object.is(r.current[
|
|
40
|
-
if (r.current[
|
|
41
|
-
else if (
|
|
113
|
+
let E = l.useMemo(() => ({ subscribe: (n) => (d.current.add(n), () => d.current.delete(n)), snapshot: () => r.current, setState: (n, s, f) => {
|
|
114
|
+
var u, g, b, C;
|
|
115
|
+
if (!Object.is(r.current[n], s)) {
|
|
116
|
+
if (r.current[n] = s, n === "search") X(), Z(), y(1, J);
|
|
117
|
+
else if (n === "value") {
|
|
42
118
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
43
|
-
let
|
|
44
|
-
|
|
119
|
+
let w = document.getElementById(U);
|
|
120
|
+
w ? w.focus() : (u = document.getElementById(G)) == null || u.focus();
|
|
45
121
|
}
|
|
46
|
-
if (
|
|
47
|
-
var
|
|
48
|
-
r.current.selectedItemId = (
|
|
49
|
-
}),
|
|
50
|
-
let
|
|
51
|
-
(
|
|
122
|
+
if (y(7, () => {
|
|
123
|
+
var w;
|
|
124
|
+
r.current.selectedItemId = (w = M()) == null ? void 0 : w.id, E.emit();
|
|
125
|
+
}), f || y(5, de), ((g = m.current) == null ? void 0 : g.value) !== void 0) {
|
|
126
|
+
let w = s ?? "";
|
|
127
|
+
(C = (b = m.current).onValueChange) == null || C.call(b, w);
|
|
52
128
|
return;
|
|
53
129
|
}
|
|
54
130
|
}
|
|
55
|
-
|
|
131
|
+
E.emit();
|
|
56
132
|
}
|
|
57
133
|
}, emit: () => {
|
|
58
|
-
|
|
59
|
-
} }), []),
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
134
|
+
d.current.forEach((n) => n());
|
|
135
|
+
} }), []), Y = l.useMemo(() => ({ value: (n, s, f) => {
|
|
136
|
+
var u;
|
|
137
|
+
s !== ((u = o.current.get(n)) == null ? void 0 : u.value) && (o.current.set(n, { value: s, keywords: f }), r.current.filtered.items.set(n, ce(s, f)), y(2, () => {
|
|
138
|
+
Z(), E.emit();
|
|
63
139
|
}));
|
|
64
|
-
}, item: (
|
|
65
|
-
|
|
140
|
+
}, item: (n, s) => (i.current.add(n), s && (a.current.has(s) ? a.current.get(s).add(n) : a.current.set(s, /* @__PURE__ */ new Set([n]))), y(3, () => {
|
|
141
|
+
X(), Z(), r.current.value || J(), E.emit();
|
|
66
142
|
}), () => {
|
|
67
|
-
|
|
68
|
-
let
|
|
69
|
-
|
|
70
|
-
|
|
143
|
+
o.current.delete(n), i.current.delete(n), r.current.filtered.items.delete(n);
|
|
144
|
+
let f = M();
|
|
145
|
+
y(4, () => {
|
|
146
|
+
X(), f?.getAttribute("id") === n && J(), E.emit();
|
|
71
147
|
});
|
|
72
|
-
}), group: (
|
|
73
|
-
|
|
74
|
-
}), filter: () =>
|
|
75
|
-
function
|
|
76
|
-
var
|
|
77
|
-
let
|
|
78
|
-
return
|
|
148
|
+
}), group: (n) => (a.current.has(n) || a.current.set(n, /* @__PURE__ */ new Set()), () => {
|
|
149
|
+
o.current.delete(n), a.current.delete(n);
|
|
150
|
+
}), filter: () => m.current.shouldFilter, label: p || e["aria-label"], getDisablePointerSelection: () => m.current.disablePointerSelection, listId: G, inputId: U, labelId: ue, listInnerRef: D }), []);
|
|
151
|
+
function ce(n, s) {
|
|
152
|
+
var f, u;
|
|
153
|
+
let g = (u = (f = m.current) == null ? void 0 : f.filter) != null ? u : rt;
|
|
154
|
+
return n ? g(n, r.current.search, s) : 0;
|
|
79
155
|
}
|
|
80
|
-
function
|
|
81
|
-
if (!r.current.search ||
|
|
82
|
-
let
|
|
83
|
-
r.current.filtered.groups.forEach((
|
|
84
|
-
let
|
|
85
|
-
|
|
86
|
-
let
|
|
87
|
-
|
|
88
|
-
}),
|
|
156
|
+
function Z() {
|
|
157
|
+
if (!r.current.search || m.current.shouldFilter === !1) return;
|
|
158
|
+
let n = r.current.filtered.items, s = [];
|
|
159
|
+
r.current.filtered.groups.forEach((u) => {
|
|
160
|
+
let g = a.current.get(u), b = 0;
|
|
161
|
+
g.forEach((C) => {
|
|
162
|
+
let w = n.get(C);
|
|
163
|
+
b = Math.max(w, b);
|
|
164
|
+
}), s.push([u, b]);
|
|
89
165
|
});
|
|
90
|
-
let
|
|
91
|
-
|
|
92
|
-
var
|
|
93
|
-
let
|
|
94
|
-
return ((
|
|
95
|
-
}).forEach((
|
|
96
|
-
let
|
|
97
|
-
|
|
98
|
-
}),
|
|
99
|
-
var
|
|
100
|
-
let
|
|
101
|
-
|
|
166
|
+
let f = D.current;
|
|
167
|
+
F().sort((u, g) => {
|
|
168
|
+
var b, C;
|
|
169
|
+
let w = u.getAttribute("id"), q = g.getAttribute("id");
|
|
170
|
+
return ((b = n.get(q)) != null ? b : 0) - ((C = n.get(w)) != null ? C : 0);
|
|
171
|
+
}).forEach((u) => {
|
|
172
|
+
let g = u.closest(ne);
|
|
173
|
+
g ? g.appendChild(u.parentElement === g ? u : u.closest(`${ne} > *`)) : f.appendChild(u.parentElement === f ? u : u.closest(`${ne} > *`));
|
|
174
|
+
}), s.sort((u, g) => g[1] - u[1]).forEach((u) => {
|
|
175
|
+
var g;
|
|
176
|
+
let b = (g = D.current) == null ? void 0 : g.querySelector(`${K}[${j}="${encodeURIComponent(u[0])}"]`);
|
|
177
|
+
b?.parentElement.appendChild(b);
|
|
102
178
|
});
|
|
103
179
|
}
|
|
104
|
-
function
|
|
105
|
-
let
|
|
106
|
-
|
|
180
|
+
function J() {
|
|
181
|
+
let n = F().find((f) => f.getAttribute("aria-disabled") !== "true"), s = n?.getAttribute(j);
|
|
182
|
+
E.setState("value", s || void 0);
|
|
107
183
|
}
|
|
108
|
-
function
|
|
109
|
-
var
|
|
110
|
-
if (!r.current.search ||
|
|
111
|
-
r.current.filtered.count =
|
|
184
|
+
function X() {
|
|
185
|
+
var n, s, f, u;
|
|
186
|
+
if (!r.current.search || m.current.shouldFilter === !1) {
|
|
187
|
+
r.current.filtered.count = i.current.size;
|
|
112
188
|
return;
|
|
113
189
|
}
|
|
114
190
|
r.current.filtered.groups = /* @__PURE__ */ new Set();
|
|
115
|
-
let
|
|
116
|
-
for (let
|
|
117
|
-
let
|
|
118
|
-
r.current.filtered.items.set(
|
|
191
|
+
let g = 0;
|
|
192
|
+
for (let b of i.current) {
|
|
193
|
+
let C = (s = (n = o.current.get(b)) == null ? void 0 : n.value) != null ? s : "", w = (u = (f = o.current.get(b)) == null ? void 0 : f.keywords) != null ? u : [], q = ce(C, w);
|
|
194
|
+
r.current.filtered.items.set(b, q), q > 0 && g++;
|
|
119
195
|
}
|
|
120
|
-
for (let [
|
|
121
|
-
r.current.filtered.groups.add(
|
|
196
|
+
for (let [b, C] of a.current) for (let w of C) if (r.current.filtered.items.get(w) > 0) {
|
|
197
|
+
r.current.filtered.groups.add(b);
|
|
122
198
|
break;
|
|
123
199
|
}
|
|
124
|
-
r.current.filtered.count =
|
|
200
|
+
r.current.filtered.count = g;
|
|
125
201
|
}
|
|
126
202
|
function de() {
|
|
127
|
-
var
|
|
128
|
-
let
|
|
129
|
-
|
|
203
|
+
var n, s, f;
|
|
204
|
+
let u = M();
|
|
205
|
+
u && (((n = u.parentElement) == null ? void 0 : n.firstChild) === u && ((f = (s = u.closest(K)) == null ? void 0 : s.querySelector(tt)) == null || f.scrollIntoView({ block: "nearest" })), u.scrollIntoView({ block: "nearest" }));
|
|
130
206
|
}
|
|
131
|
-
function
|
|
132
|
-
var
|
|
133
|
-
return (
|
|
207
|
+
function M() {
|
|
208
|
+
var n;
|
|
209
|
+
return (n = D.current) == null ? void 0 : n.querySelector(`${xe}[aria-selected="true"]`);
|
|
134
210
|
}
|
|
135
|
-
function
|
|
136
|
-
var
|
|
137
|
-
return Array.from(((
|
|
211
|
+
function F() {
|
|
212
|
+
var n;
|
|
213
|
+
return Array.from(((n = D.current) == null ? void 0 : n.querySelectorAll(he)) || []);
|
|
138
214
|
}
|
|
139
|
-
function Q(
|
|
140
|
-
let
|
|
141
|
-
|
|
215
|
+
function Q(n) {
|
|
216
|
+
let s = F()[n];
|
|
217
|
+
s && E.setState("value", s.getAttribute(j));
|
|
142
218
|
}
|
|
143
|
-
function
|
|
144
|
-
var
|
|
145
|
-
let
|
|
146
|
-
(
|
|
219
|
+
function ee(n) {
|
|
220
|
+
var s;
|
|
221
|
+
let f = M(), u = F(), g = u.findIndex((C) => C === f), b = u[g + n];
|
|
222
|
+
(s = m.current) != null && s.loop && (b = g + n < 0 ? u[u.length - 1] : g + n === u.length ? u[0] : u[g + n]), b && E.setState("value", b.getAttribute(j));
|
|
147
223
|
}
|
|
148
|
-
function
|
|
149
|
-
let
|
|
150
|
-
for (;
|
|
151
|
-
|
|
224
|
+
function se(n) {
|
|
225
|
+
let s = M(), f = s?.closest(K), u;
|
|
226
|
+
for (; f && !u; ) f = n > 0 ? st(f, K) : mt(f, K), u = f?.querySelector(he);
|
|
227
|
+
u ? E.setState("value", u.getAttribute(j)) : ee(n);
|
|
152
228
|
}
|
|
153
|
-
let
|
|
154
|
-
|
|
155
|
-
},
|
|
156
|
-
|
|
229
|
+
let me = () => Q(F().length - 1), fe = (n) => {
|
|
230
|
+
n.preventDefault(), n.metaKey ? me() : n.altKey ? se(1) : ee(1);
|
|
231
|
+
}, pe = (n) => {
|
|
232
|
+
n.preventDefault(), n.metaKey ? Q(0) : n.altKey ? se(-1) : ee(-1);
|
|
157
233
|
};
|
|
158
|
-
return l.createElement(A.div, { ref:
|
|
159
|
-
var
|
|
160
|
-
(
|
|
161
|
-
let
|
|
162
|
-
if (!(
|
|
234
|
+
return l.createElement(A.div, { ref: t, tabIndex: -1, ...T, "cmdk-root": "", onKeyDown: (n) => {
|
|
235
|
+
var s;
|
|
236
|
+
(s = T.onKeyDown) == null || s.call(T, n);
|
|
237
|
+
let f = n.nativeEvent.isComposing || n.keyCode === 229;
|
|
238
|
+
if (!(n.defaultPrevented || f)) switch (n.key) {
|
|
163
239
|
case "n":
|
|
164
240
|
case "j": {
|
|
165
|
-
|
|
241
|
+
$ && n.ctrlKey && fe(n);
|
|
166
242
|
break;
|
|
167
243
|
}
|
|
168
244
|
case "ArrowDown": {
|
|
169
|
-
|
|
245
|
+
fe(n);
|
|
170
246
|
break;
|
|
171
247
|
}
|
|
172
248
|
case "p":
|
|
173
249
|
case "k": {
|
|
174
|
-
|
|
250
|
+
$ && n.ctrlKey && pe(n);
|
|
175
251
|
break;
|
|
176
252
|
}
|
|
177
253
|
case "ArrowUp": {
|
|
178
|
-
|
|
254
|
+
pe(n);
|
|
179
255
|
break;
|
|
180
256
|
}
|
|
181
257
|
case "Home": {
|
|
182
|
-
|
|
258
|
+
n.preventDefault(), Q(0);
|
|
183
259
|
break;
|
|
184
260
|
}
|
|
185
261
|
case "End": {
|
|
186
|
-
|
|
262
|
+
n.preventDefault(), me();
|
|
187
263
|
break;
|
|
188
264
|
}
|
|
189
265
|
case "Enter": {
|
|
190
|
-
|
|
191
|
-
let
|
|
192
|
-
if (
|
|
193
|
-
let
|
|
194
|
-
|
|
266
|
+
n.preventDefault();
|
|
267
|
+
let u = M();
|
|
268
|
+
if (u) {
|
|
269
|
+
let g = new Event(oe);
|
|
270
|
+
u.dispatchEvent(g);
|
|
195
271
|
}
|
|
196
272
|
}
|
|
197
273
|
}
|
|
198
|
-
} }, l.createElement("label", { "cmdk-label": "", htmlFor:
|
|
199
|
-
}),
|
|
200
|
-
var r,
|
|
201
|
-
let
|
|
202
|
-
|
|
203
|
-
if (!
|
|
204
|
-
}, [
|
|
205
|
-
let v =
|
|
274
|
+
} }, l.createElement("label", { "cmdk-label": "", htmlFor: Y.inputId, id: Y.labelId, style: vt }, p), B(e, (n) => l.createElement(ke.Provider, { value: E }, l.createElement(we.Provider, { value: Y }, n))));
|
|
275
|
+
}), nt = l.forwardRef((e, t) => {
|
|
276
|
+
var r, i;
|
|
277
|
+
let a = V(), o = l.useRef(null), d = l.useContext(Ee), m = z(), p = Se(e), c = (i = (r = p.current) == null ? void 0 : r.forceMount) != null ? i : d?.forceMount;
|
|
278
|
+
N(() => {
|
|
279
|
+
if (!c) return m.item(a, d?.id);
|
|
280
|
+
}, [c]);
|
|
281
|
+
let v = Ie(a, o, [e.value, e.children, o], e.keywords), h = ie(), S = R((y) => y.value && y.value === v.current), k = R((y) => c || m.filter() === !1 ? !0 : y.search ? y.filtered.items.get(a) > 0 : !0);
|
|
206
282
|
l.useEffect(() => {
|
|
207
|
-
let
|
|
208
|
-
if (!(!
|
|
209
|
-
}, [
|
|
283
|
+
let y = o.current;
|
|
284
|
+
if (!(!y || e.disabled)) return y.addEventListener(oe, I), () => y.removeEventListener(oe, I);
|
|
285
|
+
}, [k, e.onSelect, e.disabled]);
|
|
210
286
|
function I() {
|
|
211
|
-
var
|
|
212
|
-
H(), (
|
|
287
|
+
var y, E;
|
|
288
|
+
H(), (E = (y = p.current).onSelect) == null || E.call(y, v.current);
|
|
213
289
|
}
|
|
214
290
|
function H() {
|
|
215
|
-
|
|
291
|
+
h.setState("value", v.current, !0);
|
|
216
292
|
}
|
|
217
|
-
if (!
|
|
218
|
-
let { disabled:
|
|
219
|
-
return l.createElement(A.div, { ref:
|
|
220
|
-
}),
|
|
221
|
-
let { heading: r, children:
|
|
222
|
-
|
|
223
|
-
let S = l.useMemo(() => ({ id:
|
|
224
|
-
return l.createElement(A.div, { ref:
|
|
225
|
-
}),
|
|
226
|
-
let { alwaysRender: r, ...
|
|
227
|
-
return !r && !
|
|
228
|
-
}),
|
|
229
|
-
let { onValueChange: r, ...
|
|
293
|
+
if (!k) return null;
|
|
294
|
+
let { disabled: $, value: T, onSelect: G, forceMount: ue, keywords: U, ...D } = e;
|
|
295
|
+
return l.createElement(A.div, { ref: O(o, t), ...D, id: a, "cmdk-item": "", role: "option", "aria-disabled": !!$, "aria-selected": !!S, "data-disabled": !!$, "data-selected": !!S, onPointerMove: $ || m.getDisablePointerSelection() ? void 0 : H, onClick: $ ? void 0 : I }, e.children);
|
|
296
|
+
}), lt = l.forwardRef((e, t) => {
|
|
297
|
+
let { heading: r, children: i, forceMount: a, ...o } = e, d = V(), m = l.useRef(null), p = l.useRef(null), c = V(), v = z(), h = R((k) => a || v.filter() === !1 ? !0 : k.search ? k.filtered.groups.has(d) : !0);
|
|
298
|
+
N(() => v.group(d), []), Ie(d, m, [e.value, e.heading, p]);
|
|
299
|
+
let S = l.useMemo(() => ({ id: d, forceMount: a }), [a]);
|
|
300
|
+
return l.createElement(A.div, { ref: O(m, t), ...o, "cmdk-group": "", role: "presentation", hidden: h ? void 0 : !0 }, r && l.createElement("div", { ref: p, "cmdk-group-heading": "", "aria-hidden": !0, id: c }, r), B(e, (k) => l.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": r ? c : void 0 }, l.createElement(Ee.Provider, { value: S }, k))));
|
|
301
|
+
}), at = l.forwardRef((e, t) => {
|
|
302
|
+
let { alwaysRender: r, ...i } = e, a = l.useRef(null), o = R((d) => !d.search);
|
|
303
|
+
return !r && !o ? null : l.createElement(A.div, { ref: O(a, t), ...i, "cmdk-separator": "", role: "separator" });
|
|
304
|
+
}), ot = l.forwardRef((e, t) => {
|
|
305
|
+
let { onValueChange: r, ...i } = e, a = e.value != null, o = ie(), d = R((c) => c.search), m = R((c) => c.selectedItemId), p = z();
|
|
230
306
|
return l.useEffect(() => {
|
|
231
|
-
e.value != null &&
|
|
232
|
-
}, [e.value]), l.createElement(A.input, { ref:
|
|
233
|
-
|
|
307
|
+
e.value != null && o.setState("search", e.value);
|
|
308
|
+
}, [e.value]), l.createElement(A.input, { ref: t, ...i, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": p.listId, "aria-labelledby": p.labelId, "aria-activedescendant": m, id: p.inputId, type: "text", value: a ? e.value : d, onChange: (c) => {
|
|
309
|
+
a || o.setState("search", c.target.value), r?.(c.target.value);
|
|
234
310
|
} });
|
|
235
|
-
}),
|
|
236
|
-
let { children: r, label:
|
|
311
|
+
}), it = l.forwardRef((e, t) => {
|
|
312
|
+
let { children: r, label: i = "Suggestions", ...a } = e, o = l.useRef(null), d = l.useRef(null), m = R((c) => c.selectedItemId), p = z();
|
|
237
313
|
return l.useEffect(() => {
|
|
238
|
-
if (
|
|
239
|
-
let
|
|
240
|
-
|
|
241
|
-
let
|
|
242
|
-
v.style.setProperty("--cmdk-list-height",
|
|
314
|
+
if (d.current && o.current) {
|
|
315
|
+
let c = d.current, v = o.current, h, S = new ResizeObserver(() => {
|
|
316
|
+
h = requestAnimationFrame(() => {
|
|
317
|
+
let k = c.offsetHeight;
|
|
318
|
+
v.style.setProperty("--cmdk-list-height", k.toFixed(1) + "px");
|
|
243
319
|
});
|
|
244
320
|
});
|
|
245
|
-
return S.observe(
|
|
246
|
-
cancelAnimationFrame(
|
|
321
|
+
return S.observe(c), () => {
|
|
322
|
+
cancelAnimationFrame(h), S.unobserve(c);
|
|
247
323
|
};
|
|
248
324
|
}
|
|
249
|
-
}, []), l.createElement(A.div, { ref:
|
|
250
|
-
}),
|
|
251
|
-
let { open: r, onOpenChange:
|
|
252
|
-
return l.createElement(
|
|
253
|
-
}),
|
|
254
|
-
let { progress: r, children:
|
|
255
|
-
return l.createElement(A.div, { ref:
|
|
256
|
-
}),
|
|
257
|
-
function
|
|
325
|
+
}, []), l.createElement(A.div, { ref: O(o, t), ...a, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": m, "aria-label": i, id: p.listId }, B(e, (c) => l.createElement("div", { ref: O(d, p.listInnerRef), "cmdk-list-sizer": "" }, c)));
|
|
326
|
+
}), ut = l.forwardRef((e, t) => {
|
|
327
|
+
let { open: r, onOpenChange: i, overlayClassName: a, contentClassName: o, container: d, ...m } = e;
|
|
328
|
+
return l.createElement(Re, { open: r, onOpenChange: i }, l.createElement(_e, { container: d }, l.createElement(Ae, { "cmdk-overlay": "", className: a }), l.createElement($e, { "aria-label": e.label, "cmdk-dialog": "", className: o }, l.createElement(Ce, { ref: t, ...m }))));
|
|
329
|
+
}), ct = l.forwardRef((e, t) => R((r) => r.filtered.count === 0) ? l.createElement(A.div, { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) : null), dt = l.forwardRef((e, t) => {
|
|
330
|
+
let { progress: r, children: i, label: a = "Loading...", ...o } = e;
|
|
331
|
+
return l.createElement(A.div, { ref: t, ...o, "cmdk-loading": "", role: "progressbar", "aria-valuenow": r, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": a }, B(e, (d) => l.createElement("div", { "aria-hidden": !0 }, d)));
|
|
332
|
+
}), P = Object.assign(Ce, { List: it, Item: nt, Input: ot, Group: lt, Separator: at, Dialog: ut, Empty: ct, Loading: dt });
|
|
333
|
+
function st(e, t) {
|
|
258
334
|
let r = e.nextElementSibling;
|
|
259
335
|
for (; r; ) {
|
|
260
|
-
if (r.matches(
|
|
336
|
+
if (r.matches(t)) return r;
|
|
261
337
|
r = r.nextElementSibling;
|
|
262
338
|
}
|
|
263
339
|
}
|
|
264
|
-
function
|
|
340
|
+
function mt(e, t) {
|
|
265
341
|
let r = e.previousElementSibling;
|
|
266
342
|
for (; r; ) {
|
|
267
|
-
if (r.matches(
|
|
343
|
+
if (r.matches(t)) return r;
|
|
268
344
|
r = r.previousElementSibling;
|
|
269
345
|
}
|
|
270
346
|
}
|
|
271
|
-
function
|
|
272
|
-
let
|
|
273
|
-
return
|
|
274
|
-
|
|
275
|
-
}),
|
|
347
|
+
function Se(e) {
|
|
348
|
+
let t = l.useRef(e);
|
|
349
|
+
return N(() => {
|
|
350
|
+
t.current = e;
|
|
351
|
+
}), t;
|
|
276
352
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
let
|
|
280
|
-
return
|
|
353
|
+
var N = typeof window > "u" ? l.useEffect : l.useLayoutEffect;
|
|
354
|
+
function L(e) {
|
|
355
|
+
let t = l.useRef();
|
|
356
|
+
return t.current === void 0 && (t.current = e()), t;
|
|
281
357
|
}
|
|
282
358
|
function R(e) {
|
|
283
|
-
let
|
|
284
|
-
return l.useSyncExternalStore(
|
|
359
|
+
let t = ie(), r = () => e(t.snapshot());
|
|
360
|
+
return l.useSyncExternalStore(t.subscribe, r, r);
|
|
285
361
|
}
|
|
286
|
-
function
|
|
287
|
-
let
|
|
288
|
-
return
|
|
289
|
-
var
|
|
290
|
-
let
|
|
291
|
-
var
|
|
362
|
+
function Ie(e, t, r, i = []) {
|
|
363
|
+
let a = l.useRef(), o = z();
|
|
364
|
+
return N(() => {
|
|
365
|
+
var d;
|
|
366
|
+
let m = (() => {
|
|
367
|
+
var c;
|
|
292
368
|
for (let v of r) {
|
|
293
369
|
if (typeof v == "string") return v.trim();
|
|
294
|
-
if (typeof v == "object" && "current" in v) return v.current ? (
|
|
370
|
+
if (typeof v == "object" && "current" in v) return v.current ? (c = v.current.textContent) == null ? void 0 : c.trim() : a.current;
|
|
295
371
|
}
|
|
296
|
-
})(),
|
|
297
|
-
|
|
298
|
-
}),
|
|
372
|
+
})(), p = i.map((c) => c.trim());
|
|
373
|
+
o.value(e, m, p), (d = t.current) == null || d.setAttribute(j, m), a.current = m;
|
|
374
|
+
}), a;
|
|
299
375
|
}
|
|
300
|
-
var
|
|
301
|
-
let [e,
|
|
302
|
-
return
|
|
303
|
-
r.current.forEach((
|
|
304
|
-
}, [e]), (
|
|
305
|
-
r.current.set(
|
|
376
|
+
var ft = () => {
|
|
377
|
+
let [e, t] = l.useState(), r = L(() => /* @__PURE__ */ new Map());
|
|
378
|
+
return N(() => {
|
|
379
|
+
r.current.forEach((i) => i()), r.current = /* @__PURE__ */ new Map();
|
|
380
|
+
}, [e]), (i, a) => {
|
|
381
|
+
r.current.set(i, a), t({});
|
|
306
382
|
};
|
|
307
383
|
};
|
|
308
|
-
function
|
|
309
|
-
let
|
|
310
|
-
return typeof
|
|
384
|
+
function pt(e) {
|
|
385
|
+
let t = e.type;
|
|
386
|
+
return typeof t == "function" ? t(e.props) : "render" in t ? t.render(e.props) : e;
|
|
311
387
|
}
|
|
312
|
-
function
|
|
313
|
-
return e && l.isValidElement(
|
|
388
|
+
function B({ asChild: e, children: t }, r) {
|
|
389
|
+
return e && l.isValidElement(t) ? l.cloneElement(pt(t), { ref: t.ref }, r(t.props.children)) : r(t);
|
|
314
390
|
}
|
|
315
|
-
var
|
|
316
|
-
function
|
|
391
|
+
var vt = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
|
|
392
|
+
function gt({
|
|
317
393
|
className: e,
|
|
318
|
-
...
|
|
394
|
+
...t
|
|
319
395
|
}) {
|
|
320
|
-
return /* @__PURE__ */
|
|
321
|
-
|
|
396
|
+
return /* @__PURE__ */ x(
|
|
397
|
+
P,
|
|
322
398
|
{
|
|
323
|
-
className:
|
|
399
|
+
className: _(
|
|
324
400
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
325
401
|
e
|
|
326
402
|
),
|
|
327
403
|
"data-slot": "command",
|
|
328
|
-
...
|
|
404
|
+
...t
|
|
329
405
|
}
|
|
330
406
|
);
|
|
331
407
|
}
|
|
332
|
-
function
|
|
408
|
+
function St({
|
|
333
409
|
title: e = "Command Palette",
|
|
334
|
-
description:
|
|
410
|
+
description: t = "Search for a command to run...",
|
|
335
411
|
children: r,
|
|
336
|
-
className:
|
|
337
|
-
showCloseButton:
|
|
338
|
-
...
|
|
412
|
+
className: i,
|
|
413
|
+
showCloseButton: a = !0,
|
|
414
|
+
...o
|
|
339
415
|
}) {
|
|
340
|
-
return /* @__PURE__ */
|
|
341
|
-
/* @__PURE__ */
|
|
342
|
-
/* @__PURE__ */
|
|
343
|
-
/* @__PURE__ */
|
|
416
|
+
return /* @__PURE__ */ le(Ne, { ...o, children: [
|
|
417
|
+
/* @__PURE__ */ le(Pe, { className: "sr-only", children: [
|
|
418
|
+
/* @__PURE__ */ x(Me, { children: e }),
|
|
419
|
+
/* @__PURE__ */ x(je, { children: t })
|
|
344
420
|
] }),
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
|
|
421
|
+
/* @__PURE__ */ x(
|
|
422
|
+
Le,
|
|
347
423
|
{
|
|
348
|
-
className:
|
|
349
|
-
showCloseButton:
|
|
350
|
-
children: /* @__PURE__ */
|
|
424
|
+
className: _("overflow-hidden p-0", i),
|
|
425
|
+
showCloseButton: a,
|
|
426
|
+
children: /* @__PURE__ */ x(gt, { className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: r })
|
|
351
427
|
}
|
|
352
428
|
)
|
|
353
429
|
] });
|
|
354
430
|
}
|
|
355
|
-
function
|
|
431
|
+
function It({
|
|
356
432
|
className: e,
|
|
357
|
-
...
|
|
433
|
+
...t
|
|
358
434
|
}) {
|
|
359
|
-
return /* @__PURE__ */
|
|
435
|
+
return /* @__PURE__ */ le(
|
|
360
436
|
"div",
|
|
361
437
|
{
|
|
362
438
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
363
439
|
"data-slot": "command-input-wrapper",
|
|
364
440
|
children: [
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
|
|
441
|
+
/* @__PURE__ */ x(De, { className: "size-4 shrink-0 opacity-50" }),
|
|
442
|
+
/* @__PURE__ */ x(
|
|
443
|
+
P.Input,
|
|
368
444
|
{
|
|
369
|
-
className:
|
|
445
|
+
className: _(
|
|
370
446
|
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
371
447
|
e
|
|
372
448
|
),
|
|
373
449
|
"data-slot": "command-input",
|
|
374
|
-
...
|
|
450
|
+
...t
|
|
375
451
|
}
|
|
376
452
|
)
|
|
377
453
|
]
|
|
378
454
|
}
|
|
379
455
|
);
|
|
380
456
|
}
|
|
381
|
-
function
|
|
457
|
+
function Rt({
|
|
382
458
|
className: e,
|
|
383
|
-
...
|
|
459
|
+
...t
|
|
384
460
|
}) {
|
|
385
|
-
return /* @__PURE__ */
|
|
386
|
-
|
|
461
|
+
return /* @__PURE__ */ x(
|
|
462
|
+
P.List,
|
|
387
463
|
{
|
|
388
|
-
className:
|
|
464
|
+
className: _(
|
|
389
465
|
"max-h-[300px] scroll-py-1 overflow-y-auto overflow-x-hidden",
|
|
390
466
|
e
|
|
391
467
|
),
|
|
392
468
|
"data-slot": "command-list",
|
|
393
|
-
...
|
|
469
|
+
...t
|
|
394
470
|
}
|
|
395
471
|
);
|
|
396
472
|
}
|
|
397
|
-
function
|
|
473
|
+
function _t({
|
|
398
474
|
...e
|
|
399
475
|
}) {
|
|
400
|
-
return /* @__PURE__ */
|
|
401
|
-
|
|
476
|
+
return /* @__PURE__ */ x(
|
|
477
|
+
P.Empty,
|
|
402
478
|
{
|
|
403
479
|
className: "py-6 text-center text-sm",
|
|
404
480
|
"data-slot": "command-empty",
|
|
@@ -406,75 +482,75 @@ function ht({
|
|
|
406
482
|
}
|
|
407
483
|
);
|
|
408
484
|
}
|
|
409
|
-
function
|
|
485
|
+
function At({
|
|
410
486
|
className: e,
|
|
411
|
-
...
|
|
487
|
+
...t
|
|
412
488
|
}) {
|
|
413
|
-
return /* @__PURE__ */
|
|
414
|
-
|
|
489
|
+
return /* @__PURE__ */ x(
|
|
490
|
+
P.Group,
|
|
415
491
|
{
|
|
416
|
-
className:
|
|
492
|
+
className: _(
|
|
417
493
|
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs",
|
|
418
494
|
e
|
|
419
495
|
),
|
|
420
496
|
"data-slot": "command-group",
|
|
421
|
-
...
|
|
497
|
+
...t
|
|
422
498
|
}
|
|
423
499
|
);
|
|
424
500
|
}
|
|
425
|
-
function
|
|
501
|
+
function $t({
|
|
426
502
|
className: e,
|
|
427
|
-
...
|
|
503
|
+
...t
|
|
428
504
|
}) {
|
|
429
|
-
return /* @__PURE__ */
|
|
430
|
-
|
|
505
|
+
return /* @__PURE__ */ x(
|
|
506
|
+
P.Separator,
|
|
431
507
|
{
|
|
432
|
-
className:
|
|
508
|
+
className: _("-mx-1 h-px bg-border", e),
|
|
433
509
|
"data-slot": "command-separator",
|
|
434
|
-
...
|
|
510
|
+
...t
|
|
435
511
|
}
|
|
436
512
|
);
|
|
437
513
|
}
|
|
438
|
-
function
|
|
514
|
+
function Dt({
|
|
439
515
|
className: e,
|
|
440
|
-
...
|
|
516
|
+
...t
|
|
441
517
|
}) {
|
|
442
|
-
return /* @__PURE__ */
|
|
443
|
-
|
|
518
|
+
return /* @__PURE__ */ x(
|
|
519
|
+
P.Item,
|
|
444
520
|
{
|
|
445
|
-
className:
|
|
521
|
+
className: _(
|
|
446
522
|
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
447
523
|
e
|
|
448
524
|
),
|
|
449
525
|
"data-slot": "command-item",
|
|
450
|
-
...
|
|
526
|
+
...t
|
|
451
527
|
}
|
|
452
528
|
);
|
|
453
529
|
}
|
|
454
|
-
function
|
|
530
|
+
function Nt({
|
|
455
531
|
className: e,
|
|
456
|
-
...
|
|
532
|
+
...t
|
|
457
533
|
}) {
|
|
458
|
-
return /* @__PURE__ */
|
|
534
|
+
return /* @__PURE__ */ x(
|
|
459
535
|
"span",
|
|
460
536
|
{
|
|
461
|
-
className:
|
|
537
|
+
className: _(
|
|
462
538
|
"ml-auto text-muted-foreground text-xs tracking-widest",
|
|
463
539
|
e
|
|
464
540
|
),
|
|
465
541
|
"data-slot": "command-shortcut",
|
|
466
|
-
...
|
|
542
|
+
...t
|
|
467
543
|
}
|
|
468
544
|
);
|
|
469
545
|
}
|
|
470
546
|
export {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
547
|
+
gt as Command,
|
|
548
|
+
St as CommandDialog,
|
|
549
|
+
_t as CommandEmpty,
|
|
550
|
+
At as CommandGroup,
|
|
551
|
+
It as CommandInput,
|
|
552
|
+
Dt as CommandItem,
|
|
553
|
+
Rt as CommandList,
|
|
554
|
+
$t as CommandSeparator,
|
|
555
|
+
Nt as CommandShortcut
|
|
480
556
|
};
|