@harbour-enterprises/superdoc 0.31.0-next.1 → 0.31.0-next.11
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/chunks/{PdfViewer-CSZtzevK.cjs → PdfViewer-D9P6oSyP.cjs} +2 -2
- package/dist/chunks/{PdfViewer-DYfpBL2P.es.js → PdfViewer-DrGdcxMi.es.js} +2 -2
- package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
- package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
- package/dist/chunks/{index-BiYSI2c3.es.js → index-8TkBu9O_.es.js} +6 -6
- package/dist/chunks/{index-9j37gBmK.cjs → index-ZC9yiay1.cjs} +6 -6
- package/dist/chunks/{index-0zP7LFOd-CQ5IRTwG.es.js → index-hUtaGvC8-Vf8Tdemp.es.js} +1 -1
- package/dist/chunks/{index-0zP7LFOd-PDPveafF.cjs → index-hUtaGvC8-aunRWvRG.cjs} +1 -1
- package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
- package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
- package/dist/chunks/{super-editor.es-D8j9E-4h.cjs → super-editor.es-4uI_8knu.cjs} +4590 -4487
- package/dist/chunks/{super-editor.es-BzhuUuJx.es.js → super-editor.es-DS6vzo6Y.es.js} +4543 -4440
- package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
- package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
- package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
- package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
- package/dist/images/altText_add.svg +3 -0
- package/dist/images/altText_disclaimer.svg +3 -0
- package/dist/images/altText_done.svg +3 -0
- package/dist/images/altText_spinner.svg +30 -0
- package/dist/images/altText_warning.svg +3 -0
- package/dist/images/annotation-check.svg +11 -0
- package/dist/images/annotation-comment.svg +16 -0
- package/dist/images/annotation-help.svg +26 -0
- package/dist/images/annotation-insert.svg +10 -0
- package/dist/images/annotation-key.svg +11 -0
- package/dist/images/annotation-newparagraph.svg +11 -0
- package/dist/images/annotation-noicon.svg +7 -0
- package/dist/images/annotation-note.svg +42 -0
- package/dist/images/annotation-paperclip.svg +6 -0
- package/dist/images/annotation-paragraph.svg +16 -0
- package/dist/images/annotation-pushpin.svg +7 -0
- package/dist/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/images/cursor-editorFreeText.svg +3 -0
- package/dist/images/cursor-editorInk.svg +4 -0
- package/dist/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/images/editor-toolbar-delete.svg +5 -0
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +3 -0
- package/dist/images/messageBar_warning.svg +3 -0
- package/dist/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +140 -52
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +140 -52
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/style.css +12 -9
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B3mE6WPB.js → converter-DNZlAyEp.js} +1658 -1447
- package/dist/super-editor/chunks/{docx-zipper-FgUekv4g.js → docx-zipper-CGXr6ESB.js} +1 -1
- package/dist/super-editor/chunks/{editor-B0PiO07g.js → editor-BG6XbVA7.js} +2381 -2531
- package/dist/super-editor/chunks/{index-0zP7LFOd.js → index-hUtaGvC8.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Bj9E8rmT.js → toolbar-8Nf_jruN.js} +2 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +12 -9
- package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Attribute.d.ts +75 -29
- package/dist/super-editor/super-editor/src/core/Attribute.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/CommandService.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/CommandService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Editor.d.ts +145 -673
- package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts +23 -14
- package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Extension.d.ts +25 -11
- package/dist/super-editor/super-editor/src/core/Extension.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Mark.d.ts +28 -12
- package/dist/super-editor/super-editor/src/core/Mark.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Node.d.ts +87 -25
- package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts +20 -13
- package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/resetAttributes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts +11 -89
- package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts +4 -4
- package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts +3 -2
- package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts +12 -5
- package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/index.d.ts +18 -13
- package/dist/super-editor/super-editor/src/core/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +0 -48
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +59 -13
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +118 -0
- package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +265 -0
- package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +144 -0
- package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
- package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +73 -0
- package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +6 -2
- package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +8 -2
- package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +9 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +18 -3
- package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +9 -1
- package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +4 -1
- package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/index.d.ts +23 -5
- package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
- package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +9 -1
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
- package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +8 -1
- package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +4 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -10
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +3 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +9 -3
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +19 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +3 -12
- package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +140 -52
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +40 -0
- package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +57 -0
- package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +83 -0
- package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +113 -61
- package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
- package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +42 -64
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +4935 -4792
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
- package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
- package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +0 -39
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +0 -31
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/updateAttributes.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"updateAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/updateAttributes.js"],"names":[],"mappings":"AAWO,6CALI,GAA+B,GAAG,GAA+B,GAAG,MAAM,UAC1E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACjB,CAAC,MAAM,EAAE;IAAE,EAAE,EAAE,OAAO,mBAAmB,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,OAAO,mBAAmB,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,mBAAmB,EAAE,WAAW,KAAK,IAAI,CAAA;CAAE,KAAK,OAAO,CAiDlM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/commands.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/commands.js"],"names":[],"mappings":"AAGA,+EAMG;0BATuB,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editable.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editable.js"],"names":[],"mappings":"AAGA,+EAeG;0BAjBuB,iBAAiB"}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* For reference.
|
|
3
3
|
* https://prosemirror.net/docs/ref/#history.history
|
|
4
4
|
*/
|
|
5
|
-
export const EditorFocus: Extension
|
|
5
|
+
export const EditorFocus: Extension<Record<string, never>, Record<string, never>>;
|
|
6
6
|
import { Extension } from '../Extension.js';
|
|
7
7
|
//# sourceMappingURL=editorFocus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editorFocus.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editorFocus.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"editorFocus.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editorFocus.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,kFAgCG;0BAtCuB,iBAAiB"}
|
|
@@ -5,6 +5,6 @@ export function handleDelete(editor: any): any;
|
|
|
5
5
|
* For reference.
|
|
6
6
|
* https://github.com/ProseMirror/prosemirror-commands/blob/master/src/commands.ts
|
|
7
7
|
*/
|
|
8
|
-
export const Keymap: Extension
|
|
8
|
+
export const Keymap: Extension<Record<string, never>, Record<string, never>>;
|
|
9
9
|
import { Extension } from '../Extension.js';
|
|
10
10
|
//# sourceMappingURL=keymap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAQN;AAEM,kDAYN;AAEM,+CAMN;AAED;;;GAGG;AACH
|
|
1
|
+
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAQN;AAEM,kDAYN;AAEM,+CAMN;AAED;;;GAGG;AACH,6EAwCG;0BAhFuB,iBAAiB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export function getFieldAttrs(field: any, value: any, input: any): any;
|
|
2
2
|
export function processTables({ state, tr, annotationValues }: {
|
|
3
|
-
|
|
3
|
+
state: import("prosemirror-state").EditorState;
|
|
4
|
+
tr: import("prosemirror-state").Transaction;
|
|
4
5
|
annotationValues: any[];
|
|
5
|
-
}):
|
|
6
|
+
}): import("prosemirror-state").Transaction;
|
|
6
7
|
export function getAllHeaderFooterEditors(editor: Editor): any[];
|
|
7
8
|
export function annotateDocument({ annotationValues, hiddenFieldIds, removeEmptyFields, schema, tr, editor, }: {
|
|
8
9
|
annotationValues?: any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAUO,uEAiBN;
|
|
1
|
+
{"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAUO,uEAiBN;AAkCM,+DAJJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACS,EAAE,EAAlD,OAAO,mBAAmB,EAAE,WAAW;IACzB,gBAAgB;CACxC,2CAwBA;AA0MM,kDAHI,MAAM,GACJ,KAAQ,CAsCpB;AAwBM;;;;;;;QAoFN;;;;;;;;;;;AA1GD;;;;;;;;GAQG;AACH,6GALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAahB;AAkHD;;;;SAUC;AAED;;;SAUC;AAED;;SAUC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base interface for extensions with a config object.
|
|
3
|
+
*/
|
|
4
|
+
export interface ExtensionLike {
|
|
5
|
+
config: Record<string, any>;
|
|
6
|
+
}
|
|
1
7
|
/**
|
|
2
8
|
* Get extension config field.
|
|
3
|
-
*
|
|
4
|
-
* @param
|
|
5
|
-
* @param
|
|
6
|
-
* @
|
|
9
|
+
* If the field is a function, it will be bound to the provided context.
|
|
10
|
+
* @param extension The Editor extension.
|
|
11
|
+
* @param field The config field name.
|
|
12
|
+
* @param context The context object to bind to function.
|
|
13
|
+
* @returns The config field value or bound function.
|
|
7
14
|
*/
|
|
8
|
-
export function getExtensionConfigField(extension:
|
|
15
|
+
export declare function getExtensionConfigField<T = any>(extension: ExtensionLike, field: string, context?: Record<string, any>): T;
|
|
9
16
|
//# sourceMappingURL=getExtensionConfigField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExtensionConfigField.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/getExtensionConfigField.
|
|
1
|
+
{"version":3,"file":"getExtensionConfigField.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/getExtensionConfigField.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,GAAG,EAC7C,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GAChC,CAAC,CASH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function isList(name: any, extensions: any):
|
|
1
|
+
export function isList(name: any, extensions: any): any;
|
|
2
2
|
//# sourceMappingURL=isList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isList.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/isList.js"],"names":[],"mappings":"AAQO,
|
|
1
|
+
{"version":3,"file":"isList.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/isList.js"],"names":[],"mappings":"AAQO,wDAcN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-numbering-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/list-numbering-helpers.js"],"names":[],"mappings":"AAoBO,gGATJ;IAAuB,KAAK,EAApB,MAAM;IACS,QAAQ;IACP,KAAK,GAArB,MAAM;IACU,KAAK,GAArB,MAAM;IACU,IAAI,GAApB,MAAM;IACU,GAAG,GAAnB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;CAClC,
|
|
1
|
+
{"version":3,"file":"list-numbering-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/list-numbering-helpers.js"],"names":[],"mappings":"AAoBO,gGATJ;IAAuB,KAAK,EAApB,MAAM;IACS,QAAQ;IACP,KAAK,GAArB,MAAM;IACU,KAAK,GAArB,MAAM;IACU,IAAI,GAApB,MAAM;IACU,GAAG,GAAnB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;CAClC,OAmFF;AAEM,+EAYN;AAUM,+CANI,MAAM,SACN,MAAM,YACN,OAAO,mBAAmB,EAAE,QAAQ,UACpC,OAAO,WAAW,EAAE,MAAM,GACxB,MAAM,CAiClB;AAQM,wCAJI,MAAM,cACN,MAAM,OAYhB;AASM,qCAHI,OAAO,WAAW,EAAE,MAAM,sBACxB,MAAM,CASlB;AAeM,oFAPJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACwC,QAAQ,GAAtD,OAAO,mBAAmB,EAAE,QAAQ;IACrB,MAAM;IACL,KAAK,GAArB,MAAM;CACd,OA6GF;AAOM,8CAHI,OAAO,WAAW,EAAE,MAAM,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;IAAC,KAAK,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,iBAAiB,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,YAAY,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAO,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,GAAC,SAAS,CAAA;CAAC,CAAC,CAAC,CA+ChP;AAUM,8CAJI,MAAM,UACN,OAAO,WAAW,EAAE,MAAM,GACxB,IAAI,CAehB;AAYM,sEALJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,WAAW;CAClC,OAsBF;AAaM,mFANJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;IACX,WAAW;CAClC,OAQF;AAUM,wDALJ;IAA8B,QAAQ,EAA9B,MAAM,MAAO;IACsB,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;IACsB,EAAE,EAAlD,OAAO,mBAAmB,EAAE,WAAW;CAC/C,WAyBF;AAWM,+DANJ;IAAuB,EAAE;IACF,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;IACO,OAAO,EAApB,IAAI;CACZ,GAAU,IAAI,CAIhB;;;;;;;;;;;;;;;;;mCAjekD,uBAAuB;+BAAvB,uBAAuB"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * as
|
|
11
|
-
export * as
|
|
12
|
-
export *
|
|
13
|
-
export { default as DocxZipper } from
|
|
1
|
+
export * from './Node.js';
|
|
2
|
+
export * from './Mark.js';
|
|
3
|
+
export * from './Schema.js';
|
|
4
|
+
export * from './Attribute.js';
|
|
5
|
+
export * from './CommandService.js';
|
|
6
|
+
export * from './Extension.js';
|
|
7
|
+
export * from './super-converter/SuperConverter.js';
|
|
8
|
+
export * from './OxmlNode.js';
|
|
9
|
+
export * as coreExtensions from './extensions/index.js';
|
|
10
|
+
export * as helpers from './helpers/index.js';
|
|
11
|
+
export * as utilities from './utilities/index.js';
|
|
12
|
+
export * from './Editor.js';
|
|
13
|
+
export { default as DocxZipper } from './DocxZipper.js';
|
|
14
|
+
export type * from './types/EditorConfig.js';
|
|
15
|
+
export type * from './types/EditorTypes.js';
|
|
16
|
+
export type * from './types/EditorEvents.js';
|
|
17
|
+
export type * from './EventEmitter.js';
|
|
18
|
+
export type { ChainedCommand, ChainableCommandObject, CanCommand, CanCommands, CanObject, CoreCommands, ExtensionCommands, EditorCommands, CommandProps, Command, CommandServiceOptions, } from './types/ChainedCommands.js';
|
|
14
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qCAAqC,CAAC;AACpD,cAAc,eAAe,CAAC;AAE9B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,cAAc,aAAa,CAAC;AAE5B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGxD,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,wBAAwB,CAAC;AAC5C,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,mBAAmB,CAAC;AAGvC,YAAY,EACV,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,OAAO,EACP,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-summary.d.ts","sourceRoot":"","sources":["../../../../src/core/schema-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAA0B,MAAM,yBAAyB,CAAC;AAkDzF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAgC5F"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Convert SDT child elements into Word run elements.
|
|
3
|
-
* @param {Array<Object>|Object} elements
|
|
4
|
-
* @returns {Array<Object>}
|
|
5
|
-
*/
|
|
6
|
-
export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
|
|
7
1
|
/**
|
|
8
2
|
* @typedef {Object} ExportParams
|
|
9
3
|
* @property {Object} node JSON node to translate (from PM schema)
|
|
@@ -44,29 +38,6 @@ export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
|
|
|
44
38
|
* @returns {XmlReadyNode} The complete document node in XML-ready format
|
|
45
39
|
*/
|
|
46
40
|
export function exportSchemaToJson(params: ExportParams): XmlReadyNode;
|
|
47
|
-
/**
|
|
48
|
-
* Translate a paragraph node
|
|
49
|
-
*
|
|
50
|
-
* @param {ExportParams} node A prose mirror paragraph node
|
|
51
|
-
* @returns {XmlReadyNode} JSON of the XML-ready paragraph node
|
|
52
|
-
*/
|
|
53
|
-
export function translateParagraphNode(params: any): XmlReadyNode;
|
|
54
|
-
/**
|
|
55
|
-
* Generate the w:pPr props for a paragraph node
|
|
56
|
-
*
|
|
57
|
-
* @param {SchemaNode} node
|
|
58
|
-
* @returns {XmlReadyNode} The paragraph properties node
|
|
59
|
-
*/
|
|
60
|
-
export function generateParagraphProperties(params: any): XmlReadyNode;
|
|
61
|
-
/**
|
|
62
|
-
* Helper function to be used for text node translation
|
|
63
|
-
* Also used for transforming text annotations for the final submit
|
|
64
|
-
*
|
|
65
|
-
* @param {String} text Text node's content
|
|
66
|
-
* @param {Object[]} marks The marks to add to the run properties
|
|
67
|
-
* @returns {XmlReadyNode} The translated text node
|
|
68
|
-
*/
|
|
69
|
-
export function getTextNodeForExport(text: string, marks: any[], params: any): XmlReadyNode;
|
|
70
41
|
/**
|
|
71
42
|
* Wrap a text node in a run
|
|
72
43
|
*
|
|
@@ -91,25 +62,6 @@ export function generateRunProps(marks?: any[]): {
|
|
|
91
62
|
* @returns
|
|
92
63
|
*/
|
|
93
64
|
export function processOutputMarks(marks?: MarkType[]): any[];
|
|
94
|
-
export function processLinkContentNode(node: any): any;
|
|
95
|
-
/**
|
|
96
|
-
* Create a new link relationship and add it to the relationships array
|
|
97
|
-
*
|
|
98
|
-
* @param {ExportParams} params
|
|
99
|
-
* @param {string} link The URL of this link
|
|
100
|
-
* @returns {string} The new relationship ID
|
|
101
|
-
*/
|
|
102
|
-
export function addNewLinkRelationship(params: ExportParams, link: string): string;
|
|
103
|
-
export function translateHardBreak(params: any): {
|
|
104
|
-
name: string;
|
|
105
|
-
elements: {
|
|
106
|
-
name: string;
|
|
107
|
-
type: string;
|
|
108
|
-
attributes: {
|
|
109
|
-
'w:type': string;
|
|
110
|
-
};
|
|
111
|
-
}[];
|
|
112
|
-
};
|
|
113
65
|
export function ensureSectionLayoutDefaults(sectPr: any, converter: any): any;
|
|
114
66
|
export function isLineBreakOnlyRun(node: any): any;
|
|
115
67
|
export class DocxExporter {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAsGA;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAuDxB;AA+GD;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AA9TM,8EAiDN;AAEM,mDAON;AAoYD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBA1da,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -60,4 +60,11 @@ export function hasSomeParentWithClass(element: any, classname: any): any;
|
|
|
60
60
|
export function getTextIndentExportValue(indent: string | number): number;
|
|
61
61
|
export function polygonUnitsToPixels(pu: any): number;
|
|
62
62
|
export function pixelsToPolygonUnits(pixels: any): number;
|
|
63
|
+
/**
|
|
64
|
+
* @param {number | string} value Value (e.g. 5000 or "100%")
|
|
65
|
+
* @param {"dxa" | "pct" | "nil" | "auto" | null} type Units: either "dxa" (or null/undefined) for absolute measurements in twips, "pct" for relative measurements (either as 1/50 of a percent, or as a percentage with a trailing "%"), "nil" (zero width, see 17.18.90 of ECMA-376-1:2016), or "auto" (
|
|
66
|
+
*
|
|
67
|
+
* @returns {string | null} CSS specification for size (e.g. `100%`, `25px`) or `null` if the type is `"auto"`
|
|
68
|
+
*/
|
|
69
|
+
export function convertSizeToCSS(value: number | string, type: "dxa" | "pct" | "nil" | "auto" | null): string | null;
|
|
63
70
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC"}
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC;AAgSD;;;;;GAKG;AACH,wCALW,MAAM,GAAG,MAAM,QACf,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAEnC,MAAM,GAAG,IAAI,CAoDzB"}
|
|
@@ -4,23 +4,69 @@
|
|
|
4
4
|
* @param {Object} inlineProps - The inline paragraph properties.
|
|
5
5
|
* @param {boolean} [insideTable=false] - Whether the paragraph is inside a table.
|
|
6
6
|
* @param {boolean} [overrideInlineStyleId=false] - Whether to override the inline style ID with the one from numbering.
|
|
7
|
+
* @param {string | null} [tableStyleId=null] - styleId for the current table, if any
|
|
7
8
|
* @returns {Object} The resolved paragraph properties.
|
|
8
9
|
*/
|
|
9
|
-
export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean): any;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean, tableStyleId?: string | null): any;
|
|
11
|
+
/**
|
|
12
|
+
* Reads document default properties for a given element type (paragraph/run).
|
|
13
|
+
* @param {import('@translator').SCEncoderConfig} params - Converter context with parsed docx.
|
|
14
|
+
* @param {Object} translator - Translator responsible for encoding element properties.
|
|
15
|
+
* @returns {Object} Default property map for the requested element.
|
|
16
|
+
*/
|
|
17
|
+
export function getDefaultProperties(params: import("@translator").SCEncoderConfig, translator: any): any;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves the properties for a specific style ID.
|
|
20
|
+
* @param {import('@translator').SCEncoderConfig} params - Converter context with parsed docx.
|
|
21
|
+
* @param {string} styleId - The style identifier to look up.
|
|
22
|
+
* @param {Object} translator - Translator used to encode style properties.
|
|
23
|
+
* @returns {{properties: Object, isDefault: boolean, basedOn: string|null}} Style metadata and properties.
|
|
24
|
+
*/
|
|
25
|
+
export function getStyleProperties(params: import("@translator").SCEncoderConfig, styleId: string, translator: any): {
|
|
12
26
|
properties: any;
|
|
13
27
|
isDefault: boolean;
|
|
14
|
-
basedOn:
|
|
28
|
+
basedOn: string | null;
|
|
15
29
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Resolves numbering properties for a given level and numbering definition.
|
|
32
|
+
* @param {import('@translator').SCEncoderConfig} params - Converter context with numbering data.
|
|
33
|
+
* @param {number} ilvl - Indent level within the numbering definition.
|
|
34
|
+
* @param {number|string} numId - Numbering definition identifier.
|
|
35
|
+
* @param {Object} translator - Translator used to encode numbering properties.
|
|
36
|
+
* @param {number} [tries=0] - Internal guard to avoid infinite recursion when following numStyleLink.
|
|
37
|
+
* @returns {Object} Combined numbering property object for the level.
|
|
38
|
+
*/
|
|
39
|
+
export function getNumberingProperties(params: import("@translator").SCEncoderConfig, ilvl: number, numId: number | string, translator: any, tries?: number): any;
|
|
40
|
+
/**
|
|
41
|
+
* Encodes run property objects into mark definitions for the editor schema.
|
|
42
|
+
* @param {Object} runProperties - Run properties extracted from DOCX.
|
|
43
|
+
* @param {Object} docx - Parsed DOCX structure used for theme lookups.
|
|
44
|
+
* @returns {Array<Object>} Mark definitions representing the run styling.
|
|
45
|
+
*/
|
|
46
|
+
export function encodeMarksFromRPr(runProperties: any, docx: any): Array<any>;
|
|
47
|
+
/**
|
|
48
|
+
* Converts paragraph properties into a CSS declaration map.
|
|
49
|
+
* @param {Object} paragraphProperties - Paragraph properties after resolution.
|
|
50
|
+
* @returns {Object} CSS properties keyed by CSS property name.
|
|
51
|
+
*/
|
|
52
|
+
export function encodeCSSFromPPr(paragraphProperties: any): any;
|
|
53
|
+
/**
|
|
54
|
+
* Converts run properties into a CSS declaration map.
|
|
55
|
+
* @param {Object} runProperties - Run properties after resolution.
|
|
56
|
+
* @param {Object} docx - Parsed DOCX content used for theme lookups.
|
|
57
|
+
* @returns {Object} CSS properties keyed by CSS property name.
|
|
58
|
+
*/
|
|
59
|
+
export function encodeCSSFromRPr(runProperties: any, docx: any): any;
|
|
60
|
+
/**
|
|
61
|
+
* Decodes mark definitions back into run property objects.
|
|
62
|
+
* @param {Array<Object>} marks - Mark array from the editor schema.
|
|
63
|
+
* @returns {Object} Run property object.
|
|
64
|
+
*/
|
|
65
|
+
export function decodeRPrFromMarks(marks: Array<any>): any;
|
|
23
66
|
export function resolveRunProperties(params: import("@translator").SCEncoderConfig, inlineRpr: any, resolvedPpr: any, isListNumber?: boolean, numberingDefinedInline?: boolean): any;
|
|
24
|
-
export function combineProperties(propertiesArray: any
|
|
25
|
-
|
|
67
|
+
export function combineProperties(propertiesArray: Array<any>, fullOverrideProps?: Array<string>, specialHandling?: {
|
|
68
|
+
[x: string]: Function;
|
|
69
|
+
}): any;
|
|
70
|
+
export function combineRunProperties(propertiesArray: Array<any>): any;
|
|
71
|
+
export function getSpacingStyle(spacing: any, isListItem?: boolean): any;
|
|
26
72
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AAkFA;;;;;;;;GAQG;AACH,mDAPW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,iBACP,MAAM,GAAG,IAAI,OAgGvB;AAsCD;;;;;GAKG;AACH,6CAJW,OAAO,aAAa,EAAE,eAAe,wBAoB/C;AAED;;;;;;GAMG;AACH,2CALW,OAAO,aAAa,EAAE,eAAe,WACrC,MAAM,oBAEJ;IAAC,UAAU,MAAS;IAAC,SAAS,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,GAAC,IAAI,CAAA;CAAC,CAwB1E;AAED;;;;;;;;GAQG;AACH,+CAPW,OAAO,aAAa,EAAE,eAAe,QACrC,MAAM,SACN,MAAM,GAAC,MAAM,2BAEb,MAAM,OAiEhB;AAkED;;;;;GAKG;AACH,mEAFa,KAAK,KAAQ,CAuGzB;AAED;;;;GAIG;AACH,gEA+EC;AAED;;;;;GAKG;AACH,qEAyKC;AAED;;;;GAIG;AACH,0CAHW,KAAK,KAAQ,OAuFvB;AAp1BM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAqRM,mDALI,KAAK,KAAQ,sBACb,KAAK,CAAC,MAAM,CAAC;;QAkDvB;AAOM,sDAHI,KAAK,KAAQ,OAKvB;AA8jBM,2DAHI,OAAO,OA4CjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoPageNumberImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/autoPageNumberImporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"autoPageNumberImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/autoPageNumberImporter.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,wCAAgH;AAEhH;;GAEG;AACH,2CAAuH"}
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts
CHANGED
|
@@ -39,5 +39,5 @@ export function getFontFamilyValue(attributes: any, docx: any): any;
|
|
|
39
39
|
export function getIndentValue(attributes: any): string;
|
|
40
40
|
export function getLineHeightValue(attributes: any): string;
|
|
41
41
|
export function getHighLightValue(attributes: any): string;
|
|
42
|
-
export function getStrikeValue(attributes: any): "
|
|
42
|
+
export function getStrikeValue(attributes: any): "0" | "1";
|
|
43
43
|
//# sourceMappingURL=markImporter.d.ts.map
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/super-converter/v2/importer/types/index.js"],"names":[],"mappings":";;;;;;;;;;;;uBAIc,OAAO;;;;qBACP,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/super-converter/v2/importer/types/index.js"],"names":[],"mappings":";;;;;;;;;;;;uBAIc,OAAO;;;;qBACP,eAAe;;;;;;;;;;;;YAGf,OAAO,oBAAoB,EAAE,MAAM;;;;eACnC,MAAM;;;;oBACN,MAAM;;;;;;;;0BAEN,MAAM,EAAE;;;;;;;;kBAER,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;yBAKpB;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,GAAC,CAAC;IAAC,IAAI,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,EAAE,CAAC;IAAC,KAAK,EAAE,GAAC,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAC;yBACjF;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,EAAE,CAAA;CAAC;;8BAIzB;IAAC,OAAO,EAAE,iBAAiB,CAAC;IAAC,eAAe,EAAE,gBAAgB,EAAE,CAAA;CAAC;gCACjE,CAAC,MAAM,EAAE,iBAAiB,KAAK,UAAU,EAAE;0BAE3C,CAAC,MAAM,EAAE,iBAAiB,KAAK;IAAC,KAAK,EAAE,UAAU,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC;+BACtE;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @type {import('@translator').NodeTranslatorConfig} */
|
|
2
|
+
export const config: import("@translator").NodeTranslatorConfig;
|
|
3
|
+
/**
|
|
4
|
+
* The NodeTranslator instance.
|
|
5
|
+
* @type {import('@translator').NodeTranslator}
|
|
6
|
+
*/
|
|
7
|
+
export const translator: import("@translator").NodeTranslator;
|
|
8
|
+
//# sourceMappingURL=autoPageNumber-translator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoPageNumber-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.js"],"names":[],"mappings":"AA+GA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAOnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/autoPageNumber/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/totalPageNumber/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @type {import('@translator').NodeTranslatorConfig} */
|
|
2
|
+
export const config: import("@translator").NodeTranslatorConfig;
|
|
3
|
+
/**
|
|
4
|
+
* The NodeTranslator instance.
|
|
5
|
+
* @type {import('@translator').NodeTranslator}
|
|
6
|
+
*/
|
|
7
|
+
export const translator: import("@translator").NodeTranslator;
|
|
8
|
+
//# sourceMappingURL=totalPageNumber-translator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totalPageNumber-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.js"],"names":[],"mappings":"AA+GA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAOnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate the w:pPr props for a paragraph node
|
|
3
|
+
*
|
|
4
|
+
* @param {SchemaNode} node
|
|
5
|
+
* @returns {XmlReadyNode} The paragraph properties node
|
|
6
|
+
*/
|
|
7
|
+
export function generateParagraphProperties(params: any): XmlReadyNode;
|
|
8
|
+
//# sourceMappingURL=generate-paragraph-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-paragraph-properties.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,0DAFa,YAAY,CAoBxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AA0BO,4CAHI,OAAO,aAAa,EAAE,eAAe,OAkE/C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Translate a paragraph node
|
|
3
|
+
*
|
|
4
|
+
* @param {ExportParams} node A prose mirror paragraph node
|
|
5
|
+
* @returns {XmlReadyNode} JSON of the XML-ready paragraph node
|
|
6
|
+
*/
|
|
7
|
+
export function translateParagraphNode(params: any): XmlReadyNode;
|
|
8
|
+
//# sourceMappingURL=translate-paragraph-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert SDT child elements into Word run elements.
|
|
3
|
+
* @param {Array<Object>|Object} elements
|
|
4
|
+
* @returns {Array<Object>}
|
|
5
|
+
*/
|
|
6
|
+
export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
|
|
7
|
+
//# sourceMappingURL=convert-sdt-content-to-runs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-sdt-content-to-runs.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate-field-annotation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translate-field-annotation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,2DAyEC;AAED;;;;;GAKG;AACH,2GA0BC;AAED;;;;GAIG;AACH,wDAOC;AAED;;;;;GAKG;AACH,yEAKC;AAED;;;;GAIG;AACH,4DAMC;AAED;;;;GAIG;AACH,wDAgDC;AAED;;;;GAIG;AACH,uDAiCC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAYC;AAED,wEAgEC;AAED;;;;GAIG;AACH,4DAHW,MAAM,OAmChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate-text-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.js"],"names":[],"mappings":"AAWA;;;EA8DC"}
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {{borders?: {}, name?: *, justification?: *, fonts?: {}, fontSize?: *, rowBorders?: {}, cellMargins?: {}}} TableStyles
|
|
3
|
+
*/
|
|
1
4
|
/**
|
|
2
5
|
*
|
|
3
6
|
* @param {string|null} tableStyleReference
|
|
4
7
|
* @param {import('@translator').SCEncoderConfig} [params]
|
|
5
|
-
* @returns {
|
|
8
|
+
* @returns {TableStyles|null}
|
|
6
9
|
*/
|
|
7
|
-
export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig):
|
|
8
|
-
borders: {};
|
|
9
|
-
name: any;
|
|
10
|
-
justification: any;
|
|
11
|
-
fonts: {};
|
|
12
|
-
fontSize: any;
|
|
13
|
-
rowBorders: {};
|
|
14
|
-
cellMargins: {};
|
|
15
|
-
} | null;
|
|
10
|
+
export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig): TableStyles | null;
|
|
16
11
|
/**
|
|
17
12
|
* Restore vertically merged cells from a table
|
|
18
13
|
* @param {Object} table The table node
|
|
@@ -26,4 +21,13 @@ export const config: import("@translator").NodeTranslatorConfig;
|
|
|
26
21
|
* @type {import('@translator').NodeTranslator}
|
|
27
22
|
*/
|
|
28
23
|
export const translator: import("@translator").NodeTranslator;
|
|
24
|
+
export type TableStyles = {
|
|
25
|
+
borders?: {};
|
|
26
|
+
name?: any;
|
|
27
|
+
justification?: any;
|
|
28
|
+
fonts?: {};
|
|
29
|
+
fontSize?: any;
|
|
30
|
+
rowBorders?: {};
|
|
31
|
+
cellMargins?: {};
|
|
32
|
+
};
|
|
29
33
|
//# sourceMappingURL=tbl-translator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"AAgQA;;GAEG;AAEH;;;;;GAKG;AACH,+DAJW,MAAM,GAAC,IAAI,WACX,OAAO,aAAa,EAAE,eAAe,GACnC,WAAW,GAAC,IAAI,CAwE5B;AAED;;;;;GAKG;AACH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ;0BArGzC;IAAC,OAAO,CAAC,EAAE,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,GAAC,CAAC;IAAC,aAAa,CAAC,EAAE,GAAC,CAAC;IAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,GAAC,CAAC;IAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,EAAE,CAAA;CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"AAoIA;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"AAsMA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
|