@harbour-enterprises/superdoc 0.29.0 → 0.30.0-next.10
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-DUMZ9x59.es.js → PdfViewer-CPkjWBfp.es.js} +2 -2
- package/dist/chunks/{PdfViewer-BVriqvm9.cjs → PdfViewer-DmU-u3LS.cjs} +2 -2
- package/dist/chunks/{eventemitter3-BvTILlBo.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
- package/dist/chunks/{eventemitter3-D4gv5QOO.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
- package/dist/chunks/{index-DEOkqJcc.cjs → index-8sp-PstI.cjs} +10 -9
- package/dist/chunks/{index-373DqHu6-CPe3gPzf.cjs → index-CVBp1JsT-CcMvS-g_.cjs} +1 -1
- package/dist/chunks/{index-373DqHu6-BLRN3Gja.es.js → index-CVBp1JsT-CedXItEr.es.js} +1 -1
- package/dist/chunks/{index-_cWKslAS.es.js → index-DMD-2P9O.es.js} +10 -9
- package/dist/chunks/{jszip-B0BPx_cv.cjs → jszip-BP2FTbpi.cjs} +7 -7
- package/dist/chunks/{jszip-Bhl-Iudl.es.js → jszip-jKrsZoMS.es.js} +7 -7
- package/dist/chunks/{super-editor.es-83k0FoXr.es.js → super-editor.es-BInglq3d.es.js} +14443 -15528
- package/dist/chunks/{super-editor.es-BkBSpy8W.cjs → super-editor.es-Cwrtt00Q.cjs} +14443 -15528
- package/dist/chunks/{vue-D1vcEBAQ.es.js → vue-CKmzTNVs.es.js} +2 -2
- package/dist/chunks/{vue-BQxRC6G7.cjs → vue-Cwv-wUpm.cjs} +2 -2
- package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
- package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
- package/dist/style.css +62 -40
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B86bAVY0.js → converter-CoOtSPVU.js} +12635 -12991
- package/dist/super-editor/chunks/{docx-zipper-D1VjYtEw.js → docx-zipper-C9iQ74ZN.js} +2 -2
- package/dist/super-editor/chunks/{editor-a9U6w_LW.js → editor-z-21oqcH.js} +1842 -2562
- package/dist/super-editor/chunks/{index-373DqHu6.js → index-CVBp1JsT.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-D0NuB59d.js → toolbar-ChuinsqK.js} +2 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +62 -40
- package/dist/super-editor/super-editor/src/components/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +15 -0
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -7
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +6 -56
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/contentProcessor.d.ts +3 -3
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts +15 -42
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/orderedListUtils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +2 -5
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/relationship-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +26 -0
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +3 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +0 -97
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +11 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/trackChangesImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +30 -4
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +1 -37
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +5 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +5 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/{w-tab-size.d.ts → w-tab-type.d.ts} +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/index.d.ts +2 -4
- package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +30 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +4 -4
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/prosemirror-search-patched.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-group/ShapeGroupView.d.ts +22 -0
- package/dist/super-editor/super-editor/src/extensions/shape-group/ShapeGroupView.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/shape-group/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/extensions/shape-group/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +3 -0
- package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +14 -2
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/utils/headless-helpers.d.ts +1 -0
- package/dist/super-editor/super-editor/src/utils/headless-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +104 -59
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +14458 -15542
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-cO2Q8Wfu.cjs +0 -3
- package/dist/chunks/xml-js-jMPlIVKT.es.js +0 -2
- package/dist/images/altText_add.svg +0 -3
- package/dist/images/altText_disclaimer.svg +0 -3
- package/dist/images/altText_done.svg +0 -3
- package/dist/images/altText_spinner.svg +0 -30
- package/dist/images/altText_warning.svg +0 -3
- package/dist/images/annotation-check.svg +0 -11
- package/dist/images/annotation-comment.svg +0 -16
- package/dist/images/annotation-help.svg +0 -26
- package/dist/images/annotation-insert.svg +0 -10
- package/dist/images/annotation-key.svg +0 -11
- package/dist/images/annotation-newparagraph.svg +0 -11
- package/dist/images/annotation-noicon.svg +0 -7
- package/dist/images/annotation-note.svg +0 -42
- package/dist/images/annotation-paperclip.svg +0 -6
- package/dist/images/annotation-paragraph.svg +0 -16
- package/dist/images/annotation-pushpin.svg +0 -7
- package/dist/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/images/cursor-editorFreeText.svg +0 -3
- package/dist/images/cursor-editorInk.svg +0 -4
- package/dist/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/images/editor-toolbar-delete.svg +0 -5
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +0 -3
- package/dist/images/messageBar_warning.svg +0 -3
- package/dist/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/images/toolbarButton-menuArrow.svg +0 -3
- package/dist/shared/common/Telemetry.d.ts +0 -237
- package/dist/shared/common/Telemetry.d.ts.map +0 -1
- package/dist/shared/common/collaboration/awareness.d.ts +0 -39
- package/dist/shared/common/collaboration/awareness.d.ts.map +0 -1
- package/dist/shared/common/document-types.d.ts +0 -10
- package/dist/shared/common/document-types.d.ts.map +0 -1
- package/dist/shared/common/event-types.d.ts +0 -14
- package/dist/shared/common/event-types.d.ts.map +0 -1
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +0 -8
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +0 -1
- package/dist/shared/common/helpers/get-file-object.d.ts +0 -50
- package/dist/shared/common/helpers/get-file-object.d.ts.map +0 -1
- package/dist/shared/common/helpers/v-click-outside.d.ts +0 -11
- package/dist/shared/common/helpers/v-click-outside.d.ts.map +0 -1
- package/dist/shared/common/index.d.ts +0 -10
- package/dist/shared/common/index.d.ts.map +0 -1
- package/dist/shared/common/key-transform.d.ts +0 -44
- package/dist/shared/common/key-transform.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +0 -4
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +0 -10
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +0 -12
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +0 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +0 -43
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Factory that tracks numbering counters, restart settings, and cached paths
|
|
3
|
+
* for list rendering. Each instance is meant to be scoped to a document view.
|
|
4
|
+
*
|
|
5
|
+
* @returns {{
|
|
6
|
+
* setStartSettings: (numId: string | number, level: number, startValue: number, restartValue?: number) => void,
|
|
7
|
+
* setCounter: (numId: string | number, level: number, pos: number, value: number) => void,
|
|
8
|
+
* getCounter: (numId: string | number, level: number, pos: number) => number | null,
|
|
9
|
+
* calculateCounter: (numId: string | number, level: number, pos: number) => number,
|
|
10
|
+
* getAncestorsPath: (numId: string | number, level: number, pos: number) => number[],
|
|
11
|
+
* calculatePath: (numId: string | number, level: number, pos: number) => number[],
|
|
12
|
+
* getCountersMap: () => Record<string, Record<string, Record<string, number>>>,
|
|
13
|
+
* _clearCache: () => void,
|
|
14
|
+
* enableCache: () => void,
|
|
15
|
+
* disableCache: () => void
|
|
16
|
+
* }}
|
|
17
|
+
*/
|
|
18
|
+
export function NumberingManager(): {
|
|
19
|
+
setStartSettings: (numId: string | number, level: number, startValue: number, restartValue?: number) => void;
|
|
20
|
+
setCounter: (numId: string | number, level: number, pos: number, value: number) => void;
|
|
21
|
+
getCounter: (numId: string | number, level: number, pos: number) => number | null;
|
|
22
|
+
calculateCounter: (numId: string | number, level: number, pos: number) => number;
|
|
23
|
+
getAncestorsPath: (numId: string | number, level: number, pos: number) => number[];
|
|
24
|
+
calculatePath: (numId: string | number, level: number, pos: number) => number[];
|
|
25
|
+
getCountersMap: () => Record<string, Record<string, Record<string, number>>>;
|
|
26
|
+
_clearCache: () => void;
|
|
27
|
+
enableCache: () => void;
|
|
28
|
+
disableCache: () => void;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=NumberingManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberingManager.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/NumberingManager.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,oCAba;IACR,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7G,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxF,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IAClF,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACjF,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IACnF,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IAChF,cAAc,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB,CAgTH"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProseMirror node view that renders paragraphs, including special handling for
|
|
3
|
+
* numbered/bulleted lists so marker/separator elements stay in sync with docx
|
|
4
|
+
* layout expectations.
|
|
5
|
+
*/
|
|
6
|
+
export class ParagraphNodeView {
|
|
7
|
+
/**
|
|
8
|
+
* @param {import('prosemirror-model').Node} node Current paragraph node.
|
|
9
|
+
* @param {import('../../core/Editor').Editor} editor Editor instance providing schema/helpers.
|
|
10
|
+
* @param {() => number} getPos Position getter provided by ProseMirror.
|
|
11
|
+
* @param {import('prosemirror-view').Decoration[]} decorations Decorations applied to this node.
|
|
12
|
+
* @param {Record<string, unknown>} extensionAttrs Extra attributes declared by the paragraph extension.
|
|
13
|
+
*/
|
|
14
|
+
constructor(node: import("prosemirror-model").Node, editor: import("../../core/Editor").Editor, getPos: () => number, decorations: import("prosemirror-view").Decoration[], extensionAttrs: Record<string, unknown>);
|
|
15
|
+
node: import("prosemirror-model").Node;
|
|
16
|
+
editor: import("@core/index.js").Editor;
|
|
17
|
+
getPos: () => number;
|
|
18
|
+
decorations: import("prosemirror-view").Decoration[];
|
|
19
|
+
extensionAttrs: Record<string, unknown>;
|
|
20
|
+
_animationFrameRequest: any;
|
|
21
|
+
dom: HTMLParagraphElement;
|
|
22
|
+
contentDOM: HTMLSpanElement;
|
|
23
|
+
/**
|
|
24
|
+
* @param {import('prosemirror-model').Node} node
|
|
25
|
+
* @param {import('prosemirror-view').Decoration[]} decorations
|
|
26
|
+
*/
|
|
27
|
+
update(node: import("prosemirror-model").Node, decorations: import("prosemirror-view").Decoration[]): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @param {MutationRecord} mutation
|
|
30
|
+
*/
|
|
31
|
+
ignoreMutation(mutation: MutationRecord): boolean;
|
|
32
|
+
marker: HTMLSpanElement;
|
|
33
|
+
separator: HTMLSpanElement | Text;
|
|
34
|
+
destroy(): void;
|
|
35
|
+
#private;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=ParagraphNodeView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,OAAO,mBAAmB,EAAE,IAAI,UAChC,OAAO,mBAAmB,EAAE,MAAM,UAClC,MAAM,MAAM,eACZ,OAAO,kBAAkB,EAAE,UAAU,EAAE,kBACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAuBjC;IApBC,uCAAgB;IAChB,wCAAoB;IACpB,cAPe,MAAM,CAOD;IACpB,qDAA8B;IAC9B,wCAAoC;IACpC,4BAAkC;IAElC,0BAAsC;IACtC,4BAAgD;IAclD;;;OAGG;IACH,aAHW,OAAO,mBAAmB,EAAE,IAAI,eAChC,OAAO,kBAAkB,EAAE,UAAU,EAAE,WAwBjD;IA2BD;;OAEG;IACH,yBAFW,cAAc,WA+BxB;IAmBG,wBAA4C;IAe1C,kCAA+C;IA2LrD,gBAEC;;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create a ProseMirror plugin that keeps `listRendering` data in sync with the
|
|
3
|
+
* underlying Word numbering definitions.
|
|
4
|
+
*
|
|
5
|
+
* @param {import('../../core/Editor').Editor} editor The active editor instance.
|
|
6
|
+
* @returns {import('prosemirror-state').Plugin}
|
|
7
|
+
*/
|
|
8
|
+
export function createNumberingPlugin(editor: import("../../core/Editor").Editor): import("prosemirror-state").Plugin;
|
|
9
|
+
//# sourceMappingURL=numberingPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,8CAHW,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,mBAAmB,EAAE,MAAM,CA2H9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AA+BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;GAIG;AACH,iCAigBG;;;;;;;;;yBAzkBiC,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-run.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/run/commands/split-run.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"split-run.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/run/commands/split-run.js"],"names":[],"mappings":"AA0BA,oEA+CC;AAhEM,4BAFM,OAAO,sBAAsB,EAAE,OAAO,CAiBlD"}
|
package/dist/super-editor/super-editor/src/extensions/search/prosemirror-search-patched.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prosemirror-search-patched.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/prosemirror-search-patched.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prosemirror-search-patched.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/prosemirror-search-patched.js"],"names":[],"mappings":"AAwPA,oDAaC;AA9PD;IACE;;QAEI;IACJ,yBAUC;IATC,YAA2B;IAC3B,uBAA2C;IAC3C,iBAA+B;IAC/B,gBAA6B;IAC7B,aAAmC;IACnC,eAAyE;IACzE,mBAAmC;IACnC,YAAmC;IACnC;;;kCAAiG;IAEnG;;QAEI;IACJ,wBAQC;IACD;;QAEI;IACJ,mDAOC;IACD;;;QAGI;IACJ,mDAOC;IACD;;QAEI;IACJ,0CAKC;IACD;;QAEI;IACJ,0BAIC;IACD;;;;;;;;;;QAUI;IACJ;;;;QAkCC;CACF;AAwWQ,6DASN;AATM,mEASN;AATM,6DASN;AATM,mEASN;AArCH;;;EAGE;AACF,oDAGC;AAdD;;;EAGE;AACF,gDAEC;AAyGD;;EAEE;AACF,+DAwBC;AAtEQ,mEAyBN;AAzBM,gEAyBN;AAzBM,sEAyBN;AA9HH;;;EAGE;AACF,0DA4BC;AAgBD;;;EAGE;AACF,sEAEC;AA7SD;IACE,wBAGC;IAFC,WAAkB;IAClB,eAAoF;IAEtF,8CAWC;IACD,8CAiBC;CACF;AAvED;IACE,wBAKC;IAJC,WAAkB;IAGlB,YAAoB;IAEtB,8CAYC;IACD,8CAaC;CACF;sBA9J+B,mBAAmB;AAiYnD;IACE,+CAIC;IAHC,WAAkB;IAClB,WAAkB;IAClB,UAAgB;CAEnB;uBAzYgD,mBAAmB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export class ShapeGroupView {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
node: any;
|
|
4
|
+
view: any;
|
|
5
|
+
getPos: any;
|
|
6
|
+
decorations: any;
|
|
7
|
+
innerDecorations: any;
|
|
8
|
+
editor: any;
|
|
9
|
+
extension: any;
|
|
10
|
+
htmlAttributes: any;
|
|
11
|
+
root: any;
|
|
12
|
+
mount(): void;
|
|
13
|
+
get dom(): any;
|
|
14
|
+
get contentDOM(): any;
|
|
15
|
+
createElement(): {
|
|
16
|
+
element: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
createShapeElement(shape: any): SVGGElement;
|
|
19
|
+
buildView(): void;
|
|
20
|
+
update(): boolean;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=ShapeGroupView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShapeGroupView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/ShapeGroupView.js"],"names":[],"mappings":"AAGA;IAmBE,wBAWC;IA7BD,UAAK;IAEL,UAAK;IAEL,YAAO;IAEP,iBAAY;IAEZ,sBAAiB;IAEjB,YAAO;IAEP,eAAU;IAEV,oBAAe;IAEf,UAAK;IAeL,cAEC;IAED,eAEC;IAED,sBAEC;IAED;;MAyCC;IAED,4CAuIC;IAED,kBAGC;IAED,kBAGC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/shape-group.js"],"names":[],"mappings":"AAGA,8BAmFG;qBAtF6B,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,
|
|
1
|
+
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,kDAoUG;;;;;WAhWW,MAAM;;;;;;;;;;;;;;WAON,MAAM;;;;;;;;;;;;;;WAON,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BApCK,aAAa"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function calculateTabStyle(nodeSize: any, view: any, pos: any, blockParent: any, paragraphContext: any, coordCache?: any, domPosCache?: any): string;
|
|
2
|
+
export function findParagraphContext($pos: any, cache: any, helpers: any): any;
|
|
3
|
+
export function extractParagraphContext(node: any, startPos: any, helpers: any, depth?: number): {
|
|
4
|
+
paragraph: any;
|
|
5
|
+
paragraphDepth: number;
|
|
6
|
+
startPos: any;
|
|
7
|
+
indent: any;
|
|
8
|
+
tabStops: any;
|
|
9
|
+
flattened: any[];
|
|
10
|
+
positionMap: Map<any, any>;
|
|
11
|
+
accumulatedTabWidth: number;
|
|
12
|
+
};
|
|
2
13
|
export function flattenParagraph(paragraph: any, paragraphStartPos: any): {
|
|
3
14
|
entries: any[];
|
|
4
15
|
positionMap: Map<any, any>;
|
|
@@ -7,10 +18,11 @@ export function findNextTabIndex(flattened: any, fromIndex: any): any;
|
|
|
7
18
|
export function findDecimalBreakPos(flattened: any, startIndex: any, breakChar: any): any;
|
|
8
19
|
export function measureRangeWidth(view: any, from: any, to: any, coordCache?: any, domPosCache?: any): number;
|
|
9
20
|
export function getIndentWidth(view: any, paragraphStartPos: any, indentAttrs?: {}, coordCache?: any, domPosCache?: any): number;
|
|
21
|
+
export function getBlockNodeWidth(view: any, blockStartPos: any): number;
|
|
10
22
|
export function calculateIndentFallback(indentAttrs?: {}): number;
|
|
11
23
|
export function getLeftCoord(view: any, pos: any, coordCache?: any, domPosCache?: any): any;
|
|
12
24
|
export function getCachedDomAtPos(view: any, pos: any, domPosCache?: any): any;
|
|
13
|
-
export function calcTabHeight(
|
|
25
|
+
export function calcTabHeight(blockParent: any): string;
|
|
14
26
|
export const defaultTabDistance: 48;
|
|
15
27
|
export const defaultLineLength: 816;
|
|
16
28
|
export function getTabDecorations(doc: any, view: any, helpers: any, from?: number, to?: any): any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabDecorations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/tab/helpers/tabDecorations.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tabDecorations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/tab/helpers/tabDecorations.js"],"names":[],"mappings":"AAoCA,4JAkGC;AAED,+EAaC;AAED;;;;;;;;;EA+BC;AAED;;;EAyBC;AAED,sEAOC;AAED,0FAcC;AAED,8GAiBC;AAED,iIAUC;AAED,yEAgBC;AAED,kEAmBC;AAED,4FA+BC;AAED,+EAYC;AAED,wDAUC;AAxWD,iCAAkC,EAAE,CAAC;AACrC,gCAAiC,GAAG,CAAC;AAE9B,qGA4BN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-style.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/text-style/text-style.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"text-style.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/text-style/text-style.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,6BAwEG;;;;;;;;;qBA9F6B,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;0BAsDw4zd,aAAa;;;;2BAAgoB,IAAI;;;;;;;6BAAwmI,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAA4jb,aAAa;0BAA/6uB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAA26lC,UAAU;kDAAuV,UAAU,aAA+E,UAAU;oCAAgZ,UAAU;;;;;;;;;KAtD5gxf;IACxB,MAAM,EAAhC,QAAQ,GAAC,QAAQ;IACK,cAAc,EAApC,KAAK,KAAQ;CACrB,GAAU,OAAO,CAkCnB;AAWM,iFALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACnB,GAAG,EAAvB,MAAM,GAAC,IAAI;IACS,eAAe,EAAnC,MAAM,GAAC,IAAI;CACnB,GAAU,KAAK,KAAQ,CAOzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-helpers.d.ts","sourceRoot":"","sources":["../../../../src/utils/headless-helpers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headless-helpers.d.ts","sourceRoot":"","sources":["../../../../src/utils/headless-helpers.js"],"names":[],"mappings":"AAOO,mCAHI,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,CAInB;AAOM,2CAHI,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,CAInB"}
|
|
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as
|
|
15
|
-
import { v, C, w, T, q, x, t } from "./chunks/editor-
|
|
12
|
+
import { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-CoOtSPVU.js";
|
|
13
|
+
import { a7, i, a4 } from "./chunks/converter-CoOtSPVU.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-z-21oqcH.js";
|
|
15
|
+
import { v, C, w, T, q, x, t } from "./chunks/editor-z-21oqcH.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-ChuinsqK.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-C9iQ74ZN.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
|
@@ -80,7 +80,7 @@ function requireEventemitter3() {
|
|
|
80
80
|
if (listeners.fn) return 1;
|
|
81
81
|
return listeners.length;
|
|
82
82
|
};
|
|
83
|
-
EventEmitter2.prototype.emit = function emit(event, a1,
|
|
83
|
+
EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a42, a5) {
|
|
84
84
|
var evt = prefix ? prefix + event : event;
|
|
85
85
|
if (!this._events[evt]) return false;
|
|
86
86
|
var listeners = this._events[evt], len = arguments.length, args, i2;
|
|
@@ -92,13 +92,13 @@ function requireEventemitter3() {
|
|
|
92
92
|
case 2:
|
|
93
93
|
return listeners.fn.call(listeners.context, a1), true;
|
|
94
94
|
case 3:
|
|
95
|
-
return listeners.fn.call(listeners.context, a1,
|
|
95
|
+
return listeners.fn.call(listeners.context, a1, a2), true;
|
|
96
96
|
case 4:
|
|
97
|
-
return listeners.fn.call(listeners.context, a1,
|
|
97
|
+
return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
98
98
|
case 5:
|
|
99
|
-
return listeners.fn.call(listeners.context, a1,
|
|
99
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a42), true;
|
|
100
100
|
case 6:
|
|
101
|
-
return listeners.fn.call(listeners.context, a1,
|
|
101
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a42, a5), true;
|
|
102
102
|
}
|
|
103
103
|
for (i2 = 1, args = new Array(len - 1); i2 < len; i2++) {
|
|
104
104
|
args[i2 - 1] = arguments[i2];
|
|
@@ -116,10 +116,10 @@ function requireEventemitter3() {
|
|
|
116
116
|
listeners[i2].fn.call(listeners[i2].context, a1);
|
|
117
117
|
break;
|
|
118
118
|
case 3:
|
|
119
|
-
listeners[i2].fn.call(listeners[i2].context, a1,
|
|
119
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2);
|
|
120
120
|
break;
|
|
121
121
|
case 4:
|
|
122
|
-
listeners[i2].fn.call(listeners[i2].context, a1,
|
|
122
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
|
|
123
123
|
break;
|
|
124
124
|
default:
|
|
125
125
|
if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
|
|
@@ -495,7 +495,7 @@ const _hoisted_1$b = {
|
|
|
495
495
|
key: 0,
|
|
496
496
|
class: "linked-style-buttons"
|
|
497
497
|
};
|
|
498
|
-
const _hoisted_2$8 = ["onClick", "onKeydown"];
|
|
498
|
+
const _hoisted_2$8 = ["onClick", "onKeydown", "aria-label"];
|
|
499
499
|
const _sfc_main$c = {
|
|
500
500
|
__name: "LinkedStyle",
|
|
501
501
|
props: {
|
|
@@ -540,7 +540,7 @@ const _sfc_main$c = {
|
|
|
540
540
|
moveToPreviousStyle(index);
|
|
541
541
|
break;
|
|
542
542
|
case "Enter":
|
|
543
|
-
|
|
543
|
+
event.preventDefault();
|
|
544
544
|
select(style);
|
|
545
545
|
break;
|
|
546
546
|
}
|
|
@@ -556,6 +556,7 @@ const _sfc_main$c = {
|
|
|
556
556
|
class: normalizeClass(["style-item", { selected: __props.selectedOption === style.id }]),
|
|
557
557
|
onClick: ($event) => select(style),
|
|
558
558
|
onKeydown: (event) => handleKeyDown(event, index, style),
|
|
559
|
+
"aria-label": `Linked style - ${style.id}`,
|
|
559
560
|
ref_for: true,
|
|
560
561
|
ref_key: "styleRefs",
|
|
561
562
|
ref: styleRefs
|
|
@@ -571,7 +572,7 @@ const _sfc_main$c = {
|
|
|
571
572
|
};
|
|
572
573
|
}
|
|
573
574
|
};
|
|
574
|
-
const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
575
|
+
const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b53508a8"]]);
|
|
575
576
|
const _hoisted_1$a = {
|
|
576
577
|
key: 0,
|
|
577
578
|
class: "link-title"
|
|
@@ -1456,6 +1457,7 @@ const makeDefaultItems = ({
|
|
|
1456
1457
|
options: fontOptions,
|
|
1457
1458
|
onActivate: ({ fontFamily }) => {
|
|
1458
1459
|
if (!fontFamily) return;
|
|
1460
|
+
fontFamily = fontFamily.split(",")[0];
|
|
1459
1461
|
fontButton.label.value = fontFamily;
|
|
1460
1462
|
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
1461
1463
|
const foundFont = fontOptions.find((i2) => i2.label === fontFamily);
|
|
@@ -2051,9 +2053,6 @@ const makeDefaultItems = ({
|
|
|
2051
2053
|
group: "left",
|
|
2052
2054
|
attributes: {
|
|
2053
2055
|
ariaLabel: "Undo"
|
|
2054
|
-
},
|
|
2055
|
-
onDeactivate: () => {
|
|
2056
|
-
undo.disabled.value = !superToolbar.undoDepth;
|
|
2057
2056
|
}
|
|
2058
2057
|
});
|
|
2059
2058
|
const redo = useToolbarItem({
|
|
@@ -2066,9 +2065,6 @@ const makeDefaultItems = ({
|
|
|
2066
2065
|
group: "left",
|
|
2067
2066
|
attributes: {
|
|
2068
2067
|
ariaLabel: "Redo"
|
|
2069
|
-
},
|
|
2070
|
-
onDeactivate: () => {
|
|
2071
|
-
redo.disabled.value = !superToolbar.redoDepth;
|
|
2072
2068
|
}
|
|
2073
2069
|
});
|
|
2074
2070
|
const toggleTrackChanges = useToolbarItem({
|
|
@@ -2291,11 +2287,15 @@ const makeDefaultItems = ({
|
|
|
2291
2287
|
}
|
|
2292
2288
|
}
|
|
2293
2289
|
],
|
|
2294
|
-
onActivate: () => {
|
|
2290
|
+
onActivate: ({ linkedStyleMark }) => {
|
|
2291
|
+
const styles = getQuickFormatList(superToolbar.activeEditor);
|
|
2292
|
+
const selectedStyle = styles?.find((style) => style.id === linkedStyleMark?.attrs?.styleId);
|
|
2293
|
+
linkedStyles.label.value = selectedStyle && selectedStyle.id !== "Normal" ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
|
|
2295
2294
|
linkedStyles.disabled.value = false;
|
|
2296
2295
|
},
|
|
2297
2296
|
onDeactivate: () => {
|
|
2298
2297
|
linkedStyles.disabled.value = true;
|
|
2298
|
+
linkedStyles.label.value = toolbarTexts2.formatText;
|
|
2299
2299
|
}
|
|
2300
2300
|
});
|
|
2301
2301
|
const renderIcon = (value, selectedValue) => {
|
|
@@ -2726,11 +2726,9 @@ class SuperToolbar extends EventEmitter {
|
|
|
2726
2726
|
* @returns {void}
|
|
2727
2727
|
*/
|
|
2728
2728
|
increaseTextIndent: ({ item, argument }) => {
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
if (listItemsInSelection.length) {
|
|
2733
|
-
return this.activeEditor.commands.increaseListIndent(listItemsInSelection);
|
|
2729
|
+
let command = item.command;
|
|
2730
|
+
if (this.activeEditor.commands.increaseListIndent?.()) {
|
|
2731
|
+
return true;
|
|
2734
2732
|
}
|
|
2735
2733
|
if (command in this.activeEditor.commands) {
|
|
2736
2734
|
this.activeEditor.commands[command](argument);
|
|
@@ -2745,10 +2743,8 @@ class SuperToolbar extends EventEmitter {
|
|
|
2745
2743
|
*/
|
|
2746
2744
|
decreaseTextIndent: ({ item, argument }) => {
|
|
2747
2745
|
let command = item.command;
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
if (listItemsInSelection.length) {
|
|
2751
|
-
return this.activeEditor.commands.decreaseListIndent(listItemsInSelection);
|
|
2746
|
+
if (this.activeEditor.commands.decreaseListIndent?.()) {
|
|
2747
|
+
return true;
|
|
2752
2748
|
}
|
|
2753
2749
|
if (command in this.activeEditor.commands) {
|
|
2754
2750
|
this.activeEditor.commands[command](argument);
|
|
@@ -2870,6 +2866,7 @@ class SuperToolbar extends EventEmitter {
|
|
|
2870
2866
|
if (this.role === "viewer") {
|
|
2871
2867
|
__privateMethod(this, _SuperToolbar_instances, deactivateAll_fn).call(this);
|
|
2872
2868
|
}
|
|
2869
|
+
this.updateToolbarState();
|
|
2873
2870
|
});
|
|
2874
2871
|
this.config = { ...this.config, ...config };
|
|
2875
2872
|
this.toolbarItems = [];
|
|
@@ -3006,6 +3003,12 @@ class SuperToolbar extends EventEmitter {
|
|
|
3006
3003
|
const inTable = isInTable(this.activeEditor.state);
|
|
3007
3004
|
this.toolbarItems.forEach((item) => {
|
|
3008
3005
|
item.resetDisabled();
|
|
3006
|
+
if (item.name.value === "undo") {
|
|
3007
|
+
item.setDisabled(this.undoDepth === 0);
|
|
3008
|
+
}
|
|
3009
|
+
if (item.name.value === "redo") {
|
|
3010
|
+
item.setDisabled(this.redoDepth === 0);
|
|
3011
|
+
}
|
|
3009
3012
|
if (item.name.value === "acceptTrackedChangeBySelection") {
|
|
3010
3013
|
item.setDisabled(!canAcceptTrackedChanges);
|
|
3011
3014
|
}
|
|
@@ -3013,10 +3016,11 @@ class SuperToolbar extends EventEmitter {
|
|
|
3013
3016
|
item.setDisabled(!canRejectTrackedChanges);
|
|
3014
3017
|
}
|
|
3015
3018
|
if (item.name.value === "linkedStyles") {
|
|
3019
|
+
const linkedStyleMark = marks.find((mark) => mark.name === "styleId");
|
|
3016
3020
|
if (this.activeEditor && !getQuickFormatList(this.activeEditor).length) {
|
|
3017
3021
|
return item.deactivate();
|
|
3018
3022
|
} else {
|
|
3019
|
-
return item.activate();
|
|
3023
|
+
return item.activate({ linkedStyleMark });
|
|
3020
3024
|
}
|
|
3021
3025
|
}
|
|
3022
3026
|
const rawActiveMark = marks.find((mark) => mark.name === item.name.value);
|
|
@@ -3059,11 +3063,15 @@ class SuperToolbar extends EventEmitter {
|
|
|
3059
3063
|
if (item.name.value === "tableActions") {
|
|
3060
3064
|
item.disabled.value = !inTable;
|
|
3061
3065
|
}
|
|
3062
|
-
const
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
item.
|
|
3066
|
+
const selection2 = this.activeEditor.state.selection;
|
|
3067
|
+
const listParent = findParentNode(isList)(selection2)?.node;
|
|
3068
|
+
if (listParent) {
|
|
3069
|
+
const numberingType = listParent.attrs.listRendering.numberingType;
|
|
3070
|
+
if (item.name.value === "list" && numberingType === "bullet") {
|
|
3071
|
+
item.activate();
|
|
3072
|
+
} else if (item.name.value === "numberedlist" && numberingType !== "bullet") {
|
|
3073
|
+
item.activate();
|
|
3074
|
+
}
|
|
3067
3075
|
}
|
|
3068
3076
|
});
|
|
3069
3077
|
}
|
|
@@ -3619,7 +3627,7 @@ async function getEditorContext(editor, event) {
|
|
|
3619
3627
|
const clipboardContent = normalizeClipboardContent(rawClipboardContent);
|
|
3620
3628
|
const structureFromResolvedPos = pos !== null ? getStructureFromResolvedPos(state, pos) : null;
|
|
3621
3629
|
const isInTable2 = structureFromResolvedPos?.isInTable ?? selectionHasNodeOrMark(state, "table", { requireEnds: true });
|
|
3622
|
-
const isInList = structureFromResolvedPos?.isInList ?? (
|
|
3630
|
+
const isInList = structureFromResolvedPos?.isInList ?? selectionIncludesListParagraph(state);
|
|
3623
3631
|
const isInSectionNode = structureFromResolvedPos?.isInSectionNode ?? selectionHasNodeOrMark(state, "documentSection", { requireEnds: true });
|
|
3624
3632
|
const currentNodeType = node?.type?.name || null;
|
|
3625
3633
|
const activeMarks = [];
|
|
@@ -3747,16 +3755,51 @@ function computeCanRedo(editor, state) {
|
|
|
3747
3755
|
function isCollaborationEnabled(editor) {
|
|
3748
3756
|
return Boolean(editor?.options?.collaborationProvider && editor?.options?.ydoc);
|
|
3749
3757
|
}
|
|
3758
|
+
function selectionIncludesListParagraph(state) {
|
|
3759
|
+
const { $from, $to, from, to } = state.selection;
|
|
3760
|
+
const hasListInResolvedPos = ($pos) => {
|
|
3761
|
+
for (let depth = $pos.depth; depth > 0; depth--) {
|
|
3762
|
+
if (isList($pos.node(depth))) {
|
|
3763
|
+
return true;
|
|
3764
|
+
}
|
|
3765
|
+
}
|
|
3766
|
+
return false;
|
|
3767
|
+
};
|
|
3768
|
+
if (hasListInResolvedPos($from) || hasListInResolvedPos($to)) {
|
|
3769
|
+
return true;
|
|
3770
|
+
}
|
|
3771
|
+
let found = false;
|
|
3772
|
+
state.doc.nodesBetween(from, to, (node) => {
|
|
3773
|
+
if (isList(node)) {
|
|
3774
|
+
found = true;
|
|
3775
|
+
return false;
|
|
3776
|
+
}
|
|
3777
|
+
return true;
|
|
3778
|
+
});
|
|
3779
|
+
return found;
|
|
3780
|
+
}
|
|
3750
3781
|
function getStructureFromResolvedPos(state, pos) {
|
|
3751
3782
|
try {
|
|
3752
3783
|
const $pos = state.doc.resolve(pos);
|
|
3753
|
-
|
|
3784
|
+
let isInList = false;
|
|
3785
|
+
let isInTable2 = false;
|
|
3786
|
+
let isInSectionNode = false;
|
|
3754
3787
|
for (let depth = $pos.depth; depth > 0; depth--) {
|
|
3755
|
-
|
|
3788
|
+
const node = $pos.node(depth);
|
|
3789
|
+
const name = node.type.name;
|
|
3790
|
+
if (!isInList && isList(node)) {
|
|
3791
|
+
isInList = true;
|
|
3792
|
+
}
|
|
3793
|
+
if (!isInTable2 && (name === "table" || name === "tableRow" || name === "tableCell" || name === "tableHeader")) {
|
|
3794
|
+
isInTable2 = true;
|
|
3795
|
+
}
|
|
3796
|
+
if (!isInSectionNode && name === "documentSection") {
|
|
3797
|
+
isInSectionNode = true;
|
|
3798
|
+
}
|
|
3799
|
+
if (isInList && isInTable2 && isInSectionNode) {
|
|
3800
|
+
break;
|
|
3801
|
+
}
|
|
3756
3802
|
}
|
|
3757
|
-
const isInList = ancestors.has("bulletList") || ancestors.has("orderedList");
|
|
3758
|
-
const isInTable2 = ancestors.has("table") || ancestors.has("tableRow") || ancestors.has("tableCell") || ancestors.has("tableHeader");
|
|
3759
|
-
const isInSectionNode = ancestors.has("documentSection");
|
|
3760
3803
|
return {
|
|
3761
3804
|
isInTable: isInTable2,
|
|
3762
3805
|
isInList,
|
|
@@ -4427,7 +4470,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4427
4470
|
}
|
|
4428
4471
|
});
|
|
4429
4472
|
function adjustPaginationBreaks(editorElem, editor) {
|
|
4430
|
-
if (!editorElem.value || !editor?.value?.options?.scale) return;
|
|
4473
|
+
if (!editorElem.value || !editor?.value?.options?.scale || isHeadless(editor)) return;
|
|
4431
4474
|
const zoom = editor.value.options.scale;
|
|
4432
4475
|
const bounds = editorElem.value.getBoundingClientRect();
|
|
4433
4476
|
const breakNodes = editorElem.value.querySelectorAll(".pagination-break-wrapper");
|
|
@@ -4861,6 +4904,7 @@ const _sfc_main$1 = {
|
|
|
4861
4904
|
...props.options
|
|
4862
4905
|
});
|
|
4863
4906
|
editor.value.on("paginationUpdate", () => {
|
|
4907
|
+
if (isHeadless(editor.value)) return;
|
|
4864
4908
|
adjustPaginationBreaks(editorElem, editor);
|
|
4865
4909
|
});
|
|
4866
4910
|
editor.value.on("collaborationReady", () => {
|
|
@@ -5019,7 +5063,7 @@ const _sfc_main$1 = {
|
|
|
5019
5063
|
};
|
|
5020
5064
|
}
|
|
5021
5065
|
};
|
|
5022
|
-
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
5066
|
+
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cd3558fe"]]);
|
|
5023
5067
|
const _hoisted_1 = ["innerHTML"];
|
|
5024
5068
|
const _sfc_main = {
|
|
5025
5069
|
__name: "SuperInput",
|
|
@@ -5112,16 +5156,18 @@ const _sfc_main = {
|
|
|
5112
5156
|
};
|
|
5113
5157
|
const SuperInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4d5cff52"]]);
|
|
5114
5158
|
const additionalHandlers = Object.freeze({
|
|
5115
|
-
"mc:AlternateContent": translator$
|
|
5116
|
-
"sd:pageReference": translator$
|
|
5117
|
-
"sd:tableOfContents": translator$
|
|
5118
|
-
"w:b": translator$
|
|
5119
|
-
"w:
|
|
5120
|
-
"w:
|
|
5121
|
-
"w:
|
|
5122
|
-
"w:
|
|
5123
|
-
"w:
|
|
5124
|
-
"w:
|
|
5159
|
+
"mc:AlternateContent": translator$1j,
|
|
5160
|
+
"sd:pageReference": translator$1i,
|
|
5161
|
+
"sd:tableOfContents": translator$1h,
|
|
5162
|
+
"w:b": translator$1g,
|
|
5163
|
+
"w:bCs": translator$1f,
|
|
5164
|
+
"w:bidiVisual": translator$1e,
|
|
5165
|
+
"w:bookmarkEnd": translator$1d,
|
|
5166
|
+
"w:bookmarkStart": translator$1c,
|
|
5167
|
+
"w:bottom": translator$1b,
|
|
5168
|
+
"w:br": translator$1a,
|
|
5169
|
+
"w:cantSplit": translator$19,
|
|
5170
|
+
"w:caps": translator$18,
|
|
5125
5171
|
"w:cnfStyle": translator$17,
|
|
5126
5172
|
"w:color": translator$16,
|
|
5127
5173
|
"w:divId": translator$15,
|
|
@@ -5198,7 +5244,6 @@ const additionalHandlers = Object.freeze({
|
|
|
5198
5244
|
"w:tcPr": translator
|
|
5199
5245
|
});
|
|
5200
5246
|
const baseHandlers = {
|
|
5201
|
-
...runPropertyTranslators,
|
|
5202
5247
|
...additionalHandlers
|
|
5203
5248
|
};
|
|
5204
5249
|
const registeredHandlers = Object.freeze(baseHandlers);
|
|
@@ -5223,7 +5268,7 @@ export {
|
|
|
5223
5268
|
Extensions,
|
|
5224
5269
|
w as SectionHelpers,
|
|
5225
5270
|
_sfc_main$5 as SlashMenu,
|
|
5226
|
-
|
|
5271
|
+
a7 as SuperConverter,
|
|
5227
5272
|
SuperEditor,
|
|
5228
5273
|
SuperInput,
|
|
5229
5274
|
SuperToolbar,
|
|
@@ -5236,7 +5281,7 @@ export {
|
|
|
5236
5281
|
i as getMarksFromSelection,
|
|
5237
5282
|
getRichTextExtensions,
|
|
5238
5283
|
getStarterExtensions,
|
|
5239
|
-
|
|
5284
|
+
a4 as helpers,
|
|
5240
5285
|
registeredHandlers,
|
|
5241
5286
|
t as trackChangesHelpers
|
|
5242
5287
|
};
|