vitepress-openapi 0.1.13 → 0.1.15
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/abap-BKBVphSj.cjs +1 -0
- package/dist/abap-CKmm5ecl.js +6 -0
- package/dist/actionscript-3-BeWGlvkz.cjs +1 -0
- package/dist/actionscript-3-DR99TPdY.js +6 -0
- package/dist/ada-rj8I9J9q.cjs +1 -0
- package/dist/ada-yCU0P5el.js +6 -0
- package/dist/angular-html-CEgVyJsZ.js +32 -0
- package/dist/angular-html-DKAFMRCg.cjs +1 -0
- package/dist/angular-ts-DZASjvFL.js +21 -0
- package/dist/angular-ts-SpeLjEmj.cjs +1 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apache-DL1xuH1f.cjs +1 -0
- package/dist/apex-Bo3FKDKO.cjs +1 -0
- package/dist/apex-DHJjCeXE.js +6 -0
- package/dist/apl-Bd12wJTy.cjs +1 -0
- package/dist/apl-C3knM5Y5.js +16 -0
- package/dist/applescript-BW_Yroew.js +6 -0
- package/dist/applescript-Df_WKtiR.cjs +1 -0
- package/dist/ara-BhqBTiSN.js +6 -0
- package/dist/ara-CL-kONA8.cjs +1 -0
- package/dist/asciidoc-2HC3FYDQ.js +6 -0
- package/dist/asciidoc-CDM3xD67.cjs +1 -0
- package/dist/asm-DdQ_W1DP.cjs +1 -0
- package/dist/asm-nn3rtNPH.js +6 -0
- package/dist/astro-CLSOp-pp.js +16 -0
- package/dist/astro-CjZCr23_.cjs +1 -0
- package/dist/awk-Xfc8tT7r.js +6 -0
- package/dist/awk-yxo7FrL0.cjs +1 -0
- package/dist/ballerina-ClwhyJZ6.js +6 -0
- package/dist/ballerina-GT7CwAzF.cjs +1 -0
- package/dist/bat-ByBJMEDO.cjs +1 -0
- package/dist/bat-CltO_7lG.js +6 -0
- package/dist/beancount-Ct9I1sJT.cjs +1 -0
- package/dist/beancount-DEfTbbFX.js +6 -0
- package/dist/berry-DZkhZ7K3.cjs +1 -0
- package/dist/berry-PwsHPR_K.js +6 -0
- package/dist/bibtex-BgA36Z3k.cjs +1 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-DFU2oTl7.js +6 -0
- package/dist/bicep-NGpU-VWq.cjs +1 -0
- package/dist/blade-CzH6A7DU.cjs +1 -0
- package/dist/blade-zR9OXcJN.js +20 -0
- package/dist/bsl-9bVgFeM9.cjs +1 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/c-IAP4evsT.cjs +1 -0
- package/dist/c-Q-TQE_U-.js +6 -0
- package/dist/cadence-CbYQ7c1c.cjs +1 -0
- package/dist/cadence-rXUcb5uY.js +6 -0
- package/dist/cairo-C4lSD4t2.js +8 -0
- package/dist/cairo-DEprNY2-.cjs +1 -0
- package/dist/clarity-DsDe22Nv.cjs +1 -0
- package/dist/clarity-c-opI0zV.js +6 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/clojure-OUsr1SUl.cjs +1 -0
- package/dist/cmake-B1Mrfu1c.js +6 -0
- package/dist/cmake-CmtD_oe6.cjs +1 -0
- package/dist/cobol-Bgiuk0qu.js +10 -0
- package/dist/cobol-DwKTNRXq.cjs +1 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeowners-QhPK6lIJ.cjs +1 -0
- package/dist/codeql-DIgHJHSH.cjs +1 -0
- package/dist/codeql-Dyy5tAoU.js +6 -0
- package/dist/coffee-CgE5nLEr.js +8 -0
- package/dist/coffee-DFWu2qnS.cjs +1 -0
- package/dist/common-lisp-DX-fvsba.cjs +1 -0
- package/dist/common-lisp-DvHEACkI.js +6 -0
- package/dist/coq-B6Ta79T2.js +6 -0
- package/dist/coq-DUGnuDWo.cjs +1 -0
- package/dist/cpp-8TuoQ1ID.js +18 -0
- package/dist/cpp-D66jeLUe.cjs +1 -0
- package/dist/crystal-CgBlSa2j.js +18 -0
- package/dist/crystal-CoEI2wor.cjs +1 -0
- package/dist/csharp-C5xjQZDk.cjs +1 -0
- package/dist/csharp-DmxfTLWR.js +6 -0
- package/dist/css-BvzHjYPT.js +6 -0
- package/dist/css-Dq_75vWh.cjs +1 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/csv-DiEdJzSJ.cjs +1 -0
- package/dist/cue-D1vJRJEx.cjs +1 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-C0-W6MSl.cjs +1 -0
- package/dist/cypher-ClHbEYyl.js +6 -0
- package/dist/d-BC3qcBt3.js +6 -0
- package/dist/d-Dan8rvSt.cjs +1 -0
- package/dist/dart-6ObCrKr9.js +6 -0
- package/dist/dart-Ds0_0fwe.cjs +1 -0
- package/dist/dax-CoQIG3T-.cjs +1 -0
- package/dist/dax-DI4cJblQ.js +6 -0
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/desktop-tn3MFXCZ.cjs +1 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/diff-CA31fCOg.cjs +1 -0
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/docker-zJpMwmYa.cjs +1 -0
- package/dist/dotenv-BMjVjUL1.js +6 -0
- package/dist/dotenv-DpcNCNek.cjs +1 -0
- package/dist/dream-maker-BSGHuzJI.js +6 -0
- package/dist/dream-maker-DeCJ1TIe.cjs +1 -0
- package/dist/edge-CDhZjxjq.js +12 -0
- package/dist/edge-CIMi_MYu.cjs +1 -0
- package/dist/elixir-D2tNDB6F.js +8 -0
- package/dist/elixir-jJlvqtCv.cjs +1 -0
- package/dist/elm-CMswKElQ.js +8 -0
- package/dist/elm-DWBzRA53.cjs +1 -0
- package/dist/emacs-lisp-BsDl2-g8.js +6 -0
- package/dist/emacs-lisp-g56Kklmk.cjs +1 -0
- package/dist/erb-ClwnQx4U.js +10 -0
- package/dist/erb-ZuiCPMfr.cjs +1 -0
- package/dist/erlang--O7Wkems.cjs +1 -0
- package/dist/erlang-DzW6MnOn.js +6 -0
- package/dist/fennel-Bpla0ZMD.js +6 -0
- package/dist/fennel-DjaZhuQZ.cjs +1 -0
- package/dist/fish-B6QqlqeT.js +6 -0
- package/dist/fish-DdOCLNAp.cjs +1 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fluent-CJtpNuaO.cjs +1 -0
- package/dist/fortran-fixed-form-Bz2GqltN.js +8 -0
- package/dist/fortran-fixed-form-ZWypfwFL.cjs +1 -0
- package/dist/fortran-free-form-CAE0oKxH.js +6 -0
- package/dist/fortran-free-form-CpWsI4Cm.cjs +1 -0
- package/dist/fsharp-ByXkbngM.js +8 -0
- package/dist/fsharp-DBjblKRV.cjs +1 -0
- package/dist/gdresource-Bj1wtoUq.cjs +1 -0
- package/dist/gdresource-SCcfAPZH.js +10 -0
- package/dist/gdscript-BtBOWfNE.js +6 -0
- package/dist/gdscript-BwYJnVd5.cjs +1 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/gdshader-DsmqQl4t.cjs +1 -0
- package/dist/genie-Dy2rU8CF.cjs +1 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gherkin-CnN0LLeE.js +6 -0
- package/dist/gherkin-Dbjg1DU4.cjs +1 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-commit-DlVDzq9L.cjs +1 -0
- package/dist/git-rebase-C8lK3sxN.js +8 -0
- package/dist/git-rebase-CqC5o1jw.cjs +1 -0
- package/dist/gleam-BirJ8P27.js +6 -0
- package/dist/gleam-DZA62vWQ.cjs +1 -0
- package/dist/glimmer-js-C2hoXB0v.js +14 -0
- package/dist/glimmer-js-DtXTBe0M.cjs +1 -0
- package/dist/glimmer-ts-BCTRZTQF.cjs +1 -0
- package/dist/glimmer-ts-DD_G5Cqz.js +14 -0
- package/dist/glsl-9kLALDdQ.js +8 -0
- package/dist/glsl-ryuFMRXo.cjs +1 -0
- package/dist/gnuplot-3CzqD77Q.cjs +1 -0
- package/dist/gnuplot-Mi8tmwAA.js +6 -0
- package/dist/go-C40b7FzD.js +6 -0
- package/dist/go-DTEtHPwj.cjs +1 -0
- package/dist/graphql-BR7p0n_u.js +14 -0
- package/dist/graphql-BRNoLQUT.cjs +1 -0
- package/dist/groovy-CKGJ02fD.cjs +1 -0
- package/dist/groovy-jM2LFJgZ.js +6 -0
- package/dist/hack-HRlvd5jy.cjs +1 -0
- package/dist/hack-zmitWuvz.js +10 -0
- package/dist/haml-473akyxI.cjs +1 -0
- package/dist/haml-C7KOzH0N.js +10 -0
- package/dist/handlebars-BIHfdH9s.cjs +1 -0
- package/dist/handlebars-bZmy6V7D.js +14 -0
- package/dist/haskell-BShesV2P.cjs +1 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe--TlBrvvF.cjs +1 -0
- package/dist/haxe-Dglytoly.js +6 -0
- package/dist/hcl-CrZnvm-1.cjs +1 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/hjson-CEESwTUP.cjs +1 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-37_IS2Xu.js +6 -0
- package/dist/hlsl-DZFIq9DF.cjs +1 -0
- package/dist/html-Dmk7FzFV.js +10 -0
- package/dist/html-Mmdn7qi8.cjs +1 -0
- package/dist/html-derivative-B9vFBhzI.js +8 -0
- package/dist/html-derivative-r3lwioI0.cjs +1 -0
- package/dist/http-Ch63JHi4.js +14 -0
- package/dist/http-Gh2B1we3.cjs +1 -0
- package/dist/hxml-BjcIEQ94.cjs +1 -0
- package/dist/hxml-WQE9PXn_.js +8 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/hy-a1E2Ed6P.cjs +1 -0
- package/dist/imba-C6-JmjCm.js +6 -0
- package/dist/imba-eh7Ci0zq.cjs +1 -0
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/ini-Dpu3Xy2p.cjs +1 -0
- package/dist/java-C0QqN_Gm.cjs +1 -0
- package/dist/java-D4mTlHIx.js +6 -0
- package/dist/javascript-7UOe5Mty.js +6 -0
- package/dist/javascript-CnD-bqIP.cjs +1 -0
- package/dist/jinja-B1ap2SZy.js +11 -0
- package/dist/jinja-DjH-JsPs.cjs +1 -0
- package/dist/jison-_-ITUMaV.cjs +1 -0
- package/dist/jison-eNQ9s0Nz.js +8 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json-YkPizm35.cjs +1 -0
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/json5-CCgFZiQn.cjs +1 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonc-CKPHIcXW.cjs +1 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonl-Dq56Hab-.cjs +1 -0
- package/dist/jsonnet-BQnHlHrT.cjs +1 -0
- package/dist/jsonnet-DUWohlSd.js +6 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jssm-D0M9iZPY.cjs +1 -0
- package/dist/jsx-DILy9-lz.js +6 -0
- package/dist/jsx-D_bjWdZ-.cjs +1 -0
- package/dist/julia-BePtZvGj.cjs +1 -0
- package/dist/julia-LDZ561rQ.js +16 -0
- package/dist/kotlin-BHZjvNqT.cjs +1 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-DR_RvIFV.cjs +1 -0
- package/dist/kusto-Rfzg9KzR.js +6 -0
- package/dist/latex-BfX5U1Sd.js +8 -0
- package/dist/latex-DKuYuEde.cjs +1 -0
- package/dist/lean-CQ0o2I4A.cjs +1 -0
- package/dist/lean-CcxdlaEO.js +6 -0
- package/dist/less-BiVrhzh9.cjs +1 -0
- package/dist/less-CDsaWg7S.js +6 -0
- package/dist/liquid-D9E8oQwR.js +14 -0
- package/dist/liquid-DlhhSgrf.cjs +1 -0
- package/dist/llvm-e4Xul33y.js +6 -0
- package/dist/llvm-iaGQW23L.cjs +1 -0
- package/dist/log-BJG8AI4v.cjs +1 -0
- package/dist/log-BMWGfviR.js +6 -0
- package/dist/logo-GcWtji1S.js +6 -0
- package/dist/logo-HR1XAufm.cjs +1 -0
- package/dist/lua-BhOzxiNv.cjs +1 -0
- package/dist/lua-Dq5PiiEh.js +8 -0
- package/dist/luau-BgETl4eQ.js +6 -0
- package/dist/luau-DCnGcpg3.cjs +1 -0
- package/dist/make-BxBgf5SK.cjs +1 -0
- package/dist/make-DATkTn5k.js +6 -0
- package/dist/markdown-At0E3C-H.cjs +1 -0
- package/dist/markdown-tpAksNgs.js +6 -0
- package/dist/marko-Cx05A6qT.cjs +1 -0
- package/dist/marko-em1KZZPI.js +14 -0
- package/dist/matlab-BTwqDlCV.js +6 -0
- package/dist/matlab-dYTV8Va8.cjs +1 -0
- package/dist/mdc-B85Vzck_.js +12 -0
- package/dist/mdc-CpY2Iu8n.cjs +1 -0
- package/dist/mdx-hX86k0IB.cjs +1 -0
- package/dist/mdx-mgX1SPaH.js +6 -0
- package/dist/mermaid-BNSe6TK0.cjs +1 -0
- package/dist/mermaid-BO-KORj_.js +6 -0
- package/dist/mipsasm-BB9ZDfqv.js +6 -0
- package/dist/mipsasm-Dxt7TSM8.cjs +1 -0
- package/dist/mojo-BkvFwM2J.js +6 -0
- package/dist/mojo-DVF5PDJm.cjs +1 -0
- package/dist/move-653S600C.js +6 -0
- package/dist/move-hjDZLTyZ.cjs +1 -0
- package/dist/narrat-CBeKHgTl.cjs +1 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-CAZJVaqd.js +6 -0
- package/dist/nextflow-DWoN8m6B.cjs +1 -0
- package/dist/nginx-BO3apUFm.js +8 -0
- package/dist/nginx-J1xxYqiq.cjs +1 -0
- package/dist/nim-Da03I0MI.js +20 -0
- package/dist/nim-c5pK8XVR.cjs +1 -0
- package/dist/nix-Cw-Fr32O.cjs +1 -0
- package/dist/nix-vXy2x35h.js +6 -0
- package/dist/nushell-BqaXMsQv.js +6 -0
- package/dist/nushell-DEKS6FxE.cjs +1 -0
- package/dist/objective-c-AZYrx03J.js +6 -0
- package/dist/objective-c-BiwxnXN2.cjs +1 -0
- package/dist/objective-cpp-Bwb4Yru9.cjs +1 -0
- package/dist/objective-cpp-CkEytQjB.js +6 -0
- package/dist/ocaml-43I0AHKg.js +6 -0
- package/dist/ocaml-Bsgw2BvN.cjs +1 -0
- package/dist/pascal-0cU5prrt.js +6 -0
- package/dist/pascal-BgZRbqCd.cjs +1 -0
- package/dist/perl-DCeajP4C.cjs +1 -0
- package/dist/perl-Sam3x-2m.js +16 -0
- package/dist/php-Cs8ilq_M.cjs +1 -0
- package/dist/php-cn7Y86XO.js +18 -0
- package/dist/plsql-Cffw5ZDA.js +6 -0
- package/dist/plsql-CxYgGA0l.cjs +1 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/po-Rhu6MvnX.cjs +1 -0
- package/dist/polar-BtWqSUq2.cjs +1 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/postcss-Dh97DcaJ.cjs +1 -0
- package/dist/powerquery-BGL6VIw7.cjs +1 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-BGGfoZT9.cjs +1 -0
- package/dist/powershell-CxGt-Df_.js +6 -0
- package/dist/prisma-Dp473sn0.cjs +1 -0
- package/dist/prisma-FZjmVtSl.js +6 -0
- package/dist/prolog-Bt0ZRw9B.js +6 -0
- package/dist/prolog-DVOKEGjw.cjs +1 -0
- package/dist/proto-MmCPeFAD.js +6 -0
- package/dist/proto-kd7Vn2fe.cjs +1 -0
- package/dist/pug-VGa046OQ.js +12 -0
- package/dist/pug-i3YuDXdo.cjs +1 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/puppet-cDQP_ZC_.cjs +1 -0
- package/dist/purescript-Bu5C7qza.cjs +1 -0
- package/dist/purescript-CTuz6_OV.js +6 -0
- package/dist/python-BJbwsA0T.js +6 -0
- package/dist/python-DfZ1_mTl.cjs +1 -0
- package/dist/qml-1q6XOxIY.js +8 -0
- package/dist/qml-BHKKs0ef.cjs +1 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qmldir-DNF9H2ir.cjs +1 -0
- package/dist/qss-C2fdVvsl.cjs +1 -0
- package/dist/qss-DKUo3sLE.js +6 -0
- package/dist/r-CPcuPYAN.cjs +1 -0
- package/dist/r-Dv5b3YUy.js +6 -0
- package/dist/racket-BysEjE3G.cjs +1 -0
- package/dist/racket-DD4on1Oj.js +6 -0
- package/dist/raku-Ce3vjiCV.js +6 -0
- package/dist/raku-DWLMjSNy.cjs +1 -0
- package/dist/razor-Dp3Dl0el.js +10 -0
- package/dist/razor-T1Z_g-NG.cjs +1 -0
- package/dist/reg-CevkCKuZ.cjs +1 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/regexp-DabTWNLE.cjs +1 -0
- package/dist/rel-BS5APza7.cjs +1 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/riscv-BacM50Nk.cjs +1 -0
- package/dist/riscv-C-9cOotF.js +6 -0
- package/dist/rst-DtTT5B3a.cjs +1 -0
- package/dist/rst-S1r8fhKI.js +22 -0
- package/dist/ruby-C4LLnb0J.cjs +1 -0
- package/dist/ruby-C9ouFU24.js +30 -0
- package/dist/rust-CLzF9zIN.js +6 -0
- package/dist/rust-CNeTMPbB.cjs +1 -0
- package/dist/sas-D5Uu8u0y.cjs +1 -0
- package/dist/sas-DS05aYL8.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/sass-vyo-bUwh.cjs +1 -0
- package/dist/scala-D4grkFkl.js +6 -0
- package/dist/scala-ZSekD-8-.cjs +1 -0
- package/dist/scheme-72Y4OSvz.js +6 -0
- package/dist/scheme-Bx3i9Kld.cjs +1 -0
- package/dist/scss-B4jpoMHP.cjs +1 -0
- package/dist/scss-BAGVQGbP.js +8 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/sdbl-DeWT5r4i.cjs +1 -0
- package/dist/shaderlab-CJ9SEu5m.cjs +1 -0
- package/dist/shaderlab-Og2joYaK.js +8 -0
- package/dist/shellscript-DOSAZMuM.cjs +1 -0
- package/dist/shellscript-gRuZ7hNk.js +6 -0
- package/dist/shellsession-DSUh-pv6.js +8 -0
- package/dist/shellsession-n8ShO2Ub.cjs +1 -0
- package/dist/smalltalk-BT4qeiTo.js +6 -0
- package/dist/smalltalk-CJzLG25t.cjs +1 -0
- package/dist/solidity-CYggdHYd.cjs +1 -0
- package/dist/solidity-CneOhxmR.js +6 -0
- package/dist/soy-77OmKKfc.js +8 -0
- package/dist/soy-CY1OmCeQ.cjs +1 -0
- package/dist/sparql-6Cg9ppCl.cjs +1 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-BNkn--jx.cjs +1 -0
- package/dist/splunk-CzJ-Zf8b.js +6 -0
- package/dist/sql-Bz-fWgcJ.js +6 -0
- package/dist/sql-DPy3KOn-.cjs +1 -0
- package/dist/ssh-config-B93wBIBa.cjs +1 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-DWUtbMh2.js +8 -0
- package/dist/stata-DpBB3IXl.cjs +1 -0
- package/dist/stylus-C6F8nglz.cjs +1 -0
- package/dist/stylus-eDS3yA4Q.js +6 -0
- package/dist/svelte-B5qv6Vtk.js +14 -0
- package/dist/svelte-Bq_9MsFO.cjs +1 -0
- package/dist/swift-Cu-y7Uk9.js +6 -0
- package/dist/swift-pA-2lrob.cjs +1 -0
- package/dist/system-verilog-B0NmSI3m.js +6 -0
- package/dist/system-verilog-BFOMplBM.cjs +1 -0
- package/dist/systemd-BcsEpy1P.js +6 -0
- package/dist/systemd-DWaxn4CM.cjs +1 -0
- package/dist/talonscript-AuFDHys9.js +6 -0
- package/dist/talonscript-DLwkTvTL.cjs +1 -0
- package/dist/tasl--DC4oX-L.cjs +1 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-0Q0H86Yn.cjs +1 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-CIxJsqXB.cjs +1 -0
- package/dist/templ-DMsSjICO.js +12 -0
- package/dist/terraform-BXIY0Avr.js +6 -0
- package/dist/terraform-uO7d3UFK.cjs +1 -0
- package/dist/tex-D7Eue8nn.js +8 -0
- package/dist/tex-DwaQN_Jy.cjs +1 -0
- package/dist/toml-D5Jd3p3r.js +6 -0
- package/dist/toml-p_Hzbzdz.cjs +1 -0
- package/dist/ts-tags-G8Jx4Opf.cjs +1 -0
- package/dist/ts-tags-ltPAzp0x.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsv-DqNGnuVj.cjs +1 -0
- package/dist/tsx-BacM7pKl.cjs +1 -0
- package/dist/tsx-CwYBzqZD.js +6 -0
- package/dist/turtle-DipIidr5.cjs +1 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-CzeM-Mdc.cjs +1 -0
- package/dist/twig-DhAeGEYy.js +18 -0
- package/dist/types/src/components/Common/Highlight/OAShiki.vue.d.ts +2 -2
- package/dist/types/src/components/Common/OACodeBlock.vue.d.ts +2 -2
- package/dist/types/src/components/Playground/OAPlaygroundBodyInput.vue.d.ts +3 -0
- package/dist/types/src/components/Playground/OAPlaygroundParameterInput.vue.d.ts +19 -0
- package/dist/types/src/components/Playground/OAPlaygroundParameters.vue.d.ts +19 -0
- package/dist/types/src/components/Sample/OACodeSamples.vue.d.ts +1 -11
- package/dist/types/src/components/ui/select-with-custom-option/SelectWithCustomOption.vue.d.ts +1 -1
- package/dist/types/src/composables/useShiki.d.ts +2 -0
- package/dist/types/src/composables/useTheme.d.ts +35 -9
- package/dist/types/src/lib/codeSamples/generateCodeSample.d.ts +2 -1
- package/dist/types/src/lib/examples/getPropertyExample.d.ts +2 -0
- package/dist/types/src/lib/playground/playgroundExampleBehavior.d.ts +5 -0
- package/dist/typescript-Bt6RvN7l.js +6 -0
- package/dist/typescript-D8n4nQfB.cjs +1 -0
- package/dist/typespec-CLqB-2XS.cjs +1 -0
- package/dist/typespec-Djmco60m.js +6 -0
- package/dist/typst-D1Xy7XAg.js +6 -0
- package/dist/typst-sG9-qh9P.cjs +1 -0
- package/dist/useOpenapi-DHJ6SAsR.cjs +111 -0
- package/dist/{useOpenapi-6CsRISb7.js → useOpenapi-DqKJozk7.js} +1827 -1808
- package/dist/v-Dq1apf8y.cjs +1 -0
- package/dist/v-DtlRovWa.js +6 -0
- package/dist/vala-B2iuM95f.cjs +1 -0
- package/dist/vala-hXVBNcDV.js +6 -0
- package/dist/vb-CdOivdro.cjs +1 -0
- package/dist/vb-CeNdtQe1.js +6 -0
- package/dist/verilog-AMohXZcN.cjs +1 -0
- package/dist/verilog-B-bybjPF.js +6 -0
- package/dist/vhdl--iPMu36M.cjs +1 -0
- package/dist/vhdl-DvPF1z3y.js +6 -0
- package/dist/viml-B3XK6vKo.js +6 -0
- package/dist/viml-CrWc8Njv.cjs +1 -0
- package/dist/vitepress-openapi.client.cjs.js +179 -178
- package/dist/vitepress-openapi.client.es.js +27139 -25720
- package/dist/vitepress-openapi.css +1 -1
- package/dist/vitepress-openapi.node.cjs.js +1 -1
- package/dist/vitepress-openapi.node.es.js +1 -1
- package/dist/vue-BQReV1nl.js +31 -0
- package/dist/vue-DT8l9O9g.cjs +1 -0
- package/dist/vue-html-CGJZYYWg.js +10 -0
- package/dist/vue-html-DZ7EUmrr.cjs +1 -0
- package/dist/vyper-SBRFIT2x.js +6 -0
- package/dist/vyper-Wv1PKPYi.cjs +1 -0
- package/dist/wasm-CaJFM9eO.cjs +1 -0
- package/dist/wasm-LjSqHxW-.js +6 -0
- package/dist/wenyan-CRNx8UP3.cjs +1 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DF5qc9dd.cjs +1 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-Aup4DNZQ.cjs +1 -0
- package/dist/wikitext-DImBD-ms.js +6 -0
- package/dist/wit-BjWgLsJj.cjs +1 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-CalwhY2X.js +6 -0
- package/dist/wolfram-DVDIDijM.cjs +1 -0
- package/dist/xml-CCE_6duq.cjs +1 -0
- package/dist/xml-D4IZPm1_.js +8 -0
- package/dist/xsl-Bi6Zn0mH.cjs +1 -0
- package/dist/xsl-BziKlaTt.js +8 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/yaml-XVBmpKh-.cjs +1 -0
- package/dist/zenscript-BP4Ggu2u.js +6 -0
- package/dist/zenscript-UyTM2fWU.cjs +1 -0
- package/dist/zig-BXwYp5qu.cjs +1 -0
- package/dist/zig-C6NB9UvU.js +6 -0
- package/package.json +2 -1
- package/src/components/Common/Highlight/OAShiki.vue +2 -2
- package/src/components/Feature/OAOperationContent.vue +0 -1
- package/src/components/Playground/OAPlayground.vue +7 -1
- package/src/components/Playground/OAPlaygroundBodyInput.vue +10 -2
- package/src/components/Playground/OAPlaygroundParameterInput.vue +20 -5
- package/src/components/Playground/OAPlaygroundParameters.vue +23 -8
- package/src/components/Sample/OACodeSamples.vue +86 -40
- package/src/composables/useShiki.ts +94 -11
- package/src/composables/useTheme.ts +69 -45
- package/src/lib/codeSamples/generateCodeSample.ts +18 -17
- package/src/lib/examples/getPropertyExample.ts +9 -1
- package/src/lib/parser/generateCodeSamples.ts +1 -1
- package/src/lib/parser/getSchemaUi.ts +9 -6
- package/src/lib/playground/playgroundExampleBehavior.ts +48 -0
- package/dist/useOpenapi-BWPHDvt-.cjs +0 -111
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./css-Dq_75vWh.cjs"),e=require("./javascript-CnD-bqIP.cjs"),n=require("./scss-B4jpoMHP.cjs"),i=require("./php-Cs8ilq_M.cjs"),a=require("./python-DfZ1_mTl.cjs"),s=require("./ruby-C4LLnb0J.cjs"),r=Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(defined|empty|even|iterable|odd)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)),u=[...t.default,...e.default,...n.default,...i.default,...a.default,...s.default,r];exports.default=u;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import t from "./css-BvzHjYPT.js";
|
|
2
|
+
import e from "./javascript-7UOe5Mty.js";
|
|
3
|
+
import n from "./scss-BAGVQGbP.js";
|
|
4
|
+
import i from "./php-cn7Y86XO.js";
|
|
5
|
+
import a from "./python-BJbwsA0T.js";
|
|
6
|
+
import s from "./ruby-C9ouFU24.js";
|
|
7
|
+
const r = Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(defined|empty|even|iterable|odd)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)), l = [
|
|
8
|
+
...t,
|
|
9
|
+
...e,
|
|
10
|
+
...n,
|
|
11
|
+
...i,
|
|
12
|
+
...a,
|
|
13
|
+
...s,
|
|
14
|
+
r
|
|
15
|
+
];
|
|
16
|
+
export {
|
|
17
|
+
l as default
|
|
18
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
code: string | number | boolean | Record<string, any> | unknown[];
|
|
3
2
|
lang: string;
|
|
3
|
+
code: string | number | boolean | Record<string, any> | unknown[];
|
|
4
4
|
$props: {
|
|
5
|
-
readonly code?: string | number | boolean | Record<string, any> | unknown[] | undefined;
|
|
6
5
|
readonly lang?: string | undefined;
|
|
6
|
+
readonly code?: string | number | boolean | Record<string, any> | unknown[] | undefined;
|
|
7
7
|
};
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
lang: string;
|
|
2
3
|
code: string | number | boolean | Record<string, any> | unknown[];
|
|
3
4
|
label: string;
|
|
4
|
-
lang: string;
|
|
5
5
|
disableHtmlTransform: boolean;
|
|
6
6
|
active: boolean;
|
|
7
7
|
$props: {
|
|
8
|
+
readonly lang?: string | undefined;
|
|
8
9
|
readonly code?: string | number | boolean | Record<string, any> | unknown[] | undefined;
|
|
9
10
|
readonly label?: string | undefined;
|
|
10
|
-
readonly lang?: string | undefined;
|
|
11
11
|
readonly disableHtmlTransform?: boolean | undefined;
|
|
12
12
|
readonly active?: boolean | undefined;
|
|
13
13
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from '@scalar/openapi-types';
|
|
2
|
+
import type { PlaygroundExampleBehavior } from '../../composables/useTheme';
|
|
2
3
|
import type { OAExampleObject } from '../../types';
|
|
3
4
|
interface Props {
|
|
4
5
|
operationId: string;
|
|
@@ -9,6 +10,8 @@ interface Props {
|
|
|
9
10
|
examples?: {
|
|
10
11
|
[key: string]: OAExampleObject;
|
|
11
12
|
};
|
|
13
|
+
exampleBehavior?: PlaygroundExampleBehavior;
|
|
14
|
+
xExampleBehavior?: PlaygroundExampleBehavior;
|
|
12
15
|
}
|
|
13
16
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
17
|
submit: () => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PlaygroundExampleBehavior } from '../../composables/useTheme';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
parameter: {
|
|
3
4
|
type: ObjectConstructor;
|
|
@@ -14,6 +15,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
15
|
type: StringConstructor;
|
|
15
16
|
required: true;
|
|
16
17
|
};
|
|
18
|
+
exampleBehavior: {
|
|
19
|
+
type: () => PlaygroundExampleBehavior;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
xExampleBehavior: {
|
|
23
|
+
type: () => PlaygroundExampleBehavior;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
17
26
|
enabled: {
|
|
18
27
|
type: BooleanConstructor;
|
|
19
28
|
default: boolean;
|
|
@@ -42,6 +51,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
51
|
type: StringConstructor;
|
|
43
52
|
required: true;
|
|
44
53
|
};
|
|
54
|
+
exampleBehavior: {
|
|
55
|
+
type: () => PlaygroundExampleBehavior;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
xExampleBehavior: {
|
|
59
|
+
type: () => PlaygroundExampleBehavior;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
45
62
|
enabled: {
|
|
46
63
|
type: BooleanConstructor;
|
|
47
64
|
default: boolean;
|
|
@@ -55,6 +72,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
72
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
56
73
|
"onUpdate:enabled"?: ((...args: any[]) => any) | undefined;
|
|
57
74
|
}>, {
|
|
75
|
+
exampleBehavior: PlaygroundExampleBehavior;
|
|
76
|
+
xExampleBehavior: PlaygroundExampleBehavior;
|
|
58
77
|
enabled: boolean;
|
|
59
78
|
hideLabel: boolean;
|
|
60
79
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from '@scalar/openapi-types';
|
|
2
|
+
import type { PlaygroundExampleBehavior } from '../../composables/useTheme';
|
|
2
3
|
import type { SecurityUiItem } from '../../types';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
5
|
operationId: {
|
|
@@ -46,6 +47,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
47
|
type: ObjectConstructor;
|
|
47
48
|
required: false;
|
|
48
49
|
};
|
|
50
|
+
exampleBehavior: {
|
|
51
|
+
type: () => PlaygroundExampleBehavior;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
xExampleBehavior: {
|
|
55
|
+
type: () => PlaygroundExampleBehavior;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
49
58
|
requestBody: {
|
|
50
59
|
type: ObjectConstructor;
|
|
51
60
|
required: false;
|
|
@@ -98,6 +107,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
98
107
|
type: ObjectConstructor;
|
|
99
108
|
required: false;
|
|
100
109
|
};
|
|
110
|
+
exampleBehavior: {
|
|
111
|
+
type: () => PlaygroundExampleBehavior;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
xExampleBehavior: {
|
|
115
|
+
type: () => PlaygroundExampleBehavior;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
101
118
|
requestBody: {
|
|
102
119
|
type: ObjectConstructor;
|
|
103
120
|
required: false;
|
|
@@ -107,6 +124,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
107
124
|
}>, {
|
|
108
125
|
parameters: OpenAPIV3.ParameterObject[];
|
|
109
126
|
servers: unknown[];
|
|
127
|
+
exampleBehavior: PlaygroundExampleBehavior;
|
|
128
|
+
xExampleBehavior: PlaygroundExampleBehavior;
|
|
110
129
|
securityUi: Record<string, any>;
|
|
111
130
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
131
|
export default _default;
|
|
@@ -3,20 +3,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
codeSamples: {
|
|
7
|
-
type: ObjectConstructor;
|
|
8
|
-
default: () => {};
|
|
9
|
-
};
|
|
10
6
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
7
|
operationId: {
|
|
12
8
|
type: StringConstructor;
|
|
13
9
|
required: true;
|
|
14
10
|
};
|
|
15
|
-
|
|
16
|
-
type: ObjectConstructor;
|
|
17
|
-
default: () => {};
|
|
18
|
-
};
|
|
19
|
-
}>> & Readonly<{}>, {
|
|
20
|
-
codeSamples: Record<string, any>;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
12
|
export default _default;
|
package/dist/types/src/components/ui/select-with-custom-option/SelectWithCustomOption.vue.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<SelectWithCustomOptionProp
|
|
|
10
10
|
"onUpdate:customValue"?: ((value: string) => any) | undefined;
|
|
11
11
|
"onUpdate:isCustom"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
modelValue: string;
|
|
14
13
|
placeholder: string;
|
|
14
|
+
modelValue: string;
|
|
15
15
|
isCustom: boolean;
|
|
16
16
|
customValue: string;
|
|
17
17
|
defaultCustomValue: string;
|
|
@@ -5,7 +5,9 @@ export declare function useShiki(): {
|
|
|
5
5
|
theme: string;
|
|
6
6
|
}) => string;
|
|
7
7
|
init: () => Promise<void>;
|
|
8
|
+
ensureLanguage: (lang: string) => Promise<boolean>;
|
|
8
9
|
isReady: () => boolean;
|
|
10
|
+
isLanguageLoaded: (lang: string) => boolean;
|
|
9
11
|
reset: () => void;
|
|
10
12
|
initShiki: () => Promise<void>;
|
|
11
13
|
};
|
|
@@ -44,6 +44,7 @@ export interface ResponseConfig {
|
|
|
44
44
|
defaultView?: Ref<BodyViewType>;
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
+
export type PlaygroundExampleBehavior = 'placeholder' | 'value' | 'ignore';
|
|
47
48
|
export interface PlaygroundConfig {
|
|
48
49
|
jsonEditor?: {
|
|
49
50
|
mode?: Ref<PlaygroundJsonEditorMode>;
|
|
@@ -51,6 +52,10 @@ export interface PlaygroundConfig {
|
|
|
51
52
|
navigationBar?: Ref<boolean>;
|
|
52
53
|
statusBar?: Ref<boolean>;
|
|
53
54
|
};
|
|
55
|
+
examples?: {
|
|
56
|
+
behavior?: Ref<PlaygroundExampleBehavior>;
|
|
57
|
+
playgroundExampleBehavior?: Ref<PlaygroundExampleBehavior>;
|
|
58
|
+
};
|
|
54
59
|
}
|
|
55
60
|
export interface SecurityConfig {
|
|
56
61
|
defaultScheme?: Ref<string | null>;
|
|
@@ -117,7 +122,6 @@ export interface UseThemeConfig {
|
|
|
117
122
|
markdown?: Partial<MarkdownConfig>;
|
|
118
123
|
}
|
|
119
124
|
export interface CodeSamplesConfig {
|
|
120
|
-
langs: string[];
|
|
121
125
|
defaultLang: string;
|
|
122
126
|
availableLanguages: LanguageConfig[];
|
|
123
127
|
generator: GeneratorFunction;
|
|
@@ -127,14 +131,22 @@ export interface LinksPrefixesConfig {
|
|
|
127
131
|
tags: string;
|
|
128
132
|
operations: string;
|
|
129
133
|
}
|
|
130
|
-
interface LanguageConfig {
|
|
134
|
+
export interface LanguageConfig {
|
|
135
|
+
/** Unique identifier and Shiki highlighter language (e.g., 'curl', 'javascript', 'php') */
|
|
131
136
|
lang: string;
|
|
137
|
+
/** Display name shown in the UI */
|
|
132
138
|
label: string;
|
|
133
|
-
|
|
139
|
+
/** Target language for @scalar/snippetz code generation (e.g., 'js', 'shell', 'python') */
|
|
140
|
+
target?: string;
|
|
141
|
+
/** HTTP client for the target language (e.g., 'fetch', 'axios', 'curl') */
|
|
142
|
+
client?: string;
|
|
143
|
+
/** Icon identifier for vitepress-plugin-group-icons */
|
|
134
144
|
icon?: string;
|
|
145
|
+
/** Shiki language for syntax highlighting (defaults to 'plain') */
|
|
146
|
+
highlighter?: string;
|
|
135
147
|
}
|
|
136
148
|
export type PartialUseThemeConfig = Partial<UnwrapNestedRefs<UseThemeConfig>>;
|
|
137
|
-
type GeneratorFunction = (
|
|
149
|
+
type GeneratorFunction = (langConfig: LanguageConfig, request: OARequest) => Promise<string>;
|
|
138
150
|
type GetServersFunction = ({ method, path, operation }: {
|
|
139
151
|
method: string;
|
|
140
152
|
path: string;
|
|
@@ -189,6 +201,10 @@ export declare function useTheme(initialConfig?: PartialUseThemeConfig): {
|
|
|
189
201
|
navigationBar?: boolean | undefined;
|
|
190
202
|
statusBar?: boolean | undefined;
|
|
191
203
|
} | undefined;
|
|
204
|
+
examples?: {
|
|
205
|
+
behavior?: PlaygroundExampleBehavior | undefined;
|
|
206
|
+
playgroundExampleBehavior?: PlaygroundExampleBehavior | undefined;
|
|
207
|
+
} | undefined;
|
|
192
208
|
} | undefined;
|
|
193
209
|
security?: {
|
|
194
210
|
defaultScheme?: string | null | undefined;
|
|
@@ -226,13 +242,20 @@ export declare function useTheme(initialConfig?: PartialUseThemeConfig): {
|
|
|
226
242
|
disableDownload?: boolean | undefined;
|
|
227
243
|
} | undefined;
|
|
228
244
|
codeSamples?: {
|
|
229
|
-
langs?: string[] | undefined;
|
|
230
245
|
defaultLang?: string | undefined;
|
|
231
246
|
availableLanguages?: {
|
|
232
247
|
lang: string;
|
|
233
248
|
label: string;
|
|
234
|
-
|
|
235
|
-
|
|
249
|
+
target?: string
|
|
250
|
+
/** HTTP client for the target language (e.g., 'fetch', 'axios', 'curl') */
|
|
251
|
+
| undefined;
|
|
252
|
+
client?: string
|
|
253
|
+
/** Icon identifier for vitepress-plugin-group-icons */
|
|
254
|
+
| undefined;
|
|
255
|
+
icon?: string
|
|
256
|
+
/** Shiki language for syntax highlighting (defaults to 'plain') */
|
|
257
|
+
| undefined;
|
|
258
|
+
highlighter?: string | undefined;
|
|
236
259
|
}[] | undefined;
|
|
237
260
|
generator?: {} | undefined;
|
|
238
261
|
defaultHeaders?: {
|
|
@@ -293,6 +316,10 @@ export declare function useTheme(initialConfig?: PartialUseThemeConfig): {
|
|
|
293
316
|
setPlaygroundJsonEditorNavigationBar: (value: boolean) => void;
|
|
294
317
|
getPlaygroundJsonEditorStatusBar: () => boolean | undefined;
|
|
295
318
|
setPlaygroundJsonEditorStatusBar: (value: boolean) => void;
|
|
319
|
+
getPlaygroundExamplesBehavior: () => PlaygroundExampleBehavior;
|
|
320
|
+
setPlaygroundExamplesBehavior: (value: PlaygroundExampleBehavior) => void;
|
|
321
|
+
getPlaygroundXExampleBehavior: () => PlaygroundExampleBehavior;
|
|
322
|
+
setPlaygroundXExampleBehavior: (value: PlaygroundExampleBehavior) => void;
|
|
296
323
|
getSecurityDefaultScheme: () => string | null | undefined;
|
|
297
324
|
setSecurityDefaultScheme: (value: string | null) => void;
|
|
298
325
|
getOperationBadges: () => OperationBadges[];
|
|
@@ -311,9 +338,8 @@ export declare function useTheme(initialConfig?: PartialUseThemeConfig): {
|
|
|
311
338
|
getWrapExamples: () => boolean | undefined;
|
|
312
339
|
getSpecDisableDownload: () => boolean | undefined;
|
|
313
340
|
setSpecConfig: (config: Partial<UnwrapNestedRefs<SpecConfig>>) => void;
|
|
314
|
-
getCodeSamplesLangs: () => string[];
|
|
315
341
|
getCodeSamplesDefaultLang: () => string;
|
|
316
|
-
getCodeSamplesAvailableLanguages: () => LanguageConfig[]
|
|
342
|
+
getCodeSamplesAvailableLanguages: (filter?: Array<string>) => LanguageConfig[];
|
|
317
343
|
getCodeSamplesGenerator: () => GeneratorFunction;
|
|
318
344
|
getCodeSamplesDefaultHeaders: () => Record<string, string>;
|
|
319
345
|
setCodeSamplesConfig: (config: Partial<UnwrapNestedRefs<CodeSamplesConfig>>) => void;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import type { LanguageConfig } from '../../composables/useTheme';
|
|
1
2
|
import { OARequest } from './request';
|
|
2
|
-
export declare function generateCodeSample(
|
|
3
|
+
export declare function generateCodeSample(langConfig: LanguageConfig, request: OARequest | any): Promise<string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PlaygroundExampleBehavior } from '../../composables/useTheme';
|
|
2
|
+
export declare function useExampleForPlaceholder(behavior: PlaygroundExampleBehavior): boolean;
|
|
3
|
+
export declare function useExampleForValue(behavior: PlaygroundExampleBehavior): boolean;
|
|
4
|
+
export declare function resolveExampleForValue(property: any, behavior: PlaygroundExampleBehavior, xExampleBehavior?: PlaygroundExampleBehavior): any;
|
|
5
|
+
export declare function resolveExampleForPlaceholder(property: any, behavior: PlaygroundExampleBehavior, xExampleBehavior?: PlaygroundExampleBehavior): any;
|