roosterjs-content-model-plugins 9.43.0 → 9.45.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/lib/announce/AnnouncePlugin.d.ts +32 -32
- package/lib/announce/AnnouncePlugin.js +65 -65
- package/lib/announce/AnnouncePlugin.js.map +1 -1
- package/lib/announce/tableSelectionUtils.d.ts +17 -17
- package/lib/announce/tableSelectionUtils.js +68 -71
- package/lib/announce/tableSelectionUtils.js.map +1 -1
- package/lib/autoFormat/AutoFormatPlugin.d.ts +59 -59
- package/lib/autoFormat/AutoFormatPlugin.js +298 -298
- package/lib/autoFormat/AutoFormatPlugin.js.map +1 -1
- package/lib/autoFormat/horizontalLine/checkAndInsertHorizontalLine.d.ts +24 -24
- package/lib/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js +91 -91
- package/lib/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js.map +1 -1
- package/lib/autoFormat/hyphen/transformHyphen.d.ts +5 -5
- package/lib/autoFormat/hyphen/transformHyphen.js +34 -34
- package/lib/autoFormat/hyphen/transformHyphen.js.map +1 -1
- package/lib/autoFormat/interface/AutoFormatOptions.d.ts +34 -34
- package/lib/autoFormat/interface/AutoFormatOptions.js +2 -2
- package/lib/autoFormat/interface/AutoFormatOptions.js.map +1 -1
- package/lib/autoFormat/link/createLink.d.ts +5 -5
- package/lib/autoFormat/link/createLink.js +35 -35
- package/lib/autoFormat/link/createLink.js.map +1 -1
- package/lib/autoFormat/link/unlink.d.ts +5 -5
- package/lib/autoFormat/link/unlink.js +18 -18
- package/lib/autoFormat/link/unlink.js.map +1 -1
- package/lib/autoFormat/list/convertAlphaToDecimals.d.ts +7 -7
- package/lib/autoFormat/list/convertAlphaToDecimals.js +22 -22
- package/lib/autoFormat/list/convertAlphaToDecimals.js.map +1 -1
- package/lib/autoFormat/list/getIndex.d.ts +4 -4
- package/lib/autoFormat/list/getIndex.js +13 -13
- package/lib/autoFormat/list/getIndex.js.map +1 -1
- package/lib/autoFormat/list/getListTypeStyle.d.ts +14 -14
- package/lib/autoFormat/list/getListTypeStyle.js +99 -99
- package/lib/autoFormat/list/getListTypeStyle.js.map +1 -1
- package/lib/autoFormat/list/getNumberingListStyle.d.ts +4 -4
- package/lib/autoFormat/list/getNumberingListStyle.js +153 -153
- package/lib/autoFormat/list/getNumberingListStyle.js.map +1 -1
- package/lib/autoFormat/list/keyboardListTrigger.d.ts +5 -5
- package/lib/autoFormat/list/keyboardListTrigger.js +49 -49
- package/lib/autoFormat/list/keyboardListTrigger.js.map +1 -1
- package/lib/autoFormat/numbers/transformFraction.d.ts +5 -5
- package/lib/autoFormat/numbers/transformFraction.js +27 -27
- package/lib/autoFormat/numbers/transformFraction.js.map +1 -1
- package/lib/autoFormat/numbers/transformOrdinals.d.ts +4 -4
- package/lib/autoFormat/numbers/transformOrdinals.js +65 -64
- package/lib/autoFormat/numbers/transformOrdinals.js.map +1 -1
- package/lib/contextMenuBase/ContextMenuPluginBase.d.ts +58 -58
- package/lib/contextMenuBase/ContextMenuPluginBase.js +83 -83
- package/lib/contextMenuBase/ContextMenuPluginBase.js.map +1 -1
- package/lib/customReplace/CustomReplacePlugin.d.ts +61 -61
- package/lib/customReplace/CustomReplacePlugin.js +86 -86
- package/lib/customReplace/CustomReplacePlugin.js.map +1 -1
- package/lib/edit/EditOptions.d.ts +78 -45
- package/lib/edit/EditOptions.js +2 -2
- package/lib/edit/EditOptions.js.map +1 -1
- package/lib/edit/EditPlugin.d.ts +60 -60
- package/lib/edit/EditPlugin.js +256 -238
- package/lib/edit/EditPlugin.js.map +1 -1
- package/lib/edit/deleteSteps/deleteAllSegmentBefore.d.ts +5 -5
- package/lib/edit/deleteSteps/deleteAllSegmentBefore.js +23 -23
- package/lib/edit/deleteSteps/deleteAllSegmentBefore.js.map +1 -1
- package/lib/edit/deleteSteps/deleteCollapsedSelection.d.ts +10 -10
- package/lib/edit/deleteSteps/deleteCollapsedSelection.js +114 -114
- package/lib/edit/deleteSteps/deleteCollapsedSelection.js.map +1 -1
- package/lib/edit/deleteSteps/deleteEmptyQuote.d.ts +5 -5
- package/lib/edit/deleteSteps/deleteEmptyQuote.js +62 -62
- package/lib/edit/deleteSteps/deleteEmptyQuote.js.map +1 -1
- package/lib/edit/deleteSteps/deleteList.d.ts +5 -5
- package/lib/edit/deleteSteps/deleteList.js +58 -28
- package/lib/edit/deleteSteps/deleteList.js.map +1 -1
- package/lib/edit/deleteSteps/deleteParagraphStyle.d.ts +5 -5
- package/lib/edit/deleteSteps/deleteParagraphStyle.js +36 -36
- package/lib/edit/deleteSteps/deleteParagraphStyle.js.map +1 -1
- package/lib/edit/deleteSteps/deleteWordSelection.d.ts +9 -9
- package/lib/edit/deleteSteps/deleteWordSelection.js +172 -172
- package/lib/edit/deleteSteps/deleteWordSelection.js.map +1 -1
- package/lib/edit/handleKeyboardEventCommon.d.ts +14 -14
- package/lib/edit/handleKeyboardEventCommon.js +71 -71
- package/lib/edit/handleKeyboardEventCommon.js.map +1 -1
- package/lib/edit/inputSteps/handleAutoLink.d.ts +5 -5
- package/lib/edit/inputSteps/handleAutoLink.js +24 -24
- package/lib/edit/inputSteps/handleAutoLink.js.map +1 -1
- package/lib/edit/inputSteps/handleEnterOnList.d.ts +5 -5
- package/lib/edit/inputSteps/handleEnterOnList.js +71 -71
- package/lib/edit/inputSteps/handleEnterOnList.js.map +1 -1
- package/lib/edit/inputSteps/handleEnterOnParagraph.d.ts +5 -5
- package/lib/edit/inputSteps/handleEnterOnParagraph.js +21 -21
- package/lib/edit/inputSteps/handleEnterOnParagraph.js.map +1 -1
- package/lib/edit/keyboardDelete.d.ts +11 -11
- package/lib/edit/keyboardDelete.js +114 -114
- package/lib/edit/keyboardDelete.js.map +1 -1
- package/lib/edit/keyboardEnter.d.ts +5 -5
- package/lib/edit/keyboardEnter.js +54 -54
- package/lib/edit/keyboardEnter.js.map +1 -1
- package/lib/edit/keyboardInput.d.ts +5 -5
- package/lib/edit/keyboardInput.js +64 -64
- package/lib/edit/keyboardInput.js.map +1 -1
- package/lib/edit/keyboardTab.d.ts +6 -5
- package/lib/edit/keyboardTab.js +74 -64
- package/lib/edit/keyboardTab.js.map +1 -1
- package/lib/edit/tabUtils/handleTabOnList.d.ts +7 -7
- package/lib/edit/tabUtils/handleTabOnList.js +33 -33
- package/lib/edit/tabUtils/handleTabOnList.js.map +1 -1
- package/lib/edit/tabUtils/handleTabOnParagraph.d.ts +17 -17
- package/lib/edit/tabUtils/handleTabOnParagraph.js +94 -94
- package/lib/edit/tabUtils/handleTabOnParagraph.js.map +1 -1
- package/lib/edit/tabUtils/handleTabOnTable.d.ts +6 -6
- package/lib/edit/tabUtils/handleTabOnTable.js +25 -25
- package/lib/edit/tabUtils/handleTabOnTable.js.map +1 -1
- package/lib/edit/tabUtils/handleTabOnTableCell.d.ts +6 -6
- package/lib/edit/tabUtils/handleTabOnTableCell.js +43 -43
- package/lib/edit/tabUtils/handleTabOnTableCell.js.map +1 -1
- package/lib/edit/utils/getLeafSiblingBlock.d.ts +45 -45
- package/lib/edit/utils/getLeafSiblingBlock.js +72 -72
- package/lib/edit/utils/getLeafSiblingBlock.js.map +1 -1
- package/lib/edit/utils/preserveParagraphFormat.d.ts +9 -9
- package/lib/edit/utils/preserveParagraphFormat.js +23 -23
- package/lib/edit/utils/preserveParagraphFormat.js.map +1 -1
- package/lib/edit/utils/splitParagraph.d.ts +12 -12
- package/lib/edit/utils/splitParagraph.js +40 -40
- package/lib/edit/utils/splitParagraph.js.map +1 -1
- package/lib/findReplace/FindReplacePlugin.d.ts +42 -42
- package/lib/findReplace/FindReplacePlugin.js +97 -96
- package/lib/findReplace/FindReplacePlugin.js.map +1 -1
- package/lib/findReplace/createFindReplaceContext.d.ts +8 -8
- package/lib/findReplace/createFindReplaceContext.js +25 -25
- package/lib/findReplace/createFindReplaceContext.js.map +1 -1
- package/lib/findReplace/find.d.ts +11 -11
- package/lib/findReplace/find.js +19 -19
- package/lib/findReplace/find.js.map +1 -1
- package/lib/findReplace/moveHighlight.d.ts +9 -9
- package/lib/findReplace/moveHighlight.js +20 -20
- package/lib/findReplace/moveHighlight.js.map +1 -1
- package/lib/findReplace/replace.d.ts +10 -10
- package/lib/findReplace/replace.js +47 -47
- package/lib/findReplace/replace.js.map +1 -1
- package/lib/findReplace/types/FindReplaceContext.d.ts +38 -38
- package/lib/findReplace/types/FindReplaceContext.js +2 -2
- package/lib/findReplace/types/FindReplaceContext.js.map +1 -1
- package/lib/findReplace/types/FindReplaceHighlightOptions.d.ts +13 -13
- package/lib/findReplace/types/FindReplaceHighlightOptions.js +2 -2
- package/lib/findReplace/types/FindReplaceHighlightOptions.js.map +1 -1
- package/lib/findReplace/types/HighlightHelper.d.ts +23 -23
- package/lib/findReplace/types/HighlightHelper.js +2 -2
- package/lib/findReplace/types/HighlightHelper.js.map +1 -1
- package/lib/findReplace/utils/HighlightHelperImpl.d.ts +9 -9
- package/lib/findReplace/utils/HighlightHelperImpl.js +64 -64
- package/lib/findReplace/utils/HighlightHelperImpl.js.map +1 -1
- package/lib/findReplace/utils/constants.d.ts +28 -28
- package/lib/findReplace/utils/constants.js +31 -31
- package/lib/findReplace/utils/constants.js.map +1 -1
- package/lib/findReplace/utils/replaceTextInRange.d.ts +4 -4
- package/lib/findReplace/utils/replaceTextInRange.js +70 -70
- package/lib/findReplace/utils/replaceTextInRange.js.map +1 -1
- package/lib/findReplace/utils/setMarkedIndex.d.ts +6 -6
- package/lib/findReplace/utils/setMarkedIndex.js +28 -28
- package/lib/findReplace/utils/setMarkedIndex.js.map +1 -1
- package/lib/findReplace/utils/sortRanges.d.ts +5 -5
- package/lib/findReplace/utils/sortRanges.js +22 -22
- package/lib/findReplace/utils/sortRanges.js.map +1 -1
- package/lib/findReplace/utils/updateHighlight.d.ts +6 -6
- package/lib/findReplace/utils/updateHighlight.js +47 -47
- package/lib/findReplace/utils/updateHighlight.js.map +1 -1
- package/lib/hiddenProperty/HiddenPropertyOptions.d.ts +11 -11
- package/lib/hiddenProperty/HiddenPropertyOptions.js +2 -2
- package/lib/hiddenProperty/HiddenPropertyOptions.js.map +1 -1
- package/lib/hiddenProperty/HiddenPropertyPlugin.d.ts +38 -38
- package/lib/hiddenProperty/HiddenPropertyPlugin.js +57 -57
- package/lib/hiddenProperty/HiddenPropertyPlugin.js.map +1 -1
- package/lib/hiddenProperty/fixupHiddenProperties.d.ts +9 -9
- package/lib/hiddenProperty/fixupHiddenProperties.js +37 -37
- package/lib/hiddenProperty/fixupHiddenProperties.js.map +1 -1
- package/lib/hyperlink/HyperlinkPlugin.d.ts +48 -48
- package/lib/hyperlink/HyperlinkPlugin.js +143 -143
- package/lib/hyperlink/HyperlinkPlugin.js.map +1 -1
- package/lib/hyperlink/HyperlinkToolTip.d.ts +7 -7
- package/lib/hyperlink/HyperlinkToolTip.js +2 -2
- package/lib/hyperlink/HyperlinkToolTip.js.map +1 -1
- package/lib/imageEdit/Cropper/createImageCropper.d.ts +10 -10
- package/lib/imageEdit/Cropper/createImageCropper.js +79 -79
- package/lib/imageEdit/Cropper/createImageCropper.js.map +1 -1
- package/lib/imageEdit/Cropper/cropperContext.d.ts +8 -8
- package/lib/imageEdit/Cropper/cropperContext.js +72 -72
- package/lib/imageEdit/Cropper/cropperContext.js.map +1 -1
- package/lib/imageEdit/ImageEditPlugin.d.ts +86 -86
- package/lib/imageEdit/ImageEditPlugin.js +584 -585
- package/lib/imageEdit/ImageEditPlugin.js.map +1 -1
- package/lib/imageEdit/Resizer/createImageResizer.d.ts +12 -12
- package/lib/imageEdit/Resizer/createImageResizer.js +88 -88
- package/lib/imageEdit/Resizer/createImageResizer.js.map +1 -1
- package/lib/imageEdit/Resizer/resizerContext.d.ts +8 -8
- package/lib/imageEdit/Resizer/resizerContext.js +60 -60
- package/lib/imageEdit/Resizer/resizerContext.js.map +1 -1
- package/lib/imageEdit/Resizer/updateSideHandlesVisibility.d.ts +4 -4
- package/lib/imageEdit/Resizer/updateSideHandlesVisibility.js +16 -16
- package/lib/imageEdit/Resizer/updateSideHandlesVisibility.js.map +1 -1
- package/lib/imageEdit/Rotator/createImageRotator.d.ts +6 -6
- package/lib/imageEdit/Rotator/createImageRotator.js +75 -75
- package/lib/imageEdit/Rotator/createImageRotator.js.map +1 -1
- package/lib/imageEdit/Rotator/rotatorContext.d.ts +8 -8
- package/lib/imageEdit/Rotator/rotatorContext.js +35 -35
- package/lib/imageEdit/Rotator/rotatorContext.js.map +1 -1
- package/lib/imageEdit/Rotator/updateRotateHandle.d.ts +7 -7
- package/lib/imageEdit/Rotator/updateRotateHandle.js +55 -55
- package/lib/imageEdit/Rotator/updateRotateHandle.js.map +1 -1
- package/lib/imageEdit/constants/constants.d.ts +77 -77
- package/lib/imageEdit/constants/constants.js +84 -84
- package/lib/imageEdit/constants/constants.js.map +1 -1
- package/lib/imageEdit/types/DragAndDropContext.d.ts +39 -39
- package/lib/imageEdit/types/DragAndDropContext.js +2 -2
- package/lib/imageEdit/types/DragAndDropContext.js.map +1 -1
- package/lib/imageEdit/types/GeneratedImageSize.d.ts +33 -33
- package/lib/imageEdit/types/GeneratedImageSize.js +2 -2
- package/lib/imageEdit/types/GeneratedImageSize.js.map +1 -1
- package/lib/imageEdit/types/ImageAndParagraph.d.ts +8 -8
- package/lib/imageEdit/types/ImageAndParagraph.js +2 -2
- package/lib/imageEdit/types/ImageAndParagraph.js.map +1 -1
- package/lib/imageEdit/types/ImageEditElementClass.d.ts +30 -30
- package/lib/imageEdit/types/ImageEditElementClass.js +34 -34
- package/lib/imageEdit/types/ImageEditElementClass.js.map +1 -1
- package/lib/imageEdit/types/ImageEditOptions.d.ts +55 -55
- package/lib/imageEdit/types/ImageEditOptions.js +2 -2
- package/lib/imageEdit/types/ImageEditOptions.js.map +1 -1
- package/lib/imageEdit/types/ImageHtmlOptions.d.ts +22 -22
- package/lib/imageEdit/types/ImageHtmlOptions.js +2 -2
- package/lib/imageEdit/types/ImageHtmlOptions.js.map +1 -1
- package/lib/imageEdit/utils/applyChange.d.ts +13 -13
- package/lib/imageEdit/utils/applyChange.js +72 -72
- package/lib/imageEdit/utils/applyChange.js.map +1 -1
- package/lib/imageEdit/utils/canRegenerateImage.d.ts +8 -8
- package/lib/imageEdit/utils/canRegenerateImage.js +31 -31
- package/lib/imageEdit/utils/canRegenerateImage.js.map +1 -1
- package/lib/imageEdit/utils/checkEditInfoState.d.ts +41 -41
- package/lib/imageEdit/utils/checkEditInfoState.js +52 -52
- package/lib/imageEdit/utils/checkEditInfoState.js.map +1 -1
- package/lib/imageEdit/utils/createImageWrapper.d.ts +18 -18
- package/lib/imageEdit/utils/createImageWrapper.js +91 -91
- package/lib/imageEdit/utils/createImageWrapper.js.map +1 -1
- package/lib/imageEdit/utils/doubleCheckResize.d.ts +12 -12
- package/lib/imageEdit/utils/doubleCheckResize.js +35 -35
- package/lib/imageEdit/utils/doubleCheckResize.js.map +1 -1
- package/lib/imageEdit/utils/filterInnerResizerHandles.d.ts +4 -4
- package/lib/imageEdit/utils/filterInnerResizerHandles.js +19 -19
- package/lib/imageEdit/utils/filterInnerResizerHandles.js.map +1 -1
- package/lib/imageEdit/utils/findEditingImage.d.ts +10 -10
- package/lib/imageEdit/utils/findEditingImage.js +39 -39
- package/lib/imageEdit/utils/findEditingImage.js.map +1 -1
- package/lib/imageEdit/utils/generateDataURL.d.ts +13 -13
- package/lib/imageEdit/utils/generateDataURL.js +56 -49
- package/lib/imageEdit/utils/generateDataURL.js.map +1 -1
- package/lib/imageEdit/utils/generateImageSize.d.ts +15 -15
- package/lib/imageEdit/utils/generateImageSize.js +45 -45
- package/lib/imageEdit/utils/generateImageSize.js.map +1 -1
- package/lib/imageEdit/utils/getDropAndDragHelpers.d.ts +10 -10
- package/lib/imageEdit/utils/getDropAndDragHelpers.js +23 -23
- package/lib/imageEdit/utils/getDropAndDragHelpers.js.map +1 -1
- package/lib/imageEdit/utils/getHTMLImageOptions.d.ts +7 -7
- package/lib/imageEdit/utils/getHTMLImageOptions.js +22 -22
- package/lib/imageEdit/utils/getHTMLImageOptions.js.map +1 -1
- package/lib/imageEdit/utils/getSelectedImage.d.ts +6 -6
- package/lib/imageEdit/utils/getSelectedImage.js +20 -20
- package/lib/imageEdit/utils/getSelectedImage.js.map +1 -1
- package/lib/imageEdit/utils/imageEditUtils.d.ts +47 -47
- package/lib/imageEdit/utils/imageEditUtils.js +115 -115
- package/lib/imageEdit/utils/imageEditUtils.js.map +1 -1
- package/lib/imageEdit/utils/normalizeImageSelection.d.ts +9 -9
- package/lib/imageEdit/utils/normalizeImageSelection.js +31 -31
- package/lib/imageEdit/utils/normalizeImageSelection.js.map +1 -1
- package/lib/imageEdit/utils/updateHandleCursor.d.ts +7 -7
- package/lib/imageEdit/utils/updateHandleCursor.js +33 -33
- package/lib/imageEdit/utils/updateHandleCursor.js.map +1 -1
- package/lib/imageEdit/utils/updateImageEditInfo.d.ts +10 -10
- package/lib/imageEdit/utils/updateImageEditInfo.js +52 -52
- package/lib/imageEdit/utils/updateImageEditInfo.js.map +1 -1
- package/lib/imageEdit/utils/updateWrapper.d.ts +6 -6
- package/lib/imageEdit/utils/updateWrapper.js +86 -86
- package/lib/imageEdit/utils/updateWrapper.js.map +1 -1
- package/lib/index.d.ts +38 -38
- package/lib/index.js +63 -63
- package/lib/index.js.map +1 -1
- package/lib/markdown/MarkdownPlugin.d.ts +64 -64
- package/lib/markdown/MarkdownPlugin.js +195 -195
- package/lib/markdown/MarkdownPlugin.js.map +1 -1
- package/lib/markdown/utils/setFormat.d.ts +5 -5
- package/lib/markdown/utils/setFormat.js +46 -46
- package/lib/markdown/utils/setFormat.js.map +1 -1
- package/lib/paste/DefaultSanitizers.d.ts +10 -10
- package/lib/paste/DefaultSanitizers.js +24 -24
- package/lib/paste/DefaultSanitizers.js.map +1 -1
- package/lib/paste/Excel/processPastedContentFromExcel.d.ts +30 -30
- package/lib/paste/Excel/processPastedContentFromExcel.js +140 -140
- package/lib/paste/Excel/processPastedContentFromExcel.js.map +1 -1
- package/lib/paste/PastePlugin.d.ts +44 -44
- package/lib/paste/PastePlugin.js +146 -138
- package/lib/paste/PastePlugin.js.map +1 -1
- package/lib/paste/PowerPoint/processPastedContentFromPowerPoint.d.ts +7 -7
- package/lib/paste/PowerPoint/processPastedContentFromPowerPoint.js +146 -146
- package/lib/paste/PowerPoint/processPastedContentFromPowerPoint.js.map +1 -1
- package/lib/paste/WacComponents/constants.d.ts +52 -52
- package/lib/paste/WacComponents/constants.js +66 -66
- package/lib/paste/WacComponents/constants.js.map +1 -1
- package/lib/paste/WacComponents/processPastedContentWacComponents.d.ts +9 -9
- package/lib/paste/WacComponents/processPastedContentWacComponents.js +190 -190
- package/lib/paste/WacComponents/processPastedContentWacComponents.js.map +1 -1
- package/lib/paste/WordDesktop/WordMetadata.d.ts +9 -9
- package/lib/paste/WordDesktop/WordMetadata.js +2 -2
- package/lib/paste/WordDesktop/WordMetadata.js.map +1 -1
- package/lib/paste/WordDesktop/getStyleMetadata.d.ts +22 -23
- package/lib/paste/WordDesktop/getStyleMetadata.js +110 -107
- package/lib/paste/WordDesktop/getStyleMetadata.js.map +1 -1
- package/lib/paste/WordDesktop/processPastedContentFromWordDesktop.d.ts +8 -7
- package/lib/paste/WordDesktop/processPastedContentFromWordDesktop.js +41 -38
- package/lib/paste/WordDesktop/processPastedContentFromWordDesktop.js.map +1 -1
- package/lib/paste/WordDesktop/processWordComments.d.ts +7 -7
- package/lib/paste/WordDesktop/processWordComments.js +21 -21
- package/lib/paste/WordDesktop/processWordComments.js.map +1 -1
- package/lib/paste/WordDesktop/processWordLists.d.ts +11 -11
- package/lib/paste/WordDesktop/processWordLists.js +204 -204
- package/lib/paste/WordDesktop/processWordLists.js.map +1 -1
- package/lib/paste/oneNote/processPastedContentFromOneNote.d.ts +50 -50
- package/lib/paste/oneNote/processPastedContentFromOneNote.js +113 -113
- package/lib/paste/oneNote/processPastedContentFromOneNote.js.map +1 -1
- package/lib/paste/parsers/adjustPercentileLineHeightParser.d.ts +8 -8
- package/lib/paste/parsers/adjustPercentileLineHeightParser.js +25 -25
- package/lib/paste/parsers/adjustPercentileLineHeightParser.js.map +1 -1
- package/lib/paste/parsers/blockElementParser.d.ts +7 -7
- package/lib/paste/parsers/blockElementParser.js +14 -14
- package/lib/paste/parsers/blockElementParser.js.map +1 -1
- package/lib/paste/parsers/deprecatedColorParser.d.ts +5 -5
- package/lib/paste/parsers/deprecatedColorParser.js +19 -19
- package/lib/paste/parsers/deprecatedColorParser.js.map +1 -1
- package/lib/paste/parsers/imageSizeParser.d.ts +6 -6
- package/lib/paste/parsers/imageSizeParser.js +23 -23
- package/lib/paste/parsers/imageSizeParser.js.map +1 -1
- package/lib/paste/parsers/linkParser.d.ts +5 -5
- package/lib/paste/parsers/linkParser.js +27 -27
- package/lib/paste/parsers/linkParser.js.map +1 -1
- package/lib/paste/parsers/listLevelParser.d.ts +10 -10
- package/lib/paste/parsers/listLevelParser.js +18 -18
- package/lib/paste/parsers/listLevelParser.js.map +1 -1
- package/lib/paste/parsers/removeNegativeTextIndentParser.d.ts +5 -5
- package/lib/paste/parsers/removeNegativeTextIndentParser.js +13 -13
- package/lib/paste/parsers/removeNegativeTextIndentParser.js.map +1 -1
- package/lib/paste/parsers/tableBorderParser.d.ts +5 -5
- package/lib/paste/parsers/tableBorderParser.js +27 -27
- package/lib/paste/parsers/tableBorderParser.js.map +1 -1
- package/lib/paste/parsers/wordContainerParser.d.ts +8 -0
- package/lib/paste/parsers/wordContainerParser.js +17 -0
- package/lib/paste/parsers/wordContainerParser.js.map +1 -0
- package/lib/paste/parsers/wordTableParser.d.ts +8 -8
- package/lib/paste/parsers/wordTableParser.js +19 -19
- package/lib/paste/parsers/wordTableParser.js.map +1 -1
- package/lib/paste/pasteSourceValidations/constants.d.ts +17 -17
- package/lib/paste/pasteSourceValidations/constants.js +20 -20
- package/lib/paste/pasteSourceValidations/constants.js.map +1 -1
- package/lib/paste/pasteSourceValidations/documentContainWacElements.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/documentContainWacElements.js +15 -15
- package/lib/paste/pasteSourceValidations/documentContainWacElements.js.map +1 -1
- package/lib/paste/pasteSourceValidations/getDocumentSource.d.ts +52 -0
- package/lib/paste/pasteSourceValidations/{getPasteSource.js → getDocumentSource.js} +41 -49
- package/lib/paste/pasteSourceValidations/getDocumentSource.js.map +1 -0
- package/lib/paste/pasteSourceValidations/isExcelDesktopDocument.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/isExcelDesktopDocument.js +17 -17
- package/lib/paste/pasteSourceValidations/isExcelDesktopDocument.js.map +1 -1
- package/lib/paste/pasteSourceValidations/isExcelNonNativeEvent.d.ts +7 -7
- package/lib/paste/pasteSourceValidations/isExcelNonNativeEvent.js +17 -17
- package/lib/paste/pasteSourceValidations/isExcelNonNativeEvent.js.map +1 -1
- package/lib/paste/pasteSourceValidations/isExcelOnlineDocument.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/isExcelOnlineDocument.js +19 -19
- package/lib/paste/pasteSourceValidations/isExcelOnlineDocument.js.map +1 -1
- package/lib/paste/pasteSourceValidations/isGoogleSheetDocument.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/isGoogleSheetDocument.js +15 -15
- package/lib/paste/pasteSourceValidations/isGoogleSheetDocument.js.map +1 -1
- package/lib/paste/pasteSourceValidations/isOneNoteDocument.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/isOneNoteDocument.js +17 -17
- package/lib/paste/pasteSourceValidations/isOneNoteDocument.js.map +1 -1
- package/lib/paste/pasteSourceValidations/isPowerPointDesktopDocument.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/isPowerPointDesktopDocument.js +15 -15
- package/lib/paste/pasteSourceValidations/isPowerPointDesktopDocument.js.map +1 -1
- package/lib/paste/pasteSourceValidations/isWordDesktopDocument.d.ts +8 -8
- package/lib/paste/pasteSourceValidations/isWordDesktopDocument.js +24 -24
- package/lib/paste/pasteSourceValidations/isWordDesktopDocument.js.map +1 -1
- package/lib/paste/pasteSourceValidations/shouldConvertToSingleImage.d.ts +9 -9
- package/lib/paste/pasteSourceValidations/shouldConvertToSingleImage.js +17 -18
- package/lib/paste/pasteSourceValidations/shouldConvertToSingleImage.js.map +1 -1
- package/lib/paste/processors/pasteButtonProcessor.d.ts +7 -7
- package/lib/paste/processors/pasteButtonProcessor.js +35 -35
- package/lib/paste/processors/pasteButtonProcessor.js.map +1 -1
- package/lib/paste/utils/addParser.d.ts +5 -5
- package/lib/paste/utils/addParser.js +17 -17
- package/lib/paste/utils/addParser.js.map +1 -1
- package/lib/paste/utils/chainSanitizerCallback.d.ts +9 -9
- package/lib/paste/utils/chainSanitizerCallback.js +35 -35
- package/lib/paste/utils/chainSanitizerCallback.js.map +1 -1
- package/lib/paste/utils/customListUtils.d.ts +9 -9
- package/lib/paste/utils/customListUtils.js +67 -67
- package/lib/paste/utils/customListUtils.js.map +1 -1
- package/lib/paste/utils/getStyles.d.ts +6 -6
- package/lib/paste/utils/getStyles.js +22 -22
- package/lib/paste/utils/getStyles.js.map +1 -1
- package/lib/paste/utils/setProcessor.d.ts +5 -5
- package/lib/paste/utils/setProcessor.js +13 -13
- package/lib/paste/utils/setProcessor.js.map +1 -1
- package/lib/picker/PickerHandler.d.ts +112 -112
- package/lib/picker/PickerHandler.js +2 -2
- package/lib/picker/PickerHandler.js.map +1 -1
- package/lib/picker/PickerHelper.d.ts +22 -22
- package/lib/picker/PickerHelper.js +2 -2
- package/lib/picker/PickerHelper.js.map +1 -1
- package/lib/picker/PickerHelperImpl.d.ts +25 -25
- package/lib/picker/PickerHelperImpl.js +53 -53
- package/lib/picker/PickerHelperImpl.js.map +1 -1
- package/lib/picker/PickerPlugin.d.ts +54 -54
- package/lib/picker/PickerPlugin.js +216 -216
- package/lib/picker/PickerPlugin.js.map +1 -1
- package/lib/picker/getQueryString.d.ts +5 -5
- package/lib/picker/getQueryString.js +35 -35
- package/lib/picker/getQueryString.js.map +1 -1
- package/lib/pluginUtils/CreateElement/CreateElementData.d.ts +35 -35
- package/lib/pluginUtils/CreateElement/CreateElementData.js +2 -2
- package/lib/pluginUtils/CreateElement/CreateElementData.js.map +1 -1
- package/lib/pluginUtils/CreateElement/createElement.d.ts +9 -9
- package/lib/pluginUtils/CreateElement/createElement.js +51 -51
- package/lib/pluginUtils/CreateElement/createElement.js.map +1 -1
- package/lib/pluginUtils/Disposable.d.ts +10 -10
- package/lib/pluginUtils/Disposable.js +2 -2
- package/lib/pluginUtils/Disposable.js.map +1 -1
- package/lib/pluginUtils/DragAndDrop/DragAndDropHandler.d.ts +45 -45
- package/lib/pluginUtils/DragAndDrop/DragAndDropHandler.js +2 -2
- package/lib/pluginUtils/DragAndDrop/DragAndDropHandler.js.map +1 -1
- package/lib/pluginUtils/DragAndDrop/DragAndDropHelper.d.ts +39 -39
- package/lib/pluginUtils/DragAndDrop/DragAndDropHelper.js +120 -120
- package/lib/pluginUtils/DragAndDrop/DragAndDropHelper.js.map +1 -1
- package/lib/pluginUtils/Rect/getIntersectedRect.d.ts +27 -27
- package/lib/pluginUtils/Rect/getIntersectedRect.js +45 -45
- package/lib/pluginUtils/Rect/getIntersectedRect.js.map +1 -1
- package/lib/shortcut/ShortcutCommand.d.ts +44 -44
- package/lib/shortcut/ShortcutCommand.js +2 -2
- package/lib/shortcut/ShortcutCommand.js.map +1 -1
- package/lib/shortcut/ShortcutPlugin.d.ts +51 -51
- package/lib/shortcut/ShortcutPlugin.js +125 -125
- package/lib/shortcut/ShortcutPlugin.js.map +1 -1
- package/lib/shortcut/shortcuts.d.ts +92 -92
- package/lib/shortcut/shortcuts.js +238 -238
- package/lib/shortcut/shortcuts.js.map +1 -1
- package/lib/shortcut/utils/setShortcutIndentationCommand.d.ts +5 -5
- package/lib/shortcut/utils/setShortcutIndentationCommand.js +21 -21
- package/lib/shortcut/utils/setShortcutIndentationCommand.js.map +1 -1
- package/lib/tableEdit/OnTableEditorCreatedCallback.d.ts +5 -5
- package/lib/tableEdit/OnTableEditorCreatedCallback.js +2 -2
- package/lib/tableEdit/OnTableEditorCreatedCallback.js.map +1 -1
- package/lib/tableEdit/TableEditPlugin.d.ts +56 -56
- package/lib/tableEdit/TableEditPlugin.js +171 -171
- package/lib/tableEdit/TableEditPlugin.js.map +1 -1
- package/lib/tableEdit/TableWithRoot.d.ts +15 -15
- package/lib/tableEdit/TableWithRoot.js +2 -2
- package/lib/tableEdit/TableWithRoot.js.map +1 -1
- package/lib/tableEdit/editors/TableEditor.d.ts +90 -86
- package/lib/tableEdit/editors/TableEditor.js +378 -341
- package/lib/tableEdit/editors/TableEditor.js.map +1 -1
- package/lib/tableEdit/editors/features/CellResizer.d.ts +55 -54
- package/lib/tableEdit/editors/features/CellResizer.js +246 -210
- package/lib/tableEdit/editors/features/CellResizer.js.map +1 -1
- package/lib/tableEdit/editors/features/TableEditFeature.d.ts +13 -13
- package/lib/tableEdit/editors/features/TableEditFeature.js +16 -16
- package/lib/tableEdit/editors/features/TableEditFeature.js.map +1 -1
- package/lib/tableEdit/editors/features/TableEditFeatureName.d.ts +4 -4
- package/lib/tableEdit/editors/features/TableEditFeatureName.js +2 -2
- package/lib/tableEdit/editors/features/TableEditFeatureName.js.map +1 -1
- package/lib/tableEdit/editors/features/TableInserter.d.ts +33 -33
- package/lib/tableEdit/editors/features/TableInserter.js +125 -125
- package/lib/tableEdit/editors/features/TableInserter.js.map +1 -1
- package/lib/tableEdit/editors/features/TableMover.d.ts +53 -53
- package/lib/tableEdit/editors/features/TableMover.js +234 -234
- package/lib/tableEdit/editors/features/TableMover.js.map +1 -1
- package/lib/tableEdit/editors/features/TableResizer.d.ts +50 -50
- package/lib/tableEdit/editors/features/TableResizer.js +190 -190
- package/lib/tableEdit/editors/features/TableResizer.js.map +1 -1
- package/lib/tableEdit/editors/features/TableRowColumnSelector.d.ts +42 -0
- package/lib/tableEdit/editors/features/TableRowColumnSelector.js +223 -0
- package/lib/tableEdit/editors/features/TableRowColumnSelector.js.map +1 -0
- package/lib/tableEdit/editors/utils/getTableFromContentModel.d.ts +6 -6
- package/lib/tableEdit/editors/utils/getTableFromContentModel.js +20 -19
- package/lib/tableEdit/editors/utils/getTableFromContentModel.js.map +1 -1
- package/lib/touch/TouchPlugin.d.ts +32 -32
- package/lib/touch/TouchPlugin.js +211 -209
- package/lib/touch/TouchPlugin.js.map +1 -1
- package/lib/utils/getNodePositionFromEvent.d.ts +5 -5
- package/lib/utils/getNodePositionFromEvent.js +33 -33
- package/lib/utils/getNodePositionFromEvent.js.map +1 -1
- package/lib/watermark/WatermarkFormat.d.ts +5 -5
- package/lib/watermark/WatermarkFormat.js +2 -2
- package/lib/watermark/WatermarkFormat.js.map +1 -1
- package/lib/watermark/WatermarkPlugin.d.ts +42 -42
- package/lib/watermark/WatermarkPlugin.js +137 -137
- package/lib/watermark/WatermarkPlugin.js.map +1 -1
- package/lib/watermark/isModelEmptyFast.d.ts +5 -5
- package/lib/watermark/isModelEmptyFast.js +37 -37
- package/lib/watermark/isModelEmptyFast.js.map +1 -1
- package/lib-amd/announce/AnnouncePlugin.d.ts +32 -32
- package/lib-amd/announce/AnnouncePlugin.js +66 -66
- package/lib-amd/announce/AnnouncePlugin.js.map +1 -1
- package/lib-amd/announce/tableSelectionUtils.d.ts +17 -17
- package/lib-amd/announce/tableSelectionUtils.js +70 -73
- package/lib-amd/announce/tableSelectionUtils.js.map +1 -1
- package/lib-amd/autoFormat/AutoFormatPlugin.d.ts +59 -59
- package/lib-amd/autoFormat/AutoFormatPlugin.js +289 -289
- package/lib-amd/autoFormat/AutoFormatPlugin.js.map +1 -1
- package/lib-amd/autoFormat/horizontalLine/checkAndInsertHorizontalLine.d.ts +24 -24
- package/lib-amd/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js +91 -91
- package/lib-amd/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js.map +1 -1
- package/lib-amd/autoFormat/hyphen/transformHyphen.d.ts +5 -5
- package/lib-amd/autoFormat/hyphen/transformHyphen.js +35 -35
- package/lib-amd/autoFormat/hyphen/transformHyphen.js.map +1 -1
- package/lib-amd/autoFormat/interface/AutoFormatOptions.d.ts +34 -34
- package/lib-amd/autoFormat/interface/AutoFormatOptions.js +4 -4
- package/lib-amd/autoFormat/interface/AutoFormatOptions.js.map +1 -1
- package/lib-amd/autoFormat/link/createLink.d.ts +5 -5
- package/lib-amd/autoFormat/link/createLink.js +35 -35
- package/lib-amd/autoFormat/link/createLink.js.map +1 -1
- package/lib-amd/autoFormat/link/unlink.d.ts +5 -5
- package/lib-amd/autoFormat/link/unlink.js +19 -19
- package/lib-amd/autoFormat/link/unlink.js.map +1 -1
- package/lib-amd/autoFormat/list/convertAlphaToDecimals.d.ts +7 -7
- package/lib-amd/autoFormat/list/convertAlphaToDecimals.js +24 -24
- package/lib-amd/autoFormat/list/convertAlphaToDecimals.js.map +1 -1
- package/lib-amd/autoFormat/list/getIndex.d.ts +4 -4
- package/lib-amd/autoFormat/list/getIndex.js +14 -14
- package/lib-amd/autoFormat/list/getIndex.js.map +1 -1
- package/lib-amd/autoFormat/list/getListTypeStyle.d.ts +14 -14
- package/lib-amd/autoFormat/list/getListTypeStyle.js +98 -98
- package/lib-amd/autoFormat/list/getListTypeStyle.js.map +1 -1
- package/lib-amd/autoFormat/list/getNumberingListStyle.d.ts +4 -4
- package/lib-amd/autoFormat/list/getNumberingListStyle.js +153 -153
- package/lib-amd/autoFormat/list/getNumberingListStyle.js.map +1 -1
- package/lib-amd/autoFormat/list/keyboardListTrigger.d.ts +5 -5
- package/lib-amd/autoFormat/list/keyboardListTrigger.js +47 -47
- package/lib-amd/autoFormat/list/keyboardListTrigger.js.map +1 -1
- package/lib-amd/autoFormat/numbers/transformFraction.d.ts +5 -5
- package/lib-amd/autoFormat/numbers/transformFraction.js +28 -28
- package/lib-amd/autoFormat/numbers/transformFraction.js.map +1 -1
- package/lib-amd/autoFormat/numbers/transformOrdinals.d.ts +4 -4
- package/lib-amd/autoFormat/numbers/transformOrdinals.js +66 -65
- package/lib-amd/autoFormat/numbers/transformOrdinals.js.map +1 -1
- package/lib-amd/contextMenuBase/ContextMenuPluginBase.d.ts +58 -58
- package/lib-amd/contextMenuBase/ContextMenuPluginBase.js +85 -85
- package/lib-amd/contextMenuBase/ContextMenuPluginBase.js.map +1 -1
- package/lib-amd/customReplace/CustomReplacePlugin.d.ts +61 -61
- package/lib-amd/customReplace/CustomReplacePlugin.js +87 -87
- package/lib-amd/customReplace/CustomReplacePlugin.js.map +1 -1
- package/lib-amd/edit/EditOptions.d.ts +78 -45
- package/lib-amd/edit/EditOptions.js +4 -4
- package/lib-amd/edit/EditOptions.js.map +1 -1
- package/lib-amd/edit/EditPlugin.d.ts +60 -60
- package/lib-amd/edit/EditPlugin.js +252 -234
- package/lib-amd/edit/EditPlugin.js.map +1 -1
- package/lib-amd/edit/deleteSteps/deleteAllSegmentBefore.d.ts +5 -5
- package/lib-amd/edit/deleteSteps/deleteAllSegmentBefore.js +24 -24
- package/lib-amd/edit/deleteSteps/deleteAllSegmentBefore.js.map +1 -1
- package/lib-amd/edit/deleteSteps/deleteCollapsedSelection.d.ts +10 -10
- package/lib-amd/edit/deleteSteps/deleteCollapsedSelection.js +112 -112
- package/lib-amd/edit/deleteSteps/deleteCollapsedSelection.js.map +1 -1
- package/lib-amd/edit/deleteSteps/deleteEmptyQuote.d.ts +5 -5
- package/lib-amd/edit/deleteSteps/deleteEmptyQuote.js +62 -62
- package/lib-amd/edit/deleteSteps/deleteEmptyQuote.js.map +1 -1
- package/lib-amd/edit/deleteSteps/deleteList.d.ts +5 -5
- package/lib-amd/edit/deleteSteps/deleteList.js +58 -29
- package/lib-amd/edit/deleteSteps/deleteList.js.map +1 -1
- package/lib-amd/edit/deleteSteps/deleteParagraphStyle.d.ts +5 -5
- package/lib-amd/edit/deleteSteps/deleteParagraphStyle.js +37 -37
- package/lib-amd/edit/deleteSteps/deleteParagraphStyle.js.map +1 -1
- package/lib-amd/edit/deleteSteps/deleteWordSelection.d.ts +9 -9
- package/lib-amd/edit/deleteSteps/deleteWordSelection.js +172 -172
- package/lib-amd/edit/deleteSteps/deleteWordSelection.js.map +1 -1
- package/lib-amd/edit/handleKeyboardEventCommon.d.ts +14 -14
- package/lib-amd/edit/handleKeyboardEventCommon.js +72 -72
- package/lib-amd/edit/handleKeyboardEventCommon.js.map +1 -1
- package/lib-amd/edit/inputSteps/handleAutoLink.d.ts +5 -5
- package/lib-amd/edit/inputSteps/handleAutoLink.js +25 -25
- package/lib-amd/edit/inputSteps/handleAutoLink.js.map +1 -1
- package/lib-amd/edit/inputSteps/handleEnterOnList.d.ts +5 -5
- package/lib-amd/edit/inputSteps/handleEnterOnList.js +69 -69
- package/lib-amd/edit/inputSteps/handleEnterOnList.js.map +1 -1
- package/lib-amd/edit/inputSteps/handleEnterOnParagraph.d.ts +5 -5
- package/lib-amd/edit/inputSteps/handleEnterOnParagraph.js +21 -21
- package/lib-amd/edit/inputSteps/handleEnterOnParagraph.js.map +1 -1
- package/lib-amd/edit/keyboardDelete.d.ts +11 -11
- package/lib-amd/edit/keyboardDelete.js +108 -108
- package/lib-amd/edit/keyboardDelete.js.map +1 -1
- package/lib-amd/edit/keyboardEnter.d.ts +5 -5
- package/lib-amd/edit/keyboardEnter.js +51 -51
- package/lib-amd/edit/keyboardEnter.js.map +1 -1
- package/lib-amd/edit/keyboardInput.d.ts +5 -5
- package/lib-amd/edit/keyboardInput.js +65 -65
- package/lib-amd/edit/keyboardInput.js.map +1 -1
- package/lib-amd/edit/keyboardTab.d.ts +6 -5
- package/lib-amd/edit/keyboardTab.js +70 -60
- package/lib-amd/edit/keyboardTab.js.map +1 -1
- package/lib-amd/edit/tabUtils/handleTabOnList.d.ts +7 -7
- package/lib-amd/edit/tabUtils/handleTabOnList.js +33 -33
- package/lib-amd/edit/tabUtils/handleTabOnList.js.map +1 -1
- package/lib-amd/edit/tabUtils/handleTabOnParagraph.d.ts +17 -17
- package/lib-amd/edit/tabUtils/handleTabOnParagraph.js +94 -94
- package/lib-amd/edit/tabUtils/handleTabOnParagraph.js.map +1 -1
- package/lib-amd/edit/tabUtils/handleTabOnTable.d.ts +6 -6
- package/lib-amd/edit/tabUtils/handleTabOnTable.js +25 -25
- package/lib-amd/edit/tabUtils/handleTabOnTable.js.map +1 -1
- package/lib-amd/edit/tabUtils/handleTabOnTableCell.d.ts +6 -6
- package/lib-amd/edit/tabUtils/handleTabOnTableCell.js +43 -43
- package/lib-amd/edit/tabUtils/handleTabOnTableCell.js.map +1 -1
- package/lib-amd/edit/utils/getLeafSiblingBlock.d.ts +45 -45
- package/lib-amd/edit/utils/getLeafSiblingBlock.js +72 -72
- package/lib-amd/edit/utils/getLeafSiblingBlock.js.map +1 -1
- package/lib-amd/edit/utils/preserveParagraphFormat.d.ts +9 -9
- package/lib-amd/edit/utils/preserveParagraphFormat.js +25 -25
- package/lib-amd/edit/utils/preserveParagraphFormat.js.map +1 -1
- package/lib-amd/edit/utils/splitParagraph.d.ts +12 -12
- package/lib-amd/edit/utils/splitParagraph.js +39 -39
- package/lib-amd/edit/utils/splitParagraph.js.map +1 -1
- package/lib-amd/findReplace/FindReplacePlugin.d.ts +42 -42
- package/lib-amd/findReplace/FindReplacePlugin.js +96 -95
- package/lib-amd/findReplace/FindReplacePlugin.js.map +1 -1
- package/lib-amd/findReplace/createFindReplaceContext.d.ts +8 -8
- package/lib-amd/findReplace/createFindReplaceContext.js +25 -25
- package/lib-amd/findReplace/createFindReplaceContext.js.map +1 -1
- package/lib-amd/findReplace/find.d.ts +11 -11
- package/lib-amd/findReplace/find.js +20 -20
- package/lib-amd/findReplace/find.js.map +1 -1
- package/lib-amd/findReplace/moveHighlight.d.ts +9 -9
- package/lib-amd/findReplace/moveHighlight.js +21 -21
- package/lib-amd/findReplace/moveHighlight.js.map +1 -1
- package/lib-amd/findReplace/replace.d.ts +10 -10
- package/lib-amd/findReplace/replace.js +46 -46
- package/lib-amd/findReplace/replace.js.map +1 -1
- package/lib-amd/findReplace/types/FindReplaceContext.d.ts +38 -38
- package/lib-amd/findReplace/types/FindReplaceContext.js +4 -4
- package/lib-amd/findReplace/types/FindReplaceContext.js.map +1 -1
- package/lib-amd/findReplace/types/FindReplaceHighlightOptions.d.ts +13 -13
- package/lib-amd/findReplace/types/FindReplaceHighlightOptions.js +4 -4
- package/lib-amd/findReplace/types/FindReplaceHighlightOptions.js.map +1 -1
- package/lib-amd/findReplace/types/HighlightHelper.d.ts +23 -23
- package/lib-amd/findReplace/types/HighlightHelper.js +4 -4
- package/lib-amd/findReplace/types/HighlightHelper.js.map +1 -1
- package/lib-amd/findReplace/utils/HighlightHelperImpl.d.ts +9 -9
- package/lib-amd/findReplace/utils/HighlightHelperImpl.js +65 -65
- package/lib-amd/findReplace/utils/HighlightHelperImpl.js.map +1 -1
- package/lib-amd/findReplace/utils/constants.d.ts +28 -28
- package/lib-amd/findReplace/utils/constants.js +33 -33
- package/lib-amd/findReplace/utils/constants.js.map +1 -1
- package/lib-amd/findReplace/utils/replaceTextInRange.d.ts +4 -4
- package/lib-amd/findReplace/utils/replaceTextInRange.js +71 -71
- package/lib-amd/findReplace/utils/replaceTextInRange.js.map +1 -1
- package/lib-amd/findReplace/utils/setMarkedIndex.d.ts +6 -6
- package/lib-amd/findReplace/utils/setMarkedIndex.js +29 -29
- package/lib-amd/findReplace/utils/setMarkedIndex.js.map +1 -1
- package/lib-amd/findReplace/utils/sortRanges.d.ts +5 -5
- package/lib-amd/findReplace/utils/sortRanges.js +24 -24
- package/lib-amd/findReplace/utils/sortRanges.js.map +1 -1
- package/lib-amd/findReplace/utils/updateHighlight.d.ts +6 -6
- package/lib-amd/findReplace/utils/updateHighlight.js +45 -45
- package/lib-amd/findReplace/utils/updateHighlight.js.map +1 -1
- package/lib-amd/hiddenProperty/HiddenPropertyOptions.d.ts +11 -11
- package/lib-amd/hiddenProperty/HiddenPropertyOptions.js +4 -4
- package/lib-amd/hiddenProperty/HiddenPropertyOptions.js.map +1 -1
- package/lib-amd/hiddenProperty/HiddenPropertyPlugin.d.ts +38 -38
- package/lib-amd/hiddenProperty/HiddenPropertyPlugin.js +57 -57
- package/lib-amd/hiddenProperty/HiddenPropertyPlugin.js.map +1 -1
- package/lib-amd/hiddenProperty/fixupHiddenProperties.d.ts +9 -9
- package/lib-amd/hiddenProperty/fixupHiddenProperties.js +37 -37
- package/lib-amd/hiddenProperty/fixupHiddenProperties.js.map +1 -1
- package/lib-amd/hyperlink/HyperlinkPlugin.d.ts +48 -48
- package/lib-amd/hyperlink/HyperlinkPlugin.js +144 -144
- package/lib-amd/hyperlink/HyperlinkPlugin.js.map +1 -1
- package/lib-amd/hyperlink/HyperlinkToolTip.d.ts +7 -7
- package/lib-amd/hyperlink/HyperlinkToolTip.js +4 -4
- package/lib-amd/hyperlink/HyperlinkToolTip.js.map +1 -1
- package/lib-amd/imageEdit/Cropper/createImageCropper.d.ts +10 -10
- package/lib-amd/imageEdit/Cropper/createImageCropper.js +77 -77
- package/lib-amd/imageEdit/Cropper/createImageCropper.js.map +1 -1
- package/lib-amd/imageEdit/Cropper/cropperContext.d.ts +8 -8
- package/lib-amd/imageEdit/Cropper/cropperContext.js +72 -72
- package/lib-amd/imageEdit/Cropper/cropperContext.js.map +1 -1
- package/lib-amd/imageEdit/ImageEditPlugin.d.ts +86 -86
- package/lib-amd/imageEdit/ImageEditPlugin.js +566 -567
- package/lib-amd/imageEdit/ImageEditPlugin.js.map +1 -1
- package/lib-amd/imageEdit/Resizer/createImageResizer.d.ts +12 -12
- package/lib-amd/imageEdit/Resizer/createImageResizer.js +86 -86
- package/lib-amd/imageEdit/Resizer/createImageResizer.js.map +1 -1
- package/lib-amd/imageEdit/Resizer/resizerContext.d.ts +8 -8
- package/lib-amd/imageEdit/Resizer/resizerContext.js +60 -60
- package/lib-amd/imageEdit/Resizer/resizerContext.js.map +1 -1
- package/lib-amd/imageEdit/Resizer/updateSideHandlesVisibility.d.ts +4 -4
- package/lib-amd/imageEdit/Resizer/updateSideHandlesVisibility.js +18 -18
- package/lib-amd/imageEdit/Resizer/updateSideHandlesVisibility.js.map +1 -1
- package/lib-amd/imageEdit/Rotator/createImageRotator.d.ts +6 -6
- package/lib-amd/imageEdit/Rotator/createImageRotator.js +73 -73
- package/lib-amd/imageEdit/Rotator/createImageRotator.js.map +1 -1
- package/lib-amd/imageEdit/Rotator/rotatorContext.d.ts +8 -8
- package/lib-amd/imageEdit/Rotator/rotatorContext.js +35 -35
- package/lib-amd/imageEdit/Rotator/rotatorContext.js.map +1 -1
- package/lib-amd/imageEdit/Rotator/updateRotateHandle.d.ts +7 -7
- package/lib-amd/imageEdit/Rotator/updateRotateHandle.js +56 -56
- package/lib-amd/imageEdit/Rotator/updateRotateHandle.js.map +1 -1
- package/lib-amd/imageEdit/constants/constants.d.ts +77 -77
- package/lib-amd/imageEdit/constants/constants.js +86 -86
- package/lib-amd/imageEdit/constants/constants.js.map +1 -1
- package/lib-amd/imageEdit/types/DragAndDropContext.d.ts +39 -39
- package/lib-amd/imageEdit/types/DragAndDropContext.js +4 -4
- package/lib-amd/imageEdit/types/DragAndDropContext.js.map +1 -1
- package/lib-amd/imageEdit/types/GeneratedImageSize.d.ts +33 -33
- package/lib-amd/imageEdit/types/GeneratedImageSize.js +4 -4
- package/lib-amd/imageEdit/types/GeneratedImageSize.js.map +1 -1
- package/lib-amd/imageEdit/types/ImageAndParagraph.d.ts +8 -8
- package/lib-amd/imageEdit/types/ImageAndParagraph.js +4 -4
- package/lib-amd/imageEdit/types/ImageAndParagraph.js.map +1 -1
- package/lib-amd/imageEdit/types/ImageEditElementClass.d.ts +30 -30
- package/lib-amd/imageEdit/types/ImageEditElementClass.js +36 -36
- package/lib-amd/imageEdit/types/ImageEditElementClass.js.map +1 -1
- package/lib-amd/imageEdit/types/ImageEditOptions.d.ts +55 -55
- package/lib-amd/imageEdit/types/ImageEditOptions.js +4 -4
- package/lib-amd/imageEdit/types/ImageEditOptions.js.map +1 -1
- package/lib-amd/imageEdit/types/ImageHtmlOptions.d.ts +22 -22
- package/lib-amd/imageEdit/types/ImageHtmlOptions.js +4 -4
- package/lib-amd/imageEdit/types/ImageHtmlOptions.js.map +1 -1
- package/lib-amd/imageEdit/utils/applyChange.d.ts +13 -13
- package/lib-amd/imageEdit/utils/applyChange.js +70 -70
- package/lib-amd/imageEdit/utils/applyChange.js.map +1 -1
- package/lib-amd/imageEdit/utils/canRegenerateImage.d.ts +8 -8
- package/lib-amd/imageEdit/utils/canRegenerateImage.js +33 -33
- package/lib-amd/imageEdit/utils/canRegenerateImage.js.map +1 -1
- package/lib-amd/imageEdit/utils/checkEditInfoState.d.ts +41 -41
- package/lib-amd/imageEdit/utils/checkEditInfoState.js +53 -53
- package/lib-amd/imageEdit/utils/checkEditInfoState.js.map +1 -1
- package/lib-amd/imageEdit/utils/createImageWrapper.d.ts +18 -18
- package/lib-amd/imageEdit/utils/createImageWrapper.js +89 -89
- package/lib-amd/imageEdit/utils/createImageWrapper.js.map +1 -1
- package/lib-amd/imageEdit/utils/doubleCheckResize.d.ts +12 -12
- package/lib-amd/imageEdit/utils/doubleCheckResize.js +37 -37
- package/lib-amd/imageEdit/utils/doubleCheckResize.js.map +1 -1
- package/lib-amd/imageEdit/utils/filterInnerResizerHandles.d.ts +4 -4
- package/lib-amd/imageEdit/utils/filterInnerResizerHandles.js +20 -20
- package/lib-amd/imageEdit/utils/filterInnerResizerHandles.js.map +1 -1
- package/lib-amd/imageEdit/utils/findEditingImage.d.ts +10 -10
- package/lib-amd/imageEdit/utils/findEditingImage.js +39 -39
- package/lib-amd/imageEdit/utils/findEditingImage.js.map +1 -1
- package/lib-amd/imageEdit/utils/generateDataURL.d.ts +13 -13
- package/lib-amd/imageEdit/utils/generateDataURL.js +57 -50
- package/lib-amd/imageEdit/utils/generateDataURL.js.map +1 -1
- package/lib-amd/imageEdit/utils/generateImageSize.d.ts +15 -15
- package/lib-amd/imageEdit/utils/generateImageSize.js +47 -47
- package/lib-amd/imageEdit/utils/generateImageSize.js.map +1 -1
- package/lib-amd/imageEdit/utils/getDropAndDragHelpers.d.ts +10 -10
- package/lib-amd/imageEdit/utils/getDropAndDragHelpers.js +23 -23
- package/lib-amd/imageEdit/utils/getDropAndDragHelpers.js.map +1 -1
- package/lib-amd/imageEdit/utils/getHTMLImageOptions.d.ts +7 -7
- package/lib-amd/imageEdit/utils/getHTMLImageOptions.js +23 -23
- package/lib-amd/imageEdit/utils/getHTMLImageOptions.js.map +1 -1
- package/lib-amd/imageEdit/utils/getSelectedImage.d.ts +6 -6
- package/lib-amd/imageEdit/utils/getSelectedImage.js +21 -21
- package/lib-amd/imageEdit/utils/getSelectedImage.js.map +1 -1
- package/lib-amd/imageEdit/utils/imageEditUtils.d.ts +47 -47
- package/lib-amd/imageEdit/utils/imageEditUtils.js +116 -116
- package/lib-amd/imageEdit/utils/imageEditUtils.js.map +1 -1
- package/lib-amd/imageEdit/utils/normalizeImageSelection.d.ts +9 -9
- package/lib-amd/imageEdit/utils/normalizeImageSelection.js +32 -32
- package/lib-amd/imageEdit/utils/normalizeImageSelection.js.map +1 -1
- package/lib-amd/imageEdit/utils/updateHandleCursor.d.ts +7 -7
- package/lib-amd/imageEdit/utils/updateHandleCursor.js +35 -35
- package/lib-amd/imageEdit/utils/updateHandleCursor.js.map +1 -1
- package/lib-amd/imageEdit/utils/updateImageEditInfo.d.ts +10 -10
- package/lib-amd/imageEdit/utils/updateImageEditInfo.js +51 -51
- package/lib-amd/imageEdit/utils/updateImageEditInfo.js.map +1 -1
- package/lib-amd/imageEdit/utils/updateWrapper.d.ts +6 -6
- package/lib-amd/imageEdit/utils/updateWrapper.js +80 -80
- package/lib-amd/imageEdit/utils/updateWrapper.js.map +1 -1
- package/lib-amd/index.d.ts +38 -38
- package/lib-amd/index.js +42 -42
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/markdown/MarkdownPlugin.d.ts +64 -64
- package/lib-amd/markdown/MarkdownPlugin.js +196 -196
- package/lib-amd/markdown/MarkdownPlugin.js.map +1 -1
- package/lib-amd/markdown/utils/setFormat.d.ts +5 -5
- package/lib-amd/markdown/utils/setFormat.js +46 -46
- package/lib-amd/markdown/utils/setFormat.js.map +1 -1
- package/lib-amd/paste/DefaultSanitizers.d.ts +10 -10
- package/lib-amd/paste/DefaultSanitizers.js +26 -26
- package/lib-amd/paste/DefaultSanitizers.js.map +1 -1
- package/lib-amd/paste/Excel/processPastedContentFromExcel.d.ts +30 -30
- package/lib-amd/paste/Excel/processPastedContentFromExcel.js +138 -138
- package/lib-amd/paste/Excel/processPastedContentFromExcel.js.map +1 -1
- package/lib-amd/paste/PastePlugin.d.ts +44 -44
- package/lib-amd/paste/PastePlugin.js +129 -121
- package/lib-amd/paste/PastePlugin.js.map +1 -1
- package/lib-amd/paste/PowerPoint/processPastedContentFromPowerPoint.d.ts +7 -7
- package/lib-amd/paste/PowerPoint/processPastedContentFromPowerPoint.js +142 -142
- package/lib-amd/paste/PowerPoint/processPastedContentFromPowerPoint.js.map +1 -1
- package/lib-amd/paste/WacComponents/constants.d.ts +52 -52
- package/lib-amd/paste/WacComponents/constants.js +67 -67
- package/lib-amd/paste/WacComponents/constants.js.map +1 -1
- package/lib-amd/paste/WacComponents/processPastedContentWacComponents.d.ts +9 -9
- package/lib-amd/paste/WacComponents/processPastedContentWacComponents.js +187 -187
- package/lib-amd/paste/WacComponents/processPastedContentWacComponents.js.map +1 -1
- package/lib-amd/paste/WordDesktop/WordMetadata.d.ts +9 -9
- package/lib-amd/paste/WordDesktop/WordMetadata.js +4 -4
- package/lib-amd/paste/WordDesktop/WordMetadata.js.map +1 -1
- package/lib-amd/paste/WordDesktop/getStyleMetadata.d.ts +22 -23
- package/lib-amd/paste/WordDesktop/getStyleMetadata.js +110 -107
- package/lib-amd/paste/WordDesktop/getStyleMetadata.js.map +1 -1
- package/lib-amd/paste/WordDesktop/processPastedContentFromWordDesktop.d.ts +8 -7
- package/lib-amd/paste/WordDesktop/processPastedContentFromWordDesktop.js +32 -30
- package/lib-amd/paste/WordDesktop/processPastedContentFromWordDesktop.js.map +1 -1
- package/lib-amd/paste/WordDesktop/processWordComments.d.ts +7 -7
- package/lib-amd/paste/WordDesktop/processWordComments.js +22 -22
- package/lib-amd/paste/WordDesktop/processWordComments.js.map +1 -1
- package/lib-amd/paste/WordDesktop/processWordLists.d.ts +11 -11
- package/lib-amd/paste/WordDesktop/processWordLists.js +202 -202
- package/lib-amd/paste/WordDesktop/processWordLists.js.map +1 -1
- package/lib-amd/paste/oneNote/processPastedContentFromOneNote.d.ts +50 -50
- package/lib-amd/paste/oneNote/processPastedContentFromOneNote.js +114 -114
- package/lib-amd/paste/oneNote/processPastedContentFromOneNote.js.map +1 -1
- package/lib-amd/paste/parsers/adjustPercentileLineHeightParser.d.ts +8 -8
- package/lib-amd/paste/parsers/adjustPercentileLineHeightParser.js +27 -27
- package/lib-amd/paste/parsers/adjustPercentileLineHeightParser.js.map +1 -1
- package/lib-amd/paste/parsers/blockElementParser.d.ts +7 -7
- package/lib-amd/paste/parsers/blockElementParser.js +16 -16
- package/lib-amd/paste/parsers/blockElementParser.js.map +1 -1
- package/lib-amd/paste/parsers/deprecatedColorParser.d.ts +5 -5
- package/lib-amd/paste/parsers/deprecatedColorParser.js +20 -20
- package/lib-amd/paste/parsers/deprecatedColorParser.js.map +1 -1
- package/lib-amd/paste/parsers/imageSizeParser.d.ts +6 -6
- package/lib-amd/paste/parsers/imageSizeParser.js +24 -24
- package/lib-amd/paste/parsers/imageSizeParser.js.map +1 -1
- package/lib-amd/paste/parsers/linkParser.d.ts +5 -5
- package/lib-amd/paste/parsers/linkParser.js +28 -28
- package/lib-amd/paste/parsers/linkParser.js.map +1 -1
- package/lib-amd/paste/parsers/listLevelParser.d.ts +10 -10
- package/lib-amd/paste/parsers/listLevelParser.js +20 -20
- package/lib-amd/paste/parsers/listLevelParser.js.map +1 -1
- package/lib-amd/paste/parsers/removeNegativeTextIndentParser.d.ts +5 -5
- package/lib-amd/paste/parsers/removeNegativeTextIndentParser.js +15 -15
- package/lib-amd/paste/parsers/removeNegativeTextIndentParser.js.map +1 -1
- package/lib-amd/paste/parsers/tableBorderParser.d.ts +5 -5
- package/lib-amd/paste/parsers/tableBorderParser.js +28 -28
- package/lib-amd/paste/parsers/tableBorderParser.js.map +1 -1
- package/lib-amd/paste/parsers/wordContainerParser.d.ts +8 -0
- package/lib-amd/paste/parsers/wordContainerParser.js +19 -0
- package/lib-amd/paste/parsers/wordContainerParser.js.map +1 -0
- package/lib-amd/paste/parsers/wordTableParser.d.ts +8 -8
- package/lib-amd/paste/parsers/wordTableParser.js +21 -21
- package/lib-amd/paste/parsers/wordTableParser.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/constants.d.ts +17 -17
- package/lib-amd/paste/pasteSourceValidations/constants.js +22 -22
- package/lib-amd/paste/pasteSourceValidations/constants.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/documentContainWacElements.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/documentContainWacElements.js +16 -16
- package/lib-amd/paste/pasteSourceValidations/documentContainWacElements.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/getDocumentSource.d.ts +52 -0
- package/lib-amd/paste/pasteSourceValidations/{getPasteSource.js → getDocumentSource.js} +34 -42
- package/lib-amd/paste/pasteSourceValidations/getDocumentSource.js.map +1 -0
- package/lib-amd/paste/pasteSourceValidations/isExcelDesktopDocument.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/isExcelDesktopDocument.js +18 -18
- package/lib-amd/paste/pasteSourceValidations/isExcelDesktopDocument.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/isExcelNonNativeEvent.d.ts +7 -7
- package/lib-amd/paste/pasteSourceValidations/isExcelNonNativeEvent.js +19 -19
- package/lib-amd/paste/pasteSourceValidations/isExcelNonNativeEvent.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/isExcelOnlineDocument.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/isExcelOnlineDocument.js +20 -20
- package/lib-amd/paste/pasteSourceValidations/isExcelOnlineDocument.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/isGoogleSheetDocument.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/isGoogleSheetDocument.js +16 -16
- package/lib-amd/paste/pasteSourceValidations/isGoogleSheetDocument.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/isOneNoteDocument.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/isOneNoteDocument.js +18 -18
- package/lib-amd/paste/pasteSourceValidations/isOneNoteDocument.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/isPowerPointDesktopDocument.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/isPowerPointDesktopDocument.js +16 -16
- package/lib-amd/paste/pasteSourceValidations/isPowerPointDesktopDocument.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/isWordDesktopDocument.d.ts +8 -8
- package/lib-amd/paste/pasteSourceValidations/isWordDesktopDocument.js +25 -25
- package/lib-amd/paste/pasteSourceValidations/isWordDesktopDocument.js.map +1 -1
- package/lib-amd/paste/pasteSourceValidations/shouldConvertToSingleImage.d.ts +9 -9
- package/lib-amd/paste/pasteSourceValidations/shouldConvertToSingleImage.js +19 -20
- package/lib-amd/paste/pasteSourceValidations/shouldConvertToSingleImage.js.map +1 -1
- package/lib-amd/paste/processors/pasteButtonProcessor.d.ts +7 -7
- package/lib-amd/paste/processors/pasteButtonProcessor.js +35 -35
- package/lib-amd/paste/processors/pasteButtonProcessor.js.map +1 -1
- package/lib-amd/paste/utils/addParser.d.ts +5 -5
- package/lib-amd/paste/utils/addParser.js +19 -19
- package/lib-amd/paste/utils/addParser.js.map +1 -1
- package/lib-amd/paste/utils/chainSanitizerCallback.d.ts +9 -9
- package/lib-amd/paste/utils/chainSanitizerCallback.js +37 -37
- package/lib-amd/paste/utils/chainSanitizerCallback.js.map +1 -1
- package/lib-amd/paste/utils/customListUtils.d.ts +9 -9
- package/lib-amd/paste/utils/customListUtils.js +66 -66
- package/lib-amd/paste/utils/customListUtils.js.map +1 -1
- package/lib-amd/paste/utils/getStyles.d.ts +6 -6
- package/lib-amd/paste/utils/getStyles.js +24 -24
- package/lib-amd/paste/utils/getStyles.js.map +1 -1
- package/lib-amd/paste/utils/setProcessor.d.ts +5 -5
- package/lib-amd/paste/utils/setProcessor.js +15 -15
- package/lib-amd/paste/utils/setProcessor.js.map +1 -1
- package/lib-amd/picker/PickerHandler.d.ts +112 -112
- package/lib-amd/picker/PickerHandler.js +4 -4
- package/lib-amd/picker/PickerHandler.js.map +1 -1
- package/lib-amd/picker/PickerHelper.d.ts +22 -22
- package/lib-amd/picker/PickerHelper.js +4 -4
- package/lib-amd/picker/PickerHelper.js.map +1 -1
- package/lib-amd/picker/PickerHelperImpl.d.ts +25 -25
- package/lib-amd/picker/PickerHelperImpl.js +52 -52
- package/lib-amd/picker/PickerHelperImpl.js.map +1 -1
- package/lib-amd/picker/PickerPlugin.d.ts +54 -54
- package/lib-amd/picker/PickerPlugin.js +214 -214
- package/lib-amd/picker/PickerPlugin.js.map +1 -1
- package/lib-amd/picker/getQueryString.d.ts +5 -5
- package/lib-amd/picker/getQueryString.js +36 -36
- package/lib-amd/picker/getQueryString.js.map +1 -1
- package/lib-amd/pluginUtils/CreateElement/CreateElementData.d.ts +35 -35
- package/lib-amd/pluginUtils/CreateElement/CreateElementData.js +4 -4
- package/lib-amd/pluginUtils/CreateElement/CreateElementData.js.map +1 -1
- package/lib-amd/pluginUtils/CreateElement/createElement.d.ts +9 -9
- package/lib-amd/pluginUtils/CreateElement/createElement.js +52 -52
- package/lib-amd/pluginUtils/CreateElement/createElement.js.map +1 -1
- package/lib-amd/pluginUtils/Disposable.d.ts +10 -10
- package/lib-amd/pluginUtils/Disposable.js +4 -4
- package/lib-amd/pluginUtils/Disposable.js.map +1 -1
- package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHandler.d.ts +45 -45
- package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHandler.js +4 -4
- package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHandler.js.map +1 -1
- package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHelper.d.ts +39 -39
- package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHelper.js +121 -121
- package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHelper.js.map +1 -1
- package/lib-amd/pluginUtils/Rect/getIntersectedRect.d.ts +27 -27
- package/lib-amd/pluginUtils/Rect/getIntersectedRect.js +45 -45
- package/lib-amd/pluginUtils/Rect/getIntersectedRect.js.map +1 -1
- package/lib-amd/shortcut/ShortcutCommand.d.ts +44 -44
- package/lib-amd/shortcut/ShortcutCommand.js +4 -4
- package/lib-amd/shortcut/ShortcutCommand.js.map +1 -1
- package/lib-amd/shortcut/ShortcutPlugin.d.ts +51 -51
- package/lib-amd/shortcut/ShortcutPlugin.js +125 -125
- package/lib-amd/shortcut/ShortcutPlugin.js.map +1 -1
- package/lib-amd/shortcut/shortcuts.d.ts +92 -92
- package/lib-amd/shortcut/shortcuts.js +237 -237
- package/lib-amd/shortcut/shortcuts.js.map +1 -1
- package/lib-amd/shortcut/utils/setShortcutIndentationCommand.d.ts +5 -5
- package/lib-amd/shortcut/utils/setShortcutIndentationCommand.js +21 -21
- package/lib-amd/shortcut/utils/setShortcutIndentationCommand.js.map +1 -1
- package/lib-amd/tableEdit/OnTableEditorCreatedCallback.d.ts +5 -5
- package/lib-amd/tableEdit/OnTableEditorCreatedCallback.js +4 -4
- package/lib-amd/tableEdit/OnTableEditorCreatedCallback.js.map +1 -1
- package/lib-amd/tableEdit/TableEditPlugin.d.ts +56 -56
- package/lib-amd/tableEdit/TableEditPlugin.js +170 -170
- package/lib-amd/tableEdit/TableEditPlugin.js.map +1 -1
- package/lib-amd/tableEdit/TableWithRoot.d.ts +15 -15
- package/lib-amd/tableEdit/TableWithRoot.js +4 -4
- package/lib-amd/tableEdit/TableWithRoot.js.map +1 -1
- package/lib-amd/tableEdit/editors/TableEditor.d.ts +90 -86
- package/lib-amd/tableEdit/editors/TableEditor.js +373 -337
- package/lib-amd/tableEdit/editors/TableEditor.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/CellResizer.d.ts +55 -54
- package/lib-amd/tableEdit/editors/features/CellResizer.js +243 -207
- package/lib-amd/tableEdit/editors/features/CellResizer.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/TableEditFeature.d.ts +13 -13
- package/lib-amd/tableEdit/editors/features/TableEditFeature.js +18 -18
- package/lib-amd/tableEdit/editors/features/TableEditFeature.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/TableEditFeatureName.d.ts +4 -4
- package/lib-amd/tableEdit/editors/features/TableEditFeatureName.js +4 -4
- package/lib-amd/tableEdit/editors/features/TableEditFeatureName.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/TableInserter.d.ts +33 -33
- package/lib-amd/tableEdit/editors/features/TableInserter.js +123 -123
- package/lib-amd/tableEdit/editors/features/TableInserter.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/TableMover.d.ts +53 -53
- package/lib-amd/tableEdit/editors/features/TableMover.js +229 -229
- package/lib-amd/tableEdit/editors/features/TableMover.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/TableResizer.d.ts +50 -50
- package/lib-amd/tableEdit/editors/features/TableResizer.js +187 -187
- package/lib-amd/tableEdit/editors/features/TableResizer.js.map +1 -1
- package/lib-amd/tableEdit/editors/features/TableRowColumnSelector.d.ts +42 -0
- package/lib-amd/tableEdit/editors/features/TableRowColumnSelector.js +221 -0
- package/lib-amd/tableEdit/editors/features/TableRowColumnSelector.js.map +1 -0
- package/lib-amd/tableEdit/editors/utils/getTableFromContentModel.d.ts +6 -6
- package/lib-amd/tableEdit/editors/utils/getTableFromContentModel.js +21 -20
- package/lib-amd/tableEdit/editors/utils/getTableFromContentModel.js.map +1 -1
- package/lib-amd/touch/TouchPlugin.d.ts +32 -32
- package/lib-amd/touch/TouchPlugin.js +212 -210
- package/lib-amd/touch/TouchPlugin.js.map +1 -1
- package/lib-amd/utils/getNodePositionFromEvent.d.ts +5 -5
- package/lib-amd/utils/getNodePositionFromEvent.js +35 -35
- package/lib-amd/utils/getNodePositionFromEvent.js.map +1 -1
- package/lib-amd/watermark/WatermarkFormat.d.ts +5 -5
- package/lib-amd/watermark/WatermarkFormat.js +4 -4
- package/lib-amd/watermark/WatermarkFormat.js.map +1 -1
- package/lib-amd/watermark/WatermarkPlugin.d.ts +42 -42
- package/lib-amd/watermark/WatermarkPlugin.js +136 -136
- package/lib-amd/watermark/WatermarkPlugin.js.map +1 -1
- package/lib-amd/watermark/isModelEmptyFast.d.ts +5 -5
- package/lib-amd/watermark/isModelEmptyFast.js +39 -39
- package/lib-amd/watermark/isModelEmptyFast.js.map +1 -1
- package/lib-mjs/announce/AnnouncePlugin.d.ts +32 -32
- package/lib-mjs/announce/AnnouncePlugin.js +62 -62
- package/lib-mjs/announce/AnnouncePlugin.js.map +1 -1
- package/lib-mjs/announce/tableSelectionUtils.d.ts +17 -17
- package/lib-mjs/announce/tableSelectionUtils.js +63 -66
- package/lib-mjs/announce/tableSelectionUtils.js.map +1 -1
- package/lib-mjs/autoFormat/AutoFormatPlugin.d.ts +59 -59
- package/lib-mjs/autoFormat/AutoFormatPlugin.js +295 -295
- package/lib-mjs/autoFormat/AutoFormatPlugin.js.map +1 -1
- package/lib-mjs/autoFormat/horizontalLine/checkAndInsertHorizontalLine.d.ts +24 -24
- package/lib-mjs/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js +86 -86
- package/lib-mjs/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js.map +1 -1
- package/lib-mjs/autoFormat/hyphen/transformHyphen.d.ts +5 -5
- package/lib-mjs/autoFormat/hyphen/transformHyphen.js +30 -30
- package/lib-mjs/autoFormat/hyphen/transformHyphen.js.map +1 -1
- package/lib-mjs/autoFormat/interface/AutoFormatOptions.d.ts +34 -34
- package/lib-mjs/autoFormat/interface/AutoFormatOptions.js +1 -1
- package/lib-mjs/autoFormat/interface/AutoFormatOptions.js.map +1 -1
- package/lib-mjs/autoFormat/link/createLink.d.ts +5 -5
- package/lib-mjs/autoFormat/link/createLink.js +31 -31
- package/lib-mjs/autoFormat/link/createLink.js.map +1 -1
- package/lib-mjs/autoFormat/link/unlink.d.ts +5 -5
- package/lib-mjs/autoFormat/link/unlink.js +14 -14
- package/lib-mjs/autoFormat/link/unlink.js.map +1 -1
- package/lib-mjs/autoFormat/list/convertAlphaToDecimals.d.ts +7 -7
- package/lib-mjs/autoFormat/list/convertAlphaToDecimals.js +18 -18
- package/lib-mjs/autoFormat/list/convertAlphaToDecimals.js.map +1 -1
- package/lib-mjs/autoFormat/list/getIndex.d.ts +4 -4
- package/lib-mjs/autoFormat/list/getIndex.js +9 -9
- package/lib-mjs/autoFormat/list/getIndex.js.map +1 -1
- package/lib-mjs/autoFormat/list/getListTypeStyle.d.ts +14 -14
- package/lib-mjs/autoFormat/list/getListTypeStyle.js +95 -95
- package/lib-mjs/autoFormat/list/getListTypeStyle.js.map +1 -1
- package/lib-mjs/autoFormat/list/getNumberingListStyle.d.ts +4 -4
- package/lib-mjs/autoFormat/list/getNumberingListStyle.js +149 -149
- package/lib-mjs/autoFormat/list/getNumberingListStyle.js.map +1 -1
- package/lib-mjs/autoFormat/list/keyboardListTrigger.d.ts +5 -5
- package/lib-mjs/autoFormat/list/keyboardListTrigger.js +45 -45
- package/lib-mjs/autoFormat/list/keyboardListTrigger.js.map +1 -1
- package/lib-mjs/autoFormat/numbers/transformFraction.d.ts +5 -5
- package/lib-mjs/autoFormat/numbers/transformFraction.js +23 -23
- package/lib-mjs/autoFormat/numbers/transformFraction.js.map +1 -1
- package/lib-mjs/autoFormat/numbers/transformOrdinals.d.ts +4 -4
- package/lib-mjs/autoFormat/numbers/transformOrdinals.js +61 -60
- package/lib-mjs/autoFormat/numbers/transformOrdinals.js.map +1 -1
- package/lib-mjs/contextMenuBase/ContextMenuPluginBase.d.ts +58 -58
- package/lib-mjs/contextMenuBase/ContextMenuPluginBase.js +80 -80
- package/lib-mjs/contextMenuBase/ContextMenuPluginBase.js.map +1 -1
- package/lib-mjs/customReplace/CustomReplacePlugin.d.ts +61 -61
- package/lib-mjs/customReplace/CustomReplacePlugin.js +83 -83
- package/lib-mjs/customReplace/CustomReplacePlugin.js.map +1 -1
- package/lib-mjs/edit/EditOptions.d.ts +78 -45
- package/lib-mjs/edit/EditOptions.js +1 -1
- package/lib-mjs/edit/EditOptions.js.map +1 -1
- package/lib-mjs/edit/EditPlugin.d.ts +60 -60
- package/lib-mjs/edit/EditPlugin.js +253 -235
- package/lib-mjs/edit/EditPlugin.js.map +1 -1
- package/lib-mjs/edit/deleteSteps/deleteAllSegmentBefore.d.ts +5 -5
- package/lib-mjs/edit/deleteSteps/deleteAllSegmentBefore.js +19 -19
- package/lib-mjs/edit/deleteSteps/deleteAllSegmentBefore.js.map +1 -1
- package/lib-mjs/edit/deleteSteps/deleteCollapsedSelection.d.ts +10 -10
- package/lib-mjs/edit/deleteSteps/deleteCollapsedSelection.js +110 -110
- package/lib-mjs/edit/deleteSteps/deleteCollapsedSelection.js.map +1 -1
- package/lib-mjs/edit/deleteSteps/deleteEmptyQuote.d.ts +5 -5
- package/lib-mjs/edit/deleteSteps/deleteEmptyQuote.js +58 -58
- package/lib-mjs/edit/deleteSteps/deleteEmptyQuote.js.map +1 -1
- package/lib-mjs/edit/deleteSteps/deleteList.d.ts +5 -5
- package/lib-mjs/edit/deleteSteps/deleteList.js +54 -24
- package/lib-mjs/edit/deleteSteps/deleteList.js.map +1 -1
- package/lib-mjs/edit/deleteSteps/deleteParagraphStyle.d.ts +5 -5
- package/lib-mjs/edit/deleteSteps/deleteParagraphStyle.js +32 -32
- package/lib-mjs/edit/deleteSteps/deleteParagraphStyle.js.map +1 -1
- package/lib-mjs/edit/deleteSteps/deleteWordSelection.d.ts +9 -9
- package/lib-mjs/edit/deleteSteps/deleteWordSelection.js +169 -169
- package/lib-mjs/edit/deleteSteps/deleteWordSelection.js.map +1 -1
- package/lib-mjs/edit/handleKeyboardEventCommon.d.ts +14 -14
- package/lib-mjs/edit/handleKeyboardEventCommon.js +65 -65
- package/lib-mjs/edit/handleKeyboardEventCommon.js.map +1 -1
- package/lib-mjs/edit/inputSteps/handleAutoLink.d.ts +5 -5
- package/lib-mjs/edit/inputSteps/handleAutoLink.js +20 -20
- package/lib-mjs/edit/inputSteps/handleAutoLink.js.map +1 -1
- package/lib-mjs/edit/inputSteps/handleEnterOnList.d.ts +5 -5
- package/lib-mjs/edit/inputSteps/handleEnterOnList.js +67 -67
- package/lib-mjs/edit/inputSteps/handleEnterOnList.js.map +1 -1
- package/lib-mjs/edit/inputSteps/handleEnterOnParagraph.d.ts +5 -5
- package/lib-mjs/edit/inputSteps/handleEnterOnParagraph.js +17 -17
- package/lib-mjs/edit/inputSteps/handleEnterOnParagraph.js.map +1 -1
- package/lib-mjs/edit/keyboardDelete.d.ts +11 -11
- package/lib-mjs/edit/keyboardDelete.js +110 -110
- package/lib-mjs/edit/keyboardDelete.js.map +1 -1
- package/lib-mjs/edit/keyboardEnter.d.ts +5 -5
- package/lib-mjs/edit/keyboardEnter.js +50 -50
- package/lib-mjs/edit/keyboardEnter.js.map +1 -1
- package/lib-mjs/edit/keyboardInput.d.ts +5 -5
- package/lib-mjs/edit/keyboardInput.js +60 -60
- package/lib-mjs/edit/keyboardInput.js.map +1 -1
- package/lib-mjs/edit/keyboardTab.d.ts +6 -5
- package/lib-mjs/edit/keyboardTab.js +70 -60
- package/lib-mjs/edit/keyboardTab.js.map +1 -1
- package/lib-mjs/edit/tabUtils/handleTabOnList.d.ts +7 -7
- package/lib-mjs/edit/tabUtils/handleTabOnList.js +29 -29
- package/lib-mjs/edit/tabUtils/handleTabOnList.js.map +1 -1
- package/lib-mjs/edit/tabUtils/handleTabOnParagraph.d.ts +17 -17
- package/lib-mjs/edit/tabUtils/handleTabOnParagraph.js +90 -90
- package/lib-mjs/edit/tabUtils/handleTabOnParagraph.js.map +1 -1
- package/lib-mjs/edit/tabUtils/handleTabOnTable.d.ts +6 -6
- package/lib-mjs/edit/tabUtils/handleTabOnTable.js +21 -21
- package/lib-mjs/edit/tabUtils/handleTabOnTable.js.map +1 -1
- package/lib-mjs/edit/tabUtils/handleTabOnTableCell.d.ts +6 -6
- package/lib-mjs/edit/tabUtils/handleTabOnTableCell.js +39 -39
- package/lib-mjs/edit/tabUtils/handleTabOnTableCell.js.map +1 -1
- package/lib-mjs/edit/utils/getLeafSiblingBlock.d.ts +45 -45
- package/lib-mjs/edit/utils/getLeafSiblingBlock.js +68 -68
- package/lib-mjs/edit/utils/getLeafSiblingBlock.js.map +1 -1
- package/lib-mjs/edit/utils/preserveParagraphFormat.d.ts +9 -9
- package/lib-mjs/edit/utils/preserveParagraphFormat.js +19 -19
- package/lib-mjs/edit/utils/preserveParagraphFormat.js.map +1 -1
- package/lib-mjs/edit/utils/splitParagraph.d.ts +12 -12
- package/lib-mjs/edit/utils/splitParagraph.js +36 -36
- package/lib-mjs/edit/utils/splitParagraph.js.map +1 -1
- package/lib-mjs/findReplace/FindReplacePlugin.d.ts +42 -42
- package/lib-mjs/findReplace/FindReplacePlugin.js +94 -93
- package/lib-mjs/findReplace/FindReplacePlugin.js.map +1 -1
- package/lib-mjs/findReplace/createFindReplaceContext.d.ts +8 -8
- package/lib-mjs/findReplace/createFindReplaceContext.js +21 -21
- package/lib-mjs/findReplace/createFindReplaceContext.js.map +1 -1
- package/lib-mjs/findReplace/find.d.ts +11 -11
- package/lib-mjs/findReplace/find.js +15 -15
- package/lib-mjs/findReplace/find.js.map +1 -1
- package/lib-mjs/findReplace/moveHighlight.d.ts +9 -9
- package/lib-mjs/findReplace/moveHighlight.js +16 -16
- package/lib-mjs/findReplace/moveHighlight.js.map +1 -1
- package/lib-mjs/findReplace/replace.d.ts +10 -10
- package/lib-mjs/findReplace/replace.js +43 -43
- package/lib-mjs/findReplace/replace.js.map +1 -1
- package/lib-mjs/findReplace/types/FindReplaceContext.d.ts +38 -38
- package/lib-mjs/findReplace/types/FindReplaceContext.js +1 -1
- package/lib-mjs/findReplace/types/FindReplaceContext.js.map +1 -1
- package/lib-mjs/findReplace/types/FindReplaceHighlightOptions.d.ts +13 -13
- package/lib-mjs/findReplace/types/FindReplaceHighlightOptions.js +1 -1
- package/lib-mjs/findReplace/types/FindReplaceHighlightOptions.js.map +1 -1
- package/lib-mjs/findReplace/types/HighlightHelper.d.ts +23 -23
- package/lib-mjs/findReplace/types/HighlightHelper.js +1 -1
- package/lib-mjs/findReplace/types/HighlightHelper.js.map +1 -1
- package/lib-mjs/findReplace/utils/HighlightHelperImpl.d.ts +9 -9
- package/lib-mjs/findReplace/utils/HighlightHelperImpl.js +60 -60
- package/lib-mjs/findReplace/utils/HighlightHelperImpl.js.map +1 -1
- package/lib-mjs/findReplace/utils/constants.d.ts +28 -28
- package/lib-mjs/findReplace/utils/constants.js +28 -28
- package/lib-mjs/findReplace/utils/constants.js.map +1 -1
- package/lib-mjs/findReplace/utils/replaceTextInRange.d.ts +4 -4
- package/lib-mjs/findReplace/utils/replaceTextInRange.js +66 -66
- package/lib-mjs/findReplace/utils/replaceTextInRange.js.map +1 -1
- package/lib-mjs/findReplace/utils/setMarkedIndex.d.ts +6 -6
- package/lib-mjs/findReplace/utils/setMarkedIndex.js +24 -24
- package/lib-mjs/findReplace/utils/setMarkedIndex.js.map +1 -1
- package/lib-mjs/findReplace/utils/sortRanges.d.ts +5 -5
- package/lib-mjs/findReplace/utils/sortRanges.js +18 -18
- package/lib-mjs/findReplace/utils/sortRanges.js.map +1 -1
- package/lib-mjs/findReplace/utils/updateHighlight.d.ts +6 -6
- package/lib-mjs/findReplace/utils/updateHighlight.js +43 -43
- package/lib-mjs/findReplace/utils/updateHighlight.js.map +1 -1
- package/lib-mjs/hiddenProperty/HiddenPropertyOptions.d.ts +11 -11
- package/lib-mjs/hiddenProperty/HiddenPropertyOptions.js +1 -1
- package/lib-mjs/hiddenProperty/HiddenPropertyOptions.js.map +1 -1
- package/lib-mjs/hiddenProperty/HiddenPropertyPlugin.d.ts +38 -38
- package/lib-mjs/hiddenProperty/HiddenPropertyPlugin.js +54 -54
- package/lib-mjs/hiddenProperty/HiddenPropertyPlugin.js.map +1 -1
- package/lib-mjs/hiddenProperty/fixupHiddenProperties.d.ts +9 -9
- package/lib-mjs/hiddenProperty/fixupHiddenProperties.js +33 -33
- package/lib-mjs/hiddenProperty/fixupHiddenProperties.js.map +1 -1
- package/lib-mjs/hyperlink/HyperlinkPlugin.d.ts +48 -48
- package/lib-mjs/hyperlink/HyperlinkPlugin.js +140 -140
- package/lib-mjs/hyperlink/HyperlinkPlugin.js.map +1 -1
- package/lib-mjs/hyperlink/HyperlinkToolTip.d.ts +7 -7
- package/lib-mjs/hyperlink/HyperlinkToolTip.js +1 -1
- package/lib-mjs/hyperlink/HyperlinkToolTip.js.map +1 -1
- package/lib-mjs/imageEdit/Cropper/createImageCropper.d.ts +10 -10
- package/lib-mjs/imageEdit/Cropper/createImageCropper.js +74 -74
- package/lib-mjs/imageEdit/Cropper/createImageCropper.js.map +1 -1
- package/lib-mjs/imageEdit/Cropper/cropperContext.d.ts +8 -8
- package/lib-mjs/imageEdit/Cropper/cropperContext.js +69 -69
- package/lib-mjs/imageEdit/Cropper/cropperContext.js.map +1 -1
- package/lib-mjs/imageEdit/ImageEditPlugin.d.ts +86 -86
- package/lib-mjs/imageEdit/ImageEditPlugin.js +581 -582
- package/lib-mjs/imageEdit/ImageEditPlugin.js.map +1 -1
- package/lib-mjs/imageEdit/Resizer/createImageResizer.d.ts +12 -12
- package/lib-mjs/imageEdit/Resizer/createImageResizer.js +84 -84
- package/lib-mjs/imageEdit/Resizer/createImageResizer.js.map +1 -1
- package/lib-mjs/imageEdit/Resizer/resizerContext.d.ts +8 -8
- package/lib-mjs/imageEdit/Resizer/resizerContext.js +57 -57
- package/lib-mjs/imageEdit/Resizer/resizerContext.js.map +1 -1
- package/lib-mjs/imageEdit/Resizer/updateSideHandlesVisibility.d.ts +4 -4
- package/lib-mjs/imageEdit/Resizer/updateSideHandlesVisibility.js +12 -12
- package/lib-mjs/imageEdit/Resizer/updateSideHandlesVisibility.js.map +1 -1
- package/lib-mjs/imageEdit/Rotator/createImageRotator.d.ts +6 -6
- package/lib-mjs/imageEdit/Rotator/createImageRotator.js +71 -71
- package/lib-mjs/imageEdit/Rotator/createImageRotator.js.map +1 -1
- package/lib-mjs/imageEdit/Rotator/rotatorContext.d.ts +8 -8
- package/lib-mjs/imageEdit/Rotator/rotatorContext.js +32 -32
- package/lib-mjs/imageEdit/Rotator/rotatorContext.js.map +1 -1
- package/lib-mjs/imageEdit/Rotator/updateRotateHandle.d.ts +7 -7
- package/lib-mjs/imageEdit/Rotator/updateRotateHandle.js +51 -51
- package/lib-mjs/imageEdit/Rotator/updateRotateHandle.js.map +1 -1
- package/lib-mjs/imageEdit/constants/constants.d.ts +77 -77
- package/lib-mjs/imageEdit/constants/constants.js +81 -81
- package/lib-mjs/imageEdit/constants/constants.js.map +1 -1
- package/lib-mjs/imageEdit/types/DragAndDropContext.d.ts +39 -39
- package/lib-mjs/imageEdit/types/DragAndDropContext.js +1 -1
- package/lib-mjs/imageEdit/types/DragAndDropContext.js.map +1 -1
- package/lib-mjs/imageEdit/types/GeneratedImageSize.d.ts +33 -33
- package/lib-mjs/imageEdit/types/GeneratedImageSize.js +1 -1
- package/lib-mjs/imageEdit/types/GeneratedImageSize.js.map +1 -1
- package/lib-mjs/imageEdit/types/ImageAndParagraph.d.ts +8 -8
- package/lib-mjs/imageEdit/types/ImageAndParagraph.js +1 -1
- package/lib-mjs/imageEdit/types/ImageAndParagraph.js.map +1 -1
- package/lib-mjs/imageEdit/types/ImageEditElementClass.d.ts +30 -30
- package/lib-mjs/imageEdit/types/ImageEditElementClass.js +31 -31
- package/lib-mjs/imageEdit/types/ImageEditElementClass.js.map +1 -1
- package/lib-mjs/imageEdit/types/ImageEditOptions.d.ts +55 -55
- package/lib-mjs/imageEdit/types/ImageEditOptions.js +1 -1
- package/lib-mjs/imageEdit/types/ImageEditOptions.js.map +1 -1
- package/lib-mjs/imageEdit/types/ImageHtmlOptions.d.ts +22 -22
- package/lib-mjs/imageEdit/types/ImageHtmlOptions.js +1 -1
- package/lib-mjs/imageEdit/types/ImageHtmlOptions.js.map +1 -1
- package/lib-mjs/imageEdit/utils/applyChange.d.ts +13 -13
- package/lib-mjs/imageEdit/utils/applyChange.js +68 -68
- package/lib-mjs/imageEdit/utils/applyChange.js.map +1 -1
- package/lib-mjs/imageEdit/utils/canRegenerateImage.d.ts +8 -8
- package/lib-mjs/imageEdit/utils/canRegenerateImage.js +27 -27
- package/lib-mjs/imageEdit/utils/canRegenerateImage.js.map +1 -1
- package/lib-mjs/imageEdit/utils/checkEditInfoState.d.ts +41 -41
- package/lib-mjs/imageEdit/utils/checkEditInfoState.js +48 -48
- package/lib-mjs/imageEdit/utils/checkEditInfoState.js.map +1 -1
- package/lib-mjs/imageEdit/utils/createImageWrapper.d.ts +18 -18
- package/lib-mjs/imageEdit/utils/createImageWrapper.js +87 -87
- package/lib-mjs/imageEdit/utils/createImageWrapper.js.map +1 -1
- package/lib-mjs/imageEdit/utils/doubleCheckResize.d.ts +12 -12
- package/lib-mjs/imageEdit/utils/doubleCheckResize.js +31 -31
- package/lib-mjs/imageEdit/utils/doubleCheckResize.js.map +1 -1
- package/lib-mjs/imageEdit/utils/filterInnerResizerHandles.d.ts +4 -4
- package/lib-mjs/imageEdit/utils/filterInnerResizerHandles.js +15 -15
- package/lib-mjs/imageEdit/utils/filterInnerResizerHandles.js.map +1 -1
- package/lib-mjs/imageEdit/utils/findEditingImage.d.ts +10 -10
- package/lib-mjs/imageEdit/utils/findEditingImage.js +35 -35
- package/lib-mjs/imageEdit/utils/findEditingImage.js.map +1 -1
- package/lib-mjs/imageEdit/utils/generateDataURL.d.ts +13 -13
- package/lib-mjs/imageEdit/utils/generateDataURL.js +52 -45
- package/lib-mjs/imageEdit/utils/generateDataURL.js.map +1 -1
- package/lib-mjs/imageEdit/utils/generateImageSize.d.ts +15 -15
- package/lib-mjs/imageEdit/utils/generateImageSize.js +41 -41
- package/lib-mjs/imageEdit/utils/generateImageSize.js.map +1 -1
- package/lib-mjs/imageEdit/utils/getDropAndDragHelpers.d.ts +10 -10
- package/lib-mjs/imageEdit/utils/getDropAndDragHelpers.js +19 -19
- package/lib-mjs/imageEdit/utils/getDropAndDragHelpers.js.map +1 -1
- package/lib-mjs/imageEdit/utils/getHTMLImageOptions.d.ts +7 -7
- package/lib-mjs/imageEdit/utils/getHTMLImageOptions.js +18 -18
- package/lib-mjs/imageEdit/utils/getHTMLImageOptions.js.map +1 -1
- package/lib-mjs/imageEdit/utils/getSelectedImage.d.ts +6 -6
- package/lib-mjs/imageEdit/utils/getSelectedImage.js +16 -16
- package/lib-mjs/imageEdit/utils/getSelectedImage.js.map +1 -1
- package/lib-mjs/imageEdit/utils/imageEditUtils.d.ts +47 -47
- package/lib-mjs/imageEdit/utils/imageEditUtils.js +104 -104
- package/lib-mjs/imageEdit/utils/imageEditUtils.js.map +1 -1
- package/lib-mjs/imageEdit/utils/normalizeImageSelection.d.ts +9 -9
- package/lib-mjs/imageEdit/utils/normalizeImageSelection.js +27 -27
- package/lib-mjs/imageEdit/utils/normalizeImageSelection.js.map +1 -1
- package/lib-mjs/imageEdit/utils/updateHandleCursor.d.ts +7 -7
- package/lib-mjs/imageEdit/utils/updateHandleCursor.js +29 -29
- package/lib-mjs/imageEdit/utils/updateHandleCursor.js.map +1 -1
- package/lib-mjs/imageEdit/utils/updateImageEditInfo.d.ts +10 -10
- package/lib-mjs/imageEdit/utils/updateImageEditInfo.js +47 -47
- package/lib-mjs/imageEdit/utils/updateImageEditInfo.js.map +1 -1
- package/lib-mjs/imageEdit/utils/updateWrapper.d.ts +6 -6
- package/lib-mjs/imageEdit/utils/updateWrapper.js +82 -82
- package/lib-mjs/imageEdit/utils/updateWrapper.js.map +1 -1
- package/lib-mjs/index.d.ts +38 -38
- package/lib-mjs/index.js +23 -23
- package/lib-mjs/index.js.map +1 -1
- package/lib-mjs/markdown/MarkdownPlugin.d.ts +64 -64
- package/lib-mjs/markdown/MarkdownPlugin.js +192 -192
- package/lib-mjs/markdown/MarkdownPlugin.js.map +1 -1
- package/lib-mjs/markdown/utils/setFormat.d.ts +5 -5
- package/lib-mjs/markdown/utils/setFormat.js +42 -42
- package/lib-mjs/markdown/utils/setFormat.js.map +1 -1
- package/lib-mjs/paste/DefaultSanitizers.d.ts +10 -10
- package/lib-mjs/paste/DefaultSanitizers.js +20 -20
- package/lib-mjs/paste/DefaultSanitizers.js.map +1 -1
- package/lib-mjs/paste/Excel/processPastedContentFromExcel.d.ts +30 -30
- package/lib-mjs/paste/Excel/processPastedContentFromExcel.js +132 -132
- package/lib-mjs/paste/Excel/processPastedContentFromExcel.js.map +1 -1
- package/lib-mjs/paste/PastePlugin.d.ts +44 -44
- package/lib-mjs/paste/PastePlugin.js +143 -135
- package/lib-mjs/paste/PastePlugin.js.map +1 -1
- package/lib-mjs/paste/PowerPoint/processPastedContentFromPowerPoint.d.ts +7 -7
- package/lib-mjs/paste/PowerPoint/processPastedContentFromPowerPoint.js +142 -142
- package/lib-mjs/paste/PowerPoint/processPastedContentFromPowerPoint.js.map +1 -1
- package/lib-mjs/paste/WacComponents/constants.d.ts +52 -52
- package/lib-mjs/paste/WacComponents/constants.js +63 -63
- package/lib-mjs/paste/WacComponents/constants.js.map +1 -1
- package/lib-mjs/paste/WacComponents/processPastedContentWacComponents.d.ts +9 -9
- package/lib-mjs/paste/WacComponents/processPastedContentWacComponents.js +186 -186
- package/lib-mjs/paste/WacComponents/processPastedContentWacComponents.js.map +1 -1
- package/lib-mjs/paste/WordDesktop/WordMetadata.d.ts +9 -9
- package/lib-mjs/paste/WordDesktop/WordMetadata.js +1 -1
- package/lib-mjs/paste/WordDesktop/WordMetadata.js.map +1 -1
- package/lib-mjs/paste/WordDesktop/getStyleMetadata.d.ts +22 -23
- package/lib-mjs/paste/WordDesktop/getStyleMetadata.js +106 -103
- package/lib-mjs/paste/WordDesktop/getStyleMetadata.js.map +1 -1
- package/lib-mjs/paste/WordDesktop/processPastedContentFromWordDesktop.d.ts +8 -7
- package/lib-mjs/paste/WordDesktop/processPastedContentFromWordDesktop.js +37 -34
- package/lib-mjs/paste/WordDesktop/processPastedContentFromWordDesktop.js.map +1 -1
- package/lib-mjs/paste/WordDesktop/processWordComments.d.ts +7 -7
- package/lib-mjs/paste/WordDesktop/processWordComments.js +17 -17
- package/lib-mjs/paste/WordDesktop/processWordComments.js.map +1 -1
- package/lib-mjs/paste/WordDesktop/processWordLists.d.ts +11 -11
- package/lib-mjs/paste/WordDesktop/processWordLists.js +200 -200
- package/lib-mjs/paste/WordDesktop/processWordLists.js.map +1 -1
- package/lib-mjs/paste/oneNote/processPastedContentFromOneNote.d.ts +50 -50
- package/lib-mjs/paste/oneNote/processPastedContentFromOneNote.js +106 -106
- package/lib-mjs/paste/oneNote/processPastedContentFromOneNote.js.map +1 -1
- package/lib-mjs/paste/parsers/adjustPercentileLineHeightParser.d.ts +8 -8
- package/lib-mjs/paste/parsers/adjustPercentileLineHeightParser.js +21 -21
- package/lib-mjs/paste/parsers/adjustPercentileLineHeightParser.js.map +1 -1
- package/lib-mjs/paste/parsers/blockElementParser.d.ts +7 -7
- package/lib-mjs/paste/parsers/blockElementParser.js +10 -10
- package/lib-mjs/paste/parsers/blockElementParser.js.map +1 -1
- package/lib-mjs/paste/parsers/deprecatedColorParser.d.ts +5 -5
- package/lib-mjs/paste/parsers/deprecatedColorParser.js +15 -15
- package/lib-mjs/paste/parsers/deprecatedColorParser.js.map +1 -1
- package/lib-mjs/paste/parsers/imageSizeParser.d.ts +6 -6
- package/lib-mjs/paste/parsers/imageSizeParser.js +19 -19
- package/lib-mjs/paste/parsers/imageSizeParser.js.map +1 -1
- package/lib-mjs/paste/parsers/linkParser.d.ts +5 -5
- package/lib-mjs/paste/parsers/linkParser.js +23 -23
- package/lib-mjs/paste/parsers/linkParser.js.map +1 -1
- package/lib-mjs/paste/parsers/listLevelParser.d.ts +10 -10
- package/lib-mjs/paste/parsers/listLevelParser.js +14 -14
- package/lib-mjs/paste/parsers/listLevelParser.js.map +1 -1
- package/lib-mjs/paste/parsers/removeNegativeTextIndentParser.d.ts +5 -5
- package/lib-mjs/paste/parsers/removeNegativeTextIndentParser.js +9 -9
- package/lib-mjs/paste/parsers/removeNegativeTextIndentParser.js.map +1 -1
- package/lib-mjs/paste/parsers/tableBorderParser.d.ts +5 -5
- package/lib-mjs/paste/parsers/tableBorderParser.js +23 -23
- package/lib-mjs/paste/parsers/tableBorderParser.js.map +1 -1
- package/lib-mjs/paste/parsers/wordContainerParser.d.ts +8 -0
- package/lib-mjs/paste/parsers/wordContainerParser.js +13 -0
- package/lib-mjs/paste/parsers/wordContainerParser.js.map +1 -0
- package/lib-mjs/paste/parsers/wordTableParser.d.ts +8 -8
- package/lib-mjs/paste/parsers/wordTableParser.js +15 -15
- package/lib-mjs/paste/parsers/wordTableParser.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/constants.d.ts +17 -17
- package/lib-mjs/paste/pasteSourceValidations/constants.js +17 -17
- package/lib-mjs/paste/pasteSourceValidations/constants.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/documentContainWacElements.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/documentContainWacElements.js +11 -11
- package/lib-mjs/paste/pasteSourceValidations/documentContainWacElements.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/getDocumentSource.d.ts +52 -0
- package/lib-mjs/paste/pasteSourceValidations/{getPasteSource.js → getDocumentSource.js} +37 -45
- package/lib-mjs/paste/pasteSourceValidations/getDocumentSource.js.map +1 -0
- package/lib-mjs/paste/pasteSourceValidations/isExcelDesktopDocument.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/isExcelDesktopDocument.js +13 -13
- package/lib-mjs/paste/pasteSourceValidations/isExcelDesktopDocument.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/isExcelNonNativeEvent.d.ts +7 -7
- package/lib-mjs/paste/pasteSourceValidations/isExcelNonNativeEvent.js +13 -13
- package/lib-mjs/paste/pasteSourceValidations/isExcelNonNativeEvent.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/isExcelOnlineDocument.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/isExcelOnlineDocument.js +15 -15
- package/lib-mjs/paste/pasteSourceValidations/isExcelOnlineDocument.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/isGoogleSheetDocument.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/isGoogleSheetDocument.js +11 -11
- package/lib-mjs/paste/pasteSourceValidations/isGoogleSheetDocument.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/isOneNoteDocument.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/isOneNoteDocument.js +13 -13
- package/lib-mjs/paste/pasteSourceValidations/isOneNoteDocument.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/isPowerPointDesktopDocument.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/isPowerPointDesktopDocument.js +11 -11
- package/lib-mjs/paste/pasteSourceValidations/isPowerPointDesktopDocument.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/isWordDesktopDocument.d.ts +8 -8
- package/lib-mjs/paste/pasteSourceValidations/isWordDesktopDocument.js +20 -20
- package/lib-mjs/paste/pasteSourceValidations/isWordDesktopDocument.js.map +1 -1
- package/lib-mjs/paste/pasteSourceValidations/shouldConvertToSingleImage.d.ts +9 -9
- package/lib-mjs/paste/pasteSourceValidations/shouldConvertToSingleImage.js +13 -14
- package/lib-mjs/paste/pasteSourceValidations/shouldConvertToSingleImage.js.map +1 -1
- package/lib-mjs/paste/processors/pasteButtonProcessor.d.ts +7 -7
- package/lib-mjs/paste/processors/pasteButtonProcessor.js +31 -31
- package/lib-mjs/paste/processors/pasteButtonProcessor.js.map +1 -1
- package/lib-mjs/paste/utils/addParser.d.ts +5 -5
- package/lib-mjs/paste/utils/addParser.js +13 -13
- package/lib-mjs/paste/utils/addParser.js.map +1 -1
- package/lib-mjs/paste/utils/chainSanitizerCallback.d.ts +9 -9
- package/lib-mjs/paste/utils/chainSanitizerCallback.js +31 -31
- package/lib-mjs/paste/utils/chainSanitizerCallback.js.map +1 -1
- package/lib-mjs/paste/utils/customListUtils.d.ts +9 -9
- package/lib-mjs/paste/utils/customListUtils.js +62 -62
- package/lib-mjs/paste/utils/customListUtils.js.map +1 -1
- package/lib-mjs/paste/utils/getStyles.d.ts +6 -6
- package/lib-mjs/paste/utils/getStyles.js +18 -18
- package/lib-mjs/paste/utils/getStyles.js.map +1 -1
- package/lib-mjs/paste/utils/setProcessor.d.ts +5 -5
- package/lib-mjs/paste/utils/setProcessor.js +9 -9
- package/lib-mjs/paste/utils/setProcessor.js.map +1 -1
- package/lib-mjs/picker/PickerHandler.d.ts +112 -112
- package/lib-mjs/picker/PickerHandler.js +1 -1
- package/lib-mjs/picker/PickerHandler.js.map +1 -1
- package/lib-mjs/picker/PickerHelper.d.ts +22 -22
- package/lib-mjs/picker/PickerHelper.js +1 -1
- package/lib-mjs/picker/PickerHelper.js.map +1 -1
- package/lib-mjs/picker/PickerHelperImpl.d.ts +25 -25
- package/lib-mjs/picker/PickerHelperImpl.js +50 -50
- package/lib-mjs/picker/PickerHelperImpl.js.map +1 -1
- package/lib-mjs/picker/PickerPlugin.d.ts +54 -54
- package/lib-mjs/picker/PickerPlugin.js +213 -213
- package/lib-mjs/picker/PickerPlugin.js.map +1 -1
- package/lib-mjs/picker/getQueryString.d.ts +5 -5
- package/lib-mjs/picker/getQueryString.js +31 -31
- package/lib-mjs/picker/getQueryString.js.map +1 -1
- package/lib-mjs/pluginUtils/CreateElement/CreateElementData.d.ts +35 -35
- package/lib-mjs/pluginUtils/CreateElement/CreateElementData.js +1 -1
- package/lib-mjs/pluginUtils/CreateElement/CreateElementData.js.map +1 -1
- package/lib-mjs/pluginUtils/CreateElement/createElement.d.ts +9 -9
- package/lib-mjs/pluginUtils/CreateElement/createElement.js +47 -47
- package/lib-mjs/pluginUtils/CreateElement/createElement.js.map +1 -1
- package/lib-mjs/pluginUtils/Disposable.d.ts +10 -10
- package/lib-mjs/pluginUtils/Disposable.js +1 -1
- package/lib-mjs/pluginUtils/Disposable.js.map +1 -1
- package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHandler.d.ts +45 -45
- package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHandler.js +1 -1
- package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHandler.js.map +1 -1
- package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHelper.d.ts +39 -39
- package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHelper.js +117 -117
- package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHelper.js.map +1 -1
- package/lib-mjs/pluginUtils/Rect/getIntersectedRect.d.ts +27 -27
- package/lib-mjs/pluginUtils/Rect/getIntersectedRect.js +41 -41
- package/lib-mjs/pluginUtils/Rect/getIntersectedRect.js.map +1 -1
- package/lib-mjs/shortcut/ShortcutCommand.d.ts +44 -44
- package/lib-mjs/shortcut/ShortcutCommand.js +1 -1
- package/lib-mjs/shortcut/ShortcutCommand.js.map +1 -1
- package/lib-mjs/shortcut/ShortcutPlugin.d.ts +51 -51
- package/lib-mjs/shortcut/ShortcutPlugin.js +122 -122
- package/lib-mjs/shortcut/ShortcutPlugin.js.map +1 -1
- package/lib-mjs/shortcut/shortcuts.d.ts +92 -92
- package/lib-mjs/shortcut/shortcuts.js +235 -235
- package/lib-mjs/shortcut/shortcuts.js.map +1 -1
- package/lib-mjs/shortcut/utils/setShortcutIndentationCommand.d.ts +5 -5
- package/lib-mjs/shortcut/utils/setShortcutIndentationCommand.js +17 -17
- package/lib-mjs/shortcut/utils/setShortcutIndentationCommand.js.map +1 -1
- package/lib-mjs/tableEdit/OnTableEditorCreatedCallback.d.ts +5 -5
- package/lib-mjs/tableEdit/OnTableEditorCreatedCallback.js +1 -1
- package/lib-mjs/tableEdit/OnTableEditorCreatedCallback.js.map +1 -1
- package/lib-mjs/tableEdit/TableEditPlugin.d.ts +56 -56
- package/lib-mjs/tableEdit/TableEditPlugin.js +168 -168
- package/lib-mjs/tableEdit/TableEditPlugin.js.map +1 -1
- package/lib-mjs/tableEdit/TableWithRoot.d.ts +15 -15
- package/lib-mjs/tableEdit/TableWithRoot.js +1 -1
- package/lib-mjs/tableEdit/TableWithRoot.js.map +1 -1
- package/lib-mjs/tableEdit/editors/TableEditor.d.ts +90 -86
- package/lib-mjs/tableEdit/editors/TableEditor.js +375 -338
- package/lib-mjs/tableEdit/editors/TableEditor.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/CellResizer.d.ts +55 -54
- package/lib-mjs/tableEdit/editors/features/CellResizer.js +239 -203
- package/lib-mjs/tableEdit/editors/features/CellResizer.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/TableEditFeature.d.ts +13 -13
- package/lib-mjs/tableEdit/editors/features/TableEditFeature.js +12 -12
- package/lib-mjs/tableEdit/editors/features/TableEditFeature.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/TableEditFeatureName.d.ts +4 -4
- package/lib-mjs/tableEdit/editors/features/TableEditFeatureName.js +1 -1
- package/lib-mjs/tableEdit/editors/features/TableEditFeatureName.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/TableInserter.d.ts +33 -33
- package/lib-mjs/tableEdit/editors/features/TableInserter.js +121 -121
- package/lib-mjs/tableEdit/editors/features/TableInserter.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/TableMover.d.ts +53 -53
- package/lib-mjs/tableEdit/editors/features/TableMover.js +227 -227
- package/lib-mjs/tableEdit/editors/features/TableMover.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/TableResizer.d.ts +50 -50
- package/lib-mjs/tableEdit/editors/features/TableResizer.js +183 -183
- package/lib-mjs/tableEdit/editors/features/TableResizer.js.map +1 -1
- package/lib-mjs/tableEdit/editors/features/TableRowColumnSelector.d.ts +42 -0
- package/lib-mjs/tableEdit/editors/features/TableRowColumnSelector.js +216 -0
- package/lib-mjs/tableEdit/editors/features/TableRowColumnSelector.js.map +1 -0
- package/lib-mjs/tableEdit/editors/utils/getTableFromContentModel.d.ts +6 -6
- package/lib-mjs/tableEdit/editors/utils/getTableFromContentModel.js +16 -15
- package/lib-mjs/tableEdit/editors/utils/getTableFromContentModel.js.map +1 -1
- package/lib-mjs/touch/TouchPlugin.d.ts +32 -32
- package/lib-mjs/touch/TouchPlugin.js +208 -206
- package/lib-mjs/touch/TouchPlugin.js.map +1 -1
- package/lib-mjs/utils/getNodePositionFromEvent.d.ts +5 -5
- package/lib-mjs/utils/getNodePositionFromEvent.js +29 -29
- package/lib-mjs/utils/getNodePositionFromEvent.js.map +1 -1
- package/lib-mjs/watermark/WatermarkFormat.d.ts +5 -5
- package/lib-mjs/watermark/WatermarkFormat.js +1 -1
- package/lib-mjs/watermark/WatermarkFormat.js.map +1 -1
- package/lib-mjs/watermark/WatermarkPlugin.d.ts +42 -42
- package/lib-mjs/watermark/WatermarkPlugin.js +134 -134
- package/lib-mjs/watermark/WatermarkPlugin.js.map +1 -1
- package/lib-mjs/watermark/isModelEmptyFast.d.ts +5 -5
- package/lib-mjs/watermark/isModelEmptyFast.js +33 -33
- package/lib-mjs/watermark/isModelEmptyFast.js.map +1 -1
- package/package.json +5 -5
- package/lib/paste/pasteSourceValidations/getPasteSource.d.ts +0 -28
- package/lib/paste/pasteSourceValidations/getPasteSource.js.map +0 -1
- package/lib-amd/paste/pasteSourceValidations/getPasteSource.d.ts +0 -28
- package/lib-amd/paste/pasteSourceValidations/getPasteSource.js.map +0 -1
- package/lib-mjs/paste/pasteSourceValidations/getPasteSource.d.ts +0 -28
- package/lib-mjs/paste/pasteSourceValidations/getPasteSource.js.map +0 -1
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
define(["require", "exports", "./tableSelectionUtils"], function (require, exports, tableSelectionUtils_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AnnouncePlugin = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* AnnouncePlugin helps editor announce table selection changes for accessibility
|
|
7
|
-
*/
|
|
8
|
-
var AnnouncePlugin = /** @class */ (function () {
|
|
9
|
-
function AnnouncePlugin() {
|
|
10
|
-
this.editor = null;
|
|
11
|
-
this.previousSelection = null;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Get name of this plugin
|
|
15
|
-
*/
|
|
16
|
-
AnnouncePlugin.prototype.getName = function () {
|
|
17
|
-
return 'Announce';
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* The first method that editor will call to a plugin when editor is initializing.
|
|
21
|
-
* It will pass in the editor instance, plugin should take this chance to save the
|
|
22
|
-
* editor reference so that it can call to any editor method or format API later.
|
|
23
|
-
* @param editor The editor object
|
|
24
|
-
*/
|
|
25
|
-
AnnouncePlugin.prototype.initialize = function (editor) {
|
|
26
|
-
this.editor = editor;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* The last method that editor will call to a plugin before it is disposed.
|
|
30
|
-
* Plugin can take this chance to clear the reference to editor. After this method is
|
|
31
|
-
* called, plugin should not call to any editor method since it will result in error.
|
|
32
|
-
*/
|
|
33
|
-
AnnouncePlugin.prototype.dispose = function () {
|
|
34
|
-
this.editor = null;
|
|
35
|
-
this.previousSelection = null;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Core method for a plugin. Once an event happens in editor, editor will call this
|
|
39
|
-
* method of each plugin to handle the event as long as the event is not handled
|
|
40
|
-
* exclusively by another plugin.
|
|
41
|
-
* @param event The event to handle:
|
|
42
|
-
*/
|
|
43
|
-
AnnouncePlugin.prototype.onPluginEvent = function (event) {
|
|
44
|
-
var _a, _b;
|
|
45
|
-
if (!this.editor) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (event.eventType == 'selectionChanged') {
|
|
49
|
-
if (((_a = event.newSelection) === null || _a === void 0 ? void 0 : _a.type) == 'table') {
|
|
50
|
-
var action = (0, tableSelectionUtils_1.getIsSelectingOrUnselecting)(((_b = this.previousSelection) === null || _b === void 0 ? void 0 : _b.type) == 'table' ? this.previousSelection : null, event.newSelection);
|
|
51
|
-
if (action && event.newSelection.tableSelectionInfo) {
|
|
52
|
-
this.editor.announce({
|
|
53
|
-
defaultStrings: action === 'unselecting' ? 'unselected' : 'selected',
|
|
54
|
-
formatStrings: [
|
|
55
|
-
(0, tableSelectionUtils_1.retrieveStringFromParsedTable)(event.newSelection.tableSelectionInfo),
|
|
56
|
-
],
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
this.previousSelection = event.newSelection;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
return AnnouncePlugin;
|
|
64
|
-
}());
|
|
65
|
-
exports.AnnouncePlugin = AnnouncePlugin;
|
|
66
|
-
});
|
|
1
|
+
define(["require", "exports", "./tableSelectionUtils"], function (require, exports, tableSelectionUtils_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AnnouncePlugin = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* AnnouncePlugin helps editor announce table selection changes for accessibility
|
|
7
|
+
*/
|
|
8
|
+
var AnnouncePlugin = /** @class */ (function () {
|
|
9
|
+
function AnnouncePlugin() {
|
|
10
|
+
this.editor = null;
|
|
11
|
+
this.previousSelection = null;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Get name of this plugin
|
|
15
|
+
*/
|
|
16
|
+
AnnouncePlugin.prototype.getName = function () {
|
|
17
|
+
return 'Announce';
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The first method that editor will call to a plugin when editor is initializing.
|
|
21
|
+
* It will pass in the editor instance, plugin should take this chance to save the
|
|
22
|
+
* editor reference so that it can call to any editor method or format API later.
|
|
23
|
+
* @param editor The editor object
|
|
24
|
+
*/
|
|
25
|
+
AnnouncePlugin.prototype.initialize = function (editor) {
|
|
26
|
+
this.editor = editor;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The last method that editor will call to a plugin before it is disposed.
|
|
30
|
+
* Plugin can take this chance to clear the reference to editor. After this method is
|
|
31
|
+
* called, plugin should not call to any editor method since it will result in error.
|
|
32
|
+
*/
|
|
33
|
+
AnnouncePlugin.prototype.dispose = function () {
|
|
34
|
+
this.editor = null;
|
|
35
|
+
this.previousSelection = null;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Core method for a plugin. Once an event happens in editor, editor will call this
|
|
39
|
+
* method of each plugin to handle the event as long as the event is not handled
|
|
40
|
+
* exclusively by another plugin.
|
|
41
|
+
* @param event The event to handle:
|
|
42
|
+
*/
|
|
43
|
+
AnnouncePlugin.prototype.onPluginEvent = function (event) {
|
|
44
|
+
var _a, _b;
|
|
45
|
+
if (!this.editor) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (event.eventType == 'selectionChanged') {
|
|
49
|
+
if (((_a = event.newSelection) === null || _a === void 0 ? void 0 : _a.type) == 'table') {
|
|
50
|
+
var action = (0, tableSelectionUtils_1.getIsSelectingOrUnselecting)(((_b = this.previousSelection) === null || _b === void 0 ? void 0 : _b.type) == 'table' ? this.previousSelection : null, event.newSelection);
|
|
51
|
+
if (action && event.newSelection.tableSelectionInfo) {
|
|
52
|
+
this.editor.announce({
|
|
53
|
+
defaultStrings: action === 'unselecting' ? 'unselected' : 'selected',
|
|
54
|
+
formatStrings: [
|
|
55
|
+
(0, tableSelectionUtils_1.retrieveStringFromParsedTable)(event.newSelection.tableSelectionInfo),
|
|
56
|
+
],
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
this.previousSelection = event.newSelection;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
return AnnouncePlugin;
|
|
64
|
+
}());
|
|
65
|
+
exports.AnnouncePlugin = AnnouncePlugin;
|
|
66
|
+
});
|
|
67
67
|
//# sourceMappingURL=AnnouncePlugin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnouncePlugin.js","sourceRoot":"","sources":["../../../../packages/roosterjs-content-model-plugins/lib/announce/AnnouncePlugin.ts"],"names":[],"mappings":";;;;IAQA;;OAEG;IACH;QAAA;YACY,WAAM,GAAmB,IAAI,CAAC;YAC9B,sBAAiB,GAAwB,IAAI,CAAC;QA2D1D,CAAC;QAzDG;;WAEG;QACH,gCAAO,GAAP;YACI,OAAO,UAAU,CAAC;QACtB,CAAC;QAED;;;;;WAKG;QACH,mCAAU,GAAV,UAAW,MAAe;YACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACzB,CAAC;QAED;;;;WAIG;QACH,gCAAO,GAAP;YACI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;YACnB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAClC,CAAC;QAED;;;;;WAKG;QACH,sCAAa,GAAb,UAAc,KAAkB;;YAC5B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;gBACd,OAAO;aACV;YAED,IAAI,KAAK,CAAC,SAAS,IAAI,kBAAkB,EAAE;gBACvC,IAAI,CAAA,MAAA,KAAK,CAAC,YAAY,0CAAE,IAAI,KAAI,OAAO,EAAE;oBACrC,IAAM,MAAM,GAAG,IAAA,iDAA2B,EACtC,CAAA,MAAA,IAAI,CAAC,iBAAiB,0CAAE,IAAI,KAAI,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,EACvE,KAAK,CAAC,YAAY,CACrB,CAAC;oBACF,IAAI,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,kBAAkB,EAAE;wBACjD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;4BACjB,cAAc,EAAE,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU;4BACpE,aAAa,EAAE;gCACX,IAAA,mDAA6B,EAAC,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC;6BACvE;yBACJ,CAAC,CAAC;qBACN;iBACJ;gBAED,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAAC;aAC/C;QACL,CAAC;QACL,qBAAC;IAAD,CAAC,AA7DD,IA6DC;IA7DY,wCAAc","sourcesContent":["import { getIsSelectingOrUnselecting, retrieveStringFromParsedTable } from './tableSelectionUtils';\nimport type {\n IEditor,\n PluginEvent,\n EditorPlugin,\n DOMSelection,\n} from 'roosterjs-content-model-types';\n\n/**\n * AnnouncePlugin helps editor announce table selection changes for accessibility\n */\nexport class AnnouncePlugin implements EditorPlugin {\n private editor: IEditor | null = null;\n private previousSelection: DOMSelection | null = null;\n\n /**\n * Get name of this plugin\n */\n getName() {\n return 'Announce';\n }\n\n /**\n * The first method that editor will call to a plugin when editor is initializing.\n * It will pass in the editor instance, plugin should take this chance to save the\n * editor reference so that it can call to any editor method or format API later.\n * @param editor The editor object\n */\n initialize(editor: IEditor) {\n this.editor = editor;\n }\n\n /**\n * The last method that editor will call to a plugin before it is disposed.\n * Plugin can take this chance to clear the reference to editor. After this method is\n * called, plugin should not call to any editor method since it will result in error.\n */\n dispose() {\n this.editor = null;\n this.previousSelection = null;\n }\n\n /**\n * Core method for a plugin. Once an event happens in editor, editor will call this\n * method of each plugin to handle the event as long as the event is not handled\n * exclusively by another plugin.\n * @param event The event to handle:\n */\n onPluginEvent(event: PluginEvent) {\n if (!this.editor) {\n return;\n }\n\n if (event.eventType == 'selectionChanged') {\n if (event.newSelection?.type == 'table') {\n const action = getIsSelectingOrUnselecting(\n this.previousSelection?.type == 'table' ? this.previousSelection : null,\n event.newSelection\n );\n if (action && event.newSelection.tableSelectionInfo) {\n this.editor.announce({\n defaultStrings: action === 'unselecting' ? 'unselected' : 'selected',\n formatStrings: [\n retrieveStringFromParsedTable(event.newSelection.tableSelectionInfo),\n ],\n });\n }\n }\n\n this.previousSelection = event.newSelection;\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"AnnouncePlugin.js","sourceRoot":"","sources":["../../../../packages/roosterjs-content-model-plugins/lib/announce/AnnouncePlugin.ts"],"names":[],"mappings":";;;;IAQA;;OAEG;IACH;QAAA;YACY,WAAM,GAAmB,IAAI,CAAC;YAC9B,sBAAiB,GAAwB,IAAI,CAAC;QA2D1D,CAAC;QAzDG;;WAEG;QACH,gCAAO,GAAP;YACI,OAAO,UAAU,CAAC;QACtB,CAAC;QAED;;;;;WAKG;QACH,mCAAU,GAAV,UAAW,MAAe;YACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACzB,CAAC;QAED;;;;WAIG;QACH,gCAAO,GAAP;YACI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;YACnB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAClC,CAAC;QAED;;;;;WAKG;QACH,sCAAa,GAAb,UAAc,KAAkB;;YAC5B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;gBACd,OAAO;aACV;YAED,IAAI,KAAK,CAAC,SAAS,IAAI,kBAAkB,EAAE;gBACvC,IAAI,CAAA,MAAA,KAAK,CAAC,YAAY,0CAAE,IAAI,KAAI,OAAO,EAAE;oBACrC,IAAM,MAAM,GAAG,IAAA,iDAA2B,EACtC,CAAA,MAAA,IAAI,CAAC,iBAAiB,0CAAE,IAAI,KAAI,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,EACvE,KAAK,CAAC,YAAY,CACrB,CAAC;oBACF,IAAI,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,kBAAkB,EAAE;wBACjD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;4BACjB,cAAc,EAAE,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU;4BACpE,aAAa,EAAE;gCACX,IAAA,mDAA6B,EAAC,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC;6BACvE;yBACJ,CAAC,CAAC;qBACN;iBACJ;gBAED,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAAC;aAC/C;QACL,CAAC;QACL,qBAAC;IAAD,CAAC,AA7DD,IA6DC;IA7DY,wCAAc","sourcesContent":["import { getIsSelectingOrUnselecting, retrieveStringFromParsedTable } from './tableSelectionUtils';\r\nimport type {\r\n IEditor,\r\n PluginEvent,\r\n EditorPlugin,\r\n DOMSelection,\r\n} from 'roosterjs-content-model-types';\r\n\r\n/**\r\n * AnnouncePlugin helps editor announce table selection changes for accessibility\r\n */\r\nexport class AnnouncePlugin implements EditorPlugin {\r\n private editor: IEditor | null = null;\r\n private previousSelection: DOMSelection | null = null;\r\n\r\n /**\r\n * Get name of this plugin\r\n */\r\n getName() {\r\n return 'Announce';\r\n }\r\n\r\n /**\r\n * The first method that editor will call to a plugin when editor is initializing.\r\n * It will pass in the editor instance, plugin should take this chance to save the\r\n * editor reference so that it can call to any editor method or format API later.\r\n * @param editor The editor object\r\n */\r\n initialize(editor: IEditor) {\r\n this.editor = editor;\r\n }\r\n\r\n /**\r\n * The last method that editor will call to a plugin before it is disposed.\r\n * Plugin can take this chance to clear the reference to editor. After this method is\r\n * called, plugin should not call to any editor method since it will result in error.\r\n */\r\n dispose() {\r\n this.editor = null;\r\n this.previousSelection = null;\r\n }\r\n\r\n /**\r\n * Core method for a plugin. Once an event happens in editor, editor will call this\r\n * method of each plugin to handle the event as long as the event is not handled\r\n * exclusively by another plugin.\r\n * @param event The event to handle:\r\n */\r\n onPluginEvent(event: PluginEvent) {\r\n if (!this.editor) {\r\n return;\r\n }\r\n\r\n if (event.eventType == 'selectionChanged') {\r\n if (event.newSelection?.type == 'table') {\r\n const action = getIsSelectingOrUnselecting(\r\n this.previousSelection?.type == 'table' ? this.previousSelection : null,\r\n event.newSelection\r\n );\r\n if (action && event.newSelection.tableSelectionInfo) {\r\n this.editor.announce({\r\n defaultStrings: action === 'unselecting' ? 'unselected' : 'selected',\r\n formatStrings: [\r\n retrieveStringFromParsedTable(event.newSelection.tableSelectionInfo),\r\n ],\r\n });\r\n }\r\n }\r\n\r\n this.previousSelection = event.newSelection;\r\n }\r\n }\r\n}\r\n"]}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { TableSelectionInfo, TableSelection } from 'roosterjs-content-model-types';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
* Retrieves text content from selected table cells in a parsed table structure
|
|
5
|
-
* @param tsInfo Table selection information containing the parsed table and coordinates
|
|
6
|
-
* @returns Combined text content from all selected cells, separated by spaces
|
|
7
|
-
*/
|
|
8
|
-
export declare function retrieveStringFromParsedTable(tsInfo: TableSelectionInfo): string;
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
* Determines whether the table selection is expanding (selecting more) or contracting (selecting less)
|
|
12
|
-
* @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties
|
|
13
|
-
* @param firstCo Current first coordinate of the selection (with row, col properties)
|
|
14
|
-
* @param lastCo Current last coordinate of the selection (with row, col properties)
|
|
15
|
-
* @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change
|
|
16
|
-
*/
|
|
17
|
-
export declare function getIsSelectingOrUnselecting(prevTableSelection: TableSelection | null, newTableSelection: TableSelection): 'selecting' | 'unselecting' | null;
|
|
1
|
+
import type { TableSelectionInfo, TableSelection } from 'roosterjs-content-model-types';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* Retrieves text content from selected table cells in a parsed table structure
|
|
5
|
+
* @param tsInfo Table selection information containing the parsed table and coordinates
|
|
6
|
+
* @returns Combined text content from all selected cells, separated by spaces
|
|
7
|
+
*/
|
|
8
|
+
export declare function retrieveStringFromParsedTable(tsInfo: TableSelectionInfo): string;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
* Determines whether the table selection is expanding (selecting more) or contracting (selecting less)
|
|
12
|
+
* @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties
|
|
13
|
+
* @param firstCo Current first coordinate of the selection (with row, col properties)
|
|
14
|
+
* @param lastCo Current last coordinate of the selection (with row, col properties)
|
|
15
|
+
* @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change
|
|
16
|
+
*/
|
|
17
|
+
export declare function getIsSelectingOrUnselecting(prevTableSelection: TableSelection | null, newTableSelection: TableSelection): 'selecting' | 'unselecting' | null;
|
|
@@ -1,74 +1,71 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.getIsSelectingOrUnselecting = exports.retrieveStringFromParsedTable = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
* Retrieves text content from selected table cells in a parsed table structure
|
|
8
|
-
* @param tsInfo Table selection information containing the parsed table and coordinates
|
|
9
|
-
* @returns Combined text content from all selected cells, separated by spaces
|
|
10
|
-
*/
|
|
11
|
-
function retrieveStringFromParsedTable(tsInfo) {
|
|
12
|
-
var parsedTable = tsInfo.parsedTable, firstCo = tsInfo.firstCo, lastCo = tsInfo.lastCo;
|
|
13
|
-
var result = '';
|
|
14
|
-
if (lastCo) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
* @
|
|
33
|
-
*
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return '
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
exports.getIsSelectingOrUnselecting = getIsSelectingOrUnselecting;
|
|
73
|
-
});
|
|
1
|
+
define(["require", "exports"], function (require, exports) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.getIsSelectingOrUnselecting = exports.retrieveStringFromParsedTable = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
* Retrieves text content from selected table cells in a parsed table structure
|
|
8
|
+
* @param tsInfo Table selection information containing the parsed table and coordinates
|
|
9
|
+
* @returns Combined text content from all selected cells, separated by spaces
|
|
10
|
+
*/
|
|
11
|
+
function retrieveStringFromParsedTable(tsInfo) {
|
|
12
|
+
var parsedTable = tsInfo.parsedTable, firstCo = tsInfo.firstCo, lastCo = tsInfo.lastCo;
|
|
13
|
+
var result = '';
|
|
14
|
+
if (lastCo) {
|
|
15
|
+
var firstCol = Math.min(firstCo.col, lastCo.col);
|
|
16
|
+
var lastCol = Math.max(firstCo.col, lastCo.col);
|
|
17
|
+
var firstRow = Math.min(firstCo.row, lastCo.row);
|
|
18
|
+
var lastRow = Math.max(firstCo.row, lastCo.row);
|
|
19
|
+
for (var r = firstRow; r <= lastRow; r++) {
|
|
20
|
+
for (var c = firstCol; c <= lastCol; c++) {
|
|
21
|
+
var cell = parsedTable[r] && parsedTable[r][c];
|
|
22
|
+
if (cell && typeof cell != 'string') {
|
|
23
|
+
result += ' ' + cell.innerText + ',';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
exports.retrieveStringFromParsedTable = retrieveStringFromParsedTable;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* Determines whether the table selection is expanding (selecting more) or contracting (selecting less)
|
|
34
|
+
* @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties
|
|
35
|
+
* @param firstCo Current first coordinate of the selection (with row, col properties)
|
|
36
|
+
* @param lastCo Current last coordinate of the selection (with row, col properties)
|
|
37
|
+
* @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change
|
|
38
|
+
*/
|
|
39
|
+
function getIsSelectingOrUnselecting(prevTableSelection, newTableSelection) {
|
|
40
|
+
if (!prevTableSelection) {
|
|
41
|
+
return 'selecting';
|
|
42
|
+
}
|
|
43
|
+
var prevFirstRow = prevTableSelection.firstRow, prevLastRow = prevTableSelection.lastRow, prevFirstColumn = prevTableSelection.firstColumn, prevLastColumn = prevTableSelection.lastColumn;
|
|
44
|
+
var newFirstRow = newTableSelection.firstRow, newLastRow = newTableSelection.lastRow, newFirstColumn = newTableSelection.firstColumn, newLastColumn = newTableSelection.lastColumn;
|
|
45
|
+
var prevRowSpan = Math.abs(prevLastRow - prevFirstRow) + 1;
|
|
46
|
+
var prevColSpan = Math.abs(prevLastColumn - prevFirstColumn) + 1;
|
|
47
|
+
var prevArea = prevRowSpan * prevColSpan;
|
|
48
|
+
var newRowSpan = Math.abs(newLastRow - newFirstRow) + 1;
|
|
49
|
+
var newColSpan = Math.abs(newLastColumn - newFirstColumn) + 1;
|
|
50
|
+
var newArea = newRowSpan * newColSpan;
|
|
51
|
+
// Check if selections are identical
|
|
52
|
+
if (prevFirstRow === newFirstRow &&
|
|
53
|
+
prevLastRow === newLastRow &&
|
|
54
|
+
prevFirstColumn === newFirstColumn &&
|
|
55
|
+
prevLastColumn === newLastColumn) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
if (newArea > prevArea) {
|
|
59
|
+
return 'selecting';
|
|
60
|
+
}
|
|
61
|
+
else if (newArea < prevArea) {
|
|
62
|
+
return 'unselecting';
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
// Same area but different positions
|
|
66
|
+
return 'selecting';
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.getIsSelectingOrUnselecting = getIsSelectingOrUnselecting;
|
|
70
|
+
});
|
|
74
71
|
//# sourceMappingURL=tableSelectionUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableSelectionUtils.js","sourceRoot":"","sources":["../../../../packages/roosterjs-content-model-plugins/lib/announce/tableSelectionUtils.ts"],"names":[],"mappings":";;;;IAEA;;;;;OAKG;IACH,SAAgB,6BAA6B,CAAC,MAA0B;QAC5D,IAAA,WAAW,GAAsB,MAAM,YAA5B,EAAE,OAAO,GAAa,MAAM,QAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;QAChD,IAAI,MAAM,GAAG,EAAE,CAAC;QAEhB,IAAI,MAAM,EAAE;YACR,
|
|
1
|
+
{"version":3,"file":"tableSelectionUtils.js","sourceRoot":"","sources":["../../../../packages/roosterjs-content-model-plugins/lib/announce/tableSelectionUtils.ts"],"names":[],"mappings":";;;;IAEA;;;;;OAKG;IACH,SAAgB,6BAA6B,CAAC,MAA0B;QAC5D,IAAA,WAAW,GAAsB,MAAM,YAA5B,EAAE,OAAO,GAAa,MAAM,QAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;QAChD,IAAI,MAAM,GAAG,EAAE,CAAC;QAEhB,IAAI,MAAM,EAAE;YACR,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;YACnD,IAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;YAClD,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;YACnD,IAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;YAElD,KAAK,IAAI,CAAC,GAAG,QAAQ,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC,EAAE,EAAE;gBACtC,KAAK,IAAI,CAAC,GAAG,QAAQ,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC,EAAE,EAAE;oBACtC,IAAM,IAAI,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBACjD,IAAI,IAAI,IAAI,OAAO,IAAI,IAAI,QAAQ,EAAE;wBACjC,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;qBACxC;iBACJ;aACJ;SACJ;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;IArBD,sEAqBC;IAED;;;;;;;OAOG;IACH,SAAgB,2BAA2B,CACvC,kBAAyC,EACzC,iBAAiC;QAEjC,IAAI,CAAC,kBAAkB,EAAE;YACrB,OAAO,WAAW,CAAC;SACtB;QAGG,IAAU,YAAY,GAItB,kBAAkB,SAJI,EACb,WAAW,GAGpB,kBAAkB,QAHE,EACP,eAAe,GAE5B,kBAAkB,YAFU,EAChB,cAAc,GAC1B,kBAAkB,WADQ,CACP;QAGnB,IAAU,WAAW,GAIrB,iBAAiB,SAJI,EACZ,UAAU,GAGnB,iBAAiB,QAHE,EACN,cAAc,GAE3B,iBAAiB,YAFU,EACf,aAAa,GACzB,iBAAiB,WADQ,CACP;QAEtB,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QAC7D,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;QACnE,IAAM,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;QAE3C,IAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC;QAC1D,IAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;QAChE,IAAM,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;QAExC,oCAAoC;QACpC,IACI,YAAY,KAAK,WAAW;YAC5B,WAAW,KAAK,UAAU;YAC1B,eAAe,KAAK,cAAc;YAClC,cAAc,KAAK,aAAa,EAClC;YACE,OAAO,IAAI,CAAC;SACf;QAED,IAAI,OAAO,GAAG,QAAQ,EAAE;YACpB,OAAO,WAAW,CAAC;SACtB;aAAM,IAAI,OAAO,GAAG,QAAQ,EAAE;YAC3B,OAAO,aAAa,CAAC;SACxB;aAAM;YACH,oCAAoC;YACpC,OAAO,WAAW,CAAC;SACtB;IACL,CAAC;IAhDD,kEAgDC","sourcesContent":["import type { TableSelectionInfo, TableSelection } from 'roosterjs-content-model-types';\r\n\r\n/**\r\n * @internal\r\n * Retrieves text content from selected table cells in a parsed table structure\r\n * @param tsInfo Table selection information containing the parsed table and coordinates\r\n * @returns Combined text content from all selected cells, separated by spaces\r\n */\r\nexport function retrieveStringFromParsedTable(tsInfo: TableSelectionInfo): string {\r\n const { parsedTable, firstCo, lastCo } = tsInfo;\r\n let result = '';\r\n\r\n if (lastCo) {\r\n const firstCol = Math.min(firstCo.col, lastCo.col);\r\n const lastCol = Math.max(firstCo.col, lastCo.col);\r\n const firstRow = Math.min(firstCo.row, lastCo.row);\r\n const lastRow = Math.max(firstCo.row, lastCo.row);\r\n\r\n for (let r = firstRow; r <= lastRow; r++) {\r\n for (let c = firstCol; c <= lastCol; c++) {\r\n const cell = parsedTable[r] && parsedTable[r][c];\r\n if (cell && typeof cell != 'string') {\r\n result += ' ' + cell.innerText + ',';\r\n }\r\n }\r\n }\r\n }\r\n\r\n return result;\r\n}\r\n\r\n/**\r\n * @internal\r\n * Determines whether the table selection is expanding (selecting more) or contracting (selecting less)\r\n * @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties\r\n * @param firstCo Current first coordinate of the selection (with row, col properties)\r\n * @param lastCo Current last coordinate of the selection (with row, col properties)\r\n * @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change\r\n */\r\nexport function getIsSelectingOrUnselecting(\r\n prevTableSelection: TableSelection | null,\r\n newTableSelection: TableSelection\r\n): 'selecting' | 'unselecting' | null {\r\n if (!prevTableSelection) {\r\n return 'selecting';\r\n }\r\n\r\n const {\r\n firstRow: prevFirstRow,\r\n lastRow: prevLastRow,\r\n firstColumn: prevFirstColumn,\r\n lastColumn: prevLastColumn,\r\n } = prevTableSelection;\r\n\r\n const {\r\n firstRow: newFirstRow,\r\n lastRow: newLastRow,\r\n firstColumn: newFirstColumn,\r\n lastColumn: newLastColumn,\r\n } = newTableSelection;\r\n\r\n const prevRowSpan = Math.abs(prevLastRow - prevFirstRow) + 1;\r\n const prevColSpan = Math.abs(prevLastColumn - prevFirstColumn) + 1;\r\n const prevArea = prevRowSpan * prevColSpan;\r\n\r\n const newRowSpan = Math.abs(newLastRow - newFirstRow) + 1;\r\n const newColSpan = Math.abs(newLastColumn - newFirstColumn) + 1;\r\n const newArea = newRowSpan * newColSpan;\r\n\r\n // Check if selections are identical\r\n if (\r\n prevFirstRow === newFirstRow &&\r\n prevLastRow === newLastRow &&\r\n prevFirstColumn === newFirstColumn &&\r\n prevLastColumn === newLastColumn\r\n ) {\r\n return null;\r\n }\r\n\r\n if (newArea > prevArea) {\r\n return 'selecting';\r\n } else if (newArea < prevArea) {\r\n return 'unselecting';\r\n } else {\r\n // Same area but different positions\r\n return 'selecting';\r\n }\r\n}\r\n"]}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import type { AutoFormatOptions } from './interface/AutoFormatOptions';
|
|
2
|
-
import type { EditorPlugin, IEditor, PluginEvent } from 'roosterjs-content-model-types';
|
|
3
|
-
/**
|
|
4
|
-
* Auto Format plugin handles auto formatting, such as transforming * characters into a bullet list.
|
|
5
|
-
* It can be customized with options to enable or disable auto list features.
|
|
6
|
-
*/
|
|
7
|
-
export declare class AutoFormatPlugin implements EditorPlugin {
|
|
8
|
-
private options;
|
|
9
|
-
private editor;
|
|
10
|
-
/**
|
|
11
|
-
* @param options An optional parameter that takes in an object of type AutoFormatOptions, which includes the following properties:
|
|
12
|
-
* - autoBullet: A boolean that enables or disables automatic bullet list formatting. Defaults to false.
|
|
13
|
-
* - autoNumbering: A boolean that enables or disables automatic numbering formatting. Defaults to false.
|
|
14
|
-
* - removeListMargins: A boolean to remove list margins when it is automatically triggered. Defaults to false.
|
|
15
|
-
* - autoHyphen: A boolean that enables or disables automatic hyphen transformation. Defaults to false.
|
|
16
|
-
* - autoFraction: A boolean that enables or disables automatic fraction transformation. Defaults to false.
|
|
17
|
-
* - autoOrdinals: A boolean that enables or disables automatic ordinal number transformation. Defaults to false.
|
|
18
|
-
* - autoLink: A boolean that enables or disables automatic hyperlink url address creation when pasting or typing content. Defaults to false.
|
|
19
|
-
* - autoUnlink: A boolean that enables or disables automatic hyperlink removal when pressing backspace. Defaults to false.
|
|
20
|
-
* - autoTel: A boolean that enables or disables automatic hyperlink telephone numbers transformation. Defaults to false.
|
|
21
|
-
* - autoMailto: A boolean that enables or disables automatic hyperlink email address transformation. Defaults to false.
|
|
22
|
-
* - autoHorizontalLine: A boolean that enables or disables automatic horizontal line creation. Defaults to false.
|
|
23
|
-
*/
|
|
24
|
-
constructor(options?: AutoFormatOptions);
|
|
25
|
-
/**
|
|
26
|
-
* Get name of this plugin
|
|
27
|
-
*/
|
|
28
|
-
getName(): string;
|
|
29
|
-
/**
|
|
30
|
-
* The first method that editor will call to a plugin when editor is initializing.
|
|
31
|
-
* It will pass in the editor instance, plugin should take this chance to save the
|
|
32
|
-
* editor reference so that it can call to any editor method or format API later.
|
|
33
|
-
* @param editor The editor object
|
|
34
|
-
*/
|
|
35
|
-
initialize(editor: IEditor): void;
|
|
36
|
-
/**
|
|
37
|
-
* The last method that editor will call to a plugin before it is disposed.
|
|
38
|
-
* Plugin can take this chance to clear the reference to editor. After this method is
|
|
39
|
-
* called, plugin should not call to any editor method since it will result in error.
|
|
40
|
-
*/
|
|
41
|
-
dispose(): void;
|
|
42
|
-
private shouldHandleInputEventExclusively;
|
|
43
|
-
willHandleEventExclusively(event: PluginEvent): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Core method for a plugin. Once an event happens in editor, editor will call this
|
|
46
|
-
* method of each plugin to handle the event as long as the event is not handled
|
|
47
|
-
* exclusively by another plugin.
|
|
48
|
-
* @param event The event to handle:
|
|
49
|
-
*/
|
|
50
|
-
onPluginEvent(event: PluginEvent): void;
|
|
51
|
-
private autoLink;
|
|
52
|
-
private tabFeatures;
|
|
53
|
-
private features;
|
|
54
|
-
private enterFeatures;
|
|
55
|
-
private handleKeyboardEvents;
|
|
56
|
-
private handleEditorInputEvent;
|
|
57
|
-
private handleKeyDownEvent;
|
|
58
|
-
private handleContentChangedEvent;
|
|
59
|
-
}
|
|
1
|
+
import type { AutoFormatOptions } from './interface/AutoFormatOptions';
|
|
2
|
+
import type { EditorPlugin, IEditor, PluginEvent } from 'roosterjs-content-model-types';
|
|
3
|
+
/**
|
|
4
|
+
* Auto Format plugin handles auto formatting, such as transforming * characters into a bullet list.
|
|
5
|
+
* It can be customized with options to enable or disable auto list features.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AutoFormatPlugin implements EditorPlugin {
|
|
8
|
+
private options;
|
|
9
|
+
private editor;
|
|
10
|
+
/**
|
|
11
|
+
* @param options An optional parameter that takes in an object of type AutoFormatOptions, which includes the following properties:
|
|
12
|
+
* - autoBullet: A boolean that enables or disables automatic bullet list formatting. Defaults to false.
|
|
13
|
+
* - autoNumbering: A boolean that enables or disables automatic numbering formatting. Defaults to false.
|
|
14
|
+
* - removeListMargins: A boolean to remove list margins when it is automatically triggered. Defaults to false.
|
|
15
|
+
* - autoHyphen: A boolean that enables or disables automatic hyphen transformation. Defaults to false.
|
|
16
|
+
* - autoFraction: A boolean that enables or disables automatic fraction transformation. Defaults to false.
|
|
17
|
+
* - autoOrdinals: A boolean that enables or disables automatic ordinal number transformation. Defaults to false.
|
|
18
|
+
* - autoLink: A boolean that enables or disables automatic hyperlink url address creation when pasting or typing content. Defaults to false.
|
|
19
|
+
* - autoUnlink: A boolean that enables or disables automatic hyperlink removal when pressing backspace. Defaults to false.
|
|
20
|
+
* - autoTel: A boolean that enables or disables automatic hyperlink telephone numbers transformation. Defaults to false.
|
|
21
|
+
* - autoMailto: A boolean that enables or disables automatic hyperlink email address transformation. Defaults to false.
|
|
22
|
+
* - autoHorizontalLine: A boolean that enables or disables automatic horizontal line creation. Defaults to false.
|
|
23
|
+
*/
|
|
24
|
+
constructor(options?: AutoFormatOptions);
|
|
25
|
+
/**
|
|
26
|
+
* Get name of this plugin
|
|
27
|
+
*/
|
|
28
|
+
getName(): string;
|
|
29
|
+
/**
|
|
30
|
+
* The first method that editor will call to a plugin when editor is initializing.
|
|
31
|
+
* It will pass in the editor instance, plugin should take this chance to save the
|
|
32
|
+
* editor reference so that it can call to any editor method or format API later.
|
|
33
|
+
* @param editor The editor object
|
|
34
|
+
*/
|
|
35
|
+
initialize(editor: IEditor): void;
|
|
36
|
+
/**
|
|
37
|
+
* The last method that editor will call to a plugin before it is disposed.
|
|
38
|
+
* Plugin can take this chance to clear the reference to editor. After this method is
|
|
39
|
+
* called, plugin should not call to any editor method since it will result in error.
|
|
40
|
+
*/
|
|
41
|
+
dispose(): void;
|
|
42
|
+
private shouldHandleInputEventExclusively;
|
|
43
|
+
willHandleEventExclusively(event: PluginEvent): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Core method for a plugin. Once an event happens in editor, editor will call this
|
|
46
|
+
* method of each plugin to handle the event as long as the event is not handled
|
|
47
|
+
* exclusively by another plugin.
|
|
48
|
+
* @param event The event to handle:
|
|
49
|
+
*/
|
|
50
|
+
onPluginEvent(event: PluginEvent): void;
|
|
51
|
+
private autoLink;
|
|
52
|
+
private tabFeatures;
|
|
53
|
+
private features;
|
|
54
|
+
private enterFeatures;
|
|
55
|
+
private handleKeyboardEvents;
|
|
56
|
+
private handleEditorInputEvent;
|
|
57
|
+
private handleKeyDownEvent;
|
|
58
|
+
private handleContentChangedEvent;
|
|
59
|
+
}
|