roosterjs-content-model-plugins 9.45.0 → 9.45.2

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.
Files changed (1495) hide show
  1. package/lib/announce/AnnouncePlugin.d.ts +32 -32
  2. package/lib/announce/AnnouncePlugin.js +65 -65
  3. package/lib/announce/AnnouncePlugin.js.map +1 -1
  4. package/lib/announce/tableSelectionUtils.d.ts +17 -17
  5. package/lib/announce/tableSelectionUtils.js +68 -68
  6. package/lib/announce/tableSelectionUtils.js.map +1 -1
  7. package/lib/autoFormat/AutoFormatPlugin.d.ts +59 -59
  8. package/lib/autoFormat/AutoFormatPlugin.js +298 -298
  9. package/lib/autoFormat/AutoFormatPlugin.js.map +1 -1
  10. package/lib/autoFormat/horizontalLine/checkAndInsertHorizontalLine.d.ts +24 -24
  11. package/lib/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js +91 -91
  12. package/lib/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js.map +1 -1
  13. package/lib/autoFormat/hyphen/transformHyphen.d.ts +5 -5
  14. package/lib/autoFormat/hyphen/transformHyphen.js +34 -34
  15. package/lib/autoFormat/hyphen/transformHyphen.js.map +1 -1
  16. package/lib/autoFormat/interface/AutoFormatOptions.d.ts +34 -34
  17. package/lib/autoFormat/interface/AutoFormatOptions.js +2 -2
  18. package/lib/autoFormat/interface/AutoFormatOptions.js.map +1 -1
  19. package/lib/autoFormat/link/createLink.d.ts +5 -5
  20. package/lib/autoFormat/link/createLink.js +35 -35
  21. package/lib/autoFormat/link/createLink.js.map +1 -1
  22. package/lib/autoFormat/link/unlink.d.ts +5 -5
  23. package/lib/autoFormat/link/unlink.js +18 -18
  24. package/lib/autoFormat/link/unlink.js.map +1 -1
  25. package/lib/autoFormat/list/convertAlphaToDecimals.d.ts +7 -7
  26. package/lib/autoFormat/list/convertAlphaToDecimals.js +22 -22
  27. package/lib/autoFormat/list/convertAlphaToDecimals.js.map +1 -1
  28. package/lib/autoFormat/list/getIndex.d.ts +4 -4
  29. package/lib/autoFormat/list/getIndex.js +13 -13
  30. package/lib/autoFormat/list/getIndex.js.map +1 -1
  31. package/lib/autoFormat/list/getListTypeStyle.d.ts +14 -14
  32. package/lib/autoFormat/list/getListTypeStyle.js +99 -99
  33. package/lib/autoFormat/list/getListTypeStyle.js.map +1 -1
  34. package/lib/autoFormat/list/getNumberingListStyle.d.ts +4 -4
  35. package/lib/autoFormat/list/getNumberingListStyle.js +153 -153
  36. package/lib/autoFormat/list/getNumberingListStyle.js.map +1 -1
  37. package/lib/autoFormat/list/keyboardListTrigger.d.ts +5 -5
  38. package/lib/autoFormat/list/keyboardListTrigger.js +49 -49
  39. package/lib/autoFormat/list/keyboardListTrigger.js.map +1 -1
  40. package/lib/autoFormat/numbers/transformFraction.d.ts +5 -5
  41. package/lib/autoFormat/numbers/transformFraction.js +27 -27
  42. package/lib/autoFormat/numbers/transformFraction.js.map +1 -1
  43. package/lib/autoFormat/numbers/transformOrdinals.d.ts +4 -4
  44. package/lib/autoFormat/numbers/transformOrdinals.js +65 -65
  45. package/lib/autoFormat/numbers/transformOrdinals.js.map +1 -1
  46. package/lib/contextMenuBase/ContextMenuPluginBase.d.ts +58 -58
  47. package/lib/contextMenuBase/ContextMenuPluginBase.js +83 -83
  48. package/lib/contextMenuBase/ContextMenuPluginBase.js.map +1 -1
  49. package/lib/customReplace/CustomReplacePlugin.d.ts +61 -61
  50. package/lib/customReplace/CustomReplacePlugin.js +86 -86
  51. package/lib/customReplace/CustomReplacePlugin.js.map +1 -1
  52. package/lib/edit/EditOptions.d.ts +78 -78
  53. package/lib/edit/EditOptions.js +2 -2
  54. package/lib/edit/EditOptions.js.map +1 -1
  55. package/lib/edit/EditPlugin.d.ts +60 -60
  56. package/lib/edit/EditPlugin.js +256 -256
  57. package/lib/edit/EditPlugin.js.map +1 -1
  58. package/lib/edit/deleteSteps/deleteAllSegmentBefore.d.ts +5 -5
  59. package/lib/edit/deleteSteps/deleteAllSegmentBefore.js +23 -23
  60. package/lib/edit/deleteSteps/deleteAllSegmentBefore.js.map +1 -1
  61. package/lib/edit/deleteSteps/deleteCollapsedSelection.d.ts +10 -10
  62. package/lib/edit/deleteSteps/deleteCollapsedSelection.js +114 -114
  63. package/lib/edit/deleteSteps/deleteCollapsedSelection.js.map +1 -1
  64. package/lib/edit/deleteSteps/deleteEmptyQuote.d.ts +5 -5
  65. package/lib/edit/deleteSteps/deleteEmptyQuote.js +62 -62
  66. package/lib/edit/deleteSteps/deleteEmptyQuote.js.map +1 -1
  67. package/lib/edit/deleteSteps/deleteList.d.ts +5 -5
  68. package/lib/edit/deleteSteps/deleteList.js +58 -58
  69. package/lib/edit/deleteSteps/deleteList.js.map +1 -1
  70. package/lib/edit/deleteSteps/deleteParagraphStyle.d.ts +5 -5
  71. package/lib/edit/deleteSteps/deleteParagraphStyle.js +36 -36
  72. package/lib/edit/deleteSteps/deleteParagraphStyle.js.map +1 -1
  73. package/lib/edit/deleteSteps/deleteWordSelection.d.ts +9 -9
  74. package/lib/edit/deleteSteps/deleteWordSelection.js +172 -172
  75. package/lib/edit/deleteSteps/deleteWordSelection.js.map +1 -1
  76. package/lib/edit/handleKeyboardEventCommon.d.ts +14 -14
  77. package/lib/edit/handleKeyboardEventCommon.js +71 -71
  78. package/lib/edit/handleKeyboardEventCommon.js.map +1 -1
  79. package/lib/edit/inputSteps/handleAutoLink.d.ts +5 -5
  80. package/lib/edit/inputSteps/handleAutoLink.js +24 -24
  81. package/lib/edit/inputSteps/handleAutoLink.js.map +1 -1
  82. package/lib/edit/inputSteps/handleEnterOnList.d.ts +5 -5
  83. package/lib/edit/inputSteps/handleEnterOnList.js +71 -71
  84. package/lib/edit/inputSteps/handleEnterOnList.js.map +1 -1
  85. package/lib/edit/inputSteps/handleEnterOnParagraph.d.ts +5 -5
  86. package/lib/edit/inputSteps/handleEnterOnParagraph.js +21 -21
  87. package/lib/edit/inputSteps/handleEnterOnParagraph.js.map +1 -1
  88. package/lib/edit/keyboardDelete.d.ts +11 -11
  89. package/lib/edit/keyboardDelete.js +114 -114
  90. package/lib/edit/keyboardDelete.js.map +1 -1
  91. package/lib/edit/keyboardEnter.d.ts +5 -5
  92. package/lib/edit/keyboardEnter.js +54 -54
  93. package/lib/edit/keyboardEnter.js.map +1 -1
  94. package/lib/edit/keyboardInput.d.ts +5 -5
  95. package/lib/edit/keyboardInput.js +64 -64
  96. package/lib/edit/keyboardInput.js.map +1 -1
  97. package/lib/edit/keyboardTab.d.ts +6 -6
  98. package/lib/edit/keyboardTab.js +74 -74
  99. package/lib/edit/keyboardTab.js.map +1 -1
  100. package/lib/edit/tabUtils/handleTabOnList.d.ts +7 -7
  101. package/lib/edit/tabUtils/handleTabOnList.js +33 -33
  102. package/lib/edit/tabUtils/handleTabOnList.js.map +1 -1
  103. package/lib/edit/tabUtils/handleTabOnParagraph.d.ts +17 -17
  104. package/lib/edit/tabUtils/handleTabOnParagraph.js +94 -94
  105. package/lib/edit/tabUtils/handleTabOnParagraph.js.map +1 -1
  106. package/lib/edit/tabUtils/handleTabOnTable.d.ts +6 -6
  107. package/lib/edit/tabUtils/handleTabOnTable.js +25 -25
  108. package/lib/edit/tabUtils/handleTabOnTable.js.map +1 -1
  109. package/lib/edit/tabUtils/handleTabOnTableCell.d.ts +6 -6
  110. package/lib/edit/tabUtils/handleTabOnTableCell.js +43 -43
  111. package/lib/edit/tabUtils/handleTabOnTableCell.js.map +1 -1
  112. package/lib/edit/utils/getLeafSiblingBlock.d.ts +45 -45
  113. package/lib/edit/utils/getLeafSiblingBlock.js +72 -72
  114. package/lib/edit/utils/getLeafSiblingBlock.js.map +1 -1
  115. package/lib/edit/utils/preserveParagraphFormat.d.ts +9 -9
  116. package/lib/edit/utils/preserveParagraphFormat.js +23 -23
  117. package/lib/edit/utils/preserveParagraphFormat.js.map +1 -1
  118. package/lib/edit/utils/splitParagraph.d.ts +12 -12
  119. package/lib/edit/utils/splitParagraph.js +40 -40
  120. package/lib/edit/utils/splitParagraph.js.map +1 -1
  121. package/lib/findReplace/FindReplacePlugin.d.ts +42 -42
  122. package/lib/findReplace/FindReplacePlugin.js +97 -97
  123. package/lib/findReplace/FindReplacePlugin.js.map +1 -1
  124. package/lib/findReplace/createFindReplaceContext.d.ts +8 -8
  125. package/lib/findReplace/createFindReplaceContext.js +25 -25
  126. package/lib/findReplace/createFindReplaceContext.js.map +1 -1
  127. package/lib/findReplace/find.d.ts +11 -11
  128. package/lib/findReplace/find.js +19 -19
  129. package/lib/findReplace/find.js.map +1 -1
  130. package/lib/findReplace/moveHighlight.d.ts +9 -9
  131. package/lib/findReplace/moveHighlight.js +20 -20
  132. package/lib/findReplace/moveHighlight.js.map +1 -1
  133. package/lib/findReplace/replace.d.ts +10 -10
  134. package/lib/findReplace/replace.js +47 -47
  135. package/lib/findReplace/replace.js.map +1 -1
  136. package/lib/findReplace/types/FindReplaceContext.d.ts +38 -38
  137. package/lib/findReplace/types/FindReplaceContext.js +2 -2
  138. package/lib/findReplace/types/FindReplaceContext.js.map +1 -1
  139. package/lib/findReplace/types/FindReplaceHighlightOptions.d.ts +13 -13
  140. package/lib/findReplace/types/FindReplaceHighlightOptions.js +2 -2
  141. package/lib/findReplace/types/FindReplaceHighlightOptions.js.map +1 -1
  142. package/lib/findReplace/types/HighlightHelper.d.ts +23 -23
  143. package/lib/findReplace/types/HighlightHelper.js +2 -2
  144. package/lib/findReplace/types/HighlightHelper.js.map +1 -1
  145. package/lib/findReplace/utils/HighlightHelperImpl.d.ts +9 -9
  146. package/lib/findReplace/utils/HighlightHelperImpl.js +64 -64
  147. package/lib/findReplace/utils/HighlightHelperImpl.js.map +1 -1
  148. package/lib/findReplace/utils/constants.d.ts +28 -28
  149. package/lib/findReplace/utils/constants.js +31 -31
  150. package/lib/findReplace/utils/constants.js.map +1 -1
  151. package/lib/findReplace/utils/replaceTextInRange.d.ts +4 -4
  152. package/lib/findReplace/utils/replaceTextInRange.js +70 -70
  153. package/lib/findReplace/utils/replaceTextInRange.js.map +1 -1
  154. package/lib/findReplace/utils/setMarkedIndex.d.ts +6 -6
  155. package/lib/findReplace/utils/setMarkedIndex.js +28 -28
  156. package/lib/findReplace/utils/setMarkedIndex.js.map +1 -1
  157. package/lib/findReplace/utils/sortRanges.d.ts +5 -5
  158. package/lib/findReplace/utils/sortRanges.js +22 -22
  159. package/lib/findReplace/utils/sortRanges.js.map +1 -1
  160. package/lib/findReplace/utils/updateHighlight.d.ts +6 -6
  161. package/lib/findReplace/utils/updateHighlight.js +47 -47
  162. package/lib/findReplace/utils/updateHighlight.js.map +1 -1
  163. package/lib/hiddenProperty/HiddenPropertyOptions.d.ts +11 -11
  164. package/lib/hiddenProperty/HiddenPropertyOptions.js +2 -2
  165. package/lib/hiddenProperty/HiddenPropertyOptions.js.map +1 -1
  166. package/lib/hiddenProperty/HiddenPropertyPlugin.d.ts +38 -38
  167. package/lib/hiddenProperty/HiddenPropertyPlugin.js +57 -57
  168. package/lib/hiddenProperty/HiddenPropertyPlugin.js.map +1 -1
  169. package/lib/hiddenProperty/fixupHiddenProperties.d.ts +9 -9
  170. package/lib/hiddenProperty/fixupHiddenProperties.js +37 -37
  171. package/lib/hiddenProperty/fixupHiddenProperties.js.map +1 -1
  172. package/lib/hyperlink/HyperlinkPlugin.d.ts +48 -48
  173. package/lib/hyperlink/HyperlinkPlugin.js +143 -143
  174. package/lib/hyperlink/HyperlinkPlugin.js.map +1 -1
  175. package/lib/hyperlink/HyperlinkToolTip.d.ts +7 -7
  176. package/lib/hyperlink/HyperlinkToolTip.js +2 -2
  177. package/lib/hyperlink/HyperlinkToolTip.js.map +1 -1
  178. package/lib/imageEdit/Cropper/createImageCropper.d.ts +10 -10
  179. package/lib/imageEdit/Cropper/createImageCropper.js +79 -79
  180. package/lib/imageEdit/Cropper/createImageCropper.js.map +1 -1
  181. package/lib/imageEdit/Cropper/cropperContext.d.ts +8 -8
  182. package/lib/imageEdit/Cropper/cropperContext.js +72 -72
  183. package/lib/imageEdit/Cropper/cropperContext.js.map +1 -1
  184. package/lib/imageEdit/ImageEditPlugin.d.ts +86 -86
  185. package/lib/imageEdit/ImageEditPlugin.js +584 -584
  186. package/lib/imageEdit/ImageEditPlugin.js.map +1 -1
  187. package/lib/imageEdit/Resizer/createImageResizer.d.ts +12 -12
  188. package/lib/imageEdit/Resizer/createImageResizer.js +88 -88
  189. package/lib/imageEdit/Resizer/createImageResizer.js.map +1 -1
  190. package/lib/imageEdit/Resizer/resizerContext.d.ts +8 -8
  191. package/lib/imageEdit/Resizer/resizerContext.js +60 -60
  192. package/lib/imageEdit/Resizer/resizerContext.js.map +1 -1
  193. package/lib/imageEdit/Resizer/updateSideHandlesVisibility.d.ts +4 -4
  194. package/lib/imageEdit/Resizer/updateSideHandlesVisibility.js +16 -16
  195. package/lib/imageEdit/Resizer/updateSideHandlesVisibility.js.map +1 -1
  196. package/lib/imageEdit/Rotator/createImageRotator.d.ts +6 -6
  197. package/lib/imageEdit/Rotator/createImageRotator.js +75 -75
  198. package/lib/imageEdit/Rotator/createImageRotator.js.map +1 -1
  199. package/lib/imageEdit/Rotator/rotatorContext.d.ts +8 -8
  200. package/lib/imageEdit/Rotator/rotatorContext.js +35 -35
  201. package/lib/imageEdit/Rotator/rotatorContext.js.map +1 -1
  202. package/lib/imageEdit/Rotator/updateRotateHandle.d.ts +7 -7
  203. package/lib/imageEdit/Rotator/updateRotateHandle.js +55 -55
  204. package/lib/imageEdit/Rotator/updateRotateHandle.js.map +1 -1
  205. package/lib/imageEdit/constants/constants.d.ts +77 -77
  206. package/lib/imageEdit/constants/constants.js +84 -84
  207. package/lib/imageEdit/constants/constants.js.map +1 -1
  208. package/lib/imageEdit/types/DragAndDropContext.d.ts +39 -39
  209. package/lib/imageEdit/types/DragAndDropContext.js +2 -2
  210. package/lib/imageEdit/types/DragAndDropContext.js.map +1 -1
  211. package/lib/imageEdit/types/GeneratedImageSize.d.ts +33 -33
  212. package/lib/imageEdit/types/GeneratedImageSize.js +2 -2
  213. package/lib/imageEdit/types/GeneratedImageSize.js.map +1 -1
  214. package/lib/imageEdit/types/ImageAndParagraph.d.ts +8 -8
  215. package/lib/imageEdit/types/ImageAndParagraph.js +2 -2
  216. package/lib/imageEdit/types/ImageAndParagraph.js.map +1 -1
  217. package/lib/imageEdit/types/ImageEditElementClass.d.ts +30 -30
  218. package/lib/imageEdit/types/ImageEditElementClass.js +34 -34
  219. package/lib/imageEdit/types/ImageEditElementClass.js.map +1 -1
  220. package/lib/imageEdit/types/ImageEditOptions.d.ts +55 -55
  221. package/lib/imageEdit/types/ImageEditOptions.js +2 -2
  222. package/lib/imageEdit/types/ImageEditOptions.js.map +1 -1
  223. package/lib/imageEdit/types/ImageHtmlOptions.d.ts +22 -22
  224. package/lib/imageEdit/types/ImageHtmlOptions.js +2 -2
  225. package/lib/imageEdit/types/ImageHtmlOptions.js.map +1 -1
  226. package/lib/imageEdit/utils/applyChange.d.ts +13 -13
  227. package/lib/imageEdit/utils/applyChange.js +72 -72
  228. package/lib/imageEdit/utils/applyChange.js.map +1 -1
  229. package/lib/imageEdit/utils/canRegenerateImage.d.ts +8 -8
  230. package/lib/imageEdit/utils/canRegenerateImage.js +31 -31
  231. package/lib/imageEdit/utils/canRegenerateImage.js.map +1 -1
  232. package/lib/imageEdit/utils/checkEditInfoState.d.ts +41 -41
  233. package/lib/imageEdit/utils/checkEditInfoState.js +52 -52
  234. package/lib/imageEdit/utils/checkEditInfoState.js.map +1 -1
  235. package/lib/imageEdit/utils/createImageWrapper.d.ts +18 -18
  236. package/lib/imageEdit/utils/createImageWrapper.js +91 -91
  237. package/lib/imageEdit/utils/createImageWrapper.js.map +1 -1
  238. package/lib/imageEdit/utils/doubleCheckResize.d.ts +12 -12
  239. package/lib/imageEdit/utils/doubleCheckResize.js +35 -35
  240. package/lib/imageEdit/utils/doubleCheckResize.js.map +1 -1
  241. package/lib/imageEdit/utils/filterInnerResizerHandles.d.ts +4 -4
  242. package/lib/imageEdit/utils/filterInnerResizerHandles.js +19 -19
  243. package/lib/imageEdit/utils/filterInnerResizerHandles.js.map +1 -1
  244. package/lib/imageEdit/utils/findEditingImage.d.ts +10 -10
  245. package/lib/imageEdit/utils/findEditingImage.js +39 -39
  246. package/lib/imageEdit/utils/findEditingImage.js.map +1 -1
  247. package/lib/imageEdit/utils/generateDataURL.d.ts +13 -13
  248. package/lib/imageEdit/utils/generateDataURL.js +56 -56
  249. package/lib/imageEdit/utils/generateDataURL.js.map +1 -1
  250. package/lib/imageEdit/utils/generateImageSize.d.ts +15 -15
  251. package/lib/imageEdit/utils/generateImageSize.js +45 -45
  252. package/lib/imageEdit/utils/generateImageSize.js.map +1 -1
  253. package/lib/imageEdit/utils/getDropAndDragHelpers.d.ts +10 -10
  254. package/lib/imageEdit/utils/getDropAndDragHelpers.js +23 -23
  255. package/lib/imageEdit/utils/getDropAndDragHelpers.js.map +1 -1
  256. package/lib/imageEdit/utils/getHTMLImageOptions.d.ts +7 -7
  257. package/lib/imageEdit/utils/getHTMLImageOptions.js +22 -22
  258. package/lib/imageEdit/utils/getHTMLImageOptions.js.map +1 -1
  259. package/lib/imageEdit/utils/getSelectedImage.d.ts +6 -6
  260. package/lib/imageEdit/utils/getSelectedImage.js +20 -20
  261. package/lib/imageEdit/utils/getSelectedImage.js.map +1 -1
  262. package/lib/imageEdit/utils/imageEditUtils.d.ts +47 -47
  263. package/lib/imageEdit/utils/imageEditUtils.js +115 -115
  264. package/lib/imageEdit/utils/imageEditUtils.js.map +1 -1
  265. package/lib/imageEdit/utils/normalizeImageSelection.d.ts +9 -9
  266. package/lib/imageEdit/utils/normalizeImageSelection.js +31 -31
  267. package/lib/imageEdit/utils/normalizeImageSelection.js.map +1 -1
  268. package/lib/imageEdit/utils/updateHandleCursor.d.ts +7 -7
  269. package/lib/imageEdit/utils/updateHandleCursor.js +33 -33
  270. package/lib/imageEdit/utils/updateHandleCursor.js.map +1 -1
  271. package/lib/imageEdit/utils/updateImageEditInfo.d.ts +10 -10
  272. package/lib/imageEdit/utils/updateImageEditInfo.js +52 -52
  273. package/lib/imageEdit/utils/updateImageEditInfo.js.map +1 -1
  274. package/lib/imageEdit/utils/updateWrapper.d.ts +6 -6
  275. package/lib/imageEdit/utils/updateWrapper.js +86 -86
  276. package/lib/imageEdit/utils/updateWrapper.js.map +1 -1
  277. package/lib/index.d.ts +38 -38
  278. package/lib/index.js +63 -63
  279. package/lib/index.js.map +1 -1
  280. package/lib/markdown/MarkdownPlugin.d.ts +64 -64
  281. package/lib/markdown/MarkdownPlugin.js +195 -195
  282. package/lib/markdown/MarkdownPlugin.js.map +1 -1
  283. package/lib/markdown/utils/setFormat.d.ts +5 -5
  284. package/lib/markdown/utils/setFormat.js +46 -46
  285. package/lib/markdown/utils/setFormat.js.map +1 -1
  286. package/lib/paste/DefaultSanitizers.d.ts +10 -10
  287. package/lib/paste/DefaultSanitizers.js +24 -24
  288. package/lib/paste/DefaultSanitizers.js.map +1 -1
  289. package/lib/paste/Excel/processPastedContentFromExcel.d.ts +30 -30
  290. package/lib/paste/Excel/processPastedContentFromExcel.js +140 -140
  291. package/lib/paste/Excel/processPastedContentFromExcel.js.map +1 -1
  292. package/lib/paste/PastePlugin.d.ts +44 -44
  293. package/lib/paste/PastePlugin.js +146 -146
  294. package/lib/paste/PastePlugin.js.map +1 -1
  295. package/lib/paste/PowerPoint/processPastedContentFromPowerPoint.d.ts +7 -7
  296. package/lib/paste/PowerPoint/processPastedContentFromPowerPoint.js +146 -146
  297. package/lib/paste/PowerPoint/processPastedContentFromPowerPoint.js.map +1 -1
  298. package/lib/paste/WacComponents/constants.d.ts +52 -52
  299. package/lib/paste/WacComponents/constants.js +66 -66
  300. package/lib/paste/WacComponents/constants.js.map +1 -1
  301. package/lib/paste/WacComponents/processPastedContentWacComponents.d.ts +9 -9
  302. package/lib/paste/WacComponents/processPastedContentWacComponents.js +190 -190
  303. package/lib/paste/WacComponents/processPastedContentWacComponents.js.map +1 -1
  304. package/lib/paste/WordDesktop/WordMetadata.d.ts +9 -9
  305. package/lib/paste/WordDesktop/WordMetadata.js +2 -2
  306. package/lib/paste/WordDesktop/WordMetadata.js.map +1 -1
  307. package/lib/paste/WordDesktop/getStyleMetadata.d.ts +22 -22
  308. package/lib/paste/WordDesktop/getStyleMetadata.js +110 -110
  309. package/lib/paste/WordDesktop/getStyleMetadata.js.map +1 -1
  310. package/lib/paste/WordDesktop/processPastedContentFromWordDesktop.d.ts +8 -8
  311. package/lib/paste/WordDesktop/processPastedContentFromWordDesktop.js +41 -41
  312. package/lib/paste/WordDesktop/processPastedContentFromWordDesktop.js.map +1 -1
  313. package/lib/paste/WordDesktop/processWordComments.d.ts +7 -7
  314. package/lib/paste/WordDesktop/processWordComments.js +21 -21
  315. package/lib/paste/WordDesktop/processWordComments.js.map +1 -1
  316. package/lib/paste/WordDesktop/processWordLists.d.ts +11 -11
  317. package/lib/paste/WordDesktop/processWordLists.js +204 -204
  318. package/lib/paste/WordDesktop/processWordLists.js.map +1 -1
  319. package/lib/paste/oneNote/processPastedContentFromOneNote.d.ts +50 -50
  320. package/lib/paste/oneNote/processPastedContentFromOneNote.js +113 -113
  321. package/lib/paste/oneNote/processPastedContentFromOneNote.js.map +1 -1
  322. package/lib/paste/parsers/adjustPercentileLineHeightParser.d.ts +8 -8
  323. package/lib/paste/parsers/adjustPercentileLineHeightParser.js +25 -25
  324. package/lib/paste/parsers/adjustPercentileLineHeightParser.js.map +1 -1
  325. package/lib/paste/parsers/blockElementParser.d.ts +7 -7
  326. package/lib/paste/parsers/blockElementParser.js +14 -14
  327. package/lib/paste/parsers/blockElementParser.js.map +1 -1
  328. package/lib/paste/parsers/deprecatedColorParser.d.ts +5 -5
  329. package/lib/paste/parsers/deprecatedColorParser.js +19 -19
  330. package/lib/paste/parsers/deprecatedColorParser.js.map +1 -1
  331. package/lib/paste/parsers/imageSizeParser.d.ts +6 -6
  332. package/lib/paste/parsers/imageSizeParser.js +23 -23
  333. package/lib/paste/parsers/imageSizeParser.js.map +1 -1
  334. package/lib/paste/parsers/linkParser.d.ts +5 -5
  335. package/lib/paste/parsers/linkParser.js +27 -27
  336. package/lib/paste/parsers/linkParser.js.map +1 -1
  337. package/lib/paste/parsers/listLevelParser.d.ts +10 -10
  338. package/lib/paste/parsers/listLevelParser.js +18 -18
  339. package/lib/paste/parsers/listLevelParser.js.map +1 -1
  340. package/lib/paste/parsers/removeNegativeTextIndentParser.d.ts +5 -5
  341. package/lib/paste/parsers/removeNegativeTextIndentParser.js +13 -13
  342. package/lib/paste/parsers/removeNegativeTextIndentParser.js.map +1 -1
  343. package/lib/paste/parsers/tableBorderParser.d.ts +5 -5
  344. package/lib/paste/parsers/tableBorderParser.js +27 -27
  345. package/lib/paste/parsers/tableBorderParser.js.map +1 -1
  346. package/lib/paste/parsers/wordContainerParser.d.ts +8 -8
  347. package/lib/paste/parsers/wordContainerParser.js +16 -16
  348. package/lib/paste/parsers/wordContainerParser.js.map +1 -1
  349. package/lib/paste/parsers/wordTableParser.d.ts +8 -8
  350. package/lib/paste/parsers/wordTableParser.js +19 -19
  351. package/lib/paste/parsers/wordTableParser.js.map +1 -1
  352. package/lib/paste/pasteSourceValidations/constants.d.ts +17 -17
  353. package/lib/paste/pasteSourceValidations/constants.js +20 -20
  354. package/lib/paste/pasteSourceValidations/constants.js.map +1 -1
  355. package/lib/paste/pasteSourceValidations/documentContainWacElements.d.ts +8 -8
  356. package/lib/paste/pasteSourceValidations/documentContainWacElements.js +15 -15
  357. package/lib/paste/pasteSourceValidations/documentContainWacElements.js.map +1 -1
  358. package/lib/paste/pasteSourceValidations/getDocumentSource.d.ts +52 -52
  359. package/lib/paste/pasteSourceValidations/getDocumentSource.js +40 -40
  360. package/lib/paste/pasteSourceValidations/getDocumentSource.js.map +1 -1
  361. package/lib/paste/pasteSourceValidations/isExcelDesktopDocument.d.ts +8 -8
  362. package/lib/paste/pasteSourceValidations/isExcelDesktopDocument.js +17 -17
  363. package/lib/paste/pasteSourceValidations/isExcelDesktopDocument.js.map +1 -1
  364. package/lib/paste/pasteSourceValidations/isExcelNonNativeEvent.d.ts +7 -7
  365. package/lib/paste/pasteSourceValidations/isExcelNonNativeEvent.js +17 -17
  366. package/lib/paste/pasteSourceValidations/isExcelNonNativeEvent.js.map +1 -1
  367. package/lib/paste/pasteSourceValidations/isExcelOnlineDocument.d.ts +8 -8
  368. package/lib/paste/pasteSourceValidations/isExcelOnlineDocument.js +19 -19
  369. package/lib/paste/pasteSourceValidations/isExcelOnlineDocument.js.map +1 -1
  370. package/lib/paste/pasteSourceValidations/isGoogleSheetDocument.d.ts +8 -8
  371. package/lib/paste/pasteSourceValidations/isGoogleSheetDocument.js +15 -15
  372. package/lib/paste/pasteSourceValidations/isGoogleSheetDocument.js.map +1 -1
  373. package/lib/paste/pasteSourceValidations/isOneNoteDocument.d.ts +8 -8
  374. package/lib/paste/pasteSourceValidations/isOneNoteDocument.js +17 -17
  375. package/lib/paste/pasteSourceValidations/isOneNoteDocument.js.map +1 -1
  376. package/lib/paste/pasteSourceValidations/isPowerPointDesktopDocument.d.ts +8 -8
  377. package/lib/paste/pasteSourceValidations/isPowerPointDesktopDocument.js +15 -15
  378. package/lib/paste/pasteSourceValidations/isPowerPointDesktopDocument.js.map +1 -1
  379. package/lib/paste/pasteSourceValidations/isWordDesktopDocument.d.ts +8 -8
  380. package/lib/paste/pasteSourceValidations/isWordDesktopDocument.js +24 -24
  381. package/lib/paste/pasteSourceValidations/isWordDesktopDocument.js.map +1 -1
  382. package/lib/paste/pasteSourceValidations/shouldConvertToSingleImage.d.ts +9 -9
  383. package/lib/paste/pasteSourceValidations/shouldConvertToSingleImage.js +17 -17
  384. package/lib/paste/pasteSourceValidations/shouldConvertToSingleImage.js.map +1 -1
  385. package/lib/paste/processors/pasteButtonProcessor.d.ts +7 -7
  386. package/lib/paste/processors/pasteButtonProcessor.js +35 -35
  387. package/lib/paste/processors/pasteButtonProcessor.js.map +1 -1
  388. package/lib/paste/utils/addParser.d.ts +5 -5
  389. package/lib/paste/utils/addParser.js +17 -17
  390. package/lib/paste/utils/addParser.js.map +1 -1
  391. package/lib/paste/utils/chainSanitizerCallback.d.ts +9 -9
  392. package/lib/paste/utils/chainSanitizerCallback.js +35 -35
  393. package/lib/paste/utils/chainSanitizerCallback.js.map +1 -1
  394. package/lib/paste/utils/customListUtils.d.ts +9 -9
  395. package/lib/paste/utils/customListUtils.js +67 -67
  396. package/lib/paste/utils/customListUtils.js.map +1 -1
  397. package/lib/paste/utils/getStyles.d.ts +6 -6
  398. package/lib/paste/utils/getStyles.js +22 -22
  399. package/lib/paste/utils/getStyles.js.map +1 -1
  400. package/lib/paste/utils/setProcessor.d.ts +5 -5
  401. package/lib/paste/utils/setProcessor.js +13 -13
  402. package/lib/paste/utils/setProcessor.js.map +1 -1
  403. package/lib/picker/PickerHandler.d.ts +112 -112
  404. package/lib/picker/PickerHandler.js +2 -2
  405. package/lib/picker/PickerHandler.js.map +1 -1
  406. package/lib/picker/PickerHelper.d.ts +22 -22
  407. package/lib/picker/PickerHelper.js +2 -2
  408. package/lib/picker/PickerHelper.js.map +1 -1
  409. package/lib/picker/PickerHelperImpl.d.ts +25 -25
  410. package/lib/picker/PickerHelperImpl.js +53 -53
  411. package/lib/picker/PickerHelperImpl.js.map +1 -1
  412. package/lib/picker/PickerPlugin.d.ts +54 -54
  413. package/lib/picker/PickerPlugin.js +216 -216
  414. package/lib/picker/PickerPlugin.js.map +1 -1
  415. package/lib/picker/getQueryString.d.ts +5 -5
  416. package/lib/picker/getQueryString.js +35 -35
  417. package/lib/picker/getQueryString.js.map +1 -1
  418. package/lib/pluginUtils/CreateElement/CreateElementData.d.ts +35 -35
  419. package/lib/pluginUtils/CreateElement/CreateElementData.js +2 -2
  420. package/lib/pluginUtils/CreateElement/CreateElementData.js.map +1 -1
  421. package/lib/pluginUtils/CreateElement/createElement.d.ts +9 -9
  422. package/lib/pluginUtils/CreateElement/createElement.js +51 -51
  423. package/lib/pluginUtils/CreateElement/createElement.js.map +1 -1
  424. package/lib/pluginUtils/Disposable.d.ts +10 -10
  425. package/lib/pluginUtils/Disposable.js +2 -2
  426. package/lib/pluginUtils/Disposable.js.map +1 -1
  427. package/lib/pluginUtils/DragAndDrop/DragAndDropHandler.d.ts +45 -45
  428. package/lib/pluginUtils/DragAndDrop/DragAndDropHandler.js +2 -2
  429. package/lib/pluginUtils/DragAndDrop/DragAndDropHandler.js.map +1 -1
  430. package/lib/pluginUtils/DragAndDrop/DragAndDropHelper.d.ts +39 -39
  431. package/lib/pluginUtils/DragAndDrop/DragAndDropHelper.js +120 -120
  432. package/lib/pluginUtils/DragAndDrop/DragAndDropHelper.js.map +1 -1
  433. package/lib/pluginUtils/Rect/getIntersectedRect.d.ts +27 -27
  434. package/lib/pluginUtils/Rect/getIntersectedRect.js +45 -45
  435. package/lib/pluginUtils/Rect/getIntersectedRect.js.map +1 -1
  436. package/lib/shortcut/ShortcutCommand.d.ts +44 -44
  437. package/lib/shortcut/ShortcutCommand.js +2 -2
  438. package/lib/shortcut/ShortcutCommand.js.map +1 -1
  439. package/lib/shortcut/ShortcutPlugin.d.ts +51 -51
  440. package/lib/shortcut/ShortcutPlugin.js +125 -125
  441. package/lib/shortcut/ShortcutPlugin.js.map +1 -1
  442. package/lib/shortcut/shortcuts.d.ts +92 -92
  443. package/lib/shortcut/shortcuts.js +238 -238
  444. package/lib/shortcut/shortcuts.js.map +1 -1
  445. package/lib/shortcut/utils/setShortcutIndentationCommand.d.ts +5 -5
  446. package/lib/shortcut/utils/setShortcutIndentationCommand.js +21 -21
  447. package/lib/shortcut/utils/setShortcutIndentationCommand.js.map +1 -1
  448. package/lib/tableEdit/OnTableEditorCreatedCallback.d.ts +5 -5
  449. package/lib/tableEdit/OnTableEditorCreatedCallback.js +2 -2
  450. package/lib/tableEdit/OnTableEditorCreatedCallback.js.map +1 -1
  451. package/lib/tableEdit/TableEditPlugin.d.ts +56 -56
  452. package/lib/tableEdit/TableEditPlugin.js +171 -171
  453. package/lib/tableEdit/TableEditPlugin.js.map +1 -1
  454. package/lib/tableEdit/TableWithRoot.d.ts +15 -15
  455. package/lib/tableEdit/TableWithRoot.js +2 -2
  456. package/lib/tableEdit/TableWithRoot.js.map +1 -1
  457. package/lib/tableEdit/editors/TableEditor.d.ts +90 -90
  458. package/lib/tableEdit/editors/TableEditor.js +378 -378
  459. package/lib/tableEdit/editors/TableEditor.js.map +1 -1
  460. package/lib/tableEdit/editors/features/CellResizer.d.ts +55 -55
  461. package/lib/tableEdit/editors/features/CellResizer.js +246 -246
  462. package/lib/tableEdit/editors/features/CellResizer.js.map +1 -1
  463. package/lib/tableEdit/editors/features/TableEditFeature.d.ts +13 -13
  464. package/lib/tableEdit/editors/features/TableEditFeature.js +16 -16
  465. package/lib/tableEdit/editors/features/TableEditFeature.js.map +1 -1
  466. package/lib/tableEdit/editors/features/TableEditFeatureName.d.ts +4 -4
  467. package/lib/tableEdit/editors/features/TableEditFeatureName.js +2 -2
  468. package/lib/tableEdit/editors/features/TableEditFeatureName.js.map +1 -1
  469. package/lib/tableEdit/editors/features/TableInserter.d.ts +33 -33
  470. package/lib/tableEdit/editors/features/TableInserter.js +132 -125
  471. package/lib/tableEdit/editors/features/TableInserter.js.map +1 -1
  472. package/lib/tableEdit/editors/features/TableMover.d.ts +53 -53
  473. package/lib/tableEdit/editors/features/TableMover.js +234 -234
  474. package/lib/tableEdit/editors/features/TableMover.js.map +1 -1
  475. package/lib/tableEdit/editors/features/TableResizer.d.ts +50 -50
  476. package/lib/tableEdit/editors/features/TableResizer.js +190 -190
  477. package/lib/tableEdit/editors/features/TableResizer.js.map +1 -1
  478. package/lib/tableEdit/editors/features/TableRowColumnSelector.d.ts +42 -42
  479. package/lib/tableEdit/editors/features/TableRowColumnSelector.js +222 -222
  480. package/lib/tableEdit/editors/features/TableRowColumnSelector.js.map +1 -1
  481. package/lib/tableEdit/editors/utils/getTableFromContentModel.d.ts +6 -6
  482. package/lib/tableEdit/editors/utils/getTableFromContentModel.js +20 -20
  483. package/lib/tableEdit/editors/utils/getTableFromContentModel.js.map +1 -1
  484. package/lib/touch/TouchPlugin.d.ts +32 -32
  485. package/lib/touch/TouchPlugin.js +211 -211
  486. package/lib/touch/TouchPlugin.js.map +1 -1
  487. package/lib/utils/getNodePositionFromEvent.d.ts +5 -5
  488. package/lib/utils/getNodePositionFromEvent.js +33 -33
  489. package/lib/utils/getNodePositionFromEvent.js.map +1 -1
  490. package/lib/watermark/WatermarkFormat.d.ts +5 -5
  491. package/lib/watermark/WatermarkFormat.js +2 -2
  492. package/lib/watermark/WatermarkFormat.js.map +1 -1
  493. package/lib/watermark/WatermarkPlugin.d.ts +42 -42
  494. package/lib/watermark/WatermarkPlugin.js +137 -137
  495. package/lib/watermark/WatermarkPlugin.js.map +1 -1
  496. package/lib/watermark/isModelEmptyFast.d.ts +5 -5
  497. package/lib/watermark/isModelEmptyFast.js +37 -37
  498. package/lib/watermark/isModelEmptyFast.js.map +1 -1
  499. package/lib-amd/announce/AnnouncePlugin.d.ts +32 -32
  500. package/lib-amd/announce/AnnouncePlugin.js +66 -66
  501. package/lib-amd/announce/AnnouncePlugin.js.map +1 -1
  502. package/lib-amd/announce/tableSelectionUtils.d.ts +17 -17
  503. package/lib-amd/announce/tableSelectionUtils.js +70 -70
  504. package/lib-amd/announce/tableSelectionUtils.js.map +1 -1
  505. package/lib-amd/autoFormat/AutoFormatPlugin.d.ts +59 -59
  506. package/lib-amd/autoFormat/AutoFormatPlugin.js +289 -289
  507. package/lib-amd/autoFormat/AutoFormatPlugin.js.map +1 -1
  508. package/lib-amd/autoFormat/horizontalLine/checkAndInsertHorizontalLine.d.ts +24 -24
  509. package/lib-amd/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js +91 -91
  510. package/lib-amd/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js.map +1 -1
  511. package/lib-amd/autoFormat/hyphen/transformHyphen.d.ts +5 -5
  512. package/lib-amd/autoFormat/hyphen/transformHyphen.js +35 -35
  513. package/lib-amd/autoFormat/hyphen/transformHyphen.js.map +1 -1
  514. package/lib-amd/autoFormat/interface/AutoFormatOptions.d.ts +34 -34
  515. package/lib-amd/autoFormat/interface/AutoFormatOptions.js +4 -4
  516. package/lib-amd/autoFormat/interface/AutoFormatOptions.js.map +1 -1
  517. package/lib-amd/autoFormat/link/createLink.d.ts +5 -5
  518. package/lib-amd/autoFormat/link/createLink.js +35 -35
  519. package/lib-amd/autoFormat/link/createLink.js.map +1 -1
  520. package/lib-amd/autoFormat/link/unlink.d.ts +5 -5
  521. package/lib-amd/autoFormat/link/unlink.js +19 -19
  522. package/lib-amd/autoFormat/link/unlink.js.map +1 -1
  523. package/lib-amd/autoFormat/list/convertAlphaToDecimals.d.ts +7 -7
  524. package/lib-amd/autoFormat/list/convertAlphaToDecimals.js +24 -24
  525. package/lib-amd/autoFormat/list/convertAlphaToDecimals.js.map +1 -1
  526. package/lib-amd/autoFormat/list/getIndex.d.ts +4 -4
  527. package/lib-amd/autoFormat/list/getIndex.js +14 -14
  528. package/lib-amd/autoFormat/list/getIndex.js.map +1 -1
  529. package/lib-amd/autoFormat/list/getListTypeStyle.d.ts +14 -14
  530. package/lib-amd/autoFormat/list/getListTypeStyle.js +98 -98
  531. package/lib-amd/autoFormat/list/getListTypeStyle.js.map +1 -1
  532. package/lib-amd/autoFormat/list/getNumberingListStyle.d.ts +4 -4
  533. package/lib-amd/autoFormat/list/getNumberingListStyle.js +153 -153
  534. package/lib-amd/autoFormat/list/getNumberingListStyle.js.map +1 -1
  535. package/lib-amd/autoFormat/list/keyboardListTrigger.d.ts +5 -5
  536. package/lib-amd/autoFormat/list/keyboardListTrigger.js +47 -47
  537. package/lib-amd/autoFormat/list/keyboardListTrigger.js.map +1 -1
  538. package/lib-amd/autoFormat/numbers/transformFraction.d.ts +5 -5
  539. package/lib-amd/autoFormat/numbers/transformFraction.js +28 -28
  540. package/lib-amd/autoFormat/numbers/transformFraction.js.map +1 -1
  541. package/lib-amd/autoFormat/numbers/transformOrdinals.d.ts +4 -4
  542. package/lib-amd/autoFormat/numbers/transformOrdinals.js +66 -66
  543. package/lib-amd/autoFormat/numbers/transformOrdinals.js.map +1 -1
  544. package/lib-amd/contextMenuBase/ContextMenuPluginBase.d.ts +58 -58
  545. package/lib-amd/contextMenuBase/ContextMenuPluginBase.js +85 -85
  546. package/lib-amd/contextMenuBase/ContextMenuPluginBase.js.map +1 -1
  547. package/lib-amd/customReplace/CustomReplacePlugin.d.ts +61 -61
  548. package/lib-amd/customReplace/CustomReplacePlugin.js +87 -87
  549. package/lib-amd/customReplace/CustomReplacePlugin.js.map +1 -1
  550. package/lib-amd/edit/EditOptions.d.ts +78 -78
  551. package/lib-amd/edit/EditOptions.js +4 -4
  552. package/lib-amd/edit/EditOptions.js.map +1 -1
  553. package/lib-amd/edit/EditPlugin.d.ts +60 -60
  554. package/lib-amd/edit/EditPlugin.js +252 -252
  555. package/lib-amd/edit/EditPlugin.js.map +1 -1
  556. package/lib-amd/edit/deleteSteps/deleteAllSegmentBefore.d.ts +5 -5
  557. package/lib-amd/edit/deleteSteps/deleteAllSegmentBefore.js +24 -24
  558. package/lib-amd/edit/deleteSteps/deleteAllSegmentBefore.js.map +1 -1
  559. package/lib-amd/edit/deleteSteps/deleteCollapsedSelection.d.ts +10 -10
  560. package/lib-amd/edit/deleteSteps/deleteCollapsedSelection.js +112 -112
  561. package/lib-amd/edit/deleteSteps/deleteCollapsedSelection.js.map +1 -1
  562. package/lib-amd/edit/deleteSteps/deleteEmptyQuote.d.ts +5 -5
  563. package/lib-amd/edit/deleteSteps/deleteEmptyQuote.js +62 -62
  564. package/lib-amd/edit/deleteSteps/deleteEmptyQuote.js.map +1 -1
  565. package/lib-amd/edit/deleteSteps/deleteList.d.ts +5 -5
  566. package/lib-amd/edit/deleteSteps/deleteList.js +58 -58
  567. package/lib-amd/edit/deleteSteps/deleteList.js.map +1 -1
  568. package/lib-amd/edit/deleteSteps/deleteParagraphStyle.d.ts +5 -5
  569. package/lib-amd/edit/deleteSteps/deleteParagraphStyle.js +37 -37
  570. package/lib-amd/edit/deleteSteps/deleteParagraphStyle.js.map +1 -1
  571. package/lib-amd/edit/deleteSteps/deleteWordSelection.d.ts +9 -9
  572. package/lib-amd/edit/deleteSteps/deleteWordSelection.js +172 -172
  573. package/lib-amd/edit/deleteSteps/deleteWordSelection.js.map +1 -1
  574. package/lib-amd/edit/handleKeyboardEventCommon.d.ts +14 -14
  575. package/lib-amd/edit/handleKeyboardEventCommon.js +72 -72
  576. package/lib-amd/edit/handleKeyboardEventCommon.js.map +1 -1
  577. package/lib-amd/edit/inputSteps/handleAutoLink.d.ts +5 -5
  578. package/lib-amd/edit/inputSteps/handleAutoLink.js +25 -25
  579. package/lib-amd/edit/inputSteps/handleAutoLink.js.map +1 -1
  580. package/lib-amd/edit/inputSteps/handleEnterOnList.d.ts +5 -5
  581. package/lib-amd/edit/inputSteps/handleEnterOnList.js +69 -69
  582. package/lib-amd/edit/inputSteps/handleEnterOnList.js.map +1 -1
  583. package/lib-amd/edit/inputSteps/handleEnterOnParagraph.d.ts +5 -5
  584. package/lib-amd/edit/inputSteps/handleEnterOnParagraph.js +21 -21
  585. package/lib-amd/edit/inputSteps/handleEnterOnParagraph.js.map +1 -1
  586. package/lib-amd/edit/keyboardDelete.d.ts +11 -11
  587. package/lib-amd/edit/keyboardDelete.js +108 -108
  588. package/lib-amd/edit/keyboardDelete.js.map +1 -1
  589. package/lib-amd/edit/keyboardEnter.d.ts +5 -5
  590. package/lib-amd/edit/keyboardEnter.js +51 -51
  591. package/lib-amd/edit/keyboardEnter.js.map +1 -1
  592. package/lib-amd/edit/keyboardInput.d.ts +5 -5
  593. package/lib-amd/edit/keyboardInput.js +65 -65
  594. package/lib-amd/edit/keyboardInput.js.map +1 -1
  595. package/lib-amd/edit/keyboardTab.d.ts +6 -6
  596. package/lib-amd/edit/keyboardTab.js +70 -70
  597. package/lib-amd/edit/keyboardTab.js.map +1 -1
  598. package/lib-amd/edit/tabUtils/handleTabOnList.d.ts +7 -7
  599. package/lib-amd/edit/tabUtils/handleTabOnList.js +33 -33
  600. package/lib-amd/edit/tabUtils/handleTabOnList.js.map +1 -1
  601. package/lib-amd/edit/tabUtils/handleTabOnParagraph.d.ts +17 -17
  602. package/lib-amd/edit/tabUtils/handleTabOnParagraph.js +94 -94
  603. package/lib-amd/edit/tabUtils/handleTabOnParagraph.js.map +1 -1
  604. package/lib-amd/edit/tabUtils/handleTabOnTable.d.ts +6 -6
  605. package/lib-amd/edit/tabUtils/handleTabOnTable.js +25 -25
  606. package/lib-amd/edit/tabUtils/handleTabOnTable.js.map +1 -1
  607. package/lib-amd/edit/tabUtils/handleTabOnTableCell.d.ts +6 -6
  608. package/lib-amd/edit/tabUtils/handleTabOnTableCell.js +43 -43
  609. package/lib-amd/edit/tabUtils/handleTabOnTableCell.js.map +1 -1
  610. package/lib-amd/edit/utils/getLeafSiblingBlock.d.ts +45 -45
  611. package/lib-amd/edit/utils/getLeafSiblingBlock.js +72 -72
  612. package/lib-amd/edit/utils/getLeafSiblingBlock.js.map +1 -1
  613. package/lib-amd/edit/utils/preserveParagraphFormat.d.ts +9 -9
  614. package/lib-amd/edit/utils/preserveParagraphFormat.js +25 -25
  615. package/lib-amd/edit/utils/preserveParagraphFormat.js.map +1 -1
  616. package/lib-amd/edit/utils/splitParagraph.d.ts +12 -12
  617. package/lib-amd/edit/utils/splitParagraph.js +39 -39
  618. package/lib-amd/edit/utils/splitParagraph.js.map +1 -1
  619. package/lib-amd/findReplace/FindReplacePlugin.d.ts +42 -42
  620. package/lib-amd/findReplace/FindReplacePlugin.js +96 -96
  621. package/lib-amd/findReplace/FindReplacePlugin.js.map +1 -1
  622. package/lib-amd/findReplace/createFindReplaceContext.d.ts +8 -8
  623. package/lib-amd/findReplace/createFindReplaceContext.js +25 -25
  624. package/lib-amd/findReplace/createFindReplaceContext.js.map +1 -1
  625. package/lib-amd/findReplace/find.d.ts +11 -11
  626. package/lib-amd/findReplace/find.js +20 -20
  627. package/lib-amd/findReplace/find.js.map +1 -1
  628. package/lib-amd/findReplace/moveHighlight.d.ts +9 -9
  629. package/lib-amd/findReplace/moveHighlight.js +21 -21
  630. package/lib-amd/findReplace/moveHighlight.js.map +1 -1
  631. package/lib-amd/findReplace/replace.d.ts +10 -10
  632. package/lib-amd/findReplace/replace.js +46 -46
  633. package/lib-amd/findReplace/replace.js.map +1 -1
  634. package/lib-amd/findReplace/types/FindReplaceContext.d.ts +38 -38
  635. package/lib-amd/findReplace/types/FindReplaceContext.js +4 -4
  636. package/lib-amd/findReplace/types/FindReplaceContext.js.map +1 -1
  637. package/lib-amd/findReplace/types/FindReplaceHighlightOptions.d.ts +13 -13
  638. package/lib-amd/findReplace/types/FindReplaceHighlightOptions.js +4 -4
  639. package/lib-amd/findReplace/types/FindReplaceHighlightOptions.js.map +1 -1
  640. package/lib-amd/findReplace/types/HighlightHelper.d.ts +23 -23
  641. package/lib-amd/findReplace/types/HighlightHelper.js +4 -4
  642. package/lib-amd/findReplace/types/HighlightHelper.js.map +1 -1
  643. package/lib-amd/findReplace/utils/HighlightHelperImpl.d.ts +9 -9
  644. package/lib-amd/findReplace/utils/HighlightHelperImpl.js +65 -65
  645. package/lib-amd/findReplace/utils/HighlightHelperImpl.js.map +1 -1
  646. package/lib-amd/findReplace/utils/constants.d.ts +28 -28
  647. package/lib-amd/findReplace/utils/constants.js +33 -33
  648. package/lib-amd/findReplace/utils/constants.js.map +1 -1
  649. package/lib-amd/findReplace/utils/replaceTextInRange.d.ts +4 -4
  650. package/lib-amd/findReplace/utils/replaceTextInRange.js +71 -71
  651. package/lib-amd/findReplace/utils/replaceTextInRange.js.map +1 -1
  652. package/lib-amd/findReplace/utils/setMarkedIndex.d.ts +6 -6
  653. package/lib-amd/findReplace/utils/setMarkedIndex.js +29 -29
  654. package/lib-amd/findReplace/utils/setMarkedIndex.js.map +1 -1
  655. package/lib-amd/findReplace/utils/sortRanges.d.ts +5 -5
  656. package/lib-amd/findReplace/utils/sortRanges.js +24 -24
  657. package/lib-amd/findReplace/utils/sortRanges.js.map +1 -1
  658. package/lib-amd/findReplace/utils/updateHighlight.d.ts +6 -6
  659. package/lib-amd/findReplace/utils/updateHighlight.js +45 -45
  660. package/lib-amd/findReplace/utils/updateHighlight.js.map +1 -1
  661. package/lib-amd/hiddenProperty/HiddenPropertyOptions.d.ts +11 -11
  662. package/lib-amd/hiddenProperty/HiddenPropertyOptions.js +4 -4
  663. package/lib-amd/hiddenProperty/HiddenPropertyOptions.js.map +1 -1
  664. package/lib-amd/hiddenProperty/HiddenPropertyPlugin.d.ts +38 -38
  665. package/lib-amd/hiddenProperty/HiddenPropertyPlugin.js +57 -57
  666. package/lib-amd/hiddenProperty/HiddenPropertyPlugin.js.map +1 -1
  667. package/lib-amd/hiddenProperty/fixupHiddenProperties.d.ts +9 -9
  668. package/lib-amd/hiddenProperty/fixupHiddenProperties.js +37 -37
  669. package/lib-amd/hiddenProperty/fixupHiddenProperties.js.map +1 -1
  670. package/lib-amd/hyperlink/HyperlinkPlugin.d.ts +48 -48
  671. package/lib-amd/hyperlink/HyperlinkPlugin.js +144 -144
  672. package/lib-amd/hyperlink/HyperlinkPlugin.js.map +1 -1
  673. package/lib-amd/hyperlink/HyperlinkToolTip.d.ts +7 -7
  674. package/lib-amd/hyperlink/HyperlinkToolTip.js +4 -4
  675. package/lib-amd/hyperlink/HyperlinkToolTip.js.map +1 -1
  676. package/lib-amd/imageEdit/Cropper/createImageCropper.d.ts +10 -10
  677. package/lib-amd/imageEdit/Cropper/createImageCropper.js +77 -77
  678. package/lib-amd/imageEdit/Cropper/createImageCropper.js.map +1 -1
  679. package/lib-amd/imageEdit/Cropper/cropperContext.d.ts +8 -8
  680. package/lib-amd/imageEdit/Cropper/cropperContext.js +72 -72
  681. package/lib-amd/imageEdit/Cropper/cropperContext.js.map +1 -1
  682. package/lib-amd/imageEdit/ImageEditPlugin.d.ts +86 -86
  683. package/lib-amd/imageEdit/ImageEditPlugin.js +566 -566
  684. package/lib-amd/imageEdit/ImageEditPlugin.js.map +1 -1
  685. package/lib-amd/imageEdit/Resizer/createImageResizer.d.ts +12 -12
  686. package/lib-amd/imageEdit/Resizer/createImageResizer.js +86 -86
  687. package/lib-amd/imageEdit/Resizer/createImageResizer.js.map +1 -1
  688. package/lib-amd/imageEdit/Resizer/resizerContext.d.ts +8 -8
  689. package/lib-amd/imageEdit/Resizer/resizerContext.js +60 -60
  690. package/lib-amd/imageEdit/Resizer/resizerContext.js.map +1 -1
  691. package/lib-amd/imageEdit/Resizer/updateSideHandlesVisibility.d.ts +4 -4
  692. package/lib-amd/imageEdit/Resizer/updateSideHandlesVisibility.js +18 -18
  693. package/lib-amd/imageEdit/Resizer/updateSideHandlesVisibility.js.map +1 -1
  694. package/lib-amd/imageEdit/Rotator/createImageRotator.d.ts +6 -6
  695. package/lib-amd/imageEdit/Rotator/createImageRotator.js +73 -73
  696. package/lib-amd/imageEdit/Rotator/createImageRotator.js.map +1 -1
  697. package/lib-amd/imageEdit/Rotator/rotatorContext.d.ts +8 -8
  698. package/lib-amd/imageEdit/Rotator/rotatorContext.js +35 -35
  699. package/lib-amd/imageEdit/Rotator/rotatorContext.js.map +1 -1
  700. package/lib-amd/imageEdit/Rotator/updateRotateHandle.d.ts +7 -7
  701. package/lib-amd/imageEdit/Rotator/updateRotateHandle.js +56 -56
  702. package/lib-amd/imageEdit/Rotator/updateRotateHandle.js.map +1 -1
  703. package/lib-amd/imageEdit/constants/constants.d.ts +77 -77
  704. package/lib-amd/imageEdit/constants/constants.js +86 -86
  705. package/lib-amd/imageEdit/constants/constants.js.map +1 -1
  706. package/lib-amd/imageEdit/types/DragAndDropContext.d.ts +39 -39
  707. package/lib-amd/imageEdit/types/DragAndDropContext.js +4 -4
  708. package/lib-amd/imageEdit/types/DragAndDropContext.js.map +1 -1
  709. package/lib-amd/imageEdit/types/GeneratedImageSize.d.ts +33 -33
  710. package/lib-amd/imageEdit/types/GeneratedImageSize.js +4 -4
  711. package/lib-amd/imageEdit/types/GeneratedImageSize.js.map +1 -1
  712. package/lib-amd/imageEdit/types/ImageAndParagraph.d.ts +8 -8
  713. package/lib-amd/imageEdit/types/ImageAndParagraph.js +4 -4
  714. package/lib-amd/imageEdit/types/ImageAndParagraph.js.map +1 -1
  715. package/lib-amd/imageEdit/types/ImageEditElementClass.d.ts +30 -30
  716. package/lib-amd/imageEdit/types/ImageEditElementClass.js +36 -36
  717. package/lib-amd/imageEdit/types/ImageEditElementClass.js.map +1 -1
  718. package/lib-amd/imageEdit/types/ImageEditOptions.d.ts +55 -55
  719. package/lib-amd/imageEdit/types/ImageEditOptions.js +4 -4
  720. package/lib-amd/imageEdit/types/ImageEditOptions.js.map +1 -1
  721. package/lib-amd/imageEdit/types/ImageHtmlOptions.d.ts +22 -22
  722. package/lib-amd/imageEdit/types/ImageHtmlOptions.js +4 -4
  723. package/lib-amd/imageEdit/types/ImageHtmlOptions.js.map +1 -1
  724. package/lib-amd/imageEdit/utils/applyChange.d.ts +13 -13
  725. package/lib-amd/imageEdit/utils/applyChange.js +70 -70
  726. package/lib-amd/imageEdit/utils/applyChange.js.map +1 -1
  727. package/lib-amd/imageEdit/utils/canRegenerateImage.d.ts +8 -8
  728. package/lib-amd/imageEdit/utils/canRegenerateImage.js +33 -33
  729. package/lib-amd/imageEdit/utils/canRegenerateImage.js.map +1 -1
  730. package/lib-amd/imageEdit/utils/checkEditInfoState.d.ts +41 -41
  731. package/lib-amd/imageEdit/utils/checkEditInfoState.js +53 -53
  732. package/lib-amd/imageEdit/utils/checkEditInfoState.js.map +1 -1
  733. package/lib-amd/imageEdit/utils/createImageWrapper.d.ts +18 -18
  734. package/lib-amd/imageEdit/utils/createImageWrapper.js +89 -89
  735. package/lib-amd/imageEdit/utils/createImageWrapper.js.map +1 -1
  736. package/lib-amd/imageEdit/utils/doubleCheckResize.d.ts +12 -12
  737. package/lib-amd/imageEdit/utils/doubleCheckResize.js +37 -37
  738. package/lib-amd/imageEdit/utils/doubleCheckResize.js.map +1 -1
  739. package/lib-amd/imageEdit/utils/filterInnerResizerHandles.d.ts +4 -4
  740. package/lib-amd/imageEdit/utils/filterInnerResizerHandles.js +20 -20
  741. package/lib-amd/imageEdit/utils/filterInnerResizerHandles.js.map +1 -1
  742. package/lib-amd/imageEdit/utils/findEditingImage.d.ts +10 -10
  743. package/lib-amd/imageEdit/utils/findEditingImage.js +39 -39
  744. package/lib-amd/imageEdit/utils/findEditingImage.js.map +1 -1
  745. package/lib-amd/imageEdit/utils/generateDataURL.d.ts +13 -13
  746. package/lib-amd/imageEdit/utils/generateDataURL.js +57 -57
  747. package/lib-amd/imageEdit/utils/generateDataURL.js.map +1 -1
  748. package/lib-amd/imageEdit/utils/generateImageSize.d.ts +15 -15
  749. package/lib-amd/imageEdit/utils/generateImageSize.js +47 -47
  750. package/lib-amd/imageEdit/utils/generateImageSize.js.map +1 -1
  751. package/lib-amd/imageEdit/utils/getDropAndDragHelpers.d.ts +10 -10
  752. package/lib-amd/imageEdit/utils/getDropAndDragHelpers.js +23 -23
  753. package/lib-amd/imageEdit/utils/getDropAndDragHelpers.js.map +1 -1
  754. package/lib-amd/imageEdit/utils/getHTMLImageOptions.d.ts +7 -7
  755. package/lib-amd/imageEdit/utils/getHTMLImageOptions.js +23 -23
  756. package/lib-amd/imageEdit/utils/getHTMLImageOptions.js.map +1 -1
  757. package/lib-amd/imageEdit/utils/getSelectedImage.d.ts +6 -6
  758. package/lib-amd/imageEdit/utils/getSelectedImage.js +21 -21
  759. package/lib-amd/imageEdit/utils/getSelectedImage.js.map +1 -1
  760. package/lib-amd/imageEdit/utils/imageEditUtils.d.ts +47 -47
  761. package/lib-amd/imageEdit/utils/imageEditUtils.js +116 -116
  762. package/lib-amd/imageEdit/utils/imageEditUtils.js.map +1 -1
  763. package/lib-amd/imageEdit/utils/normalizeImageSelection.d.ts +9 -9
  764. package/lib-amd/imageEdit/utils/normalizeImageSelection.js +32 -32
  765. package/lib-amd/imageEdit/utils/normalizeImageSelection.js.map +1 -1
  766. package/lib-amd/imageEdit/utils/updateHandleCursor.d.ts +7 -7
  767. package/lib-amd/imageEdit/utils/updateHandleCursor.js +35 -35
  768. package/lib-amd/imageEdit/utils/updateHandleCursor.js.map +1 -1
  769. package/lib-amd/imageEdit/utils/updateImageEditInfo.d.ts +10 -10
  770. package/lib-amd/imageEdit/utils/updateImageEditInfo.js +51 -51
  771. package/lib-amd/imageEdit/utils/updateImageEditInfo.js.map +1 -1
  772. package/lib-amd/imageEdit/utils/updateWrapper.d.ts +6 -6
  773. package/lib-amd/imageEdit/utils/updateWrapper.js +80 -80
  774. package/lib-amd/imageEdit/utils/updateWrapper.js.map +1 -1
  775. package/lib-amd/index.d.ts +38 -38
  776. package/lib-amd/index.js +42 -42
  777. package/lib-amd/index.js.map +1 -1
  778. package/lib-amd/markdown/MarkdownPlugin.d.ts +64 -64
  779. package/lib-amd/markdown/MarkdownPlugin.js +196 -196
  780. package/lib-amd/markdown/MarkdownPlugin.js.map +1 -1
  781. package/lib-amd/markdown/utils/setFormat.d.ts +5 -5
  782. package/lib-amd/markdown/utils/setFormat.js +46 -46
  783. package/lib-amd/markdown/utils/setFormat.js.map +1 -1
  784. package/lib-amd/paste/DefaultSanitizers.d.ts +10 -10
  785. package/lib-amd/paste/DefaultSanitizers.js +26 -26
  786. package/lib-amd/paste/DefaultSanitizers.js.map +1 -1
  787. package/lib-amd/paste/Excel/processPastedContentFromExcel.d.ts +30 -30
  788. package/lib-amd/paste/Excel/processPastedContentFromExcel.js +138 -138
  789. package/lib-amd/paste/Excel/processPastedContentFromExcel.js.map +1 -1
  790. package/lib-amd/paste/PastePlugin.d.ts +44 -44
  791. package/lib-amd/paste/PastePlugin.js +129 -129
  792. package/lib-amd/paste/PastePlugin.js.map +1 -1
  793. package/lib-amd/paste/PowerPoint/processPastedContentFromPowerPoint.d.ts +7 -7
  794. package/lib-amd/paste/PowerPoint/processPastedContentFromPowerPoint.js +142 -142
  795. package/lib-amd/paste/PowerPoint/processPastedContentFromPowerPoint.js.map +1 -1
  796. package/lib-amd/paste/WacComponents/constants.d.ts +52 -52
  797. package/lib-amd/paste/WacComponents/constants.js +67 -67
  798. package/lib-amd/paste/WacComponents/constants.js.map +1 -1
  799. package/lib-amd/paste/WacComponents/processPastedContentWacComponents.d.ts +9 -9
  800. package/lib-amd/paste/WacComponents/processPastedContentWacComponents.js +187 -187
  801. package/lib-amd/paste/WacComponents/processPastedContentWacComponents.js.map +1 -1
  802. package/lib-amd/paste/WordDesktop/WordMetadata.d.ts +9 -9
  803. package/lib-amd/paste/WordDesktop/WordMetadata.js +4 -4
  804. package/lib-amd/paste/WordDesktop/WordMetadata.js.map +1 -1
  805. package/lib-amd/paste/WordDesktop/getStyleMetadata.d.ts +22 -22
  806. package/lib-amd/paste/WordDesktop/getStyleMetadata.js +110 -110
  807. package/lib-amd/paste/WordDesktop/getStyleMetadata.js.map +1 -1
  808. package/lib-amd/paste/WordDesktop/processPastedContentFromWordDesktop.d.ts +8 -8
  809. package/lib-amd/paste/WordDesktop/processPastedContentFromWordDesktop.js +32 -32
  810. package/lib-amd/paste/WordDesktop/processPastedContentFromWordDesktop.js.map +1 -1
  811. package/lib-amd/paste/WordDesktop/processWordComments.d.ts +7 -7
  812. package/lib-amd/paste/WordDesktop/processWordComments.js +22 -22
  813. package/lib-amd/paste/WordDesktop/processWordComments.js.map +1 -1
  814. package/lib-amd/paste/WordDesktop/processWordLists.d.ts +11 -11
  815. package/lib-amd/paste/WordDesktop/processWordLists.js +202 -202
  816. package/lib-amd/paste/WordDesktop/processWordLists.js.map +1 -1
  817. package/lib-amd/paste/oneNote/processPastedContentFromOneNote.d.ts +50 -50
  818. package/lib-amd/paste/oneNote/processPastedContentFromOneNote.js +114 -114
  819. package/lib-amd/paste/oneNote/processPastedContentFromOneNote.js.map +1 -1
  820. package/lib-amd/paste/parsers/adjustPercentileLineHeightParser.d.ts +8 -8
  821. package/lib-amd/paste/parsers/adjustPercentileLineHeightParser.js +27 -27
  822. package/lib-amd/paste/parsers/adjustPercentileLineHeightParser.js.map +1 -1
  823. package/lib-amd/paste/parsers/blockElementParser.d.ts +7 -7
  824. package/lib-amd/paste/parsers/blockElementParser.js +16 -16
  825. package/lib-amd/paste/parsers/blockElementParser.js.map +1 -1
  826. package/lib-amd/paste/parsers/deprecatedColorParser.d.ts +5 -5
  827. package/lib-amd/paste/parsers/deprecatedColorParser.js +20 -20
  828. package/lib-amd/paste/parsers/deprecatedColorParser.js.map +1 -1
  829. package/lib-amd/paste/parsers/imageSizeParser.d.ts +6 -6
  830. package/lib-amd/paste/parsers/imageSizeParser.js +24 -24
  831. package/lib-amd/paste/parsers/imageSizeParser.js.map +1 -1
  832. package/lib-amd/paste/parsers/linkParser.d.ts +5 -5
  833. package/lib-amd/paste/parsers/linkParser.js +28 -28
  834. package/lib-amd/paste/parsers/linkParser.js.map +1 -1
  835. package/lib-amd/paste/parsers/listLevelParser.d.ts +10 -10
  836. package/lib-amd/paste/parsers/listLevelParser.js +20 -20
  837. package/lib-amd/paste/parsers/listLevelParser.js.map +1 -1
  838. package/lib-amd/paste/parsers/removeNegativeTextIndentParser.d.ts +5 -5
  839. package/lib-amd/paste/parsers/removeNegativeTextIndentParser.js +15 -15
  840. package/lib-amd/paste/parsers/removeNegativeTextIndentParser.js.map +1 -1
  841. package/lib-amd/paste/parsers/tableBorderParser.d.ts +5 -5
  842. package/lib-amd/paste/parsers/tableBorderParser.js +28 -28
  843. package/lib-amd/paste/parsers/tableBorderParser.js.map +1 -1
  844. package/lib-amd/paste/parsers/wordContainerParser.d.ts +8 -8
  845. package/lib-amd/paste/parsers/wordContainerParser.js +18 -18
  846. package/lib-amd/paste/parsers/wordContainerParser.js.map +1 -1
  847. package/lib-amd/paste/parsers/wordTableParser.d.ts +8 -8
  848. package/lib-amd/paste/parsers/wordTableParser.js +21 -21
  849. package/lib-amd/paste/parsers/wordTableParser.js.map +1 -1
  850. package/lib-amd/paste/pasteSourceValidations/constants.d.ts +17 -17
  851. package/lib-amd/paste/pasteSourceValidations/constants.js +22 -22
  852. package/lib-amd/paste/pasteSourceValidations/constants.js.map +1 -1
  853. package/lib-amd/paste/pasteSourceValidations/documentContainWacElements.d.ts +8 -8
  854. package/lib-amd/paste/pasteSourceValidations/documentContainWacElements.js +16 -16
  855. package/lib-amd/paste/pasteSourceValidations/documentContainWacElements.js.map +1 -1
  856. package/lib-amd/paste/pasteSourceValidations/getDocumentSource.d.ts +52 -52
  857. package/lib-amd/paste/pasteSourceValidations/getDocumentSource.js +33 -33
  858. package/lib-amd/paste/pasteSourceValidations/getDocumentSource.js.map +1 -1
  859. package/lib-amd/paste/pasteSourceValidations/isExcelDesktopDocument.d.ts +8 -8
  860. package/lib-amd/paste/pasteSourceValidations/isExcelDesktopDocument.js +18 -18
  861. package/lib-amd/paste/pasteSourceValidations/isExcelDesktopDocument.js.map +1 -1
  862. package/lib-amd/paste/pasteSourceValidations/isExcelNonNativeEvent.d.ts +7 -7
  863. package/lib-amd/paste/pasteSourceValidations/isExcelNonNativeEvent.js +19 -19
  864. package/lib-amd/paste/pasteSourceValidations/isExcelNonNativeEvent.js.map +1 -1
  865. package/lib-amd/paste/pasteSourceValidations/isExcelOnlineDocument.d.ts +8 -8
  866. package/lib-amd/paste/pasteSourceValidations/isExcelOnlineDocument.js +20 -20
  867. package/lib-amd/paste/pasteSourceValidations/isExcelOnlineDocument.js.map +1 -1
  868. package/lib-amd/paste/pasteSourceValidations/isGoogleSheetDocument.d.ts +8 -8
  869. package/lib-amd/paste/pasteSourceValidations/isGoogleSheetDocument.js +16 -16
  870. package/lib-amd/paste/pasteSourceValidations/isGoogleSheetDocument.js.map +1 -1
  871. package/lib-amd/paste/pasteSourceValidations/isOneNoteDocument.d.ts +8 -8
  872. package/lib-amd/paste/pasteSourceValidations/isOneNoteDocument.js +18 -18
  873. package/lib-amd/paste/pasteSourceValidations/isOneNoteDocument.js.map +1 -1
  874. package/lib-amd/paste/pasteSourceValidations/isPowerPointDesktopDocument.d.ts +8 -8
  875. package/lib-amd/paste/pasteSourceValidations/isPowerPointDesktopDocument.js +16 -16
  876. package/lib-amd/paste/pasteSourceValidations/isPowerPointDesktopDocument.js.map +1 -1
  877. package/lib-amd/paste/pasteSourceValidations/isWordDesktopDocument.d.ts +8 -8
  878. package/lib-amd/paste/pasteSourceValidations/isWordDesktopDocument.js +25 -25
  879. package/lib-amd/paste/pasteSourceValidations/isWordDesktopDocument.js.map +1 -1
  880. package/lib-amd/paste/pasteSourceValidations/shouldConvertToSingleImage.d.ts +9 -9
  881. package/lib-amd/paste/pasteSourceValidations/shouldConvertToSingleImage.js +19 -19
  882. package/lib-amd/paste/pasteSourceValidations/shouldConvertToSingleImage.js.map +1 -1
  883. package/lib-amd/paste/processors/pasteButtonProcessor.d.ts +7 -7
  884. package/lib-amd/paste/processors/pasteButtonProcessor.js +35 -35
  885. package/lib-amd/paste/processors/pasteButtonProcessor.js.map +1 -1
  886. package/lib-amd/paste/utils/addParser.d.ts +5 -5
  887. package/lib-amd/paste/utils/addParser.js +19 -19
  888. package/lib-amd/paste/utils/addParser.js.map +1 -1
  889. package/lib-amd/paste/utils/chainSanitizerCallback.d.ts +9 -9
  890. package/lib-amd/paste/utils/chainSanitizerCallback.js +37 -37
  891. package/lib-amd/paste/utils/chainSanitizerCallback.js.map +1 -1
  892. package/lib-amd/paste/utils/customListUtils.d.ts +9 -9
  893. package/lib-amd/paste/utils/customListUtils.js +66 -66
  894. package/lib-amd/paste/utils/customListUtils.js.map +1 -1
  895. package/lib-amd/paste/utils/getStyles.d.ts +6 -6
  896. package/lib-amd/paste/utils/getStyles.js +24 -24
  897. package/lib-amd/paste/utils/getStyles.js.map +1 -1
  898. package/lib-amd/paste/utils/setProcessor.d.ts +5 -5
  899. package/lib-amd/paste/utils/setProcessor.js +15 -15
  900. package/lib-amd/paste/utils/setProcessor.js.map +1 -1
  901. package/lib-amd/picker/PickerHandler.d.ts +112 -112
  902. package/lib-amd/picker/PickerHandler.js +4 -4
  903. package/lib-amd/picker/PickerHandler.js.map +1 -1
  904. package/lib-amd/picker/PickerHelper.d.ts +22 -22
  905. package/lib-amd/picker/PickerHelper.js +4 -4
  906. package/lib-amd/picker/PickerHelper.js.map +1 -1
  907. package/lib-amd/picker/PickerHelperImpl.d.ts +25 -25
  908. package/lib-amd/picker/PickerHelperImpl.js +52 -52
  909. package/lib-amd/picker/PickerHelperImpl.js.map +1 -1
  910. package/lib-amd/picker/PickerPlugin.d.ts +54 -54
  911. package/lib-amd/picker/PickerPlugin.js +214 -214
  912. package/lib-amd/picker/PickerPlugin.js.map +1 -1
  913. package/lib-amd/picker/getQueryString.d.ts +5 -5
  914. package/lib-amd/picker/getQueryString.js +36 -36
  915. package/lib-amd/picker/getQueryString.js.map +1 -1
  916. package/lib-amd/pluginUtils/CreateElement/CreateElementData.d.ts +35 -35
  917. package/lib-amd/pluginUtils/CreateElement/CreateElementData.js +4 -4
  918. package/lib-amd/pluginUtils/CreateElement/CreateElementData.js.map +1 -1
  919. package/lib-amd/pluginUtils/CreateElement/createElement.d.ts +9 -9
  920. package/lib-amd/pluginUtils/CreateElement/createElement.js +52 -52
  921. package/lib-amd/pluginUtils/CreateElement/createElement.js.map +1 -1
  922. package/lib-amd/pluginUtils/Disposable.d.ts +10 -10
  923. package/lib-amd/pluginUtils/Disposable.js +4 -4
  924. package/lib-amd/pluginUtils/Disposable.js.map +1 -1
  925. package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHandler.d.ts +45 -45
  926. package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHandler.js +4 -4
  927. package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHandler.js.map +1 -1
  928. package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHelper.d.ts +39 -39
  929. package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHelper.js +121 -121
  930. package/lib-amd/pluginUtils/DragAndDrop/DragAndDropHelper.js.map +1 -1
  931. package/lib-amd/pluginUtils/Rect/getIntersectedRect.d.ts +27 -27
  932. package/lib-amd/pluginUtils/Rect/getIntersectedRect.js +45 -45
  933. package/lib-amd/pluginUtils/Rect/getIntersectedRect.js.map +1 -1
  934. package/lib-amd/shortcut/ShortcutCommand.d.ts +44 -44
  935. package/lib-amd/shortcut/ShortcutCommand.js +4 -4
  936. package/lib-amd/shortcut/ShortcutCommand.js.map +1 -1
  937. package/lib-amd/shortcut/ShortcutPlugin.d.ts +51 -51
  938. package/lib-amd/shortcut/ShortcutPlugin.js +125 -125
  939. package/lib-amd/shortcut/ShortcutPlugin.js.map +1 -1
  940. package/lib-amd/shortcut/shortcuts.d.ts +92 -92
  941. package/lib-amd/shortcut/shortcuts.js +237 -237
  942. package/lib-amd/shortcut/shortcuts.js.map +1 -1
  943. package/lib-amd/shortcut/utils/setShortcutIndentationCommand.d.ts +5 -5
  944. package/lib-amd/shortcut/utils/setShortcutIndentationCommand.js +21 -21
  945. package/lib-amd/shortcut/utils/setShortcutIndentationCommand.js.map +1 -1
  946. package/lib-amd/tableEdit/OnTableEditorCreatedCallback.d.ts +5 -5
  947. package/lib-amd/tableEdit/OnTableEditorCreatedCallback.js +4 -4
  948. package/lib-amd/tableEdit/OnTableEditorCreatedCallback.js.map +1 -1
  949. package/lib-amd/tableEdit/TableEditPlugin.d.ts +56 -56
  950. package/lib-amd/tableEdit/TableEditPlugin.js +170 -170
  951. package/lib-amd/tableEdit/TableEditPlugin.js.map +1 -1
  952. package/lib-amd/tableEdit/TableWithRoot.d.ts +15 -15
  953. package/lib-amd/tableEdit/TableWithRoot.js +4 -4
  954. package/lib-amd/tableEdit/TableWithRoot.js.map +1 -1
  955. package/lib-amd/tableEdit/editors/TableEditor.d.ts +90 -90
  956. package/lib-amd/tableEdit/editors/TableEditor.js +373 -373
  957. package/lib-amd/tableEdit/editors/TableEditor.js.map +1 -1
  958. package/lib-amd/tableEdit/editors/features/CellResizer.d.ts +55 -55
  959. package/lib-amd/tableEdit/editors/features/CellResizer.js +243 -243
  960. package/lib-amd/tableEdit/editors/features/CellResizer.js.map +1 -1
  961. package/lib-amd/tableEdit/editors/features/TableEditFeature.d.ts +13 -13
  962. package/lib-amd/tableEdit/editors/features/TableEditFeature.js +18 -18
  963. package/lib-amd/tableEdit/editors/features/TableEditFeature.js.map +1 -1
  964. package/lib-amd/tableEdit/editors/features/TableEditFeatureName.d.ts +4 -4
  965. package/lib-amd/tableEdit/editors/features/TableEditFeatureName.js +4 -4
  966. package/lib-amd/tableEdit/editors/features/TableEditFeatureName.js.map +1 -1
  967. package/lib-amd/tableEdit/editors/features/TableInserter.d.ts +33 -33
  968. package/lib-amd/tableEdit/editors/features/TableInserter.js +130 -123
  969. package/lib-amd/tableEdit/editors/features/TableInserter.js.map +1 -1
  970. package/lib-amd/tableEdit/editors/features/TableMover.d.ts +53 -53
  971. package/lib-amd/tableEdit/editors/features/TableMover.js +229 -229
  972. package/lib-amd/tableEdit/editors/features/TableMover.js.map +1 -1
  973. package/lib-amd/tableEdit/editors/features/TableResizer.d.ts +50 -50
  974. package/lib-amd/tableEdit/editors/features/TableResizer.js +187 -187
  975. package/lib-amd/tableEdit/editors/features/TableResizer.js.map +1 -1
  976. package/lib-amd/tableEdit/editors/features/TableRowColumnSelector.d.ts +42 -42
  977. package/lib-amd/tableEdit/editors/features/TableRowColumnSelector.js +220 -220
  978. package/lib-amd/tableEdit/editors/features/TableRowColumnSelector.js.map +1 -1
  979. package/lib-amd/tableEdit/editors/utils/getTableFromContentModel.d.ts +6 -6
  980. package/lib-amd/tableEdit/editors/utils/getTableFromContentModel.js +21 -21
  981. package/lib-amd/tableEdit/editors/utils/getTableFromContentModel.js.map +1 -1
  982. package/lib-amd/touch/TouchPlugin.d.ts +32 -32
  983. package/lib-amd/touch/TouchPlugin.js +212 -212
  984. package/lib-amd/touch/TouchPlugin.js.map +1 -1
  985. package/lib-amd/utils/getNodePositionFromEvent.d.ts +5 -5
  986. package/lib-amd/utils/getNodePositionFromEvent.js +35 -35
  987. package/lib-amd/utils/getNodePositionFromEvent.js.map +1 -1
  988. package/lib-amd/watermark/WatermarkFormat.d.ts +5 -5
  989. package/lib-amd/watermark/WatermarkFormat.js +4 -4
  990. package/lib-amd/watermark/WatermarkFormat.js.map +1 -1
  991. package/lib-amd/watermark/WatermarkPlugin.d.ts +42 -42
  992. package/lib-amd/watermark/WatermarkPlugin.js +136 -136
  993. package/lib-amd/watermark/WatermarkPlugin.js.map +1 -1
  994. package/lib-amd/watermark/isModelEmptyFast.d.ts +5 -5
  995. package/lib-amd/watermark/isModelEmptyFast.js +39 -39
  996. package/lib-amd/watermark/isModelEmptyFast.js.map +1 -1
  997. package/lib-mjs/announce/AnnouncePlugin.d.ts +32 -32
  998. package/lib-mjs/announce/AnnouncePlugin.js +62 -62
  999. package/lib-mjs/announce/AnnouncePlugin.js.map +1 -1
  1000. package/lib-mjs/announce/tableSelectionUtils.d.ts +17 -17
  1001. package/lib-mjs/announce/tableSelectionUtils.js +63 -63
  1002. package/lib-mjs/announce/tableSelectionUtils.js.map +1 -1
  1003. package/lib-mjs/autoFormat/AutoFormatPlugin.d.ts +59 -59
  1004. package/lib-mjs/autoFormat/AutoFormatPlugin.js +295 -295
  1005. package/lib-mjs/autoFormat/AutoFormatPlugin.js.map +1 -1
  1006. package/lib-mjs/autoFormat/horizontalLine/checkAndInsertHorizontalLine.d.ts +24 -24
  1007. package/lib-mjs/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js +86 -86
  1008. package/lib-mjs/autoFormat/horizontalLine/checkAndInsertHorizontalLine.js.map +1 -1
  1009. package/lib-mjs/autoFormat/hyphen/transformHyphen.d.ts +5 -5
  1010. package/lib-mjs/autoFormat/hyphen/transformHyphen.js +30 -30
  1011. package/lib-mjs/autoFormat/hyphen/transformHyphen.js.map +1 -1
  1012. package/lib-mjs/autoFormat/interface/AutoFormatOptions.d.ts +34 -34
  1013. package/lib-mjs/autoFormat/interface/AutoFormatOptions.js +1 -1
  1014. package/lib-mjs/autoFormat/interface/AutoFormatOptions.js.map +1 -1
  1015. package/lib-mjs/autoFormat/link/createLink.d.ts +5 -5
  1016. package/lib-mjs/autoFormat/link/createLink.js +31 -31
  1017. package/lib-mjs/autoFormat/link/createLink.js.map +1 -1
  1018. package/lib-mjs/autoFormat/link/unlink.d.ts +5 -5
  1019. package/lib-mjs/autoFormat/link/unlink.js +14 -14
  1020. package/lib-mjs/autoFormat/link/unlink.js.map +1 -1
  1021. package/lib-mjs/autoFormat/list/convertAlphaToDecimals.d.ts +7 -7
  1022. package/lib-mjs/autoFormat/list/convertAlphaToDecimals.js +18 -18
  1023. package/lib-mjs/autoFormat/list/convertAlphaToDecimals.js.map +1 -1
  1024. package/lib-mjs/autoFormat/list/getIndex.d.ts +4 -4
  1025. package/lib-mjs/autoFormat/list/getIndex.js +9 -9
  1026. package/lib-mjs/autoFormat/list/getIndex.js.map +1 -1
  1027. package/lib-mjs/autoFormat/list/getListTypeStyle.d.ts +14 -14
  1028. package/lib-mjs/autoFormat/list/getListTypeStyle.js +95 -95
  1029. package/lib-mjs/autoFormat/list/getListTypeStyle.js.map +1 -1
  1030. package/lib-mjs/autoFormat/list/getNumberingListStyle.d.ts +4 -4
  1031. package/lib-mjs/autoFormat/list/getNumberingListStyle.js +149 -149
  1032. package/lib-mjs/autoFormat/list/getNumberingListStyle.js.map +1 -1
  1033. package/lib-mjs/autoFormat/list/keyboardListTrigger.d.ts +5 -5
  1034. package/lib-mjs/autoFormat/list/keyboardListTrigger.js +45 -45
  1035. package/lib-mjs/autoFormat/list/keyboardListTrigger.js.map +1 -1
  1036. package/lib-mjs/autoFormat/numbers/transformFraction.d.ts +5 -5
  1037. package/lib-mjs/autoFormat/numbers/transformFraction.js +23 -23
  1038. package/lib-mjs/autoFormat/numbers/transformFraction.js.map +1 -1
  1039. package/lib-mjs/autoFormat/numbers/transformOrdinals.d.ts +4 -4
  1040. package/lib-mjs/autoFormat/numbers/transformOrdinals.js +61 -61
  1041. package/lib-mjs/autoFormat/numbers/transformOrdinals.js.map +1 -1
  1042. package/lib-mjs/contextMenuBase/ContextMenuPluginBase.d.ts +58 -58
  1043. package/lib-mjs/contextMenuBase/ContextMenuPluginBase.js +80 -80
  1044. package/lib-mjs/contextMenuBase/ContextMenuPluginBase.js.map +1 -1
  1045. package/lib-mjs/customReplace/CustomReplacePlugin.d.ts +61 -61
  1046. package/lib-mjs/customReplace/CustomReplacePlugin.js +83 -83
  1047. package/lib-mjs/customReplace/CustomReplacePlugin.js.map +1 -1
  1048. package/lib-mjs/edit/EditOptions.d.ts +78 -78
  1049. package/lib-mjs/edit/EditOptions.js +1 -1
  1050. package/lib-mjs/edit/EditOptions.js.map +1 -1
  1051. package/lib-mjs/edit/EditPlugin.d.ts +60 -60
  1052. package/lib-mjs/edit/EditPlugin.js +253 -253
  1053. package/lib-mjs/edit/EditPlugin.js.map +1 -1
  1054. package/lib-mjs/edit/deleteSteps/deleteAllSegmentBefore.d.ts +5 -5
  1055. package/lib-mjs/edit/deleteSteps/deleteAllSegmentBefore.js +19 -19
  1056. package/lib-mjs/edit/deleteSteps/deleteAllSegmentBefore.js.map +1 -1
  1057. package/lib-mjs/edit/deleteSteps/deleteCollapsedSelection.d.ts +10 -10
  1058. package/lib-mjs/edit/deleteSteps/deleteCollapsedSelection.js +110 -110
  1059. package/lib-mjs/edit/deleteSteps/deleteCollapsedSelection.js.map +1 -1
  1060. package/lib-mjs/edit/deleteSteps/deleteEmptyQuote.d.ts +5 -5
  1061. package/lib-mjs/edit/deleteSteps/deleteEmptyQuote.js +58 -58
  1062. package/lib-mjs/edit/deleteSteps/deleteEmptyQuote.js.map +1 -1
  1063. package/lib-mjs/edit/deleteSteps/deleteList.d.ts +5 -5
  1064. package/lib-mjs/edit/deleteSteps/deleteList.js +54 -54
  1065. package/lib-mjs/edit/deleteSteps/deleteList.js.map +1 -1
  1066. package/lib-mjs/edit/deleteSteps/deleteParagraphStyle.d.ts +5 -5
  1067. package/lib-mjs/edit/deleteSteps/deleteParagraphStyle.js +32 -32
  1068. package/lib-mjs/edit/deleteSteps/deleteParagraphStyle.js.map +1 -1
  1069. package/lib-mjs/edit/deleteSteps/deleteWordSelection.d.ts +9 -9
  1070. package/lib-mjs/edit/deleteSteps/deleteWordSelection.js +169 -169
  1071. package/lib-mjs/edit/deleteSteps/deleteWordSelection.js.map +1 -1
  1072. package/lib-mjs/edit/handleKeyboardEventCommon.d.ts +14 -14
  1073. package/lib-mjs/edit/handleKeyboardEventCommon.js +65 -65
  1074. package/lib-mjs/edit/handleKeyboardEventCommon.js.map +1 -1
  1075. package/lib-mjs/edit/inputSteps/handleAutoLink.d.ts +5 -5
  1076. package/lib-mjs/edit/inputSteps/handleAutoLink.js +20 -20
  1077. package/lib-mjs/edit/inputSteps/handleAutoLink.js.map +1 -1
  1078. package/lib-mjs/edit/inputSteps/handleEnterOnList.d.ts +5 -5
  1079. package/lib-mjs/edit/inputSteps/handleEnterOnList.js +67 -67
  1080. package/lib-mjs/edit/inputSteps/handleEnterOnList.js.map +1 -1
  1081. package/lib-mjs/edit/inputSteps/handleEnterOnParagraph.d.ts +5 -5
  1082. package/lib-mjs/edit/inputSteps/handleEnterOnParagraph.js +17 -17
  1083. package/lib-mjs/edit/inputSteps/handleEnterOnParagraph.js.map +1 -1
  1084. package/lib-mjs/edit/keyboardDelete.d.ts +11 -11
  1085. package/lib-mjs/edit/keyboardDelete.js +110 -110
  1086. package/lib-mjs/edit/keyboardDelete.js.map +1 -1
  1087. package/lib-mjs/edit/keyboardEnter.d.ts +5 -5
  1088. package/lib-mjs/edit/keyboardEnter.js +50 -50
  1089. package/lib-mjs/edit/keyboardEnter.js.map +1 -1
  1090. package/lib-mjs/edit/keyboardInput.d.ts +5 -5
  1091. package/lib-mjs/edit/keyboardInput.js +60 -60
  1092. package/lib-mjs/edit/keyboardInput.js.map +1 -1
  1093. package/lib-mjs/edit/keyboardTab.d.ts +6 -6
  1094. package/lib-mjs/edit/keyboardTab.js +70 -70
  1095. package/lib-mjs/edit/keyboardTab.js.map +1 -1
  1096. package/lib-mjs/edit/tabUtils/handleTabOnList.d.ts +7 -7
  1097. package/lib-mjs/edit/tabUtils/handleTabOnList.js +29 -29
  1098. package/lib-mjs/edit/tabUtils/handleTabOnList.js.map +1 -1
  1099. package/lib-mjs/edit/tabUtils/handleTabOnParagraph.d.ts +17 -17
  1100. package/lib-mjs/edit/tabUtils/handleTabOnParagraph.js +90 -90
  1101. package/lib-mjs/edit/tabUtils/handleTabOnParagraph.js.map +1 -1
  1102. package/lib-mjs/edit/tabUtils/handleTabOnTable.d.ts +6 -6
  1103. package/lib-mjs/edit/tabUtils/handleTabOnTable.js +21 -21
  1104. package/lib-mjs/edit/tabUtils/handleTabOnTable.js.map +1 -1
  1105. package/lib-mjs/edit/tabUtils/handleTabOnTableCell.d.ts +6 -6
  1106. package/lib-mjs/edit/tabUtils/handleTabOnTableCell.js +39 -39
  1107. package/lib-mjs/edit/tabUtils/handleTabOnTableCell.js.map +1 -1
  1108. package/lib-mjs/edit/utils/getLeafSiblingBlock.d.ts +45 -45
  1109. package/lib-mjs/edit/utils/getLeafSiblingBlock.js +68 -68
  1110. package/lib-mjs/edit/utils/getLeafSiblingBlock.js.map +1 -1
  1111. package/lib-mjs/edit/utils/preserveParagraphFormat.d.ts +9 -9
  1112. package/lib-mjs/edit/utils/preserveParagraphFormat.js +19 -19
  1113. package/lib-mjs/edit/utils/preserveParagraphFormat.js.map +1 -1
  1114. package/lib-mjs/edit/utils/splitParagraph.d.ts +12 -12
  1115. package/lib-mjs/edit/utils/splitParagraph.js +36 -36
  1116. package/lib-mjs/edit/utils/splitParagraph.js.map +1 -1
  1117. package/lib-mjs/findReplace/FindReplacePlugin.d.ts +42 -42
  1118. package/lib-mjs/findReplace/FindReplacePlugin.js +94 -94
  1119. package/lib-mjs/findReplace/FindReplacePlugin.js.map +1 -1
  1120. package/lib-mjs/findReplace/createFindReplaceContext.d.ts +8 -8
  1121. package/lib-mjs/findReplace/createFindReplaceContext.js +21 -21
  1122. package/lib-mjs/findReplace/createFindReplaceContext.js.map +1 -1
  1123. package/lib-mjs/findReplace/find.d.ts +11 -11
  1124. package/lib-mjs/findReplace/find.js +15 -15
  1125. package/lib-mjs/findReplace/find.js.map +1 -1
  1126. package/lib-mjs/findReplace/moveHighlight.d.ts +9 -9
  1127. package/lib-mjs/findReplace/moveHighlight.js +16 -16
  1128. package/lib-mjs/findReplace/moveHighlight.js.map +1 -1
  1129. package/lib-mjs/findReplace/replace.d.ts +10 -10
  1130. package/lib-mjs/findReplace/replace.js +43 -43
  1131. package/lib-mjs/findReplace/replace.js.map +1 -1
  1132. package/lib-mjs/findReplace/types/FindReplaceContext.d.ts +38 -38
  1133. package/lib-mjs/findReplace/types/FindReplaceContext.js +1 -1
  1134. package/lib-mjs/findReplace/types/FindReplaceContext.js.map +1 -1
  1135. package/lib-mjs/findReplace/types/FindReplaceHighlightOptions.d.ts +13 -13
  1136. package/lib-mjs/findReplace/types/FindReplaceHighlightOptions.js +1 -1
  1137. package/lib-mjs/findReplace/types/FindReplaceHighlightOptions.js.map +1 -1
  1138. package/lib-mjs/findReplace/types/HighlightHelper.d.ts +23 -23
  1139. package/lib-mjs/findReplace/types/HighlightHelper.js +1 -1
  1140. package/lib-mjs/findReplace/types/HighlightHelper.js.map +1 -1
  1141. package/lib-mjs/findReplace/utils/HighlightHelperImpl.d.ts +9 -9
  1142. package/lib-mjs/findReplace/utils/HighlightHelperImpl.js +60 -60
  1143. package/lib-mjs/findReplace/utils/HighlightHelperImpl.js.map +1 -1
  1144. package/lib-mjs/findReplace/utils/constants.d.ts +28 -28
  1145. package/lib-mjs/findReplace/utils/constants.js +28 -28
  1146. package/lib-mjs/findReplace/utils/constants.js.map +1 -1
  1147. package/lib-mjs/findReplace/utils/replaceTextInRange.d.ts +4 -4
  1148. package/lib-mjs/findReplace/utils/replaceTextInRange.js +66 -66
  1149. package/lib-mjs/findReplace/utils/replaceTextInRange.js.map +1 -1
  1150. package/lib-mjs/findReplace/utils/setMarkedIndex.d.ts +6 -6
  1151. package/lib-mjs/findReplace/utils/setMarkedIndex.js +24 -24
  1152. package/lib-mjs/findReplace/utils/setMarkedIndex.js.map +1 -1
  1153. package/lib-mjs/findReplace/utils/sortRanges.d.ts +5 -5
  1154. package/lib-mjs/findReplace/utils/sortRanges.js +18 -18
  1155. package/lib-mjs/findReplace/utils/sortRanges.js.map +1 -1
  1156. package/lib-mjs/findReplace/utils/updateHighlight.d.ts +6 -6
  1157. package/lib-mjs/findReplace/utils/updateHighlight.js +43 -43
  1158. package/lib-mjs/findReplace/utils/updateHighlight.js.map +1 -1
  1159. package/lib-mjs/hiddenProperty/HiddenPropertyOptions.d.ts +11 -11
  1160. package/lib-mjs/hiddenProperty/HiddenPropertyOptions.js +1 -1
  1161. package/lib-mjs/hiddenProperty/HiddenPropertyOptions.js.map +1 -1
  1162. package/lib-mjs/hiddenProperty/HiddenPropertyPlugin.d.ts +38 -38
  1163. package/lib-mjs/hiddenProperty/HiddenPropertyPlugin.js +54 -54
  1164. package/lib-mjs/hiddenProperty/HiddenPropertyPlugin.js.map +1 -1
  1165. package/lib-mjs/hiddenProperty/fixupHiddenProperties.d.ts +9 -9
  1166. package/lib-mjs/hiddenProperty/fixupHiddenProperties.js +33 -33
  1167. package/lib-mjs/hiddenProperty/fixupHiddenProperties.js.map +1 -1
  1168. package/lib-mjs/hyperlink/HyperlinkPlugin.d.ts +48 -48
  1169. package/lib-mjs/hyperlink/HyperlinkPlugin.js +140 -140
  1170. package/lib-mjs/hyperlink/HyperlinkPlugin.js.map +1 -1
  1171. package/lib-mjs/hyperlink/HyperlinkToolTip.d.ts +7 -7
  1172. package/lib-mjs/hyperlink/HyperlinkToolTip.js +1 -1
  1173. package/lib-mjs/hyperlink/HyperlinkToolTip.js.map +1 -1
  1174. package/lib-mjs/imageEdit/Cropper/createImageCropper.d.ts +10 -10
  1175. package/lib-mjs/imageEdit/Cropper/createImageCropper.js +74 -74
  1176. package/lib-mjs/imageEdit/Cropper/createImageCropper.js.map +1 -1
  1177. package/lib-mjs/imageEdit/Cropper/cropperContext.d.ts +8 -8
  1178. package/lib-mjs/imageEdit/Cropper/cropperContext.js +69 -69
  1179. package/lib-mjs/imageEdit/Cropper/cropperContext.js.map +1 -1
  1180. package/lib-mjs/imageEdit/ImageEditPlugin.d.ts +86 -86
  1181. package/lib-mjs/imageEdit/ImageEditPlugin.js +581 -581
  1182. package/lib-mjs/imageEdit/ImageEditPlugin.js.map +1 -1
  1183. package/lib-mjs/imageEdit/Resizer/createImageResizer.d.ts +12 -12
  1184. package/lib-mjs/imageEdit/Resizer/createImageResizer.js +84 -84
  1185. package/lib-mjs/imageEdit/Resizer/createImageResizer.js.map +1 -1
  1186. package/lib-mjs/imageEdit/Resizer/resizerContext.d.ts +8 -8
  1187. package/lib-mjs/imageEdit/Resizer/resizerContext.js +57 -57
  1188. package/lib-mjs/imageEdit/Resizer/resizerContext.js.map +1 -1
  1189. package/lib-mjs/imageEdit/Resizer/updateSideHandlesVisibility.d.ts +4 -4
  1190. package/lib-mjs/imageEdit/Resizer/updateSideHandlesVisibility.js +12 -12
  1191. package/lib-mjs/imageEdit/Resizer/updateSideHandlesVisibility.js.map +1 -1
  1192. package/lib-mjs/imageEdit/Rotator/createImageRotator.d.ts +6 -6
  1193. package/lib-mjs/imageEdit/Rotator/createImageRotator.js +71 -71
  1194. package/lib-mjs/imageEdit/Rotator/createImageRotator.js.map +1 -1
  1195. package/lib-mjs/imageEdit/Rotator/rotatorContext.d.ts +8 -8
  1196. package/lib-mjs/imageEdit/Rotator/rotatorContext.js +32 -32
  1197. package/lib-mjs/imageEdit/Rotator/rotatorContext.js.map +1 -1
  1198. package/lib-mjs/imageEdit/Rotator/updateRotateHandle.d.ts +7 -7
  1199. package/lib-mjs/imageEdit/Rotator/updateRotateHandle.js +51 -51
  1200. package/lib-mjs/imageEdit/Rotator/updateRotateHandle.js.map +1 -1
  1201. package/lib-mjs/imageEdit/constants/constants.d.ts +77 -77
  1202. package/lib-mjs/imageEdit/constants/constants.js +81 -81
  1203. package/lib-mjs/imageEdit/constants/constants.js.map +1 -1
  1204. package/lib-mjs/imageEdit/types/DragAndDropContext.d.ts +39 -39
  1205. package/lib-mjs/imageEdit/types/DragAndDropContext.js +1 -1
  1206. package/lib-mjs/imageEdit/types/DragAndDropContext.js.map +1 -1
  1207. package/lib-mjs/imageEdit/types/GeneratedImageSize.d.ts +33 -33
  1208. package/lib-mjs/imageEdit/types/GeneratedImageSize.js +1 -1
  1209. package/lib-mjs/imageEdit/types/GeneratedImageSize.js.map +1 -1
  1210. package/lib-mjs/imageEdit/types/ImageAndParagraph.d.ts +8 -8
  1211. package/lib-mjs/imageEdit/types/ImageAndParagraph.js +1 -1
  1212. package/lib-mjs/imageEdit/types/ImageAndParagraph.js.map +1 -1
  1213. package/lib-mjs/imageEdit/types/ImageEditElementClass.d.ts +30 -30
  1214. package/lib-mjs/imageEdit/types/ImageEditElementClass.js +31 -31
  1215. package/lib-mjs/imageEdit/types/ImageEditElementClass.js.map +1 -1
  1216. package/lib-mjs/imageEdit/types/ImageEditOptions.d.ts +55 -55
  1217. package/lib-mjs/imageEdit/types/ImageEditOptions.js +1 -1
  1218. package/lib-mjs/imageEdit/types/ImageEditOptions.js.map +1 -1
  1219. package/lib-mjs/imageEdit/types/ImageHtmlOptions.d.ts +22 -22
  1220. package/lib-mjs/imageEdit/types/ImageHtmlOptions.js +1 -1
  1221. package/lib-mjs/imageEdit/types/ImageHtmlOptions.js.map +1 -1
  1222. package/lib-mjs/imageEdit/utils/applyChange.d.ts +13 -13
  1223. package/lib-mjs/imageEdit/utils/applyChange.js +68 -68
  1224. package/lib-mjs/imageEdit/utils/applyChange.js.map +1 -1
  1225. package/lib-mjs/imageEdit/utils/canRegenerateImage.d.ts +8 -8
  1226. package/lib-mjs/imageEdit/utils/canRegenerateImage.js +27 -27
  1227. package/lib-mjs/imageEdit/utils/canRegenerateImage.js.map +1 -1
  1228. package/lib-mjs/imageEdit/utils/checkEditInfoState.d.ts +41 -41
  1229. package/lib-mjs/imageEdit/utils/checkEditInfoState.js +48 -48
  1230. package/lib-mjs/imageEdit/utils/checkEditInfoState.js.map +1 -1
  1231. package/lib-mjs/imageEdit/utils/createImageWrapper.d.ts +18 -18
  1232. package/lib-mjs/imageEdit/utils/createImageWrapper.js +87 -87
  1233. package/lib-mjs/imageEdit/utils/createImageWrapper.js.map +1 -1
  1234. package/lib-mjs/imageEdit/utils/doubleCheckResize.d.ts +12 -12
  1235. package/lib-mjs/imageEdit/utils/doubleCheckResize.js +31 -31
  1236. package/lib-mjs/imageEdit/utils/doubleCheckResize.js.map +1 -1
  1237. package/lib-mjs/imageEdit/utils/filterInnerResizerHandles.d.ts +4 -4
  1238. package/lib-mjs/imageEdit/utils/filterInnerResizerHandles.js +15 -15
  1239. package/lib-mjs/imageEdit/utils/filterInnerResizerHandles.js.map +1 -1
  1240. package/lib-mjs/imageEdit/utils/findEditingImage.d.ts +10 -10
  1241. package/lib-mjs/imageEdit/utils/findEditingImage.js +35 -35
  1242. package/lib-mjs/imageEdit/utils/findEditingImage.js.map +1 -1
  1243. package/lib-mjs/imageEdit/utils/generateDataURL.d.ts +13 -13
  1244. package/lib-mjs/imageEdit/utils/generateDataURL.js +52 -52
  1245. package/lib-mjs/imageEdit/utils/generateDataURL.js.map +1 -1
  1246. package/lib-mjs/imageEdit/utils/generateImageSize.d.ts +15 -15
  1247. package/lib-mjs/imageEdit/utils/generateImageSize.js +41 -41
  1248. package/lib-mjs/imageEdit/utils/generateImageSize.js.map +1 -1
  1249. package/lib-mjs/imageEdit/utils/getDropAndDragHelpers.d.ts +10 -10
  1250. package/lib-mjs/imageEdit/utils/getDropAndDragHelpers.js +19 -19
  1251. package/lib-mjs/imageEdit/utils/getDropAndDragHelpers.js.map +1 -1
  1252. package/lib-mjs/imageEdit/utils/getHTMLImageOptions.d.ts +7 -7
  1253. package/lib-mjs/imageEdit/utils/getHTMLImageOptions.js +18 -18
  1254. package/lib-mjs/imageEdit/utils/getHTMLImageOptions.js.map +1 -1
  1255. package/lib-mjs/imageEdit/utils/getSelectedImage.d.ts +6 -6
  1256. package/lib-mjs/imageEdit/utils/getSelectedImage.js +16 -16
  1257. package/lib-mjs/imageEdit/utils/getSelectedImage.js.map +1 -1
  1258. package/lib-mjs/imageEdit/utils/imageEditUtils.d.ts +47 -47
  1259. package/lib-mjs/imageEdit/utils/imageEditUtils.js +104 -104
  1260. package/lib-mjs/imageEdit/utils/imageEditUtils.js.map +1 -1
  1261. package/lib-mjs/imageEdit/utils/normalizeImageSelection.d.ts +9 -9
  1262. package/lib-mjs/imageEdit/utils/normalizeImageSelection.js +27 -27
  1263. package/lib-mjs/imageEdit/utils/normalizeImageSelection.js.map +1 -1
  1264. package/lib-mjs/imageEdit/utils/updateHandleCursor.d.ts +7 -7
  1265. package/lib-mjs/imageEdit/utils/updateHandleCursor.js +29 -29
  1266. package/lib-mjs/imageEdit/utils/updateHandleCursor.js.map +1 -1
  1267. package/lib-mjs/imageEdit/utils/updateImageEditInfo.d.ts +10 -10
  1268. package/lib-mjs/imageEdit/utils/updateImageEditInfo.js +47 -47
  1269. package/lib-mjs/imageEdit/utils/updateImageEditInfo.js.map +1 -1
  1270. package/lib-mjs/imageEdit/utils/updateWrapper.d.ts +6 -6
  1271. package/lib-mjs/imageEdit/utils/updateWrapper.js +82 -82
  1272. package/lib-mjs/imageEdit/utils/updateWrapper.js.map +1 -1
  1273. package/lib-mjs/index.d.ts +38 -38
  1274. package/lib-mjs/index.js +23 -23
  1275. package/lib-mjs/index.js.map +1 -1
  1276. package/lib-mjs/markdown/MarkdownPlugin.d.ts +64 -64
  1277. package/lib-mjs/markdown/MarkdownPlugin.js +192 -192
  1278. package/lib-mjs/markdown/MarkdownPlugin.js.map +1 -1
  1279. package/lib-mjs/markdown/utils/setFormat.d.ts +5 -5
  1280. package/lib-mjs/markdown/utils/setFormat.js +42 -42
  1281. package/lib-mjs/markdown/utils/setFormat.js.map +1 -1
  1282. package/lib-mjs/paste/DefaultSanitizers.d.ts +10 -10
  1283. package/lib-mjs/paste/DefaultSanitizers.js +20 -20
  1284. package/lib-mjs/paste/DefaultSanitizers.js.map +1 -1
  1285. package/lib-mjs/paste/Excel/processPastedContentFromExcel.d.ts +30 -30
  1286. package/lib-mjs/paste/Excel/processPastedContentFromExcel.js +132 -132
  1287. package/lib-mjs/paste/Excel/processPastedContentFromExcel.js.map +1 -1
  1288. package/lib-mjs/paste/PastePlugin.d.ts +44 -44
  1289. package/lib-mjs/paste/PastePlugin.js +143 -143
  1290. package/lib-mjs/paste/PastePlugin.js.map +1 -1
  1291. package/lib-mjs/paste/PowerPoint/processPastedContentFromPowerPoint.d.ts +7 -7
  1292. package/lib-mjs/paste/PowerPoint/processPastedContentFromPowerPoint.js +142 -142
  1293. package/lib-mjs/paste/PowerPoint/processPastedContentFromPowerPoint.js.map +1 -1
  1294. package/lib-mjs/paste/WacComponents/constants.d.ts +52 -52
  1295. package/lib-mjs/paste/WacComponents/constants.js +63 -63
  1296. package/lib-mjs/paste/WacComponents/constants.js.map +1 -1
  1297. package/lib-mjs/paste/WacComponents/processPastedContentWacComponents.d.ts +9 -9
  1298. package/lib-mjs/paste/WacComponents/processPastedContentWacComponents.js +186 -186
  1299. package/lib-mjs/paste/WacComponents/processPastedContentWacComponents.js.map +1 -1
  1300. package/lib-mjs/paste/WordDesktop/WordMetadata.d.ts +9 -9
  1301. package/lib-mjs/paste/WordDesktop/WordMetadata.js +1 -1
  1302. package/lib-mjs/paste/WordDesktop/WordMetadata.js.map +1 -1
  1303. package/lib-mjs/paste/WordDesktop/getStyleMetadata.d.ts +22 -22
  1304. package/lib-mjs/paste/WordDesktop/getStyleMetadata.js +106 -106
  1305. package/lib-mjs/paste/WordDesktop/getStyleMetadata.js.map +1 -1
  1306. package/lib-mjs/paste/WordDesktop/processPastedContentFromWordDesktop.d.ts +8 -8
  1307. package/lib-mjs/paste/WordDesktop/processPastedContentFromWordDesktop.js +37 -37
  1308. package/lib-mjs/paste/WordDesktop/processPastedContentFromWordDesktop.js.map +1 -1
  1309. package/lib-mjs/paste/WordDesktop/processWordComments.d.ts +7 -7
  1310. package/lib-mjs/paste/WordDesktop/processWordComments.js +17 -17
  1311. package/lib-mjs/paste/WordDesktop/processWordComments.js.map +1 -1
  1312. package/lib-mjs/paste/WordDesktop/processWordLists.d.ts +11 -11
  1313. package/lib-mjs/paste/WordDesktop/processWordLists.js +200 -200
  1314. package/lib-mjs/paste/WordDesktop/processWordLists.js.map +1 -1
  1315. package/lib-mjs/paste/oneNote/processPastedContentFromOneNote.d.ts +50 -50
  1316. package/lib-mjs/paste/oneNote/processPastedContentFromOneNote.js +106 -106
  1317. package/lib-mjs/paste/oneNote/processPastedContentFromOneNote.js.map +1 -1
  1318. package/lib-mjs/paste/parsers/adjustPercentileLineHeightParser.d.ts +8 -8
  1319. package/lib-mjs/paste/parsers/adjustPercentileLineHeightParser.js +21 -21
  1320. package/lib-mjs/paste/parsers/adjustPercentileLineHeightParser.js.map +1 -1
  1321. package/lib-mjs/paste/parsers/blockElementParser.d.ts +7 -7
  1322. package/lib-mjs/paste/parsers/blockElementParser.js +10 -10
  1323. package/lib-mjs/paste/parsers/blockElementParser.js.map +1 -1
  1324. package/lib-mjs/paste/parsers/deprecatedColorParser.d.ts +5 -5
  1325. package/lib-mjs/paste/parsers/deprecatedColorParser.js +15 -15
  1326. package/lib-mjs/paste/parsers/deprecatedColorParser.js.map +1 -1
  1327. package/lib-mjs/paste/parsers/imageSizeParser.d.ts +6 -6
  1328. package/lib-mjs/paste/parsers/imageSizeParser.js +19 -19
  1329. package/lib-mjs/paste/parsers/imageSizeParser.js.map +1 -1
  1330. package/lib-mjs/paste/parsers/linkParser.d.ts +5 -5
  1331. package/lib-mjs/paste/parsers/linkParser.js +23 -23
  1332. package/lib-mjs/paste/parsers/linkParser.js.map +1 -1
  1333. package/lib-mjs/paste/parsers/listLevelParser.d.ts +10 -10
  1334. package/lib-mjs/paste/parsers/listLevelParser.js +14 -14
  1335. package/lib-mjs/paste/parsers/listLevelParser.js.map +1 -1
  1336. package/lib-mjs/paste/parsers/removeNegativeTextIndentParser.d.ts +5 -5
  1337. package/lib-mjs/paste/parsers/removeNegativeTextIndentParser.js +9 -9
  1338. package/lib-mjs/paste/parsers/removeNegativeTextIndentParser.js.map +1 -1
  1339. package/lib-mjs/paste/parsers/tableBorderParser.d.ts +5 -5
  1340. package/lib-mjs/paste/parsers/tableBorderParser.js +23 -23
  1341. package/lib-mjs/paste/parsers/tableBorderParser.js.map +1 -1
  1342. package/lib-mjs/paste/parsers/wordContainerParser.d.ts +8 -8
  1343. package/lib-mjs/paste/parsers/wordContainerParser.js +12 -12
  1344. package/lib-mjs/paste/parsers/wordContainerParser.js.map +1 -1
  1345. package/lib-mjs/paste/parsers/wordTableParser.d.ts +8 -8
  1346. package/lib-mjs/paste/parsers/wordTableParser.js +15 -15
  1347. package/lib-mjs/paste/parsers/wordTableParser.js.map +1 -1
  1348. package/lib-mjs/paste/pasteSourceValidations/constants.d.ts +17 -17
  1349. package/lib-mjs/paste/pasteSourceValidations/constants.js +17 -17
  1350. package/lib-mjs/paste/pasteSourceValidations/constants.js.map +1 -1
  1351. package/lib-mjs/paste/pasteSourceValidations/documentContainWacElements.d.ts +8 -8
  1352. package/lib-mjs/paste/pasteSourceValidations/documentContainWacElements.js +11 -11
  1353. package/lib-mjs/paste/pasteSourceValidations/documentContainWacElements.js.map +1 -1
  1354. package/lib-mjs/paste/pasteSourceValidations/getDocumentSource.d.ts +52 -52
  1355. package/lib-mjs/paste/pasteSourceValidations/getDocumentSource.js +36 -36
  1356. package/lib-mjs/paste/pasteSourceValidations/getDocumentSource.js.map +1 -1
  1357. package/lib-mjs/paste/pasteSourceValidations/isExcelDesktopDocument.d.ts +8 -8
  1358. package/lib-mjs/paste/pasteSourceValidations/isExcelDesktopDocument.js +13 -13
  1359. package/lib-mjs/paste/pasteSourceValidations/isExcelDesktopDocument.js.map +1 -1
  1360. package/lib-mjs/paste/pasteSourceValidations/isExcelNonNativeEvent.d.ts +7 -7
  1361. package/lib-mjs/paste/pasteSourceValidations/isExcelNonNativeEvent.js +13 -13
  1362. package/lib-mjs/paste/pasteSourceValidations/isExcelNonNativeEvent.js.map +1 -1
  1363. package/lib-mjs/paste/pasteSourceValidations/isExcelOnlineDocument.d.ts +8 -8
  1364. package/lib-mjs/paste/pasteSourceValidations/isExcelOnlineDocument.js +15 -15
  1365. package/lib-mjs/paste/pasteSourceValidations/isExcelOnlineDocument.js.map +1 -1
  1366. package/lib-mjs/paste/pasteSourceValidations/isGoogleSheetDocument.d.ts +8 -8
  1367. package/lib-mjs/paste/pasteSourceValidations/isGoogleSheetDocument.js +11 -11
  1368. package/lib-mjs/paste/pasteSourceValidations/isGoogleSheetDocument.js.map +1 -1
  1369. package/lib-mjs/paste/pasteSourceValidations/isOneNoteDocument.d.ts +8 -8
  1370. package/lib-mjs/paste/pasteSourceValidations/isOneNoteDocument.js +13 -13
  1371. package/lib-mjs/paste/pasteSourceValidations/isOneNoteDocument.js.map +1 -1
  1372. package/lib-mjs/paste/pasteSourceValidations/isPowerPointDesktopDocument.d.ts +8 -8
  1373. package/lib-mjs/paste/pasteSourceValidations/isPowerPointDesktopDocument.js +11 -11
  1374. package/lib-mjs/paste/pasteSourceValidations/isPowerPointDesktopDocument.js.map +1 -1
  1375. package/lib-mjs/paste/pasteSourceValidations/isWordDesktopDocument.d.ts +8 -8
  1376. package/lib-mjs/paste/pasteSourceValidations/isWordDesktopDocument.js +20 -20
  1377. package/lib-mjs/paste/pasteSourceValidations/isWordDesktopDocument.js.map +1 -1
  1378. package/lib-mjs/paste/pasteSourceValidations/shouldConvertToSingleImage.d.ts +9 -9
  1379. package/lib-mjs/paste/pasteSourceValidations/shouldConvertToSingleImage.js +13 -13
  1380. package/lib-mjs/paste/pasteSourceValidations/shouldConvertToSingleImage.js.map +1 -1
  1381. package/lib-mjs/paste/processors/pasteButtonProcessor.d.ts +7 -7
  1382. package/lib-mjs/paste/processors/pasteButtonProcessor.js +31 -31
  1383. package/lib-mjs/paste/processors/pasteButtonProcessor.js.map +1 -1
  1384. package/lib-mjs/paste/utils/addParser.d.ts +5 -5
  1385. package/lib-mjs/paste/utils/addParser.js +13 -13
  1386. package/lib-mjs/paste/utils/addParser.js.map +1 -1
  1387. package/lib-mjs/paste/utils/chainSanitizerCallback.d.ts +9 -9
  1388. package/lib-mjs/paste/utils/chainSanitizerCallback.js +31 -31
  1389. package/lib-mjs/paste/utils/chainSanitizerCallback.js.map +1 -1
  1390. package/lib-mjs/paste/utils/customListUtils.d.ts +9 -9
  1391. package/lib-mjs/paste/utils/customListUtils.js +62 -62
  1392. package/lib-mjs/paste/utils/customListUtils.js.map +1 -1
  1393. package/lib-mjs/paste/utils/getStyles.d.ts +6 -6
  1394. package/lib-mjs/paste/utils/getStyles.js +18 -18
  1395. package/lib-mjs/paste/utils/getStyles.js.map +1 -1
  1396. package/lib-mjs/paste/utils/setProcessor.d.ts +5 -5
  1397. package/lib-mjs/paste/utils/setProcessor.js +9 -9
  1398. package/lib-mjs/paste/utils/setProcessor.js.map +1 -1
  1399. package/lib-mjs/picker/PickerHandler.d.ts +112 -112
  1400. package/lib-mjs/picker/PickerHandler.js +1 -1
  1401. package/lib-mjs/picker/PickerHandler.js.map +1 -1
  1402. package/lib-mjs/picker/PickerHelper.d.ts +22 -22
  1403. package/lib-mjs/picker/PickerHelper.js +1 -1
  1404. package/lib-mjs/picker/PickerHelper.js.map +1 -1
  1405. package/lib-mjs/picker/PickerHelperImpl.d.ts +25 -25
  1406. package/lib-mjs/picker/PickerHelperImpl.js +50 -50
  1407. package/lib-mjs/picker/PickerHelperImpl.js.map +1 -1
  1408. package/lib-mjs/picker/PickerPlugin.d.ts +54 -54
  1409. package/lib-mjs/picker/PickerPlugin.js +213 -213
  1410. package/lib-mjs/picker/PickerPlugin.js.map +1 -1
  1411. package/lib-mjs/picker/getQueryString.d.ts +5 -5
  1412. package/lib-mjs/picker/getQueryString.js +31 -31
  1413. package/lib-mjs/picker/getQueryString.js.map +1 -1
  1414. package/lib-mjs/pluginUtils/CreateElement/CreateElementData.d.ts +35 -35
  1415. package/lib-mjs/pluginUtils/CreateElement/CreateElementData.js +1 -1
  1416. package/lib-mjs/pluginUtils/CreateElement/CreateElementData.js.map +1 -1
  1417. package/lib-mjs/pluginUtils/CreateElement/createElement.d.ts +9 -9
  1418. package/lib-mjs/pluginUtils/CreateElement/createElement.js +47 -47
  1419. package/lib-mjs/pluginUtils/CreateElement/createElement.js.map +1 -1
  1420. package/lib-mjs/pluginUtils/Disposable.d.ts +10 -10
  1421. package/lib-mjs/pluginUtils/Disposable.js +1 -1
  1422. package/lib-mjs/pluginUtils/Disposable.js.map +1 -1
  1423. package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHandler.d.ts +45 -45
  1424. package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHandler.js +1 -1
  1425. package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHandler.js.map +1 -1
  1426. package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHelper.d.ts +39 -39
  1427. package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHelper.js +117 -117
  1428. package/lib-mjs/pluginUtils/DragAndDrop/DragAndDropHelper.js.map +1 -1
  1429. package/lib-mjs/pluginUtils/Rect/getIntersectedRect.d.ts +27 -27
  1430. package/lib-mjs/pluginUtils/Rect/getIntersectedRect.js +41 -41
  1431. package/lib-mjs/pluginUtils/Rect/getIntersectedRect.js.map +1 -1
  1432. package/lib-mjs/shortcut/ShortcutCommand.d.ts +44 -44
  1433. package/lib-mjs/shortcut/ShortcutCommand.js +1 -1
  1434. package/lib-mjs/shortcut/ShortcutCommand.js.map +1 -1
  1435. package/lib-mjs/shortcut/ShortcutPlugin.d.ts +51 -51
  1436. package/lib-mjs/shortcut/ShortcutPlugin.js +122 -122
  1437. package/lib-mjs/shortcut/ShortcutPlugin.js.map +1 -1
  1438. package/lib-mjs/shortcut/shortcuts.d.ts +92 -92
  1439. package/lib-mjs/shortcut/shortcuts.js +235 -235
  1440. package/lib-mjs/shortcut/shortcuts.js.map +1 -1
  1441. package/lib-mjs/shortcut/utils/setShortcutIndentationCommand.d.ts +5 -5
  1442. package/lib-mjs/shortcut/utils/setShortcutIndentationCommand.js +17 -17
  1443. package/lib-mjs/shortcut/utils/setShortcutIndentationCommand.js.map +1 -1
  1444. package/lib-mjs/tableEdit/OnTableEditorCreatedCallback.d.ts +5 -5
  1445. package/lib-mjs/tableEdit/OnTableEditorCreatedCallback.js +1 -1
  1446. package/lib-mjs/tableEdit/OnTableEditorCreatedCallback.js.map +1 -1
  1447. package/lib-mjs/tableEdit/TableEditPlugin.d.ts +56 -56
  1448. package/lib-mjs/tableEdit/TableEditPlugin.js +168 -168
  1449. package/lib-mjs/tableEdit/TableEditPlugin.js.map +1 -1
  1450. package/lib-mjs/tableEdit/TableWithRoot.d.ts +15 -15
  1451. package/lib-mjs/tableEdit/TableWithRoot.js +1 -1
  1452. package/lib-mjs/tableEdit/TableWithRoot.js.map +1 -1
  1453. package/lib-mjs/tableEdit/editors/TableEditor.d.ts +90 -90
  1454. package/lib-mjs/tableEdit/editors/TableEditor.js +375 -375
  1455. package/lib-mjs/tableEdit/editors/TableEditor.js.map +1 -1
  1456. package/lib-mjs/tableEdit/editors/features/CellResizer.d.ts +55 -55
  1457. package/lib-mjs/tableEdit/editors/features/CellResizer.js +239 -239
  1458. package/lib-mjs/tableEdit/editors/features/CellResizer.js.map +1 -1
  1459. package/lib-mjs/tableEdit/editors/features/TableEditFeature.d.ts +13 -13
  1460. package/lib-mjs/tableEdit/editors/features/TableEditFeature.js +12 -12
  1461. package/lib-mjs/tableEdit/editors/features/TableEditFeature.js.map +1 -1
  1462. package/lib-mjs/tableEdit/editors/features/TableEditFeatureName.d.ts +4 -4
  1463. package/lib-mjs/tableEdit/editors/features/TableEditFeatureName.js +1 -1
  1464. package/lib-mjs/tableEdit/editors/features/TableEditFeatureName.js.map +1 -1
  1465. package/lib-mjs/tableEdit/editors/features/TableInserter.d.ts +33 -33
  1466. package/lib-mjs/tableEdit/editors/features/TableInserter.js +128 -121
  1467. package/lib-mjs/tableEdit/editors/features/TableInserter.js.map +1 -1
  1468. package/lib-mjs/tableEdit/editors/features/TableMover.d.ts +53 -53
  1469. package/lib-mjs/tableEdit/editors/features/TableMover.js +227 -227
  1470. package/lib-mjs/tableEdit/editors/features/TableMover.js.map +1 -1
  1471. package/lib-mjs/tableEdit/editors/features/TableResizer.d.ts +50 -50
  1472. package/lib-mjs/tableEdit/editors/features/TableResizer.js +183 -183
  1473. package/lib-mjs/tableEdit/editors/features/TableResizer.js.map +1 -1
  1474. package/lib-mjs/tableEdit/editors/features/TableRowColumnSelector.d.ts +42 -42
  1475. package/lib-mjs/tableEdit/editors/features/TableRowColumnSelector.js +215 -215
  1476. package/lib-mjs/tableEdit/editors/features/TableRowColumnSelector.js.map +1 -1
  1477. package/lib-mjs/tableEdit/editors/utils/getTableFromContentModel.d.ts +6 -6
  1478. package/lib-mjs/tableEdit/editors/utils/getTableFromContentModel.js +16 -16
  1479. package/lib-mjs/tableEdit/editors/utils/getTableFromContentModel.js.map +1 -1
  1480. package/lib-mjs/touch/TouchPlugin.d.ts +32 -32
  1481. package/lib-mjs/touch/TouchPlugin.js +208 -208
  1482. package/lib-mjs/touch/TouchPlugin.js.map +1 -1
  1483. package/lib-mjs/utils/getNodePositionFromEvent.d.ts +5 -5
  1484. package/lib-mjs/utils/getNodePositionFromEvent.js +29 -29
  1485. package/lib-mjs/utils/getNodePositionFromEvent.js.map +1 -1
  1486. package/lib-mjs/watermark/WatermarkFormat.d.ts +5 -5
  1487. package/lib-mjs/watermark/WatermarkFormat.js +1 -1
  1488. package/lib-mjs/watermark/WatermarkFormat.js.map +1 -1
  1489. package/lib-mjs/watermark/WatermarkPlugin.d.ts +42 -42
  1490. package/lib-mjs/watermark/WatermarkPlugin.js +134 -134
  1491. package/lib-mjs/watermark/WatermarkPlugin.js.map +1 -1
  1492. package/lib-mjs/watermark/isModelEmptyFast.d.ts +5 -5
  1493. package/lib-mjs/watermark/isModelEmptyFast.js +33 -33
  1494. package/lib-mjs/watermark/isModelEmptyFast.js.map +1 -1
  1495. package/package.json +5 -5
