jodit 4.0.0-beta.69 → 4.0.0-beta.74

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 (1093) hide show
  1. package/README.md +4 -4
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +2 -2
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +2 -2
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.js +1 -1
  16. package/es2018/plugins/debug/debug.min.js +1 -1
  17. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +1 -1
  21. package/es2021/jodit.fat.min.js +2 -2
  22. package/es2021/jodit.js +2 -2
  23. package/es2021/jodit.min.js +2 -2
  24. package/es2021/plugins/debug/debug.js +1 -1
  25. package/es2021/plugins/debug/debug.min.js +1 -1
  26. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  29. package/es2021.en/jodit.css +1 -1
  30. package/es2021.en/jodit.fat.min.js +2 -2
  31. package/es2021.en/jodit.js +2 -2
  32. package/es2021.en/jodit.min.js +2 -2
  33. package/es2021.en/plugins/debug/debug.js +1 -1
  34. package/es2021.en/plugins/debug/debug.min.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  38. package/es5/jodit.css +2 -2
  39. package/es5/jodit.fat.min.js +2 -2
  40. package/es5/jodit.js +2 -2
  41. package/es5/jodit.min.css +2 -2
  42. package/es5/jodit.min.js +2 -2
  43. package/es5/plugins/debug/debug.js +1 -1
  44. package/es5/plugins/debug/debug.min.js +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  48. package/esm/config.d.ts +1 -1
  49. package/esm/config.js +2 -2
  50. package/esm/core/async/async.d.ts +1 -1
  51. package/esm/core/async/async.js +8 -8
  52. package/esm/core/async/index.d.ts +1 -1
  53. package/esm/core/component/component.d.ts +1 -1
  54. package/esm/core/component/component.js +4 -4
  55. package/esm/core/component/index.d.ts +3 -3
  56. package/esm/core/component/view-component.d.ts +2 -2
  57. package/esm/core/constants.d.ts +1 -1
  58. package/esm/core/constants.js +1 -1
  59. package/esm/core/create/create.d.ts +5 -2
  60. package/esm/core/create/create.js +4 -4
  61. package/esm/core/create/index.d.ts +1 -1
  62. package/esm/core/decorators/cache/cache.d.ts +1 -1
  63. package/esm/core/decorators/cache/cache.js +4 -4
  64. package/esm/core/decorators/debounce/debounce.d.ts +1 -1
  65. package/esm/core/decorators/debounce/debounce.js +4 -4
  66. package/esm/core/decorators/derive/derive.js +1 -1
  67. package/esm/core/decorators/hook/hook.d.ts +2 -2
  68. package/esm/core/decorators/hook/hook.js +2 -2
  69. package/esm/core/decorators/idle/idle.d.ts +1 -1
  70. package/esm/core/decorators/idle/idle.js +3 -3
  71. package/esm/core/decorators/index.d.ts +11 -11
  72. package/esm/core/decorators/persistent/persistent.d.ts +1 -1
  73. package/esm/core/decorators/persistent/persistent.js +2 -2
  74. package/esm/core/decorators/wait/wait.d.ts +1 -1
  75. package/esm/core/decorators/wait/wait.js +3 -3
  76. package/esm/core/decorators/watch/watch.d.ts +1 -1
  77. package/esm/core/decorators/watch/watch.js +7 -7
  78. package/esm/core/dom/dom.d.ts +1 -1
  79. package/esm/core/dom/dom.js +6 -6
  80. package/esm/core/dom/index.d.ts +2 -2
  81. package/esm/core/dom/lazy-walker.d.ts +2 -2
  82. package/esm/core/dom/lazy-walker.js +3 -3
  83. package/esm/core/event-emitter/event-emitter.d.ts +1 -1
  84. package/esm/core/event-emitter/event-emitter.js +6 -6
  85. package/esm/core/event-emitter/eventify.d.ts +1 -1
  86. package/esm/core/event-emitter/index.d.ts +4 -4
  87. package/esm/core/event-emitter/observable.d.ts +1 -1
  88. package/esm/core/event-emitter/observable.js +4 -4
  89. package/esm/core/event-emitter/store.d.ts +1 -1
  90. package/esm/core/event-emitter/store.js +2 -2
  91. package/esm/core/global.d.ts +3 -3
  92. package/esm/core/global.js +1 -1
  93. package/esm/core/helpers/array/as-array.js +1 -1
  94. package/esm/core/helpers/array/index.d.ts +3 -3
  95. package/esm/core/helpers/array/to-array.js +2 -2
  96. package/esm/core/helpers/async/index.d.ts +1 -1
  97. package/esm/core/helpers/checker/index.d.ts +24 -24
  98. package/esm/core/helpers/checker/is-equal.js +1 -1
  99. package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
  100. package/esm/core/helpers/checker/is-imp-interface.js +1 -1
  101. package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
  102. package/esm/core/helpers/checker/is-marker.d.ts +1 -1
  103. package/esm/core/helpers/checker/is-marker.js +2 -2
  104. package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
  105. package/esm/core/helpers/checker/is-string.js +1 -1
  106. package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
  107. package/esm/core/helpers/color/index.d.ts +1 -1
  108. package/esm/core/helpers/html/apply-styles.js +4 -4
  109. package/esm/core/helpers/html/clean-from-word.js +3 -3
  110. package/esm/core/helpers/html/index.d.ts +6 -6
  111. package/esm/core/helpers/html/safe-html.js +2 -2
  112. package/esm/core/helpers/html/strip-tags.d.ts +1 -1
  113. package/esm/core/helpers/html/strip-tags.js +4 -4
  114. package/esm/core/helpers/index.d.ts +9 -9
  115. package/esm/core/helpers/normalize/index.d.ts +8 -8
  116. package/esm/core/helpers/normalize/normalize-color.js +2 -2
  117. package/esm/core/helpers/normalize/normalize-css-value.js +4 -4
  118. package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -2
  119. package/esm/core/helpers/normalize/normalize-path.js +1 -1
  120. package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
  121. package/esm/core/helpers/size/get-scroll-parent.js +2 -2
  122. package/esm/core/helpers/size/index.d.ts +6 -6
  123. package/esm/core/helpers/size/object-size.d.ts +1 -1
  124. package/esm/core/helpers/size/object-size.js +1 -1
  125. package/esm/core/helpers/size/offset.d.ts +1 -1
  126. package/esm/core/helpers/size/position.d.ts +1 -1
  127. package/esm/core/helpers/size/position.js +1 -1
  128. package/esm/core/helpers/string/fuzzy-search-index.d.ts +4 -1
  129. package/esm/core/helpers/string/fuzzy-search-index.js +1 -1
  130. package/esm/core/helpers/string/i18n.d.ts +1 -1
  131. package/esm/core/helpers/string/i18n.js +5 -5
  132. package/esm/core/helpers/string/index.d.ts +7 -7
  133. package/esm/core/helpers/string/trim.js +1 -1
  134. package/esm/core/helpers/utils/align.d.ts +1 -1
  135. package/esm/core/helpers/utils/align.js +2 -2
  136. package/esm/core/helpers/utils/append-script.d.ts +1 -1
  137. package/esm/core/helpers/utils/append-script.js +2 -2
  138. package/esm/core/helpers/utils/attr.d.ts +1 -1
  139. package/esm/core/helpers/utils/attr.js +2 -2
  140. package/esm/core/helpers/utils/build-query.d.ts +1 -1
  141. package/esm/core/helpers/utils/build-query.js +1 -1
  142. package/esm/core/helpers/utils/config-proto.d.ts +1 -1
  143. package/esm/core/helpers/utils/config-proto.js +5 -5
  144. package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +1 -1
  145. package/esm/core/helpers/utils/css.d.ts +1 -1
  146. package/esm/core/helpers/utils/css.js +5 -5
  147. package/esm/core/helpers/utils/data-bind.d.ts +1 -1
  148. package/esm/core/helpers/utils/data-bind.js +1 -1
  149. package/esm/core/helpers/utils/default-language.js +1 -1
  150. package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
  151. package/esm/core/helpers/utils/error/index.d.ts +2 -2
  152. package/esm/core/helpers/utils/extend.js +1 -1
  153. package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
  154. package/esm/core/helpers/utils/get-class-name.js +1 -1
  155. package/esm/core/helpers/utils/get.d.ts +1 -1
  156. package/esm/core/helpers/utils/get.js +2 -2
  157. package/esm/core/helpers/utils/index.d.ts +28 -28
  158. package/esm/core/helpers/utils/parse-query.d.ts +1 -1
  159. package/esm/core/helpers/utils/print.d.ts +5 -2
  160. package/esm/core/helpers/utils/print.js +2 -2
  161. package/esm/core/helpers/utils/reset.d.ts +1 -1
  162. package/esm/core/helpers/utils/reset.js +2 -2
  163. package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
  164. package/esm/core/helpers/utils/scroll-into-view.js +1 -1
  165. package/esm/core/helpers/utils/selector.d.ts +1 -1
  166. package/esm/core/helpers/utils/selector.js +8 -8
  167. package/esm/core/helpers/utils/set.d.ts +1 -1
  168. package/esm/core/helpers/utils/set.js +4 -4
  169. package/esm/core/helpers/utils/stack.d.ts +1 -1
  170. package/esm/core/helpers/utils/utils.d.ts +2 -2
  171. package/esm/core/helpers/utils/utils.js +2 -2
  172. package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
  173. package/esm/core/plugin/helpers/init-instance.js +3 -3
  174. package/esm/core/plugin/helpers/load.d.ts +1 -1
  175. package/esm/core/plugin/helpers/load.js +4 -4
  176. package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
  177. package/esm/core/plugin/helpers/make-instance.js +2 -2
  178. package/esm/core/plugin/helpers/utils.js +1 -1
  179. package/esm/core/plugin/index.d.ts +2 -2
  180. package/esm/core/plugin/plugin-system.d.ts +2 -2
  181. package/esm/core/plugin/plugin-system.js +8 -8
  182. package/esm/core/plugin/plugin.d.ts +2 -2
  183. package/esm/core/plugin/plugin.js +3 -3
  184. package/esm/core/request/ajax.d.ts +2 -2
  185. package/esm/core/request/ajax.js +5 -5
  186. package/esm/core/request/config.d.ts +1 -1
  187. package/esm/core/request/config.js +1 -1
  188. package/esm/core/request/index.d.ts +2 -2
  189. package/esm/core/request/response.d.ts +1 -1
  190. package/esm/core/selection/helpers/index.d.ts +2 -2
  191. package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
  192. package/esm/core/selection/helpers/move-node-inside-start.js +2 -2
  193. package/esm/core/selection/helpers/move-the-node-along-the-edge-outward.js +1 -1
  194. package/esm/core/selection/index.d.ts +2 -2
  195. package/esm/core/selection/selection.d.ts +16 -4
  196. package/esm/core/selection/selection.js +8 -8
  197. package/esm/core/selection/style/api/extract.d.ts +1 -1
  198. package/esm/core/selection/style/api/extract.js +4 -4
  199. package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
  200. package/esm/core/selection/style/api/finite-state-machine.js +3 -3
  201. package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
  202. package/esm/core/selection/style/api/get-suit-child.js +1 -1
  203. package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
  204. package/esm/core/selection/style/api/get-suit-parent.js +1 -1
  205. package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
  206. package/esm/core/selection/style/api/has-same-style.js +5 -5
  207. package/esm/core/selection/style/api/index.d.ts +15 -15
  208. package/esm/core/selection/style/api/is-inside-invisible-element.js +1 -1
  209. package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
  210. package/esm/core/selection/style/api/is-normal-node.js +2 -2
  211. package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
  212. package/esm/core/selection/style/api/is-same-attributes.js +3 -3
  213. package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
  214. package/esm/core/selection/style/api/is-suit-element.js +1 -1
  215. package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
  216. package/esm/core/selection/style/api/list/toggle-ordered-list.js +5 -5
  217. package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
  218. package/esm/core/selection/style/api/list/wrap-list.js +3 -3
  219. package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
  220. package/esm/core/selection/style/api/toggle-attributes.js +10 -10
  221. package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
  222. package/esm/core/selection/style/api/unwrap-children.js +3 -3
  223. package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  224. package/esm/core/selection/style/api/wrap-unwrapped-text.js +2 -2
  225. package/esm/core/selection/style/api/wrap.d.ts +1 -1
  226. package/esm/core/selection/style/api/wrap.js +2 -2
  227. package/esm/core/selection/style/apply-style.d.ts +1 -1
  228. package/esm/core/selection/style/commit-style.d.ts +1 -1
  229. package/esm/core/selection/style/commit-style.js +2 -2
  230. package/esm/core/selection/style/transactions.d.ts +1 -1
  231. package/esm/core/selection/style/transactions.js +6 -6
  232. package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
  233. package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
  234. package/esm/core/storage/index.d.ts +3 -3
  235. package/esm/core/storage/storage.d.ts +1 -1
  236. package/esm/core/storage/storage.js +1 -1
  237. package/esm/core/traits/dlgs.d.ts +1 -1
  238. package/esm/core/traits/dlgs.js +3 -3
  239. package/esm/core/traits/elms.d.ts +1 -1
  240. package/esm/core/traits/elms.js +1 -1
  241. package/esm/core/traits/mods.d.ts +1 -1
  242. package/esm/core/traits/mods.js +1 -1
  243. package/esm/core/ui/button/button/button.d.ts +2 -2
  244. package/esm/core/ui/button/button/button.js +9 -9
  245. package/esm/core/ui/button/group/group.d.ts +2 -2
  246. package/esm/core/ui/button/group/group.js +4 -4
  247. package/esm/core/ui/button/index.d.ts +3 -3
  248. package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
  249. package/esm/core/ui/button/tooltip/tooltip.js +7 -7
  250. package/esm/core/ui/element.d.ts +4 -4
  251. package/esm/core/ui/element.js +7 -7
  252. package/esm/core/ui/form/block/block.d.ts +2 -2
  253. package/esm/core/ui/form/block/block.js +3 -3
  254. package/esm/core/ui/form/form.d.ts +2 -2
  255. package/esm/core/ui/form/form.js +6 -6
  256. package/esm/core/ui/form/index.d.ts +3 -3
  257. package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
  258. package/esm/core/ui/form/inputs/area/area.js +2 -2
  259. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
  260. package/esm/core/ui/form/inputs/checkbox/checkbox.js +3 -3
  261. package/esm/core/ui/form/inputs/file/file.d.ts +2 -2
  262. package/esm/core/ui/form/inputs/file/file.js +3 -3
  263. package/esm/core/ui/form/inputs/index.d.ts +5 -5
  264. package/esm/core/ui/form/inputs/input/input.d.ts +2 -2
  265. package/esm/core/ui/form/inputs/input/input.js +7 -7
  266. package/esm/core/ui/form/inputs/select/select.d.ts +2 -2
  267. package/esm/core/ui/form/inputs/select/select.js +4 -4
  268. package/esm/core/ui/form/validators/index.d.ts +2 -2
  269. package/esm/core/ui/form/validators/input.d.ts +1 -1
  270. package/esm/core/ui/form/validators/input.js +2 -2
  271. package/esm/core/ui/form/validators/select.d.ts +2 -2
  272. package/esm/core/ui/form/validators/select.js +1 -1
  273. package/esm/core/ui/group/group.d.ts +3 -3
  274. package/esm/core/ui/group/group.js +6 -6
  275. package/esm/core/ui/group/index.d.ts +4 -4
  276. package/esm/core/ui/group/list.d.ts +2 -2
  277. package/esm/core/ui/group/list.js +10 -10
  278. package/esm/core/ui/group/separator.d.ts +1 -1
  279. package/esm/core/ui/group/separator.js +2 -2
  280. package/esm/core/ui/group/spacer.d.ts +1 -1
  281. package/esm/core/ui/group/spacer.js +2 -2
  282. package/esm/core/ui/helpers/buttons.d.ts +1 -1
  283. package/esm/core/ui/helpers/buttons.js +1 -1
  284. package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
  285. package/esm/core/ui/helpers/get-control-type.js +2 -2
  286. package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  287. package/esm/core/ui/helpers/get-strong-control-types.js +3 -3
  288. package/esm/core/ui/icon.d.ts +1 -1
  289. package/esm/core/ui/icon.js +3 -3
  290. package/esm/core/ui/index.d.ts +7 -7
  291. package/esm/core/ui/popup/index.d.ts +1 -1
  292. package/esm/core/ui/popup/popup.d.ts +2 -2
  293. package/esm/core/ui/popup/popup.js +7 -7
  294. package/esm/core/ui/progress-bar/progress-bar.d.ts +2 -2
  295. package/esm/core/ui/progress-bar/progress-bar.js +2 -2
  296. package/esm/core/view/view-with-toolbar.d.ts +2 -2
  297. package/esm/core/view/view-with-toolbar.js +9 -9
  298. package/esm/core/view/view.d.ts +4 -4
  299. package/esm/core/view/view.js +10 -10
  300. package/esm/index.d.ts +2 -2
  301. package/esm/index.js +1 -1
  302. package/esm/jodit.d.ts +6 -6
  303. package/esm/jodit.js +9 -9
  304. package/esm/languages.d.ts +1 -1
  305. package/esm/languages.js +22 -22
  306. package/esm/modules/context-menu/context-menu.d.ts +2 -2
  307. package/esm/modules/context-menu/context-menu.js +4 -4
  308. package/esm/modules/dialog/alert.d.ts +1 -1
  309. package/esm/modules/dialog/alert.js +4 -4
  310. package/esm/modules/dialog/confirm.d.ts +1 -1
  311. package/esm/modules/dialog/confirm.js +3 -3
  312. package/esm/modules/dialog/dialog.d.ts +2 -2
  313. package/esm/modules/dialog/dialog.js +13 -13
  314. package/esm/modules/dialog/index.d.ts +4 -4
  315. package/esm/modules/dialog/prompt.d.ts +1 -1
  316. package/esm/modules/dialog/prompt.js +3 -3
  317. package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
  318. package/esm/modules/file-browser/builders/context-menu.js +9 -9
  319. package/esm/modules/file-browser/builders/elements-map.d.ts +1 -1
  320. package/esm/modules/file-browser/builders/item.d.ts +1 -1
  321. package/esm/modules/file-browser/builders/item.js +1 -1
  322. package/esm/modules/file-browser/config.d.ts +1 -1
  323. package/esm/modules/file-browser/config.js +4 -4
  324. package/esm/modules/file-browser/data-provider.d.ts +1 -1
  325. package/esm/modules/file-browser/data-provider.js +5 -5
  326. package/esm/modules/file-browser/factories.d.ts +1 -1
  327. package/esm/modules/file-browser/factories.js +1 -1
  328. package/esm/modules/file-browser/fetch/delete-file.d.ts +1 -1
  329. package/esm/modules/file-browser/fetch/load-items.d.ts +1 -1
  330. package/esm/modules/file-browser/fetch/load-tree.d.ts +1 -1
  331. package/esm/modules/file-browser/fetch/load-tree.js +2 -2
  332. package/esm/modules/file-browser/file-browser.d.ts +6 -6
  333. package/esm/modules/file-browser/file-browser.js +11 -11
  334. package/esm/modules/file-browser/index.d.ts +1 -1
  335. package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  336. package/esm/modules/file-browser/listeners/native-listeners.js +5 -5
  337. package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  338. package/esm/modules/file-browser/listeners/self-listeners.js +7 -7
  339. package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  340. package/esm/modules/file-browser/listeners/state-listeners.js +5 -5
  341. package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
  342. package/esm/modules/file-browser/ui/files/files.js +1 -1
  343. package/esm/modules/file-browser/ui/index.d.ts +2 -2
  344. package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
  345. package/esm/modules/file-browser/ui/tree/tree.js +1 -1
  346. package/esm/modules/history/command.d.ts +2 -2
  347. package/esm/modules/history/history.d.ts +4 -4
  348. package/esm/modules/history/history.js +3 -3
  349. package/esm/modules/history/snapshot.d.ts +2 -2
  350. package/esm/modules/history/snapshot.js +3 -3
  351. package/esm/modules/history/stack.d.ts +2 -2
  352. package/esm/modules/image-editor/config.d.ts +1 -1
  353. package/esm/modules/image-editor/config.js +2 -2
  354. package/esm/modules/image-editor/image-editor.d.ts +3 -3
  355. package/esm/modules/image-editor/image-editor.js +6 -6
  356. package/esm/modules/image-editor/templates/form.d.ts +1 -1
  357. package/esm/modules/image-editor/templates/form.js +1 -1
  358. package/esm/modules/index.d.ts +26 -26
  359. package/esm/modules/index.js +13 -13
  360. package/esm/modules/messages/message.d.ts +2 -2
  361. package/esm/modules/messages/message.js +2 -2
  362. package/esm/modules/messages/messages.d.ts +2 -2
  363. package/esm/modules/messages/messages.js +4 -4
  364. package/esm/modules/status-bar/status-bar.d.ts +4 -4
  365. package/esm/modules/status-bar/status-bar.js +5 -5
  366. package/esm/modules/table/table.d.ts +2 -2
  367. package/esm/modules/table/table.js +6 -6
  368. package/esm/modules/toolbar/button/button.d.ts +5 -5
  369. package/esm/modules/toolbar/button/button.js +10 -10
  370. package/esm/modules/toolbar/button/content.d.ts +2 -2
  371. package/esm/modules/toolbar/button/content.js +4 -4
  372. package/esm/modules/toolbar/button/index.d.ts +2 -2
  373. package/esm/modules/toolbar/collection/collection.d.ts +3 -3
  374. package/esm/modules/toolbar/collection/collection.js +4 -4
  375. package/esm/modules/toolbar/collection/editor-collection.d.ts +2 -2
  376. package/esm/modules/toolbar/collection/editor-collection.js +4 -4
  377. package/esm/modules/toolbar/factory.d.ts +1 -1
  378. package/esm/modules/toolbar/factory.js +1 -1
  379. package/esm/modules/uploader/config.d.ts +1 -1
  380. package/esm/modules/uploader/config.js +3 -3
  381. package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
  382. package/esm/modules/uploader/helpers/build-data.js +1 -1
  383. package/esm/modules/uploader/helpers/index.d.ts +6 -6
  384. package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
  385. package/esm/modules/uploader/helpers/process-old-browser-drag.js +4 -4
  386. package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
  387. package/esm/modules/uploader/helpers/send-files.js +2 -2
  388. package/esm/modules/uploader/helpers/send.d.ts +2 -2
  389. package/esm/modules/uploader/helpers/send.js +3 -3
  390. package/esm/modules/uploader/uploader.d.ts +3 -3
  391. package/esm/modules/uploader/uploader.js +5 -5
  392. package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
  393. package/esm/modules/widget/color-picker/color-picker.js +3 -3
  394. package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
  395. package/esm/modules/widget/file-selector/file-selector.js +4 -4
  396. package/esm/modules/widget/index.d.ts +3 -3
  397. package/esm/modules/widget/tabs/tabs.d.ts +2 -2
  398. package/esm/modules/widget/tabs/tabs.js +5 -5
  399. package/esm/plugins/about/about.js +6 -6
  400. package/esm/plugins/add-new-line/add-new-line.d.ts +3 -3
  401. package/esm/plugins/add-new-line/add-new-line.js +4 -4
  402. package/esm/plugins/add-new-line/config.d.ts +1 -1
  403. package/esm/plugins/add-new-line/config.js +2 -2
  404. package/esm/plugins/backspace/backspace.d.ts +3 -3
  405. package/esm/plugins/backspace/backspace.js +6 -6
  406. package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
  407. package/esm/plugins/backspace/cases/check-join-neighbors.js +3 -3
  408. package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
  409. package/esm/plugins/backspace/cases/check-join-two-lists.js +3 -3
  410. package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
  411. package/esm/plugins/backspace/cases/check-remove-char.d.ts +2 -2
  412. package/esm/plugins/backspace/cases/check-remove-char.js +4 -4
  413. package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  414. package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
  415. package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  416. package/esm/plugins/backspace/cases/check-remove-empty-neighbor.js +1 -1
  417. package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  418. package/esm/plugins/backspace/cases/check-remove-empty-parent.js +2 -2
  419. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  420. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +2 -2
  421. package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
  422. package/esm/plugins/backspace/cases/check-table-cell.js +1 -1
  423. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  424. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +2 -2
  425. package/esm/plugins/backspace/cases/index.d.ts +2 -2
  426. package/esm/plugins/backspace/config.js +1 -1
  427. package/esm/plugins/backspace/helpers.d.ts +1 -1
  428. package/esm/plugins/backspace/helpers.js +1 -1
  429. package/esm/plugins/bold/bold.d.ts +3 -3
  430. package/esm/plugins/bold/bold.js +4 -4
  431. package/esm/plugins/bold/config.js +1 -1
  432. package/esm/plugins/class-span/class-span.d.ts +2 -2
  433. package/esm/plugins/class-span/class-span.js +6 -6
  434. package/esm/plugins/clean-html/clean-html.d.ts +3 -3
  435. package/esm/plugins/clean-html/clean-html.js +6 -6
  436. package/esm/plugins/clean-html/config.d.ts +1 -1
  437. package/esm/plugins/clean-html/config.js +2 -2
  438. package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
  439. package/esm/plugins/clean-html/helpers/get-hash.js +2 -2
  440. package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
  441. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
  442. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js +2 -2
  443. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
  444. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +2 -2
  445. package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
  446. package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.js +1 -1
  447. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
  448. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +2 -2
  449. package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  450. package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
  451. package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.js +1 -1
  452. package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
  453. package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.js +2 -2
  454. package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
  455. package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.js +1 -1
  456. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
  457. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +2 -2
  458. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
  459. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +3 -3
  460. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
  461. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +1 -1
  462. package/esm/plugins/clipboard/clipboard.d.ts +3 -3
  463. package/esm/plugins/clipboard/clipboard.js +3 -3
  464. package/esm/plugins/clipboard/config.js +2 -2
  465. package/esm/plugins/color/color.d.ts +2 -2
  466. package/esm/plugins/color/color.js +2 -2
  467. package/esm/plugins/color/config.js +5 -5
  468. package/esm/plugins/copy-format/copy-format.d.ts +1 -1
  469. package/esm/plugins/copy-format/copy-format.js +5 -5
  470. package/esm/plugins/copy-format/langs/index.d.ts +20 -20
  471. package/esm/plugins/debug/debug.d.ts +2 -2
  472. package/esm/plugins/delete/delete.d.ts +3 -3
  473. package/esm/plugins/delete/delete.js +5 -5
  474. package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
  475. package/esm/plugins/drag-and-drop/drag-and-drop.js +7 -7
  476. package/esm/plugins/drag-and-drop-element/config.js +1 -1
  477. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +2 -2
  478. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +5 -5
  479. package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
  480. package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
  481. package/esm/plugins/dtd/after-insert/remove-extra-br.js +1 -1
  482. package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
  483. package/esm/plugins/dtd/before-insert/check-block-nesting.js +1 -1
  484. package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
  485. package/esm/plugins/dtd/config.d.ts +1 -1
  486. package/esm/plugins/dtd/config.js +1 -1
  487. package/esm/plugins/dtd/dtd.d.ts +1 -1
  488. package/esm/plugins/dtd/dtd.js +3 -3
  489. package/esm/plugins/enter/enter.d.ts +3 -3
  490. package/esm/plugins/enter/enter.js +6 -6
  491. package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
  492. package/esm/plugins/enter/helpers/check-br.js +3 -3
  493. package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
  494. package/esm/plugins/enter/helpers/check-unsplittable-box.js +1 -1
  495. package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
  496. package/esm/plugins/enter/helpers/get-block-wrapper.js +2 -2
  497. package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
  498. package/esm/plugins/enter/helpers/has-previous-block.js +1 -1
  499. package/esm/plugins/enter/helpers/index.d.ts +9 -9
  500. package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
  501. package/esm/plugins/enter/helpers/insert-paragraph.js +2 -2
  502. package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
  503. package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.js +1 -1
  504. package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
  505. package/esm/plugins/enter/helpers/process-empty-li-leaf.js +2 -2
  506. package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
  507. package/esm/plugins/enter/helpers/split-fragment.js +2 -2
  508. package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
  509. package/esm/plugins/enter/helpers/wrap-text.js +1 -1
  510. package/esm/plugins/file/file.d.ts +1 -1
  511. package/esm/plugins/file/file.js +4 -4
  512. package/esm/plugins/focus/focus.d.ts +1 -1
  513. package/esm/plugins/focus/focus.js +3 -3
  514. package/esm/plugins/font/config.js +4 -4
  515. package/esm/plugins/font/font.d.ts +2 -2
  516. package/esm/plugins/font/font.js +2 -2
  517. package/esm/plugins/format-block/format-block.d.ts +1 -1
  518. package/esm/plugins/format-block/format-block.js +5 -5
  519. package/esm/plugins/fullsize/config.js +3 -3
  520. package/esm/plugins/fullsize/fullsize.d.ts +2 -2
  521. package/esm/plugins/fullsize/fullsize.js +3 -3
  522. package/esm/plugins/hotkeys/config.d.ts +1 -1
  523. package/esm/plugins/hotkeys/config.js +1 -1
  524. package/esm/plugins/hotkeys/hotkeys.d.ts +3 -3
  525. package/esm/plugins/hotkeys/hotkeys.js +4 -4
  526. package/esm/plugins/hr/hr.d.ts +1 -1
  527. package/esm/plugins/hr/hr.js +4 -4
  528. package/esm/plugins/iframe/config.js +1 -1
  529. package/esm/plugins/iframe/iframe.d.ts +2 -2
  530. package/esm/plugins/iframe/iframe.js +4 -4
  531. package/esm/plugins/image/image.d.ts +1 -1
  532. package/esm/plugins/image/image.js +6 -6
  533. package/esm/plugins/image-processor/config.js +1 -1
  534. package/esm/plugins/image-processor/image-processor.d.ts +3 -3
  535. package/esm/plugins/image-processor/image-processor.js +5 -5
  536. package/esm/plugins/image-properties/config.d.ts +4 -1
  537. package/esm/plugins/image-properties/config.js +1 -1
  538. package/esm/plugins/image-properties/image-properties.d.ts +3 -3
  539. package/esm/plugins/image-properties/image-properties.js +7 -7
  540. package/esm/plugins/image-properties/templates/form.d.ts +1 -1
  541. package/esm/plugins/image-properties/templates/form.js +1 -1
  542. package/esm/plugins/image-properties/templates/main-tab.d.ts +1 -1
  543. package/esm/plugins/image-properties/templates/main-tab.js +1 -1
  544. package/esm/plugins/image-properties/templates/position-tab.d.ts +1 -1
  545. package/esm/plugins/image-properties/templates/position-tab.js +1 -1
  546. package/esm/plugins/indent/config.js +3 -3
  547. package/esm/plugins/indent/helpers.js +1 -1
  548. package/esm/plugins/indent/indent.d.ts +2 -2
  549. package/esm/plugins/indent/indent.js +4 -4
  550. package/esm/plugins/index.d.ts +61 -61
  551. package/esm/plugins/index.js +17 -17
  552. package/esm/plugins/inline-popup/config/config.d.ts +1 -1
  553. package/esm/plugins/inline-popup/config/config.js +9 -9
  554. package/esm/plugins/inline-popup/config/items/a.d.ts +2 -2
  555. package/esm/plugins/inline-popup/config/items/a.js +1 -1
  556. package/esm/plugins/inline-popup/config/items/cells.d.ts +2 -2
  557. package/esm/plugins/inline-popup/config/items/cells.js +3 -3
  558. package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
  559. package/esm/plugins/inline-popup/config/items/img.d.ts +2 -2
  560. package/esm/plugins/inline-popup/config/items/img.js +4 -4
  561. package/esm/plugins/inline-popup/inline-popup.d.ts +3 -3
  562. package/esm/plugins/inline-popup/inline-popup.js +8 -8
  563. package/esm/plugins/justify/justify.d.ts +1 -1
  564. package/esm/plugins/justify/justify.js +6 -6
  565. package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
  566. package/esm/plugins/key-arrow-outside/key-arrow-outside.js +5 -5
  567. package/esm/plugins/limit/config.js +1 -1
  568. package/esm/plugins/limit/limit.d.ts +3 -3
  569. package/esm/plugins/limit/limit.js +4 -4
  570. package/esm/plugins/line-height/config.js +3 -3
  571. package/esm/plugins/line-height/langs/index.d.ts +20 -20
  572. package/esm/plugins/line-height/line-height.d.ts +3 -3
  573. package/esm/plugins/line-height/line-height.js +5 -5
  574. package/esm/plugins/link/config.d.ts +1 -1
  575. package/esm/plugins/link/config.js +3 -3
  576. package/esm/plugins/link/link.d.ts +3 -3
  577. package/esm/plugins/link/link.js +5 -5
  578. package/esm/plugins/link/template.d.ts +1 -1
  579. package/esm/plugins/link/template.js +2 -2
  580. package/esm/plugins/media/config.js +1 -1
  581. package/esm/plugins/media/media.d.ts +2 -2
  582. package/esm/plugins/media/media.js +3 -3
  583. package/esm/plugins/mobile/config.js +5 -5
  584. package/esm/plugins/mobile/mobile.d.ts +2 -2
  585. package/esm/plugins/mobile/mobile.js +3 -3
  586. package/esm/plugins/ordered-list/config.js +3 -3
  587. package/esm/plugins/ordered-list/ordered-list.d.ts +3 -3
  588. package/esm/plugins/ordered-list/ordered-list.js +3 -3
  589. package/esm/plugins/paste/config.d.ts +1 -1
  590. package/esm/plugins/paste/config.js +2 -2
  591. package/esm/plugins/paste/helpers.d.ts +2 -2
  592. package/esm/plugins/paste/helpers.js +4 -4
  593. package/esm/plugins/paste/interface.d.ts +1 -1
  594. package/esm/plugins/paste/paste.d.ts +4 -4
  595. package/esm/plugins/paste/paste.js +6 -6
  596. package/esm/plugins/paste-from-word/config.d.ts +1 -1
  597. package/esm/plugins/paste-from-word/config.js +2 -2
  598. package/esm/plugins/paste-from-word/paste-from-word.d.ts +4 -4
  599. package/esm/plugins/paste-from-word/paste-from-word.js +6 -6
  600. package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
  601. package/esm/plugins/paste-storage/paste-storage.js +6 -6
  602. package/esm/plugins/placeholder/config.js +1 -1
  603. package/esm/plugins/placeholder/placeholder.d.ts +3 -3
  604. package/esm/plugins/placeholder/placeholder.js +9 -9
  605. package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
  606. package/esm/plugins/powered-by-jodit/powered-by-jodit.js +1 -1
  607. package/esm/plugins/preview/preview.d.ts +1 -1
  608. package/esm/plugins/preview/preview.js +4 -4
  609. package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
  610. package/esm/plugins/print/lib/generate-critical-css.js +1 -1
  611. package/esm/plugins/print/print.d.ts +1 -1
  612. package/esm/plugins/print/print.js +8 -8
  613. package/esm/plugins/redo-undo/redo-undo.d.ts +2 -2
  614. package/esm/plugins/redo-undo/redo-undo.js +5 -5
  615. package/esm/plugins/resize-cells/config.js +1 -1
  616. package/esm/plugins/resize-cells/resize-cells.d.ts +3 -3
  617. package/esm/plugins/resize-cells/resize-cells.js +6 -6
  618. package/esm/plugins/resize-handler/config.js +1 -1
  619. package/esm/plugins/resize-handler/resize-handler.d.ts +3 -3
  620. package/esm/plugins/resize-handler/resize-handler.js +5 -5
  621. package/esm/plugins/resizer/config.d.ts +1 -1
  622. package/esm/plugins/resizer/config.js +1 -1
  623. package/esm/plugins/resizer/resizer.d.ts +3 -3
  624. package/esm/plugins/resizer/resizer.js +8 -8
  625. package/esm/plugins/search/config.d.ts +2 -2
  626. package/esm/plugins/search/config.js +2 -2
  627. package/esm/plugins/search/helpers/index.d.ts +2 -2
  628. package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
  629. package/esm/plugins/search/helpers/sentence-finder.js +1 -1
  630. package/esm/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.d.ts +1 -1
  631. package/esm/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.js +2 -2
  632. package/esm/plugins/search/search.d.ts +4 -4
  633. package/esm/plugins/search/search.js +7 -7
  634. package/esm/plugins/search/ui/search.d.ts +2 -2
  635. package/esm/plugins/search/ui/search.js +6 -6
  636. package/esm/plugins/select/config.js +1 -1
  637. package/esm/plugins/select/select.d.ts +3 -3
  638. package/esm/plugins/select/select.js +6 -6
  639. package/esm/plugins/select-cells/config.js +1 -1
  640. package/esm/plugins/select-cells/select-cells.d.ts +3 -3
  641. package/esm/plugins/select-cells/select-cells.js +7 -7
  642. package/esm/plugins/size/config.js +1 -1
  643. package/esm/plugins/size/size.d.ts +3 -3
  644. package/esm/plugins/size/size.js +5 -5
  645. package/esm/plugins/source/config.d.ts +1 -1
  646. package/esm/plugins/source/config.js +3 -3
  647. package/esm/plugins/source/editor/engines/ace.d.ts +3 -3
  648. package/esm/plugins/source/editor/engines/ace.js +3 -3
  649. package/esm/plugins/source/editor/engines/area.d.ts +2 -2
  650. package/esm/plugins/source/editor/engines/area.js +3 -3
  651. package/esm/plugins/source/editor/engines/index.d.ts +2 -2
  652. package/esm/plugins/source/editor/factory.d.ts +1 -1
  653. package/esm/plugins/source/editor/factory.js +1 -1
  654. package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
  655. package/esm/plugins/source/source.d.ts +3 -3
  656. package/esm/plugins/source/source.js +7 -7
  657. package/esm/plugins/speech-recognize/config.d.ts +2 -2
  658. package/esm/plugins/speech-recognize/config.js +4 -4
  659. package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
  660. package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
  661. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
  662. package/esm/plugins/speech-recognize/helpers/recognize-manager.js +3 -3
  663. package/esm/plugins/speech-recognize/helpers/sound.js +1 -1
  664. package/esm/plugins/speech-recognize/langs/index.d.ts +20 -20
  665. package/esm/plugins/speech-recognize/speech-recognize.d.ts +3 -3
  666. package/esm/plugins/speech-recognize/speech-recognize.js +6 -6
  667. package/esm/plugins/spellcheck/config.js +2 -2
  668. package/esm/plugins/spellcheck/langs/index.d.ts +20 -20
  669. package/esm/plugins/spellcheck/spellcheck.d.ts +3 -3
  670. package/esm/plugins/spellcheck/spellcheck.js +4 -4
  671. package/esm/plugins/stat/config.js +1 -1
  672. package/esm/plugins/stat/stat.d.ts +2 -2
  673. package/esm/plugins/stat/stat.js +4 -4
  674. package/esm/plugins/sticky/config.js +1 -1
  675. package/esm/plugins/sticky/sticky.d.ts +3 -3
  676. package/esm/plugins/sticky/sticky.js +6 -6
  677. package/esm/plugins/symbols/config.js +2 -2
  678. package/esm/plugins/symbols/langs/index.d.ts +20 -20
  679. package/esm/plugins/symbols/symbols.d.ts +3 -3
  680. package/esm/plugins/symbols/symbols.js +5 -5
  681. package/esm/plugins/tab/cases/index.d.ts +1 -1
  682. package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
  683. package/esm/plugins/tab/cases/on-tab-inside-li.js +2 -2
  684. package/esm/plugins/tab/config.js +1 -1
  685. package/esm/plugins/tab/tab.d.ts +1 -1
  686. package/esm/plugins/tab/tab.js +4 -4
  687. package/esm/plugins/table/config.js +5 -5
  688. package/esm/plugins/table/table.d.ts +2 -2
  689. package/esm/plugins/table/table.js +1 -1
  690. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  691. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +4 -4
  692. package/esm/plugins/video/config.js +6 -6
  693. package/esm/plugins/video/video.d.ts +1 -1
  694. package/esm/plugins/video/video.js +1 -1
  695. package/esm/plugins/wrap-nodes/config.d.ts +1 -1
  696. package/esm/plugins/wrap-nodes/config.js +1 -1
  697. package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  698. package/esm/plugins/wrap-nodes/wrap-nodes.js +5 -5
  699. package/esm/plugins/xpath/config.js +1 -1
  700. package/esm/plugins/xpath/xpath.d.ts +1 -1
  701. package/esm/plugins/xpath/xpath.js +7 -7
  702. package/esm/types/ajax.d.ts +51 -83
  703. package/esm/types/async.d.ts +34 -74
  704. package/esm/types/context.d.ts +7 -15
  705. package/esm/types/core.d.ts +2 -8
  706. package/esm/types/create.d.ts +38 -89
  707. package/esm/types/dialog.d.ts +23 -40
  708. package/esm/types/events.d.ts +117 -168
  709. package/esm/types/file-browser.d.ts +180 -305
  710. package/esm/types/form.d.ts +2 -4
  711. package/esm/types/history.d.ts +25 -40
  712. package/esm/types/index.d.ts +23 -25
  713. package/esm/types/jodit.d.ts +96 -159
  714. package/esm/types/messages.d.ts +5 -7
  715. package/esm/types/plugin.d.ts +35 -50
  716. package/esm/types/popup.d.ts +13 -30
  717. package/esm/types/select.d.ts +57 -83
  718. package/esm/types/source.d.ts +15 -23
  719. package/esm/types/storage.d.ts +6 -14
  720. package/esm/types/style.d.ts +31 -77
  721. package/esm/types/toolbar.d.ts +238 -352
  722. package/esm/types/traits.d.ts +15 -44
  723. package/esm/types/types.d.ts +150 -238
  724. package/esm/types/ui.d.ts +99 -159
  725. package/esm/types/uploader.d.ts +93 -140
  726. package/esm/types/view.d.ts +86 -146
  727. package/esm/typings.d.ts +2 -4
  728. package/package.json +1 -1
  729. package/types/config.d.ts +1 -1
  730. package/types/core/async/async.d.ts +1 -1
  731. package/types/core/async/index.d.ts +1 -1
  732. package/types/core/component/component.d.ts +1 -1
  733. package/types/core/component/index.d.ts +3 -3
  734. package/types/core/component/view-component.d.ts +2 -2
  735. package/types/core/constants.d.ts +1 -1
  736. package/types/core/create/create.d.ts +5 -2
  737. package/types/core/create/index.d.ts +1 -1
  738. package/types/core/decorators/cache/cache.d.ts +1 -1
  739. package/types/core/decorators/debounce/debounce.d.ts +1 -1
  740. package/types/core/decorators/hook/hook.d.ts +2 -2
  741. package/types/core/decorators/idle/idle.d.ts +1 -1
  742. package/types/core/decorators/index.d.ts +11 -11
  743. package/types/core/decorators/persistent/persistent.d.ts +1 -1
  744. package/types/core/decorators/wait/wait.d.ts +1 -1
  745. package/types/core/decorators/watch/watch.d.ts +1 -1
  746. package/types/core/dom/dom.d.ts +1 -1
  747. package/types/core/dom/index.d.ts +2 -2
  748. package/types/core/dom/lazy-walker.d.ts +2 -2
  749. package/types/core/event-emitter/event-emitter.d.ts +1 -1
  750. package/types/core/event-emitter/eventify.d.ts +1 -1
  751. package/types/core/event-emitter/index.d.ts +4 -4
  752. package/types/core/event-emitter/observable.d.ts +1 -1
  753. package/types/core/event-emitter/store.d.ts +1 -1
  754. package/types/core/global.d.ts +3 -3
  755. package/types/core/helpers/array/index.d.ts +3 -3
  756. package/types/core/helpers/async/index.d.ts +1 -1
  757. package/types/core/helpers/checker/index.d.ts +24 -24
  758. package/types/core/helpers/checker/is-imp-interface.d.ts +1 -1
  759. package/types/core/helpers/checker/is-jodit-object.d.ts +1 -1
  760. package/types/core/helpers/checker/is-marker.d.ts +1 -1
  761. package/types/core/helpers/checker/is-plain-object.d.ts +1 -1
  762. package/types/core/helpers/checker/is-view-object.d.ts +1 -1
  763. package/types/core/helpers/color/index.d.ts +1 -1
  764. package/types/core/helpers/html/index.d.ts +6 -6
  765. package/types/core/helpers/html/strip-tags.d.ts +1 -1
  766. package/types/core/helpers/index.d.ts +9 -9
  767. package/types/core/helpers/normalize/index.d.ts +8 -8
  768. package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
  769. package/types/core/helpers/size/index.d.ts +6 -6
  770. package/types/core/helpers/size/object-size.d.ts +1 -1
  771. package/types/core/helpers/size/offset.d.ts +1 -1
  772. package/types/core/helpers/size/position.d.ts +1 -1
  773. package/types/core/helpers/string/fuzzy-search-index.d.ts +4 -1
  774. package/types/core/helpers/string/i18n.d.ts +1 -1
  775. package/types/core/helpers/string/index.d.ts +7 -7
  776. package/types/core/helpers/utils/align.d.ts +1 -1
  777. package/types/core/helpers/utils/append-script.d.ts +1 -1
  778. package/types/core/helpers/utils/attr.d.ts +1 -1
  779. package/types/core/helpers/utils/build-query.d.ts +1 -1
  780. package/types/core/helpers/utils/config-proto.d.ts +1 -1
  781. package/types/core/helpers/utils/css.d.ts +1 -1
  782. package/types/core/helpers/utils/data-bind.d.ts +1 -1
  783. package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
  784. package/types/core/helpers/utils/error/index.d.ts +2 -2
  785. package/types/core/helpers/utils/get-class-name.d.ts +1 -1
  786. package/types/core/helpers/utils/get.d.ts +1 -1
  787. package/types/core/helpers/utils/index.d.ts +28 -28
  788. package/types/core/helpers/utils/parse-query.d.ts +1 -1
  789. package/types/core/helpers/utils/print.d.ts +5 -2
  790. package/types/core/helpers/utils/reset.d.ts +1 -1
  791. package/types/core/helpers/utils/scroll-into-view.d.ts +1 -1
  792. package/types/core/helpers/utils/selector.d.ts +1 -1
  793. package/types/core/helpers/utils/set.d.ts +1 -1
  794. package/types/core/helpers/utils/stack.d.ts +1 -1
  795. package/types/core/helpers/utils/utils.d.ts +2 -2
  796. package/types/core/plugin/helpers/init-instance.d.ts +1 -1
  797. package/types/core/plugin/helpers/load.d.ts +1 -1
  798. package/types/core/plugin/helpers/make-instance.d.ts +1 -1
  799. package/types/core/plugin/index.d.ts +2 -2
  800. package/types/core/plugin/plugin-system.d.ts +2 -2
  801. package/types/core/plugin/plugin.d.ts +2 -2
  802. package/types/core/request/ajax.d.ts +2 -2
  803. package/types/core/request/config.d.ts +1 -1
  804. package/types/core/request/index.d.ts +2 -2
  805. package/types/core/request/response.d.ts +1 -1
  806. package/types/core/selection/helpers/index.d.ts +2 -2
  807. package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
  808. package/types/core/selection/index.d.ts +2 -2
  809. package/types/core/selection/selection.d.ts +16 -4
  810. package/types/core/selection/style/api/extract.d.ts +1 -1
  811. package/types/core/selection/style/api/finite-state-machine.d.ts +1 -1
  812. package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
  813. package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
  814. package/types/core/selection/style/api/has-same-style.d.ts +1 -1
  815. package/types/core/selection/style/api/index.d.ts +15 -15
  816. package/types/core/selection/style/api/is-normal-node.d.ts +1 -1
  817. package/types/core/selection/style/api/is-same-attributes.d.ts +1 -1
  818. package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
  819. package/types/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
  820. package/types/core/selection/style/api/list/wrap-list.d.ts +1 -1
  821. package/types/core/selection/style/api/toggle-attributes.d.ts +1 -1
  822. package/types/core/selection/style/api/unwrap-children.d.ts +1 -1
  823. package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  824. package/types/core/selection/style/api/wrap.d.ts +1 -1
  825. package/types/core/selection/style/apply-style.d.ts +1 -1
  826. package/types/core/selection/style/commit-style.d.ts +1 -1
  827. package/types/core/selection/style/transactions.d.ts +1 -1
  828. package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
  829. package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
  830. package/types/core/storage/index.d.ts +3 -3
  831. package/types/core/storage/storage.d.ts +1 -1
  832. package/types/core/traits/dlgs.d.ts +1 -1
  833. package/types/core/traits/elms.d.ts +1 -1
  834. package/types/core/traits/mods.d.ts +1 -1
  835. package/types/core/ui/button/button/button.d.ts +2 -2
  836. package/types/core/ui/button/group/group.d.ts +2 -2
  837. package/types/core/ui/button/index.d.ts +3 -3
  838. package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
  839. package/types/core/ui/element.d.ts +4 -4
  840. package/types/core/ui/form/block/block.d.ts +2 -2
  841. package/types/core/ui/form/form.d.ts +2 -2
  842. package/types/core/ui/form/index.d.ts +3 -3
  843. package/types/core/ui/form/inputs/area/area.d.ts +2 -2
  844. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
  845. package/types/core/ui/form/inputs/file/file.d.ts +2 -2
  846. package/types/core/ui/form/inputs/index.d.ts +5 -5
  847. package/types/core/ui/form/inputs/input/input.d.ts +2 -2
  848. package/types/core/ui/form/inputs/select/select.d.ts +2 -2
  849. package/types/core/ui/form/validators/index.d.ts +2 -2
  850. package/types/core/ui/form/validators/input.d.ts +1 -1
  851. package/types/core/ui/form/validators/select.d.ts +2 -2
  852. package/types/core/ui/group/group.d.ts +3 -3
  853. package/types/core/ui/group/index.d.ts +4 -4
  854. package/types/core/ui/group/list.d.ts +2 -2
  855. package/types/core/ui/group/separator.d.ts +1 -1
  856. package/types/core/ui/group/spacer.d.ts +1 -1
  857. package/types/core/ui/helpers/buttons.d.ts +1 -1
  858. package/types/core/ui/helpers/get-control-type.d.ts +1 -1
  859. package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  860. package/types/core/ui/icon.d.ts +1 -1
  861. package/types/core/ui/index.d.ts +7 -7
  862. package/types/core/ui/popup/index.d.ts +1 -1
  863. package/types/core/ui/popup/popup.d.ts +2 -2
  864. package/types/core/ui/progress-bar/progress-bar.d.ts +2 -2
  865. package/types/core/view/view-with-toolbar.d.ts +2 -2
  866. package/types/core/view/view.d.ts +4 -4
  867. package/types/index.d.ts +2 -2
  868. package/types/jodit.d.ts +6 -6
  869. package/types/languages.d.ts +1 -1
  870. package/types/modules/context-menu/context-menu.d.ts +2 -2
  871. package/types/modules/dialog/alert.d.ts +1 -1
  872. package/types/modules/dialog/confirm.d.ts +1 -1
  873. package/types/modules/dialog/dialog.d.ts +2 -2
  874. package/types/modules/dialog/index.d.ts +4 -4
  875. package/types/modules/dialog/prompt.d.ts +1 -1
  876. package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
  877. package/types/modules/file-browser/builders/elements-map.d.ts +1 -1
  878. package/types/modules/file-browser/builders/item.d.ts +1 -1
  879. package/types/modules/file-browser/config.d.ts +1 -1
  880. package/types/modules/file-browser/data-provider.d.ts +1 -1
  881. package/types/modules/file-browser/factories.d.ts +1 -1
  882. package/types/modules/file-browser/fetch/delete-file.d.ts +1 -1
  883. package/types/modules/file-browser/fetch/load-items.d.ts +1 -1
  884. package/types/modules/file-browser/fetch/load-tree.d.ts +1 -1
  885. package/types/modules/file-browser/file-browser.d.ts +6 -6
  886. package/types/modules/file-browser/index.d.ts +1 -1
  887. package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  888. package/types/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  889. package/types/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  890. package/types/modules/file-browser/ui/files/files.d.ts +1 -1
  891. package/types/modules/file-browser/ui/index.d.ts +2 -2
  892. package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
  893. package/types/modules/history/command.d.ts +2 -2
  894. package/types/modules/history/history.d.ts +4 -4
  895. package/types/modules/history/snapshot.d.ts +2 -2
  896. package/types/modules/history/stack.d.ts +2 -2
  897. package/types/modules/image-editor/config.d.ts +1 -1
  898. package/types/modules/image-editor/image-editor.d.ts +3 -3
  899. package/types/modules/image-editor/templates/form.d.ts +1 -1
  900. package/types/modules/index.d.ts +26 -26
  901. package/types/modules/messages/message.d.ts +2 -2
  902. package/types/modules/messages/messages.d.ts +2 -2
  903. package/types/modules/status-bar/status-bar.d.ts +4 -4
  904. package/types/modules/table/table.d.ts +2 -2
  905. package/types/modules/toolbar/button/button.d.ts +5 -5
  906. package/types/modules/toolbar/button/content.d.ts +2 -2
  907. package/types/modules/toolbar/button/index.d.ts +2 -2
  908. package/types/modules/toolbar/collection/collection.d.ts +3 -3
  909. package/types/modules/toolbar/collection/editor-collection.d.ts +2 -2
  910. package/types/modules/toolbar/factory.d.ts +1 -1
  911. package/types/modules/uploader/config.d.ts +1 -1
  912. package/types/modules/uploader/helpers/build-data.d.ts +1 -1
  913. package/types/modules/uploader/helpers/index.d.ts +6 -6
  914. package/types/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
  915. package/types/modules/uploader/helpers/send-files.d.ts +1 -1
  916. package/types/modules/uploader/helpers/send.d.ts +2 -2
  917. package/types/modules/uploader/uploader.d.ts +3 -3
  918. package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
  919. package/types/modules/widget/file-selector/file-selector.d.ts +1 -1
  920. package/types/modules/widget/index.d.ts +3 -3
  921. package/types/modules/widget/tabs/tabs.d.ts +2 -2
  922. package/types/plugins/add-new-line/add-new-line.d.ts +3 -3
  923. package/types/plugins/add-new-line/config.d.ts +1 -1
  924. package/types/plugins/backspace/backspace.d.ts +3 -3
  925. package/types/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
  926. package/types/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
  927. package/types/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
  928. package/types/plugins/backspace/cases/check-remove-char.d.ts +2 -2
  929. package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  930. package/types/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  931. package/types/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  932. package/types/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  933. package/types/plugins/backspace/cases/check-table-cell.d.ts +1 -1
  934. package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  935. package/types/plugins/backspace/cases/index.d.ts +2 -2
  936. package/types/plugins/backspace/helpers.d.ts +1 -1
  937. package/types/plugins/bold/bold.d.ts +3 -3
  938. package/types/plugins/class-span/class-span.d.ts +2 -2
  939. package/types/plugins/clean-html/clean-html.d.ts +3 -3
  940. package/types/plugins/clean-html/config.d.ts +1 -1
  941. package/types/plugins/clean-html/helpers/get-hash.d.ts +1 -1
  942. package/types/plugins/clean-html/helpers/index.d.ts +4 -4
  943. package/types/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
  944. package/types/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
  945. package/types/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
  946. package/types/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
  947. package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  948. package/types/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
  949. package/types/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
  950. package/types/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
  951. package/types/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
  952. package/types/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
  953. package/types/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
  954. package/types/plugins/clipboard/clipboard.d.ts +3 -3
  955. package/types/plugins/color/color.d.ts +2 -2
  956. package/types/plugins/copy-format/copy-format.d.ts +1 -1
  957. package/types/plugins/copy-format/langs/index.d.ts +20 -20
  958. package/types/plugins/debug/debug.d.ts +2 -2
  959. package/types/plugins/delete/delete.d.ts +3 -3
  960. package/types/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
  961. package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +2 -2
  962. package/types/plugins/dtd/after-insert/index.d.ts +1 -1
  963. package/types/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
  964. package/types/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
  965. package/types/plugins/dtd/before-insert/index.d.ts +1 -1
  966. package/types/plugins/dtd/config.d.ts +1 -1
  967. package/types/plugins/dtd/dtd.d.ts +1 -1
  968. package/types/plugins/enter/enter.d.ts +3 -3
  969. package/types/plugins/enter/helpers/check-br.d.ts +1 -1
  970. package/types/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
  971. package/types/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
  972. package/types/plugins/enter/helpers/has-previous-block.d.ts +1 -1
  973. package/types/plugins/enter/helpers/index.d.ts +9 -9
  974. package/types/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
  975. package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
  976. package/types/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
  977. package/types/plugins/enter/helpers/split-fragment.d.ts +1 -1
  978. package/types/plugins/enter/helpers/wrap-text.d.ts +1 -1
  979. package/types/plugins/file/file.d.ts +1 -1
  980. package/types/plugins/focus/focus.d.ts +1 -1
  981. package/types/plugins/font/font.d.ts +2 -2
  982. package/types/plugins/format-block/format-block.d.ts +1 -1
  983. package/types/plugins/fullsize/fullsize.d.ts +2 -2
  984. package/types/plugins/hotkeys/config.d.ts +1 -1
  985. package/types/plugins/hotkeys/hotkeys.d.ts +3 -3
  986. package/types/plugins/hr/hr.d.ts +1 -1
  987. package/types/plugins/iframe/iframe.d.ts +2 -2
  988. package/types/plugins/image/image.d.ts +1 -1
  989. package/types/plugins/image-processor/image-processor.d.ts +3 -3
  990. package/types/plugins/image-properties/config.d.ts +4 -1
  991. package/types/plugins/image-properties/image-properties.d.ts +3 -3
  992. package/types/plugins/image-properties/templates/form.d.ts +1 -1
  993. package/types/plugins/image-properties/templates/main-tab.d.ts +1 -1
  994. package/types/plugins/image-properties/templates/position-tab.d.ts +1 -1
  995. package/types/plugins/indent/indent.d.ts +2 -2
  996. package/types/plugins/index.d.ts +61 -61
  997. package/types/plugins/inline-popup/config/config.d.ts +1 -1
  998. package/types/plugins/inline-popup/config/items/a.d.ts +2 -2
  999. package/types/plugins/inline-popup/config/items/cells.d.ts +2 -2
  1000. package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
  1001. package/types/plugins/inline-popup/config/items/img.d.ts +2 -2
  1002. package/types/plugins/inline-popup/inline-popup.d.ts +3 -3
  1003. package/types/plugins/justify/justify.d.ts +1 -1
  1004. package/types/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
  1005. package/types/plugins/limit/limit.d.ts +3 -3
  1006. package/types/plugins/line-height/langs/index.d.ts +20 -20
  1007. package/types/plugins/line-height/line-height.d.ts +3 -3
  1008. package/types/plugins/link/config.d.ts +1 -1
  1009. package/types/plugins/link/link.d.ts +3 -3
  1010. package/types/plugins/link/template.d.ts +1 -1
  1011. package/types/plugins/media/media.d.ts +2 -2
  1012. package/types/plugins/mobile/mobile.d.ts +2 -2
  1013. package/types/plugins/ordered-list/ordered-list.d.ts +3 -3
  1014. package/types/plugins/paste/config.d.ts +1 -1
  1015. package/types/plugins/paste/helpers.d.ts +2 -2
  1016. package/types/plugins/paste/interface.d.ts +1 -1
  1017. package/types/plugins/paste/paste.d.ts +4 -4
  1018. package/types/plugins/paste-from-word/config.d.ts +1 -1
  1019. package/types/plugins/paste-from-word/paste-from-word.d.ts +4 -4
  1020. package/types/plugins/paste-storage/paste-storage.d.ts +1 -1
  1021. package/types/plugins/placeholder/placeholder.d.ts +3 -3
  1022. package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
  1023. package/types/plugins/preview/preview.d.ts +1 -1
  1024. package/types/plugins/print/lib/generate-critical-css.d.ts +1 -1
  1025. package/types/plugins/print/print.d.ts +1 -1
  1026. package/types/plugins/redo-undo/redo-undo.d.ts +2 -2
  1027. package/types/plugins/resize-cells/resize-cells.d.ts +3 -3
  1028. package/types/plugins/resize-handler/resize-handler.d.ts +3 -3
  1029. package/types/plugins/resizer/config.d.ts +1 -1
  1030. package/types/plugins/resizer/resizer.d.ts +3 -3
  1031. package/types/plugins/search/config.d.ts +2 -2
  1032. package/types/plugins/search/helpers/index.d.ts +2 -2
  1033. package/types/plugins/search/helpers/sentence-finder.d.ts +1 -1
  1034. package/types/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.d.ts +1 -1
  1035. package/types/plugins/search/search.d.ts +4 -4
  1036. package/types/plugins/search/ui/search.d.ts +2 -2
  1037. package/types/plugins/select/select.d.ts +3 -3
  1038. package/types/plugins/select-cells/select-cells.d.ts +3 -3
  1039. package/types/plugins/size/size.d.ts +3 -3
  1040. package/types/plugins/source/config.d.ts +1 -1
  1041. package/types/plugins/source/editor/engines/ace.d.ts +3 -3
  1042. package/types/plugins/source/editor/engines/area.d.ts +2 -2
  1043. package/types/plugins/source/editor/engines/index.d.ts +2 -2
  1044. package/types/plugins/source/editor/factory.d.ts +1 -1
  1045. package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
  1046. package/types/plugins/source/source.d.ts +3 -3
  1047. package/types/plugins/speech-recognize/config.d.ts +2 -2
  1048. package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
  1049. package/types/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
  1050. package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
  1051. package/types/plugins/speech-recognize/langs/index.d.ts +20 -20
  1052. package/types/plugins/speech-recognize/speech-recognize.d.ts +3 -3
  1053. package/types/plugins/spellcheck/langs/index.d.ts +20 -20
  1054. package/types/plugins/spellcheck/spellcheck.d.ts +3 -3
  1055. package/types/plugins/stat/stat.d.ts +2 -2
  1056. package/types/plugins/sticky/sticky.d.ts +3 -3
  1057. package/types/plugins/symbols/langs/index.d.ts +20 -20
  1058. package/types/plugins/symbols/symbols.d.ts +3 -3
  1059. package/types/plugins/tab/cases/index.d.ts +1 -1
  1060. package/types/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
  1061. package/types/plugins/tab/tab.d.ts +1 -1
  1062. package/types/plugins/table/table.d.ts +2 -2
  1063. package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  1064. package/types/plugins/video/video.d.ts +1 -1
  1065. package/types/plugins/wrap-nodes/config.d.ts +1 -1
  1066. package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  1067. package/types/plugins/xpath/xpath.d.ts +1 -1
  1068. package/types/types/ajax.d.ts +51 -83
  1069. package/types/types/async.d.ts +34 -74
  1070. package/types/types/context.d.ts +7 -15
  1071. package/types/types/core.d.ts +2 -8
  1072. package/types/types/create.d.ts +38 -89
  1073. package/types/types/dialog.d.ts +23 -40
  1074. package/types/types/events.d.ts +117 -168
  1075. package/types/types/file-browser.d.ts +180 -305
  1076. package/types/types/form.d.ts +2 -4
  1077. package/types/types/history.d.ts +25 -40
  1078. package/types/types/index.d.ts +23 -25
  1079. package/types/types/jodit.d.ts +96 -159
  1080. package/types/types/messages.d.ts +5 -7
  1081. package/types/types/plugin.d.ts +35 -50
  1082. package/types/types/popup.d.ts +13 -30
  1083. package/types/types/select.d.ts +57 -83
  1084. package/types/types/source.d.ts +15 -23
  1085. package/types/types/storage.d.ts +6 -14
  1086. package/types/types/style.d.ts +31 -77
  1087. package/types/types/toolbar.d.ts +238 -352
  1088. package/types/types/traits.d.ts +15 -44
  1089. package/types/types/types.d.ts +150 -238
  1090. package/types/types/ui.d.ts +99 -159
  1091. package/types/types/uploader.d.ts +93 -140
  1092. package/types/types/view.d.ts +86 -146
  1093. package/types/typings.d.ts +2 -4
