jodit 4.4.1 → 4.4.3

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 (646) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +2 -2
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/debug/debug.css +1 -1
  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.css +1 -1
  16. package/es2018/plugins/debug/debug.js +1 -1
  17. package/es2018/plugins/debug/debug.min.js +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  21. package/es2021/jodit.css +1 -1
  22. package/es2021/jodit.fat.min.js +2 -2
  23. package/es2021/jodit.js +2 -2
  24. package/es2021/jodit.min.js +2 -2
  25. package/es2021/plugins/debug/debug.css +1 -1
  26. package/es2021/plugins/debug/debug.js +1 -1
  27. package/es2021/plugins/debug/debug.min.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  31. package/es2021.en/jodit.css +1 -1
  32. package/es2021.en/jodit.fat.min.js +2 -2
  33. package/es2021.en/jodit.js +2 -2
  34. package/es2021.en/jodit.min.js +2 -2
  35. package/es2021.en/plugins/debug/debug.css +1 -1
  36. package/es2021.en/plugins/debug/debug.js +1 -1
  37. package/es2021.en/plugins/debug/debug.min.js +1 -1
  38. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  39. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  40. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  41. package/es5/5.fat.min.js +1 -1
  42. package/es5/5.min.js +1 -1
  43. package/es5/975.fat.min.js +1 -1
  44. package/es5/975.min.js +1 -1
  45. package/es5/jodit.css +2 -2
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +2 -2
  48. package/es5/jodit.min.css +2 -2
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/esm/config.d.ts +852 -6
  57. package/esm/core/async/async.d.ts +1 -1
  58. package/esm/core/component/component.d.ts +1 -1
  59. package/esm/core/component/view-component.d.ts +1 -1
  60. package/esm/core/constants.d.ts +1 -1
  61. package/esm/core/constants.js +1 -1
  62. package/esm/core/create/create.d.ts +1 -1
  63. package/esm/core/decorators/cache/cache.d.ts +1 -1
  64. package/esm/core/decorators/debounce/debounce.d.ts +1 -1
  65. package/esm/core/decorators/hook/hook.d.ts +2 -2
  66. package/esm/core/decorators/idle/idle.d.ts +1 -1
  67. package/esm/core/decorators/persistent/persistent.d.ts +1 -1
  68. package/esm/core/decorators/wait/wait.d.ts +1 -1
  69. package/esm/core/decorators/watch/watch.d.ts +1 -1
  70. package/esm/core/dom/dom.d.ts +1 -1
  71. package/esm/core/dom/lazy-walker.d.ts +1 -1
  72. package/esm/core/event-emitter/event-emitter.d.ts +1 -1
  73. package/esm/core/event-emitter/eventify.d.ts +1 -1
  74. package/esm/core/event-emitter/observable.d.ts +1 -1
  75. package/esm/core/event-emitter/store.d.ts +1 -1
  76. package/esm/core/global.d.ts +2 -2
  77. package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
  78. package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
  79. package/esm/core/helpers/checker/is-marker.d.ts +1 -1
  80. package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
  81. package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
  82. package/esm/core/helpers/html/strip-tags.d.ts +1 -1
  83. package/esm/core/helpers/index.d.ts +9 -9
  84. package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
  85. package/esm/core/helpers/size/object-size.d.ts +1 -1
  86. package/esm/core/helpers/size/offset.d.ts +1 -1
  87. package/esm/core/helpers/size/position.d.ts +1 -1
  88. package/esm/core/helpers/string/i18n.d.ts +1 -1
  89. package/esm/core/helpers/utils/align.d.ts +1 -1
  90. package/esm/core/helpers/utils/append-script.d.ts +1 -1
  91. package/esm/core/helpers/utils/attr.d.ts +1 -1
  92. package/esm/core/helpers/utils/build-query.d.ts +1 -1
  93. package/esm/core/helpers/utils/config-proto.d.ts +1 -1
  94. package/esm/core/helpers/utils/css.d.ts +1 -1
  95. package/esm/core/helpers/utils/data-bind.d.ts +1 -1
  96. package/esm/core/helpers/utils/error/index.d.ts +1 -1
  97. package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
  98. package/esm/core/helpers/utils/get.d.ts +1 -1
  99. package/esm/core/helpers/utils/index.d.ts +1 -1
  100. package/esm/core/helpers/utils/parse-query.d.ts +1 -1
  101. package/esm/core/helpers/utils/print.d.ts +1 -1
  102. package/esm/core/helpers/utils/reset.d.ts +1 -1
  103. package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
  104. package/esm/core/helpers/utils/selector.d.ts +1 -1
  105. package/esm/core/helpers/utils/set.d.ts +1 -1
  106. package/esm/core/helpers/utils/stack.d.ts +1 -1
  107. package/esm/core/helpers/utils/utils.d.ts +1 -1
  108. package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
  109. package/esm/core/plugin/helpers/load.d.ts +1 -1
  110. package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
  111. package/esm/core/plugin/plugin-system.d.ts +1 -1
  112. package/esm/core/plugin/plugin.d.ts +2 -2
  113. package/esm/core/request/ajax.d.ts +1 -1
  114. package/esm/core/request/config.d.ts +1 -1
  115. package/esm/core/request/response.d.ts +1 -1
  116. package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
  117. package/esm/core/selection/interface.d.ts +1 -1
  118. package/esm/core/selection/selection.d.ts +1 -1
  119. package/esm/core/selection/style/api/extract.d.ts +1 -1
  120. package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
  121. package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
  122. package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
  123. package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
  124. package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
  125. package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
  126. package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
  127. package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
  128. package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
  129. package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
  130. package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
  131. package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  132. package/esm/core/selection/style/api/wrap.d.ts +1 -1
  133. package/esm/core/selection/style/apply-style.d.ts +1 -1
  134. package/esm/core/selection/style/commit-style.d.ts +1 -1
  135. package/esm/core/selection/style/transactions.d.ts +1 -1
  136. package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
  137. package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
  138. package/esm/core/storage/storage.d.ts +1 -1
  139. package/esm/core/traits/dlgs.d.ts +1 -1
  140. package/esm/core/traits/elms.d.ts +1 -1
  141. package/esm/core/traits/mods.d.ts +1 -1
  142. package/esm/core/ui/button/button/button.d.ts +1 -1
  143. package/esm/core/ui/button/group/group.d.ts +1 -1
  144. package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -1
  145. package/esm/core/ui/element.d.ts +2 -2
  146. package/esm/core/ui/form/block/block.d.ts +1 -1
  147. package/esm/core/ui/form/form.d.ts +1 -1
  148. package/esm/core/ui/form/index.d.ts +1 -1
  149. package/esm/core/ui/form/inputs/area/area.d.ts +1 -1
  150. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -1
  151. package/esm/core/ui/form/inputs/file/file.d.ts +1 -1
  152. package/esm/core/ui/form/inputs/input/input.d.ts +1 -1
  153. package/esm/core/ui/form/inputs/select/select.d.ts +1 -1
  154. package/esm/core/ui/form/validators/input.d.ts +1 -1
  155. package/esm/core/ui/form/validators/select.d.ts +1 -1
  156. package/esm/core/ui/group/group.d.ts +1 -1
  157. package/esm/core/ui/group/list.d.ts +1 -1
  158. package/esm/core/ui/helpers/buttons.d.ts +1 -1
  159. package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
  160. package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  161. package/esm/core/ui/icon.d.ts +1 -1
  162. package/esm/core/ui/index.d.ts +4 -4
  163. package/esm/core/ui/popup/popup.d.ts +1 -1
  164. package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -1
  165. package/esm/core/view/view-with-toolbar.d.ts +1 -1
  166. package/esm/core/view/view.d.ts +1 -1
  167. package/esm/jodit.d.ts +3 -3
  168. package/esm/languages.d.ts +1 -1
  169. package/esm/modules/context-menu/context-menu.d.ts +1 -1
  170. package/esm/modules/dialog/alert.d.ts +1 -1
  171. package/esm/modules/dialog/confirm.d.ts +1 -1
  172. package/esm/modules/dialog/dialog.d.ts +1 -1
  173. package/esm/modules/dialog/prompt.d.ts +1 -1
  174. package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
  175. package/esm/modules/file-browser/builders/elements-map.d.ts +1 -1
  176. package/esm/modules/file-browser/builders/item.d.ts +1 -1
  177. package/esm/modules/file-browser/config.d.ts +1 -1
  178. package/esm/modules/file-browser/data-provider.d.ts +1 -1
  179. package/esm/modules/file-browser/factories.d.ts +1 -1
  180. package/esm/modules/file-browser/fetch/delete-file.d.ts +1 -1
  181. package/esm/modules/file-browser/fetch/load-items.d.ts +1 -1
  182. package/esm/modules/file-browser/fetch/load-tree.d.ts +1 -1
  183. package/esm/modules/file-browser/file-browser.d.ts +3 -3
  184. package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  185. package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  186. package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  187. package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
  188. package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
  189. package/esm/modules/history/command.d.ts +1 -1
  190. package/esm/modules/history/history.d.ts +2 -2
  191. package/esm/modules/history/snapshot.d.ts +2 -2
  192. package/esm/modules/history/stack.d.ts +1 -1
  193. package/esm/modules/image-editor/config.d.ts +1 -1
  194. package/esm/modules/image-editor/image-editor.d.ts +2 -2
  195. package/esm/modules/image-editor/templates/form.d.ts +1 -1
  196. package/esm/modules/index.d.ts +13 -13
  197. package/esm/modules/messages/message.d.ts +2 -2
  198. package/esm/modules/messages/messages.d.ts +1 -1
  199. package/esm/modules/status-bar/status-bar.d.ts +2 -2
  200. package/esm/modules/table/table.d.ts +2 -2
  201. package/esm/modules/toolbar/button/button.d.ts +5 -5
  202. package/esm/modules/toolbar/button/content.d.ts +2 -2
  203. package/esm/modules/toolbar/button/select/select.d.ts +1 -1
  204. package/esm/modules/toolbar/collection/collection.d.ts +2 -2
  205. package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
  206. package/esm/modules/toolbar/factory.d.ts +1 -1
  207. package/esm/modules/uploader/config.d.ts +1 -1
  208. package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
  209. package/esm/modules/uploader/helpers/index.d.ts +1 -1
  210. package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
  211. package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
  212. package/esm/modules/uploader/helpers/send.d.ts +2 -2
  213. package/esm/modules/uploader/uploader.d.ts +2 -2
  214. package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
  215. package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
  216. package/esm/modules/widget/tabs/tabs.d.ts +2 -2
  217. package/esm/plugins/add-new-line/add-new-line.d.ts +2 -2
  218. package/esm/plugins/add-new-line/config.d.ts +1 -1
  219. package/esm/plugins/ai-assistant/ai-assistant.d.ts +1 -1
  220. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
  221. package/esm/plugins/backspace/backspace.d.ts +2 -2
  222. package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
  223. package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
  224. package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
  225. package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  226. package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  227. package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  228. package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  229. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  230. package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
  231. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  232. package/esm/plugins/backspace/helpers.d.ts +1 -1
  233. package/esm/plugins/bold/bold.d.ts +1 -1
  234. package/esm/plugins/class-span/class-span.d.ts +2 -2
  235. package/esm/plugins/clean-html/clean-html.d.ts +1 -1
  236. package/esm/plugins/clean-html/config.d.ts +1 -1
  237. package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
  238. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
  239. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
  240. package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
  241. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
  242. package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
  243. package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
  244. package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
  245. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
  246. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
  247. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
  248. package/esm/plugins/clipboard/clipboard.d.ts +2 -2
  249. package/esm/plugins/color/color.d.ts +1 -1
  250. package/esm/plugins/copy-format/copy-format.d.ts +1 -1
  251. package/esm/plugins/debug/debug.d.ts +1 -1
  252. package/esm/plugins/delete/delete.d.ts +2 -2
  253. package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
  254. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  255. package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
  256. package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
  257. package/esm/plugins/dtd/config.d.ts +1 -1
  258. package/esm/plugins/enter/enter.d.ts +1 -1
  259. package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
  260. package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
  261. package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
  262. package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
  263. package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
  264. package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
  265. package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
  266. package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
  267. package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
  268. package/esm/plugins/file/file.d.ts +1 -1
  269. package/esm/plugins/focus/focus.d.ts +1 -1
  270. package/esm/plugins/font/font.d.ts +1 -1
  271. package/esm/plugins/format-block/format-block.d.ts +1 -1
  272. package/esm/plugins/fullsize/fullsize.d.ts +1 -1
  273. package/esm/plugins/hotkeys/config.d.ts +1 -1
  274. package/esm/plugins/hotkeys/hotkeys.d.ts +2 -2
  275. package/esm/plugins/hr/hr.d.ts +1 -1
  276. package/esm/plugins/iframe/iframe.d.ts +1 -1
  277. package/esm/plugins/image/image.d.ts +1 -1
  278. package/esm/plugins/image-processor/image-processor.d.ts +2 -2
  279. package/esm/plugins/image-properties/image-properties.d.ts +1 -1
  280. package/esm/plugins/image-properties/interface.d.ts +1 -1
  281. package/esm/plugins/image-properties/readers/index.d.ts +1 -1
  282. package/esm/plugins/image-properties/readers/link.d.ts +1 -1
  283. package/esm/plugins/image-properties/ui/ui-image-form.d.ts +1 -1
  284. package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +1 -1
  285. package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +1 -1
  286. package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  287. package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  288. package/esm/plugins/image-properties/writers/index.d.ts +1 -1
  289. package/esm/plugins/image-properties/writers/link.d.ts +1 -1
  290. package/esm/plugins/image-properties/writers/margin.d.ts +1 -1
  291. package/esm/plugins/indent/indent.d.ts +1 -1
  292. package/esm/plugins/inline-popup/config/config.d.ts +1 -1
  293. package/esm/plugins/inline-popup/config/items/a.d.ts +1 -1
  294. package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
  295. package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
  296. package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
  297. package/esm/plugins/inline-popup/inline-popup.d.ts +2 -2
  298. package/esm/plugins/justify/justify.d.ts +1 -1
  299. package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
  300. package/esm/plugins/limit/limit.d.ts +2 -2
  301. package/esm/plugins/line-height/line-height.d.ts +2 -2
  302. package/esm/plugins/link/config.d.ts +1 -1
  303. package/esm/plugins/link/link.d.ts +2 -2
  304. package/esm/plugins/link/template.d.ts +1 -1
  305. package/esm/plugins/media/media.d.ts +1 -1
  306. package/esm/plugins/mobile/config.d.ts +1 -1
  307. package/esm/plugins/mobile/mobile.d.ts +1 -1
  308. package/esm/plugins/ordered-list/ordered-list.d.ts +2 -2
  309. package/esm/plugins/paste/config.d.ts +1 -1
  310. package/esm/plugins/paste/helpers.d.ts +1 -1
  311. package/esm/plugins/paste/interface.d.ts +1 -1
  312. package/esm/plugins/paste/paste.d.ts +1 -1
  313. package/esm/plugins/paste-from-word/config.d.ts +1 -1
  314. package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  315. package/esm/plugins/placeholder/placeholder.d.ts +1 -1
  316. package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
  317. package/esm/plugins/preview/preview.d.ts +1 -1
  318. package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
  319. package/esm/plugins/print/print.d.ts +1 -1
  320. package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
  321. package/esm/plugins/resize-cells/resize-cells.d.ts +2 -2
  322. package/esm/plugins/resize-handler/resize-handler.d.ts +2 -2
  323. package/esm/plugins/resizer/config.d.ts +1 -1
  324. package/esm/plugins/resizer/resizer.d.ts +1 -1
  325. package/esm/plugins/search/config.d.ts +1 -1
  326. package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
  327. package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
  328. package/esm/plugins/search/search.d.ts +3 -3
  329. package/esm/plugins/search/ui/search.d.ts +2 -2
  330. package/esm/plugins/select/select.d.ts +2 -2
  331. package/esm/plugins/select-cells/select-cells.d.ts +2 -2
  332. package/esm/plugins/size/size.d.ts +1 -1
  333. package/esm/plugins/source/config.d.ts +1 -1
  334. package/esm/plugins/source/editor/engines/ace.d.ts +1 -1
  335. package/esm/plugins/source/editor/engines/area.d.ts +1 -1
  336. package/esm/plugins/source/editor/factory.d.ts +1 -1
  337. package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
  338. package/esm/plugins/source/source.d.ts +2 -2
  339. package/esm/plugins/speech-recognize/config.d.ts +1 -1
  340. package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
  341. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +1 -1
  342. package/esm/plugins/speech-recognize/speech-recognize.d.ts +2 -2
  343. package/esm/plugins/spellcheck/spellcheck.d.ts +2 -2
  344. package/esm/plugins/sticky/sticky.d.ts +1 -1
  345. package/esm/plugins/symbols/symbols.d.ts +1 -1
  346. package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
  347. package/esm/plugins/table/table.d.ts +1 -1
  348. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  349. package/esm/plugins/wrap-nodes/config.d.ts +1 -1
  350. package/esm/types/jodit.d.ts +1 -1
  351. package/package.json +1 -1
  352. package/types/config.d.ts +852 -6
  353. package/types/core/async/async.d.ts +1 -1
  354. package/types/core/component/component.d.ts +1 -1
  355. package/types/core/component/view-component.d.ts +1 -1
  356. package/types/core/constants.d.ts +1 -1
  357. package/types/core/create/create.d.ts +1 -1
  358. package/types/core/decorators/cache/cache.d.ts +1 -1
  359. package/types/core/decorators/debounce/debounce.d.ts +1 -1
  360. package/types/core/decorators/hook/hook.d.ts +2 -2
  361. package/types/core/decorators/idle/idle.d.ts +1 -1
  362. package/types/core/decorators/persistent/persistent.d.ts +1 -1
  363. package/types/core/decorators/wait/wait.d.ts +1 -1
  364. package/types/core/decorators/watch/watch.d.ts +1 -1
  365. package/types/core/dom/dom.d.ts +1 -1
  366. package/types/core/dom/lazy-walker.d.ts +1 -1
  367. package/types/core/event-emitter/event-emitter.d.ts +1 -1
  368. package/types/core/event-emitter/eventify.d.ts +1 -1
  369. package/types/core/event-emitter/observable.d.ts +1 -1
  370. package/types/core/event-emitter/store.d.ts +1 -1
  371. package/types/core/global.d.ts +2 -2
  372. package/types/core/helpers/checker/is-imp-interface.d.ts +1 -1
  373. package/types/core/helpers/checker/is-jodit-object.d.ts +1 -1
  374. package/types/core/helpers/checker/is-marker.d.ts +1 -1
  375. package/types/core/helpers/checker/is-plain-object.d.ts +1 -1
  376. package/types/core/helpers/checker/is-view-object.d.ts +1 -1
  377. package/types/core/helpers/html/strip-tags.d.ts +1 -1
  378. package/types/core/helpers/index.d.ts +9 -9
  379. package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
  380. package/types/core/helpers/size/object-size.d.ts +1 -1
  381. package/types/core/helpers/size/offset.d.ts +1 -1
  382. package/types/core/helpers/size/position.d.ts +1 -1
  383. package/types/core/helpers/string/i18n.d.ts +1 -1
  384. package/types/core/helpers/utils/align.d.ts +1 -1
  385. package/types/core/helpers/utils/append-script.d.ts +1 -1
  386. package/types/core/helpers/utils/attr.d.ts +1 -1
  387. package/types/core/helpers/utils/build-query.d.ts +1 -1
  388. package/types/core/helpers/utils/config-proto.d.ts +1 -1
  389. package/types/core/helpers/utils/css.d.ts +1 -1
  390. package/types/core/helpers/utils/data-bind.d.ts +1 -1
  391. package/types/core/helpers/utils/error/index.d.ts +1 -1
  392. package/types/core/helpers/utils/get-class-name.d.ts +1 -1
  393. package/types/core/helpers/utils/get.d.ts +1 -1
  394. package/types/core/helpers/utils/index.d.ts +1 -1
  395. package/types/core/helpers/utils/parse-query.d.ts +1 -1
  396. package/types/core/helpers/utils/print.d.ts +1 -1
  397. package/types/core/helpers/utils/reset.d.ts +1 -1
  398. package/types/core/helpers/utils/scroll-into-view.d.ts +1 -1
  399. package/types/core/helpers/utils/selector.d.ts +1 -1
  400. package/types/core/helpers/utils/set.d.ts +1 -1
  401. package/types/core/helpers/utils/stack.d.ts +1 -1
  402. package/types/core/helpers/utils/utils.d.ts +1 -1
  403. package/types/core/plugin/helpers/init-instance.d.ts +1 -1
  404. package/types/core/plugin/helpers/load.d.ts +1 -1
  405. package/types/core/plugin/helpers/make-instance.d.ts +1 -1
  406. package/types/core/plugin/plugin-system.d.ts +1 -1
  407. package/types/core/plugin/plugin.d.ts +2 -2
  408. package/types/core/request/ajax.d.ts +1 -1
  409. package/types/core/request/config.d.ts +1 -1
  410. package/types/core/request/response.d.ts +1 -1
  411. package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
  412. package/types/core/selection/interface.d.ts +1 -1
  413. package/types/core/selection/selection.d.ts +1 -1
  414. package/types/core/selection/style/api/extract.d.ts +1 -1
  415. package/types/core/selection/style/api/finite-state-machine.d.ts +1 -1
  416. package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
  417. package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
  418. package/types/core/selection/style/api/has-same-style.d.ts +1 -1
  419. package/types/core/selection/style/api/is-normal-node.d.ts +1 -1
  420. package/types/core/selection/style/api/is-same-attributes.d.ts +1 -1
  421. package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
  422. package/types/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
  423. package/types/core/selection/style/api/list/wrap-list.d.ts +1 -1
  424. package/types/core/selection/style/api/toggle-attributes.d.ts +1 -1
  425. package/types/core/selection/style/api/unwrap-children.d.ts +1 -1
  426. package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  427. package/types/core/selection/style/api/wrap.d.ts +1 -1
  428. package/types/core/selection/style/apply-style.d.ts +1 -1
  429. package/types/core/selection/style/commit-style.d.ts +1 -1
  430. package/types/core/selection/style/transactions.d.ts +1 -1
  431. package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
  432. package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
  433. package/types/core/storage/storage.d.ts +1 -1
  434. package/types/core/traits/dlgs.d.ts +1 -1
  435. package/types/core/traits/elms.d.ts +1 -1
  436. package/types/core/traits/mods.d.ts +1 -1
  437. package/types/core/ui/button/button/button.d.ts +1 -1
  438. package/types/core/ui/button/group/group.d.ts +1 -1
  439. package/types/core/ui/button/tooltip/tooltip.d.ts +1 -1
  440. package/types/core/ui/element.d.ts +2 -2
  441. package/types/core/ui/form/block/block.d.ts +1 -1
  442. package/types/core/ui/form/form.d.ts +1 -1
  443. package/types/core/ui/form/index.d.ts +1 -1
  444. package/types/core/ui/form/inputs/area/area.d.ts +1 -1
  445. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -1
  446. package/types/core/ui/form/inputs/file/file.d.ts +1 -1
  447. package/types/core/ui/form/inputs/input/input.d.ts +1 -1
  448. package/types/core/ui/form/inputs/select/select.d.ts +1 -1
  449. package/types/core/ui/form/validators/input.d.ts +1 -1
  450. package/types/core/ui/form/validators/select.d.ts +1 -1
  451. package/types/core/ui/group/group.d.ts +1 -1
  452. package/types/core/ui/group/list.d.ts +1 -1
  453. package/types/core/ui/helpers/buttons.d.ts +1 -1
  454. package/types/core/ui/helpers/get-control-type.d.ts +1 -1
  455. package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  456. package/types/core/ui/icon.d.ts +1 -1
  457. package/types/core/ui/index.d.ts +4 -4
  458. package/types/core/ui/popup/popup.d.ts +1 -1
  459. package/types/core/ui/progress-bar/progress-bar.d.ts +1 -1
  460. package/types/core/view/view-with-toolbar.d.ts +1 -1
  461. package/types/core/view/view.d.ts +1 -1
  462. package/types/jodit.d.ts +3 -3
  463. package/types/languages.d.ts +1 -1
  464. package/types/modules/context-menu/context-menu.d.ts +1 -1
  465. package/types/modules/dialog/alert.d.ts +1 -1
  466. package/types/modules/dialog/confirm.d.ts +1 -1
  467. package/types/modules/dialog/dialog.d.ts +1 -1
  468. package/types/modules/dialog/prompt.d.ts +1 -1
  469. package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
  470. package/types/modules/file-browser/builders/elements-map.d.ts +1 -1
  471. package/types/modules/file-browser/builders/item.d.ts +1 -1
  472. package/types/modules/file-browser/config.d.ts +1 -1
  473. package/types/modules/file-browser/data-provider.d.ts +1 -1
  474. package/types/modules/file-browser/factories.d.ts +1 -1
  475. package/types/modules/file-browser/fetch/delete-file.d.ts +1 -1
  476. package/types/modules/file-browser/fetch/load-items.d.ts +1 -1
  477. package/types/modules/file-browser/fetch/load-tree.d.ts +1 -1
  478. package/types/modules/file-browser/file-browser.d.ts +3 -3
  479. package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  480. package/types/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  481. package/types/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  482. package/types/modules/file-browser/ui/files/files.d.ts +1 -1
  483. package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
  484. package/types/modules/history/command.d.ts +1 -1
  485. package/types/modules/history/history.d.ts +2 -2
  486. package/types/modules/history/snapshot.d.ts +2 -2
  487. package/types/modules/history/stack.d.ts +1 -1
  488. package/types/modules/image-editor/config.d.ts +1 -1
  489. package/types/modules/image-editor/image-editor.d.ts +2 -2
  490. package/types/modules/image-editor/templates/form.d.ts +1 -1
  491. package/types/modules/index.d.ts +13 -13
  492. package/types/modules/messages/message.d.ts +2 -2
  493. package/types/modules/messages/messages.d.ts +1 -1
  494. package/types/modules/status-bar/status-bar.d.ts +2 -2
  495. package/types/modules/table/table.d.ts +2 -2
  496. package/types/modules/toolbar/button/button.d.ts +5 -5
  497. package/types/modules/toolbar/button/content.d.ts +2 -2
  498. package/types/modules/toolbar/button/select/select.d.ts +1 -1
  499. package/types/modules/toolbar/collection/collection.d.ts +2 -2
  500. package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
  501. package/types/modules/toolbar/factory.d.ts +1 -1
  502. package/types/modules/uploader/config.d.ts +1 -1
  503. package/types/modules/uploader/helpers/build-data.d.ts +1 -1
  504. package/types/modules/uploader/helpers/index.d.ts +1 -1
  505. package/types/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
  506. package/types/modules/uploader/helpers/send-files.d.ts +1 -1
  507. package/types/modules/uploader/helpers/send.d.ts +2 -2
  508. package/types/modules/uploader/uploader.d.ts +2 -2
  509. package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
  510. package/types/modules/widget/file-selector/file-selector.d.ts +1 -1
  511. package/types/modules/widget/tabs/tabs.d.ts +2 -2
  512. package/types/plugins/add-new-line/add-new-line.d.ts +2 -2
  513. package/types/plugins/add-new-line/config.d.ts +1 -1
  514. package/types/plugins/ai-assistant/ai-assistant.d.ts +1 -1
  515. package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
  516. package/types/plugins/backspace/backspace.d.ts +2 -2
  517. package/types/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
  518. package/types/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
  519. package/types/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
  520. package/types/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  521. package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  522. package/types/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  523. package/types/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  524. package/types/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  525. package/types/plugins/backspace/cases/check-table-cell.d.ts +1 -1
  526. package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  527. package/types/plugins/backspace/helpers.d.ts +1 -1
  528. package/types/plugins/bold/bold.d.ts +1 -1
  529. package/types/plugins/class-span/class-span.d.ts +2 -2
  530. package/types/plugins/clean-html/clean-html.d.ts +1 -1
  531. package/types/plugins/clean-html/config.d.ts +1 -1
  532. package/types/plugins/clean-html/helpers/get-hash.d.ts +1 -1
  533. package/types/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
  534. package/types/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
  535. package/types/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
  536. package/types/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
  537. package/types/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
  538. package/types/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
  539. package/types/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
  540. package/types/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
  541. package/types/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
  542. package/types/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
  543. package/types/plugins/clipboard/clipboard.d.ts +2 -2
  544. package/types/plugins/color/color.d.ts +1 -1
  545. package/types/plugins/copy-format/copy-format.d.ts +1 -1
  546. package/types/plugins/debug/debug.d.ts +1 -1
  547. package/types/plugins/delete/delete.d.ts +2 -2
  548. package/types/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
  549. package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  550. package/types/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
  551. package/types/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
  552. package/types/plugins/dtd/config.d.ts +1 -1
  553. package/types/plugins/enter/enter.d.ts +1 -1
  554. package/types/plugins/enter/helpers/check-br.d.ts +1 -1
  555. package/types/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
  556. package/types/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
  557. package/types/plugins/enter/helpers/has-previous-block.d.ts +1 -1
  558. package/types/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
  559. package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
  560. package/types/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
  561. package/types/plugins/enter/helpers/split-fragment.d.ts +1 -1
  562. package/types/plugins/enter/helpers/wrap-text.d.ts +1 -1
  563. package/types/plugins/file/file.d.ts +1 -1
  564. package/types/plugins/focus/focus.d.ts +1 -1
  565. package/types/plugins/font/font.d.ts +1 -1
  566. package/types/plugins/format-block/format-block.d.ts +1 -1
  567. package/types/plugins/fullsize/fullsize.d.ts +1 -1
  568. package/types/plugins/hotkeys/config.d.ts +1 -1
  569. package/types/plugins/hotkeys/hotkeys.d.ts +2 -2
  570. package/types/plugins/hr/hr.d.ts +1 -1
  571. package/types/plugins/iframe/iframe.d.ts +1 -1
  572. package/types/plugins/image/image.d.ts +1 -1
  573. package/types/plugins/image-processor/image-processor.d.ts +2 -2
  574. package/types/plugins/image-properties/image-properties.d.ts +1 -1
  575. package/types/plugins/image-properties/interface.d.ts +1 -1
  576. package/types/plugins/image-properties/readers/index.d.ts +1 -1
  577. package/types/plugins/image-properties/readers/link.d.ts +1 -1
  578. package/types/plugins/image-properties/ui/ui-image-form.d.ts +1 -1
  579. package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +1 -1
  580. package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +1 -1
  581. package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  582. package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  583. package/types/plugins/image-properties/writers/index.d.ts +1 -1
  584. package/types/plugins/image-properties/writers/link.d.ts +1 -1
  585. package/types/plugins/image-properties/writers/margin.d.ts +1 -1
  586. package/types/plugins/indent/indent.d.ts +1 -1
  587. package/types/plugins/inline-popup/config/config.d.ts +1 -1
  588. package/types/plugins/inline-popup/config/items/a.d.ts +1 -1
  589. package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
  590. package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
  591. package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
  592. package/types/plugins/inline-popup/inline-popup.d.ts +2 -2
  593. package/types/plugins/justify/justify.d.ts +1 -1
  594. package/types/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
  595. package/types/plugins/limit/limit.d.ts +2 -2
  596. package/types/plugins/line-height/line-height.d.ts +2 -2
  597. package/types/plugins/link/config.d.ts +1 -1
  598. package/types/plugins/link/link.d.ts +2 -2
  599. package/types/plugins/link/template.d.ts +1 -1
  600. package/types/plugins/media/media.d.ts +1 -1
  601. package/types/plugins/mobile/config.d.ts +1 -1
  602. package/types/plugins/mobile/mobile.d.ts +1 -1
  603. package/types/plugins/ordered-list/ordered-list.d.ts +2 -2
  604. package/types/plugins/paste/config.d.ts +1 -1
  605. package/types/plugins/paste/helpers.d.ts +1 -1
  606. package/types/plugins/paste/interface.d.ts +1 -1
  607. package/types/plugins/paste/paste.d.ts +1 -1
  608. package/types/plugins/paste-from-word/config.d.ts +1 -1
  609. package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  610. package/types/plugins/placeholder/placeholder.d.ts +1 -1
  611. package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
  612. package/types/plugins/preview/preview.d.ts +1 -1
  613. package/types/plugins/print/lib/generate-critical-css.d.ts +1 -1
  614. package/types/plugins/print/print.d.ts +1 -1
  615. package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
  616. package/types/plugins/resize-cells/resize-cells.d.ts +2 -2
  617. package/types/plugins/resize-handler/resize-handler.d.ts +2 -2
  618. package/types/plugins/resizer/config.d.ts +1 -1
  619. package/types/plugins/resizer/resizer.d.ts +1 -1
  620. package/types/plugins/search/config.d.ts +1 -1
  621. package/types/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
  622. package/types/plugins/search/helpers/sentence-finder.d.ts +1 -1
  623. package/types/plugins/search/search.d.ts +3 -3
  624. package/types/plugins/search/ui/search.d.ts +2 -2
  625. package/types/plugins/select/select.d.ts +2 -2
  626. package/types/plugins/select-cells/select-cells.d.ts +2 -2
  627. package/types/plugins/size/size.d.ts +1 -1
  628. package/types/plugins/source/config.d.ts +1 -1
  629. package/types/plugins/source/editor/engines/ace.d.ts +1 -1
  630. package/types/plugins/source/editor/engines/area.d.ts +1 -1
  631. package/types/plugins/source/editor/factory.d.ts +1 -1
  632. package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
  633. package/types/plugins/source/source.d.ts +2 -2
  634. package/types/plugins/speech-recognize/config.d.ts +1 -1
  635. package/types/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
  636. package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +1 -1
  637. package/types/plugins/speech-recognize/speech-recognize.d.ts +2 -2
  638. package/types/plugins/spellcheck/spellcheck.d.ts +2 -2
  639. package/types/plugins/sticky/sticky.d.ts +1 -1
  640. package/types/plugins/symbols/symbols.d.ts +1 -1
  641. package/types/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
  642. package/types/plugins/table/table.d.ts +1 -1
  643. package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  644. package/types/plugins/wrap-nodes/config.d.ts +1 -1
  645. package/types/types/jodit.d.ts +1 -1
  646. package/esm/config2.d.ts +0 -1632
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module async
10
10
  */
