superdoc 0.30.0-next.9 → 0.30.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-BvzVIj2M.es.js → PdfViewer-D_iKMNQq.es.js} +1 -1
- package/dist/chunks/{PdfViewer-DdqF0Jz2.cjs → PdfViewer-soUG7IDt.cjs} +1 -1
- package/dist/chunks/{index-CHYe9g4y.es.js → index-CkMyo2zy.es.js} +6 -7
- package/dist/chunks/{index-CGz3-6gE-C6-Xar1o.cjs → index-D04RPnYX-C9XCLJFR.cjs} +1 -1
- package/dist/chunks/{index-CGz3-6gE-Cujvn9Pw.es.js → index-D04RPnYX-D4QY0wzH.es.js} +1 -1
- package/dist/chunks/{index-BS99f4H2.cjs → index-D4zMX0uJ.cjs} +6 -7
- package/dist/chunks/{super-editor.es--fmalU7v.es.js → super-editor.es-B2pA2Nu-.es.js} +16459 -14928
- package/dist/chunks/{super-editor.es-CO_az6Oa.cjs → super-editor.es-DmA8JlL1.cjs} +16459 -14928
- 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/shared/common/Telemetry.d.ts +237 -0
- package/dist/shared/common/Telemetry.d.ts.map +1 -0
- package/dist/shared/common/collaboration/awareness.d.ts +39 -0
- package/dist/shared/common/collaboration/awareness.d.ts.map +1 -0
- package/dist/shared/common/document-types.d.ts +10 -0
- package/dist/shared/common/document-types.d.ts.map +1 -0
- package/dist/shared/common/event-types.d.ts +14 -0
- package/dist/shared/common/event-types.d.ts.map +1 -0
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +8 -0
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +1 -0
- package/dist/shared/common/helpers/get-file-object.d.ts +50 -0
- package/dist/shared/common/helpers/get-file-object.d.ts.map +1 -0
- package/dist/shared/common/helpers/v-click-outside.d.ts +11 -0
- package/dist/shared/common/helpers/v-click-outside.d.ts.map +1 -0
- package/dist/shared/common/index.d.ts +10 -0
- package/dist/shared/common/index.d.ts.map +1 -0
- package/dist/shared/common/key-transform.d.ts +44 -0
- package/dist/shared/common/key-transform.d.ts.map +1 -0
- package/dist/style.css +31 -11
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-a0L8wNod.js → converter-DrPdSxVd.js} +13843 -13341
- package/dist/super-editor/chunks/{docx-zipper-S0E2rgnn.js → docx-zipper-IcLp4qO8.js} +1 -1
- package/dist/super-editor/chunks/{editor-DmfydVEc.js → editor-CNJV20ln.js} +2522 -1507
- package/dist/super-editor/chunks/{index-CGz3-6gE.js → index-D04RPnYX.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-D5SCPeci.js → toolbar-D9Y3NWGF.js} +2 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +31 -11
- package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/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/backspaceNextToList.d.ts +6 -0
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +15 -0
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +7 -2
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +1 -2
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +56 -6
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/extensions/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 +42 -15
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/orderedListUtils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +5 -2
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +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 +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +1 -3
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +97 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +0 -11
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/trackChangesImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +4 -30
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +37 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +10 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +12 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +3 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +3 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +3 -5
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/{w-tab-type.d.ts → w-tab-size.d.ts} +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +15 -0
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/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/index.d.ts +4 -1
- 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/list-item/ListItemNodeView.d.ts +43 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +68 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +13 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +51 -0
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +3 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +6 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +38 -0
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +4 -4
- 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 +0 -1
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +2 -14
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/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.es.js +59 -98
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +16509 -14979
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +0 -15
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +0 -4
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +0 -26
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +0 -7
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +0 -30
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +0 -37
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +0 -9
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
-
import { p as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { p as process$1 } from "./converter-DrPdSxVd.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-CNJV20ln.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E } from "./chunks/editor-CNJV20ln.js";
|
|
2
|
+
import "./chunks/converter-DrPdSxVd.js";
|
|
3
|
+
import "./chunks/docx-zipper-IcLp4qO8.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -458,7 +458,6 @@ a {
|
|
|
458
458
|
}
|
|
459
459
|
.super-editor a {
|
|
460
460
|
color: initial;
|
|
461
|
-
text-decoration: auto;
|
|
462
461
|
}
|
|
463
462
|
/**
|
|
464
463
|
* Basic ProseMirror styles.
|
|
@@ -682,8 +681,8 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
|
|
|
682
681
|
border-top: 1px dashed #cb0e47;
|
|
683
682
|
border-bottom: 1px dashed #cb0e47;
|
|
684
683
|
background-color: #cb0e4722;
|
|
685
|
-
text-decoration: line-through
|
|
686
|
-
text-decoration-thickness: 2px
|
|
684
|
+
text-decoration: line-through;
|
|
685
|
+
text-decoration-thickness: 2px;
|
|
687
686
|
}
|
|
688
687
|
.ProseMirror .track-format-dec.highlighted {
|
|
689
688
|
border-bottom: 2px solid gold;
|
|
@@ -768,8 +767,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
|
|
|
768
767
|
.ProseMirror div[data-horizontal-rule='true'] {
|
|
769
768
|
position: relative;
|
|
770
769
|
z-index: auto;
|
|
771
|
-
display:
|
|
772
|
-
vertical-align: middle;
|
|
770
|
+
display: block;
|
|
773
771
|
margin-top: auto;
|
|
774
772
|
align-self: flex-end;
|
|
775
773
|
}
|
|
@@ -1036,6 +1034,28 @@ on the right if it is inside shape textbox.
|
|
|
1036
1034
|
.sd-editor-comment-highlight.sd-custom-selection {
|
|
1037
1035
|
background-color: #d6c0c6 !important;
|
|
1038
1036
|
}
|
|
1037
|
+
.sd-editor-list-item-node-view {
|
|
1038
|
+
position: relative;
|
|
1039
|
+
width: 100%;
|
|
1040
|
+
}
|
|
1041
|
+
.sd-editor-list-item-numbering {
|
|
1042
|
+
position: absolute;
|
|
1043
|
+
top: 0;
|
|
1044
|
+
white-space: nowrap;
|
|
1045
|
+
user-select: none;
|
|
1046
|
+
pointer-events: auto;
|
|
1047
|
+
text-align: right;
|
|
1048
|
+
z-index: 1;
|
|
1049
|
+
}
|
|
1050
|
+
.sd-editor-list-item-content-dom {
|
|
1051
|
+
position: relative;
|
|
1052
|
+
min-height: inherit;
|
|
1053
|
+
word-wrap: break-word;
|
|
1054
|
+
}
|
|
1055
|
+
/* temporary fix */
|
|
1056
|
+
.sd-editor-list-item-node-view .sd-custom-selection {
|
|
1057
|
+
font-size: inherit !important;
|
|
1058
|
+
}
|
|
1039
1059
|
/* Resize handles container */
|
|
1040
1060
|
.sd-editor-resize-container {
|
|
1041
1061
|
position: absolute;
|
|
@@ -1346,13 +1366,13 @@ on the right if it is inside shape textbox.
|
|
|
1346
1366
|
color: #666;
|
|
1347
1367
|
}
|
|
1348
1368
|
|
|
1349
|
-
.style-name[data-v-
|
|
1369
|
+
.style-name[data-v-9c96d4a1] {
|
|
1350
1370
|
padding: 16px 10px;
|
|
1351
1371
|
}
|
|
1352
|
-
.style-name[data-v-
|
|
1372
|
+
.style-name[data-v-9c96d4a1]:hover {
|
|
1353
1373
|
background-color: #c8d0d8;
|
|
1354
1374
|
}
|
|
1355
|
-
.linked-style-buttons[data-v-
|
|
1375
|
+
.linked-style-buttons[data-v-9c96d4a1] {
|
|
1356
1376
|
display: flex;
|
|
1357
1377
|
flex-direction: column;
|
|
1358
1378
|
width: 100%;
|
|
@@ -1363,7 +1383,7 @@ on the right if it is inside shape textbox.
|
|
|
1363
1383
|
margin: 0;
|
|
1364
1384
|
overflow: auto;
|
|
1365
1385
|
}
|
|
1366
|
-
.button-icon[data-v-
|
|
1386
|
+
.button-icon[data-v-9c96d4a1] {
|
|
1367
1387
|
cursor: pointer;
|
|
1368
1388
|
padding: 5px;
|
|
1369
1389
|
font-size: 16px;
|
|
@@ -1375,10 +1395,10 @@ on the right if it is inside shape textbox.
|
|
|
1375
1395
|
align-items: center;
|
|
1376
1396
|
box-sizing: border-box;
|
|
1377
1397
|
}
|
|
1378
|
-
.button-icon[data-v-
|
|
1398
|
+
.button-icon[data-v-9c96d4a1]:hover {
|
|
1379
1399
|
background-color: #d8dee5;
|
|
1380
1400
|
}
|
|
1381
|
-
.button-icon[data-v-
|
|
1401
|
+
.button-icon[data-v-9c96d4a1] svg {
|
|
1382
1402
|
width: 100%;
|
|
1383
1403
|
height: 100%;
|
|
1384
1404
|
display: block;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/slash-menu/utils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/slash-menu/utils.js"],"names":[],"mappings":"AA+GA;;;;;;GAMG;AACH,sDAHW,UAAU,GACR,OAAO,KAAQ,CAyI3B;AA1OM,yCAJI,MAAM,mBAwDhB;AAsPD;;;;EA0BC;AA9BD,8DAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;
|
|
1
|
+
{"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;EA8qCN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAwBA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH;IAwBE;;;;OAIG;IACH,oBAHW,aAAa,EA4DvB;IArFD;;;OAGG;IACH,QAFU,aAAa,CAmBrB;IAWA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,aAAmC;IACnC,sBAA4B;IAuC5B,gCAA6B;IAI3B,uQAAoD;IAEtD,kBAAyC;IAI3C,0CAgBC;IAkVD;;;;OAIG;IACH,aAHc,GAAC,EAAA,GACF,IAAI,CAIhB;IAED;;;;OAIG;IACH,qBAHW,MAAM,GACJ,IAAI,CAMhB;IAED;;;;OAIG;IACH,8BAFa,IAAI,CAKhB;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,WAAW,EAAE,CAIzB;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,WAAW,GAAC,SAAS,CAIjC;IAgGD;;;;OAIG;IACH,sBAFa,IAAI,CAwHhB;IAED;;;OAGG;IACH,uBAFa,IAAI,CAef;IA0BE,eAAmD;IACnD,eAAmD;IAsBvD;;;;;OAKG;IACH,qCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAKhB;IAED;;;;;;OAMG;IACH,wCALW,WAAW,GAGT,GAAC,CAoCb;;CAoCF;;;;8BAl9BY,CAAS,IAAW,EAAX,WAAW,KAAG,IAAI;;;;;eAS1B,MAAM;;;;oBACN,MAAM,EAAE;;;;WACR,MAAM;;;;iBACN,OAAO;;;;;;;;;;;;WAGP,MAAM;;;;mBACN,MAAM,EAAE;;;;;;;;;;;;eAGR,MAAM;;;;iBACN,MAAM;;;;oBACN,WAAW,EAAE;;;;;;QAMxB;QAAsB,KAAK,EAAhB,MAAM;KACjB;;;;UACA;QAAwB,KAAK,EAAlB,MAAM;KACjB;;;;UAAW,MAAM;;;;WAEjB;QAAyB,KAAK,EAAnB,MAAM;KACjB;;;;aAAW,MAAM,GAAC,eAAe;;;;wBACtB,MAAM;;;;UAEjB;QAAmB,KAAK,EAAb,GAAC;KACZ;;;;aACA;QAAsB,KAAK,EAAhB,GAAC;KACZ;;;;gBACA;QAA8B,KAAK;KACnC;;;;cACA;QAA6B,KAAK,EAAvB,OAAO;KAClB;;;;YACA;QAA2B,KAAK,EAArB,OAAO;KAClB;;;;YACA;QAA2B,KAAK,EAArB,OAAO;KAClB;;;;mBACA;QAAgC,KAAK;KACrC;;;;WACA;QAAoB,KAAK,EAAd,GAAC;KACZ;;;;cACA;QAA6B,KAAK,EAAvB,OAAO;KAClB;;;;YACA;QAA2B,KAAK,EAArB,OAAO;KAClB;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;gBACA;QAAyB,KAAK,EAAnB,GAAC;KACZ;;;;eACA;QAAwB,KAAK,EAAlB,GAAC;KACZ;;;;eACA;QAAwB,KAAK,EAAlB,GAAC;KACZ;;;;cACA;QAA6B,KAAK,EAAvB,OAAO;KAClB;;;;oBACA;QAA6B,KAAK,EAAvB,GAAC;KACZ;;;;oBACA;QAAmC,KAAK,EAA7B,OAAO;KAClB;;;;oBACA;QAA6B,KAAK,EAAvB,GAAC;KACZ;;;;kBACA;QAA2B,KAAK,EAArB,GAAC;KACZ;;;;WACA;QAAoB,KAAK,EAAd,GAAC;KACZ;;;;eACA;QAA8B,KAAK,EAAxB,OAAO;KAClB;;;;4BACA;QAA2C,KAAK,EAArC,OAAO;KAClB;;;;wBACA;QAAuC,KAAK,EAAjC,OAAO;KAClB;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;eACA;QAAwB,KAAK,EAAlB,GAAC;KACZ;;;;wBACA;QAAuC,KAAK,EAAjC,OAAO;KAClB;;;;sBACA;QAA+B,KAAK,EAAzB,GAAC;KACZ;;;;mBACA;QAA4B,KAAK,EAAtB,GAAC;KACZ;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAWW,WAAW;;;;eACX,GAAC;;6BApIc,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtensionService.d.ts","sourceRoot":"","sources":["../../../../src/core/ExtensionService.js"],"names":[],"mappings":"AAUA;;GAEG;AACH;IA4BE;;;OAGG;IACH,gDAEC;IAED;;;;OAIG;IACH,mDAGC;IAED;;;;OAIG;IACH,4CASC;IAjDD,+DAeC;IAzBD,YAAO;IAEP,2DAAO;IAEP,gBAAW;IAEX,0BAAwB;IAExB,uBAAqB;IAqDrB;;;OAGG;IACH,wBAEC;IAED;;;OAGG;IACH,mBAsBC;IAED;;;;;OAKG;IACH,mBAuBC;IAED;;;;OAIG;IACH,qBAuDC;IAED;;;OAGG;IACH;;
|
|
1
|
+
{"version":3,"file":"ExtensionService.d.ts","sourceRoot":"","sources":["../../../../src/core/ExtensionService.js"],"names":[],"mappings":"AAUA;;GAEG;AACH;IA4BE;;;OAGG;IACH,gDAEC;IAED;;;;OAIG;IACH,mDAGC;IAED;;;;OAIG;IACH,4CASC;IAjDD,+DAeC;IAzBD,YAAO;IAEP,2DAAO;IAEP,gBAAW;IAEX,0BAAwB;IAExB,uBAAqB;IAqDrB;;;OAGG;IACH,wBAEC;IAED;;;OAGG;IACH,mBAsBC;IAED;;;;;OAKG;IACH,mBAuBC;IAED;;;;OAIG;IACH,qBAuDC;IAED;;;OAGG;IACH;;MA2CC;;CA6DF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../../../src/core/InputRule.js"],"names":[],"mappings":"AAoOA,+CAIC;AAMD;;;;;;;GAOG;AACH,sDAJW,MAAM,
|
|
1
|
+
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../../../src/core/InputRule.js"],"names":[],"mappings":"AAoOA,+CAIC;AAMD;;;;;;;GAOG;AACH,sDAJW,MAAM,2BAsDhB;AACD;;;;;;;GAOG;AACH,kDAHW,MAAM,GACJ,gBAAgB,CAM5B;AAgBD;;;;;GAKG;AACH,+DAOC;AAED;;;;;GAKG;AACH,mCAJW,MAAM,kBACN,MAAM,EAAE,GACN,gBAAgB,CAwB5B;AAED;;;;;;;;;;;GAWG;AACH,uDALG;IAAyB,MAAM,EAAvB,MAAM;IACW,IAAI,EAArB,IAAI;CACZ,yBAkCF;AAlZD;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AA4GM;;;gBAmGN;AA2FM,oDAMN;uBAnUiC,mBAAmB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const schemaWithLists: Schema<"text" | "
|
|
1
|
+
export const schemaWithLists: Schema<"text" | "bulletList" | "orderedList" | "doc" | "listItem" | "paragraph" | "tab", keyof import("orderedmap").default<import("prosemirror-model").MarkSpec>>;
|
|
2
2
|
import { Schema } from 'prosemirror-model';
|
|
3
3
|
//# sourceMappingURL=schemaWithLists.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backspaceNextToList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/backspaceNextToList.js"],"names":[],"mappings":"AAkCO,8CAEJ;;;;CAA2B,aAqG3B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function decreaseListIndent(): Function;
|
|
1
|
+
export function decreaseListIndent(_targetPositions?: any[]): Function;
|
|
2
2
|
//# sourceMappingURL=decreaseListIndent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decreaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/decreaseListIndent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"decreaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/decreaseListIndent.js"],"names":[],"mappings":"AAcO,uEA+EJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/deleteListItem.js"],"names":[],"mappings":"AAUO,2CA+EN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the context information for the current paragraph.
|
|
3
|
+
* @param {import("prosemirror-state").EditorState} state
|
|
4
|
+
* @returns {Object|null} Context information for the paragraph or null if not found.
|
|
5
|
+
*/
|
|
6
|
+
export function getParaCtx(state: import("prosemirror-state").EditorState): any | null;
|
|
7
|
+
/**
|
|
8
|
+
* Check if the cursor is at the visual end of the paragraph.
|
|
9
|
+
* @param {import("prosemirror-state").EditorState} state
|
|
10
|
+
* @param {Object} ctx
|
|
11
|
+
* @returns {boolean}
|
|
12
|
+
*/
|
|
13
|
+
export function atVisualParaEnd(state: import("prosemirror-state").EditorState, ctx: any): boolean;
|
|
14
|
+
export function handleDeleteNextToList(): Function;
|
|
15
|
+
//# sourceMappingURL=deleteNextToList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteNextToList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/deleteNextToList.js"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,kCAHW,OAAO,mBAAmB,EAAE,WAAW,GACrC,MAAO,IAAI,CAcvB;AAED;;;;;GAKG;AACH,uCAJW,OAAO,mBAAmB,EAAE,WAAW,aAErC,OAAO,CAiBnB;AAoBM,mDAsHJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"increaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/increaseListIndent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"increaseListIndent.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/increaseListIndent.js"],"names":[],"mappings":"AAaO,+DAEJ;;;CAAc,aAqEd"}
|
|
@@ -31,11 +31,16 @@ export * from "./selectTextblockEnd.js";
|
|
|
31
31
|
export * from "./insertContent.js";
|
|
32
32
|
export * from "./insertContentAt.js";
|
|
33
33
|
export * from "./undoInputRule.js";
|
|
34
|
+
export * from "./wrapInList.js";
|
|
34
35
|
export * from "./toggleList.js";
|
|
36
|
+
export * from "./splitListItem.js";
|
|
37
|
+
export * from "./sinkListItem.js";
|
|
38
|
+
export * from "./liftListItem.js";
|
|
39
|
+
export * from "./deleteListItem.js";
|
|
35
40
|
export * from "./increaseListIndent.js";
|
|
36
41
|
export * from "./decreaseListIndent.js";
|
|
37
|
-
export * from "./
|
|
38
|
-
export * from "./
|
|
42
|
+
export * from "./backspaceNextToList.js";
|
|
43
|
+
export * from "./deleteNextToList.js";
|
|
39
44
|
export * from "./restoreSelection.js";
|
|
40
45
|
export * from "./setTextSelection.js";
|
|
41
46
|
export * from "./getSelectionMarks.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liftListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/liftListItem.js"],"names":[],"mappings":"AASO,gDAEJ;;;CAAmB,aAGnB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function isList(
|
|
1
|
+
export function isList(n: import("prosemirror-model").Node): boolean;
|
|
2
2
|
//# sourceMappingURL=is-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-list.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/is-list.js"],"names":[],"mappings":"AAKO,
|
|
1
|
+
{"version":3,"file":"is-list.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/is-list.js"],"names":[],"mappings":"AAKO,0BAHI,OAAO,mBAAmB,EAAE,IAAI,GAC9B,OAAO,CAEiF"}
|
package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-indent-helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/list-indent-helpers.js"],"names":[],"mappings":"AAEO,+CAIN;AAEM,kDAWN"}
|
|
1
|
+
{"version":3,"file":"list-indent-helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/commands/list-helpers/list-indent-helpers.js"],"names":[],"mappings":"AAEO,+CAIN;AAEM,kDAWN;AAEM,oFA6BN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sinkListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/sinkListItem.js"],"names":[],"mappings":"AAUO,gDAAsC;;;CAAmB,aAG/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitBlock.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/splitBlock.js"],"names":[],"mappings":"AAsBO
|
|
1
|
+
{"version":3,"file":"splitBlock.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/splitBlock.js"],"names":[],"mappings":"AAsBO;;KAEJ,UAAK,aAiDL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitListItem.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/splitListItem.js"],"names":[],"mappings":"AAkEO,0CAgKN"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const testSchema: Schema<"text" | "
|
|
1
|
+
export const testSchema: Schema<"text" | "bulletList" | "orderedList" | "doc" | "listItem" | "paragraph" | "tab", never>;
|
|
2
2
|
import { Schema } from 'prosemirror-model';
|
|
3
3
|
//# sourceMappingURL=test-schema.d.ts.map
|
|
@@ -1,7 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Find the nearest list node at the given position.
|
|
3
|
+
* @param {import("prosemirror-model").ResolvedPos} $pos
|
|
4
|
+
* @param {import("prosemirror-model").NodeType} OrderedType
|
|
5
|
+
* @param {import("prosemirror-model").NodeType} BulletType
|
|
6
|
+
* @returns {{ node: import("prosemirror-model").Node, pos: number, depth: number } | null}
|
|
7
|
+
*/
|
|
8
|
+
export function nearestListAt($pos: import("prosemirror-model").ResolvedPos, OrderedType: import("prosemirror-model").NodeType, BulletType: import("prosemirror-model").NodeType): {
|
|
9
|
+
node: import("prosemirror-model").Node;
|
|
10
|
+
pos: number;
|
|
11
|
+
depth: number;
|
|
12
|
+
} | null;
|
|
13
|
+
/**
|
|
14
|
+
* Collect all top-level list nodes that intersect with the given selection.
|
|
15
|
+
* @param {Object} param0
|
|
16
|
+
* @param {import("prosemirror-model").Node} param0.doc
|
|
17
|
+
* @param {import("prosemirror-state").Selection} param0.selection
|
|
18
|
+
* @param {import("prosemirror-model").NodeType} param0.OrderedType
|
|
19
|
+
* @param {import("prosemirror-model").NodeType} param0.BulletType
|
|
20
|
+
* @returns {Array<{ node: import("prosemirror-model").Node, pos: number, depth: number | null }>}
|
|
21
|
+
*/
|
|
22
|
+
export function collectIntersectingTopLists({ doc, selection, OrderedType, BulletType }: {
|
|
23
|
+
doc: import("prosemirror-model").Node;
|
|
24
|
+
selection: import("prosemirror-state").Selection;
|
|
25
|
+
OrderedType: import("prosemirror-model").NodeType;
|
|
26
|
+
BulletType: import("prosemirror-model").NodeType;
|
|
27
|
+
}): Array<{
|
|
28
|
+
node: import("prosemirror-model").Node;
|
|
29
|
+
pos: number;
|
|
30
|
+
depth: number | null;
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Rebuild a list node with a new numbering scheme.
|
|
34
|
+
* @param {Object} param0
|
|
35
|
+
* @param {import("prosemirror-model").Node} param0.oldList
|
|
36
|
+
* @param {import("prosemirror-model").NodeType} param0.toType
|
|
37
|
+
* @param {import("../Editor.js").Editor} param0.editor
|
|
38
|
+
* @param {import("prosemirror-model").Schema} param0.schema
|
|
39
|
+
* @param {String|null} param0.fixedNumId
|
|
40
|
+
* @returns {import("prosemirror-model").Node}
|
|
41
|
+
*/
|
|
42
|
+
export function rebuildListNodeWithNewNum({ oldList, toType, editor, schema, fixedNumId }: {
|
|
43
|
+
oldList: import("prosemirror-model").Node;
|
|
44
|
+
toType: import("prosemirror-model").NodeType;
|
|
45
|
+
editor: import("../Editor.js").Editor;
|
|
46
|
+
schema: import("prosemirror-model").Schema;
|
|
47
|
+
fixedNumId: string | null;
|
|
48
|
+
}): import("prosemirror-model").Node;
|
|
49
|
+
/**
|
|
50
|
+
* Set the selection span in the transaction to match the original span.
|
|
51
|
+
* @param {import("prosemirror-state").Transaction} tr
|
|
52
|
+
* @param {number} fromBefore
|
|
53
|
+
* @param {number} toBefore
|
|
54
|
+
*/
|
|
55
|
+
export function setMappedSelectionSpan(tr: import("prosemirror-state").Transaction, fromBefore: number, toBefore: number): void;
|
|
56
|
+
export function toggleList(listType: string | import("prosemirror-model").NodeType): Function;
|
|
7
57
|
//# sourceMappingURL=toggleList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/toggleList.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/toggleList.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,oCALW,OAAO,mBAAmB,EAAE,WAAW,eACvC,OAAO,mBAAmB,EAAE,QAAQ,cACpC,OAAO,mBAAmB,EAAE,QAAQ,GAClC;IAAE,IAAI,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAUzF;AAuBD;;;;;;;;GAQG;AACH,yFANG;IAAiD,GAAG,EAA5C,OAAO,mBAAmB,EAAE,IAAI;IACc,SAAS,EAAvD,OAAO,mBAAmB,EAAE,SAAS;IACQ,WAAW,EAAxD,OAAO,mBAAmB,EAAE,QAAQ;IACS,UAAU,EAAvD,OAAO,mBAAmB,EAAE,QAAQ;CAC5C,GAAU,KAAK,CAAC;IAAE,IAAI,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC,CAgChG;AAoBD;;;;;;;;;GASG;AACH,2FAPG;IAAiD,OAAO,EAAhD,OAAO,mBAAmB,EAAE,IAAI;IACa,MAAM,EAAnD,OAAO,mBAAmB,EAAE,QAAQ;IACE,MAAM,EAA5C,OAAO,cAAc,EAAE,MAAM;IACc,MAAM,EAAjD,OAAO,mBAAmB,EAAE,MAAM;IACd,UAAU,EAA9B,SAAO,IAAI;CACnB,GAAU,OAAO,mBAAmB,EAAE,IAAI,CAuE5C;AAoED;;;;;GAKG;AACH,2CAJW,OAAO,mBAAmB,EAAE,WAAW,cACvC,MAAM,YACN,MAAM,QAQhB;AAsCM,qCAHI,SAAO,OAAO,mBAAmB,EAAE,QAAQ,YAkMnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapInList.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/wrapInList.js"],"names":[],"mappings":"AAWO,0DAAgD;;;CAAmB,aAGzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAQN;AAEM,
|
|
1
|
+
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAQN;AAEM,kDAaN;AAEM,+CAON;AAED;;;GAGG;AACH,+BAwCG;0BAlFuB,iBAAiB"}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* @param {Object} params
|
|
4
4
|
* @param {string} params.content - The content to process
|
|
5
5
|
* @param {string} params.type - Content type: 'html', 'markdown', 'text', 'schema'
|
|
6
|
-
* @param {Object} params.
|
|
6
|
+
* @param {Object} params.schema - ProseMirror schema
|
|
7
7
|
* @returns {Object} Processed ProseMirror document
|
|
8
8
|
*/
|
|
9
|
-
export function processContent({ content, type,
|
|
9
|
+
export function processContent({ content, type, schema }: {
|
|
10
10
|
content: string;
|
|
11
11
|
type: string;
|
|
12
|
-
|
|
12
|
+
schema: any;
|
|
13
13
|
}): any;
|
|
14
14
|
//# sourceMappingURL=contentProcessor.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function elementFromString(value: any
|
|
2
|
-
export function createNodeFromContent(content: any,
|
|
1
|
+
export function elementFromString(value: any): any;
|
|
2
|
+
export function createNodeFromContent(content: any, schema: any, options: any): any;
|
|
3
3
|
//# sourceMappingURL=createNodeFromContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNodeFromContent.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/createNodeFromContent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createNodeFromContent.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/createNodeFromContent.js"],"names":[],"mappings":"AAkBA,mDAKC;AAED,oFA4FC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a document from HTML content
|
|
3
3
|
* @param {string} content - HTML content
|
|
4
|
-
* @param {Object}
|
|
4
|
+
* @param {Object} schema - ProseMirror schema
|
|
5
5
|
* @param {Object} [options={}] - Import options
|
|
6
6
|
* @returns {Object} Document node
|
|
7
7
|
*/
|
|
8
|
-
export function createDocFromHTML(content: string,
|
|
8
|
+
export function createDocFromHTML(content: string, schema: any, options?: any): any;
|
|
9
9
|
//# sourceMappingURL=importHtml.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"importHtml.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/importHtml.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"importHtml.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/importHtml.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,2CALW,MAAM,mCA2BhB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a ProseMirror document from Markdown content
|
|
3
3
|
* @param {string} markdown - Markdown content
|
|
4
|
-
* @param {Object}
|
|
4
|
+
* @param {Object} schema - ProseMirror schema
|
|
5
5
|
* @param {Object} [options={}] - Import options
|
|
6
6
|
* @returns {Object} Document node
|
|
7
7
|
*/
|
|
8
|
-
export function createDocFromMarkdown(markdown: string,
|
|
8
|
+
export function createDocFromMarkdown(markdown: string, schema: any, options?: any): any;
|
|
9
9
|
/**
|
|
10
10
|
* Convert Markdown to HTML with SuperDoc/DOCX compatibility
|
|
11
11
|
* @param {string} markdown - Markdown content
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Set the caret position inside the first textblock of the inserted content.
|
|
3
|
+
* @param {import("prosemirror-state").Transaction} tr
|
|
4
|
+
* @param {number} startBefore
|
|
5
|
+
*/
|
|
6
|
+
export function setCaretInsideFirstTextblockOfInsertedAt(tr: import("prosemirror-state").Transaction, startBefore: number): void;
|
|
1
7
|
export function generateNewListDefinition({ numId, listType, level, start, text, fmt, editor }: {
|
|
2
8
|
numId: number;
|
|
3
9
|
listType: any;
|
|
@@ -7,7 +13,6 @@ export function generateNewListDefinition({ numId, listType, level, start, text,
|
|
|
7
13
|
fmt?: string;
|
|
8
14
|
editor: import("../Editor").Editor;
|
|
9
15
|
}): any;
|
|
10
|
-
export function hasListDefinition(editor: any, numId: any, ilvl: any): boolean;
|
|
11
16
|
export function changeNumIdSameAbstract(numId: number, level: number, listType: import("prosemirror-model").NodeType, editor: import("../Editor").Editor): number;
|
|
12
17
|
export function getBasicNumIdTag(numId: number, abstractId: number): any;
|
|
13
18
|
export function getNewListId(editor: import("../Editor").Editor, grouping?: string): number;
|
|
@@ -18,26 +23,21 @@ export function getListDefinitionDetails({ numId, level, listType, editor, tries
|
|
|
18
23
|
editor: any;
|
|
19
24
|
tries?: number;
|
|
20
25
|
}): any;
|
|
21
|
-
export function getAllListDefinitions(editor: import("../Editor").Editor): Record<string, Record<string, {
|
|
22
|
-
start: string | null;
|
|
23
|
-
numFmt: string | null;
|
|
24
|
-
lvlText: string | null;
|
|
25
|
-
suffix: string | null;
|
|
26
|
-
listNumberingType: string | null;
|
|
27
|
-
customFormat: string | null;
|
|
28
|
-
abstract: any | null;
|
|
29
|
-
abstractId: string | undefined;
|
|
30
|
-
}>>;
|
|
31
26
|
export function removeListDefinitions(listId: string, editor: import("../Editor").Editor): void;
|
|
32
|
-
export function createListItemNodeJSON({ level, numId, contentNode }: {
|
|
27
|
+
export function createListItemNodeJSON({ level, lvlText, numId, numFmt, listLevel, contentNode }: {
|
|
33
28
|
level: number;
|
|
29
|
+
lvlText: string;
|
|
34
30
|
numId: number;
|
|
31
|
+
numFmt: string;
|
|
32
|
+
listLevel: any[];
|
|
35
33
|
contentNode: any;
|
|
36
34
|
}): any;
|
|
37
|
-
export function createSchemaOrderedListNode({ level, numId, editor, contentNode }: {
|
|
35
|
+
export function createSchemaOrderedListNode({ level, numId, listType, editor, listLevel, contentNode }: {
|
|
38
36
|
level: number;
|
|
39
37
|
numId: number;
|
|
38
|
+
listType: import("prosemirror-model").NodeType;
|
|
40
39
|
editor: import("../Editor").Editor;
|
|
40
|
+
listLevel: any[];
|
|
41
41
|
contentNode: any;
|
|
42
42
|
}): any;
|
|
43
43
|
export function createNewList({ listType, tr, editor }: {
|
|
@@ -45,24 +45,51 @@ export function createNewList({ listType, tr, editor }: {
|
|
|
45
45
|
editor: import("../Editor").Editor;
|
|
46
46
|
tr: import("prosemirror-state").Transaction;
|
|
47
47
|
}): boolean;
|
|
48
|
+
export function getCurrentListItem(state: any): import("./findParentNode").ParentNodeInfo | null;
|
|
49
|
+
export function getParentOrderedList(state: any): import("./findParentNode").ParentNodeInfo | null;
|
|
50
|
+
export function setSelectionInsideNewList(tr: any, basePos: number): void;
|
|
48
51
|
export function replaceListWithNode({ tr, from, to, newNode }: {
|
|
49
52
|
tr: any;
|
|
50
53
|
from: number;
|
|
51
54
|
to: number;
|
|
52
55
|
newNode: Node;
|
|
53
56
|
}): void;
|
|
57
|
+
export function convertListItemToParagraph({ state, tr, currentNode, replaceFrom, replaceTo }: {
|
|
58
|
+
state: any;
|
|
59
|
+
tr: import("prosemirror-state").Transaction;
|
|
60
|
+
currentNode: {
|
|
61
|
+
node: import("prosemirror-model").Node;
|
|
62
|
+
pos: number;
|
|
63
|
+
};
|
|
64
|
+
replaceFrom: number;
|
|
65
|
+
replaceTo: number;
|
|
66
|
+
}): boolean;
|
|
67
|
+
export function insertNewList(tr: any, replaceFrom: number, replaceTo: number, listNode: Node, marks?: any[]): boolean;
|
|
68
|
+
export function getListItemStyleDefinitions({ styleId, numId, level, editor, tries }: {
|
|
69
|
+
styleId: string;
|
|
70
|
+
numId: number;
|
|
71
|
+
level: number;
|
|
72
|
+
editor: import("../Editor").Editor;
|
|
73
|
+
tries?: number;
|
|
74
|
+
}): any;
|
|
75
|
+
export function addInlineTextMarks(currentNode: any, filteredMarks: any[]): any[];
|
|
54
76
|
export namespace ListHelpers {
|
|
77
|
+
export { getCurrentListItem };
|
|
78
|
+
export { getParentOrderedList };
|
|
79
|
+
export { setSelectionInsideNewList };
|
|
55
80
|
export { replaceListWithNode };
|
|
81
|
+
export { convertListItemToParagraph };
|
|
82
|
+
export { insertNewList };
|
|
56
83
|
export { getListDefinitionDetails };
|
|
57
|
-
export { getAllListDefinitions };
|
|
58
84
|
export { generateNewListDefinition };
|
|
59
85
|
export { getBasicNumIdTag };
|
|
60
86
|
export { getNewListId };
|
|
61
|
-
export { hasListDefinition };
|
|
62
87
|
export { removeListDefinitions };
|
|
88
|
+
export { getListItemStyleDefinitions };
|
|
63
89
|
export { createNewList };
|
|
64
90
|
export { createSchemaOrderedListNode };
|
|
65
91
|
export { createListItemNodeJSON };
|
|
92
|
+
export { addInlineTextMarks };
|
|
66
93
|
export { changeNumIdSameAbstract };
|
|
67
94
|
export { baseOrderedListDef };
|
|
68
95
|
export { baseBulletList };
|