superdoc 0.31.0-next.1 → 0.31.0-next.11
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-CSZtzevK.cjs → PdfViewer-D9P6oSyP.cjs} +2 -2
- package/dist/chunks/{PdfViewer-DYfpBL2P.es.js → PdfViewer-DrGdcxMi.es.js} +2 -2
- package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
- package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
- package/dist/chunks/{index-BiYSI2c3.es.js → index-8TkBu9O_.es.js} +6 -6
- package/dist/chunks/{index-9j37gBmK.cjs → index-ZC9yiay1.cjs} +6 -6
- package/dist/chunks/{index-0zP7LFOd-CQ5IRTwG.es.js → index-hUtaGvC8-Vf8Tdemp.es.js} +1 -1
- package/dist/chunks/{index-0zP7LFOd-PDPveafF.cjs → index-hUtaGvC8-aunRWvRG.cjs} +1 -1
- package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
- package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
- package/dist/chunks/{super-editor.es-D8j9E-4h.cjs → super-editor.es-4uI_8knu.cjs} +4590 -4487
- package/dist/chunks/{super-editor.es-BzhuUuJx.es.js → super-editor.es-DS6vzo6Y.es.js} +4543 -4440
- package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
- package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
- package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
- package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
- package/dist/images/altText_add.svg +3 -0
- package/dist/images/altText_disclaimer.svg +3 -0
- package/dist/images/altText_done.svg +3 -0
- package/dist/images/altText_spinner.svg +30 -0
- package/dist/images/altText_warning.svg +3 -0
- package/dist/images/annotation-check.svg +11 -0
- package/dist/images/annotation-comment.svg +16 -0
- package/dist/images/annotation-help.svg +26 -0
- package/dist/images/annotation-insert.svg +10 -0
- package/dist/images/annotation-key.svg +11 -0
- package/dist/images/annotation-newparagraph.svg +11 -0
- package/dist/images/annotation-noicon.svg +7 -0
- package/dist/images/annotation-note.svg +42 -0
- package/dist/images/annotation-paperclip.svg +6 -0
- package/dist/images/annotation-paragraph.svg +16 -0
- package/dist/images/annotation-pushpin.svg +7 -0
- package/dist/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/images/cursor-editorFreeText.svg +3 -0
- package/dist/images/cursor-editorInk.svg +4 -0
- package/dist/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/images/editor-toolbar-delete.svg +5 -0
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +3 -0
- package/dist/images/messageBar_warning.svg +3 -0
- package/dist/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +140 -52
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +140 -52
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/style.css +12 -9
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B3mE6WPB.js → converter-DNZlAyEp.js} +1658 -1447
- package/dist/super-editor/chunks/{docx-zipper-FgUekv4g.js → docx-zipper-CGXr6ESB.js} +1 -1
- package/dist/super-editor/chunks/{editor-B0PiO07g.js → editor-BG6XbVA7.js} +2381 -2531
- package/dist/super-editor/chunks/{index-0zP7LFOd.js → index-hUtaGvC8.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Bj9E8rmT.js → toolbar-8Nf_jruN.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 +12 -9
- package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Attribute.d.ts +75 -29
- package/dist/super-editor/super-editor/src/core/Attribute.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/CommandService.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/CommandService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Editor.d.ts +145 -673
- package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts +23 -14
- package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Extension.d.ts +25 -11
- package/dist/super-editor/super-editor/src/core/Extension.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Mark.d.ts +28 -12
- package/dist/super-editor/super-editor/src/core/Mark.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Node.d.ts +87 -25
- package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts +20 -13
- package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +1 -0
- 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/removeNumberingProperties.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/resetAttributes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts +11 -89
- package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts +4 -4
- package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts +3 -2
- package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts +12 -5
- package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/index.d.ts +18 -13
- package/dist/super-editor/super-editor/src/core/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +0 -48
- 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 +7 -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/styles.d.ts +59 -13
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +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/translate-paragraph-node.d.ts +8 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +118 -0
- package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +265 -0
- package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +144 -0
- package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
- package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +73 -0
- package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +6 -2
- package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +8 -2
- package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +9 -1
- package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +18 -3
- package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +9 -1
- package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +4 -1
- package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/index.d.ts +23 -5
- package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
- package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +9 -1
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
- package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +8 -1
- package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +5 -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/ParagraphNodeView.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +4 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -10
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +3 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +9 -3
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
- package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +19 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +3 -12
- package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +3 -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/text-transform/text-transform.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +140 -52
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +5 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +40 -0
- package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +57 -0
- package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +83 -0
- package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +3 -1
- package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +113 -61
- package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
- package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +42 -64
- 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 +4935 -4792
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
- package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
- package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +0 -39
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +0 -31
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH,2EA8CG;AAEH;;;;;GAKG;AAEH;;;;;;;;GAQG;AAEH;;;;GAIG;AACH,2EA2EG;;;;;;;;;;;;;;;;;qBAtK6B,gBAAgB"}
|
|
@@ -40,7 +40,15 @@
|
|
|
40
40
|
* @snippetPath /snippets/extensions/link.mdx
|
|
41
41
|
* @note Non-inclusive mark that doesn't expand when typing at edges
|
|
42
42
|
*/
|
|
43
|
-
export const Link: Mark
|
|
43
|
+
export const Link: Mark<{
|
|
44
|
+
protocols: string[];
|
|
45
|
+
htmlAttributes: {
|
|
46
|
+
target: any;
|
|
47
|
+
rel: string;
|
|
48
|
+
class: any;
|
|
49
|
+
title: any;
|
|
50
|
+
};
|
|
51
|
+
}, Record<string, never>>;
|
|
44
52
|
/**
|
|
45
53
|
* Target frame options
|
|
46
54
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/link/link.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/link/link.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH;;;;;;;;0BAkNG;;;;iCA9PU,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;;;WAkC/C,MAAM;;;;WACN,MAAM;;qBAzCY,gBAAgB"}
|
|
@@ -5,4 +5,5 @@ export function getMarksStyle(attrs: any[]): string;
|
|
|
5
5
|
export function getQuickFormatList(editor: any): any[];
|
|
6
6
|
export function generateLinkedStyleString(linkedStyle: any, basedOnStyle: any, node: any, parent: any, includeSpacing?: boolean): string;
|
|
7
7
|
export function applyLinkedStyleToTransaction(tr: any, editor: any, style: any): boolean;
|
|
8
|
+
export function stepInsertsTextIntoStyledParagraph(tr: any, oldEditorState: any, step: any, stepIndex: any): boolean;
|
|
8
9
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CA0ClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CA0ClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,CAkIlB;AAcM,iFANM,OAAO,CAsGnB;AAGM,qHA2BN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linked-styles.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/linked-styles.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"linked-styles.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/linked-styles.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH,gEAoIG;;;;;;;;QApJW,MAAM;;;;UACN,MAAM;;;;;;;;;;0BAVM,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/plugin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/plugin.js"],"names":[],"mappings":"AASA;;GAEG;AACH,mDAAmE;AAY5D,2DAiGN;0BAxHiC,mBAAmB"}
|
|
@@ -16,7 +16,12 @@
|
|
|
16
16
|
* @sidebarTitle Mention
|
|
17
17
|
* @snippetPath /snippets/extensions/mention.mdx
|
|
18
18
|
*/
|
|
19
|
-
export const Mention: Node
|
|
19
|
+
export const Mention: Node<{
|
|
20
|
+
htmlAttributes: {
|
|
21
|
+
class: string;
|
|
22
|
+
'aria-label': string;
|
|
23
|
+
};
|
|
24
|
+
}, Record<string, never>>;
|
|
20
25
|
/**
|
|
21
26
|
* Configuration options for Mention
|
|
22
27
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH;;;;;0BAkDG;;;;;;;;;qBAxE6B,gBAAgB"}
|
|
@@ -9,7 +9,7 @@ export const NodeResizerKey: PluginKey<any>;
|
|
|
9
9
|
* @sidebarTitle Node Resizer
|
|
10
10
|
* @snippetPath /snippets/extensions/node-resizer.mdx
|
|
11
11
|
*/
|
|
12
|
-
export const NodeResizer: Extension
|
|
12
|
+
export const NodeResizer: Extension<{}, Record<string, never>>;
|
|
13
13
|
/**
|
|
14
14
|
* Configuration options for NodeResizer
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noderesizer.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/noderesizer/noderesizer.js"],"names":[],"mappings":"AAKA;;;;GAIG;AAEH,4CAA4D;AA+U5D;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"noderesizer.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/noderesizer/noderesizer.js"],"names":[],"mappings":"AAKA;;;;GAIG;AAEH,4CAA4D;AA+U5D;;;;GAIG;AACH,+DAaG;;;;;0BA5W+B,mBAAmB;0BAE3B,oBAAoB"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* @snippetPath /snippets/extensions/page-number.mdx
|
|
17
17
|
* @shortcut Mod-Shift-alt-p | addAutoPageNumber | Insert page number
|
|
18
18
|
*/
|
|
19
|
-
export const PageNumber: Node
|
|
19
|
+
export const PageNumber: Node<Record<string, never>, Record<string, never>>;
|
|
20
20
|
/**
|
|
21
21
|
* Configuration options for TotalPageCount
|
|
22
22
|
* @typedef {Object} TotalPageCountOptions
|
|
@@ -35,7 +35,7 @@ export const PageNumber: Node;
|
|
|
35
35
|
* @snippetPath /snippets/extensions/total-page-count.mdx
|
|
36
36
|
* @shortcut Mod-Shift-alt-c | addTotalPageCount | Insert total page count
|
|
37
37
|
*/
|
|
38
|
-
export const TotalPageCount: Node
|
|
38
|
+
export const TotalPageCount: Node<Record<string, never>, Record<string, never>>;
|
|
39
39
|
export class AutoPageNumberNodeView {
|
|
40
40
|
constructor(node: any, getPos: any, decorations: any, editor: any, htmlAttributes?: {});
|
|
41
41
|
node: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,4EAqFG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,gFAoFG;AAuBH;IACE,wFAQC;IAPC,UAAgB;IAChB,YAAoB;IACpB,UAAuB;IACvB,YAAoB;IAGpB,qBAAgD;IAmDlD,2BAMC;;CACF;;;;;;;;;;;;;;;;;qBA9S+B,gBAAgB"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
export const PageReference: Node
|
|
1
|
+
export const PageReference: Node<{
|
|
2
|
+
htmlAttributes: {
|
|
3
|
+
contenteditable: boolean;
|
|
4
|
+
'data-id': string;
|
|
5
|
+
'aria-label': string;
|
|
6
|
+
class: string;
|
|
7
|
+
};
|
|
8
|
+
}, Record<string, never>>;
|
|
2
9
|
import { Node } from '@core/index.js';
|
|
3
10
|
//# sourceMappingURL=page-reference.d.ts.map
|
package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-reference.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-reference/page-reference.js"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"page-reference.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-reference/page-reference.js"],"names":[],"mappings":"AAEA;;;;;;;0BAyCG;qBA3C6B,gBAAgB"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export const Pagination: Extension
|
|
1
|
+
export const Pagination: Extension<Record<string, never>, {
|
|
2
|
+
height: number;
|
|
3
|
+
sectionData: any;
|
|
4
|
+
headerFooterEditors: Map<any, any>;
|
|
5
|
+
}>;
|
|
2
6
|
import { Extension } from '@core/Extension.js';
|
|
3
7
|
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAyBA
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAyBA;;;;GAsQG;0BA7RuB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"AAOA;;;;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,EA0BjC;IAvBC,uCAAgB;IAChB,wCAAoB;IACpB,cAPe,MAAM,CAOD;IACpB,qDAA8B;IAC9B,wCAAoC;IACpC,4BAAkC;IAIlC,0BAAsC;IACtC,4BAAgD;IAelD;;;OAGG;IACH,aAHW,OAAO,mBAAmB,EAAE,IAAI,eAChC,OAAO,kBAAkB,EAAE,UAAU,EAAE,WA2BjD;IAsDD;;OAEG;IACH,yBAFW,cAAc,WA+BxB;IAmBG,wBAA4C;IAe1C,kCAA+C;IA4LrD,gBAEC;;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropcapPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/dropcapPlugin.js"],"names":[],"mappings":"AAIA,wEAwIC;8BA3IyC,kBAAkB;uBAD1B,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,8CAHW,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,mBAAmB,EAAE,MAAM,CA4H9C"}
|
|
@@ -9,15 +9,8 @@
|
|
|
9
9
|
* Attributes for paragraph nodes
|
|
10
10
|
* @typedef {Object} ParagraphAttributes
|
|
11
11
|
* @category Attributes
|
|
12
|
-
* @property {Object} [spacing] - Paragraph spacing configuration
|
|
13
12
|
* @property {Object} [extraAttrs={}] - Additional HTML attributes
|
|
14
|
-
* @property {Array} [marksAttrs] - Text formatting marks
|
|
15
|
-
* @property {Object} [indent] - Indentation settings
|
|
16
|
-
* @property {Object} [borders] - Paragraph borders
|
|
17
13
|
* @property {string} [class] - CSS class name
|
|
18
|
-
* @property {string} [styleId] - Linked style identifier
|
|
19
|
-
* @property {Object} [justify] - Text justification
|
|
20
|
-
* @property {Array} [tabStops] - Tab stop positions
|
|
21
14
|
* @property {string} [sdBlockId] @internal - Internal block tracking ID
|
|
22
15
|
* @property {string} [paraId] @internal - Paragraph identifier
|
|
23
16
|
* @property {string} [textId] @internal - Text identifier
|
|
@@ -28,8 +21,6 @@
|
|
|
28
21
|
* @property {string} [rsidDel] @internal - Deletion revision save ID
|
|
29
22
|
* @property {Object} [attributes] @internal - Internal attributes storage
|
|
30
23
|
* @property {string} [filename] @internal - Associated filename
|
|
31
|
-
* @property {boolean} [keepLines] @internal - Keep lines together
|
|
32
|
-
* @property {boolean} [keepNext] @internal - Keep with next paragraph
|
|
33
24
|
* @property {Object} [paragraphProperties] @internal - Internal paragraph properties
|
|
34
25
|
* @property {Object} [dropcap] @internal - Drop cap configuration
|
|
35
26
|
* @property {string} [pageBreakSource] @internal - Page break source
|
|
@@ -39,7 +30,7 @@
|
|
|
39
30
|
* @sidebarTitle Paragraph
|
|
40
31
|
* @snippetPath /snippets/extensions/paragraph.mdx
|
|
41
32
|
*/
|
|
42
|
-
export const Paragraph: OxmlNode
|
|
33
|
+
export const Paragraph: OxmlNode<Record<string, never>, Record<string, never>>;
|
|
43
34
|
/**
|
|
44
35
|
* Configuration options for Paragraph
|
|
45
36
|
*/
|
|
@@ -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":"AA0BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH,+EA0QG;;;;;;;;;yBAtUiC,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolvedPropertiesCache.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/resolvedPropertiesCache.js"],"names":[],"mappings":"AAKA,+DAEC;AAED,6FAiBC"}
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* @sidebarTitle Placeholder
|
|
10
10
|
* @snippetPath /snippets/extensions/placeholder.mdx
|
|
11
11
|
*/
|
|
12
|
-
export const Placeholder: Extension
|
|
12
|
+
export const Placeholder: Extension<{
|
|
13
|
+
placeholder: string;
|
|
14
|
+
}, Record<string, never>>;
|
|
13
15
|
/**
|
|
14
16
|
* Configuration options for Placeholder
|
|
15
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH;;0BAyCG;;;;;0BAvDuB,oBAAoB"}
|
package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/popover-plugin/popover-plugin.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"popover-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/popover-plugin/popover-plugin.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,iEA2CG;;;;;0BA9DuB,oBAAoB"}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Run node emulates OOXML w:r (run) boundaries while remaining transparent to layout.
|
|
3
3
|
* It carries run-level metadata (runProperties, rsid attributes) without affecting visual style.
|
|
4
4
|
*/
|
|
5
|
-
export const Run: OxmlNode
|
|
5
|
+
export const Run: OxmlNode<Record<string, never>, Record<string, never>>;
|
|
6
6
|
import { OxmlNode } from '@core/index.js';
|
|
7
7
|
//# sourceMappingURL=run.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/run/run.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/run/run.js"],"names":[],"mappings":"AAKA;;;GAGG;AACH,yEAyDG;yBAhEiC,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/search.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/search.js"],"names":[],"mappings":"AAUA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH,6EAuJG;;;;;;;;UAxKW,MAAM;;;;UACN,MAAM;;;;QACN,MAAM;;;;QACN,MAAM;;;;;;0BAdM,oBAAoB"}
|
|
@@ -19,7 +19,12 @@
|
|
|
19
19
|
* @sidebarTitle Shape Container
|
|
20
20
|
* @snippetPath /snippets/extensions/shape-container.mdx
|
|
21
21
|
*/
|
|
22
|
-
export const ShapeContainer: Node
|
|
22
|
+
export const ShapeContainer: Node<{
|
|
23
|
+
htmlAttributes: {
|
|
24
|
+
class: string;
|
|
25
|
+
'aria-label': string;
|
|
26
|
+
};
|
|
27
|
+
}, Record<string, never>>;
|
|
23
28
|
/**
|
|
24
29
|
* Configuration options for ShapeContainer
|
|
25
30
|
*/
|
package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH;;;;;0BAsEG;;;;;;;;;qBA/F6B,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/shape-group.js"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/shape-group.js"],"names":[],"mappings":"AAGA,4EAmFG;qBAtF6B,aAAa"}
|
|
@@ -16,7 +16,12 @@
|
|
|
16
16
|
* @sidebarTitle Shape Textbox
|
|
17
17
|
* @snippetPath /snippets/extensions/shape-textbox.mdx
|
|
18
18
|
*/
|
|
19
|
-
export const ShapeTextbox: Node
|
|
19
|
+
export const ShapeTextbox: Node<{
|
|
20
|
+
htmlAttributes: {
|
|
21
|
+
class: string;
|
|
22
|
+
'aria-label': string;
|
|
23
|
+
};
|
|
24
|
+
}, Record<string, never>>;
|
|
20
25
|
/**
|
|
21
26
|
* Configuration options for ShapeTextbox
|
|
22
27
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH;;;;;0BAiDG;;;;;;;;;qBAvE6B,gBAAgB"}
|
|
@@ -4,7 +4,7 @@ export const SlashMenuPluginKey: PluginKey<any>;
|
|
|
4
4
|
* @sidebarTitle Slash Menu
|
|
5
5
|
* @snippetPath /snippets/extensions/slash-menu.mdx
|
|
6
6
|
*/
|
|
7
|
-
export const SlashMenu: Extension
|
|
7
|
+
export const SlashMenu: Extension<{}, Record<string, never>>;
|
|
8
8
|
/**
|
|
9
9
|
* Configuration options for SlashMenu
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-menu.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/slash-menu/slash-menu.js"],"names":[],"mappings":"AAmCA,gDAA6D;AAE7D;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"slash-menu.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/slash-menu/slash-menu.js"],"names":[],"mappings":"AAmCA,gDAA6D;AAE7D;;;;GAIG;AACH,6DAyKG;;;;;0BAnN+B,mBAAmB;0BAC3B,oBAAoB"}
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
* @snippetPath /snippets/extensions/strike.mdx
|
|
11
11
|
* @shortcut Mod-Shift-s | toggleStrike | Toggle strikethrough formatting
|
|
12
12
|
*/
|
|
13
|
-
export const Strike: Mark
|
|
13
|
+
export const Strike: Mark<{
|
|
14
|
+
htmlAttributes: {};
|
|
15
|
+
}, Record<string, never>>;
|
|
14
16
|
/**
|
|
15
17
|
* Configuration options for Strike
|
|
16
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/strike/strike.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AACH
|
|
1
|
+
{"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/strike/strike.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AACH;;0BAoFG;;;;;qBApG6B,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
export const DocumentPartObject: Node
|
|
1
|
+
export const DocumentPartObject: Node<{
|
|
2
|
+
htmlAttributes: {
|
|
3
|
+
class: string;
|
|
4
|
+
'aria-label': string;
|
|
5
|
+
};
|
|
6
|
+
}, Record<string, never>>;
|
|
2
7
|
import { Node } from '@core/index.js';
|
|
3
8
|
//# sourceMappingURL=document-part-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-part-object.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-part-object.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"document-part-object.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-part-object.js"],"names":[],"mappings":"AAGA;;;;;0BA8CG;qBAhD6B,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* @sidebarTitle Document Section
|
|
40
40
|
* @snippetPath /snippets/extensions/document-section.mdx
|
|
41
41
|
*/
|
|
42
|
-
export const DocumentSection: Node
|
|
42
|
+
export const DocumentSection: Node<Record<string, never>, Record<string, never>>;
|
|
43
43
|
/**
|
|
44
44
|
* Document section creation options
|
|
45
45
|
*/
|
package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-section.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-section.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"document-section.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-section.js"],"names":[],"mappings":"AAUA;;;;;;;;;;GAUG;AAEH;;;;;;;GAOG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,iFA4UG;;;;;;;;SAtXW,MAAM;;;;YACN,MAAM;;;;kBACN,MAAM;;;;kBACN,MAAM;;;;eACN,OAAO;;;;WACP,MAAM;;;;;;;;;;;;;QAON,MAAM;;;;WACN,MAAM;;;;;;;;YAEN,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;qBA1BhB,gBAAgB"}
|
|
@@ -20,7 +20,12 @@ export const structuredContentInnerClass: "sd-structured-content-block__content"
|
|
|
20
20
|
* const attrs = editor.getAttributes('structuredContentBlock')
|
|
21
21
|
* console.log(attrs.id, attrs.alias)
|
|
22
22
|
*/
|
|
23
|
-
export const StructuredContentBlock: Node
|
|
23
|
+
export const StructuredContentBlock: Node<{
|
|
24
|
+
htmlAttributes: {
|
|
25
|
+
class: string;
|
|
26
|
+
'aria-label': string;
|
|
27
|
+
};
|
|
28
|
+
}, Record<string, never>>;
|
|
24
29
|
/**
|
|
25
30
|
* Configuration options for StructuredContentBlock
|
|
26
31
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-block.js"],"names":[],"mappings":"AAGA,qCAAsC,6BAA6B,CAAC;AACpE,0CAA2C,sCAAsC,CAAC;AAElF;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH
|
|
1
|
+
{"version":3,"file":"structured-content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-block.js"],"names":[],"mappings":"AAGA,qCAAsC,6BAA6B,CAAC;AACpE,0CAA2C,sCAAsC,CAAC;AAElF;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;;0BA4EG;;;;;;;;;qBAxG6B,aAAa"}
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* @property {string} [text] - Text content to insert
|
|
4
4
|
* @property {Object} [json] - ProseMirror JSON
|
|
5
5
|
* @property {Object} [attrs] - Node attributes
|
|
6
|
+
* @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
|
|
6
7
|
*/
|
|
7
8
|
/**
|
|
8
9
|
* @typedef {Object} StructuredContentBlockInsert
|
|
9
10
|
* @property {string} [html] - HTML content to insert
|
|
10
11
|
* @property {Object} [json] - ProseMirror JSON
|
|
11
12
|
* @property {Object} [attrs] - Node attributes
|
|
13
|
+
* @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
|
|
12
14
|
*/
|
|
13
15
|
/**
|
|
14
16
|
* @typedef {Object} StructuredContentUpdate
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
* @property {Array<string[]>|Array<string>} rows - Cell values to append
|
|
25
27
|
* @property {boolean} [copyRowStyle=false] - Clone the last row's styling when true
|
|
26
28
|
*/
|
|
27
|
-
export const StructuredContentCommands: Extension
|
|
29
|
+
export const StructuredContentCommands: Extension<Record<string, never>, Record<string, never>>;
|
|
28
30
|
export type StructuredContentInlineInsert = {
|
|
29
31
|
/**
|
|
30
32
|
* - Text content to insert
|
|
@@ -37,7 +39,9 @@ export type StructuredContentInlineInsert = {
|
|
|
37
39
|
/**
|
|
38
40
|
* - Node attributes
|
|
39
41
|
*/
|
|
40
|
-
attrs?:
|
|
42
|
+
attrs?: {
|
|
43
|
+
group?: string;
|
|
44
|
+
};
|
|
41
45
|
};
|
|
42
46
|
export type StructuredContentBlockInsert = {
|
|
43
47
|
/**
|
|
@@ -51,7 +55,9 @@ export type StructuredContentBlockInsert = {
|
|
|
51
55
|
/**
|
|
52
56
|
* - Node attributes
|
|
53
57
|
*/
|
|
54
|
-
attrs?:
|
|
58
|
+
attrs?: {
|
|
59
|
+
group?: string;
|
|
60
|
+
};
|
|
55
61
|
};
|
|
56
62
|
export type StructuredContentUpdate = {
|
|
57
63
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,gGA2cG;;;;;WAzeW,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BAxCK,aAAa"}
|
package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts
CHANGED
|
@@ -25,7 +25,12 @@ export const structuredContentInnerClass: "sd-structured-content__content";
|
|
|
25
25
|
* @sidebarTitle Structured Content
|
|
26
26
|
* @snippetPath /snippets/extensions/structured-content.mdx
|
|
27
27
|
*/
|
|
28
|
-
export const StructuredContent: Node
|
|
28
|
+
export const StructuredContent: Node<{
|
|
29
|
+
htmlAttributes: {
|
|
30
|
+
class: string;
|
|
31
|
+
'aria-label': string;
|
|
32
|
+
};
|
|
33
|
+
}, Record<string, never>>;
|
|
29
34
|
/**
|
|
30
35
|
* Configuration options for StructuredContent
|
|
31
36
|
*/
|
package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,qCAAsC,uBAAuB,CAAC;AAC9D,0CAA2C,gCAAgC,CAAC;AAE5E;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,qCAAsC,uBAAuB,CAAC;AAC9D,0CAA2C,gCAAgC,CAAC;AAE5E;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;GAIG;AACH;;;;;0BA8EG;;;;;;;;;qBA/G6B,aAAa"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get structured content nodes by group identifier.
|
|
3
|
+
* Groups are JSON-encoded in the tag attribute as { "group": "value" }.
|
|
4
|
+
* @category Helper
|
|
5
|
+
* @param {string | string[]} groupOrGroups - Single group or array of groups to find
|
|
6
|
+
* @param {import('prosemirror-state').EditorState} state - Editor state
|
|
7
|
+
* @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} Matching structured content nodes
|
|
8
|
+
* @example
|
|
9
|
+
* // Find all fields with group "customer-info"
|
|
10
|
+
* const fields = editor.helpers.getStructuredContentByGroup('customer-info', editor.state)
|
|
11
|
+
*
|
|
12
|
+
* // Find fields with multiple groups
|
|
13
|
+
* const fields = editor.helpers.getStructuredContentByGroup(['customer-info', 'terms'], editor.state)
|
|
14
|
+
*/
|
|
15
|
+
export function getStructuredContentByGroup(groupOrGroups: string | string[], state: import("prosemirror-state").EditorState): Array<{
|
|
16
|
+
node: import("prosemirror-model").Node;
|
|
17
|
+
pos: number;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=getStructuredContentByGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStructuredContentByGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,2DAVW,MAAM,GAAG,MAAM,EAAE,SACjB,OAAO,mBAAmB,EAAE,WAAW,GACrC,KAAK,CAAC;IAAE,IAAI,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CA0B1E"}
|
|
@@ -2,5 +2,7 @@ export * from "./getStructuredContentTags";
|
|
|
2
2
|
export * from "./getStructuredContentInlineTags";
|
|
3
3
|
export * from "./getStructuredContentBlockTags";
|
|
4
4
|
export * from "./getStructuredContentTagsById";
|
|
5
|
+
export * from "./getStructuredContentByGroup";
|
|
5
6
|
export * from "./getStructuredContentTablesById";
|
|
7
|
+
export * from "./tagUtils";
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utilities for handling structured content tags with JSON encoding.
|
|
3
|
+
* Supports extensible tag objects while maintaining backward compatibility with plain strings.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Creates a JSON-encoded tag object.
|
|
7
|
+
* @param {Object} tagData - Tag properties
|
|
8
|
+
* @param {string} [tagData.group] - Group identifier for linking multiple fields
|
|
9
|
+
* @param {...*} [tagData.rest] - Additional extensible properties
|
|
10
|
+
* @returns {string} JSON-encoded tag string
|
|
11
|
+
* @example
|
|
12
|
+
* createTagObject({ group: 'customer-info' })
|
|
13
|
+
* // => '{"group":"customer-info"}'
|
|
14
|
+
*
|
|
15
|
+
* createTagObject({ group: 'terms', style: 'header' })
|
|
16
|
+
* // => '{"group":"terms","style":"header"}'
|
|
17
|
+
*/
|
|
18
|
+
export function createTagObject(tagData: {
|
|
19
|
+
group?: string;
|
|
20
|
+
rest?: any[];
|
|
21
|
+
}): string;
|
|
22
|
+
/**
|
|
23
|
+
* Parses a tag value into an object.
|
|
24
|
+
* Returns null for plain string tags or invalid JSON.
|
|
25
|
+
* @param {string} tag - Tag value to parse
|
|
26
|
+
* @returns {Object|null} Parsed tag object or null
|
|
27
|
+
* @example
|
|
28
|
+
* parseTagObject('{"group":"customer-info"}')
|
|
29
|
+
* // => { group: 'customer-info' }
|
|
30
|
+
*
|
|
31
|
+
* parseTagObject('inline_text_sdt')
|
|
32
|
+
* // => null (plain string tag)
|
|
33
|
+
*/
|
|
34
|
+
export function parseTagObject(tag: string): any | null;
|
|
35
|
+
/**
|
|
36
|
+
* Checks if a tag has a group property.
|
|
37
|
+
* @param {string} tag - Tag value to check
|
|
38
|
+
* @returns {boolean} True if tag has a group property
|
|
39
|
+
* @example
|
|
40
|
+
* hasGroup('{"group":"customer-info"}') // => true
|
|
41
|
+
* hasGroup('inline_text_sdt') // => false
|
|
42
|
+
*/
|
|
43
|
+
export function hasGroup(tag: string): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Extracts the group value from a tag.
|
|
46
|
+
* @param {string} tag - Tag value
|
|
47
|
+
* @returns {string|null} Group value or null if not found
|
|
48
|
+
* @example
|
|
49
|
+
* getGroup('{"group":"customer-info"}') // => 'customer-info'
|
|
50
|
+
* getGroup('inline_text_sdt') // => null
|
|
51
|
+
*/
|
|
52
|
+
export function getGroup(tag: string): string | null;
|
|
53
|
+
//# sourceMappingURL=tagUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tagUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/tagUtils.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,yCAVG;IAAyB,KAAK,GAAtB,MAAM;IACS,IAAI,GAAhB,GAAC,EAAA;CACZ,GAAU,MAAM,CAalB;AAED;;;;;;;;;;;GAWG;AACH,oCATW,MAAM,GACJ,MAAO,IAAI,CAkBvB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,OAAO,CAQnB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,MAAM,GAAC,IAAI,CAQvB"}
|
|
@@ -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":"AAqCA,4JAkGC;AAED,+EAaC;AAED;;;;;;;;;EA2BC;AAED;;;EAyBC;AAED,sEAOC;AAED,0FAcC;AAED,8GAiBC;AAED,iIAUC;AAED,yEAgBC;AAED,kEAmBC;AAED,4FA+BC;AAED,+EAYC;AAED,wDAUC;AApWD,iCAAkC,EAAE,CAAC;AACrC,gCAAiC,GAAG,CAAC;AAE9B,qGA4BN"}
|