@@ -1,32 +1,32 @@
1
- import type { IEditor, PluginEvent, EditorPlugin } from 'roosterjs-content-model-types';
2
- /**
3
- * AnnouncePlugin helps editor announce table selection changes for accessibility
4
- */
5
- export declare class AnnouncePlugin implements EditorPlugin {
6
- private editor;
7
- private previousSelection;
8
- /**
9
- * Get name of this plugin
10
- */
11
- getName(): string;
12
- /**
13
- * The first method that editor will call to a plugin when editor is initializing.
14
- * It will pass in the editor instance, plugin should take this chance to save the
15
- * editor reference so that it can call to any editor method or format API later.
16
- * @param editor The editor object
17
- */
18
- initialize(editor: IEditor): void;
19
- /**
20
- * The last method that editor will call to a plugin before it is disposed.
21
- * Plugin can take this chance to clear the reference to editor. After this method is
22
- * called, plugin should not call to any editor method since it will result in error.
23
- */
24
- dispose(): void;
25
- /**
26
- * Core method for a plugin. Once an event happens in editor, editor will call this
27
- * method of each plugin to handle the event as long as the event is not handled
28
- * exclusively by another plugin.
29
- * @param event The event to handle:
30
- */
31
- onPluginEvent(event: PluginEvent): void;
32
- }
1
+ import type { IEditor, PluginEvent, EditorPlugin } from 'roosterjs-content-model-types';
2
+ /**
3
+ * AnnouncePlugin helps editor announce table selection changes for accessibility
4
+ */
5
+ export declare class AnnouncePlugin implements EditorPlugin {
6
+ private editor;
7
+ private previousSelection;
8
+ /**
9
+ * Get name of this plugin
10
+ */
11
+ getName(): string;
12
+ /**
13
+ * The first method that editor will call to a plugin when editor is initializing.
14
+ * It will pass in the editor instance, plugin should take this chance to save the
15
+ * editor reference so that it can call to any editor method or format API later.
16
+ * @param editor The editor object
17
+ */
18
+ initialize(editor: IEditor): void;
19
+ /**
20
+ * The last method that editor will call to a plugin before it is disposed.
21
+ * Plugin can take this chance to clear the reference to editor. After this method is
22
+ * called, plugin should not call to any editor method since it will result in error.
23
+ */
24
+ dispose(): void;
25
+ /**
26
+ * Core method for a plugin. Once an event happens in editor, editor will call this
27
+ * method of each plugin to handle the event as long as the event is not handled
28
+ * exclusively by another plugin.
29
+ * @param event The event to handle:
30
+ */
31
+ onPluginEvent(event: PluginEvent): void;
32
+ }
@@ -1,66 +1,66 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AnnouncePlugin = void 0;
4
- var tableSelectionUtils_1 = require("./tableSelectionUtils");
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;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AnnouncePlugin = void 0;
4
+ var tableSelectionUtils_1 = require("./tableSelectionUtils");
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
66
  //# 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":";;;AAAA,6DAAmG;AAQnG;;GAEG;AACH;IAAA;QACY,WAAM,GAAmB,IAAI,CAAC;QAC9B,sBAAiB,GAAwB,IAAI,CAAC;IA2D1D,CAAC;IAzDG;;OAEG;IACH,gCAAO,GAAP;QACI,OAAO,UAAU,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACH,mCAAU,GAAV,UAAW,MAAe;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,gCAAO,GAAP;QACI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAClC,CAAC;IAED;;;;;OAKG;IACH,sCAAa,GAAb,UAAc,KAAkB;;QAC5B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACd,OAAO;SACV;QAED,IAAI,KAAK,CAAC,SAAS,IAAI,kBAAkB,EAAE;YACvC,IAAI,CAAA,MAAA,KAAK,CAAC,YAAY,0CAAE,IAAI,KAAI,OAAO,EAAE;gBACrC,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;gBACF,IAAI,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,kBAAkB,EAAE;oBACjD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;wBACjB,cAAc,EAAE,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU;wBACpE,aAAa,EAAE;4BACX,IAAA,mDAA6B,EAAC,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC;yBACvE;qBACJ,CAAC,CAAC;iBACN;aACJ;YAED,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAAC;SAC/C;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AA7DD,IA6DC;AA7DY,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
