superdoc 0.31.0-next.6 → 0.31.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-DK93vPf1.es.js → PdfViewer-C7FzNB8K.es.js} +1 -1
- package/dist/chunks/{PdfViewer-BSud7RY4.cjs → PdfViewer-Dkf-wCfw.cjs} +1 -1
- package/dist/chunks/{index-DAES86tg-Cjexh3WM.cjs → index-B7rukM8N-Czb0wEJi.cjs} +1 -1
- package/dist/chunks/{index-DAES86tg-BDL6WVta.es.js → index-B7rukM8N-DXE-4odO.es.js} +1 -1
- package/dist/chunks/{index-Crequs_q.cjs → index-BFfgkGob.cjs} +6 -7
- package/dist/chunks/{index-Bz2Q2Xq2.es.js → index-Caz7y85l.es.js} +6 -7
- package/dist/chunks/{super-editor.es-D8NdQdlk.cjs → super-editor.es-B34i6Z9u.cjs} +16477 -14803
- package/dist/chunks/{super-editor.es-BWeMHRHm.es.js → super-editor.es-aXcwDQb4.es.js} +16477 -14803
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +52 -132
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +52 -132
- 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 +31 -11
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DEQxlCAJ.js → converter-27vjcqBP.js} +14121 -13657
- package/dist/super-editor/chunks/{docx-zipper-C6VMEIY_.js → docx-zipper-DG5KTKzA.js} +1 -1
- package/dist/super-editor/chunks/{editor-D0zFmUwx.js → editor-CwdQkjvm.js} +3005 -1745
- package/dist/super-editor/chunks/{index-DAES86tg.js → index-B7rukM8N.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Cwx5bBDV.js → toolbar-B9LjiJVX.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 +31 -11
- 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 -136
- 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/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 -2
- 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/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/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 -2
- 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/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/tblGrid/tblGrid-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/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.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 +6 -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/line-height.d.ts +1 -6
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +1 -1
- 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 +1 -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/search.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +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 +9 -3
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +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/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +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/table.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +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 +1 -4
- 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/text-indent.d.ts +1 -7
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +1 -1
- 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 -132
- 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/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 +59 -98
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +16770 -15097
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- 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/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/super-converter/styles.d.ts +0 -26
- 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/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/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/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,265 +0,0 @@
|
|
|
1
|
-
import type { EditorState, Transaction } from 'prosemirror-state';
|
|
2
|
-
import type { Doc as YDoc, XmlFragment as YXmlFragment } from 'yjs';
|
|
3
|
-
import type { Editor } from '../Editor.js';
|
|
4
|
-
import type { Extension } from '../Extension.js';
|
|
5
|
-
import type { Node as EditorNode } from '../Node.js';
|
|
6
|
-
import type { Mark as EditorMark } from '../Mark.js';
|
|
7
|
-
import type { FontsResolvedPayload, Comment, CommentsPayload, CommentLocationsPayload, PaginationPayload, ListDefinitionsPayload } from './EditorEvents.js';
|
|
8
|
-
import type { ProseMirrorJSON, TelemetryData } from './EditorTypes.js';
|
|
9
|
-
/**
|
|
10
|
-
* User information for collaboration
|
|
11
|
-
*/
|
|
12
|
-
export interface User {
|
|
13
|
-
/** The user's name */
|
|
14
|
-
name: string;
|
|
15
|
-
/** The user's email */
|
|
16
|
-
email: string;
|
|
17
|
-
/** The user's photo URL */
|
|
18
|
-
image: string | null;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Field value for document fields
|
|
22
|
-
*/
|
|
23
|
-
export interface FieldValue {
|
|
24
|
-
/** The id of the input field */
|
|
25
|
-
input_id: string;
|
|
26
|
-
/** The value to insert into the field */
|
|
27
|
-
input_value: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* A JSON representation of a docx node
|
|
31
|
-
*/
|
|
32
|
-
export interface DocxNode {
|
|
33
|
-
[key: string]: unknown;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Single docx file entry extracted from the archive
|
|
37
|
-
*/
|
|
38
|
-
export interface DocxFileEntry {
|
|
39
|
-
name: string;
|
|
40
|
-
content: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Collaboration provider interface
|
|
44
|
-
*/
|
|
45
|
-
export interface CollaborationProvider {
|
|
46
|
-
on(event: string, handler: (...args: unknown[]) => void): void;
|
|
47
|
-
off(event: string, handler: (...args: unknown[]) => void): void;
|
|
48
|
-
connect?: () => void;
|
|
49
|
-
disconnect?: () => void;
|
|
50
|
-
destroy?: () => void;
|
|
51
|
-
synced?: boolean;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Any extension supported by the editor (node, mark, or extension)
|
|
55
|
-
*/
|
|
56
|
-
export type EditorExtension = Extension<any, any> | EditorNode<any, any> | EditorMark<any, any>;
|
|
57
|
-
/**
|
|
58
|
-
* Permission resolver parameters
|
|
59
|
-
*/
|
|
60
|
-
export interface PermissionParams {
|
|
61
|
-
permission: string;
|
|
62
|
-
role?: string;
|
|
63
|
-
isInternal?: boolean;
|
|
64
|
-
comment?: Comment | null;
|
|
65
|
-
trackedChange?: unknown | null;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Editor configuration options
|
|
69
|
-
*/
|
|
70
|
-
export interface EditorOptions {
|
|
71
|
-
/** The container element for the editor */
|
|
72
|
-
element?: HTMLElement | null;
|
|
73
|
-
/** CSS selector for the editor container */
|
|
74
|
-
selector?: string | null;
|
|
75
|
-
/** Whether the editor is running in headless mode */
|
|
76
|
-
isHeadless?: boolean;
|
|
77
|
-
/** Mock document for testing */
|
|
78
|
-
mockDocument?: Document | null;
|
|
79
|
-
/** Mock window for testing */
|
|
80
|
-
mockWindow?: Window | null;
|
|
81
|
-
/** XML/JSON/HTML content */
|
|
82
|
-
content?: string | DocxFileEntry[] | Record<string, unknown> | null;
|
|
83
|
-
/** Current user information */
|
|
84
|
-
user?: User | null;
|
|
85
|
-
/** List of users for collaboration */
|
|
86
|
-
users?: User[];
|
|
87
|
-
/** Media configuration */
|
|
88
|
-
media?: Record<string, unknown>;
|
|
89
|
-
/** Media files */
|
|
90
|
-
mediaFiles?: Record<string, unknown>;
|
|
91
|
-
/** Font configuration */
|
|
92
|
-
fonts?: Record<string, unknown>;
|
|
93
|
-
/** Document mode ('editing', 'viewing', 'suggesting') */
|
|
94
|
-
documentMode?: string;
|
|
95
|
-
/** Editor mode ('docx', 'text', 'html') */
|
|
96
|
-
mode?: 'docx' | 'text' | 'html';
|
|
97
|
-
/** User role ('editor', 'viewer', 'suggester') */
|
|
98
|
-
role?: string;
|
|
99
|
-
/** Available colors */
|
|
100
|
-
colors?: string[];
|
|
101
|
-
/** Document converter */
|
|
102
|
-
converter?: unknown | null;
|
|
103
|
-
/** Source of the file (File/Blob in browser, Buffer in Node.js) */
|
|
104
|
-
fileSource?: File | Blob | Buffer | null;
|
|
105
|
-
/** Initial editor state */
|
|
106
|
-
initialState?: EditorState | null;
|
|
107
|
-
/** Unique document identifier */
|
|
108
|
-
documentId?: string | null;
|
|
109
|
-
/** Editor extensions */
|
|
110
|
-
extensions?: EditorExtension[];
|
|
111
|
-
/** Whether the editor is editable */
|
|
112
|
-
editable?: boolean;
|
|
113
|
-
/** Editor properties */
|
|
114
|
-
editorProps?: Record<string, unknown>;
|
|
115
|
-
/** Parsing options */
|
|
116
|
-
parseOptions?: Record<string, unknown>;
|
|
117
|
-
/** Core extension options */
|
|
118
|
-
coreExtensionOptions?: Record<string, unknown>;
|
|
119
|
-
/** Whether to enable input rules */
|
|
120
|
-
enableInputRules?: boolean;
|
|
121
|
-
/** Whether comments are enabled */
|
|
122
|
-
isCommentsEnabled?: boolean;
|
|
123
|
-
/** Whether this is a new file */
|
|
124
|
-
isNewFile?: boolean;
|
|
125
|
-
/** Editor scale/zoom */
|
|
126
|
-
scale?: number;
|
|
127
|
-
/** Whether annotations are enabled */
|
|
128
|
-
annotations?: boolean;
|
|
129
|
-
/** Whether this is an internal editor */
|
|
130
|
-
isInternal?: boolean;
|
|
131
|
-
/** External extensions */
|
|
132
|
-
externalExtensions?: EditorExtension[];
|
|
133
|
-
/** Whether this editor runs as a linked child editor */
|
|
134
|
-
isChildEditor?: boolean;
|
|
135
|
-
/** Whether the document content was generated from schema */
|
|
136
|
-
loadFromSchema?: boolean;
|
|
137
|
-
/** Numbering configuration */
|
|
138
|
-
numbering?: Record<string, unknown>;
|
|
139
|
-
/** Whether this is a header or footer editor */
|
|
140
|
-
isHeaderOrFooter?: boolean;
|
|
141
|
-
/** Optional pagination metadata */
|
|
142
|
-
pagination?: Record<string, unknown> | null;
|
|
143
|
-
/** Last selection state */
|
|
144
|
-
lastSelection?: unknown | null;
|
|
145
|
-
/** Prevent default styles from being applied in docx mode */
|
|
146
|
-
suppressDefaultDocxStyles?: boolean;
|
|
147
|
-
/** Provided JSON to override content with */
|
|
148
|
-
jsonOverride?: ProseMirrorJSON | null;
|
|
149
|
-
/** HTML content to initialize the editor with */
|
|
150
|
-
html?: string;
|
|
151
|
-
/** Markdown content to initialize the editor with */
|
|
152
|
-
markdown?: string;
|
|
153
|
-
/** Whether to enable debug mode */
|
|
154
|
-
isDebug?: boolean;
|
|
155
|
-
/** Docx xml updated by User */
|
|
156
|
-
customUpdatedFiles?: Record<string, string>;
|
|
157
|
-
/** Whether header/footer has changed */
|
|
158
|
-
isHeaderFooterChanged?: boolean;
|
|
159
|
-
/** Whether custom XML has changed */
|
|
160
|
-
isCustomXmlChanged?: boolean;
|
|
161
|
-
/** Focus target element */
|
|
162
|
-
focusTarget?: HTMLElement | null;
|
|
163
|
-
/** Parent editor (for header/footer editors) */
|
|
164
|
-
parentEditor?: Editor | null;
|
|
165
|
-
/** Collaborative document reference */
|
|
166
|
-
ydoc?: YDoc | null;
|
|
167
|
-
/** Y.js XML fragment for collaborative editing */
|
|
168
|
-
fragment?: YXmlFragment | null;
|
|
169
|
-
/** Collaboration provider */
|
|
170
|
-
collaborationProvider?: CollaborationProvider | null;
|
|
171
|
-
/** Whether the collaboration provider finished syncing */
|
|
172
|
-
collaborationIsReady?: boolean;
|
|
173
|
-
/** Whether comments should be loaded after collaboration replace */
|
|
174
|
-
shouldLoadComments?: boolean;
|
|
175
|
-
/** Whether the current file was replaced */
|
|
176
|
-
replacedFile?: boolean;
|
|
177
|
-
/** Called before editor creation */
|
|
178
|
-
onBeforeCreate?: (params: {
|
|
179
|
-
editor: Editor;
|
|
180
|
-
}) => void;
|
|
181
|
-
/** Called after editor creation */
|
|
182
|
-
onCreate?: (params: {
|
|
183
|
-
editor: Editor;
|
|
184
|
-
}) => void;
|
|
185
|
-
/** Called when editor content updates */
|
|
186
|
-
onUpdate?: (params: {
|
|
187
|
-
editor: Editor;
|
|
188
|
-
transaction: Transaction;
|
|
189
|
-
}) => void;
|
|
190
|
-
/** Called when selection updates */
|
|
191
|
-
onSelectionUpdate?: (params: {
|
|
192
|
-
editor: Editor;
|
|
193
|
-
}) => void;
|
|
194
|
-
/** Called when a transaction is processed */
|
|
195
|
-
onTransaction?: (params: {
|
|
196
|
-
editor: Editor;
|
|
197
|
-
transaction: Transaction;
|
|
198
|
-
}) => void;
|
|
199
|
-
/** Called when editor gets focus */
|
|
200
|
-
onFocus?: (params: {
|
|
201
|
-
editor: Editor;
|
|
202
|
-
event: FocusEvent;
|
|
203
|
-
}) => void;
|
|
204
|
-
/** Called when editor loses focus */
|
|
205
|
-
onBlur?: (params: {
|
|
206
|
-
editor: Editor;
|
|
207
|
-
event: FocusEvent;
|
|
208
|
-
}) => void;
|
|
209
|
-
/** Called when editor is destroyed */
|
|
210
|
-
onDestroy?: () => void;
|
|
211
|
-
/** Called when there's a content error */
|
|
212
|
-
onContentError?: (params: {
|
|
213
|
-
editor: Editor;
|
|
214
|
-
error: Error;
|
|
215
|
-
}) => void;
|
|
216
|
-
/** Called when tracked changes update */
|
|
217
|
-
onTrackedChangesUpdate?: (params: {
|
|
218
|
-
changes: unknown;
|
|
219
|
-
}) => void;
|
|
220
|
-
/** Called when comments update */
|
|
221
|
-
onCommentsUpdate?: (params: CommentsPayload) => void;
|
|
222
|
-
/** Called when comments are loaded */
|
|
223
|
-
onCommentsLoaded?: (params: {
|
|
224
|
-
editor: Editor;
|
|
225
|
-
replacedFile?: boolean;
|
|
226
|
-
comments: Comment[];
|
|
227
|
-
}) => void;
|
|
228
|
-
/** Called when a comment is clicked */
|
|
229
|
-
onCommentClicked?: (params: {
|
|
230
|
-
commentId: string;
|
|
231
|
-
event?: MouseEvent;
|
|
232
|
-
}) => void;
|
|
233
|
-
/** Called when comment locations update */
|
|
234
|
-
onCommentLocationsUpdate?: (params: CommentLocationsPayload) => void;
|
|
235
|
-
/** Called when document is locked */
|
|
236
|
-
onDocumentLocked?: (params: {
|
|
237
|
-
locked: boolean;
|
|
238
|
-
lockedBy?: string;
|
|
239
|
-
}) => void;
|
|
240
|
-
/** Called on first render */
|
|
241
|
-
onFirstRender?: () => void;
|
|
242
|
-
/** Called when collaboration is ready */
|
|
243
|
-
onCollaborationReady?: (params: {
|
|
244
|
-
editor: Editor;
|
|
245
|
-
ydoc: unknown;
|
|
246
|
-
}) => void;
|
|
247
|
-
/** Called when pagination updates */
|
|
248
|
-
onPaginationUpdate?: (params: PaginationPayload) => void;
|
|
249
|
-
/** Called when an exception occurs */
|
|
250
|
-
onException?: (params: {
|
|
251
|
-
error: Error;
|
|
252
|
-
editor: Editor;
|
|
253
|
-
}) => void;
|
|
254
|
-
/** Called when list definitions change */
|
|
255
|
-
onListDefinitionsChange?: (params: ListDefinitionsPayload) => void;
|
|
256
|
-
/** Called when all fonts used in the document are determined */
|
|
257
|
-
onFontsResolved?: ((payload: FontsResolvedPayload) => void) | null;
|
|
258
|
-
/** Handler for image uploads - async (file) => url */
|
|
259
|
-
handleImageUpload?: ((file: File) => Promise<string>) | null;
|
|
260
|
-
/** Telemetry configuration */
|
|
261
|
-
telemetry?: TelemetryData | null;
|
|
262
|
-
/** Host-provided permission hook */
|
|
263
|
-
permissionResolver?: ((params: PermissionParams) => boolean | undefined) | null;
|
|
264
|
-
}
|
|
265
|
-
//# sourceMappingURL=EditorConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorConfig.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/EditorConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAU,MAAM,mBAAmB,CAAC;AAE1E,OAAO,KAAK,EAAE,GAAG,IAAI,IAAI,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,KAAK,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EACV,oBAAoB,EACpB,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IAEd,2BAA2B;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI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,MAAM,EAAE,gBAAgB,KAAK,OAAO,GAAG,SAAS,CAAC,GAAG,IAAI,CAAC;CACjF"}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import type { Transaction } from 'prosemirror-state';
|
|
2
|
-
import type { Editor } from '../Editor.js';
|
|
3
|
-
import type { DefaultEventMap } from '../EventEmitter.js';
|
|
4
|
-
/**
|
|
5
|
-
* Payload for fonts-resolved events
|
|
6
|
-
*/
|
|
7
|
-
export interface FontsResolvedPayload {
|
|
8
|
-
documentFonts: string[];
|
|
9
|
-
unsupportedFonts: string[];
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Comment data structure
|
|
13
|
-
*/
|
|
14
|
-
export interface Comment {
|
|
15
|
-
id: string;
|
|
16
|
-
[key: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Payload for comment-related events
|
|
20
|
-
*/
|
|
21
|
-
export interface CommentsPayload {
|
|
22
|
-
comments?: Comment[];
|
|
23
|
-
[key: string]: unknown;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Payload for comment locations/positions
|
|
27
|
-
*/
|
|
28
|
-
export interface CommentLocationsPayload {
|
|
29
|
-
locations: Array<{
|
|
30
|
-
commentId: string;
|
|
31
|
-
position: {
|
|
32
|
-
top: number;
|
|
33
|
-
left: number;
|
|
34
|
-
height: number;
|
|
35
|
-
width: number;
|
|
36
|
-
};
|
|
37
|
-
[key: string]: unknown;
|
|
38
|
-
}>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Payload for pagination events
|
|
42
|
-
*/
|
|
43
|
-
export interface PaginationPayload {
|
|
44
|
-
pages?: number;
|
|
45
|
-
currentPage?: number;
|
|
46
|
-
[key: string]: unknown;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Payload for list definitions change
|
|
50
|
-
*/
|
|
51
|
-
export interface ListDefinitionsPayload {
|
|
52
|
-
change: unknown;
|
|
53
|
-
numbering?: unknown;
|
|
54
|
-
editor?: unknown;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Event map for the Editor class
|
|
58
|
-
*/
|
|
59
|
-
export interface EditorEventMap extends DefaultEventMap {
|
|
60
|
-
/** Called before editor creation */
|
|
61
|
-
beforeCreate: [{
|
|
62
|
-
editor: Editor;
|
|
63
|
-
}];
|
|
64
|
-
/** Called after editor creation */
|
|
65
|
-
create: [{
|
|
66
|
-
editor: Editor;
|
|
67
|
-
}];
|
|
68
|
-
/** Called when editor content updates */
|
|
69
|
-
update: [{
|
|
70
|
-
editor: Editor;
|
|
71
|
-
transaction: Transaction;
|
|
72
|
-
}];
|
|
73
|
-
/** Called when selection updates */
|
|
74
|
-
selectionUpdate: [{
|
|
75
|
-
editor: Editor;
|
|
76
|
-
transaction: Transaction;
|
|
77
|
-
}];
|
|
78
|
-
/** Called when a transaction is processed */
|
|
79
|
-
transaction: [{
|
|
80
|
-
editor: Editor;
|
|
81
|
-
transaction: Transaction;
|
|
82
|
-
duration?: number;
|
|
83
|
-
}];
|
|
84
|
-
/** Called when editor gets focus */
|
|
85
|
-
focus: [{
|
|
86
|
-
editor: Editor;
|
|
87
|
-
event: FocusEvent;
|
|
88
|
-
transaction: Transaction;
|
|
89
|
-
}];
|
|
90
|
-
/** Called when editor loses focus */
|
|
91
|
-
blur: [{
|
|
92
|
-
editor: Editor;
|
|
93
|
-
event: FocusEvent;
|
|
94
|
-
transaction: Transaction;
|
|
95
|
-
}];
|
|
96
|
-
/** Called when editor is destroyed */
|
|
97
|
-
destroy: [];
|
|
98
|
-
/** Called when there's a content error */
|
|
99
|
-
contentError: [{
|
|
100
|
-
editor: Editor;
|
|
101
|
-
error: Error;
|
|
102
|
-
}];
|
|
103
|
-
/** Called when tracked changes update */
|
|
104
|
-
trackedChangesUpdate: [{
|
|
105
|
-
changes: unknown;
|
|
106
|
-
}];
|
|
107
|
-
/** Called when comments update */
|
|
108
|
-
commentsUpdate: [CommentsPayload];
|
|
109
|
-
/** Called when comments are loaded */
|
|
110
|
-
commentsLoaded: [{
|
|
111
|
-
editor: Editor;
|
|
112
|
-
replacedFile?: boolean;
|
|
113
|
-
comments: Comment[];
|
|
114
|
-
}];
|
|
115
|
-
/** Called when a comment is clicked */
|
|
116
|
-
commentClick: [{
|
|
117
|
-
commentId: string;
|
|
118
|
-
event?: MouseEvent;
|
|
119
|
-
}];
|
|
120
|
-
/** Called when comment locations update */
|
|
121
|
-
'comment-positions': [CommentLocationsPayload];
|
|
122
|
-
/** Called when document is locked */
|
|
123
|
-
locked: [{
|
|
124
|
-
locked: boolean;
|
|
125
|
-
lockedBy?: string;
|
|
126
|
-
}];
|
|
127
|
-
/** Called when collaboration is ready */
|
|
128
|
-
collaborationReady: [{
|
|
129
|
-
editor: Editor;
|
|
130
|
-
ydoc: unknown;
|
|
131
|
-
}];
|
|
132
|
-
/** Called when pagination updates */
|
|
133
|
-
paginationUpdate: [PaginationPayload];
|
|
134
|
-
/** Called when an exception occurs */
|
|
135
|
-
exception: [{
|
|
136
|
-
error: Error;
|
|
137
|
-
editor: Editor;
|
|
138
|
-
}];
|
|
139
|
-
/** Called when list definitions change */
|
|
140
|
-
'list-definitions-change': [ListDefinitionsPayload];
|
|
141
|
-
/** Called when all fonts used in the document are determined */
|
|
142
|
-
'fonts-resolved': [FontsResolvedPayload];
|
|
143
|
-
}
|
|
144
|
-
//# sourceMappingURL=EditorEvents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorEvents.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/EditorEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MA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C3C,mBAAmB,EAAE,CAAC,uBAAuB,CAAC,CAAC;IAE/C,qCAAqC;IACrC,MAAM,EAAE,CAAC;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEjD,yCAAyC;IACzC,kBAAkB,EAAE,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAExD,qCAAqC;IACrC,gBAAgB,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAEtC,sCAAsC;IACtC,SAAS,EAAE,CAAC;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAE9C,0CAA0C;IAC1C,yBAAyB,EAAE,CAAC,sBAAsB,CAAC,CAAC;IAEpD,gEAAgE;IAChE,gBAAgB,EAAE,CAAC,oBAAoB,CAAC,CAAC;CAC1C"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A map of plugin names to their helper API objects.
|
|
3
|
-
* Each plugin defines its own helper methods.
|
|
4
|
-
*
|
|
5
|
-
* Example:
|
|
6
|
-
* editor.helpers.linkedStyles.getStyles()
|
|
7
|
-
*/
|
|
8
|
-
export type EditorHelpers = Record<string, Record<string, (...args: unknown[]) => unknown>>;
|
|
9
|
-
/**
|
|
10
|
-
* Export format options
|
|
11
|
-
*/
|
|
12
|
-
export type ExportFormat = 'docx' | 'json' | 'html' | 'markdown';
|
|
13
|
-
/**
|
|
14
|
-
* Editor node options
|
|
15
|
-
*/
|
|
16
|
-
export interface EditorNodeOptions {
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Editor node storage
|
|
21
|
-
*/
|
|
22
|
-
export interface EditorNodeStorage {
|
|
23
|
-
[key: string]: unknown;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Extension storage - stores data for each extension by extension name
|
|
27
|
-
*/
|
|
28
|
-
export type ExtensionStorage = Record<string, unknown>;
|
|
29
|
-
/**
|
|
30
|
-
* ProseMirror JSON document structure
|
|
31
|
-
*/
|
|
32
|
-
export interface ProseMirrorJSON {
|
|
33
|
-
type: string;
|
|
34
|
-
content?: ProseMirrorJSON[];
|
|
35
|
-
attrs?: Record<string, unknown>;
|
|
36
|
-
marks?: Array<{
|
|
37
|
-
type: string;
|
|
38
|
-
attrs?: Record<string, unknown>;
|
|
39
|
-
}>;
|
|
40
|
-
text?: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Page styles configuration
|
|
44
|
-
*/
|
|
45
|
-
export interface PageStyles {
|
|
46
|
-
width?: string | number;
|
|
47
|
-
height?: string | number;
|
|
48
|
-
marginTop?: string | number;
|
|
49
|
-
marginBottom?: string | number;
|
|
50
|
-
marginLeft?: string | number;
|
|
51
|
-
marginRight?: string | number;
|
|
52
|
-
[key: string]: unknown;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Telemetry data configuration
|
|
56
|
-
*/
|
|
57
|
-
export interface TelemetryData {
|
|
58
|
-
trackUsage?: (event: string, data?: Record<string, unknown>) => void;
|
|
59
|
-
[key: string]: unknown;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Toolbar configuration
|
|
63
|
-
*/
|
|
64
|
-
export interface Toolbar {
|
|
65
|
-
setActiveEditor?: (editor: any) => void;
|
|
66
|
-
[key: string]: unknown;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Re-export commonly used types
|
|
70
|
-
*/
|
|
71
|
-
export type { OxmlNodeConfig, OxmlNode, } from '../OxmlNode.js';
|
|
72
|
-
export type { User, FieldValue, DocxNode, DocxFileEntry, EditorOptions, PermissionParams, EditorExtension, CollaborationProvider, } from './EditorConfig.js';
|
|
73
|
-
//# sourceMappingURL=EditorTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|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AAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACrE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,YAAY,EACV,cAAc,EACd,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,qBAAqB,GACtB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-types.d.ts","sourceRoot":"","sources":["../../../../../../src/core/types/__tests__/command-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Factory that tracks numbering counters, restart settings, and cached paths
|
|
3
|
-
* for list rendering. Each instance is meant to be scoped to a document view.
|
|
4
|
-
*
|
|
5
|
-
* @returns {{
|
|
6
|
-
* setStartSettings: (numId: string | number, level: number, startValue: number, restartValue?: number) => void,
|
|
7
|
-
* setCounter: (numId: string | number, level: number, pos: number, value: number) => void,
|
|
8
|
-
* getCounter: (numId: string | number, level: number, pos: number) => number | null,
|
|
9
|
-
* calculateCounter: (numId: string | number, level: number, pos: number) => number,
|
|
10
|
-
* getAncestorsPath: (numId: string | number, level: number, pos: number) => number[],
|
|
11
|
-
* calculatePath: (numId: string | number, level: number, pos: number) => number[],
|
|
12
|
-
* getCountersMap: () => Record<string, Record<string, Record<string, number>>>,
|
|
13
|
-
* _clearCache: () => void,
|
|
14
|
-
* enableCache: () => void,
|
|
15
|
-
* disableCache: () => void
|
|
16
|
-
* }}
|
|
17
|
-
*/
|
|
18
|
-
export function NumberingManager(): {
|
|
19
|
-
setStartSettings: (numId: string | number, level: number, startValue: number, restartValue?: number) => void;
|
|
20
|
-
setCounter: (numId: string | number, level: number, pos: number, value: number) => void;
|
|
21
|
-
getCounter: (numId: string | number, level: number, pos: number) => number | null;
|
|
22
|
-
calculateCounter: (numId: string | number, level: number, pos: number) => number;
|
|
23
|
-
getAncestorsPath: (numId: string | number, level: number, pos: number) => number[];
|
|
24
|
-
calculatePath: (numId: string | number, level: number, pos: number) => number[];
|
|
25
|
-
getCountersMap: () => Record<string, Record<string, Record<string, number>>>;
|
|
26
|
-
_clearCache: () => void;
|
|
27
|
-
enableCache: () => void;
|
|
28
|
-
disableCache: () => void;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=NumberingManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NumberingManager.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/NumberingManager.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,oCAba;IACR,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7G,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxF,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IAClF,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACjF,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IACnF,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IAChF,cAAc,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB,CAgTH"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ProseMirror node view that renders paragraphs, including special handling for
|
|
3
|
-
* numbered/bulleted lists so marker/separator elements stay in sync with docx
|
|
4
|
-
* layout expectations.
|
|
5
|
-
*/
|
|
6
|
-
export class ParagraphNodeView {
|
|
7
|
-
/**
|
|
8
|
-
* @param {import('prosemirror-model').Node} node Current paragraph node.
|
|
9
|
-
* @param {import('../../core/Editor').Editor} editor Editor instance providing schema/helpers.
|
|
10
|
-
* @param {() => number} getPos Position getter provided by ProseMirror.
|
|
11
|
-
* @param {import('prosemirror-view').Decoration[]} decorations Decorations applied to this node.
|
|
12
|
-
* @param {Record<string, unknown>} extensionAttrs Extra attributes declared by the paragraph extension.
|
|
13
|
-
*/
|
|
14
|
-
constructor(node: import("prosemirror-model").Node, editor: import("../../core/Editor").Editor, getPos: () => number, decorations: import("prosemirror-view").Decoration[], extensionAttrs: Record<string, unknown>);
|
|
15
|
-
node: import("prosemirror-model").Node;
|
|
16
|
-
editor: import("@core/index.js").Editor;
|
|
17
|
-
getPos: () => number;
|
|
18
|
-
decorations: import("prosemirror-view").Decoration[];
|
|
19
|
-
extensionAttrs: Record<string, unknown>;
|
|
20
|
-
_animationFrameRequest: any;
|
|
21
|
-
dom: HTMLParagraphElement;
|
|
22
|
-
contentDOM: HTMLSpanElement;
|
|
23
|
-
/**
|
|
24
|
-
* @param {import('prosemirror-model').Node} node
|
|
25
|
-
* @param {import('prosemirror-view').Decoration[]} decorations
|
|
26
|
-
*/
|
|
27
|
-
update(node: import("prosemirror-model").Node, decorations: import("prosemirror-view").Decoration[]): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* @param {MutationRecord} mutation
|
|
30
|
-
*/
|
|
31
|
-
ignoreMutation(mutation: MutationRecord): boolean;
|
|
32
|
-
marker: HTMLSpanElement;
|
|
33
|
-
separator: HTMLSpanElement | Text;
|
|
34
|
-
destroy(): void;
|
|
35
|
-
#private;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=ParagraphNodeView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,OAAO,mBAAmB,EAAE,IAAI,UAChC,OAAO,mBAAmB,EAAE,MAAM,UAClC,MAAM,MAAM,eACZ,OAAO,kBAAkB,EAAE,UAAU,EAAE,kBACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAuBjC;IApBC,uCAAgB;IAChB,wCAAoB;IACpB,cAPe,MAAM,CAOD;IACpB,qDAA8B;IAC9B,wCAAoC;IACpC,4BAAkC;IAElC,0BAAsC;IACtC,4BAAgD;IAclD;;;OAGG;IACH,aAHW,OAAO,mBAAmB,EAAE,IAAI,eAChC,OAAO,kBAAkB,EAAE,UAAU,EAAE,WAwBjD;IA2BD;;OAEG;IACH,yBAFW,cAAc,WA+BxB;IAmBG,wBAA4C;IAe1C,kCAA+C;IA2LrD,gBAEC;;CACF"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create a ProseMirror plugin that keeps `listRendering` data in sync with the
|
|
3
|
-
* underlying Word numbering definitions.
|
|
4
|
-
*
|
|
5
|
-
* @param {import('../../core/Editor').Editor} editor The active editor instance.
|
|
6
|
-
* @returns {import('prosemirror-state').Plugin}
|
|
7
|
-
*/
|
|
8
|
-
export function createNumberingPlugin(editor: import("../../core/Editor").Editor): import("prosemirror-state").Plugin;
|
|
9
|
-
//# sourceMappingURL=numberingPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,8CAHW,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,mBAAmB,EAAE,MAAM,CA2H9C"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export interface FormattingCommandAugmentations {
|
|
2
|
-
setBold: () => boolean;
|
|
3
|
-
unsetBold: () => boolean;
|
|
4
|
-
toggleBold: () => boolean;
|
|
5
|
-
setItalic: () => boolean;
|
|
6
|
-
unsetItalic: () => boolean;
|
|
7
|
-
toggleItalic: () => boolean;
|
|
8
|
-
setUnderline: () => boolean;
|
|
9
|
-
unsetUnderline: () => boolean;
|
|
10
|
-
toggleUnderline: () => boolean;
|
|
11
|
-
setStrike: () => boolean;
|
|
12
|
-
unsetStrike: () => boolean;
|
|
13
|
-
toggleStrike: () => boolean;
|
|
14
|
-
setColor: (color: string) => boolean;
|
|
15
|
-
unsetColor: () => boolean;
|
|
16
|
-
setHighlight: (color: string) => boolean;
|
|
17
|
-
unsetHighlight: () => boolean;
|
|
18
|
-
toggleHighlight: () => boolean;
|
|
19
|
-
setFontFamily: (fontFamily: string) => boolean;
|
|
20
|
-
unsetFontFamily: () => boolean;
|
|
21
|
-
setFontSize: (fontSize: string | number) => boolean;
|
|
22
|
-
unsetFontSize: () => boolean;
|
|
23
|
-
setHeading: (attrs: {
|
|
24
|
-
level: number;
|
|
25
|
-
}) => boolean;
|
|
26
|
-
toggleHeading: (attrs: {
|
|
27
|
-
level: number;
|
|
28
|
-
}) => boolean;
|
|
29
|
-
setTextAlign: (alignment: string) => boolean;
|
|
30
|
-
unsetTextAlign: () => boolean;
|
|
31
|
-
}
|
|
32
|
-
declare module '@core/types/ChainedCommands.js' {
|
|
33
|
-
interface ExtensionCommandMap extends FormattingCommandAugmentations {
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
declare module '@core/types/ChainedCommands' {
|
|
37
|
-
interface ExtensionCommandMap extends FormattingCommandAugmentations {
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=formatting-commands.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatting-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/types/formatting-commands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAE3C,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,OAAO,CAAC;IAG1B,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,OAAO,CAAC;IAG5B,YAAY,EAAE,MAAM,OAAO,CAAC;IAC5B,cAAc,EAAE,MAAM,OAAO,CAAC;IAC9B,eAAe,EAAE,MAAM,OAAO,CAAC;IAG/B,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,OAAO,CAAC;IAC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