superdoc 0.31.0-next.1 → 0.31.0-next.3
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-DoOKSkNf.cjs} +1 -1
- package/dist/chunks/{PdfViewer-DYfpBL2P.es.js → PdfViewer-UMfEMyPR.es.js} +1 -1
- package/dist/chunks/{index-0zP7LFOd-CQ5IRTwG.es.js → index-B74saKaW-CeHVjvs8.es.js} +1 -1
- package/dist/chunks/{index-0zP7LFOd-PDPveafF.cjs → index-B74saKaW-nw0M-3t9.cjs} +1 -1
- package/dist/chunks/{index-9j37gBmK.cjs → index-CjrYy0l4.cjs} +3 -3
- package/dist/chunks/{index-BiYSI2c3.es.js → index-D78pvKjo.es.js} +3 -3
- package/dist/chunks/{super-editor.es-BzhuUuJx.es.js → super-editor.es-CQFVPho1.es.js} +199 -255
- package/dist/chunks/{super-editor.es-D8j9E-4h.cjs → super-editor.es-DTqtLZgT.cjs} +199 -255
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +132 -52
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +132 -52
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-B3mE6WPB.js → converter-BdxQSBuI.js} +10 -7
- package/dist/super-editor/chunks/{docx-zipper-FgUekv4g.js → docx-zipper-CeENQy4K.js} +1 -1
- package/dist/super-editor/chunks/{editor-B0PiO07g.js → editor-fHPBoGEW.js} +203 -326
- package/dist/super-editor/chunks/{index-0zP7LFOd.js → index-B74saKaW.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Bj9E8rmT.js → toolbar-DVn2P_6q.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/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 +136 -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/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/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/super-converter/v2/importer/markImporter.d.ts +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/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/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.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 +22 -2
- 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/line-height/line-height.d.ts +6 -1
- package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +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/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/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/paragraph.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +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 +1 -1
- 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/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/table.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +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 +4 -1
- package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +7 -1
- package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +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 +132 -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/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 +6 -6
- 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 +201 -257
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A map of plugin names to their helper API objects.
|
|
3
|
+
* Each plugin defines its own helper methods.
|
|
4
|
+
*
|
|
5
|
+
* Example:
|
|
6
|
+
* editor.helpers.linkedStyles.getStyles()
|
|
7
|
+
*/
|
|
8
|
+
export type EditorHelpers = Record<string, Record<string, (...args: unknown[]) => unknown>>;
|
|
9
|
+
/**
|
|
10
|
+
* Export format options
|
|
11
|
+
*/
|
|
12
|
+
export type ExportFormat = 'docx' | 'json' | 'html' | 'markdown';
|
|
13
|
+
/**
|
|
14
|
+
* Editor node options
|
|
15
|
+
*/
|
|
16
|
+
export interface EditorNodeOptions {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Editor node storage
|
|
21
|
+
*/
|
|
22
|
+
export interface EditorNodeStorage {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Extension storage - stores data for each extension by extension name
|
|
27
|
+
*/
|
|
28
|
+
export type ExtensionStorage = Record<string, unknown>;
|
|
29
|
+
/**
|
|
30
|
+
* ProseMirror JSON document structure
|
|
31
|
+
*/
|
|
32
|
+
export interface ProseMirrorJSON {
|
|
33
|
+
type: string;
|
|
34
|
+
content?: ProseMirrorJSON[];
|
|
35
|
+
attrs?: Record<string, unknown>;
|
|
36
|
+
marks?: Array<{
|
|
37
|
+
type: string;
|
|
38
|
+
attrs?: Record<string, unknown>;
|
|
39
|
+
}>;
|
|
40
|
+
text?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Page styles configuration
|
|
44
|
+
*/
|
|
45
|
+
export interface PageStyles {
|
|
46
|
+
width?: string | number;
|
|
47
|
+
height?: string | number;
|
|
48
|
+
marginTop?: string | number;
|
|
49
|
+
marginBottom?: string | number;
|
|
50
|
+
marginLeft?: string | number;
|
|
51
|
+
marginRight?: string | number;
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Telemetry data configuration
|
|
56
|
+
*/
|
|
57
|
+
export interface TelemetryData {
|
|
58
|
+
trackUsage?: (event: string, data?: Record<string, unknown>) => void;
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Toolbar configuration
|
|
63
|
+
*/
|
|
64
|
+
export interface Toolbar {
|
|
65
|
+
setActiveEditor?: (editor: any) => void;
|
|
66
|
+
[key: string]: unknown;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Re-export commonly used types
|
|
70
|
+
*/
|
|
71
|
+
export type { OxmlNodeConfig, OxmlNode, } from '../OxmlNode.js';
|
|
72
|
+
export type { User, FieldValue, DocxNode, DocxFileEntry, EditorOptions, PermissionParams, EditorExtension, CollaborationProvider, } from './EditorConfig.js';
|
|
73
|
+
//# sourceMappingURL=EditorTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorTypes.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/EditorTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC;AAE5F;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC,CAAC;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACrE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,YAAY,EACV,cAAc,EACd,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,qBAAqB,GACtB,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-types.d.ts","sourceRoot":"","sources":["../../../../../../src/core/types/__tests__/command-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type representing a value that can be either a direct value or a function that returns that value.
|
|
3
|
+
*/
|
|
4
|
+
export type MaybeGetter<T, Args extends any[] = []> = T | ((...args: Args) => T);
|
|
1
5
|
/**
|
|
2
6
|
* If "value" is a function, then call it and return result.
|
|
3
7
|
* Otherwise it is returned directly.
|
|
4
|
-
* @param value Any value or function.
|
|
8
|
+
* @param value Any value or function that returns a value.
|
|
5
9
|
* @param context Context to bind to function (Optional).
|
|
6
10
|
* @param props Props for function (Optional).
|
|
7
11
|
*/
|
|
8
|
-
export function callOrGet(value:
|
|
12
|
+
export declare function callOrGet<T, Args extends any[] = []>(value: MaybeGetter<T, Args>, context?: any, ...props: Args): T;
|
|
9
13
|
//# sourceMappingURL=callOrGet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callOrGet.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/callOrGet.
|
|
1
|
+
{"version":3,"file":"callOrGet.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/callOrGet.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,IAAI,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC;AAEjF;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,SAAS,GAAG,EAAE,GAAG,EAAE,EAClD,KAAK,EAAE,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,EAC3B,OAAO,GAAE,GAAU,EACnB,GAAG,KAAK,EAAE,IAAI,GACb,CAAC,CAQH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isIOS.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/isIOS.js"],"names":[],"mappings":"AAAO,
|
|
1
|
+
{"version":3,"file":"isIOS.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/isIOS.js"],"names":[],"mappings":"AAAO,iCAKN"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
export const AiMark: Mark
|
|
2
|
-
|
|
1
|
+
export const AiMark: Mark<{
|
|
2
|
+
htmlAttributes: {
|
|
3
|
+
class: string;
|
|
4
|
+
};
|
|
5
|
+
}, Record<string, never>>;
|
|
6
|
+
export const AiAnimationMark: Mark<{
|
|
7
|
+
htmlAttributes: {};
|
|
8
|
+
}, Record<string, never>>;
|
|
3
9
|
import { Mark } from '@core/index.js';
|
|
4
10
|
//# sourceMappingURL=ai-marks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-marks.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"ai-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-marks.js"],"names":[],"mappings":"AAGA;;;;0BA6BG;AAEH;;0BAuCG;qBAzE6B,gBAAgB"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
export const AiLoaderNode: Node
|
|
1
|
+
export const AiLoaderNode: Node<{
|
|
2
|
+
htmlAttributes: {
|
|
3
|
+
class: string;
|
|
4
|
+
contentEditable: string;
|
|
5
|
+
'aria-label': string;
|
|
6
|
+
};
|
|
7
|
+
}, Record<string, never>>;
|
|
2
8
|
import { Node } from '@core/index.js';
|
|
3
9
|
//# sourceMappingURL=ai-nodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA;;;;;;0BAyCG;qBA7C6B,gBAAgB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const AiPluginKey: PluginKey<any>;
|
|
2
|
-
export const AiPlugin: Extension
|
|
2
|
+
export const AiPlugin: Extension<Record<string, never>, Record<string, never>>;
|
|
3
3
|
import { PluginKey } from 'prosemirror-state';
|
|
4
4
|
import { Extension } from '@core/Extension.js';
|
|
5
5
|
//# sourceMappingURL=ai-plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-plugin.js"],"names":[],"mappings":"AAKA,yCAA+C;AAE/C
|
|
1
|
+
{"version":3,"file":"ai-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-plugin.js"],"names":[],"mappings":"AAKA,yCAA+C;AAE/C,+EAwMG;0BA/M+B,mBAAmB;0BAC3B,oBAAoB"}
|
|
@@ -25,7 +25,7 @@ export const BlockNodePluginKey: PluginKey<any>;
|
|
|
25
25
|
* @sidebarTitle Block Node
|
|
26
26
|
* @snippetPath /snippets/extensions/block-node.mdx
|
|
27
27
|
*/
|
|
28
|
-
export const BlockNode: Extension
|
|
28
|
+
export const BlockNode: Extension<Record<string, never>, Record<string, never>>;
|
|
29
29
|
export function nodeAllowsSdBlockIdAttr(node: ProseMirrorNode): boolean;
|
|
30
30
|
export function nodeNeedsSdBlockId(node: ProseMirrorNode): boolean;
|
|
31
31
|
export function checkForNewBlockNodesInTrs(transactions: Transaction[]): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-node.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/block-node/block-node.js"],"names":[],"mappings":"AAUA,gDAAmE;AAEnE;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"block-node.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/block-node/block-node.js"],"names":[],"mappings":"AAUA,gDAAmE;AAEnE;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,gFAoUG;AAOI,8CAHI,eAAe,GACb,OAAO,CAInB;AAOM,yCAHI,eAAe,GACb,OAAO,CAKnB;AAQM,yDAHI,WAAW,EAAE,GACX,OAAO,CAUnB;8BApYY,OAAO,mBAAmB,EAAE,IAAI;0BAChC,OAAO,mBAAmB,EAAE,WAAW;;;;;;;;UAMtC,eAAe;;;;SACf,MAAM;;;;;;;;;;0BAjBc,mBAAmB;0BAH3B,oBAAoB"}
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
* @shortcut Mod-b | toggleBold | Toggle bold formatting
|
|
18
18
|
* @shortcut Mod-B | toggleBold | Toggle bold formatting (uppercase)
|
|
19
19
|
*/
|
|
20
|
-
export const Bold: Mark
|
|
20
|
+
export const Bold: Mark<{
|
|
21
|
+
htmlAttributes: {};
|
|
22
|
+
}, Record<string, never>>;
|
|
21
23
|
/**
|
|
22
24
|
* Configuration options for Bold
|
|
23
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bold.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bold/bold.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AACH
|
|
1
|
+
{"version":3,"file":"bold.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bold/bold.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AACH;;0BAkFG;;;;;;;;;qBA1G6B,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookmark-end.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-end.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bookmark-end.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-end.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,6EAmFG;qBAzF6B,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookmark-start.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-start.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bookmark-start.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-start.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH,+EA4GG;;;;;;;;UArHW,MAAM;;;;SACN,MAAM;;qBANY,gBAAgB"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export const CollaborationPluginKey: PluginKey<any>;
|
|
2
|
-
export const Collaboration: Extension
|
|
2
|
+
export const Collaboration: Extension<{
|
|
3
|
+
ydoc: any;
|
|
4
|
+
field: string;
|
|
5
|
+
fragment: any;
|
|
6
|
+
isReady: boolean;
|
|
7
|
+
}, Record<string, never>>;
|
|
3
8
|
export function createSyncPlugin(ydoc: any, editor: any): any[];
|
|
4
9
|
export function initializeMetaMap(ydoc: any, editor: any): void;
|
|
5
10
|
export function generateCollaborationData(editor: any): Promise<Uint8Array<ArrayBufferLike>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration/collaboration.js"],"names":[],"mappings":"AAMA,oDAAqE;AAErE
|
|
1
|
+
{"version":3,"file":"collaboration.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration/collaboration.js"],"names":[],"mappings":"AAMA,oDAAqE;AAErE;;;;;0BAiDG;AAEI,gEAQN;AAEM,gEASN;AAwDM,6FAKN;0BA1IyB,mBAAmB;0BADnB,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
export const CollaborationCursor: Extension
|
|
1
|
+
export const CollaborationCursor: Extension<{
|
|
2
|
+
provider: any;
|
|
3
|
+
user: {
|
|
4
|
+
name: any;
|
|
5
|
+
color: any;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
users: any[];
|
|
9
|
+
}>;
|
|
2
10
|
import { Extension } from '@core/index.js';
|
|
3
11
|
//# sourceMappingURL=collaboration-cursor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-cursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration-cursor/collaboration-cursor.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"collaboration-cursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration-cursor/collaboration-cursor.js"],"names":[],"mappings":"AAGA;;;;;;;;GA2BG;0BA9BuB,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/color/color.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/color/color.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;;0BAkEG;;;;yBA/FU,MAAM;;;;;;;;;0BAJO,gBAAgB"}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
export const CommentRangeStart: Node
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export const CommentRangeStart: Node<{
|
|
2
|
+
htmlAttributes: {
|
|
3
|
+
contentEditable: string;
|
|
4
|
+
'aria-label': string;
|
|
5
|
+
};
|
|
6
|
+
}, Record<string, never>>;
|
|
7
|
+
export const CommentRangeEnd: Node<{
|
|
8
|
+
htmlAttributes: {
|
|
9
|
+
contentEditable: string;
|
|
10
|
+
'aria-label': string;
|
|
11
|
+
};
|
|
12
|
+
}, Record<string, never>>;
|
|
13
|
+
export const CommentReference: Node<{
|
|
14
|
+
htmlAttributes: {
|
|
15
|
+
contentEditable: string;
|
|
16
|
+
'aria-label': string;
|
|
17
|
+
};
|
|
18
|
+
}, Record<string, never>>;
|
|
4
19
|
import { Node } from '@core/index.js';
|
|
5
20
|
//# sourceMappingURL=comment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA;;;;;0BAyCG;AAEH;;;;;0BAqCG;AAEH;;;;;0BAqCG;qBAzH6B,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-marks.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"comments-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-marks.js"],"names":[],"mappings":"AAGA;;;;0BA+BG;qBAlC6B,gBAAgB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const CommentsPluginKey: PluginKey<any>;
|
|
2
|
-
export const CommentsPlugin: Extension
|
|
2
|
+
export const CommentsPlugin: Extension<Record<string, never>, Record<string, never>>;
|
|
3
3
|
export namespace __test__ {
|
|
4
4
|
export { getActiveCommentId };
|
|
5
5
|
export { findTrackedMark };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-plugin.js"],"names":[],"mappings":"AAiBA,+CAA2D;AAE3D,
|
|
1
|
+
{"version":3,"file":"comments-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-plugin.js"],"names":[],"mappings":"AAiBA,+CAA2D;AAE3D,qFAwXG;;;;;;;;;0BA3Y8C,mBAAmB;0BAC1C,oBAAoB;AAya9C;;;;;;;GAOG;AACH,yDAHW,SAAS,GACP,SAAS,IAAI,CAyEzB;AAED;;;;;cA4BC;AAED,oIAuDC;AAED;;;;;;;;EA6BC;AAED;;;;;;;;;;;;;;;;;;;;;;EAyDC;AAED;;;EAkBC"}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
* @sidebarTitle Content Block
|
|
41
41
|
* @snippetPath /snippets/extensions/content-block.mdx
|
|
42
42
|
*/
|
|
43
|
-
export const ContentBlock: Node
|
|
43
|
+
export const ContentBlock: Node<Record<string, never>, Record<string, never>>;
|
|
44
44
|
/**
|
|
45
45
|
* Size configuration for content blocks
|
|
46
46
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/content-block/content-block.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/content-block/content-block.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AACH,8EAoIG;;;;;;;;UA/KW,MAAM;;;;WACN,MAAM;;;;YACN,MAAM,GAAC,MAAM;;;;aACb,MAAM,GAAC,MAAM;;;;;;;;;qBAMb,OAAO;;;;WACP,gBAAgB;;;;iBAChB,MAAM;;;;;;;;;;qBAhBY,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export const CustomSelectionPluginKey: PluginKey<any>;
|
|
|
28
28
|
* @sidebarTitle Custom Selection
|
|
29
29
|
* @snippetPath /snippets/extensions/custom-selection.mdx
|
|
30
30
|
*/
|
|
31
|
-
export const CustomSelection: Extension
|
|
31
|
+
export const CustomSelection: Extension<Record<string, never>, Record<string, never>>;
|
|
32
32
|
/**
|
|
33
33
|
* Selection state
|
|
34
34
|
*/
|
package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-selection.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/custom-selection/custom-selection.js"],"names":[],"mappings":"AAmBA;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AAEH;;;GAGG;AACH,sDAAyE;AA4EzE;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"custom-selection.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/custom-selection/custom-selection.js"],"names":[],"mappings":"AAmBA;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AAEH;;;GAGG;AACH,sDAAyE;AA4EzE;;;;GAIG;AACH,sFAsRG;;;;;;;;aA9XW,OAAO;;;;wBACP,MAAO,IAAI;;;;yBACX,OAAO;;;;oBACP,OAAO;;;;;;0BAtB4B,mBAAmB;0BAD1C,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/document/document.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/document/document.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,0EAiEG;;;;;;;;;qBA5FkB,gBAAgB"}
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
* @sidebarTitle Drop Cursor
|
|
26
26
|
* @snippetPath /snippets/extensions/dropcursor.mdx
|
|
27
27
|
*/
|
|
28
|
-
export const DropCursor: Extension
|
|
28
|
+
export const DropCursor: Extension<{
|
|
29
|
+
color: string;
|
|
30
|
+
width: number;
|
|
31
|
+
class: any;
|
|
32
|
+
}, Record<string, never>>;
|
|
29
33
|
/**
|
|
30
34
|
* Configuration options for DropCursor
|
|
31
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/dropcursor/dropcursor.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"dropcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/dropcursor/dropcursor.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;GAIG;AACH;;;;0BAcG;;;;;0BA7CuB,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const fieldAnnotationName: "fieldAnnotation";
|
|
2
2
|
export const annotationClass: "annotation";
|
|
3
3
|
export const annotationContentClass: "annotation-content";
|
|
4
|
-
export const FieldAnnotation: Node
|
|
4
|
+
export const FieldAnnotation: Node<Record<string, never>, Record<string, never>>;
|
|
5
5
|
import { Node } from '@core/index.js';
|
|
6
6
|
//# sourceMappingURL=field-annotation.d.ts.map
|
package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAeA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAeA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,iFA8mCG;qBAjoC6B,gBAAgB"}
|
|
@@ -29,7 +29,9 @@
|
|
|
29
29
|
* @sidebarTitle Font Family
|
|
30
30
|
* @snippetPath /snippets/extensions/font-family.mdx
|
|
31
31
|
*/
|
|
32
|
-
export const FontFamily: Extension
|
|
32
|
+
export const FontFamily: Extension<{
|
|
33
|
+
types: string[];
|
|
34
|
+
}, Record<string, never>>;
|
|
33
35
|
/**
|
|
34
36
|
* Font family value
|
|
35
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font-family.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-family/font-family.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"font-family.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-family/font-family.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH;;0BA8DG;;;;8BA9FU,MAAM;;;;;;;;;0BAJO,gBAAgB"}
|
|
@@ -36,7 +36,15 @@
|
|
|
36
36
|
* @sidebarTitle Font Size
|
|
37
37
|
* @snippetPath /snippets/extensions/font-size.mdx
|
|
38
38
|
*/
|
|
39
|
-
export const FontSize: Extension
|
|
39
|
+
export const FontSize: Extension<{
|
|
40
|
+
types: string[];
|
|
41
|
+
defaults: {
|
|
42
|
+
value: number;
|
|
43
|
+
unit: string;
|
|
44
|
+
min: number;
|
|
45
|
+
max: number;
|
|
46
|
+
};
|
|
47
|
+
}, Record<string, never>>;
|
|
40
48
|
/**
|
|
41
49
|
* Font size configuration
|
|
42
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font-size.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-size/font-size.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"font-size.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-size/font-size.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH;;;;;;;;0BAuFG;;;;;;;;YAvHW,MAAM;;;;WACN,MAAM;;;;UACN,MAAM;;;;UACN,MAAM;;;;;4BAKP,MAAM,GAAC,MAAM;;;;;;;;;0BAtBA,gBAAgB"}
|
|
@@ -15,7 +15,13 @@
|
|
|
15
15
|
* @snippetPath /snippets/extensions/format-commands.mdx
|
|
16
16
|
* @shortcut Mod-Alt-c | clearFormat | Clear all formatting
|
|
17
17
|
*/
|
|
18
|
-
export const FormatCommands: Extension
|
|
18
|
+
export const FormatCommands: Extension<{}, {
|
|
19
|
+
/**
|
|
20
|
+
* @private
|
|
21
|
+
* @type {StoredStyle[]|null}
|
|
22
|
+
*/
|
|
23
|
+
storedStyle: StoredStyle[] | null;
|
|
24
|
+
}>;
|
|
19
25
|
/**
|
|
20
26
|
* Stored format style
|
|
21
27
|
*/
|
package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/format-commands/format-commands.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"format-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/format-commands/format-commands.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH;IASM;;;OAGG;iBADO,WAAW,EAAE,GAAC,IAAI;GA4H/B;;;;;;;;UAvJW,MAAM;;;;;;;;;;0BAPM,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gapcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/gapcursor/gapcursor.js"],"names":[],"mappings":"AAMA;;;;GAIG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"gapcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/gapcursor/gapcursor.js"],"names":[],"mappings":"AAMA;;;;GAIG;AAEH;;;;GAIG;AACH,6DAgCG;;;;;0BA/CuB,gBAAgB"}
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
* @shortcut Mod-Alt-5 | toggleHeading | Toggle heading level 5
|
|
22
22
|
* @shortcut Mod-Alt-6 | toggleHeading | Toggle heading level 6
|
|
23
23
|
*/
|
|
24
|
-
export const Heading: Extension
|
|
24
|
+
export const Heading: Extension<{
|
|
25
|
+
levels: number[];
|
|
26
|
+
}, Record<string, never>>;
|
|
25
27
|
/**
|
|
26
28
|
* Heading attributes
|
|
27
29
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AACH
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AACH;;0BAyDG;;;;;;;;;0BApFuB,gBAAgB"}
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
* @snippetPath /snippets/extensions/highlight.mdx
|
|
17
17
|
* @shortcut Mod-Shift-h | toggleHighlight | Toggle highlighted formatting
|
|
18
18
|
*/
|
|
19
|
-
export const Highlight: Mark
|
|
19
|
+
export const Highlight: Mark<{
|
|
20
|
+
htmlAttributes: {};
|
|
21
|
+
}, Record<string, never>>;
|
|
20
22
|
/**
|
|
21
23
|
* Configuration options for Highlight
|
|
22
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/highlight/highlight.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/highlight/highlight.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH;;0BA+EG;;;;;;;;;qBArG6B,gBAAgB"}
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
* @shortcut Mod-Shift-z | redo | Redo last action
|
|
14
14
|
* @shortcut Mod-y | redo | Redo last action (alternative)
|
|
15
15
|
*/
|
|
16
|
-
export const History: Extension
|
|
16
|
+
export const History: Extension<{
|
|
17
|
+
depth: number;
|
|
18
|
+
newGroupDelay: number;
|
|
19
|
+
}, Record<string, never>>;
|
|
17
20
|
/**
|
|
18
21
|
* Configuration options for History
|
|
19
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/history/history.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH;;;;;;;GAOG;AACH
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/history/history.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH;;;;;;;GAOG;AACH;;;0BAgEG;;;;;0BAlFuB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/image/image.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/image/image.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,uEAmiBG;;;;;;;;;;;;;;;;SAhjBW,MAAM;;;;UACN,MAAM;;;;YACN,MAAM;;;;WAEjB;QAAyB,KAAK,GAAnB,MAAM;QACQ,MAAM,GAApB,MAAM;KACnB;;qBAtD+B,gBAAgB"}
|
|
@@ -47,8 +47,28 @@ import { TrackDelete } from './track-changes/index.js';
|
|
|
47
47
|
import { TrackFormat } from './track-changes/index.js';
|
|
48
48
|
import { CommentsMark } from './comment/index.js';
|
|
49
49
|
import { trackChangesHelpers } from './track-changes/index.js';
|
|
50
|
-
export function getStarterExtensions(): (import("../core/
|
|
51
|
-
|
|
50
|
+
export function getStarterExtensions(): (import("../core/Extension.js").Extension<{}, Record<string, never>> | import("../core/Mark.js").Mark<{
|
|
51
|
+
htmlAttributes: {};
|
|
52
|
+
}, Record<string, never>> | import("../core/Node.js").Node<{}, Record<string, never>> | import("../core/Extension.js").Extension<{}, {
|
|
53
|
+
storedStyle: import("./format-commands/format-commands.js").StoredStyle[] | null;
|
|
54
|
+
}> | import("../core/Extension.js").Extension<{
|
|
55
|
+
provider: any;
|
|
56
|
+
user: {
|
|
57
|
+
name: any;
|
|
58
|
+
color: any;
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
users: any[];
|
|
62
|
+
}> | import("../core/Extension.js").Extension<Record<string, never>, {
|
|
63
|
+
height: number;
|
|
64
|
+
sectionData: any;
|
|
65
|
+
headerFooterEditors: Map<any, any>;
|
|
66
|
+
}>)[];
|
|
67
|
+
export function getRichTextExtensions(): (import("../core/Mark.js").Mark<{
|
|
68
|
+
htmlAttributes: {};
|
|
69
|
+
}, Record<string, never>> | import("../core/Node.js").Node<{}, Record<string, never>> | import("../core/Extension.js").Extension<{}, Record<string, never>> | import("../core/Extension.js").Extension<{}, {
|
|
70
|
+
storedStyle: import("./format-commands/format-commands.js").StoredStyle[] | null;
|
|
71
|
+
}>)[];
|
|
52
72
|
import { AiMark } from './ai/index.js';
|
|
53
73
|
import { AiAnimationMark } from './ai/index.js';
|
|
54
74
|
import { AiLoaderNode } from './ai/index.js';
|