superdoc 0.31.3 → 0.32.0-beta.1
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-DxZEZ0kC.cjs → PdfViewer--8MSSwM3.cjs} +2 -2
- package/dist/chunks/{PdfViewer-Cfv24RAO.es.js → PdfViewer-DDCKVOWx.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-BkSlSgV3-Bs1x4Ydh.es.js → index-BgFyS1or-BMypHAzL.es.js} +1 -1
- package/dist/chunks/{index-BkSlSgV3-0lYca18m.cjs → index-BgFyS1or-CON4RVV6.cjs} +1 -1
- package/dist/chunks/{index-DyWNiAwo.cjs → index-CABhc08d.cjs} +10 -9
- package/dist/chunks/{index-DzCRau8t.es.js → index-Dn6V09b9.es.js} +10 -9
- 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-DOLpHa0H.es.js → super-editor.es-Bqyg3_Z4.es.js} +39368 -40933
- package/dist/chunks/{super-editor.es-DEg3G86J.cjs → super-editor.es-CmOxHBFk.cjs} +40595 -42160
- 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/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
- package/dist/style.css +21 -40
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DsvQGrFy.js → converter-GmnA1V24.js} +13044 -13320
- package/dist/super-editor/chunks/{docx-zipper-DY9haip7.js → docx-zipper-JqSwrxHZ.js} +1 -1
- package/dist/super-editor/chunks/{editor-gAS774Lu.js → editor-U5Zs1FK0.js} +3956 -5273
- package/dist/super-editor/chunks/{index-BkSlSgV3.js → index-BgFyS1or.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-B_JCu51N.js → toolbar-BPr_n6-M.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 +21 -40
- package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
- 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/InputRule.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/__tests__/schemaWithLists.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +15 -0
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +4 -7
- 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 +1 -1
- 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/list-helpers/list-indent-helpers.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -0
- 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 +7 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +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 +6 -56
- 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/contentProcessor.d.ts +3 -3
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.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/importHtml.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
- 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 +15 -42
- 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/helpers/orderedListUtils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.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/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +2 -5
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.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/SuperConverter.d.ts.map +1 -1
- 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 +9 -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 +72 -0
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -0
- 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/docxImporter.d.ts +3 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +0 -97
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +12 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/trackChangesImporter.d.ts.map +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/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/utils.d.ts +30 -4
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/del/del-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ins/ins-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-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/index.d.ts +0 -1
- 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/pBdr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +1 -37
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts.map +1 -1
- 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/snapToGrid/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +5 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +5 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.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/tab/attributes/w-tab-pos.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/{w-tab-size.d.ts → w-tab-type.d.ts} +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.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/textAlignment/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +1 -0
- 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/super-converter/v3/handlers/w/widowControl/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +1 -0
- 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/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.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 -8
- 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 +2 -1
- 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/NumberingManager.d.ts +30 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
- 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/helpers/getDefaultSpacing.d.ts +4 -4
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
- 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/commands/split-run.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.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 +1 -1
- 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/tab/helpers/tabDecorations.d.ts +14 -2
- 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 +127 -110
- 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 +46482 -48006
- 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/shared/common/Telemetry.d.ts +0 -237
- package/dist/shared/common/Telemetry.d.ts.map +0 -1
- package/dist/shared/common/collaboration/awareness.d.ts +0 -39
- package/dist/shared/common/collaboration/awareness.d.ts.map +0 -1
- package/dist/shared/common/document-types.d.ts +0 -10
- package/dist/shared/common/document-types.d.ts.map +0 -1
- package/dist/shared/common/event-types.d.ts +0 -14
- package/dist/shared/common/event-types.d.ts.map +0 -1
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +0 -8
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +0 -1
- package/dist/shared/common/helpers/get-file-object.d.ts +0 -50
- package/dist/shared/common/helpers/get-file-object.d.ts.map +0 -1
- package/dist/shared/common/helpers/v-click-outside.d.ts +0 -11
- package/dist/shared/common/helpers/v-click-outside.d.ts.map +0 -1
- package/dist/shared/common/index.d.ts +0 -10
- package/dist/shared/common/index.d.ts.map +0 -1
- package/dist/shared/common/key-transform.d.ts +0 -44
- package/dist/shared/common/key-transform.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +0 -4
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +0 -10
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +0 -12
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
- 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/list-item/ListItemNodeView.d.ts +0 -43
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.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":"Editor.d.ts","sourceRoot":"","sources":["../../../../src/core/Editor.
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../src/core/Editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,KAAK,EAAiB,IAAI,IAAI,MAAM,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU,EAA8B,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC1H,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,UAAU,E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Y3F;;;;OAIG;IACH,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAU3E;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAKlE;;OAEG;IACH,mBAAmB,CAAC,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAYlF;;;;;OAKG;IACH,qBAAqB,CAAC,gBAAgB,GAAE,UAAU,EAAO,GAAG,IAAI;IAMhE;;;;OAIG;IACG,sBAAsB,CAAC,gBAAgB,GAAE,UAAU,EAAO,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAMxF;;OAEG;IACH,QAAQ,CAAC,gBAAgB,GAAE,UAAU,EAAO,EAAE,SAAS,GAAE,MAAM,EAAO,EAAE,iBAAiB,GAAE,OAAe,GAAG,IAAI;IAkBjH;;;OAGG;IACH,kBAAkB,CAAC,gBAAgB,GAAE,UAAU,EAAO,EAAE,SAAS,GAAE,MAAM,EAAO,GAAG,IAAI;IAKvF;;OAEG;IACH,YAAY,IAAI,IAAI;CAmCrB"}
|
|
@@ -1,40 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default event map with string keys and any arguments.
|
|
3
|
+
*/
|
|
4
|
+
export type DefaultEventMap = Record<string, any[]>;
|
|
5
|
+
/**
|
|
6
|
+
* Event callback function type.
|
|
7
|
+
*/
|
|
8
|
+
export type EventCallback<Args extends any[] = any[]> = (...args: Args) => void;
|
|
1
9
|
/**
|
|
2
10
|
* EventEmitter class is used to emit and subscribe to events.
|
|
11
|
+
* @template EventMap - Map of event names to their argument types
|
|
3
12
|
*/
|
|
4
|
-
export class EventEmitter {
|
|
13
|
+
export declare class EventEmitter<EventMap extends DefaultEventMap = DefaultEventMap> {
|
|
14
|
+
#private;
|
|
5
15
|
/**
|
|
6
16
|
* Subscribe to the event.
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
17
|
+
* @param name Event name.
|
|
18
|
+
* @param fn Callback.
|
|
9
19
|
* @returns {void}
|
|
10
20
|
*/
|
|
11
|
-
on(name:
|
|
21
|
+
on<K extends keyof EventMap>(name: K, fn: EventCallback<EventMap[K]>): void;
|
|
12
22
|
/**
|
|
13
23
|
* Emit event.
|
|
14
|
-
* @param
|
|
15
|
-
* @param
|
|
24
|
+
* @param name Event name.
|
|
25
|
+
* @param args Arguments to pass to each listener.
|
|
16
26
|
* @returns {void}
|
|
17
27
|
*/
|
|
18
|
-
emit(name:
|
|
28
|
+
emit<K extends keyof EventMap>(name: K, ...args: EventMap[K]): void;
|
|
19
29
|
/**
|
|
20
30
|
* Remove a specific callback from event
|
|
21
31
|
* or all event subscriptions.
|
|
22
|
-
* @param
|
|
23
|
-
* @param
|
|
32
|
+
* @param name Event name.
|
|
33
|
+
* @param fn Callback.
|
|
24
34
|
* @returns {void}
|
|
25
35
|
*/
|
|
26
|
-
off(name:
|
|
36
|
+
off<K extends keyof EventMap>(name: K, fn?: EventCallback<EventMap[K]>): void;
|
|
27
37
|
/**
|
|
28
38
|
* Subscribe to an event that will be called only once.
|
|
29
|
-
* @param
|
|
30
|
-
* @param
|
|
39
|
+
* @param name Event name.
|
|
40
|
+
* @param fn Callback.
|
|
31
41
|
* @returns {void}
|
|
32
42
|
*/
|
|
33
|
-
once(name:
|
|
43
|
+
once<K extends keyof EventMap>(name: K, fn: EventCallback<EventMap[K]>): void;
|
|
34
44
|
/**
|
|
35
45
|
* Remove all registered events and subscriptions.
|
|
36
46
|
*/
|
|
37
47
|
removeAllListeners(): void;
|
|
38
|
-
#private;
|
|
39
48
|
}
|
|
40
49
|
//# sourceMappingURL=EventEmitter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/core/EventEmitter.
|
|
1
|
+
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/core/EventEmitter.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,CAAC,IAAI,SAAS,GAAG,EAAE,GAAG,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;AAEhF;;;GAGG;AACH,qBAAa,YAAY,CAAC,QAAQ,SAAS,eAAe,GAAG,eAAe;;IAG1E;;;;;OAKG;IACH,EAAE,CAAC,CAAC,SAAS,MAAM,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;IAM3E;;;;;OAKG;IACH,IAAI,CAAC,CAAC,SAAS,MAAM,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI;IAQnE;;;;;;OAMG;IACH,GAAG,CAAC,CAAC,SAAS,MAAM,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;IAa7E;;;;;OAKG;IACH,IAAI,CAAC,CAAC,SAAS,MAAM,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;IAQ7E;;OAEG;IACH,kBAAkB,IAAI,IAAI;CAG3B"}
|
|
@@ -1,19 +1,33 @@
|
|
|
1
|
+
import type { MaybeGetter } from './utilities/callOrGet.js';
|
|
2
|
+
/**
|
|
3
|
+
* Base configuration for extensions.
|
|
4
|
+
*/
|
|
5
|
+
export interface ExtensionConfig<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> {
|
|
6
|
+
/** The unique name of the extension */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Function to define extension options */
|
|
9
|
+
addOptions?: MaybeGetter<Options>;
|
|
10
|
+
/** Function to define extension storage */
|
|
11
|
+
addStorage?: MaybeGetter<Storage>;
|
|
12
|
+
/** Additional config fields - use with caution */
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
1
15
|
/**
|
|
2
16
|
* Extension class is used to create extensions.
|
|
17
|
+
* @template Options - Type for extension options
|
|
18
|
+
* @template Storage - Type for extension storage
|
|
3
19
|
*/
|
|
4
|
-
export class Extension {
|
|
20
|
+
export declare class Extension<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> {
|
|
21
|
+
type: "extension";
|
|
22
|
+
name: string;
|
|
23
|
+
options: Options;
|
|
24
|
+
storage: Storage;
|
|
25
|
+
config: ExtensionConfig<Options, Storage>;
|
|
26
|
+
constructor(config: ExtensionConfig<Options, Storage>);
|
|
5
27
|
/**
|
|
6
28
|
* Static method for creating an extension.
|
|
7
|
-
* @param
|
|
29
|
+
* @param config Configuration for the extension.
|
|
8
30
|
*/
|
|
9
|
-
static create(
|
|
10
|
-
constructor(config: any);
|
|
11
|
-
type: string;
|
|
12
|
-
name: string;
|
|
13
|
-
options: any;
|
|
14
|
-
storage: any;
|
|
15
|
-
config: {
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
31
|
+
static create<O extends Record<string, unknown> = Record<string, never>, S extends Record<string, unknown> = Record<string, never>>(config: ExtensionConfig<O, S>): Extension<O, S>;
|
|
18
32
|
}
|
|
19
33
|
//# sourceMappingURL=Extension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Extension.d.ts","sourceRoot":"","sources":["../../../../src/core/Extension.
|
|
1
|
+
{"version":3,"file":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AAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACzD,MAAM,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;CAGlD"}
|
|
@@ -29,7 +29,7 @@ export class ExtensionService {
|
|
|
29
29
|
* Get all attributes defined in the extensions.
|
|
30
30
|
* @returns Array of attributes.
|
|
31
31
|
*/
|
|
32
|
-
get attributes():
|
|
32
|
+
get attributes(): import("./Attribute.js").ExtensionAttribute[];
|
|
33
33
|
/**
|
|
34
34
|
* Get all commands defined in the extensions.
|
|
35
35
|
* @returns Object with commands (key - command name, value - function).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtensionService.d.ts","sourceRoot":"","sources":["../../../../src/core/ExtensionService.js"],"names":[],"mappings":"AAUA;;GAEG;AACH;IA4BE;;;OAGG;IACH,gDAEC;IAED;;;;OAIG;IACH,mDAGC;IAED;;;;OAIG;IACH,4CASC;IAjDD,+DAeC;IAzBD,YAAO;IAEP,2DAAO;IAEP,gBAAW;IAEX,0BAAwB;IAExB,uBAAqB;IAqDrB;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"ExtensionService.d.ts","sourceRoot":"","sources":["../../../../src/core/ExtensionService.js"],"names":[],"mappings":"AAUA;;GAEG;AACH;IA4BE;;;OAGG;IACH,gDAEC;IAED;;;;OAIG;IACH,mDAGC;IAED;;;;OAIG;IACH,4CASC;IAjDD,+DAeC;IAzBD,YAAO;IAEP,2DAAO;IAEP,gBAAW;IAEX,0BAAwB;IAExB,uBAAqB;IAqDrB;;;OAGG;IACH,gEAEC;IAED;;;OAGG;IACH,mBAsBC;IAED;;;;;OAKG;IACH,mBAuBC;IAED;;;;OAIG;IACH,qBAuDC;IAED;;;OAGG;IACH;;MA4CC;;CA6DF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../../../src/core/InputRule.js"],"names":[],"mappings":"AAoOA,+CAIC;AAMD;;;;;;;GAOG;AACH,sDAJW,MAAM,
|
|
1
|
+
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../../../src/core/InputRule.js"],"names":[],"mappings":"AAoOA,+CAIC;AAMD;;;;;;;GAOG;AACH,sDAJW,MAAM,2BAuDhB;AACD;;;;;;;GAOG;AACH,kDAHW,MAAM,GACJ,gBAAgB,CAM5B;AAgBD;;;;;GAKG;AACH,+DAOC;AAED;;;;;GAKG;AACH,mCAJW,MAAM,kBACN,MAAM,EAAE,GACN,gBAAgB,CAwB5B;AAED;;;;;;;;;;;GAWG;AACH,uDALG;IAAyB,MAAM,EAAvB,MAAM;IACW,IAAI,EAArB,IAAI;CACZ,yBAkCF;AAnZD;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AA4GM;;;gBAmGN;AA4FM,oDAMN;uBApUiC,mBAAmB"}
|
|
@@ -1,20 +1,36 @@
|
|
|
1
|
+
import type { MaybeGetter } from './utilities/callOrGet.js';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for Mark extensions.
|
|
4
|
+
*/
|
|
5
|
+
export interface MarkConfig<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> {
|
|
6
|
+
/** The unique name of the mark */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Whether this mark is from an external package */
|
|
9
|
+
isExternal?: boolean;
|
|
10
|
+
/** Function to define mark options */
|
|
11
|
+
addOptions?: MaybeGetter<Options>;
|
|
12
|
+
/** Function to define mark storage */
|
|
13
|
+
addStorage?: MaybeGetter<Storage>;
|
|
14
|
+
/** Additional config fields - use with caution */
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
1
17
|
/**
|
|
2
18
|
* Mark class is used to create Mark extensions.
|
|
19
|
+
* @template Options - Type for mark options
|
|
20
|
+
* @template Storage - Type for mark storage
|
|
3
21
|
*/
|
|
4
|
-
export class Mark {
|
|
22
|
+
export declare class Mark<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> {
|
|
23
|
+
type: "mark";
|
|
24
|
+
name: string;
|
|
25
|
+
options: Options;
|
|
26
|
+
storage: Storage;
|
|
27
|
+
isExternal: boolean;
|
|
28
|
+
config: MarkConfig<Options, Storage>;
|
|
29
|
+
constructor(config: MarkConfig<Options, Storage>);
|
|
5
30
|
/**
|
|
6
31
|
* Static method for creating Mark extension.
|
|
7
|
-
* @param
|
|
32
|
+
* @param config Configuration for the mark.
|
|
8
33
|
*/
|
|
9
|
-
static create(
|
|
10
|
-
constructor(config: any);
|
|
11
|
-
type: string;
|
|
12
|
-
name: string;
|
|
13
|
-
options: any;
|
|
14
|
-
storage: any;
|
|
15
|
-
isExternal: boolean;
|
|
16
|
-
config: {
|
|
17
|
-
name: string;
|
|
18
|
-
};
|
|
34
|
+
static create<O extends Record<string, unknown> = Record<string, never>, S extends Record<string, unknown> = Record<string, never>>(config: MarkConfig<O, S>): Mark<O, S>;
|
|
19
35
|
}
|
|
20
36
|
//# sourceMappingURL=Mark.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mark.d.ts","sourceRoot":"","sources":["../../../../src/core/Mark.
|
|
1
|
+
{"version":3,"file":"Mark.d.ts","sourceRoot":"","sources":["../../../../src/core/Mark.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D;;GAEG;AACH,MAAM,WAAW,UAAU,CACzB,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC/D,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;IAE/D,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IAEb,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,sCAAsC;IACtC,UAAU,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAElC,sCAAsC;IACtC,UAAU,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAElC,kDAAkD;IAClD,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,qBAAa,IAAI,CACf,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC/D,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;IAE/D,IAAI,EAAG,MAAM,CAAU;IAEvB,IAAI,EAAE,MAAM,CAAU;IAEtB,OAAO,EAAE,OAAO,CAAC;IAEjB,OAAO,EAAE,OAAO,CAAC;IAEjB,UAAU,EAAE,OAAO,CAAC;IAEpB,MAAM,EAAE,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;gBAEzB,MAAM,EAAE,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC;IA6BhD;;;OAGG;IACH,MAAM,CAAC,MAAM,CACX,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACzD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACzD,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;CAGxC"}
|
|
@@ -1,30 +1,92 @@
|
|
|
1
|
-
|
|
1
|
+
import type { MaybeGetter } from './utilities/callOrGet.js';
|
|
2
|
+
import type { NodeType, ParseRule, DOMOutputSpec } from 'prosemirror-model';
|
|
3
|
+
import type { Plugin } from 'prosemirror-state';
|
|
4
|
+
import type { InputRule } from './InputRule.js';
|
|
5
|
+
import type { NodeView } from 'prosemirror-view';
|
|
6
|
+
import type { Editor } from './Editor.js';
|
|
7
|
+
import type { Command } from './types/ChainedCommands.js';
|
|
8
|
+
import type { AttributeSpec } from './Attribute.js';
|
|
9
|
+
/**
|
|
10
|
+
* Configuration for Node extensions.
|
|
11
|
+
*/
|
|
12
|
+
export interface NodeConfig<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> {
|
|
13
|
+
/** The node name */
|
|
14
|
+
name: string;
|
|
15
|
+
/** The node group */
|
|
16
|
+
group?: string;
|
|
17
|
+
/** The node options */
|
|
18
|
+
options?: Options;
|
|
19
|
+
/** Whether the node is an atom node */
|
|
20
|
+
atom?: boolean;
|
|
21
|
+
/** Whether the node is draggable */
|
|
22
|
+
draggable?: boolean;
|
|
23
|
+
/** Whether the node is isolating */
|
|
24
|
+
isolating?: boolean;
|
|
25
|
+
/** Whether the node is defining */
|
|
26
|
+
defining?: boolean;
|
|
27
|
+
/** Whether the node is a top-level node */
|
|
28
|
+
topNode?: boolean;
|
|
29
|
+
/** The role of the node in a table */
|
|
30
|
+
tableRole?: string;
|
|
31
|
+
/** ProseMirror string for what content this node accepts */
|
|
32
|
+
content?: MaybeGetter<string, []>;
|
|
33
|
+
/** The marks applied to this node */
|
|
34
|
+
marks?: string;
|
|
35
|
+
/** Whether the node is an inline node */
|
|
36
|
+
inline?: boolean;
|
|
37
|
+
/** Whether the node is selectable */
|
|
38
|
+
selectable?: boolean;
|
|
39
|
+
/** The ProseMirror node type (set at runtime) */
|
|
40
|
+
type?: NodeType;
|
|
41
|
+
/** The editor instance (set at runtime) */
|
|
42
|
+
editor?: Editor;
|
|
43
|
+
/** The DOM parsing rules */
|
|
44
|
+
parseDOM?: MaybeGetter<ParseRule[]>;
|
|
45
|
+
/** The DOM rendering function - returns a DOMOutputSpec (allows mutable arrays for JS compatibility) */
|
|
46
|
+
renderDOM?: MaybeGetter<DOMOutputSpec | any[]>;
|
|
47
|
+
/** Function or object to add options to the node */
|
|
48
|
+
addOptions?: MaybeGetter<Options>;
|
|
49
|
+
/** Function or object to add storage to the node */
|
|
50
|
+
addStorage?: MaybeGetter<Storage>;
|
|
51
|
+
/** Function or object to add attributes to the node */
|
|
52
|
+
addAttributes?: MaybeGetter<Record<string, Partial<AttributeSpec>>>;
|
|
53
|
+
/** Function or object to add commands to the node */
|
|
54
|
+
addCommands?: MaybeGetter<Record<string, Command>>;
|
|
55
|
+
/** Function or object to add helpers to the node */
|
|
56
|
+
addHelpers?: MaybeGetter<Record<string, (...args: unknown[]) => unknown>>;
|
|
57
|
+
/** Function or object to add shortcuts to the node */
|
|
58
|
+
addShortcuts?: MaybeGetter<Record<string, Command>>;
|
|
59
|
+
/** Function or object to add input rules to the node */
|
|
60
|
+
addInputRules?: MaybeGetter<InputRule[]>;
|
|
61
|
+
/** Function to add a custom node view to the node */
|
|
62
|
+
addNodeView?: MaybeGetter<(props: any) => NodeView | null>;
|
|
63
|
+
/** Function to add ProseMirror plugins to the node */
|
|
64
|
+
addPmPlugins?: MaybeGetter<Plugin[]>;
|
|
65
|
+
/** Function to extend the ProseMirror node schema */
|
|
66
|
+
extendNodeSchema?: MaybeGetter<Record<string, any>>;
|
|
67
|
+
/** Additional config fields - use with caution */
|
|
68
|
+
[key: string]: unknown;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Node class is used to create Node extensions.
|
|
72
|
+
* @template Options - Type for node options
|
|
73
|
+
* @template Storage - Type for node storage
|
|
74
|
+
*/
|
|
75
|
+
export declare class Node<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> {
|
|
76
|
+
type: NodeType | string;
|
|
77
|
+
name: string;
|
|
78
|
+
options: Options;
|
|
79
|
+
group: string | undefined;
|
|
80
|
+
atom: boolean | undefined;
|
|
81
|
+
editor: Editor | undefined;
|
|
82
|
+
storage: Storage;
|
|
83
|
+
config: NodeConfig<Options, Storage>;
|
|
84
|
+
constructor(config: NodeConfig<Options, Storage>);
|
|
2
85
|
/**
|
|
3
86
|
* Factory method to construct a new Node extension.
|
|
4
|
-
*
|
|
5
|
-
* @
|
|
6
|
-
* @returns {Node} A new Node instance.
|
|
87
|
+
* @param config - The node configuration.
|
|
88
|
+
* @returns A new Node instance.
|
|
7
89
|
*/
|
|
8
|
-
static create(config:
|
|
9
|
-
/**
|
|
10
|
-
* @param {import('./types/index.js').EditorNodeConfig} config
|
|
11
|
-
*/
|
|
12
|
-
constructor(config: import("./types/index.js").EditorNodeConfig);
|
|
13
|
-
/** @type {import('prosemirror-model').NodeType | String} */
|
|
14
|
-
type: import("prosemirror-model").NodeType | string;
|
|
15
|
-
/** @type {string} */
|
|
16
|
-
name: string;
|
|
17
|
-
/** @type {import('./types/index.js').EditorNodeOptions} */
|
|
18
|
-
options: import("./types/index.js").EditorNodeOptions;
|
|
19
|
-
/** @type {string} */
|
|
20
|
-
group: string;
|
|
21
|
-
/** @type {boolean} */
|
|
22
|
-
atom: boolean;
|
|
23
|
-
/** @type {import('./Editor.js').Editor} */
|
|
24
|
-
editor: import("./Editor.js").Editor;
|
|
25
|
-
/** @type {import('./types/index.js').EditorNodeStorage} */
|
|
26
|
-
storage: import("./types/index.js").EditorNodeStorage;
|
|
27
|
-
/** @type {import('./types/index.js').EditorNodeConfig} */
|
|
28
|
-
config: import("./types/index.js").EditorNodeConfig;
|
|
90
|
+
static create<O extends Record<string, unknown> = Record<string, never>, S extends Record<string, unknown> = Record<string, never>>(config: NodeConfig<O, S>): Node<O, S>;
|
|
29
91
|
}
|
|
30
92
|
//# sourceMappingURL=Node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Node.d.ts","sourceRoot":"","sources":["../../../../src/core/Node.
|
|
1
|
+
{"version":3,"file":"Node.d.ts","sourceRoot":"","sources":["../../../../src/core/Node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,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
2
|
+
import type { NodeConfig } from './Node.js';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for OXML Node extensions (extends NodeConfig)
|
|
5
|
+
*/
|
|
6
|
+
export interface OxmlNodeConfig<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> extends NodeConfig<Options, Storage> {
|
|
7
|
+
/** The OXML element name */
|
|
8
|
+
oXmlName: string;
|
|
9
|
+
/** Child attributes to extract */
|
|
10
|
+
childToAttributes?: string[];
|
|
11
|
+
}
|
|
1
12
|
/**
|
|
2
|
-
*
|
|
13
|
+
* OxmlNode class extends Node with OXML-specific properties.
|
|
14
|
+
* @template Options - Type for node options
|
|
15
|
+
* @template Storage - Type for node storage
|
|
3
16
|
*/
|
|
4
|
-
export class OxmlNode extends Node {
|
|
17
|
+
export declare class OxmlNode<Options extends Record<string, unknown> = Record<string, never>, Storage extends Record<string, unknown> = Record<string, never>> extends Node<Options, Storage> {
|
|
18
|
+
oXmlName: string;
|
|
19
|
+
constructor(config: OxmlNodeConfig<Options, Storage>);
|
|
5
20
|
/**
|
|
6
21
|
* Factory method to construct a new OxmlNode instance.
|
|
7
|
-
*
|
|
8
|
-
* @
|
|
9
|
-
* @returns {OxmlNode} A new OxmlNode instance.
|
|
10
|
-
*/
|
|
11
|
-
static create(config: import("./types/index.js").OxmlNodeConfig): OxmlNode;
|
|
12
|
-
/**
|
|
13
|
-
* @param {import('./types/index.js').OxmlNodeConfig} config
|
|
22
|
+
* @param config - The OXML node configuration.
|
|
23
|
+
* @returns A new OxmlNode instance.
|
|
14
24
|
*/
|
|
15
|
-
|
|
16
|
-
/** @type {string} */
|
|
17
|
-
oXmlName: string;
|
|
25
|
+
static create<O extends Record<string, unknown> = Record<string, never>, S extends Record<string, unknown> = Record<string, never>>(config: OxmlNodeConfig<O, S>): OxmlNode<O, S>;
|
|
18
26
|
}
|
|
19
|
-
import { Node } from './Node.js';
|
|
20
27
|
//# sourceMappingURL=OxmlNode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxmlNode.d.ts","sourceRoot":"","sources":["../../../../src/core/OxmlNode.
|
|
1
|
+
{"version":3,"file":"OxmlNode.d.ts","sourceRoot":"","sources":["../../../../src/core/OxmlNode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,cAAc,CAC7B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC/D,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAC/D,SAAQ,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC;IACpC,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED;;;;GAIG;AACH,qBAAa,QAAQ,CACnB,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC/D,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAC/D,SAAQ,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;gBAEL,MAAM,EAAE,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;IAKpD;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAChI,MAAM,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,GAC3B,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC;CAGlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/core/Schema.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;IACE;;;;;OAKG;IACH,wFASC;IAED;;;;;;OAMG;IACH;;
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/core/Schema.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;IACE;;;;;OAKG;IACH,wFASC;IAED;;;;;;OAMG;IACH;;MA2EC;IAED;;;;;;OAMG;IACH;;MA6CC;CACF;mCApKkC,mBAAmB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const schemaWithLists: Schema<"text" | "
|
|
1
|
+
export const schemaWithLists: Schema<"text" | "paragraph" | "tab" | "orderedList" | "bulletList" | "doc" | "listItem", keyof import("orderedmap").default<import("prosemirror-model").MarkSpec>>;
|
|
2
2
|
import { Schema } from 'prosemirror-model';
|
|
3
3
|
//# sourceMappingURL=schemaWithLists.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apply new numbering metadata to a paragraph node and refresh related layout attributes.
|
|
3
|
+
*
|
|
4
|
+
* @param {{ numId: number, ilvl: number } | null} newNumberingProperties The numbering properties to set, or null to clear them.
|
|
5
|
+
* @param {import('prosemirror-model').Node} paragraphNode The paragraph node being updated.
|
|
6
|
+
* @param {number} pos Document position of the node, used for transaction updates.
|
|
7
|
+
* @param {import('../Editor').Editor} editor The editor that supplies numbering and style resolution helpers.
|
|
8
|
+
* @param {import('prosemirror-state').Transaction} tr The transaction receiving the updated node markup.
|
|
9
|
+
*/
|
|
10
|
+
export function updateNumberingProperties(newNumberingProperties: {
|
|
11
|
+
numId: number;
|
|
12
|
+
ilvl: number;
|
|
13
|
+
} | null, paragraphNode: import("prosemirror-model").Node, pos: number, editor: import("../Editor").Editor, tr: import("prosemirror-state").Transaction): void;
|
|
14
|
+
export function changeListLevel(delta: number, editor: import("../Editor").Editor, tr: import("prosemirror-state").Transaction): boolean;
|
|
15
|
+
//# sourceMappingURL=changeListLevel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"changeListLevel.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/changeListLevel.js"],"names":[],"mappings":"AAwGA;;;;;;;;GAQG;AACH,kEANW;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,iBACtC,OAAO,mBAAmB,EAAE,IAAI,OAChC,MAAM,UACN,OAAO,WAAW,EAAE,MAAM,MAC1B,OAAO,mBAAmB,EAAE,WAAW,QA0BjD;AA5HM,uCALI,MAAM,UACN,OAAO,WAAW,EAAE,MAAM,MAC1B,OAAO,mBAAmB,EAAE,WAAW,GACrC,OAAO,CA2FnB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function decreaseListIndent(
|
|
1
|
+
export function decreaseListIndent(): Function;
|
|
2
2
|
//# sourceMappingURL=decreaseListIndent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decreaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/decreaseListIndent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"decreaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/decreaseListIndent.js"],"names":[],"mappings":"AAOO,+CAUJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"increaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/increaseListIndent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"increaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/increaseListIndent.js"],"names":[],"mappings":"AAMO,uCAEJ;;;;CAAwB,aAQxB"}
|
|
@@ -31,16 +31,13 @@ export * from "./selectTextblockEnd.js";
|
|
|
31
31
|
export * from "./insertContent.js";
|
|
32
32
|
export * from "./insertContentAt.js";
|
|
33
33
|
export * from "./undoInputRule.js";
|
|
34
|
-
export * from "./
|
|
34
|
+
export * from "./textIndent.js";
|
|
35
|
+
export * from "./lineHeight.js";
|
|
35
36
|
export * from "./toggleList.js";
|
|
36
|
-
export * from "./splitListItem.js";
|
|
37
|
-
export * from "./sinkListItem.js";
|
|
38
|
-
export * from "./liftListItem.js";
|
|
39
|
-
export * from "./deleteListItem.js";
|
|
40
37
|
export * from "./increaseListIndent.js";
|
|
41
38
|
export * from "./decreaseListIndent.js";
|
|
42
|
-
export * from "./
|
|
43
|
-
export * from "./
|
|
39
|
+
export * from "./changeListLevel.js";
|
|
40
|
+
export * from "./removeNumberingProperties.js";
|
|
44
41
|
export * from "./restoreSelection.js";
|
|
45
42
|
export * from "./setTextSelection.js";
|
|
46
43
|
export * from "./getSelectionMarks.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineHeight.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/lineHeight.js"],"names":[],"mappings":"AASO,0CAJI,MAAM,IAMd;;CAAY,SAMZ;AASI,oCAEJ;;CAAY,SAMZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function isList(
|
|
1
|
+
export function isList(node: any): boolean;
|
|
2
2
|
//# sourceMappingURL=is-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-list.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/is-list.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"is-list.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/is-list.js"],"names":[],"mappings":"AAMO,mCAFM,OAAO,CAMO"}
|
package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-indent-helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/list-indent-helpers.js"],"names":[],"mappings":"AAEO,+CAIN;AAEM,kDAWN
|
|
1
|
+
{"version":3,"file":"list-indent-helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/list-indent-helpers.js"],"names":[],"mappings":"AAEO,+CAIN;AAEM,kDAWN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeNumberingProperties.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/removeNumberingProperties.js"],"names":[],"mappings":"AAOO;;KAEJ,UAAK,SA0BL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resetAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/resetAttributes.js"],"names":[],"mappings":"AAUO,4CAHI,GAAC,SACD,GAAC,IAIT;;;;CAAuB,
|
|
1
|
+
{"version":3,"file":"resetAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/resetAttributes.js"],"names":[],"mappings":"AAUO,4CAHI,GAAC,SACD,GAAC,IAIT;;;;CAAuB,aAsCvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restartNumbering.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/restartNumbering.js"],"names":[],"mappings":"AAMO;;;;;YAgDN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitBlock.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/splitBlock.js"],"names":[],"mappings":"AAsBO
|
|
1
|
+
{"version":3,"file":"splitBlock.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/splitBlock.js"],"names":[],"mappings":"AAsBO;;;KAEJ,UAAK,aAsDL"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const testSchema: Schema<"text" | "
|
|
1
|
+
export const testSchema: Schema<"text" | "paragraph" | "tab" | "orderedList" | "bulletList" | "doc" | "listItem", never>;
|
|
2
2
|
import { Schema } from 'prosemirror-model';
|
|
3
3
|
//# sourceMappingURL=test-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/textIndent.js"],"names":[],"mappings":"AAcO,+CAA8F;AAW9F,+CAA+F;AAY/F,2CAPI,MAAM,YAOuE;AAUjF,iDAAgE"}
|