@@ -3,169 +3,106 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  /**
8
7
  * @module types
9
8
  */
10
-
11
- import { IViewOptions, IViewWithToolbar } from './view';
12
- import type { Config } from 'jodit/config';
13
- import type {
14
- AjaxOptions,
15
- CustomCommand,
16
- ICreate,
17
- IDestructible,
18
- IDlgs,
19
- IHistory,
20
- IResponse,
21
- IStatusBar,
22
- Modes
23
- } from './';
24
- import type { IUploader } from './uploader';
25
- import type { IFileBrowser } from './file-browser';
26
- import type { ISelect } from './select';
27
-
9
+ import { IViewOptions, IViewWithToolbar } from "./view";
10
+ import type { Config } from "jodit/esm/config";
11
+ import type { AjaxOptions, CustomCommand, ICreate, IDestructible, IDlgs, IHistory, IResponse, IStatusBar, Modes } from "./";
12
+ import type { IUploader } from "./uploader";
13
+ import type { IFileBrowser } from "./file-browser";
14
+ import type { ISelect } from "./select";
28
15
  interface IWorkPlace {
29
- editor: HTMLDivElement | HTMLBodyElement;
30
- element: HTMLElement;
31
- container: HTMLDivElement;
32
- workplace: HTMLDivElement;
33
- statusbar: IStatusBar;
34
- iframe?: HTMLIFrameElement | void;
35
- editorWindow: Window;
36
- history: IHistory & IDestructible;
37
- options: IViewOptions;
16
+ editor: HTMLDivElement | HTMLBodyElement;
17
+ element: HTMLElement;
18
+ container: HTMLDivElement;
19
+ workplace: HTMLDivElement;
20
+ statusbar: IStatusBar;
21
+ iframe?: HTMLIFrameElement | void;
22
+ editorWindow: Window;
23
+ history: IHistory & IDestructible;
24
+ options: IViewOptions;
38
25
  }
