@tiptap/core 2.11.6 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +5 -1
- package/dist/index.cjs +5046 -5069
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3326 -0
- package/dist/index.d.ts +3326 -25
- package/dist/index.js +4930 -4975
- package/dist/index.js.map +1 -1
- package/dist/jsx-runtime/jsx-runtime.cjs +56 -0
- package/dist/jsx-runtime/jsx-runtime.cjs.map +1 -0
- package/dist/jsx-runtime/jsx-runtime.d.cts +22 -0
- package/dist/jsx-runtime/jsx-runtime.d.ts +22 -0
- package/dist/jsx-runtime/jsx-runtime.js +26 -0
- package/dist/jsx-runtime/jsx-runtime.js.map +1 -0
- package/jsx-runtime/index.cjs +1 -0
- package/jsx-runtime/index.d.cts +1 -0
- package/jsx-runtime/index.d.ts +1 -0
- package/jsx-runtime/index.js +1 -0
- package/package.json +28 -9
- package/src/CommandManager.ts +4 -11
- package/src/Editor.ts +219 -103
- package/src/EventEmitter.ts +7 -10
- package/src/Extendable.ts +484 -0
- package/src/Extension.ts +17 -492
- package/src/ExtensionManager.ts +88 -140
- package/src/InputRule.ts +40 -51
- package/src/Mark.ts +146 -623
- package/src/MarkView.ts +66 -0
- package/src/Node.ts +332 -825
- package/src/NodePos.ts +3 -5
- package/src/NodeView.ts +13 -23
- package/src/PasteRule.ts +46 -56
- package/src/Tracker.ts +8 -10
- package/src/commands/blur.ts +15 -13
- package/src/commands/clearContent.ts +13 -6
- package/src/commands/clearNodes.ts +33 -31
- package/src/commands/command.ts +2 -2
- package/src/commands/createParagraphNear.ts +6 -4
- package/src/commands/cut.ts +13 -11
- package/src/commands/deleteCurrentNode.ts +24 -22
- package/src/commands/deleteNode.ts +20 -18
- package/src/commands/deleteRange.ts +11 -9
- package/src/commands/deleteSelection.ts +6 -4
- package/src/commands/enter.ts +7 -5
- package/src/commands/exitCode.ts +6 -4
- package/src/commands/extendMarkRange.ts +16 -14
- package/src/commands/first.ts +3 -5
- package/src/commands/focus.ts +50 -53
- package/src/commands/forEach.ts +3 -3
- package/src/commands/insertContent.ts +14 -16
- package/src/commands/insertContentAt.ts +111 -95
- package/src/commands/join.ts +21 -13
- package/src/commands/joinItemBackward.ts +17 -19
- package/src/commands/joinItemForward.ts +17 -19
- package/src/commands/joinTextblockBackward.ts +6 -4
- package/src/commands/joinTextblockForward.ts +6 -4
- package/src/commands/keyboardShortcut.ts +30 -35
- package/src/commands/lift.ts +12 -10
- package/src/commands/liftEmptyBlock.ts +7 -5
- package/src/commands/liftListItem.ts +8 -6
- package/src/commands/newlineInCode.ts +6 -4
- package/src/commands/resetAttributes.ts +38 -43
- package/src/commands/scrollIntoView.ts +10 -8
- package/src/commands/selectAll.ts +11 -9
- package/src/commands/selectNodeBackward.ts +6 -4
- package/src/commands/selectNodeForward.ts +6 -4
- package/src/commands/selectParentNode.ts +6 -4
- package/src/commands/selectTextblockEnd.ts +6 -4
- package/src/commands/selectTextblockStart.ts +6 -4
- package/src/commands/setContent.ts +39 -38
- package/src/commands/setMark.ts +58 -60
- package/src/commands/setMeta.ts +8 -6
- package/src/commands/setNode.ts +34 -32
- package/src/commands/setNodeSelection.ts +12 -10
- package/src/commands/setTextSelection.ts +16 -14
- package/src/commands/sinkListItem.ts +8 -6
- package/src/commands/splitBlock.ts +70 -78
- package/src/commands/splitListItem.ts +95 -107
- package/src/commands/toggleList.ts +76 -74
- package/src/commands/toggleMark.ts +13 -11
- package/src/commands/toggleNode.ts +20 -18
- package/src/commands/toggleWrap.ts +12 -10
- package/src/commands/undoInputRule.ts +32 -30
- package/src/commands/unsetAllMarks.ts +17 -15
- package/src/commands/unsetMark.ts +29 -27
- package/src/commands/updateAttributes.ts +94 -102
- package/src/commands/wrapIn.ts +8 -6
- package/src/commands/wrapInList.ts +8 -6
- package/src/extensions/clipboardTextSerializer.ts +2 -4
- package/src/extensions/delete.ts +89 -0
- package/src/extensions/focusEvents.ts +2 -6
- package/src/extensions/index.ts +1 -0
- package/src/extensions/keymap.ts +54 -50
- package/src/extensions/paste.ts +0 -1
- package/src/extensions/tabindex.ts +1 -1
- package/src/helpers/combineTransactionSteps.ts +3 -6
- package/src/helpers/createChainableState.ts +2 -5
- package/src/helpers/createDocument.ts +2 -4
- package/src/helpers/createNodeFromContent.ts +7 -12
- package/src/helpers/defaultBlockAt.ts +1 -1
- package/src/helpers/findChildren.ts +2 -2
- package/src/helpers/findChildrenInRange.ts +3 -7
- package/src/helpers/findParentNode.ts +5 -3
- package/src/helpers/findParentNodeClosestToPos.ts +2 -2
- package/src/helpers/flattenExtensions.ts +30 -0
- package/src/helpers/generateHTML.ts +1 -1
- package/src/helpers/generateJSON.ts +1 -1
- package/src/helpers/generateText.ts +1 -1
- package/src/helpers/getAttributes.ts +3 -6
- package/src/helpers/getAttributesFromExtensions.ts +29 -38
- package/src/helpers/getChangedRanges.ts +15 -13
- package/src/helpers/getDebugJSON.ts +2 -2
- package/src/helpers/getExtensionField.ts +12 -12
- package/src/helpers/getHTMLFromFragment.ts +2 -1
- package/src/helpers/getMarkAttributes.ts +3 -6
- package/src/helpers/getMarkRange.ts +7 -17
- package/src/helpers/getMarkType.ts +2 -4
- package/src/helpers/getMarksBetween.ts +2 -2
- package/src/helpers/getNodeAtPosition.ts +2 -2
- package/src/helpers/getNodeAttributes.ts +3 -6
- package/src/helpers/getNodeType.ts +2 -4
- package/src/helpers/getRenderedAttributes.ts +3 -5
- package/src/helpers/getSchema.ts +5 -5
- package/src/helpers/getSchemaByResolvedExtensions.ts +47 -78
- package/src/helpers/getSchemaTypeByName.ts +1 -1
- package/src/helpers/getSchemaTypeNameByName.ts +1 -1
- package/src/helpers/getSplittedAttributes.ts +5 -5
- package/src/helpers/getText.ts +2 -2
- package/src/helpers/getTextBetween.ts +2 -2
- package/src/helpers/getTextContentFromNodes.ts +9 -12
- package/src/helpers/getTextSerializersFromSchema.ts +2 -2
- package/src/helpers/index.ts +3 -0
- package/src/helpers/injectExtensionAttributesToParseRule.ts +3 -3
- package/src/helpers/isActive.ts +2 -6
- package/src/helpers/isAtEndOfNode.ts +1 -1
- package/src/helpers/isAtStartOfNode.ts +1 -1
- package/src/helpers/isExtensionRulesEnabled.ts +2 -4
- package/src/helpers/isList.ts +2 -2
- package/src/helpers/isMarkActive.ts +3 -3
- package/src/helpers/isNodeActive.ts +3 -3
- package/src/helpers/isNodeEmpty.ts +3 -3
- package/src/helpers/posToDOMRect.ts +1 -1
- package/src/helpers/resolveExtensions.ts +25 -0
- package/src/helpers/resolveFocusPosition.ts +5 -16
- package/src/helpers/rewriteUnknownContent.ts +25 -24
- package/src/helpers/selectionToInsertionEnd.ts +2 -1
- package/src/helpers/sortExtensions.ts +26 -0
- package/src/helpers/splitExtensions.ts +4 -4
- package/src/index.ts +3 -7
- package/src/inputRules/markInputRule.ts +5 -8
- package/src/inputRules/nodeInputRule.ts +6 -12
- package/src/inputRules/textInputRule.ts +3 -5
- package/src/inputRules/textblockTypeInputRule.ts +6 -11
- package/src/inputRules/wrappingInputRule.ts +18 -23
- package/src/jsx-runtime.ts +64 -0
- package/src/pasteRules/markPasteRule.ts +5 -6
- package/src/pasteRules/nodePasteRule.ts +6 -11
- package/src/pasteRules/textPasteRule.ts +3 -5
- package/src/style.ts +0 -4
- package/src/types.ts +534 -179
- package/src/utilities/callOrReturn.ts +1 -1
- package/src/utilities/createStyleTag.ts +3 -1
- package/src/utilities/deleteProps.ts +7 -11
- package/src/utilities/elementFromString.ts +3 -0
- package/src/utilities/findDuplicates.ts +4 -1
- package/src/utilities/index.ts +1 -0
- package/src/utilities/isMacOS.ts +1 -3
- package/src/utilities/isiOS.ts +5 -10
- package/src/utilities/mergeAttributes.ts +16 -6
- package/src/utilities/removeDuplicates.ts +1 -3
- package/dist/CommandManager.d.ts +0 -21
- package/dist/CommandManager.d.ts.map +0 -1
- package/dist/Editor.d.ts +0 -166
- package/dist/Editor.d.ts.map +0 -1
- package/dist/EventEmitter.d.ts +0 -13
- package/dist/EventEmitter.d.ts.map +0 -1
- package/dist/Extension.d.ts +0 -345
- package/dist/Extension.d.ts.map +0 -1
- package/dist/ExtensionManager.d.ts +0 -57
- package/dist/ExtensionManager.d.ts.map +0 -1
- package/dist/InputRule.d.ts +0 -43
- package/dist/InputRule.d.ts.map +0 -1
- package/dist/Mark.d.ts +0 -453
- package/dist/Mark.d.ts.map +0 -1
- package/dist/Node.d.ts +0 -629
- package/dist/Node.d.ts.map +0 -1
- package/dist/NodePos.d.ts +0 -45
- package/dist/NodePos.d.ts.map +0 -1
- package/dist/NodeView.d.ts +0 -41
- package/dist/NodeView.d.ts.map +0 -1
- package/dist/PasteRule.d.ts +0 -51
- package/dist/PasteRule.d.ts.map +0 -1
- package/dist/Tracker.d.ts +0 -12
- package/dist/Tracker.d.ts.map +0 -1
- package/dist/commands/blur.d.ts +0 -14
- package/dist/commands/blur.d.ts.map +0 -1
- package/dist/commands/clearContent.d.ts +0 -15
- package/dist/commands/clearContent.d.ts.map +0 -1
- package/dist/commands/clearNodes.d.ts +0 -14
- package/dist/commands/clearNodes.d.ts.map +0 -1
- package/dist/commands/command.d.ts +0 -19
- package/dist/commands/command.d.ts.map +0 -1
- package/dist/commands/createParagraphNear.d.ts +0 -14
- package/dist/commands/createParagraphNear.d.ts.map +0 -1
- package/dist/commands/cut.d.ts +0 -21
- package/dist/commands/cut.d.ts.map +0 -1
- package/dist/commands/deleteCurrentNode.d.ts +0 -14
- package/dist/commands/deleteCurrentNode.d.ts.map +0 -1
- package/dist/commands/deleteNode.d.ts +0 -16
- package/dist/commands/deleteNode.d.ts.map +0 -1
- package/dist/commands/deleteRange.d.ts +0 -15
- package/dist/commands/deleteRange.d.ts.map +0 -1
- package/dist/commands/deleteSelection.d.ts +0 -14
- package/dist/commands/deleteSelection.d.ts.map +0 -1
- package/dist/commands/enter.d.ts +0 -14
- package/dist/commands/enter.d.ts.map +0 -1
- package/dist/commands/exitCode.d.ts +0 -14
- package/dist/commands/exitCode.d.ts.map +0 -1
- package/dist/commands/extendMarkRange.d.ts +0 -26
- package/dist/commands/extendMarkRange.d.ts.map +0 -1
- package/dist/commands/first.d.ts +0 -15
- package/dist/commands/first.d.ts.map +0 -1
- package/dist/commands/focus.d.ts +0 -28
- package/dist/commands/focus.d.ts.map +0 -1
- package/dist/commands/forEach.d.ts +0 -15
- package/dist/commands/forEach.d.ts.map +0 -1
- package/dist/commands/index.d.ts +0 -56
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/insertContent.d.ts +0 -35
- package/dist/commands/insertContent.d.ts.map +0 -1
- package/dist/commands/insertContentAt.d.ts +0 -48
- package/dist/commands/insertContentAt.d.ts.map +0 -1
- package/dist/commands/join.d.ts +0 -42
- package/dist/commands/join.d.ts.map +0 -1
- package/dist/commands/joinItemBackward.d.ts +0 -14
- package/dist/commands/joinItemBackward.d.ts.map +0 -1
- package/dist/commands/joinItemForward.d.ts +0 -14
- package/dist/commands/joinItemForward.d.ts.map +0 -1
- package/dist/commands/joinTextblockBackward.d.ts +0 -13
- package/dist/commands/joinTextblockBackward.d.ts.map +0 -1
- package/dist/commands/joinTextblockForward.d.ts +0 -13
- package/dist/commands/joinTextblockForward.d.ts.map +0 -1
- package/dist/commands/keyboardShortcut.d.ts +0 -15
- package/dist/commands/keyboardShortcut.d.ts.map +0 -1
- package/dist/commands/lift.d.ts +0 -18
- package/dist/commands/lift.d.ts.map +0 -1
- package/dist/commands/liftEmptyBlock.d.ts +0 -14
- package/dist/commands/liftEmptyBlock.d.ts.map +0 -1
- package/dist/commands/liftListItem.d.ts +0 -16
- package/dist/commands/liftListItem.d.ts.map +0 -1
- package/dist/commands/newlineInCode.d.ts +0 -14
- package/dist/commands/newlineInCode.d.ts.map +0 -1
- package/dist/commands/resetAttributes.d.ts +0 -17
- package/dist/commands/resetAttributes.d.ts.map +0 -1
- package/dist/commands/scrollIntoView.d.ts +0 -14
- package/dist/commands/scrollIntoView.d.ts.map +0 -1
- package/dist/commands/selectAll.d.ts +0 -14
- package/dist/commands/selectAll.d.ts.map +0 -1
- package/dist/commands/selectNodeBackward.d.ts +0 -14
- package/dist/commands/selectNodeBackward.d.ts.map +0 -1
- package/dist/commands/selectNodeForward.d.ts +0 -14
- package/dist/commands/selectNodeForward.d.ts.map +0 -1
- package/dist/commands/selectParentNode.d.ts +0 -14
- package/dist/commands/selectParentNode.d.ts.map +0 -1
- package/dist/commands/selectTextblockEnd.d.ts +0 -14
- package/dist/commands/selectTextblockEnd.d.ts.map +0 -1
- package/dist/commands/selectTextblockStart.d.ts +0 -14
- package/dist/commands/selectTextblockStart.d.ts.map +0 -1
- package/dist/commands/setContent.d.ts +0 -41
- package/dist/commands/setContent.d.ts.map +0 -1
- package/dist/commands/setMark.d.ts +0 -16
- package/dist/commands/setMark.d.ts.map +0 -1
- package/dist/commands/setMeta.d.ts +0 -17
- package/dist/commands/setMeta.d.ts.map +0 -1
- package/dist/commands/setNode.d.ts +0 -17
- package/dist/commands/setNode.d.ts.map +0 -1
- package/dist/commands/setNodeSelection.d.ts +0 -15
- package/dist/commands/setNodeSelection.d.ts.map +0 -1
- package/dist/commands/setTextSelection.d.ts +0 -15
- package/dist/commands/setTextSelection.d.ts.map +0 -1
- package/dist/commands/sinkListItem.d.ts +0 -16
- package/dist/commands/sinkListItem.d.ts.map +0 -1
- package/dist/commands/splitBlock.d.ts +0 -18
- package/dist/commands/splitBlock.d.ts.map +0 -1
- package/dist/commands/splitListItem.d.ts +0 -17
- package/dist/commands/splitListItem.d.ts.map +0 -1
- package/dist/commands/toggleList.d.ts +0 -19
- package/dist/commands/toggleList.d.ts.map +0 -1
- package/dist/commands/toggleMark.d.ts +0 -31
- package/dist/commands/toggleMark.d.ts.map +0 -1
- package/dist/commands/toggleNode.d.ts +0 -18
- package/dist/commands/toggleNode.d.ts.map +0 -1
- package/dist/commands/toggleWrap.d.ts +0 -17
- package/dist/commands/toggleWrap.d.ts.map +0 -1
- package/dist/commands/undoInputRule.d.ts +0 -14
- package/dist/commands/undoInputRule.d.ts.map +0 -1
- package/dist/commands/unsetAllMarks.d.ts +0 -14
- package/dist/commands/unsetAllMarks.d.ts.map +0 -1
- package/dist/commands/unsetMark.d.ts +0 -26
- package/dist/commands/unsetMark.d.ts.map +0 -1
- package/dist/commands/updateAttributes.d.ts +0 -25
- package/dist/commands/updateAttributes.d.ts.map +0 -1
- package/dist/commands/wrapIn.d.ts +0 -17
- package/dist/commands/wrapIn.d.ts.map +0 -1
- package/dist/commands/wrapInList.d.ts +0 -17
- package/dist/commands/wrapInList.d.ts.map +0 -1
- package/dist/extensions/clipboardTextSerializer.d.ts +0 -6
- package/dist/extensions/clipboardTextSerializer.d.ts.map +0 -1
- package/dist/extensions/commands.d.ts +0 -4
- package/dist/extensions/commands.d.ts.map +0 -1
- package/dist/extensions/drop.d.ts +0 -3
- package/dist/extensions/drop.d.ts.map +0 -1
- package/dist/extensions/editable.d.ts +0 -3
- package/dist/extensions/editable.d.ts.map +0 -1
- package/dist/extensions/focusEvents.d.ts +0 -5
- package/dist/extensions/focusEvents.d.ts.map +0 -1
- package/dist/extensions/index.d.ts +0 -9
- package/dist/extensions/index.d.ts.map +0 -1
- package/dist/extensions/keymap.d.ts +0 -3
- package/dist/extensions/keymap.d.ts.map +0 -1
- package/dist/extensions/paste.d.ts +0 -3
- package/dist/extensions/paste.d.ts.map +0 -1
- package/dist/extensions/tabindex.d.ts +0 -3
- package/dist/extensions/tabindex.d.ts.map +0 -1
- package/dist/helpers/combineTransactionSteps.d.ts +0 -11
- package/dist/helpers/combineTransactionSteps.d.ts.map +0 -1
- package/dist/helpers/createChainableState.d.ts +0 -11
- package/dist/helpers/createChainableState.d.ts.map +0 -1
- package/dist/helpers/createDocument.d.ts +0 -13
- package/dist/helpers/createDocument.d.ts.map +0 -1
- package/dist/helpers/createNodeFromContent.d.ts +0 -16
- package/dist/helpers/createNodeFromContent.d.ts.map +0 -1
- package/dist/helpers/defaultBlockAt.d.ts +0 -8
- package/dist/helpers/defaultBlockAt.d.ts.map +0 -1
- package/dist/helpers/findChildren.d.ts +0 -10
- package/dist/helpers/findChildren.d.ts.map +0 -1
- package/dist/helpers/findChildrenInRange.d.ts +0 -11
- package/dist/helpers/findChildrenInRange.d.ts.map +0 -1
- package/dist/helpers/findParentNode.d.ts +0 -17
- package/dist/helpers/findParentNode.d.ts.map +0 -1
- package/dist/helpers/findParentNodeClosestToPos.d.ts +0 -18
- package/dist/helpers/findParentNodeClosestToPos.d.ts.map +0 -1
- package/dist/helpers/generateHTML.d.ts +0 -9
- package/dist/helpers/generateHTML.d.ts.map +0 -1
- package/dist/helpers/generateJSON.d.ts +0 -9
- package/dist/helpers/generateJSON.d.ts.map +0 -1
- package/dist/helpers/generateText.d.ts +0 -13
- package/dist/helpers/generateText.d.ts.map +0 -1
- package/dist/helpers/getAttributes.d.ts +0 -10
- package/dist/helpers/getAttributes.d.ts.map +0 -1
- package/dist/helpers/getAttributesFromExtensions.d.ts +0 -7
- package/dist/helpers/getAttributesFromExtensions.d.ts.map +0 -1
- package/dist/helpers/getChangedRanges.d.ts +0 -12
- package/dist/helpers/getChangedRanges.d.ts.map +0 -1
- package/dist/helpers/getDebugJSON.d.ts +0 -9
- package/dist/helpers/getDebugJSON.d.ts.map +0 -1
- package/dist/helpers/getExtensionField.d.ts +0 -10
- package/dist/helpers/getExtensionField.d.ts.map +0 -1
- package/dist/helpers/getHTMLFromFragment.d.ts +0 -3
- package/dist/helpers/getHTMLFromFragment.d.ts.map +0 -1
- package/dist/helpers/getMarkAttributes.d.ts +0 -4
- package/dist/helpers/getMarkAttributes.d.ts.map +0 -1
- package/dist/helpers/getMarkRange.d.ts +0 -20
- package/dist/helpers/getMarkRange.d.ts.map +0 -1
- package/dist/helpers/getMarkType.d.ts +0 -3
- package/dist/helpers/getMarkType.d.ts.map +0 -1
- package/dist/helpers/getMarksBetween.d.ts +0 -4
- package/dist/helpers/getMarksBetween.d.ts.map +0 -1
- package/dist/helpers/getNodeAtPosition.d.ts +0 -12
- package/dist/helpers/getNodeAtPosition.d.ts.map +0 -1
- package/dist/helpers/getNodeAttributes.d.ts +0 -4
- package/dist/helpers/getNodeAttributes.d.ts.map +0 -1
- package/dist/helpers/getNodeType.d.ts +0 -3
- package/dist/helpers/getNodeType.d.ts.map +0 -1
- package/dist/helpers/getRenderedAttributes.d.ts +0 -4
- package/dist/helpers/getRenderedAttributes.d.ts.map +0 -1
- package/dist/helpers/getSchema.d.ts +0 -5
- package/dist/helpers/getSchema.d.ts.map +0 -1
- package/dist/helpers/getSchemaByResolvedExtensions.d.ts +0 -11
- package/dist/helpers/getSchemaByResolvedExtensions.d.ts.map +0 -1
- package/dist/helpers/getSchemaTypeByName.d.ts +0 -9
- package/dist/helpers/getSchemaTypeByName.d.ts.map +0 -1
- package/dist/helpers/getSchemaTypeNameByName.d.ts +0 -9
- package/dist/helpers/getSchemaTypeNameByName.d.ts.map +0 -1
- package/dist/helpers/getSplittedAttributes.d.ts +0 -10
- package/dist/helpers/getSplittedAttributes.d.ts.map +0 -1
- package/dist/helpers/getText.d.ts +0 -16
- package/dist/helpers/getText.d.ts.map +0 -1
- package/dist/helpers/getTextBetween.d.ts +0 -15
- package/dist/helpers/getTextBetween.d.ts.map +0 -1
- package/dist/helpers/getTextContentFromNodes.d.ts +0 -9
- package/dist/helpers/getTextContentFromNodes.d.ts.map +0 -1
- package/dist/helpers/getTextSerializersFromSchema.d.ts +0 -9
- package/dist/helpers/getTextSerializersFromSchema.d.ts.map +0 -1
- package/dist/helpers/index.d.ts +0 -52
- package/dist/helpers/index.d.ts.map +0 -1
- package/dist/helpers/injectExtensionAttributesToParseRule.d.ts +0 -10
- package/dist/helpers/injectExtensionAttributesToParseRule.d.ts.map +0 -1
- package/dist/helpers/isActive.d.ts +0 -3
- package/dist/helpers/isActive.d.ts.map +0 -1
- package/dist/helpers/isAtEndOfNode.d.ts +0 -3
- package/dist/helpers/isAtEndOfNode.d.ts.map +0 -1
- package/dist/helpers/isAtStartOfNode.d.ts +0 -3
- package/dist/helpers/isAtStartOfNode.d.ts.map +0 -1
- package/dist/helpers/isExtensionRulesEnabled.d.ts +0 -3
- package/dist/helpers/isExtensionRulesEnabled.d.ts.map +0 -1
- package/dist/helpers/isList.d.ts +0 -3
- package/dist/helpers/isList.d.ts.map +0 -1
- package/dist/helpers/isMarkActive.d.ts +0 -4
- package/dist/helpers/isMarkActive.d.ts.map +0 -1
- package/dist/helpers/isNodeActive.d.ts +0 -4
- package/dist/helpers/isNodeActive.d.ts.map +0 -1
- package/dist/helpers/isNodeEmpty.d.ts +0 -15
- package/dist/helpers/isNodeEmpty.d.ts.map +0 -1
- package/dist/helpers/isNodeSelection.d.ts +0 -3
- package/dist/helpers/isNodeSelection.d.ts.map +0 -1
- package/dist/helpers/isTextSelection.d.ts +0 -3
- package/dist/helpers/isTextSelection.d.ts.map +0 -1
- package/dist/helpers/posToDOMRect.d.ts +0 -3
- package/dist/helpers/posToDOMRect.d.ts.map +0 -1
- package/dist/helpers/resolveFocusPosition.d.ts +0 -5
- package/dist/helpers/resolveFocusPosition.d.ts.map +0 -1
- package/dist/helpers/rewriteUnknownContent.d.ts +0 -46
- package/dist/helpers/rewriteUnknownContent.d.ts.map +0 -1
- package/dist/helpers/selectionToInsertionEnd.d.ts +0 -3
- package/dist/helpers/selectionToInsertionEnd.d.ts.map +0 -1
- package/dist/helpers/splitExtensions.d.ts +0 -10
- package/dist/helpers/splitExtensions.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.umd.js +0 -5524
- package/dist/index.umd.js.map +0 -1
- package/dist/inputRules/index.d.ts +0 -6
- package/dist/inputRules/index.d.ts.map +0 -1
- package/dist/inputRules/markInputRule.d.ts +0 -14
- package/dist/inputRules/markInputRule.d.ts.map +0 -1
- package/dist/inputRules/nodeInputRule.d.ts +0 -24
- package/dist/inputRules/nodeInputRule.d.ts.map +0 -1
- package/dist/inputRules/textInputRule.d.ts +0 -11
- package/dist/inputRules/textInputRule.d.ts.map +0 -1
- package/dist/inputRules/textblockTypeInputRule.d.ts +0 -16
- package/dist/inputRules/textblockTypeInputRule.d.ts.map +0 -1
- package/dist/inputRules/wrappingInputRule.d.ts +0 -29
- package/dist/inputRules/wrappingInputRule.d.ts.map +0 -1
- package/dist/pasteRules/index.d.ts +0 -4
- package/dist/pasteRules/index.d.ts.map +0 -1
- package/dist/pasteRules/markPasteRule.d.ts +0 -14
- package/dist/pasteRules/markPasteRule.d.ts.map +0 -1
- package/dist/pasteRules/nodePasteRule.d.ts +0 -15
- package/dist/pasteRules/nodePasteRule.d.ts.map +0 -1
- package/dist/pasteRules/textPasteRule.d.ts +0 -11
- package/dist/pasteRules/textPasteRule.d.ts.map +0 -1
- package/dist/style.d.ts +0 -2
- package/dist/style.d.ts.map +0 -1
- package/dist/types.d.ts +0 -323
- package/dist/types.d.ts.map +0 -1
- package/dist/utilities/callOrReturn.d.ts +0 -10
- package/dist/utilities/callOrReturn.d.ts.map +0 -1
- package/dist/utilities/createStyleTag.d.ts +0 -2
- package/dist/utilities/createStyleTag.d.ts.map +0 -1
- package/dist/utilities/deleteProps.d.ts +0 -7
- package/dist/utilities/deleteProps.d.ts.map +0 -1
- package/dist/utilities/elementFromString.d.ts +0 -2
- package/dist/utilities/elementFromString.d.ts.map +0 -1
- package/dist/utilities/escapeForRegEx.d.ts +0 -2
- package/dist/utilities/escapeForRegEx.d.ts.map +0 -1
- package/dist/utilities/findDuplicates.d.ts +0 -2
- package/dist/utilities/findDuplicates.d.ts.map +0 -1
- package/dist/utilities/fromString.d.ts +0 -2
- package/dist/utilities/fromString.d.ts.map +0 -1
- package/dist/utilities/index.d.ts +0 -21
- package/dist/utilities/index.d.ts.map +0 -1
- package/dist/utilities/isAndroid.d.ts +0 -2
- package/dist/utilities/isAndroid.d.ts.map +0 -1
- package/dist/utilities/isEmptyObject.d.ts +0 -2
- package/dist/utilities/isEmptyObject.d.ts.map +0 -1
- package/dist/utilities/isFunction.d.ts +0 -2
- package/dist/utilities/isFunction.d.ts.map +0 -1
- package/dist/utilities/isMacOS.d.ts +0 -2
- package/dist/utilities/isMacOS.d.ts.map +0 -1
- package/dist/utilities/isNumber.d.ts +0 -2
- package/dist/utilities/isNumber.d.ts.map +0 -1
- package/dist/utilities/isPlainObject.d.ts +0 -2
- package/dist/utilities/isPlainObject.d.ts.map +0 -1
- package/dist/utilities/isRegExp.d.ts +0 -2
- package/dist/utilities/isRegExp.d.ts.map +0 -1
- package/dist/utilities/isString.d.ts +0 -2
- package/dist/utilities/isString.d.ts.map +0 -1
- package/dist/utilities/isiOS.d.ts +0 -2
- package/dist/utilities/isiOS.d.ts.map +0 -1
- package/dist/utilities/mergeAttributes.d.ts +0 -2
- package/dist/utilities/mergeAttributes.d.ts.map +0 -1
- package/dist/utilities/mergeDeep.d.ts +0 -2
- package/dist/utilities/mergeDeep.d.ts.map +0 -1
- package/dist/utilities/minMax.d.ts +0 -2
- package/dist/utilities/minMax.d.ts.map +0 -1
- package/dist/utilities/objectIncludes.d.ts +0 -9
- package/dist/utilities/objectIncludes.d.ts.map +0 -1
- package/dist/utilities/removeDuplicates.d.ts +0 -9
- package/dist/utilities/removeDuplicates.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/inputRules/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '@tiptap/pm/model';
|
|
2
|
-
import { InputRule, InputRuleFinder } from '../InputRule.js';
|
|
3
|
-
import { ExtendedRegExpMatchArray } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* Build an input rule that adds a mark when the
|
|
6
|
-
* matched text is typed into it.
|
|
7
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules
|
|
8
|
-
*/
|
|
9
|
-
export declare function markInputRule(config: {
|
|
10
|
-
find: InputRuleFinder;
|
|
11
|
-
type: MarkType;
|
|
12
|
-
getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
|
|
13
|
-
}): InputRule;
|
|
14
|
-
//# sourceMappingURL=markInputRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markInputRule.d.ts","sourceRoot":"","sources":["../../src/inputRules/markInputRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAG3C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAGtD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,IAAI,EAAE,eAAe,CAAA;IACrB,IAAI,EAAE,QAAQ,CAAA;IACd,aAAa,CAAC,EACV,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,CAAC,CAAC,KAAK,EAAE,wBAAwB,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAC1D,KAAK,GACL,IAAI,CAAA;CACT,aAgDA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NodeType } from '@tiptap/pm/model';
|
|
2
|
-
import { InputRule, InputRuleFinder } from '../InputRule.js';
|
|
3
|
-
import { ExtendedRegExpMatchArray } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* Build an input rule that adds a node when the
|
|
6
|
-
* matched text is typed into it.
|
|
7
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules
|
|
8
|
-
*/
|
|
9
|
-
export declare function nodeInputRule(config: {
|
|
10
|
-
/**
|
|
11
|
-
* The regex to match.
|
|
12
|
-
*/
|
|
13
|
-
find: InputRuleFinder;
|
|
14
|
-
/**
|
|
15
|
-
* The node type to add.
|
|
16
|
-
*/
|
|
17
|
-
type: NodeType;
|
|
18
|
-
/**
|
|
19
|
-
* A function that returns the attributes for the node
|
|
20
|
-
* can also be an object of attributes
|
|
21
|
-
*/
|
|
22
|
-
getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
|
|
23
|
-
}): InputRule;
|
|
24
|
-
//# sourceMappingURL=nodeInputRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodeInputRule.d.ts","sourceRoot":"","sources":["../../src/inputRules/nodeInputRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAGtD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC;;OAEG;IACH,IAAI,EAAE,eAAe,CAAA;IAErB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAA;IAEd;;;OAGG;IACH,aAAa,CAAC,EACV,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,CAAC,CAAC,KAAK,EAAE,wBAAwB,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAC1D,KAAK,GACL,IAAI,CAAA;CACT,aAwCA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InputRule, InputRuleFinder } from '../InputRule.js';
|
|
2
|
-
/**
|
|
3
|
-
* Build an input rule that replaces text when the
|
|
4
|
-
* matched text is typed into it.
|
|
5
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules
|
|
6
|
-
*/
|
|
7
|
-
export declare function textInputRule(config: {
|
|
8
|
-
find: InputRuleFinder;
|
|
9
|
-
replace: string;
|
|
10
|
-
}): InputRule;
|
|
11
|
-
//# sourceMappingURL=textInputRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInputRule.d.ts","sourceRoot":"","sources":["../../src/inputRules/textInputRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAE5D;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,aAyBA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NodeType } from '@tiptap/pm/model';
|
|
2
|
-
import { InputRule, InputRuleFinder } from '../InputRule.js';
|
|
3
|
-
import { ExtendedRegExpMatchArray } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* Build an input rule that changes the type of a textblock when the
|
|
6
|
-
* matched text is typed into it. When using a regular expresion you’ll
|
|
7
|
-
* probably want the regexp to start with `^`, so that the pattern can
|
|
8
|
-
* only occur at the start of a textblock.
|
|
9
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules
|
|
10
|
-
*/
|
|
11
|
-
export declare function textblockTypeInputRule(config: {
|
|
12
|
-
find: InputRuleFinder;
|
|
13
|
-
type: NodeType;
|
|
14
|
-
getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
|
|
15
|
-
}): InputRule;
|
|
16
|
-
//# sourceMappingURL=textblockTypeInputRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textblockTypeInputRule.d.ts","sourceRoot":"","sources":["../../src/inputRules/textblockTypeInputRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAGtD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE;IAC7C,IAAI,EAAE,eAAe,CAAA;IACrB,IAAI,EAAE,QAAQ,CAAA;IACd,aAAa,CAAC,EACV,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,CAAC,CAAC,KAAK,EAAE,wBAAwB,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAC1D,KAAK,GACL,IAAI,CAAA;CACT,aAgBA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode, NodeType } from '@tiptap/pm/model';
|
|
2
|
-
import { Editor } from '../Editor.js';
|
|
3
|
-
import { InputRule, InputRuleFinder } from '../InputRule.js';
|
|
4
|
-
import { ExtendedRegExpMatchArray } from '../types.js';
|
|
5
|
-
/**
|
|
6
|
-
* Build an input rule for automatically wrapping a textblock when a
|
|
7
|
-
* given string is typed. When using a regular expresion you’ll
|
|
8
|
-
* probably want the regexp to start with `^`, so that the pattern can
|
|
9
|
-
* only occur at the start of a textblock.
|
|
10
|
-
*
|
|
11
|
-
* `type` is the type of node to wrap in.
|
|
12
|
-
*
|
|
13
|
-
* By default, if there’s a node with the same type above the newly
|
|
14
|
-
* wrapped node, the rule will try to join those
|
|
15
|
-
* two nodes. You can pass a join predicate, which takes a regular
|
|
16
|
-
* expression match and the node before the wrapped node, and can
|
|
17
|
-
* return a boolean to indicate whether a join should happen.
|
|
18
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules
|
|
19
|
-
*/
|
|
20
|
-
export declare function wrappingInputRule(config: {
|
|
21
|
-
find: InputRuleFinder;
|
|
22
|
-
type: NodeType;
|
|
23
|
-
keepMarks?: boolean;
|
|
24
|
-
keepAttributes?: boolean;
|
|
25
|
-
editor?: Editor;
|
|
26
|
-
getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
|
|
27
|
-
joinPredicate?: (match: ExtendedRegExpMatchArray, node: ProseMirrorNode) => boolean;
|
|
28
|
-
}): InputRule;
|
|
29
|
-
//# sourceMappingURL=wrappingInputRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wrappingInputRule.d.ts","sourceRoot":"","sources":["../../src/inputRules/wrappingInputRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGpE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAGtD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IACxC,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EACZ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,CAAC,CAAC,KAAK,EAAE,wBAAwB,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAC1D,KAAK,GACL,IAAI,CACL;IACD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,EAAE,IAAI,EAAE,eAAe,KAAK,OAAO,CAAC;CACrF,aAgDA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pasteRules/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '@tiptap/pm/model';
|
|
2
|
-
import { PasteRule, PasteRuleFinder } from '../PasteRule.js';
|
|
3
|
-
import { ExtendedRegExpMatchArray } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* Build an paste rule that adds a mark when the
|
|
6
|
-
* matched text is pasted into it.
|
|
7
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#paste-rules
|
|
8
|
-
*/
|
|
9
|
-
export declare function markPasteRule(config: {
|
|
10
|
-
find: PasteRuleFinder;
|
|
11
|
-
type: MarkType;
|
|
12
|
-
getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray, event: ClipboardEvent) => Record<string, any>) | false | null;
|
|
13
|
-
}): PasteRule;
|
|
14
|
-
//# sourceMappingURL=markPasteRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markPasteRule.d.ts","sourceRoot":"","sources":["../../src/pasteRules/markPasteRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAG3C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAGtD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,IAAI,EAAE,eAAe,CAAA;IACrB,IAAI,EAAE,QAAQ,CAAA;IACd,aAAa,CAAC,EACV,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,CAAC,CAAC,KAAK,EAAE,wBAAwB,EAAE,KAAK,EAAE,cAAc,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACjF,KAAK,GACL,IAAI,CAAA;CACT,aAmDA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NodeType } from '@tiptap/pm/model';
|
|
2
|
-
import { PasteRule, PasteRuleFinder } from '../PasteRule.js';
|
|
3
|
-
import { ExtendedRegExpMatchArray, JSONContent } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* Build an paste rule that adds a node when the
|
|
6
|
-
* matched text is pasted into it.
|
|
7
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#paste-rules
|
|
8
|
-
*/
|
|
9
|
-
export declare function nodePasteRule(config: {
|
|
10
|
-
find: PasteRuleFinder;
|
|
11
|
-
type: NodeType;
|
|
12
|
-
getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray, event: ClipboardEvent) => Record<string, any>) | false | null;
|
|
13
|
-
getContent?: JSONContent[] | ((attrs: Record<string, any>) => JSONContent[]) | false | null;
|
|
14
|
-
}): PasteRule;
|
|
15
|
-
//# sourceMappingURL=nodePasteRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodePasteRule.d.ts","sourceRoot":"","sources":["../../src/pasteRules/nodePasteRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAGnE;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,IAAI,EAAE,eAAe,CAAA;IACrB,IAAI,EAAE,QAAQ,CAAA;IACd,aAAa,CAAC,EACV,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB,CAAC,CAAC,KAAK,EAAE,wBAAwB,EAAE,KAAK,EAAE,cAAc,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACjF,KAAK,GACL,IAAI,CAAA;IACR,UAAU,CAAC,EACP,WAAW,EAAE,GACb,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,WAAW,EAAE,CAAC,GAC/C,KAAK,GACL,IAAI,CAAA;CACT,aAwBA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PasteRule, PasteRuleFinder } from '../PasteRule.js';
|
|
2
|
-
/**
|
|
3
|
-
* Build an paste rule that replaces text when the
|
|
4
|
-
* matched text is pasted into it.
|
|
5
|
-
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#paste-rules
|
|
6
|
-
*/
|
|
7
|
-
export declare function textPasteRule(config: {
|
|
8
|
-
find: PasteRuleFinder;
|
|
9
|
-
replace: string;
|
|
10
|
-
}): PasteRule;
|
|
11
|
-
//# sourceMappingURL=textPasteRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textPasteRule.d.ts","sourceRoot":"","sources":["../../src/pasteRules/textPasteRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAE5D;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,aAyBA"}
|
package/dist/style.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const style = ".ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n}\n\n.ProseMirror [contenteditable=\"false\"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable=\"false\"] [contenteditable=\"true\"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 0 !important;\n height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}";
|
|
2
|
-
//# sourceMappingURL=style.d.ts.map
|
package/dist/style.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,+8CA0EhB,CAAA"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import { Mark as ProseMirrorMark, Node as ProseMirrorNode, ParseOptions, Slice } from '@tiptap/pm/model';
|
|
2
|
-
import { EditorState, Transaction } from '@tiptap/pm/state';
|
|
3
|
-
import { Mappable } from '@tiptap/pm/transform';
|
|
4
|
-
import { Decoration, DecorationAttrs, EditorProps, EditorView, NodeView, NodeViewConstructor, ViewMutationRecord } from '@tiptap/pm/view';
|
|
5
|
-
import { Editor } from './Editor.js';
|
|
6
|
-
import { Extension } from './Extension.js';
|
|
7
|
-
import { Commands, ExtensionConfig, MarkConfig, NodeConfig } from './index.js';
|
|
8
|
-
import { Mark } from './Mark.js';
|
|
9
|
-
import { Node } from './Node.js';
|
|
10
|
-
export type AnyConfig = ExtensionConfig | NodeConfig | MarkConfig;
|
|
11
|
-
export type AnyExtension = Extension | Node | Mark;
|
|
12
|
-
export type Extensions = AnyExtension[];
|
|
13
|
-
export type ParentConfig<T> = Partial<{
|
|
14
|
-
[P in keyof T]: Required<T>[P] extends (...args: any) => any ? (...args: Parameters<Required<T>[P]>) => ReturnType<Required<T>[P]> : T[P];
|
|
15
|
-
}>;
|
|
16
|
-
export type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
|
17
|
-
export type RemoveThis<T> = T extends (...args: any) => any ? (...args: Parameters<T>) => ReturnType<T> : T;
|
|
18
|
-
export type MaybeReturnType<T> = T extends (...args: any) => any ? ReturnType<T> : T;
|
|
19
|
-
export type MaybeThisParameterType<T> = Exclude<T, Primitive> extends (...args: any) => any ? ThisParameterType<Exclude<T, Primitive>> : any;
|
|
20
|
-
export interface EditorEvents {
|
|
21
|
-
beforeCreate: {
|
|
22
|
-
editor: Editor;
|
|
23
|
-
};
|
|
24
|
-
create: {
|
|
25
|
-
editor: Editor;
|
|
26
|
-
};
|
|
27
|
-
contentError: {
|
|
28
|
-
editor: Editor;
|
|
29
|
-
error: Error;
|
|
30
|
-
/**
|
|
31
|
-
* If called, will re-initialize the editor with the collaboration extension removed.
|
|
32
|
-
* This will prevent syncing back deletions of content not present in the current schema.
|
|
33
|
-
*/
|
|
34
|
-
disableCollaboration: () => void;
|
|
35
|
-
};
|
|
36
|
-
update: {
|
|
37
|
-
editor: Editor;
|
|
38
|
-
transaction: Transaction;
|
|
39
|
-
};
|
|
40
|
-
selectionUpdate: {
|
|
41
|
-
editor: Editor;
|
|
42
|
-
transaction: Transaction;
|
|
43
|
-
};
|
|
44
|
-
beforeTransaction: {
|
|
45
|
-
editor: Editor;
|
|
46
|
-
transaction: Transaction;
|
|
47
|
-
nextState: EditorState;
|
|
48
|
-
};
|
|
49
|
-
transaction: {
|
|
50
|
-
editor: Editor;
|
|
51
|
-
transaction: Transaction;
|
|
52
|
-
};
|
|
53
|
-
focus: {
|
|
54
|
-
editor: Editor;
|
|
55
|
-
event: FocusEvent;
|
|
56
|
-
transaction: Transaction;
|
|
57
|
-
};
|
|
58
|
-
blur: {
|
|
59
|
-
editor: Editor;
|
|
60
|
-
event: FocusEvent;
|
|
61
|
-
transaction: Transaction;
|
|
62
|
-
};
|
|
63
|
-
destroy: void;
|
|
64
|
-
paste: {
|
|
65
|
-
editor: Editor;
|
|
66
|
-
event: ClipboardEvent;
|
|
67
|
-
slice: Slice;
|
|
68
|
-
};
|
|
69
|
-
drop: {
|
|
70
|
-
editor: Editor;
|
|
71
|
-
event: DragEvent;
|
|
72
|
-
slice: Slice;
|
|
73
|
-
moved: boolean;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
export type EnableRules = (AnyExtension | string)[] | boolean;
|
|
77
|
-
export interface EditorOptions {
|
|
78
|
-
element: Element;
|
|
79
|
-
content: Content;
|
|
80
|
-
extensions: Extensions;
|
|
81
|
-
injectCSS: boolean;
|
|
82
|
-
injectNonce: string | undefined;
|
|
83
|
-
autofocus: FocusPosition;
|
|
84
|
-
editable: boolean;
|
|
85
|
-
editorProps: EditorProps;
|
|
86
|
-
parseOptions: ParseOptions;
|
|
87
|
-
coreExtensionOptions?: {
|
|
88
|
-
clipboardTextSerializer?: {
|
|
89
|
-
blockSeparator?: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
enableInputRules: EnableRules;
|
|
93
|
-
enablePasteRules: EnableRules;
|
|
94
|
-
/**
|
|
95
|
-
* Determines whether core extensions are enabled.
|
|
96
|
-
*
|
|
97
|
-
* If set to `false`, all core extensions will be disabled.
|
|
98
|
-
* To disable specific core extensions, provide an object where the keys are the extension names and the values are `false`.
|
|
99
|
-
* Extensions not listed in the object will remain enabled.
|
|
100
|
-
*
|
|
101
|
-
* @example
|
|
102
|
-
* // Disable all core extensions
|
|
103
|
-
* enabledCoreExtensions: false
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* // Disable only the keymap core extension
|
|
107
|
-
* enabledCoreExtensions: { keymap: false }
|
|
108
|
-
*
|
|
109
|
-
* @default true
|
|
110
|
-
*/
|
|
111
|
-
enableCoreExtensions?: boolean | Partial<Record<'editable' | 'clipboardTextSerializer' | 'commands' | 'focusEvents' | 'keymap' | 'tabindex' | 'drop' | 'paste', false>>;
|
|
112
|
-
/**
|
|
113
|
-
* If `true`, the editor will check the content for errors on initialization.
|
|
114
|
-
* Emitting the `contentError` event if the content is invalid.
|
|
115
|
-
* Which can be used to show a warning or error message to the user.
|
|
116
|
-
* @default false
|
|
117
|
-
*/
|
|
118
|
-
enableContentCheck: boolean;
|
|
119
|
-
onBeforeCreate: (props: EditorEvents['beforeCreate']) => void;
|
|
120
|
-
onCreate: (props: EditorEvents['create']) => void;
|
|
121
|
-
/**
|
|
122
|
-
* Called when the editor encounters an error while parsing the content.
|
|
123
|
-
* Only enabled if `enableContentCheck` is `true`.
|
|
124
|
-
*/
|
|
125
|
-
onContentError: (props: EditorEvents['contentError']) => void;
|
|
126
|
-
onUpdate: (props: EditorEvents['update']) => void;
|
|
127
|
-
onSelectionUpdate: (props: EditorEvents['selectionUpdate']) => void;
|
|
128
|
-
onTransaction: (props: EditorEvents['transaction']) => void;
|
|
129
|
-
onFocus: (props: EditorEvents['focus']) => void;
|
|
130
|
-
onBlur: (props: EditorEvents['blur']) => void;
|
|
131
|
-
onDestroy: (props: EditorEvents['destroy']) => void;
|
|
132
|
-
onPaste: (e: ClipboardEvent, slice: Slice) => void;
|
|
133
|
-
onDrop: (e: DragEvent, slice: Slice, moved: boolean) => void;
|
|
134
|
-
}
|
|
135
|
-
export type HTMLContent = string;
|
|
136
|
-
export type JSONContent = {
|
|
137
|
-
type?: string;
|
|
138
|
-
attrs?: Record<string, any>;
|
|
139
|
-
content?: JSONContent[];
|
|
140
|
-
marks?: {
|
|
141
|
-
type: string;
|
|
142
|
-
attrs?: Record<string, any>;
|
|
143
|
-
[key: string]: any;
|
|
144
|
-
}[];
|
|
145
|
-
text?: string;
|
|
146
|
-
[key: string]: any;
|
|
147
|
-
};
|
|
148
|
-
export type Content = HTMLContent | JSONContent | JSONContent[] | null;
|
|
149
|
-
export type CommandProps = {
|
|
150
|
-
editor: Editor;
|
|
151
|
-
tr: Transaction;
|
|
152
|
-
commands: SingleCommands;
|
|
153
|
-
can: () => CanCommands;
|
|
154
|
-
chain: () => ChainedCommands;
|
|
155
|
-
state: EditorState;
|
|
156
|
-
view: EditorView;
|
|
157
|
-
dispatch: ((args?: any) => any) | undefined;
|
|
158
|
-
};
|
|
159
|
-
export type Command = (props: CommandProps) => boolean;
|
|
160
|
-
export type CommandSpec = (...args: any[]) => Command;
|
|
161
|
-
export type KeyboardShortcutCommand = (props: {
|
|
162
|
-
editor: Editor;
|
|
163
|
-
}) => boolean;
|
|
164
|
-
export type Attribute = {
|
|
165
|
-
default?: any;
|
|
166
|
-
rendered?: boolean;
|
|
167
|
-
renderHTML?: ((attributes: Record<string, any>) => Record<string, any> | null) | null;
|
|
168
|
-
parseHTML?: ((element: HTMLElement) => any | null) | null;
|
|
169
|
-
keepOnSplit?: boolean;
|
|
170
|
-
isRequired?: boolean;
|
|
171
|
-
};
|
|
172
|
-
export type Attributes = {
|
|
173
|
-
[key: string]: Attribute;
|
|
174
|
-
};
|
|
175
|
-
export type ExtensionAttribute = {
|
|
176
|
-
type: string;
|
|
177
|
-
name: string;
|
|
178
|
-
attribute: Required<Attribute>;
|
|
179
|
-
};
|
|
180
|
-
export type GlobalAttributes = {
|
|
181
|
-
/**
|
|
182
|
-
* The node & mark types this attribute should be applied to.
|
|
183
|
-
*/
|
|
184
|
-
types: string[];
|
|
185
|
-
/**
|
|
186
|
-
* The attributes to add to the node or mark types.
|
|
187
|
-
*/
|
|
188
|
-
attributes: Record<string, Attribute | undefined>;
|
|
189
|
-
}[];
|
|
190
|
-
export type PickValue<T, K extends keyof T> = T[K];
|
|
191
|
-
export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
192
|
-
export type Diff<T extends keyof any, U extends keyof any> = ({
|
|
193
|
-
[P in T]: P;
|
|
194
|
-
} & {
|
|
195
|
-
[P in U]: never;
|
|
196
|
-
} & {
|
|
197
|
-
[x: string]: never;
|
|
198
|
-
})[T];
|
|
199
|
-
export type Overwrite<T, U> = Pick<T, Diff<keyof T, keyof U>> & U;
|
|
200
|
-
export type ValuesOf<T> = T[keyof T];
|
|
201
|
-
export type KeysWithTypeOf<T, Type> = {
|
|
202
|
-
[P in keyof T]: T[P] extends Type ? P : never;
|
|
203
|
-
}[keyof T];
|
|
204
|
-
export type DOMNode = InstanceType<typeof window.Node>;
|
|
205
|
-
/**
|
|
206
|
-
* prosemirror-view does not export the `type` property of `Decoration`.
|
|
207
|
-
* So, this defines the `DecorationType` interface to include the `type` property.
|
|
208
|
-
*/
|
|
209
|
-
export interface DecorationType {
|
|
210
|
-
spec: any;
|
|
211
|
-
map(mapping: Mappable, span: Decoration, offset: number, oldOffset: number): Decoration | null;
|
|
212
|
-
valid(node: Node, span: Decoration): boolean;
|
|
213
|
-
eq(other: DecorationType): boolean;
|
|
214
|
-
destroy(dom: DOMNode): void;
|
|
215
|
-
readonly attrs: DecorationAttrs;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* prosemirror-view does not export the `type` property of `Decoration`.
|
|
219
|
-
* This adds the `type` property to the `Decoration` type.
|
|
220
|
-
*/
|
|
221
|
-
export type DecorationWithType = Decoration & {
|
|
222
|
-
type: DecorationType;
|
|
223
|
-
};
|
|
224
|
-
export interface NodeViewProps extends NodeViewRendererProps {
|
|
225
|
-
decorations: readonly DecorationWithType[];
|
|
226
|
-
selected: boolean;
|
|
227
|
-
updateAttributes: (attributes: Record<string, any>) => void;
|
|
228
|
-
deleteNode: () => void;
|
|
229
|
-
}
|
|
230
|
-
export interface NodeViewRendererOptions {
|
|
231
|
-
stopEvent: ((props: {
|
|
232
|
-
event: Event;
|
|
233
|
-
}) => boolean) | null;
|
|
234
|
-
ignoreMutation: ((props: {
|
|
235
|
-
mutation: ViewMutationRecord;
|
|
236
|
-
}) => boolean) | null;
|
|
237
|
-
contentDOMElementTag: string;
|
|
238
|
-
}
|
|
239
|
-
export interface NodeViewRendererProps {
|
|
240
|
-
/**
|
|
241
|
-
* The node that is being rendered.
|
|
242
|
-
*/
|
|
243
|
-
node: Parameters<NodeViewConstructor>[0];
|
|
244
|
-
/**
|
|
245
|
-
* The editor's view.
|
|
246
|
-
*/
|
|
247
|
-
view: Parameters<NodeViewConstructor>[1];
|
|
248
|
-
/**
|
|
249
|
-
* A function that can be called to get the node's current position in the document.
|
|
250
|
-
*/
|
|
251
|
-
getPos: () => number;
|
|
252
|
-
/**
|
|
253
|
-
* is an array of node or inline decorations that are active around the node.
|
|
254
|
-
* They are automatically drawn in the normal way, and you will usually just want to ignore this, but they can also be used as a way to provide context information to the node view without adding it to the document itself.
|
|
255
|
-
*/
|
|
256
|
-
decorations: Parameters<NodeViewConstructor>[3];
|
|
257
|
-
/**
|
|
258
|
-
* holds the decorations for the node's content. You can safely ignore this if your view has no content or a contentDOM property, since the editor will draw the decorations on the content.
|
|
259
|
-
* But if you, for example, want to create a nested editor with the content, it may make sense to provide it with the inner decorations.
|
|
260
|
-
*/
|
|
261
|
-
innerDecorations: Parameters<NodeViewConstructor>[4];
|
|
262
|
-
/**
|
|
263
|
-
* The editor instance.
|
|
264
|
-
*/
|
|
265
|
-
editor: Editor;
|
|
266
|
-
/**
|
|
267
|
-
* The extension that is responsible for the node.
|
|
268
|
-
*/
|
|
269
|
-
extension: Node;
|
|
270
|
-
/**
|
|
271
|
-
* The HTML attributes that should be added to the node's DOM element.
|
|
272
|
-
*/
|
|
273
|
-
HTMLAttributes: Record<string, any>;
|
|
274
|
-
}
|
|
275
|
-
export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView;
|
|
276
|
-
export type AnyCommands = Record<string, (...args: any[]) => Command>;
|
|
277
|
-
export type UnionCommands<T = Command> = UnionToIntersection<ValuesOf<Pick<Commands<T>, KeysWithTypeOf<Commands<T>, object>>>>;
|
|
278
|
-
export type RawCommands = {
|
|
279
|
-
[Item in keyof UnionCommands]: UnionCommands<Command>[Item];
|
|
280
|
-
};
|
|
281
|
-
export type SingleCommands = {
|
|
282
|
-
[Item in keyof UnionCommands]: UnionCommands<boolean>[Item];
|
|
283
|
-
};
|
|
284
|
-
export type ChainedCommands = {
|
|
285
|
-
[Item in keyof UnionCommands]: UnionCommands<ChainedCommands>[Item];
|
|
286
|
-
} & {
|
|
287
|
-
run: () => boolean;
|
|
288
|
-
};
|
|
289
|
-
export type CanCommands = SingleCommands & {
|
|
290
|
-
chain: () => ChainedCommands;
|
|
291
|
-
};
|
|
292
|
-
export type FocusPosition = 'start' | 'end' | 'all' | number | boolean | null;
|
|
293
|
-
export type Range = {
|
|
294
|
-
from: number;
|
|
295
|
-
to: number;
|
|
296
|
-
};
|
|
297
|
-
export type NodeRange = {
|
|
298
|
-
node: ProseMirrorNode;
|
|
299
|
-
from: number;
|
|
300
|
-
to: number;
|
|
301
|
-
};
|
|
302
|
-
export type MarkRange = {
|
|
303
|
-
mark: ProseMirrorMark;
|
|
304
|
-
from: number;
|
|
305
|
-
to: number;
|
|
306
|
-
};
|
|
307
|
-
export type Predicate = (node: ProseMirrorNode) => boolean;
|
|
308
|
-
export type NodeWithPos = {
|
|
309
|
-
node: ProseMirrorNode;
|
|
310
|
-
pos: number;
|
|
311
|
-
};
|
|
312
|
-
export type TextSerializer = (props: {
|
|
313
|
-
node: ProseMirrorNode;
|
|
314
|
-
pos: number;
|
|
315
|
-
parent: ProseMirrorNode;
|
|
316
|
-
index: number;
|
|
317
|
-
range: Range;
|
|
318
|
-
}) => string;
|
|
319
|
-
export type ExtendedRegExpMatchArray = RegExpMatchArray & {
|
|
320
|
-
data?: Record<string, any>;
|
|
321
|
-
};
|
|
322
|
-
export type Dispatch = ((args?: any) => any) | undefined;
|
|
323
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,IAAI,eAAe,EACvB,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,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;CACd,KAAK,MAAM,CAAC;AAEb,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,GAAG;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MaybeReturnType } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Optionally calls `value` as a function.
|
|
4
|
-
* Otherwise it is returned directly.
|
|
5
|
-
* @param value Function or any value.
|
|
6
|
-
* @param context Optional context to bind to function.
|
|
7
|
-
* @param props Optional props to pass to function.
|
|
8
|
-
*/
|
|
9
|
-
export declare function callOrReturn<T>(value: T, context?: any, ...props: any[]): MaybeReturnType<T>;
|
|
10
|
-
//# sourceMappingURL=callOrReturn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"callOrReturn.d.ts","sourceRoot":"","sources":["../../src/utilities/callOrReturn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAG7C;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,GAAE,GAAe,EAAE,GAAG,KAAK,EAAE,GAAG,EAAE,GAAG,eAAe,CAAC,CAAC,CAAC,CAUvG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createStyleTag.d.ts","sourceRoot":"","sources":["../../src/utilities/createStyleTag.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAkB/F"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Remove a property or an array of properties from an object
|
|
3
|
-
* @param obj Object
|
|
4
|
-
* @param key Key to remove
|
|
5
|
-
*/
|
|
6
|
-
export declare function deleteProps(obj: Record<string, any>, propOrProps: string | string[]): Record<string, any>;
|
|
7
|
-
//# sourceMappingURL=deleteProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteProps.d.ts","sourceRoot":"","sources":["../../src/utilities/deleteProps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAczG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"elementFromString.d.ts","sourceRoot":"","sources":["../../src/utilities/elementFromString.ts"],"names":[],"mappings":"AAgBA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAO5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"escapeForRegEx.d.ts","sourceRoot":"","sources":["../../src/utilities/escapeForRegEx.ts"],"names":[],"mappings":"AACA,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAErD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"findDuplicates.d.ts","sourceRoot":"","sources":["../../src/utilities/findDuplicates.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE,CAIlD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fromString.d.ts","sourceRoot":"","sources":["../../src/utilities/fromString.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,CAkB1C"}
|