superdoc 0.32.0-next.1 → 0.32.0
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-CLLkJ_LT.es.js → PdfViewer-CpQ_OWRv.es.js} +2 -2
- package/dist/chunks/{PdfViewer-n7Vmdxs7.cjs → PdfViewer-QzQEYHdX.cjs} +2 -2
- package/dist/chunks/{eventemitter3-CFCpOk3d.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
- package/dist/chunks/{eventemitter3-BZXKb7j7.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
- package/dist/chunks/{index-CT38NQEE.es.js → index-CJx0k29h.es.js} +9 -10
- package/dist/chunks/{index-BmkYkJ5B-nlqyhm34.es.js → index-CU6UYFpC-4xQrsffR.es.js} +1 -1
- package/dist/chunks/{index-BmkYkJ5B-SorNc_4w.cjs → index-CU6UYFpC-BM1JiiBo.cjs} +1 -1
- package/dist/chunks/{index-oP5zcbE3.cjs → index-CwNFCyOW.cjs} +9 -10
- package/dist/chunks/{jszip-B99MTu59.cjs → jszip-BP2FTbpi.cjs} +1 -1
- package/dist/chunks/{jszip-Duxs2YMV.es.js → jszip-jKrsZoMS.es.js} +1 -1
- package/dist/chunks/{super-editor.es-Bw2oizFn.cjs → super-editor.es-1Ou0U_Rs.cjs} +19626 -18006
- package/dist/chunks/{super-editor.es-Czw1Kou3.es.js → super-editor.es-CQkIaDkE.es.js} +19579 -17959
- package/dist/chunks/{vue-B5QAf5pA.es.js → vue-CKmzTNVs.es.js} +1379 -1420
- package/dist/chunks/{vue-ARQSyfaw.cjs → vue-Cwv-wUpm.cjs} +1379 -1420
- package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
- package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +52 -140
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +52 -140
- 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/shared/common/Telemetry.d.ts +237 -0
- package/dist/shared/common/Telemetry.d.ts.map +1 -0
- package/dist/shared/common/collaboration/awareness.d.ts +39 -0
- package/dist/shared/common/collaboration/awareness.d.ts.map +1 -0
- package/dist/shared/common/document-types.d.ts +10 -0
- package/dist/shared/common/document-types.d.ts.map +1 -0
- package/dist/shared/common/event-types.d.ts +14 -0
- package/dist/shared/common/event-types.d.ts.map +1 -0
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +8 -0
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +1 -0
- package/dist/shared/common/helpers/get-file-object.d.ts +50 -0
- package/dist/shared/common/helpers/get-file-object.d.ts.map +1 -0
- package/dist/shared/common/helpers/v-click-outside.d.ts +11 -0
- package/dist/shared/common/helpers/v-click-outside.d.ts.map +1 -0
- package/dist/shared/common/index.d.ts +10 -0
- package/dist/shared/common/index.d.ts.map +1 -0
- package/dist/shared/common/key-transform.d.ts +44 -0
- package/dist/shared/common/key-transform.d.ts.map +1 -0
- package/dist/style.css +40 -21
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BP5xR7bY.js → converter-vn3e6hdV.js} +13466 -13175
- package/dist/super-editor/chunks/{docx-zipper-7aLQ6ggk.js → docx-zipper-qlZdemqw.js} +1 -1
- package/dist/super-editor/chunks/{editor-gwZbOsYI.js → editor-kiYjcll8.js} +6071 -4714
- package/dist/super-editor/chunks/{index-BmkYkJ5B.js → index-CU6UYFpC.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-BaP8H6Xj.js → toolbar-Bvg7Oblw.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 +40 -21
- 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 +29 -75
- 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 +673 -145
- 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 +14 -23
- 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 +11 -25
- 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 +12 -28
- 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 +25 -87
- 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 +13 -20
- 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/backspaceNextToList.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.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/deleteListItem.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +15 -0
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +1 -2
- 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 +7 -4
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.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 +1 -0
- 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/resetAttributes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +1 -0
- 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/toggleList.d.ts +56 -6
- 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 +89 -11
- 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/commands/wrapInList.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +1 -0
- 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 +2 -3
- 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 +5 -12
- 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 +42 -15
- 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 +0 -2
- 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 +13 -18
- 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 +5 -2
- 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/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +48 -0
- 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 +0 -9
- 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/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +1 -3
- 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 +97 -0
- 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 +1 -12
- 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 +0 -4
- 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/utils.d.ts +4 -30
- 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/b/attributes/index.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts +2 -1
- 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/caps/caps-translator.d.ts +2 -1
- 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/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts +2 -1
- 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/headers/headers-translator.d.ts +2 -0
- 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/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +2 -1
- 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/p/helpers/index.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.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 +37 -1
- 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 +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +10 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +1 -0
- 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/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +0 -1
- 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/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +2 -1
- 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 +0 -2
- 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/rpr/run-property-translators.d.ts +12 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.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/strike/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +2 -1
- 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/sz/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +3 -5
- 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 +3 -5
- 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/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-type.d.ts → w-tab-size.d.ts} +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.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/tbl/tbl-translator.d.ts +10 -14
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +2 -6
- 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 +2 -8
- 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 +1 -7
- 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 +1 -3
- 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/bullet-list/bullet-list.d.ts +15 -0
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +1 -0
- 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 +1 -6
- 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 +1 -9
- 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 +1 -3
- 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 +3 -18
- 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 +1 -5
- 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 +1 -5
- 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 +1 -3
- 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 +1 -9
- 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 +1 -7
- 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 +1 -3
- 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 +1 -3
- 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 +1 -4
- 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 +8 -23
- 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 +1 -3
- 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/line-height/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +39 -0
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +1 -9
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -2
- 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/list-item/ListItemNodeView.d.ts +43 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +68 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +13 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +51 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +1 -6
- 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/ordered-list/helpers/orderedListMarkerPlugin.d.ts +3 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +6 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +38 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +1 -0
- 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 +1 -8
- 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 +1 -5
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +4 -4
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +10 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +1 -3
- 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 +0 -1
- 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/prosemirror-search-patched.d.ts +56 -8
- package/dist/super-editor/super-editor/src/extensions/search/prosemirror-search-patched.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +19 -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 +1 -6
- 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 +1 -6
- 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 +1 -3
- 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 +1 -6
- 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 +1 -6
- 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 +1 -6
- 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 +2 -14
- 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 +1 -6
- 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 +1 -7
- 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 +1 -19
- 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 +1 -5
- 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 +1 -5
- 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 +1 -6
- 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 +1 -5
- 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 +12 -3
- 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-indent/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +31 -0
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +1 -3
- 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 +1 -3
- 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 +52 -140
- 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 +1 -5
- 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 +1 -5
- 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 +1 -5
- 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 +1 -5
- 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/underline/underline.d.ts +1 -3
- 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 +61 -113
- 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 +110 -127
- 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 +23883 -22304
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-CVyfrKaV.es.js +0 -2
- package/dist/chunks/xml-js-DQa4Ye5C.cjs +0 -3
- package/dist/images/altText_add.svg +0 -3
- package/dist/images/altText_disclaimer.svg +0 -3
- package/dist/images/altText_done.svg +0 -3
- package/dist/images/altText_spinner.svg +0 -30
- package/dist/images/altText_warning.svg +0 -3
- package/dist/images/annotation-check.svg +0 -11
- package/dist/images/annotation-comment.svg +0 -16
- package/dist/images/annotation-help.svg +0 -26
- package/dist/images/annotation-insert.svg +0 -10
- package/dist/images/annotation-key.svg +0 -11
- package/dist/images/annotation-newparagraph.svg +0 -11
- package/dist/images/annotation-noicon.svg +0 -7
- package/dist/images/annotation-note.svg +0 -42
- package/dist/images/annotation-paperclip.svg +0 -6
- package/dist/images/annotation-paragraph.svg +0 -16
- package/dist/images/annotation-pushpin.svg +0 -7
- package/dist/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/images/cursor-editorFreeText.svg +0 -3
- package/dist/images/cursor-editorInk.svg +0 -4
- package/dist/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/images/editor-toolbar-delete.svg +0 -5
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +0 -3
- package/dist/images/messageBar_warning.svg +0 -3
- package/dist/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/images/toolbarButton-menuArrow.svg +0 -3
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +0 -15
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +0 -4
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +0 -4
- package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +0 -72
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +0 -8
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +0 -8
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +0 -8
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +0 -8
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +0 -118
- package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +0 -265
- package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +0 -144
- package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +0 -35
- package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +0 -73
- package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +0 -30
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +0 -37
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +0 -4
- package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +0 -9
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +0 -40
- package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +0 -57
- package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +0 -83
- package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +0 -1
|
@@ -1,273 +1,469 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} FieldValue
|
|
3
|
+
* @property {string} input_id The id of the input field
|
|
4
|
+
* @property {string} input_value The value to insert into the field
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* A map of plugin names to their helper API objects.
|
|
8
|
+
* Each plugin defines its own helper methods.
|
|
9
|
+
*
|
|
10
|
+
* Example:
|
|
11
|
+
* editor.helpers.linkedStyles.getStyles()
|
|
12
|
+
*
|
|
13
|
+
* @typedef {Object<string, Object<string, Function>>} EditorHelpers
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Editor main class.
|
|
17
|
+
*
|
|
18
|
+
* Expects a config object.
|
|
19
|
+
* @class
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* @typedef {Object} User The current user of this superdoc
|
|
23
|
+
* @property {string} name The user's name
|
|
24
|
+
* @property {string} email The user's email
|
|
25
|
+
* @property {string | null} image The user's photo
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* @typedef {Object} DocxNode A JSON representation of a docx node
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* @typedef {Object} EditorOptions
|
|
32
|
+
* @property {HTMLElement} [element] - The container element for the editor
|
|
33
|
+
* @property {string} [selector] - CSS selector for the editor container
|
|
34
|
+
* @property {boolean} [isHeadless=false] - Whether the editor is running in headless mode
|
|
35
|
+
* @property {Document} [mockDocument] - Mock document for testing
|
|
36
|
+
* @property {Window} [mockWindow] - Mock window for testing
|
|
37
|
+
* @property {string} [content=''] - XML content
|
|
38
|
+
* @property {User} [user] - Current user information
|
|
39
|
+
* @property {Array.<User>} [users=[]] - List of users for collaboration
|
|
40
|
+
* @property {Object} [media={}] - Media configuration
|
|
41
|
+
* @property {Object} [mediaFiles={}] - Media files
|
|
42
|
+
* @property {Object} [fonts={}] - Font configuration
|
|
43
|
+
* @property {string} [documentMode='editing'] - Document mode ('editing', 'viewing', 'suggesting')
|
|
44
|
+
* @property {string} [mode='docx'] - Editor mode ('docx', 'text', 'html')
|
|
45
|
+
* @property {string} [role='editor'] - User role ('editor', 'viewer', 'suggester')
|
|
46
|
+
* @property {Array} [colors=[]] - Available colors
|
|
47
|
+
* @property {Object} [converter] - Document converter
|
|
48
|
+
* @property {File|Blob|Buffer} [fileSource] - Source of the file (File/Blob in browser, Buffer in Node.js)
|
|
49
|
+
* @property {Object} [initialState] - Initial editor state
|
|
50
|
+
* @property {string} [documentId] - Unique document identifier
|
|
51
|
+
* @property {Array} [extensions=[]] - Editor extensions
|
|
52
|
+
* @property {boolean} [editable=true] - Whether the editor is editable
|
|
53
|
+
* @property {Object} [editorProps={}] - Editor properties
|
|
54
|
+
* @property {Object} [parseOptions={}] - Parsing options
|
|
55
|
+
* @property {Object} [coreExtensionOptions={}] - Core extension options
|
|
56
|
+
* @property {boolean} [enableInputRules=true] - Whether to enable input rules
|
|
57
|
+
* @property {boolean} [isCommentsEnabled=false] - Whether comments are enabled
|
|
58
|
+
* @property {boolean} [isNewFile=false] - Whether this is a new file
|
|
59
|
+
* @property {number} [scale=1] - Editor scale/zoom
|
|
60
|
+
* @property {boolean} [annotations=false] - Whether annotations are enabled
|
|
61
|
+
* @property {boolean} [isInternal=false] - Whether this is an internal editor
|
|
62
|
+
* @property {Array} [externalExtensions=[]] - External extensions
|
|
63
|
+
* @property {Object} [numbering={}] - Numbering configuration
|
|
64
|
+
* @property {boolean} [isHeaderOrFooter=false] - Whether this is a header or footer editor
|
|
65
|
+
* @property {Function} [onBeforeCreate] - Called before editor creation
|
|
66
|
+
* @property {Function} [onCreate] - Called after editor creation
|
|
67
|
+
* @property {Function} [onUpdate] - Called when editor content updates
|
|
68
|
+
* @property {Function} [onSelectionUpdate] - Called when selection updates
|
|
69
|
+
* @property {Function} [onTransaction] - Called when a transaction is processed
|
|
70
|
+
* @property {Function} [onFocus] - Called when editor gets focus
|
|
71
|
+
* @property {Function} [onBlur] - Called when editor loses focus
|
|
72
|
+
* @property {Function} [onDestroy] - Called when editor is destroyed
|
|
73
|
+
* @property {Function} [onContentError] - Called when there's a content error
|
|
74
|
+
* @property {Function} [onTrackedChangesUpdate] - Called when tracked changes update
|
|
75
|
+
* @property {Function} [onCommentsUpdate] - Called when comments update
|
|
76
|
+
* @property {Function} [onCommentsLoaded] - Called when comments are loaded
|
|
77
|
+
* @property {Function} [onCommentClicked] - Called when a comment is clicked
|
|
78
|
+
* @property {Function} [onCommentLocationsUpdate] - Called when comment locations update
|
|
79
|
+
* @property {Function} [onDocumentLocked] - Called when document is locked
|
|
80
|
+
* @property {Function} [onFirstRender] - Called on first render
|
|
81
|
+
* @property {Function} [onCollaborationReady] - Called when collaboration is ready
|
|
82
|
+
* @property {Function} [onPaginationUpdate] - Called when pagination updates
|
|
83
|
+
* @property {Function} [onException] - Called when an exception occurs
|
|
84
|
+
* @property {Function} [onListDefinitionsChange] - Called when list definitions change
|
|
85
|
+
* @property {Function} [onFontsResolved] - Called when all fonts used in the document are determined
|
|
86
|
+
* @property {Function} [handleImageUpload] - Handler for image uploads
|
|
87
|
+
* @property {Object} [telemetry] - Telemetry configuration
|
|
88
|
+
* @property {boolean} [suppressDefaultDocxStyles] - Prevent default styles from being applied in docx mode
|
|
89
|
+
* @property {Object} [jsonOverride] - Provided JSON to override content with
|
|
90
|
+
* @property {string} [html] - HTML content to initialize the editor with
|
|
91
|
+
* @property {string} [markdown] - Markdown content to initialize the editor with
|
|
92
|
+
* @property {boolean} [isDebug=false] - Whether to enable debug mode
|
|
93
|
+
* @property {(params: {
|
|
94
|
+
* permission: string,
|
|
95
|
+
* role?: string,
|
|
96
|
+
* isInternal?: boolean,
|
|
97
|
+
* comment?: Object | null,
|
|
98
|
+
* trackedChange?: Object | null,
|
|
99
|
+
}) => boolean | undefined} [permissionResolver] - Host-provided permission hook
|
|
100
|
+
*/
|
|
12
101
|
/**
|
|
13
102
|
* Main editor class that manages document state, extensions, and user interactions
|
|
103
|
+
* @class
|
|
104
|
+
* @extends EventEmitter
|
|
14
105
|
*/
|
|
15
|
-
export
|
|
16
|
-
#private;
|
|
106
|
+
export class Editor extends EventEmitter {
|
|
17
107
|
/**
|
|
18
|
-
*
|
|
108
|
+
* Load the data from DOCX to be used in the schema.
|
|
109
|
+
* Expects a DOCX file.
|
|
110
|
+
* @static
|
|
111
|
+
* @async
|
|
112
|
+
* @param {File|Blob|Buffer} fileSource - The DOCX file to load (File/Blob in browser, Buffer in Node.js)
|
|
113
|
+
* @param {boolean} [isNode=false] - Whether the method is being called in a Node.js environment
|
|
114
|
+
* @returns {Promise<Array>} - A promise that resolves to an array containing:
|
|
115
|
+
* - [0] xmlFiles - Array of XML files extracted from the DOCX
|
|
116
|
+
* - [1] mediaFiles - Object containing media files with URLs (browser only)
|
|
117
|
+
* - [2] mediaFiles - Object containing media files with base64 data
|
|
118
|
+
* - [3] fonts - Object containing font files from the DOCX
|
|
19
119
|
*/
|
|
20
|
-
|
|
120
|
+
static loadXmlData(fileSource: File | Blob | Buffer, isNode?: boolean): Promise<any[]>;
|
|
21
121
|
/**
|
|
22
|
-
*
|
|
122
|
+
* Get the document version
|
|
123
|
+
* @static
|
|
124
|
+
* @param {Object} doc - Document object
|
|
125
|
+
* @returns {string} Document version
|
|
23
126
|
*/
|
|
24
|
-
|
|
127
|
+
static getDocumentVersion(doc: any): string;
|
|
25
128
|
/**
|
|
26
|
-
*
|
|
129
|
+
* Set the document version
|
|
130
|
+
* @static
|
|
131
|
+
* @param {Object} doc - Document object
|
|
132
|
+
* @param {string} version - New version
|
|
133
|
+
* @returns {string} The set version
|
|
27
134
|
*/
|
|
28
|
-
|
|
135
|
+
static setDocumentVersion(doc: any, version: string): string;
|
|
29
136
|
/**
|
|
30
|
-
*
|
|
137
|
+
* Get the document GUID
|
|
138
|
+
* @static
|
|
139
|
+
* @param {Object} doc - Document object
|
|
140
|
+
* @returns {string|null} Document GUID
|
|
31
141
|
*/
|
|
32
|
-
|
|
142
|
+
static getDocumentGuid(doc: any): string | null;
|
|
33
143
|
/**
|
|
34
|
-
*
|
|
144
|
+
* @deprecated use setDocumentVersion instead
|
|
35
145
|
*/
|
|
36
|
-
|
|
146
|
+
static updateDocumentVersion(doc: any, version: any): string;
|
|
37
147
|
/**
|
|
38
|
-
*
|
|
148
|
+
* Check if migrations are needed for the data
|
|
149
|
+
* @static
|
|
150
|
+
* @param {Object} data - Document data
|
|
151
|
+
* @returns {boolean} Whether migrations are needed
|
|
39
152
|
*/
|
|
40
|
-
|
|
153
|
+
static checkIfMigrationsNeeded(): boolean;
|
|
41
154
|
/**
|
|
42
|
-
*
|
|
155
|
+
* Create a new Editor instance
|
|
156
|
+
* @param {EditorOptions} options - Editor configuration options
|
|
43
157
|
*/
|
|
44
|
-
|
|
158
|
+
constructor(options: EditorOptions);
|
|
45
159
|
/**
|
|
46
|
-
*
|
|
160
|
+
* Service for managing extensions
|
|
161
|
+
* @type {Object}
|
|
47
162
|
*/
|
|
48
|
-
|
|
163
|
+
extensionService: any;
|
|
49
164
|
/**
|
|
50
|
-
*
|
|
165
|
+
* Storage for extension data
|
|
166
|
+
* @type {Object}
|
|
51
167
|
*/
|
|
52
|
-
|
|
168
|
+
extensionStorage: any;
|
|
53
169
|
/**
|
|
54
|
-
*
|
|
170
|
+
* ProseMirror schema for the editor
|
|
171
|
+
* @type {Object}
|
|
55
172
|
*/
|
|
56
|
-
|
|
57
|
-
options: EditorOptions;
|
|
173
|
+
schema: any;
|
|
58
174
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @
|
|
175
|
+
* ProseMirror view instance
|
|
176
|
+
* @type {Object}
|
|
61
177
|
*/
|
|
62
|
-
|
|
178
|
+
view: any;
|
|
179
|
+
/**
|
|
180
|
+
* Whether the editor currently has focus
|
|
181
|
+
* @type {boolean}
|
|
182
|
+
*/
|
|
183
|
+
isFocused: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* All the embedded fonts that were imported by the Editor
|
|
186
|
+
* @type {string[]}
|
|
187
|
+
*/
|
|
188
|
+
fontsImported: string[];
|
|
189
|
+
options: {
|
|
190
|
+
element: any;
|
|
191
|
+
selector: any;
|
|
192
|
+
isHeadless: boolean;
|
|
193
|
+
mockDocument: any;
|
|
194
|
+
mockWindow: any;
|
|
195
|
+
content: string;
|
|
196
|
+
user: any;
|
|
197
|
+
users: any[];
|
|
198
|
+
media: {};
|
|
199
|
+
mediaFiles: {};
|
|
200
|
+
fonts: {};
|
|
201
|
+
documentMode: string;
|
|
202
|
+
mode: string;
|
|
203
|
+
role: string;
|
|
204
|
+
colors: any[];
|
|
205
|
+
converter: any;
|
|
206
|
+
fileSource: any;
|
|
207
|
+
initialState: any;
|
|
208
|
+
documentId: any;
|
|
209
|
+
extensions: any[];
|
|
210
|
+
editable: boolean;
|
|
211
|
+
editorProps: {};
|
|
212
|
+
parseOptions: {};
|
|
213
|
+
coreExtensionOptions: {};
|
|
214
|
+
enableInputRules: boolean;
|
|
215
|
+
isCommentsEnabled: boolean;
|
|
216
|
+
isNewFile: boolean;
|
|
217
|
+
scale: number;
|
|
218
|
+
annotations: boolean;
|
|
219
|
+
isInternal: boolean;
|
|
220
|
+
externalExtensions: any[];
|
|
221
|
+
numbering: {};
|
|
222
|
+
isHeaderOrFooter: boolean;
|
|
223
|
+
lastSelection: any;
|
|
224
|
+
suppressDefaultDocxStyles: boolean;
|
|
225
|
+
jsonOverride: any;
|
|
226
|
+
onBeforeCreate: () => any;
|
|
227
|
+
onCreate: () => any;
|
|
228
|
+
onUpdate: () => any;
|
|
229
|
+
onSelectionUpdate: () => any;
|
|
230
|
+
onTransaction: () => any;
|
|
231
|
+
onFocus: () => any;
|
|
232
|
+
onBlur: () => any;
|
|
233
|
+
onDestroy: () => any;
|
|
234
|
+
onContentError: ({ error }: {
|
|
235
|
+
error: any;
|
|
236
|
+
}) => never;
|
|
237
|
+
onTrackedChangesUpdate: () => any;
|
|
238
|
+
onCommentsUpdate: () => any;
|
|
239
|
+
onCommentsLoaded: () => any;
|
|
240
|
+
onCommentClicked: () => any;
|
|
241
|
+
onCommentLocationsUpdate: () => any;
|
|
242
|
+
onDocumentLocked: () => any;
|
|
243
|
+
onFirstRender: () => any;
|
|
244
|
+
onCollaborationReady: () => any;
|
|
245
|
+
onPaginationUpdate: () => any;
|
|
246
|
+
onException: () => any;
|
|
247
|
+
onListDefinitionsChange: () => any;
|
|
248
|
+
onFontsResolved: any;
|
|
249
|
+
handleImageUpload: any;
|
|
250
|
+
telemetry: any;
|
|
251
|
+
customUpdatedFiles: {};
|
|
252
|
+
isHeaderFooterChanged: boolean;
|
|
253
|
+
isCustomXmlChanged: boolean;
|
|
254
|
+
focusTarget: any;
|
|
255
|
+
permissionResolver: any;
|
|
256
|
+
parentEditor: any;
|
|
257
|
+
};
|
|
258
|
+
setHighContrastMode: (value: any) => void;
|
|
63
259
|
/**
|
|
64
260
|
* Getter which indicates if any changes happen in Editor
|
|
261
|
+
* @returns {boolean}
|
|
65
262
|
*/
|
|
66
263
|
get docChanged(): boolean;
|
|
67
|
-
mount(el:
|
|
264
|
+
mount(el: any): void;
|
|
68
265
|
unmount(): void;
|
|
69
266
|
/**
|
|
70
267
|
* Set the toolbar for this editor
|
|
268
|
+
* @param {Object} toolbar - The toolbar instance
|
|
269
|
+
* @returns {void}
|
|
71
270
|
*/
|
|
72
|
-
setToolbar(toolbar:
|
|
271
|
+
setToolbar(toolbar: any): void;
|
|
272
|
+
toolbar: any;
|
|
73
273
|
/**
|
|
74
274
|
* Focus the editor.
|
|
275
|
+
* @returns {void}
|
|
75
276
|
*/
|
|
76
277
|
focus(): void;
|
|
77
278
|
/**
|
|
78
279
|
* Get the editor state
|
|
280
|
+
* @returns {Object} ProseMirror state
|
|
79
281
|
*/
|
|
80
|
-
get state():
|
|
282
|
+
get state(): any;
|
|
81
283
|
/**
|
|
82
284
|
* Get the editor storage.
|
|
285
|
+
* @returns {Object} Editor storage object
|
|
83
286
|
*/
|
|
84
|
-
get storage():
|
|
287
|
+
get storage(): any;
|
|
85
288
|
/**
|
|
86
289
|
* Get object of registered commands.
|
|
290
|
+
* @returns {import('./commands/types/index.js').EditorCommands} Commands object
|
|
87
291
|
*/
|
|
88
|
-
get commands(): EditorCommands;
|
|
292
|
+
get commands(): import("./commands/types/index.js").EditorCommands;
|
|
89
293
|
/**
|
|
90
294
|
* Get extension helpers.
|
|
295
|
+
* @returns {EditorHelpers} Object with helper methods for extensions
|
|
91
296
|
*/
|
|
92
297
|
get helpers(): EditorHelpers;
|
|
93
298
|
/**
|
|
94
299
|
* Check if the editor is editable.
|
|
300
|
+
* @returns {boolean}
|
|
95
301
|
*/
|
|
96
302
|
get isEditable(): boolean;
|
|
97
303
|
/**
|
|
98
304
|
* Check if editor is destroyed.
|
|
305
|
+
* @returns {boolean}
|
|
99
306
|
*/
|
|
100
307
|
get isDestroyed(): boolean;
|
|
101
308
|
/**
|
|
102
309
|
* Get the editor element
|
|
310
|
+
* @returns {HTMLElement} The editor element
|
|
103
311
|
*/
|
|
104
|
-
get element(): HTMLElement
|
|
312
|
+
get element(): HTMLElement;
|
|
105
313
|
/**
|
|
106
314
|
* Get possible users of the editor.
|
|
315
|
+
* @returns {Array.<User>} List of users
|
|
107
316
|
*/
|
|
108
|
-
get users(): User
|
|
317
|
+
get users(): Array<User>;
|
|
109
318
|
/**
|
|
110
319
|
* Create a chain of commands to call multiple commands at once.
|
|
320
|
+
* @returns {Object} Command chain
|
|
111
321
|
*/
|
|
112
|
-
chain():
|
|
322
|
+
chain(): any;
|
|
113
323
|
/**
|
|
114
324
|
* Check if a command or a chain of commands can be executed. Without executing it.
|
|
325
|
+
* @returns {Object} Object with methods to check command availability
|
|
115
326
|
*/
|
|
116
|
-
can():
|
|
327
|
+
can(): any;
|
|
117
328
|
/**
|
|
118
329
|
* Set the document mode
|
|
119
|
-
* @param documentMode - The document mode ('editing', 'viewing', 'suggesting')
|
|
120
|
-
* @param caller - Calling context
|
|
330
|
+
* @param {string} documentMode - The document mode ('editing', 'viewing', 'suggesting')
|
|
331
|
+
* @param {string} caller - Calling context
|
|
121
332
|
*/
|
|
122
|
-
setDocumentMode(documentMode: string, caller
|
|
333
|
+
setDocumentMode(documentMode: string, caller: string): void;
|
|
123
334
|
/**
|
|
124
335
|
* Export the yjs binary from the current state.
|
|
336
|
+
* @returns {Promise<Uint8Array>} The exported yjs binary
|
|
125
337
|
*/
|
|
126
338
|
generateCollaborationUpdate(): Promise<Uint8Array>;
|
|
127
339
|
/**
|
|
128
340
|
* Initialize data for collaborative editing
|
|
129
341
|
* If we are replacing data and have a valid provider, listen for synced event
|
|
130
342
|
* so that we can initialize the data
|
|
343
|
+
* @returns {void}
|
|
131
344
|
*/
|
|
132
345
|
initializeCollaborationData(): void;
|
|
133
346
|
/**
|
|
134
347
|
* Replace content of editor that was created with loadFromSchema option
|
|
135
348
|
* Used to replace content of other header/footer when one of it was edited
|
|
136
349
|
*
|
|
137
|
-
* @param content - new editor content json (retrieved from editor.getUpdatedJson)
|
|
350
|
+
* @param {object} content - new editor content json (retrieved from editor.getUpdatedJson)
|
|
351
|
+
* @returns {void}
|
|
138
352
|
*/
|
|
139
|
-
replaceContent(content:
|
|
353
|
+
replaceContent(content: object): void;
|
|
140
354
|
/**
|
|
141
355
|
* Set editor options and update state.
|
|
356
|
+
* @param {EditorOptions} options - Editor options
|
|
357
|
+
* @returns {void}
|
|
142
358
|
*/
|
|
143
|
-
setOptions(options?:
|
|
359
|
+
setOptions(options?: EditorOptions): void;
|
|
144
360
|
/**
|
|
145
361
|
* Set whether the editor is editable
|
|
362
|
+
* @param {boolean} [editable=true] - Whether the editor is editable
|
|
363
|
+
* @param {boolean} [emitUpdate=true] - Whether to emit an update event
|
|
364
|
+
* @returns {void}
|
|
146
365
|
*/
|
|
147
366
|
setEditable(editable?: boolean, emitUpdate?: boolean): void;
|
|
148
367
|
/**
|
|
149
368
|
* Register PM plugin.
|
|
150
369
|
* @param plugin PM plugin.
|
|
151
370
|
* @param handlePlugins Optional function for handling plugin merge.
|
|
371
|
+
* @returns {void}
|
|
152
372
|
*/
|
|
153
|
-
registerPlugin(plugin:
|
|
373
|
+
registerPlugin(plugin: any, handlePlugins: any): void;
|
|
154
374
|
/**
|
|
155
375
|
* Unregister a PM plugin
|
|
376
|
+
* @param {string|Object} nameOrPluginKey - Plugin name or plugin instance
|
|
377
|
+
* @returns {void}
|
|
156
378
|
*/
|
|
157
|
-
unregisterPlugin(nameOrPluginKey: string |
|
|
158
|
-
|
|
159
|
-
}): void;
|
|
160
|
-
/**
|
|
161
|
-
* Load the data from DOCX to be used in the schema.
|
|
162
|
-
* Expects a DOCX file.
|
|
163
|
-
* @param fileSource - The DOCX file to load (File/Blob in browser, Buffer in Node.js)
|
|
164
|
-
* @param isNode - Whether the method is being called in a Node.js environment
|
|
165
|
-
* @returns A promise that resolves to an array containing:
|
|
166
|
-
* - [0] xmlFiles - Array of XML files extracted from the DOCX
|
|
167
|
-
* - [1] mediaFiles - Object containing media files with URLs (browser only)
|
|
168
|
-
* - [2] mediaFiles - Object containing media files with base64 data
|
|
169
|
-
* - [3] fonts - Object containing font files from the DOCX
|
|
170
|
-
*/
|
|
171
|
-
static loadXmlData(fileSource: File | Blob | Buffer, isNode?: boolean): Promise<[DocxFileEntry[], Record<string, unknown>, Record<string, unknown>, Record<string, unknown>] | undefined>;
|
|
172
|
-
/**
|
|
173
|
-
* Get the document version
|
|
174
|
-
*/
|
|
175
|
-
static getDocumentVersion(doc: DocxFileEntry[]): string;
|
|
176
|
-
/**
|
|
177
|
-
* Set the document version
|
|
178
|
-
*/
|
|
179
|
-
static setDocumentVersion(doc: DocxFileEntry[], version: string): string;
|
|
180
|
-
/**
|
|
181
|
-
* Get the document GUID
|
|
182
|
-
*/
|
|
183
|
-
static getDocumentGuid(doc: DocxFileEntry[]): string | null;
|
|
184
|
-
/**
|
|
185
|
-
* @deprecated use setDocumentVersion instead
|
|
186
|
-
*/
|
|
187
|
-
static updateDocumentVersion(doc: DocxFileEntry[], version: string): string;
|
|
188
|
-
/**
|
|
189
|
-
* Generates a schema summary for the current runtime schema.
|
|
190
|
-
*/
|
|
191
|
-
getSchemaSummaryJSON(): Promise<SchemaSummaryJSON>;
|
|
192
|
-
/**
|
|
193
|
-
* Validates a ProseMirror JSON document against the current schema.
|
|
194
|
-
*/
|
|
195
|
-
validateJSON(doc: ProseMirrorJSON | ProseMirrorJSON[]): PmNode;
|
|
379
|
+
unregisterPlugin(nameOrPluginKey: string | any): void;
|
|
380
|
+
converter: any;
|
|
196
381
|
/**
|
|
197
382
|
* Creates all node views.
|
|
383
|
+
* @returns {void}
|
|
198
384
|
*/
|
|
199
385
|
createNodeViews(): void;
|
|
200
386
|
/**
|
|
201
387
|
* Get the maximum content size
|
|
388
|
+
* @returns {Object} Size object with width and height
|
|
202
389
|
*/
|
|
203
|
-
getMaxContentSize():
|
|
204
|
-
width?: number;
|
|
205
|
-
height?: number;
|
|
206
|
-
};
|
|
390
|
+
getMaxContentSize(): any;
|
|
207
391
|
/**
|
|
208
392
|
* Attach styles and attributes to the editor element
|
|
209
393
|
*/
|
|
210
|
-
updateEditorStyles(element:
|
|
394
|
+
updateEditorStyles(element: any, proseMirror: any, hasPaginationEnabled?: boolean): void;
|
|
211
395
|
/**
|
|
212
396
|
* Initialize default styles for the editor container and ProseMirror.
|
|
213
397
|
* Get page size and margins from the converter.
|
|
214
398
|
* Set document default font and font size.
|
|
215
399
|
*
|
|
216
|
-
* @param element - The DOM element to apply styles to
|
|
400
|
+
* @param {HTMLElement} [element=this.element] - The DOM element to apply styles to
|
|
401
|
+
* @returns {void}
|
|
217
402
|
*/
|
|
218
|
-
initDefaultStyles(element?: HTMLElement
|
|
403
|
+
initDefaultStyles(element?: HTMLElement, isPaginationEnabled?: boolean): void;
|
|
219
404
|
/**
|
|
220
405
|
* Initializes responsive styles for mobile devices.
|
|
221
406
|
* Sets up scaling based on viewport width and handles orientation changes.
|
|
407
|
+
*
|
|
408
|
+
* @param {HTMLElement|void} element - The DOM element to apply mobile styles to
|
|
409
|
+
* @returns {void}
|
|
222
410
|
*/
|
|
223
|
-
initMobileStyles(element: HTMLElement |
|
|
411
|
+
initMobileStyles(element: HTMLElement | void): void;
|
|
224
412
|
/**
|
|
225
413
|
* Get document identifier for telemetry (async - may generate hash)
|
|
414
|
+
* @returns {Promise<string>} GUID for modified docs, hash for unmodified
|
|
226
415
|
*/
|
|
227
|
-
getDocumentIdentifier(): Promise<string
|
|
416
|
+
getDocumentIdentifier(): Promise<string>;
|
|
228
417
|
/**
|
|
229
418
|
* Get permanent document GUID (sync - only for modified documents)
|
|
419
|
+
* @returns {string|null} GUID or null if document hasn't been modified
|
|
230
420
|
*/
|
|
231
421
|
getDocumentGuid(): string | null;
|
|
232
422
|
/**
|
|
233
423
|
* Check if document has been modified
|
|
424
|
+
* @returns {boolean}
|
|
234
425
|
*/
|
|
235
426
|
isDocumentModified(): boolean;
|
|
236
427
|
/**
|
|
237
428
|
* Get telemetry data (async because of lazy hash generation)
|
|
238
429
|
*/
|
|
239
430
|
getTelemetryData(): Promise<{
|
|
240
|
-
documentId: string
|
|
431
|
+
documentId: string;
|
|
241
432
|
isModified: boolean;
|
|
242
433
|
isPermanentId: boolean;
|
|
243
|
-
version:
|
|
434
|
+
version: any;
|
|
244
435
|
}>;
|
|
245
|
-
|
|
246
|
-
* @deprecated use getDocumentGuid instead
|
|
247
|
-
*/
|
|
248
|
-
getDocumentId(): string | null;
|
|
436
|
+
getDocumentId(): string;
|
|
249
437
|
/**
|
|
250
438
|
* Get attrs of the currently selected node or mark.
|
|
439
|
+
* @param {String} nameOrType
|
|
251
440
|
* @example
|
|
252
441
|
* editor.getAttributes('textStyle').color
|
|
253
442
|
*/
|
|
254
|
-
getAttributes(nameOrType: string):
|
|
443
|
+
getAttributes(nameOrType: string): any;
|
|
255
444
|
/**
|
|
256
445
|
* Returns if the currently selected node or mark is active.
|
|
257
|
-
* @param nameOrAttributes - The name of the node/mark or an attributes object
|
|
258
|
-
* @param attributesOrUndefined - Optional attributes to check when first parameter is a name
|
|
446
|
+
* @param {String|Object} nameOrAttributes - The name of the node/mark or an attributes object
|
|
447
|
+
* @param {Object} [attributesOrUndefined] - Optional attributes to check when first parameter is a name
|
|
448
|
+
* @returns {Boolean} Whether the node or mark is active with the specified attributes
|
|
259
449
|
* @example
|
|
260
450
|
* editor.isActive('bold')
|
|
261
451
|
* editor.isActive('textStyle', { color: 'purple' })
|
|
262
452
|
* editor.isActive({ textAlign: 'center' })
|
|
263
453
|
*/
|
|
264
|
-
isActive(nameOrAttributes: string |
|
|
454
|
+
isActive(nameOrAttributes: string | any, attributesOrUndefined?: any): boolean;
|
|
265
455
|
/**
|
|
266
456
|
* Get the editor content as JSON
|
|
457
|
+
* @returns {Object} Editor content as JSON
|
|
267
458
|
*/
|
|
268
|
-
getJSON():
|
|
459
|
+
getJSON(): any;
|
|
269
460
|
/**
|
|
270
461
|
* Get document metadata including GUID, modification status, and version
|
|
462
|
+
* @returns {{
|
|
463
|
+
* documentGuid: string | null,
|
|
464
|
+
* isModified: boolean,
|
|
465
|
+
* version: string | null
|
|
466
|
+
* }} Document metadata
|
|
271
467
|
*/
|
|
272
468
|
getMetadata(): {
|
|
273
469
|
documentGuid: string | null;
|
|
@@ -276,116 +472,448 @@ export declare class Editor extends EventEmitter<EditorEventMap> {
|
|
|
276
472
|
};
|
|
277
473
|
/**
|
|
278
474
|
* Get the editor content as HTML
|
|
475
|
+
* @param {Object} options - Options for the HTML serializer
|
|
476
|
+
* @param {boolean} [options.unflattenLists] - Whether to unflatten lists in the HTML
|
|
477
|
+
* @returns {string} Editor content as HTML
|
|
279
478
|
*/
|
|
280
479
|
getHTML({ unflattenLists }?: {
|
|
281
480
|
unflattenLists?: boolean;
|
|
282
481
|
}): string;
|
|
283
482
|
/**
|
|
284
483
|
* Get the editor content as Markdown
|
|
484
|
+
* @returns {Promise<string>} Editor content as Markdown
|
|
285
485
|
*/
|
|
286
486
|
getMarkdown(): Promise<string>;
|
|
287
487
|
/**
|
|
288
488
|
* Get the document version from the converter
|
|
489
|
+
* @returns {string|null} The SuperDoc version stored in the document
|
|
289
490
|
*/
|
|
290
491
|
getDocumentVersion(): string | null;
|
|
291
492
|
/**
|
|
292
493
|
* Create a child editor linked to this editor.
|
|
293
494
|
* This is useful for creating header/footer editors that are linked to the main editor.
|
|
294
495
|
* Or paragraph fields that rely on the same underlying document and list defintions
|
|
496
|
+
* @param {EditorOptions} options - Options for the child editor
|
|
497
|
+
* @returns {Editor} A new child editor instance linked to this editor
|
|
295
498
|
*/
|
|
296
|
-
createChildEditor(options:
|
|
499
|
+
createChildEditor(options: EditorOptions): Editor;
|
|
297
500
|
/**
|
|
298
501
|
* Get page styles
|
|
502
|
+
* @returns {Object} Page styles
|
|
299
503
|
*/
|
|
300
|
-
getPageStyles():
|
|
504
|
+
getPageStyles(): any;
|
|
301
505
|
/**
|
|
302
506
|
* Update page styles
|
|
507
|
+
*
|
|
508
|
+
* @param {Object} param0
|
|
509
|
+
* @param {Object} param0.pageMargins The new page margins
|
|
510
|
+
* @returns {void}
|
|
303
511
|
*/
|
|
304
512
|
updatePageStyle({ pageMargins }: {
|
|
305
|
-
pageMargins
|
|
513
|
+
pageMargins: any;
|
|
306
514
|
}): void;
|
|
307
|
-
migrateListsToV2(): any
|
|
308
|
-
getUpdatedJson():
|
|
515
|
+
migrateListsToV2(): any;
|
|
516
|
+
getUpdatedJson(): any;
|
|
309
517
|
/**
|
|
310
518
|
* Export the editor document to DOCX.
|
|
519
|
+
* @async
|
|
520
|
+
* @param {Object} options - The export options
|
|
521
|
+
* @param {boolean} [options.isFinalDoc=false] - Whether this is the final document version
|
|
522
|
+
* @param {string} [options.commentsType] - The type of comments to include
|
|
523
|
+
* @param {Array} [options.comments=[]] - Array of comments to include in the document
|
|
524
|
+
* @param {boolean} [options.getUpdatedDocs=false] - When set to true return only updated docx files
|
|
525
|
+
* @returns {Promise<Blob|ArrayBuffer|Object>} The exported DOCX file or updated docx files
|
|
311
526
|
*/
|
|
312
527
|
exportDocx({ isFinalDoc, commentsType, exportJsonOnly, exportXmlOnly, comments, getUpdatedDocs, fieldsHighlightColor, }?: {
|
|
313
528
|
isFinalDoc?: boolean;
|
|
314
529
|
commentsType?: string;
|
|
315
|
-
|
|
316
|
-
exportXmlOnly?: boolean;
|
|
317
|
-
comments?: Comment[];
|
|
530
|
+
comments?: any[];
|
|
318
531
|
getUpdatedDocs?: boolean;
|
|
319
|
-
|
|
320
|
-
}): Promise<Blob | ArrayBuffer | Buffer | Record<string, string> | ProseMirrorJSON | string | undefined>;
|
|
532
|
+
}): Promise<Blob | ArrayBuffer | any>;
|
|
321
533
|
/**
|
|
322
534
|
* Destroy the editor and clean up resources
|
|
535
|
+
* @returns {void}
|
|
323
536
|
*/
|
|
324
537
|
destroy(): void;
|
|
325
538
|
destroyHeaderFooterEditors(): void;
|
|
326
|
-
/**
|
|
327
|
-
* Check if migrations are needed for the data
|
|
328
|
-
*/
|
|
329
|
-
static checkIfMigrationsNeeded(): boolean;
|
|
330
539
|
/**
|
|
331
540
|
* Process collaboration migrations
|
|
541
|
+
* @returns {Object | void} Migration results
|
|
332
542
|
*/
|
|
333
|
-
processCollaborationMigrations():
|
|
543
|
+
processCollaborationMigrations(): any | void;
|
|
334
544
|
/**
|
|
335
545
|
* Replace the current file
|
|
546
|
+
* @async
|
|
547
|
+
* @param {Object} newFile - New file data
|
|
548
|
+
* @returns {Promise<void>}
|
|
336
549
|
*/
|
|
337
|
-
replaceFile(newFile:
|
|
550
|
+
replaceFile(newFile: any): Promise<void>;
|
|
338
551
|
/**
|
|
339
552
|
* Get internal docx file content
|
|
340
|
-
* @param name - File name
|
|
341
|
-
* @param type - type of result (json, string)
|
|
553
|
+
* @param {string} name - File name
|
|
554
|
+
* @param {string} type - type of result (json, string)
|
|
555
|
+
* @returns {Object|String} - file content
|
|
342
556
|
*/
|
|
343
|
-
getInternalXmlFile(name: string, type?:
|
|
557
|
+
getInternalXmlFile(name: string, type?: string): any | string;
|
|
344
558
|
/**
|
|
345
559
|
* Update internal docx file content
|
|
346
|
-
* @param name - File name
|
|
347
|
-
* @param updatedContent - new file content
|
|
560
|
+
* @param {string} name - File name
|
|
561
|
+
* @param {string} updatedContent - new file content
|
|
348
562
|
*/
|
|
349
|
-
updateInternalXmlFile(name: string, updatedContent: string
|
|
563
|
+
updateInternalXmlFile(name: string, updatedContent: string): void;
|
|
350
564
|
/**
|
|
351
565
|
* Get all nodes of a specific type
|
|
566
|
+
* @param {string} type - Node type
|
|
567
|
+
* @returns {Array} Array of nodes
|
|
352
568
|
*/
|
|
353
|
-
getNodesOfType(type: string):
|
|
354
|
-
node: PmNode;
|
|
355
|
-
pos: number;
|
|
356
|
-
}>;
|
|
569
|
+
getNodesOfType(type: string): any[];
|
|
357
570
|
/**
|
|
358
571
|
* Replace a node with HTML content
|
|
572
|
+
* @param {Object} targetNode - The node to replace
|
|
573
|
+
* @param {string} html - HTML content to replace with
|
|
574
|
+
* @returns {void}
|
|
359
575
|
*/
|
|
360
|
-
replaceNodeWithHTML(targetNode:
|
|
361
|
-
node: PmNode;
|
|
362
|
-
pos: number;
|
|
363
|
-
}, html: string): void;
|
|
576
|
+
replaceNodeWithHTML(targetNode: any, html: string): void;
|
|
364
577
|
/**
|
|
365
578
|
* A command to prepare the editor to receive annotations. This will
|
|
366
579
|
* pre-process the document as needed prior to running in the annotator.
|
|
367
580
|
*
|
|
368
581
|
* Currently this is only used for table generation but additional pre-processing can be done here.
|
|
582
|
+
*
|
|
583
|
+
* @param {FieldValue[]} annotationValues
|
|
584
|
+
* @returns {void}
|
|
369
585
|
*/
|
|
370
586
|
prepareForAnnotations(annotationValues?: FieldValue[]): void;
|
|
371
587
|
/**
|
|
372
588
|
* Migrate paragraph fields to lists V2 structure if necessary.
|
|
373
|
-
* @param annotationValues - List of field values to migrate.
|
|
374
|
-
* @returns Returns a promise that resolves to the migrated
|
|
589
|
+
* @param {FieldValue[]} annotationValues - List of field values to migrate.
|
|
590
|
+
* @returns {Promise<FieldValue[]>} - Returns a promise that resolves to the migrated
|
|
375
591
|
*/
|
|
376
592
|
migrateParagraphFields(annotationValues?: FieldValue[]): Promise<FieldValue[]>;
|
|
377
593
|
/**
|
|
378
594
|
* Annotate the document with the given annotation values.
|
|
595
|
+
*
|
|
596
|
+
* @param {FieldValue[]} annotationValues List of field values to apply.
|
|
597
|
+
* @param {String[]} hiddenIds List of field ids to remove from the document.
|
|
598
|
+
* @returns {void}
|
|
379
599
|
*/
|
|
380
600
|
annotate(annotationValues?: FieldValue[], hiddenIds?: string[], removeEmptyFields?: boolean): void;
|
|
381
601
|
/**
|
|
382
602
|
* Preview annotations in the editor. It stores a copy of the original state.
|
|
383
603
|
* This can be reverted via closePreview()
|
|
604
|
+
*
|
|
605
|
+
* @param {Object[]} annotationValues
|
|
606
|
+
* @param {string[]} hiddenIds
|
|
607
|
+
* @returns {void}
|
|
384
608
|
*/
|
|
385
|
-
previewAnnotations(annotationValues?:
|
|
609
|
+
previewAnnotations(annotationValues?: any[], hiddenIds?: string[]): void;
|
|
610
|
+
originalState: any;
|
|
386
611
|
/**
|
|
387
612
|
* If there is a preview active, this will revert the editor to the original state.
|
|
613
|
+
*
|
|
614
|
+
* @returns {void}
|
|
388
615
|
*/
|
|
389
616
|
closePreview(): void;
|
|
617
|
+
#private;
|
|
390
618
|
}
|
|
619
|
+
export type FieldValue = {
|
|
620
|
+
/**
|
|
621
|
+
* The id of the input field
|
|
622
|
+
*/
|
|
623
|
+
input_id: string;
|
|
624
|
+
/**
|
|
625
|
+
* The value to insert into the field
|
|
626
|
+
*/
|
|
627
|
+
input_value: string;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* A map of plugin names to their helper API objects.
|
|
631
|
+
* Each plugin defines its own helper methods.
|
|
632
|
+
*
|
|
633
|
+
* Example:
|
|
634
|
+
* editor.helpers.linkedStyles.getStyles()
|
|
635
|
+
*/
|
|
636
|
+
export type EditorHelpers = {
|
|
637
|
+
[x: string]: {
|
|
638
|
+
[x: string]: Function;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* The current user of this superdoc
|
|
643
|
+
*/
|
|
644
|
+
export type User = {
|
|
645
|
+
/**
|
|
646
|
+
* The user's name
|
|
647
|
+
*/
|
|
648
|
+
name: string;
|
|
649
|
+
/**
|
|
650
|
+
* The user's email
|
|
651
|
+
*/
|
|
652
|
+
email: string;
|
|
653
|
+
/**
|
|
654
|
+
* The user's photo
|
|
655
|
+
*/
|
|
656
|
+
image: string | null;
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* A JSON representation of a docx node
|
|
660
|
+
*/
|
|
661
|
+
export type DocxNode = any;
|
|
662
|
+
export type EditorOptions = {
|
|
663
|
+
/**
|
|
664
|
+
* - The container element for the editor
|
|
665
|
+
*/
|
|
666
|
+
element?: HTMLElement;
|
|
667
|
+
/**
|
|
668
|
+
* - CSS selector for the editor container
|
|
669
|
+
*/
|
|
670
|
+
selector?: string;
|
|
671
|
+
/**
|
|
672
|
+
* - Whether the editor is running in headless mode
|
|
673
|
+
*/
|
|
674
|
+
isHeadless?: boolean;
|
|
675
|
+
/**
|
|
676
|
+
* - Mock document for testing
|
|
677
|
+
*/
|
|
678
|
+
mockDocument?: Document;
|
|
679
|
+
/**
|
|
680
|
+
* - Mock window for testing
|
|
681
|
+
*/
|
|
682
|
+
mockWindow?: Window;
|
|
683
|
+
/**
|
|
684
|
+
* - XML content
|
|
685
|
+
*/
|
|
686
|
+
content?: string;
|
|
687
|
+
/**
|
|
688
|
+
* - Current user information
|
|
689
|
+
*/
|
|
690
|
+
user?: User;
|
|
691
|
+
/**
|
|
692
|
+
* - List of users for collaboration
|
|
693
|
+
*/
|
|
694
|
+
users?: Array<User>;
|
|
695
|
+
/**
|
|
696
|
+
* - Media configuration
|
|
697
|
+
*/
|
|
698
|
+
media?: any;
|
|
699
|
+
/**
|
|
700
|
+
* - Media files
|
|
701
|
+
*/
|
|
702
|
+
mediaFiles?: any;
|
|
703
|
+
/**
|
|
704
|
+
* - Font configuration
|
|
705
|
+
*/
|
|
706
|
+
fonts?: any;
|
|
707
|
+
/**
|
|
708
|
+
* - Document mode ('editing', 'viewing', 'suggesting')
|
|
709
|
+
*/
|
|
710
|
+
documentMode?: string;
|
|
711
|
+
/**
|
|
712
|
+
* - Editor mode ('docx', 'text', 'html')
|
|
713
|
+
*/
|
|
714
|
+
mode?: string;
|
|
715
|
+
/**
|
|
716
|
+
* - User role ('editor', 'viewer', 'suggester')
|
|
717
|
+
*/
|
|
718
|
+
role?: string;
|
|
719
|
+
/**
|
|
720
|
+
* - Available colors
|
|
721
|
+
*/
|
|
722
|
+
colors?: any[];
|
|
723
|
+
/**
|
|
724
|
+
* - Document converter
|
|
725
|
+
*/
|
|
726
|
+
converter?: any;
|
|
727
|
+
/**
|
|
728
|
+
* - Source of the file (File/Blob in browser, Buffer in Node.js)
|
|
729
|
+
*/
|
|
730
|
+
fileSource?: File | Blob | Buffer;
|
|
731
|
+
/**
|
|
732
|
+
* - Initial editor state
|
|
733
|
+
*/
|
|
734
|
+
initialState?: any;
|
|
735
|
+
/**
|
|
736
|
+
* - Unique document identifier
|
|
737
|
+
*/
|
|
738
|
+
documentId?: string;
|
|
739
|
+
/**
|
|
740
|
+
* - Editor extensions
|
|
741
|
+
*/
|
|
742
|
+
extensions?: any[];
|
|
743
|
+
/**
|
|
744
|
+
* - Whether the editor is editable
|
|
745
|
+
*/
|
|
746
|
+
editable?: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* - Editor properties
|
|
749
|
+
*/
|
|
750
|
+
editorProps?: any;
|
|
751
|
+
/**
|
|
752
|
+
* - Parsing options
|
|
753
|
+
*/
|
|
754
|
+
parseOptions?: any;
|
|
755
|
+
/**
|
|
756
|
+
* - Core extension options
|
|
757
|
+
*/
|
|
758
|
+
coreExtensionOptions?: any;
|
|
759
|
+
/**
|
|
760
|
+
* - Whether to enable input rules
|
|
761
|
+
*/
|
|
762
|
+
enableInputRules?: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* - Whether comments are enabled
|
|
765
|
+
*/
|
|
766
|
+
isCommentsEnabled?: boolean;
|
|
767
|
+
/**
|
|
768
|
+
* - Whether this is a new file
|
|
769
|
+
*/
|
|
770
|
+
isNewFile?: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* - Editor scale/zoom
|
|
773
|
+
*/
|
|
774
|
+
scale?: number;
|
|
775
|
+
/**
|
|
776
|
+
* - Whether annotations are enabled
|
|
777
|
+
*/
|
|
778
|
+
annotations?: boolean;
|
|
779
|
+
/**
|
|
780
|
+
* - Whether this is an internal editor
|
|
781
|
+
*/
|
|
782
|
+
isInternal?: boolean;
|
|
783
|
+
/**
|
|
784
|
+
* - External extensions
|
|
785
|
+
*/
|
|
786
|
+
externalExtensions?: any[];
|
|
787
|
+
/**
|
|
788
|
+
* - Numbering configuration
|
|
789
|
+
*/
|
|
790
|
+
numbering?: any;
|
|
791
|
+
/**
|
|
792
|
+
* - Whether this is a header or footer editor
|
|
793
|
+
*/
|
|
794
|
+
isHeaderOrFooter?: boolean;
|
|
795
|
+
/**
|
|
796
|
+
* - Called before editor creation
|
|
797
|
+
*/
|
|
798
|
+
onBeforeCreate?: Function;
|
|
799
|
+
/**
|
|
800
|
+
* - Called after editor creation
|
|
801
|
+
*/
|
|
802
|
+
onCreate?: Function;
|
|
803
|
+
/**
|
|
804
|
+
* - Called when editor content updates
|
|
805
|
+
*/
|
|
806
|
+
onUpdate?: Function;
|
|
807
|
+
/**
|
|
808
|
+
* - Called when selection updates
|
|
809
|
+
*/
|
|
810
|
+
onSelectionUpdate?: Function;
|
|
811
|
+
/**
|
|
812
|
+
* - Called when a transaction is processed
|
|
813
|
+
*/
|
|
814
|
+
onTransaction?: Function;
|
|
815
|
+
/**
|
|
816
|
+
* - Called when editor gets focus
|
|
817
|
+
*/
|
|
818
|
+
onFocus?: Function;
|
|
819
|
+
/**
|
|
820
|
+
* - Called when editor loses focus
|
|
821
|
+
*/
|
|
822
|
+
onBlur?: Function;
|
|
823
|
+
/**
|
|
824
|
+
* - Called when editor is destroyed
|
|
825
|
+
*/
|
|
826
|
+
onDestroy?: Function;
|
|
827
|
+
/**
|
|
828
|
+
* - Called when there's a content error
|
|
829
|
+
*/
|
|
830
|
+
onContentError?: Function;
|
|
831
|
+
/**
|
|
832
|
+
* - Called when tracked changes update
|
|
833
|
+
*/
|
|
834
|
+
onTrackedChangesUpdate?: Function;
|
|
835
|
+
/**
|
|
836
|
+
* - Called when comments update
|
|
837
|
+
*/
|
|
838
|
+
onCommentsUpdate?: Function;
|
|
839
|
+
/**
|
|
840
|
+
* - Called when comments are loaded
|
|
841
|
+
*/
|
|
842
|
+
onCommentsLoaded?: Function;
|
|
843
|
+
/**
|
|
844
|
+
* - Called when a comment is clicked
|
|
845
|
+
*/
|
|
846
|
+
onCommentClicked?: Function;
|
|
847
|
+
/**
|
|
848
|
+
* - Called when comment locations update
|
|
849
|
+
*/
|
|
850
|
+
onCommentLocationsUpdate?: Function;
|
|
851
|
+
/**
|
|
852
|
+
* - Called when document is locked
|
|
853
|
+
*/
|
|
854
|
+
onDocumentLocked?: Function;
|
|
855
|
+
/**
|
|
856
|
+
* - Called on first render
|
|
857
|
+
*/
|
|
858
|
+
onFirstRender?: Function;
|
|
859
|
+
/**
|
|
860
|
+
* - Called when collaboration is ready
|
|
861
|
+
*/
|
|
862
|
+
onCollaborationReady?: Function;
|
|
863
|
+
/**
|
|
864
|
+
* - Called when pagination updates
|
|
865
|
+
*/
|
|
866
|
+
onPaginationUpdate?: Function;
|
|
867
|
+
/**
|
|
868
|
+
* - Called when an exception occurs
|
|
869
|
+
*/
|
|
870
|
+
onException?: Function;
|
|
871
|
+
/**
|
|
872
|
+
* - Called when list definitions change
|
|
873
|
+
*/
|
|
874
|
+
onListDefinitionsChange?: Function;
|
|
875
|
+
/**
|
|
876
|
+
* - Called when all fonts used in the document are determined
|
|
877
|
+
*/
|
|
878
|
+
onFontsResolved?: Function;
|
|
879
|
+
/**
|
|
880
|
+
* - Handler for image uploads
|
|
881
|
+
*/
|
|
882
|
+
handleImageUpload?: Function;
|
|
883
|
+
/**
|
|
884
|
+
* - Telemetry configuration
|
|
885
|
+
*/
|
|
886
|
+
telemetry?: any;
|
|
887
|
+
/**
|
|
888
|
+
* - Prevent default styles from being applied in docx mode
|
|
889
|
+
*/
|
|
890
|
+
suppressDefaultDocxStyles?: boolean;
|
|
891
|
+
/**
|
|
892
|
+
* - Provided JSON to override content with
|
|
893
|
+
*/
|
|
894
|
+
jsonOverride?: any;
|
|
895
|
+
/**
|
|
896
|
+
* - HTML content to initialize the editor with
|
|
897
|
+
*/
|
|
898
|
+
html?: string;
|
|
899
|
+
/**
|
|
900
|
+
* - Markdown content to initialize the editor with
|
|
901
|
+
*/
|
|
902
|
+
markdown?: string;
|
|
903
|
+
/**
|
|
904
|
+
* - Whether to enable debug mode
|
|
905
|
+
*/
|
|
906
|
+
isDebug?: boolean;
|
|
907
|
+
/**
|
|
908
|
+
* - Host-provided permission hook
|
|
909
|
+
*/
|
|
910
|
+
permissionResolver?: (params: {
|
|
911
|
+
permission: string;
|
|
912
|
+
role?: string;
|
|
913
|
+
isInternal?: boolean;
|
|
914
|
+
comment?: any | null;
|
|
915
|
+
trackedChange?: any | null;
|
|
916
|
+
}) => boolean | undefined;
|
|
917
|
+
};
|
|
918
|
+
import { EventEmitter } from './EventEmitter.js';
|
|
391
919
|
//# sourceMappingURL=Editor.d.ts.map
|