@pubinfo-pr/devtools 0.189.2 → 0.203.2
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-D8ux538U.css +18 -0
- package/dist/client/assets/Navbar-DCdslOKs.js +219 -0
- package/dist/client/assets/PanelGrids-Bq_2z9g3.js +9 -0
- package/dist/client/assets/SelectTabs-Chnu7x16.js +171 -0
- package/dist/client/assets/_plugin-vue_export-helper-D8E0syuh.js +6 -0
- package/dist/client/assets/component-Qe9twpoz.js +468 -0
- package/dist/client/assets/{server-router-lMc2o_SM.js → core-D6JqxgYq.js} +562 -4435
- package/dist/client/assets/css-D-vtiAqw.js +2 -0
- package/dist/client/assets/engine-oniguruma-n-bafM3H.js +392 -0
- package/dist/client/assets/{fetch-ivePQGil.js → fetch-CwAFBmMG.js} +229 -127
- package/dist/client/assets/html-74krLQbR.js +2 -0
- package/dist/client/assets/{html-Bieo8lKA.js → html-Tu6OX5Eq.js} +1 -1
- package/dist/client/assets/import-DV9l8S2T.js +375 -0
- package/dist/client/assets/{index-D1hS5xpb.js → index-ByOJyids.js} +2008 -1841
- package/dist/client/assets/index-DNthkvua.css +443 -0
- package/dist/client/assets/issue-BHrGN1_d.css +10 -0
- package/dist/client/assets/issue-MdUzHAB3.js +130 -0
- package/dist/client/assets/json-WgRhEAOB.js +2 -0
- package/dist/client/assets/pages-D4LiKgxN.js +285 -0
- package/dist/client/assets/pages-DQ8FtB9Y.css +17 -0
- package/dist/client/assets/{server-router-BiZSSnZD.css → server-router-B1AB70as.css} +2 -20
- package/dist/client/assets/server-router-DuEpkdvh.js +2049 -0
- package/dist/client/assets/typescript-C5tShSk5.js +2 -0
- package/dist/client/assets/vue-DZSPIjN6.js +27 -0
- package/dist/client/component.svg +1 -0
- package/dist/client/import.svg +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/issue.svg +1 -0
- package/dist/client/logo.svg +1 -0
- package/dist/{constants.d.ts → constants.d.mts} +1 -2
- package/dist/{dirs2.js → dirs.mjs} +1 -1
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +2508 -0
- package/dist/panel/{index.d.ts → index.d.mts} +1 -0
- package/dist/panel/index.mjs +151 -0
- package/package.json +39 -28
- package/dist/client/assets/abap-C4yRz_Vm.js +0 -2
- package/dist/client/assets/actionscript-3-CKZBsEJ7.js +0 -2
- package/dist/client/assets/ada-C3S8BVqd.js +0 -2
- package/dist/client/assets/andromeeda--PyjP4Vw.js +0 -2
- package/dist/client/assets/angular-html-Cn84m4r6.js +0 -2
- package/dist/client/assets/angular-html-DMAfzvoK.js +0 -22
- package/dist/client/assets/angular-ts-Bmg_Yndu.js +0 -21
- package/dist/client/assets/apache-CcuXWvTQ.js +0 -2
- package/dist/client/assets/apex-CDLJR-L-.js +0 -2
- package/dist/client/assets/apl-BV2Pqeyz.js +0 -15
- package/dist/client/assets/applescript-LAEuNJUm.js +0 -2
- package/dist/client/assets/ara-DarDo4Rh.js +0 -2
- package/dist/client/assets/asciidoc-B6fvDPBR.js +0 -2
- package/dist/client/assets/asm-BhHPpHEe.js +0 -2
- package/dist/client/assets/astro-Bv3Ci3Ef.js +0 -17
- package/dist/client/assets/aurora-x-Dd5GiV6c.js +0 -2
- package/dist/client/assets/awk-brgpYH3W.js +0 -2
- package/dist/client/assets/ayu-dark-CxG_4pQO.js +0 -2
- package/dist/client/assets/ballerina-Dgbivx-S.js +0 -2
- package/dist/client/assets/bat-tWFkNZJc.js +0 -2
- package/dist/client/assets/beancount-Tyb60Wcr.js +0 -2
- package/dist/client/assets/berry-DUxqu-Yw.js +0 -2
- package/dist/client/assets/bibtex-BPtnjAmG.js +0 -2
- package/dist/client/assets/bicep-CGLW9Upz.js +0 -2
- package/dist/client/assets/blade-CLAuu2bN.js +0 -19
- package/dist/client/assets/bsl-VyzHF-R4.js +0 -4
- package/dist/client/assets/c-DXXaAAzT.js +0 -2
- package/dist/client/assets/c-D_IBjAfc.js +0 -2
- package/dist/client/assets/cadence-CUT5CLY6.js +0 -2
- package/dist/client/assets/cairo-DuZF6whY.js +0 -4
- package/dist/client/assets/catppuccin-frappe-HeBtbi6Y.js +0 -2
- package/dist/client/assets/catppuccin-latte-BG-xrhIb.js +0 -2
- package/dist/client/assets/catppuccin-macchiato-DnRSgXl3.js +0 -2
- package/dist/client/assets/catppuccin-mocha-yXSPF4nl.js +0 -2
- package/dist/client/assets/clarity-DqSC35SX.js +0 -2
- package/dist/client/assets/clojure-BZtS8UQS.js +0 -2
- package/dist/client/assets/cmake-o2KFVZsk.js +0 -2
- package/dist/client/assets/cobol-BHLrWv6w.js +0 -9
- package/dist/client/assets/codeowners-tdICZVC5.js +0 -2
- package/dist/client/assets/codeql-BZid4SQS.js +0 -2
- package/dist/client/assets/coffee-C5___ngf.js +0 -4
- package/dist/client/assets/common-lisp-DIm6wDvc.js +0 -2
- package/dist/client/assets/coq-CwPY4Eyo.js +0 -2
- package/dist/client/assets/cpp-B7t2k5-5.js +0 -19
- package/dist/client/assets/cpp-BM5VrcWq.js +0 -2
- package/dist/client/assets/crystal-C8Dwwy6W.js +0 -17
- package/dist/client/assets/csharp-DH3zrwKA.js +0 -2
- package/dist/client/assets/css-FkBLLRUu.js +0 -2
- package/dist/client/assets/csv-DXn8kTD7.js +0 -2
- package/dist/client/assets/cue-3XLcXtdk.js +0 -2
- package/dist/client/assets/cypher-BC872mTV.js +0 -2
- package/dist/client/assets/d-DGFFiwLE.js +0 -2
- package/dist/client/assets/dark-plus-D-GJgvtj.js +0 -2
- package/dist/client/assets/dart-CWKC80aE.js +0 -2
- package/dist/client/assets/dax-bvEEbNAK.js +0 -2
- package/dist/client/assets/desktop-XhOYrgrI.js +0 -2
- package/dist/client/assets/diff-U-x6iVIx.js +0 -2
- package/dist/client/assets/docker-B7cyRvbG.js +0 -2
- package/dist/client/assets/dotenv-D_9fGa07.js +0 -2
- package/dist/client/assets/dracula-BISwCS2n.js +0 -2
- package/dist/client/assets/dracula-soft-WhTQpJ81.js +0 -2
- package/dist/client/assets/dream-maker-Bdm7BhsZ.js +0 -2
- package/dist/client/assets/edge-BL7B074g.js +0 -11
- package/dist/client/assets/elixir-BeYNyax5.js +0 -4
- package/dist/client/assets/elm-rybyhq4V.js +0 -4
- package/dist/client/assets/emacs-lisp-Cy-_xiO2.js +0 -2
- package/dist/client/assets/erb-Dvs8j3zz.js +0 -9
- package/dist/client/assets/erlang-CWJ5EBhz.js +0 -4
- package/dist/client/assets/everforest-dark-d3qrbHMi.js +0 -2
- package/dist/client/assets/everforest-light-D0My6uss.js +0 -2
- package/dist/client/assets/fennel-BNqS--y3.js +0 -2
- package/dist/client/assets/fish-BBnq9bEt.js +0 -2
- package/dist/client/assets/fluent-oY7_tZF8.js +0 -2
- package/dist/client/assets/fortran-fixed-form-0peVr9Yb.js +0 -4
- package/dist/client/assets/fortran-free-form-BEQ27g3E.js +0 -2
- package/dist/client/assets/fsharp-BOj5a2vM.js +0 -4
- package/dist/client/assets/gdresource-Ch1u7SF7.js +0 -9
- package/dist/client/assets/gdscript-BhhtywAa.js +0 -2
- package/dist/client/assets/gdshader-BDnAJwOj.js +0 -2
- package/dist/client/assets/genie-Cd2lLzpm.js +0 -2
- package/dist/client/assets/gherkin-CwXypCQe.js +0 -2
- package/dist/client/assets/git-commit-CFfXzer2.js +0 -4
- package/dist/client/assets/git-rebase-DG0qmgCf.js +0 -4
- package/dist/client/assets/github-dark-DN66FzyL.js +0 -2
- package/dist/client/assets/github-dark-default-DQvsk902.js +0 -2
- package/dist/client/assets/github-dark-dimmed-Njf4dUfx.js +0 -2
- package/dist/client/assets/github-dark-high-contrast-BQnmPqTu.js +0 -2
- package/dist/client/assets/github-light-default-BrZf7E_d.js +0 -2
- package/dist/client/assets/github-light-gaCYdU0_.js +0 -2
- package/dist/client/assets/github-light-high-contrast-DJM0D1FU.js +0 -2
- package/dist/client/assets/gleam-Dfph-OFw.js +0 -2
- package/dist/client/assets/glimmer-js-DxVMOGMY.js +0 -13
- package/dist/client/assets/glimmer-ts-CPM08s8U.js +0 -13
- package/dist/client/assets/glsl-416x4rq0.js +0 -4
- package/dist/client/assets/glsl-Dt1TVrzb.js +0 -2
- package/dist/client/assets/gnuplot-BdTyKzf-.js +0 -2
- package/dist/client/assets/go-BCxV4YsM.js +0 -2
- package/dist/client/assets/graphql-CcseMMny.js +0 -2
- package/dist/client/assets/graphql-D3vBqXJE.js +0 -13
- package/dist/client/assets/groovy-Cy7l6UGB.js +0 -2
- package/dist/client/assets/gruvbox-dark-hard-DZatEion.js +0 -2
- package/dist/client/assets/gruvbox-dark-medium-6l84Vseq.js +0 -2
- package/dist/client/assets/gruvbox-dark-soft-CjCWiqUJ.js +0 -2
- package/dist/client/assets/gruvbox-light-hard-Ci9ZMVVA.js +0 -2
- package/dist/client/assets/gruvbox-light-medium-vuFc7IgU.js +0 -2
- package/dist/client/assets/gruvbox-light-soft-BMc7AIW5.js +0 -2
- package/dist/client/assets/hack-Dne48p1m.js +0 -9
- package/dist/client/assets/haml-D-tmAqdp.js +0 -9
- package/dist/client/assets/haml-DoXvVBFP.js +0 -2
- package/dist/client/assets/handlebars-Jfc88P1Q.js +0 -13
- package/dist/client/assets/haskell-CB6gNPpR.js +0 -2
- package/dist/client/assets/haxe-Cbrtif6E.js +0 -2
- package/dist/client/assets/hcl-gkV_38jF.js +0 -2
- package/dist/client/assets/hjson-Bt79zj56.js +0 -2
- package/dist/client/assets/hlsl-Cq-bbtEM.js +0 -2
- package/dist/client/assets/houston-B50hvrbm.js +0 -2
- package/dist/client/assets/html-Crtt6vRf.js +0 -2
- package/dist/client/assets/html-derivative-5ylkdQOk.js +0 -4
- package/dist/client/assets/html-derivative-KSsgXIhX.js +0 -2
- package/dist/client/assets/http-ChH5xHQK.js +0 -13
- package/dist/client/assets/hurl-10MML7cL.js +0 -11
- package/dist/client/assets/hxml-tJu5NW0B.js +0 -4
- package/dist/client/assets/hy-Be9tp-ZM.js +0 -2
- package/dist/client/assets/imba-B-QVb_a4.js +0 -2
- package/dist/client/assets/index-Co6hzA6u.css +0 -443
- package/dist/client/assets/ini-CQJRLei8.js +0 -2
- package/dist/client/assets/java-C-daPB_o.js +0 -2
- package/dist/client/assets/java-Cs-EdD8w.js +0 -2
- package/dist/client/assets/jinja-B6ZjKqt-.js +0 -6
- package/dist/client/assets/jison-hgxzSL4P.js +0 -4
- package/dist/client/assets/json-CZvQXtwG.js +0 -2
- package/dist/client/assets/json5-D0C1B7l9.js +0 -2
- package/dist/client/assets/jsonc-B0f0uTR-.js +0 -2
- package/dist/client/assets/jsonl-rrn3pXpA.js +0 -2
- package/dist/client/assets/jsonnet-DWKQ3es7.js +0 -2
- package/dist/client/assets/jssm-BPKNebRE.js +0 -2
- package/dist/client/assets/jsx--Vhk3JR0.js +0 -2
- package/dist/client/assets/jsx-BPBfDC8G.js +0 -2
- package/dist/client/assets/julia-Bl_xQs5i.js +0 -15
- package/dist/client/assets/kanagawa-dragon-BNh5Br7k.js +0 -2
- package/dist/client/assets/kanagawa-lotus-BBsJOMvi.js +0 -2
- package/dist/client/assets/kanagawa-wave-ouS5fij6.js +0 -2
- package/dist/client/assets/kdl-F0m2ZhAD.js +0 -2
- package/dist/client/assets/kotlin-La5Qv-cP.js +0 -2
- package/dist/client/assets/kusto-t2Fo0FVP.js +0 -2
- package/dist/client/assets/laserwave-DYFEyShp.js +0 -2
- package/dist/client/assets/latex-BHqYCFCs.js +0 -4
- package/dist/client/assets/lean-DLusw1eC.js +0 -2
- package/dist/client/assets/less-C9jqjrjf.js +0 -2
- package/dist/client/assets/light-plus-CroBFUPD.js +0 -2
- package/dist/client/assets/liquid-CWSQtxRO.js +0 -13
- package/dist/client/assets/llvm-Do8PimHF.js +0 -2
- package/dist/client/assets/log-DcUikSJo.js +0 -2
- package/dist/client/assets/logo-BbssGAy6.js +0 -2
- package/dist/client/assets/lua-BOayniRF.js +0 -4
- package/dist/client/assets/lua-DmBLQvwZ.js +0 -2
- package/dist/client/assets/luau-CLP6V1lC.js +0 -2
- package/dist/client/assets/make-CH096rgi.js +0 -2
- package/dist/client/assets/markdown-CEnXrHFM.js +0 -2
- package/dist/client/assets/marko-g1H15jhu.js +0 -13
- package/dist/client/assets/material-theme-Dj-QIsXM.js +0 -2
- package/dist/client/assets/material-theme-darker-BquH-FBp.js +0 -2
- package/dist/client/assets/material-theme-lighter-C7x4dAbs.js +0 -2
- package/dist/client/assets/material-theme-ocean-BtlX7ouJ.js +0 -2
- package/dist/client/assets/material-theme-palenight-Up2QRioJ.js +0 -2
- package/dist/client/assets/matlab-C8-OBOXt.js +0 -2
- package/dist/client/assets/mdc-X-Q62jZE.js +0 -11
- package/dist/client/assets/mdx-9O-a3QeT.js +0 -2
- package/dist/client/assets/mermaid-BbwNpgQZ.js +0 -2
- package/dist/client/assets/min-dark-2_-s08D1.js +0 -2
- package/dist/client/assets/min-light-DldaIPDx.js +0 -2
- package/dist/client/assets/mipsasm-Cw0tctoa.js +0 -2
- package/dist/client/assets/mojo-B1_s-UsE.js +0 -2
- package/dist/client/assets/monokai-Cl9qFpjv.js +0 -2
- package/dist/client/assets/move-Bj6Zb8y4.js +0 -2
- package/dist/client/assets/narrat-CmcwvZwb.js +0 -2
- package/dist/client/assets/nextflow-C8b_RKlg.js +0 -2
- package/dist/client/assets/nginx-DZc9-Tp6.js +0 -4
- package/dist/client/assets/night-owl-B5V1WZkp.js +0 -2
- package/dist/client/assets/nim-7v2Y99DS.js +0 -19
- package/dist/client/assets/nix-BwXsP5pA.js +0 -2
- package/dist/client/assets/nord-Btx7uc0u.js +0 -2
- package/dist/client/assets/nushell-BtZNOG2q.js +0 -2
- package/dist/client/assets/objective-c-BemUaH4e.js +0 -2
- package/dist/client/assets/objective-cpp-DlBDqgG3.js +0 -2
- package/dist/client/assets/ocaml-CJb6Uk1q.js +0 -2
- package/dist/client/assets/one-dark-pro-lexsOLIl.js +0 -2
- package/dist/client/assets/one-light-B8VjztUu.js +0 -2
- package/dist/client/assets/pages-bp1a9NBa.js +0 -20
- package/dist/client/assets/pascal-DlgTpK5e.js +0 -2
- package/dist/client/assets/perl-BeVMkbag.js +0 -15
- package/dist/client/assets/php-C6iKy-Ct.js +0 -17
- package/dist/client/assets/pkl-Di_e35rA.js +0 -2
- package/dist/client/assets/plastic-BZOIXfgJ.js +0 -2
- package/dist/client/assets/plsql-onDHxOm7.js +0 -2
- package/dist/client/assets/po-y_cLFUS0.js +0 -2
- package/dist/client/assets/poimandres-BiZZscc4.js +0 -2
- package/dist/client/assets/polar-CHjSLFFr.js +0 -2
- package/dist/client/assets/postcss-CX2EaU1R.js +0 -2
- package/dist/client/assets/powerquery-oxPwTqud.js +0 -2
- package/dist/client/assets/powershell-B0zZnlEM.js +0 -2
- package/dist/client/assets/prisma-ZOIUNjhk.js +0 -2
- package/dist/client/assets/prolog-n_5l0qJw.js +0 -2
- package/dist/client/assets/proto-B4oN1zyC.js +0 -2
- package/dist/client/assets/pug-C2f4TGT8.js +0 -11
- package/dist/client/assets/puppet-D6RdqmmO.js +0 -2
- package/dist/client/assets/purescript-uD8x65wA.js +0 -2
- package/dist/client/assets/python-DhGWz8au.js +0 -2
- package/dist/client/assets/qml-XUmYl05X.js +0 -4
- package/dist/client/assets/qmldir-DMBYbgER.js +0 -2
- package/dist/client/assets/qss-0YYw7rH_.js +0 -2
- package/dist/client/assets/r-3G2Sa7Lt.js +0 -2
- package/dist/client/assets/r-j_8gjFkr.js +0 -2
- package/dist/client/assets/racket--4VV2q-z.js +0 -2
- package/dist/client/assets/raku-CGJzHQNZ.js +0 -2
- package/dist/client/assets/razor-CylxxiO_.js +0 -9
- package/dist/client/assets/red-9ZL-7q2K.js +0 -2
- package/dist/client/assets/reg-Bm98aNob.js +0 -2
- package/dist/client/assets/regexp-BPcLhQg6.js +0 -2
- package/dist/client/assets/regexp-DhxLCx4Q.js +0 -2
- package/dist/client/assets/rel-ByZY4xG9.js +0 -2
- package/dist/client/assets/riscv-NyBqTLqf.js +0 -2
- package/dist/client/assets/rose-pine-BOSxnGL0.js +0 -2
- package/dist/client/assets/rose-pine-dawn-Bid2Zry0.js +0 -2
- package/dist/client/assets/rose-pine-moon-BC-OrH_E.js +0 -2
- package/dist/client/assets/rosmsg-Bp817qPt.js +0 -2
- package/dist/client/assets/rst-C9F4xiBz.js +0 -21
- package/dist/client/assets/ruby-DEIXHl5I.js +0 -29
- package/dist/client/assets/rust-C7nEo4AU.js +0 -2
- package/dist/client/assets/sas-CCRtK_GG.js +0 -4
- package/dist/client/assets/sass-DVup--Ip.js +0 -2
- package/dist/client/assets/scala-DGN7vr-3.js +0 -2
- package/dist/client/assets/scheme-DiWp84R_.js +0 -2
- package/dist/client/assets/scss-B8KTULjf.js +0 -2
- package/dist/client/assets/scss-CW08jUJu.js +0 -4
- package/dist/client/assets/sdbl-cYh-3vef.js +0 -2
- package/dist/client/assets/shaderlab-D7WlLOHH.js +0 -4
- package/dist/client/assets/shellscript-BPygS74z.js +0 -2
- package/dist/client/assets/shellscript-UjHQny9Z.js +0 -2
- package/dist/client/assets/shellsession-CDps1aZr.js +0 -4
- package/dist/client/assets/slack-dark-BrTliQeh.js +0 -2
- package/dist/client/assets/slack-ochin-CNWqQ7tu.js +0 -2
- package/dist/client/assets/smalltalk-BR3Rc3FQ.js +0 -2
- package/dist/client/assets/snazzy-light-BzYZd1LT.js +0 -2
- package/dist/client/assets/solarized-dark-C2rK4QQr.js +0 -2
- package/dist/client/assets/solarized-light-C2OUqawP.js +0 -2
- package/dist/client/assets/solidity-CEMyxnr-.js +0 -2
- package/dist/client/assets/soy-C2BR-KXG.js +0 -4
- package/dist/client/assets/sparql-BR-folLj.js +0 -4
- package/dist/client/assets/splunk-DltYhNgS.js +0 -2
- package/dist/client/assets/sql-Cq-9x9KN.js +0 -2
- package/dist/client/assets/sql-VyWTpbEC.js +0 -2
- package/dist/client/assets/ssh-config-DcyfvJBR.js +0 -2
- package/dist/client/assets/stata-BqtFlCjT.js +0 -4
- package/dist/client/assets/stylus-q8BlsKAR.js +0 -2
- package/dist/client/assets/svelte-syJa_SYv.js +0 -13
- package/dist/client/assets/swift-CXYuMLSq.js +0 -2
- package/dist/client/assets/synthwave-84-CTJAFRYu.js +0 -2
- package/dist/client/assets/system-verilog-ByZAK7jW.js +0 -2
- package/dist/client/assets/systemd-B-jaYYZt.js +0 -2
- package/dist/client/assets/talonscript-dVxmeTiZ.js +0 -2
- package/dist/client/assets/tasl-Dbo9haLk.js +0 -2
- package/dist/client/assets/tcl-TCXACfIo.js +0 -2
- package/dist/client/assets/templ-Bn7XEiq4.js +0 -11
- package/dist/client/assets/terraform-u83YSQWU.js +0 -2
- package/dist/client/assets/tex-A3DsLgBt.js +0 -4
- package/dist/client/assets/tokyo-night-BYFrqgEu.js +0 -2
- package/dist/client/assets/toml-CdHGk6CD.js +0 -2
- package/dist/client/assets/ts-tags-DS6YXVjU.js +0 -47
- package/dist/client/assets/tsv-CG8xqyDf.js +0 -2
- package/dist/client/assets/tsx-CtGp4mPG.js +0 -2
- package/dist/client/assets/tsx-D8ovzp-F.js +0 -2
- package/dist/client/assets/turtle-BR5cmI8X.js +0 -2
- package/dist/client/assets/twig-Bs73rqSt.js +0 -17
- package/dist/client/assets/typescript-8wVgZc72.js +0 -2
- package/dist/client/assets/typespec-1Ft3a0J2.js +0 -2
- package/dist/client/assets/typst-Bxkj5bxp.js +0 -2
- package/dist/client/assets/v-Iwj7EXF-.js +0 -2
- package/dist/client/assets/vala-CZEJpdXE.js +0 -2
- package/dist/client/assets/vb-DGJXK2m2.js +0 -2
- package/dist/client/assets/verilog-B0z1nW7x.js +0 -2
- package/dist/client/assets/vesper-DCEWjXOj.js +0 -2
- package/dist/client/assets/vhdl-D-H8gNu8.js +0 -2
- package/dist/client/assets/viml-BhuF_Zk_.js +0 -2
- package/dist/client/assets/vitesse-black-DvuZKsyv.js +0 -2
- package/dist/client/assets/vue-D0gzEcGR.js +0 -26
- package/dist/client/assets/vue-html-DZ7mz5hW.js +0 -9
- package/dist/client/assets/vue-vine-OrllDKqt.js +0 -19
- package/dist/client/assets/vyper-BrlMwrCX.js +0 -2
- package/dist/client/assets/wasm-DowiYQZZ.js +0 -2
- package/dist/client/assets/wenyan-CTq8bTW-.js +0 -2
- package/dist/client/assets/wgsl-CXboDnow.js +0 -2
- package/dist/client/assets/wikitext-B149YDlp.js +0 -2
- package/dist/client/assets/wit-ZgolYj9k.js +0 -2
- package/dist/client/assets/wolfram-DgdmCw3o.js +0 -2
- package/dist/client/assets/xml-B_PekTMZ.js +0 -4
- package/dist/client/assets/xml-Bs5cbwVm.js +0 -2
- package/dist/client/assets/xsl-BGwkM6bU.js +0 -4
- package/dist/client/assets/yaml-5uKUGHTB.js +0 -2
- package/dist/client/assets/yaml-Df3gGNfW.js +0 -2
- package/dist/client/assets/zenscript-Cb7SjAom.js +0 -2
- package/dist/client/assets/zig-EXcHINRa.js +0 -2
- package/dist/dirs.js +0 -3
- package/dist/index.d.ts +0 -21
- package/dist/index.js +0 -592
- package/dist/panel/index.js +0 -3852
- /package/dist/client/assets/{css-C4ljcP-J.js → css-DbgpCiOq.js} +0 -0
- /package/dist/client/assets/{javascript-0fjGG2XX.js → javascript-QnJdw8u5.js} +0 -0
- /package/dist/client/assets/{json-txB7NGmR.js → json-CzPoZe0r.js} +0 -0
- /package/dist/client/assets/{typescript-BiIPZBKd.js → typescript-BEfC8S_c.js} +0 -0
- /package/dist/client/assets/{vitesse-dark-CQ-7ZO72.js → vitesse-dark-Bz6RXfkV.js} +0 -0
- /package/dist/client/assets/{vitesse-light-BnsOKvoJ.js → vitesse-light-NvDlvJl2.js} +0 -0
- /package/dist/client/assets/{wasm-CDzXCmZQ.js → wasm-D0Echd05.js} +0 -0
- /package/dist/{constants.js → constants.mjs} +0 -0
- /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function tryOnScopeDispose(fn) {
|
|
1
|
+
import { $ as toRef$1, E as nextTick, G as isRef, H as customRef, J as readonly, K as onScopeDispose, M as renderSlot, O as onMounted, Q as toRaw, R as watch, U as effectScope, W as getCurrentScope, X as shallowReadonly, Y as ref, Z as shallowRef, b as defineComponent, et as toValue, f as computed, g as createElementBlock, k as openBlock, tt as unref, x as getCurrentInstance } from "./index-ByOJyids.js";
|
|
2
|
+
function tryOnScopeDispose(fn, failSilently) {
|
|
3
3
|
if (getCurrentScope()) {
|
|
4
|
-
onScopeDispose(fn);
|
|
4
|
+
onScopeDispose(fn, failSilently);
|
|
5
5
|
return true;
|
|
6
6
|
}
|
|
7
7
|
return false;
|
|
8
8
|
}
|
|
9
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
10
9
|
function createEventHook() {
|
|
11
10
|
const fns = /* @__PURE__ */ new Set();
|
|
12
11
|
const off = (fn) => {
|
|
@@ -31,46 +30,6 @@ function createEventHook() {
|
|
|
31
30
|
clear
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
35
|
-
function createSharedComposable(composable) {
|
|
36
|
-
let subscribers = 0;
|
|
37
|
-
let state;
|
|
38
|
-
let scope;
|
|
39
|
-
const dispose = () => {
|
|
40
|
-
subscribers -= 1;
|
|
41
|
-
if (scope && subscribers <= 0) {
|
|
42
|
-
scope.stop();
|
|
43
|
-
state = void 0;
|
|
44
|
-
scope = void 0;
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
return (...args) => {
|
|
48
|
-
subscribers += 1;
|
|
49
|
-
if (!scope) {
|
|
50
|
-
scope = effectScope(true);
|
|
51
|
-
state = scope.run(() => composable(...args));
|
|
52
|
-
}
|
|
53
|
-
tryOnScopeDispose(dispose);
|
|
54
|
-
return state;
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
58
|
-
function makeDestructurable(obj, arr) {
|
|
59
|
-
if (typeof Symbol !== "undefined") {
|
|
60
|
-
const clone = { ...obj };
|
|
61
|
-
Object.defineProperty(clone, Symbol.iterator, {
|
|
62
|
-
enumerable: false,
|
|
63
|
-
value() {
|
|
64
|
-
let index = 0;
|
|
65
|
-
return { next: () => ({
|
|
66
|
-
value: arr[index++],
|
|
67
|
-
done: index > arr.length
|
|
68
|
-
}) };
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
return clone;
|
|
72
|
-
} else return Object.assign([...arr], obj);
|
|
73
|
-
}
|
|
74
33
|
var isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
75
34
|
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
76
35
|
var isDef = (val) => typeof val !== "undefined";
|
|
@@ -79,8 +38,8 @@ var isObject = (val) => toString.call(val) === "[object Object]";
|
|
|
79
38
|
var noop = () => {};
|
|
80
39
|
var isIOS = /* @__PURE__ */ getIsIOS();
|
|
81
40
|
function getIsIOS() {
|
|
82
|
-
var
|
|
83
|
-
return isClient && ((
|
|
41
|
+
var _window, _window2, _window3;
|
|
42
|
+
return isClient && !!((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.navigator) === null || _window2 === void 0 ? void 0 : _window2.maxTouchPoints) > 2 && /iPad|Macintosh/.test((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.navigator.userAgent));
|
|
84
43
|
}
|
|
85
44
|
function toRef(...args) {
|
|
86
45
|
if (args.length !== 1) return toRef$1(...args);
|
|
@@ -102,8 +61,8 @@ function createFilterWrapper(filter, fn) {
|
|
|
102
61
|
}
|
|
103
62
|
return wrapper;
|
|
104
63
|
}
|
|
105
|
-
var bypassFilter = (invoke) => {
|
|
106
|
-
return invoke();
|
|
64
|
+
var bypassFilter = (invoke$1) => {
|
|
65
|
+
return invoke$1();
|
|
107
66
|
};
|
|
108
67
|
function pausableFilter(extendFilter = bypassFilter, options = {}) {
|
|
109
68
|
const { initialState = "active" } = options;
|
|
@@ -130,6 +89,19 @@ function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
|
|
|
130
89
|
else setTimeout(resolve, ms);
|
|
131
90
|
});
|
|
132
91
|
}
|
|
92
|
+
function createSingletonPromise(fn) {
|
|
93
|
+
let _promise;
|
|
94
|
+
function wrapper() {
|
|
95
|
+
if (!_promise) _promise = fn();
|
|
96
|
+
return _promise;
|
|
97
|
+
}
|
|
98
|
+
wrapper.reset = async () => {
|
|
99
|
+
const _prev = _promise;
|
|
100
|
+
_promise = void 0;
|
|
101
|
+
if (_prev) await _prev;
|
|
102
|
+
};
|
|
103
|
+
return wrapper;
|
|
104
|
+
}
|
|
133
105
|
function containsProp(obj, ...props) {
|
|
134
106
|
return props.some((k) => k in obj);
|
|
135
107
|
}
|
|
@@ -137,10 +109,10 @@ function toArray(value) {
|
|
|
137
109
|
return Array.isArray(value) ? value : [value];
|
|
138
110
|
}
|
|
139
111
|
function cacheStringFunction(fn) {
|
|
140
|
-
const cache =
|
|
141
|
-
return (str) => {
|
|
112
|
+
const cache = Object.create(null);
|
|
113
|
+
return ((str) => {
|
|
142
114
|
return cache[str] || (cache[str] = fn(str));
|
|
143
|
-
};
|
|
115
|
+
});
|
|
144
116
|
}
|
|
145
117
|
var hyphenateRE = /\B([A-Z])/g;
|
|
146
118
|
cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
|
|
@@ -151,6 +123,46 @@ var camelize = cacheStringFunction((str) => {
|
|
|
151
123
|
function getLifeCycleTarget(target) {
|
|
152
124
|
return target || getCurrentInstance();
|
|
153
125
|
}
|
|
126
|
+
function createSharedComposable(composable) {
|
|
127
|
+
if (!isClient) return composable;
|
|
128
|
+
let subscribers = 0;
|
|
129
|
+
let state;
|
|
130
|
+
let scope;
|
|
131
|
+
const dispose = () => {
|
|
132
|
+
subscribers -= 1;
|
|
133
|
+
if (scope && subscribers <= 0) {
|
|
134
|
+
scope.stop();
|
|
135
|
+
state = void 0;
|
|
136
|
+
scope = void 0;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
return ((...args) => {
|
|
140
|
+
subscribers += 1;
|
|
141
|
+
if (!scope) {
|
|
142
|
+
scope = effectScope(true);
|
|
143
|
+
state = scope.run(() => composable(...args));
|
|
144
|
+
}
|
|
145
|
+
tryOnScopeDispose(dispose);
|
|
146
|
+
return state;
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
150
|
+
function makeDestructurable(obj, arr) {
|
|
151
|
+
if (typeof Symbol !== "undefined") {
|
|
152
|
+
const clone = { ...obj };
|
|
153
|
+
Object.defineProperty(clone, Symbol.iterator, {
|
|
154
|
+
enumerable: false,
|
|
155
|
+
value() {
|
|
156
|
+
let index = 0;
|
|
157
|
+
return { next: () => ({
|
|
158
|
+
value: arr[index++],
|
|
159
|
+
done: index > arr.length
|
|
160
|
+
}) };
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
return clone;
|
|
164
|
+
} else return Object.assign([...arr], obj);
|
|
165
|
+
}
|
|
154
166
|
function watchWithFilter(source, cb, options = {}) {
|
|
155
167
|
const { eventFilter = bypassFilter, ...watchOptions } = options;
|
|
156
168
|
return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
|
|
@@ -180,7 +192,7 @@ function createUntil(r, isNot = false) {
|
|
|
180
192
|
stop = watch(r, (v) => {
|
|
181
193
|
if (condition(v) !== isNot) {
|
|
182
194
|
if (stop) stop();
|
|
183
|
-
else nextTick(() => stop
|
|
195
|
+
else nextTick(() => stop === null || stop === void 0 ? void 0 : stop());
|
|
184
196
|
resolve(v);
|
|
185
197
|
}
|
|
186
198
|
}, {
|
|
@@ -189,18 +201,18 @@ function createUntil(r, isNot = false) {
|
|
|
189
201
|
immediate: true
|
|
190
202
|
});
|
|
191
203
|
})];
|
|
192
|
-
if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop
|
|
204
|
+
if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop === null || stop === void 0 ? void 0 : stop()));
|
|
193
205
|
return Promise.race(promises);
|
|
194
206
|
}
|
|
195
207
|
function toBe(value, options) {
|
|
196
208
|
if (!isRef(value)) return toMatch((v) => v === value, options);
|
|
197
|
-
const { flush = "sync", deep = false, timeout, throwOnTimeout } = options
|
|
209
|
+
const { flush = "sync", deep = false, timeout, throwOnTimeout } = options !== null && options !== void 0 ? options : {};
|
|
198
210
|
let stop = null;
|
|
199
211
|
const promises = [new Promise((resolve) => {
|
|
200
212
|
stop = watch([r, value], ([v1, v2]) => {
|
|
201
213
|
if (isNot !== (v1 === v2)) {
|
|
202
214
|
if (stop) stop();
|
|
203
|
-
else nextTick(() => stop
|
|
215
|
+
else nextTick(() => stop === null || stop === void 0 ? void 0 : stop());
|
|
204
216
|
resolve(v1);
|
|
205
217
|
}
|
|
206
218
|
}, {
|
|
@@ -210,7 +222,7 @@ function createUntil(r, isNot = false) {
|
|
|
210
222
|
});
|
|
211
223
|
})];
|
|
212
224
|
if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {
|
|
213
|
-
stop
|
|
225
|
+
stop === null || stop === void 0 || stop();
|
|
214
226
|
return toValue(r);
|
|
215
227
|
}));
|
|
216
228
|
return Promise.race(promises);
|
|
@@ -310,27 +322,26 @@ function watchImmediate(source, cb, options) {
|
|
|
310
322
|
immediate: true
|
|
311
323
|
});
|
|
312
324
|
}
|
|
313
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
314
325
|
function createReusableTemplate(options = {}) {
|
|
315
326
|
const { inheritAttrs = true } = options;
|
|
316
327
|
const render = shallowRef();
|
|
317
|
-
const define =
|
|
328
|
+
const define = defineComponent({ setup(_, { slots }) {
|
|
318
329
|
return () => {
|
|
319
330
|
render.value = slots.default;
|
|
320
331
|
};
|
|
321
332
|
} });
|
|
322
|
-
const reuse =
|
|
333
|
+
const reuse = defineComponent({
|
|
323
334
|
inheritAttrs,
|
|
324
335
|
props: options.props,
|
|
325
336
|
setup(props, { attrs, slots }) {
|
|
326
337
|
return () => {
|
|
327
|
-
var
|
|
328
|
-
if (!render.value &&
|
|
329
|
-
const vnode = (
|
|
338
|
+
var _render$value;
|
|
339
|
+
if (!render.value && true) throw new Error("[VueUse] Failed to find the definition of reusable template");
|
|
340
|
+
const vnode = (_render$value = render.value) === null || _render$value === void 0 ? void 0 : _render$value.call(render, {
|
|
330
341
|
...options.props == null ? keysToCamelKebabCase(attrs) : props,
|
|
331
342
|
$slots: slots
|
|
332
343
|
});
|
|
333
|
-
return inheritAttrs && (vnode
|
|
344
|
+
return inheritAttrs && (vnode === null || vnode === void 0 ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;
|
|
334
345
|
};
|
|
335
346
|
}
|
|
336
347
|
});
|
|
@@ -346,19 +357,14 @@ function keysToCamelKebabCase(obj) {
|
|
|
346
357
|
}
|
|
347
358
|
var defaultWindow = isClient ? window : void 0;
|
|
348
359
|
isClient && window.document;
|
|
349
|
-
isClient
|
|
360
|
+
var defaultNavigator = isClient ? window.navigator : void 0;
|
|
350
361
|
isClient && window.location;
|
|
351
362
|
function unrefElement(elRef) {
|
|
352
|
-
var
|
|
363
|
+
var _$el;
|
|
353
364
|
const plain = toValue(elRef);
|
|
354
|
-
return (
|
|
365
|
+
return (_$el = plain === null || plain === void 0 ? void 0 : plain.$el) !== null && _$el !== void 0 ? _$el : plain;
|
|
355
366
|
}
|
|
356
367
|
function useEventListener(...args) {
|
|
357
|
-
const cleanups = [];
|
|
358
|
-
const cleanup = () => {
|
|
359
|
-
cleanups.forEach((fn) => fn());
|
|
360
|
-
cleanups.length = 0;
|
|
361
|
-
};
|
|
362
368
|
const register = (el, event, listener, options) => {
|
|
363
369
|
el.addEventListener(event, listener, options);
|
|
364
370
|
return () => el.removeEventListener(event, listener, options);
|
|
@@ -367,26 +373,22 @@ function useEventListener(...args) {
|
|
|
367
373
|
const test = toArray(toValue(args[0])).filter((e) => e != null);
|
|
368
374
|
return test.every((e) => typeof e !== "string") ? test : void 0;
|
|
369
375
|
});
|
|
370
|
-
|
|
371
|
-
var
|
|
376
|
+
return watchImmediate(() => {
|
|
377
|
+
var _firstParamTargets$va, _firstParamTargets$va2;
|
|
372
378
|
return [
|
|
373
|
-
(
|
|
379
|
+
(_firstParamTargets$va = (_firstParamTargets$va2 = firstParamTargets.value) === null || _firstParamTargets$va2 === void 0 ? void 0 : _firstParamTargets$va2.map((e) => unrefElement(e))) !== null && _firstParamTargets$va !== void 0 ? _firstParamTargets$va : [defaultWindow].filter((e) => e != null),
|
|
374
380
|
toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
|
|
375
381
|
toArray(unref(firstParamTargets.value ? args[2] : args[1])),
|
|
376
382
|
toValue(firstParamTargets.value ? args[3] : args[2])
|
|
377
383
|
];
|
|
378
|
-
}, ([raw_targets, raw_events, raw_listeners, raw_options]) => {
|
|
379
|
-
|
|
380
|
-
if (!(raw_targets == null ? void 0 : raw_targets.length) || !(raw_events == null ? void 0 : raw_events.length) || !(raw_listeners == null ? void 0 : raw_listeners.length)) return;
|
|
384
|
+
}, ([raw_targets, raw_events, raw_listeners, raw_options], _, onCleanup) => {
|
|
385
|
+
if (!(raw_targets === null || raw_targets === void 0 ? void 0 : raw_targets.length) || !(raw_events === null || raw_events === void 0 ? void 0 : raw_events.length) || !(raw_listeners === null || raw_listeners === void 0 ? void 0 : raw_listeners.length)) return;
|
|
381
386
|
const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
|
|
382
|
-
cleanups
|
|
387
|
+
const cleanups = raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))));
|
|
388
|
+
onCleanup(() => {
|
|
389
|
+
cleanups.forEach((fn) => fn());
|
|
390
|
+
});
|
|
383
391
|
}, { flush: "post" });
|
|
384
|
-
const stop = () => {
|
|
385
|
-
stopWatch();
|
|
386
|
-
cleanup();
|
|
387
|
-
};
|
|
388
|
-
tryOnScopeDispose(cleanup);
|
|
389
|
-
return stop;
|
|
390
392
|
}
|
|
391
393
|
var _iOSWorkaround = false;
|
|
392
394
|
function onClickOutside(target, handler, options = {}) {
|
|
@@ -404,20 +406,20 @@ function onClickOutside(target, handler, options = {}) {
|
|
|
404
406
|
}
|
|
405
407
|
let shouldListen = true;
|
|
406
408
|
const shouldIgnore = (event) => {
|
|
407
|
-
return toValue(ignore).some((
|
|
408
|
-
if (typeof
|
|
409
|
+
return toValue(ignore).some((target$1) => {
|
|
410
|
+
if (typeof target$1 === "string") return Array.from(window$1.document.querySelectorAll(target$1)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
409
411
|
else {
|
|
410
|
-
const el = unrefElement(
|
|
412
|
+
const el = unrefElement(target$1);
|
|
411
413
|
return el && (event.target === el || event.composedPath().includes(el));
|
|
412
414
|
}
|
|
413
415
|
});
|
|
414
416
|
};
|
|
415
|
-
function hasMultipleRoots(
|
|
416
|
-
const vm = toValue(
|
|
417
|
+
function hasMultipleRoots(target$1) {
|
|
418
|
+
const vm = toValue(target$1);
|
|
417
419
|
return vm && vm.$.subTree.shapeFlag === 16;
|
|
418
420
|
}
|
|
419
|
-
function checkMultipleRoots(
|
|
420
|
-
const vm = toValue(
|
|
421
|
+
function checkMultipleRoots(target$1, event) {
|
|
422
|
+
const vm = toValue(target$1);
|
|
421
423
|
const children = vm.$.subTree && vm.$.subTree.children;
|
|
422
424
|
if (children == null || !Array.isArray(children)) return false;
|
|
423
425
|
return children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
|
|
@@ -454,9 +456,9 @@ function onClickOutside(target, handler, options = {}) {
|
|
|
454
456
|
}, { passive: true }),
|
|
455
457
|
detectIframe && useEventListener(window$1, "blur", (event) => {
|
|
456
458
|
setTimeout(() => {
|
|
457
|
-
var
|
|
459
|
+
var _window$document$acti;
|
|
458
460
|
const el = unrefElement(target);
|
|
459
|
-
if (((
|
|
461
|
+
if (((_window$document$acti = window$1.document.activeElement) === null || _window$document$acti === void 0 ? void 0 : _window$document$acti.tagName) === "IFRAME" && !(el === null || el === void 0 ? void 0 : el.contains(window$1.document.activeElement))) handler(event);
|
|
460
462
|
}, 0);
|
|
461
463
|
}, { passive: true })
|
|
462
464
|
].filter(Boolean);
|
|
@@ -474,7 +476,6 @@ function onClickOutside(target, handler, options = {}) {
|
|
|
474
476
|
};
|
|
475
477
|
return stop;
|
|
476
478
|
}
|
|
477
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
478
479
|
function useMounted() {
|
|
479
480
|
const isMounted = shallowRef(false);
|
|
480
481
|
const instance = getCurrentInstance();
|
|
@@ -485,12 +486,100 @@ function useMounted() {
|
|
|
485
486
|
}
|
|
486
487
|
/* @__NO_SIDE_EFFECTS__ */
|
|
487
488
|
function useSupported(callback) {
|
|
488
|
-
const isMounted =
|
|
489
|
+
const isMounted = useMounted();
|
|
489
490
|
return computed(() => {
|
|
490
491
|
isMounted.value;
|
|
491
492
|
return Boolean(callback());
|
|
492
493
|
});
|
|
493
494
|
}
|
|
495
|
+
function usePermission(permissionDesc, options = {}) {
|
|
496
|
+
const { controls = false, navigator: navigator$1 = defaultNavigator } = options;
|
|
497
|
+
const isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && "permissions" in navigator$1);
|
|
498
|
+
const permissionStatus = shallowRef();
|
|
499
|
+
const desc = typeof permissionDesc === "string" ? { name: permissionDesc } : permissionDesc;
|
|
500
|
+
const state = shallowRef();
|
|
501
|
+
const update = () => {
|
|
502
|
+
var _permissionStatus$val, _permissionStatus$val2;
|
|
503
|
+
state.value = (_permissionStatus$val = (_permissionStatus$val2 = permissionStatus.value) === null || _permissionStatus$val2 === void 0 ? void 0 : _permissionStatus$val2.state) !== null && _permissionStatus$val !== void 0 ? _permissionStatus$val : "prompt";
|
|
504
|
+
};
|
|
505
|
+
useEventListener(permissionStatus, "change", update, { passive: true });
|
|
506
|
+
const query = createSingletonPromise(async () => {
|
|
507
|
+
if (!isSupported.value) return;
|
|
508
|
+
if (!permissionStatus.value) try {
|
|
509
|
+
permissionStatus.value = await navigator$1.permissions.query(desc);
|
|
510
|
+
} catch (_unused) {
|
|
511
|
+
permissionStatus.value = void 0;
|
|
512
|
+
} finally {
|
|
513
|
+
update();
|
|
514
|
+
}
|
|
515
|
+
if (controls) return toRaw(permissionStatus.value);
|
|
516
|
+
});
|
|
517
|
+
query();
|
|
518
|
+
if (controls) return {
|
|
519
|
+
state,
|
|
520
|
+
isSupported,
|
|
521
|
+
query
|
|
522
|
+
};
|
|
523
|
+
else return state;
|
|
524
|
+
}
|
|
525
|
+
function useClipboard(options = {}) {
|
|
526
|
+
const { navigator: navigator$1 = defaultNavigator, read = false, source, copiedDuring = 1500, legacy = false } = options;
|
|
527
|
+
const isClipboardApiSupported = /* @__PURE__ */ useSupported(() => navigator$1 && "clipboard" in navigator$1);
|
|
528
|
+
const permissionRead = usePermission("clipboard-read");
|
|
529
|
+
const permissionWrite = usePermission("clipboard-write");
|
|
530
|
+
const isSupported = computed(() => isClipboardApiSupported.value || legacy);
|
|
531
|
+
const text = shallowRef("");
|
|
532
|
+
const copied = shallowRef(false);
|
|
533
|
+
const timeout = useTimeoutFn(() => copied.value = false, copiedDuring, { immediate: false });
|
|
534
|
+
async function updateText() {
|
|
535
|
+
let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionRead.value));
|
|
536
|
+
if (!useLegacy) try {
|
|
537
|
+
text.value = await navigator$1.clipboard.readText();
|
|
538
|
+
} catch (_unused) {
|
|
539
|
+
useLegacy = true;
|
|
540
|
+
}
|
|
541
|
+
if (useLegacy) text.value = legacyRead();
|
|
542
|
+
}
|
|
543
|
+
if (isSupported.value && read) useEventListener(["copy", "cut"], updateText, { passive: true });
|
|
544
|
+
async function copy(value = toValue(source)) {
|
|
545
|
+
if (isSupported.value && value != null) {
|
|
546
|
+
let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionWrite.value));
|
|
547
|
+
if (!useLegacy) try {
|
|
548
|
+
await navigator$1.clipboard.writeText(value);
|
|
549
|
+
} catch (_unused2) {
|
|
550
|
+
useLegacy = true;
|
|
551
|
+
}
|
|
552
|
+
if (useLegacy) legacyCopy(value);
|
|
553
|
+
text.value = value;
|
|
554
|
+
copied.value = true;
|
|
555
|
+
timeout.start();
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
function legacyCopy(value) {
|
|
559
|
+
const ta = document.createElement("textarea");
|
|
560
|
+
ta.value = value;
|
|
561
|
+
ta.style.position = "absolute";
|
|
562
|
+
ta.style.opacity = "0";
|
|
563
|
+
ta.setAttribute("readonly", "");
|
|
564
|
+
document.body.appendChild(ta);
|
|
565
|
+
ta.select();
|
|
566
|
+
document.execCommand("copy");
|
|
567
|
+
ta.remove();
|
|
568
|
+
}
|
|
569
|
+
function legacyRead() {
|
|
570
|
+
var _document$getSelectio, _document, _document$getSelectio2;
|
|
571
|
+
return (_document$getSelectio = (_document = document) === null || _document === void 0 || (_document$getSelectio2 = _document.getSelection) === null || _document$getSelectio2 === void 0 || (_document$getSelectio2 = _document$getSelectio2.call(_document)) === null || _document$getSelectio2 === void 0 ? void 0 : _document$getSelectio2.toString()) !== null && _document$getSelectio !== void 0 ? _document$getSelectio : "";
|
|
572
|
+
}
|
|
573
|
+
function isAllowed(status) {
|
|
574
|
+
return status === "granted" || status === "prompt";
|
|
575
|
+
}
|
|
576
|
+
return {
|
|
577
|
+
isSupported,
|
|
578
|
+
text: readonly(text),
|
|
579
|
+
copied: readonly(copied),
|
|
580
|
+
copy
|
|
581
|
+
};
|
|
582
|
+
}
|
|
494
583
|
function cloneFnJSON(source) {
|
|
495
584
|
return JSON.parse(JSON.stringify(source));
|
|
496
585
|
}
|
|
@@ -542,25 +631,22 @@ var StorageSerializers = {
|
|
|
542
631
|
}
|
|
543
632
|
};
|
|
544
633
|
var customStorageEventName = "vueuse-storage";
|
|
545
|
-
function useStorage(key, defaults, storage, options = {}) {
|
|
546
|
-
var
|
|
634
|
+
function useStorage(key, defaults$1, storage, options = {}) {
|
|
635
|
+
var _options$serializer;
|
|
547
636
|
const { flush = "pre", deep = true, listenToStorageChanges = true, writeDefaults = true, mergeDefaults = false, shallow, window: window$1 = defaultWindow, eventFilter, onError = (e) => {
|
|
548
637
|
console.error(e);
|
|
549
638
|
}, initOnMounted } = options;
|
|
550
|
-
const data = (shallow ? shallowRef : ref)(typeof defaults === "function" ? defaults() : defaults);
|
|
639
|
+
const data = (shallow ? shallowRef : ref)(typeof defaults$1 === "function" ? defaults$1() : defaults$1);
|
|
551
640
|
const keyComputed = computed(() => toValue(key));
|
|
552
641
|
if (!storage) try {
|
|
553
|
-
storage = getSSRHandler("getDefaultStorage", () =>
|
|
554
|
-
var _a2;
|
|
555
|
-
return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;
|
|
556
|
-
})();
|
|
642
|
+
storage = getSSRHandler("getDefaultStorage", () => defaultWindow === null || defaultWindow === void 0 ? void 0 : defaultWindow.localStorage)();
|
|
557
643
|
} catch (e) {
|
|
558
644
|
onError(e);
|
|
559
645
|
}
|
|
560
646
|
if (!storage) return data;
|
|
561
|
-
const rawInit = toValue(defaults);
|
|
647
|
+
const rawInit = toValue(defaults$1);
|
|
562
648
|
const type = guessSerializerType(rawInit);
|
|
563
|
-
const serializer = (
|
|
649
|
+
const serializer = (_options$serializer = options.serializer) !== null && _options$serializer !== void 0 ? _options$serializer : StorageSerializers[type];
|
|
564
650
|
const { pause: pauseWatch, resume: resumeWatch } = watchPausable(data, (newValue) => write(newValue), {
|
|
565
651
|
flush,
|
|
566
652
|
deep,
|
|
@@ -637,7 +723,7 @@ function useStorage(key, defaults, storage, options = {}) {
|
|
|
637
723
|
pauseWatch();
|
|
638
724
|
try {
|
|
639
725
|
const serializedData = serializer.write(data.value);
|
|
640
|
-
if (event === void 0 || (event
|
|
726
|
+
if (event === void 0 || (event === null || event === void 0 ? void 0 : event.newValue) !== serializedData) data.value = read(event);
|
|
641
727
|
} catch (e) {
|
|
642
728
|
onError(e);
|
|
643
729
|
} finally {
|
|
@@ -689,8 +775,8 @@ function useElementSize(target, initialSize = {
|
|
|
689
775
|
}, options = {}) {
|
|
690
776
|
const { window: window$1 = defaultWindow, box = "content-box" } = options;
|
|
691
777
|
const isSVG = computed(() => {
|
|
692
|
-
var
|
|
693
|
-
return (
|
|
778
|
+
var _unrefElement;
|
|
779
|
+
return (_unrefElement = unrefElement(target)) === null || _unrefElement === void 0 || (_unrefElement = _unrefElement.namespaceURI) === null || _unrefElement === void 0 ? void 0 : _unrefElement.includes("svg");
|
|
694
780
|
});
|
|
695
781
|
const width = shallowRef(initialSize.width);
|
|
696
782
|
const height = shallowRef(initialSize.height);
|
|
@@ -745,7 +831,7 @@ function headersToObject(headers) {
|
|
|
745
831
|
return headers;
|
|
746
832
|
}
|
|
747
833
|
function useFetch(url, ...args) {
|
|
748
|
-
var
|
|
834
|
+
var _defaultWindow$fetch, _globalThis;
|
|
749
835
|
const supportsAbort = typeof AbortController === "function";
|
|
750
836
|
let fetchOptions = {};
|
|
751
837
|
let options = {
|
|
@@ -770,10 +856,10 @@ function useFetch(url, ...args) {
|
|
|
770
856
|
...args[1]
|
|
771
857
|
};
|
|
772
858
|
}
|
|
773
|
-
const { fetch = (
|
|
774
|
-
const responseEvent =
|
|
775
|
-
const errorEvent =
|
|
776
|
-
const finallyEvent =
|
|
859
|
+
const { fetch = (_defaultWindow$fetch = defaultWindow === null || defaultWindow === void 0 ? void 0 : defaultWindow.fetch) !== null && _defaultWindow$fetch !== void 0 ? _defaultWindow$fetch : (_globalThis = globalThis) === null || _globalThis === void 0 ? void 0 : _globalThis.fetch, initialData, timeout } = options;
|
|
860
|
+
const responseEvent = createEventHook();
|
|
861
|
+
const errorEvent = createEventHook();
|
|
862
|
+
const finallyEvent = createEventHook();
|
|
777
863
|
const isFinished = shallowRef(false);
|
|
778
864
|
const isFetching = shallowRef(false);
|
|
779
865
|
const aborted = shallowRef(false);
|
|
@@ -786,7 +872,7 @@ function useFetch(url, ...args) {
|
|
|
786
872
|
let timer;
|
|
787
873
|
const abort = (reason) => {
|
|
788
874
|
if (supportsAbort) {
|
|
789
|
-
controller
|
|
875
|
+
controller === null || controller === void 0 || controller.abort(reason);
|
|
790
876
|
controller = new AbortController();
|
|
791
877
|
controller.signal.onabort = () => aborted.value = true;
|
|
792
878
|
fetchOptions = {
|
|
@@ -802,7 +888,7 @@ function useFetch(url, ...args) {
|
|
|
802
888
|
if (timeout) timer = useTimeoutFn(abort, timeout, { immediate: false });
|
|
803
889
|
let executeCounter = 0;
|
|
804
890
|
const execute = async (throwOnFailed = false) => {
|
|
805
|
-
var
|
|
891
|
+
var _context$options;
|
|
806
892
|
abort();
|
|
807
893
|
loading(true);
|
|
808
894
|
error.value = null;
|
|
@@ -816,10 +902,11 @@ function useFetch(url, ...args) {
|
|
|
816
902
|
};
|
|
817
903
|
const payload = toValue(config.payload);
|
|
818
904
|
if (payload) {
|
|
905
|
+
var _payloadMapping$confi;
|
|
819
906
|
const headers = headersToObject(defaultFetchOptions.headers);
|
|
820
907
|
const proto = Object.getPrototypeOf(payload);
|
|
821
908
|
if (!config.payloadType && payload && (proto === Object.prototype || Array.isArray(proto)) && !(payload instanceof FormData)) config.payloadType = "json";
|
|
822
|
-
if (config.payloadType) headers["Content-Type"] = (
|
|
909
|
+
if (config.payloadType) headers["Content-Type"] = (_payloadMapping$confi = payloadMapping[config.payloadType]) !== null && _payloadMapping$confi !== void 0 ? _payloadMapping$confi : config.payloadType;
|
|
823
910
|
defaultFetchOptions.body = config.payloadType === "json" ? JSON.stringify(payload) : payload;
|
|
824
911
|
}
|
|
825
912
|
let isCanceled = false;
|
|
@@ -845,7 +932,7 @@ function useFetch(url, ...args) {
|
|
|
845
932
|
...context.options,
|
|
846
933
|
headers: {
|
|
847
934
|
...headersToObject(defaultFetchOptions.headers),
|
|
848
|
-
...headersToObject((
|
|
935
|
+
...headersToObject((_context$options = context.options) === null || _context$options === void 0 ? void 0 : _context$options.headers)
|
|
849
936
|
}
|
|
850
937
|
}).then(async (fetchResponse) => {
|
|
851
938
|
response.value = fetchResponse;
|
|
@@ -885,7 +972,7 @@ function useFetch(url, ...args) {
|
|
|
885
972
|
});
|
|
886
973
|
};
|
|
887
974
|
const refetch = toRef(options.refetch);
|
|
888
|
-
watch([refetch, toRef(url)], ([
|
|
975
|
+
watch([refetch, toRef(url)], ([refetch$1]) => refetch$1 && execute(), { deep: true });
|
|
889
976
|
const shell = {
|
|
890
977
|
isFinished: readonly(isFinished),
|
|
891
978
|
isFetching: readonly(isFetching),
|
|
@@ -919,7 +1006,7 @@ function useFetch(url, ...args) {
|
|
|
919
1006
|
config.method = method;
|
|
920
1007
|
config.payload = payload;
|
|
921
1008
|
config.payloadType = payloadType;
|
|
922
|
-
if (isRef(config.payload)) watch([refetch, toRef(config.payload)], ([
|
|
1009
|
+
if (isRef(config.payload)) watch([refetch, toRef(config.payload)], ([refetch$1]) => refetch$1 && execute(), { deep: true });
|
|
923
1010
|
return {
|
|
924
1011
|
...shell,
|
|
925
1012
|
then(onFulfilled, onRejected) {
|
|
@@ -957,27 +1044,26 @@ function useFetch(url, ...args) {
|
|
|
957
1044
|
}
|
|
958
1045
|
function useLocalStorage(key, initialValue, options = {}) {
|
|
959
1046
|
const { window: window$1 = defaultWindow } = options;
|
|
960
|
-
return useStorage(key, initialValue, window$1
|
|
1047
|
+
return useStorage(key, initialValue, window$1 === null || window$1 === void 0 ? void 0 : window$1.localStorage, options);
|
|
961
1048
|
}
|
|
962
1049
|
Number.POSITIVE_INFINITY;
|
|
963
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
964
1050
|
function useVModel(props, key, emit, options = {}) {
|
|
965
|
-
var
|
|
1051
|
+
var _vm$$emit, _vm$proxy;
|
|
966
1052
|
const { clone = false, passive = false, eventName, deep = false, defaultValue, shouldEmit } = options;
|
|
967
1053
|
const vm = getCurrentInstance();
|
|
968
|
-
const _emit = emit || (vm
|
|
1054
|
+
const _emit = emit || (vm === null || vm === void 0 ? void 0 : vm.emit) || (vm === null || vm === void 0 || (_vm$$emit = vm.$emit) === null || _vm$$emit === void 0 ? void 0 : _vm$$emit.bind(vm)) || (vm === null || vm === void 0 || (_vm$proxy = vm.proxy) === null || _vm$proxy === void 0 || (_vm$proxy = _vm$proxy.$emit) === null || _vm$proxy === void 0 ? void 0 : _vm$proxy.bind(vm === null || vm === void 0 ? void 0 : vm.proxy));
|
|
969
1055
|
let event = eventName;
|
|
970
1056
|
if (!key) key = "modelValue";
|
|
971
1057
|
event = event || `update:${key.toString()}`;
|
|
972
1058
|
const cloneFn = (val) => !clone ? val : typeof clone === "function" ? clone(val) : cloneFnJSON(val);
|
|
973
|
-
const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
|
|
1059
|
+
const getValue$1 = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
|
|
974
1060
|
const triggerEmit = (value) => {
|
|
975
1061
|
if (shouldEmit) {
|
|
976
1062
|
if (shouldEmit(value)) _emit(event, value);
|
|
977
1063
|
} else _emit(event, value);
|
|
978
1064
|
};
|
|
979
1065
|
if (passive) {
|
|
980
|
-
const proxy = ref(getValue());
|
|
1066
|
+
const proxy = ref(getValue$1());
|
|
981
1067
|
let isUpdating = false;
|
|
982
1068
|
watch(() => props[key], (v) => {
|
|
983
1069
|
if (!isUpdating) {
|
|
@@ -992,14 +1078,30 @@ function useVModel(props, key, emit, options = {}) {
|
|
|
992
1078
|
return proxy;
|
|
993
1079
|
} else return computed({
|
|
994
1080
|
get() {
|
|
995
|
-
return getValue();
|
|
1081
|
+
return getValue$1();
|
|
996
1082
|
},
|
|
997
1083
|
set(value) {
|
|
998
1084
|
triggerEmit(value);
|
|
999
1085
|
}
|
|
1000
1086
|
});
|
|
1001
1087
|
}
|
|
1088
|
+
var _hoisted_1 = { class: "n-badge" };
|
|
1089
|
+
var Badge_default = /* @__PURE__ */ defineComponent({
|
|
1090
|
+
name: "Badge",
|
|
1091
|
+
__name: "Badge",
|
|
1092
|
+
setup(__props) {
|
|
1093
|
+
return (_ctx, _cache) => {
|
|
1094
|
+
return openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
});
|
|
1002
1098
|
var API_ROOT = "/__pubinfo_devtools_api";
|
|
1003
|
-
const
|
|
1099
|
+
const overviewFetch = useFetch(`${API_ROOT}/overview`, { immediate: false }).json();
|
|
1004
1100
|
const apiListFetch = useFetch(`${API_ROOT}/api-list`, { immediate: false }).json();
|
|
1005
|
-
|
|
1101
|
+
const componentUsageFetch = useFetch(`${API_ROOT}/component-usage`, { immediate: false }).json();
|
|
1102
|
+
const importUsageFetch = useFetch(`${API_ROOT}/import-usage`, { immediate: false }).json();
|
|
1103
|
+
function usePackageVersion(packageName) {
|
|
1104
|
+
return useFetch(`${API_ROOT}/package-version?package=${encodeURIComponent(packageName)}`, { immediate: false }).json();
|
|
1105
|
+
}
|
|
1106
|
+
useFetch(`${API_ROOT}/environment-info`, { immediate: false }).json();
|
|
1107
|
+
export { usePackageVersion as a, onClickOutside as c, useLocalStorage as d, useVModel as f, overviewFetch as i, useClipboard as l, createSharedComposable as m, componentUsageFetch as n, Badge_default as o, createEventHook as p, importUsageFetch as r, createReusableTemplate as s, apiListFetch as t, useElementSize as u };
|