vite-plugin-vue-devtools 7.1.1 → 7.1.3

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.
Files changed (37) hide show
  1. package/client/assets/index-Bk3Utm9b.css +1 -0
  2. package/client/assets/{index-DZ_zgPIw.js → index-YDvBrsd9.js} +13 -13
  3. package/client/css-CAzixsid-CEpuX1HY.js +511 -0
  4. package/client/css-CAzixsid.js +511 -0
  5. package/client/devtools-panel.css +1 -0
  6. package/client/devtools-panel.js +91687 -0
  7. package/client/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
  8. package/client/diff-Bo5iyMQ2.js +7 -0
  9. package/client/html-BZB5lEhh-B74zAnWx.js +84 -0
  10. package/client/html-BZB5lEhh.js +84 -0
  11. package/client/index.html +2 -2
  12. package/client/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
  13. package/client/javascript-DqVBMyXe.js +705 -0
  14. package/client/json-B12k4-6m-B12k4-6m.js +31 -0
  15. package/client/json-B12k4-6m.js +31 -0
  16. package/client/shellscript-DQ1J75ow-DQ1J75ow.js +7 -0
  17. package/client/shellscript-DQ1J75ow.js +7 -0
  18. package/client/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
  19. package/client/typescript-AEg-ehu7.js +672 -0
  20. package/client/unocss-runtime-DnMV7EO2.js +2031 -0
  21. package/client/vitesse-dark-DX6gc1PC-DX6gc1PC.js +683 -0
  22. package/client/vitesse-dark-DX6gc1PC.js +683 -0
  23. package/client/vitesse-light-BQX_J3vG-BQX_J3vG.js +681 -0
  24. package/client/vitesse-light-BQX_J3vG.js +681 -0
  25. package/client/vue-CSiwUDF5-BrneCaTr.js +2124 -0
  26. package/client/vue-CSiwUDF5.js +2124 -0
  27. package/client/vue-apis-CBD-3_AQ.js +1127 -0
  28. package/client/vue-html-D0BKftsE-Br4pXe22.js +11 -0
  29. package/client/vue-html-D0BKftsE.js +11 -0
  30. package/client/yaml-PGla5xPP-HJurM_FJ.js +206 -0
  31. package/client/yaml-PGla5xPP.js +206 -0
  32. package/dist/vite.cjs +5 -7
  33. package/dist/vite.mjs +5 -7
  34. package/package.json +4 -4
  35. package/src/overlay/devtools-overlay.css +1 -1
  36. package/src/overlay/devtools-overlay.js +2 -2
  37. package/client/assets/index-BFXmWfZp.css +0 -1