39
-
40
26
  interface IJodit extends IViewWithToolbar, IDlgs {
41
- readonly isJodit: true;
42
-
43
- readonly options: Config;
44
-
45
- readonly history: IHistory;
46
-
47
- editor: HTMLElement;
48
- readonly element: HTMLElement;
49
-
50
- getNativeEditorValue(): string;
51
- getEditorValue(removeSelectionMarkers?: boolean, consumer?: string): string;
52
- setEditorValue(value?: string): void;
53
-
54
- /**
55
- * @internal
56
- * @private
57
- */
58
- synchronizeValues(): void;
59
-
60
- /**
61
- * This is an internal method, do not use it in your applications.
62
- * @private
63
- */
64
- __imdSynchronizeValues(): void;
65
-
66
- /**
67
- * Only getter
68
- */
69
- getElementValue(): string;
70
-
71
- getReadOnly(): boolean;
72
- setReadOnly(enable: boolean): void;
73
-
74
- readonly places: IWorkPlace[];
75
- readonly currentPlace: IWorkPlace;
76
- addPlace(source: HTMLElement | string, options?: IViewOptions): void;
77
- setCurrentPlace(place: IWorkPlace): void;
78
-
79
- value: string;
80
- readonly text: string;
81
-
82
- readonly editorDocument: HTMLDocument;
83
-
84
- waitForReady(): Promise<IJodit>;
85
-
86
- /**
87
- * Alias for this.ed
88
- */
89
- readonly ed: this['editorDocument'];
90
-
91
- editorWindow: Window;
92
-
93
- /**
94
- * Alias for this.ed
95
- */
96
- readonly ew: this['editorWindow'];
97
-
98
- readonly createInside: ICreate;
99
-
100
- readonly selection: ISelect;
101
-
102
- /**
103
- * Alias for this.selection
104
- */
105
- readonly s: this['selection'];
106
-
107
- /**
108
- * Return current real work mode. When editor in MODE_SOURCE or MODE_WYSIWYG it will
109
- * return them, but then editor in MODE_SPLIT it will return MODE_SOURCE if
110
- * Textarea(CodeMirror) focused or MODE_WYSIWYG otherwise
111
- *
112
- * @example
113
- * ```javascript
114
- * var editor = Jodit.make('#editor');
115
- * console.log(editor.getRealMode());
116
- * ```
117
- */
118
- getRealMode(): Modes;
119
- getMode(): Modes;
120
- readonly mode: Modes;
121
- isEditorMode(): boolean;
122
- toggleMode(): void;
123
-
124
- readonly editorIsActive: boolean;
125
-
126
- focus(): void;
127
- readonly isFocused: boolean;
128
-
129
- fetch<Response extends object = any>(
130
- url: string,
131
- options?: Partial<AjaxOptions>
132
- ): Promise<IResponse<Response>>;
133
-
134
- execCommand(
135
- command: string,
136
- showUI?: any,
137
- value?: null | any,
138
- ...args: unknown[]
139
- ): any;
140
- nativeExecCommand(
141
- command: string,
142
- showUI?: any,
143
- value?: null | any
144
- ): boolean;
145
-
146
- registerCommand<C extends string>(
147
- commandNameOriginal: C,
148
- command: CustomCommand<IJodit, C>,
149
- options?: {
150
- stopPropagation: boolean;
151
- }
152
- ): IJodit;
153
-
154
- registerHotkeyToCommand(
155
- hotkeys: string | string[],
156
- commandName: string,
157
- shouldStop?: boolean
158
- ): void;
159
-
160
- /**
161
- * workplace It contains source and wysiwyg editors
162
- */
163
- readonly workplace: HTMLDivElement;
164
-
165
- readonly statusbar: IStatusBar;
166
-
167
- readonly uploader: IUploader;
168
- readonly filebrowser: IFileBrowser;
169
-
170
- iframe?: HTMLIFrameElement | void;
27
+ readonly isJodit: true;
28
+ readonly options: Config;
29
+ readonly history: IHistory;
30
+ editor: HTMLElement;
31
+ readonly element: HTMLElement;
32
+ getNativeEditorValue(): string;
33
+ getEditorValue(removeSelectionMarkers?: boolean, consumer?: string): string;
34
+ setEditorValue(value?: string): void;
35
+ /**
36
+ * @internal
37
+ * @private
38
+ */
39
+ synchronizeValues(): void;
40
+ /**
41
+ * This is an internal method, do not use it in your applications.
42
+ * @private
43
+ */
44
+ __imdSynchronizeValues(): void;
45
+ /**
46
+ * Only getter
47
+ */
48
+ getElementValue(): string;
49
+ getReadOnly(): boolean;
50
+ setReadOnly(enable: boolean): void;
51
+ readonly places: IWorkPlace[];
52
+ readonly currentPlace: IWorkPlace;
53
+ addPlace(source: HTMLElement | string, options?: IViewOptions): void;
54
+ setCurrentPlace(place: IWorkPlace): void;
55
+ value: string;
56
+ readonly text: string;
57
+ readonly editorDocument: HTMLDocument;
58
+ waitForReady(): Promise<IJodit>;
59
+ /**
60
+ * Alias for this.ed
61
+ */
62
+ readonly ed: this['editorDocument'];
63
+ editorWindow: Window;
64
+ /**
65
+ * Alias for this.ed
66
+ */
67
+ readonly ew: this['editorWindow'];
68
+ readonly createInside: ICreate;
69
+ readonly selection: ISelect;
70
+ /**
71
+ * Alias for this.selection
72
+ */
73
+ readonly s: this['selection'];
74
+ /**
75
+ * Return current real work mode. When editor in MODE_SOURCE or MODE_WYSIWYG it will
76
+ * return them, but then editor in MODE_SPLIT it will return MODE_SOURCE if
77
+ * Textarea(CodeMirror) focused or MODE_WYSIWYG otherwise
78
+ *
79
+ * @example
80
+ * ```javascript
81
+ * var editor = Jodit.make('#editor');
82
+ * console.log(editor.getRealMode());
83
+ * ```
84
+ */
85
+ getRealMode(): Modes;
86
+ getMode(): Modes;
87
+ readonly mode: Modes;
88
+ isEditorMode(): boolean;
89
+ toggleMode(): void;
90
+ readonly editorIsActive: boolean;
91
+ focus(): void;
92
+ readonly isFocused: boolean;
93
+ fetch<Response extends object = any>(url: string, options?: Partial<AjaxOptions>): Promise<IResponse<Response>>;
94
+ execCommand(command: string, showUI?: any, value?: null | any, ...args: unknown[]): any;
95
+ nativeExecCommand(command: string, showUI?: any, value?: null | any): boolean;
96
+ registerCommand<C extends string>(commandNameOriginal: C, command: CustomCommand<IJodit, C>, options?: {
97
+ stopPropagation: boolean;
98
+ }): IJodit;
99
+ registerHotkeyToCommand(hotkeys: string | string[], commandName: string, shouldStop?: boolean): void;
100
+ /**
101
+ * workplace It contains source and wysiwyg editors
102
+ */
103
+ readonly workplace: HTMLDivElement;
104
+ readonly statusbar: IStatusBar;
105
+ readonly uploader: IUploader;
106
+ readonly filebrowser: IFileBrowser;
107
+ iframe?: HTMLIFrameElement | void;
171
108
  }
