@axdspub/axiom-ui-forms 0.2.8 → 0.2.9
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/library/axiom-ui-forms.d.ts +36 -4
- package/library/esm/_virtual/index10.js +2 -2
- package/library/esm/_virtual/index11.js +2 -2
- package/library/esm/_virtual/index12.js +6 -2
- package/library/esm/_virtual/index12.js.map +1 -1
- package/library/esm/_virtual/index13.js +6 -2
- package/library/esm/_virtual/index13.js.map +1 -1
- package/library/esm/_virtual/index14.js +2 -2
- package/library/esm/_virtual/index15.js +4 -0
- package/library/esm/_virtual/index15.js.map +1 -0
- package/library/esm/_virtual/index16.js +4 -0
- package/library/esm/_virtual/index16.js.map +1 -0
- package/library/esm/_virtual/index17.js +4 -0
- package/library/esm/_virtual/index17.js.map +1 -0
- package/library/esm/_virtual/index6.js +2 -2
- package/library/esm/_virtual/index6.js.map +1 -1
- package/library/esm/_virtual/index7.js +2 -2
- package/library/esm/_virtual/index7.js.map +1 -1
- package/library/esm/_virtual/index8.js +2 -2
- package/library/esm/_virtual/index9.js +2 -2
- package/library/esm/_virtual/utilities.js +4 -0
- package/library/esm/_virtual/utilities.js.map +1 -0
- package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js +241 -9
- package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js.map +1 -1
- package/library/esm/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/library/esm/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/library/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/library/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/library/esm/node_modules/@codemirror/autocomplete/dist/index.js +1652 -0
- package/library/esm/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/commands/dist/index.js +1444 -0
- package/library/esm/node_modules/@codemirror/commands/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/lang-json/dist/index.js +33 -0
- package/library/esm/node_modules/@codemirror/lang-json/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/lang-yaml/dist/index.js +59 -0
- package/library/esm/node_modules/@codemirror/lang-yaml/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/language/dist/index.js +1821 -0
- package/library/esm/node_modules/@codemirror/language/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/lint/dist/index.js +589 -0
- package/library/esm/node_modules/@codemirror/lint/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/search/dist/index.js +1227 -0
- package/library/esm/node_modules/@codemirror/search/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/state/dist/index.js +3882 -0
- package/library/esm/node_modules/@codemirror/state/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/theme-one-dark/dist/index.js +114 -0
- package/library/esm/node_modules/@codemirror/theme-one-dark/dist/index.js.map +1 -0
- package/library/esm/node_modules/@codemirror/view/dist/index.js +11052 -0
- package/library/esm/node_modules/@codemirror/view/dist/index.js.map +1 -0
- package/library/esm/node_modules/@lezer/common/dist/index.js +1704 -0
- package/library/esm/node_modules/@lezer/common/dist/index.js.map +1 -0
- package/library/esm/node_modules/@lezer/highlight/dist/index.js +876 -0
- package/library/esm/node_modules/@lezer/highlight/dist/index.js.map +1 -0
- package/library/esm/node_modules/@lezer/json/dist/index.js +38 -0
- package/library/esm/node_modules/@lezer/json/dist/index.js.map +1 -0
- package/library/esm/node_modules/@lezer/lr/dist/index.js +1855 -0
- package/library/esm/node_modules/@lezer/lr/dist/index.js.map +1 -0
- package/library/esm/node_modules/@lezer/yaml/dist/index.js +392 -0
- package/library/esm/node_modules/@lezer/yaml/dist/index.js.map +1 -0
- package/library/esm/node_modules/@marijn/find-cluster-break/src/index.js +83 -0
- package/library/esm/node_modules/@marijn/find-cluster-break/src/index.js.map +1 -0
- package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +67 -1
- package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
- package/library/esm/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js +100 -0
- package/library/esm/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js.map +1 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.js +58 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.js.map +1 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/index.js +89 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/index.js.map +1 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/theme/light.js +12 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/theme/light.js.map +1 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/useCodeMirror.js +151 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/useCodeMirror.js.map +1 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/utils.js +19 -0
- package/library/esm/node_modules/@uiw/react-codemirror/esm/utils.js.map +1 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/deserialize.js +77 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/index.js +25 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/serialize.js +159 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/types.js +14 -0
- package/library/esm/node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
- package/library/esm/node_modules/ajv/dist/compile/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/core/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/format/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
- package/library/esm/node_modules/bail/index.js +15 -0
- package/library/esm/node_modules/bail/index.js.map +1 -0
- package/library/esm/node_modules/comma-separated-tokens/index.js +37 -0
- package/library/esm/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/library/esm/node_modules/crelt/index.js +30 -0
- package/library/esm/node_modules/crelt/index.js.map +1 -0
- package/library/esm/node_modules/decode-named-character-reference/index.dom.js +39 -0
- package/library/esm/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
- package/library/esm/node_modules/devlop/lib/default.js +6 -0
- package/library/esm/node_modules/devlop/lib/default.js.map +1 -0
- package/library/esm/node_modules/estree-util-is-identifier-name/lib/index.js +31 -0
- package/library/esm/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
- package/library/esm/node_modules/extend/index.js +127 -0
- package/library/esm/node_modules/extend/index.js.map +1 -0
- package/library/esm/node_modules/fast-uri/index.js +1 -1
- package/library/esm/node_modules/hast-util-to-jsx-runtime/lib/index.js +791 -0
- package/library/esm/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
- package/library/esm/node_modules/hast-util-whitespace/lib/index.js +37 -0
- package/library/esm/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
- package/library/esm/node_modules/html-url-attributes/lib/index.js +34 -0
- package/library/esm/node_modules/html-url-attributes/lib/index.js.map +1 -0
- package/library/esm/node_modules/inline-style-parser/index.js +268 -0
- package/library/esm/node_modules/inline-style-parser/index.js.map +1 -0
- package/library/esm/node_modules/js-yaml/dist/js-yaml.js +3850 -0
- package/library/esm/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
- package/library/esm/node_modules/json-schema-traverse/index.js +1 -1
- package/library/esm/node_modules/mdast-util-from-markdown/lib/index.js +1181 -0
- package/library/esm/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/footer.js +197 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/break.js +27 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/code.js +51 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/delete.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +74 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/heading.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/html.js +32 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +45 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image.js +40 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/index.js +67 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +36 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +50 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link.js +41 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +126 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list.js +57 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/root.js +27 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/strong.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +33 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +70 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table.js +65 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/text.js +29 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +31 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/index.js +105 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/revert.js +56 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/state.js +322 -0
- package/library/esm/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/library/esm/node_modules/mdast-util-to-string/lib/index.js +111 -0
- package/library/esm/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/constructs.js +108 -0
- package/library/esm/node_modules/micromark/lib/constructs.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/create-tokenizer.js +576 -0
- package/library/esm/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/initialize/content.js +83 -0
- package/library/esm/node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/initialize/document.js +361 -0
- package/library/esm/node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/initialize/flow.js +62 -0
- package/library/esm/node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/initialize/text.js +213 -0
- package/library/esm/node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/parse.js +60 -0
- package/library/esm/node_modules/micromark/lib/parse.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/postprocess.js +22 -0
- package/library/esm/node_modules/micromark/lib/postprocess.js.map +1 -0
- package/library/esm/node_modules/micromark/lib/preprocess.js +118 -0
- package/library/esm/node_modules/micromark/lib/preprocess.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/attention.js +245 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/autolink.js +237 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/blank-line.js +65 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/block-quote.js +147 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/character-escape.js +68 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/character-reference.js +153 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/code-fenced.js +464 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/code-indented.js +181 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/code-text.js +228 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/content.js +167 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/definition.js +258 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +64 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/heading-atx.js +199 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/html-flow.js +880 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/html-text.js +682 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/label-end.js +564 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-image.js +106 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-link.js +59 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/line-ending.js +36 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/list.js +217 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/setext-underline.js +189 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/thematic-break.js +106 -0
- package/library/esm/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/library/esm/node_modules/micromark-factory-destination/index.js +210 -0
- package/library/esm/node_modules/micromark-factory-destination/index.js.map +1 -0
- package/library/esm/node_modules/micromark-factory-label/index.js +152 -0
- package/library/esm/node_modules/micromark-factory-label/index.js.map +1 -0
- package/library/esm/node_modules/micromark-factory-space/index.js +68 -0
- package/library/esm/node_modules/micromark-factory-space/index.js.map +1 -0
- package/library/esm/node_modules/micromark-factory-title/index.js +162 -0
- package/library/esm/node_modules/micromark-factory-title/index.js.map +1 -0
- package/library/esm/node_modules/micromark-factory-whitespace/index.js +48 -0
- package/library/esm/node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-character/index.js +249 -0
- package/library/esm/node_modules/micromark-util-character/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-chunked/index.js +84 -0
- package/library/esm/node_modules/micromark-util-chunked/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-classify-character/index.js +31 -0
- package/library/esm/node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-combine-extensions/index.js +96 -0
- package/library/esm/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-decode-numeric-character-reference/index.js +35 -0
- package/library/esm/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-decode-string/index.js +49 -0
- package/library/esm/node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-html-tag-name/index.js +96 -0
- package/library/esm/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-normalize-identifier/index.js +36 -0
- package/library/esm/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-resolve-all/index.js +35 -0
- package/library/esm/node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-sanitize-uri/index.js +67 -0
- package/library/esm/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-subtokenize/index.js +227 -0
- package/library/esm/node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/library/esm/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +254 -0
- package/library/esm/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
- package/library/esm/node_modules/property-information/index.js +16 -0
- package/library/esm/node_modules/property-information/index.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/aria.js +64 -0
- package/library/esm/node_modules/property-information/lib/aria.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/find.js +101 -0
- package/library/esm/node_modules/property-information/lib/find.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/hast-to-react.js +33 -0
- package/library/esm/node_modules/property-information/lib/hast-to-react.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/html.js +318 -0
- package/library/esm/node_modules/property-information/lib/html.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/normalize.js +15 -0
- package/library/esm/node_modules/property-information/lib/normalize.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/svg.js +564 -0
- package/library/esm/node_modules/property-information/lib/svg.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/case-insensitive-transform.js +16 -0
- package/library/esm/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/case-sensitive-transform.js +14 -0
- package/library/esm/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/create.js +47 -0
- package/library/esm/node_modules/property-information/lib/util/create.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/defined-info.js +64 -0
- package/library/esm/node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/info.js +35 -0
- package/library/esm/node_modules/property-information/lib/util/info.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/merge.js +31 -0
- package/library/esm/node_modules/property-information/lib/util/merge.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/schema.js +32 -0
- package/library/esm/node_modules/property-information/lib/util/schema.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/util/types.js +16 -0
- package/library/esm/node_modules/property-information/lib/util/types.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/xlink.js +20 -0
- package/library/esm/node_modules/property-information/lib/xlink.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/xml.js +12 -0
- package/library/esm/node_modules/property-information/lib/xml.js.map +1 -0
- package/library/esm/node_modules/property-information/lib/xmlns.js +12 -0
- package/library/esm/node_modules/property-information/lib/xmlns.js.map +1 -0
- package/library/esm/node_modules/react-markdown/lib/index.js +267 -0
- package/library/esm/node_modules/react-markdown/lib/index.js.map +1 -0
- package/library/esm/node_modules/react-router/dist/development/chunk-HA7DTUK3.js +1 -1
- package/library/esm/node_modules/react-router/node_modules/cookie/dist/index.js +1 -1
- package/library/esm/node_modules/remark-parse/lib/index.js +43 -0
- package/library/esm/node_modules/remark-parse/lib/index.js.map +1 -0
- package/library/esm/node_modules/remark-rehype/lib/index.js +132 -0
- package/library/esm/node_modules/remark-rehype/lib/index.js.map +1 -0
- package/library/esm/node_modules/space-separated-tokens/index.js +23 -0
- package/library/esm/node_modules/space-separated-tokens/index.js.map +1 -0
- package/library/esm/node_modules/style-mod/src/style-mod.js +175 -0
- package/library/esm/node_modules/style-mod/src/style-mod.js.map +1 -0
- package/library/esm/node_modules/style-to-js/cjs/index.js +38 -0
- package/library/esm/node_modules/style-to-js/cjs/index.js.map +1 -0
- package/library/esm/node_modules/style-to-js/cjs/utilities.js +58 -0
- package/library/esm/node_modules/style-to-js/cjs/utilities.js.map +1 -0
- package/library/esm/node_modules/style-to-object/cjs/index.js +56 -0
- package/library/esm/node_modules/style-to-object/cjs/index.js.map +1 -0
- package/library/esm/node_modules/trim-lines/index.js +72 -0
- package/library/esm/node_modules/trim-lines/index.js.map +1 -0
- package/library/esm/node_modules/trough/lib/index.js +209 -0
- package/library/esm/node_modules/trough/lib/index.js.map +1 -0
- package/library/esm/node_modules/unified/lib/callable-instance.js +47 -0
- package/library/esm/node_modules/unified/lib/callable-instance.js.map +1 -0
- package/library/esm/node_modules/unified/lib/index.js +979 -0
- package/library/esm/node_modules/unified/lib/index.js.map +1 -0
- package/library/esm/node_modules/unified/node_modules/is-plain-obj/index.js +11 -0
- package/library/esm/node_modules/unified/node_modules/is-plain-obj/index.js.map +1 -0
- package/library/esm/node_modules/unist-util-is/lib/index.js +179 -0
- package/library/esm/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/library/esm/node_modules/unist-util-position/lib/index.js +98 -0
- package/library/esm/node_modules/unist-util-position/lib/index.js.map +1 -0
- package/library/esm/node_modules/unist-util-stringify-position/lib/index.js +87 -0
- package/library/esm/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/library/esm/node_modules/unist-util-visit/lib/index.js +95 -0
- package/library/esm/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/library/esm/node_modules/unist-util-visit-parents/lib/color.js +10 -0
- package/library/esm/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/library/esm/node_modules/unist-util-visit-parents/lib/index.js +188 -0
- package/library/esm/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/library/esm/node_modules/vfile/lib/index.js +644 -0
- package/library/esm/node_modules/vfile/lib/index.js.map +1 -0
- package/library/esm/node_modules/vfile/lib/minpath.browser.js +427 -0
- package/library/esm/node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/library/esm/node_modules/vfile/lib/minproc.browser.js +11 -0
- package/library/esm/node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/library/esm/node_modules/vfile/lib/minurl.browser.js +77 -0
- package/library/esm/node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/library/esm/node_modules/vfile/lib/minurl.shared.js +34 -0
- package/library/esm/node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/library/esm/node_modules/vfile-message/lib/index.js +305 -0
- package/library/esm/node_modules/vfile-message/lib/index.js.map +1 -0
- package/library/esm/node_modules/w3c-keyname/index.js +122 -0
- package/library/esm/node_modules/w3c-keyname/index.js.map +1 -0
- package/library/esm/src/Form/Components/FieldLabel.js +13 -3
- package/library/esm/src/Form/Components/FieldLabel.js.map +1 -1
- package/library/esm/src/Form/Components/InlineMarkdown.js +15 -0
- package/library/esm/src/Form/Components/InlineMarkdown.js.map +1 -0
- package/library/esm/src/Form/Components/Inputs/Boolean.js +5 -2
- package/library/esm/src/Form/Components/Inputs/Boolean.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/GeoJSONInputLoader.js +1 -1
- package/library/esm/src/Form/Components/Inputs/Geometry.js +290 -329
- package/library/esm/src/Form/Components/Inputs/Geometry.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/JSON.js +132 -0
- package/library/esm/src/Form/Components/Inputs/JSON.js.map +1 -0
- package/library/esm/src/Form/Components/Inputs/JSONInputLoader.js +19 -0
- package/library/esm/src/Form/Components/Inputs/JSONInputLoader.js.map +1 -0
- package/library/esm/src/Form/Components/Inputs/Number.js +78 -8
- package/library/esm/src/Form/Components/Inputs/Number.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/inputMap.js +2 -2
- package/library/esm/src/Form/Components/Inputs/inputMap.js.map +1 -1
- package/library/esm/src/Form/Creator/FormCreator.js +6 -2
- package/library/esm/src/Form/Creator/FormCreator.js.map +1 -1
- package/library/esm/src/Form/Creator/FormHeader.js +7 -5
- package/library/esm/src/Form/Creator/FormHeader.js.map +1 -1
- package/library/esm/src/Form/Creator/Page.js +4 -3
- package/library/esm/src/Form/Creator/Page.js.map +1 -1
- package/library/esm/src/Form/Manage/CopyableJSONOutput.js +41 -0
- package/library/esm/src/Form/Manage/CopyableJSONOutput.js.map +1 -0
- package/library/esm/src/Form/helpers.js +1 -1
- package/library/esm/src/Form/helpers.js.map +1 -1
- package/library/esm/src/Form/schemaToFormHelpers.js +87 -1
- package/library/esm/src/Form/schemaToFormHelpers.js.map +1 -1
- package/library/esm/src/library.js +1 -1
- package/package.json +7 -1
- package/library/esm/src/Form/Components/Inputs/JSONString.js +0 -34
- package/library/esm/src/Form/Components/Inputs/JSONString.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"footnote-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').FootnoteReference} FootnoteReference\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `footnoteReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {FootnoteReference} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function footnoteReference(state, node) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const id = String(node.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n const index = state.footnoteOrder.indexOf(id)\n /** @type {number} */\n let counter\n\n let reuseCounter = state.footnoteCounts.get(id)\n\n if (reuseCounter === undefined) {\n reuseCounter = 0\n state.footnoteOrder.push(id)\n counter = state.footnoteOrder.length\n } else {\n counter = index + 1\n }\n\n reuseCounter += 1\n state.footnoteCounts.set(id, reuseCounter)\n\n /** @type {Element} */\n const link = {\n type: 'element',\n tagName: 'a',\n properties: {\n href: '#' + clobberPrefix + 'fn-' + safeId,\n id:\n clobberPrefix +\n 'fnref-' +\n safeId +\n (reuseCounter > 1 ? '-' + reuseCounter : ''),\n dataFootnoteRef: true,\n ariaDescribedBy: ['footnote-label']\n },\n children: [{type: 'text', value: String(counter)}]\n }\n state.patch(node, link)\n\n /** @type {Element} */\n const sup = {\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [link]\n }\n state.patch(node, sup)\n return state.applyData(node, sup)\n}\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,iBAAiB,CAAC,KAAK,EAAE,IAAI,EAAE;AAC/C,EAAE,MAAM,aAAa;AACrB,IAAI,OAAO,KAAK,CAAC,OAAO,CAAC,aAAa,KAAK;AAC3C,QAAQ,KAAK,CAAC,OAAO,CAAC;AACtB,QAAQ;AACR,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,WAAW;AAChD,EAAE,MAAM,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE;AAC9C,EAAE,MAAM,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;AAC9C;AACA,EAAE,IAAI;;AAEN,EAAE,IAAI,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;;AAEhD,EAAE,IAAI,YAAY,KAAK,SAAS,EAAE;AAClC,IAAI,YAAY,GAAG;AACnB,IAAI,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE;AAC/B,IAAI,OAAO,GAAG,KAAK,CAAC,aAAa,CAAC;AAClC,GAAG,MAAM;AACT,IAAI,OAAO,GAAG,KAAK,GAAG;AACtB;;AAEA,EAAE,YAAY,IAAI;AAClB,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,EAAE,YAAY;;AAE3C;AACA,EAAE,MAAM,IAAI,GAAG;AACf,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,GAAG;AAChB,IAAI,UAAU,EAAE;AAChB,MAAM,IAAI,EAAE,GAAG,GAAG,aAAa,GAAG,KAAK,GAAG,MAAM;AAChD,MAAM,EAAE;AACR,QAAQ,aAAa;AACrB,QAAQ,QAAQ;AAChB,QAAQ,MAAM;AACd,SAAS,YAAY,GAAG,CAAC,GAAG,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC;AACpD,MAAM,eAAe,EAAE,IAAI;AAC3B,MAAM,eAAe,EAAE,CAAC,gBAAgB;AACxC,KAAK;AACL,IAAI,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;AACrD;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI;;AAExB;AACA,EAAE,MAAM,GAAG,GAAG;AACd,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,KAAK;AAClB,IAAI,UAAU,EAAE,EAAE;AAClB,IAAI,QAAQ,EAAE,CAAC,IAAI;AACnB;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG;AACvB,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,GAAG;AAClC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* @typedef {import('hast').Element} Element
|
3
|
+
* @typedef {import('mdast').Heading} Heading
|
4
|
+
* @typedef {import('../state.js').State} State
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Turn an mdast `heading` node into hast.
|
10
|
+
*
|
11
|
+
* @param {State} state
|
12
|
+
* Info passed around.
|
13
|
+
* @param {Heading} node
|
14
|
+
* mdast node.
|
15
|
+
* @returns {Element}
|
16
|
+
* hast node.
|
17
|
+
*/
|
18
|
+
function heading(state, node) {
|
19
|
+
/** @type {Element} */
|
20
|
+
const result = {
|
21
|
+
type: 'element',
|
22
|
+
tagName: 'h' + node.depth,
|
23
|
+
properties: {},
|
24
|
+
children: state.all(node)
|
25
|
+
};
|
26
|
+
state.patch(node, result);
|
27
|
+
return state.applyData(node, result)
|
28
|
+
}
|
29
|
+
|
30
|
+
export { heading };
|
31
|
+
//# sourceMappingURL=heading.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"heading.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/heading.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Heading} Heading\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `heading` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Heading} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function heading(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'h' + node.depth,\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE;AACrC;AACA,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC,KAAK;AAC7B,IAAI,UAAU,EAAE,EAAE;AAClB,IAAI,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI;AAC5B;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* @typedef {import('hast').Element} Element
|
3
|
+
* @typedef {import('mdast').Html} Html
|
4
|
+
* @typedef {import('../state.js').State} State
|
5
|
+
* @typedef {import('../../index.js').Raw} Raw
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise
|
11
|
+
* nothing).
|
12
|
+
*
|
13
|
+
* @param {State} state
|
14
|
+
* Info passed around.
|
15
|
+
* @param {Html} node
|
16
|
+
* mdast node.
|
17
|
+
* @returns {Element | Raw | undefined}
|
18
|
+
* hast node.
|
19
|
+
*/
|
20
|
+
function html(state, node) {
|
21
|
+
if (state.options.allowDangerousHtml) {
|
22
|
+
/** @type {Raw} */
|
23
|
+
const result = {type: 'raw', value: node.value};
|
24
|
+
state.patch(node, result);
|
25
|
+
return state.applyData(node, result)
|
26
|
+
}
|
27
|
+
|
28
|
+
return undefined
|
29
|
+
}
|
30
|
+
|
31
|
+
export { html };
|
32
|
+
//# sourceMappingURL=html.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/html.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Html} Html\n * @typedef {import('../state.js').State} State\n * @typedef {import('../../index.js').Raw} Raw\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise\n * nothing).\n *\n * @param {State} state\n * Info passed around.\n * @param {Html} node\n * mdast node.\n * @returns {Element | Raw | undefined}\n * hast node.\n */\nexport function html(state, node) {\n if (state.options.allowDangerousHtml) {\n /** @type {Raw} */\n const result = {type: 'raw', value: node.value}\n state.patch(node, result)\n return state.applyData(node, result)\n }\n\n return undefined\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE;AAClC,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE;AACxC;AACA,IAAI,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK;AAClD,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC5B,IAAI,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACvC;;AAEA,EAAE,OAAO;AACT;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { normalizeUri } from '../../../micromark-util-sanitize-uri/index.js';
|
2
|
+
import { revert } from '../revert.js';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* @typedef {import('hast').Element} Element
|
6
|
+
* @typedef {import('hast').ElementContent} ElementContent
|
7
|
+
* @typedef {import('hast').Properties} Properties
|
8
|
+
* @typedef {import('mdast').ImageReference} ImageReference
|
9
|
+
* @typedef {import('../state.js').State} State
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Turn an mdast `imageReference` node into hast.
|
15
|
+
*
|
16
|
+
* @param {State} state
|
17
|
+
* Info passed around.
|
18
|
+
* @param {ImageReference} node
|
19
|
+
* mdast node.
|
20
|
+
* @returns {Array<ElementContent> | ElementContent}
|
21
|
+
* hast node.
|
22
|
+
*/
|
23
|
+
function imageReference(state, node) {
|
24
|
+
const id = String(node.identifier).toUpperCase();
|
25
|
+
const definition = state.definitionById.get(id);
|
26
|
+
|
27
|
+
if (!definition) {
|
28
|
+
return revert(state, node)
|
29
|
+
}
|
30
|
+
|
31
|
+
/** @type {Properties} */
|
32
|
+
const properties = {src: normalizeUri(definition.url || ''), alt: node.alt};
|
33
|
+
|
34
|
+
if (definition.title !== null && definition.title !== undefined) {
|
35
|
+
properties.title = definition.title;
|
36
|
+
}
|
37
|
+
|
38
|
+
/** @type {Element} */
|
39
|
+
const result = {type: 'element', tagName: 'img', properties, children: []};
|
40
|
+
state.patch(node, result);
|
41
|
+
return state.applyData(node, result)
|
42
|
+
}
|
43
|
+
|
44
|
+
export { imageReference };
|
45
|
+
//# sourceMappingURL=image-reference.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"image-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').ImageReference} ImageReference\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `imageReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ImageReference} node\n * mdast node.\n * @returns {Array<ElementContent> | ElementContent}\n * hast node.\n */\nexport function imageReference(state, node) {\n const id = String(node.identifier).toUpperCase()\n const definition = state.definitionById.get(id)\n\n if (!definition) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {src: normalizeUri(definition.url || ''), alt: node.alt}\n\n if (definition.title !== null && definition.title !== undefined) {\n properties.title = definition.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,cAAc,CAAC,KAAK,EAAE,IAAI,EAAE;AAC5C,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,WAAW;AAChD,EAAE,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;;AAEhD,EAAE,IAAI,CAAC,UAAU,EAAE;AACnB,IAAI,OAAO,MAAM,CAAC,KAAK,EAAE,IAAI;AAC7B;;AAEA;AACA,EAAE,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG;;AAE5E,EAAE,IAAI,UAAU,CAAC,KAAK,KAAK,IAAI,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS,EAAE;AACnE,IAAI,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC;AAClC;;AAEA;AACA,EAAE,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE;AAC3E,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { normalizeUri } from '../../../micromark-util-sanitize-uri/index.js';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @typedef {import('hast').Element} Element
|
5
|
+
* @typedef {import('hast').Properties} Properties
|
6
|
+
* @typedef {import('mdast').Image} Image
|
7
|
+
* @typedef {import('../state.js').State} State
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Turn an mdast `image` node into hast.
|
13
|
+
*
|
14
|
+
* @param {State} state
|
15
|
+
* Info passed around.
|
16
|
+
* @param {Image} node
|
17
|
+
* mdast node.
|
18
|
+
* @returns {Element}
|
19
|
+
* hast node.
|
20
|
+
*/
|
21
|
+
function image(state, node) {
|
22
|
+
/** @type {Properties} */
|
23
|
+
const properties = {src: normalizeUri(node.url)};
|
24
|
+
|
25
|
+
if (node.alt !== null && node.alt !== undefined) {
|
26
|
+
properties.alt = node.alt;
|
27
|
+
}
|
28
|
+
|
29
|
+
if (node.title !== null && node.title !== undefined) {
|
30
|
+
properties.title = node.title;
|
31
|
+
}
|
32
|
+
|
33
|
+
/** @type {Element} */
|
34
|
+
const result = {type: 'element', tagName: 'img', properties, children: []};
|
35
|
+
state.patch(node, result);
|
36
|
+
return state.applyData(node, result)
|
37
|
+
}
|
38
|
+
|
39
|
+
export { image };
|
40
|
+
//# sourceMappingURL=image.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"image.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/image.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Image} Image\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `image` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Image} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function image(state, node) {\n /** @type {Properties} */\n const properties = {src: normalizeUri(node.url)}\n\n if (node.alt !== null && node.alt !== undefined) {\n properties.alt = node.alt\n }\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE;AACnC;AACA,EAAE,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;;AAEjD,EAAE,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,EAAE;AACnD,IAAI,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC;AAC1B;;AAEA,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE;AACvD,IAAI,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;AAC5B;;AAEA;AACA,EAAE,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE;AAC3E,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import { blockquote } from './blockquote.js';
|
2
|
+
import { hardBreak } from './break.js';
|
3
|
+
import { code } from './code.js';
|
4
|
+
import { strikethrough } from './delete.js';
|
5
|
+
import { emphasis } from './emphasis.js';
|
6
|
+
import { footnoteReference } from './footnote-reference.js';
|
7
|
+
import { heading } from './heading.js';
|
8
|
+
import { html } from './html.js';
|
9
|
+
import { imageReference } from './image-reference.js';
|
10
|
+
import { image } from './image.js';
|
11
|
+
import { inlineCode } from './inline-code.js';
|
12
|
+
import { linkReference } from './link-reference.js';
|
13
|
+
import { link } from './link.js';
|
14
|
+
import { listItem } from './list-item.js';
|
15
|
+
import { list } from './list.js';
|
16
|
+
import { paragraph } from './paragraph.js';
|
17
|
+
import { root } from './root.js';
|
18
|
+
import { strong } from './strong.js';
|
19
|
+
import { table } from './table.js';
|
20
|
+
import { tableRow } from './table-row.js';
|
21
|
+
import { tableCell } from './table-cell.js';
|
22
|
+
import { text } from './text.js';
|
23
|
+
import { thematicBreak } from './thematic-break.js';
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Default handlers for nodes.
|
27
|
+
*
|
28
|
+
* @satisfies {import('../state.js').Handlers}
|
29
|
+
*/
|
30
|
+
const handlers = {
|
31
|
+
blockquote,
|
32
|
+
break: hardBreak,
|
33
|
+
code,
|
34
|
+
delete: strikethrough,
|
35
|
+
emphasis,
|
36
|
+
footnoteReference,
|
37
|
+
heading,
|
38
|
+
html,
|
39
|
+
imageReference,
|
40
|
+
image,
|
41
|
+
inlineCode,
|
42
|
+
linkReference,
|
43
|
+
link,
|
44
|
+
listItem,
|
45
|
+
list,
|
46
|
+
paragraph,
|
47
|
+
// @ts-expect-error: root is different, but hard to type.
|
48
|
+
root,
|
49
|
+
strong,
|
50
|
+
table,
|
51
|
+
tableCell,
|
52
|
+
tableRow,
|
53
|
+
text,
|
54
|
+
thematicBreak,
|
55
|
+
toml: ignore,
|
56
|
+
yaml: ignore,
|
57
|
+
definition: ignore,
|
58
|
+
footnoteDefinition: ignore
|
59
|
+
};
|
60
|
+
|
61
|
+
// Return nothing for nodes that are ignored.
|
62
|
+
function ignore() {
|
63
|
+
return undefined
|
64
|
+
}
|
65
|
+
|
66
|
+
export { handlers };
|
67
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/index.js"],"sourcesContent":["import {blockquote} from './blockquote.js'\nimport {hardBreak} from './break.js'\nimport {code} from './code.js'\nimport {strikethrough} from './delete.js'\nimport {emphasis} from './emphasis.js'\nimport {footnoteReference} from './footnote-reference.js'\nimport {heading} from './heading.js'\nimport {html} from './html.js'\nimport {imageReference} from './image-reference.js'\nimport {image} from './image.js'\nimport {inlineCode} from './inline-code.js'\nimport {linkReference} from './link-reference.js'\nimport {link} from './link.js'\nimport {listItem} from './list-item.js'\nimport {list} from './list.js'\nimport {paragraph} from './paragraph.js'\nimport {root} from './root.js'\nimport {strong} from './strong.js'\nimport {table} from './table.js'\nimport {tableRow} from './table-row.js'\nimport {tableCell} from './table-cell.js'\nimport {text} from './text.js'\nimport {thematicBreak} from './thematic-break.js'\n\n/**\n * Default handlers for nodes.\n *\n * @satisfies {import('../state.js').Handlers}\n */\nexport const handlers = {\n blockquote,\n break: hardBreak,\n code,\n delete: strikethrough,\n emphasis,\n footnoteReference,\n heading,\n html,\n imageReference,\n image,\n inlineCode,\n linkReference,\n link,\n listItem,\n list,\n paragraph,\n // @ts-expect-error: root is different, but hard to type.\n root,\n strong,\n table,\n tableCell,\n tableRow,\n text,\n thematicBreak,\n toml: ignore,\n yaml: ignore,\n definition: ignore,\n footnoteDefinition: ignore\n}\n\n// Return nothing for nodes that are ignored.\nfunction ignore() {\n return undefined\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAwBA;AACA;AACA;AACA;AACA;AACY,MAAC,QAAQ,GAAG;AACxB,EAAE,UAAU;AACZ,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,IAAI;AACN,EAAE,MAAM,EAAE,aAAa;AACvB,EAAE,QAAQ;AACV,EAAE,iBAAiB;AACnB,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,cAAc;AAChB,EAAE,KAAK;AACP,EAAE,UAAU;AACZ,EAAE,aAAa;AACf,EAAE,IAAI;AACN,EAAE,QAAQ;AACV,EAAE,IAAI;AACN,EAAE,SAAS;AACX;AACA,EAAE,IAAI;AACN,EAAE,MAAM;AACR,EAAE,KAAK;AACP,EAAE,SAAS;AACX,EAAE,QAAQ;AACV,EAAE,IAAI;AACN,EAAE,aAAa;AACf,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,UAAU,EAAE,MAAM;AACpB,EAAE,kBAAkB,EAAE;AACtB;;AAEA;AACA,SAAS,MAAM,GAAG;AAClB,EAAE,OAAO;AACT;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* @typedef {import('hast').Element} Element
|
3
|
+
* @typedef {import('hast').Text} Text
|
4
|
+
* @typedef {import('mdast').InlineCode} InlineCode
|
5
|
+
* @typedef {import('../state.js').State} State
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Turn an mdast `inlineCode` node into hast.
|
11
|
+
*
|
12
|
+
* @param {State} state
|
13
|
+
* Info passed around.
|
14
|
+
* @param {InlineCode} node
|
15
|
+
* mdast node.
|
16
|
+
* @returns {Element}
|
17
|
+
* hast node.
|
18
|
+
*/
|
19
|
+
function inlineCode(state, node) {
|
20
|
+
/** @type {Text} */
|
21
|
+
const text = {type: 'text', value: node.value.replace(/\r?\n|\r/g, ' ')};
|
22
|
+
state.patch(node, text);
|
23
|
+
|
24
|
+
/** @type {Element} */
|
25
|
+
const result = {
|
26
|
+
type: 'element',
|
27
|
+
tagName: 'code',
|
28
|
+
properties: {},
|
29
|
+
children: [text]
|
30
|
+
};
|
31
|
+
state.patch(node, result);
|
32
|
+
return state.applyData(node, result)
|
33
|
+
}
|
34
|
+
|
35
|
+
export { inlineCode };
|
36
|
+
//# sourceMappingURL=inline-code.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inline-code.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').InlineCode} InlineCode\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `inlineCode` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {InlineCode} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function inlineCode(state, node) {\n /** @type {Text} */\n const text = {type: 'text', value: node.value.replace(/\\r?\\n|\\r/g, ' ')}\n state.patch(node, text)\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'code',\n properties: {},\n children: [text]\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,UAAU,CAAC,KAAK,EAAE,IAAI,EAAE;AACxC;AACA,EAAE,MAAM,IAAI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC;AACzE,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI;;AAExB;AACA,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,MAAM;AACnB,IAAI,UAAU,EAAE,EAAE;AAClB,IAAI,QAAQ,EAAE,CAAC,IAAI;AACnB;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { normalizeUri } from '../../../micromark-util-sanitize-uri/index.js';
|
2
|
+
import { revert } from '../revert.js';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* @typedef {import('hast').Element} Element
|
6
|
+
* @typedef {import('hast').ElementContent} ElementContent
|
7
|
+
* @typedef {import('hast').Properties} Properties
|
8
|
+
* @typedef {import('mdast').LinkReference} LinkReference
|
9
|
+
* @typedef {import('../state.js').State} State
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Turn an mdast `linkReference` node into hast.
|
15
|
+
*
|
16
|
+
* @param {State} state
|
17
|
+
* Info passed around.
|
18
|
+
* @param {LinkReference} node
|
19
|
+
* mdast node.
|
20
|
+
* @returns {Array<ElementContent> | ElementContent}
|
21
|
+
* hast node.
|
22
|
+
*/
|
23
|
+
function linkReference(state, node) {
|
24
|
+
const id = String(node.identifier).toUpperCase();
|
25
|
+
const definition = state.definitionById.get(id);
|
26
|
+
|
27
|
+
if (!definition) {
|
28
|
+
return revert(state, node)
|
29
|
+
}
|
30
|
+
|
31
|
+
/** @type {Properties} */
|
32
|
+
const properties = {href: normalizeUri(definition.url || '')};
|
33
|
+
|
34
|
+
if (definition.title !== null && definition.title !== undefined) {
|
35
|
+
properties.title = definition.title;
|
36
|
+
}
|
37
|
+
|
38
|
+
/** @type {Element} */
|
39
|
+
const result = {
|
40
|
+
type: 'element',
|
41
|
+
tagName: 'a',
|
42
|
+
properties,
|
43
|
+
children: state.all(node)
|
44
|
+
};
|
45
|
+
state.patch(node, result);
|
46
|
+
return state.applyData(node, result)
|
47
|
+
}
|
48
|
+
|
49
|
+
export { linkReference };
|
50
|
+
//# sourceMappingURL=link-reference.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"link-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').LinkReference} LinkReference\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `linkReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {LinkReference} node\n * mdast node.\n * @returns {Array<ElementContent> | ElementContent}\n * hast node.\n */\nexport function linkReference(state, node) {\n const id = String(node.identifier).toUpperCase()\n const definition = state.definitionById.get(id)\n\n if (!definition) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {href: normalizeUri(definition.url || '')}\n\n if (definition.title !== null && definition.title !== undefined) {\n properties.title = definition.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE;AAC3C,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,WAAW;AAChD,EAAE,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;;AAEhD,EAAE,IAAI,CAAC,UAAU,EAAE;AACnB,IAAI,OAAO,MAAM,CAAC,KAAK,EAAE,IAAI;AAC7B;;AAEA;AACA,EAAE,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC;;AAE9D,EAAE,IAAI,UAAU,CAAC,KAAK,KAAK,IAAI,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS,EAAE;AACnE,IAAI,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC;AAClC;;AAEA;AACA,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,GAAG;AAChB,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI;AAC5B;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { normalizeUri } from '../../../micromark-util-sanitize-uri/index.js';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @typedef {import('hast').Element} Element
|
5
|
+
* @typedef {import('hast').Properties} Properties
|
6
|
+
* @typedef {import('mdast').Link} Link
|
7
|
+
* @typedef {import('../state.js').State} State
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Turn an mdast `link` node into hast.
|
13
|
+
*
|
14
|
+
* @param {State} state
|
15
|
+
* Info passed around.
|
16
|
+
* @param {Link} node
|
17
|
+
* mdast node.
|
18
|
+
* @returns {Element}
|
19
|
+
* hast node.
|
20
|
+
*/
|
21
|
+
function link(state, node) {
|
22
|
+
/** @type {Properties} */
|
23
|
+
const properties = {href: normalizeUri(node.url)};
|
24
|
+
|
25
|
+
if (node.title !== null && node.title !== undefined) {
|
26
|
+
properties.title = node.title;
|
27
|
+
}
|
28
|
+
|
29
|
+
/** @type {Element} */
|
30
|
+
const result = {
|
31
|
+
type: 'element',
|
32
|
+
tagName: 'a',
|
33
|
+
properties,
|
34
|
+
children: state.all(node)
|
35
|
+
};
|
36
|
+
state.patch(node, result);
|
37
|
+
return state.applyData(node, result)
|
38
|
+
}
|
39
|
+
|
40
|
+
export { link };
|
41
|
+
//# sourceMappingURL=link.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"link.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/link.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Link} Link\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `link` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Link} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function link(state, node) {\n /** @type {Properties} */\n const properties = {href: normalizeUri(node.url)}\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE;AAClC;AACA,EAAE,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;;AAElD,EAAE,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE;AACvD,IAAI,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;AAC5B;;AAEA;AACA,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,GAAG;AAChB,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI;AAC5B;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
/**
|
2
|
+
* @typedef {import('hast').Element} Element
|
3
|
+
* @typedef {import('hast').ElementContent} ElementContent
|
4
|
+
* @typedef {import('hast').Properties} Properties
|
5
|
+
* @typedef {import('mdast').ListItem} ListItem
|
6
|
+
* @typedef {import('mdast').Parents} Parents
|
7
|
+
* @typedef {import('../state.js').State} State
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Turn an mdast `listItem` node into hast.
|
13
|
+
*
|
14
|
+
* @param {State} state
|
15
|
+
* Info passed around.
|
16
|
+
* @param {ListItem} node
|
17
|
+
* mdast node.
|
18
|
+
* @param {Parents | undefined} parent
|
19
|
+
* Parent of `node`.
|
20
|
+
* @returns {Element}
|
21
|
+
* hast node.
|
22
|
+
*/
|
23
|
+
function listItem(state, node, parent) {
|
24
|
+
const results = state.all(node);
|
25
|
+
const loose = parent ? listLoose(parent) : listItemLoose(node);
|
26
|
+
/** @type {Properties} */
|
27
|
+
const properties = {};
|
28
|
+
/** @type {Array<ElementContent>} */
|
29
|
+
const children = [];
|
30
|
+
|
31
|
+
if (typeof node.checked === 'boolean') {
|
32
|
+
const head = results[0];
|
33
|
+
/** @type {Element} */
|
34
|
+
let paragraph;
|
35
|
+
|
36
|
+
if (head && head.type === 'element' && head.tagName === 'p') {
|
37
|
+
paragraph = head;
|
38
|
+
} else {
|
39
|
+
paragraph = {type: 'element', tagName: 'p', properties: {}, children: []};
|
40
|
+
results.unshift(paragraph);
|
41
|
+
}
|
42
|
+
|
43
|
+
if (paragraph.children.length > 0) {
|
44
|
+
paragraph.children.unshift({type: 'text', value: ' '});
|
45
|
+
}
|
46
|
+
|
47
|
+
paragraph.children.unshift({
|
48
|
+
type: 'element',
|
49
|
+
tagName: 'input',
|
50
|
+
properties: {type: 'checkbox', checked: node.checked, disabled: true},
|
51
|
+
children: []
|
52
|
+
});
|
53
|
+
|
54
|
+
// According to github-markdown-css, this class hides bullet.
|
55
|
+
// See: <https://github.com/sindresorhus/github-markdown-css>.
|
56
|
+
properties.className = ['task-list-item'];
|
57
|
+
}
|
58
|
+
|
59
|
+
let index = -1;
|
60
|
+
|
61
|
+
while (++index < results.length) {
|
62
|
+
const child = results[index];
|
63
|
+
|
64
|
+
// Add eols before nodes, except if this is a loose, first paragraph.
|
65
|
+
if (
|
66
|
+
loose ||
|
67
|
+
index !== 0 ||
|
68
|
+
child.type !== 'element' ||
|
69
|
+
child.tagName !== 'p'
|
70
|
+
) {
|
71
|
+
children.push({type: 'text', value: '\n'});
|
72
|
+
}
|
73
|
+
|
74
|
+
if (child.type === 'element' && child.tagName === 'p' && !loose) {
|
75
|
+
children.push(...child.children);
|
76
|
+
} else {
|
77
|
+
children.push(child);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
const tail = results[results.length - 1];
|
82
|
+
|
83
|
+
// Add a final eol.
|
84
|
+
if (tail && (loose || tail.type !== 'element' || tail.tagName !== 'p')) {
|
85
|
+
children.push({type: 'text', value: '\n'});
|
86
|
+
}
|
87
|
+
|
88
|
+
/** @type {Element} */
|
89
|
+
const result = {type: 'element', tagName: 'li', properties, children};
|
90
|
+
state.patch(node, result);
|
91
|
+
return state.applyData(node, result)
|
92
|
+
}
|
93
|
+
|
94
|
+
/**
|
95
|
+
* @param {Parents} node
|
96
|
+
* @return {Boolean}
|
97
|
+
*/
|
98
|
+
function listLoose(node) {
|
99
|
+
let loose = false;
|
100
|
+
if (node.type === 'list') {
|
101
|
+
loose = node.spread || false;
|
102
|
+
const children = node.children;
|
103
|
+
let index = -1;
|
104
|
+
|
105
|
+
while (!loose && ++index < children.length) {
|
106
|
+
loose = listItemLoose(children[index]);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
return loose
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* @param {ListItem} node
|
115
|
+
* @return {Boolean}
|
116
|
+
*/
|
117
|
+
function listItemLoose(node) {
|
118
|
+
const spread = node.spread;
|
119
|
+
|
120
|
+
return spread === null || spread === undefined
|
121
|
+
? node.children.length > 1
|
122
|
+
: spread
|
123
|
+
}
|
124
|
+
|
125
|
+
export { listItem };
|
126
|
+
//# sourceMappingURL=list-item.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"list-item.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/list-item.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').ListItem} ListItem\n * @typedef {import('mdast').Parents} Parents\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `listItem` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ListItem} node\n * mdast node.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @returns {Element}\n * hast node.\n */\nexport function listItem(state, node, parent) {\n const results = state.all(node)\n const loose = parent ? listLoose(parent) : listItemLoose(node)\n /** @type {Properties} */\n const properties = {}\n /** @type {Array<ElementContent>} */\n const children = []\n\n if (typeof node.checked === 'boolean') {\n const head = results[0]\n /** @type {Element} */\n let paragraph\n\n if (head && head.type === 'element' && head.tagName === 'p') {\n paragraph = head\n } else {\n paragraph = {type: 'element', tagName: 'p', properties: {}, children: []}\n results.unshift(paragraph)\n }\n\n if (paragraph.children.length > 0) {\n paragraph.children.unshift({type: 'text', value: ' '})\n }\n\n paragraph.children.unshift({\n type: 'element',\n tagName: 'input',\n properties: {type: 'checkbox', checked: node.checked, disabled: true},\n children: []\n })\n\n // According to github-markdown-css, this class hides bullet.\n // See: <https://github.com/sindresorhus/github-markdown-css>.\n properties.className = ['task-list-item']\n }\n\n let index = -1\n\n while (++index < results.length) {\n const child = results[index]\n\n // Add eols before nodes, except if this is a loose, first paragraph.\n if (\n loose ||\n index !== 0 ||\n child.type !== 'element' ||\n child.tagName !== 'p'\n ) {\n children.push({type: 'text', value: '\\n'})\n }\n\n if (child.type === 'element' && child.tagName === 'p' && !loose) {\n children.push(...child.children)\n } else {\n children.push(child)\n }\n }\n\n const tail = results[results.length - 1]\n\n // Add a final eol.\n if (tail && (loose || tail.type !== 'element' || tail.tagName !== 'p')) {\n children.push({type: 'text', value: '\\n'})\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'li', properties, children}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n\n/**\n * @param {Parents} node\n * @return {Boolean}\n */\nfunction listLoose(node) {\n let loose = false\n if (node.type === 'list') {\n loose = node.spread || false\n const children = node.children\n let index = -1\n\n while (!loose && ++index < children.length) {\n loose = listItemLoose(children[index])\n }\n }\n\n return loose\n}\n\n/**\n * @param {ListItem} node\n * @return {Boolean}\n */\nfunction listItemLoose(node) {\n const spread = node.spread\n\n return spread === null || spread === undefined\n ? node.children.length > 1\n : spread\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE;AAC9C,EAAE,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI;AAChC,EAAE,MAAM,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,IAAI;AAC/D;AACA,EAAE,MAAM,UAAU,GAAG;AACrB;AACA,EAAE,MAAM,QAAQ,GAAG;;AAEnB,EAAE,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE;AACzC,IAAI,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC;AAC1B;AACA,IAAI,IAAI;;AAER,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,GAAG,EAAE;AACjE,MAAM,SAAS,GAAG;AAClB,KAAK,MAAM;AACX,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE;AAC9E,MAAM,OAAO,CAAC,OAAO,CAAC,SAAS;AAC/B;;AAEA,IAAI,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;AACvC,MAAM,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC;AAC3D;;AAEA,IAAI,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC;AAC/B,MAAM,IAAI,EAAE,SAAS;AACrB,MAAM,OAAO,EAAE,OAAO;AACtB,MAAM,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;AAC3E,MAAM,QAAQ,EAAE;AAChB,KAAK;;AAEL;AACA;AACA,IAAI,UAAU,CAAC,SAAS,GAAG,CAAC,gBAAgB;AAC5C;;AAEA,EAAE,IAAI,KAAK,GAAG;;AAEd,EAAE,OAAO,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK;;AAE/B;AACA,IAAI;AACJ,MAAM,KAAK;AACX,MAAM,KAAK,KAAK,CAAC;AACjB,MAAM,KAAK,CAAC,IAAI,KAAK,SAAS;AAC9B,MAAM,KAAK,CAAC,OAAO,KAAK;AACxB,MAAM;AACN,MAAM,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC;AAC/C;;AAEA,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,OAAO,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;AACrE,MAAM,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ;AACrC,KAAK,MAAM;AACX,MAAM,QAAQ,CAAC,IAAI,CAAC,KAAK;AACzB;AACA;;AAEA,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC;;AAEzC;AACA,EAAE,IAAI,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,GAAG,CAAC,EAAE;AAC1E,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC;AAC7C;;AAEA;AACA,EAAE,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ;AACtE,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;AAEA;AACA;AACA;AACA;AACA,SAAS,SAAS,CAAC,IAAI,EAAE;AACzB,EAAE,IAAI,KAAK,GAAG;AACd,EAAE,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE;AAC5B,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,IAAI;AAC3B,IAAI,MAAM,QAAQ,GAAG,IAAI,CAAC;AAC1B,IAAI,IAAI,KAAK,GAAG;;AAEhB,IAAI,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE;AAChD,MAAM,KAAK,GAAG,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC;AAC3C;AACA;;AAEA,EAAE,OAAO;AACT;;AAEA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,IAAI,EAAE;AAC7B,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;;AAEtB,EAAE,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK;AACvC,MAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG;AAC7B,MAAM;AACN;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/**
|
2
|
+
* @typedef {import('hast').Element} Element
|
3
|
+
* @typedef {import('hast').Properties} Properties
|
4
|
+
* @typedef {import('mdast').List} List
|
5
|
+
* @typedef {import('../state.js').State} State
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Turn an mdast `list` node into hast.
|
11
|
+
*
|
12
|
+
* @param {State} state
|
13
|
+
* Info passed around.
|
14
|
+
* @param {List} node
|
15
|
+
* mdast node.
|
16
|
+
* @returns {Element}
|
17
|
+
* hast node.
|
18
|
+
*/
|
19
|
+
function list(state, node) {
|
20
|
+
/** @type {Properties} */
|
21
|
+
const properties = {};
|
22
|
+
const results = state.all(node);
|
23
|
+
let index = -1;
|
24
|
+
|
25
|
+
if (typeof node.start === 'number' && node.start !== 1) {
|
26
|
+
properties.start = node.start;
|
27
|
+
}
|
28
|
+
|
29
|
+
// Like GitHub, add a class for custom styling.
|
30
|
+
while (++index < results.length) {
|
31
|
+
const child = results[index];
|
32
|
+
|
33
|
+
if (
|
34
|
+
child.type === 'element' &&
|
35
|
+
child.tagName === 'li' &&
|
36
|
+
child.properties &&
|
37
|
+
Array.isArray(child.properties.className) &&
|
38
|
+
child.properties.className.includes('task-list-item')
|
39
|
+
) {
|
40
|
+
properties.className = ['contains-task-list'];
|
41
|
+
break
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
/** @type {Element} */
|
46
|
+
const result = {
|
47
|
+
type: 'element',
|
48
|
+
tagName: node.ordered ? 'ol' : 'ul',
|
49
|
+
properties,
|
50
|
+
children: state.wrap(results, true)
|
51
|
+
};
|
52
|
+
state.patch(node, result);
|
53
|
+
return state.applyData(node, result)
|
54
|
+
}
|
55
|
+
|
56
|
+
export { list };
|
57
|
+
//# sourceMappingURL=list.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"list.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/list.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').List} List\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `list` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {List} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function list(state, node) {\n /** @type {Properties} */\n const properties = {}\n const results = state.all(node)\n let index = -1\n\n if (typeof node.start === 'number' && node.start !== 1) {\n properties.start = node.start\n }\n\n // Like GitHub, add a class for custom styling.\n while (++index < results.length) {\n const child = results[index]\n\n if (\n child.type === 'element' &&\n child.tagName === 'li' &&\n child.properties &&\n Array.isArray(child.properties.className) &&\n child.properties.className.includes('task-list-item')\n ) {\n properties.className = ['contains-task-list']\n break\n }\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: node.ordered ? 'ol' : 'ul',\n properties,\n children: state.wrap(results, true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE;AAClC;AACA,EAAE,MAAM,UAAU,GAAG;AACrB,EAAE,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI;AAChC,EAAE,IAAI,KAAK,GAAG;;AAEd,EAAE,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AAC1D,IAAI,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;AAC5B;;AAEA;AACA,EAAE,OAAO,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK;;AAE/B,IAAI;AACJ,MAAM,KAAK,CAAC,IAAI,KAAK,SAAS;AAC9B,MAAM,KAAK,CAAC,OAAO,KAAK,IAAI;AAC5B,MAAM,KAAK,CAAC,UAAU;AACtB,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;AAC/C,MAAM,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB;AAC1D,MAAM;AACN,MAAM,UAAU,CAAC,SAAS,GAAG,CAAC,oBAAoB;AAClD,MAAM;AACN;AACA;;AAEA;AACA,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,IAAI;AACvC,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI;AACtC;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* @typedef {import('hast').Element} Element
|
3
|
+
* @typedef {import('mdast').Paragraph} Paragraph
|
4
|
+
* @typedef {import('../state.js').State} State
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Turn an mdast `paragraph` node into hast.
|
10
|
+
*
|
11
|
+
* @param {State} state
|
12
|
+
* Info passed around.
|
13
|
+
* @param {Paragraph} node
|
14
|
+
* mdast node.
|
15
|
+
* @returns {Element}
|
16
|
+
* hast node.
|
17
|
+
*/
|
18
|
+
function paragraph(state, node) {
|
19
|
+
/** @type {Element} */
|
20
|
+
const result = {
|
21
|
+
type: 'element',
|
22
|
+
tagName: 'p',
|
23
|
+
properties: {},
|
24
|
+
children: state.all(node)
|
25
|
+
};
|
26
|
+
state.patch(node, result);
|
27
|
+
return state.applyData(node, result)
|
28
|
+
}
|
29
|
+
|
30
|
+
export { paragraph };
|
31
|
+
//# sourceMappingURL=paragraph.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"paragraph.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Paragraph} Paragraph\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `paragraph` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Paragraph} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function paragraph(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'p',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE;AACvC;AACA,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,OAAO,EAAE,GAAG;AAChB,IAAI,UAAU,EAAE,EAAE;AAClB,IAAI,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI;AAC5B;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM;AAC1B,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;AACrC;;;;","x_google_ignoreList":[0]}
|