@alivault/pico 0.1.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/.output/nitro.json +17 -0
- package/.output/public/apple-touch-icon.png +0 -0
- package/.output/public/assets/abap-smLpETzL.js +1 -0
- package/.output/public/assets/actionscript-3-o-aRvjY5.js +1 -0
- package/.output/public/assets/ada-D5RRX1i4.js +1 -0
- package/.output/public/assets/andromeeda-N4z3YzmR.js +1 -0
- package/.output/public/assets/angular-html-BZNntD0J.js +1 -0
- package/.output/public/assets/angular-ts-SQQMYL2C.js +1 -0
- package/.output/public/assets/apache-DttKlSqg.js +1 -0
- package/.output/public/assets/apex-DL7j-a2n.js +1 -0
- package/.output/public/assets/apl-D5V6uPDr.js +1 -0
- package/.output/public/assets/applescript-DCbL_2FX.js +1 -0
- package/.output/public/assets/ara-DqheWJCe.js +1 -0
- package/.output/public/assets/asciidoc-BH2sf2K4.js +1 -0
- package/.output/public/assets/asm-rfjOMz3U.js +1 -0
- package/.output/public/assets/astro-DeXKSaFP.js +1 -0
- package/.output/public/assets/aurora-x-CND-FqEb.js +1 -0
- package/.output/public/assets/awk-CMV5n9Z7.js +1 -0
- package/.output/public/assets/ayu-dark-on7xzq_B.js +1 -0
- package/.output/public/assets/ayu-light-DnGeGGc2.js +1 -0
- package/.output/public/assets/ayu-mirage-DG3LlYC_.js +1 -0
- package/.output/public/assets/ballerina-BjMqJjlr.js +1 -0
- package/.output/public/assets/bat-BaVbo_qw.js +1 -0
- package/.output/public/assets/beancount-DBt5Mbc_.js +1 -0
- package/.output/public/assets/berry-Cyjuxiss.js +1 -0
- package/.output/public/assets/bibtex-BV_0nsPq.js +1 -0
- package/.output/public/assets/bicep-C2gEwu4J.js +1 -0
- package/.output/public/assets/bird2-BRyaEJd0.js +1 -0
- package/.output/public/assets/blade-Bu5re0Vg.js +1 -0
- package/.output/public/assets/bsl-B1qbqNES.js +1 -0
- package/.output/public/assets/c-Nc9zJT78.js +1 -0
- package/.output/public/assets/c3-DTTbp5N2.js +1 -0
- package/.output/public/assets/cadence-CPz83cmI.js +1 -0
- package/.output/public/assets/cairo-BDj8wWhy.js +1 -0
- package/.output/public/assets/catppuccin-frappe-Dr22sraq.js +1 -0
- package/.output/public/assets/catppuccin-latte-C57EeX8c.js +1 -0
- package/.output/public/assets/catppuccin-macchiato-CpheI4uD.js +1 -0
- package/.output/public/assets/catppuccin-mocha-D8Lmdks_.js +1 -0
- package/.output/public/assets/clarity-CFJ2Yc3q.js +1 -0
- package/.output/public/assets/clojure-6R01QgJC.js +1 -0
- package/.output/public/assets/cmake-D5rSbMir.js +1 -0
- package/.output/public/assets/cobol-nvZDS9LT.js +1 -0
- package/.output/public/assets/codeowners-_3A-ClkN.js +1 -0
- package/.output/public/assets/codeql-DlIhJTR7.js +1 -0
- package/.output/public/assets/coffee-BKLOTq4e.js +1 -0
- package/.output/public/assets/common-lisp-BvQzz173.js +1 -0
- package/.output/public/assets/coq-DTNXReIC.js +1 -0
- package/.output/public/assets/cpp-D6g1DVNt.js +1 -0
- package/.output/public/assets/crystal-DfoZI57w.js +1 -0
- package/.output/public/assets/csharp-BDKQY1K9.js +1 -0
- package/.output/public/assets/css-DRmnABqB.js +1 -0
- package/.output/public/assets/csv-DNUpVBxl.js +1 -0
- package/.output/public/assets/cue-DDdBc2s3.js +1 -0
- package/.output/public/assets/cypher-CguaznO2.js +1 -0
- package/.output/public/assets/d-CHcoyjv3.js +1 -0
- package/.output/public/assets/dark-plus-CqeW_0kH.js +1 -0
- package/.output/public/assets/dart-RM3aRphk.js +1 -0
- package/.output/public/assets/dax-nbnY1d79.js +1 -0
- package/.output/public/assets/desktop-BD76cvxT.js +1 -0
- package/.output/public/assets/diff-CdkWtnkL.js +1 -0
- package/.output/public/assets/docker-ZyPHc6zB.js +1 -0
- package/.output/public/assets/dotenv-BdJZEwA6.js +1 -0
- package/.output/public/assets/dracula-CtqCPLGa.js +1 -0
- package/.output/public/assets/dracula-soft-DmBpwRAy.js +1 -0
- package/.output/public/assets/dream-maker-BJL4qlg3.js +1 -0
- package/.output/public/assets/edge-DwocGnOF.js +1 -0
- package/.output/public/assets/elixir-Dtbfds1r.js +1 -0
- package/.output/public/assets/elm-CpPtm471.js +1 -0
- package/.output/public/assets/emacs-lisp-_LyYa2Ky.js +1 -0
- package/.output/public/assets/erb--z3IM9Cb.js +1 -0
- package/.output/public/assets/erlang-Bc4hQuqa.js +1 -0
- package/.output/public/assets/everforest-dark-CrbyKk4n.js +1 -0
- package/.output/public/assets/everforest-light-DRbSh8Tm.js +1 -0
- package/.output/public/assets/fennel-CC2BkRsS.js +1 -0
- package/.output/public/assets/fish-D2ZCzqcE.js +1 -0
- package/.output/public/assets/fluent-DKAm3m7q.js +1 -0
- package/.output/public/assets/fortran-fixed-form-B02FOYI-.js +1 -0
- package/.output/public/assets/fortran-free-form-BPTf0lbT.js +1 -0
- package/.output/public/assets/fsharp-DhdR18vN.js +1 -0
- package/.output/public/assets/gdresource-DgnrMPIx.js +1 -0
- package/.output/public/assets/gdscript-CsadCSaZ.js +1 -0
- package/.output/public/assets/gdshader-PfnN_8tR.js +1 -0
- package/.output/public/assets/genie-Bj-orPAV.js +1 -0
- package/.output/public/assets/gherkin-COVWpJ-Q.js +1 -0
- package/.output/public/assets/git-commit-DGJi7qBD.js +1 -0
- package/.output/public/assets/git-rebase-Ce47xoa6.js +1 -0
- package/.output/public/assets/github-dark-default-DX3IG_X0.js +1 -0
- package/.output/public/assets/github-dark-dimmed-CH6p_7ez.js +1 -0
- package/.output/public/assets/github-dark-high-contrast-Bg2sSao5.js +1 -0
- package/.output/public/assets/github-dark-ipGuFGYC.js +1 -0
- package/.output/public/assets/github-light-BxjqOQl0.js +1 -0
- package/.output/public/assets/github-light-default-DwpDd1IQ.js +1 -0
- package/.output/public/assets/github-light-high-contrast-C0QeixPf.js +1 -0
- package/.output/public/assets/gleam-BF2NigGj.js +1 -0
- package/.output/public/assets/glimmer-js-C0BuzxQC.js +1 -0
- package/.output/public/assets/glimmer-ts-irOZ-cAQ.js +1 -0
- package/.output/public/assets/glsl-JAhLUe0P.js +1 -0
- package/.output/public/assets/gn-CMIt9roj.js +1 -0
- package/.output/public/assets/gnuplot-DgWlRTEj.js +1 -0
- package/.output/public/assets/go-DLnOLj8q.js +1 -0
- package/.output/public/assets/graphql-D2ba3BkR.js +1 -0
- package/.output/public/assets/groovy-B9qLWIkE.js +1 -0
- package/.output/public/assets/gruvbox-dark-hard-BIMX9ePb.js +1 -0
- package/.output/public/assets/gruvbox-dark-medium-DxuwyVzM.js +1 -0
- package/.output/public/assets/gruvbox-dark-soft-ba2fjht0.js +1 -0
- package/.output/public/assets/gruvbox-light-hard-DAJK2PqC.js +1 -0
- package/.output/public/assets/gruvbox-light-medium-WRifDAJD.js +1 -0
- package/.output/public/assets/gruvbox-light-soft-B0dBOoVB.js +1 -0
- package/.output/public/assets/hack-CgzUpY8l.js +1 -0
- package/.output/public/assets/haml-C-oIZcDo.js +1 -0
- package/.output/public/assets/handlebars-CbP-Mhzf.js +1 -0
- package/.output/public/assets/haskell-BaGpmm_c.js +1 -0
- package/.output/public/assets/haxe-DfXTCEOz.js +1 -0
- package/.output/public/assets/hcl-CbCtpSbi.js +1 -0
- package/.output/public/assets/hjson-_4-w-pHU.js +1 -0
- package/.output/public/assets/hlsl-DpuYn7pp.js +1 -0
- package/.output/public/assets/horizon-C5RtD1fY.js +1 -0
- package/.output/public/assets/horizon-bright-pEOice34.js +1 -0
- package/.output/public/assets/houston-A0zg9vNP.js +1 -0
- package/.output/public/assets/html-ddqpqPg0.js +1 -0
- package/.output/public/assets/html-derivative-DWGxf_At.js +1 -0
- package/.output/public/assets/http-Bg1nG1nG.js +1 -0
- package/.output/public/assets/hurl-zm47Pi1n.js +1 -0
- package/.output/public/assets/hxml-adC65L_J.js +1 -0
- package/.output/public/assets/hy-t9zDXBje.js +1 -0
- package/.output/public/assets/imba-Bxu-TDfw.js +1 -0
- package/.output/public/assets/index-CthXqlK7.js +53 -0
- package/.output/public/assets/ini-D-v34c8N.js +1 -0
- package/.output/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/.output/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/.output/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/.output/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/.output/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/.output/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/.output/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/.output/public/assets/java-DVLnIrqC.js +1 -0
- package/.output/public/assets/javascript-Cop1kpy_.js +1 -0
- package/.output/public/assets/jinja-Bnj4awH5.js +1 -0
- package/.output/public/assets/jison-CuCNs9Q3.js +1 -0
- package/.output/public/assets/json-CTw4n7kn.js +1 -0
- package/.output/public/assets/json5-D0XL1D5m.js +1 -0
- package/.output/public/assets/jsonc-BBgf3TX3.js +1 -0
- package/.output/public/assets/jsonl-KrKLbtB7.js +1 -0
- package/.output/public/assets/jsonnet-B2ZwWMOt.js +1 -0
- package/.output/public/assets/jssm-ByRpI9-B.js +1 -0
- package/.output/public/assets/jsx-0oMUGqZj.js +1 -0
- package/.output/public/assets/julia-DNYHzXlE.js +1 -0
- package/.output/public/assets/just-BlWkkmf2.js +1 -0
- package/.output/public/assets/kanagawa-dragon-CtPmcCMp.js +1 -0
- package/.output/public/assets/kanagawa-lotus-DpOXEGCa.js +1 -0
- package/.output/public/assets/kanagawa-wave-CLVCyc-n.js +1 -0
- package/.output/public/assets/kdl-6FPPEH4H.js +1 -0
- package/.output/public/assets/kotlin-D4L3Nd2D.js +1 -0
- package/.output/public/assets/kusto-D-mmc07O.js +1 -0
- package/.output/public/assets/laserwave-7fEj4XGb.js +1 -0
- package/.output/public/assets/latex-DqPzjMIt.js +1 -0
- package/.output/public/assets/lean-BMVMuP2E.js +1 -0
- package/.output/public/assets/less-C95PyOu0.js +1 -0
- package/.output/public/assets/light-plus-DHI2dh3p.js +1 -0
- package/.output/public/assets/liquid-BURJK16h.js +1 -0
- package/.output/public/assets/llvm-Dy3qORTl.js +1 -0
- package/.output/public/assets/log-BQop7fzg.js +1 -0
- package/.output/public/assets/logo-DKtnYmrp.js +1 -0
- package/.output/public/assets/lua-31hdJClp.js +1 -0
- package/.output/public/assets/luau-Dha4KG0q.js +1 -0
- package/.output/public/assets/make-DfmS6buu.js +1 -0
- package/.output/public/assets/markdown-BaI9LyM4.js +1 -0
- package/.output/public/assets/marko-C2ZcdSLh.js +1 -0
- package/.output/public/assets/material-theme-Dm6ETY8i.js +1 -0
- package/.output/public/assets/material-theme-darker-BeyjmM5Z.js +1 -0
- package/.output/public/assets/material-theme-lighter-CCOYYzKL.js +1 -0
- package/.output/public/assets/material-theme-ocean-CUtPiiX3.js +1 -0
- package/.output/public/assets/material-theme-palenight-2L4zMwIM.js +1 -0
- package/.output/public/assets/matlab-BT79Cq_j.js +1 -0
- package/.output/public/assets/mdc-N1ii9pk5.js +1 -0
- package/.output/public/assets/mdx-CxGBwLNt.js +1 -0
- package/.output/public/assets/mermaid-DLf3axBN.js +1 -0
- package/.output/public/assets/min-dark-B8TUPGHg.js +1 -0
- package/.output/public/assets/min-light-BDOoBxcA.js +1 -0
- package/.output/public/assets/mipsasm-DXuU_0cI.js +1 -0
- package/.output/public/assets/mojo-1Omp2pIo.js +1 -0
- package/.output/public/assets/monokai-E_VBmXGZ.js +1 -0
- package/.output/public/assets/moonbit-DZzq699o.js +1 -0
- package/.output/public/assets/move-DxDAOJVd.js +1 -0
- package/.output/public/assets/narrat-CxDcPPb9.js +1 -0
- package/.output/public/assets/nextflow-JEyYUlIq.js +1 -0
- package/.output/public/assets/nextflow-groovy-wvmJO4hi.js +1 -0
- package/.output/public/assets/nginx-BuomO0W8.js +1 -0
- package/.output/public/assets/night-owl-DefhalNX.js +1 -0
- package/.output/public/assets/night-owl-light-byb3AbEn.js +1 -0
- package/.output/public/assets/nim-hKoEPsYL.js +1 -0
- package/.output/public/assets/nix-DsFTDHWT.js +1 -0
- package/.output/public/assets/nord-D5rQzHT-.js +1 -0
- package/.output/public/assets/nushell-BQ_rO0AM.js +1 -0
- package/.output/public/assets/objective-c-BMq6JT_m.js +1 -0
- package/.output/public/assets/objective-cpp-DRwojuGv.js +1 -0
- package/.output/public/assets/ocaml-e4_gKO6E.js +1 -0
- package/.output/public/assets/odin-mdTPwYOg.js +1 -0
- package/.output/public/assets/one-dark-pro-DxXww9jg.js +1 -0
- package/.output/public/assets/one-light-D9c03w7t.js +1 -0
- package/.output/public/assets/openscad-D2aTdNfr.js +1 -0
- package/.output/public/assets/pascal-D4n_G8vj.js +1 -0
- package/.output/public/assets/perl-CAGVW6Ra.js +1 -0
- package/.output/public/assets/php-BycclmzS.js +1 -0
- package/.output/public/assets/pierre-dark-CizZ1Z5z.js +1 -0
- package/.output/public/assets/pierre-light-CHMWfAMe.js +1 -0
- package/.output/public/assets/pkl-DcjhAp0L.js +1 -0
- package/.output/public/assets/plastic-uOsw7z1x.js +1 -0
- package/.output/public/assets/plsql-BSy3Ag0J.js +1 -0
- package/.output/public/assets/po-Be96RYkA.js +1 -0
- package/.output/public/assets/poimandres-CyO4HORD.js +1 -0
- package/.output/public/assets/polar-BmhMKWum.js +1 -0
- package/.output/public/assets/postcss-BTQso3H9.js +1 -0
- package/.output/public/assets/powerquery-DVyQv3M2.js +1 -0
- package/.output/public/assets/powershell-BmtCGJVD.js +1 -0
- package/.output/public/assets/prisma-CCFA9rEj.js +1 -0
- package/.output/public/assets/prolog-DWGEEo78.js +1 -0
- package/.output/public/assets/proto-C3eop1kM.js +1 -0
- package/.output/public/assets/pug-4maJHz9G.js +1 -0
- package/.output/public/assets/puppet-C0_7Nv5A.js +1 -0
- package/.output/public/assets/purescript-Bv-B8yRw.js +1 -0
- package/.output/public/assets/python-CKg5r0C3.js +1 -0
- package/.output/public/assets/qml-JLIQfzyb.js +1 -0
- package/.output/public/assets/qmldir-Cqfb4Lox.js +1 -0
- package/.output/public/assets/qss-Csho9BH8.js +1 -0
- package/.output/public/assets/r-UcxRcvcA.js +1 -0
- package/.output/public/assets/racket-D8-uWeQH.js +1 -0
- package/.output/public/assets/raku-Cj4JSa8p.js +1 -0
- package/.output/public/assets/razor-P8rbooCh.js +1 -0
- package/.output/public/assets/red-z4H4llUY.js +1 -0
- package/.output/public/assets/reg-DXGFiJSl.js +1 -0
- package/.output/public/assets/regexp-3-A0406L.js +1 -0
- package/.output/public/assets/rel-CunnVTBK.js +1 -0
- package/.output/public/assets/riscv-C8BcOCkS.js +1 -0
- package/.output/public/assets/rolldown-runtime-S-ySWqyJ.js +1 -0
- package/.output/public/assets/ron-DiDyR9oa.js +1 -0
- package/.output/public/assets/rose-pine-BADquuIH.js +1 -0
- package/.output/public/assets/rose-pine-dawn-BLcEeBoh.js +1 -0
- package/.output/public/assets/rose-pine-moon-BK_tLY1Y.js +1 -0
- package/.output/public/assets/rosmsg-CHmL1Uyj.js +1 -0
- package/.output/public/assets/routes-Bp0r03R8.js +2147 -0
- package/.output/public/assets/rst-C6GHyL-N.js +1 -0
- package/.output/public/assets/ruby-Cl8PVkbY.js +1 -0
- package/.output/public/assets/rust-DjJFInu3.js +1 -0
- package/.output/public/assets/sas-CXoVwlZN.js +1 -0
- package/.output/public/assets/sass-D3xZ5o-v.js +1 -0
- package/.output/public/assets/scala-B0IRml5w.js +1 -0
- package/.output/public/assets/scheme-BhwcV3Av.js +1 -0
- package/.output/public/assets/scss-DNczJ95n.js +1 -0
- package/.output/public/assets/sdbl-BmWYR-pI.js +1 -0
- package/.output/public/assets/shaderlab-DZ3Lsiak.js +1 -0
- package/.output/public/assets/shellscript-DaVPunOM.js +1 -0
- package/.output/public/assets/shellsession-COm1V40U.js +1 -0
- package/.output/public/assets/slack-dark-DOnVms5P.js +1 -0
- package/.output/public/assets/slack-ochin-DcRTft4q.js +1 -0
- package/.output/public/assets/smalltalk-DVQuUMII.js +1 -0
- package/.output/public/assets/snazzy-light-x9CLJ1W9.js +1 -0
- package/.output/public/assets/solarized-dark-BB1sh-pe.js +1 -0
- package/.output/public/assets/solarized-light-9-RPS998.js +1 -0
- package/.output/public/assets/solidity-gQ4WXILB.js +1 -0
- package/.output/public/assets/soy-DwewhJ_3.js +1 -0
- package/.output/public/assets/sparql-B9c85a_o.js +1 -0
- package/.output/public/assets/splunk-OB48_RcD.js +1 -0
- package/.output/public/assets/sql-CrTmZCMa.js +1 -0
- package/.output/public/assets/ssh-config-DA9YMRGV.js +1 -0
- package/.output/public/assets/stata-Bl--TAbZ.js +1 -0
- package/.output/public/assets/styles-DEX5mU_p.css +2 -0
- package/.output/public/assets/stylus-sKwvsUaC.js +1 -0
- package/.output/public/assets/surrealql-BW79EE-U.js +1 -0
- package/.output/public/assets/svelte-ziMErdPi.js +1 -0
- package/.output/public/assets/swift-C72NbAtg.js +1 -0
- package/.output/public/assets/synthwave-84-eJ9uRN_S.js +1 -0
- package/.output/public/assets/system-verilog-CnWMF7Nq.js +1 -0
- package/.output/public/assets/systemd-DMzItW5N.js +1 -0
- package/.output/public/assets/talonscript-DopQCWDL.js +1 -0
- package/.output/public/assets/tasl-C28SYKbq.js +1 -0
- package/.output/public/assets/tcl-DHq7zmoF.js +1 -0
- package/.output/public/assets/templ-C_9I6ncv.js +1 -0
- package/.output/public/assets/terraform-CogS1YKX.js +1 -0
- package/.output/public/assets/tex-D8LVuLf5.js +1 -0
- package/.output/public/assets/tokyo-night-B9N7LyrF.js +1 -0
- package/.output/public/assets/toml-BH_iPsgK.js +1 -0
- package/.output/public/assets/ts-tags-DKuFCGsc.js +1 -0
- package/.output/public/assets/tsv-BIkdBZX1.js +1 -0
- package/.output/public/assets/tsx-BjkCKOtw.js +1 -0
- package/.output/public/assets/turtle-CqNXyJWZ.js +1 -0
- package/.output/public/assets/twig-Bs1kcsO6.js +1 -0
- package/.output/public/assets/typescript-BoHeP9q1.js +1 -0
- package/.output/public/assets/typespec-CQ9LYD_e.js +1 -0
- package/.output/public/assets/typst-T-Fsk-Sv.js +1 -0
- package/.output/public/assets/v-BhMEOw9x.js +1 -0
- package/.output/public/assets/vala-DzajMnwt.js +1 -0
- package/.output/public/assets/vb-7Xr8dEYW.js +1 -0
- package/.output/public/assets/verilog-AvXtwZir.js +1 -0
- package/.output/public/assets/vesper-CtgQQ2sf.js +1 -0
- package/.output/public/assets/vhdl-BHu0zg1P.js +1 -0
- package/.output/public/assets/viml-Di0QpLfC.js +1 -0
- package/.output/public/assets/vitesse-black-jXdfyqgD.js +1 -0
- package/.output/public/assets/vitesse-dark-B88PxG1r.js +1 -0
- package/.output/public/assets/vitesse-light-BXxZh2iV.js +1 -0
- package/.output/public/assets/vue-Dnf0y5RU.js +1 -0
- package/.output/public/assets/vue-html-CRtKS76J.js +1 -0
- package/.output/public/assets/vue-vine-BxjPqU7T.js +1 -0
- package/.output/public/assets/vyper-C3R5yXgx.js +1 -0
- package/.output/public/assets/wasm-CEUrWlVz.js +1 -0
- package/.output/public/assets/wasm-Chsuwt1A.js +1 -0
- package/.output/public/assets/wenyan-BonVcr2i.js +1 -0
- package/.output/public/assets/wgsl-D59WYmNq.js +1 -0
- package/.output/public/assets/wikitext-ariTI2Wk.js +1 -0
- package/.output/public/assets/wit-EA4fa3Dt.js +1 -0
- package/.output/public/assets/wolfram-DDp7LhyU.js +1 -0
- package/.output/public/assets/xml-eU7M3iZJ.js +1 -0
- package/.output/public/assets/xsl-DSqe4nTO.js +1 -0
- package/.output/public/assets/yaml-BTD1XHJG.js +1 -0
- package/.output/public/assets/zenscript-4WaROUyc.js +1 -0
- package/.output/public/assets/zig-CJoLJGwV.js +1 -0
- package/.output/public/favicon.png +0 -0
- package/.output/public/favicon.svg +7 -0
- package/.output/public/manifest.json +28 -0
- package/.output/public/robots.txt +3 -0
- package/.output/public/screenshots/pico-workspace-alt.png +0 -0
- package/.output/public/screenshots/pico-workspace.png +0 -0
- package/.output/public/sounds/session-done.mp3 +0 -0
- package/.output/server/__23tanstack-start-plugin-adapters-y_fshQDY.mjs +5 -0
- package/.output/server/_chunks/ssr-renderer.mjs +15 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +14407 -0
- package/.output/server/_libs/@dnd-kit/core+[...].mjs +2748 -0
- package/.output/server/_libs/@pierre/diffs+[...].mjs +19074 -0
- package/.output/server/_libs/@pierre/trees+[...].mjs +9236 -0
- package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +1789 -0
- package/.output/server/_libs/@radix-ui/react-primitive+[...].mjs +136 -0
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +196 -0
- package/.output/server/_libs/@tanstack/hotkeys+[...].mjs +1607 -0
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +13950 -0
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +90 -0
- package/.output/server/_libs/bail.mjs +13 -0
- package/.output/server/_libs/character-entities.mjs +2135 -0
- package/.output/server/_libs/class-variance-authority+clsx.mjs +69 -0
- package/.output/server/_libs/cmdk.mjs +473 -0
- package/.output/server/_libs/decode-named-character-reference+[...].mjs +19 -0
- package/.output/server/_libs/devlop.mjs +5 -0
- package/.output/server/_libs/diff.mjs +732 -0
- package/.output/server/_libs/dnd-kit__accessibility.mjs +46 -0
- package/.output/server/_libs/dnd-kit__sortable.mjs +400 -0
- package/.output/server/_libs/escape-string-regexp.mjs +7 -0
- package/.output/server/_libs/estree-util-is-identifier-name.mjs +20 -0
- package/.output/server/_libs/extend.mjs +75 -0
- package/.output/server/_libs/h3+rou3+srvx.mjs +1210 -0
- package/.output/server/_libs/hast-util-to-jsx-runtime+[...].mjs +1244 -0
- package/.output/server/_libs/hookable.mjs +41 -0
- package/.output/server/_libs/html-url-attributes.mjs +44 -0
- package/.output/server/_libs/is-plain-obj.mjs +8 -0
- package/.output/server/_libs/longest-streak.mjs +29 -0
- package/.output/server/_libs/lucide-react.mjs +632 -0
- package/.output/server/_libs/markdown-table.mjs +289 -0
- package/.output/server/_libs/mdast-util-find-and-replace+[...].mjs +636 -0
- package/.output/server/_libs/mdast-util-from-markdown+[...].mjs +8409 -0
- package/.output/server/_libs/mdast-util-gfm+[...].mjs +2346 -0
- package/.output/server/_libs/mdast-util-to-hast+[...].mjs +1772 -0
- package/.output/server/_libs/micromark-extension-gfm+[...].mjs +2234 -0
- package/.output/server/_libs/next-themes.mjs +124 -0
- package/.output/server/_libs/pierre__theme.mjs +10 -0
- package/.output/server/_libs/radix-ui__primitive.mjs +9 -0
- package/.output/server/_libs/radix-ui__react-compose-refs.mjs +30 -0
- package/.output/server/_libs/radix-ui__react-context.mjs +88 -0
- package/.output/server/_libs/react-markdown+[...].mjs +2316 -0
- package/.output/server/_libs/remark-gfm.mjs +34 -0
- package/.output/server/_libs/shiki.mjs +16 -0
- package/.output/server/_libs/shikijs__langs.mjs +1355 -0
- package/.output/server/_libs/shikijs__themes.mjs +262 -0
- package/.output/server/_libs/sonner.mjs +908 -0
- package/.output/server/_libs/sugar-high.mjs +1036 -0
- package/.output/server/_libs/tailwind-merge.mjs +1962 -0
- package/.output/server/_libs/tanstack__history.mjs +342 -0
- package/.output/server/_libs/tanstack__pacer.mjs +1111 -0
- package/.output/server/_libs/tanstack__query-core.mjs +2202 -0
- package/.output/server/_libs/tanstack__react-hotkeys.mjs +152 -0
- package/.output/server/_libs/tanstack__react-query.mjs +180 -0
- package/.output/server/_libs/tanstack__react-store.mjs +39 -0
- package/.output/server/_libs/tanstack__router-core.mjs +6 -0
- package/.output/server/_libs/tanstack__store.mjs +28 -0
- package/.output/server/_libs/ufo.mjs +64 -0
- package/.output/server/_libs/unctx.mjs +82 -0
- package/.output/server/_libs/ungap__structured-clone.mjs +197 -0
- package/.output/server/_libs/vaul.mjs +1250 -0
- package/.output/server/_libs/zod.mjs +3341 -0
- package/.output/server/_runtime.mjs +35 -0
- package/.output/server/_ssr/router-Bz70uQ0p.mjs +7231 -0
- package/.output/server/_ssr/routes-C7oV8l68.mjs +21622 -0
- package/.output/server/_ssr/routes-DGvt0TQ-.mjs +1275 -0
- package/.output/server/_ssr/ssr.mjs +5176 -0
- package/.output/server/_ssr/start-C9AjCGlr.mjs +4 -0
- package/.output/server/_tanstack-start-manifest_v-D0yEuwRY.mjs +65 -0
- package/.output/server/index.mjs +2563 -0
- package/.output/server/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/package.json +9 -0
- package/LICENSE +8 -0
- package/README.md +111 -0
- package/bin/pico.mjs +206 -0
- package/package.json +105 -0
- package/public/screenshots/pico-workspace-alt.png +0 -0
- package/public/screenshots/pico-workspace.png +0 -0
- package/scripts/patch-react-jsx-dev-runtime.mjs +93 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { X as require_react } from "./@base-ui/react+[...].mjs";
|
|
3
|
+
//#region node_modules/.pnpm/@dnd-kit+accessibility@3.1.1_react@19.2.5/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js
|
|
4
|
+
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
5
|
+
var hiddenStyles = { display: "none" };
|
|
6
|
+
function HiddenText(_ref) {
|
|
7
|
+
let { id, value } = _ref;
|
|
8
|
+
return import_react.createElement("div", {
|
|
9
|
+
id,
|
|
10
|
+
style: hiddenStyles
|
|
11
|
+
}, value);
|
|
12
|
+
}
|
|
13
|
+
function LiveRegion(_ref) {
|
|
14
|
+
let { id, announcement, ariaLiveType = "assertive" } = _ref;
|
|
15
|
+
return import_react.createElement("div", {
|
|
16
|
+
id,
|
|
17
|
+
style: {
|
|
18
|
+
position: "fixed",
|
|
19
|
+
top: 0,
|
|
20
|
+
left: 0,
|
|
21
|
+
width: 1,
|
|
22
|
+
height: 1,
|
|
23
|
+
margin: -1,
|
|
24
|
+
border: 0,
|
|
25
|
+
padding: 0,
|
|
26
|
+
overflow: "hidden",
|
|
27
|
+
clip: "rect(0 0 0 0)",
|
|
28
|
+
clipPath: "inset(100%)",
|
|
29
|
+
whiteSpace: "nowrap"
|
|
30
|
+
},
|
|
31
|
+
role: "status",
|
|
32
|
+
"aria-live": ariaLiveType,
|
|
33
|
+
"aria-atomic": true
|
|
34
|
+
}, announcement);
|
|
35
|
+
}
|
|
36
|
+
function useAnnouncement() {
|
|
37
|
+
const [announcement, setAnnouncement] = (0, import_react.useState)("");
|
|
38
|
+
return {
|
|
39
|
+
announce: (0, import_react.useCallback)((value) => {
|
|
40
|
+
if (value != null) setAnnouncement(value);
|
|
41
|
+
}, []),
|
|
42
|
+
announcement
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
export { LiveRegion as n, useAnnouncement as r, HiddenText as t };
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { X as require_react } from "./@base-ui/react+[...].mjs";
|
|
3
|
+
import { c as useDraggable, f as CSS, g as useUniqueId, h as useIsomorphicLayoutEffect, l as useDroppable, m as useCombinedRefs, o as getClientRect, p as isKeyboardEvent, r as KeyboardCode, s as useDndContext } from "./@dnd-kit/core+[...].mjs";
|
|
4
|
+
//#region node_modules/.pnpm/@dnd-kit+sortable@10.0.0_@dnd-kit+core@6.3.1_react-dom@19.2.5_react@19.2.5__react@19.2.5__react@19.2.5/node_modules/@dnd-kit/sortable/dist/sortable.esm.js
|
|
5
|
+
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
6
|
+
/**
|
|
7
|
+
* Move an array item to a different position. Returns a new array with the item moved to the new position.
|
|
8
|
+
*/
|
|
9
|
+
function arrayMove(array, from, to) {
|
|
10
|
+
const newArray = array.slice();
|
|
11
|
+
newArray.splice(to < 0 ? newArray.length + to : to, 0, newArray.splice(from, 1)[0]);
|
|
12
|
+
return newArray;
|
|
13
|
+
}
|
|
14
|
+
function getSortedRects(items, rects) {
|
|
15
|
+
return items.reduce((accumulator, id, index) => {
|
|
16
|
+
const rect = rects.get(id);
|
|
17
|
+
if (rect) accumulator[index] = rect;
|
|
18
|
+
return accumulator;
|
|
19
|
+
}, Array(items.length));
|
|
20
|
+
}
|
|
21
|
+
function isValidIndex(index) {
|
|
22
|
+
return index !== null && index >= 0;
|
|
23
|
+
}
|
|
24
|
+
function itemsEqual(a, b) {
|
|
25
|
+
if (a === b) return true;
|
|
26
|
+
if (a.length !== b.length) return false;
|
|
27
|
+
for (let i = 0; i < a.length; i++) if (a[i] !== b[i]) return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function normalizeDisabled(disabled) {
|
|
31
|
+
if (typeof disabled === "boolean") return {
|
|
32
|
+
draggable: disabled,
|
|
33
|
+
droppable: disabled
|
|
34
|
+
};
|
|
35
|
+
return disabled;
|
|
36
|
+
}
|
|
37
|
+
var defaultScale = {
|
|
38
|
+
scaleX: 1,
|
|
39
|
+
scaleY: 1
|
|
40
|
+
};
|
|
41
|
+
var horizontalListSortingStrategy = (_ref) => {
|
|
42
|
+
var _rects$activeIndex;
|
|
43
|
+
let { rects, activeNodeRect: fallbackActiveRect, activeIndex, overIndex, index } = _ref;
|
|
44
|
+
const activeNodeRect = (_rects$activeIndex = rects[activeIndex]) != null ? _rects$activeIndex : fallbackActiveRect;
|
|
45
|
+
if (!activeNodeRect) return null;
|
|
46
|
+
const itemGap = getItemGap(rects, index, activeIndex);
|
|
47
|
+
if (index === activeIndex) {
|
|
48
|
+
const newIndexRect = rects[overIndex];
|
|
49
|
+
if (!newIndexRect) return null;
|
|
50
|
+
return {
|
|
51
|
+
x: activeIndex < overIndex ? newIndexRect.left + newIndexRect.width - (activeNodeRect.left + activeNodeRect.width) : newIndexRect.left - activeNodeRect.left,
|
|
52
|
+
y: 0,
|
|
53
|
+
...defaultScale
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
if (index > activeIndex && index <= overIndex) return {
|
|
57
|
+
x: -activeNodeRect.width - itemGap,
|
|
58
|
+
y: 0,
|
|
59
|
+
...defaultScale
|
|
60
|
+
};
|
|
61
|
+
if (index < activeIndex && index >= overIndex) return {
|
|
62
|
+
x: activeNodeRect.width + itemGap,
|
|
63
|
+
y: 0,
|
|
64
|
+
...defaultScale
|
|
65
|
+
};
|
|
66
|
+
return {
|
|
67
|
+
x: 0,
|
|
68
|
+
y: 0,
|
|
69
|
+
...defaultScale
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
function getItemGap(rects, index, activeIndex) {
|
|
73
|
+
const currentRect = rects[index];
|
|
74
|
+
const previousRect = rects[index - 1];
|
|
75
|
+
const nextRect = rects[index + 1];
|
|
76
|
+
if (!currentRect || !previousRect && !nextRect) return 0;
|
|
77
|
+
if (activeIndex < index) return previousRect ? currentRect.left - (previousRect.left + previousRect.width) : nextRect.left - (currentRect.left + currentRect.width);
|
|
78
|
+
return nextRect ? nextRect.left - (currentRect.left + currentRect.width) : currentRect.left - (previousRect.left + previousRect.width);
|
|
79
|
+
}
|
|
80
|
+
var rectSortingStrategy = (_ref) => {
|
|
81
|
+
let { rects, activeIndex, overIndex, index } = _ref;
|
|
82
|
+
const newRects = arrayMove(rects, overIndex, activeIndex);
|
|
83
|
+
const oldRect = rects[index];
|
|
84
|
+
const newRect = newRects[index];
|
|
85
|
+
if (!newRect || !oldRect) return null;
|
|
86
|
+
return {
|
|
87
|
+
x: newRect.left - oldRect.left,
|
|
88
|
+
y: newRect.top - oldRect.top,
|
|
89
|
+
scaleX: newRect.width / oldRect.width,
|
|
90
|
+
scaleY: newRect.height / oldRect.height
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
var defaultScale$1 = {
|
|
94
|
+
scaleX: 1,
|
|
95
|
+
scaleY: 1
|
|
96
|
+
};
|
|
97
|
+
var verticalListSortingStrategy = (_ref) => {
|
|
98
|
+
var _rects$activeIndex;
|
|
99
|
+
let { activeIndex, activeNodeRect: fallbackActiveRect, index, rects, overIndex } = _ref;
|
|
100
|
+
const activeNodeRect = (_rects$activeIndex = rects[activeIndex]) != null ? _rects$activeIndex : fallbackActiveRect;
|
|
101
|
+
if (!activeNodeRect) return null;
|
|
102
|
+
if (index === activeIndex) {
|
|
103
|
+
const overIndexRect = rects[overIndex];
|
|
104
|
+
if (!overIndexRect) return null;
|
|
105
|
+
return {
|
|
106
|
+
x: 0,
|
|
107
|
+
y: activeIndex < overIndex ? overIndexRect.top + overIndexRect.height - (activeNodeRect.top + activeNodeRect.height) : overIndexRect.top - activeNodeRect.top,
|
|
108
|
+
...defaultScale$1
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
const itemGap = getItemGap$1(rects, index, activeIndex);
|
|
112
|
+
if (index > activeIndex && index <= overIndex) return {
|
|
113
|
+
x: 0,
|
|
114
|
+
y: -activeNodeRect.height - itemGap,
|
|
115
|
+
...defaultScale$1
|
|
116
|
+
};
|
|
117
|
+
if (index < activeIndex && index >= overIndex) return {
|
|
118
|
+
x: 0,
|
|
119
|
+
y: activeNodeRect.height + itemGap,
|
|
120
|
+
...defaultScale$1
|
|
121
|
+
};
|
|
122
|
+
return {
|
|
123
|
+
x: 0,
|
|
124
|
+
y: 0,
|
|
125
|
+
...defaultScale$1
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
function getItemGap$1(clientRects, index, activeIndex) {
|
|
129
|
+
const currentRect = clientRects[index];
|
|
130
|
+
const previousRect = clientRects[index - 1];
|
|
131
|
+
const nextRect = clientRects[index + 1];
|
|
132
|
+
if (!currentRect) return 0;
|
|
133
|
+
if (activeIndex < index) return previousRect ? currentRect.top - (previousRect.top + previousRect.height) : nextRect ? nextRect.top - (currentRect.top + currentRect.height) : 0;
|
|
134
|
+
return nextRect ? nextRect.top - (currentRect.top + currentRect.height) : previousRect ? currentRect.top - (previousRect.top + previousRect.height) : 0;
|
|
135
|
+
}
|
|
136
|
+
var ID_PREFIX = "Sortable";
|
|
137
|
+
var Context = /* @__PURE__ */ import_react.createContext({
|
|
138
|
+
activeIndex: -1,
|
|
139
|
+
containerId: ID_PREFIX,
|
|
140
|
+
disableTransforms: false,
|
|
141
|
+
items: [],
|
|
142
|
+
overIndex: -1,
|
|
143
|
+
useDragOverlay: false,
|
|
144
|
+
sortedRects: [],
|
|
145
|
+
strategy: rectSortingStrategy,
|
|
146
|
+
disabled: {
|
|
147
|
+
draggable: false,
|
|
148
|
+
droppable: false
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
function SortableContext(_ref) {
|
|
152
|
+
let { children, id, items: userDefinedItems, strategy = rectSortingStrategy, disabled: disabledProp = false } = _ref;
|
|
153
|
+
const { active, dragOverlay, droppableRects, over, measureDroppableContainers } = useDndContext();
|
|
154
|
+
const containerId = useUniqueId(ID_PREFIX, id);
|
|
155
|
+
const useDragOverlay = Boolean(dragOverlay.rect !== null);
|
|
156
|
+
const items = (0, import_react.useMemo)(() => userDefinedItems.map((item) => typeof item === "object" && "id" in item ? item.id : item), [userDefinedItems]);
|
|
157
|
+
const isDragging = active != null;
|
|
158
|
+
const activeIndex = active ? items.indexOf(active.id) : -1;
|
|
159
|
+
const overIndex = over ? items.indexOf(over.id) : -1;
|
|
160
|
+
const previousItemsRef = (0, import_react.useRef)(items);
|
|
161
|
+
const itemsHaveChanged = !itemsEqual(items, previousItemsRef.current);
|
|
162
|
+
const disableTransforms = overIndex !== -1 && activeIndex === -1 || itemsHaveChanged;
|
|
163
|
+
const disabled = normalizeDisabled(disabledProp);
|
|
164
|
+
useIsomorphicLayoutEffect(() => {
|
|
165
|
+
if (itemsHaveChanged && isDragging) measureDroppableContainers(items);
|
|
166
|
+
}, [
|
|
167
|
+
itemsHaveChanged,
|
|
168
|
+
items,
|
|
169
|
+
isDragging,
|
|
170
|
+
measureDroppableContainers
|
|
171
|
+
]);
|
|
172
|
+
(0, import_react.useEffect)(() => {
|
|
173
|
+
previousItemsRef.current = items;
|
|
174
|
+
}, [items]);
|
|
175
|
+
const contextValue = (0, import_react.useMemo)(() => ({
|
|
176
|
+
activeIndex,
|
|
177
|
+
containerId,
|
|
178
|
+
disabled,
|
|
179
|
+
disableTransforms,
|
|
180
|
+
items,
|
|
181
|
+
overIndex,
|
|
182
|
+
useDragOverlay,
|
|
183
|
+
sortedRects: getSortedRects(items, droppableRects),
|
|
184
|
+
strategy
|
|
185
|
+
}), [
|
|
186
|
+
activeIndex,
|
|
187
|
+
containerId,
|
|
188
|
+
disabled.draggable,
|
|
189
|
+
disabled.droppable,
|
|
190
|
+
disableTransforms,
|
|
191
|
+
items,
|
|
192
|
+
overIndex,
|
|
193
|
+
droppableRects,
|
|
194
|
+
useDragOverlay,
|
|
195
|
+
strategy
|
|
196
|
+
]);
|
|
197
|
+
return import_react.createElement(Context.Provider, { value: contextValue }, children);
|
|
198
|
+
}
|
|
199
|
+
var defaultNewIndexGetter = (_ref) => {
|
|
200
|
+
let { id, items, activeIndex, overIndex } = _ref;
|
|
201
|
+
return arrayMove(items, activeIndex, overIndex).indexOf(id);
|
|
202
|
+
};
|
|
203
|
+
var defaultAnimateLayoutChanges = (_ref2) => {
|
|
204
|
+
let { containerId, isSorting, wasDragging, index, items, newIndex, previousItems, previousContainerId, transition } = _ref2;
|
|
205
|
+
if (!transition || !wasDragging) return false;
|
|
206
|
+
if (previousItems !== items && index === newIndex) return false;
|
|
207
|
+
if (isSorting) return true;
|
|
208
|
+
return newIndex !== index && containerId === previousContainerId;
|
|
209
|
+
};
|
|
210
|
+
var defaultTransition = {
|
|
211
|
+
duration: 200,
|
|
212
|
+
easing: "ease"
|
|
213
|
+
};
|
|
214
|
+
var transitionProperty = "transform";
|
|
215
|
+
var disabledTransition = /* @__PURE__ */ CSS.Transition.toString({
|
|
216
|
+
property: transitionProperty,
|
|
217
|
+
duration: 0,
|
|
218
|
+
easing: "linear"
|
|
219
|
+
});
|
|
220
|
+
var defaultAttributes = { roleDescription: "sortable" };
|
|
221
|
+
function useDerivedTransform(_ref) {
|
|
222
|
+
let { disabled, index, node, rect } = _ref;
|
|
223
|
+
const [derivedTransform, setDerivedtransform] = (0, import_react.useState)(null);
|
|
224
|
+
const previousIndex = (0, import_react.useRef)(index);
|
|
225
|
+
useIsomorphicLayoutEffect(() => {
|
|
226
|
+
if (!disabled && index !== previousIndex.current && node.current) {
|
|
227
|
+
const initial = rect.current;
|
|
228
|
+
if (initial) {
|
|
229
|
+
const current = getClientRect(node.current, { ignoreTransform: true });
|
|
230
|
+
const delta = {
|
|
231
|
+
x: initial.left - current.left,
|
|
232
|
+
y: initial.top - current.top,
|
|
233
|
+
scaleX: initial.width / current.width,
|
|
234
|
+
scaleY: initial.height / current.height
|
|
235
|
+
};
|
|
236
|
+
if (delta.x || delta.y) setDerivedtransform(delta);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
if (index !== previousIndex.current) previousIndex.current = index;
|
|
240
|
+
}, [
|
|
241
|
+
disabled,
|
|
242
|
+
index,
|
|
243
|
+
node,
|
|
244
|
+
rect
|
|
245
|
+
]);
|
|
246
|
+
(0, import_react.useEffect)(() => {
|
|
247
|
+
if (derivedTransform) setDerivedtransform(null);
|
|
248
|
+
}, [derivedTransform]);
|
|
249
|
+
return derivedTransform;
|
|
250
|
+
}
|
|
251
|
+
function useSortable(_ref) {
|
|
252
|
+
let { animateLayoutChanges = defaultAnimateLayoutChanges, attributes: userDefinedAttributes, disabled: localDisabled, data: customData, getNewIndex = defaultNewIndexGetter, id, strategy: localStrategy, resizeObserverConfig, transition = defaultTransition } = _ref;
|
|
253
|
+
const { items, containerId, activeIndex, disabled: globalDisabled, disableTransforms, sortedRects, overIndex, useDragOverlay, strategy: globalStrategy } = (0, import_react.useContext)(Context);
|
|
254
|
+
const disabled = normalizeLocalDisabled(localDisabled, globalDisabled);
|
|
255
|
+
const index = items.indexOf(id);
|
|
256
|
+
const data = (0, import_react.useMemo)(() => ({
|
|
257
|
+
sortable: {
|
|
258
|
+
containerId,
|
|
259
|
+
index,
|
|
260
|
+
items
|
|
261
|
+
},
|
|
262
|
+
...customData
|
|
263
|
+
}), [
|
|
264
|
+
containerId,
|
|
265
|
+
customData,
|
|
266
|
+
index,
|
|
267
|
+
items
|
|
268
|
+
]);
|
|
269
|
+
const itemsAfterCurrentSortable = (0, import_react.useMemo)(() => items.slice(items.indexOf(id)), [items, id]);
|
|
270
|
+
const { rect, node, isOver, setNodeRef: setDroppableNodeRef } = useDroppable({
|
|
271
|
+
id,
|
|
272
|
+
data,
|
|
273
|
+
disabled: disabled.droppable,
|
|
274
|
+
resizeObserverConfig: {
|
|
275
|
+
updateMeasurementsFor: itemsAfterCurrentSortable,
|
|
276
|
+
...resizeObserverConfig
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
const { active, activatorEvent, activeNodeRect, attributes, setNodeRef: setDraggableNodeRef, listeners, isDragging, over, setActivatorNodeRef, transform } = useDraggable({
|
|
280
|
+
id,
|
|
281
|
+
data,
|
|
282
|
+
attributes: {
|
|
283
|
+
...defaultAttributes,
|
|
284
|
+
...userDefinedAttributes
|
|
285
|
+
},
|
|
286
|
+
disabled: disabled.draggable
|
|
287
|
+
});
|
|
288
|
+
const setNodeRef = useCombinedRefs(setDroppableNodeRef, setDraggableNodeRef);
|
|
289
|
+
const isSorting = Boolean(active);
|
|
290
|
+
const displaceItem = isSorting && !disableTransforms && isValidIndex(activeIndex) && isValidIndex(overIndex);
|
|
291
|
+
const shouldDisplaceDragSource = !useDragOverlay && isDragging;
|
|
292
|
+
const dragSourceDisplacement = shouldDisplaceDragSource && displaceItem ? transform : null;
|
|
293
|
+
const finalTransform = displaceItem ? dragSourceDisplacement != null ? dragSourceDisplacement : (localStrategy != null ? localStrategy : globalStrategy)({
|
|
294
|
+
rects: sortedRects,
|
|
295
|
+
activeNodeRect,
|
|
296
|
+
activeIndex,
|
|
297
|
+
overIndex,
|
|
298
|
+
index
|
|
299
|
+
}) : null;
|
|
300
|
+
const newIndex = isValidIndex(activeIndex) && isValidIndex(overIndex) ? getNewIndex({
|
|
301
|
+
id,
|
|
302
|
+
items,
|
|
303
|
+
activeIndex,
|
|
304
|
+
overIndex
|
|
305
|
+
}) : index;
|
|
306
|
+
const activeId = active == null ? void 0 : active.id;
|
|
307
|
+
const previous = (0, import_react.useRef)({
|
|
308
|
+
activeId,
|
|
309
|
+
items,
|
|
310
|
+
newIndex,
|
|
311
|
+
containerId
|
|
312
|
+
});
|
|
313
|
+
const itemsHaveChanged = items !== previous.current.items;
|
|
314
|
+
const shouldAnimateLayoutChanges = animateLayoutChanges({
|
|
315
|
+
active,
|
|
316
|
+
containerId,
|
|
317
|
+
isDragging,
|
|
318
|
+
isSorting,
|
|
319
|
+
id,
|
|
320
|
+
index,
|
|
321
|
+
items,
|
|
322
|
+
newIndex: previous.current.newIndex,
|
|
323
|
+
previousItems: previous.current.items,
|
|
324
|
+
previousContainerId: previous.current.containerId,
|
|
325
|
+
transition,
|
|
326
|
+
wasDragging: previous.current.activeId != null
|
|
327
|
+
});
|
|
328
|
+
const derivedTransform = useDerivedTransform({
|
|
329
|
+
disabled: !shouldAnimateLayoutChanges,
|
|
330
|
+
index,
|
|
331
|
+
node,
|
|
332
|
+
rect
|
|
333
|
+
});
|
|
334
|
+
(0, import_react.useEffect)(() => {
|
|
335
|
+
if (isSorting && previous.current.newIndex !== newIndex) previous.current.newIndex = newIndex;
|
|
336
|
+
if (containerId !== previous.current.containerId) previous.current.containerId = containerId;
|
|
337
|
+
if (items !== previous.current.items) previous.current.items = items;
|
|
338
|
+
}, [
|
|
339
|
+
isSorting,
|
|
340
|
+
newIndex,
|
|
341
|
+
containerId,
|
|
342
|
+
items
|
|
343
|
+
]);
|
|
344
|
+
(0, import_react.useEffect)(() => {
|
|
345
|
+
if (activeId === previous.current.activeId) return;
|
|
346
|
+
if (activeId != null && previous.current.activeId == null) {
|
|
347
|
+
previous.current.activeId = activeId;
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
const timeoutId = setTimeout(() => {
|
|
351
|
+
previous.current.activeId = activeId;
|
|
352
|
+
}, 50);
|
|
353
|
+
return () => clearTimeout(timeoutId);
|
|
354
|
+
}, [activeId]);
|
|
355
|
+
return {
|
|
356
|
+
active,
|
|
357
|
+
activeIndex,
|
|
358
|
+
attributes,
|
|
359
|
+
data,
|
|
360
|
+
rect,
|
|
361
|
+
index,
|
|
362
|
+
newIndex,
|
|
363
|
+
items,
|
|
364
|
+
isOver,
|
|
365
|
+
isSorting,
|
|
366
|
+
isDragging,
|
|
367
|
+
listeners,
|
|
368
|
+
node,
|
|
369
|
+
overIndex,
|
|
370
|
+
over,
|
|
371
|
+
setNodeRef,
|
|
372
|
+
setActivatorNodeRef,
|
|
373
|
+
setDroppableNodeRef,
|
|
374
|
+
setDraggableNodeRef,
|
|
375
|
+
transform: derivedTransform != null ? derivedTransform : finalTransform,
|
|
376
|
+
transition: getTransition()
|
|
377
|
+
};
|
|
378
|
+
function getTransition() {
|
|
379
|
+
if (derivedTransform || itemsHaveChanged && previous.current.newIndex === index) return disabledTransition;
|
|
380
|
+
if (shouldDisplaceDragSource && !isKeyboardEvent(activatorEvent) || !transition) return;
|
|
381
|
+
if (isSorting || shouldAnimateLayoutChanges) return CSS.Transition.toString({
|
|
382
|
+
...transition,
|
|
383
|
+
property: transitionProperty
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
function normalizeLocalDisabled(localDisabled, globalDisabled) {
|
|
388
|
+
var _localDisabled$dragga, _localDisabled$droppa;
|
|
389
|
+
if (typeof localDisabled === "boolean") return {
|
|
390
|
+
draggable: localDisabled,
|
|
391
|
+
droppable: false
|
|
392
|
+
};
|
|
393
|
+
return {
|
|
394
|
+
draggable: (_localDisabled$dragga = localDisabled == null ? void 0 : localDisabled.draggable) != null ? _localDisabled$dragga : globalDisabled.draggable,
|
|
395
|
+
droppable: (_localDisabled$droppa = localDisabled == null ? void 0 : localDisabled.droppable) != null ? _localDisabled$droppa : globalDisabled.droppable
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
KeyboardCode.Down, KeyboardCode.Right, KeyboardCode.Up, KeyboardCode.Left;
|
|
399
|
+
//#endregion
|
|
400
|
+
export { verticalListSortingStrategy as a, useSortable as i, arrayMove as n, horizontalListSortingStrategy as r, SortableContext as t };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
2
|
+
function escapeStringRegexp(string) {
|
|
3
|
+
if (typeof string !== "string") throw new TypeError("Expected a string");
|
|
4
|
+
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { escapeStringRegexp as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js
|
|
2
|
+
var nameRe = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u;
|
|
3
|
+
var nameReJsx = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u;
|
|
4
|
+
/** @type {Options} */
|
|
5
|
+
var emptyOptions = {};
|
|
6
|
+
/**
|
|
7
|
+
* Checks if the given value is a valid identifier name.
|
|
8
|
+
*
|
|
9
|
+
* @param {string} name
|
|
10
|
+
* Identifier to check.
|
|
11
|
+
* @param {Options | null | undefined} [options]
|
|
12
|
+
* Configuration (optional).
|
|
13
|
+
* @returns {boolean}
|
|
14
|
+
* Whether `name` can be an identifier.
|
|
15
|
+
*/
|
|
16
|
+
function name(name, options) {
|
|
17
|
+
return ((options || emptyOptions).jsx ? nameReJsx : nameRe).test(name);
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { name as t };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "../_runtime.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js
|
|
3
|
+
var require_extend = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
+
var hasOwn = Object.prototype.hasOwnProperty;
|
|
5
|
+
var toStr = Object.prototype.toString;
|
|
6
|
+
var defineProperty = Object.defineProperty;
|
|
7
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var isArray = function isArray(arr) {
|
|
9
|
+
if (typeof Array.isArray === "function") return Array.isArray(arr);
|
|
10
|
+
return toStr.call(arr) === "[object Array]";
|
|
11
|
+
};
|
|
12
|
+
var isPlainObject = function isPlainObject(obj) {
|
|
13
|
+
if (!obj || toStr.call(obj) !== "[object Object]") return false;
|
|
14
|
+
var hasOwnConstructor = hasOwn.call(obj, "constructor");
|
|
15
|
+
var hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, "isPrototypeOf");
|
|
16
|
+
if (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) return false;
|
|
17
|
+
var key;
|
|
18
|
+
for (key in obj);
|
|
19
|
+
return typeof key === "undefined" || hasOwn.call(obj, key);
|
|
20
|
+
};
|
|
21
|
+
var setProperty = function setProperty(target, options) {
|
|
22
|
+
if (defineProperty && options.name === "__proto__") defineProperty(target, options.name, {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
value: options.newValue,
|
|
26
|
+
writable: true
|
|
27
|
+
});
|
|
28
|
+
else target[options.name] = options.newValue;
|
|
29
|
+
};
|
|
30
|
+
var getProperty = function getProperty(obj, name) {
|
|
31
|
+
if (name === "__proto__") {
|
|
32
|
+
if (!hasOwn.call(obj, name)) return;
|
|
33
|
+
else if (gOPD) return gOPD(obj, name).value;
|
|
34
|
+
}
|
|
35
|
+
return obj[name];
|
|
36
|
+
};
|
|
37
|
+
module.exports = function extend() {
|
|
38
|
+
var options, name, src, copy, copyIsArray, clone;
|
|
39
|
+
var target = arguments[0];
|
|
40
|
+
var i = 1;
|
|
41
|
+
var length = arguments.length;
|
|
42
|
+
var deep = false;
|
|
43
|
+
if (typeof target === "boolean") {
|
|
44
|
+
deep = target;
|
|
45
|
+
target = arguments[1] || {};
|
|
46
|
+
i = 2;
|
|
47
|
+
}
|
|
48
|
+
if (target == null || typeof target !== "object" && typeof target !== "function") target = {};
|
|
49
|
+
for (; i < length; ++i) {
|
|
50
|
+
options = arguments[i];
|
|
51
|
+
if (options != null) for (name in options) {
|
|
52
|
+
src = getProperty(target, name);
|
|
53
|
+
copy = getProperty(options, name);
|
|
54
|
+
if (target !== copy) {
|
|
55
|
+
if (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {
|
|
56
|
+
if (copyIsArray) {
|
|
57
|
+
copyIsArray = false;
|
|
58
|
+
clone = src && isArray(src) ? src : [];
|
|
59
|
+
} else clone = src && isPlainObject(src) ? src : {};
|
|
60
|
+
setProperty(target, {
|
|
61
|
+
name,
|
|
62
|
+
newValue: extend(deep, clone, copy)
|
|
63
|
+
});
|
|
64
|
+
} else if (typeof copy !== "undefined") setProperty(target, {
|
|
65
|
+
name,
|
|
66
|
+
newValue: copy
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return target;
|
|
72
|
+
};
|
|
73
|
+
}));
|
|
74
|
+
//#endregion
|
|
75
|
+
export { require_extend as t };
|