@fiduswriter/document 0.1.0-alpha.4 → 0.1.0-alpha.6
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/bibliography/common.d.ts +9 -91
- package/dist/bibliography/common.d.ts.map +1 -1
- package/dist/bibliography/common.js +3 -2
- package/dist/bibliography/common.js.map +1 -1
- package/dist/bibliography/csl_bib.d.ts +1 -1
- package/dist/bibliography/csl_bib.d.ts.map +1 -1
- package/dist/bibliography/csl_bib.js +7 -7
- package/dist/bibliography/csl_bib.js.map +1 -1
- package/dist/citations/citeproc_sys.d.ts +9 -10
- package/dist/citations/citeproc_sys.d.ts.map +1 -1
- package/dist/citations/citeproc_sys.js +6 -1
- package/dist/citations/citeproc_sys.js.map +1 -1
- package/dist/citations/format.d.ts +33 -16
- package/dist/citations/format.d.ts.map +1 -1
- package/dist/citations/format.js +29 -4
- package/dist/citations/format.js.map +1 -1
- package/dist/editor/e2ee/encryptor.d.ts +35 -35
- package/dist/editor/e2ee/encryptor.d.ts.map +1 -1
- package/dist/editor/e2ee/encryptor.js +31 -31
- package/dist/editor/e2ee/encryptor.js.map +1 -1
- package/dist/exporter/docx/citations.d.ts +27 -17
- package/dist/exporter/docx/citations.d.ts.map +1 -1
- package/dist/exporter/docx/citations.js +24 -7
- package/dist/exporter/docx/citations.js.map +1 -1
- package/dist/exporter/docx/comments.d.ts +15 -11
- package/dist/exporter/docx/comments.d.ts.map +1 -1
- package/dist/exporter/docx/comments.js +47 -14
- package/dist/exporter/docx/comments.js.map +1 -1
- package/dist/exporter/docx/footnotes.d.ts +36 -31
- package/dist/exporter/docx/footnotes.d.ts.map +1 -1
- package/dist/exporter/docx/footnotes.js +46 -12
- package/dist/exporter/docx/footnotes.js.map +1 -1
- package/dist/exporter/docx/images.d.ts +23 -12
- package/dist/exporter/docx/images.d.ts.map +1 -1
- package/dist/exporter/docx/images.js +35 -20
- package/dist/exporter/docx/images.js.map +1 -1
- package/dist/exporter/docx/index.d.ts +11 -17
- package/dist/exporter/docx/index.d.ts.map +1 -1
- package/dist/exporter/docx/index.js +15 -7
- package/dist/exporter/docx/index.js.map +1 -1
- package/dist/exporter/docx/lists.d.ts +27 -22
- package/dist/exporter/docx/lists.d.ts.map +1 -1
- package/dist/exporter/docx/lists.js +77 -30
- package/dist/exporter/docx/lists.js.map +1 -1
- package/dist/exporter/docx/math.d.ts +9 -9
- package/dist/exporter/docx/math.d.ts.map +1 -1
- package/dist/exporter/docx/math.js +22 -5
- package/dist/exporter/docx/math.js.map +1 -1
- package/dist/exporter/docx/metadata.d.ts +12 -9
- package/dist/exporter/docx/metadata.d.ts.map +1 -1
- package/dist/exporter/docx/metadata.js +59 -26
- package/dist/exporter/docx/metadata.js.map +1 -1
- package/dist/exporter/docx/rels.d.ts +14 -12
- package/dist/exporter/docx/rels.d.ts.map +1 -1
- package/dist/exporter/docx/rels.js +37 -22
- package/dist/exporter/docx/rels.js.map +1 -1
- package/dist/exporter/docx/render.d.ts +17 -15
- package/dist/exporter/docx/render.d.ts.map +1 -1
- package/dist/exporter/docx/render.js +37 -31
- package/dist/exporter/docx/render.js.map +1 -1
- package/dist/exporter/docx/richtext.d.ts +8 -8
- package/dist/exporter/docx/richtext.d.ts.map +1 -1
- package/dist/exporter/docx/richtext.js +61 -43
- package/dist/exporter/docx/richtext.js.map +1 -1
- package/dist/exporter/docx/tables.d.ts +11 -9
- package/dist/exporter/docx/tables.d.ts.map +1 -1
- package/dist/exporter/docx/tables.js +16 -10
- package/dist/exporter/docx/tables.js.map +1 -1
- package/dist/exporter/docx/tools.d.ts +3 -2
- package/dist/exporter/docx/tools.d.ts.map +1 -1
- package/dist/exporter/docx/tools.js +3 -3
- package/dist/exporter/docx/tools.js.map +1 -1
- package/dist/exporter/epub/index.d.ts +11 -3
- package/dist/exporter/epub/index.d.ts.map +1 -1
- package/dist/exporter/epub/index.js +10 -3
- package/dist/exporter/epub/index.js.map +1 -1
- package/dist/exporter/epub/templates.d.ts +62 -31
- package/dist/exporter/epub/templates.d.ts.map +1 -1
- package/dist/exporter/epub/templates.js +1 -1
- package/dist/exporter/epub/templates.js.map +1 -1
- package/dist/exporter/epub/tools.d.ts +12 -4
- package/dist/exporter/epub/tools.d.ts.map +1 -1
- package/dist/exporter/epub/tools.js +14 -13
- package/dist/exporter/epub/tools.js.map +1 -1
- package/dist/exporter/html/citations.d.ts +17 -15
- package/dist/exporter/html/citations.d.ts.map +1 -1
- package/dist/exporter/html/citations.js +37 -18
- package/dist/exporter/html/citations.js.map +1 -1
- package/dist/exporter/html/convert.d.ts +20 -70
- package/dist/exporter/html/convert.d.ts.map +1 -1
- package/dist/exporter/html/convert.js +74 -42
- package/dist/exporter/html/convert.js.map +1 -1
- package/dist/exporter/html/index.d.ts +55 -52
- package/dist/exporter/html/index.d.ts.map +1 -1
- package/dist/exporter/html/index.js +23 -3
- package/dist/exporter/html/index.js.map +1 -1
- package/dist/exporter/html/templates.d.ts +23 -9
- package/dist/exporter/html/templates.d.ts.map +1 -1
- package/dist/exporter/html/templates.js +1 -1
- package/dist/exporter/html/templates.js.map +1 -1
- package/dist/exporter/html/tools.d.ts +1 -1
- package/dist/exporter/html/tools.d.ts.map +1 -1
- package/dist/exporter/html/tools.js +2 -2
- package/dist/exporter/html/tools.js.map +1 -1
- package/dist/exporter/jats/bibliography.d.ts +2 -1
- package/dist/exporter/jats/bibliography.d.ts.map +1 -1
- package/dist/exporter/jats/bibliography.js +57 -52
- package/dist/exporter/jats/bibliography.js.map +1 -1
- package/dist/exporter/jats/citations.d.ts +13 -11
- package/dist/exporter/jats/citations.d.ts.map +1 -1
- package/dist/exporter/jats/citations.js +28 -6
- package/dist/exporter/jats/citations.js.map +1 -1
- package/dist/exporter/jats/convert.d.ts +24 -28
- package/dist/exporter/jats/convert.d.ts.map +1 -1
- package/dist/exporter/jats/convert.js +53 -36
- package/dist/exporter/jats/convert.js.map +1 -1
- package/dist/exporter/jats/index.d.ts +21 -15
- package/dist/exporter/jats/index.d.ts.map +1 -1
- package/dist/exporter/jats/index.js +21 -5
- package/dist/exporter/jats/index.js.map +1 -1
- package/dist/exporter/jats/templates.d.ts +17 -15
- package/dist/exporter/jats/templates.d.ts.map +1 -1
- package/dist/exporter/jats/templates.js.map +1 -1
- package/dist/exporter/jats/text.d.ts +3 -2
- package/dist/exporter/jats/text.d.ts.map +1 -1
- package/dist/exporter/jats/text.js +4 -4
- package/dist/exporter/jats/text.js.map +1 -1
- package/dist/exporter/latex/convert.d.ts +12 -15
- package/dist/exporter/latex/convert.d.ts.map +1 -1
- package/dist/exporter/latex/convert.js +70 -54
- package/dist/exporter/latex/convert.js.map +1 -1
- package/dist/exporter/latex/escape_latex.d.ts +1 -1
- package/dist/exporter/latex/escape_latex.d.ts.map +1 -1
- package/dist/exporter/latex/escape_latex.js +1 -1
- package/dist/exporter/latex/escape_latex.js.map +1 -1
- package/dist/exporter/latex/index.d.ts +20 -19
- package/dist/exporter/latex/index.d.ts.map +1 -1
- package/dist/exporter/latex/index.js +15 -5
- package/dist/exporter/latex/index.js.map +1 -1
- package/dist/exporter/latex/readme.d.ts +1 -1
- package/dist/exporter/latex/readme.d.ts.map +1 -1
- package/dist/exporter/latex/readme.js +2 -2
- package/dist/exporter/latex/readme.js.map +1 -1
- package/dist/exporter/native/copy.d.ts +30 -0
- package/dist/exporter/native/copy.d.ts.map +1 -0
- package/dist/exporter/native/copy.js +151 -0
- package/dist/exporter/native/copy.js.map +1 -0
- package/dist/exporter/native/file.d.ts +12 -0
- package/dist/exporter/native/file.d.ts.map +1 -0
- package/dist/exporter/native/file.js +38 -0
- package/dist/exporter/native/file.js.map +1 -0
- package/dist/exporter/native/index.d.ts +5 -0
- package/dist/exporter/native/index.d.ts.map +1 -0
- package/dist/exporter/native/index.js +5 -0
- package/dist/exporter/native/index.js.map +1 -0
- package/dist/exporter/native/revision.d.ts +18 -0
- package/dist/exporter/native/revision.d.ts.map +1 -0
- package/dist/exporter/native/revision.js +39 -0
- package/dist/exporter/native/revision.js.map +1 -0
- package/dist/exporter/native/shrink.d.ts +29 -14
- package/dist/exporter/native/shrink.d.ts.map +1 -1
- package/dist/exporter/native/shrink.js +27 -18
- package/dist/exporter/native/shrink.js.map +1 -1
- package/dist/exporter/native/zip.d.ts +25 -0
- package/dist/exporter/native/zip.d.ts.map +1 -0
- package/dist/exporter/native/zip.js +56 -0
- package/dist/exporter/native/zip.js.map +1 -0
- package/dist/exporter/odt/citations.d.ts +18 -15
- package/dist/exporter/odt/citations.d.ts.map +1 -1
- package/dist/exporter/odt/citations.js +21 -4
- package/dist/exporter/odt/citations.js.map +1 -1
- package/dist/exporter/odt/footnotes.d.ts +25 -19
- package/dist/exporter/odt/footnotes.d.ts.map +1 -1
- package/dist/exporter/odt/footnotes.js +23 -6
- package/dist/exporter/odt/footnotes.js.map +1 -1
- package/dist/exporter/odt/images.d.ts +23 -11
- package/dist/exporter/odt/images.d.ts.map +1 -1
- package/dist/exporter/odt/images.js +34 -26
- package/dist/exporter/odt/images.js.map +1 -1
- package/dist/exporter/odt/index.d.ts +12 -18
- package/dist/exporter/odt/index.d.ts.map +1 -1
- package/dist/exporter/odt/index.js +16 -7
- package/dist/exporter/odt/index.js.map +1 -1
- package/dist/exporter/odt/math.d.ts +10 -8
- package/dist/exporter/odt/math.d.ts.map +1 -1
- package/dist/exporter/odt/math.js +27 -4
- package/dist/exporter/odt/math.js.map +1 -1
- package/dist/exporter/odt/metadata.d.ts +13 -9
- package/dist/exporter/odt/metadata.d.ts.map +1 -1
- package/dist/exporter/odt/metadata.js +36 -15
- package/dist/exporter/odt/metadata.js.map +1 -1
- package/dist/exporter/odt/render.d.ts +17 -15
- package/dist/exporter/odt/render.d.ts.map +1 -1
- package/dist/exporter/odt/render.js +25 -18
- package/dist/exporter/odt/render.js.map +1 -1
- package/dist/exporter/odt/richtext.d.ts +9 -9
- package/dist/exporter/odt/richtext.d.ts.map +1 -1
- package/dist/exporter/odt/richtext.js +55 -40
- package/dist/exporter/odt/richtext.js.map +1 -1
- package/dist/exporter/odt/styles.d.ts +29 -21
- package/dist/exporter/odt/styles.d.ts.map +1 -1
- package/dist/exporter/odt/styles.js +44 -22
- package/dist/exporter/odt/styles.js.map +1 -1
- package/dist/exporter/odt/track.d.ts +14 -7
- package/dist/exporter/odt/track.d.ts.map +1 -1
- package/dist/exporter/odt/track.js +7 -0
- package/dist/exporter/odt/track.js.map +1 -1
- package/dist/exporter/pandoc/citations.d.ts +20 -14
- package/dist/exporter/pandoc/citations.d.ts.map +1 -1
- package/dist/exporter/pandoc/citations.js +18 -4
- package/dist/exporter/pandoc/citations.js.map +1 -1
- package/dist/exporter/pandoc/convert.d.ts +10 -29
- package/dist/exporter/pandoc/convert.d.ts.map +1 -1
- package/dist/exporter/pandoc/convert.js +45 -40
- package/dist/exporter/pandoc/convert.js.map +1 -1
- package/dist/exporter/pandoc/index.d.ts +20 -33
- package/dist/exporter/pandoc/index.d.ts.map +1 -1
- package/dist/exporter/pandoc/index.js +20 -8
- package/dist/exporter/pandoc/index.js.map +1 -1
- package/dist/exporter/pandoc/readme.d.ts +1 -1
- package/dist/exporter/pandoc/readme.d.ts.map +1 -1
- package/dist/exporter/pandoc/readme.js +0 -1
- package/dist/exporter/pandoc/readme.js.map +1 -1
- package/dist/exporter/pandoc/tools.d.ts +21 -5
- package/dist/exporter/pandoc/tools.d.ts.map +1 -1
- package/dist/exporter/pandoc/tools.js +2 -2
- package/dist/exporter/pandoc/tools.js.map +1 -1
- package/dist/exporter/print/index.d.ts +18 -7
- package/dist/exporter/print/index.d.ts.map +1 -1
- package/dist/exporter/print/index.js +12 -10
- package/dist/exporter/print/index.js.map +1 -1
- package/dist/exporter/tools/doc_content.d.ts +5 -6
- package/dist/exporter/tools/doc_content.d.ts.map +1 -1
- package/dist/exporter/tools/doc_content.js +17 -16
- package/dist/exporter/tools/doc_content.js.map +1 -1
- package/dist/exporter/tools/svg.d.ts +7 -1
- package/dist/exporter/tools/svg.d.ts.map +1 -1
- package/dist/exporter/tools/svg.js.map +1 -1
- package/dist/exporter/tools/xml.d.ts +39 -38
- package/dist/exporter/tools/xml.d.ts.map +1 -1
- package/dist/exporter/tools/xml.js +82 -55
- package/dist/exporter/tools/xml.js.map +1 -1
- package/dist/exporter/tools/xml_zip.d.ts +15 -14
- package/dist/exporter/tools/xml_zip.d.ts.map +1 -1
- package/dist/exporter/tools/xml_zip.js +8 -2
- package/dist/exporter/tools/xml_zip.js.map +1 -1
- package/dist/exporter/tools/zip.d.ts +28 -14
- package/dist/exporter/tools/zip.d.ts.map +1 -1
- package/dist/exporter/tools/zip.js +13 -6
- package/dist/exporter/tools/zip.js.map +1 -1
- package/dist/exporter/tools/zotero_csl.d.ts +19 -6
- package/dist/exporter/tools/zotero_csl.d.ts.map +1 -1
- package/dist/exporter/tools/zotero_csl.js +9 -9
- package/dist/exporter/tools/zotero_csl.js.map +1 -1
- package/dist/importer/citations.d.ts +25 -22
- package/dist/importer/citations.d.ts.map +1 -1
- package/dist/importer/citations.js +1 -49
- package/dist/importer/citations.js.map +1 -1
- package/dist/importer/docx/citations.d.ts +8 -30
- package/dist/importer/docx/citations.d.ts.map +1 -1
- package/dist/importer/docx/citations.js +1 -26
- package/dist/importer/docx/citations.js.map +1 -1
- package/dist/importer/docx/convert.d.ts +38 -116
- package/dist/importer/docx/convert.d.ts.map +1 -1
- package/dist/importer/docx/convert.js +99 -82
- package/dist/importer/docx/convert.js.map +1 -1
- package/dist/importer/docx/helpers.d.ts +1 -1
- package/dist/importer/docx/helpers.d.ts.map +1 -1
- package/dist/importer/docx/helpers.js +1 -1
- package/dist/importer/docx/helpers.js.map +1 -1
- package/dist/importer/docx/index.d.ts +27 -0
- package/dist/importer/docx/index.d.ts.map +1 -0
- package/dist/importer/docx/index.js +77 -0
- package/dist/importer/docx/index.js.map +1 -0
- package/dist/importer/docx/omml2mathml.d.ts +2 -3
- package/dist/importer/docx/omml2mathml.d.ts.map +1 -1
- package/dist/importer/docx/omml2mathml.js +23 -116
- package/dist/importer/docx/omml2mathml.js.map +1 -1
- package/dist/importer/docx/parse.d.ts +22 -131
- package/dist/importer/docx/parse.d.ts.map +1 -1
- package/dist/importer/docx/parse.js +73 -55
- package/dist/importer/docx/parse.js.map +1 -1
- package/dist/importer/native/extract_template.d.ts +6 -0
- package/dist/importer/native/extract_template.d.ts.map +1 -0
- package/dist/importer/native/extract_template.js +80 -0
- package/dist/importer/native/extract_template.js.map +1 -0
- package/dist/importer/native/file.d.ts +37 -0
- package/dist/importer/native/file.d.ts.map +1 -0
- package/dist/importer/native/file.js +162 -0
- package/dist/importer/native/file.js.map +1 -0
- package/dist/importer/native/get_images.d.ts +18 -8
- package/dist/importer/native/get_images.d.ts.map +1 -1
- package/dist/importer/native/get_images.js +39 -45
- package/dist/importer/native/get_images.js.map +1 -1
- package/dist/importer/native/importer.d.ts +41 -0
- package/dist/importer/native/importer.d.ts.map +1 -0
- package/dist/importer/native/importer.js +170 -0
- package/dist/importer/native/importer.js.map +1 -0
- package/dist/importer/native/index.d.ts +7 -0
- package/dist/importer/native/index.d.ts.map +1 -0
- package/dist/importer/native/index.js +7 -0
- package/dist/importer/native/index.js.map +1 -0
- package/dist/importer/native/update.d.ts +5 -4
- package/dist/importer/native/update.d.ts.map +1 -1
- package/dist/importer/native/update.js +4 -3
- package/dist/importer/native/update.js.map +1 -1
- package/dist/importer/native/update_template.d.ts +12 -0
- package/dist/importer/native/update_template.d.ts.map +1 -0
- package/dist/importer/native/update_template.js +19 -0
- package/dist/importer/native/update_template.js.map +1 -0
- package/dist/importer/odt/citations.d.ts +7 -27
- package/dist/importer/odt/citations.d.ts.map +1 -1
- package/dist/importer/odt/citations.js +0 -22
- package/dist/importer/odt/citations.js.map +1 -1
- package/dist/importer/odt/convert.d.ts +53 -237
- package/dist/importer/odt/convert.d.ts.map +1 -1
- package/dist/importer/odt/convert.js +162 -138
- package/dist/importer/odt/convert.js.map +1 -1
- package/dist/importer/odt/index.d.ts +30 -0
- package/dist/importer/odt/index.d.ts.map +1 -0
- package/dist/importer/odt/index.js +124 -0
- package/dist/importer/odt/index.js.map +1 -0
- package/dist/importer/pandoc/convert.d.ts +25 -77
- package/dist/importer/pandoc/convert.d.ts.map +1 -1
- package/dist/importer/pandoc/convert.js +65 -52
- package/dist/importer/pandoc/convert.js.map +1 -1
- package/dist/importer/pandoc/helpers.d.ts +4 -3
- package/dist/importer/pandoc/helpers.d.ts.map +1 -1
- package/dist/importer/pandoc/helpers.js +24 -26
- package/dist/importer/pandoc/helpers.js.map +1 -1
- package/dist/importer/pandoc/index.d.ts +31 -0
- package/dist/importer/pandoc/index.d.ts.map +1 -0
- package/dist/importer/pandoc/index.js +114 -0
- package/dist/importer/pandoc/index.js.map +1 -0
- package/dist/importer/registry.d.ts +21 -0
- package/dist/importer/registry.d.ts.map +1 -0
- package/dist/importer/registry.js +41 -0
- package/dist/importer/registry.js.map +1 -0
- package/dist/importer/zip_analyzer.d.ts +27 -21
- package/dist/importer/zip_analyzer.d.ts.map +1 -1
- package/dist/importer/zip_analyzer.js +10 -5
- package/dist/importer/zip_analyzer.js.map +1 -1
- package/dist/mathlive/opf_includes.d.ts +1 -1
- package/dist/mathlive/opf_includes.d.ts.map +1 -1
- package/dist/mathlive/opf_includes.js.map +1 -1
- package/dist/schema/common/annotate.d.ts +37 -49
- package/dist/schema/common/annotate.d.ts.map +1 -1
- package/dist/schema/common/annotate.js +2 -2
- package/dist/schema/common/annotate.js.map +1 -1
- package/dist/schema/common/base.d.ts +63 -81
- package/dist/schema/common/base.d.ts.map +1 -1
- package/dist/schema/common/base.js.map +1 -1
- package/dist/schema/common/citation.d.ts +23 -22
- package/dist/schema/common/citation.d.ts.map +1 -1
- package/dist/schema/common/citation.js +4 -5
- package/dist/schema/common/citation.js.map +1 -1
- package/dist/schema/common/equation.d.ts +13 -14
- package/dist/schema/common/equation.d.ts.map +1 -1
- package/dist/schema/common/equation.js +1 -1
- package/dist/schema/common/equation.js.map +1 -1
- package/dist/schema/common/figure.d.ts +72 -93
- package/dist/schema/common/figure.d.ts.map +1 -1
- package/dist/schema/common/figure.js +11 -9
- package/dist/schema/common/figure.js.map +1 -1
- package/dist/schema/common/heading.d.ts +8 -32
- package/dist/schema/common/heading.d.ts.map +1 -1
- package/dist/schema/common/heading.js +2 -2
- package/dist/schema/common/heading.js.map +1 -1
- package/dist/schema/common/index.d.ts +2 -2
- package/dist/schema/common/index.d.ts.map +1 -1
- package/dist/schema/common/index.js.map +1 -1
- package/dist/schema/common/list.d.ts +52 -72
- package/dist/schema/common/list.d.ts.map +1 -1
- package/dist/schema/common/list.js +3 -3
- package/dist/schema/common/list.js.map +1 -1
- package/dist/schema/common/reference.d.ts +51 -59
- package/dist/schema/common/reference.d.ts.map +1 -1
- package/dist/schema/common/reference.js +5 -5
- package/dist/schema/common/reference.js.map +1 -1
- package/dist/schema/common/table.d.ts +59 -75
- package/dist/schema/common/table.d.ts.map +1 -1
- package/dist/schema/common/table.js +3 -2
- package/dist/schema/common/table.js.map +1 -1
- package/dist/schema/common/track.d.ts +83 -97
- package/dist/schema/common/track.d.ts.map +1 -1
- package/dist/schema/common/track.js +18 -17
- package/dist/schema/common/track.js.map +1 -1
- package/dist/schema/convert.d.ts +2 -2
- package/dist/schema/convert.d.ts.map +1 -1
- package/dist/schema/convert.js +2 -2
- package/dist/schema/convert.js.map +1 -1
- package/dist/schema/document/content.d.ts +95 -122
- package/dist/schema/document/content.d.ts.map +1 -1
- package/dist/schema/document/content.js +9 -9
- package/dist/schema/document/content.js.map +1 -1
- package/dist/schema/document/index.d.ts +173 -257
- package/dist/schema/document/index.d.ts.map +1 -1
- package/dist/schema/document/index.js.map +1 -1
- package/dist/schema/document/structure.d.ts +149 -258
- package/dist/schema/document/structure.d.ts.map +1 -1
- package/dist/schema/document/structure.js +2 -2
- package/dist/schema/document/structure.js.map +1 -1
- package/dist/schema/export.d.ts +4 -877
- package/dist/schema/export.d.ts.map +1 -1
- package/dist/schema/export.js +1 -0
- package/dist/schema/export.js.map +1 -1
- package/dist/schema/footnotes.d.ts +110 -155
- package/dist/schema/footnotes.d.ts.map +1 -1
- package/dist/schema/footnotes.js +4 -2
- package/dist/schema/footnotes.js.map +1 -1
- package/dist/schema/footnotes_convert.d.ts +3 -3
- package/dist/schema/footnotes_convert.d.ts.map +1 -1
- package/dist/schema/footnotes_convert.js +10 -6
- package/dist/schema/footnotes_convert.js.map +1 -1
- package/dist/schema/i18n.d.ts +3 -534
- package/dist/schema/i18n.d.ts.map +1 -1
- package/dist/schema/i18n.js +1 -0
- package/dist/schema/i18n.js.map +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/mini_json.d.ts +3 -4
- package/dist/schema/mini_json.d.ts.map +1 -1
- package/dist/schema/mini_json.js +2 -0
- package/dist/schema/mini_json.js.map +1 -1
- package/dist/schema/text.d.ts +2 -1
- package/dist/schema/text.d.ts.map +1 -1
- package/dist/schema/text.js +1 -1
- package/dist/schema/text.js.map +1 -1
- package/dist/types.d.ts +167 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +24 -1
- package/src/bibliography/{common.js → common.ts} +15 -12
- package/src/bibliography/{csl_bib.js → csl_bib.ts} +16 -15
- package/src/citations/{citeproc_sys.js → citeproc_sys.ts} +26 -6
- package/src/citations/{format.js → format.ts} +80 -24
- package/src/editor/e2ee/{encryptor.js → encryptor.ts} +76 -44
- package/src/exporter/docx/{citations.js → citations.ts} +51 -23
- package/src/exporter/docx/{comments.js → comments.ts} +69 -26
- package/src/exporter/docx/{footnotes.js → footnotes.ts} +81 -42
- package/src/exporter/docx/images.ts +128 -0
- package/src/exporter/docx/{index.js → index.ts} +48 -25
- package/src/exporter/docx/{lists.js → lists.ts} +89 -46
- package/src/exporter/docx/{math.js → math.ts} +29 -9
- package/src/exporter/docx/{metadata.js → metadata.ts} +78 -42
- package/src/exporter/docx/{rels.js → rels.ts} +71 -50
- package/src/exporter/docx/{render.js → render.ts} +124 -87
- package/src/exporter/docx/{richtext.js → richtext.ts} +107 -84
- package/src/exporter/docx/{tables.js → tables.ts} +33 -23
- package/src/exporter/docx/{tools.js → tools.ts} +4 -3
- package/src/exporter/epub/{index.js → index.ts} +44 -15
- package/src/exporter/epub/{templates.js → templates.ts} +71 -7
- package/src/exporter/epub/{tools.js → tools.ts} +31 -25
- package/src/exporter/html/{citations.js → citations.ts} +79 -31
- package/src/exporter/html/{convert.js → convert.ts} +118 -71
- package/src/exporter/html/{index.js → index.ts} +63 -29
- package/src/exporter/html/{templates.js → templates.ts} +22 -2
- package/src/exporter/html/{tools.js → tools.ts} +9 -6
- package/src/exporter/jats/bibliography.ts +199 -0
- package/src/exporter/jats/{citations.js → citations.ts} +56 -20
- package/src/exporter/jats/{convert.js → convert.ts} +72 -53
- package/src/exporter/jats/index.ts +132 -0
- package/src/exporter/jats/{templates.js → templates.ts} +19 -3
- package/src/exporter/jats/{text.js → text.ts} +8 -6
- package/src/exporter/latex/{convert.js → convert.ts} +160 -125
- package/src/exporter/latex/{escape_latex.js → escape_latex.ts} +1 -1
- package/src/exporter/latex/{index.js → index.ts} +27 -12
- package/src/exporter/latex/{readme.js → readme.ts} +2 -2
- package/src/exporter/native/copy.ts +231 -0
- package/src/exporter/native/file.ts +65 -0
- package/src/exporter/native/index.ts +4 -0
- package/src/exporter/native/revision.ts +76 -0
- package/src/exporter/native/{shrink.js → shrink.ts} +64 -29
- package/src/exporter/native/zip.ts +85 -0
- package/src/exporter/odt/{citations.js → citations.ts} +35 -15
- package/src/exporter/odt/{footnotes.js → footnotes.ts} +53 -30
- package/src/exporter/odt/images.ts +135 -0
- package/src/exporter/odt/{index.js → index.ts} +49 -27
- package/src/exporter/odt/{math.js → math.ts} +38 -9
- package/src/exporter/odt/{metadata.js → metadata.ts} +54 -29
- package/src/exporter/odt/{render.js → render.ts} +89 -60
- package/src/exporter/odt/{richtext.js → richtext.ts} +102 -72
- package/src/exporter/odt/{styles.js → styles.ts} +98 -66
- package/src/exporter/odt/{track.js → track.ts} +22 -6
- package/src/exporter/pandoc/{citations.js → citations.ts} +31 -15
- package/src/exporter/pandoc/{convert.js → convert.ts} +98 -79
- package/src/exporter/pandoc/{index.js → index.ts} +36 -13
- package/src/exporter/pandoc/{readme.js → readme.ts} +0 -1
- package/src/exporter/pandoc/{tools.js → tools.ts} +28 -5
- package/src/exporter/print/{index.js → index.ts} +38 -19
- package/src/exporter/tools/{doc_content.js → doc_content.ts} +34 -24
- package/src/exporter/tools/{svg.js → svg.ts} +9 -3
- package/src/exporter/tools/{xml.js → xml.ts} +187 -138
- package/src/exporter/tools/{xml_zip.js → xml_zip.ts} +19 -11
- package/src/exporter/tools/{zip.js → zip.ts} +35 -11
- package/src/exporter/tools/{zotero_csl.js → zotero_csl.ts} +35 -18
- package/src/global.d.ts +2 -0
- package/src/importer/citations.ts +116 -0
- package/src/importer/docx/{citations.js → citations.ts} +22 -37
- package/src/importer/docx/{convert.js → convert.ts} +176 -141
- package/src/importer/docx/{helpers.js → helpers.ts} +1 -1
- package/src/importer/docx/index.ts +124 -0
- package/src/importer/docx/{omml2mathml.js → omml2mathml.ts} +154 -176
- package/src/importer/docx/{parse.js → parse.ts} +103 -81
- package/src/importer/native/extract_template.ts +83 -0
- package/src/importer/native/file.ts +282 -0
- package/src/importer/native/get_images.ts +82 -0
- package/src/importer/native/importer.ts +244 -0
- package/src/importer/native/index.ts +6 -0
- package/src/importer/native/{update.js → update.ts} +13 -5
- package/src/importer/native/update_template.ts +32 -0
- package/src/importer/odt/{citations.js → citations.ts} +17 -29
- package/src/importer/odt/{convert.js → convert.ts} +261 -237
- package/src/importer/odt/index.ts +202 -0
- package/src/importer/pandoc/{convert.js → convert.ts} +116 -94
- package/src/importer/pandoc/{helpers.js → helpers.ts} +24 -12
- package/src/importer/pandoc/index.ts +171 -0
- package/src/importer/registry.ts +69 -0
- package/src/importer/{zip_analyzer.js → zip_analyzer.ts} +44 -18
- package/src/mathlive/{opf_includes.js → opf_includes.ts} +1 -1
- package/src/modules.d.ts +40 -0
- package/src/schema/common/{annotate.js → annotate.ts} +10 -8
- package/src/schema/common/{base.js → base.ts} +12 -10
- package/src/schema/common/{citation.js → citation.ts} +17 -8
- package/src/schema/common/{equation.js → equation.ts} +6 -4
- package/src/schema/common/{figure.js → figure.ts} +43 -23
- package/src/schema/common/{heading.js → heading.ts} +7 -5
- package/src/schema/common/{list.js → list.ts} +15 -13
- package/src/schema/common/{reference.js → reference.ts} +14 -12
- package/src/schema/common/{table.js → table.ts} +16 -14
- package/src/schema/common/{track.js → track.ts} +42 -31
- package/src/schema/{convert.js → convert.ts} +6 -2
- package/src/schema/document/{content.js → content.ts} +22 -20
- package/src/schema/document/{structure.js → structure.ts} +15 -9
- package/src/schema/{export.js → export.ts} +4 -2
- package/src/schema/{footnotes.js → footnotes.ts} +11 -8
- package/src/schema/{footnotes_convert.js → footnotes_convert.ts} +11 -8
- package/src/schema/{i18n.js → i18n.ts} +7 -1
- package/src/schema/{mini_json.js → mini_json.ts} +11 -12
- package/src/schema/{text.js → text.ts} +6 -2
- package/src/types.ts +185 -7
- package/src/exporter/docx/images.js +0 -101
- package/src/exporter/jats/bibliography.js +0 -183
- package/src/exporter/jats/index.js +0 -92
- package/src/exporter/odt/images.js +0 -115
- package/src/importer/citations.js +0 -129
- package/src/importer/native/get_images.js +0 -76
- /package/src/schema/common/{index.js → index.ts} +0 -0
- /package/src/schema/document/{index.js → index.ts} +0 -0
- /package/src/schema/{index.js → index.ts} +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import OrderedMap from "orderedmap";
|
|
2
|
+
import { Schema } from "prosemirror-model";
|
|
3
|
+
export declare const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").NodeSpec | {
|
|
2
4
|
group: string;
|
|
3
5
|
content: string;
|
|
4
6
|
attrs: {
|
|
@@ -8,15 +10,15 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
8
10
|
};
|
|
9
11
|
parseDOM: {
|
|
10
12
|
tag: string;
|
|
11
|
-
getAttrs(dom:
|
|
12
|
-
track:
|
|
13
|
+
getAttrs(dom: HTMLElement): {
|
|
14
|
+
track: import("../common/track.js").Track[];
|
|
13
15
|
};
|
|
14
16
|
}[];
|
|
15
|
-
toDOM(node:
|
|
17
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
16
18
|
"data-track": string;
|
|
17
19
|
} | {
|
|
18
20
|
"data-track"?: undefined;
|
|
19
|
-
}
|
|
21
|
+
}, number];
|
|
20
22
|
} | {
|
|
21
23
|
content: string;
|
|
22
24
|
group: string;
|
|
@@ -26,18 +28,18 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
26
28
|
};
|
|
27
29
|
};
|
|
28
30
|
marks: string;
|
|
29
|
-
defining:
|
|
31
|
+
defining: true;
|
|
30
32
|
parseDOM: {
|
|
31
33
|
tag: string;
|
|
32
|
-
getAttrs(dom:
|
|
33
|
-
track:
|
|
34
|
+
getAttrs(dom: HTMLElement): {
|
|
35
|
+
track: import("../common/track.js").Track[];
|
|
34
36
|
};
|
|
35
37
|
}[];
|
|
36
|
-
toDOM(node:
|
|
38
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
37
39
|
"data-track": string;
|
|
38
40
|
} | {
|
|
39
41
|
"data-track"?: undefined;
|
|
40
|
-
}
|
|
42
|
+
}, number];
|
|
41
43
|
} | {
|
|
42
44
|
group: string;
|
|
43
45
|
attrs: {
|
|
@@ -47,17 +49,17 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
47
49
|
};
|
|
48
50
|
parseDOM: {
|
|
49
51
|
tag: string;
|
|
50
|
-
getAttrs(dom:
|
|
51
|
-
track:
|
|
52
|
+
getAttrs(dom: HTMLElement): {
|
|
53
|
+
track: import("../common/track.js").Track[];
|
|
52
54
|
};
|
|
53
55
|
}[];
|
|
54
|
-
toDOM(node:
|
|
56
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
55
57
|
"data-track": string;
|
|
56
58
|
} | {
|
|
57
59
|
"data-track"?: undefined;
|
|
58
|
-
}
|
|
60
|
+
}];
|
|
59
61
|
} | {
|
|
60
|
-
inline:
|
|
62
|
+
inline: true;
|
|
61
63
|
group: string;
|
|
62
64
|
attrs: {
|
|
63
65
|
format: {
|
|
@@ -69,20 +71,18 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
69
71
|
};
|
|
70
72
|
parseDOM: {
|
|
71
73
|
tag: string;
|
|
72
|
-
getAttrs(dom:
|
|
73
|
-
format:
|
|
74
|
-
references:
|
|
75
|
-
id: any;
|
|
76
|
-
}[];
|
|
74
|
+
getAttrs(dom: HTMLElement): {
|
|
75
|
+
format: string;
|
|
76
|
+
references: import("../common/citation.js").CitationReference[];
|
|
77
77
|
};
|
|
78
78
|
}[];
|
|
79
|
-
toDOM(node:
|
|
79
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
80
80
|
class: string;
|
|
81
81
|
"data-format": any;
|
|
82
82
|
"data-references": string;
|
|
83
|
-
}
|
|
83
|
+
}];
|
|
84
84
|
} | {
|
|
85
|
-
inline:
|
|
85
|
+
inline: true;
|
|
86
86
|
group: string;
|
|
87
87
|
attrs: {
|
|
88
88
|
equation: {
|
|
@@ -91,15 +91,15 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
91
91
|
};
|
|
92
92
|
parseDOM: {
|
|
93
93
|
tag: string;
|
|
94
|
-
getAttrs(dom:
|
|
95
|
-
equation:
|
|
94
|
+
getAttrs(dom: HTMLElement): {
|
|
95
|
+
equation: string;
|
|
96
96
|
};
|
|
97
97
|
}[];
|
|
98
|
-
toDOM(node:
|
|
98
|
+
toDOM(node: import("prosemirror-model").Node): HTMLSpanElement;
|
|
99
99
|
} | {
|
|
100
|
-
inline:
|
|
100
|
+
inline: false;
|
|
101
101
|
allowGapCursor: boolean;
|
|
102
|
-
selectable:
|
|
102
|
+
selectable: true;
|
|
103
103
|
group: string;
|
|
104
104
|
attrs: {
|
|
105
105
|
category: {
|
|
@@ -124,26 +124,20 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
124
124
|
content: string;
|
|
125
125
|
parseDOM: {
|
|
126
126
|
tag: string;
|
|
127
|
-
getAttrs(dom:
|
|
128
|
-
category:
|
|
127
|
+
getAttrs(dom: HTMLElement): {
|
|
128
|
+
category: string | undefined;
|
|
129
129
|
caption: boolean;
|
|
130
|
-
id:
|
|
131
|
-
track:
|
|
132
|
-
aligned:
|
|
133
|
-
width:
|
|
134
|
-
diff:
|
|
130
|
+
id: string | boolean;
|
|
131
|
+
track: import("../common/track.js").Track[];
|
|
132
|
+
aligned: string | undefined;
|
|
133
|
+
width: string | undefined;
|
|
134
|
+
diff: string | undefined;
|
|
135
135
|
};
|
|
136
136
|
}[];
|
|
137
|
-
toDOM(node:
|
|
138
|
-
id: any;
|
|
139
|
-
class: string;
|
|
140
|
-
"data-aligned": any;
|
|
141
|
-
"data-width": any;
|
|
142
|
-
"data-category": any;
|
|
143
|
-
})[];
|
|
137
|
+
toDOM(node: import("prosemirror-model").Node): [string, Record<string, unknown>, number];
|
|
144
138
|
} | {
|
|
145
|
-
selectable:
|
|
146
|
-
draggable:
|
|
139
|
+
selectable: false;
|
|
140
|
+
draggable: false;
|
|
147
141
|
attrs: {
|
|
148
142
|
image: {
|
|
149
143
|
default: boolean;
|
|
@@ -151,14 +145,14 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
151
145
|
};
|
|
152
146
|
parseDOM: {
|
|
153
147
|
tag: string;
|
|
154
|
-
getAttrs(dom:
|
|
148
|
+
getAttrs(dom: HTMLElement): {
|
|
155
149
|
image: number | boolean;
|
|
156
150
|
};
|
|
157
151
|
}[];
|
|
158
|
-
toDOM(node:
|
|
152
|
+
toDOM(node: import("prosemirror-model").Node): HTMLImageElement;
|
|
159
153
|
} | {
|
|
160
|
-
selectable:
|
|
161
|
-
draggable:
|
|
154
|
+
selectable: false;
|
|
155
|
+
draggable: false;
|
|
162
156
|
attrs: {
|
|
163
157
|
equation: {
|
|
164
158
|
default: boolean;
|
|
@@ -166,44 +160,23 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
166
160
|
};
|
|
167
161
|
parseDOM: {
|
|
168
162
|
tag: string;
|
|
169
|
-
getAttrs(dom:
|
|
170
|
-
equation:
|
|
163
|
+
getAttrs(dom: HTMLElement): {
|
|
164
|
+
equation: string | undefined;
|
|
171
165
|
};
|
|
172
166
|
}[];
|
|
173
|
-
toDOM(node:
|
|
167
|
+
toDOM(node: import("prosemirror-model").Node): HTMLDivElement;
|
|
174
168
|
} | {
|
|
175
|
-
isolating:
|
|
176
|
-
defining:
|
|
169
|
+
isolating: true;
|
|
170
|
+
defining: true;
|
|
177
171
|
content: string;
|
|
178
172
|
parseDOM: {
|
|
179
173
|
tag: string;
|
|
180
174
|
}[];
|
|
181
|
-
toDOM():
|
|
175
|
+
toDOM(): [string, (string | {
|
|
182
176
|
class: string;
|
|
183
|
-
})[]
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
content: string;
|
|
187
|
-
marks: string;
|
|
188
|
-
defining: boolean;
|
|
189
|
-
attrs: {
|
|
190
|
-
id: {
|
|
191
|
-
default: boolean;
|
|
192
|
-
};
|
|
193
|
-
track: {
|
|
194
|
-
default: never[];
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
parseDOM: {
|
|
198
|
-
tag: string;
|
|
199
|
-
getAttrs(dom: any): {
|
|
200
|
-
id: any;
|
|
201
|
-
track: any[];
|
|
202
|
-
};
|
|
203
|
-
}[];
|
|
204
|
-
toDOM(node: any): (string | number | {
|
|
205
|
-
id: any;
|
|
206
|
-
})[];
|
|
177
|
+
})[], (string | number | {
|
|
178
|
+
class: string;
|
|
179
|
+
})[]];
|
|
207
180
|
} | {
|
|
208
181
|
group: string;
|
|
209
182
|
content: string;
|
|
@@ -220,15 +193,13 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
220
193
|
};
|
|
221
194
|
parseDOM: {
|
|
222
195
|
tag: string;
|
|
223
|
-
getAttrs(dom:
|
|
224
|
-
id:
|
|
196
|
+
getAttrs(dom: HTMLElement): {
|
|
197
|
+
id: string | boolean;
|
|
225
198
|
order: number;
|
|
226
|
-
track:
|
|
199
|
+
track: import("../common/track.js").Track[];
|
|
227
200
|
};
|
|
228
201
|
}[];
|
|
229
|
-
toDOM(node:
|
|
230
|
-
id: any;
|
|
231
|
-
})[];
|
|
202
|
+
toDOM(node: import("prosemirror-model").Node): [string, Record<string, unknown>, number];
|
|
232
203
|
} | {
|
|
233
204
|
group: string;
|
|
234
205
|
content: string;
|
|
@@ -242,14 +213,12 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
242
213
|
};
|
|
243
214
|
parseDOM: {
|
|
244
215
|
tag: string;
|
|
245
|
-
getAttrs(dom:
|
|
246
|
-
id:
|
|
247
|
-
track:
|
|
216
|
+
getAttrs(dom: HTMLElement): {
|
|
217
|
+
id: string | boolean;
|
|
218
|
+
track: import("../common/track.js").Track[];
|
|
248
219
|
};
|
|
249
220
|
}[];
|
|
250
|
-
toDOM(node:
|
|
251
|
-
id: any;
|
|
252
|
-
})[];
|
|
221
|
+
toDOM(node: import("prosemirror-model").Node): [string, Record<string, unknown>, number];
|
|
253
222
|
} | {
|
|
254
223
|
content: string;
|
|
255
224
|
marks: string;
|
|
@@ -260,14 +229,14 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
260
229
|
};
|
|
261
230
|
parseDOM: {
|
|
262
231
|
tag: string;
|
|
263
|
-
getAttrs(dom:
|
|
264
|
-
track:
|
|
232
|
+
getAttrs(dom: HTMLElement): {
|
|
233
|
+
track: import("../common/track.js").Track[];
|
|
265
234
|
};
|
|
266
235
|
}[];
|
|
267
|
-
toDOM(node:
|
|
268
|
-
defining:
|
|
236
|
+
toDOM(node: import("prosemirror-model").Node): [string, Record<string, unknown>, number];
|
|
237
|
+
defining: true;
|
|
269
238
|
} | {
|
|
270
|
-
inline:
|
|
239
|
+
inline: true;
|
|
271
240
|
group: string;
|
|
272
241
|
attrs: {
|
|
273
242
|
id: {
|
|
@@ -279,14 +248,18 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
279
248
|
};
|
|
280
249
|
parseDOM: {
|
|
281
250
|
tag: string;
|
|
282
|
-
getAttrs(dom:
|
|
283
|
-
id:
|
|
284
|
-
title:
|
|
251
|
+
getAttrs(dom: HTMLElement): {
|
|
252
|
+
id: string | boolean;
|
|
253
|
+
title: string | null;
|
|
285
254
|
};
|
|
286
255
|
}[];
|
|
287
|
-
toDOM(node:
|
|
256
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
257
|
+
class: string;
|
|
258
|
+
"data-id": any;
|
|
259
|
+
"data-title": any;
|
|
260
|
+
}, any];
|
|
288
261
|
} | {
|
|
289
|
-
inline:
|
|
262
|
+
inline: false;
|
|
290
263
|
group: string;
|
|
291
264
|
tableRole: string;
|
|
292
265
|
attrs: {
|
|
@@ -315,32 +288,27 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
315
288
|
content: string;
|
|
316
289
|
parseDOM: {
|
|
317
290
|
tag: string;
|
|
318
|
-
getAttrs(dom:
|
|
319
|
-
track:
|
|
320
|
-
width:
|
|
321
|
-
aligned:
|
|
322
|
-
layout:
|
|
323
|
-
id:
|
|
324
|
-
category:
|
|
291
|
+
getAttrs(dom: HTMLElement): {
|
|
292
|
+
track: import("../common/track.js").Track[];
|
|
293
|
+
width: string;
|
|
294
|
+
aligned: string;
|
|
295
|
+
layout: string;
|
|
296
|
+
id: string | boolean;
|
|
297
|
+
category: string | undefined;
|
|
325
298
|
caption: boolean;
|
|
326
299
|
};
|
|
327
300
|
}[];
|
|
328
|
-
toDOM(node:
|
|
329
|
-
id: any;
|
|
330
|
-
class: string;
|
|
331
|
-
"data-width": any;
|
|
332
|
-
"data-aligned": any;
|
|
333
|
-
"data-layout": any;
|
|
334
|
-
"data-category": any;
|
|
335
|
-
})[];
|
|
301
|
+
toDOM(node: import("prosemirror-model").Node): [string, Record<string, unknown>, number];
|
|
336
302
|
} | {
|
|
337
303
|
content: string;
|
|
338
304
|
parseDOM: {
|
|
339
305
|
tag: string;
|
|
340
306
|
}[];
|
|
341
|
-
toDOM():
|
|
307
|
+
toDOM(): [string, (string | {
|
|
342
308
|
class: string;
|
|
343
|
-
})[]
|
|
309
|
+
})[], (string | number | {
|
|
310
|
+
class: string;
|
|
311
|
+
})[]];
|
|
344
312
|
} | (import("prosemirror-model").NodeSpec & {
|
|
345
313
|
parseDOM: {
|
|
346
314
|
tag: string;
|
|
@@ -352,14 +320,14 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
352
320
|
parseDOM: {
|
|
353
321
|
tag: string;
|
|
354
322
|
}[];
|
|
355
|
-
toDOM():
|
|
323
|
+
toDOM(): [string, number];
|
|
356
324
|
} | ({
|
|
357
325
|
marks: string;
|
|
358
326
|
} & import("prosemirror-model").NodeSpec) | ({
|
|
359
327
|
marks: string;
|
|
360
328
|
} & import("prosemirror-model").NodeSpec) | {
|
|
361
|
-
inline:
|
|
362
|
-
draggable:
|
|
329
|
+
inline: true;
|
|
330
|
+
draggable: true;
|
|
363
331
|
attrs: {
|
|
364
332
|
firstname: {
|
|
365
333
|
default: boolean;
|
|
@@ -382,19 +350,19 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
382
350
|
};
|
|
383
351
|
parseDOM: {
|
|
384
352
|
tag: string;
|
|
385
|
-
getAttrs(dom:
|
|
386
|
-
firstname:
|
|
387
|
-
lastname:
|
|
388
|
-
email:
|
|
389
|
-
institution:
|
|
390
|
-
id_type:
|
|
391
|
-
id_value:
|
|
353
|
+
getAttrs(dom: HTMLElement): {
|
|
354
|
+
firstname: string | boolean;
|
|
355
|
+
lastname: string | boolean;
|
|
356
|
+
email: string | boolean;
|
|
357
|
+
institution: string | boolean;
|
|
358
|
+
id_type: string | boolean;
|
|
359
|
+
id_value: string | boolean;
|
|
392
360
|
};
|
|
393
361
|
}[];
|
|
394
|
-
toDOM(node:
|
|
362
|
+
toDOM(node: import("prosemirror-model").Node): HTMLSpanElement;
|
|
395
363
|
} | {
|
|
396
|
-
inline:
|
|
397
|
-
draggable:
|
|
364
|
+
inline: true;
|
|
365
|
+
draggable: true;
|
|
398
366
|
attrs: {
|
|
399
367
|
tag: {
|
|
400
368
|
default: string;
|
|
@@ -402,13 +370,15 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
402
370
|
};
|
|
403
371
|
parseDOM: {
|
|
404
372
|
tag: string;
|
|
405
|
-
getAttrs(dom:
|
|
406
|
-
tag:
|
|
373
|
+
getAttrs(dom: HTMLElement): {
|
|
374
|
+
tag: string;
|
|
407
375
|
};
|
|
408
376
|
}[];
|
|
409
|
-
toDOM(node:
|
|
377
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
378
|
+
class: string;
|
|
379
|
+
}, any];
|
|
410
380
|
} | {
|
|
411
|
-
inline:
|
|
381
|
+
inline: true;
|
|
412
382
|
group: string;
|
|
413
383
|
attrs: {
|
|
414
384
|
footnote: {
|
|
@@ -419,17 +389,17 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
419
389
|
};
|
|
420
390
|
parseDOM: {
|
|
421
391
|
tag: string;
|
|
422
|
-
getAttrs(dom:
|
|
423
|
-
footnote:
|
|
392
|
+
getAttrs(dom: HTMLElement): {
|
|
393
|
+
footnote: unknown[];
|
|
424
394
|
};
|
|
425
395
|
}[];
|
|
426
|
-
toDOM(node:
|
|
396
|
+
toDOM(node: import("prosemirror-model").Node): HTMLSpanElement;
|
|
427
397
|
} | {
|
|
428
398
|
content: string;
|
|
429
399
|
marks: string;
|
|
430
400
|
group: string;
|
|
431
|
-
code:
|
|
432
|
-
defining:
|
|
401
|
+
code: true;
|
|
402
|
+
defining: true;
|
|
433
403
|
attrs: {
|
|
434
404
|
track: {
|
|
435
405
|
default: never[];
|
|
@@ -449,25 +419,19 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
449
419
|
};
|
|
450
420
|
parseDOM: {
|
|
451
421
|
tag: string;
|
|
452
|
-
preserveWhitespace:
|
|
453
|
-
getAttrs(dom:
|
|
454
|
-
track:
|
|
455
|
-
language:
|
|
456
|
-
category:
|
|
457
|
-
title:
|
|
458
|
-
id:
|
|
422
|
+
preserveWhitespace: "full";
|
|
423
|
+
getAttrs(dom: HTMLElement): {
|
|
424
|
+
track: import("../common/track.js").Track[];
|
|
425
|
+
language: string;
|
|
426
|
+
category: string;
|
|
427
|
+
title: string;
|
|
428
|
+
id: string;
|
|
459
429
|
};
|
|
460
430
|
}[];
|
|
461
|
-
toDOM(node:
|
|
462
|
-
"data-track": string;
|
|
463
|
-
"data-language": any;
|
|
464
|
-
"data-category": any;
|
|
465
|
-
"data-title": any;
|
|
466
|
-
"data-id": any;
|
|
467
|
-
})[];
|
|
431
|
+
toDOM(node: import("prosemirror-model").Node): [string, Record<string, unknown>, (string | number)[]];
|
|
468
432
|
} | {
|
|
469
433
|
content: string;
|
|
470
|
-
selectable:
|
|
434
|
+
selectable: false;
|
|
471
435
|
allowGapCursor: boolean;
|
|
472
436
|
attrs: {
|
|
473
437
|
documentstyle: {
|
|
@@ -554,65 +518,22 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
554
518
|
};
|
|
555
519
|
parseDOM: {
|
|
556
520
|
tag: string;
|
|
557
|
-
getAttrs(dom:
|
|
558
|
-
papersize:
|
|
559
|
-
citationstyle:
|
|
560
|
-
documentstyle:
|
|
521
|
+
getAttrs(dom: HTMLElement): {
|
|
522
|
+
papersize: string | undefined;
|
|
523
|
+
citationstyle: string | undefined;
|
|
524
|
+
documentstyle: string | undefined;
|
|
561
525
|
};
|
|
562
526
|
}[];
|
|
563
|
-
toDOM(node:
|
|
527
|
+
toDOM(node: import("prosemirror-model").Node): [string, {
|
|
564
528
|
class: string;
|
|
565
529
|
"data-papersize": any;
|
|
566
530
|
"data-citationstyle": any;
|
|
567
531
|
"data-documentstyle": any;
|
|
568
|
-
}
|
|
569
|
-
} | {
|
|
570
|
-
content: any;
|
|
571
|
-
group: string;
|
|
572
|
-
marks: string;
|
|
573
|
-
isolating: boolean;
|
|
574
|
-
attrs: {
|
|
575
|
-
title: {
|
|
576
|
-
default: string;
|
|
577
|
-
};
|
|
578
|
-
id: {
|
|
579
|
-
default: string;
|
|
580
|
-
};
|
|
581
|
-
locking: {
|
|
582
|
-
default: boolean;
|
|
583
|
-
};
|
|
584
|
-
language: {
|
|
585
|
-
default: boolean;
|
|
586
|
-
};
|
|
587
|
-
optional: {
|
|
588
|
-
default: boolean;
|
|
589
|
-
};
|
|
590
|
-
hidden: {
|
|
591
|
-
default: boolean;
|
|
592
|
-
};
|
|
593
|
-
help: {
|
|
594
|
-
default: boolean;
|
|
595
|
-
};
|
|
596
|
-
initial: {
|
|
597
|
-
default: boolean;
|
|
598
|
-
};
|
|
599
|
-
deleted: {
|
|
600
|
-
default: boolean;
|
|
601
|
-
};
|
|
602
|
-
};
|
|
603
|
-
parseDOM: {
|
|
604
|
-
tag: string;
|
|
605
|
-
getAttrs(dom: any): {
|
|
606
|
-
hidden: boolean;
|
|
607
|
-
};
|
|
608
|
-
}[];
|
|
609
|
-
toDOM(node: any): (string | number | {
|
|
610
|
-
class: string;
|
|
611
|
-
})[];
|
|
532
|
+
}, number];
|
|
612
533
|
} | {
|
|
613
534
|
group: string;
|
|
614
535
|
marks: string;
|
|
615
|
-
defining:
|
|
536
|
+
defining: true;
|
|
616
537
|
parseDOM: {
|
|
617
538
|
tag: string;
|
|
618
539
|
}[];
|
|
@@ -630,11 +551,11 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
630
551
|
default: boolean;
|
|
631
552
|
};
|
|
632
553
|
};
|
|
633
|
-
toDOM(node:
|
|
554
|
+
toDOM(node: import("prosemirror-model").Node): HTMLDivElement;
|
|
634
555
|
} | {
|
|
635
556
|
marks: string;
|
|
636
557
|
group: string;
|
|
637
|
-
defining:
|
|
558
|
+
defining: true;
|
|
638
559
|
attrs: {
|
|
639
560
|
id: {
|
|
640
561
|
default: string;
|
|
@@ -643,13 +564,13 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
643
564
|
parseDOM: {
|
|
644
565
|
tag: string;
|
|
645
566
|
}[];
|
|
646
|
-
toDOM(node:
|
|
567
|
+
toDOM(node: import("prosemirror-model").Node): HTMLHRElement;
|
|
647
568
|
} | {
|
|
648
569
|
content: string;
|
|
649
570
|
marks: string;
|
|
650
571
|
group: string;
|
|
651
|
-
defining:
|
|
652
|
-
isolating:
|
|
572
|
+
defining: true;
|
|
573
|
+
isolating: true;
|
|
653
574
|
attrs: {
|
|
654
575
|
id: {
|
|
655
576
|
default: string;
|
|
@@ -658,9 +579,9 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
658
579
|
parseDOM: {
|
|
659
580
|
tag: string;
|
|
660
581
|
}[];
|
|
661
|
-
toDOM(_node:
|
|
582
|
+
toDOM(_node: import("prosemirror-model").Node): [string, {
|
|
662
583
|
class: string;
|
|
663
|
-
}
|
|
584
|
+
}, number];
|
|
664
585
|
}>, keyof OrderedMap<import("prosemirror-model").MarkSpec | {
|
|
665
586
|
attrs: {
|
|
666
587
|
type: {
|
|
@@ -673,40 +594,37 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
673
594
|
default: string;
|
|
674
595
|
};
|
|
675
596
|
};
|
|
676
|
-
inclusive:
|
|
597
|
+
inclusive: false;
|
|
677
598
|
excludes: string;
|
|
678
599
|
group: string;
|
|
679
600
|
parseDOM: {
|
|
680
601
|
tag: string;
|
|
681
|
-
getAttrs(dom:
|
|
682
|
-
type:
|
|
683
|
-
key:
|
|
684
|
-
value:
|
|
602
|
+
getAttrs(dom: HTMLElement): {
|
|
603
|
+
type: string;
|
|
604
|
+
key: string;
|
|
605
|
+
value: string;
|
|
685
606
|
};
|
|
686
607
|
}[];
|
|
687
|
-
toDOM(node:
|
|
688
|
-
class: string;
|
|
689
|
-
"data-type": any;
|
|
690
|
-
})[];
|
|
608
|
+
toDOM(node: import("prosemirror-model").Mark): [string, Record<string, unknown>];
|
|
691
609
|
} | {
|
|
692
610
|
attrs: {
|
|
693
611
|
id: {
|
|
694
612
|
default: boolean;
|
|
695
613
|
};
|
|
696
614
|
};
|
|
697
|
-
inclusive:
|
|
615
|
+
inclusive: false;
|
|
698
616
|
excludes: string;
|
|
699
617
|
group: string;
|
|
700
618
|
parseDOM: {
|
|
701
619
|
tag: string;
|
|
702
|
-
getAttrs(dom:
|
|
620
|
+
getAttrs(dom: HTMLElement): {
|
|
703
621
|
id: number;
|
|
704
622
|
};
|
|
705
623
|
}[];
|
|
706
|
-
toDOM(node:
|
|
624
|
+
toDOM(node: import("prosemirror-model").Mark): [string, {
|
|
707
625
|
class: string;
|
|
708
626
|
"data-id": any;
|
|
709
|
-
}
|
|
627
|
+
}];
|
|
710
628
|
} | {
|
|
711
629
|
attrs: {
|
|
712
630
|
user: {
|
|
@@ -719,22 +637,22 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
719
637
|
default: number;
|
|
720
638
|
};
|
|
721
639
|
};
|
|
722
|
-
inclusive:
|
|
640
|
+
inclusive: false;
|
|
723
641
|
group: string;
|
|
724
642
|
parseDOM: {
|
|
725
643
|
tag: string;
|
|
726
|
-
getAttrs(dom:
|
|
644
|
+
getAttrs(dom: HTMLElement): {
|
|
727
645
|
user: number;
|
|
728
|
-
username:
|
|
646
|
+
username: string;
|
|
729
647
|
date: number;
|
|
730
648
|
};
|
|
731
649
|
}[];
|
|
732
|
-
toDOM(node:
|
|
650
|
+
toDOM(node: import("prosemirror-model").Mark): [string, {
|
|
733
651
|
class: string;
|
|
734
652
|
"data-user": any;
|
|
735
653
|
"data-username": any;
|
|
736
654
|
"data-date": any;
|
|
737
|
-
}
|
|
655
|
+
}];
|
|
738
656
|
} | {
|
|
739
657
|
attrs: {
|
|
740
658
|
user: {
|
|
@@ -753,26 +671,26 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
753
671
|
default: never[];
|
|
754
672
|
};
|
|
755
673
|
};
|
|
756
|
-
inclusive:
|
|
674
|
+
inclusive: false;
|
|
757
675
|
group: string;
|
|
758
676
|
parseDOM: {
|
|
759
677
|
tag: string;
|
|
760
|
-
getAttrs(dom:
|
|
678
|
+
getAttrs(dom: HTMLElement): {
|
|
761
679
|
user: number;
|
|
762
|
-
username:
|
|
680
|
+
username: string;
|
|
763
681
|
date: number;
|
|
764
682
|
before: string[];
|
|
765
683
|
after: string[];
|
|
766
684
|
};
|
|
767
685
|
}[];
|
|
768
|
-
toDOM(node:
|
|
686
|
+
toDOM(node: import("prosemirror-model").Mark): [string, {
|
|
769
687
|
class: string;
|
|
770
688
|
"data-user": any;
|
|
771
689
|
"data-username": any;
|
|
772
690
|
"data-date": any;
|
|
773
691
|
"data-before": string;
|
|
774
692
|
"data-after": string;
|
|
775
|
-
}
|
|
693
|
+
}];
|
|
776
694
|
} | {
|
|
777
695
|
attrs: {
|
|
778
696
|
user: {
|
|
@@ -788,48 +706,48 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
788
706
|
default: boolean;
|
|
789
707
|
};
|
|
790
708
|
};
|
|
791
|
-
inclusive:
|
|
709
|
+
inclusive: false;
|
|
792
710
|
group: string;
|
|
793
711
|
parseDOM: {
|
|
794
712
|
tag: string;
|
|
795
|
-
getAttrs(dom:
|
|
713
|
+
getAttrs(dom: HTMLElement): {
|
|
796
714
|
user: number;
|
|
797
|
-
username:
|
|
715
|
+
username: string;
|
|
798
716
|
date: number;
|
|
799
717
|
inline: boolean;
|
|
800
718
|
approved: boolean;
|
|
801
719
|
};
|
|
802
720
|
}[];
|
|
803
|
-
toDOM(node:
|
|
721
|
+
toDOM(node: import("prosemirror-model").Mark): [string, {
|
|
804
722
|
class: string;
|
|
805
723
|
"data-user": any;
|
|
806
724
|
"data-username": any;
|
|
807
725
|
"data-date": any;
|
|
808
|
-
}
|
|
726
|
+
}];
|
|
809
727
|
} | {
|
|
810
728
|
parseDOM: {
|
|
811
729
|
tag: string;
|
|
812
730
|
}[];
|
|
813
|
-
toDOM():
|
|
731
|
+
toDOM(): [string, {
|
|
814
732
|
class: string;
|
|
815
|
-
}
|
|
733
|
+
}, number];
|
|
816
734
|
} | {
|
|
817
735
|
parseDOM: {
|
|
818
736
|
tag: string;
|
|
819
737
|
}[];
|
|
820
|
-
toDOM():
|
|
738
|
+
toDOM(): [string, number];
|
|
821
739
|
excludes: string;
|
|
822
740
|
} | {
|
|
823
741
|
parseDOM: {
|
|
824
742
|
tag: string;
|
|
825
743
|
}[];
|
|
826
|
-
toDOM():
|
|
744
|
+
toDOM(): [string, number];
|
|
827
745
|
excludes: string;
|
|
828
746
|
} | {
|
|
829
747
|
parseDOM: {
|
|
830
748
|
tag: string;
|
|
831
749
|
}[];
|
|
832
|
-
toDOM():
|
|
750
|
+
toDOM(): [string, number];
|
|
833
751
|
excludes: string;
|
|
834
752
|
} | {
|
|
835
753
|
attrs: {
|
|
@@ -838,15 +756,15 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
838
756
|
default: string;
|
|
839
757
|
};
|
|
840
758
|
};
|
|
841
|
-
inclusive:
|
|
759
|
+
inclusive: false;
|
|
842
760
|
parseDOM: {
|
|
843
761
|
tag: string;
|
|
844
|
-
getAttrs(dom:
|
|
845
|
-
href:
|
|
846
|
-
title:
|
|
762
|
+
getAttrs(dom: HTMLElement): {
|
|
763
|
+
href: string;
|
|
764
|
+
title: string;
|
|
847
765
|
};
|
|
848
766
|
}[];
|
|
849
|
-
toDOM(node:
|
|
767
|
+
toDOM(node: import("prosemirror-model").Mark): [string, {
|
|
850
768
|
href: any;
|
|
851
769
|
title: any;
|
|
852
770
|
class?: undefined;
|
|
@@ -854,26 +772,24 @@ export const docSchema: Schema<keyof OrderedMap<import("prosemirror-model").Node
|
|
|
854
772
|
href: any;
|
|
855
773
|
title: string;
|
|
856
774
|
class: string;
|
|
857
|
-
}
|
|
775
|
+
}, number];
|
|
858
776
|
} | {
|
|
859
777
|
attrs: {
|
|
860
778
|
id: {
|
|
861
779
|
default: boolean;
|
|
862
780
|
};
|
|
863
781
|
};
|
|
864
|
-
inclusive:
|
|
782
|
+
inclusive: false;
|
|
865
783
|
group: string;
|
|
866
784
|
parseDOM: {
|
|
867
785
|
tag: string;
|
|
868
|
-
getAttrs(dom:
|
|
869
|
-
id:
|
|
786
|
+
getAttrs(dom: HTMLElement): {
|
|
787
|
+
id: string | boolean;
|
|
870
788
|
};
|
|
871
789
|
}[];
|
|
872
|
-
toDOM(node:
|
|
790
|
+
toDOM(node: import("prosemirror-model").Mark): [string, {
|
|
873
791
|
class: string;
|
|
874
792
|
"data-id": any;
|
|
875
|
-
}
|
|
793
|
+
}];
|
|
876
794
|
}>>;
|
|
877
|
-
import OrderedMap from "orderedmap";
|
|
878
|
-
import { Schema } from "prosemirror-model";
|
|
879
795
|
//# sourceMappingURL=index.d.ts.map
|