@fiduswriter/document 0.1.0-alpha.3 → 0.1.0-alpha.5
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/README.md +22 -1
- package/dist/bibliography/common.d.ts +10 -0
- package/dist/bibliography/common.d.ts.map +1 -0
- package/dist/bibliography/common.js +86 -0
- package/dist/bibliography/common.js.map +1 -0
- package/dist/bibliography/csl_bib.d.ts +3 -0
- package/dist/bibliography/csl_bib.d.ts.map +1 -0
- package/dist/bibliography/csl_bib.js +131 -0
- package/dist/bibliography/csl_bib.js.map +1 -0
- package/dist/citations/citeproc_sys.d.ts +12 -0
- package/dist/citations/citeproc_sys.d.ts.map +1 -0
- package/dist/citations/citeproc_sys.js +48 -0
- package/dist/citations/citeproc_sys.js.map +1 -0
- package/dist/citations/format.d.ts +40 -0
- package/dist/citations/format.d.ts.map +1 -0
- package/dist/citations/format.js +186 -0
- package/dist/citations/format.js.map +1 -0
- package/dist/editor/e2ee/encryptor.d.ts +123 -0
- package/dist/editor/e2ee/encryptor.d.ts.map +1 -0
- package/dist/editor/e2ee/encryptor.js +201 -0
- package/dist/editor/e2ee/encryptor.js.map +1 -0
- package/dist/exporter/docx/citations.d.ts +31 -0
- package/dist/exporter/docx/citations.d.ts.map +1 -0
- package/dist/exporter/docx/citations.js +171 -0
- package/dist/exporter/docx/citations.js.map +1 -0
- package/dist/exporter/docx/comments.d.ts +22 -0
- package/dist/exporter/docx/comments.d.ts.map +1 -0
- package/dist/exporter/docx/comments.js +170 -0
- package/dist/exporter/docx/comments.js.map +1 -0
- package/dist/exporter/docx/footnotes.d.ts +47 -0
- package/dist/exporter/docx/footnotes.d.ts.map +1 -0
- package/dist/exporter/docx/footnotes.js +216 -0
- package/dist/exporter/docx/footnotes.js.map +1 -0
- package/dist/exporter/docx/images.d.ts +25 -0
- package/dist/exporter/docx/images.d.ts.map +1 -0
- package/dist/exporter/docx/images.js +101 -0
- package/dist/exporter/docx/images.js.map +1 -0
- package/dist/exporter/docx/index.d.ts +16 -0
- package/dist/exporter/docx/index.d.ts.map +1 -0
- package/dist/exporter/docx/index.js +115 -0
- package/dist/exporter/docx/index.js.map +1 -0
- package/dist/exporter/docx/lists.d.ts +38 -0
- package/dist/exporter/docx/lists.d.ts.map +1 -0
- package/dist/exporter/docx/lists.js +276 -0
- package/dist/exporter/docx/lists.js.map +1 -0
- package/dist/exporter/docx/math.d.ts +13 -0
- package/dist/exporter/docx/math.d.ts.map +1 -0
- package/dist/exporter/docx/math.js +59 -0
- package/dist/exporter/docx/math.js.map +1 -0
- package/dist/exporter/docx/metadata.d.ts +17 -0
- package/dist/exporter/docx/metadata.d.ts.map +1 -0
- package/dist/exporter/docx/metadata.js +272 -0
- package/dist/exporter/docx/metadata.js.map +1 -0
- package/dist/exporter/docx/rels.d.ts +27 -0
- package/dist/exporter/docx/rels.d.ts.map +1 -0
- package/dist/exporter/docx/rels.js +183 -0
- package/dist/exporter/docx/rels.js.map +1 -0
- package/dist/exporter/docx/render.d.ts +22 -0
- package/dist/exporter/docx/render.d.ts.map +1 -0
- package/dist/exporter/docx/render.js +780 -0
- package/dist/exporter/docx/render.js.map +1 -0
- package/dist/exporter/docx/richtext.d.ts +25 -0
- package/dist/exporter/docx/richtext.d.ts.map +1 -0
- package/dist/exporter/docx/richtext.js +1070 -0
- package/dist/exporter/docx/richtext.js.map +1 -0
- package/dist/exporter/docx/tables.d.ts +16 -0
- package/dist/exporter/docx/tables.d.ts.map +1 -0
- package/dist/exporter/docx/tables.js +115 -0
- package/dist/exporter/docx/tables.js.map +1 -0
- package/dist/exporter/docx/tools.d.ts +4 -0
- package/dist/exporter/docx/tools.d.ts.map +1 -0
- package/dist/exporter/docx/tools.js +48 -0
- package/dist/exporter/docx/tools.js.map +1 -0
- package/dist/exporter/epub/index.d.ts +19 -0
- package/dist/exporter/epub/index.d.ts.map +1 -0
- package/dist/exporter/epub/index.js +109 -0
- package/dist/exporter/epub/index.js.map +1 -0
- package/dist/exporter/epub/templates.d.ts +63 -0
- package/dist/exporter/epub/templates.d.ts.map +1 -0
- package/dist/exporter/epub/templates.js +95 -0
- package/dist/exporter/epub/templates.js.map +1 -0
- package/dist/exporter/epub/tools.d.ts +13 -0
- package/dist/exporter/epub/tools.d.ts.map +1 -0
- package/{src → dist}/exporter/epub/tools.js +32 -46
- package/dist/exporter/epub/tools.js.map +1 -0
- package/dist/exporter/html/citations.d.ts +29 -0
- package/dist/exporter/html/citations.d.ts.map +1 -0
- package/dist/exporter/html/citations.js +110 -0
- package/dist/exporter/html/citations.js.map +1 -0
- package/dist/exporter/html/convert.d.ts +50 -0
- package/dist/exporter/html/convert.d.ts.map +1 -0
- package/dist/exporter/html/convert.js +750 -0
- package/dist/exporter/html/convert.js.map +1 -0
- package/dist/exporter/html/index.d.ts +64 -0
- package/dist/exporter/html/index.d.ts.map +1 -0
- package/dist/exporter/html/index.js +154 -0
- package/dist/exporter/html/index.js.map +1 -0
- package/dist/exporter/html/templates.d.ts +24 -0
- package/dist/exporter/html/templates.d.ts.map +1 -0
- package/dist/exporter/html/templates.js +21 -0
- package/dist/exporter/html/templates.js.map +1 -0
- package/dist/exporter/html/tools.d.ts +2 -0
- package/dist/exporter/html/tools.d.ts.map +1 -0
- package/dist/exporter/html/tools.js +49 -0
- package/dist/exporter/html/tools.js.map +1 -0
- package/dist/exporter/jats/bibliography.d.ts +3 -0
- package/dist/exporter/jats/bibliography.d.ts.map +1 -0
- package/dist/exporter/jats/bibliography.js +158 -0
- package/dist/exporter/jats/bibliography.js.map +1 -0
- package/dist/exporter/jats/citations.d.ts +16 -0
- package/dist/exporter/jats/citations.d.ts.map +1 -0
- package/dist/exporter/jats/citations.js +105 -0
- package/dist/exporter/jats/citations.js.map +1 -0
- package/dist/exporter/jats/convert.d.ts +41 -0
- package/dist/exporter/jats/convert.d.ts.map +1 -0
- package/dist/exporter/jats/convert.js +816 -0
- package/dist/exporter/jats/convert.js.map +1 -0
- package/dist/exporter/jats/index.d.ts +25 -0
- package/dist/exporter/jats/index.d.ts.map +1 -0
- package/dist/exporter/jats/index.js +82 -0
- package/dist/exporter/jats/index.js.map +1 -0
- package/dist/exporter/jats/templates.d.ts +18 -0
- package/dist/exporter/jats/templates.d.ts.map +1 -0
- package/dist/exporter/jats/templates.js +25 -0
- package/dist/exporter/jats/templates.js.map +1 -0
- package/dist/exporter/jats/text.d.ts +4 -0
- package/dist/exporter/jats/text.d.ts.map +1 -0
- package/dist/exporter/jats/text.js +72 -0
- package/dist/exporter/jats/text.js.map +1 -0
- package/dist/exporter/latex/convert.d.ts +24 -0
- package/dist/exporter/latex/convert.d.ts.map +1 -0
- package/dist/exporter/latex/convert.js +881 -0
- package/dist/exporter/latex/convert.js.map +1 -0
- package/dist/exporter/latex/escape_latex.d.ts +2 -0
- package/dist/exporter/latex/escape_latex.d.ts.map +1 -0
- package/dist/exporter/latex/escape_latex.js +20 -0
- package/dist/exporter/latex/escape_latex.js.map +1 -0
- package/dist/exporter/latex/index.d.ts +24 -0
- package/dist/exporter/latex/index.d.ts.map +1 -0
- package/dist/exporter/latex/index.js +67 -0
- package/dist/exporter/latex/index.js.map +1 -0
- package/dist/exporter/latex/readme.d.ts +2 -0
- package/dist/exporter/latex/readme.d.ts.map +1 -0
- package/dist/exporter/latex/readme.js +23 -0
- package/dist/exporter/latex/readme.js.map +1 -0
- 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 +36 -0
- package/dist/exporter/native/shrink.d.ts.map +1 -0
- package/dist/exporter/native/shrink.js +124 -0
- package/dist/exporter/native/shrink.js.map +1 -0
- 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 +21 -0
- package/dist/exporter/odt/citations.d.ts.map +1 -0
- package/dist/exporter/odt/citations.js +104 -0
- package/dist/exporter/odt/citations.js.map +1 -0
- package/dist/exporter/odt/footnotes.d.ts +31 -0
- package/dist/exporter/odt/footnotes.d.ts.map +1 -0
- package/dist/exporter/odt/footnotes.js +129 -0
- package/dist/exporter/odt/footnotes.js.map +1 -0
- package/dist/exporter/odt/images.d.ts +25 -0
- package/dist/exporter/odt/images.d.ts.map +1 -0
- package/dist/exporter/odt/images.js +106 -0
- package/dist/exporter/odt/images.js.map +1 -0
- package/dist/exporter/odt/index.d.ts +17 -0
- package/dist/exporter/odt/index.d.ts.map +1 -0
- package/dist/exporter/odt/index.js +108 -0
- package/dist/exporter/odt/index.js.map +1 -0
- package/dist/exporter/odt/math.d.ts +15 -0
- package/dist/exporter/odt/math.d.ts.map +1 -0
- package/dist/exporter/odt/math.js +71 -0
- package/dist/exporter/odt/math.js.map +1 -0
- package/dist/exporter/odt/metadata.d.ts +18 -0
- package/dist/exporter/odt/metadata.d.ts.map +1 -0
- package/dist/exporter/odt/metadata.js +224 -0
- package/dist/exporter/odt/metadata.js.map +1 -0
- package/dist/exporter/odt/render.d.ts +26 -0
- package/dist/exporter/odt/render.d.ts.map +1 -0
- package/dist/exporter/odt/render.js +651 -0
- package/dist/exporter/odt/render.js.map +1 -0
- package/dist/exporter/odt/richtext.d.ts +22 -0
- package/dist/exporter/odt/richtext.d.ts.map +1 -0
- package/dist/exporter/odt/richtext.js +743 -0
- package/dist/exporter/odt/richtext.js.map +1 -0
- package/dist/exporter/odt/styles.d.ts +41 -0
- package/dist/exporter/odt/styles.d.ts.map +1 -0
- package/dist/exporter/odt/styles.js +370 -0
- package/dist/exporter/odt/styles.js.map +1 -0
- package/dist/exporter/odt/track.d.ts +18 -0
- package/dist/exporter/odt/track.d.ts.map +1 -0
- package/dist/exporter/odt/track.js +66 -0
- package/dist/exporter/odt/track.js.map +1 -0
- package/dist/exporter/pandoc/citations.d.ts +23 -0
- package/dist/exporter/pandoc/citations.d.ts.map +1 -0
- package/dist/exporter/pandoc/citations.js +99 -0
- package/dist/exporter/pandoc/citations.js.map +1 -0
- package/dist/exporter/pandoc/convert.d.ts +19 -0
- package/dist/exporter/pandoc/convert.d.ts.map +1 -0
- package/dist/exporter/pandoc/convert.js +886 -0
- package/dist/exporter/pandoc/convert.js.map +1 -0
- package/dist/exporter/pandoc/index.d.ts +25 -0
- package/dist/exporter/pandoc/index.d.ts.map +1 -0
- package/dist/exporter/pandoc/index.js +79 -0
- package/dist/exporter/pandoc/index.js.map +1 -0
- package/dist/exporter/pandoc/readme.d.ts +2 -0
- package/dist/exporter/pandoc/readme.d.ts.map +1 -0
- package/dist/exporter/pandoc/readme.js +8 -0
- package/dist/exporter/pandoc/readme.js.map +1 -0
- package/dist/exporter/pandoc/tools.d.ts +22 -0
- package/dist/exporter/pandoc/tools.d.ts.map +1 -0
- package/dist/exporter/pandoc/tools.js +52 -0
- package/dist/exporter/pandoc/tools.js.map +1 -0
- package/dist/exporter/print/index.d.ts +20 -0
- package/dist/exporter/print/index.d.ts.map +1 -0
- package/dist/exporter/print/index.js +142 -0
- package/dist/exporter/print/index.js.map +1 -0
- package/dist/exporter/tools/doc_content.d.ts +6 -0
- package/dist/exporter/tools/doc_content.d.ts.map +1 -0
- package/dist/exporter/tools/doc_content.js +130 -0
- package/dist/exporter/tools/doc_content.js.map +1 -0
- package/dist/exporter/tools/file.d.ts +2 -0
- package/dist/exporter/tools/file.d.ts.map +1 -0
- package/dist/exporter/tools/file.js +10 -0
- package/dist/exporter/tools/file.js.map +1 -0
- package/dist/exporter/tools/json.d.ts +7 -0
- package/dist/exporter/tools/json.d.ts.map +1 -0
- package/dist/exporter/tools/json.js +82 -0
- package/dist/exporter/tools/json.js.map +1 -0
- package/dist/exporter/tools/svg.d.ts +8 -0
- package/dist/exporter/tools/svg.d.ts.map +1 -0
- package/dist/exporter/tools/svg.js +26 -0
- package/dist/exporter/tools/svg.js.map +1 -0
- package/dist/exporter/tools/xml.d.ts +42 -0
- package/dist/exporter/tools/xml.d.ts.map +1 -0
- package/dist/exporter/tools/xml.js +467 -0
- package/dist/exporter/tools/xml.js.map +1 -0
- package/dist/exporter/tools/xml_zip.d.ts +21 -0
- package/dist/exporter/tools/xml_zip.d.ts.map +1 -0
- package/dist/exporter/tools/xml_zip.js +92 -0
- package/dist/exporter/tools/xml_zip.js.map +1 -0
- package/dist/exporter/tools/zip.d.ts +35 -0
- package/dist/exporter/tools/zip.d.ts.map +1 -0
- package/dist/exporter/tools/zip.js +78 -0
- package/dist/exporter/tools/zip.js.map +1 -0
- package/dist/exporter/tools/zotero_csl.d.ts +23 -0
- package/dist/exporter/tools/zotero_csl.d.ts.map +1 -0
- package/dist/exporter/tools/zotero_csl.js +78 -0
- package/dist/exporter/tools/zotero_csl.js.map +1 -0
- package/dist/importer/citations.d.ts +28 -0
- package/dist/importer/citations.d.ts.map +1 -0
- package/dist/importer/citations.js +68 -0
- package/dist/importer/citations.js.map +1 -0
- package/dist/importer/docx/citations.d.ts +43 -0
- package/dist/importer/docx/citations.d.ts.map +1 -0
- package/dist/importer/docx/citations.js +81 -0
- package/dist/importer/docx/citations.js.map +1 -0
- package/dist/importer/docx/convert.d.ts +150 -0
- package/dist/importer/docx/convert.d.ts.map +1 -0
- package/dist/importer/docx/convert.js +1243 -0
- package/dist/importer/docx/convert.js.map +1 -0
- package/dist/importer/docx/helpers.d.ts +2 -0
- package/dist/importer/docx/helpers.d.ts.map +1 -0
- package/dist/importer/docx/helpers.js +10 -0
- package/dist/importer/docx/helpers.js.map +1 -0
- 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 +6 -0
- package/dist/importer/docx/omml2mathml.d.ts.map +1 -0
- package/dist/importer/docx/omml2mathml.js +1146 -0
- package/dist/importer/docx/omml2mathml.js.map +1 -0
- package/dist/importer/docx/parse.d.ts +96 -0
- package/dist/importer/docx/parse.d.ts.map +1 -0
- package/dist/importer/docx/parse.js +681 -0
- package/dist/importer/docx/parse.js.map +1 -0
- 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 +21 -0
- package/dist/importer/native/get_images.d.ts.map +1 -0
- package/dist/importer/native/get_images.js +58 -0
- package/dist/importer/native/get_images.js.map +1 -0
- 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 +7 -0
- package/dist/importer/native/update.d.ts.map +1 -0
- package/dist/importer/native/update.js +27 -0
- package/dist/importer/native/update.js.map +1 -0
- 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 +27 -0
- package/dist/importer/odt/citations.d.ts.map +1 -0
- package/dist/importer/odt/citations.js +57 -0
- package/dist/importer/odt/citations.js.map +1 -0
- package/dist/importer/odt/convert.d.ts +146 -0
- package/dist/importer/odt/convert.d.ts.map +1 -0
- package/dist/importer/odt/convert.js +1530 -0
- package/dist/importer/odt/convert.js.map +1 -0
- 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 +32 -0
- package/dist/importer/pandoc/convert.d.ts.map +1 -0
- package/dist/importer/pandoc/convert.js +790 -0
- package/dist/importer/pandoc/convert.js.map +1 -0
- package/dist/importer/pandoc/helpers.d.ts +5 -0
- package/dist/importer/pandoc/helpers.d.ts.map +1 -0
- package/dist/importer/pandoc/helpers.js +73 -0
- package/dist/importer/pandoc/helpers.js.map +1 -0
- 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 +31 -0
- package/dist/importer/zip_analyzer.d.ts.map +1 -0
- package/dist/importer/zip_analyzer.js +89 -0
- package/dist/importer/zip_analyzer.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/mathlive/opf_includes.d.ts +2 -0
- package/dist/mathlive/opf_includes.d.ts.map +1 -0
- package/dist/mathlive/opf_includes.js +25 -0
- package/dist/mathlive/opf_includes.js.map +1 -0
- package/dist/schema/common/annotate.d.ts +47 -0
- package/dist/schema/common/annotate.d.ts.map +1 -0
- package/dist/schema/common/annotate.js +75 -0
- package/dist/schema/common/annotate.js.map +1 -0
- package/dist/schema/common/base.d.ts +91 -0
- package/dist/schema/common/base.d.ts.map +1 -0
- package/dist/schema/common/base.js +109 -0
- package/dist/schema/common/base.js.map +1 -0
- package/dist/schema/common/citation.d.ts +30 -0
- package/dist/schema/common/citation.d.ts.map +1 -0
- package/dist/schema/common/citation.js +61 -0
- package/dist/schema/common/citation.js.map +1 -0
- package/dist/schema/common/equation.d.ts +17 -0
- package/dist/schema/common/equation.d.ts.map +1 -0
- package/dist/schema/common/equation.js +32 -0
- package/dist/schema/common/equation.js.map +1 -0
- package/dist/schema/common/figure.d.ts +87 -0
- package/dist/schema/common/figure.d.ts.map +1 -0
- package/dist/schema/common/figure.js +178 -0
- package/dist/schema/common/figure.js.map +1 -0
- package/dist/schema/common/heading.d.ts +9 -0
- package/dist/schema/common/heading.d.ts.map +1 -0
- package/dist/schema/common/heading.js +41 -0
- package/dist/schema/common/heading.js.map +1 -0
- package/dist/schema/common/index.d.ts +11 -0
- package/dist/schema/common/index.d.ts.map +1 -0
- package/dist/schema/common/index.js +11 -0
- package/dist/schema/common/index.js.map +1 -0
- package/dist/schema/common/list.d.ts +63 -0
- package/dist/schema/common/list.d.ts.map +1 -0
- package/dist/schema/common/list.js +92 -0
- package/dist/schema/common/list.js.map +1 -0
- package/dist/schema/common/reference.d.ts +70 -0
- package/dist/schema/common/reference.d.ts.map +1 -0
- package/dist/schema/common/reference.js +97 -0
- package/dist/schema/common/reference.js.map +1 -0
- package/dist/schema/common/table.d.ts +76 -0
- package/dist/schema/common/table.d.ts.map +1 -0
- package/dist/schema/common/table.js +86 -0
- package/dist/schema/common/table.js.map +1 -0
- package/dist/schema/common/track.d.ts +117 -0
- package/dist/schema/common/track.d.ts.map +1 -0
- package/{src → dist}/schema/common/track.js +44 -49
- package/dist/schema/common/track.js.map +1 -0
- package/dist/schema/const.d.ts +3 -0
- package/dist/schema/const.d.ts.map +1 -0
- package/{src → dist}/schema/const.js +3 -3
- package/dist/schema/const.js.map +1 -0
- package/dist/schema/convert.d.ts +3 -0
- package/dist/schema/convert.d.ts.map +1 -0
- package/dist/schema/convert.js +1215 -0
- package/dist/schema/convert.js.map +1 -0
- package/dist/schema/document/content.d.ts +110 -0
- package/dist/schema/document/content.d.ts.map +1 -0
- package/dist/schema/document/content.js +177 -0
- package/dist/schema/document/content.js.map +1 -0
- package/dist/schema/document/index.d.ts +795 -0
- package/dist/schema/document/index.d.ts.map +1 -0
- package/dist/schema/document/index.js +68 -0
- package/dist/schema/document/index.js.map +1 -0
- package/dist/schema/document/structure.d.ts +164 -0
- package/dist/schema/document/structure.d.ts.map +1 -0
- package/dist/schema/document/structure.js +445 -0
- package/dist/schema/document/structure.js.map +1 -0
- package/dist/schema/export.d.ts +7 -0
- package/dist/schema/export.d.ts.map +1 -0
- package/dist/schema/export.js +17 -0
- package/dist/schema/export.js.map +1 -0
- package/dist/schema/footnotes.d.ts +454 -0
- package/dist/schema/footnotes.d.ts.map +1 -0
- package/dist/schema/footnotes.js +90 -0
- package/dist/schema/footnotes.js.map +1 -0
- package/dist/schema/footnotes_convert.d.ts +5 -0
- package/dist/schema/footnotes_convert.d.ts.map +1 -0
- package/dist/schema/footnotes_convert.js +30 -0
- package/dist/schema/footnotes_convert.js.map +1 -0
- package/dist/schema/i18n.d.ts +55 -0
- package/dist/schema/i18n.d.ts.map +1 -0
- package/{src → dist}/schema/i18n.js +14 -23
- package/dist/schema/i18n.js.map +1 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/index.js +6 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/schema/mini_json.d.ts +4 -0
- package/dist/schema/mini_json.d.ts.map +1 -0
- package/{src → dist}/schema/mini_json.js +19 -28
- package/dist/schema/mini_json.js.map +1 -0
- package/dist/schema/text.d.ts +3 -0
- package/dist/schema/text.d.ts.map +1 -0
- package/dist/schema/text.js +23 -0
- package/dist/schema/text.js.map +1 -0
- package/dist/types.d.ts +281 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +9 -0
- package/dist/types.js.map +1 -0
- package/package.json +51 -16
- package/scripts/export-schema.js +1 -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.ts +102 -0
- 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/{file.js → file.ts} +1 -1
- package/src/exporter/tools/{json.js → json.ts} +30 -19
- 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 +13 -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.ts +201 -0
- package/src/schema/const.ts +58 -0
- 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.ts +601 -0
- package/src/schema/mini_json.ts +60 -0
- package/src/schema/{text.js → text.ts} +6 -2
- package/src/types.ts +314 -0
- package/jest.config.js +0 -24
- 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/{index.js → index.ts} +0 -0
- /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,30 +1,27 @@
|
|
|
1
1
|
export function getTimestamp(date) {
|
|
2
|
-
let second = date.getUTCSeconds()
|
|
3
|
-
let minute = date.getUTCMinutes()
|
|
4
|
-
let hour = date.getUTCHours()
|
|
5
|
-
let day = date.getUTCDate()
|
|
6
|
-
let month = date.getUTCMonth() + 1 //January is 0!
|
|
7
|
-
const year = date.getUTCFullYear()
|
|
8
|
-
|
|
2
|
+
let second = date.getUTCSeconds();
|
|
3
|
+
let minute = date.getUTCMinutes();
|
|
4
|
+
let hour = date.getUTCHours();
|
|
5
|
+
let day = date.getUTCDate();
|
|
6
|
+
let month = date.getUTCMonth() + 1; // January is 0!
|
|
7
|
+
const year = date.getUTCFullYear();
|
|
9
8
|
if (second < 10) {
|
|
10
|
-
second = "0" + second
|
|
9
|
+
second = Number("0" + second);
|
|
11
10
|
}
|
|
12
11
|
if (minute < 10) {
|
|
13
|
-
minute = "0" + minute
|
|
12
|
+
minute = Number("0" + minute);
|
|
14
13
|
}
|
|
15
14
|
if (hour < 10) {
|
|
16
|
-
hour = "0" + hour
|
|
15
|
+
hour = Number("0" + hour);
|
|
17
16
|
}
|
|
18
17
|
if (day < 10) {
|
|
19
|
-
day = "0" + day
|
|
18
|
+
day = Number("0" + day);
|
|
20
19
|
}
|
|
21
20
|
if (month < 10) {
|
|
22
|
-
month = "0" + month
|
|
21
|
+
month = Number("0" + month);
|
|
23
22
|
}
|
|
24
|
-
|
|
25
|
-
return `${year}-${month}-${day}T${hour}:${minute}:${second}Z`
|
|
23
|
+
return `${year}-${month}-${day}T${hour}:${minute}:${second}Z`;
|
|
26
24
|
}
|
|
27
|
-
|
|
28
25
|
export function getFontMimeType(filename) {
|
|
29
26
|
// Define a mapping of font file extensions to MIME types
|
|
30
27
|
const fontMimeTypes = {
|
|
@@ -33,15 +30,12 @@ export function getFontMimeType(filename) {
|
|
|
33
30
|
woff: "font/woff",
|
|
34
31
|
woff2: "font/woff2",
|
|
35
32
|
eot: "application/vnd.ms-fontobject"
|
|
36
|
-
}
|
|
37
|
-
|
|
33
|
+
};
|
|
38
34
|
// Extract the file extension from the filename
|
|
39
|
-
const extension = filename.split(".").pop()
|
|
40
|
-
|
|
35
|
+
const extension = filename.split(".").pop()?.toLowerCase();
|
|
41
36
|
// Check if the extension matches a known font type and return the MIME type
|
|
42
|
-
return fontMimeTypes[extension] || null
|
|
37
|
+
return extension ? fontMimeTypes[extension] || null : null;
|
|
43
38
|
}
|
|
44
|
-
|
|
45
39
|
export function getImageMimeType(filename) {
|
|
46
40
|
// Define a mapping of image file extensions to MIME types
|
|
47
41
|
const imageMimeTypes = {
|
|
@@ -55,42 +49,34 @@ export function getImageMimeType(filename) {
|
|
|
55
49
|
svg: "image/svg+xml",
|
|
56
50
|
ico: "image/vnd.microsoft.icon",
|
|
57
51
|
avif: "image/avif"
|
|
58
|
-
}
|
|
59
|
-
|
|
52
|
+
};
|
|
60
53
|
// Extract the file extension from the filename
|
|
61
|
-
const extension = filename.split(".").pop()
|
|
62
|
-
|
|
54
|
+
const extension = filename.split(".").pop()?.toLowerCase();
|
|
63
55
|
// Check if the extension matches a known image type and return the MIME type
|
|
64
|
-
return imageMimeTypes[extension] || null
|
|
56
|
+
return extension ? imageMimeTypes[extension] || null : null;
|
|
65
57
|
}
|
|
66
|
-
|
|
67
58
|
export function buildHierarchy(flatList) {
|
|
68
|
-
const hierarchy = []
|
|
69
|
-
const levelMap = {}
|
|
70
|
-
|
|
59
|
+
const hierarchy = [];
|
|
60
|
+
const levelMap = {};
|
|
71
61
|
flatList.forEach(item => {
|
|
72
62
|
// Ensure there's an array for the current level in the map
|
|
73
|
-
levelMap[item.level] = levelMap[item.level] || []
|
|
74
|
-
|
|
63
|
+
levelMap[item.level] = levelMap[item.level] || [];
|
|
75
64
|
// Add the current item to its level in the map
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
const itemWithChildren = { ...item, children: [] };
|
|
66
|
+
levelMap[item.level].push(itemWithChildren);
|
|
78
67
|
if (item.level === 0) {
|
|
79
68
|
// Top-level items are added directly to the hierarchy
|
|
80
|
-
hierarchy.push(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} else {
|
|
69
|
+
hierarchy.push(itemWithChildren);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
84
72
|
// Non-top-level items are added as children of the last item at the previous level
|
|
85
|
-
const parentLevel = levelMap[item.level - 1]
|
|
73
|
+
const parentLevel = levelMap[item.level - 1];
|
|
86
74
|
if (parentLevel) {
|
|
87
|
-
const parent = parentLevel[parentLevel.length - 1]
|
|
88
|
-
parent.children.push(
|
|
89
|
-
levelMap[item.level][levelMap[item.level].length - 1]
|
|
90
|
-
)
|
|
75
|
+
const parent = parentLevel[parentLevel.length - 1];
|
|
76
|
+
parent.children.push(itemWithChildren);
|
|
91
77
|
}
|
|
92
78
|
}
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
return hierarchy
|
|
79
|
+
});
|
|
80
|
+
return hierarchy;
|
|
96
81
|
}
|
|
82
|
+
//# sourceMappingURL=tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../../src/exporter/epub/tools.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,Y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EAAC,CAAA;QAC/D,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;QAE3C,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE,CAAC;YACnB,sDAAsD;YACtD,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;QACpC,CAAC;aAAM,CAAC;YACJ,mFAAmF;YACnF,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;YAC5C,IAAI,WAAW,EAAE,CAAC;gBACd,MAAM,MAAM,GAAG,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;gBAClD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;YAC1C,CAAC;QACL,CAAC;IACL,CAAC,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;AACpB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FormatCitations } from "../../citations/format.js";
|
|
2
|
+
import type { BibDB, CSL, DocSettings } from "../../types.js";
|
|
3
|
+
export declare class HTMLExporterCitations {
|
|
4
|
+
docSettings: DocSettings;
|
|
5
|
+
bibDB: BibDB;
|
|
6
|
+
csl: CSL;
|
|
7
|
+
citationTexts: string[];
|
|
8
|
+
citFm: FormatCitations | false;
|
|
9
|
+
bibHTML: string;
|
|
10
|
+
bibCSS: string;
|
|
11
|
+
htmlIdConvert: Record<string, number>;
|
|
12
|
+
citInfos: Record<string, unknown>[];
|
|
13
|
+
constructor(docSettings: DocSettings, bibDB: BibDB, csl: CSL);
|
|
14
|
+
init(citInfos: Record<string, unknown>[]): Promise<{
|
|
15
|
+
type: string;
|
|
16
|
+
bibCSS: string;
|
|
17
|
+
bibHTML: string;
|
|
18
|
+
citationTexts: string[];
|
|
19
|
+
}>;
|
|
20
|
+
getOutput(): {
|
|
21
|
+
type: string;
|
|
22
|
+
bibCSS: string;
|
|
23
|
+
bibHTML: string;
|
|
24
|
+
citationTexts: string[];
|
|
25
|
+
};
|
|
26
|
+
formatCitations(): Promise<void>;
|
|
27
|
+
assembleBib(citFm: FormatCitations, bibliography: import("../../types.js").BibliographyResult): void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=citations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"citations.d.ts","sourceRoot":"","sources":["../../../src/exporter/html/citations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAA;AAEzD,OAAO,KAAK,EAAC,KAAK,EAAE,GAAG,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAc3D,qBAAa,qBAAqB;IAC9B,WAAW,EAAE,WAAW,CAAA;IACxB,KAAK,EAAE,KAAK,CAAA;IACZ,GAAG,EAAE,GAAG,CAAA;IAER,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,KAAK,EAAE,eAAe,GAAG,KAAK,CAAA;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;gBAEvB,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG;IAatD,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC;QACrD,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,MAAM,CAAA;QACf,aAAa,EAAE,MAAM,EAAE,CAAA;KAC1B,CAAC;IASF,SAAS,IAAI;QACT,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,MAAM,CAAA;QACf,aAAa,EAAE,MAAM,EAAE,CAAA;KAC1B;IAWK,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IA+EtC,WAAW,CAAC,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,gBAAgB,EAAE,kBAAkB,GAAG,IAAI;CAgBvG"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { escapeText } from "fwtoolkit";
|
|
2
|
+
import { FormatCitations } from "../../citations/format.js";
|
|
3
|
+
import { BIBLIOGRAPHY_HEADERS } from "../../schema/i18n.js";
|
|
4
|
+
export class HTMLExporterCitations {
|
|
5
|
+
docSettings;
|
|
6
|
+
bibDB;
|
|
7
|
+
csl;
|
|
8
|
+
citationTexts;
|
|
9
|
+
citFm;
|
|
10
|
+
bibHTML;
|
|
11
|
+
bibCSS;
|
|
12
|
+
htmlIdConvert;
|
|
13
|
+
citInfos;
|
|
14
|
+
constructor(docSettings, bibDB, csl) {
|
|
15
|
+
this.docSettings = docSettings;
|
|
16
|
+
this.bibDB = bibDB;
|
|
17
|
+
this.csl = csl;
|
|
18
|
+
this.citationTexts = [];
|
|
19
|
+
this.citFm = false;
|
|
20
|
+
this.bibHTML = "";
|
|
21
|
+
this.bibCSS = "";
|
|
22
|
+
this.htmlIdConvert = {};
|
|
23
|
+
this.citInfos = [];
|
|
24
|
+
}
|
|
25
|
+
async init(citInfos) {
|
|
26
|
+
this.citInfos = citInfos;
|
|
27
|
+
if (!citInfos.length) {
|
|
28
|
+
return this.getOutput();
|
|
29
|
+
}
|
|
30
|
+
await this.formatCitations();
|
|
31
|
+
return this.getOutput();
|
|
32
|
+
}
|
|
33
|
+
getOutput() {
|
|
34
|
+
return {
|
|
35
|
+
type: this.citFm ? this.citFm.citationType : "",
|
|
36
|
+
bibCSS: this.bibCSS,
|
|
37
|
+
bibHTML: this.bibHTML,
|
|
38
|
+
citationTexts: this.citationTexts
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
// Citations are highly interdependent -- so we need to format them all
|
|
42
|
+
// together before laying out the document.
|
|
43
|
+
async formatCitations() {
|
|
44
|
+
if (!this.csl.getStyle) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const citationstyle = await this.csl.getStyle(this.docSettings.citationstyle || "");
|
|
48
|
+
const modStyle = JSON.parse(JSON.stringify(citationstyle));
|
|
49
|
+
const citationLayout = modStyle.children
|
|
50
|
+
.find(section => section.name === "citation")
|
|
51
|
+
.children.find(section => section.name === "layout").attrs;
|
|
52
|
+
const origCitationLayout = JSON.parse(JSON.stringify(citationLayout));
|
|
53
|
+
citationLayout.prefix = "{{prefix}}";
|
|
54
|
+
citationLayout.suffix = "{{suffix}}";
|
|
55
|
+
citationLayout.delimiter = "{{delimiter}}";
|
|
56
|
+
const citFm = new FormatCitations(this.csl, this.citInfos, modStyle, "", this.bibDB, false, this.docSettings.language);
|
|
57
|
+
this.citFm = citFm;
|
|
58
|
+
await citFm.init();
|
|
59
|
+
// We need to add links to the bibliography items. And there may be more than one work cited
|
|
60
|
+
// so we need to first split, then add the links and eventually put the citation back together
|
|
61
|
+
// again.
|
|
62
|
+
// The IDs used in the html bibliography are 1 and up in this order
|
|
63
|
+
const bibliography = citFm.bibliography;
|
|
64
|
+
if (!bibliography) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
bibliography[0].entry_ids.forEach((id, index) => (this.htmlIdConvert[id] = index + 1));
|
|
68
|
+
this.citationTexts = citFm.citationTexts.map((ref, index) => {
|
|
69
|
+
const content = ref
|
|
70
|
+
.split("{{delimiter}}")
|
|
71
|
+
.map((citationText, conIndex) => {
|
|
72
|
+
const prefixSplit = citationText.split("{{prefix}}");
|
|
73
|
+
const prefix = prefixSplit.length > 1
|
|
74
|
+
? prefixSplit.shift() +
|
|
75
|
+
(origCitationLayout.prefix || "")
|
|
76
|
+
: "";
|
|
77
|
+
citationText = prefixSplit[0];
|
|
78
|
+
const suffixSplit = citationText.split("{{suffix}}");
|
|
79
|
+
const suffix = suffixSplit.length > 1
|
|
80
|
+
? (origCitationLayout.suffix || "") +
|
|
81
|
+
suffixSplit.pop()
|
|
82
|
+
: "";
|
|
83
|
+
citationText = suffixSplit[0];
|
|
84
|
+
const sortedItems = (citFm.citations[index].sortedItems);
|
|
85
|
+
const citId = sortedItems[conIndex][1].id;
|
|
86
|
+
const htmlId = this.htmlIdConvert[citId];
|
|
87
|
+
return `${prefix}<a class="bibliography" href="#ref-${htmlId}">${citationText}</a>${suffix}`;
|
|
88
|
+
})
|
|
89
|
+
.join(origCitationLayout.delimiter || "");
|
|
90
|
+
return content;
|
|
91
|
+
});
|
|
92
|
+
if (bibliography?.length &&
|
|
93
|
+
bibliography[0].entry_ids.length) {
|
|
94
|
+
this.assembleBib(citFm, bibliography);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
assembleBib(citFm, bibliography) {
|
|
98
|
+
const bibliographyHeader = this.docSettings.bibliography_header?.[this.docSettings.language || "en-US"] ||
|
|
99
|
+
BIBLIOGRAPHY_HEADERS[this.docSettings.language || "en-US"];
|
|
100
|
+
let bibHTML = `<h1 class="doc-bibliography-header">${escapeText(bibliographyHeader || "Bibliography")}</h1>`;
|
|
101
|
+
bibHTML += bibliography[0].bibstart;
|
|
102
|
+
bibHTML += bibliography[1]
|
|
103
|
+
.map((reference, index) => `<div id="ref-${index + 1}">${reference}</div>`)
|
|
104
|
+
.join("");
|
|
105
|
+
bibHTML += bibliography[0].bibend;
|
|
106
|
+
this.bibHTML = bibHTML;
|
|
107
|
+
this.bibCSS = citFm.bibCSS;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=citations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"citations.js","sourceRoot":"","sources":["../../../src/exporter/html/citations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAA;AACzD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js";
|
|
2
|
+
export declare class HTMLExporterConvert {
|
|
3
|
+
docTitle: string;
|
|
4
|
+
docSettings: DocSettings;
|
|
5
|
+
docContent: FidusNode;
|
|
6
|
+
htmlExportTemplate: any;
|
|
7
|
+
imageDB: any;
|
|
8
|
+
bibDB: BibDB;
|
|
9
|
+
csl: CSL;
|
|
10
|
+
styleSheets: any[];
|
|
11
|
+
xhtml: boolean;
|
|
12
|
+
epub: boolean;
|
|
13
|
+
relativeUrls: boolean;
|
|
14
|
+
footnoteNumbering: string;
|
|
15
|
+
affiliationNumbering: string;
|
|
16
|
+
endSlash: string;
|
|
17
|
+
imageIds: string[];
|
|
18
|
+
categoryCounter: Record<string, number>;
|
|
19
|
+
affiliations: Record<string, number>;
|
|
20
|
+
parCounter: number;
|
|
21
|
+
headingCounter: number;
|
|
22
|
+
currentSectionLevel: number;
|
|
23
|
+
listCounter: number;
|
|
24
|
+
orderedListLengths: number[];
|
|
25
|
+
footnotes: string[];
|
|
26
|
+
fnCounter: number;
|
|
27
|
+
affCounter: number;
|
|
28
|
+
metaData: any;
|
|
29
|
+
features: {
|
|
30
|
+
math: boolean;
|
|
31
|
+
bibliography: boolean;
|
|
32
|
+
};
|
|
33
|
+
citations: any;
|
|
34
|
+
citInfos: any[];
|
|
35
|
+
citationCount: number;
|
|
36
|
+
extraStyleSheets: any[];
|
|
37
|
+
idPrefix: string;
|
|
38
|
+
constructor(docTitle: string, docSettings: DocSettings, docContent: FidusNode, htmlExportTemplate: any, imageDB: any, bibDB: BibDB, csl: CSL, styleSheets: any[], { xhtml, epub, relativeUrls, // Whether to use relative urls for images, css files, etc. Is used when bundled in HTML. Not in print.
|
|
39
|
+
footnoteNumbering, affiliationNumbering, idPrefix, footnoteOffset, affiliationOffset, figureOffset }?: any);
|
|
40
|
+
init(): Promise<any>;
|
|
41
|
+
processCitInfos(): Promise<void>;
|
|
42
|
+
process(): Promise<any>;
|
|
43
|
+
analyze(node: any): void;
|
|
44
|
+
assembleHead(): string;
|
|
45
|
+
textWalkJson(node: any): string;
|
|
46
|
+
walkJson(node: any, options?: any): string;
|
|
47
|
+
assembleBody(): string;
|
|
48
|
+
assembleBack(): string;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=convert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../../../src/exporter/html/convert.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAKtE,qBAAa,mBAAmB;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,WAAW,CAAA;IACxB,UAAU,EAAE,SAAS,CAAA;IACrB,kBAAkB,EAAE,GAAG,CAAA;IACvB,OAAO,EAAE,GAAG,CAAA;IACZ,KAAK,EAAE,KAAK,CAAA;IACZ,GAAG,EAAE,GAAG,CAAA;IACR,WAAW,EAAE,GAAG,EAAE,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,OAAO,CAAA;IACrB,iBAAiB,EAAE,MAAM,CAAA;IACzB,oBAAoB,EAAE,MAAM,CAAA;IAE5B,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAA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