@harbour-enterprises/superdoc 0.23.0-next.9 → 0.23.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-u8hGPpZm.es.js → PdfViewer-CNnk4HmG.es.js} +1 -1
- package/dist/chunks/{PdfViewer-CYUUhI5q.cjs → PdfViewer-w-HUP9r7.cjs} +1 -1
- package/dist/chunks/{eventemitter3-CR2eBWft.es.js → eventemitter3-BWEnUdTY.es.js} +1 -1
- package/dist/chunks/{eventemitter3-DSRogsNq.cjs → eventemitter3-DkXkH2rT.cjs} +1 -1
- package/dist/chunks/{index-CA5Ws4u_.cjs → index-DJwj4tqv.cjs} +205 -473
- package/dist/chunks/{index-B6C_qqb7.es.js → index-QXEfMyH0.es.js} +72 -340
- package/dist/chunks/{super-editor.es-BKc8fudf.cjs → super-editor.es-C8jQoPBb.cjs} +4814 -3896
- package/dist/chunks/{super-editor.es-SlMc-6Xl.es.js → super-editor.es-CYIDOh5T.es.js} +4814 -3896
- package/dist/chunks/{xml-js-CWV8R-ek.cjs → xml-js-D_ZIzxu0.cjs} +1 -1
- package/dist/chunks/xml-js-Dx4FIjnp.es.js +2 -0
- package/dist/components/CommentsLayer/types.d.ts +158 -0
- package/dist/components/CommentsLayer/types.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/types/index.d.ts +19 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/stores/comments-store.d.ts +3 -3
- package/dist/stores/comments-store.d.ts.map +1 -1
- package/dist/style.css +33 -28
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-ClnqoStR.js → converter-Ba2AUXOE.js} +4364 -3753
- package/dist/super-editor/chunks/{docx-zipper-DC28ucAi.js → docx-zipper-BBKQoLBb.js} +1 -1
- package/dist/super-editor/chunks/{editor-Cm1uP1iw.js → editor-DIZaIrjn.js} +348 -153
- package/dist/super-editor/chunks/{toolbar-CwSe0bzm.js → toolbar-56JxZc7l.js} +14 -12
- package/dist/super-editor/converter.es.js +1 -1
- 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 +6 -1
- package/dist/super-editor/{src → super-editor/src}/components/slash-menu/constants.d.ts +4 -0
- package/dist/super-editor/super-editor/src/components/slash-menu/menuItems.d.ts +8 -0
- package/dist/super-editor/{src → super-editor/src}/components/slash-menu/tests/testHelpers.d.ts +5 -12
- package/dist/super-editor/{src → super-editor/src}/components/toolbar/toolbarTexts.d.ts +1 -0
- package/dist/super-editor/{src → super-editor/src}/core/Editor.d.ts +57 -3
- package/dist/super-editor/{src → super-editor/src}/core/helpers/htmlSanitizer.d.ts +1 -1
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/SuperConverter.d.ts +58 -2
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/exporter-docx-defs.d.ts +28 -39
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/num-pages-preprocessor.d.ts +1 -3
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/page-preprocessor.d.ts +1 -3
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/page-ref-preprocessor.d.ts +1 -2
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/commentsExporter.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/pictNodeImporter.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/attributes/index.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/attributes/w-id.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/comment-range-translator.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/index.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-shape-textbox-import.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +12 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/parse-inline-styles.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/pict-node-type-strategy.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/translate-content-block.d.ts +10 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/translate-shape-container.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/translate-shape-textbox.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/index.d.ts +1 -0
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-annotation-node.d.ts +3 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts +6 -0
- package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/node-translator/node-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +64 -0
- package/dist/super-editor/super-editor/src/extensions/comment/helpers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/comment/helpers/normalize-comment-event-payload.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/comment/helpers/update-position.d.ts +7 -0
- package/dist/super-editor/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +5 -0
- package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +1 -0
- package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/startImageUpload.d.ts +5 -0
- package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/index.d.ts +0 -1
- package/dist/super-editor/super-editor.es.js +232 -118
- package/dist/super-editor/superdoc/src/components/CommentsLayer/types.d.ts +157 -0
- 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 -3
- package/dist/superdoc.es.js +2 -3
- package/dist/superdoc.umd.js +4921 -4271
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunks/xml-js-Bbc0NeKa.es.js +0 -2
- package/dist/super-editor/src/components/slash-menu/menuItems.d.ts +0 -40
- package/dist/super-editor/src/core/super-converter/v2/importer/pictNodeImporter.d.ts +0 -116
- package/dist/super-editor/src/extensions/comment/comments-plugin.d.ts +0 -4
- package/dist/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +0 -1
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsByAlias.d.ts +0 -8
- package/dist/chunks/{jszip-DAXEPCUv.es.js → jszip-BDk3JBqp.es.js} +3 -3
- package/dist/chunks/{jszip-B4LDL19y.cjs → jszip-u4dvXAKa.cjs} +3 -3
- /package/dist/super-editor/{postcss.config.d.cts → super-editor/postcss.config.d.cts} +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/cursor-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/pagination-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/slash-menu/utils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/ai-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/color-dropdown-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/constants.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/defaultItems.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/format-negation.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/scroll-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/super-toolbar.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/toolbarIcons.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/components/toolbar/use-toolbar-item.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/composables/use-high-contrast-mode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/Attribute.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/CommandService.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/DocxZipper.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/EventEmitter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/Extension.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/ExtensionService.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/InputRule.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/Mark.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/Node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/OxmlNode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/Schema.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/child-editor/child-editor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/child-editor/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/__tests__/schemaWithLists.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/__tests__/testHelpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/__tests__/testSchema.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/backspaceNextToList.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/clearNodes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/command.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/createParagraphNear.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/decreaseListIndent.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/deleteListItem.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/deleteNextToList.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/deleteSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/exitCode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/first.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/increaseListIndent.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/insertContent.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/insertContentAt.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/insertTabChar.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/insertTabNode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/joinBackward.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/joinDown.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/joinForward.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/joinUp.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/liftEmptyBlock.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/liftListItem.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/find-node-position.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/is-list.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/test-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/newlineInCode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/resetAttributes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/restoreSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/selectAll.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/selectNodeBackward.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/selectNodeForward.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/selectTextblockEnd.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/selectTextblockStart.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/setMark.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/setMeta.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/setNode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/sinkListItem.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/splitBlock.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/splitListItem.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/tests/commandTestUtils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/tests/test-schema.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleList.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleMark.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleMarkCascade.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleNode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/types/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/undoInputRule.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/unsetAllMarks.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/unsetMark.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/updateAttributes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/commands/wrapInList.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/encoding-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/extensions/commands.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/extensions/editable.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/extensions/editorFocus.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/extensions/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/extensions/keymap.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/ErrorWithDetails.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/annotator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/baseListDefinitions.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/chainableEditorState.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/cleanSchemaItem.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/contentProcessor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/createDocument.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/createNodeFromContent.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/defaultBlockAt.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/findChildren.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/findMark.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/findParentNode.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/findParentNodeClosestToPos.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/findWordBounds.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/generateDocxListAttributes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/generateDocxRandomId.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getActiveFormatting.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getExtensionConfigField.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getHTMLFromFragment.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarkRange.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarkType.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarksBetween.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarksFromSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getNodeType.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getSchemaTypeByName.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getSchemaTypeNameByName.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/getTextContentFromNodes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/importHtml.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/importMarkdown.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isActive.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isExtentionRulesEnabled.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isInTable.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isList.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isMarkActive.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isNodeActive.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/isTextSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/list-numbering-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/orderedListUtils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/pasteListHelpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/posToDOMRect.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/selectionToInsertionEnd.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/setImageNodeSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/setWordSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/helpers/updateDOMAttributes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/inputRules/docx-paste/docx-paste.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/inputRules/google-docs-paste/google-docs-paste.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/inputRules/html/html-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/inputRules/html/transform-copied-lists.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/inputRules/wrappingInputRule.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/migrations/0.14-listsv2/listsv2migration.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/migrations/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/migrations/migration_after_0_4_14.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/constants.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/document-rels.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/docx-constants.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/docx-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/get-default-style-definition.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/export-helpers/pre-process-vertical-merge-cells.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/exporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/hyperlink-preprocessor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/toc-preprocessor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/preProcessNodesForFldChar.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/helpers/mediaHelpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/helpers/tableFallbackHelpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/types.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/docxHelper.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/helpers/translateChildNodes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/alternateChoiceImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/autoPageNumberImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/bookmarkEndImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/bookmarkNodeImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/bookmarkStartImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/documentCommentsImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/docxImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/hyperlinkImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/ignoredNodes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/imageImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/importerHelpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/lineBreakImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/listImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/markImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/mergeTextNodes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/pageReferenceImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/paragraphNodeImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/runNodeImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/sdtNodeImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/standardNodeImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/tabImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/tableImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/tableOfContentsImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/textNodeImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/trackChangesImporter.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/types/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/types/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/constants/east-asian-regex.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/constants/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/mc/altermateContent/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/pageReference/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/pageReference/pageReference-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/tableOfContents/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/tableOfContents/tableOfContents-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/types/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/utils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/b-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-displaced-by-custom-xml.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-id.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/bookmark-end-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-first.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-last.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-displaced-by-custom-xml.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-id.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-name.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/bookmark-start-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bottom/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/attributes/w-clear.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/attributes/w-line-break-type.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/br-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cantSplit/cantSplit-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cantSplit/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cnfStyle/cnfStyle-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cnfStyle/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/color-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/divId/divId-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/divId/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/drawing/drawing-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/drawing/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/end/end-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/end/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridAfter/gridAfter-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridAfter/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridBefore/gridBefore-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridBefore/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridCol/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hidden/hidden-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hidden/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/highlight/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/highlight/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/highlight/highlight-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hyperlink/hyperlink-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hyperlink/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/i/i-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideH/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideV/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/jc/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/jc/jc-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/left/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/left/left-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-del.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-p.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r-default.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r-pr.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w14-para-id.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w14-text-id.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/p-translator.d.ts +0 -0
- /package/dist/super-editor/{src/core/super-converter/v3/handlers/w/sdt/sdt-translator.d.ts → super-editor/src/core/super-converter/v3/handlers/w/pict/pict-translator.d.ts} +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/w-rsid-del.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/w-rsid-r-pr.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/w-rsid-r.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/track-change-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/r-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/right/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/right/right-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rpr/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-doc-part-obj.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-document-section-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-structured-content-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/parse-tag-value-json.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/sdt-node-type-strategy.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-document-part-obj.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-document-section.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-structured-content.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/index.d.ts +0 -0
- /package/dist/super-editor/{src/core/super-converter/v3/handlers/w/tc/tc-translator.d.ts → super-editor/src/core/super-converter/v3/handlers/w/sdt/sdt-translator.d.ts} +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/shd/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/start/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/start/start-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/szcs/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/szcs/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/w-tab-leader.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tbl/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellSpacing/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellSpacing/tblCellSpacing-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblGrid/tblGrid-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblHeader/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblHeader/tblHeader-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblInd/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLook/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblPr/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblW/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/helpers/translate-table-cell.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/index.d.ts +0 -0
- /package/dist/super-editor/{src/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts → super-editor/src/core/super-converter/v3/handlers/w/tc/tc-translator.d.ts} +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/top/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/top/top-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tr/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trHeight/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trHeight/trHeight-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trPr/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trPr/trPr-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-color.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-theme-color.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-theme-shade.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-theme-tint.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-val.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/u-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wAfter/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wAfter/wAfter-translator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wBefore/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wBefore/wBefore-translator.d.ts +0 -0
- /package/dist/super-editor/{src/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts → super-editor/src/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts} +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/helpers/handle-anchor-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/helpers/translate-anchor-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/helpers/handle-inline-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/helpers/translate-inline-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/node-translator/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-converter/zipper.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/logger/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/logger/logger.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/super-validator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/types.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/image-validator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/rules/image-rid.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/rules/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/link-validator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/rules/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/rules/link-rid.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/xml/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/xml/numbering/numbering-validator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/xml/relationships/relationships-validator.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/types/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/callOrGet.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/carbonCopy.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/clipboardUtils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/createStyleTag.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/deleteProps.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/imageBlobs.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/isEmptyObject.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/isIOS.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/isMacOS.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/isRegExp.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/minMax.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/objectIncludes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/core/utilities/parseSizeUnit.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-constants.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-marks.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-nodes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-plugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ai/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/block-node/block-node.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/block-node/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bold/bold.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bold/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bookmarks/bookmark-end.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bookmarks/bookmark-start.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bookmarks/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bullet-list/bullet-list.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/bullet-list/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration/collaboration-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration/collaboration.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration-cursor/collaboration-cursor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration-cursor/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/color/color.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/color/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comment-import-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comment.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comments-constants.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comments-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comments-marks.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/comment/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/content-block/content-block.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/content-block/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/custom-selection/custom-selection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/custom-selection/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/document/document.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/document/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/dropcursor/dropcursor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/dropcursor/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/FieldAnnotationPlugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/FieldAnnotationView.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/cleanup-commands/cleanUpParagraphWithAnnotations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/cleanup-commands/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/field-annotation.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotationsBetween.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotationsByFieldId.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFirstFieldAnnotationByFieldId.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findHeaderFooterAnnotationsByFieldId.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/getAllFieldAnnotations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/getAllFieldAnnotationsWithRect.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/getHeaderFooterAnnotations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/trackFieldAnnotationsDeletion.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/font-family/font-family.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/font-family/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/font-size/font-size.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/font-size/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/format-commands/format-commands.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/format-commands/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/gapcursor/gapcursor.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/gapcursor/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/heading/heading.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/heading/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/highlight/highlight.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/highlight/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/history/history.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/history/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/image.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/fileNameUtils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/getFileOpener.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/handleImageUpload.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/handleUrl.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/imagePositionPlugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/processUploadedImage.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/rotation.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/image/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/italic/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/italic/italic.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/line-break/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/line-break/line-break.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/line-height/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/line-height/line-height.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/link/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/link/link.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/linked-styles.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/plugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/underline-css.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/ListItemNodeView.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/helpers/listItemTypography.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/list-item.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/mention/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/mention/mention.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/noderesizer/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/noderesizer/noderesizer.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/ordered-list.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/page-number/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/page-number/page-number.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/page-reference/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/page-reference/page-reference.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/pagination/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/pagination/pagination-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/pagination/pagination.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/paragraph/helpers/getDefaultSpacing.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/paragraph/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/paragraph/paragraph.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/placeholder/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/placeholder/placeholder.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/popover-plugin/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/popover-plugin/popover-plugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/run/commands/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/run/commands/split-run.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/run/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/run/run.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/search/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/search/prosemirror-search-patched.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/search/search.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/shape-container/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/shape-container/shape-container.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/shape-textbox/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/shape-textbox/shape-textbox.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/shared/cascade-toggle.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/slash-menu/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/slash-menu/slash-menu.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/strike/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/strike/strike.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/StructuredContentBlockView.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/StructuredContentInlineView.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/StructuredContentViewBase.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-part-object.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section/DocumentSectionView.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section/helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structured-content-block.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structured-content-commands.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structured-content.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentBlockTags.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentInlineTags.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentTags.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsById.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/tab/helpers/tabDecorations.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/tab/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/tab/tab.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/TableView.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/table.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/cellAround.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/cellWrapping.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createCell.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createColGroup.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createTable.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createTableBorders.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/deleteTableWhenSelected.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/getColStyleDeclaration.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/isCellSelection.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-cell/helpers/createCellBorders.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-cell/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-cell/table-cell.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-header/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-header/table-header.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-of-contents/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-of-contents/table-of-contents.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-row/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/table-row/table-row.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text/text.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-align/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-align/text-align.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-indent/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-indent/text-indent.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-style/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-style/text-style.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-transform/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/text-transform/text-transform.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/constants.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/plugins/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/plugins/trackChangesBasePlugin.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-changes.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-delete.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-format.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-insert.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/addMarkStep.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/documentHelpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/findTrackedMarkBetween.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/getTrackChanges.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/markDeletion.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/markInsertion.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/markWrapping.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/parseFormatList.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/removeMarkStep.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/replaceAroundStep.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/replaceStep.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/underline/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/extensions/underline/underline.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/main.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/data/annotations_doc_content.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/editor/data/imageBase64.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/export/data/comments/basic-resolved-comment.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/export/export-helpers/export-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/export/export-helpers/index.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/export/export-helpers/list-export-helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/helpers/editor-test-utils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/helpers/getParagraphText.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/helpers/helpers.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/tests/import/testUtils.d.ts +0 -0
- /package/dist/super-editor/{src → super-editor/src}/utils/contextmenu-helpers.d.ts +0 -0
- /package/dist/super-editor/{vite.config.d.ts → super-editor/vite.config.d.ts} +0 -0
|
@@ -12,9 +12,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
12
12
|
var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _editor, _stateValidators, _xmlValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, registerCopyHandler_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_fn, _DocumentSectionView_instances, init_fn2, addToolTip_fn, _ListItemNodeView_instances, init_fn3, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn;
|
|
13
13
|
import * as Y from "yjs";
|
|
14
14
|
import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
|
|
15
|
-
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as updateDOMAttributes, ah as findChildren$5, ai as htmlHandler, aj as generateRandomSigned32BitIntStrId, ak as InputRule, al as kebabCase, am as findParentNodeClosestToPos, an as getListItemStyleDefinitions, ao as docxNumberigHelpers, ap as parseIndentElement, aq as combineIndents, ar as SelectionRange, as as Transform, at as isInTable$1, au as generateDocxRandomId, av as insertNewRelationship } from "./converter-
|
|
15
|
+
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as updateDOMAttributes, ah as findChildren$5, ai as htmlHandler, aj as generateRandomSigned32BitIntStrId, ak as InputRule, al as kebabCase, am as findParentNodeClosestToPos, an as getListItemStyleDefinitions, ao as docxNumberigHelpers, ap as parseIndentElement, aq as combineIndents, ar as SelectionRange, as as Transform, at as isInTable$1, au as generateDocxRandomId, av as insertNewRelationship } from "./converter-Ba2AUXOE.js";
|
|
16
16
|
import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
|
|
17
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
17
|
+
import { D as DocxZipper } from "./docx-zipper-BBKQoLBb.js";
|
|
18
18
|
var GOOD_LEAF_SIZE = 200;
|
|
19
19
|
var RopeSequence = function RopeSequence2() {
|
|
20
20
|
};
|
|
@@ -9674,15 +9674,39 @@ const toggleList = (listType) => ({ editor, state, tr, dispatch }) => {
|
|
|
9674
9674
|
if (near) {
|
|
9675
9675
|
const isSameAsTarget = nearKind === targetKind;
|
|
9676
9676
|
if (isSameAsTarget) {
|
|
9677
|
-
const {
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9677
|
+
const candidateLists = collectIntersectingTopLists({ doc: doc2, selection, OrderedType, BulletType });
|
|
9678
|
+
let listsToUnwrap = candidateLists.filter(({ node }) => getEffectiveListKind(node) === targetKind);
|
|
9679
|
+
if (listsToUnwrap.length === 0 && getEffectiveListKind(near.node) === targetKind) {
|
|
9680
|
+
listsToUnwrap = [{ node: near.node, pos: near.pos, depth: near.depth ?? null }];
|
|
9681
|
+
}
|
|
9682
|
+
if (listsToUnwrap.length === 0) return false;
|
|
9683
|
+
let spanFromBefore2 = listsToUnwrap[0].pos;
|
|
9684
|
+
let spanToBefore2 = listsToUnwrap[0].pos + listsToUnwrap[0].node.nodeSize;
|
|
9685
|
+
for (let i = 1; i < listsToUnwrap.length; i++) {
|
|
9686
|
+
const { node, pos: pos2 } = listsToUnwrap[i];
|
|
9687
|
+
spanFromBefore2 = Math.min(spanFromBefore2, pos2);
|
|
9688
|
+
spanToBefore2 = Math.max(spanToBefore2, pos2 + node.nodeSize);
|
|
9689
|
+
}
|
|
9690
|
+
const ParagraphType = editor.schema.nodes.paragraph;
|
|
9691
|
+
listsToUnwrap.sort((a, b) => b.pos - a.pos);
|
|
9692
|
+
for (const { node, pos: pos2 } of listsToUnwrap) {
|
|
9693
|
+
const mappedFrom = tr.mapping.map(pos2, -1);
|
|
9694
|
+
const mappedTo = tr.mapping.map(pos2 + node.nodeSize, 1);
|
|
9695
|
+
const currentListNode = tr.doc.nodeAt(mappedFrom);
|
|
9696
|
+
const sourceListNode = currentListNode && (currentListNode.type === OrderedType || currentListNode.type === BulletType) ? currentListNode : node;
|
|
9697
|
+
const paragraphs = [];
|
|
9698
|
+
for (let i = 0; i < sourceListNode.childCount; i++) {
|
|
9699
|
+
const li = sourceListNode.child(i);
|
|
9700
|
+
if (li.type !== editor.schema.nodes.listItem) continue;
|
|
9701
|
+
const firstChild = li.firstChild;
|
|
9702
|
+
paragraphs.push(firstChild || ParagraphType.create());
|
|
9703
|
+
}
|
|
9704
|
+
if (paragraphs.length === 0) {
|
|
9705
|
+
paragraphs.push(ParagraphType.create());
|
|
9706
|
+
}
|
|
9707
|
+
const replacement = paragraphs.length === 1 ? paragraphs[0] : Fragment.from(paragraphs);
|
|
9708
|
+
tr.replaceWith(mappedFrom, mappedTo, replacement);
|
|
9709
|
+
}
|
|
9686
9710
|
setMappedSelectionSpan(tr, spanFromBefore2, spanToBefore2);
|
|
9687
9711
|
if (dispatch) dispatch(tr);
|
|
9688
9712
|
return true;
|
|
@@ -11706,26 +11730,100 @@ const onHeaderFooterDataUpdate = async ({ editor, transaction }, mainEditor, sec
|
|
|
11706
11730
|
const setEditorToolbar = ({ editor }, mainEditor) => {
|
|
11707
11731
|
editor.setToolbar(mainEditor.toolbar);
|
|
11708
11732
|
};
|
|
11733
|
+
const normalizeCommentEventPayload = ({ conversation, editorOptions, fallbackCommentId, fallbackInternal }) => {
|
|
11734
|
+
const { user, documentId } = editorOptions || {};
|
|
11735
|
+
const normalized = {
|
|
11736
|
+
...conversation,
|
|
11737
|
+
commentId: conversation?.commentId ?? fallbackCommentId,
|
|
11738
|
+
isInternal: conversation?.isInternal ?? fallbackInternal
|
|
11739
|
+
};
|
|
11740
|
+
if (!normalized.commentText && normalized.text) {
|
|
11741
|
+
normalized.commentText = normalized.text;
|
|
11742
|
+
delete normalized.text;
|
|
11743
|
+
}
|
|
11744
|
+
if ("skipEmit" in normalized) delete normalized.skipEmit;
|
|
11745
|
+
if (!normalized.creatorName && user?.name) {
|
|
11746
|
+
normalized.creatorName = user.name;
|
|
11747
|
+
}
|
|
11748
|
+
if (!normalized.creatorEmail && user?.email) {
|
|
11749
|
+
normalized.creatorEmail = user.email;
|
|
11750
|
+
}
|
|
11751
|
+
if (!normalized.createdTime) {
|
|
11752
|
+
normalized.createdTime = Date.now();
|
|
11753
|
+
}
|
|
11754
|
+
if (!normalized.fileId && documentId) {
|
|
11755
|
+
normalized.fileId = documentId;
|
|
11756
|
+
}
|
|
11757
|
+
if (!normalized.documentId && documentId) {
|
|
11758
|
+
normalized.documentId = documentId;
|
|
11759
|
+
}
|
|
11760
|
+
return normalized;
|
|
11761
|
+
};
|
|
11762
|
+
const updatePosition = ({ allCommentPositions, threadId, pos, currentBounds, node }) => {
|
|
11763
|
+
let bounds = {};
|
|
11764
|
+
if (currentBounds instanceof DOMRect) {
|
|
11765
|
+
bounds = {
|
|
11766
|
+
top: currentBounds.top,
|
|
11767
|
+
bottom: currentBounds.bottom,
|
|
11768
|
+
left: currentBounds.left,
|
|
11769
|
+
right: currentBounds.right
|
|
11770
|
+
};
|
|
11771
|
+
} else {
|
|
11772
|
+
bounds = { ...currentBounds };
|
|
11773
|
+
}
|
|
11774
|
+
if (!allCommentPositions[threadId]) {
|
|
11775
|
+
allCommentPositions[threadId] = {
|
|
11776
|
+
threadId,
|
|
11777
|
+
start: pos,
|
|
11778
|
+
end: pos + node.nodeSize,
|
|
11779
|
+
bounds
|
|
11780
|
+
};
|
|
11781
|
+
} else {
|
|
11782
|
+
const existing = allCommentPositions[threadId];
|
|
11783
|
+
existing.start = Math.min(existing.start, pos);
|
|
11784
|
+
existing.end = Math.max(existing.end, pos + node.nodeSize);
|
|
11785
|
+
existing.bounds.top = Math.min(existing.bounds.top, currentBounds.top);
|
|
11786
|
+
existing.bounds.bottom = Math.max(existing.bounds.bottom, currentBounds.bottom);
|
|
11787
|
+
}
|
|
11788
|
+
};
|
|
11709
11789
|
const TRACK_CHANGE_MARKS = [TrackInsertMarkName, TrackDeleteMarkName, TrackFormatMarkName];
|
|
11710
11790
|
const CommentsPluginKey = new PluginKey("comments");
|
|
11711
11791
|
const CommentsPlugin = Extension.create({
|
|
11712
11792
|
name: "comments",
|
|
11713
11793
|
addCommands() {
|
|
11714
11794
|
return {
|
|
11715
|
-
insertComment: (conversation) => ({ tr, dispatch }) => {
|
|
11795
|
+
insertComment: (conversation = {}) => ({ tr, dispatch }) => {
|
|
11716
11796
|
const { selection } = tr;
|
|
11717
11797
|
const { $from, $to } = selection;
|
|
11718
|
-
const
|
|
11798
|
+
const skipEmit = conversation?.skipEmit;
|
|
11799
|
+
const resolvedCommentId = conversation?.commentId ?? v4();
|
|
11800
|
+
const resolvedInternal = conversation?.isInternal ?? false;
|
|
11719
11801
|
tr.setMeta(CommentsPluginKey, { event: "add" });
|
|
11720
11802
|
tr.addMark(
|
|
11721
11803
|
$from.pos,
|
|
11722
11804
|
$to.pos,
|
|
11723
11805
|
this.editor.schema.marks[CommentMarkName].create({
|
|
11724
|
-
commentId,
|
|
11725
|
-
internal:
|
|
11806
|
+
commentId: resolvedCommentId,
|
|
11807
|
+
internal: resolvedInternal
|
|
11726
11808
|
})
|
|
11727
11809
|
);
|
|
11728
|
-
dispatch(tr);
|
|
11810
|
+
if (dispatch) dispatch(tr);
|
|
11811
|
+
const shouldEmit = !skipEmit && resolvedCommentId !== "pending";
|
|
11812
|
+
if (shouldEmit) {
|
|
11813
|
+
const commentPayload = normalizeCommentEventPayload({
|
|
11814
|
+
conversation,
|
|
11815
|
+
editorOptions: this.editor.options,
|
|
11816
|
+
fallbackCommentId: resolvedCommentId,
|
|
11817
|
+
fallbackInternal: resolvedInternal
|
|
11818
|
+
});
|
|
11819
|
+
const activeCommentId = commentPayload.commentId || commentPayload.importedId || null;
|
|
11820
|
+
const event = {
|
|
11821
|
+
type: comments_module_events.ADD,
|
|
11822
|
+
comment: commentPayload,
|
|
11823
|
+
...activeCommentId && { activeCommentId }
|
|
11824
|
+
};
|
|
11825
|
+
this.editor.emit("commentsUpdate", event);
|
|
11826
|
+
}
|
|
11729
11827
|
return true;
|
|
11730
11828
|
},
|
|
11731
11829
|
removeComment: ({ commentId, importedId }) => ({ tr, dispatch, state }) => {
|
|
@@ -11961,33 +12059,6 @@ const CommentsPlugin = Extension.create({
|
|
|
11961
12059
|
return [commentsPlugin];
|
|
11962
12060
|
}
|
|
11963
12061
|
});
|
|
11964
|
-
const updatePosition = ({ allCommentPositions, threadId, pos, currentBounds, node }) => {
|
|
11965
|
-
let bounds = {};
|
|
11966
|
-
if (currentBounds instanceof DOMRect) {
|
|
11967
|
-
bounds = {
|
|
11968
|
-
top: currentBounds.top,
|
|
11969
|
-
bottom: currentBounds.bottom,
|
|
11970
|
-
left: currentBounds.left,
|
|
11971
|
-
right: currentBounds.right
|
|
11972
|
-
};
|
|
11973
|
-
} else {
|
|
11974
|
-
bounds = { ...currentBounds };
|
|
11975
|
-
}
|
|
11976
|
-
if (!allCommentPositions[threadId]) {
|
|
11977
|
-
allCommentPositions[threadId] = {
|
|
11978
|
-
threadId,
|
|
11979
|
-
start: pos,
|
|
11980
|
-
end: pos + node.nodeSize,
|
|
11981
|
-
bounds
|
|
11982
|
-
};
|
|
11983
|
-
} else {
|
|
11984
|
-
const existing = allCommentPositions[threadId];
|
|
11985
|
-
existing.start = Math.min(existing.start, pos);
|
|
11986
|
-
existing.end = Math.max(existing.end, pos + node.nodeSize);
|
|
11987
|
-
existing.bounds.top = Math.min(existing.bounds.top, currentBounds.top);
|
|
11988
|
-
existing.bounds.bottom = Math.max(existing.bounds.bottom, currentBounds.bottom);
|
|
11989
|
-
}
|
|
11990
|
-
};
|
|
11991
12062
|
const getActiveCommentId = (doc2, selection) => {
|
|
11992
12063
|
if (!selection) return;
|
|
11993
12064
|
const { $from, $to } = selection;
|
|
@@ -14484,19 +14555,34 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14484
14555
|
* @returns {string} Document version
|
|
14485
14556
|
*/
|
|
14486
14557
|
static getDocumentVersion(doc2) {
|
|
14487
|
-
|
|
14488
|
-
return version2;
|
|
14558
|
+
return SuperConverter.getStoredSuperdocVersion(doc2);
|
|
14489
14559
|
}
|
|
14490
14560
|
/**
|
|
14491
|
-
*
|
|
14561
|
+
* Set the document version
|
|
14492
14562
|
* @static
|
|
14493
14563
|
* @param {Object} doc - Document object
|
|
14494
14564
|
* @param {string} version - New version
|
|
14495
|
-
* @returns {
|
|
14565
|
+
* @returns {string} The set version
|
|
14566
|
+
*/
|
|
14567
|
+
static setDocumentVersion(doc2, version2) {
|
|
14568
|
+
return SuperConverter.setStoredSuperdocVersion(doc2, version2);
|
|
14569
|
+
}
|
|
14570
|
+
/**
|
|
14571
|
+
* Get the document GUID
|
|
14572
|
+
* @static
|
|
14573
|
+
* @param {Object} doc - Document object
|
|
14574
|
+
* @returns {string|null} Document GUID
|
|
14575
|
+
*/
|
|
14576
|
+
static getDocumentGuid(doc2) {
|
|
14577
|
+
return SuperConverter.extractDocumentGuid(doc2);
|
|
14578
|
+
}
|
|
14579
|
+
// Deprecated
|
|
14580
|
+
/**
|
|
14581
|
+
* @deprecated use setDocumentVersion instead
|
|
14496
14582
|
*/
|
|
14497
14583
|
static updateDocumentVersion(doc2, version2) {
|
|
14498
|
-
|
|
14499
|
-
return
|
|
14584
|
+
console.warn("updateDocumentVersion is deprecated, use setDocumentVersion instead");
|
|
14585
|
+
return _Editor.setDocumentVersion(doc2, version2);
|
|
14500
14586
|
}
|
|
14501
14587
|
/**
|
|
14502
14588
|
* Creates all node views.
|
|
@@ -14632,6 +14718,43 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14632
14718
|
}
|
|
14633
14719
|
window.addEventListener("resize", () => handleResize);
|
|
14634
14720
|
}
|
|
14721
|
+
/**
|
|
14722
|
+
* Get document identifier for telemetry (async - may generate hash)
|
|
14723
|
+
* @returns {Promise<string>} GUID for modified docs, hash for unmodified
|
|
14724
|
+
*/
|
|
14725
|
+
async getDocumentIdentifier() {
|
|
14726
|
+
return await this.converter?.getDocumentIdentifier() || null;
|
|
14727
|
+
}
|
|
14728
|
+
/**
|
|
14729
|
+
* Get permanent document GUID (sync - only for modified documents)
|
|
14730
|
+
* @returns {string|null} GUID or null if document hasn't been modified
|
|
14731
|
+
*/
|
|
14732
|
+
getDocumentGuid() {
|
|
14733
|
+
return this.converter?.documentGuid || null;
|
|
14734
|
+
}
|
|
14735
|
+
/**
|
|
14736
|
+
* Check if document has been modified
|
|
14737
|
+
* @returns {boolean}
|
|
14738
|
+
*/
|
|
14739
|
+
isDocumentModified() {
|
|
14740
|
+
return this.converter?.documentModified || false;
|
|
14741
|
+
}
|
|
14742
|
+
/**
|
|
14743
|
+
* Get telemetry data (async because of lazy hash generation)
|
|
14744
|
+
*/
|
|
14745
|
+
async getTelemetryData() {
|
|
14746
|
+
return {
|
|
14747
|
+
documentId: await this.getDocumentIdentifier(),
|
|
14748
|
+
isModified: this.isDocumentModified(),
|
|
14749
|
+
isPermanentId: !!this.converter?.documentGuid,
|
|
14750
|
+
version: this.converter?.getSuperdocVersion()
|
|
14751
|
+
};
|
|
14752
|
+
}
|
|
14753
|
+
// Deprecated for backward compatibility
|
|
14754
|
+
getDocumentId() {
|
|
14755
|
+
console.warn("getDocumentId is deprecated, use getDocumentGuid instead");
|
|
14756
|
+
return this.getDocumentGuid();
|
|
14757
|
+
}
|
|
14635
14758
|
/**
|
|
14636
14759
|
* Get attrs of the currently selected node or mark.
|
|
14637
14760
|
* @param {String} nameOrType
|
|
@@ -14663,6 +14786,21 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14663
14786
|
getJSON() {
|
|
14664
14787
|
return this.state.doc.toJSON();
|
|
14665
14788
|
}
|
|
14789
|
+
/**
|
|
14790
|
+
* Get document metadata including GUID, modification status, and version
|
|
14791
|
+
* @returns {{
|
|
14792
|
+
* documentGuid: string | null,
|
|
14793
|
+
* isModified: boolean,
|
|
14794
|
+
* version: string | null
|
|
14795
|
+
* }} Document metadata
|
|
14796
|
+
*/
|
|
14797
|
+
getMetadata() {
|
|
14798
|
+
return {
|
|
14799
|
+
documentGuid: this.converter?.documentGuid || null,
|
|
14800
|
+
isModified: this.isDocumentModified(),
|
|
14801
|
+
version: this.converter?.getSuperdocVersion() || null
|
|
14802
|
+
};
|
|
14803
|
+
}
|
|
14666
14804
|
/**
|
|
14667
14805
|
* Get the editor content as HTML
|
|
14668
14806
|
* @param {Object} options - Options for the HTML serializer
|
|
@@ -14680,6 +14818,13 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14680
14818
|
}
|
|
14681
14819
|
return html;
|
|
14682
14820
|
}
|
|
14821
|
+
/**
|
|
14822
|
+
* Get the document version from the converter
|
|
14823
|
+
* @returns {string|null} The SuperDoc version stored in the document
|
|
14824
|
+
*/
|
|
14825
|
+
getDocumentVersion() {
|
|
14826
|
+
return this.converter?.getSuperdocVersion() || null;
|
|
14827
|
+
}
|
|
14683
14828
|
/**
|
|
14684
14829
|
* Create a child editor linked to this editor.
|
|
14685
14830
|
* This is useful for creating header/footer editors that are linked to the main editor.
|
|
@@ -14762,7 +14907,8 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14762
14907
|
if (exportXmlOnly || exportJsonOnly) return documentXml;
|
|
14763
14908
|
const customXml = this.converter.schemaToXml(this.converter.convertedXml["docProps/custom.xml"].elements[0]);
|
|
14764
14909
|
const styles = this.converter.schemaToXml(this.converter.convertedXml["word/styles.xml"].elements[0]);
|
|
14765
|
-
const
|
|
14910
|
+
const hasCustomSettings = !!this.converter.convertedXml["word/settings.xml"]?.elements?.length;
|
|
14911
|
+
const customSettings = hasCustomSettings ? this.converter.schemaToXml(this.converter.convertedXml["word/settings.xml"]?.elements?.[0]) : null;
|
|
14766
14912
|
const rels = this.converter.schemaToXml(this.converter.convertedXml["word/_rels/document.xml.rels"].elements[0]);
|
|
14767
14913
|
const media = this.converter.addedMedia;
|
|
14768
14914
|
const updatedHeadersFooters = {};
|
|
@@ -14778,13 +14924,15 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14778
14924
|
...this.options.customUpdatedFiles,
|
|
14779
14925
|
"word/document.xml": String(documentXml),
|
|
14780
14926
|
"docProps/custom.xml": String(customXml),
|
|
14781
|
-
"word/settings.xml": String(customSettings),
|
|
14782
14927
|
"word/_rels/document.xml.rels": String(rels),
|
|
14783
14928
|
"word/numbering.xml": String(numbering),
|
|
14784
14929
|
// Replace & with & in styles.xml as DOCX viewers can't handle it
|
|
14785
14930
|
"word/styles.xml": String(styles).replace(/&/gi, "&"),
|
|
14786
14931
|
...updatedHeadersFooters
|
|
14787
14932
|
};
|
|
14933
|
+
if (hasCustomSettings) {
|
|
14934
|
+
updatedDocs["word/settings.xml"] = String(customSettings);
|
|
14935
|
+
}
|
|
14788
14936
|
if (comments.length) {
|
|
14789
14937
|
const commentsXml = this.converter.schemaToXml(this.converter.convertedXml["word/comments.xml"].elements[0]);
|
|
14790
14938
|
const commentsExtendedXml = this.converter.schemaToXml(
|
|
@@ -14875,7 +15023,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14875
15023
|
* @returns {Object | void} Migration results
|
|
14876
15024
|
*/
|
|
14877
15025
|
processCollaborationMigrations() {
|
|
14878
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.22.
|
|
15026
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.22.4");
|
|
14879
15027
|
if (!this.options.ydoc) return;
|
|
14880
15028
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
14881
15029
|
let docVersion = metaMap.get("version");
|
|
@@ -15495,6 +15643,13 @@ dispatchTransaction_fn = function(transaction) {
|
|
|
15495
15643
|
if (!transaction.docChanged) {
|
|
15496
15644
|
return;
|
|
15497
15645
|
}
|
|
15646
|
+
if (transaction.docChanged && this.converter) {
|
|
15647
|
+
if (!this.converter.documentGuid) {
|
|
15648
|
+
this.converter.promoteToGuid();
|
|
15649
|
+
console.debug("Document modified - assigned GUID:", this.converter.documentGuid);
|
|
15650
|
+
}
|
|
15651
|
+
this.converter.documentModified = true;
|
|
15652
|
+
}
|
|
15498
15653
|
this.emit("update", {
|
|
15499
15654
|
editor: this,
|
|
15500
15655
|
transaction
|
|
@@ -17356,17 +17511,6 @@ function getStructuredContentTagsById(idOrIds, state) {
|
|
|
17356
17511
|
});
|
|
17357
17512
|
return result;
|
|
17358
17513
|
}
|
|
17359
|
-
function getStructuredContentTagsByAlias(aliasOrAliases, state) {
|
|
17360
|
-
const result = findChildren$5(state.doc, (node) => {
|
|
17361
|
-
const isStructuredContent = ["structuredContent", "structuredContentBlock"].includes(node.type.name);
|
|
17362
|
-
if (Array.isArray(aliasOrAliases)) {
|
|
17363
|
-
return isStructuredContent && aliasOrAliases.includes(node.attrs.alias);
|
|
17364
|
-
} else {
|
|
17365
|
-
return isStructuredContent && node.attrs.alias === aliasOrAliases;
|
|
17366
|
-
}
|
|
17367
|
-
});
|
|
17368
|
-
return result;
|
|
17369
|
-
}
|
|
17370
17514
|
function getStructuredContentTags(state) {
|
|
17371
17515
|
const result = findChildren$5(state.doc, (node) => {
|
|
17372
17516
|
return node.type.name === "structuredContent" || node.type.name === "structuredContentBlock";
|
|
@@ -17386,7 +17530,6 @@ const structuredContentHelpers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ O
|
|
|
17386
17530
|
getStructuredContentBlockTags,
|
|
17387
17531
|
getStructuredContentInlineTags,
|
|
17388
17532
|
getStructuredContentTags,
|
|
17389
|
-
getStructuredContentTagsByAlias,
|
|
17390
17533
|
getStructuredContentTagsById
|
|
17391
17534
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
17392
17535
|
const STRUCTURED_CONTENT_NAMES = ["structuredContent", "structuredContentBlock"];
|
|
@@ -17519,58 +17662,6 @@ const StructuredContentCommands = Extension.create({
|
|
|
17519
17662
|
}
|
|
17520
17663
|
return true;
|
|
17521
17664
|
},
|
|
17522
|
-
/**
|
|
17523
|
-
* Updates all structured content fields with the same alias.
|
|
17524
|
-
* Unlike IDs (which are unique), aliases can be shared across multiple fields.
|
|
17525
|
-
* This will update every field that matches the given alias.
|
|
17526
|
-
* If any updated node does not match the schema, no updates will be applied.
|
|
17527
|
-
* @category Command
|
|
17528
|
-
* @param {string | string[]} alias - Shared identifier for fields (e.g., "customer_name")
|
|
17529
|
-
* @param {StructuredContentUpdate} options
|
|
17530
|
-
*/
|
|
17531
|
-
updateStructuredContentByAlias: (alias, options = {}) => ({ editor, dispatch, state, tr }) => {
|
|
17532
|
-
const structuredContentTags = getStructuredContentTagsByAlias(alias, state);
|
|
17533
|
-
if (!structuredContentTags.length) {
|
|
17534
|
-
return true;
|
|
17535
|
-
}
|
|
17536
|
-
const { schema } = editor;
|
|
17537
|
-
const createContent = (node) => {
|
|
17538
|
-
if (options.text) {
|
|
17539
|
-
return schema.text(options.text);
|
|
17540
|
-
}
|
|
17541
|
-
if (options.html) {
|
|
17542
|
-
const html = htmlHandler(options.html, editor);
|
|
17543
|
-
const doc2 = DOMParser$1.fromSchema(schema).parse(html);
|
|
17544
|
-
return doc2.content;
|
|
17545
|
-
}
|
|
17546
|
-
if (options.json) {
|
|
17547
|
-
return schema.nodeFromJSON(options.json);
|
|
17548
|
-
}
|
|
17549
|
-
return node.content;
|
|
17550
|
-
};
|
|
17551
|
-
for (const { node } of structuredContentTags) {
|
|
17552
|
-
const content = createContent(node);
|
|
17553
|
-
const updatedNode = node.type.create({ ...node.attrs, ...options.attrs }, content, node.marks);
|
|
17554
|
-
try {
|
|
17555
|
-
updatedNode.check();
|
|
17556
|
-
} catch {
|
|
17557
|
-
console.error("Updated node does not conform to the schema");
|
|
17558
|
-
return false;
|
|
17559
|
-
}
|
|
17560
|
-
}
|
|
17561
|
-
if (dispatch) {
|
|
17562
|
-
structuredContentTags.forEach(({ pos, node }) => {
|
|
17563
|
-
const mappedPos = tr.mapping.map(pos);
|
|
17564
|
-
const currentNode = tr.doc.nodeAt(mappedPos);
|
|
17565
|
-
if (currentNode && node.eq(currentNode)) {
|
|
17566
|
-
const content = createContent(node);
|
|
17567
|
-
const updatedNode = node.type.create({ ...node.attrs, ...options.attrs }, content, node.marks);
|
|
17568
|
-
tr.replaceWith(mappedPos, mappedPos + node.nodeSize, updatedNode);
|
|
17569
|
-
}
|
|
17570
|
-
});
|
|
17571
|
-
}
|
|
17572
|
-
return true;
|
|
17573
|
-
},
|
|
17574
17665
|
/**
|
|
17575
17666
|
* Removes a structured content.
|
|
17576
17667
|
* @category Command
|
|
@@ -25061,6 +25152,10 @@ const FieldAnnotation = Node$1.create({
|
|
|
25061
25152
|
hash: {
|
|
25062
25153
|
rendered: false,
|
|
25063
25154
|
default: null
|
|
25155
|
+
},
|
|
25156
|
+
sdtId: {
|
|
25157
|
+
rendered: false,
|
|
25158
|
+
default: null
|
|
25064
25159
|
}
|
|
25065
25160
|
};
|
|
25066
25161
|
},
|
|
@@ -25712,6 +25807,7 @@ function getFormatAttrsFromMarks(marks) {
|
|
|
25712
25807
|
}
|
|
25713
25808
|
return formatAttrs;
|
|
25714
25809
|
}
|
|
25810
|
+
const DEFAULT_MIME_TYPE = "application/octet-stream";
|
|
25715
25811
|
const simpleHash = (str) => {
|
|
25716
25812
|
let hash2 = 0;
|
|
25717
25813
|
for (let i = 0; i < str.length; i++) {
|
|
@@ -25721,21 +25817,40 @@ const simpleHash = (str) => {
|
|
|
25721
25817
|
}
|
|
25722
25818
|
return Math.abs(hash2).toString();
|
|
25723
25819
|
};
|
|
25724
|
-
const
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25820
|
+
const decodeBase64ToBinaryString = (data) => {
|
|
25821
|
+
if (!data) return "";
|
|
25822
|
+
if (typeof atob === "function") {
|
|
25823
|
+
return atob(data);
|
|
25824
|
+
}
|
|
25825
|
+
if (typeof Buffer2 !== "undefined" && typeof Buffer2.from === "function") {
|
|
25826
|
+
return Buffer2.from(data, "base64").toString("binary");
|
|
25827
|
+
}
|
|
25828
|
+
throw new Error("Unable to decode base64 payload in the current environment.");
|
|
25829
|
+
};
|
|
25830
|
+
const extractBase64Meta = (base64String) => {
|
|
25831
|
+
const [meta = "", payload = ""] = base64String.split(",");
|
|
25832
|
+
const mimeMatch = meta.match(/:(.*?);/);
|
|
25833
|
+
const rawMimeType = mimeMatch ? mimeMatch[1] : "";
|
|
25834
|
+
const mimeType = rawMimeType || DEFAULT_MIME_TYPE;
|
|
25835
|
+
const binaryString = decodeBase64ToBinaryString(payload);
|
|
25730
25836
|
const hash2 = simpleHash(binaryString);
|
|
25731
25837
|
const extension = mimeType.split("/")[1] || "bin";
|
|
25732
25838
|
const filename = `image-${hash2}.${extension}`;
|
|
25839
|
+
return { mimeType, binaryString, filename };
|
|
25840
|
+
};
|
|
25841
|
+
const getBase64FileMeta = (base64String) => {
|
|
25842
|
+
const { mimeType, filename } = extractBase64Meta(base64String);
|
|
25843
|
+
return { mimeType, filename };
|
|
25844
|
+
};
|
|
25845
|
+
const base64ToFile = (base64String) => {
|
|
25846
|
+
const { mimeType, binaryString, filename } = extractBase64Meta(base64String);
|
|
25847
|
+
const fileType = mimeType || DEFAULT_MIME_TYPE;
|
|
25733
25848
|
const bytes = new Uint8Array(binaryString.length);
|
|
25734
25849
|
for (let i = 0; i < binaryString.length; i++) {
|
|
25735
25850
|
bytes[i] = binaryString.charCodeAt(i);
|
|
25736
25851
|
}
|
|
25737
|
-
const blob = new Blob([bytes], { type:
|
|
25738
|
-
return new File([blob], filename, { type:
|
|
25852
|
+
const blob = new Blob([bytes], { type: fileType });
|
|
25853
|
+
return new File([blob], filename, { type: fileType });
|
|
25739
25854
|
};
|
|
25740
25855
|
const urlToFile = async (url, filename, mimeType) => {
|
|
25741
25856
|
try {
|
|
@@ -26111,6 +26226,7 @@ function addImageRelationship({ editor, path }) {
|
|
|
26111
26226
|
}
|
|
26112
26227
|
}
|
|
26113
26228
|
const key = new PluginKey("ImageRegistration");
|
|
26229
|
+
const WORD_MEDIA_PREFIX = "word/";
|
|
26114
26230
|
const ImageRegistrationPlugin = ({ editor }) => {
|
|
26115
26231
|
const { view } = editor;
|
|
26116
26232
|
return new Plugin({
|
|
@@ -26131,16 +26247,16 @@ const ImageRegistrationPlugin = ({ editor }) => {
|
|
|
26131
26247
|
},
|
|
26132
26248
|
appendTransaction: (trs, _oldState, state) => {
|
|
26133
26249
|
let foundImages = [];
|
|
26134
|
-
trs.forEach((
|
|
26135
|
-
if (
|
|
26136
|
-
|
|
26250
|
+
trs.forEach((tr) => {
|
|
26251
|
+
if (tr.docChanged) {
|
|
26252
|
+
tr.steps.forEach((step, index2) => {
|
|
26137
26253
|
const stepMap = step.getMap();
|
|
26138
26254
|
foundImages = foundImages.map(({ node, pos, id }) => {
|
|
26139
26255
|
const mappedPos = stepMap.map(pos, -1);
|
|
26140
26256
|
return { node, pos: mappedPos, id };
|
|
26141
26257
|
});
|
|
26142
26258
|
if (step instanceof ReplaceStep || step instanceof ReplaceAroundStep$1) {
|
|
26143
|
-
(
|
|
26259
|
+
(tr.docs[index2 + 1] || tr.doc).nodesBetween(
|
|
26144
26260
|
stepMap.map(step.from, -1),
|
|
26145
26261
|
stepMap.map(step.to, 1),
|
|
26146
26262
|
(node, pos) => {
|
|
@@ -26159,22 +26275,10 @@ const ImageRegistrationPlugin = ({ editor }) => {
|
|
|
26159
26275
|
if (!foundImages || foundImages.length === 0) {
|
|
26160
26276
|
return null;
|
|
26161
26277
|
}
|
|
26162
|
-
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
foundImages
|
|
26166
|
-
let deco = Decoration.widget(pos, () => document.createElement("placeholder"), {
|
|
26167
|
-
side: -1,
|
|
26168
|
-
id
|
|
26169
|
-
});
|
|
26170
|
-
set = set.add(tr.doc, [deco]);
|
|
26171
|
-
});
|
|
26172
|
-
foundImages.slice().sort((a, b) => b.pos - a.pos).forEach(({ node, pos }) => {
|
|
26173
|
-
tr.delete(pos, pos + node.nodeSize);
|
|
26174
|
-
});
|
|
26175
|
-
set = set.map(tr.mapping, tr.doc);
|
|
26176
|
-
tr.setMeta(key, { set });
|
|
26177
|
-
return tr;
|
|
26278
|
+
if (editor.options.isHeadless) {
|
|
26279
|
+
return handleNodePath(foundImages, editor, state);
|
|
26280
|
+
}
|
|
26281
|
+
return handleBrowserPath(foundImages, editor, view, state);
|
|
26178
26282
|
},
|
|
26179
26283
|
props: {
|
|
26180
26284
|
decorations(state) {
|
|
@@ -26184,6 +26288,59 @@ const ImageRegistrationPlugin = ({ editor }) => {
|
|
|
26184
26288
|
}
|
|
26185
26289
|
});
|
|
26186
26290
|
};
|
|
26291
|
+
const derivePreferredFileName = (src) => {
|
|
26292
|
+
if (typeof src !== "string" || src.length === 0) {
|
|
26293
|
+
return "image.bin";
|
|
26294
|
+
}
|
|
26295
|
+
if (src.startsWith("data:")) {
|
|
26296
|
+
return getBase64FileMeta(src).filename;
|
|
26297
|
+
}
|
|
26298
|
+
const lastSegment = src.split("/").pop() ?? "";
|
|
26299
|
+
const trimmed = lastSegment.split(/[?#]/)[0];
|
|
26300
|
+
return trimmed || "image.bin";
|
|
26301
|
+
};
|
|
26302
|
+
const handleNodePath = (foundImages, editor, state) => {
|
|
26303
|
+
const { tr } = state;
|
|
26304
|
+
const mediaStore = editor.storage.image.media ?? {};
|
|
26305
|
+
if (!editor.storage.image.media) {
|
|
26306
|
+
editor.storage.image.media = mediaStore;
|
|
26307
|
+
}
|
|
26308
|
+
const existingFileNames = new Set(Object.keys(mediaStore).map((key2) => key2.split("/").pop()));
|
|
26309
|
+
foundImages.forEach(({ node, pos }) => {
|
|
26310
|
+
const { src } = node.attrs;
|
|
26311
|
+
const preferredFileName = derivePreferredFileName(src);
|
|
26312
|
+
const uniqueFileName = ensureUniqueFileName(preferredFileName, existingFileNames);
|
|
26313
|
+
existingFileNames.add(uniqueFileName);
|
|
26314
|
+
const mediaPath = buildMediaPath(uniqueFileName);
|
|
26315
|
+
mediaStore[mediaPath] = src;
|
|
26316
|
+
const path = mediaPath.startsWith(WORD_MEDIA_PREFIX) ? mediaPath.slice(WORD_MEDIA_PREFIX.length) : mediaPath;
|
|
26317
|
+
const rId = addImageRelationship({ editor, path });
|
|
26318
|
+
tr.setNodeMarkup(pos, void 0, {
|
|
26319
|
+
...node.attrs,
|
|
26320
|
+
src: mediaPath,
|
|
26321
|
+
rId
|
|
26322
|
+
});
|
|
26323
|
+
});
|
|
26324
|
+
return tr;
|
|
26325
|
+
};
|
|
26326
|
+
const handleBrowserPath = (foundImages, editor, view, state) => {
|
|
26327
|
+
registerImages(foundImages, editor, view);
|
|
26328
|
+
const tr = state.tr;
|
|
26329
|
+
let { set } = key.getState(state);
|
|
26330
|
+
foundImages.slice().sort((a, b) => a.pos - b.pos).forEach(({ pos, id }) => {
|
|
26331
|
+
let deco = Decoration.widget(pos, () => document.createElement("placeholder"), {
|
|
26332
|
+
side: -1,
|
|
26333
|
+
id
|
|
26334
|
+
});
|
|
26335
|
+
set = set.add(tr.doc, [deco]);
|
|
26336
|
+
});
|
|
26337
|
+
foundImages.slice().sort((a, b) => b.pos - a.pos).forEach(({ node, pos }) => {
|
|
26338
|
+
tr.delete(pos, pos + node.nodeSize);
|
|
26339
|
+
});
|
|
26340
|
+
set = set.map(tr.mapping, tr.doc);
|
|
26341
|
+
tr.setMeta(key, { set });
|
|
26342
|
+
return tr;
|
|
26343
|
+
};
|
|
26187
26344
|
const findPlaceholder = (state, id) => {
|
|
26188
26345
|
let { set } = key.getState(state);
|
|
26189
26346
|
let found = set?.find(null, null, (spec) => spec.id === id);
|
|
@@ -28711,15 +28868,50 @@ const getChangesByIdToResolve = (state, id) => {
|
|
|
28711
28868
|
const changeIndex = trackedChanges.findIndex(({ mark }) => mark.attrs.id === id);
|
|
28712
28869
|
if (changeIndex === -1) return;
|
|
28713
28870
|
const matchingChange = trackedChanges[changeIndex];
|
|
28714
|
-
const
|
|
28715
|
-
const
|
|
28716
|
-
|
|
28717
|
-
|
|
28718
|
-
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
|
|
28871
|
+
const matchingId = matchingChange.mark.attrs.id;
|
|
28872
|
+
const getSegmentSize = ({ from: from2, to }) => to - from2;
|
|
28873
|
+
const areDirectlyConnected = (left2, right2) => {
|
|
28874
|
+
if (!left2 || !right2) {
|
|
28875
|
+
return false;
|
|
28876
|
+
}
|
|
28877
|
+
if (left2.to !== right2.from) {
|
|
28878
|
+
return false;
|
|
28879
|
+
}
|
|
28880
|
+
const hasContentBetween = state.doc.textBetween(left2.from, right2.to, "\n").length > getSegmentSize(left2) + getSegmentSize(right2);
|
|
28881
|
+
return !hasContentBetween;
|
|
28882
|
+
};
|
|
28883
|
+
const isComplementaryPair = (firstType, secondType) => firstType === TrackDeleteMarkName && secondType === TrackInsertMarkName || firstType === TrackInsertMarkName && secondType === TrackDeleteMarkName;
|
|
28884
|
+
const linkedBefore = [];
|
|
28885
|
+
const linkedAfter = [];
|
|
28886
|
+
const collectDirection = (direction, collection) => {
|
|
28887
|
+
let currentIndex = changeIndex;
|
|
28888
|
+
let currentChange = matchingChange;
|
|
28889
|
+
while (true) {
|
|
28890
|
+
const neighborIndex = currentIndex + direction;
|
|
28891
|
+
const neighbor = trackedChanges[neighborIndex];
|
|
28892
|
+
if (!neighbor) {
|
|
28893
|
+
break;
|
|
28894
|
+
}
|
|
28895
|
+
const [left2, right2] = direction < 0 ? [neighbor, currentChange] : [currentChange, neighbor];
|
|
28896
|
+
if (!areDirectlyConnected(left2, right2)) {
|
|
28897
|
+
break;
|
|
28898
|
+
}
|
|
28899
|
+
const sharesId = neighbor.mark.attrs.id === matchingId;
|
|
28900
|
+
const complementary = isComplementaryPair(currentChange.mark.type.name, neighbor.mark.type.name);
|
|
28901
|
+
if (!sharesId && !complementary) {
|
|
28902
|
+
break;
|
|
28903
|
+
}
|
|
28904
|
+
collection.push(neighbor);
|
|
28905
|
+
currentIndex = neighborIndex;
|
|
28906
|
+
currentChange = neighbor;
|
|
28907
|
+
if (!sharesId) {
|
|
28908
|
+
break;
|
|
28909
|
+
}
|
|
28910
|
+
}
|
|
28911
|
+
};
|
|
28912
|
+
collectDirection(-1, linkedBefore);
|
|
28913
|
+
collectDirection(1, linkedAfter);
|
|
28914
|
+
return [matchingChange, ...linkedAfter, ...linkedBefore];
|
|
28723
28915
|
};
|
|
28724
28916
|
const TextTransform = Extension.create({
|
|
28725
28917
|
name: "textTransform",
|
|
@@ -33892,6 +34084,9 @@ const nodeResizer = (nodeNames = ["image"], editor) => {
|
|
|
33892
34084
|
return oldState;
|
|
33893
34085
|
}
|
|
33894
34086
|
if (typeof document === "undefined" || editor.options.isHeadless) return oldState;
|
|
34087
|
+
if (editor.options.documentMode === "viewing" || !editor.isEditable) {
|
|
34088
|
+
return DecorationSet.empty;
|
|
34089
|
+
}
|
|
33895
34090
|
const { selection } = newState;
|
|
33896
34091
|
const node = selection.node;
|
|
33897
34092
|
if (!node || !nodeNames.includes(node.type.name)) {
|