@@ -1,10 +1,8 @@
1
- import type { IDestructible } from './types';
2
-
1
+ import type { IDestructible } from "./types";
3
2
  export type MessageVariant = 'info' | 'error' | 'success';
4
-
5
3
  export interface IMessages extends IDestructible {
6
- info(text: string, timeout?: number): void;
7
- success(text: string, timeout?: number): void;
8
- error(text: string, timeout?: number): void;
9
- message(text: string, variant?: MessageVariant, timeout?: number): void;
4
+ info(text: string, timeout?: number): void;
5
+ success(text: string, timeout?: number): void;
6
+ error(text: string, timeout?: number): void;
7
+ message(text: string, variant?: MessageVariant, timeout?: number): void;
10
8
  }
@@ -3,67 +3,52 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  /**
8
7
  * @module types
9
8
  */
10
-
11
- import type { IDestructible, IInitable } from './types';
12
- import type { IViewBased } from './view';
13
- import type { ButtonGroup, IControlType } from './toolbar';
14
-
9
+ import type { IDestructible, IInitable } from "./types";
10
+ import type { IViewBased } from "./view";
11
+ import type { ButtonGroup, IControlType } from "./toolbar";
15
12
  export interface IPluginButton {
16
- name: string;
17
- group?: ButtonGroup;
18
- position?: number;
19
- options?: IControlType;
13
+ name: string;
14
+ group?: ButtonGroup;
15
+ position?: number;
16
+ options?: IControlType;
20
17
  }
