@domternal/core 0.5.1 → 0.6.1
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/README.md +5 -4
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +5845 -23
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/CanChecker.d.ts +0 -79
- package/dist/CanChecker.d.ts.map +0 -1
- package/dist/CanChecker.test.d.ts +0 -2
- package/dist/CanChecker.test.d.ts.map +0 -1
- package/dist/ChainBuilder.d.ts +0 -119
- package/dist/ChainBuilder.d.ts.map +0 -1
- package/dist/ChainBuilder.test.d.ts +0 -2
- package/dist/ChainBuilder.test.d.ts.map +0 -1
- package/dist/CommandManager.d.ts +0 -86
- package/dist/CommandManager.d.ts.map +0 -1
- package/dist/CommandManager.test.d.ts +0 -2
- package/dist/CommandManager.test.d.ts.map +0 -1
- package/dist/Editor.d.ts +0 -262
- package/dist/Editor.d.ts.map +0 -1
- package/dist/Editor.test.d.ts +0 -2
- package/dist/Editor.test.d.ts.map +0 -1
- package/dist/EventEmitter.d.ts +0 -57
- package/dist/EventEmitter.d.ts.map +0 -1
- package/dist/EventEmitter.test.d.ts +0 -2
- package/dist/EventEmitter.test.d.ts.map +0 -1
- package/dist/Extension.d.ts +0 -171
- package/dist/Extension.d.ts.map +0 -1
- package/dist/Extension.test.d.ts +0 -2
- package/dist/Extension.test.d.ts.map +0 -1
- package/dist/ExtensionManager.d.ts +0 -283
- package/dist/ExtensionManager.d.ts.map +0 -1
- package/dist/ExtensionManager.test.d.ts +0 -2
- package/dist/ExtensionManager.test.d.ts.map +0 -1
- package/dist/Mark.d.ts +0 -164
- package/dist/Mark.d.ts.map +0 -1
- package/dist/Mark.test.d.ts +0 -5
- package/dist/Mark.test.d.ts.map +0 -1
- package/dist/Node.d.ts +0 -153
- package/dist/Node.d.ts.map +0 -1
- package/dist/Node.test.d.ts +0 -2
- package/dist/Node.test.d.ts.map +0 -1
- package/dist/ToolbarController.d.ts +0 -169
- package/dist/ToolbarController.d.ts.map +0 -1
- package/dist/ToolbarController.test.d.ts +0 -2
- package/dist/ToolbarController.test.d.ts.map +0 -1
- package/dist/commandPropsBuilder.d.ts +0 -70
- package/dist/commandPropsBuilder.d.ts.map +0 -1
- package/dist/commandPropsBuilder.test.d.ts +0 -2
- package/dist/commandPropsBuilder.test.d.ts.map +0 -1
- package/dist/commands/attributeCommands.d.ts +0 -24
- package/dist/commands/attributeCommands.d.ts.map +0 -1
- package/dist/commands/attributeCommands.test.d.ts +0 -2
- package/dist/commands/attributeCommands.test.d.ts.map +0 -1
- package/dist/commands/builtIn.test.d.ts +0 -2
- package/dist/commands/builtIn.test.d.ts.map +0 -1
- package/dist/commands/contentCommands.d.ts +0 -52
- package/dist/commands/contentCommands.d.ts.map +0 -1
- package/dist/commands/contentCommands.test.d.ts +0 -2
- package/dist/commands/contentCommands.test.d.ts.map +0 -1
- package/dist/commands/index.d.ts +0 -43
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/listCommands.d.ts +0 -15
- package/dist/commands/listCommands.d.ts.map +0 -1
- package/dist/commands/listCommands.test.d.ts +0 -2
- package/dist/commands/listCommands.test.d.ts.map +0 -1
- package/dist/commands/markCommands.d.ts +0 -40
- package/dist/commands/markCommands.d.ts.map +0 -1
- package/dist/commands/markCommands.test.d.ts +0 -2
- package/dist/commands/markCommands.test.d.ts.map +0 -1
- package/dist/commands/nodeCommands.d.ts +0 -53
- package/dist/commands/nodeCommands.d.ts.map +0 -1
- package/dist/commands/nodeCommands.test.d.ts +0 -2
- package/dist/commands/nodeCommands.test.d.ts.map +0 -1
- package/dist/commands/selectionCommands.d.ts +0 -37
- package/dist/commands/selectionCommands.d.ts.map +0 -1
- package/dist/commands/selectionCommands.test.d.ts +0 -2
- package/dist/commands/selectionCommands.test.d.ts.map +0 -1
- package/dist/extensions/BaseKeymap.d.ts +0 -36
- package/dist/extensions/BaseKeymap.d.ts.map +0 -1
- package/dist/extensions/BaseKeymap.test.d.ts +0 -2
- package/dist/extensions/BaseKeymap.test.d.ts.map +0 -1
- package/dist/extensions/BubbleMenu.d.ts +0 -85
- package/dist/extensions/BubbleMenu.d.ts.map +0 -1
- package/dist/extensions/BubbleMenu.test.d.ts +0 -2
- package/dist/extensions/BubbleMenu.test.d.ts.map +0 -1
- package/dist/extensions/CharacterCount.d.ts +0 -60
- package/dist/extensions/CharacterCount.d.ts.map +0 -1
- package/dist/extensions/CharacterCount.test.d.ts +0 -2
- package/dist/extensions/CharacterCount.test.d.ts.map +0 -1
- package/dist/extensions/ClearFormatting.d.ts +0 -25
- package/dist/extensions/ClearFormatting.d.ts.map +0 -1
- package/dist/extensions/ClearFormatting.test.d.ts +0 -2
- package/dist/extensions/ClearFormatting.test.d.ts.map +0 -1
- package/dist/extensions/Dropcursor.d.ts +0 -20
- package/dist/extensions/Dropcursor.d.ts.map +0 -1
- package/dist/extensions/Dropcursor.test.d.ts +0 -2
- package/dist/extensions/Dropcursor.test.d.ts.map +0 -1
- package/dist/extensions/FloatingMenu.d.ts +0 -74
- package/dist/extensions/FloatingMenu.d.ts.map +0 -1
- package/dist/extensions/FloatingMenu.test.d.ts +0 -2
- package/dist/extensions/FloatingMenu.test.d.ts.map +0 -1
- package/dist/extensions/Focus.d.ts +0 -26
- package/dist/extensions/Focus.d.ts.map +0 -1
- package/dist/extensions/Focus.test.d.ts +0 -2
- package/dist/extensions/Focus.test.d.ts.map +0 -1
- package/dist/extensions/FontFamily.d.ts +0 -41
- package/dist/extensions/FontFamily.d.ts.map +0 -1
- package/dist/extensions/FontFamily.test.d.ts +0 -2
- package/dist/extensions/FontFamily.test.d.ts.map +0 -1
- package/dist/extensions/FontSize.d.ts +0 -46
- package/dist/extensions/FontSize.d.ts.map +0 -1
- package/dist/extensions/FontSize.test.d.ts +0 -2
- package/dist/extensions/FontSize.test.d.ts.map +0 -1
- package/dist/extensions/Gapcursor.d.ts +0 -3
- package/dist/extensions/Gapcursor.d.ts.map +0 -1
- package/dist/extensions/Gapcursor.test.d.ts +0 -2
- package/dist/extensions/Gapcursor.test.d.ts.map +0 -1
- package/dist/extensions/Highlight.d.ts +0 -61
- package/dist/extensions/Highlight.d.ts.map +0 -1
- package/dist/extensions/Highlight.test.d.ts +0 -2
- package/dist/extensions/Highlight.test.d.ts.map +0 -1
- package/dist/extensions/History.d.ts +0 -22
- package/dist/extensions/History.d.ts.map +0 -1
- package/dist/extensions/History.test.d.ts +0 -2
- package/dist/extensions/History.test.d.ts.map +0 -1
- package/dist/extensions/InvisibleChars.d.ts +0 -86
- package/dist/extensions/InvisibleChars.d.ts.map +0 -1
- package/dist/extensions/InvisibleChars.test.d.ts +0 -2
- package/dist/extensions/InvisibleChars.test.d.ts.map +0 -1
- package/dist/extensions/LineHeight.d.ts +0 -50
- package/dist/extensions/LineHeight.d.ts.map +0 -1
- package/dist/extensions/LineHeight.test.d.ts +0 -2
- package/dist/extensions/LineHeight.test.d.ts.map +0 -1
- package/dist/extensions/LinkPopover.d.ts +0 -10
- package/dist/extensions/LinkPopover.d.ts.map +0 -1
- package/dist/extensions/ListKeymap.d.ts +0 -10
- package/dist/extensions/ListKeymap.d.ts.map +0 -1
- package/dist/extensions/ListKeymap.test.d.ts +0 -2
- package/dist/extensions/ListKeymap.test.d.ts.map +0 -1
- package/dist/extensions/Placeholder.d.ts +0 -47
- package/dist/extensions/Placeholder.d.ts.map +0 -1
- package/dist/extensions/Placeholder.test.d.ts +0 -2
- package/dist/extensions/Placeholder.test.d.ts.map +0 -1
- package/dist/extensions/Selection.d.ts +0 -71
- package/dist/extensions/Selection.d.ts.map +0 -1
- package/dist/extensions/Selection.test.d.ts +0 -2
- package/dist/extensions/Selection.test.d.ts.map +0 -1
- package/dist/extensions/SelectionDecoration.d.ts +0 -18
- package/dist/extensions/SelectionDecoration.d.ts.map +0 -1
- package/dist/extensions/SelectionDecoration.test.d.ts +0 -2
- package/dist/extensions/SelectionDecoration.test.d.ts.map +0 -1
- package/dist/extensions/StarterKit.d.ts +0 -144
- package/dist/extensions/StarterKit.d.ts.map +0 -1
- package/dist/extensions/StarterKit.test.d.ts +0 -2
- package/dist/extensions/StarterKit.test.d.ts.map +0 -1
- package/dist/extensions/TextAlign.d.ts +0 -32
- package/dist/extensions/TextAlign.d.ts.map +0 -1
- package/dist/extensions/TextAlign.test.d.ts +0 -2
- package/dist/extensions/TextAlign.test.d.ts.map +0 -1
- package/dist/extensions/TextColor.d.ts +0 -55
- package/dist/extensions/TextColor.d.ts.map +0 -1
- package/dist/extensions/TextColor.test.d.ts +0 -2
- package/dist/extensions/TextColor.test.d.ts.map +0 -1
- package/dist/extensions/TrailingNode.d.ts +0 -16
- package/dist/extensions/TrailingNode.d.ts.map +0 -1
- package/dist/extensions/TrailingNode.test.d.ts +0 -2
- package/dist/extensions/TrailingNode.test.d.ts.map +0 -1
- package/dist/extensions/Typography.d.ts +0 -65
- package/dist/extensions/Typography.d.ts.map +0 -1
- package/dist/extensions/Typography.test.d.ts +0 -2
- package/dist/extensions/Typography.test.d.ts.map +0 -1
- package/dist/extensions/UniqueID.d.ts +0 -48
- package/dist/extensions/UniqueID.d.ts.map +0 -1
- package/dist/extensions/UniqueID.test.d.ts +0 -2
- package/dist/extensions/UniqueID.test.d.ts.map +0 -1
- package/dist/extensions/index.d.ts +0 -29
- package/dist/extensions/index.d.ts.map +0 -1
- package/dist/extensions/isActive-markExclusion.test.d.ts +0 -2
- package/dist/extensions/isActive-markExclusion.test.d.ts.map +0 -1
- package/dist/helpers/callOrReturn.d.ts +0 -30
- package/dist/helpers/callOrReturn.d.ts.map +0 -1
- package/dist/helpers/callOrReturn.test.d.ts +0 -2
- package/dist/helpers/callOrReturn.test.d.ts.map +0 -1
- package/dist/helpers/createDocument.d.ts +0 -48
- package/dist/helpers/createDocument.d.ts.map +0 -1
- package/dist/helpers/createDocument.test.d.ts +0 -2
- package/dist/helpers/createDocument.test.d.ts.map +0 -1
- package/dist/helpers/defaultBlockAt.d.ts +0 -15
- package/dist/helpers/defaultBlockAt.d.ts.map +0 -1
- package/dist/helpers/defaultBlockAt.test.d.ts +0 -2
- package/dist/helpers/defaultBlockAt.test.d.ts.map +0 -1
- package/dist/helpers/findChildren.d.ts +0 -13
- package/dist/helpers/findChildren.d.ts.map +0 -1
- package/dist/helpers/findChildren.test.d.ts +0 -2
- package/dist/helpers/findChildren.test.d.ts.map +0 -1
- package/dist/helpers/findParentNode.d.ts +0 -21
- package/dist/helpers/findParentNode.d.ts.map +0 -1
- package/dist/helpers/findParentNode.test.d.ts +0 -2
- package/dist/helpers/findParentNode.test.d.ts.map +0 -1
- package/dist/helpers/getMarkRange.d.ts +0 -17
- package/dist/helpers/getMarkRange.d.ts.map +0 -1
- package/dist/helpers/getMarkRange.test.d.ts +0 -2
- package/dist/helpers/getMarkRange.test.d.ts.map +0 -1
- package/dist/helpers/index.d.ts +0 -18
- package/dist/helpers/index.d.ts.map +0 -1
- package/dist/helpers/inputRulesPlugin.d.ts +0 -26
- package/dist/helpers/inputRulesPlugin.d.ts.map +0 -1
- package/dist/helpers/isNodeEmpty.d.ts +0 -52
- package/dist/helpers/isNodeEmpty.d.ts.map +0 -1
- package/dist/helpers/isNodeEmpty.test.d.ts +0 -2
- package/dist/helpers/isNodeEmpty.test.d.ts.map +0 -1
- package/dist/helpers/isValidUrl.d.ts +0 -31
- package/dist/helpers/isValidUrl.d.ts.map +0 -1
- package/dist/helpers/isValidUrl.test.d.ts +0 -2
- package/dist/helpers/isValidUrl.test.d.ts.map +0 -1
- package/dist/helpers/markInputRule.d.ts +0 -88
- package/dist/helpers/markInputRule.d.ts.map +0 -1
- package/dist/helpers/markInputRule.test.d.ts +0 -2
- package/dist/helpers/markInputRule.test.d.ts.map +0 -1
- package/dist/helpers/nodeInputRule.d.ts +0 -41
- package/dist/helpers/nodeInputRule.d.ts.map +0 -1
- package/dist/helpers/normalizeColor.d.ts +0 -7
- package/dist/helpers/normalizeColor.d.ts.map +0 -1
- package/dist/helpers/normalizeColor.test.d.ts +0 -2
- package/dist/helpers/normalizeColor.test.d.ts.map +0 -1
- package/dist/helpers/specBuilder.d.ts +0 -28
- package/dist/helpers/specBuilder.d.ts.map +0 -1
- package/dist/helpers/specBuilder.test.d.ts +0 -2
- package/dist/helpers/specBuilder.test.d.ts.map +0 -1
- package/dist/helpers/ssr.d.ts +0 -80
- package/dist/helpers/ssr.d.ts.map +0 -1
- package/dist/helpers/ssr.test.d.ts +0 -2
- package/dist/helpers/ssr.test.d.ts.map +0 -1
- package/dist/helpers/textInputRule.d.ts +0 -34
- package/dist/helpers/textInputRule.d.ts.map +0 -1
- package/dist/helpers/textblockTypeInputRule.d.ts +0 -41
- package/dist/helpers/textblockTypeInputRule.d.ts.map +0 -1
- package/dist/helpers/wrappingInputRule.d.ts +0 -66
- package/dist/helpers/wrappingInputRule.d.ts.map +0 -1
- package/dist/icons/index.d.ts +0 -2
- package/dist/icons/index.d.ts.map +0 -1
- package/dist/icons/phosphor.d.ts +0 -3
- package/dist/icons/phosphor.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.test.d.ts +0 -2
- package/dist/index.test.d.ts.map +0 -1
- package/dist/marks/Bold.d.ts +0 -40
- package/dist/marks/Bold.d.ts.map +0 -1
- package/dist/marks/Bold.test.d.ts +0 -2
- package/dist/marks/Bold.test.d.ts.map +0 -1
- package/dist/marks/Code.d.ts +0 -40
- package/dist/marks/Code.d.ts.map +0 -1
- package/dist/marks/Code.test.d.ts +0 -2
- package/dist/marks/Code.test.d.ts.map +0 -1
- package/dist/marks/Italic.d.ts +0 -40
- package/dist/marks/Italic.d.ts.map +0 -1
- package/dist/marks/Italic.test.d.ts +0 -2
- package/dist/marks/Italic.test.d.ts.map +0 -1
- package/dist/marks/Link.d.ts +0 -75
- package/dist/marks/Link.d.ts.map +0 -1
- package/dist/marks/Link.test.d.ts +0 -2
- package/dist/marks/Link.test.d.ts.map +0 -1
- package/dist/marks/Strike.d.ts +0 -39
- package/dist/marks/Strike.d.ts.map +0 -1
- package/dist/marks/Strike.test.d.ts +0 -2
- package/dist/marks/Strike.test.d.ts.map +0 -1
- package/dist/marks/Subscript.d.ts +0 -38
- package/dist/marks/Subscript.d.ts.map +0 -1
- package/dist/marks/Subscript.test.d.ts +0 -2
- package/dist/marks/Subscript.test.d.ts.map +0 -1
- package/dist/marks/Superscript.d.ts +0 -38
- package/dist/marks/Superscript.d.ts.map +0 -1
- package/dist/marks/Superscript.test.d.ts +0 -2
- package/dist/marks/Superscript.test.d.ts.map +0 -1
- package/dist/marks/TextStyle.d.ts +0 -41
- package/dist/marks/TextStyle.d.ts.map +0 -1
- package/dist/marks/TextStyle.test.d.ts +0 -2
- package/dist/marks/TextStyle.test.d.ts.map +0 -1
- package/dist/marks/Underline.d.ts +0 -38
- package/dist/marks/Underline.d.ts.map +0 -1
- package/dist/marks/Underline.test.d.ts +0 -2
- package/dist/marks/Underline.test.d.ts.map +0 -1
- package/dist/marks/helpers/autolinkPlugin.d.ts +0 -48
- package/dist/marks/helpers/autolinkPlugin.d.ts.map +0 -1
- package/dist/marks/helpers/autolinkPlugin.test.d.ts +0 -2
- package/dist/marks/helpers/autolinkPlugin.test.d.ts.map +0 -1
- package/dist/marks/helpers/index.d.ts +0 -10
- package/dist/marks/helpers/index.d.ts.map +0 -1
- package/dist/marks/helpers/linkClickPlugin.d.ts +0 -43
- package/dist/marks/helpers/linkClickPlugin.d.ts.map +0 -1
- package/dist/marks/helpers/linkClickPlugin.test.d.ts +0 -2
- package/dist/marks/helpers/linkClickPlugin.test.d.ts.map +0 -1
- package/dist/marks/helpers/linkExitPlugin.d.ts +0 -37
- package/dist/marks/helpers/linkExitPlugin.d.ts.map +0 -1
- package/dist/marks/helpers/linkExitPlugin.test.d.ts +0 -2
- package/dist/marks/helpers/linkExitPlugin.test.d.ts.map +0 -1
- package/dist/marks/helpers/linkPastePlugin.d.ts +0 -44
- package/dist/marks/helpers/linkPastePlugin.d.ts.map +0 -1
- package/dist/marks/helpers/linkPastePlugin.test.d.ts +0 -2
- package/dist/marks/helpers/linkPastePlugin.test.d.ts.map +0 -1
- package/dist/marks/index.d.ts +0 -16
- package/dist/marks/index.d.ts.map +0 -1
- package/dist/nodes/Blockquote.d.ts +0 -19
- package/dist/nodes/Blockquote.d.ts.map +0 -1
- package/dist/nodes/Blockquote.test.d.ts +0 -2
- package/dist/nodes/Blockquote.test.d.ts.map +0 -1
- package/dist/nodes/BulletList.d.ts +0 -18
- package/dist/nodes/BulletList.d.ts.map +0 -1
- package/dist/nodes/BulletList.test.d.ts +0 -2
- package/dist/nodes/BulletList.test.d.ts.map +0 -1
- package/dist/nodes/CodeBlock.d.ts +0 -29
- package/dist/nodes/CodeBlock.d.ts.map +0 -1
- package/dist/nodes/CodeBlock.test.d.ts +0 -2
- package/dist/nodes/CodeBlock.test.d.ts.map +0 -1
- package/dist/nodes/Document.d.ts +0 -9
- package/dist/nodes/Document.d.ts.map +0 -1
- package/dist/nodes/Document.test.d.ts +0 -2
- package/dist/nodes/Document.test.d.ts.map +0 -1
- package/dist/nodes/HardBreak.d.ts +0 -18
- package/dist/nodes/HardBreak.d.ts.map +0 -1
- package/dist/nodes/HardBreak.test.d.ts +0 -2
- package/dist/nodes/HardBreak.test.d.ts.map +0 -1
- package/dist/nodes/Heading.d.ts +0 -23
- package/dist/nodes/Heading.d.ts.map +0 -1
- package/dist/nodes/Heading.test.d.ts +0 -2
- package/dist/nodes/Heading.test.d.ts.map +0 -1
- package/dist/nodes/HorizontalRule.d.ts +0 -17
- package/dist/nodes/HorizontalRule.d.ts.map +0 -1
- package/dist/nodes/HorizontalRule.test.d.ts +0 -2
- package/dist/nodes/HorizontalRule.test.d.ts.map +0 -1
- package/dist/nodes/ListItem.d.ts +0 -16
- package/dist/nodes/ListItem.d.ts.map +0 -1
- package/dist/nodes/ListItem.test.d.ts +0 -2
- package/dist/nodes/ListItem.test.d.ts.map +0 -1
- package/dist/nodes/OrderedList.d.ts +0 -18
- package/dist/nodes/OrderedList.d.ts.map +0 -1
- package/dist/nodes/OrderedList.test.d.ts +0 -2
- package/dist/nodes/OrderedList.test.d.ts.map +0 -1
- package/dist/nodes/Paragraph.d.ts +0 -17
- package/dist/nodes/Paragraph.d.ts.map +0 -1
- package/dist/nodes/Paragraph.test.d.ts +0 -2
- package/dist/nodes/Paragraph.test.d.ts.map +0 -1
- package/dist/nodes/TaskItem.d.ts +0 -24
- package/dist/nodes/TaskItem.d.ts.map +0 -1
- package/dist/nodes/TaskItem.test.d.ts +0 -2
- package/dist/nodes/TaskItem.test.d.ts.map +0 -1
- package/dist/nodes/TaskList.d.ts +0 -18
- package/dist/nodes/TaskList.d.ts.map +0 -1
- package/dist/nodes/TaskList.test.d.ts +0 -2
- package/dist/nodes/TaskList.test.d.ts.map +0 -1
- package/dist/nodes/Text.d.ts +0 -9
- package/dist/nodes/Text.d.ts.map +0 -1
- package/dist/nodes/Text.test.d.ts +0 -2
- package/dist/nodes/Text.test.d.ts.map +0 -1
- package/dist/nodes/index.d.ts +0 -19
- package/dist/nodes/index.d.ts.map +0 -1
- package/dist/nodes/integration.test.d.ts +0 -7
- package/dist/nodes/integration.test.d.ts.map +0 -1
- package/dist/types/AttributeSpec.d.ts +0 -78
- package/dist/types/AttributeSpec.d.ts.map +0 -1
- package/dist/types/Commands.d.ts +0 -125
- package/dist/types/Commands.d.ts.map +0 -1
- package/dist/types/Content.d.ts +0 -40
- package/dist/types/Content.d.ts.map +0 -1
- package/dist/types/EditorEvents.d.ts +0 -131
- package/dist/types/EditorEvents.d.ts.map +0 -1
- package/dist/types/EditorOptions.d.ts +0 -139
- package/dist/types/EditorOptions.d.ts.map +0 -1
- package/dist/types/ExtensionConfig.d.ts +0 -271
- package/dist/types/ExtensionConfig.d.ts.map +0 -1
- package/dist/types/MarkConfig.d.ts +0 -206
- package/dist/types/MarkConfig.d.ts.map +0 -1
- package/dist/types/NodeConfig.d.ts +0 -263
- package/dist/types/NodeConfig.d.ts.map +0 -1
- package/dist/types/Toolbar.d.ts +0 -172
- package/dist/types/Toolbar.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -13
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/inlineStyles.d.ts +0 -83
- package/dist/utils/inlineStyles.d.ts.map +0 -1
- package/dist/utils/inlineStyles.test.d.ts +0 -2
- package/dist/utils/inlineStyles.test.d.ts.map +0 -1
- package/dist/utils/positionFloating.d.ts +0 -74
- package/dist/utils/positionFloating.d.ts.map +0 -1
package/dist/nodes/TaskList.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TaskList Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level task/checkbox list container.
|
|
5
|
-
* Supports markdown-style input rules with `[ ]` and `[x]`.
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
toggleTaskList: CommandSpec;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export interface TaskListOptions {
|
|
14
|
-
HTMLAttributes: Record<string, unknown>;
|
|
15
|
-
itemTypeName: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const TaskList: Node<TaskListOptions, unknown>;
|
|
18
|
-
//# sourceMappingURL=TaskList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TaskList.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskList.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ,gCAuFnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TaskList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskList.test.ts"],"names":[],"mappings":""}
|
package/dist/nodes/Text.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text Node
|
|
3
|
-
*
|
|
4
|
-
* Inline text content. Can hold marks (bold, italic, etc.).
|
|
5
|
-
* This is the leaf node that contains actual text content.
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
export declare const Text: Node<unknown, unknown>;
|
|
9
|
-
//# sourceMappingURL=Text.d.ts.map
|
package/dist/nodes/Text.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/nodes/Text.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,IAAI,wBAGf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Text.test.ts"],"names":[],"mappings":""}
|
package/dist/nodes/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Node Extensions
|
|
3
|
-
*
|
|
4
|
-
* Pre-built node types for common document structures.
|
|
5
|
-
*/
|
|
6
|
-
export { Document } from './Document.js';
|
|
7
|
-
export { Text } from './Text.js';
|
|
8
|
-
export { Paragraph, type ParagraphOptions } from './Paragraph.js';
|
|
9
|
-
export { Heading, type HeadingOptions } from './Heading.js';
|
|
10
|
-
export { Blockquote, type BlockquoteOptions } from './Blockquote.js';
|
|
11
|
-
export { CodeBlock, type CodeBlockOptions } from './CodeBlock.js';
|
|
12
|
-
export { BulletList, type BulletListOptions } from './BulletList.js';
|
|
13
|
-
export { OrderedList, type OrderedListOptions } from './OrderedList.js';
|
|
14
|
-
export { ListItem, type ListItemOptions } from './ListItem.js';
|
|
15
|
-
export { HorizontalRule, type HorizontalRuleOptions } from './HorizontalRule.js';
|
|
16
|
-
export { HardBreak, type HardBreakOptions } from './HardBreak.js';
|
|
17
|
-
export { TaskList, type TaskListOptions } from './TaskList.js';
|
|
18
|
-
export { TaskItem, type TaskItemOptions } from './TaskItem.js';
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/nodes/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integration.test.d.ts","sourceRoot":"","sources":["../../src/nodes/integration.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Attribute specification for Node and Mark extensions
|
|
3
|
-
*
|
|
4
|
-
* Used by addAttributes() to define node/mark attributes
|
|
5
|
-
* with parsing, rendering, and validation rules.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* addAttributes() {
|
|
9
|
-
* return {
|
|
10
|
-
* level: {
|
|
11
|
-
* default: 1,
|
|
12
|
-
* parseHTML: (element) => parseInt(element.tagName.charAt(1), 10),
|
|
13
|
-
* renderHTML: (attributes) => ({ 'data-level': attributes.level }),
|
|
14
|
-
* },
|
|
15
|
-
* };
|
|
16
|
-
* }
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* Specification for a single attribute
|
|
20
|
-
*/
|
|
21
|
-
export interface AttributeSpec {
|
|
22
|
-
/**
|
|
23
|
-
* Default value for the attribute
|
|
24
|
-
* Used when the attribute is not explicitly set
|
|
25
|
-
*/
|
|
26
|
-
default?: unknown;
|
|
27
|
-
/**
|
|
28
|
-
* Whether this attribute is rendered to the DOM
|
|
29
|
-
* @default true
|
|
30
|
-
*/
|
|
31
|
-
rendered?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Keep this attribute when splitting the node
|
|
34
|
-
* For example, heading level should be kept when pressing Enter
|
|
35
|
-
* @default true
|
|
36
|
-
*/
|
|
37
|
-
keepOnSplit?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Validate attribute value (ProseMirror 1.22.0+).
|
|
40
|
-
* When a string, a `|`-separated list of primitive types
|
|
41
|
-
* (`"number"`, `"string"`, `"boolean"`, `"null"`, `"undefined"`).
|
|
42
|
-
* When a function, it should throw if the value is invalid.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* validate: 'number'
|
|
46
|
-
* validate: 'string|null'
|
|
47
|
-
* validate: (value) => { if (typeof value !== 'number') throw new Error('expected number'); }
|
|
48
|
-
*/
|
|
49
|
-
validate?: string | ((value: unknown) => void);
|
|
50
|
-
/**
|
|
51
|
-
* Parse attribute value from HTML element
|
|
52
|
-
* Called during HTML parsing to extract attribute value
|
|
53
|
-
*
|
|
54
|
-
* @param element - The HTML element being parsed
|
|
55
|
-
* @returns The attribute value
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* parseHTML: (element) => element.getAttribute('data-level')
|
|
59
|
-
*/
|
|
60
|
-
parseHTML?: (element: HTMLElement) => unknown;
|
|
61
|
-
/**
|
|
62
|
-
* Render attribute to HTML attributes object
|
|
63
|
-
* Called during HTML serialization
|
|
64
|
-
*
|
|
65
|
-
* @param attributes - All attributes of the node/mark
|
|
66
|
-
* @returns HTML attributes object or null to skip
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* renderHTML: (attributes) => ({ 'data-level': attributes.level })
|
|
70
|
-
*/
|
|
71
|
-
renderHTML?: (attributes: Record<string, unknown>) => Record<string, string | number | boolean | null | undefined> | null;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Collection of attribute specifications
|
|
75
|
-
* Keyed by attribute name
|
|
76
|
-
*/
|
|
77
|
-
export type AttributeSpecs = Record<string, AttributeSpec>;
|
|
78
|
-
//# sourceMappingURL=AttributeSpec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeSpec.d.ts","sourceRoot":"","sources":["../../src/types/AttributeSpec.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;IAE/C;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC;IAE9C;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,CACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAChC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,CAAC;CAC1E;AAED;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC"}
|
package/dist/types/Commands.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import type { EditorState, Transaction } from '@domternal/pm/state';
|
|
2
|
-
/**
|
|
3
|
-
* Editor instance type (forward declaration)
|
|
4
|
-
*/
|
|
5
|
-
export interface CommandEditor {
|
|
6
|
-
readonly view: unknown;
|
|
7
|
-
readonly state: EditorState;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Props passed to every command function
|
|
11
|
-
*/
|
|
12
|
-
export interface CommandProps {
|
|
13
|
-
/** The editor instance */
|
|
14
|
-
editor: CommandEditor;
|
|
15
|
-
/** Current editor state */
|
|
16
|
-
state: EditorState;
|
|
17
|
-
/** Current transaction (shared in chains) */
|
|
18
|
-
tr: Transaction;
|
|
19
|
-
/**
|
|
20
|
-
* Dispatch function - if undefined, command is in "dry run" mode
|
|
21
|
-
* When undefined, command should only check if it CAN be executed
|
|
22
|
-
*/
|
|
23
|
-
dispatch: ((tr: Transaction) => void) | undefined;
|
|
24
|
-
/** Start a new command chain */
|
|
25
|
-
chain: () => ChainedCommands;
|
|
26
|
-
/** Check if commands can be executed (dry run) */
|
|
27
|
-
can: () => CanCommands;
|
|
28
|
-
/** Access to all single commands */
|
|
29
|
-
commands: SingleCommands;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* A command function that returns true if it was executed successfully
|
|
33
|
-
*/
|
|
34
|
-
export type Command = (props: CommandProps) => boolean;
|
|
35
|
-
/**
|
|
36
|
-
* A command factory that returns a Command
|
|
37
|
-
* Used for commands that take arguments
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* const setHeading: CommandSpec = (level: number) => ({ state, dispatch }) => {
|
|
41
|
-
* // ... implementation
|
|
42
|
-
* return true;
|
|
43
|
-
* };
|
|
44
|
-
*/
|
|
45
|
-
export type CommandSpec<Args extends unknown[] = []> = (...args: Args) => Command;
|
|
46
|
-
/**
|
|
47
|
-
* Internal command storage used by CommandManager and ExtensionManager.
|
|
48
|
-
* Holds commands as a generic record for dynamic runtime collection.
|
|
49
|
-
*/
|
|
50
|
-
export type CommandMap = Record<string, CommandSpec<unknown[]>>;
|
|
51
|
-
/**
|
|
52
|
-
* Typed command interface for the public API.
|
|
53
|
-
*
|
|
54
|
-
* Each extension augments this interface via `declare module` to register
|
|
55
|
-
* its commands with proper argument types. This gives full type safety
|
|
56
|
-
* on `editor.commands.*`, `editor.chain().*`, and `editor.can().*`.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```ts
|
|
60
|
-
* declare module '../types/Commands.js' {
|
|
61
|
-
* interface RawCommands {
|
|
62
|
-
* toggleBold: CommandSpec;
|
|
63
|
-
* setHeading: CommandSpec<[attributes?: { level?: number }]>;
|
|
64
|
-
* }
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
export interface RawCommands {
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Single commands that execute immediately
|
|
72
|
-
* These are accessed via editor.commands.commandName()
|
|
73
|
-
*/
|
|
74
|
-
export type SingleCommands = {
|
|
75
|
-
[K in keyof RawCommands]: RawCommands[K] extends CommandSpec<infer Args> ? (...args: Args) => boolean : never;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Information about a command chain failure
|
|
79
|
-
*/
|
|
80
|
-
export interface ChainFailure {
|
|
81
|
-
/** Name of the command that failed */
|
|
82
|
-
command: string;
|
|
83
|
-
/** Arguments passed to the command */
|
|
84
|
-
args: unknown[];
|
|
85
|
-
/** Index of the command in the chain (0-based) */
|
|
86
|
-
index: number;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Chained commands that return `this` for fluent API
|
|
90
|
-
* These are accessed via editor.chain().commandName().run()
|
|
91
|
-
*/
|
|
92
|
-
export type ChainedCommands = {
|
|
93
|
-
[K in keyof RawCommands]: RawCommands[K] extends CommandSpec<infer Args> ? (...args: Args) => ChainedCommands : never;
|
|
94
|
-
} & {
|
|
95
|
-
/** Execute the command chain */
|
|
96
|
-
run: () => boolean;
|
|
97
|
-
/** Get information about the first command failure (if any) */
|
|
98
|
-
getFailure: () => ChainFailure | null;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Commands for checking if execution is possible (dry run)
|
|
102
|
-
* These are accessed via editor.can().commandName()
|
|
103
|
-
*/
|
|
104
|
-
export type CanCommands = {
|
|
105
|
-
[K in keyof RawCommands]: RawCommands[K] extends CommandSpec<infer Args> ? (...args: Args) => boolean : never;
|
|
106
|
-
} & {
|
|
107
|
-
/** Start a chain check */
|
|
108
|
-
chain: () => CanChainedCommands;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Chained commands for dry-run checking
|
|
112
|
-
*/
|
|
113
|
-
export type CanChainedCommands = {
|
|
114
|
-
[K in keyof RawCommands]: RawCommands[K] extends CommandSpec<infer Args> ? (...args: Args) => CanChainedCommands : never;
|
|
115
|
-
} & {
|
|
116
|
-
/** Check if the entire chain can be executed */
|
|
117
|
-
run: () => boolean;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Keyboard shortcut handler
|
|
121
|
-
*/
|
|
122
|
-
export type KeyboardShortcutCommand = (props: {
|
|
123
|
-
editor: CommandEditor;
|
|
124
|
-
}) => boolean;
|
|
125
|
-
//# sourceMappingURL=Commands.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.d.ts","sourceRoot":"","sources":["../../src/types/Commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,0BAA0B;IAC1B,MAAM,EAAE,aAAa,CAAC;IAEtB,2BAA2B;IAC3B,KAAK,EAAE,WAAW,CAAC;IAEnB,6CAA6C;IAC7C,EAAE,EAAE,WAAW,CAAC;IAEhB;;;OAGG;IACH,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAElD,gCAAgC;IAChC,KAAK,EAAE,MAAM,eAAe,CAAC;IAE7B,kDAAkD;IAClD,GAAG,EAAE,MAAM,WAAW,CAAC;IAEvB,oCAAoC;IACpC,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;AAEvD;;;;;;;;;GASG;AACH,MAAM,MAAM,WAAW,CAAC,IAAI,SAAS,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;AAElF;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,WAA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MAAM,IAAI,CAAC,GACpE,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,kBAAkB,GACrC,KAAK;CACV,GAAG;IACF,gDAAgD;IAChD,GAAG,EAAE,MAAM,OAAO,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,KAAK,OAAO,CAAC"}
|
package/dist/types/Content.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* JSON representation of a ProseMirror node attribute
|
|
3
|
-
*/
|
|
4
|
-
export type JSONAttribute = string | number | boolean | null | JSONAttribute[] | {
|
|
5
|
-
[key: string]: JSONAttribute;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* JSON representation of a ProseMirror mark
|
|
9
|
-
*/
|
|
10
|
-
export interface JSONMark {
|
|
11
|
-
type: string;
|
|
12
|
-
attrs?: Record<string, JSONAttribute>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* JSON representation of a ProseMirror node
|
|
16
|
-
* This is the format used for serializing/deserializing editor content
|
|
17
|
-
*/
|
|
18
|
-
export interface JSONContent {
|
|
19
|
-
type: string;
|
|
20
|
-
attrs?: Record<string, JSONAttribute>;
|
|
21
|
-
content?: JSONContent[];
|
|
22
|
-
marks?: JSONMark[];
|
|
23
|
-
text?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Content that can be passed to the editor
|
|
27
|
-
* - string: HTML string to be parsed
|
|
28
|
-
* - JSONContent: JSON representation of the document
|
|
29
|
-
* - JSONContent[]: Array of nodes to insert
|
|
30
|
-
* - null: Empty document
|
|
31
|
-
*/
|
|
32
|
-
export type Content = string | JSONContent | JSONContent[] | null;
|
|
33
|
-
/**
|
|
34
|
-
* Represents a range in the document
|
|
35
|
-
*/
|
|
36
|
-
export interface Range {
|
|
37
|
-
from: number;
|
|
38
|
-
to: number;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=Content.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../src/types/Content.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,aAAa,EAAE,GACf;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAAE,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,WAAW,EAAE,GAAG,IAAI,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import type { Transaction } from '@domternal/pm/state';
|
|
2
|
-
/**
|
|
3
|
-
* Editor instance type (forward declaration to avoid circular dependency)
|
|
4
|
-
* Will be properly typed when Editor class is implemented
|
|
5
|
-
*/
|
|
6
|
-
export interface EditorInstance {
|
|
7
|
-
readonly view: unknown;
|
|
8
|
-
readonly state: unknown;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Props passed to event handlers that include transaction
|
|
12
|
-
*/
|
|
13
|
-
export interface TransactionEventProps {
|
|
14
|
-
editor: EditorInstance;
|
|
15
|
-
transaction: Transaction;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Props passed to focus/blur event handlers
|
|
19
|
-
*/
|
|
20
|
-
export interface FocusEventProps {
|
|
21
|
-
editor: EditorInstance;
|
|
22
|
-
event: FocusEvent;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Props passed to create event handler
|
|
26
|
-
*/
|
|
27
|
-
export interface CreateEventProps {
|
|
28
|
-
editor: EditorInstance;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Props passed to content error handler (AD-8: Content Validation)
|
|
32
|
-
*/
|
|
33
|
-
export interface ContentErrorProps {
|
|
34
|
-
editor: EditorInstance;
|
|
35
|
-
/** The validation error that occurred */
|
|
36
|
-
error: Error;
|
|
37
|
-
/** The original content that failed validation */
|
|
38
|
-
content: unknown;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Props passed to paste event handler
|
|
42
|
-
*/
|
|
43
|
-
export interface PasteEventProps {
|
|
44
|
-
editor: EditorInstance;
|
|
45
|
-
event: ClipboardEvent;
|
|
46
|
-
/** ProseMirror Slice of pasted content */
|
|
47
|
-
slice: unknown;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Props passed to drop event handler
|
|
51
|
-
*/
|
|
52
|
-
export interface DropEventProps {
|
|
53
|
-
editor: EditorInstance;
|
|
54
|
-
event: DragEvent;
|
|
55
|
-
/** ProseMirror Slice of dropped content */
|
|
56
|
-
slice: unknown;
|
|
57
|
-
/** Whether the content was moved (true) or copied (false) */
|
|
58
|
-
moved: boolean;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Props passed to mount event handler
|
|
62
|
-
*/
|
|
63
|
-
export interface MountEventProps {
|
|
64
|
-
editor: EditorInstance;
|
|
65
|
-
view: unknown;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Props passed to delete event handler
|
|
69
|
-
*/
|
|
70
|
-
export interface DeleteEventProps {
|
|
71
|
-
editor: EditorInstance;
|
|
72
|
-
/** Start position of deleted content */
|
|
73
|
-
from: number;
|
|
74
|
-
/** End position of deleted content */
|
|
75
|
-
to: number;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Props passed to error event handler (2.7: Extension Error Isolation)
|
|
79
|
-
*/
|
|
80
|
-
export interface ErrorEventProps {
|
|
81
|
-
editor: EditorInstance;
|
|
82
|
-
/** The error that was thrown */
|
|
83
|
-
error: Error;
|
|
84
|
-
/** Context describing where the error occurred (e.g., 'Bold.onUpdate', 'History.addProseMirrorPlugins') */
|
|
85
|
-
context: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* All editor events with their payload types
|
|
89
|
-
* Used by EventEmitter for type-safe event handling
|
|
90
|
-
*/
|
|
91
|
-
export interface EditorEvents {
|
|
92
|
-
/** Fired before editor is created - can modify options */
|
|
93
|
-
beforeCreate: CreateEventProps;
|
|
94
|
-
/** Fired when editor is created and ready */
|
|
95
|
-
create: CreateEventProps;
|
|
96
|
-
/** Fired when document content changes */
|
|
97
|
-
update: TransactionEventProps;
|
|
98
|
-
/** Fired when selection changes (without content change) */
|
|
99
|
-
selectionUpdate: TransactionEventProps;
|
|
100
|
-
/** Fired on every transaction (content or selection) */
|
|
101
|
-
transaction: TransactionEventProps;
|
|
102
|
-
/** Fired when editor receives focus */
|
|
103
|
-
focus: FocusEventProps;
|
|
104
|
-
/** Fired when editor loses focus */
|
|
105
|
-
blur: FocusEventProps;
|
|
106
|
-
/** Fired before editor is destroyed (no payload) */
|
|
107
|
-
destroy: undefined;
|
|
108
|
-
/** Fired when content doesn't match schema (AD-8) */
|
|
109
|
-
contentError: ContentErrorProps;
|
|
110
|
-
/** Fired when content is pasted */
|
|
111
|
-
paste: PasteEventProps;
|
|
112
|
-
/** Fired when content is dropped */
|
|
113
|
-
drop: DropEventProps;
|
|
114
|
-
/** Fired when editor view is mounted to DOM */
|
|
115
|
-
mount: MountEventProps;
|
|
116
|
-
/** Fired when editor view is unmounted from DOM */
|
|
117
|
-
unmount: MountEventProps;
|
|
118
|
-
/** Fired when content is deleted */
|
|
119
|
-
delete: DeleteEventProps;
|
|
120
|
-
/** Fired when an extension throws an error (2.7: Extension Error Isolation) */
|
|
121
|
-
error: ErrorEventProps;
|
|
122
|
-
/** Fired when link editing UI should open (toolbar link button, Ctrl+K) */
|
|
123
|
-
linkEdit: {
|
|
124
|
-
anchorElement?: HTMLElement;
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Event names as a type
|
|
129
|
-
*/
|
|
130
|
-
export type EditorEventName = keyof EditorEvents;
|
|
131
|
-
//# sourceMappingURL=EditorEvents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorEvents.d.ts","sourceRoot":"","sources":["../../src/types/EditorEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAE7B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,cAAc,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,cAAc,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,cAAc,CAAC;IACvB,yCAAyC;IACzC,KAAK,EAAE,KAAK,CAAC;IACb,kDAAkD;IAClD,OAAO,E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Y,EAAE,iBAAiB,CAAC;IAEhC,mCAAmC;IACnC,KAAK,EAAE,eAAe,CAAC;IAEvB,oCAAoC;IACpC,IAAI,EAAE,cAAc,CAAC;IAErB,+CAA+C;IAC/C,KAAK,EAAE,eAAe,CAAC;IAEvB,mDAAmD;IACnD,OAAO,EAAE,eAAe,CAAC;IAEzB,oCAAoC;IACpC,MAAM,EAAE,gBAAgB,CAAC;IAEzB,+EAA+E;IAC/E,KAAK,EAAE,eAAe,CAAC;IAEvB,2EAA2E;IAC3E,QAAQ,EAAE;QAAE,aAAa,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,YAAY,CAAC"}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import type { Schema } from '@domternal/pm/model';
|
|
2
|
-
import type { Content } from './Content.js';
|
|
3
|
-
import type { CreateEventProps, TransactionEventProps, FocusEventProps, ContentErrorProps, MountEventProps, ErrorEventProps } from './EditorEvents.js';
|
|
4
|
-
/**
|
|
5
|
-
* Type-erased base for Extension, Node, and Mark.
|
|
6
|
-
*
|
|
7
|
-
* The Extension class has generic Options/Storage parameters, and methods
|
|
8
|
-
* like `configure(options: Partial<Options>)` that make Options contravariant.
|
|
9
|
-
* This means `Extension<MyOptions>` is not assignable to `Extension<unknown>`.
|
|
10
|
-
*
|
|
11
|
-
* AnyExtension uses an interface with only the properties that ExtensionManager
|
|
12
|
-
* and the editor need at runtime, avoiding the generic variance issue. Every
|
|
13
|
-
* Extension<O, S>, Node<O, S>, and Mark<O, S> structurally satisfies this
|
|
14
|
-
* interface regardless of their generic parameters.
|
|
15
|
-
*/
|
|
16
|
-
export interface AnyExtension {
|
|
17
|
-
readonly type: 'extension' | 'node' | 'mark';
|
|
18
|
-
readonly name: string;
|
|
19
|
-
readonly options: unknown;
|
|
20
|
-
storage: unknown;
|
|
21
|
-
readonly config: unknown;
|
|
22
|
-
editor: unknown;
|
|
23
|
-
parent?: ((...args: unknown[]) => unknown) | undefined;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Autofocus options for the editor
|
|
27
|
-
* - true: Focus at the end
|
|
28
|
-
* - false: Don't autofocus
|
|
29
|
-
* - null: Explicitly no autofocus
|
|
30
|
-
* - 'start': Focus at the beginning
|
|
31
|
-
* - 'end': Focus at the end
|
|
32
|
-
* - 'all': Select all content
|
|
33
|
-
* - number: Focus at specific position
|
|
34
|
-
*/
|
|
35
|
-
export type FocusPosition = boolean | 'start' | 'end' | 'all' | number | null;
|
|
36
|
-
/**
|
|
37
|
-
* Configuration options for creating an Editor instance
|
|
38
|
-
*/
|
|
39
|
-
export interface EditorOptions {
|
|
40
|
-
/**
|
|
41
|
-
* ProseMirror Schema for the editor
|
|
42
|
-
*
|
|
43
|
-
* Step 1.3: Required (no extensions system yet)
|
|
44
|
-
* Step 2+: Optional if extensions are provided (schema built from extensions)
|
|
45
|
-
*
|
|
46
|
-
* The schema must contain at least 'doc' and 'text' nodes.
|
|
47
|
-
*/
|
|
48
|
-
schema?: Schema;
|
|
49
|
-
/**
|
|
50
|
-
* HTML element to mount the editor
|
|
51
|
-
* If not provided, creates a detached div (useful for testing/headless mode)
|
|
52
|
-
*/
|
|
53
|
-
element?: HTMLElement | null;
|
|
54
|
-
/**
|
|
55
|
-
* Initial content (JSON or HTML string)
|
|
56
|
-
* @default null (empty document)
|
|
57
|
-
*/
|
|
58
|
-
content?: Content;
|
|
59
|
-
/**
|
|
60
|
-
* Extensions to load
|
|
61
|
-
* @default []
|
|
62
|
-
*/
|
|
63
|
-
extensions?: AnyExtension[];
|
|
64
|
-
/**
|
|
65
|
-
* Whether the editor is editable
|
|
66
|
-
* @default true
|
|
67
|
-
*/
|
|
68
|
-
editable?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Accessible label for the editor.
|
|
71
|
-
* Sets aria-label on the contenteditable element.
|
|
72
|
-
* @default 'Rich text editor'
|
|
73
|
-
*/
|
|
74
|
-
ariaLabel?: string;
|
|
75
|
-
/**
|
|
76
|
-
* Autofocus behavior on mount
|
|
77
|
-
* @default false
|
|
78
|
-
*/
|
|
79
|
-
autofocus?: FocusPosition;
|
|
80
|
-
/**
|
|
81
|
-
* Transform function applied to clipboard HTML on copy/cut.
|
|
82
|
-
* Use with `inlineStyles` from core to auto-apply inline CSS on copy:
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* ```ts
|
|
86
|
-
* import { inlineStyles } from '@domternal/core';
|
|
87
|
-
* new Editor({ clipboardHTMLTransform: inlineStyles });
|
|
88
|
-
* ```
|
|
89
|
-
*/
|
|
90
|
-
clipboardHTMLTransform?: (html: string) => string;
|
|
91
|
-
/**
|
|
92
|
-
* Called before the editor is created
|
|
93
|
-
* Can be used to modify options
|
|
94
|
-
*/
|
|
95
|
-
onBeforeCreate?: (props: CreateEventProps) => void;
|
|
96
|
-
/**
|
|
97
|
-
* Called when the editor is created and ready
|
|
98
|
-
*/
|
|
99
|
-
onCreate?: (props: CreateEventProps) => void;
|
|
100
|
-
/**
|
|
101
|
-
* Called when editor view is mounted to DOM
|
|
102
|
-
*/
|
|
103
|
-
onMount?: (props: MountEventProps) => void;
|
|
104
|
-
/**
|
|
105
|
-
* Called when the document content changes
|
|
106
|
-
*/
|
|
107
|
-
onUpdate?: (props: TransactionEventProps) => void;
|
|
108
|
-
/**
|
|
109
|
-
* Called when selection changes (without content change)
|
|
110
|
-
*/
|
|
111
|
-
onSelectionUpdate?: (props: TransactionEventProps) => void;
|
|
112
|
-
/**
|
|
113
|
-
* Called on every transaction
|
|
114
|
-
*/
|
|
115
|
-
onTransaction?: (props: TransactionEventProps) => void;
|
|
116
|
-
/**
|
|
117
|
-
* Called when editor receives focus
|
|
118
|
-
*/
|
|
119
|
-
onFocus?: (props: FocusEventProps) => void;
|
|
120
|
-
/**
|
|
121
|
-
* Called when editor loses focus
|
|
122
|
-
*/
|
|
123
|
-
onBlur?: (props: FocusEventProps) => void;
|
|
124
|
-
/**
|
|
125
|
-
* Called before editor is destroyed
|
|
126
|
-
*/
|
|
127
|
-
onDestroy?: () => void;
|
|
128
|
-
/**
|
|
129
|
-
* Called when content doesn't match schema (AD-8)
|
|
130
|
-
* Use this to handle content validation errors gracefully
|
|
131
|
-
*/
|
|
132
|
-
onContentError?: (props: ContentErrorProps) => void;
|
|
133
|
-
/**
|
|
134
|
-
* Called when an extension throws an error (2.7: Extension Error Isolation)
|
|
135
|
-
* Allows graceful error handling without crashing the editor
|
|
136
|
-
*/
|
|
137
|
-
onError?: (props: ErrorEventProps) => void;
|
|
138
|
-
}
|
|
139
|
-
//# sourceMappingURL=EditorOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorOptions.d.ts","sourceRoot":"","sources":["../../src/types/EditorOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAC3B;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACxD;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,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