@blocknote/core 0.17.1 → 0.18.0
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/angular-html-HQGguTAE.js +33 -0
- package/dist/angular-html-HQGguTAE.js.map +1 -0
- package/dist/angular-ts-q9PqJiJb.js +22 -0
- package/dist/angular-ts-q9PqJiJb.js.map +1 -0
- package/dist/astro-0iWgpDaK.js +17 -0
- package/dist/astro-0iWgpDaK.js.map +1 -0
- package/dist/blade-C3Z8AhvY.js +19 -0
- package/dist/blade-C3Z8AhvY.js.map +1 -0
- package/dist/blocknote.js +2338 -1491
- package/dist/blocknote.js.map +1 -1
- package/dist/blocknote.umd.cjs +10 -7
- package/dist/blocknote.umd.cjs.map +1 -1
- package/dist/c-TKJGJdXV.js +7 -0
- package/dist/c-TKJGJdXV.js.map +1 -0
- package/dist/coffee-CN_y6cG3.js +9 -0
- package/dist/coffee-CN_y6cG3.js.map +1 -0
- package/dist/cpp-Be_e67JE.js +19 -0
- package/dist/cpp-Be_e67JE.js.map +1 -0
- package/dist/css-DHLSoXzW.js +7 -0
- package/dist/css-DHLSoXzW.js.map +1 -0
- package/dist/glsl-8qSUIm5B.js +9 -0
- package/dist/glsl-8qSUIm5B.js.map +1 -0
- package/dist/graphql-D7_Dk2ma.js +15 -0
- package/dist/graphql-D7_Dk2ma.js.map +1 -0
- package/dist/haml-S3dmcfEW.js +11 -0
- package/dist/haml-S3dmcfEW.js.map +1 -0
- package/dist/handlebars-DaIrqVg3.js +15 -0
- package/dist/handlebars-DaIrqVg3.js.map +1 -0
- package/dist/html-Bx3A18fV.js +11 -0
- package/dist/html-Bx3A18fV.js.map +1 -0
- package/dist/html-derivative-Cf3KTZBS.js +9 -0
- package/dist/html-derivative-Cf3KTZBS.js.map +1 -0
- package/dist/http-BphR83YX.js +15 -0
- package/dist/http-BphR83YX.js.map +1 -0
- package/dist/imba-CmP25v0O.js +9 -0
- package/dist/imba-CmP25v0O.js.map +1 -0
- package/dist/java-Dg4kxH6C.js +7 -0
- package/dist/java-Dg4kxH6C.js.map +1 -0
- package/dist/javascript-CipAzIn1.js +7 -0
- package/dist/javascript-CipAzIn1.js.map +1 -0
- package/dist/jinja-tioldiz6.js +12 -0
- package/dist/jinja-tioldiz6.js.map +1 -0
- package/dist/jison-DWJFEE_I.js +9 -0
- package/dist/jison-DWJFEE_I.js.map +1 -0
- package/dist/json-_04EL6MS.js +7 -0
- package/dist/json-_04EL6MS.js.map +1 -0
- package/dist/json5-Dwmp5XFI.js +7 -0
- package/dist/json5-Dwmp5XFI.js.map +1 -0
- package/dist/jsonc-LqD5auy0.js +7 -0
- package/dist/jsonc-LqD5auy0.js.map +1 -0
- package/dist/jsonl-B4yVuYQH.js +7 -0
- package/dist/jsonl-B4yVuYQH.js.map +1 -0
- package/dist/jsx-Mg4WaD5k.js +7 -0
- package/dist/jsx-Mg4WaD5k.js.map +1 -0
- package/dist/julia-CWi-ZdpN.js +17 -0
- package/dist/julia-CWi-ZdpN.js.map +1 -0
- package/dist/less-BBvTHIGe.js +7 -0
- package/dist/less-BBvTHIGe.js.map +1 -0
- package/dist/markdown-DAXqtk9a.js +7 -0
- package/dist/markdown-DAXqtk9a.js.map +1 -0
- package/dist/marko-0aaNgUGV.js +15 -0
- package/dist/marko-0aaNgUGV.js.map +1 -0
- package/dist/mdc-hXJ2B4O0.js +13 -0
- package/dist/mdc-hXJ2B4O0.js.map +1 -0
- package/dist/mdx-CSCKbb_f.js +7 -0
- package/dist/mdx-CSCKbb_f.js.map +1 -0
- package/dist/php-B_-4RJ09.js +19 -0
- package/dist/php-B_-4RJ09.js.map +1 -0
- package/dist/postcss-SJfTvo_B.js +7 -0
- package/dist/postcss-SJfTvo_B.js.map +1 -0
- package/dist/pug-3q2tx0nf.js +13 -0
- package/dist/pug-3q2tx0nf.js.map +1 -0
- package/dist/python-Dpup1-fE.js +7 -0
- package/dist/python-Dpup1-fE.js.map +1 -0
- package/dist/r-Chyv38Fv.js +7 -0
- package/dist/r-Chyv38Fv.js.map +1 -0
- package/dist/regexp-BF0hfxNW.js +7 -0
- package/dist/regexp-BF0hfxNW.js.map +1 -0
- package/dist/sass-p2RMoqDT.js +7 -0
- package/dist/sass-p2RMoqDT.js.map +1 -0
- package/dist/scss-DmlHSoOY.js +9 -0
- package/dist/scss-DmlHSoOY.js.map +1 -0
- package/dist/shellscript-CZpPN8_x.js +7 -0
- package/dist/shellscript-CZpPN8_x.js.map +1 -0
- package/dist/sql-DtlkUz2m.js +7 -0
- package/dist/sql-DtlkUz2m.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/stylus-DEr8eSLm.js +7 -0
- package/dist/stylus-DEr8eSLm.js.map +1 -0
- package/dist/svelte-BRIJF62h.js +15 -0
- package/dist/svelte-BRIJF62h.js.map +1 -0
- package/dist/ts-tags-qkUtuI0N.js +42 -0
- package/dist/ts-tags-qkUtuI0N.js.map +1 -0
- package/dist/tsx-DTfbgJxi.js +7 -0
- package/dist/tsx-DTfbgJxi.js.map +1 -0
- package/dist/typescript-CCd4aQHh.js +7 -0
- package/dist/typescript-CCd4aQHh.js.map +1 -0
- package/dist/vue-B3TdbERm.js +32 -0
- package/dist/vue-B3TdbERm.js.map +1 -0
- package/dist/vue-html-BGmTBZk0.js +11 -0
- package/dist/vue-html-BGmTBZk0.js.map +1 -0
- package/dist/wasm-VDIDph3E.js +7 -0
- package/dist/wasm-VDIDph3E.js.map +1 -0
- package/dist/webpack-stats.json +1 -1
- package/dist/wgsl-2np_U3Z8.js +7 -0
- package/dist/wgsl-2np_U3Z8.js.map +1 -0
- package/dist/xml-CNyphW9R.js +9 -0
- package/dist/xml-CNyphW9R.js.map +1 -0
- package/dist/yaml-DxFiVFcM.js +7 -0
- package/dist/yaml-DxFiVFcM.js.map +1 -0
- package/package.json +6 -4
- package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +30 -0
- package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap +25 -0
- package/src/api/blockManipulation/commands/moveBlock/__snapshots__/moveBlock.test.ts.snap +40 -0
- package/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap +10 -0
- package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap +40 -0
- package/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap +30 -0
- package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +87 -0
- package/src/api/clipboard/clipboard.test.ts +1 -1
- package/src/api/clipboard/fromClipboard/acceptedMIMETypes.ts +1 -0
- package/src/api/clipboard/fromClipboard/handleVSCodePaste.ts +49 -0
- package/src/api/clipboard/fromClipboard/pasteExtension.ts +6 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/empty/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/empty/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/python/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/codeBlock/python/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/noName/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/noPreview/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/lists/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/lists/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/basic/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/nested/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noName/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noName/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/table/allColWidths/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/allColWidths/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/basic/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/basic/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedColWidths/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedColWidths/internal.html +1 -0
- package/src/api/exporters/html/internalHTMLSerializer.ts +2 -7
- package/src/api/exporters/html/util/serializeBlocksInternalHTML.ts +20 -15
- package/src/api/exporters/markdown/__snapshots__/codeBlock/defaultLanguage/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/codeBlock/empty/markdown.md +2 -0
- package/src/api/exporters/markdown/__snapshots__/codeBlock/python/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/table/allColWidths/markdown.md +5 -0
- package/src/api/exporters/markdown/__snapshots__/table/basic/markdown.md +5 -0
- package/src/api/exporters/markdown/__snapshots__/table/mixedColWidths/markdown.md +5 -0
- package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +711 -0
- package/src/api/nodeConversions/blockToNode.ts +13 -2
- package/src/api/nodeConversions/nodeToBlock.ts +11 -1
- package/src/api/parsers/html/__snapshots__/parse-notion-html.json +5 -0
- package/src/api/parsers/markdown/parseMarkdown.ts +1 -1
- package/src/api/testUtil/cases/defaultSchema.ts +95 -0
- package/src/api/testUtil/partialBlockTestUtil.ts +26 -1
- package/src/blocks/CodeBlockContent/CodeBlockContent.ts +369 -0
- package/src/blocks/CodeBlockContent/defaultSupportedLanguages.ts +96 -0
- package/src/blocks/FileBlockContent/fileBlockHelpers.ts +7 -0
- package/src/blocks/TableBlockContent/TableBlockContent.ts +83 -8
- package/src/blocks/TableBlockContent/TableExtension.ts +10 -1
- package/src/blocks/defaultBlocks.ts +4 -0
- package/src/editor/Block.css +49 -2
- package/src/editor/editor.css +33 -5
- package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +8 -0
- package/src/extensions/Placeholder/PlaceholderPlugin.ts +5 -0
- package/src/extensions/SuggestionMenu/SuggestionPlugin.ts +5 -0
- package/src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts +2 -1
- package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +18 -0
- package/src/extensions/TableHandles/TableHandlesPlugin.ts +224 -119
- package/src/i18n/locales/ar.ts +6 -0
- package/src/i18n/locales/de.ts +299 -294
- package/src/i18n/locales/en.ts +6 -0
- package/src/i18n/locales/es.ts +310 -274
- package/src/i18n/locales/fr.ts +6 -0
- package/src/i18n/locales/is.ts +6 -0
- package/src/i18n/locales/ja.ts +6 -0
- package/src/i18n/locales/ko.ts +6 -0
- package/src/i18n/locales/nl.ts +6 -0
- package/src/i18n/locales/pl.ts +6 -0
- package/src/i18n/locales/pt.ts +6 -0
- package/src/i18n/locales/ru.ts +6 -0
- package/src/i18n/locales/vi.ts +6 -0
- package/src/i18n/locales/zh.ts +6 -0
- package/src/index.ts +10 -5
- package/src/schema/blocks/types.ts +2 -0
- package/types/src/api/blockManipulation/setupTestEnv.d.ts +22 -8
- package/types/src/api/clipboard/fromClipboard/acceptedMIMETypes.d.ts +1 -1
- package/types/src/api/clipboard/fromClipboard/handleVSCodePaste.d.ts +3 -0
- package/types/src/api/exporters/html/util/serializeBlocksInternalHTML.d.ts +2 -3
- package/types/src/api/testUtil/cases/customBlocks.d.ts +22 -8
- package/types/src/api/testUtil/cases/customInlineContent.d.ts +22 -8
- package/types/src/api/testUtil/cases/customStyles.d.ts +22 -8
- package/types/src/blocks/CodeBlockContent/CodeBlockContent.d.ts +57 -0
- package/types/src/blocks/CodeBlockContent/defaultSupportedLanguages.d.ts +6 -0
- package/types/src/blocks/TableBlockContent/TableBlockContent.d.ts +0 -12
- package/types/src/blocks/TableBlockContent/TableExtension.d.ts +3 -0
- package/types/src/blocks/defaultBlocks.d.ts +45 -16
- package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +9 -5
- package/types/src/i18n/locales/de.d.ts +6 -0
- package/types/src/i18n/locales/en.d.ts +6 -0
- package/types/src/i18n/locales/es.d.ts +6 -0
- package/types/src/index.d.ts +7 -5
- package/types/src/schema/blocks/types.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wgsl-2np_U3Z8.js","sources":["../node_modules/shiki/dist/langs/wgsl.mjs"],"sourcesContent":["const lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"WGSL\\\",\\\"name\\\":\\\"wgsl\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#line_comments\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#keywords\\\"},{\\\"include\\\":\\\"#attributes\\\"},{\\\"include\\\":\\\"#functions\\\"},{\\\"include\\\":\\\"#function_calls\\\"},{\\\"include\\\":\\\"#constants\\\"},{\\\"include\\\":\\\"#types\\\"},{\\\"include\\\":\\\"#variables\\\"},{\\\"include\\\":\\\"#punctuation\\\"}],\\\"repository\\\":{\\\"attributes\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.attribute.at\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.attribute.wgsl\\\"}},\\\"comment\\\":\\\"attribute declaration\\\",\\\"match\\\":\\\"(@)([A-Za-z_]+)\\\",\\\"name\\\":\\\"meta.attribute.wgsl\\\"}]},\\\"block_comments\\\":{\\\"patterns\\\":[{\\\"comment\\\":\\\"empty block comments\\\",\\\"match\\\":\\\"/\\\\\\\\*\\\\\\\\*/\\\",\\\"name\\\":\\\"comment.block.wgsl\\\"},{\\\"begin\\\":\\\"/\\\\\\\\*\\\\\\\\*\\\",\\\"comment\\\":\\\"block documentation comments\\\",\\\"end\\\":\\\"\\\\\\\\*/\\\",\\\"name\\\":\\\"comment.block.documentation.wgsl\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#block_comments\\\"}]},{\\\"begin\\\":\\\"/\\\\\\\\*(?!\\\\\\\\*)\\\",\\\"comment\\\":\\\"block comments\\\",\\\"end\\\":\\\"\\\\\\\\*/\\\",\\\"name\\\":\\\"comment.block.wgsl\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#block_comments\\\"}]}]},\\\"constants\\\":{\\\"patterns\\\":[{\\\"comment\\\":\\\"decimal float literal\\\",\\\"match\\\":\\\"(-?\\\\\\\\b\\\\\\\\d\\\\\\\\d*\\\\\\\\.\\\\\\\\d\\\\\\\\d*)([eE][+-]?\\\\\\\\d+)?\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.float.wgsl\\\"},{\\\"comment\\\":\\\"int literal\\\",\\\"match\\\":\\\"-?\\\\\\\\b0x[0-9a-fA-F]+\\\\\\\\b|\\\\\\\\b0\\\\\\\\b|-?\\\\\\\\b[1-9]\\\\\\\\d*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.decimal.wgsl\\\"},{\\\"comment\\\":\\\"uint literal\\\",\\\"match\\\":\\\"\\\\\\\\b0x[0-9a-fA-F]+u\\\\\\\\b|\\\\\\\\b0u\\\\\\\\b|\\\\\\\\b[1-9]\\\\\\\\d*u\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.decimal.wgsl\\\"},{\\\"comment\\\":\\\"boolean constant\\\",\\\"match\\\":\\\"\\\\\\\\b(true|false)\\\\\\\\b\\\",\\\"name\\\":\\\"constant.language.boolean.wgsl\\\"}]},\\\"function_calls\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"([A-Za-z0-9_]+)(\\\\\\\\()\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.name.function.wgsl\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.brackets.round.wgsl\\\"}},\\\"comment\\\":\\\"function/method calls\\\",\\\"end\\\":\\\"\\\\\\\\)\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.brackets.round.wgsl\\\"}},\\\"name\\\":\\\"meta.function.call.wgsl\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#line_comments\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#keywords\\\"},{\\\"include\\\":\\\"#attributes\\\"},{\\\"include\\\":\\\"#function_calls\\\"},{\\\"include\\\":\\\"#constants\\\"},{\\\"include\\\":\\\"#types\\\"},{\\\"include\\\":\\\"#variables\\\"},{\\\"include\\\":\\\"#punctuation\\\"}]}]},\\\"functions\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\b(fn)\\\\\\\\s+([A-Za-z0-9_]+)((\\\\\\\\()|(<))\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.other.fn.wgsl\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.wgsl\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.brackets.round.wgsl\\\"}},\\\"comment\\\":\\\"function definition\\\",\\\"end\\\":\\\"\\\\\\\\{\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.brackets.curly.wgsl\\\"}},\\\"name\\\":\\\"meta.function.definition.wgsl\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#line_comments\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#keywords\\\"},{\\\"include\\\":\\\"#attributes\\\"},{\\\"include\\\":\\\"#function_calls\\\"},{\\\"include\\\":\\\"#constants\\\"},{\\\"include\\\":\\\"#types\\\"},{\\\"include\\\":\\\"#variables\\\"},{\\\"include\\\":\\\"#punctuation\\\"}]}]},\\\"keywords\\\":{\\\"patterns\\\":[{\\\"comment\\\":\\\"other keywords\\\",\\\"match\\\":\\\"\\\\\\\\b(bitcast|block|break|case|continue|continuing|default|discard|else|elseif|enable|fallthrough|for|function|if|loop|private|read|read_write|return|storage|switch|uniform|while|workgroup|write)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.control.wgsl\\\"},{\\\"comment\\\":\\\"reserved keywords\\\",\\\"match\\\":\\\"\\\\\\\\b(asm|const|do|enum|handle|mat|premerge|regardless|typedef|unless|using|vec|void)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.control.wgsl\\\"},{\\\"comment\\\":\\\"storage keywords\\\",\\\"match\\\":\\\"\\\\\\\\b(let|var)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.other.wgsl storage.type.wgsl\\\"},{\\\"comment\\\":\\\"type keyword\\\",\\\"match\\\":\\\"\\\\\\\\b(type)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.declaration.type.wgsl storage.type.wgsl\\\"},{\\\"comment\\\":\\\"enum keyword\\\",\\\"match\\\":\\\"\\\\\\\\b(enum)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.declaration.enum.wgsl storage.type.wgsl\\\"},{\\\"comment\\\":\\\"struct keyword\\\",\\\"match\\\":\\\"\\\\\\\\b(struct)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.declaration.struct.wgsl storage.type.wgsl\\\"},{\\\"comment\\\":\\\"fn\\\",\\\"match\\\":\\\"\\\\\\\\bfn\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.other.fn.wgsl\\\"},{\\\"comment\\\":\\\"logical operators\\\",\\\"match\\\":\\\"(\\\\\\\\^|\\\\\\\\||\\\\\\\\|\\\\\\\\||&&|<<|>>|!)(?!=)\\\",\\\"name\\\":\\\"keyword.operator.logical.wgsl\\\"},{\\\"comment\\\":\\\"logical AND, borrow references\\\",\\\"match\\\":\\\"&(?![&=])\\\",\\\"name\\\":\\\"keyword.operator.borrow.and.wgsl\\\"},{\\\"comment\\\":\\\"assignment operators\\\",\\\"match\\\":\\\"(\\\\\\\\+=|-=|\\\\\\\\*=|/=|%=|\\\\\\\\^=|&=|\\\\\\\\|=|<<=|>>=)\\\",\\\"name\\\":\\\"keyword.operator.assignment.wgsl\\\"},{\\\"comment\\\":\\\"single equal\\\",\\\"match\\\":\\\"(?<![<>])=(?!=|>)\\\",\\\"name\\\":\\\"keyword.operator.assignment.equal.wgsl\\\"},{\\\"comment\\\":\\\"comparison operators\\\",\\\"match\\\":\\\"(=(=)?(?!>)|!=|<=|(?<!=)>=)\\\",\\\"name\\\":\\\"keyword.operator.comparison.wgsl\\\"},{\\\"comment\\\":\\\"math operators\\\",\\\"match\\\":\\\"(([+%]|(\\\\\\\\*(?!\\\\\\\\w)))(?!=))|(-(?!>))|(/(?!/))\\\",\\\"name\\\":\\\"keyword.operator.math.wgsl\\\"},{\\\"comment\\\":\\\"dot access\\\",\\\"match\\\":\\\"\\\\\\\\.(?!\\\\\\\\.)\\\",\\\"name\\\":\\\"keyword.operator.access.dot.wgsl\\\"},{\\\"comment\\\":\\\"dashrocket, skinny arrow\\\",\\\"match\\\":\\\"->\\\",\\\"name\\\":\\\"keyword.operator.arrow.skinny.wgsl\\\"}]},\\\"line_comments\\\":{\\\"comment\\\":\\\"single line comment\\\",\\\"match\\\":\\\"\\\\\\\\s*//.*\\\",\\\"name\\\":\\\"comment.line.double-slash.wgsl\\\"},\\\"punctuation\\\":{\\\"patterns\\\":[{\\\"comment\\\":\\\"comma\\\",\\\"match\\\":\\\",\\\",\\\"name\\\":\\\"punctuation.comma.wgsl\\\"},{\\\"comment\\\":\\\"curly braces\\\",\\\"match\\\":\\\"[{}]\\\",\\\"name\\\":\\\"punctuation.brackets.curly.wgsl\\\"},{\\\"comment\\\":\\\"parentheses, round brackets\\\",\\\"match\\\":\\\"[()]\\\",\\\"name\\\":\\\"punctuation.brackets.round.wgsl\\\"},{\\\"comment\\\":\\\"semicolon\\\",\\\"match\\\":\\\";\\\",\\\"name\\\":\\\"punctuation.semi.wgsl\\\"},{\\\"comment\\\":\\\"square brackets\\\",\\\"match\\\":\\\"[\\\\\\\\[\\\\\\\\]]\\\",\\\"name\\\":\\\"punctuation.brackets.square.wgsl\\\"},{\\\"comment\\\":\\\"angle brackets\\\",\\\"match\\\":\\\"(?<![=-])[<>]\\\",\\\"name\\\":\\\"punctuation.brackets.angle.wgsl\\\"}]},\\\"types\\\":{\\\"comment\\\":\\\"types\\\",\\\"name\\\":\\\"storage.type.wgsl\\\",\\\"patterns\\\":[{\\\"comment\\\":\\\"scalar Types\\\",\\\"match\\\":\\\"\\\\\\\\b(bool|i32|u32|f32)\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"reserved scalar Types\\\",\\\"match\\\":\\\"\\\\\\\\b(i64|u64|f64)\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"vector type aliasses\\\",\\\"match\\\":\\\"\\\\\\\\b(vec2i|vec3i|vec4i|vec2u|vec3u|vec4u|vec2f|vec3f|vec4f|vec2h|vec3h|vec4h)\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"matrix type aliasses\\\",\\\"match\\\":\\\"\\\\\\\\b(mat2x2f|mat2x3f|mat2x4f|mat3x2f|mat3x3f|mat3x4f|mat4x2f|mat4x3f|mat4x4f|mat2x2h|mat2x3h|mat2x4h|mat3x2h|mat3x3h|mat3x4h|mat4x2h|mat4x3h|mat4x4h)\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"vector/matrix types\\\",\\\"match\\\":\\\"\\\\\\\\b(vec[2-4]|mat[2-4]x[2-4])\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"atomic types\\\",\\\"match\\\":\\\"\\\\\\\\b(atomic)\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"array types\\\",\\\"match\\\":\\\"\\\\\\\\b(array)\\\\\\\\b\\\",\\\"name\\\":\\\"storage.type.wgsl\\\"},{\\\"comment\\\":\\\"Custom type\\\",\\\"match\\\":\\\"\\\\\\\\b([A-Z][A-Za-z0-9]*)\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.wgsl\\\"}]},\\\"variables\\\":{\\\"patterns\\\":[{\\\"comment\\\":\\\"variables\\\",\\\"match\\\":\\\"\\\\\\\\b(?<!(?<!\\\\\\\\.)\\\\\\\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\\\\\\\b\\\",\\\"name\\\":\\\"variable.other.wgsl\\\"}]}},\\\"scopeName\\\":\\\"source.wgsl\\\"}\"))\n\nexport default [\nlang\n]\n"],"names":["lang","wgsl"],"mappings":"AAAA,MAAMA,IAAO,OAAO,OAAO,KAAK,MAAM,wxMAAkhO,CAAC,GAE1iOC,IAAA;AAAA,EACfD;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./java-Dg4kxH6C.js";
|
|
2
|
+
const n = Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-_a-zA-Z0-9]+)","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-zA-Z_][:a-zA-Z0-9_.-]*)","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":"(<)((?:([-_a-zA-Z0-9]+)(:))?([-_a-zA-Z0-9:]+))(?=(\\\\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":"(>)(</)((?:([-_a-zA-Z0-9]+)(:))?([-_a-zA-Z0-9:]+))(>)","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-zA-Z_][:a-zA-Z0-9_.-]*)(\\\\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-zA-Z_][:a-zA-Z0-9_.-]*|#\\\\d+|#x[0-9a-fA-F]+)(;)","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-zA-Z_][:a-zA-Z0-9_.-]*)(;)","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"]}`)), a = [
|
|
3
|
+
...e,
|
|
4
|
+
n
|
|
5
|
+
];
|
|
6
|
+
export {
|
|
7
|
+
a as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=xml-CNyphW9R.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xml-CNyphW9R.js","sources":["../node_modules/shiki/dist/langs/xml.mjs"],"sourcesContent":["import java from './java.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"XML\\\",\\\"name\\\":\\\"xml\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"(<\\\\\\\\?)\\\\\\\\s*([-_a-zA-Z0-9]+)\\\",\\\"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-zA-Z_][:a-zA-Z0-9_.-]*)\\\",\\\"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\\\":\\\"(<)((?:([-_a-zA-Z0-9]+)(:))?([-_a-zA-Z0-9:]+))(?=(\\\\\\\\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\\\":\\\"(>)(</)((?:([-_a-zA-Z0-9]+)(:))?([-_a-zA-Z0-9:]+))(>)\\\",\\\"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-zA-Z_][:a-zA-Z0-9_.-]*)(\\\\\\\\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-zA-Z_][:a-zA-Z0-9_.-]*|#\\\\\\\\d+|#x[0-9a-fA-F]+)(;)\\\",\\\"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-zA-Z_][:a-zA-Z0-9_.-]*)(;)\\\",\\\"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\\\"]}\"))\n\nexport default [\n...java,\nlang\n]\n"],"names":["lang","xml","java"],"mappings":";AAEA,MAAMA,IAAO,OAAO,OAAO,KAAK,MAAM,yrKAAu2L,CAAC,GAE/3LC,IAAA;AAAA,EACf,GAAGC;AAAA,EACHF;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const e = 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]+(!(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\-#;/?:@&=+$,_.!~*'()\\\\[\\\\]])*|(?![,!\\\\[\\\\]{}])(?:%[0-9A-Fa-f]{2}|[0-9A-Za-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":"\\\\\\\\([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":"[^\\\\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|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?\\\\d)+))|((?:[-+]?(?:\\\\d[0-9_]*)?\\\\.[0-9.]*(?:[eE][-+]\\\\d+)?|[-+]?\\\\d[0-9_]*(?::[0-5]?\\\\d)+\\\\.[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|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?\\\\d)+))|((?:[-+]?(?:\\\\d[0-9_]*)?\\\\.[0-9.]*(?:[eE][-+]\\\\d+)?|[-+]?\\\\d[0-9_]*(?::[0-5]?\\\\d)+\\\\.[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(?:!<(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\-#;/?:@&=+$,_.!~*'()\\\\[\\\\]])+>|(?:!(?:[0-9A-Za-z\\\\-]*!)?)(?:%[0-9A-Fa-f]{2}|[0-9A-Za-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"]}`)), n = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
n as default
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=yaml-DxFiVFcM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yaml-DxFiVFcM.js","sources":["../node_modules/shiki/dist/langs/yaml.mjs"],"sourcesContent":["const lang = 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]+(!(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\\\\\-#;/?:@&=+$,_.!~*'()\\\\\\\\[\\\\\\\\]])*|(?![,!\\\\\\\\[\\\\\\\\]{}])(?:%[0-9A-Fa-f]{2}|[0-9A-Za-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\\\":\\\"\\\\\\\\\\\\\\\\([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\\\":\\\"[^\\\\\\\\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|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?\\\\\\\\d)+))|((?:[-+]?(?:\\\\\\\\d[0-9_]*)?\\\\\\\\.[0-9.]*(?:[eE][-+]\\\\\\\\d+)?|[-+]?\\\\\\\\d[0-9_]*(?::[0-5]?\\\\\\\\d)+\\\\\\\\.[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|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?\\\\\\\\d)+))|((?:[-+]?(?:\\\\\\\\d[0-9_]*)?\\\\\\\\.[0-9.]*(?:[eE][-+]\\\\\\\\d+)?|[-+]?\\\\\\\\d[0-9_]*(?::[0-5]?\\\\\\\\d)+\\\\\\\\.[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(?:!<(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\\\\\-#;/?:@&=+$,_.!~*'()\\\\\\\\[\\\\\\\\]])+>|(?:!(?:[0-9A-Za-z\\\\\\\\-]*!)?)(?:%[0-9A-Fa-f]{2}|[0-9A-Za-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\\\"]}\"))\n\nexport default [\nlang\n]\n"],"names":["lang","yaml"],"mappings":"AAAA,MAAMA,IAAO,OAAO,OAAO,KAAK,MAAM,q+UAAshX,CAAC,GAE9iXC,IAAA;AAAA,EACfD;AACA;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"*.css"
|
|
7
7
|
],
|
|
8
8
|
"license": "MPL-2.0",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.18.0",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
12
|
"types",
|
|
@@ -80,9 +80,10 @@
|
|
|
80
80
|
"@tiptap/pm": "^2.7.1",
|
|
81
81
|
"emoji-mart": "^5.6.0",
|
|
82
82
|
"hast-util-from-dom": "^4.2.0",
|
|
83
|
+
"prosemirror-highlight": "^0.9.0",
|
|
83
84
|
"prosemirror-model": "^1.21.0",
|
|
84
85
|
"prosemirror-state": "^1.4.3",
|
|
85
|
-
"prosemirror-tables": "^1.
|
|
86
|
+
"prosemirror-tables": "^1.6.1",
|
|
86
87
|
"prosemirror-transform": "^1.9.0",
|
|
87
88
|
"prosemirror-view": "^1.33.7",
|
|
88
89
|
"rehype-format": "^5.0.0",
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
"remark-parse": "^10.0.1",
|
|
94
95
|
"remark-rehype": "^10.1.0",
|
|
95
96
|
"remark-stringify": "^10.0.2",
|
|
97
|
+
"shiki": "^1.22.0",
|
|
96
98
|
"unified": "^10.1.2",
|
|
97
99
|
"uuid": "^8.3.2",
|
|
98
100
|
"y-prosemirror": "1.2.12",
|
|
@@ -101,7 +103,7 @@
|
|
|
101
103
|
},
|
|
102
104
|
"devDependencies": {
|
|
103
105
|
"@types/emoji-mart": "^3.0.14",
|
|
104
|
-
"@types/hast": "^
|
|
106
|
+
"@types/hast": "^3.0.0",
|
|
105
107
|
"@types/uuid": "^8.3.4",
|
|
106
108
|
"eslint": "^8.10.0",
|
|
107
109
|
"jsdom": "^21.1.0",
|
|
@@ -122,5 +124,5 @@
|
|
|
122
124
|
"access": "public",
|
|
123
125
|
"registry": "https://registry.npmjs.org/"
|
|
124
126
|
},
|
|
125
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "8de0dd7f58b982f87af167eb16d6dfd0d9a58a72"
|
|
126
128
|
}
|
package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap
CHANGED
|
@@ -309,6 +309,11 @@ exports[`Test insertBlocks > Insert multiple blocks after 1`] = `
|
|
|
309
309
|
{
|
|
310
310
|
"children": [],
|
|
311
311
|
"content": {
|
|
312
|
+
"columnWidths": [
|
|
313
|
+
undefined,
|
|
314
|
+
undefined,
|
|
315
|
+
undefined,
|
|
316
|
+
],
|
|
312
317
|
"rows": [
|
|
313
318
|
{
|
|
314
319
|
"cells": [
|
|
@@ -831,6 +836,11 @@ exports[`Test insertBlocks > Insert multiple blocks before 1`] = `
|
|
|
831
836
|
{
|
|
832
837
|
"children": [],
|
|
833
838
|
"content": {
|
|
839
|
+
"columnWidths": [
|
|
840
|
+
undefined,
|
|
841
|
+
undefined,
|
|
842
|
+
undefined,
|
|
843
|
+
],
|
|
834
844
|
"rows": [
|
|
835
845
|
{
|
|
836
846
|
"cells": [
|
|
@@ -1313,6 +1323,11 @@ exports[`Test insertBlocks > Insert single basic block after 1`] = `
|
|
|
1313
1323
|
{
|
|
1314
1324
|
"children": [],
|
|
1315
1325
|
"content": {
|
|
1326
|
+
"columnWidths": [
|
|
1327
|
+
undefined,
|
|
1328
|
+
undefined,
|
|
1329
|
+
undefined,
|
|
1330
|
+
],
|
|
1316
1331
|
"rows": [
|
|
1317
1332
|
{
|
|
1318
1333
|
"cells": [
|
|
@@ -1795,6 +1810,11 @@ exports[`Test insertBlocks > Insert single basic block before 1`] = `
|
|
|
1795
1810
|
{
|
|
1796
1811
|
"children": [],
|
|
1797
1812
|
"content": {
|
|
1813
|
+
"columnWidths": [
|
|
1814
|
+
undefined,
|
|
1815
|
+
undefined,
|
|
1816
|
+
undefined,
|
|
1817
|
+
],
|
|
1798
1818
|
"rows": [
|
|
1799
1819
|
{
|
|
1800
1820
|
"cells": [
|
|
@@ -2334,6 +2354,11 @@ exports[`Test insertBlocks > Insert single complex block after 1`] = `
|
|
|
2334
2354
|
{
|
|
2335
2355
|
"children": [],
|
|
2336
2356
|
"content": {
|
|
2357
|
+
"columnWidths": [
|
|
2358
|
+
undefined,
|
|
2359
|
+
undefined,
|
|
2360
|
+
undefined,
|
|
2361
|
+
],
|
|
2337
2362
|
"rows": [
|
|
2338
2363
|
{
|
|
2339
2364
|
"cells": [
|
|
@@ -2873,6 +2898,11 @@ exports[`Test insertBlocks > Insert single complex block before 1`] = `
|
|
|
2873
2898
|
{
|
|
2874
2899
|
"children": [],
|
|
2875
2900
|
"content": {
|
|
2901
|
+
"columnWidths": [
|
|
2902
|
+
undefined,
|
|
2903
|
+
undefined,
|
|
2904
|
+
undefined,
|
|
2905
|
+
],
|
|
2876
2906
|
"rows": [
|
|
2877
2907
|
{
|
|
2878
2908
|
"cells": [
|
package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap
CHANGED
|
@@ -241,6 +241,11 @@ exports[`Test mergeBlocks > Basic 1`] = `
|
|
|
241
241
|
{
|
|
242
242
|
"children": [],
|
|
243
243
|
"content": {
|
|
244
|
+
"columnWidths": [
|
|
245
|
+
undefined,
|
|
246
|
+
undefined,
|
|
247
|
+
undefined,
|
|
248
|
+
],
|
|
244
249
|
"rows": [
|
|
245
250
|
{
|
|
246
251
|
"cells": [
|
|
@@ -695,6 +700,11 @@ exports[`Test mergeBlocks > Blocks have different types 1`] = `
|
|
|
695
700
|
{
|
|
696
701
|
"children": [],
|
|
697
702
|
"content": {
|
|
703
|
+
"columnWidths": [
|
|
704
|
+
undefined,
|
|
705
|
+
undefined,
|
|
706
|
+
undefined,
|
|
707
|
+
],
|
|
698
708
|
"rows": [
|
|
699
709
|
{
|
|
700
710
|
"cells": [
|
|
@@ -1149,6 +1159,11 @@ exports[`Test mergeBlocks > First block has children 1`] = `
|
|
|
1149
1159
|
{
|
|
1150
1160
|
"children": [],
|
|
1151
1161
|
"content": {
|
|
1162
|
+
"columnWidths": [
|
|
1163
|
+
undefined,
|
|
1164
|
+
undefined,
|
|
1165
|
+
undefined,
|
|
1166
|
+
],
|
|
1152
1167
|
"rows": [
|
|
1153
1168
|
{
|
|
1154
1169
|
"cells": [
|
|
@@ -1602,6 +1617,11 @@ exports[`Test mergeBlocks > Second block has children 1`] = `
|
|
|
1602
1617
|
{
|
|
1603
1618
|
"children": [],
|
|
1604
1619
|
"content": {
|
|
1620
|
+
"columnWidths": [
|
|
1621
|
+
undefined,
|
|
1622
|
+
undefined,
|
|
1623
|
+
undefined,
|
|
1624
|
+
],
|
|
1605
1625
|
"rows": [
|
|
1606
1626
|
{
|
|
1607
1627
|
"cells": [
|
|
@@ -2073,6 +2093,11 @@ exports[`Test mergeBlocks > Second block is empty 1`] = `
|
|
|
2073
2093
|
{
|
|
2074
2094
|
"children": [],
|
|
2075
2095
|
"content": {
|
|
2096
|
+
"columnWidths": [
|
|
2097
|
+
undefined,
|
|
2098
|
+
undefined,
|
|
2099
|
+
undefined,
|
|
2100
|
+
],
|
|
2076
2101
|
"rows": [
|
|
2077
2102
|
{
|
|
2078
2103
|
"cells": [
|
|
@@ -258,6 +258,11 @@ exports[`Test moveBlockDown > Basic 1`] = `
|
|
|
258
258
|
{
|
|
259
259
|
"children": [],
|
|
260
260
|
"content": {
|
|
261
|
+
"columnWidths": [
|
|
262
|
+
undefined,
|
|
263
|
+
undefined,
|
|
264
|
+
undefined,
|
|
265
|
+
],
|
|
261
266
|
"rows": [
|
|
262
267
|
{
|
|
263
268
|
"cells": [
|
|
@@ -729,6 +734,11 @@ exports[`Test moveBlockDown > Into children 1`] = `
|
|
|
729
734
|
{
|
|
730
735
|
"children": [],
|
|
731
736
|
"content": {
|
|
737
|
+
"columnWidths": [
|
|
738
|
+
undefined,
|
|
739
|
+
undefined,
|
|
740
|
+
undefined,
|
|
741
|
+
],
|
|
732
742
|
"rows": [
|
|
733
743
|
{
|
|
734
744
|
"cells": [
|
|
@@ -1200,6 +1210,11 @@ exports[`Test moveBlockDown > Last block 1`] = `
|
|
|
1200
1210
|
{
|
|
1201
1211
|
"children": [],
|
|
1202
1212
|
"content": {
|
|
1213
|
+
"columnWidths": [
|
|
1214
|
+
undefined,
|
|
1215
|
+
undefined,
|
|
1216
|
+
undefined,
|
|
1217
|
+
],
|
|
1203
1218
|
"rows": [
|
|
1204
1219
|
{
|
|
1205
1220
|
"cells": [
|
|
@@ -1671,6 +1686,11 @@ exports[`Test moveBlockDown > Out of children 1`] = `
|
|
|
1671
1686
|
{
|
|
1672
1687
|
"children": [],
|
|
1673
1688
|
"content": {
|
|
1689
|
+
"columnWidths": [
|
|
1690
|
+
undefined,
|
|
1691
|
+
undefined,
|
|
1692
|
+
undefined,
|
|
1693
|
+
],
|
|
1674
1694
|
"rows": [
|
|
1675
1695
|
{
|
|
1676
1696
|
"cells": [
|
|
@@ -2141,6 +2161,11 @@ exports[`Test moveBlockUp > Basic 1`] = `
|
|
|
2141
2161
|
{
|
|
2142
2162
|
"children": [],
|
|
2143
2163
|
"content": {
|
|
2164
|
+
"columnWidths": [
|
|
2165
|
+
undefined,
|
|
2166
|
+
undefined,
|
|
2167
|
+
undefined,
|
|
2168
|
+
],
|
|
2144
2169
|
"rows": [
|
|
2145
2170
|
{
|
|
2146
2171
|
"cells": [
|
|
@@ -2612,6 +2637,11 @@ exports[`Test moveBlockUp > First block 1`] = `
|
|
|
2612
2637
|
{
|
|
2613
2638
|
"children": [],
|
|
2614
2639
|
"content": {
|
|
2640
|
+
"columnWidths": [
|
|
2641
|
+
undefined,
|
|
2642
|
+
undefined,
|
|
2643
|
+
undefined,
|
|
2644
|
+
],
|
|
2615
2645
|
"rows": [
|
|
2616
2646
|
{
|
|
2617
2647
|
"cells": [
|
|
@@ -3083,6 +3113,11 @@ exports[`Test moveBlockUp > Into children 1`] = `
|
|
|
3083
3113
|
{
|
|
3084
3114
|
"children": [],
|
|
3085
3115
|
"content": {
|
|
3116
|
+
"columnWidths": [
|
|
3117
|
+
undefined,
|
|
3118
|
+
undefined,
|
|
3119
|
+
undefined,
|
|
3120
|
+
],
|
|
3086
3121
|
"rows": [
|
|
3087
3122
|
{
|
|
3088
3123
|
"cells": [
|
|
@@ -3554,6 +3589,11 @@ exports[`Test moveBlockUp > Out of children 1`] = `
|
|
|
3554
3589
|
{
|
|
3555
3590
|
"children": [],
|
|
3556
3591
|
"content": {
|
|
3592
|
+
"columnWidths": [
|
|
3593
|
+
undefined,
|
|
3594
|
+
undefined,
|
|
3595
|
+
undefined,
|
|
3596
|
+
],
|
|
3557
3597
|
"rows": [
|
|
3558
3598
|
{
|
|
3559
3599
|
"cells": [
|
package/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap
CHANGED
|
@@ -171,6 +171,11 @@ exports[`Test removeBlocks > Remove multiple consecutive blocks 1`] = `
|
|
|
171
171
|
{
|
|
172
172
|
"children": [],
|
|
173
173
|
"content": {
|
|
174
|
+
"columnWidths": [
|
|
175
|
+
undefined,
|
|
176
|
+
undefined,
|
|
177
|
+
undefined,
|
|
178
|
+
],
|
|
174
179
|
"rows": [
|
|
175
180
|
{
|
|
176
181
|
"cells": [
|
|
@@ -922,6 +927,11 @@ exports[`Test removeBlocks > Remove single block 1`] = `
|
|
|
922
927
|
{
|
|
923
928
|
"children": [],
|
|
924
929
|
"content": {
|
|
930
|
+
"columnWidths": [
|
|
931
|
+
undefined,
|
|
932
|
+
undefined,
|
|
933
|
+
undefined,
|
|
934
|
+
],
|
|
925
935
|
"rows": [
|
|
926
936
|
{
|
|
927
937
|
"cells": [
|
package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap
CHANGED
|
@@ -171,6 +171,11 @@ exports[`Test replaceBlocks > Remove multiple consecutive blocks 1`] = `
|
|
|
171
171
|
{
|
|
172
172
|
"children": [],
|
|
173
173
|
"content": {
|
|
174
|
+
"columnWidths": [
|
|
175
|
+
undefined,
|
|
176
|
+
undefined,
|
|
177
|
+
undefined,
|
|
178
|
+
],
|
|
174
179
|
"rows": [
|
|
175
180
|
{
|
|
176
181
|
"cells": [
|
|
@@ -922,6 +927,11 @@ exports[`Test replaceBlocks > Remove single block 1`] = `
|
|
|
922
927
|
{
|
|
923
928
|
"children": [],
|
|
924
929
|
"content": {
|
|
930
|
+
"columnWidths": [
|
|
931
|
+
undefined,
|
|
932
|
+
undefined,
|
|
933
|
+
undefined,
|
|
934
|
+
],
|
|
925
935
|
"rows": [
|
|
926
936
|
{
|
|
927
937
|
"cells": [
|
|
@@ -1357,6 +1367,11 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with multiple
|
|
|
1357
1367
|
{
|
|
1358
1368
|
"children": [],
|
|
1359
1369
|
"content": {
|
|
1370
|
+
"columnWidths": [
|
|
1371
|
+
undefined,
|
|
1372
|
+
undefined,
|
|
1373
|
+
undefined,
|
|
1374
|
+
],
|
|
1360
1375
|
"rows": [
|
|
1361
1376
|
{
|
|
1362
1377
|
"cells": [
|
|
@@ -1752,6 +1767,11 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single ba
|
|
|
1752
1767
|
{
|
|
1753
1768
|
"children": [],
|
|
1754
1769
|
"content": {
|
|
1770
|
+
"columnWidths": [
|
|
1771
|
+
undefined,
|
|
1772
|
+
undefined,
|
|
1773
|
+
undefined,
|
|
1774
|
+
],
|
|
1755
1775
|
"rows": [
|
|
1756
1776
|
{
|
|
1757
1777
|
"cells": [
|
|
@@ -2204,6 +2224,11 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single co
|
|
|
2204
2224
|
{
|
|
2205
2225
|
"children": [],
|
|
2206
2226
|
"content": {
|
|
2227
|
+
"columnWidths": [
|
|
2228
|
+
undefined,
|
|
2229
|
+
undefined,
|
|
2230
|
+
undefined,
|
|
2231
|
+
],
|
|
2207
2232
|
"rows": [
|
|
2208
2233
|
{
|
|
2209
2234
|
"cells": [
|
|
@@ -3730,6 +3755,11 @@ exports[`Test replaceBlocks > Replace single block with multiple 1`] = `
|
|
|
3730
3755
|
{
|
|
3731
3756
|
"children": [],
|
|
3732
3757
|
"content": {
|
|
3758
|
+
"columnWidths": [
|
|
3759
|
+
undefined,
|
|
3760
|
+
undefined,
|
|
3761
|
+
undefined,
|
|
3762
|
+
],
|
|
3733
3763
|
"rows": [
|
|
3734
3764
|
{
|
|
3735
3765
|
"cells": [
|
|
@@ -4195,6 +4225,11 @@ exports[`Test replaceBlocks > Replace single block with single basic 1`] = `
|
|
|
4195
4225
|
{
|
|
4196
4226
|
"children": [],
|
|
4197
4227
|
"content": {
|
|
4228
|
+
"columnWidths": [
|
|
4229
|
+
undefined,
|
|
4230
|
+
undefined,
|
|
4231
|
+
undefined,
|
|
4232
|
+
],
|
|
4198
4233
|
"rows": [
|
|
4199
4234
|
{
|
|
4200
4235
|
"cells": [
|
|
@@ -4717,6 +4752,11 @@ exports[`Test replaceBlocks > Replace single block with single complex 1`] = `
|
|
|
4717
4752
|
{
|
|
4718
4753
|
"children": [],
|
|
4719
4754
|
"content": {
|
|
4755
|
+
"columnWidths": [
|
|
4756
|
+
undefined,
|
|
4757
|
+
undefined,
|
|
4758
|
+
undefined,
|
|
4759
|
+
],
|
|
4720
4760
|
"rows": [
|
|
4721
4761
|
{
|
|
4722
4762
|
"cells": [
|
|
@@ -275,6 +275,11 @@ exports[`Test splitBlocks > Basic 1`] = `
|
|
|
275
275
|
{
|
|
276
276
|
"children": [],
|
|
277
277
|
"content": {
|
|
278
|
+
"columnWidths": [
|
|
279
|
+
undefined,
|
|
280
|
+
undefined,
|
|
281
|
+
undefined,
|
|
282
|
+
],
|
|
278
283
|
"rows": [
|
|
279
284
|
{
|
|
280
285
|
"cells": [
|
|
@@ -763,6 +768,11 @@ exports[`Test splitBlocks > Block has children 1`] = `
|
|
|
763
768
|
{
|
|
764
769
|
"children": [],
|
|
765
770
|
"content": {
|
|
771
|
+
"columnWidths": [
|
|
772
|
+
undefined,
|
|
773
|
+
undefined,
|
|
774
|
+
undefined,
|
|
775
|
+
],
|
|
766
776
|
"rows": [
|
|
767
777
|
{
|
|
768
778
|
"cells": [
|
|
@@ -1251,6 +1261,11 @@ exports[`Test splitBlocks > Don't keep props 1`] = `
|
|
|
1251
1261
|
{
|
|
1252
1262
|
"children": [],
|
|
1253
1263
|
"content": {
|
|
1264
|
+
"columnWidths": [
|
|
1265
|
+
undefined,
|
|
1266
|
+
undefined,
|
|
1267
|
+
undefined,
|
|
1268
|
+
],
|
|
1254
1269
|
"rows": [
|
|
1255
1270
|
{
|
|
1256
1271
|
"cells": [
|
|
@@ -1739,6 +1754,11 @@ exports[`Test splitBlocks > Don't keep type 1`] = `
|
|
|
1739
1754
|
{
|
|
1740
1755
|
"children": [],
|
|
1741
1756
|
"content": {
|
|
1757
|
+
"columnWidths": [
|
|
1758
|
+
undefined,
|
|
1759
|
+
undefined,
|
|
1760
|
+
undefined,
|
|
1761
|
+
],
|
|
1742
1762
|
"rows": [
|
|
1743
1763
|
{
|
|
1744
1764
|
"cells": [
|
|
@@ -2221,6 +2241,11 @@ exports[`Test splitBlocks > End of content 1`] = `
|
|
|
2221
2241
|
{
|
|
2222
2242
|
"children": [],
|
|
2223
2243
|
"content": {
|
|
2244
|
+
"columnWidths": [
|
|
2245
|
+
undefined,
|
|
2246
|
+
undefined,
|
|
2247
|
+
undefined,
|
|
2248
|
+
],
|
|
2224
2249
|
"rows": [
|
|
2225
2250
|
{
|
|
2226
2251
|
"cells": [
|
|
@@ -2710,6 +2735,11 @@ exports[`Test splitBlocks > Keep type 1`] = `
|
|
|
2710
2735
|
{
|
|
2711
2736
|
"children": [],
|
|
2712
2737
|
"content": {
|
|
2738
|
+
"columnWidths": [
|
|
2739
|
+
undefined,
|
|
2740
|
+
undefined,
|
|
2741
|
+
undefined,
|
|
2742
|
+
],
|
|
2713
2743
|
"rows": [
|
|
2714
2744
|
{
|
|
2715
2745
|
"cells": [
|