21
-
22
- export class IPlugin<T extends IViewBased = IViewBased>
23
- implements IDestructible, IInitable
24
- {
25
- static requires?: string[];
26
-
27
- hasStyle?: boolean;
28
-
29
- /**
30
- * Additional plugin styles can be written simply as inline styles
31
- * ```js
32
- * class A extends Jodit.modules.Plugin {
33
- * styles = 'h1{color: red}';
34
- * }
35
- * ```
36
- * Will only be applied if the plugin is activated
37
- */
38
- styles?: string;
39
-
40
- /**
41
- * Plugin buttons
42
- */
43
- buttons?: IPluginButton[];
44
-
45
- init(jodit: T): void;
46
- destruct(jodit?: T): void;
47
-
48
- constructor(jodit?: T);
18
+ export class IPlugin<T extends IViewBased = IViewBased> implements IDestructible, IInitable {
19
+ static requires?: string[];
20
+ hasStyle?: boolean;
21
+ /**
22
+ * Additional plugin styles can be written simply as inline styles
23
+ * ```js
24
+ * class A extends Jodit.modules.Plugin {
25
+ * styles = 'h1{color: red}';
26
+ * }
27
+ * ```
28
+ * Will only be applied if the plugin is activated
29
+ */
30
+ styles?: string;
31
+ /**
32
+ * Plugin buttons
33
+ */
34
+ buttons?: IPluginButton[];
35
+ init(jodit: T): void;
36
+ destruct(jodit?: T): void;
37
+ constructor(jodit?: T);
49
38
  }
50
-
51
39
  interface PluginFunction {
52
- // eslint-disable-next-line @typescript-eslint/no-misused-new
53
- constructor(jodit: IViewBased): void;
40
+ // eslint-disable-next-line @typescript-eslint/no-misused-new
41
+ constructor(jodit: IViewBased): void;
54
42
  }
55
-
56
43
  export type PluginType = typeof IPlugin | IPlugin | PluginFunction | Function;
57
44
  export type PluginInstance = IPlugin | object;
58
-
59
45
  export interface IExtraPlugin {
60
- name: string;
61
- url?: string;
46
+ name: string;
47
+ url?: string;
62
48
  }
63
-
64
49
  export interface IPluginSystem {
65
- add(name: string, plugin: any): void;
66
- wait(name: string): Promise<void>;
67
- get(name: string): PluginType | void;
68
- remove(name: string): void;
50
+ add(name: string, plugin: any): void;
51
+ wait(name: string): Promise<void>;
52
+ get(name: string): PluginType | void;
53
+ remove(name: string): void;
69
54
  }
@@ -3,38 +3,21 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  /**
8
7
  * @module types
9
8
  */
10
-
11
- import type { IBound, IDestructible } from './types';
12
- import type { IUIElement } from './ui';
13
-
14
- export type PopupStrategy =
15
- | 'leftBottom'
16
- | 'rightBottom'
17
- | 'leftTop'
18
- | 'rightTop';
19
-
9
+ import type { IBound, IDestructible } from "./types";
10
+ import type { IUIElement } from "./ui";
11
+ export type PopupStrategy = 'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop';
20
12
  export interface IPopup extends IUIElement, IDestructible {
21
- container: HTMLElement;
22
-
23
- isOpened: boolean;
24
- strategy: PopupStrategy;
25
- viewBound: () => IBound;
26
-
27
- open(
28
- getBound: () => IBound,
29
- keepPosition?: boolean,
30
- parentContainer?: HTMLElement
31
- ): this;
32
-
33
- setContent(content: IUIElement | HTMLElement | string): this;
34
- updatePosition(): this;
35
-
36
- close(): this;
37
- isOwnClick(e: MouseEvent): boolean;
38
-
39
- setZIndex(index: number): void;
13
+ container: HTMLElement;
14
+ isOpened: boolean;
15
+ strategy: PopupStrategy;
16
+ viewBound: () => IBound;
17
+ open(getBound: () => IBound, keepPosition?: boolean, parentContainer?: HTMLElement): this;
18
+ setContent(content: IUIElement | HTMLElement | string): this;
19
+ updatePosition(): this;
20
+ close(): this;
21
+ isOwnClick(e: MouseEvent): boolean;
22
+ setZIndex(index: number): void;
40
23
  }
@@ -3,94 +3,68 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  /**
8
7
  * @module types
9
8
  */
10
-
11
- import type { CanUndef, HTMLTagNames, IDictionary, Nullable } from './types';
12
- import type { IStyle, IStyleOptions } from './style';
13
-
9
+ import type { CanUndef, HTMLTagNames, IDictionary, Nullable } from "./types";
10
+ import type { IStyle, IStyleOptions } from "./style";
14
11
  export interface MarkerInfo {
15
- startId: string;
16
- endId?: string;
17
- collapsed: boolean;
18
- startMarker: string;
19
- endMarker?: string;
12
+ startId: string;
13
+ endId?: string;
14
+ collapsed: boolean;
15
+ startMarker: string;
16
+ endMarker?: string;
20
17
  }
21
-
22
18
  export type WindowSelection = Selection;
23
-
24
19
  export interface ISelect {
25
- readonly sel: WindowSelection | null;
26
- readonly range: Range;
27
- readonly isInsideArea: boolean;
28
- readonly html: string;
29
-
30
- createRange(select?: boolean): Range;
31
- clear(): void;
32
-
33
- current(checkChild?: boolean): Nullable<Node>;
34
- focus(options?: FocusOptions): boolean;
35
- isFocused(): boolean;
36
-
37
- remove(): void;
38
- removeNode(node: Node): void;
39
-
40
- fakes(): [] | [Node] | [Node, Node];
41
- restoreFakes(fakes: [] | [Node] | [Node, Node]): void;
42
- save(silent?: boolean): MarkerInfo[];
43
- restore(): void;
44
- readonly hasMarkers: boolean;
45
- readonly markers: HTMLElement[];
46
- removeMarkers(): void;
47
- marker(atStart?: boolean, range?: Range): HTMLSpanElement;
48
-
49
- insertNode(
50
- node: Node,
51
- insertCursorAfter?: boolean,
52
- fireChange?: boolean
53
- ): void;
54
- insertHTML(html: number | string | Node, insertCursorAfter?: boolean): void;
55
- insertImage(
56
- url: string | HTMLImageElement,
57
- styles?: Nullable<IDictionary<string>>,
58
- defaultWidth?: Nullable<number | string>
59
- ): void;
60
-
61
- isCollapsed(): boolean;
62
- cursorInTheEdge(
63
- start: boolean,
64
- parentBlock: HTMLElement,
65
- fake?: Node | null
66
- ): Nullable<boolean>;
67
- cursorOnTheLeft(
68
- parentBlock: HTMLElement,
69
- fake?: Node | null
70
- ): Nullable<boolean>;
71
- cursorOnTheRight(
72
- parentBlock: HTMLElement,
73
- fake?: Node | null
74
- ): Nullable<boolean>;
75
-
76
- expandSelection(): ISelect;
77
- insertCursorAtPoint(x: number, y: number): boolean;
78
- setCursorAfter(node: Node): Nullable<Text>;
79
- setCursorBefore(node: Node): Nullable<Text>;
80
- setCursorIn(node: Node, inStart?: boolean): Node;
81
- selectRange(range: Range, focus?: boolean): ISelect;
82
- select(
83
- node: Node | HTMLElement | HTMLTableElement | HTMLTableCellElement,
84
- inward?: boolean
85
- ): ISelect;
86
-
87
- wrapInTagGen(fakes?: Node[]): Generator<HTMLElement, undefined>;
88
- wrapInTag(
89
- tagOrCallback: HTMLTagNames | ((font: HTMLElement) => any)
90
- ): HTMLElement[];
91
-
92
- commitStyle(options: IStyleOptions): void;
93
-
94
- eachSelection(callback: (current: Node) => void): void;
95
- splitSelection(currentBox: HTMLElement, edge?: Node): Nullable<Element>;
20
+ readonly sel: WindowSelection | null;
21
+ readonly range: Range;
22
+ readonly isInsideArea: boolean;
23
+ readonly html: string;
24
+ createRange(select?: boolean): Range;
25
+ clear(): void;
26
+ current(checkChild?: boolean): Nullable<Node>;
27
+ focus(options?: FocusOptions): boolean;
28
+ isFocused(): boolean;
29
+ remove(): void;
30
+ removeNode(node: Node): void;
31
+ fakes(): [
32
+ ] | [
33
+ Node
34
+ ] | [
35
+ Node,
36
+ Node
37
+ ];
38
+ restoreFakes(fakes: [
39
+ ] | [
40
+ Node
41
+ ] | [
42
+ Node,
43
+ Node
44
+ ]): void;
45
+ save(silent?: boolean): MarkerInfo[];
46
+ restore(): void;
47
+ readonly hasMarkers: boolean;
48
+ readonly markers: HTMLElement[];
49
+ removeMarkers(): void;
50
+ marker(atStart?: boolean, range?: Range): HTMLSpanElement;
51
+ insertNode(node: Node, insertCursorAfter?: boolean, fireChange?: boolean): void;
52
+ insertHTML(html: number | string | Node, insertCursorAfter?: boolean): void;
53
+ insertImage(url: string | HTMLImageElement, styles?: Nullable<IDictionary<string>>, defaultWidth?: Nullable<number | string>): void;
54
+ isCollapsed(): boolean;
55
+ cursorInTheEdge(start: boolean, parentBlock: HTMLElement, fake?: Node | null): Nullable<boolean>;
56
+ cursorOnTheLeft(parentBlock: HTMLElement, fake?: Node | null): Nullable<boolean>;
57
+ cursorOnTheRight(parentBlock: HTMLElement, fake?: Node | null): Nullable<boolean>;
58
+ expandSelection(): ISelect;
59
+ insertCursorAtPoint(x: number, y: number): boolean;
60
+ setCursorAfter(node: Node): Nullable<Text>;
61
+ setCursorBefore(node: Node): Nullable<Text>;
62
+ setCursorIn(node: Node, inStart?: boolean): Node;
63
+ selectRange(range: Range, focus?: boolean): ISelect;
64
+ select(node: Node | HTMLElement | HTMLTableElement | HTMLTableCellElement, inward?: boolean): ISelect;
65
+ wrapInTagGen(fakes?: Node[]): Generator<HTMLElement, undefined>;
66
+ wrapInTag(tagOrCallback: HTMLTagNames | ((font: HTMLElement) => any)): HTMLElement[];
67
+ commitStyle(options: IStyleOptions): void;
68
+ eachSelection(callback: (current: Node) => void): void;
69
+ splitSelection(currentBox: HTMLElement, edge?: Node): Nullable<Element>;
96
70
  }
@@ -3,31 +3,23 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  /**
8
7
  * @module types
9
8
  */
10
-
11
- import type { IDestructible, IInitable } from './types';
12
-
9
+ import type { IDestructible, IInitable } from "./types";
13
10
  export interface ISourceEditor extends IDestructible, IInitable {
14
- getValue(): string;
15
- setValue(raw: string): void;
16
- insertRaw(raw: string): void;
17
- getSelectionEnd(): number;
18
- getSelectionStart(): number;
19
- setSelectionRange(start: number, end: number): void;
20
-
21
- setPlaceHolder(title: string): void;
22
-
23
- readonly isFocused: boolean;
24
- focus(): void;
25
- blur(): void;
26
-
27
- setReadOnly(isReadOnly: boolean): void;
28
-
29
- selectAll(): void;
30
-
31
- isReady: boolean;
32
- onReadyAlways(callback: Function): void;
11
+ getValue(): string;
12
+ setValue(raw: string): void;
13
+ insertRaw(raw: string): void;
14
+ getSelectionEnd(): number;
15
+ getSelectionStart(): number;
16
+ setSelectionRange(start: number, end: number): void;
17
+ setPlaceHolder(title: string): void;
18
+ readonly isFocused: boolean;
19
+ focus(): void;
20
+ blur(): void;
21
+ setReadOnly(isReadOnly: boolean): void;
22
+ selectAll(): void;
23
+ isReady: boolean;
24
+ onReadyAlways(callback: Function): void;
33
25
  }
@@ -3,22 +3,14 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  /**
8
7
  * @module types
9
8
  */
10
-
11
- export type StorageValueType =
12
- | string
13
- | number
14
- | boolean
15
- | object
16
- | StorageValueType[];
17
-
9
+ export type StorageValueType = string | number | boolean | object | StorageValueType[];
18
10
  export interface IStorage<T = StorageValueType> {
19
- set(key: string, value: T): IStorage<T>;
20
- delete(key: string): IStorage<T>;
21
- get<R = T>(key: string): R | void;
22
- exists(key: string): boolean;
23
- clear(): IStorage<T>;
11
+ set(key: string, value: T): IStorage<T>;
12
+ delete(key: string): IStorage<T>;
13
+ get<R = T>(key: string): R | void;
14
+ exists(key: string): boolean;
15
+ clear(): IStorage<T>;
24
16
  }