+ {"version":3,"file":"AnnouncePlugin.js","sourceRoot":"","sources":["../../../../packages/roosterjs-content-model-plugins/lib/announce/AnnouncePlugin.ts"],"names":[],"mappings":";;;AAAA,6DAAmG;AAQnG;;GAEG;AACH;IAAA;QACY,WAAM,GAAmB,IAAI,CAAC;QAC9B,sBAAiB,GAAwB,IAAI,CAAC;IA2D1D,CAAC;IAzDG;;OAEG;IACH,gCAAO,GAAP;QACI,OAAO,UAAU,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACH,mCAAU,GAAV,UAAW,MAAe;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,gCAAO,GAAP;QACI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAClC,CAAC;IAED;;;;;OAKG;IACH,sCAAa,GAAb,UAAc,KAAkB;;QAC5B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACd,OAAO;SACV;QAED,IAAI,KAAK,CAAC,SAAS,IAAI,kBAAkB,EAAE;YACvC,IAAI,CAAA,MAAA,KAAK,CAAC,YAAY,0CAAE,IAAI,KAAI,OAAO,EAAE;gBACrC,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;gBACF,IAAI,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,kBAAkB,EAAE;oBACjD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;wBACjB,cAAc,EAAE,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU;wBACpE,aAAa,EAAE;4BACX,IAAA,mDAA6B,EAAC,KAAK,CAAC,YAAY,CAAC,kBAAkB,CAAC;yBACvE;qBACJ,CAAC,CAAC;iBACN;aACJ;YAED,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAAC;SAC/C;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AA7DD,IA6DC;AA7DY,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,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,69 +1,69 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getIsSelectingOrUnselecting = exports.retrieveStringFromParsedTable = void 0;
4
- /**
5
- * @internal
6
- * Retrieves text content from selected table cells in a parsed table structure
7
- * @param tsInfo Table selection information containing the parsed table and coordinates
8
- * @returns Combined text content from all selected cells, separated by spaces
9
- */
10
- function retrieveStringFromParsedTable(tsInfo) {
11
- var parsedTable = tsInfo.parsedTable, firstCo = tsInfo.firstCo, lastCo = tsInfo.lastCo;
12
- var result = '';
13
- if (lastCo) {
14
- var firstCol = Math.min(firstCo.col, lastCo.col);
15
- var lastCol = Math.max(firstCo.col, lastCo.col);
16
- var firstRow = Math.min(firstCo.row, lastCo.row);
17
- var lastRow = Math.max(firstCo.row, lastCo.row);
18
- for (var r = firstRow; r <= lastRow; r++) {
19
- for (var c = firstCol; c <= lastCol; c++) {
20
- var cell = parsedTable[r] && parsedTable[r][c];
21
- if (cell && typeof cell != 'string') {
22
- result += ' ' + cell.innerText + ',';
23
- }
24
- }
25
- }
26
- }
27
- return result;
28
- }
29
- exports.retrieveStringFromParsedTable = retrieveStringFromParsedTable;
30
- /**
31
- * @internal
32
- * Determines whether the table selection is expanding (selecting more) or contracting (selecting less)
33
- * @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties
34
- * @param firstCo Current first coordinate of the selection (with row, col properties)
35
- * @param lastCo Current last coordinate of the selection (with row, col properties)
36
- * @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change
37
- */
38
- function getIsSelectingOrUnselecting(prevTableSelection, newTableSelection) {
39
- if (!prevTableSelection) {
40
- return 'selecting';
41
- }
42
- var prevFirstRow = prevTableSelection.firstRow, prevLastRow = prevTableSelection.lastRow, prevFirstColumn = prevTableSelection.firstColumn, prevLastColumn = prevTableSelection.lastColumn;
43
- var newFirstRow = newTableSelection.firstRow, newLastRow = newTableSelection.lastRow, newFirstColumn = newTableSelection.firstColumn, newLastColumn = newTableSelection.lastColumn;
44
- var prevRowSpan = Math.abs(prevLastRow - prevFirstRow) + 1;
45
- var prevColSpan = Math.abs(prevLastColumn - prevFirstColumn) + 1;
46
- var prevArea = prevRowSpan * prevColSpan;
47
- var newRowSpan = Math.abs(newLastRow - newFirstRow) + 1;
48
- var newColSpan = Math.abs(newLastColumn - newFirstColumn) + 1;
49
- var newArea = newRowSpan * newColSpan;
50
- // Check if selections are identical
51
- if (prevFirstRow === newFirstRow &&
52
- prevLastRow === newLastRow &&
53
- prevFirstColumn === newFirstColumn &&
54
- prevLastColumn === newLastColumn) {
55
- return null;
56
- }
57
- if (newArea > prevArea) {
58
- return 'selecting';
59
- }
60
- else if (newArea < prevArea) {
61
- return 'unselecting';
62
- }
63
- else {
64
- // Same area but different positions
65
- return 'selecting';
66
- }
67
- }
68
- exports.getIsSelectingOrUnselecting = getIsSelectingOrUnselecting;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getIsSelectingOrUnselecting = exports.retrieveStringFromParsedTable = void 0;
4
+ /**
5
+ * @internal
6
+ * Retrieves text content from selected table cells in a parsed table structure
7
+ * @param tsInfo Table selection information containing the parsed table and coordinates
8
+ * @returns Combined text content from all selected cells, separated by spaces
9
+ */
10
+ function retrieveStringFromParsedTable(tsInfo) {
11
+ var parsedTable = tsInfo.parsedTable, firstCo = tsInfo.firstCo, lastCo = tsInfo.lastCo;
12
+ var result = '';
13
+ if (lastCo) {
14
+ var firstCol = Math.min(firstCo.col, lastCo.col);
15
+ var lastCol = Math.max(firstCo.col, lastCo.col);
16
+ var firstRow = Math.min(firstCo.row, lastCo.row);
17
+ var lastRow = Math.max(firstCo.row, lastCo.row);
18
+ for (var r = firstRow; r <= lastRow; r++) {
19
+ for (var c = firstCol; c <= lastCol; c++) {
20
+ var cell = parsedTable[r] && parsedTable[r][c];
21
+ if (cell && typeof cell != 'string') {
22
+ result += ' ' + cell.innerText + ',';
23
+ }
24
+ }
25
+ }
26
+ }
27
+ return result;
28
+ }
29
+ exports.retrieveStringFromParsedTable = retrieveStringFromParsedTable;
30
+ /**
31
+ * @internal
32
+ * Determines whether the table selection is expanding (selecting more) or contracting (selecting less)
33
+ * @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties
34
+ * @param firstCo Current first coordinate of the selection (with row, col properties)
35
+ * @param lastCo Current last coordinate of the selection (with row, col properties)
36
+ * @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change
37
+ */
38
+ function getIsSelectingOrUnselecting(prevTableSelection, newTableSelection) {
39
+ if (!prevTableSelection) {
40
+ return 'selecting';
41
+ }
42
+ var prevFirstRow = prevTableSelection.firstRow, prevLastRow = prevTableSelection.lastRow, prevFirstColumn = prevTableSelection.firstColumn, prevLastColumn = prevTableSelection.lastColumn;
43
+ var newFirstRow = newTableSelection.firstRow, newLastRow = newTableSelection.lastRow, newFirstColumn = newTableSelection.firstColumn, newLastColumn = newTableSelection.lastColumn;
44
+ var prevRowSpan = Math.abs(prevLastRow - prevFirstRow) + 1;
45
+ var prevColSpan = Math.abs(prevLastColumn - prevFirstColumn) + 1;
46
+ var prevArea = prevRowSpan * prevColSpan;
47
+ var newRowSpan = Math.abs(newLastRow - newFirstRow) + 1;
48
+ var newColSpan = Math.abs(newLastColumn - newFirstColumn) + 1;
49
+ var newArea = newRowSpan * newColSpan;
50
+ // Check if selections are identical
51
+ if (prevFirstRow === newFirstRow &&
52
+ prevLastRow === newLastRow &&
53
+ prevFirstColumn === newFirstColumn &&
54
+ prevLastColumn === newLastColumn) {
55
+ return null;
56
+ }
57
+ if (newArea > prevArea) {
58
+ return 'selecting';
59
+ }
60
+ else if (newArea < prevArea) {
61
+ return 'unselecting';
62
+ }
63
+ else {
64
+ // Same area but different positions
65
+ return 'selecting';
66
+ }
67
+ }
68
+ exports.getIsSelectingOrUnselecting = getIsSelectingOrUnselecting;
69
69
  //# 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":";;;AAEA;;;;;GAKG;AACH,SAAgB,6BAA6B,CAAC,MAA0B;IAC5D,IAAA,WAAW,GAAsB,MAAM,YAA5B,EAAE,OAAO,GAAa,MAAM,QAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;IAChD,IAAI,MAAM,GAAG,EAAE,CAAC;IAEhB,IAAI,MAAM,EAAE;QACR,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QACnD,IAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QAClD,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QACnD,IAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QAElD,KAAK,IAAI,CAAC,GAAG,QAAQ,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC,EAAE,EAAE;YACtC,KAAK,IAAI,CAAC,GAAG,QAAQ,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC,EAAE,EAAE;gBACtC,IAAM,IAAI,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACjD,IAAI,IAAI,IAAI,OAAO,IAAI,IAAI,QAAQ,EAAE;oBACjC,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;iBACxC;aACJ;SACJ;KACJ;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AArBD,sEAqBC;AAED;;;;;;;GAOG;AACH,SAAgB,2BAA2B,CACvC,kBAAyC,EACzC,iBAAiC;IAEjC,IAAI,CAAC,kBAAkB,EAAE;QACrB,OAAO,WAAW,CAAC;KACtB;IAGG,IAAU,YAAY,GAItB,kBAAkB,SAJI,EACb,WAAW,GAGpB,kBAAkB,QAHE,EACP,eAAe,GAE5B,kBAAkB,YAFU,EAChB,cAAc,GAC1B,kBAAkB,WADQ,CACP;IAGnB,IAAU,WAAW,GAIrB,iBAAiB,SAJI,EACZ,UAAU,GAGnB,iBAAiB,QAHE,EACN,cAAc,GAE3B,iBAAiB,YAFU,EACf,aAAa,GACzB,iBAAiB,WADQ,CACP;IAEtB,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IAC7D,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;IACnE,IAAM,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;IAE3C,IAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1D,IAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IAChE,IAAM,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAExC,oCAAoC;IACpC,IACI,YAAY,KAAK,WAAW;QAC5B,WAAW,KAAK,UAAU;QAC1B,eAAe,KAAK,cAAc;QAClC,cAAc,KAAK,aAAa,EAClC;QACE,OAAO,IAAI,CAAC;KACf;IAED,IAAI,OAAO,GAAG,QAAQ,EAAE;QACpB,OAAO,WAAW,CAAC;KACtB;SAAM,IAAI,OAAO,GAAG,QAAQ,EAAE;QAC3B,OAAO,aAAa,CAAC;KACxB;SAAM;QACH,oCAAoC;QACpC,OAAO,WAAW,CAAC;KACtB;AACL,CAAC;AAhDD,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
+ {"version":3,"file":"tableSelectionUtils.js","sourceRoot":"","sources":["../../../../packages/roosterjs-content-model-plugins/lib/announce/tableSelectionUtils.ts"],"names":[],"mappings":";;;AAEA;;;;;GAKG;AACH,SAAgB,6BAA6B,CAAC,MAA0B;IAC5D,IAAA,WAAW,GAAsB,MAAM,YAA5B,EAAE,OAAO,GAAa,MAAM,QAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;IAChD,IAAI,MAAM,GAAG,EAAE,CAAC;IAEhB,IAAI,MAAM,EAAE;QACR,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QACnD,IAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QAClD,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QACnD,IAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;QAElD,KAAK,IAAI,CAAC,GAAG,QAAQ,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC,EAAE,EAAE;YACtC,KAAK,IAAI,CAAC,GAAG,QAAQ,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC,EAAE,EAAE;gBACtC,IAAM,IAAI,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACjD,IAAI,IAAI,IAAI,OAAO,IAAI,IAAI,QAAQ,EAAE;oBACjC,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;iBACxC;aACJ;SACJ;KACJ;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AArBD,sEAqBC;AAED;;;;;;;GAOG;AACH,SAAgB,2BAA2B,CACvC,kBAAyC,EACzC,iBAAiC;IAEjC,IAAI,CAAC,kBAAkB,EAAE;QACrB,OAAO,WAAW,CAAC;KACtB;IAGG,IAAU,YAAY,GAItB,kBAAkB,SAJI,EACb,WAAW,GAGpB,kBAAkB,QAHE,EACP,eAAe,GAE5B,kBAAkB,YAFU,EAChB,cAAc,GAC1B,kBAAkB,WADQ,CACP;IAGnB,IAAU,WAAW,GAIrB,iBAAiB,SAJI,EACZ,UAAU,GAGnB,iBAAiB,QAHE,EACN,cAAc,GAE3B,iBAAiB,YAFU,EACf,aAAa,GACzB,iBAAiB,WADQ,CACP;IAEtB,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IAC7D,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;IACnE,IAAM,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;IAE3C,IAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1D,IAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IAChE,IAAM,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAExC,oCAAoC;IACpC,IACI,YAAY,KAAK,WAAW;QAC5B,WAAW,KAAK,UAAU;QAC1B,eAAe,KAAK,cAAc;QAClC,cAAc,KAAK,aAAa,EAClC;QACE,OAAO,IAAI,CAAC;KACf;IAED,IAAI,OAAO,GAAG,QAAQ,EAAE;QACpB,OAAO,WAAW,CAAC;KACtB;SAAM,IAAI,OAAO,GAAG,QAAQ,EAAE;QAC3B,OAAO,aAAa,CAAC;KACxB;SAAM;QACH,oCAAoC;QACpC,OAAO,WAAW,CAAC;KACtB;AACL,CAAC;AAhDD,kEAgDC","sourcesContent":["import type { TableSelectionInfo, TableSelection } from 'roosterjs-content-model-types';\n\n/**\n * @internal\n * Retrieves text content from selected table cells in a parsed table structure\n * @param tsInfo Table selection information containing the parsed table and coordinates\n * @returns Combined text content from all selected cells, separated by spaces\n */\nexport function retrieveStringFromParsedTable(tsInfo: TableSelectionInfo): string {\n const { parsedTable, firstCo, lastCo } = tsInfo;\n let result = '';\n\n if (lastCo) {\n const firstCol = Math.min(firstCo.col, lastCo.col);\n const lastCol = Math.max(firstCo.col, lastCo.col);\n const firstRow = Math.min(firstCo.row, lastCo.row);\n const lastRow = Math.max(firstCo.row, lastCo.row);\n\n for (let r = firstRow; r <= lastRow; r++) {\n for (let c = firstCol; c <= lastCol; c++) {\n const cell = parsedTable[r] && parsedTable[r][c];\n if (cell && typeof cell != 'string') {\n result += ' ' + cell.innerText + ',';\n }\n }\n }\n }\n\n return result;\n}\n\n/**\n * @internal\n * Determines whether the table selection is expanding (selecting more) or contracting (selecting less)\n * @param prevTableSelection Previous table selection object containing firstRow, lastRow, firstColumn, and lastColumn properties\n * @param firstCo Current first coordinate of the selection (with row, col properties)\n * @param lastCo Current last coordinate of the selection (with row, col properties)\n * @returns 'selecting' if expanding selection, 'unselecting' if contracting, or null if no change\n */\nexport function getIsSelectingOrUnselecting(\n prevTableSelection: TableSelection | null,\n newTableSelection: TableSelection\n): 'selecting' | 'unselecting' | null {\n if (!prevTableSelection) {\n return 'selecting';\n }\n\n const {\n firstRow: prevFirstRow,\n lastRow: prevLastRow,\n firstColumn: prevFirstColumn,\n lastColumn: prevLastColumn,\n } = prevTableSelection;\n\n const {\n firstRow: newFirstRow,\n lastRow: newLastRow,\n firstColumn: newFirstColumn,\n lastColumn: newLastColumn,\n } = newTableSelection;\n\n const prevRowSpan = Math.abs(prevLastRow - prevFirstRow) + 1;\n const prevColSpan = Math.abs(prevLastColumn - prevFirstColumn) + 1;\n const prevArea = prevRowSpan * prevColSpan;\n\n const newRowSpan = Math.abs(newLastRow - newFirstRow) + 1;\n const newColSpan = Math.abs(newLastColumn - newFirstColumn) + 1;\n const newArea = newRowSpan * newColSpan;\n\n // Check if selections are identical\n if (\n prevFirstRow === newFirstRow &&\n prevLastRow === newLastRow &&\n prevFirstColumn === newFirstColumn &&\n prevLastColumn === newLastColumn\n ) {\n return null;\n }\n\n if (newArea > prevArea) {\n return 'selecting';\n } else if (newArea < prevArea) {\n return 'unselecting';\n } else {\n // Same area but different positions\n return 'selecting';\n }\n}\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
+ }