@@ -0,0 +1,11 @@
1
+ import t from "./vue-CSiwUDF5-BrneCaTr.js";
2
+ import e from "./javascript-DqVBMyXe-DqVBMyXe.js";
3
+ const n = Object.freeze({ displayName: "Vue HTML", fileTypes: [], name: "vue-html", patterns: [{ include: "source.vue#vue-interpolations" }, { begin: "(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "support.class.component.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "entity.name.tag.html" }, 5: { name: "punctuation.definition.tag.end.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: "-->", name: "comment.block.html" }, { 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" }] }, { begin: "(</?)([A-Z][a-zA-Z0-9:-]*\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)([a-z][a-zA-Z0-9:-]*\\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:body|head|html)\\b)", captures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.structure.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, 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|q|s|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: "(</?)([a-zA-Z0-9:-]+)", 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" }], repository: { entities: { patterns: [{ captures: { 1: { name: "punctuation.definition.entity.html" }, 3: { name: "punctuation.definition.entity.html" } }, match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)", name: "constant.character.entity.html" }, { match: "&", name: "invalid.illegal.bad-ampersand.html" }] }, "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: "source.vue#vue-interpolations" }, { 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: "source.vue#vue-interpolations" }, { include: "#entities" }] }, "tag-generic-attribute": { match: "(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)", 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: `(?!\\G)(?<='|"|[^\\s<>/])`, 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: "source.vue#vue-interpolations" }, { 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: "source.vue#vue-interpolations" }, { include: "#entities" }] }, { captures: { 0: { name: "meta.toc-list.id.html" } }, match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }] }, "tag-stuff": { patterns: [{ include: "#vue-directives" }, { include: "#tag-id-attribute" }, { include: "#tag-generic-attribute" }, { include: "#string-double-quoted" }, { include: "#string-single-quoted" }, { include: "#unquoted-attribute" }] }, "unquoted-attribute": { match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }, "vue-directives": { begin: "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)", captures: { 1: { name: "entity.other.attribute-name.html" }, 2: { name: "punctuation.separator.key-value.html" }, 3: { name: "entity.other.attribute-name.html" }, 4: { name: "entity.other.attribute-name.html" }, 5: { name: "entity.other.attribute-name.html" }, 6: { name: "punctuation.separator.key-value.html" } }, end: "(?<='|\")|(?=[\\s<>`])", name: "meta.directive.vue", patterns: [{ begin: "`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "`", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }] } }, scopeName: "text.html.vue-html", embeddedLangs: ["vue", "javascript"] });
4
+ var m = [
5
+ ...t,
6
+ ...e,
7
+ n
8
+ ];
9
+ export {
10
+ m as default
11
+ };
@@ -0,0 +1,11 @@
1
+ import t from "./vue-CSiwUDF5.js";
2
+ import e from "./javascript-DqVBMyXe.js";
3
+ const n = Object.freeze({ displayName: "Vue HTML", fileTypes: [], name: "vue-html", patterns: [{ include: "source.vue#vue-interpolations" }, { begin: "(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "support.class.component.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "entity.name.tag.html" }, 5: { name: "punctuation.definition.tag.end.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: "-->", name: "comment.block.html" }, { 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" }] }, { begin: "(</?)([A-Z][a-zA-Z0-9:-]*\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)([a-z][a-zA-Z0-9:-]*\\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:body|head|html)\\b)", captures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.structure.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, 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|q|s|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: "(</?)([a-zA-Z0-9:-]+)", 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" }], repository: { entities: { patterns: [{ captures: { 1: { name: "punctuation.definition.entity.html" }, 3: { name: "punctuation.definition.entity.html" } }, match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)", name: "constant.character.entity.html" }, { match: "&", name: "invalid.illegal.bad-ampersand.html" }] }, "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: "source.vue#vue-interpolations" }, { 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: "source.vue#vue-interpolations" }, { include: "#entities" }] }, "tag-generic-attribute": { match: "(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)", 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: `(?!\\G)(?<='|"|[^\\s<>/])`, 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: "source.vue#vue-interpolations" }, { 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: "source.vue#vue-interpolations" }, { include: "#entities" }] }, { captures: { 0: { name: "meta.toc-list.id.html" } }, match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }] }, "tag-stuff": { patterns: [{ include: "#vue-directives" }, { include: "#tag-id-attribute" }, { include: "#tag-generic-attribute" }, { include: "#string-double-quoted" }, { include: "#string-single-quoted" }, { include: "#unquoted-attribute" }] }, "unquoted-attribute": { match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }, "vue-directives": { begin: "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)", captures: { 1: { name: "entity.other.attribute-name.html" }, 2: { name: "punctuation.separator.key-value.html" }, 3: { name: "entity.other.attribute-name.html" }, 4: { name: "entity.other.attribute-name.html" }, 5: { name: "entity.other.attribute-name.html" }, 6: { name: "punctuation.separator.key-value.html" } }, end: "(?<='|\")|(?=[\\s<>`])", name: "meta.directive.vue", patterns: [{ begin: "`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "`", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }] } }, scopeName: "text.html.vue-html", embeddedLangs: ["vue", "javascript"] });
4
+ var m = [
5
+ ...t,
6
+ ...e,
7
+ n
8
+ ];
9
+ export {
10
+ m as default
11
+ };
@@ -0,0 +1,206 @@
1
+ const e = Object.freeze({ displayName: "YAML", 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: `(?x)
2
+ (?=
3
+ (?x:
4
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
5
+ | [?:-] \\S
6
+ )
7
+ (
8
+ [^\\s:]
9
+ | : \\S
10
+ | \\s+ (?![#\\s])
11
+ )*
12
+ \\s*
13
+ :
14
+ (\\s|$)
15
+ )
16
+ `, end: `(?x)
17
+ (?=
18
+ \\s* $
19
+ | \\s+ \\#
20
+ | \\s* : (\\s|$)
21
+ )
22
+ `, patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
23
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
24
+ | [?:-] \\S
25
+ `, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
26
+ (?=
27
+ \\s* $
28
+ | \\s+ \\#
29
+ | \\s* : (\\s|$)
30
+ )
31
+ `, 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: `(?x)
32
+ \\G
33
+ (TAG)
34
+ (?:[ \\t]+
35
+ ((?:!(?:[0-9A-Za-z\\-]*!)?))
36
+ (?:[ \\t]+ (
37
+ ! (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )*
38
+ | (?![,!\\[\\]{}]) (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+
39
+ )
40
+ )?
41
+ )?
42
+ ` }, { captures: { 1: { name: "support.other.directive.reserved.yaml" }, 2: { name: "string.unquoted.directive-name.yaml" }, 3: { name: "string.unquoted.directive-parameter.yaml" } }, match: "(?x) \\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: `(?x)
43
+ (?=
44
+ (?:
45
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
46
+ | [?:-] [^\\s[\\[\\]{},]]
47
+ )
48
+ (
49
+ [^\\s:[\\[\\]{},]]
50
+ | : [^\\s[\\[\\]{},]]
51
+ | \\s+ (?![#\\s])
52
+ )*
53
+ \\s*
54
+ :
55
+ (\\s|$)
56
+ )
57
+ `, end: `(?x)
58
+ (?=
59
+ \\s* $
60
+ | \\s+ \\#
61
+ | \\s* : (\\s|$)
62
+ | \\s* : [\\[\\]{},]
63
+ | \\s* [\\[\\]{},]
64
+ )
65
+ `, name: "meta.flow-pair.key.yaml", patterns: [{ include: "#flow-scalar-plain-in-implicit-type" }, { begin: `(?x)
66
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
67
+ | [?:-] [^\\s[\\[\\]{},]]
68
+ `, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
69
+ (?=
70
+ \\s* $
71
+ | \\s+ \\#
72
+ | \\s* : (\\s|$)
73
+ | \\s* : [\\[\\]{},]
74
+ | \\s* [\\[\\]{},]
75
+ )
76
+ `, 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: '\\\\([0abtnvfre "/\\\\N_Lp]|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: `(?x)
77
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
78
+ | [?:-] [^\\s[\\[\\]{},]]
79
+ `, end: `(?x)
80
+ (?=
81
+ \\s* $
82
+ | \\s+ \\#
83
+ | \\s* : (\\s|$)
84
+ | \\s* : [\\[\\]{},]
85
+ | \\s* [\\[\\]{},]
86
+ )
87
+ `, 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: `(?x)
88
+ (?x:
89
+ (null|Null|NULL|~)
90
+ | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
91
+ | (
92
+ (?:
93
+ [-+]? 0b [0-1_]+
94
+ | [-+]? 0 [0-7_]+
95
+ | [-+]? (?: 0|[1-9][0-9_]*)
96
+ | [-+]? 0x [0-9a-fA-F_]+
97
+ | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
98
+ )
99
+ )
100
+ | (
101
+ (?x:
102
+ [-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
103
+ | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
104
+ | [-+]? \\. (?: inf|Inf|INF)
105
+ | \\. (?: nan|NaN|NAN)
106
+ )
107
+ )
108
+ | (
109
+ (?x:
110
+ \\d{4} - \\d{2} - \\d{2}
111
+ | \\d{4}
112
+ - \\d{1,2}
113
+ - \\d{1,2}
114
+ (?: [Tt] | [ \\t]+) \\d{1,2}
115
+ : \\d{2}
116
+ : \\d{2}
117
+ (?: \\.\\d*)?
118
+ (?:
119
+ (?:[ \\t]*) Z
120
+ | [-+] \\d{1,2} (?: :\\d{1,2})?
121
+ )?
122
+ )
123
+ )
124
+ | (=)
125
+ | (<<)
126
+ )
127
+ (?:
128
+ (?=
129
+ \\s* $
130
+ | \\s+ \\#
131
+ | \\s* : (\\s|$)
132
+ | \\s* : [\\[\\]{},]
133
+ | \\s* [\\[\\]{},]
134
+ )
135
+ )
136
+ ` }] }, "flow-scalar-plain-out": { patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
137
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
138
+ | [?:-] \\S
139
+ `, end: `(?x)
140
+ (?=
141
+ \\s* $
142
+ | \\s+ \\#
143
+ | \\s* : (\\s|$)
144
+ )
145
+ `, 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: `(?x)
146
+ (?x:
147
+ (null|Null|NULL|~)
148
+ | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
149
+ | (
150
+ (?:
151
+ [-+]? 0b [0-1_]+
152
+ | [-+]? 0 [0-7_]+
153
+ | [-+]? (?: 0|[1-9][0-9_]*)
154
+ | [-+]? 0x [0-9a-fA-F_]+
155
+ | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
156
+ )
157
+ )
158
+ | (
159
+ (?x:
160
+ [-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
161
+ | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
162
+ | [-+]? \\. (?: inf|Inf|INF)
163
+ | \\. (?: nan|NaN|NAN)
164
+ )
165
+ )
166
+ | (
167
+ (?x:
168
+ \\d{4} - \\d{2} - \\d{2}
169
+ | \\d{4}
170
+ - \\d{1,2}
171
+ - \\d{1,2}
172
+ (?: [Tt] | [ \\t]+) \\d{1,2}
173
+ : \\d{2}
174
+ : \\d{2}
175
+ (?: \\.\\d*)?
176
+ (?:
177
+ (?:[ \\t]*) Z
178
+ | [-+] \\d{1,2} (?: :\\d{1,2})?
179
+ )?
180
+ )
181
+ )
182
+ | (=)
183
+ | (<<)
184
+ )
185
+ (?x:
186
+ (?=
187
+ \\s* $
188
+ | \\s+ \\#
189
+ | \\s* : (\\s|$)
190
+ )
191
+ )
192
+ ` }] }, "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: `(?x)
193
+ \\G
194
+ (?:
195
+ ! < (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+ >
196
+ | (?:!(?:[0-9A-Za-z\\-]*!)?) (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$_.~*'()] )+
197
+ | !
198
+ )
199
+ (?=\\ |\\t|$)
200
+ `, 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"] });
201
+ var n = [
202
+ e
203
+ ];
204
+ export {
205
+ n as default
206
+ };
@@ -0,0 +1,206 @@
1
+ const n = Object.freeze({ displayName: "YAML", 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: `(?x)
2
+ (?=
3
+ (?x:
4
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
5
+ | [?:-] \\S
6
+ )
7
+ (
8
+ [^\\s:]
9
+ | : \\S
10
+ | \\s+ (?![#\\s])
11
+ )*
12
+ \\s*
13
+ :
14
+ (\\s|$)
15
+ )
16
+ `, end: `(?x)
17
+ (?=
18
+ \\s* $
19
+ | \\s+ \\#
20
+ | \\s* : (\\s|$)
21
+ )
22
+ `, patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
23
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
24
+ | [?:-] \\S
25
+ `, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
26
+ (?=
27
+ \\s* $
28
+ | \\s+ \\#
29
+ | \\s* : (\\s|$)
30
+ )
31
+ `, 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: `(?x)
32
+ \\G
33
+ (TAG)
34
+ (?:[ \\t]+
35
+ ((?:!(?:[0-9A-Za-z\\-]*!)?))
36
+ (?:[ \\t]+ (
37
+ ! (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )*
38
+ | (?![,!\\[\\]{}]) (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+
39
+ )
40
+ )?
41
+ )?
42
+ ` }, { captures: { 1: { name: "support.other.directive.reserved.yaml" }, 2: { name: "string.unquoted.directive-name.yaml" }, 3: { name: "string.unquoted.directive-parameter.yaml" } }, match: "(?x) \\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: `(?x)
43
+ (?=
44
+ (?:
45
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
46
+ | [?:-] [^\\s[\\[\\]{},]]
47
+ )
48
+ (
49
+ [^\\s:[\\[\\]{},]]
50
+ | : [^\\s[\\[\\]{},]]
51
+ | \\s+ (?![#\\s])
52
+ )*
53
+ \\s*
54
+ :
55
+ (\\s|$)
56
+ )
57
+ `, end: `(?x)
58
+ (?=
59
+ \\s* $
60
+ | \\s+ \\#
61
+ | \\s* : (\\s|$)
62
+ | \\s* : [\\[\\]{},]
63
+ | \\s* [\\[\\]{},]
64
+ )
65
+ `, name: "meta.flow-pair.key.yaml", patterns: [{ include: "#flow-scalar-plain-in-implicit-type" }, { begin: `(?x)
66
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
67
+ | [?:-] [^\\s[\\[\\]{},]]
68
+ `, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
69
+ (?=
70
+ \\s* $
71
+ | \\s+ \\#
72
+ | \\s* : (\\s|$)
73
+ | \\s* : [\\[\\]{},]
74
+ | \\s* [\\[\\]{},]
75
+ )
76
+ `, 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: '\\\\([0abtnvfre "/\\\\N_Lp]|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: `(?x)
77
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
78
+ | [?:-] [^\\s[\\[\\]{},]]
79
+ `, end: `(?x)
80
+ (?=
81
+ \\s* $
82
+ | \\s+ \\#
83
+ | \\s* : (\\s|$)
84
+ | \\s* : [\\[\\]{},]
85
+ | \\s* [\\[\\]{},]
86
+ )
87
+ `, 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: `(?x)
88
+ (?x:
89
+ (null|Null|NULL|~)
90
+ | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
91
+ | (
92
+ (?:
93
+ [-+]? 0b [0-1_]+
94
+ | [-+]? 0 [0-7_]+
95
+ | [-+]? (?: 0|[1-9][0-9_]*)
96
+ | [-+]? 0x [0-9a-fA-F_]+
97
+ | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
98
+ )
99
+ )
100
+ | (
101
+ (?x:
102
+ [-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
103
+ | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
104
+ | [-+]? \\. (?: inf|Inf|INF)
105
+ | \\. (?: nan|NaN|NAN)
106
+ )
107
+ )
108
+ | (
109
+ (?x:
110
+ \\d{4} - \\d{2} - \\d{2}
111
+ | \\d{4}
112
+ - \\d{1,2}
113
+ - \\d{1,2}
114
+ (?: [Tt] | [ \\t]+) \\d{1,2}
115
+ : \\d{2}
116
+ : \\d{2}
117
+ (?: \\.\\d*)?
118
+ (?:
119
+ (?:[ \\t]*) Z
120
+ | [-+] \\d{1,2} (?: :\\d{1,2})?
121
+ )?
122
+ )
123
+ )
124
+ | (=)
125
+ | (<<)
126
+ )
127
+ (?:
128
+ (?=
129
+ \\s* $
130
+ | \\s+ \\#
131
+ | \\s* : (\\s|$)
132
+ | \\s* : [\\[\\]{},]
133
+ | \\s* [\\[\\]{},]
134
+ )
135
+ )
136
+ ` }] }, "flow-scalar-plain-out": { patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
137
+ [^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
138
+ | [?:-] \\S
139
+ `, end: `(?x)
140
+ (?=
141
+ \\s* $
142
+ | \\s+ \\#
143
+ | \\s* : (\\s|$)
144
+ )
145
+ `, 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: `(?x)
146
+ (?x:
147
+ (null|Null|NULL|~)
148
+ | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
149
+ | (
150
+ (?:
151
+ [-+]? 0b [0-1_]+
152
+ | [-+]? 0 [0-7_]+
153
+ | [-+]? (?: 0|[1-9][0-9_]*)
154
+ | [-+]? 0x [0-9a-fA-F_]+
155
+ | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
156
+ )
157
+ )
158
+ | (
159
+ (?x:
160
+ [-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
161
+ | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
162
+ | [-+]? \\. (?: inf|Inf|INF)
163
+ | \\. (?: nan|NaN|NAN)
164
+ )
165
+ )
166
+ | (
167
+ (?x:
168
+ \\d{4} - \\d{2} - \\d{2}
169
+ | \\d{4}
170
+ - \\d{1,2}
171
+ - \\d{1,2}
172
+ (?: [Tt] | [ \\t]+) \\d{1,2}
173
+ : \\d{2}
174
+ : \\d{2}
175
+ (?: \\.\\d*)?
176
+ (?:
177
+ (?:[ \\t]*) Z
178
+ | [-+] \\d{1,2} (?: :\\d{1,2})?
179
+ )?
180
+ )
181
+ )
182
+ | (=)
183
+ | (<<)
184
+ )
185
+ (?x:
186
+ (?=
187
+ \\s* $
188
+ | \\s+ \\#
189
+ | \\s* : (\\s|$)
190
+ )
191
+ )
192
+ ` }] }, "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: `(?x)
193
+ \\G
194
+ (?:
195
+ ! < (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+ >
196
+ | (?:!(?:[0-9A-Za-z\\-]*!)?) (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$_.~*'()] )+
197
+ | !
198
+ )
199
+ (?=\\ |\\t|$)
200
+ `, 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"] });
201
+ var e = [
202
+ n
203
+ ];
204
+ export {
205
+ e as default
206
+ };
package/dist/vite.cjs CHANGED
@@ -7890,7 +7890,7 @@ function VitePluginVueDevTools(options) {
7890
7890
  const urls = server.resolvedUrls;
7891
7891
  const keys = normalizeComboKeyPrint("option-shift-d");
7892
7892
  _printUrls();
7893
- for (const url of urls?.local)
7893
+ for (const url of urls.local)
7894
7894
  console.log(` ${green("\u279C")} ${bold("Vue DevTools")}: ${green(`Open ${colorUrl(`${url}__devtools__/`)} as a separate window`)}`);
7895
7895
  console.log(` ${green("\u279C")} ${bold("Vue DevTools")}: ${green(`Press ${yellow(keys)} in App to toggle the Vue DevTools`)}
7896
7896
  `);
@@ -7918,16 +7918,14 @@ function VitePluginVueDevTools(options) {
7918
7918
  if (id === "virtual:vue-devtools-options")
7919
7919
  return `export default ${JSON.stringify({ base: config.base, componentInspector: pluginOptions.componentInspector })}`;
7920
7920
  },
7921
- transform(code, id) {
7922
- const { root } = config;
7923
- const projectPath = `${root}`;
7924
- if (!id.startsWith(projectPath))
7921
+ transform(code, id, options2) {
7922
+ if (options2?.ssr)
7925
7923
  return;
7926
7924
  const { appendTo } = pluginOptions;
7927
7925
  const [filename] = id.split("?", 2);
7928
7926
  if (appendTo && (typeof appendTo === "string" && filename.endsWith(appendTo) || appendTo instanceof RegExp && appendTo.test(filename)))
7929
- code = `${code}
7930
- import 'virtual:vue-devtools-path:overlay.js'`;
7927
+ code = `import 'virtual:vue-devtools-path:overlay.js';
7928
+ ${code}`;
7931
7929
  return code;
7932
7930
  },
7933
7931
  transformIndexHtml(html) {
package/dist/vite.mjs CHANGED
@@ -7874,7 +7874,7 @@ function VitePluginVueDevTools(options) {
7874
7874
  const urls = server.resolvedUrls;
7875
7875
  const keys = normalizeComboKeyPrint("option-shift-d");
7876
7876
  _printUrls();
7877
- for (const url of urls?.local)
7877
+ for (const url of urls.local)
7878
7878
  console.log(` ${green("\u279C")} ${bold("Vue DevTools")}: ${green(`Open ${colorUrl(`${url}__devtools__/`)} as a separate window`)}`);
7879
7879
  console.log(` ${green("\u279C")} ${bold("Vue DevTools")}: ${green(`Press ${yellow(keys)} in App to toggle the Vue DevTools`)}
7880
7880
  `);
@@ -7902,16 +7902,14 @@ function VitePluginVueDevTools(options) {
7902
7902
  if (id === "virtual:vue-devtools-options")
7903
7903
  return `export default ${JSON.stringify({ base: config.base, componentInspector: pluginOptions.componentInspector })}`;
7904
7904
  },
7905
- transform(code, id) {
7906
- const { root } = config;
7907
- const projectPath = `${root}`;
7908
- if (!id.startsWith(projectPath))
7905
+ transform(code, id, options2) {
7906
+ if (options2?.ssr)
7909
7907
  return;
7910
7908
  const { appendTo } = pluginOptions;
7911
7909
  const [filename] = id.split("?", 2);
7912
7910
  if (appendTo && (typeof appendTo === "string" && filename.endsWith(appendTo) || appendTo instanceof RegExp && appendTo.test(filename)))
7913
- code = `${code}
7914
- import 'virtual:vue-devtools-path:overlay.js'`;
7911
+ code = `import 'virtual:vue-devtools-path:overlay.js';
7912
+ ${code}`;
7915
7913
  return code;
7916
7914
  },
7917
7915
  transformIndexHtml(html) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-vue-devtools",
3
3
  "type": "module",
4
- "version": "7.1.1",
4
+ "version": "7.1.3",
5
5
  "description": "A vite plugin for Vue DevTools",
6
6
  "author": "webfansplz",
7
7
  "license": "MIT",
@@ -50,9 +50,9 @@
50
50
  "sirv": "^2.0.4",
51
51
  "vite-plugin-inspect": "^0.8.4",
52
52
  "vite-plugin-vue-inspector": "^5.0.1",
53
- "@vue/devtools-core": "^7.1.1",
54
- "@vue/devtools-shared": "^7.1.1",
55
- "@vue/devtools-kit": "^7.1.1"
53
+ "@vue/devtools-shared": "^7.1.3",
54
+ "@vue/devtools-core": "^7.1.3",
55
+ "@vue/devtools-kit": "^7.1.3"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/node": "^20.12.7",
@@ -1 +1 @@
1
- .vue-devtools-frame[data-v-8b2fd87f]{position:fixed;z-index:2147483645}.vue-devtools-frame[data-v-8b2fd87f] iframe{width:100%;height:100%;outline:none;background:var(--vue-devtools-widget-bg);border:1px solid rgba(125,125,125,.2);border-radius:10px}.vue-devtools-frame.view-mode-xs[data-v-8b2fd87f]{width:400px!important;height:80px!important}.vue-devtools-frame.view-mode-fullscreen[data-v-8b2fd87f]{width:100vw!important;height:100vh!important;z-index:1!important;bottom:0!important;transform:none!important}.vue-devtools-frame.view-mode-fullscreen[data-v-8b2fd87f] iframe{border-radius:0!important}.vue-devtools-resize--horizontal[data-v-8b2fd87f]{position:absolute;left:6px;right:6px;height:10px;margin:-5px 0;cursor:ns-resize;border-radius:5px}.vue-devtools-resize--vertical[data-v-8b2fd87f]{position:absolute;top:6px;bottom:0;width:10px;margin:0 -5px;cursor:ew-resize;border-radius:5px}.vue-devtools-resize-corner[data-v-8b2fd87f]{position:absolute;width:14px;height:14px;margin:-6px;border-radius:6px}.vue-devtools-resize[data-v-8b2fd87f]:hover{background:#7d7d7d1a}.vue-devtools__anchor[data-v-c700d689]{position:fixed;z-index:2147483645;transform-origin:center center;transform:translate(-50%,-50%) rotate(0)}.vue-devtools__anchor.fullscreen[data-v-c700d689]{transform:none!important;left:0!important}.vue-devtools__anchor-btn[data-v-c700d689]{border-radius:100%;border-width:0;width:30px;height:30px;display:flex;justify-content:center;align-items:center;opacity:.8;transition:opacity .2s ease-in-out}.vue-devtools__anchor-btn[data-v-c700d689]:hover{opacity:1}.vue-devtools__anchor-btn svg[data-v-c700d689]{width:14px;height:14px}.vue-devtools__anchor-btn.active[data-v-c700d689]{cursor:pointer}.vue-devtools__anchor .panel-entry-btn[data-v-c700d689]{cursor:pointer;flex:none}.vue-devtools__anchor--vertical .panel-entry-btn[data-v-c700d689]{transform:rotate(-90deg)}.vue-devtools__anchor--vertical .vue-devtools__panel[data-v-c700d689]{transform:translate(-50%,-50%) rotate(90deg);box-shadow:2px -2px 8px var(--vue-devtools-widget-shadow)}.vue-devtools__anchor--hide .vue-devtools__panel[data-v-c700d689]{max-width:32px;padding:2px 0}.vue-devtools__anchor--hide .vue-devtools__panel-content[data-v-c700d689]{opacity:0}.vue-devtools__anchor--glowing[data-v-c700d689]{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:160px;height:160px;opacity:0;transition:all 1s ease;pointer-events:none;z-index:-1;border-radius:9999px;background-image:linear-gradient(45deg,#00dc82,#36e4da,#0047e1);filter:blur(60px)}.vue-devtools__anchor:hover .vue-devtools__anchor--glowing[data-v-c700d689]{opacity:.6}.vue-devtools__panel[data-v-c700d689]{position:absolute;left:0;top:0;transform:translate(-50%,-50%);display:flex;justify-content:flex-start;overflow:hidden;align-items:center;gap:2px;height:30px;padding:4px 4px 4px 5px;box-sizing:border-box;border:1px solid var(--vue-devtools-widget-border);border-radius:20px;background-color:var(--vue-devtools-widget-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--vue-devtools-widget-fg);box-shadow:2px 2px 8px var(--vue-devtools-widget-shadow);-webkit-user-select:none;user-select:none;max-width:150px;transition:max-width .4s ease,padding .5s ease,transform .3s ease,all .4s ease}.vue-devtools__panel-content[data-v-c700d689]{transition:opacity .4s ease}.vue-devtools__panel-divider[data-v-c700d689]{border-left:1px solid rgba(136,136,136,.2);width:1px;height:10px}@keyframes blink-c700d689{0%{opacity:.2}50%{opacity:.6}to{opacity:.2}}@media print{#vue-devtools-anchor[data-v-c700d689]{display:none}}
1
+ .vue-devtools-frame[data-v-8b2fd87f]{position:fixed;z-index:2147483645}.vue-devtools-frame[data-v-8b2fd87f] iframe{width:100%;height:100%;outline:none;background:var(--vue-devtools-widget-bg);border:1px solid rgba(125,125,125,.2);border-radius:10px}.vue-devtools-frame.view-mode-xs[data-v-8b2fd87f]{width:400px!important;height:80px!important}.vue-devtools-frame.view-mode-fullscreen[data-v-8b2fd87f]{width:100vw!important;height:100vh!important;z-index:1!important;bottom:0!important;transform:none!important}.vue-devtools-frame.view-mode-fullscreen[data-v-8b2fd87f] iframe{border-radius:0!important}.vue-devtools-resize--horizontal[data-v-8b2fd87f]{position:absolute;left:6px;right:6px;height:10px;margin:-5px 0;cursor:ns-resize;border-radius:5px}.vue-devtools-resize--vertical[data-v-8b2fd87f]{position:absolute;top:6px;bottom:0;width:10px;margin:0 -5px;cursor:ew-resize;border-radius:5px}.vue-devtools-resize-corner[data-v-8b2fd87f]{position:absolute;width:14px;height:14px;margin:-6px;border-radius:6px}.vue-devtools-resize[data-v-8b2fd87f]:hover{background:#7d7d7d1a}.vue-devtools__anchor[data-v-93de249b]{position:fixed;z-index:2147483645;transform-origin:center center;transform:translate(-50%,-50%) rotate(0)}.vue-devtools__anchor.fullscreen[data-v-93de249b]{transform:none!important;left:0!important}.vue-devtools__anchor-btn[data-v-93de249b]{border-radius:100%;border-width:0;width:30px;height:30px;display:flex;justify-content:center;align-items:center;opacity:.8;transition:opacity .2s ease-in-out}.vue-devtools__anchor-btn[data-v-93de249b]:hover{opacity:1}.vue-devtools__anchor-btn svg[data-v-93de249b]{width:14px;height:14px}.vue-devtools__anchor-btn.active[data-v-93de249b]{cursor:pointer}.vue-devtools__anchor .panel-entry-btn[data-v-93de249b]{cursor:pointer;flex:none}.vue-devtools__anchor--vertical .panel-entry-btn[data-v-93de249b]{transform:rotate(-90deg)}.vue-devtools__anchor--vertical .vue-devtools__panel[data-v-93de249b]{transform:translate(-50%,-50%) rotate(90deg);box-shadow:2px -2px 8px var(--vue-devtools-widget-shadow)}.vue-devtools__anchor--hide .vue-devtools__panel[data-v-93de249b]{max-width:32px;padding:2px 0}.vue-devtools__anchor--hide .vue-devtools__panel-content[data-v-93de249b]{opacity:0}.vue-devtools__anchor--glowing[data-v-93de249b]{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:160px;height:160px;opacity:0;transition:all 1s ease;pointer-events:none;z-index:-1;border-radius:9999px;background-image:linear-gradient(45deg,#00dc82,#36e4da,#0047e1);filter:blur(60px)}.vue-devtools__anchor:hover .vue-devtools__anchor--glowing[data-v-93de249b]{opacity:.6}.vue-devtools__panel[data-v-93de249b]{position:absolute;left:0;top:0;transform:translate(-50%,-50%);display:flex;justify-content:flex-start;overflow:hidden;align-items:center;gap:2px;height:30px;padding:4px 4px 4px 5px;box-sizing:border-box;border:1px solid var(--vue-devtools-widget-border);border-radius:20px;background-color:var(--vue-devtools-widget-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--vue-devtools-widget-fg);box-shadow:2px 2px 8px var(--vue-devtools-widget-shadow);-webkit-user-select:none;user-select:none;max-width:150px;transition:max-width .4s ease,padding .5s ease,transform .3s ease,all .4s ease}.vue-devtools__panel-content[data-v-93de249b]{transition:opacity .4s ease}.vue-devtools__panel-divider[data-v-93de249b]{border-left:1px solid rgba(136,136,136,.2);width:1px;height:10px}@keyframes blink-93de249b{0%{opacity:.2}50%{opacity:.6}to{opacity:.2}}@media print{#vue-devtools-anchor[data-v-93de249b]{display:none}}