vitepress-openapi 0.2.11 → 0.2.13
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/{OAJSONEditor-DMDZUFqm.cjs → OAJSONEditor-B27HNYxA.cjs} +4 -4
- package/dist/{OAJSONEditor-BTGtvci-.js → OAJSONEditor-Cxpub1dW.js} +7 -7
- package/dist/{angular-html-DNIOHlGh.cjs → angular-html-BoKsRe8T.cjs} +1 -1
- package/dist/{angular-html-BQID9WhU.js → angular-html-D5QwJSjx.js} +2 -2
- package/dist/{angular-ts-CDXMy72c.js → angular-ts-B0kZpGGd.js} +2 -2
- package/dist/{angular-ts-TtL5PHiu.cjs → angular-ts-CXuTnAMH.cjs} +1 -1
- package/dist/{apl-aiTHik1p.js → apl-CO2hi6pu.js} +5 -5
- package/dist/{apl-CHXP_PuI.cjs → apl-CjAWNKej.cjs} +1 -1
- package/dist/{astro-Bs6LKdLd.cjs → astro-C6WzLepe.cjs} +1 -1
- package/dist/{astro-Bk0EGHbZ.js → astro-C8AbPvmY.js} +5 -5
- package/dist/{blade-dcNVF1Xb.js → blade-B3TXqIqP.js} +7 -7
- package/dist/{blade-Cv7NuX7S.cjs → blade-bJOeoSe0.cjs} +1 -1
- package/dist/c-BCyoZ90X.cjs +1 -0
- package/dist/{c-COk7hDJA.js → c-BTzN4Ylc.js} +1 -1
- package/dist/{chapel-Bj11wkLP.cjs → chapel-D3SOeXgF.cjs} +1 -1
- package/dist/{chapel-BHO5Jgs1.js → chapel-DqUUkRYq.js} +1 -1
- package/dist/{cobol-D29hA4_9.js → cobol-DFLW8ca0.js} +2 -2
- package/dist/{cobol-B2PKMb5_.cjs → cobol-dlQjEakv.cjs} +1 -1
- package/dist/{coffee-DBMuDZbT.js → coffee-1KoIHtzW.js} +1 -1
- package/dist/{coffee-TE_xgObZ.cjs → coffee-TUzF5uor.cjs} +1 -1
- package/dist/{core-CEXh5eq0.js → core-CSILRXKH.js} +114 -114
- package/dist/{core-BPyqqKDB.cjs → core-x4pNOQS7.cjs} +3 -3
- package/dist/{cpp-Drml9yi6.cjs → cpp-tnOfy09q.cjs} +1 -1
- package/dist/{cpp-BSp0ExOJ.js → cpp-yEMsPd-1.js} +3 -3
- package/dist/{crystal-BxHtn_X1.js → crystal-CENIitzj.js} +6 -6
- package/dist/{crystal-T6SYXb8o.cjs → crystal-D_nHX3jS.cjs} +1 -1
- package/dist/css-02TmpFbt.cjs +1 -0
- package/dist/{css-B4-pOoLE.js → css-B-WLUKlS.js} +1 -1
- package/dist/{dist-8gEJqHbm.cjs → dist-BxzxjMCz.cjs} +5 -5
- package/dist/{dist-BdFVNebX.js → dist-C1v4Xm4x.js} +1 -1
- package/dist/{edge-CH9qUYIG.js → edge-BEj_2N8x.js} +3 -3
- package/dist/{edge-BPRyfS4T.cjs → edge-f2PDRzgK.cjs} +1 -1
- package/dist/{elixir-CYNNAueU.cjs → elixir-CIcaqRsY.cjs} +1 -1
- package/dist/{elixir-IMwLX-5a.js → elixir-CQkxmVTM.js} +1 -1
- package/dist/{elm-CsSGOCo2.cjs → elm-7G0I-hE6.cjs} +1 -1
- package/dist/{elm-8i0ndpf8.js → elm-DzGi_nR3.js} +1 -1
- package/dist/{engine-javascript-BA-lwMk1.cjs → engine-javascript-C27eFBsG.cjs} +2 -2
- package/dist/{engine-javascript-B8eiD8I_.js → engine-javascript-Jp6ImdBF.js} +1 -1
- package/dist/{erb-CCijh5g_.cjs → erb-B9-cGaTm.cjs} +1 -1
- package/dist/{erb-B3JdRKLz.js → erb-COP2UPZ7.js} +2 -2
- package/dist/{git-rebase-s4xgRin3.js → git-rebase-DTYLKCWV.js} +1 -1
- package/dist/{git-rebase-CqTcx364.cjs → git-rebase-Ku61ihN2.cjs} +1 -1
- package/dist/{glimmer-js-BRlqJZKJ.js → glimmer-js-D29AEl8t.js} +4 -4
- package/dist/{glimmer-js-BmyOid01.cjs → glimmer-js-izmglT1O.cjs} +1 -1
- package/dist/{glimmer-ts-Cr-avsOb.cjs → glimmer-ts-DJ1fakxz.cjs} +1 -1
- package/dist/{glimmer-ts-_bCiLZ83.js → glimmer-ts-DYj3qCHB.js} +4 -4
- package/dist/glsl-BGTPqLyQ.cjs +1 -0
- package/dist/{glsl-DEotYDrM.js → glsl-Bc6nFncG.js} +2 -2
- package/dist/graphql-DdYH_Rp2.cjs +1 -0
- package/dist/{graphql-Eb9BjU5l.js → graphql-Ds5Ubte9.js} +5 -5
- package/dist/{hack-qsr2p76N.js → hack-B6E-ISVN.js} +2 -2
- package/dist/{hack-BzUM5t5Z.cjs → hack-DlUSG6ek.cjs} +1 -1
- package/dist/haml-D-xAsnlc.cjs +1 -0
- package/dist/{haml-C9NgGuR7.js → haml-DSK5muqV.js} +3 -3
- package/dist/{handlebars-B3AlHew8.cjs → handlebars-BxmkFTU3.cjs} +1 -1
- package/dist/{handlebars-DKLGUOgk.js → handlebars-CGjGomme.js} +4 -4
- package/dist/html-BYiFDapk.cjs +1 -0
- package/dist/{html-b1x-0Sjo.js → html-DvKVaMAh.js} +3 -3
- package/dist/{html-derivative-D5RWFbq-.js → html-derivative--Yb6fTDM.js} +1 -1
- package/dist/{html-derivative-D4EoT0cZ.cjs → html-derivative-Due6nHaa.cjs} +1 -1
- package/dist/{http-CL9xVX7f.cjs → http-BDb2okFn.cjs} +1 -1
- package/dist/{http-Cu3ENe5f.js → http-Wf5dll9t.js} +4 -4
- package/dist/{hurl-n9N1IzC8.js → hurl-1Afa28rK.js} +2 -2
- package/dist/{hurl-CWH_45Jf.cjs → hurl-Ds566NU_.cjs} +1 -1
- package/dist/{java-DsOZx36s.js → java-DMU2lkyP.js} +1 -1
- package/dist/java-DwnayQnb.cjs +1 -0
- package/dist/javascript-CSKossUl.cjs +1 -0
- package/dist/{javascript-BeZuSKue.js → javascript-CkOfli2O.js} +1 -1
- package/dist/{jinja-BZOrYxA1.js → jinja-C_EeM5kX.js} +1 -1
- package/dist/{jinja-C3xeiIjm.cjs → jinja-D65--viX.cjs} +1 -1
- package/dist/{jison-BswhHWc-.cjs → jison-CgJDwgW4.cjs} +1 -1
- package/dist/{jison-CJd90rxW.js → jison-D5yGxh57.js} +1 -1
- package/dist/{js-yaml-Bd7r_XRf.js → js-yaml-CA-Iojzo.js} +1 -1
- package/dist/{js-yaml-BP7bOeG0.cjs → js-yaml-uHYMr7LM.cjs} +1 -1
- package/dist/json-DMvxal4O.cjs +1 -0
- package/dist/{json-BYngJnVq.js → json-DnSlp2pP.js} +1 -1
- package/dist/jsx-CJAVXoYP.cjs +1 -0
- package/dist/{jsx-DD3WDGak.js → jsx-DIHyTcyM.js} +1 -1
- package/dist/{julia-CQHqjN9U.cjs → julia-Upv7yuF3.cjs} +1 -1
- package/dist/{julia-BbEQUnh9.js → julia-pnYWyN4H.js} +4 -4
- package/dist/{just-CC-2RAnt.js → just-Rux3ihaI.js} +5 -5
- package/dist/{just-BtQy4COc.cjs → just-kcvRoQaC.cjs} +1 -1
- package/dist/{latex-DI79tfSU.js → latex-BNmmGRr9.js} +1 -1
- package/dist/{latex-Dc8GmMF-.cjs → latex-ssVj4acX.cjs} +1 -1
- package/dist/lib-DtBHFGXA.cjs +1 -0
- package/dist/{lib-Bm75kWfF.js → lib-DuAv3NcE.js} +1 -1
- package/dist/{liquid-CQgClb2e.js → liquid-CkFTSuz5.js} +4 -4
- package/dist/{liquid-BaVa8jbp.cjs → liquid-D9-xfAH9.cjs} +1 -1
- package/dist/{lua-Aa6xlS3m.js → lua-BPZzb4jg.js} +2 -2
- package/dist/lua-CbILlNRp.cjs +1 -0
- package/dist/{marko-a44Rx8oD.cjs → marko-CckGih8c.cjs} +1 -1
- package/dist/{marko-CnoSbnyW.js → marko-U5lgzX4W.js} +3 -3
- package/dist/{mdc-DDEndBZK.cjs → mdc-CIgbmpvb.cjs} +1 -1
- package/dist/{mdc-yfhLFlW0.js → mdc-ftW0jKss.js} +2 -2
- package/dist/{nginx-DlNKblVY.js → nginx-CO6FbhYm.js} +1 -1
- package/dist/{nginx-D1dqVYm1.cjs → nginx-pp3BriFA.cjs} +1 -1
- package/dist/{nim-DF1HAFuL.js → nim-CJpN9IuJ.js} +6 -6
- package/dist/{nim-BD5WfdQE.cjs → nim-xNROytAe.cjs} +1 -1
- package/dist/{org-BxOhd5H8.js → org-BLgfq4oa.js} +26 -26
- package/dist/{org-D39t4cfx.cjs → org-BfvkBzjQ.cjs} +1 -1
- package/dist/{perl-ChFS9GSw.js → perl-4iy1AzjP.js} +5 -5
- package/dist/{perl-BvvR-UBE.cjs → perl-gYxlBF7Z.cjs} +1 -1
- package/dist/{php-99Ucsqtp.cjs → php-D7tWq26a.cjs} +1 -1
- package/dist/{php-BlFx1-Cw.js → php-DBpFECnW.js} +6 -6
- package/dist/{pug-DoeArbRk.js → pug-B3SC-VJn.js} +3 -3
- package/dist/{pug-DsD7dGZV.cjs → pug-CYLX2lIo.cjs} +1 -1
- package/dist/{qml-Cud5ERAo.js → qml-BJryVNLB.js} +1 -1
- package/dist/{qml-BmSeqgID.cjs → qml-CjtYDlYC.cjs} +1 -1
- package/dist/{r-BUvWMIiI.js → r-CO3AGhxE.js} +1 -1
- package/dist/r-DKRgTYMs.cjs +1 -0
- package/dist/{razor-csAIEUlG.cjs → razor-Cjwm6SbM.cjs} +1 -1
- package/dist/{razor-B9XjYQDL.js → razor-fizwqQUn.js} +1 -1
- package/dist/regexp-BbrbtHcV.cjs +1 -0
- package/dist/{regexp-BgOYBevC.js → regexp-BlBS23LV.js} +1 -1
- package/dist/{rst-DlKl41_0.js → rst-CQ-BOew2.js} +6 -6
- package/dist/{rst-Cp5naB83.cjs → rst-uzixnQEN.cjs} +1 -1
- package/dist/{ruby-BF0WTTH3.js → ruby-DYscwpKq.js} +12 -12
- package/dist/{ruby-CkdMUJEH.cjs → ruby-DcF3FpOo.cjs} +1 -1
- package/dist/{sas-14QiNRYQ.cjs → sas-CQkHM7U4.cjs} +1 -1
- package/dist/{sas-C6FSUZ8u.js → sas-xf7cYJ8D.js} +1 -1
- package/dist/scss-B6SEboBH.cjs +1 -0
- package/dist/{scss-CCWZPu2R.js → scss-D5Ro0FPj.js} +2 -2
- package/dist/{shellscript-DZCVULM8.js → shellscript-DVhVbKuT.js} +1 -1
- package/dist/shellscript-UM_LESkp.cjs +1 -0
- package/dist/{shellsession-BqWcPKhV.cjs → shellsession-CfBYvvpU.cjs} +1 -1
- package/dist/{shellsession-BN3RSO1C.js → shellsession-DCV0F4Wc.js} +1 -1
- package/dist/{soy-Du5nNttL.js → soy-DqvPS_mm.js} +1 -1
- package/dist/{soy-CABMyeew.cjs → soy-HCmyBkD1.cjs} +1 -1
- package/dist/sql-B2O4UoSw.cjs +1 -0
- package/dist/{sql-CYkpqzkZ.js → sql-C8Kl76rR.js} +1 -1
- package/dist/{stata-C2nzzUtY.cjs → stata-B1WKRY4L.cjs} +1 -1
- package/dist/{stata-CTsPxspI.js → stata-CJiPjcNk.js} +1 -1
- package/dist/{surrealql-Do7t2lbF.js → surrealql-1H6TjudE.js} +1 -1
- package/dist/{surrealql-Czd_jpdF.cjs → surrealql-D34WxIUj.cjs} +1 -1
- package/dist/{svelte-DCXhqWK2.cjs → svelte-BdqWwltV.cjs} +1 -1
- package/dist/{svelte-BsAqSY0W.js → svelte-CIN2FBHe.js} +3 -3
- package/dist/{templ-CizIGDIX.cjs → templ-DRfIS7Yk.cjs} +1 -1
- package/dist/{templ-CiuTNFNN.js → templ-DfCxDv8S.js} +2 -2
- package/dist/{tex-BQ--pZc4.js → tex-BTjGzapI.js} +2 -2
- package/dist/tex-W_Dxzamg.cjs +1 -0
- package/dist/{ts-tags-_na8tAcU.js → ts-tags-CV7DYDTm.js} +7 -7
- package/dist/{ts-tags-Cj-sekFe.cjs → ts-tags-T_iDSaWH.cjs} +1 -1
- package/dist/tsx-B3iFrpuZ.cjs +1 -0
- package/dist/{tsx-Be52Rwki.js → tsx-C9xVNnaW.js} +1 -1
- package/dist/{twig-CqrXvA-X.js → twig-C4i_cRPo.js} +5 -5
- package/dist/{twig-CBOETUN2.cjs → twig-D914CUNQ.cjs} +1 -1
- package/dist/types/src/components/Feature/OAOperation.vue.d.ts +3 -1
- package/dist/types/src/components/Feature/OAOperationContent.vue.d.ts +2 -2
- package/dist/types/src/components/Feature/OASpec.vue.d.ts +3 -1
- package/dist/types/src/components/Feature/OASpecContent.vue.d.ts +2 -2
- package/dist/types/src/components/Path/OAPaths.vue.d.ts +2 -2
- package/dist/types/src/components/Path/OAPathsGroup.vue.d.ts +2 -2
- package/dist/types/src/components/Path/OAPathsGroups.vue.d.ts +2 -2
- package/dist/types/src/components/Response/OAResponse.vue.d.ts +13 -3
- package/dist/types/src/components/Response/OAResponses.vue.d.ts +13 -3
- package/dist/types/src/composables/useTheme.d.ts +2 -1
- package/dist/types/src/types.d.ts +11 -0
- package/dist/typescript-Ai8puZIn.cjs +1 -0
- package/dist/{typescript-ED10Lubp.js → typescript-Chl77Ui1.js} +1 -1
- package/dist/{typst-Bx5HBJWo.js → typst-BgQE6TAB.js} +29 -29
- package/dist/{typst-D7Y713mB.cjs → typst-C6fVPKNq.cjs} +1 -1
- package/dist/{useOpenapi-BEqmTxjl.cjs → useOpenapi-D3rJQzeG.cjs} +27 -27
- package/dist/{useOpenapi-DbIj-ke3.js → useOpenapi-DVLwqpMR.js} +1317 -1309
- package/dist/vitepress-openapi.client.cjs.js +5 -5
- package/dist/vitepress-openapi.client.es.js +2367 -2349
- package/dist/vitepress-openapi.node.cjs.js +1 -1
- package/dist/vitepress-openapi.node.es.js +1 -1
- package/dist/{vue-kHo8rCXT.cjs → vue-CaajMfVy.cjs} +1 -1
- package/dist/{vue-Cjtnfpir.js → vue-J95qJkfJ.js} +6 -6
- package/dist/{vue-html-BzsnfhsM.js → vue-html-BjrCwjva.js} +1 -1
- package/dist/{vue-html-_YQvkRyf.cjs → vue-html-CtmhMKZ8.cjs} +1 -1
- package/dist/{vue-vine-COYWN94q.js → vue-vine-C4hFAX9j.js} +3 -3
- package/dist/{vue-vine-DTEBBIT8.cjs → vue-vine-DHwm8nhC.cjs} +1 -1
- package/dist/{xml-B8H1TJZQ.js → xml-4tT4oeZd.js} +2 -2
- package/dist/xml-C1x13bX0.cjs +1 -0
- package/dist/{xsl-cP3lHVuQ.js → xsl-ZTs2D31w.js} +1 -1
- package/dist/{xsl-C_9xxcnq.cjs → xsl-gK25ns76.cjs} +1 -1
- package/dist/yaml-BUexFoMb.cjs +1 -0
- package/dist/{yaml-DEgccW2V.js → yaml-Cr99duBz.js} +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -1
- package/src/components/Common/OAJSONEditorAsync.ts +1 -1
- package/src/components/Feature/OAOperation.vue +4 -2
- package/src/components/Feature/OAOperationContent.vue +13 -3
- package/src/components/Feature/OASpec.vue +4 -2
- package/src/components/Feature/OASpecContent.vue +2 -2
- package/src/components/Path/OAPaths.vue +2 -2
- package/src/components/Path/OAPathsGroup.vue +2 -2
- package/src/components/Path/OAPathsGroups.vue +2 -2
- package/src/components/Response/OAResponse.vue +21 -7
- package/src/components/Response/OAResponses.vue +20 -5
- package/src/composables/useTheme.ts +17 -4
- package/src/types.ts +13 -0
- package/dist/c-CZCz03tk.cjs +0 -1
- package/dist/css-oMq01QVM.cjs +0 -1
- package/dist/glsl-CjCNYdIn.cjs +0 -1
- package/dist/graphql-DAvjEaGE.cjs +0 -1
- package/dist/haml-BRTyh0NA.cjs +0 -1
- package/dist/html-CXX4v0hN.cjs +0 -1
- package/dist/java-DopTp571.cjs +0 -1
- package/dist/javascript-BoVqPY81.cjs +0 -1
- package/dist/json-eIjfv80J.cjs +0 -1
- package/dist/jsx-rnl1r2fp.cjs +0 -1
- package/dist/lib-jITBAUlk.cjs +0 -1
- package/dist/lua-CMQuF1NW.cjs +0 -1
- package/dist/r-kc1tv3cq.cjs +0 -1
- package/dist/regexp-btboojP2.cjs +0 -1
- package/dist/scss-BtbTbZQd.cjs +0 -1
- package/dist/shellscript-DPLlmD_A.cjs +0 -1
- package/dist/sql-HyLtRgmm.cjs +0 -1
- package/dist/tex-CZcUsj1k.cjs +0 -1
- package/dist/tsx-CrwGvZn1.cjs +0 -1
- package/dist/typescript-DdVmgSX4.cjs +0 -1
- package/dist/xml-CTTlGNVY.cjs +0 -1
- package/dist/yaml-2duz-WDn.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./java-
|
|
1
|
+
import { et as e } from "./useOpenapi-DVLwqpMR.js";
|
|
2
|
+
import { t } from "./java-DMU2lkyP.js";
|
|
3
3
|
//#region node_modules/.pnpm/@shikijs+langs@4.4.3/node_modules/@shikijs/langs/dist/xml.mjs
|
|
4
4
|
var n = /* @__PURE__ */ e({ default: () => i }), r = Object.freeze(JSON.parse("{\"displayName\":\"XML\",\"name\":\"xml\",\"patterns\":[{\"begin\":\"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"entity.name.tag.xml\"}},\"end\":\"(\\\\?>)\",\"name\":\"meta.tag.preprocessor.xml\",\"patterns\":[{\"match\":\" ([-A-Za-z]+)\",\"name\":\"entity.other.attribute-name.xml\"},{\"include\":\"#doublequotedString\"},{\"include\":\"#singlequotedString\"}]},{\"begin\":\"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"keyword.other.doctype.xml\"},\"3\":{\"name\":\"variable.language.documentroot.xml\"}},\"end\":\"\\\\s*(>)\",\"name\":\"meta.tag.sgml.doctype.xml\",\"patterns\":[{\"include\":\"#internalSubset\"}]},{\"include\":\"#comments\"},{\"begin\":\"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"entity.name.tag.xml\"},\"3\":{\"name\":\"entity.name.tag.namespace.xml\"},\"4\":{\"name\":\"punctuation.separator.namespace.xml\"},\"5\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"punctuation.definition.tag.xml\"},\"3\":{\"name\":\"entity.name.tag.xml\"},\"4\":{\"name\":\"entity.name.tag.namespace.xml\"},\"5\":{\"name\":\"punctuation.separator.namespace.xml\"},\"6\":{\"name\":\"entity.name.tag.localname.xml\"},\"7\":{\"name\":\"punctuation.definition.tag.xml\"}},\"name\":\"meta.tag.no-content.xml\",\"patterns\":[{\"include\":\"#tagStuff\"}]},{\"begin\":\"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"entity.name.tag.namespace.xml\"},\"3\":{\"name\":\"entity.name.tag.xml\"},\"4\":{\"name\":\"punctuation.separator.namespace.xml\"},\"5\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(/?>)\",\"name\":\"meta.tag.xml\",\"patterns\":[{\"include\":\"#tagStuff\"}]},{\"include\":\"#entity\"},{\"include\":\"#bare-ampersand\"},{\"begin\":\"<%@\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.xml\"}},\"end\":\"%>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.xml\"}},\"name\":\"source.java-props.embedded.xml\",\"patterns\":[{\"match\":\"page|include|taglib\",\"name\":\"keyword.other.page-props.xml\"}]},{\"begin\":\"<%[!=]?(?!--)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.xml\"}},\"end\":\"(?!--)%>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.xml\"}},\"name\":\"source.java.embedded.xml\",\"patterns\":[{\"include\":\"source.java\"}]},{\"begin\":\"<!\\\\[CDATA\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"]]>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.unquoted.cdata.xml\"}],\"repository\":{\"EntityDecl\":{\"begin\":\"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"keyword.other.entity.xml\"},\"3\":{\"name\":\"punctuation.definition.entity.xml\"},\"4\":{\"name\":\"variable.language.entity.xml\"},\"5\":{\"name\":\"keyword.other.entitytype.xml\"}},\"end\":\"(>)\",\"patterns\":[{\"include\":\"#doublequotedString\"},{\"include\":\"#singlequotedString\"}]},\"bare-ampersand\":{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.xml\"},\"comments\":{\"patterns\":[{\"begin\":\"<%--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.xml\"},\"end\":\"--%>\",\"name\":\"comment.block.xml\"}},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.xml\"}},\"end\":\"-->\",\"name\":\"comment.block.xml\",\"patterns\":[{\"begin\":\"--(?!>)\",\"captures\":{\"0\":{\"name\":\"invalid.illegal.bad-comments-or-CDATA.xml\"}}}]}]},\"doublequotedString\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.double.xml\",\"patterns\":[{\"include\":\"#entity\"},{\"include\":\"#bare-ampersand\"}]},\"entity\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.constant.xml\"},\"3\":{\"name\":\"punctuation.definition.constant.xml\"}},\"match\":\"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.xml\"},\"internalSubset\":{\"begin\":\"(\\\\[)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.constant.xml\"}},\"end\":\"(])\",\"name\":\"meta.internalsubset.xml\",\"patterns\":[{\"include\":\"#EntityDecl\"},{\"include\":\"#parameterEntity\"},{\"include\":\"#comments\"}]},\"parameterEntity\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.constant.xml\"},\"3\":{\"name\":\"punctuation.definition.constant.xml\"}},\"match\":\"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)\",\"name\":\"constant.character.parameter-entity.xml\"},\"singlequotedString\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.single.xml\",\"patterns\":[{\"include\":\"#entity\"},{\"include\":\"#bare-ampersand\"}]},\"tagStuff\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.namespace.xml\"},\"2\":{\"name\":\"entity.other.attribute-name.xml\"},\"3\":{\"name\":\"punctuation.separator.namespace.xml\"},\"4\":{\"name\":\"entity.other.attribute-name.localname.xml\"}},\"match\":\"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*=\"},{\"include\":\"#doublequotedString\"},{\"include\":\"#singlequotedString\"}]}},\"scopeName\":\"text.xml\",\"embeddedLangs\":[\"java\"]}")), i = [...t, r];
|
|
5
5
|
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./useOpenapi-D3rJQzeG.cjs"),t=require("./java-DwnayQnb.cjs");var n=e.et({default:()=>i}),r=Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`)),i=[...t.t,r];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./xml-
|
|
1
|
+
import { t as e } from "./xml-4tT4oeZd.js";
|
|
2
2
|
//#region node_modules/.pnpm/@shikijs+langs@4.4.3/node_modules/@shikijs/langs/dist/xsl.mjs
|
|
3
3
|
var t = Object.freeze(JSON.parse("{\"displayName\":\"XSL\",\"name\":\"xsl\",\"patterns\":[{\"begin\":\"(<)(xsl)((:))(template)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"entity.name.tag.namespace.xml\"},\"3\":{\"name\":\"entity.name.tag.xml\"},\"4\":{\"name\":\"punctuation.separator.namespace.xml\"},\"5\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(>)\",\"name\":\"meta.tag.xml.template\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.namespace.xml\"},\"2\":{\"name\":\"entity.other.attribute-name.xml\"},\"3\":{\"name\":\"punctuation.separator.namespace.xml\"},\"4\":{\"name\":\"entity.other.attribute-name.localname.xml\"}},\"match\":\" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)\"},{\"include\":\"#doublequotedString\"},{\"include\":\"#singlequotedString\"}]},{\"include\":\"text.xml\"}],\"repository\":{\"doublequotedString\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.double.xml\"},\"singlequotedString\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.single.xml\"}},\"scopeName\":\"text.xml.xsl\",\"embeddedLangs\":[\"xml\"]}")), n = [...e, t];
|
|
4
4
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./xml-
|
|
1
|
+
const e=require("./xml-C1x13bX0.cjs");var t=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)),n=[...e.t,t];exports.default=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=require("./useOpenapi-D3rJQzeG.cjs").et({default:()=>t}),t=[Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`))];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { et as e } from "./useOpenapi-DVLwqpMR.js";
|
|
2
2
|
//#region node_modules/.pnpm/@shikijs+langs@4.4.3/node_modules/@shikijs/langs/dist/yaml.mjs
|
|
3
3
|
var t = /* @__PURE__ */ e({ default: () => n }), n = [Object.freeze(JSON.parse("{\"displayName\":\"YAML\",\"fileTypes\":[\"yaml\",\"yml\",\"rviz\",\"reek\",\"clang-format\",\"yaml-tmlanguage\",\"syntax\",\"sublime-syntax\"],\"firstLineMatch\":\"^%YAML( ?1.\\\\d+)?\",\"name\":\"yaml\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#property\"},{\"include\":\"#directive\"},{\"match\":\"^---\",\"name\":\"entity.other.document.begin.yaml\"},{\"match\":\"^\\\\.{3}\",\"name\":\"entity.other.document.end.yaml\"},{\"include\":\"#node\"}],\"repository\":{\"block-collection\":{\"patterns\":[{\"include\":\"#block-sequence\"},{\"include\":\"#block-mapping\"}]},\"block-mapping\":{\"patterns\":[{\"include\":\"#block-pair\"}]},\"block-node\":{\"patterns\":[{\"include\":\"#prototype\"},{\"include\":\"#block-scalar\"},{\"include\":\"#block-collection\"},{\"include\":\"#flow-scalar-plain-out\"},{\"include\":\"#flow-node\"}]},\"block-pair\":{\"patterns\":[{\"begin\":\"\\\\?\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.key-value.begin.yaml\"}},\"end\":\"(?=\\\\?)|^ *(:)|(:)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.separator.key-value.mapping.yaml\"},\"2\":{\"name\":\"invalid.illegal.expected-newline.yaml\"}},\"name\":\"meta.block-mapping.yaml\",\"patterns\":[{\"include\":\"#block-node\"}]},{\"begin\":\"(?=(?:[^-\\\\]!\\\"#%\\\\&'*,:>?@\\\\[`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))\",\"end\":\"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))\",\"patterns\":[{\"include\":\"#flow-scalar-plain-out-implicit-type\"},{\"begin\":\"[^-\\\\]!\\\"#%\\\\&'*,:>?@\\\\[`{|}\\\\s]|[-:?]\\\\S\",\"beginCaptures\":{\"0\":{\"name\":\"entity.name.tag.yaml\"}},\"contentName\":\"entity.name.tag.yaml\",\"end\":\"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))\",\"name\":\"string.unquoted.plain.out.yaml\"}]},{\"match\":\":(?=\\\\s|$)\",\"name\":\"punctuation.separator.key-value.mapping.yaml\"}]},\"block-scalar\":{\"begin\":\"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.flow.block-scalar.literal.yaml\"},\"2\":{\"name\":\"keyword.control.flow.block-scalar.folded.yaml\"},\"3\":{\"name\":\"constant.numeric.indentation-indicator.yaml\"},\"4\":{\"name\":\"storage.modifier.chomping-indicator.yaml\"},\"5\":{\"patterns\":[{\"include\":\"#comment\"},{\"match\":\".+\",\"name\":\"invalid.illegal.expected-comment-or-newline.yaml\"}]}},\"end\":\"^(?=\\\\S)|(?!\\\\G)\",\"patterns\":[{\"begin\":\"^( +)(?! )\",\"end\":\"^(?!\\\\1|\\\\s*$)\",\"name\":\"string.unquoted.block.yaml\"}]},\"block-sequence\":{\"match\":\"(-)(?!\\\\S)\",\"name\":\"punctuation.definition.block.sequence.item.yaml\"},\"comment\":{\"begin\":\"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.yaml\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.yaml\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.yaml\"}]},\"directive\":{\"begin\":\"^%\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.directive.begin.yaml\"}},\"end\":\"(?=$|[\\\\t ]+($|#))\",\"name\":\"meta.directive.yaml\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.directive.yaml.yaml\"},\"2\":{\"name\":\"constant.numeric.yaml-version.yaml\"}},\"match\":\"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.directive.tag.yaml\"},\"2\":{\"name\":\"storage.type.tag-handle.yaml\"},\"3\":{\"name\":\"support.type.tag-prefix.yaml\"}},\"match\":\"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?\"},{\"captures\":{\"1\":{\"name\":\"support.other.directive.reserved.yaml\"},\"2\":{\"name\":\"string.unquoted.directive-name.yaml\"},\"3\":{\"name\":\"string.unquoted.directive-parameter.yaml\"}},\"match\":\"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?\"},{\"match\":\"\\\\S+\",\"name\":\"invalid.illegal.unrecognized.yaml\"}]},\"flow-alias\":{\"captures\":{\"1\":{\"name\":\"keyword.control.flow.alias.yaml\"},\"2\":{\"name\":\"punctuation.definition.alias.yaml\"},\"3\":{\"name\":\"variable.other.alias.yaml\"},\"4\":{\"name\":\"invalid.illegal.character.anchor.yaml\"}},\"match\":\"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?\"},\"flow-collection\":{\"patterns\":[{\"include\":\"#flow-sequence\"},{\"include\":\"#flow-mapping\"}]},\"flow-mapping\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.mapping.begin.yaml\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.mapping.end.yaml\"}},\"name\":\"meta.flow-mapping.yaml\",\"patterns\":[{\"include\":\"#prototype\"},{\"match\":\",\",\"name\":\"punctuation.separator.mapping.yaml\"},{\"include\":\"#flow-pair\"}]},\"flow-node\":{\"patterns\":[{\"include\":\"#prototype\"},{\"include\":\"#flow-alias\"},{\"include\":\"#flow-collection\"},{\"include\":\"#flow-scalar\"}]},\"flow-pair\":{\"patterns\":[{\"begin\":\"\\\\?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.key-value.begin.yaml\"}},\"end\":\"(?=[],}])\",\"name\":\"meta.flow-pair.explicit.yaml\",\"patterns\":[{\"include\":\"#prototype\"},{\"include\":\"#flow-pair\"},{\"include\":\"#flow-node\"},{\"begin\":\":(?=\\\\s|$|[],\\\\[{}])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.key-value.mapping.yaml\"}},\"end\":\"(?=[],}])\",\"patterns\":[{\"include\":\"#flow-value\"}]}]},{\"begin\":\"(?=(?:[^-\\\\]!\\\"#%\\\\&'*,:>?@\\\\[`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))\",\"end\":\"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])\",\"name\":\"meta.flow-pair.key.yaml\",\"patterns\":[{\"include\":\"#flow-scalar-plain-in-implicit-type\"},{\"begin\":\"[^-\\\\]!\\\"#%\\\\&'*,:>?@\\\\[`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]\",\"beginCaptures\":{\"0\":{\"name\":\"entity.name.tag.yaml\"}},\"contentName\":\"entity.name.tag.yaml\",\"end\":\"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])\",\"name\":\"string.unquoted.plain.in.yaml\"}]},{\"include\":\"#flow-node\"},{\"begin\":\":(?=\\\\s|$|[],\\\\[{}])\",\"captures\":{\"0\":{\"name\":\"punctuation.separator.key-value.mapping.yaml\"}},\"end\":\"(?=[],}])\",\"name\":\"meta.flow-pair.yaml\",\"patterns\":[{\"include\":\"#flow-value\"}]}]},\"flow-scalar\":{\"patterns\":[{\"include\":\"#flow-scalar-double-quoted\"},{\"include\":\"#flow-scalar-single-quoted\"},{\"include\":\"#flow-scalar-plain-in\"}]},\"flow-scalar-double-quoted\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.yaml\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.yaml\"}},\"name\":\"string.quoted.double.yaml\",\"patterns\":[{\"match\":\"\\\\\\\\([ \\\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})\",\"name\":\"constant.character.escape.yaml\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.double-quoted.newline.yaml\"}]},\"flow-scalar-plain-in\":{\"patterns\":[{\"include\":\"#flow-scalar-plain-in-implicit-type\"},{\"begin\":\"[^-\\\\]!\\\"#%\\\\&'*,:>?@\\\\[`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]\",\"end\":\"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])\",\"name\":\"string.unquoted.plain.in.yaml\"}]},\"flow-scalar-plain-in-implicit-type\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.language.null.yaml\"},\"2\":{\"name\":\"constant.language.boolean.yaml\"},\"3\":{\"name\":\"constant.numeric.integer.yaml\"},\"4\":{\"name\":\"constant.numeric.float.yaml\"},\"5\":{\"name\":\"constant.other.timestamp.yaml\"},\"6\":{\"name\":\"constant.language.value.yaml\"},\"7\":{\"name\":\"constant.language.merge.yaml\"}},\"match\":\"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])\"}]},\"flow-scalar-plain-out\":{\"patterns\":[{\"include\":\"#flow-scalar-plain-out-implicit-type\"},{\"begin\":\"[^-\\\\]!\\\"#%\\\\&'*,:>?@\\\\[`{|}\\\\s]|[-:?]\\\\S\",\"end\":\"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))\",\"name\":\"string.unquoted.plain.out.yaml\"}]},\"flow-scalar-plain-out-implicit-type\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.language.null.yaml\"},\"2\":{\"name\":\"constant.language.boolean.yaml\"},\"3\":{\"name\":\"constant.numeric.integer.yaml\"},\"4\":{\"name\":\"constant.numeric.float.yaml\"},\"5\":{\"name\":\"constant.other.timestamp.yaml\"},\"6\":{\"name\":\"constant.language.value.yaml\"},\"7\":{\"name\":\"constant.language.merge.yaml\"}},\"match\":\"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))\"}]},\"flow-scalar-single-quoted\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.yaml\"}},\"end\":\"'(?!')\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.yaml\"}},\"name\":\"string.quoted.single.yaml\",\"patterns\":[{\"match\":\"''\",\"name\":\"constant.character.escape.single-quoted.yaml\"}]},\"flow-sequence\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.sequence.begin.yaml\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.sequence.end.yaml\"}},\"name\":\"meta.flow-sequence.yaml\",\"patterns\":[{\"include\":\"#prototype\"},{\"match\":\",\",\"name\":\"punctuation.separator.sequence.yaml\"},{\"include\":\"#flow-pair\"},{\"include\":\"#flow-node\"}]},\"flow-value\":{\"patterns\":[{\"begin\":\"\\\\G(?![],}])\",\"end\":\"(?=[],}])\",\"name\":\"meta.flow-pair.value.yaml\",\"patterns\":[{\"include\":\"#flow-node\"}]}]},\"node\":{\"patterns\":[{\"include\":\"#block-node\"}]},\"property\":{\"begin\":\"(?=[!\\\\&])\",\"end\":\"(?!\\\\G)\",\"name\":\"meta.property.yaml\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.property.anchor.yaml\"},\"2\":{\"name\":\"punctuation.definition.anchor.yaml\"},\"3\":{\"name\":\"entity.name.type.anchor.yaml\"},\"4\":{\"name\":\"invalid.illegal.character.anchor.yaml\"}},\"match\":\"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?\"},{\"match\":\"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)\",\"name\":\"storage.type.tag-handle.yaml\"},{\"match\":\"\\\\S+\",\"name\":\"invalid.illegal.tag-handle.yaml\"}]},\"prototype\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#property\"}]}},\"scopeName\":\"source.yaml\",\"aliases\":[\"yml\"]}"))];
|
|
4
4
|
//#endregion
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3,9 +3,10 @@ import type { EnhanceAppContext, Theme } from 'vitepress/client'
|
|
|
3
3
|
import type { Component } from 'vue'
|
|
4
4
|
import type { OpenApiSpecInstance } from './lib/spec/createOpenApiSpec'
|
|
5
5
|
import { createI18n } from '@byjohann/vue-i18n'
|
|
6
|
+
import { useData } from 'vitepress'
|
|
6
7
|
import { watch } from 'vue'
|
|
7
8
|
import * as components from './components'
|
|
8
|
-
import { DEFAULT_OPERATION_SLOTS, useTheme } from './composables/useTheme'
|
|
9
|
+
import { DEFAULT_OPERATION_SLOTS, setIsDarkSource, useTheme } from './composables/useTheme'
|
|
9
10
|
|
|
10
11
|
interface OAEnhanceAppContext extends EnhanceAppContext {
|
|
11
12
|
openapi?: OpenApiSpecInstance | null
|
|
@@ -19,6 +20,14 @@ interface VPTheme {
|
|
|
19
20
|
|
|
20
21
|
export const theme = {
|
|
21
22
|
enhanceApp({ app }) {
|
|
23
|
+
// Follow VitePress' resolved appearance, including 'force-dark' and 'force-auto'.
|
|
24
|
+
try {
|
|
25
|
+
setIsDarkSource(app.runWithContext(() => useData()).isDark)
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
// Not inside a VitePress app: keep the useDark fallback.
|
|
29
|
+
}
|
|
30
|
+
|
|
22
31
|
const themeConfig = useTheme()
|
|
23
32
|
|
|
24
33
|
const i18nConfig = themeConfig.getI18nConfig()
|
|
@@ -12,7 +12,7 @@ const OAJSONEditorLoadError = defineComponent({
|
|
|
12
12
|
const OAJSONEditorLoading = defineComponent({
|
|
13
13
|
setup() {
|
|
14
14
|
const { t } = useI18n()
|
|
15
|
-
return () => h('div', { class: 'text-sm text-muted-foreground' }, t('Loading'))
|
|
15
|
+
return () => h('div', { class: 'OAJSONEditorLoading text-sm text-muted-foreground' }, t('Loading'))
|
|
16
16
|
},
|
|
17
17
|
})
|
|
18
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { OperationSlot } from '../../types'
|
|
2
|
+
import type { OperationSlot, ResponseDescriptionSlotProps } from '../../types'
|
|
3
3
|
import OAProvider from '../Context/OAProvider.vue'
|
|
4
4
|
import OAOperationContent from './OAOperationContent.vue'
|
|
5
5
|
|
|
@@ -49,7 +49,9 @@ const emits = defineEmits([
|
|
|
49
49
|
'update:spec',
|
|
50
50
|
])
|
|
51
51
|
|
|
52
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }
|
|
52
|
+
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any } & {
|
|
53
|
+
'response-description'?: (props: ResponseDescriptionSlotProps) => any
|
|
54
|
+
}>()
|
|
53
55
|
</script>
|
|
54
56
|
|
|
55
57
|
<template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { OperationSlot } from '../../types'
|
|
2
|
+
import type { OperationNestedSlot, OperationSlot } from '../../types'
|
|
3
3
|
import { useI18n } from '@byjohann/vue-i18n'
|
|
4
4
|
import { computed } from 'vue'
|
|
5
5
|
import OAFooter from '../Common/OAFooter.vue'
|
|
@@ -53,7 +53,7 @@ const props = defineProps({
|
|
|
53
53
|
},
|
|
54
54
|
})
|
|
55
55
|
|
|
56
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }>()
|
|
56
|
+
const slots = defineSlots<{ [K in OperationSlot | OperationNestedSlot]?: (props: any) => any }>()
|
|
57
57
|
|
|
58
58
|
const { t } = useI18n()
|
|
59
59
|
|
|
@@ -239,7 +239,17 @@ function hasSlot(name: OperationSlot): boolean {
|
|
|
239
239
|
:responses="responses.responses"
|
|
240
240
|
:response-type="responses.responseType"
|
|
241
241
|
:heading-prefix="headingPrefix"
|
|
242
|
-
|
|
242
|
+
>
|
|
243
|
+
<template
|
|
244
|
+
v-if="slots['response-description']"
|
|
245
|
+
#response-description="responseDescription"
|
|
246
|
+
>
|
|
247
|
+
<slot
|
|
248
|
+
name="response-description"
|
|
249
|
+
v-bind="responseDescription"
|
|
250
|
+
/>
|
|
251
|
+
</template>
|
|
252
|
+
</OAResponses>
|
|
243
253
|
</template>
|
|
244
254
|
|
|
245
255
|
<template
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { OperationSlot } from '../../types'
|
|
2
|
+
import type { OperationSlot, ResponseDescriptionSlotProps } from '../../types'
|
|
3
3
|
import OAProvider from '../Context/OAProvider.vue'
|
|
4
4
|
import OASpecContent from './OASpecContent.vue'
|
|
5
5
|
|
|
@@ -61,7 +61,9 @@ const emits = defineEmits([
|
|
|
61
61
|
'update:spec',
|
|
62
62
|
])
|
|
63
63
|
|
|
64
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }
|
|
64
|
+
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any } & {
|
|
65
|
+
'response-description'?: (props: ResponseDescriptionSlotProps) => any
|
|
66
|
+
}>()
|
|
65
67
|
</script>
|
|
66
68
|
|
|
67
69
|
<template>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { OpenAPIV3 } from '@scalar/openapi-types'
|
|
3
|
-
import type { OperationSlot, PathsGroupView } from '../../types'
|
|
3
|
+
import type { OperationNestedSlot, OperationSlot, PathsGroupView } from '../../types'
|
|
4
4
|
import { useI18n } from '@byjohann/vue-i18n'
|
|
5
5
|
import { computed } from 'vue'
|
|
6
6
|
import { useTheme } from '../../composables/useTheme'
|
|
@@ -57,7 +57,7 @@ const props = defineProps({
|
|
|
57
57
|
},
|
|
58
58
|
})
|
|
59
59
|
|
|
60
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }>()
|
|
60
|
+
const slots = defineSlots<{ [K in OperationSlot | OperationNestedSlot]?: (props: any) => any }>()
|
|
61
61
|
|
|
62
62
|
const { t } = useI18n()
|
|
63
63
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { OperationSlot } from '../../types'
|
|
2
|
+
import type { OperationNestedSlot, OperationSlot } from '../../types'
|
|
3
3
|
import { getGlobalOpenapi, injectOpenapi } from '../../composables/useOpenapi'
|
|
4
4
|
import { useTheme } from '../../composables/useTheme'
|
|
5
5
|
import OALazy from '../Common/Lazy/OALazy.vue'
|
|
@@ -12,7 +12,7 @@ const { paths } = defineProps({
|
|
|
12
12
|
},
|
|
13
13
|
})
|
|
14
14
|
|
|
15
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }>()
|
|
15
|
+
const slots = defineSlots<{ [K in OperationSlot | OperationNestedSlot]?: (props: any) => any }>()
|
|
16
16
|
|
|
17
17
|
const themeConfig = useTheme()
|
|
18
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { OperationSlot, PathsGroupView } from '../../types'
|
|
2
|
+
import type { OperationNestedSlot, OperationSlot, PathsGroupView } from '../../types'
|
|
3
3
|
import { useI18n } from '@byjohann/vue-i18n'
|
|
4
4
|
import { computed, nextTick, ref } from 'vue'
|
|
5
5
|
import { scrollToHash } from '@/lib/utils/utils'
|
|
@@ -19,7 +19,7 @@ interface Props {
|
|
|
19
19
|
|
|
20
20
|
const props = defineProps<Props>()
|
|
21
21
|
|
|
22
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }>()
|
|
22
|
+
const slots = defineSlots<{ [K in OperationSlot | OperationNestedSlot]?: (props: any) => any }>()
|
|
23
23
|
|
|
24
24
|
const themeConfig = useTheme()
|
|
25
25
|
const { t } = useI18n()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { OperationSlot, PathsGroupView } from '../../types'
|
|
2
|
+
import type { OperationNestedSlot, OperationSlot, PathsGroupView } from '../../types'
|
|
3
3
|
import { useTheme } from '../../composables/useTheme'
|
|
4
4
|
import OAPathsGroup from './OAPathsGroup.vue'
|
|
5
5
|
|
|
@@ -14,7 +14,7 @@ const props = defineProps({
|
|
|
14
14
|
},
|
|
15
15
|
})
|
|
16
16
|
|
|
17
|
-
const slots = defineSlots<{ [K in OperationSlot]?: (props: any) => any }>()
|
|
17
|
+
const slots = defineSlots<{ [K in OperationSlot | OperationNestedSlot]?: (props: any) => any }>()
|
|
18
18
|
|
|
19
19
|
const themeConfig = useTheme()
|
|
20
20
|
const lazyRendering = themeConfig.getSpecConfig()?.lazyRendering?.value
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
<script setup>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { ResponseDescriptionSlotProps } from '../../types'
|
|
2
3
|
import { useI18n } from '@byjohann/vue-i18n'
|
|
3
|
-
import { computed,
|
|
4
|
+
import { computed, ref } from 'vue'
|
|
4
5
|
import { useTheme } from '../../composables/useTheme'
|
|
5
6
|
import OAContentTypeSelect from '../Common/OAContentTypeSelect.vue'
|
|
6
7
|
import OAMarkdown from '../Common/OAMarkdown.vue'
|
|
@@ -22,6 +23,10 @@ const props = defineProps({
|
|
|
22
23
|
},
|
|
23
24
|
})
|
|
24
25
|
|
|
26
|
+
defineSlots<{
|
|
27
|
+
'response-description'?: (props: ResponseDescriptionSlotProps) => any
|
|
28
|
+
}>()
|
|
29
|
+
|
|
25
30
|
const contentTypes = Object.keys(props.response.content ?? {})
|
|
26
31
|
|
|
27
32
|
const contentType = ref(contentTypes[0] ?? undefined)
|
|
@@ -37,11 +42,20 @@ const { t } = useI18n()
|
|
|
37
42
|
</script>
|
|
38
43
|
|
|
39
44
|
<template>
|
|
40
|
-
<div class="flex flex-col space-y-4">
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
:
|
|
44
|
-
|
|
45
|
+
<div class="OAResponse flex flex-col space-y-4">
|
|
46
|
+
<slot
|
|
47
|
+
name="response-description"
|
|
48
|
+
:operation-id="props.operationId"
|
|
49
|
+
:response-code="props.responseCode"
|
|
50
|
+
:response="props.response"
|
|
51
|
+
:description="props.response.description"
|
|
52
|
+
>
|
|
53
|
+
<OAMarkdown
|
|
54
|
+
v-if="props.response.description"
|
|
55
|
+
:content="props.response.description"
|
|
56
|
+
class="OAResponseDescription"
|
|
57
|
+
/>
|
|
58
|
+
</slot>
|
|
45
59
|
|
|
46
60
|
<div
|
|
47
61
|
v-if="props.response?.content && contentTypes.length"
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
<script setup>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { ResponseDescriptionSlotProps } from '../../types'
|
|
2
3
|
import { useI18n } from '@byjohann/vue-i18n'
|
|
3
4
|
import { TabsIndicator } from 'reka-ui'
|
|
4
|
-
import { computed,
|
|
5
|
+
import { computed, ref } from 'vue'
|
|
5
6
|
import { useTheme } from '../../composables/useTheme'
|
|
6
7
|
import OAHeading from '../Common/OAHeading.vue'
|
|
7
8
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from '../ui/select'
|
|
@@ -23,12 +24,16 @@ const props = defineProps({
|
|
|
23
24
|
},
|
|
24
25
|
})
|
|
25
26
|
|
|
27
|
+
const slots = defineSlots<{
|
|
28
|
+
'response-description'?: (props: ResponseDescriptionSlotProps) => any
|
|
29
|
+
}>()
|
|
30
|
+
|
|
26
31
|
const themeConfig = useTheme()
|
|
27
32
|
const { t } = useI18n()
|
|
28
33
|
|
|
29
34
|
const responsesCodes = Object.keys(props.responses)
|
|
30
35
|
|
|
31
|
-
const vModel = ref
|
|
36
|
+
const vModel = ref<string | undefined>(responsesCodes[0])
|
|
32
37
|
|
|
33
38
|
const tabsSelector = computed(() => {
|
|
34
39
|
const selector = themeConfig.getResponseCodeSelector()
|
|
@@ -44,7 +49,7 @@ const tabsSelector = computed(() => {
|
|
|
44
49
|
</script>
|
|
45
50
|
|
|
46
51
|
<template>
|
|
47
|
-
<div class="flex flex-col">
|
|
52
|
+
<div class="OAResponses flex flex-col">
|
|
48
53
|
<Tabs
|
|
49
54
|
:default-value="vModel"
|
|
50
55
|
>
|
|
@@ -121,7 +126,17 @@ const tabsSelector = computed(() => {
|
|
|
121
126
|
:operation-id="props.operationId"
|
|
122
127
|
:response="props.responses[responseCode]"
|
|
123
128
|
:response-code="responseCode"
|
|
124
|
-
|
|
129
|
+
>
|
|
130
|
+
<template
|
|
131
|
+
v-if="slots['response-description']"
|
|
132
|
+
#response-description="responseDescription"
|
|
133
|
+
>
|
|
134
|
+
<slot
|
|
135
|
+
name="response-description"
|
|
136
|
+
v-bind="responseDescription"
|
|
137
|
+
/>
|
|
138
|
+
</template>
|
|
139
|
+
</OAResponse>
|
|
125
140
|
</TabsContent>
|
|
126
141
|
</Tabs>
|
|
127
142
|
</div>
|
|
@@ -525,9 +525,20 @@ const themeConfig: UseThemeConfig = {
|
|
|
525
525
|
},
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
528
|
+
// VitePress resolves `appearance` (e.g. 'force-dark', 'force-auto'), so the theme links its `isDark`
|
|
529
|
+
// in enhanceApp. The fallback is created lazily, because useDark also writes the `dark` class on <html>.
|
|
530
|
+
let isDark: Ref<boolean> | undefined
|
|
531
|
+
|
|
532
|
+
function getIsDark(): Ref<boolean> {
|
|
533
|
+
isDark ??= useDark({
|
|
534
|
+
storageKey: 'vitepress-theme-appearance',
|
|
535
|
+
})
|
|
536
|
+
return isDark
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export function setIsDarkSource(source: Ref<boolean>) {
|
|
540
|
+
isDark = source
|
|
541
|
+
}
|
|
531
542
|
|
|
532
543
|
export function useTheme(initialConfig: PartialUseThemeConfig = {}) {
|
|
533
544
|
setConfig(initialConfig)
|
|
@@ -1166,7 +1177,9 @@ export function useTheme(initialConfig: PartialUseThemeConfig = {}) {
|
|
|
1166
1177
|
}
|
|
1167
1178
|
|
|
1168
1179
|
return {
|
|
1169
|
-
isDark
|
|
1180
|
+
get isDark() {
|
|
1181
|
+
return getIsDark()
|
|
1182
|
+
},
|
|
1170
1183
|
schemaConfig: themeConfig.requestBody,
|
|
1171
1184
|
reset,
|
|
1172
1185
|
getState,
|
package/src/types.ts
CHANGED
|
@@ -22,6 +22,19 @@ export type OperationSlot
|
|
|
22
22
|
// | 'summary'
|
|
23
23
|
// | 'servers'
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Slots for parts inside an operation section, forwarded like `OperationSlot`.
|
|
27
|
+
* They are not sections, so `operation.slots` and `operation.hiddenSlots` do not apply to them.
|
|
28
|
+
*/
|
|
29
|
+
export type OperationNestedSlot = 'response-description'
|
|
30
|
+
|
|
31
|
+
export interface ResponseDescriptionSlotProps {
|
|
32
|
+
operationId: string
|
|
33
|
+
responseCode: string
|
|
34
|
+
response: Record<string, any>
|
|
35
|
+
description?: string
|
|
36
|
+
}
|
|
37
|
+
|
|
25
38
|
export type OpenAPIDocument = OpenAPIV3.Document & OpenAPIV3_1.Document
|
|
26
39
|
|
|
27
40
|
export type ParsedPaths = OpenAPIV3.PathsObject & OpenAPIV3_1.PathsObject & {
|