11
- import type { CallbackFunction, IAsync, IAsyncParams, ITimeout, Nullable, RejectablePromise } from "../../types";
11
+ import type { CallbackFunction, IAsync, IAsyncParams, ITimeout, Nullable, RejectablePromise } from "../../types/index.d.ts";
12
12
  type Callback = (...args: any[]) => void;
13
13
  export declare class Async implements IAsync {
14
14
  private timers;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module component
10
10
  */
11
- import type { ComponentStatus, IAsync, IComponent, IDictionary, Nullable } from "../../types";
11
+ import type { ComponentStatus, IAsync, IComponent, IDictionary, Nullable } from "../../types/index.d.ts";
12
12
  /**
13
13
  * The base class of all Jodit UI components. Provides work with a life cycle.
14
14
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module component
8
8
  */
9
- import type { IViewBased, IViewComponent } from "../../types";
9
+ import type { IViewBased, IViewComponent } from "../../types/index.d.ts";
10
10
  import { Component } from "./component.d.ts";
11
11
  export declare abstract class ViewComponent<T extends IViewBased = IViewBased> extends Component implements IViewComponent<T> {
12
12
  /**
@@ -13,7 +13,7 @@
13
13
  * @packageDocumentation
14
14
  * @module constants
15
15
  */
16
- import type { HTMLTagNames, IDictionary } from "../types";
16
+ import type { HTMLTagNames, IDictionary } from "../types/index.d.ts";
17
17
  export declare const APP_VERSION: string;
18
18
  export declare const ES: 'es5' | 'es2015' | 'es2018' | 'es2021';
19
19
  export declare const IS_ES_MODERN: boolean;
@@ -3,7 +3,7 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- export const APP_VERSION = "4.4.1";
6
+ export const APP_VERSION = "4.4.3";
7
7
  // prettier-ignore
8
8
  export const ES = "es2020";
9
9
  export const IS_ES_MODERN = true;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module create
10
10
  */
11
- import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "../../types";
11
+ import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "../../types/index.d.ts";
12
12
  export declare class Create implements ICreate {
13
13
  readonly document: Document | (() => Document);
14
14
  readonly createAttributes?: CanUndef<IDictionary<Attributes | NodeFunction>>;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/cache
10
10
  */
11
- import type { IDictionary, Nullable } from "../../../types";
11
+ import type { IDictionary, Nullable } from "../../../types/index.d.ts";
12
12
  export interface CachePropertyDescriptor<T, R> extends PropertyDescriptor {
13
13
  get?: (this: T) => R;
14
14
  }
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/debounce
10
10
  */
11
- import type { DecoratorHandler, IAsyncParams, IViewComponent } from "../../../types";
11
+ import type { DecoratorHandler, IAsyncParams, IViewComponent } from "../../../types/index.d.ts";
12
12
  export declare function debounce<V extends IViewComponent = IViewComponent>(timeout?: number | ((ctx: V) => number | IAsyncParams) | IAsyncParams, firstCallImmediately?: boolean, method?: 'debounce' | 'throttle'): DecoratorHandler;
13
13
  /**
14
14
  * Wrap function in throttle wrapper
@@ -8,8 +8,8 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/hook
10
10
  */
11
- import type { ComponentStatus, IDictionary } from "../../../types";
12
- import type { Component } from "../../component";
11
+ import type { ComponentStatus, IDictionary } from "../../../types/index.d.ts";
12
+ import type { Component } from "../../component/index.d.ts";
13
13
  /**
14
14
  * Call on some component status
15
15
  */
@@ -8,5 +8,5 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/idle
10
10
  */
11
- import type { DecoratorHandler, IComponent } from "../../../types";
11
+ import type { DecoratorHandler, IComponent } from "../../../types/index.d.ts";
12
12
  export declare function idle<V extends IComponent = IComponent>(): DecoratorHandler;
@@ -8,5 +8,5 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/persistent
10
10
  */
11
- import type { IComponent } from "../../../types";
11
+ import type { IComponent } from "../../../types/index.d.ts";
12
12
  export declare function persistent<T extends IComponent>(target: T, propertyKey: string): void;
@@ -8,6 +8,6 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/wait
10
10
  */
11
- import type { IViewBased, IViewComponent } from "../../../types";
11
+ import type { IViewBased, IViewComponent } from "../../../types/index.d.ts";
12
12
  export declare function wait<T extends IViewBased>(condition: (ctx: T) => boolean): Function;
13
13
  export declare function wait<T extends IViewComponent>(condition: (ctx: T) => boolean): Function;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/watch
10
10
  */
11
- import type { CanUndef, DecoratorHandler, IDictionary } from "../../../types";
11
+ import type { CanUndef, DecoratorHandler, IDictionary } from "../../../types/index.d.ts";
12
12
  export declare function getPropertyDescriptor(obj: unknown, prop: string): CanUndef<PropertyDescriptor>;
13
13
  /**
14
14
  * Watch decorator. Added observer for some change in field value
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module dom
10
10
  */
11
- import type { HTMLTagNames, ICreate, IDictionary, IJodit, NodeCondition, Nullable } from "../../types";
11
+ import type { HTMLTagNames, ICreate, IDictionary, IJodit, NodeCondition, Nullable } from "../../types/index.d.ts";
12
12
  /**
13
13
  * Module for working with DOM
14
14
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module dom
8
8
  */
9
- import type { IAsync, IDestructible } from "../../types";
9
+ import type { IAsync, IDestructible } from "../../types/index.d.ts";
10
10
  import { Eventify } from "../event-emitter/eventify.d.ts";
11
11
  export declare class LazyWalker extends Eventify<{
12
12
  visit: (node: Node) => boolean;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module event-emitter
10
10
  */
11
- import type { CallbackFunction, CanArray, IEventEmitter, IEventEmitterOnOptions } from "../../types";
11
+ import type { CallbackFunction, CanArray, IEventEmitter, IEventEmitterOnOptions } from "../../types/index.d.ts";
12
12
  /**
13
13
  * The module editor's event manager
14
14
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- import type { CanUndef, IDestructible } from "../../types";
9
+ import type { CanUndef, IDestructible } from "../../types/index.d.ts";
10
10
  /**
11
11
  * Class for adding event handling capability
12
12
  *
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- import type { IDictionary, IObservable } from "../../types";
9
+ import type { IDictionary, IObservable } from "../../types/index.d.ts";
10
10
  /**
11
11
  * Makes any object an observable object
12
12
  * @example
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- import type { CallbackFunction, EventHandlerBlock } from "../../types";
9
+ import type { CallbackFunction, EventHandlerBlock } from "../../types/index.d.ts";
10
10
  export declare const defaultNameSpace = "JoditEventDefaultNamespace";
11
11
  export declare class EventHandlersStore {
12
12
  private __store;
@@ -6,9 +6,9 @@
6
6
  /**
7
7
  * @module global
8
8
  */
9
- import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types";
9
+ import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types/index.d.ts";
10
10
  import { PluginSystem } from "./plugin/plugin-system.d.ts";
11
- import { EventEmitter } from "./event-emitter";
11
+ import { EventEmitter } from "./event-emitter/index.d.ts";
12
12
  export declare const instances: IDictionary<IJodit>;
13
13
  /**
14
14
  * Generate global unique uid
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IContainer, IDestructible, IInitable } from "../../../types";
9
+ import type { IContainer, IDestructible, IInitable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Check value has method init
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IJodit } from "../../../types";
9
+ import type { IJodit } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Check if element is instance of Jodit
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { Nullable } from "../../../types";
9
+ import type { Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Define element is selection helper
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Check if element is simple plaint object
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IViewBased } from "../../../types";
9
+ import type { IViewBased } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Check if an element is instance of View
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/html
8
8
  */
9
- import type { HTMLTagNames, Nullable } from "../../../types";
9
+ import type { HTMLTagNames, Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Extract plain text from HTML text
12
12
  */
@@ -8,12 +8,12 @@
8
8
  * @packageDocumentation
9
9
  * @module helpers
10
10
  */
11
- export * from "./array";
12
- export * from "./async";
13
- export * from "./checker";
14
- export * from "./color";
15
- export * from "./html";
16
- export * from "./normalize";
17
- export * from "./size";
18
- export * from "./string";
19
- export * from "./utils";
11
+ export * from "./array/index.d.ts";
12
+ export * from "./async/index.d.ts";
13
+ export * from "./checker/index.d.ts";
14
+ export * from "./color/index.d.ts";
15
+ export * from "./html/index.d.ts";
16
+ export * from "./normalize/index.d.ts";
17
+ export * from "./size/index.d.ts";
18
+ export * from "./string/index.d.ts";
19
+ export * from "./utils/index.d.ts";
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module helpers/size
8
8
  */
9
- import type { Nullable } from "../../../types";
9
+ import type { Nullable } from "../../../types/index.d.ts";
10
10
  export declare function getScrollParent(node: Nullable<Node>): Nullable<Element>;
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module helpers/size
8
8
  */
9
- import type { CanUndef } from "../../../types";
9
+ import type { CanUndef } from "../../../types/index.d.ts";
10
10
  export declare function size(subject: CanUndef<object | string | Array<unknown>>): number;
@@ -10,5 +10,5 @@
10
10
  * Calc relative offset by start editor field
11
11
  * @returns returns an object containing the properties top and left.
12
12
  */
13
- import type { IBound, IViewBased } from "../../../types";
13
+ import type { IBound, IViewBased } from "../../../types/index.d.ts";
14
14
  export declare const offset: (elm: HTMLElement | Range, jodit: IViewBased, doc: Document, recurse?: boolean) => IBound;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/size
8
8
  */
9
- import type { IBound, IViewBased } from "../../../types";
9
+ import type { IBound, IViewBased } from "../../../types/index.d.ts";
10
10
  export declare function position(elm: HTMLElement): IBound;
11
11
  export declare function position(elm: HTMLElement, jodit: IViewBased): IBound;
12
12
  export declare function position(elm: HTMLElement, jodit: IViewBased, recurse: boolean): IBound;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/string
8
8
  */
9
- import type { ILanguageOptions } from "../../../types";
9
+ import type { ILanguageOptions } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Simple variant sprintf function
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { ImageHAlign } from "../../../types";
9
+ import type { ImageHAlign } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Align image
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IViewBased } from "../../../types";
9
+ import type { IViewBased } from "../../../types/index.d.ts";
10
10
  export type Loader = (jodit: IViewBased, url: string) => Promise<any>;
11
11
  export interface CallbackAndElement {
12
12
  callback: EventListener;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Get attribute
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Build query string
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * @example
12
12
  * ```js
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IStyle, StyleValue } from "../../../types";
9
+ import type { IStyle, StyleValue } from "../../../types/index.d.ts";
10
10
  export declare function css(element: HTMLElement, key: keyof CSSStyleDeclaration): string | number;
11
11
  export declare function css(element: HTMLElement, key: string | IStyle): string | number;
12
12
  export declare function css(element: HTMLElement, key: string | IStyle, value: StyleValue): string | number;
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IViewComponent } from "../../../types";
9
+ import type { IViewComponent } from "../../../types/index.d.ts";
10
10
  export declare const dataBind: <T = any>(elm: IViewComponent | Node | object, key: string, value?: T) => T;
@@ -7,4 +7,4 @@
7
7
  * @module helpers/utils
8
8
  */
9
9
  export * from "./error.d.ts";
10
- export * from "./errors/";
10
+ export * from "./errors/index.d.ts";
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  export declare const keepNames: Map<Function, string>;
11
11
  export declare const getClassName: (obj: IDictionary) => string;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary, Nullable } from "../../../types";
9
+ import type { IDictionary, Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Safe access in tree object
12
12
  *
@@ -19,7 +19,7 @@ export * from "./css.d.ts";
19
19
  export * from "./ctrl-key.d.ts";
20
20
  export * from "./data-bind.d.ts";
21
21
  export * from "./default-language.d.ts";
22
- export * from "./error";
22
+ export * from "./error/index.d.ts";
23
23
  export * from "./extend.d.ts";
24
24
  export * from "./get.d.ts";
25
25
  export * from "./get-class-name.d.ts";
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Parse query string
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IJodit, Nullable } from "../../../types";
9
+ import type { IJodit, Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Generates a copy of an HTML document, resizes images, executes JS
12
12
  *
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { Nullable } from "../../../types";
9
+ import type { Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Reset Vanilla JS native function
12
12
  * @example
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { Nullable } from "../../../types";
9
+ import type { Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * @module helpers/utils
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { HTMLTagNames, IDictionary, Nullable } from "../../../types";
9
+ import type { HTMLTagNames, IDictionary, Nullable } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Find all elements by selector and return Array. If it did not find any element, it is return empty array
12
12
  * @internal
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { IDictionary } from "../../../types";
9
+ import type { IDictionary } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Safe access in tree object
12
12
  *
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { CanUndef } from "../../../types";
9
+ import type { CanUndef } from "../../../types/index.d.ts";
10
10
  export declare class LimitedStack<T> {
11
11
  readonly limit: number;
12
12
  private stack;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import type { CanPromise, IControlType, IJodit, IViewBased, Nullable, RejectablePromise } from "../../../types";
9
+ import type { CanPromise, IControlType, IJodit, IViewBased, Nullable, RejectablePromise } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Call function with parameters
12
12
  *
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module plugin
8
8
  */
9
- import type { IJodit, Nullable, PluginInstance, PluginType } from "../../../types";
9
+ import type { IJodit, Nullable, PluginInstance, PluginType } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Init plugin if it has no dependencies, in another case wait requires plugins will be init
12
12
  * @private
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module plugin
8
8
  */
9
- import type { IExtraPlugin, IJodit, PluginType } from "../../../types";
9
+ import type { IExtraPlugin, IJodit, PluginType } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * @private
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module plugin
8
8
  */
9
- import type { IJodit, Nullable, PluginInstance, PluginType } from "../../../types";
9
+ import type { IJodit, Nullable, PluginInstance, PluginType } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Create instance of plugin
12
12
  * @private
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module plugin
8
8
  */
9
- import type { IJodit, IPluginSystem, PluginType } from "../../types";
9
+ import type { IJodit, IPluginSystem, PluginType } from "../../types/index.d.ts";
10
10
  import "./interface.d.ts";
11
11
  /**
12
12
  * Jodit plugin system
@@ -8,8 +8,8 @@
8
8
  * @packageDocumentation
9
9
  * @module plugin
10
10
  */
11
- import type { CanUndef, IJodit, IPlugin, IViewBased } from "../../types";
12
- import { ViewComponent } from "../component";
11
+ import type { CanUndef, IJodit, IPlugin, IViewBased } from "../../types/index.d.ts";
12
+ import { ViewComponent } from "../component/index.d.ts";
13
13
  export declare abstract class Plugin<T extends IViewBased = IJodit> extends ViewComponent<T> implements IPlugin<T> {
14
14
  static requires: string[];
15
15
  /** @override */
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module request
10
10
  */
11
- import type { AjaxOptions, IAjax, IRequest, IResponse, RejectablePromise } from "../../types";
11
+ import type { AjaxOptions, IAjax, IRequest, IResponse, RejectablePromise } from "../../types/index.d.ts";
12
12
  import "./config.d.ts";
13
13
  export declare class Ajax<T extends object = any> implements IAjax<T> {
14
14
  className(): string;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module request
8
8
  */
9
- import type { AjaxOptions } from "../../types";
9
+ import type { AjaxOptions } from "../../types/index.d.ts";
10
10
  declare module 'jodit/config' {
11
11
  interface Config {
12
12
  /**
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module request
8
8
  */
9
- import type { IRequest, IResponse } from "../../types";
9
+ import type { IRequest, IResponse } from "../../types/index.d.ts";
10
10
  export declare class Response<T> implements IResponse<T> {
11
11
  readonly status: number;
12
12
  readonly statusText: string;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module selection
8
8
  */
9
- import type { IJodit } from "../../../types";
9
+ import type { IJodit } from "../../../types/index.d.ts";
10
10
  /**
11
11
  * Moves the fake node inside the adjacent element if it lies next to it but not inside.
12
12
  * When the cursor is positioned in its place, it must be inside the element and not outside its border.
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module selection
8
8
  */
9
- import type { ICommitStyle } from "../../types";
9
+ import type { ICommitStyle } from "../../types/index.d.ts";
10
10
  declare module 'jodit/types/events' {
11
11
  interface IEventEmitter {
12
12
  /**