@pubinfo-pr/devtools 0.171.2 → 0.171.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/Navbar-Dn_FwmwT.js +218 -0
- package/dist/client/assets/PanelGrids-Dr3Hj3fq.js +9 -0
- package/dist/client/assets/SelectTabs-DGbhp-SJ.js +171 -0
- package/dist/client/assets/component-BYcFX5o9.js +468 -0
- package/dist/client/assets/core-Deo0dKjJ.js +6012 -0
- package/dist/client/assets/css-D-vtiAqw.js +2 -0
- package/dist/client/assets/css-DbgpCiOq.js +2 -0
- package/dist/client/assets/engine-oniguruma-BR9-eBKQ.js +392 -0
- package/dist/client/assets/fetch-X85SI-zj.js +1112 -0
- package/dist/client/assets/html-C5tHi8hG.js +2 -0
- package/dist/client/assets/html-mHHj5Mh3.js +9 -0
- package/dist/client/assets/import-8bGFSBml.js +375 -0
- package/dist/client/assets/{index-r9fa78NA.css → index-C1hERR5y.css} +1 -1
- package/dist/client/assets/{index-BCCYVO0H.js → index-C74Jw2V-.js} +3461 -1728
- package/dist/client/assets/javascript-CZLwsMB1.js +2 -0
- package/dist/client/assets/javascript-DIagQh28.js +2 -0
- package/dist/client/assets/json-CzPoZe0r.js +2 -0
- package/dist/client/assets/json-WgRhEAOB.js +2 -0
- package/dist/client/assets/pages-Dj7OCD93.js +300 -0
- package/dist/client/assets/{server-router-6GvTqPc1.css → server-router-B1AB70as.css} +2 -2
- package/dist/client/assets/server-router-Byd0xUzV.js +2049 -0
- package/dist/client/assets/typescript-CzrZyZmM.js +2 -0
- package/dist/client/assets/typescript-DkhbmgdN.js +2 -0
- package/dist/client/assets/vue-Co3JBzx2.js +27 -0
- package/dist/client/assets/wasm-D0Echd05.js +5 -0
- package/dist/client/import.svg +1 -0
- package/dist/client/index.html +2 -2
- package/dist/dirs.mjs +3 -0
- package/dist/{index.js → index.mjs} +518 -170
- package/dist/panel/{index.js → index.mjs} +39 -3
- package/package.json +17 -17
- package/dist/client/assets/Navbar-f6u8nv1A.js +0 -190
- package/dist/client/assets/PanelGrids-B1uPlpXo.js +0 -8
- package/dist/client/assets/abap-BneqOAQn.js +0 -3
- package/dist/client/assets/actionscript-3-JJevXHHI.js +0 -3
- package/dist/client/assets/ada-Sz8xeSJ2.js +0 -3
- package/dist/client/assets/andromeeda-B43VcKOE.js +0 -2
- package/dist/client/assets/angular-html-C_XNpd6d.js +0 -5
- package/dist/client/assets/angular-html-xcXDdDxt.js +0 -23
- package/dist/client/assets/angular-ts-DD9ACpiD.js +0 -24
- package/dist/client/assets/apache-CH7oaL9w.js +0 -3
- package/dist/client/assets/apex-BpA7UqIt.js +0 -3
- package/dist/client/assets/apl-DmHUHJpj.js +0 -16
- package/dist/client/assets/applescript-CINTpQFD.js +0 -3
- package/dist/client/assets/ara-C4GBn5cG.js +0 -3
- package/dist/client/assets/asciidoc-CRs92jJ9.js +0 -3
- package/dist/client/assets/asm-Dcn9XRtC.js +0 -3
- package/dist/client/assets/astro-DDh1X0zj.js +0 -17
- package/dist/client/assets/aurora-x-Blua-2Ng.js +0 -2
- package/dist/client/assets/awk-i3TwHhsk.js +0 -3
- package/dist/client/assets/ayu-dark-rqcwfyq7.js +0 -2
- package/dist/client/assets/ballerina-XubCZIu_.js +0 -3
- package/dist/client/assets/bat-CJDZmMbE.js +0 -3
- package/dist/client/assets/beancount-Bz84L4pZ.js +0 -3
- package/dist/client/assets/berry-CPchONJa.js +0 -3
- package/dist/client/assets/bibtex-DVvKgGnw.js +0 -3
- package/dist/client/assets/bicep-AnktATo6.js +0 -3
- package/dist/client/assets/blade-DSiefmOm.js +0 -20
- package/dist/client/assets/bsl-B5rPHHQR.js +0 -4
- package/dist/client/assets/c-vo15i6HS.js +0 -3
- package/dist/client/assets/c-z_CBvR-7.js +0 -2
- package/dist/client/assets/cadence-ClJ3N6y1.js +0 -3
- package/dist/client/assets/cairo-CibIWXXr.js +0 -4
- package/dist/client/assets/catppuccin-frappe-DZStY-Pp.js +0 -2
- package/dist/client/assets/catppuccin-latte-DN5l0gng.js +0 -2
- package/dist/client/assets/catppuccin-macchiato-CQ07VMBV.js +0 -2
- package/dist/client/assets/catppuccin-mocha-BZQavwvR.js +0 -2
- package/dist/client/assets/clarity-2rxwVrD_.js +0 -3
- package/dist/client/assets/clojure-C0jiC_f1.js +0 -3
- package/dist/client/assets/cmake-es1DOjpX.js +0 -3
- package/dist/client/assets/cmake-hgeKAf6L.js +0 -2
- package/dist/client/assets/cobol-D4I6b-S-.js +0 -11
- package/dist/client/assets/codeowners-DQKqJDHd.js +0 -3
- package/dist/client/assets/codeql-Dz54F1mo.js +0 -3
- package/dist/client/assets/coffee-De9Ahhbk.js +0 -4
- package/dist/client/assets/common-lisp-DMXHEDsU.js +0 -3
- package/dist/client/assets/component-CAiGJCHL.js +0 -517
- package/dist/client/assets/coq-B3EyCE2_.js +0 -3
- package/dist/client/assets/cpp-BZS_uuBN.js +0 -6
- package/dist/client/assets/cpp-DQfrxaSK.js +0 -19
- package/dist/client/assets/crystal-DPw2ul3_.js +0 -17
- package/dist/client/assets/csharp-9SPrJBrf.js +0 -3
- package/dist/client/assets/csharp-C36TKsxo.js +0 -2
- package/dist/client/assets/css-BIIpc795.js +0 -3
- package/dist/client/assets/css-DR-9FJvj.js +0 -2
- package/dist/client/assets/csv-De8OeUXw.js +0 -3
- package/dist/client/assets/cue-bqy7mysW.js +0 -3
- package/dist/client/assets/cypher-CnGGPPF8.js +0 -3
- package/dist/client/assets/d-_v-0qIMo.js +0 -3
- package/dist/client/assets/dark-plus-B5VW4UtG.js +0 -2
- package/dist/client/assets/dart-D7mvjjnO.js +0 -3
- package/dist/client/assets/dax-id_v9k01.js +0 -3
- package/dist/client/assets/desktop-C63sB2uB.js +0 -3
- package/dist/client/assets/diff-B5GyjU4M.js +0 -3
- package/dist/client/assets/diff-DaXl9_BL.js +0 -2
- package/dist/client/assets/docker-5gOQFWt6.js +0 -3
- package/dist/client/assets/dotenv-CBz9ZAVs.js +0 -3
- package/dist/client/assets/dracula-CVkeaATE.js +0 -2
- package/dist/client/assets/dracula-soft-CMoFpNDM.js +0 -2
- package/dist/client/assets/dream-maker-DA2xoZVW.js +0 -3
- package/dist/client/assets/edge-Rvj64lc9.js +0 -13
- package/dist/client/assets/elixir-CoeM723j.js +0 -6
- package/dist/client/assets/elm-Bd7OM9qn.js +0 -5
- package/dist/client/assets/emacs-lisp-BegAz5NS.js +0 -3
- package/dist/client/assets/erb-MtET9AJK.js +0 -26
- package/dist/client/assets/erlang-C2LMbUyn.js +0 -4
- package/dist/client/assets/everforest-dark-7_cjN5Ls.js +0 -2
- package/dist/client/assets/everforest-light-CZ9uP19Z.js +0 -2
- package/dist/client/assets/fennel-CD-2iDIW.js +0 -3
- package/dist/client/assets/fetch-Vqmvg8bB.js +0 -969
- package/dist/client/assets/fish-Dg2ABucE.js +0 -3
- package/dist/client/assets/fluent-DVPJ3-hM.js +0 -3
- package/dist/client/assets/fortran-fixed-form-2tZ26fHw.js +0 -4
- package/dist/client/assets/fortran-free-form-1RD0EiW1.js +0 -3
- package/dist/client/assets/fortran-free-form-DHi82dZv.js +0 -2
- package/dist/client/assets/fsharp-BLIM__N6.js +0 -4
- package/dist/client/assets/gdresource-BqLhMx8o.js +0 -9
- package/dist/client/assets/gdscript-Bf4AGzTd.js +0 -2
- package/dist/client/assets/gdscript-Ct_7YOkG.js +0 -3
- package/dist/client/assets/gdshader-D8eohhwr.js +0 -2
- package/dist/client/assets/gdshader-DirlFY6X.js +0 -3
- package/dist/client/assets/genie-AuuHiNUM.js +0 -3
- package/dist/client/assets/gherkin-DFKTJFbA.js +0 -3
- package/dist/client/assets/git-commit-CuACZQ6M.js +0 -4
- package/dist/client/assets/git-rebase-BpEGiwgf.js +0 -4
- package/dist/client/assets/github-dark-CPRAlY9A.js +0 -2
- package/dist/client/assets/github-dark-default-CZbASOwg.js +0 -2
- package/dist/client/assets/github-dark-dimmed-DhBVNpZK.js +0 -2
- package/dist/client/assets/github-dark-high-contrast-Sr2JvhDL.js +0 -2
- package/dist/client/assets/github-light-default-CcwDY4o-.js +0 -2
- package/dist/client/assets/github-light-high-contrast-DiYFdlG4.js +0 -2
- package/dist/client/assets/github-light-nsZZ__b4.js +0 -2
- package/dist/client/assets/gleam-BHyqnKuN.js +0 -3
- package/dist/client/assets/glimmer-js-BYOiNDSp.js +0 -13
- package/dist/client/assets/glimmer-ts-DQ3A-M4A.js +0 -13
- package/dist/client/assets/glsl-B38FqIrO.js +0 -4
- package/dist/client/assets/glsl-xv19v6C3.js +0 -3
- package/dist/client/assets/gnuplot-BLvFISGO.js +0 -3
- package/dist/client/assets/go-C3PtlDL7.js +0 -2
- package/dist/client/assets/go-DdZjW6By.js +0 -3
- package/dist/client/assets/graphql-DazeCgwe.js +0 -13
- package/dist/client/assets/graphql-v1D07dEi.js +0 -6
- package/dist/client/assets/groovy-cVQ6ZwgN.js +0 -3
- package/dist/client/assets/gruvbox-dark-hard-BAs6lRWB.js +0 -2
- package/dist/client/assets/gruvbox-dark-medium-3GYOc_7i.js +0 -2
- package/dist/client/assets/gruvbox-dark-soft-CLjRrw1t.js +0 -2
- package/dist/client/assets/gruvbox-light-hard-B5pDyJmT.js +0 -2
- package/dist/client/assets/gruvbox-light-medium-Czo7iHvp.js +0 -2
- package/dist/client/assets/gruvbox-light-soft-MdVOuSwf.js +0 -2
- package/dist/client/assets/hack-AkEaSIiG.js +0 -11
- package/dist/client/assets/haml-12DF4L6t.js +0 -4
- package/dist/client/assets/haml-D7SdiIb2.js +0 -9
- package/dist/client/assets/handlebars-BF5SsGSc.js +0 -13
- package/dist/client/assets/haskell-Btp_MfgK.js +0 -3
- package/dist/client/assets/haxe-BRg8mBSK.js +0 -3
- package/dist/client/assets/haxe-qVl2C22S.js +0 -2
- package/dist/client/assets/hcl-CApdjmWo.js +0 -3
- package/dist/client/assets/hjson-B8yyLN8N.js +0 -3
- package/dist/client/assets/hlsl-7q7KfwR3.js +0 -2
- package/dist/client/assets/hlsl-DWQGecR0.js +0 -3
- package/dist/client/assets/houston-Dq9ylkJH.js +0 -2
- package/dist/client/assets/html-CygGKEU-.js +0 -9
- package/dist/client/assets/html-XPHP1ctB.js +0 -4
- package/dist/client/assets/html-derivative-BRUyLBYr.js +0 -5
- package/dist/client/assets/html-derivative-CDHXe1rc.js +0 -4
- package/dist/client/assets/http-BTiGLdVM.js +0 -18
- package/dist/client/assets/hxml-eH6B7Ggs.js +0 -4
- package/dist/client/assets/hy-BeCIpdlw.js +0 -3
- package/dist/client/assets/imba-DpPztiU8.js +0 -3
- package/dist/client/assets/ini-DebGZPuX.js +0 -3
- package/dist/client/assets/java-CSuGW7pk.js +0 -3
- package/dist/client/assets/java-JqMAxu8h.js +0 -2
- package/dist/client/assets/javascript-D8V2UVzz.js +0 -3
- package/dist/client/assets/javascript-LJ6D4L7Q.js +0 -2
- package/dist/client/assets/jinja-DPlrL6lm.js +0 -8
- package/dist/client/assets/jison-0ZlyxLzz.js +0 -4
- package/dist/client/assets/json-DiZTWJxw.js +0 -2
- package/dist/client/assets/json-N1bXK1S4.js +0 -3
- package/dist/client/assets/json5-BJHJ0To6.js +0 -3
- package/dist/client/assets/jsonc-BRhkMZMN.js +0 -3
- package/dist/client/assets/jsonl-Dqt2JMW8.js +0 -3
- package/dist/client/assets/jsonnet-f3ibr2Yq.js +0 -3
- package/dist/client/assets/jssm-Cnr_fb09.js +0 -3
- package/dist/client/assets/jsx-BcRPVPD9.js +0 -3
- package/dist/client/assets/jsx-kOdHP25g.js +0 -2
- package/dist/client/assets/julia-BSZQ7UdI.js +0 -18
- package/dist/client/assets/kanagawa-dragon-BV9Zk8qt.js +0 -2
- package/dist/client/assets/kanagawa-lotus-Axn-Auo6.js +0 -2
- package/dist/client/assets/kanagawa-wave-DUnLhLrF.js +0 -2
- package/dist/client/assets/kotlin-B35H-nQ1.js +0 -3
- package/dist/client/assets/kusto-JpEPj3V4.js +0 -3
- package/dist/client/assets/laserwave-DiD8Onb6.js +0 -2
- package/dist/client/assets/latex-eg89ZWIS.js +0 -5
- package/dist/client/assets/lean-CI_7uWok.js +0 -3
- package/dist/client/assets/less-DYcvZ1vs.js +0 -3
- package/dist/client/assets/less-DyvK2mij.js +0 -2
- package/dist/client/assets/light-plus-m_bgcHIo.js +0 -2
- package/dist/client/assets/liquid-ChIPyGY6.js +0 -13
- package/dist/client/assets/llvm-ClGsJD4P.js +0 -3
- package/dist/client/assets/log-BUigt4UI.js +0 -3
- package/dist/client/assets/logo-BCINIXU4.js +0 -3
- package/dist/client/assets/lua-DE8lfN39.js +0 -4
- package/dist/client/assets/lua-DmTtkYij.js +0 -3
- package/dist/client/assets/luau-BZzhLdC_.js +0 -3
- package/dist/client/assets/make-kRm5bKuA.js +0 -3
- package/dist/client/assets/markdown-6PLSK6_0.js +0 -3
- package/dist/client/assets/markdown-mlSUc649.js +0 -2
- package/dist/client/assets/marko-DgW77q7w.js +0 -13
- package/dist/client/assets/material-theme-darker-C4z_i_mu.js +0 -2
- package/dist/client/assets/material-theme-kKgGr_7i.js +0 -2
- package/dist/client/assets/material-theme-lighter-DbQ48hUl.js +0 -2
- package/dist/client/assets/material-theme-ocean-CpswQGq-.js +0 -2
- package/dist/client/assets/material-theme-palenight-B9YdP00v.js +0 -2
- package/dist/client/assets/matlab-DFqu3muE.js +0 -3
- package/dist/client/assets/mdc-D-3CUGp6.js +0 -14
- package/dist/client/assets/mdx-CDUtDhJ1.js +0 -3
- package/dist/client/assets/mermaid-J0yr3y0m.js +0 -3
- package/dist/client/assets/min-dark-fcEqhRpI.js +0 -2
- package/dist/client/assets/min-light-DWVresoN.js +0 -2
- package/dist/client/assets/mipsasm-5ppLD5jH.js +0 -3
- package/dist/client/assets/mojo-Bk5yI3fr.js +0 -3
- package/dist/client/assets/monokai-BN_TBhb9.js +0 -2
- package/dist/client/assets/move-XM2padQY.js +0 -3
- package/dist/client/assets/narrat-C6VnUWXS.js +0 -3
- package/dist/client/assets/nextflow-sVcVU_R2.js +0 -3
- package/dist/client/assets/nginx-CtF2jNry.js +0 -5
- package/dist/client/assets/night-owl-B29_KAmr.js +0 -2
- package/dist/client/assets/nim-TErUbZAu.js +0 -20
- package/dist/client/assets/nix-YSTOikLh.js +0 -3
- package/dist/client/assets/nord-DH5uOgoE.js +0 -2
- package/dist/client/assets/nushell-stskKkpE.js +0 -3
- package/dist/client/assets/objective-c-BNhcDvrR.js +0 -3
- package/dist/client/assets/objective-cpp-H1Owc-ej.js +0 -3
- package/dist/client/assets/ocaml-BDFFD8DR.js +0 -3
- package/dist/client/assets/one-dark-pro-Hhca3JzB.js +0 -2
- package/dist/client/assets/one-light-CkAyoF0j.js +0 -2
- package/dist/client/assets/pages-Bx84dNCY.js +0 -239
- package/dist/client/assets/pascal-datMNmKx.js +0 -3
- package/dist/client/assets/perl-BBy5Zwm3.js +0 -16
- package/dist/client/assets/php-BxmWfIjG.js +0 -17
- package/dist/client/assets/php-Dwoa08mV.js +0 -9
- package/dist/client/assets/plastic-1ETRJ1D-.js +0 -2
- package/dist/client/assets/plsql-DdbZbPNj.js +0 -3
- package/dist/client/assets/po-C6c1vTCK.js +0 -3
- package/dist/client/assets/poimandres-CnlY1rVk.js +0 -2
- package/dist/client/assets/polar-2mcakGk2.js +0 -3
- package/dist/client/assets/postcss-DRXKdNvs.js +0 -3
- package/dist/client/assets/postcss-mk7NO3GE.js +0 -2
- package/dist/client/assets/powerquery-Bskx_J2g.js +0 -3
- package/dist/client/assets/powershell-BDMMRQG8.js +0 -3
- package/dist/client/assets/prisma-B9kjRwd3.js +0 -3
- package/dist/client/assets/prolog-krySb6Vx.js +0 -3
- package/dist/client/assets/proto-BaKE0120.js +0 -3
- package/dist/client/assets/pug-_0lXH97N.js +0 -11
- package/dist/client/assets/puppet-Do5i4j8B.js +0 -3
- package/dist/client/assets/purescript-BRN1yDPC.js +0 -3
- package/dist/client/assets/python-CSI6xDEM.js +0 -3
- package/dist/client/assets/python-wZG5a_HU.js +0 -2
- package/dist/client/assets/qml-BbSTJdwY.js +0 -4
- package/dist/client/assets/qmldir-CH4NwF2P.js +0 -3
- package/dist/client/assets/qss-Dy8PrTp1.js +0 -3
- package/dist/client/assets/r-B4QMIUOL.js +0 -3
- package/dist/client/assets/r-C_0je1kM.js +0 -2
- package/dist/client/assets/racket-wuRvcgGp.js +0 -3
- package/dist/client/assets/raku-DsVSEccV.js +0 -3
- package/dist/client/assets/razor-B-gWLra0.js +0 -11
- package/dist/client/assets/red-CSHNpN1R.js +0 -2
- package/dist/client/assets/reg-DYEGF8g9.js +0 -3
- package/dist/client/assets/regexp-BV7LsrGP.js +0 -2
- package/dist/client/assets/regexp-BYt9QUJK.js +0 -3
- package/dist/client/assets/rel-B2-IkXcx.js +0 -3
- package/dist/client/assets/riscv-DVzb-nnG.js +0 -3
- package/dist/client/assets/rose-pine-CpIPLGs4.js +0 -2
- package/dist/client/assets/rose-pine-dawn-BruRtD0n.js +0 -2
- package/dist/client/assets/rose-pine-moon-CuLUPl8L.js +0 -2
- package/dist/client/assets/rst-vq3PUEe9.js +0 -35
- package/dist/client/assets/ruby-Py1CEke6.js +0 -29
- package/dist/client/assets/ruby-djifmDsY.js +0 -20
- package/dist/client/assets/rust-DIxn70Bc.js +0 -3
- package/dist/client/assets/sas-Crv05x8i.js +0 -4
- package/dist/client/assets/sass-PfnQUa_g.js +0 -3
- package/dist/client/assets/scala-BBzrXTKG.js +0 -3
- package/dist/client/assets/scheme-YR9NA8ZM.js +0 -3
- package/dist/client/assets/scss-Cl-VEz3E.js +0 -3
- package/dist/client/assets/scss-Cw2rR0Nw.js +0 -4
- package/dist/client/assets/sdbl-ZdJzdy9k.js +0 -2
- package/dist/client/assets/sdbl-t_ZuHY19.js +0 -3
- package/dist/client/assets/server-router-DLDLUF9W.js +0 -8698
- package/dist/client/assets/shaderlab-BhQ9G_fS.js +0 -4
- package/dist/client/assets/shellscript-3NHz9REQ.js +0 -2
- package/dist/client/assets/shellscript-DudglamS.js +0 -3
- package/dist/client/assets/shellsession-GL5OwgNh.js +0 -4
- package/dist/client/assets/slack-dark-D6KJ2ZHk.js +0 -2
- package/dist/client/assets/slack-ochin-CgGPHUxy.js +0 -2
- package/dist/client/assets/smalltalk-9xhKYkIL.js +0 -3
- package/dist/client/assets/snazzy-light-CYNZ3aPZ.js +0 -2
- package/dist/client/assets/solarized-dark-C-DYAQzw.js +0 -2
- package/dist/client/assets/solarized-light-klFMqjBj.js +0 -2
- package/dist/client/assets/solidity-Ozd5FRLq.js +0 -3
- package/dist/client/assets/soy-DWTMTRvm.js +0 -6
- package/dist/client/assets/sparql-Bhv-NULD.js +0 -4
- package/dist/client/assets/splunk-BeKRTE5f.js +0 -3
- package/dist/client/assets/sql-BNXsYZV2.js +0 -3
- package/dist/client/assets/sql-D9X2mMUX.js +0 -2
- package/dist/client/assets/ssh-config-CrEKc8er.js +0 -3
- package/dist/client/assets/stata-BlmwGy5v.js +0 -4
- package/dist/client/assets/stylus-BwRZfacm.js +0 -3
- package/dist/client/assets/stylus-CltJUoH-.js +0 -2
- package/dist/client/assets/svelte-Cz0fJMJu.js +0 -13
- package/dist/client/assets/swift-BCxbwyiK.js +0 -3
- package/dist/client/assets/synthwave-84-DrmUwzTK.js +0 -2
- package/dist/client/assets/system-verilog-BxAPtrDd.js +0 -3
- package/dist/client/assets/systemd-BUuSsiDV.js +0 -3
- package/dist/client/assets/talonscript-Cuu-B8IR.js +0 -3
- package/dist/client/assets/tasl-i94Nm9X2.js +0 -3
- package/dist/client/assets/tcl-JtwPeyJe.js +0 -3
- package/dist/client/assets/templ-DJEM4Dsn.js +0 -11
- package/dist/client/assets/terraform-H_gFhmGE.js +0 -3
- package/dist/client/assets/tex-V5JgLFQ3.js +0 -4
- package/dist/client/assets/tex-k6SW7rO1.js +0 -3
- package/dist/client/assets/tokyo-night-DJ3fbRL-.js +0 -2
- package/dist/client/assets/toml-Czn4TMmG.js +0 -3
- package/dist/client/assets/ts-tags-DftD3xuW.js +0 -49
- package/dist/client/assets/tsv-D7JVv6cM.js +0 -3
- package/dist/client/assets/tsx-B7G7qOdJ.js +0 -2
- package/dist/client/assets/tsx-CSxn0co8.js +0 -3
- package/dist/client/assets/turtle-Bg9WlzE1.js +0 -2
- package/dist/client/assets/turtle-gL243zka.js +0 -3
- package/dist/client/assets/twig-BH71GbCE.js +0 -34
- package/dist/client/assets/typescript-D838FC1-.js +0 -2
- package/dist/client/assets/typescript-Dx74cANe.js +0 -3
- package/dist/client/assets/typespec-ChNe-9Bn.js +0 -3
- package/dist/client/assets/typst-lzp37gIG.js +0 -3
- package/dist/client/assets/v-pJSB2935.js +0 -3
- package/dist/client/assets/vala-DQwyfTuQ.js +0 -3
- package/dist/client/assets/vb-DG-y450E.js +0 -3
- package/dist/client/assets/verilog-CGyXGbfs.js +0 -3
- package/dist/client/assets/vesper-onTZvQE4.js +0 -2
- package/dist/client/assets/vhdl-Bmc1tQry.js +0 -3
- package/dist/client/assets/viml-HNAopjhZ.js +0 -3
- package/dist/client/assets/vitesse-black-Dpu_nmGn.js +0 -2
- package/dist/client/assets/vue-CtiaKG90.js +0 -29
- package/dist/client/assets/vue-TeT-q0PM.js +0 -8
- package/dist/client/assets/vue-html-Dn0drGR_.js +0 -14
- package/dist/client/assets/vue-vine-Cl9MyVkQ.js +0 -23
- package/dist/client/assets/vyper-BcdH-HiN.js +0 -3
- package/dist/client/assets/wasm-B7JigFSi.js +0 -3
- package/dist/client/assets/wasm-CGqR8-aw.js +0 -5
- package/dist/client/assets/wenyan-BTFknrNi.js +0 -3
- package/dist/client/assets/wgsl-BPUHKtQI.js +0 -3
- package/dist/client/assets/wikitext-DUrIafj7.js +0 -3
- package/dist/client/assets/wit-CQC-whBg.js +0 -3
- package/dist/client/assets/wolfram-DNZpEQsI.js +0 -3
- package/dist/client/assets/xml-CbEHzi2l.js +0 -3
- package/dist/client/assets/xml-DNc0do_Y.js +0 -4
- package/dist/client/assets/xsl-HF12enVp.js +0 -5
- package/dist/client/assets/yaml-C44YtPPc.js +0 -2
- package/dist/client/assets/yaml-QnybJTzt.js +0 -3
- package/dist/client/assets/zenscript-CK7CgSxa.js +0 -3
- package/dist/client/assets/zig-CHGlMKvF.js +0 -3
- package/dist/dirs.js +0 -3
- /package/dist/client/assets/{vitesse-dark-COIKPj8_.js → vitesse-dark-Bz6RXfkV.js} +0 -0
- /package/dist/client/assets/{vitesse-light-BGqXUuET.js → vitesse-light-NvDlvJl2.js} +0 -0
- /package/dist/{constants.d.ts → constants.d.mts} +0 -0
- /package/dist/{constants.js → constants.mjs} +0 -0
- /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
- /package/dist/{dirs2.js → dirs2.mjs} +0 -0
- /package/dist/{index.d.ts → index.d.mts} +0 -0
- /package/dist/panel/{index.d.ts → index.d.mts} +0 -0
|
@@ -1,517 +0,0 @@
|
|
|
1
|
-
import { A as onBeforeUnmount, C as openBlock, E as renderList, F as renderSlot, G as resolveComponent, N as withCtx, O as withDirectives, S as isRef, W as ref, a1 as unref, a2 as normalizeClass, a4 as toDisplayString, g as vModelRadio, j as Fragment, l as computed, m as createBaseVNode, n as createBlock, o as createCommentVNode, p as createElementBlock, r as createTextVNode, s as createVNode, t as defineComponent } from "./index-BCCYVO0H.js";
|
|
2
|
-
import { b as Navbar_default, d as Button_default, e as SectionBlock_default, f as Icon_default } from "./Navbar-f6u8nv1A.js";
|
|
3
|
-
import { c as componentUsageFetch, f as Badge_default, j as useClipboard, m as useVModel } from "./fetch-Vqmvg8bB.js";
|
|
4
|
-
const OPEN_IN_EDITOR_ENDPOINT = "/__open-in-editor";
|
|
5
|
-
function normalizeFilepath(file) {
|
|
6
|
-
return file.replace(/\\/g, "/");
|
|
7
|
-
}
|
|
8
|
-
function buildEditorRequestPath(file, line, column) {
|
|
9
|
-
const normalized = normalizeFilepath(file);
|
|
10
|
-
if (line == null) return normalized;
|
|
11
|
-
const safeLine = Number.isFinite(line) ? Math.max(1, Math.round(line)) : 1, safeColumn = column != null && Number.isFinite(column) ? Math.max(1, Math.round(column)) : 1;
|
|
12
|
-
return `${normalized}:${safeLine}:${safeColumn}`;
|
|
13
|
-
}
|
|
14
|
-
async function openInEditor(file, line, column) {
|
|
15
|
-
if (!file) return false;
|
|
16
|
-
const requestPath = buildEditorRequestPath(file, line, column), url = `${OPEN_IN_EDITOR_ENDPOINT}?file=${encodeURIComponent(requestPath)}`;
|
|
17
|
-
try {
|
|
18
|
-
const response = await fetch(url, {
|
|
19
|
-
method: "GET",
|
|
20
|
-
headers: { "Content-Type": "application/json" }
|
|
21
|
-
});
|
|
22
|
-
if (!response.ok) {
|
|
23
|
-
const errorText = await response.text().catch(() => "");
|
|
24
|
-
throw new Error(errorText || `Request failed with status ${response.status}`);
|
|
25
|
-
}
|
|
26
|
-
return true;
|
|
27
|
-
} catch (error) {
|
|
28
|
-
return console.error("Failed to open file in editor:", error), false;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
const _hoisted_1$5 = { class: "flex gap-2 items-center group" }, _hoisted_2$4 = ["title"], _hoisted_3$3 = {
|
|
32
|
-
key: 0,
|
|
33
|
-
class: "flex gap-1 pr-2 op-0 group-hover:op-100"
|
|
34
|
-
}, _hoisted_4$2 = ["title"], _hoisted_5$2 = ["title"];
|
|
35
|
-
var FilepathItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
36
|
-
__name: "FilepathItem",
|
|
37
|
-
props: {
|
|
38
|
-
filepath: {},
|
|
39
|
-
lineBreak: { type: Boolean },
|
|
40
|
-
subpath: { type: Boolean },
|
|
41
|
-
override: {},
|
|
42
|
-
line: {},
|
|
43
|
-
column: {}
|
|
44
|
-
},
|
|
45
|
-
setup(__props) {
|
|
46
|
-
const props = __props, normalizedPath = computed(() => props.filepath?.replace(/\\/g, "/") ?? ""), shortenedPath = computed(() => {
|
|
47
|
-
const path = normalizedPath.value;
|
|
48
|
-
if (!path) return "";
|
|
49
|
-
const marker = "/src/", markerIndex = path.indexOf(marker);
|
|
50
|
-
if (markerIndex >= 0) return path.slice(markerIndex + 1);
|
|
51
|
-
const directSrcIndex = path.indexOf("src/");
|
|
52
|
-
return directSrcIndex >= 0 ? path.slice(directSrcIndex) : path;
|
|
53
|
-
}), displayValue = computed(() => props.override || shortenedPath.value), titleValue = computed(() => props.override || normalizedPath.value || ""), { copy: copyToClipboard } = useClipboard({ legacy: true }), copyState = ref("idle");
|
|
54
|
-
let resetHandle;
|
|
55
|
-
const copyTooltip = computed(() => {
|
|
56
|
-
return copyState.value === "copied" ? "Copied path" : copyState.value === "error" ? "Failed to copy" : "Copy path";
|
|
57
|
-
}), openTooltip = computed(() => {
|
|
58
|
-
if (typeof props.line === "number" && props.line > 0) {
|
|
59
|
-
const column = typeof props.column === "number" && props.column > 0 ? props.column : 1;
|
|
60
|
-
return `Open in editor (${props.line}:${column})`;
|
|
61
|
-
}
|
|
62
|
-
return "Open in editor";
|
|
63
|
-
}), copyIcon = computed(() => {
|
|
64
|
-
return copyState.value === "copied" ? "i-carbon-checkmark" : copyState.value === "error" ? "i-carbon-warning-alt" : "i-carbon-copy";
|
|
65
|
-
});
|
|
66
|
-
function scheduleReset() {
|
|
67
|
-
if (resetHandle) clearTimeout(resetHandle);
|
|
68
|
-
resetHandle = setTimeout(() => {
|
|
69
|
-
copyState.value = "idle", resetHandle = void 0;
|
|
70
|
-
}, 2e3);
|
|
71
|
-
}
|
|
72
|
-
async function copyFilepath() {
|
|
73
|
-
if (normalizedPath.value) try {
|
|
74
|
-
await copyToClipboard(normalizedPath.value), copyState.value = "copied";
|
|
75
|
-
} catch (error) {
|
|
76
|
-
console.error("Failed to copy file path:", error), copyState.value = "error";
|
|
77
|
-
} finally {
|
|
78
|
-
scheduleReset();
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
async function handleOpenInEditor() {
|
|
82
|
-
normalizedPath.value && await openInEditor(normalizedPath.value, props.line, props.column);
|
|
83
|
-
}
|
|
84
|
-
return onBeforeUnmount(() => {
|
|
85
|
-
if (resetHandle) clearTimeout(resetHandle);
|
|
86
|
-
}), (_ctx, _cache) => {
|
|
87
|
-
return openBlock(), createElementBlock("span", _hoisted_1$5, [
|
|
88
|
-
createBaseVNode("span", {
|
|
89
|
-
class: normalizeClass([_ctx.lineBreak ? "" : "ws-nowrap of-hidden truncate"]),
|
|
90
|
-
"font-mono": "",
|
|
91
|
-
title: titleValue.value
|
|
92
|
-
}, toDisplayString(displayValue.value), 11, _hoisted_2$4),
|
|
93
|
-
renderSlot(_ctx.$slots, "default"),
|
|
94
|
-
_ctx.filepath ? (openBlock(), createElementBlock("div", _hoisted_3$3, [createBaseVNode("button", {
|
|
95
|
-
class: "text-sm op-40 hover:op-100 hover:text-primary",
|
|
96
|
-
type: "button",
|
|
97
|
-
title: openTooltip.value,
|
|
98
|
-
onClick: handleOpenInEditor
|
|
99
|
-
}, _cache[0] || (_cache[0] = [createBaseVNode("div", { class: "i-carbon-script-reference" }, null, -1)]), 8, _hoisted_4$2), createBaseVNode("button", {
|
|
100
|
-
class: "text-sm op-40 hover:op-100 hover:text-primary",
|
|
101
|
-
type: "button",
|
|
102
|
-
title: copyTooltip.value,
|
|
103
|
-
onClick: copyFilepath
|
|
104
|
-
}, [createBaseVNode("div", { class: normalizeClass(copyIcon.value) }, null, 2)], 8, _hoisted_5$2)])) : createCommentVNode("", true)
|
|
105
|
-
]);
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
}), FilepathItem_default = FilepathItem_vue_vue_type_script_setup_true_lang_default;
|
|
109
|
-
const NUMBER_CHAR_RE = /\d/, STR_SPLITTERS = [
|
|
110
|
-
"-",
|
|
111
|
-
"_",
|
|
112
|
-
"/",
|
|
113
|
-
"."
|
|
114
|
-
];
|
|
115
|
-
function isUppercase(char = "") {
|
|
116
|
-
return NUMBER_CHAR_RE.test(char) ? void 0 : char !== char.toLowerCase();
|
|
117
|
-
}
|
|
118
|
-
function splitByCase(str, separators) {
|
|
119
|
-
const splitters = separators ?? STR_SPLITTERS, parts = [];
|
|
120
|
-
if (!str || typeof str !== "string") return parts;
|
|
121
|
-
let buff = "", previousUpper, previousSplitter;
|
|
122
|
-
for (const char of str) {
|
|
123
|
-
const isSplitter = splitters.includes(char);
|
|
124
|
-
if (isSplitter === true) {
|
|
125
|
-
parts.push(buff), buff = "", previousUpper = void 0;
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
const isUpper = isUppercase(char);
|
|
129
|
-
if (previousSplitter === false) {
|
|
130
|
-
if (previousUpper === false && isUpper === true) {
|
|
131
|
-
parts.push(buff), buff = char, previousUpper = isUpper;
|
|
132
|
-
continue;
|
|
133
|
-
}
|
|
134
|
-
if (previousUpper === true && isUpper === false && buff.length > 1) {
|
|
135
|
-
const lastChar = buff.at(-1);
|
|
136
|
-
parts.push(buff.slice(0, Math.max(0, buff.length - 1))), buff = lastChar + char, previousUpper = isUpper;
|
|
137
|
-
continue;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
buff += char, previousUpper = isUpper, previousSplitter = isSplitter;
|
|
141
|
-
}
|
|
142
|
-
return parts.push(buff), parts;
|
|
143
|
-
}
|
|
144
|
-
function upperFirst(str) {
|
|
145
|
-
return str ? str[0].toUpperCase() + str.slice(1) : "";
|
|
146
|
-
}
|
|
147
|
-
function pascalCase(str, opts) {
|
|
148
|
-
return str ? (Array.isArray(str) ? str : splitByCase(str)).map((p) => upperFirst(opts?.normalize ? p.toLowerCase() : p)).join("") : "";
|
|
149
|
-
}
|
|
150
|
-
const _hoisted_1$4 = { class: "text-sm font-mono" };
|
|
151
|
-
var ComponentName_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
152
|
-
__name: "ComponentName",
|
|
153
|
-
props: { component: {} },
|
|
154
|
-
setup(__props) {
|
|
155
|
-
const props = __props, name = computed(() => props.component.pascalName || pascalCase(props.component.name || props.component.kebabName || ""));
|
|
156
|
-
return (_ctx, _cache) => {
|
|
157
|
-
return openBlock(), createElementBlock("code", _hoisted_1$4, [
|
|
158
|
-
_cache[0] || (_cache[0] = createBaseVNode("span", { class: "mr1 op20" }, "<", -1)),
|
|
159
|
-
createTextVNode(toDisplayString(name.value), 1),
|
|
160
|
-
_cache[1] || (_cache[1] = createBaseVNode("span", { class: "ml1 op20" }, "/>", -1))
|
|
161
|
-
]);
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
}), ComponentName_default = ComponentName_vue_vue_type_script_setup_true_lang_default;
|
|
165
|
-
const _hoisted_1$3 = { class: "flex flex-col gap-1 items-start of-hidden" }, _hoisted_2$3 = { class: "flex gap-2 items-center px-3" }, _hoisted_3$2 = {
|
|
166
|
-
key: 0,
|
|
167
|
-
class: "border-t n-border-base max-h-60 w-full of-auto px3 py3"
|
|
168
|
-
}, _hoisted_4$1 = { "text-sm": "" }, _hoisted_5$1 = { "text-primary": "" }, _hoisted_6$1 = {
|
|
169
|
-
key: 0,
|
|
170
|
-
flex: "~ col gap-2",
|
|
171
|
-
"items-start": "",
|
|
172
|
-
pt3: "",
|
|
173
|
-
"text-sm": "",
|
|
174
|
-
op75: ""
|
|
175
|
-
};
|
|
176
|
-
var ComponentDetails_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
177
|
-
__name: "ComponentDetails",
|
|
178
|
-
props: {
|
|
179
|
-
component: {},
|
|
180
|
-
dependents: {},
|
|
181
|
-
locations: {}
|
|
182
|
-
},
|
|
183
|
-
setup(__props) {
|
|
184
|
-
const props = __props, referenceEntries = computed(() => {
|
|
185
|
-
const rawLocations = props.locations ?? props.component.locations ?? [];
|
|
186
|
-
if (rawLocations.length) return rawLocations.map((location) => ({
|
|
187
|
-
filepath: location.file,
|
|
188
|
-
line: location.line,
|
|
189
|
-
column: location.column
|
|
190
|
-
}));
|
|
191
|
-
const fallbackDependents = props.dependents ?? props.component.dependents ?? [];
|
|
192
|
-
return fallbackDependents.map((filepath) => ({ filepath }));
|
|
193
|
-
}), sortedReferenceEntries = computed(() => {
|
|
194
|
-
return [...referenceEntries.value].sort((a, b) => {
|
|
195
|
-
return a.filepath === b.filepath ? (a.line ?? 0) - (b.line ?? 0) : a.filepath.localeCompare(b.filepath);
|
|
196
|
-
});
|
|
197
|
-
}), referencesCount = computed(() => sortedReferenceEntries.value.length), showDependentsPanel = computed(() => referencesCount.value > 0), componentNameForCopy = computed(() => {
|
|
198
|
-
return props.component.pascalName ? props.component.pascalName : props.component.name ? props.component.name : props.component.kebabName ? pascalCase(props.component.kebabName) : "";
|
|
199
|
-
}), { copy: copyToClipboard } = useClipboard({ legacy: true }), copyState = ref("idle");
|
|
200
|
-
let copyResetHandle;
|
|
201
|
-
const canCopyName = computed(() => Boolean(componentNameForCopy.value)), nameCopyTooltip = computed(() => {
|
|
202
|
-
return canCopyName.value ? copyState.value === "copied" ? "Copied component name" : copyState.value === "error" ? "Failed to copy name" : "Copy component name" : "Component name unavailable";
|
|
203
|
-
}), nameCopyLabel = computed(() => {
|
|
204
|
-
return copyState.value === "copied" ? "Copied" : copyState.value === "error" ? "Retry" : "Copy";
|
|
205
|
-
}), nameCopyIcon = computed(() => {
|
|
206
|
-
return copyState.value === "copied" ? "i-carbon-checkmark" : copyState.value === "error" ? "i-carbon-warning-alt" : "i-carbon-copy";
|
|
207
|
-
});
|
|
208
|
-
function resetCopyState() {
|
|
209
|
-
if (copyResetHandle) clearTimeout(copyResetHandle);
|
|
210
|
-
copyResetHandle = setTimeout(() => {
|
|
211
|
-
copyState.value = "idle", copyResetHandle = void 0;
|
|
212
|
-
}, 2e3);
|
|
213
|
-
}
|
|
214
|
-
async function copyComponentName() {
|
|
215
|
-
if (!(!componentNameForCopy.value || !canCopyName.value)) try {
|
|
216
|
-
await copyToClipboard(componentNameForCopy.value), copyState.value = "copied";
|
|
217
|
-
} catch (error) {
|
|
218
|
-
console.error("Failed to copy component name:", error), copyState.value = "error";
|
|
219
|
-
} finally {
|
|
220
|
-
resetCopyState();
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
return onBeforeUnmount(() => {
|
|
224
|
-
if (copyResetHandle) clearTimeout(copyResetHandle);
|
|
225
|
-
}), (_ctx, _cache) => {
|
|
226
|
-
const _component_ComponentName = ComponentName_default, _component_Badge = Badge_default, _component_FilepathItem = FilepathItem_default;
|
|
227
|
-
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
228
|
-
createBaseVNode("div", _hoisted_2$3, [
|
|
229
|
-
createVNode(_component_ComponentName, { component: _ctx.component }, null, 8, ["component"]),
|
|
230
|
-
_ctx.component.meta?.docs && typeof _ctx.component.meta.docs === "string" ? (openBlock(), createBlock(unref(Button_default), {
|
|
231
|
-
key: 0,
|
|
232
|
-
title: "Open docs",
|
|
233
|
-
class: "flex-none n-xs",
|
|
234
|
-
to: _ctx.component.meta.docs,
|
|
235
|
-
target: "_blank",
|
|
236
|
-
icon: "i-carbon-catalog"
|
|
237
|
-
}, {
|
|
238
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(" Docs ")])),
|
|
239
|
-
_: 1,
|
|
240
|
-
__: [0]
|
|
241
|
-
}, 8, ["to"])) : createCommentVNode("", true),
|
|
242
|
-
createVNode(unref(Button_default), {
|
|
243
|
-
class: "flex-none n-xs",
|
|
244
|
-
disabled: !canCopyName.value,
|
|
245
|
-
icon: nameCopyIcon.value,
|
|
246
|
-
title: nameCopyTooltip.value,
|
|
247
|
-
onClick: copyComponentName
|
|
248
|
-
}, {
|
|
249
|
-
default: withCtx(() => [createTextVNode(toDisplayString(nameCopyLabel.value), 1)]),
|
|
250
|
-
_: 1
|
|
251
|
-
}, 8, [
|
|
252
|
-
"disabled",
|
|
253
|
-
"icon",
|
|
254
|
-
"title"
|
|
255
|
-
]),
|
|
256
|
-
_ctx.component.global ? (openBlock(), createBlock(_component_Badge, {
|
|
257
|
-
key: 1,
|
|
258
|
-
class: "n-green",
|
|
259
|
-
title: "Registered at runtime as a global component"
|
|
260
|
-
}, {
|
|
261
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [createTextVNode(" runtime ")])),
|
|
262
|
-
_: 1,
|
|
263
|
-
__: [1]
|
|
264
|
-
})) : createCommentVNode("", true)
|
|
265
|
-
]),
|
|
266
|
-
showDependentsPanel.value ? (openBlock(), createElementBlock("div", _hoisted_3$2, [createBaseVNode("div", _hoisted_4$1, [createBaseVNode("strong", _hoisted_5$1, toDisplayString(referencesCount.value), 1), _cache[2] || (_cache[2] = createBaseVNode("span", { op50: "" }, " references", -1))]), referencesCount.value ? (openBlock(), createElementBlock("div", _hoisted_6$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(sortedReferenceEntries.value, (item) => {
|
|
267
|
-
return openBlock(), createBlock(_component_FilepathItem, {
|
|
268
|
-
key: `${item.filepath}-${item.line ?? 0}-${item.column ?? 0}`,
|
|
269
|
-
filepath: item.filepath,
|
|
270
|
-
line: item.line,
|
|
271
|
-
column: item.column
|
|
272
|
-
}, null, 8, [
|
|
273
|
-
"filepath",
|
|
274
|
-
"line",
|
|
275
|
-
"column"
|
|
276
|
-
]);
|
|
277
|
-
}), 128))])) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
278
|
-
renderSlot(_ctx.$slots, "default")
|
|
279
|
-
]);
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
}), ComponentDetails_default = ComponentDetails_vue_vue_type_script_setup_true_lang_default;
|
|
283
|
-
const _hoisted_1$2 = { class: "group flex gap-2 w-full items-center rounded px-2 py-1 hoverLbg-active" }, _hoisted_2$2 = {
|
|
284
|
-
key: 0,
|
|
285
|
-
class: "ml--1 text-primary"
|
|
286
|
-
};
|
|
287
|
-
var ComponentItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
288
|
-
__name: "ComponentItem",
|
|
289
|
-
props: {
|
|
290
|
-
component: {},
|
|
291
|
-
dependents: {}
|
|
292
|
-
},
|
|
293
|
-
setup(__props) {
|
|
294
|
-
const props = __props, dependentsList = computed(() => props.dependents ?? props.component.dependents ?? []), referenceLocations = computed(() => props.component.locations ?? []), referenceCount = computed(() => referenceLocations.value.length || dependentsList.value.length);
|
|
295
|
-
return (_ctx, _cache) => {
|
|
296
|
-
const _component_ComponentName = ComponentName_default, _component_ComponentDetails = ComponentDetails_default, _component_VDropdown = resolveComponent("VDropdown"), _component_Badge = Badge_default;
|
|
297
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
298
|
-
createVNode(_component_VDropdown, null, {
|
|
299
|
-
popper: withCtx(() => [createVNode(_component_ComponentDetails, {
|
|
300
|
-
component: _ctx.component,
|
|
301
|
-
dependents: dependentsList.value,
|
|
302
|
-
locations: referenceLocations.value,
|
|
303
|
-
class: "w-100 pt3"
|
|
304
|
-
}, null, 8, [
|
|
305
|
-
"component",
|
|
306
|
-
"dependents",
|
|
307
|
-
"locations"
|
|
308
|
-
])]),
|
|
309
|
-
default: withCtx(() => [createBaseVNode("button", { class: normalizeClass(["hover:text-primary", referenceCount.value === 0 ? "op50" : ""]) }, [createVNode(_component_ComponentName, { component: _ctx.component }, null, 8, ["component"])], 2)]),
|
|
310
|
-
_: 1
|
|
311
|
-
}),
|
|
312
|
-
referenceCount.value ? (openBlock(), createElementBlock("sup", _hoisted_2$2, " x" + toDisplayString(referenceCount.value), 1)) : createCommentVNode("", true),
|
|
313
|
-
_ctx.component.global ? (openBlock(), createBlock(_component_Badge, {
|
|
314
|
-
key: 1,
|
|
315
|
-
class: "n-green",
|
|
316
|
-
title: "Registered at runtime as a global component"
|
|
317
|
-
}, {
|
|
318
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(" runtime ")])),
|
|
319
|
-
_: 1,
|
|
320
|
-
__: [0]
|
|
321
|
-
})) : createCommentVNode("", true),
|
|
322
|
-
renderSlot(_ctx.$slots, "default")
|
|
323
|
-
]);
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
}), ComponentItem_default = ComponentItem_vue_vue_type_script_setup_true_lang_default;
|
|
327
|
-
const _hoisted_1$1 = { class: "flex flex-inline flex-wrap items-center border n-border-base rounded n-bg-base" }, _hoisted_2$1 = ["disabled", "title"], _hoisted_3$1 = [
|
|
328
|
-
"disabled",
|
|
329
|
-
"value",
|
|
330
|
-
"title"
|
|
331
|
-
];
|
|
332
|
-
var SelectTabs_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
333
|
-
name: "SelectTabs",
|
|
334
|
-
__name: "SelectTabs",
|
|
335
|
-
props: {
|
|
336
|
-
modelValue: { default: void 0 },
|
|
337
|
-
disabled: {
|
|
338
|
-
type: Boolean,
|
|
339
|
-
default: false
|
|
340
|
-
},
|
|
341
|
-
options: {}
|
|
342
|
-
},
|
|
343
|
-
setup(__props, { emit: __emit }) {
|
|
344
|
-
const props = __props, emit = __emit, input = useVModel(props, "modelValue", emit, { passive: true });
|
|
345
|
-
return (_ctx, _cache) => {
|
|
346
|
-
return openBlock(), createElementBlock("fieldset", _hoisted_1$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (i, idx) => {
|
|
347
|
-
return openBlock(), createElementBlock("label", {
|
|
348
|
-
key: i.label,
|
|
349
|
-
disabled: _ctx.disabled,
|
|
350
|
-
class: normalizeClass(["relative n-border-base px-0.5em py-0.1em hover:n-bg-active", [idx ? "border-l n-border-base ml--1px" : "", i.value === unref(input) ? "n-bg-active" : ""]]),
|
|
351
|
-
title: i.label
|
|
352
|
-
}, [createBaseVNode("div", { class: normalizeClass([i.value === unref(input) ? "" : "op35"]) }, toDisplayString(i.label), 3), withDirectives(createBaseVNode("input", {
|
|
353
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(input) ? input.value = $event : null),
|
|
354
|
-
type: "radio",
|
|
355
|
-
disabled: _ctx.disabled,
|
|
356
|
-
value: i.value,
|
|
357
|
-
title: i.label,
|
|
358
|
-
class: "absolute inset-0 op-0.1"
|
|
359
|
-
}, null, 8, _hoisted_3$1), [[vModelRadio, unref(input)]])], 10, _hoisted_2$1);
|
|
360
|
-
}), 128))]);
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
}), SelectTabs_default = SelectTabs_vue_vue_type_script_setup_true_lang_default;
|
|
364
|
-
const _hoisted_1 = { class: "relative h-full flex flex-col of-hidden" }, _hoisted_2 = { class: "flex items-center gap-2" }, _hoisted_3 = { class: "flex-1 of-auto" }, _hoisted_4 = { class: "flex flex-col gap-2 px4 py3" }, _hoisted_5 = {
|
|
365
|
-
key: 0,
|
|
366
|
-
class: "text-sm text-red op75"
|
|
367
|
-
}, _hoisted_6 = {
|
|
368
|
-
key: 1,
|
|
369
|
-
class: "text-sm op50 px2 py1"
|
|
370
|
-
};
|
|
371
|
-
var component_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
372
|
-
name: "ComponentPage",
|
|
373
|
-
__name: "component",
|
|
374
|
-
setup(__props) {
|
|
375
|
-
const search = ref(""), filterMode = ref("all"), { execute, data, error, isFetching } = componentUsageFetch;
|
|
376
|
-
if (!data.value) execute();
|
|
377
|
-
computed(() => data.value?.stats ?? {
|
|
378
|
-
total: 0,
|
|
379
|
-
used: 0,
|
|
380
|
-
unused: 0
|
|
381
|
-
});
|
|
382
|
-
const components = computed(() => data.value?.components ?? []), normalizedSearch = computed(() => search.value.trim().toLowerCase()), packageStats = computed(() => {
|
|
383
|
-
const map = /* @__PURE__ */ new Map();
|
|
384
|
-
return components.value.forEach((component) => {
|
|
385
|
-
if (!map.has(component.package)) map.set(component.package, {
|
|
386
|
-
total: 0,
|
|
387
|
-
used: 0,
|
|
388
|
-
unused: 0
|
|
389
|
-
});
|
|
390
|
-
const stats = map.get(component.package);
|
|
391
|
-
if (stats.total += 1, component.count > 0) stats.used += 1;
|
|
392
|
-
else stats.unused += 1;
|
|
393
|
-
}), map;
|
|
394
|
-
});
|
|
395
|
-
function matchesFilter(component, mode) {
|
|
396
|
-
return mode === "using" ? component.count > 0 : mode === "not-used" ? component.count === 0 : true;
|
|
397
|
-
}
|
|
398
|
-
function matchesQuery(component, query) {
|
|
399
|
-
if (!query) return true;
|
|
400
|
-
const haystack = [
|
|
401
|
-
component.name,
|
|
402
|
-
component.kebabName,
|
|
403
|
-
component.package,
|
|
404
|
-
...component.dependents
|
|
405
|
-
].join(" ").toLowerCase();
|
|
406
|
-
return haystack.includes(query);
|
|
407
|
-
}
|
|
408
|
-
const filteredComponents = computed(() => {
|
|
409
|
-
const query = normalizedSearch.value, mode = filterMode.value;
|
|
410
|
-
return [...components.value].sort((a, b) => {
|
|
411
|
-
return a.count === b.count ? a.name.localeCompare(b.name) : b.count - a.count;
|
|
412
|
-
}).filter((component) => matchesFilter(component, mode) && matchesQuery(component, query));
|
|
413
|
-
});
|
|
414
|
-
computed(() => filteredComponents.value.length);
|
|
415
|
-
const FALLBACK_GROUP_ORDER = Number.MAX_SAFE_INTEGER;
|
|
416
|
-
function resolvePackageGroupMeta(pkg) {
|
|
417
|
-
return {
|
|
418
|
-
label: pkg,
|
|
419
|
-
icon: "i-carbon-cube",
|
|
420
|
-
order: FALLBACK_GROUP_ORDER
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
const groupedComponents = computed(() => {
|
|
424
|
-
const grouped = /* @__PURE__ */ new Map();
|
|
425
|
-
return filteredComponents.value.forEach((component) => {
|
|
426
|
-
if (!grouped.has(component.package)) grouped.set(component.package, []);
|
|
427
|
-
grouped.get(component.package).push(component);
|
|
428
|
-
}), Array.from(grouped.entries()).map(([pkg, items]) => {
|
|
429
|
-
const meta = resolvePackageGroupMeta(pkg), stats = packageStats.value.get(pkg) ?? {
|
|
430
|
-
total: items.length,
|
|
431
|
-
used: items.filter((item) => item.count > 0).length,
|
|
432
|
-
unused: items.filter((item) => item.count === 0).length
|
|
433
|
-
};
|
|
434
|
-
return {
|
|
435
|
-
id: pkg,
|
|
436
|
-
label: meta.label,
|
|
437
|
-
icon: meta.icon,
|
|
438
|
-
order: meta.order ?? Number.MAX_SAFE_INTEGER,
|
|
439
|
-
items,
|
|
440
|
-
stats
|
|
441
|
-
};
|
|
442
|
-
}).sort((a, b) => {
|
|
443
|
-
return a.order === b.order ? a.label.localeCompare(b.label) : a.order - b.order;
|
|
444
|
-
});
|
|
445
|
-
}), emptyStateMessage = computed(() => {
|
|
446
|
-
return isFetching.value && !components.value.length ? "正在扫描组件使用情况..." : components.value.length ? "没有符合条件的组件。" : "还没有可追踪的组件。";
|
|
447
|
-
}), requestError = computed(() => {
|
|
448
|
-
const raw = error.value;
|
|
449
|
-
if (!raw) return "";
|
|
450
|
-
if (typeof raw === "string") return raw;
|
|
451
|
-
if (raw instanceof Error) return raw.message;
|
|
452
|
-
try {
|
|
453
|
-
return JSON.stringify(raw);
|
|
454
|
-
} catch {
|
|
455
|
-
return "获取组件使用数据失败";
|
|
456
|
-
}
|
|
457
|
-
});
|
|
458
|
-
return (_ctx, _cache) => {
|
|
459
|
-
const _component_Icon = Icon_default, _component_SelectTabs = SelectTabs_default, _component_Navbar = Navbar_default, _component_ComponentItem = ComponentItem_default, _component_SectionBlock = SectionBlock_default;
|
|
460
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_Navbar, {
|
|
461
|
-
search: unref(search),
|
|
462
|
-
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef(search) ? search.value = $event : null),
|
|
463
|
-
class: "pb3 flex-none"
|
|
464
|
-
}, {
|
|
465
|
-
default: withCtx(() => [createBaseVNode("div", _hoisted_2, [createVNode(_component_Icon, {
|
|
466
|
-
icon: "i-carbon-filter",
|
|
467
|
-
class: "op50"
|
|
468
|
-
}), createVNode(_component_SelectTabs, {
|
|
469
|
-
modelValue: unref(filterMode),
|
|
470
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(filterMode) ? filterMode.value = $event : null),
|
|
471
|
-
class: "n-primary n-sm",
|
|
472
|
-
options: [
|
|
473
|
-
{
|
|
474
|
-
label: "All",
|
|
475
|
-
value: "all"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
label: "Using",
|
|
479
|
-
value: "using"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
label: "Not used",
|
|
483
|
-
value: "not-used"
|
|
484
|
-
}
|
|
485
|
-
]
|
|
486
|
-
}, null, 8, ["modelValue"])])]),
|
|
487
|
-
_: 1
|
|
488
|
-
}, 8, ["search"]), createBaseVNode("div", _hoisted_3, [createBaseVNode("div", _hoisted_4, [unref(requestError) ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(unref(requestError)), 1)) : !unref(filteredComponents).length ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(unref(emptyStateMessage)), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(unref(groupedComponents), (group) => {
|
|
489
|
-
return openBlock(), createBlock(_component_SectionBlock, {
|
|
490
|
-
key: group.id,
|
|
491
|
-
text: group.label,
|
|
492
|
-
description: `Total components: ${group.stats.total}`,
|
|
493
|
-
icon: group.icon
|
|
494
|
-
}, {
|
|
495
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(group.items, (componentEntry) => {
|
|
496
|
-
return openBlock(), createBlock(_component_ComponentItem, {
|
|
497
|
-
key: `${componentEntry.package}-${componentEntry.name}`,
|
|
498
|
-
component: componentEntry,
|
|
499
|
-
dependencies: componentEntry.dependencies,
|
|
500
|
-
dependents: componentEntry.dependents
|
|
501
|
-
}, null, 8, [
|
|
502
|
-
"component",
|
|
503
|
-
"dependencies",
|
|
504
|
-
"dependents"
|
|
505
|
-
]);
|
|
506
|
-
}), 128))]),
|
|
507
|
-
_: 2
|
|
508
|
-
}, 1032, [
|
|
509
|
-
"text",
|
|
510
|
-
"description",
|
|
511
|
-
"icon"
|
|
512
|
-
]);
|
|
513
|
-
}), 128))])])]);
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
}), component_default = component_vue_vue_type_script_setup_true_lang_default;
|
|
517
|
-
export { component_default as default };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Coq\",\"fileTypes\":[\"v\"],\"name\":\"coq\",\"patterns\":[{\"match\":\"\\\\b(From|Require|Import|Export|Local|Global|Include)\\\\b\",\"name\":\"keyword.control.import.coq\"},{\"match\":\"\\\\b((Open|Close|Delimit|Undelimit|Bind)\\\\s+Scope)\\\\b\",\"name\":\"keyword.control.import.coq\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"2\":{\"name\":\"entity.name.function.theorem.coq\"}},\"match\":\"\\\\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition)\\\\s+(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"match\":\"\\\\bGoal\\\\b\",\"name\":\"keyword.source.coq\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"2\":{\"name\":\"keyword.source.coq\"},\"3\":{\"name\":\"entity.name.assumption.coq\"}},\"match\":\"\\\\b(Parameters?|Axioms?|Conjectures?|Variables?|Hypothesis|Hypotheses)(\\\\s+Inline)?\\\\b\\\\s*\\\\(?\\\\s*(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"3\":{\"name\":\"entity.name.assumption.coq\"}},\"match\":\"\\\\b(Context)\\\\b\\\\s*`?\\\\s*([({])?\\\\s*(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"2\":{\"name\":\"keyword.source.coq\"},\"3\":{\"name\":\"entity.name.function.coq\"}},\"match\":\"(\\\\b(?:Program|Local)\\\\s+)?\\\\b(Definition|Fixpoint|CoFixpoint|Function|Example|Let(?:(?:\\\\s+|\\\\s+Co)Fixpoint)?|Instance|Equations|Equations?)\\\\s+(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"}},\"match\":\"\\\\b((Show\\\\s+)?Obligation\\\\s+Tactic|Obligations\\\\s+of|Obligation|Next\\\\s+Obligation(\\\\s+of)?|Solve\\\\s+Obligations(\\\\s+of)?|Solve\\\\s+All\\\\s+Obligations|Admit\\\\s+Obligations(\\\\s+of)?|Instance)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"3\":{\"name\":\"entity.name.type.coq\"}},\"match\":\"\\\\b(CoInductive|Inductive|Variant|Record|Structure|Class)\\\\s+(>\\\\s*)?(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"2\":{\"name\":\"entity.name.function.ltac\"}},\"match\":\"\\\\b(Ltac)\\\\s+(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.coq\"},\"2\":{\"name\":\"keyword.source.coq\"},\"3\":{\"name\":\"entity.name.function.ltac\"}},\"match\":\"\\\\b(Ltac2)\\\\s+(mutable\\\\s+)?(rec\\\\s+)?(([_\xA0\\\\p{L}])(['0-9_\xA0\\\\p{L}])*)\"},{\"match\":\"\\\\b(Hint(\\\\s+Mode)?|Create\\\\s+HintDb|Constructors|Resolve|Rewrite|Ltac2??|Implicit(\\\\s+Types)?|Set|Unset|Remove\\\\s+Printing|Arguments|((Tactic|Reserved)\\\\s+)?Notation|Infix|Section|Module(\\\\s+Type)?|End|Check|Print(\\\\s+All)?|Eval|Compute|Search|Universe|Coercions|Generalizable(\\\\s+(All|Variable))?|Existing(\\\\s+(Class|Instance))?|Canonical|About|Locate|Collection|Typeclasses\\\\s+(Opaque|Transparent))\\\\b\",\"name\":\"keyword.source.coq\"},{\"match\":\"\\\\b(Proof|Qed|Defined|Save|Abort(\\\\s+All)?|Undo(\\\\s+To)?|Restart|Focus|Unfocus|Unfocused|Show\\\\s+Proof|Show\\\\s+Existentials|Show|Unshelve)\\\\b\",\"name\":\"keyword.source.coq\"},{\"match\":\"\\\\b(Quit|Drop|Time|Redirect|Timeout|Fail)\\\\b\",\"name\":\"keyword.debug.coq\"},{\"match\":\"\\\\b(admit|Admitted)\\\\b\",\"name\":\"invalid.illegal.admit.coq\"},{\"match\":\"[-*+:<=>{|}¬→↔∧∨≠≤≥]\",\"name\":\"keyword.operator.coq\"},{\"match\":\"\\\\b(forall|exists|Type|Set|Prop|nat|bool|option|list|unit|sum|prod|comparison|Empty_set)\\\\b|[∀∃]\",\"name\":\"support.type.coq\"},{\"match\":\"\\\\b(try|repeat|rew|progress|fresh|solve|now|first|tryif|at|once|do|only)\\\\b\",\"name\":\"keyword.control.ltac\"},{\"match\":\"\\\\b(into|with|eqn|by|move|as|using)\\\\b\",\"name\":\"keyword.control.ltac\"},{\"match\":\"\\\\b(match|lazymatch|multimatch|match!|lazy_match!|multi_match!|fun|with|return|end|let|in|if|then|else|fix|for|where|and)\\\\b|λ\",\"name\":\"keyword.control.gallina\"},{\"match\":\"\\\\b(intros??|revert|induction|destruct|auto|eauto|tauto|eassumption|apply|eapply|assumption|constructor|econstructor|reflexivity|inversion|injection|assert|split|esplit|omega|fold|unfold|specialize|rewrite|erewrite|change|symmetry|refine|simpl|intuition|firstorder|generalize|idtac|exists??|eexists|elim|eelim|rename|subst|congruence|trivial|left|right|set|pose|discriminate|clear|clearbody|contradict|contradiction|exact|dependent|remember|case|easy|unshelve|pattern|transitivity|etransitivity|f_equal|exfalso|replace|abstract|cycle|swap|revgoals|shelve|unshelve)\\\\b\",\"name\":\"support.function.builtin.ltac\"},{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*(?!#)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.coq\",\"patterns\":[{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},{\"match\":\"\\\\b((0([Xx])\\\\h+)|([0-9]+(\\\\.[0-9]+)?))\\\\b\",\"name\":\"constant.numeric.gallina\"},{\"match\":\"\\\\b(True|False|tt|false|true|Some|None|nil|cons|pair|inl|inr|[OS]|Eq|Lt|Gt|id|ex|all|unique)\\\\b\",\"name\":\"constant.language.constructor.gallina\"},{\"match\":\"\\\\b_\\\\b\",\"name\":\"constant.language.wildcard.coq\"},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.coq\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.coq\"}},\"name\":\"string.quoted.double.coq\"}],\"repository\":{\"block_comment\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*(?!#)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.coq\",\"patterns\":[{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},\"block_double_quoted_string\":{\"applyEndPatternLast\":1,\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.coq\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.coq\"}},\"name\":\"string.quoted.double.coq\"}},\"scopeName\":\"source.coq\"}"));
|
|
2
|
-
var coq_default = [lang];
|
|
3
|
-
export { coq_default as default };
|