jodit 4.3.1 → 4.4.1

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 (551) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +23 -23
  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 +23 -23
  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 +23 -23
  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 +23 -23
  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 +2 -2
  42. package/es5/5.js +5 -5
  43. package/es5/5.min.js +2 -2
  44. package/es5/975.fat.min.js +10 -0
  45. package/es5/{164.js → 975.js} +2025 -1920
  46. package/es5/975.min.js +10 -0
  47. package/es5/jodit.css +2 -2
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +28 -24
  50. package/es5/jodit.min.css +2 -2
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.css +1 -1
  53. package/es5/plugins/debug/debug.js +1 -1
  54. package/es5/plugins/debug/debug.min.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  57. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  58. package/esm/config2.d.ts +1632 -0
  59. package/esm/core/async/index.d.ts +1 -1
  60. package/esm/core/component/index.d.ts +3 -3
  61. package/esm/core/component/view-component.d.ts +1 -1
  62. package/esm/core/constants.js +1 -1
  63. package/esm/core/create/index.d.ts +1 -1
  64. package/esm/core/decorators/index.d.ts +11 -11
  65. package/esm/core/dom/index.d.ts +2 -2
  66. package/esm/core/dom/lazy-walker.d.ts +1 -1
  67. package/esm/core/event-emitter/index.d.ts +4 -4
  68. package/esm/core/global.d.ts +1 -1
  69. package/esm/core/helpers/array/index.d.ts +3 -3
  70. package/esm/core/helpers/async/index.d.ts +1 -1
  71. package/esm/core/helpers/checker/index.d.ts +25 -25
  72. package/esm/core/helpers/checker/is-abort-error.d.ts +1 -1
  73. package/esm/core/helpers/color/index.d.ts +1 -1
  74. package/esm/core/helpers/html/index.d.ts +6 -6
  75. package/esm/core/helpers/normalize/index.d.ts +8 -8
  76. package/esm/core/helpers/size/index.d.ts +6 -6
  77. package/esm/core/helpers/string/index.d.ts +7 -7
  78. package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  79. package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
  80. package/esm/core/helpers/utils/error/index.d.ts +1 -1
  81. package/esm/core/helpers/utils/index.d.ts +26 -26
  82. package/esm/core/plugin/index.d.ts +2 -2
  83. package/esm/core/plugin/plugin-system.d.ts +1 -1
  84. package/esm/core/request/ajax.d.ts +1 -1
  85. package/esm/core/request/index.d.ts +2 -2
  86. package/esm/core/selection/helpers/index.d.ts +2 -2
  87. package/esm/core/selection/index.d.ts +3 -3
  88. package/esm/core/selection/selection.d.ts +1 -1
  89. package/esm/core/selection/style/api/index.d.ts +15 -15
  90. package/esm/core/storage/index.d.ts +3 -3
  91. package/esm/core/ui/button/button/button.d.ts +1 -2
  92. package/esm/core/ui/button/group/group.d.ts +1 -2
  93. package/esm/core/ui/button/index.d.ts +3 -3
  94. package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -2
  95. package/esm/core/ui/element.d.ts +2 -2
  96. package/esm/core/ui/form/block/block.d.ts +1 -2
  97. package/esm/core/ui/form/form.d.ts +1 -1
  98. package/esm/core/ui/form/index.d.ts +2 -2
  99. package/esm/core/ui/form/inputs/area/area.d.ts +1 -2
  100. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
  101. package/esm/core/ui/form/inputs/file/file.d.ts +1 -2
  102. package/esm/core/ui/form/inputs/index.d.ts +5 -5
  103. package/esm/core/ui/form/inputs/input/input.d.ts +1 -2
  104. package/esm/core/ui/form/inputs/select/select.d.ts +1 -2
  105. package/esm/core/ui/form/validators/index.d.ts +2 -2
  106. package/esm/core/ui/group/group.d.ts +1 -2
  107. package/esm/core/ui/group/index.d.ts +4 -4
  108. package/esm/core/ui/group/list.d.ts +1 -2
  109. package/esm/core/ui/group/separator.d.ts +1 -1
  110. package/esm/core/ui/group/spacer.d.ts +1 -1
  111. package/esm/core/ui/index.d.ts +3 -3
  112. package/esm/core/ui/popup/index.d.ts +1 -1
  113. package/esm/core/ui/popup/popup.d.ts +1 -2
  114. package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -2
  115. package/esm/core/view/view-with-toolbar.d.ts +1 -2
  116. package/esm/core/view/view.d.ts +3 -3
  117. package/esm/index.d.ts +2 -4
  118. package/esm/jodit.d.ts +3 -3
  119. package/esm/modules/context-menu/context-menu.d.ts +1 -2
  120. package/esm/modules/dialog/dialog.d.ts +1 -2
  121. package/esm/modules/dialog/index.d.ts +4 -4
  122. package/esm/modules/file-browser/config.d.ts +1 -1
  123. package/esm/modules/file-browser/file-browser.d.ts +3 -4
  124. package/esm/modules/file-browser/index.d.ts +1 -1
  125. package/esm/modules/file-browser/ui/files/files.d.ts +0 -1
  126. package/esm/modules/file-browser/ui/index.d.ts +2 -2
  127. package/esm/modules/file-browser/ui/tree/tree.d.ts +0 -1
  128. package/esm/modules/history/command.d.ts +1 -1
  129. package/esm/modules/history/history.d.ts +2 -2
  130. package/esm/modules/history/stack.d.ts +1 -1
  131. package/esm/modules/image-editor/icons/crop.svg.js +1 -1
  132. package/esm/modules/image-editor/icons/resize.svg.js +1 -1
  133. package/esm/modules/image-editor/image-editor.d.ts +1 -2
  134. package/esm/modules/index.d.ts +13 -13
  135. package/esm/modules/messages/messages.d.ts +1 -2
  136. package/esm/modules/status-bar/status-bar.d.ts +2 -3
  137. package/esm/modules/toolbar/button/button.d.ts +0 -1
  138. package/esm/modules/toolbar/button/content.d.ts +0 -1
  139. package/esm/modules/toolbar/button/index.d.ts +3 -3
  140. package/esm/modules/toolbar/button/select/select.d.ts +1 -2
  141. package/esm/modules/toolbar/collection/collection.d.ts +0 -1
  142. package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
  143. package/esm/modules/uploader/helpers/index.d.ts +5 -5
  144. package/esm/modules/uploader/uploader.d.ts +1 -2
  145. package/esm/modules/widget/color-picker/color-picker.d.ts +0 -1
  146. package/esm/modules/widget/color-picker/palette.svg.js +1 -1
  147. package/esm/modules/widget/index.d.ts +3 -3
  148. package/esm/modules/widget/tabs/tabs.d.ts +0 -1
  149. package/esm/plugins/about/about.d.ts +0 -1
  150. package/esm/plugins/about/about.svg.js +1 -1
  151. package/esm/plugins/add-new-line/add-new-line.d.ts +1 -2
  152. package/esm/plugins/add-new-line/enter.svg.js +1 -1
  153. package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
  154. package/esm/plugins/ai-assistant/ai-assistant.svg.js +1 -1
  155. package/esm/plugins/ai-assistant/chat-bot.svg.js +1 -1
  156. package/esm/plugins/ai-assistant/config.d.ts +1 -62
  157. package/esm/plugins/ai-assistant/interface.d.ts +62 -0
  158. package/esm/plugins/ai-assistant/interface.js +1 -0
  159. package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
  160. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
  161. package/esm/plugins/backspace/backspace.d.ts +1 -1
  162. package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  163. package/esm/plugins/backspace/cases/index.d.ts +2 -2
  164. package/esm/plugins/bold/bold.d.ts +2 -2
  165. package/esm/plugins/bold/icons/bold.svg.js +1 -1
  166. package/esm/plugins/bold/icons/italic.svg.js +1 -1
  167. package/esm/plugins/bold/icons/strikethrough.svg.js +1 -1
  168. package/esm/plugins/bold/icons/subscript.svg.js +1 -1
  169. package/esm/plugins/bold/icons/superscript.svg.js +1 -1
  170. package/esm/plugins/bold/icons/underline.svg.js +1 -1
  171. package/esm/plugins/class-span/class-span.svg.js +1 -1
  172. package/esm/plugins/clean-html/clean-html.d.ts +2 -2
  173. package/esm/plugins/clean-html/eraser.svg.js +1 -1
  174. package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
  175. package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  176. package/esm/plugins/clipboard/clipboard.d.ts +1 -1
  177. package/esm/plugins/clipboard/icons/copy.svg.js +1 -1
  178. package/esm/plugins/clipboard/icons/cut.svg.js +1 -1
  179. package/esm/plugins/clipboard/icons/paste.svg.js +1 -1
  180. package/esm/plugins/clipboard/icons/select-all.svg.js +1 -1
  181. package/esm/plugins/color/brush.svg.js +1 -1
  182. package/esm/plugins/color/color.d.ts +1 -1
  183. package/esm/plugins/copy-format/copy-format.svg.js +1 -1
  184. package/esm/plugins/copy-format/langs/index.d.ts +21 -21
  185. package/esm/plugins/debug/debug.d.ts +1 -2
  186. package/esm/plugins/delete/delete.d.ts +1 -1
  187. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  188. package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
  189. package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
  190. package/esm/plugins/dtd/dtd.d.ts +1 -1
  191. package/esm/plugins/enter/enter.d.ts +2 -2
  192. package/esm/plugins/enter/helpers/index.d.ts +9 -9
  193. package/esm/plugins/font/font.d.ts +1 -1
  194. package/esm/plugins/font/icons/font.svg.js +1 -1
  195. package/esm/plugins/font/icons/fontsize.svg.js +1 -1
  196. package/esm/plugins/format-block/format-block.d.ts +1 -1
  197. package/esm/plugins/format-block/paragraph.svg.js +1 -1
  198. package/esm/plugins/fullsize/config.d.ts +0 -1
  199. package/esm/plugins/fullsize/fullsize.d.ts +1 -2
  200. package/esm/plugins/fullsize/icons/fullsize.svg.js +1 -1
  201. package/esm/plugins/fullsize/icons/shrink.svg.js +1 -1
  202. package/esm/plugins/hotkeys/hotkeys.d.ts +1 -1
  203. package/esm/plugins/hr/hr.svg.js +1 -1
  204. package/esm/plugins/iframe/iframe.d.ts +1 -1
  205. package/esm/plugins/image/image.svg.js +1 -1
  206. package/esm/plugins/image-processor/image-processor.d.ts +1 -1
  207. package/esm/plugins/image-properties/config.d.ts +4 -1
  208. package/esm/plugins/image-properties/config.js +0 -3
  209. package/esm/plugins/image-properties/image-properties.d.ts +3 -3
  210. package/esm/plugins/image-properties/readers/align.d.ts +1 -1
  211. package/esm/plugins/image-properties/readers/index.d.ts +1 -1
  212. package/esm/plugins/image-properties/readers/link.d.ts +1 -1
  213. package/esm/plugins/image-properties/readers/margin.d.ts +1 -1
  214. package/esm/plugins/image-properties/readers/size.d.ts +1 -1
  215. package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
  216. package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
  217. package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
  218. package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  219. package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  220. package/esm/plugins/image-properties/writers/index.d.ts +1 -1
  221. package/esm/plugins/indent/icons/indent.svg.js +1 -1
  222. package/esm/plugins/indent/icons/outdent.svg.js +1 -1
  223. package/esm/plugins/indent/indent.d.ts +1 -1
  224. package/esm/plugins/index.d.ts +62 -62
  225. package/esm/plugins/inline-popup/icons/addcolumn.svg.js +1 -1
  226. package/esm/plugins/inline-popup/icons/addrow.svg.js +1 -1
  227. package/esm/plugins/inline-popup/icons/merge.svg.js +1 -1
  228. package/esm/plugins/inline-popup/icons/splitg.svg.js +1 -1
  229. package/esm/plugins/inline-popup/icons/splitv.svg.js +1 -1
  230. package/esm/plugins/inline-popup/icons/th-list.svg.js +1 -1
  231. package/esm/plugins/inline-popup/icons/th.svg.js +1 -1
  232. package/esm/plugins/inline-popup/inline-popup.d.ts +1 -2
  233. package/esm/plugins/justify/justify.svg.js +1 -1
  234. package/esm/plugins/limit/limit.d.ts +1 -1
  235. package/esm/plugins/line-height/langs/index.d.ts +22 -22
  236. package/esm/plugins/line-height/line-height.d.ts +1 -1
  237. package/esm/plugins/line-height/line-height.svg.js +1 -1
  238. package/esm/plugins/link/icons/link.svg.js +1 -1
  239. package/esm/plugins/link/icons/unlink.svg.js +1 -1
  240. package/esm/plugins/link/link.d.ts +1 -1
  241. package/esm/plugins/media/media.d.ts +1 -1
  242. package/esm/plugins/mobile/mobile.d.ts +1 -1
  243. package/esm/plugins/ordered-list/icons/ol.svg.js +1 -1
  244. package/esm/plugins/ordered-list/icons/ul.svg.js +1 -1
  245. package/esm/plugins/ordered-list/ordered-list.d.ts +1 -1
  246. package/esm/plugins/paste/helpers.d.ts +1 -1
  247. package/esm/plugins/paste/paste.d.ts +2 -2
  248. package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  249. package/esm/plugins/paste-storage/paste-storage.d.ts +1 -2
  250. package/esm/plugins/placeholder/placeholder.d.ts +2 -3
  251. package/esm/plugins/preview/preview.d.ts +0 -1
  252. package/esm/plugins/print/print.svg.js +1 -1
  253. package/esm/plugins/redo-undo/icons/redo.svg.js +1 -1
  254. package/esm/plugins/redo-undo/icons/undo.svg.js +1 -1
  255. package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
  256. package/esm/plugins/resize-cells/resize-cells.d.ts +1 -2
  257. package/esm/plugins/resize-handler/resize-handler.d.ts +1 -1
  258. package/esm/plugins/resizer/resizer.d.ts +2 -3
  259. package/esm/plugins/search/config.d.ts +1 -1
  260. package/esm/plugins/search/helpers/index.d.ts +2 -2
  261. package/esm/plugins/search/search.d.ts +1 -1
  262. package/esm/plugins/search/search.svg.js +1 -1
  263. package/esm/plugins/search/ui/search.d.ts +0 -1
  264. package/esm/plugins/select/select.d.ts +1 -1
  265. package/esm/plugins/select-cells/select-cells.d.ts +1 -1
  266. package/esm/plugins/size/size.d.ts +2 -3
  267. package/esm/plugins/source/editor/engines/ace.d.ts +1 -1
  268. package/esm/plugins/source/editor/engines/area.d.ts +1 -1
  269. package/esm/plugins/source/editor/engines/index.d.ts +2 -2
  270. package/esm/plugins/source/source.d.ts +1 -2
  271. package/esm/plugins/source/source.svg.js +1 -1
  272. package/esm/plugins/speech-recognize/config.d.ts +1 -1
  273. package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
  274. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
  275. package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
  276. package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -2
  277. package/esm/plugins/speech-recognize/speech-recognize.svg.js +1 -1
  278. package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
  279. package/esm/plugins/spellcheck/spellcheck.d.ts +1 -1
  280. package/esm/plugins/spellcheck/spellcheck.svg.js +1 -1
  281. package/esm/plugins/stat/stat.d.ts +2 -2
  282. package/esm/plugins/sticky/sticky.d.ts +2 -3
  283. package/esm/plugins/symbols/langs/index.d.ts +22 -22
  284. package/esm/plugins/symbols/symbols.d.ts +2 -3
  285. package/esm/plugins/symbols/symbols.svg.js +1 -1
  286. package/esm/plugins/tab/cases/index.d.ts +1 -1
  287. package/esm/plugins/tab/tab.d.ts +1 -1
  288. package/esm/plugins/table/table.d.ts +1 -2
  289. package/esm/plugins/table/table.svg.js +1 -1
  290. package/esm/plugins/video/video.d.ts +1 -1
  291. package/esm/plugins/video/video.svg.js +1 -1
  292. package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  293. package/esm/plugins/xpath/xpath.d.ts +1 -2
  294. package/esm/styles/icons/angle-down.svg.js +1 -1
  295. package/esm/styles/icons/angle-left.svg.js +1 -1
  296. package/esm/styles/icons/angle-right.svg.js +1 -1
  297. package/esm/styles/icons/angle-up.svg.js +1 -1
  298. package/esm/styles/icons/bin.svg.js +1 -1
  299. package/esm/styles/icons/cancel.svg.js +1 -1
  300. package/esm/styles/icons/center.svg.js +1 -1
  301. package/esm/styles/icons/check.svg.js +1 -1
  302. package/esm/styles/icons/chevron.svg.js +1 -1
  303. package/esm/styles/icons/dots.svg.js +1 -1
  304. package/esm/styles/icons/eye.svg.js +1 -1
  305. package/esm/styles/icons/file.svg.js +1 -1
  306. package/esm/styles/icons/folder.svg.js +1 -1
  307. package/esm/styles/icons/index.d.ts +0 -27
  308. package/esm/styles/icons/info-circle.svg.js +1 -1
  309. package/esm/styles/icons/left.svg.js +1 -1
  310. package/esm/styles/icons/lock.svg.js +1 -1
  311. package/esm/styles/icons/ok.svg.js +1 -1
  312. package/esm/styles/icons/pencil.svg.js +1 -1
  313. package/esm/styles/icons/pins.svg.js +1 -1
  314. package/esm/styles/icons/plus.svg.js +1 -1
  315. package/esm/styles/icons/resize-handler.svg.js +1 -1
  316. package/esm/styles/icons/right.svg.js +1 -1
  317. package/esm/styles/icons/save.svg.js +1 -1
  318. package/esm/styles/icons/settings.svg.js +1 -1
  319. package/esm/styles/icons/unlock.svg.js +1 -1
  320. package/esm/styles/icons/update.svg.js +1 -1
  321. package/esm/styles/icons/upload.svg.js +1 -1
  322. package/esm/styles/icons/valign.svg.js +1 -1
  323. package/esm/types/ajax.d.ts +1 -1
  324. package/esm/types/async.d.ts +2 -2
  325. package/esm/types/context.d.ts +2 -2
  326. package/esm/types/core.d.ts +1 -1
  327. package/esm/types/create.d.ts +1 -1
  328. package/esm/types/dialog.d.ts +3 -3
  329. package/esm/types/events.d.ts +1 -1
  330. package/esm/types/file-browser.d.ts +7 -7
  331. package/esm/types/history.d.ts +1 -1
  332. package/esm/types/index.d.ts +23 -23
  333. package/esm/types/jodit.d.ts +5 -5
  334. package/esm/types/messages.d.ts +1 -1
  335. package/esm/types/plugin.d.ts +3 -3
  336. package/esm/types/popup.d.ts +2 -2
  337. package/esm/types/select.d.ts +2 -2
  338. package/esm/types/source.d.ts +1 -1
  339. package/esm/types/style.d.ts +2 -2
  340. package/esm/types/toolbar.d.ts +6 -6
  341. package/esm/types/traits.d.ts +2 -2
  342. package/esm/types/types.d.ts +2 -2
  343. package/esm/types/ui.d.ts +5 -5
  344. package/esm/types/uploader.d.ts +3 -3
  345. package/esm/types/view.d.ts +9 -9
  346. package/package.json +1 -1
  347. package/types/core/async/index.d.ts +1 -1
  348. package/types/core/component/index.d.ts +3 -3
  349. package/types/core/component/view-component.d.ts +1 -1
  350. package/types/core/create/index.d.ts +1 -1
  351. package/types/core/decorators/index.d.ts +11 -11
  352. package/types/core/dom/index.d.ts +2 -2
  353. package/types/core/dom/lazy-walker.d.ts +1 -1
  354. package/types/core/event-emitter/index.d.ts +4 -4
  355. package/types/core/global.d.ts +1 -1
  356. package/types/core/helpers/array/index.d.ts +3 -3
  357. package/types/core/helpers/async/index.d.ts +1 -1
  358. package/types/core/helpers/checker/index.d.ts +25 -25
  359. package/types/core/helpers/checker/is-abort-error.d.ts +1 -1
  360. package/types/core/helpers/color/index.d.ts +1 -1
  361. package/types/core/helpers/html/index.d.ts +6 -6
  362. package/types/core/helpers/normalize/index.d.ts +8 -8
  363. package/types/core/helpers/size/index.d.ts +6 -6
  364. package/types/core/helpers/string/index.d.ts +7 -7
  365. package/types/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  366. package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
  367. package/types/core/helpers/utils/error/index.d.ts +1 -1
  368. package/types/core/helpers/utils/index.d.ts +26 -26
  369. package/types/core/plugin/index.d.ts +2 -2
  370. package/types/core/plugin/plugin-system.d.ts +1 -1
  371. package/types/core/request/ajax.d.ts +1 -1
  372. package/types/core/request/index.d.ts +2 -2
  373. package/types/core/selection/helpers/index.d.ts +2 -2
  374. package/types/core/selection/index.d.ts +3 -3
  375. package/types/core/selection/selection.d.ts +1 -1
  376. package/types/core/selection/style/api/index.d.ts +15 -15
  377. package/types/core/storage/index.d.ts +3 -3
  378. package/types/core/ui/button/button/button.d.ts +1 -2
  379. package/types/core/ui/button/group/group.d.ts +1 -2
  380. package/types/core/ui/button/index.d.ts +3 -3
  381. package/types/core/ui/button/tooltip/tooltip.d.ts +1 -2
  382. package/types/core/ui/element.d.ts +2 -2
  383. package/types/core/ui/form/block/block.d.ts +1 -2
  384. package/types/core/ui/form/form.d.ts +1 -1
  385. package/types/core/ui/form/index.d.ts +2 -2
  386. package/types/core/ui/form/inputs/area/area.d.ts +1 -2
  387. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
  388. package/types/core/ui/form/inputs/file/file.d.ts +1 -2
  389. package/types/core/ui/form/inputs/index.d.ts +5 -5
  390. package/types/core/ui/form/inputs/input/input.d.ts +1 -2
  391. package/types/core/ui/form/inputs/select/select.d.ts +1 -2
  392. package/types/core/ui/form/validators/index.d.ts +2 -2
  393. package/types/core/ui/group/group.d.ts +1 -2
  394. package/types/core/ui/group/index.d.ts +4 -4
  395. package/types/core/ui/group/list.d.ts +1 -2
  396. package/types/core/ui/group/separator.d.ts +1 -1
  397. package/types/core/ui/group/spacer.d.ts +1 -1
  398. package/types/core/ui/index.d.ts +3 -3
  399. package/types/core/ui/popup/index.d.ts +1 -1
  400. package/types/core/ui/popup/popup.d.ts +1 -2
  401. package/types/core/ui/progress-bar/progress-bar.d.ts +1 -2
  402. package/types/core/view/view-with-toolbar.d.ts +1 -2
  403. package/types/core/view/view.d.ts +3 -3
  404. package/types/index.d.ts +2 -4
  405. package/types/jodit.d.ts +3 -3
  406. package/types/modules/context-menu/context-menu.d.ts +1 -2
  407. package/types/modules/dialog/dialog.d.ts +1 -2
  408. package/types/modules/dialog/index.d.ts +4 -4
  409. package/types/modules/file-browser/config.d.ts +1 -1
  410. package/types/modules/file-browser/file-browser.d.ts +3 -4
  411. package/types/modules/file-browser/index.d.ts +1 -1
  412. package/types/modules/file-browser/ui/files/files.d.ts +0 -1
  413. package/types/modules/file-browser/ui/index.d.ts +2 -2
  414. package/types/modules/file-browser/ui/tree/tree.d.ts +0 -1
  415. package/types/modules/history/command.d.ts +1 -1
  416. package/types/modules/history/history.d.ts +2 -2
  417. package/types/modules/history/stack.d.ts +1 -1
  418. package/types/modules/image-editor/image-editor.d.ts +1 -2
  419. package/types/modules/index.d.ts +13 -13
  420. package/types/modules/messages/messages.d.ts +1 -2
  421. package/types/modules/status-bar/status-bar.d.ts +2 -3
  422. package/types/modules/toolbar/button/button.d.ts +0 -1
  423. package/types/modules/toolbar/button/content.d.ts +0 -1
  424. package/types/modules/toolbar/button/index.d.ts +3 -3
  425. package/types/modules/toolbar/button/select/select.d.ts +1 -2
  426. package/types/modules/toolbar/collection/collection.d.ts +0 -1
  427. package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
  428. package/types/modules/uploader/helpers/index.d.ts +5 -5
  429. package/types/modules/uploader/uploader.d.ts +1 -2
  430. package/types/modules/widget/color-picker/color-picker.d.ts +0 -1
  431. package/types/modules/widget/index.d.ts +3 -3
  432. package/types/modules/widget/tabs/tabs.d.ts +0 -1
  433. package/types/plugins/about/about.d.ts +0 -1
  434. package/types/plugins/add-new-line/add-new-line.d.ts +1 -2
  435. package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -2
  436. package/types/plugins/ai-assistant/config.d.ts +1 -62
  437. package/types/plugins/ai-assistant/interface.d.ts +62 -0
  438. package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
  439. package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
  440. package/types/plugins/backspace/backspace.d.ts +1 -1
  441. package/types/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  442. package/types/plugins/backspace/cases/index.d.ts +2 -2
  443. package/types/plugins/bold/bold.d.ts +2 -2
  444. package/types/plugins/clean-html/clean-html.d.ts +2 -2
  445. package/types/plugins/clean-html/helpers/index.d.ts +4 -4
  446. package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  447. package/types/plugins/clipboard/clipboard.d.ts +1 -1
  448. package/types/plugins/color/color.d.ts +1 -1
  449. package/types/plugins/copy-format/langs/index.d.ts +21 -21
  450. package/types/plugins/debug/debug.d.ts +1 -2
  451. package/types/plugins/delete/delete.d.ts +1 -1
  452. package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  453. package/types/plugins/dtd/after-insert/index.d.ts +1 -1
  454. package/types/plugins/dtd/before-insert/index.d.ts +1 -1
  455. package/types/plugins/dtd/dtd.d.ts +1 -1
  456. package/types/plugins/enter/enter.d.ts +2 -2
  457. package/types/plugins/enter/helpers/index.d.ts +9 -9
  458. package/types/plugins/font/font.d.ts +1 -1
  459. package/types/plugins/format-block/format-block.d.ts +1 -1
  460. package/types/plugins/fullsize/config.d.ts +0 -1
  461. package/types/plugins/fullsize/fullsize.d.ts +1 -2
  462. package/types/plugins/hotkeys/hotkeys.d.ts +1 -1
  463. package/types/plugins/iframe/iframe.d.ts +1 -1
  464. package/types/plugins/image-processor/image-processor.d.ts +1 -1
  465. package/types/plugins/image-properties/config.d.ts +4 -1
  466. package/types/plugins/image-properties/image-properties.d.ts +3 -3
  467. package/types/plugins/image-properties/readers/align.d.ts +1 -1
  468. package/types/plugins/image-properties/readers/index.d.ts +1 -1
  469. package/types/plugins/image-properties/readers/link.d.ts +1 -1
  470. package/types/plugins/image-properties/readers/margin.d.ts +1 -1
  471. package/types/plugins/image-properties/readers/size.d.ts +1 -1
  472. package/types/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
  473. package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
  474. package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
  475. package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  476. package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  477. package/types/plugins/image-properties/writers/index.d.ts +1 -1
  478. package/types/plugins/indent/indent.d.ts +1 -1
  479. package/types/plugins/index.d.ts +62 -62
  480. package/types/plugins/inline-popup/inline-popup.d.ts +1 -2
  481. package/types/plugins/limit/limit.d.ts +1 -1
  482. package/types/plugins/line-height/langs/index.d.ts +22 -22
  483. package/types/plugins/line-height/line-height.d.ts +1 -1
  484. package/types/plugins/link/link.d.ts +1 -1
  485. package/types/plugins/media/media.d.ts +1 -1
  486. package/types/plugins/mobile/mobile.d.ts +1 -1
  487. package/types/plugins/ordered-list/ordered-list.d.ts +1 -1
  488. package/types/plugins/paste/helpers.d.ts +1 -1
  489. package/types/plugins/paste/paste.d.ts +2 -2
  490. package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  491. package/types/plugins/paste-storage/paste-storage.d.ts +1 -2
  492. package/types/plugins/placeholder/placeholder.d.ts +2 -3
  493. package/types/plugins/preview/preview.d.ts +0 -1
  494. package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
  495. package/types/plugins/resize-cells/resize-cells.d.ts +1 -2
  496. package/types/plugins/resize-handler/resize-handler.d.ts +1 -1
  497. package/types/plugins/resizer/resizer.d.ts +2 -3
  498. package/types/plugins/search/config.d.ts +1 -1
  499. package/types/plugins/search/helpers/index.d.ts +2 -2
  500. package/types/plugins/search/search.d.ts +1 -1
  501. package/types/plugins/search/ui/search.d.ts +0 -1
  502. package/types/plugins/select/select.d.ts +1 -1
  503. package/types/plugins/select-cells/select-cells.d.ts +1 -1
  504. package/types/plugins/size/size.d.ts +2 -3
  505. package/types/plugins/source/editor/engines/ace.d.ts +1 -1
  506. package/types/plugins/source/editor/engines/area.d.ts +1 -1
  507. package/types/plugins/source/editor/engines/index.d.ts +2 -2
  508. package/types/plugins/source/source.d.ts +1 -2
  509. package/types/plugins/speech-recognize/config.d.ts +1 -1
  510. package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
  511. package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
  512. package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
  513. package/types/plugins/speech-recognize/speech-recognize.d.ts +1 -2
  514. package/types/plugins/spellcheck/langs/index.d.ts +22 -22
  515. package/types/plugins/spellcheck/spellcheck.d.ts +1 -1
  516. package/types/plugins/stat/stat.d.ts +2 -2
  517. package/types/plugins/sticky/sticky.d.ts +2 -3
  518. package/types/plugins/symbols/langs/index.d.ts +22 -22
  519. package/types/plugins/symbols/symbols.d.ts +2 -3
  520. package/types/plugins/tab/cases/index.d.ts +1 -1
  521. package/types/plugins/tab/tab.d.ts +1 -1
  522. package/types/plugins/table/table.d.ts +1 -2
  523. package/types/plugins/video/video.d.ts +1 -1
  524. package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  525. package/types/plugins/xpath/xpath.d.ts +1 -2
  526. package/types/styles/icons/index.d.ts +0 -27
  527. package/types/types/ajax.d.ts +1 -1
  528. package/types/types/async.d.ts +2 -2
  529. package/types/types/context.d.ts +2 -2
  530. package/types/types/core.d.ts +1 -1
  531. package/types/types/create.d.ts +1 -1
  532. package/types/types/dialog.d.ts +3 -3
  533. package/types/types/events.d.ts +1 -1
  534. package/types/types/file-browser.d.ts +7 -7
  535. package/types/types/history.d.ts +1 -1
  536. package/types/types/index.d.ts +23 -23
  537. package/types/types/jodit.d.ts +5 -5
  538. package/types/types/messages.d.ts +1 -1
  539. package/types/types/plugin.d.ts +3 -3
  540. package/types/types/popup.d.ts +2 -2
  541. package/types/types/select.d.ts +2 -2
  542. package/types/types/source.d.ts +1 -1
  543. package/types/types/style.d.ts +2 -2
  544. package/types/types/toolbar.d.ts +6 -6
  545. package/types/types/traits.d.ts +2 -2
  546. package/types/types/types.d.ts +2 -2
  547. package/types/types/ui.d.ts +5 -5
  548. package/types/types/uploader.d.ts +3 -3
  549. package/types/types/view.d.ts +9 -9
  550. package/es5/164.fat.min.js +0 -10
  551. package/es5/164.min.js +0 -10
@@ -9,9 +9,9 @@
9
9
  * @module view
10
10
  */
11
11
  import type { IComponent, ICreate, IDictionary, IEventEmitter, IMessages, IProgressBar, IStorage, IViewBased, IViewOptions, Nullable } from "../../types";
12
- import { Component } from "../component/component";
13
- import { Elms } from "../traits/elms";
14
- import { Mods } from "../traits/mods";
12
+ import { Component } from "../component/component.d.ts";
13
+ import { Elms } from "../traits/elms.d.ts";
14
+ import { Mods } from "../traits/mods.d.ts";
15
15
  export interface View extends Mods, Elms {
16
16
  }
17
17
  export declare abstract class View extends Component implements IViewBased, Mods, Elms {
package/types/index.d.ts CHANGED
@@ -8,10 +8,8 @@
8
8
  * @packageDocumentation
9
9
  * @module jodit
10
10
  */
11
- import { Jodit as DefaultJodit } from "./jodit";
12
- import "./plugins/index";
13
-
14
-
11
+ import { Jodit as DefaultJodit } from "./jodit.d.ts";
12
+ import "./plugins/index.d.ts";
15
13
  export { DefaultJodit as Jodit };
16
14
  export declare class CommitMode {
17
15
  }
package/types/jodit.d.ts CHANGED
@@ -10,9 +10,9 @@
10
10
  */
11
11
  import type { AjaxOptions, CanPromise, CustomCommand, DeepPartial, ICreate, IDictionary, IFileBrowser, IHistory, IJodit, IMessages, IPluginSystem, IResponse, IStatusBar, IUploader, IWorkPlace, Modes } from "./types";
12
12
  import type * as Modules from "./modules";
13
- import * as constants from "./core/constants";
14
- import { Dlgs } from "./core/traits/dlgs";
15
- import { Config } from "./config";
13
+ import * as constants from "./core/constants.d.ts";
14
+ import { Dlgs } from "./core/traits/dlgs.d.ts";
15
+ import { Config } from "./config.d.ts";
16
16
  import { Selection, ViewWithToolbar } from "./modules";
17
17
  /**
18
18
  * Class Jodit. Main class
@@ -9,8 +9,7 @@
9
9
  * @module modules/context-menu
10
10
  */
11
11
  import type { IContextMenu, IContextMenuAction } from "../../types";
12
- import { Popup } from "../../core/ui/popup/popup";
13
-
12
+ import { Popup } from "../../core/ui/popup/popup.d.ts";
14
13
  /**
15
14
  * Module to generate context menu
16
15
  */
@@ -7,8 +7,7 @@
7
7
  * @module modules/dialog
8
8
  */
9
9
  import type { Content, IDialog, IDialogOptions, IToolbarCollection } from "../../types";
10
- import { ViewWithToolbar } from "../../core/view/view-with-toolbar";
11
-
10
+ import { ViewWithToolbar } from "../../core/view/view-with-toolbar.d.ts";
12
11
  declare module 'jodit/config' {
13
12
  interface Config {
14
13
  dialog: IDialogOptions;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module modules/dialog
10
10
  */
11
- export { Alert } from "./alert";
12
- export { Confirm } from "./confirm";
13
- export { Dialog } from "./dialog";
14
- export { Prompt } from "./prompt";
11
+ export { Alert } from "./alert.d.ts";
12
+ export { Confirm } from "./confirm.d.ts";
13
+ export { Dialog } from "./dialog.d.ts";
14
+ export { Prompt } from "./prompt.d.ts";
@@ -7,7 +7,7 @@
7
7
  * @module modules/file-browser
8
8
  */
9
9
  import type { IFileBrowserOptions } from "../../types";
10
- import "../../core/request/config";
10
+ import "../../core/request/config.d.ts";
11
11
  declare module 'jodit/config' {
12
12
  interface Config {
13
13
  filebrowser: IFileBrowserOptions;
@@ -7,11 +7,10 @@
7
7
  * @module modules/file-browser
8
8
  */
9
9
  import type { CanUndef, IFileBrowser, IFileBrowserCallBackData, IFileBrowserDataProvider, IFileBrowserOptions, IFileBrowserState, IStorage, IUploader } from "../../types";
10
- import { Dlgs } from "../../core/traits/dlgs";
11
- import { ViewWithToolbar } from "../../core/view/view-with-toolbar";
12
- import "./config";
10
+ import { Dlgs } from "../../core/traits/dlgs.d.ts";
11
+ import { ViewWithToolbar } from "../../core/view/view-with-toolbar.d.ts";
12
+ import "./config.d.ts";
13
13
  import { FileBrowserFiles, FileBrowserTree } from "./ui";
14
-
15
14
  export interface FileBrowser extends Dlgs {
16
15
  }
17
16
  export declare class FileBrowser extends ViewWithToolbar implements IFileBrowser, Dlgs {
@@ -8,4 +8,4 @@
8
8
  * @packageDocumentation
9
9
  * @module modules/file-browser
10
10
  */
11
- export * from "./file-browser";
11
+ export * from "./file-browser.d.ts";
@@ -4,7 +4,6 @@
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
6
  import { UIGroup } from "../../../../core/ui";
7
-
8
7
  export declare class FileBrowserFiles extends UIGroup {
9
8
  className(): string;
10
9
  }
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module modules/file-browser
8
8
  */
9
- export * from "./files/files";
10
- export * from "./tree/tree";
9
+ export * from "./files/files.d.ts";
10
+ export * from "./tree/tree.d.ts";
@@ -4,7 +4,6 @@
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
6
  import { UIGroup } from "../../../../core/ui";
7
-
8
7
  export declare class FileBrowserTree extends UIGroup {
9
8
  className(): string;
10
9
  }
@@ -7,7 +7,7 @@
7
7
  * @module modules/history
8
8
  */
9
9
  import type { SnapshotType } from "../../types";
10
- import type { History } from "./history";
10
+ import type { History } from "./history.d.ts";
11
11
  export declare class Command {
12
12
  readonly oldValue: SnapshotType;
13
13
  readonly newValue: SnapshotType;
@@ -10,8 +10,8 @@
10
10
  */
11
11
  import type { IDestructible, IHistory, IJodit, ISnapshot, SnapshotType } from "../../types";
12
12
  import { ViewComponent } from "../../core/component";
13
- import { Snapshot } from "./snapshot";
14
- import { Stack } from "./stack";
13
+ import { Snapshot } from "./snapshot.d.ts";
14
+ import { Stack } from "./stack.d.ts";
15
15
  declare module 'jodit/config' {
16
16
  interface Config {
17
17
  history: {
@@ -7,7 +7,7 @@
7
7
  * @module modules/history
8
8
  */
9
9
  import type { CanUndef, IStack } from "../../types";
10
- import type { Command } from "./command";
10
+ import type { Command } from "./command.d.ts";
11
11
  export declare class Stack implements IStack {
12
12
  private readonly size;
13
13
  private readonly commands;
@@ -10,8 +10,7 @@
10
10
  */
11
11
  import type { IDialog, IDlgs, IFileBrowserDataProvider, ImageEditorActionBox, ImageEditorOptions, IViewWithToolbar } from "../../types";
12
12
  import { ViewComponent } from "../../core/component";
13
- import "./config";
14
-
13
+ import "./config.d.ts";
15
14
  interface onSave {
16
15
  (
17
16
  /**
@@ -11,7 +11,7 @@
11
11
  import { Component, STATUSES, ViewComponent } from "../core/component";
12
12
  import * as Helpers from "../core/helpers";
13
13
  export { Component, STATUSES, ViewComponent };
14
- export { ContextMenu } from "./context-menu/context-menu";
14
+ export { ContextMenu } from "./context-menu/context-menu.d.ts";
15
15
  export * from "./dialog/";
16
16
  export * from "./file-browser";
17
17
  export { Async } from "../core/async";
@@ -21,18 +21,18 @@ export * from "../core/event-emitter";
21
21
  export { Plugin } from "../core/plugin";
22
22
  export * from "../core/request";
23
23
  export * from "../core/ui";
24
- export { View } from "../core/view/view";
25
- export { ViewWithToolbar } from "../core/view/view-with-toolbar";
24
+ export { View } from "../core/view/view.d.ts";
25
+ export { ViewWithToolbar } from "../core/view/view-with-toolbar.d.ts";
26
26
  export { Helpers };
27
- export { History } from "./history/history";
28
- export { Snapshot } from "./history/snapshot";
29
- export { ImageEditor } from "./image-editor/image-editor";
30
- export { UIMessages } from "./messages/messages";
31
- export { StatusBar } from "./status-bar/status-bar";
32
- export { Table } from "./table/table";
27
+ export { History } from "./history/history.d.ts";
28
+ export { Snapshot } from "./history/snapshot.d.ts";
29
+ export { ImageEditor } from "./image-editor/image-editor.d.ts";
30
+ export { UIMessages } from "./messages/messages.d.ts";
31
+ export { StatusBar } from "./status-bar/status-bar.d.ts";
32
+ export { Table } from "./table/table.d.ts";
33
33
  export * from "./toolbar/button";
34
- export { ToolbarCollection } from "./toolbar/collection/collection";
35
- export { ToolbarEditorCollection } from "./toolbar/collection/editor-collection";
36
- export { Uploader } from "./uploader/uploader";
37
- export { PluginSystem } from "../core/plugin/plugin-system";
34
+ export { ToolbarCollection } from "./toolbar/collection/collection.d.ts";
35
+ export { ToolbarEditorCollection } from "./toolbar/collection/editor-collection.d.ts";
36
+ export { Uploader } from "./uploader/uploader.d.ts";
37
+ export { PluginSystem } from "../core/plugin/plugin-system.d.ts";
38
38
  export { CommitStyle, Selection } from "../core/selection";
@@ -9,8 +9,7 @@
9
9
  * @module modules/messages
10
10
  */
11
11
  import type { IMessages, IViewBased, MessageVariant } from "../../types";
12
- import { UIGroup } from "../../core/ui/group/group";
13
-
12
+ import { UIGroup } from "../../core/ui/group/group.d.ts";
14
13
  /**
15
14
  * Plugin display pop-up messages in the lower right corner of the editor
16
15
  */
@@ -10,9 +10,8 @@
10
10
  */
11
11
  import type { IDictionary, IJodit, IStatusBar, ModType } from "../../types";
12
12
  import { ViewComponent } from "../../core/component";
13
- import { Elms } from "../../core/traits/elms";
14
- import { Mods } from "../../core/traits/mods";
15
-
13
+ import { Elms } from "../../core/traits/elms.d.ts";
14
+ import { Mods } from "../../core/traits/mods.d.ts";
16
15
  export interface StatusBar extends Mods, Elms {
17
16
  }
18
17
  export declare class StatusBar extends ViewComponent<IJodit> implements IStatusBar {
@@ -10,7 +10,6 @@
10
10
  */
11
11
  import type { IControlTypeStrong, IToolbarButton, IToolbarCollection, IViewBased, Nullable } from "../../../types";
12
12
  import { UIButton } from "../../../core/ui/button";
13
-
14
13
  export declare class ToolbarButton<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
15
14
  readonly control: IControlTypeStrong;
16
15
  readonly target: Nullable<HTMLElement>;
@@ -8,7 +8,6 @@
8
8
  */
9
9
  import type { IControlTypeContent, IToolbarButton, IViewBased, Nullable } from "../../../types";
10
10
  import { UIButton } from "../../../core/ui/button";
11
-
12
11
  export declare class ToolbarContent<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
13
12
  readonly control: IControlTypeContent;
14
13
  readonly target: Nullable<HTMLElement>;
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module modules/toolbar/button
8
8
  */
9
- export * from "./button";
10
- export * from "./content";
11
- export * from "./select/select";
9
+ export * from "./button.d.ts";
10
+ export * from "./content.d.ts";
11
+ export * from "./select/select.d.ts";
@@ -7,8 +7,7 @@
7
7
  * @module modules/toolbar/button
8
8
  */
9
9
  import type { IViewBased } from "../../../../types";
10
- import { ToolbarButton } from "../button";
11
-
10
+ import { ToolbarButton } from "../button.d.ts";
12
11
  export declare class ToolbarSelect<T extends IViewBased = IViewBased> extends ToolbarButton<T> {
13
12
  className(): string;
14
13
  update(): void;
@@ -10,7 +10,6 @@
10
10
  */
11
11
  import type { ButtonsGroups, IBound, IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIButton, IViewBased, IViewWithToolbar, Nullable } from "../../../types";
12
12
  import { UIList } from "../../../core/ui";
13
-
14
13
  export declare class ToolbarCollection<T extends IViewWithToolbar = IViewWithToolbar> extends UIList<T> implements IToolbarCollection {
15
14
  /** @override */
16
15
  className(): string;
@@ -7,7 +7,7 @@
7
7
  * @module modules/toolbar/collection
8
8
  */
9
9
  import type { IBound, IJodit, IToolbarButton } from "../../../types";
10
- import { ToolbarCollection } from "./collection";
10
+ import { ToolbarCollection } from "./collection.d.ts";
11
11
  export declare class ToolbarEditorCollection extends ToolbarCollection<IJodit> {
12
12
  /** @override */
13
13
  className(): string;
@@ -7,10 +7,10 @@
7
7
  * @module modules/uploader
8
8
  */
9
9
  import type { Nullable } from "../../../types";
10
- export * from "./build-data";
11
- export * from "./data-uri-to-blob";
12
- export * from "./process-old-browser-drag";
13
- export * from "./send";
14
- export * from "./send-files";
10
+ export * from "./build-data.d.ts";
11
+ export * from "./data-uri-to-blob.d.ts";
12
+ export * from "./process-old-browser-drag.d.ts";
13
+ export * from "./send.d.ts";
14
+ export * from "./send-files.d.ts";
15
15
  export declare function hasFiles(data: Nullable<DataTransfer>): data is DataTransfer;
16
16
  export declare function hasItems(data: Nullable<DataTransfer>): data is DataTransfer;
@@ -10,8 +10,7 @@
10
10
  */
11
11
  import type { HandlerError, HandlerSuccess, IUploader, IUploaderOptions, IViewBased } from "../../types";
12
12
  import { ViewComponent } from "../../core/component";
13
- import "./config";
14
-
13
+ import "./config.d.ts";
15
14
  export declare class Uploader extends ViewComponent implements IUploader {
16
15
  readonly jodit: IViewBased;
17
16
  get j(): IViewBased;
@@ -9,7 +9,6 @@
9
9
  * @module modules/widget/color-picker
10
10
  */
11
11
  import type { IJodit } from "../../../types";
12
-
13
12
  /**
14
13
  * Build color picker
15
14
  *
@@ -8,6 +8,6 @@
8
8
  * @packageDocumentation
9
9
  * @module modules/widget
10
10
  */
11
- export * from "./color-picker/color-picker";
12
- export * from "./file-selector/file-selector";
13
- export * from "./tabs/tabs";
11
+ export * from "./color-picker/color-picker.d.ts";
12
+ export * from "./file-selector/file-selector.d.ts";
13
+ export * from "./tabs/tabs.d.ts";
@@ -10,7 +10,6 @@
10
10
  */
11
11
  import type { IViewBased } from "../../../types";
12
12
  import { UIElement } from "../../../core/ui";
13
-
14
13
  export interface TabOption {
15
14
  icon?: string;
16
15
  name: string;
@@ -3,4 +3,3 @@
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
-
@@ -10,8 +10,7 @@
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
12
  import { Plugin } from "../../modules";
13
- import "./config";
14
-
13
+ import "./config.d.ts";
15
14
  /**
16
15
  * Create helper for adding new paragraph(Jodit.defaultOptions.enter tag) before iframe, table or image
17
16
  */
@@ -9,8 +9,8 @@
9
9
  * @module plugins/ai-assistant
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
- import "./config";
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * The plugin inserts content generated by AI into the editor.
16
16
  */
@@ -3,68 +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 interface AiAssistantSettings {
7
- /** Callback function for AI assistant to process and return the result */
8
- aiAssistantCallback?: (prompt: string, htmlFragment: string) => Promise<string>;
9
- /** Prompt for common prefix */
10
- aiCommonPrefixPrompt: string;
11
- /** Prompt for common suffix */
12
- aiCommonSuffixPrompt: string;
13
- /** Prompt for improving writing quality */
14
- aiImproveWritingPrompt: string;
15
- /** Prompt for making text shorter */
16
- aiMakeShorterPrompt: string;
17
- /** Prompt for making text longer */
18
- aiMakeLongerPrompt: string;
19
- /** Prompt for simplifying language */
20
- aiSimplifyLanguagePrompt: string;
21
- /** Prompt for summarizing text */
22
- aiSummarizePrompt: string;
23
- /** Prompt for continuing text */
24
- aiContinuePrompt: string;
25
- /** Prompt for changing tone to professional */
26
- aiChangeToneProfessionalPrompt: string;
27
- /** Prompt for changing tone to friendly */
28
- aiChangeToneFriendlyPrompt: string;
29
- /** Prompt for changing tone to formal */
30
- aiChangeToneFormalPrompt: string;
31
- /** Prompt for changing tone to casual */
32
- aiChangeToneCasualPrompt: string;
33
- /** Prompt for changing tone to direct */
34
- aiChangeToneDirectPrompt: string;
35
- /** Prompt for changing tone to confident */
36
- aiChangeToneConfidentPrompt: string;
37
- /** Prompt for changing style to business */
38
- aiChangeStyleBusinessPrompt: string;
39
- /** Prompt for changing style to legal */
40
- aiChangeStyleLegalPrompt: string;
41
- /** Prompt for changing style to journalism */
42
- aiChangeStyleJournalismPrompt: string;
43
- /** Prompt for changing style to poetic */
44
- aiChangeStylePoeticPrompt: string;
45
- /** Prompt for translating text to Spanish */
46
- aiTranslateToSpanishPrompt: string;
47
- /** Prompt for translating text to French */
48
- aiTranslateToFrenchPrompt: string;
49
- /** Prompt for translating text to German */
50
- aiTranslateToGermanPrompt: string;
51
- /** Prompt for translating text to Italian */
52
- aiTranslateToItalianPrompt: string;
53
- /** Prompt for translating text to Portuguese */
54
- aiTranslateToPortuguesePrompt: string;
55
- /** Prompt for translating text to English */
56
- aiTranslateToEnglishPrompt: string;
57
- /** Prompt for translating text to Chinese */
58
- aiTranslateToChinesePrompt: string;
59
- /** Prompt for translating text to Japanese */
60
- aiTranslateToJapanesePrompt: string;
61
- /** Prompt for translating text to Korean */
62
- aiTranslateToKoreanPrompt: string;
63
- /** Prompt for translating text to Russian */
64
- aiTranslateToRussianPrompt: string;
65
- /** Prompt for translating text to Arabic */
66
- aiTranslateToArabicPrompt: string;
67
- }
6
+ import type { AiAssistantSettings } from "./interface.d.ts";
68
7
  declare module 'jodit/config' {
69
8
  interface Config {
70
9
  aiAssistant: AiAssistantSettings;
@@ -0,0 +1,62 @@
1
+ export interface AiAssistantSettings {
2
+ /** Callback function for AI assistant to process and return the result */
3
+ aiAssistantCallback?: (prompt: string, htmlFragment: string) => Promise<string>;
4
+ /** Prompt for common prefix */
5
+ aiCommonPrefixPrompt: string;
6
+ /** Prompt for common suffix */
7
+ aiCommonSuffixPrompt: string;
8
+ /** Prompt for improving writing quality */
9
+ aiImproveWritingPrompt: string;
10
+ /** Prompt for making text shorter */
11
+ aiMakeShorterPrompt: string;
12
+ /** Prompt for making text longer */
13
+ aiMakeLongerPrompt: string;
14
+ /** Prompt for simplifying language */
15
+ aiSimplifyLanguagePrompt: string;
16
+ /** Prompt for summarizing text */
17
+ aiSummarizePrompt: string;
18
+ /** Prompt for continuing text */
19
+ aiContinuePrompt: string;
20
+ /** Prompt for changing tone to professional */
21
+ aiChangeToneProfessionalPrompt: string;
22
+ /** Prompt for changing tone to friendly */
23
+ aiChangeToneFriendlyPrompt: string;
24
+ /** Prompt for changing tone to formal */
25
+ aiChangeToneFormalPrompt: string;
26
+ /** Prompt for changing tone to casual */
27
+ aiChangeToneCasualPrompt: string;
28
+ /** Prompt for changing tone to direct */
29
+ aiChangeToneDirectPrompt: string;
30
+ /** Prompt for changing tone to confident */
31
+ aiChangeToneConfidentPrompt: string;
32
+ /** Prompt for changing style to business */
33
+ aiChangeStyleBusinessPrompt: string;
34
+ /** Prompt for changing style to legal */
35
+ aiChangeStyleLegalPrompt: string;
36
+ /** Prompt for changing style to journalism */
37
+ aiChangeStyleJournalismPrompt: string;
38
+ /** Prompt for changing style to poetic */
39
+ aiChangeStylePoeticPrompt: string;
40
+ /** Prompt for translating text to Spanish */
41
+ aiTranslateToSpanishPrompt: string;
42
+ /** Prompt for translating text to French */
43
+ aiTranslateToFrenchPrompt: string;
44
+ /** Prompt for translating text to German */
45
+ aiTranslateToGermanPrompt: string;
46
+ /** Prompt for translating text to Italian */
47
+ aiTranslateToItalianPrompt: string;
48
+ /** Prompt for translating text to Portuguese */
49
+ aiTranslateToPortuguesePrompt: string;
50
+ /** Prompt for translating text to English */
51
+ aiTranslateToEnglishPrompt: string;
52
+ /** Prompt for translating text to Chinese */
53
+ aiTranslateToChinesePrompt: string;
54
+ /** Prompt for translating text to Japanese */
55
+ aiTranslateToJapanesePrompt: string;
56
+ /** Prompt for translating text to Korean */
57
+ aiTranslateToKoreanPrompt: string;
58
+ /** Prompt for translating text to Russian */
59
+ aiTranslateToRussianPrompt: string;
60
+ /** Prompt for translating text to Arabic */
61
+ aiTranslateToArabicPrompt: string;
62
+ }
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module plugins/ai-assistant
8
8
  */
9
- import * as en from "./en.js";
10
- import * as es from "./es.js";
9
+ import * as en from "./en.d.ts";
10
+ import * as es from "./es.d.ts";
11
11
  export { en, es };
@@ -8,8 +8,7 @@
8
8
  */
9
9
  import type { IJodit } from "../../../types";
10
10
  import { UITextArea } from "../../../core/ui";
11
- import { UIElement } from "../../../core/ui/element";
12
-
11
+ import { UIElement } from "../../../core/ui/element.d.ts";
13
12
  export declare class UiAiAssistant extends UIElement<IJodit> {
14
13
  private __body;
15
14
  private __buttons;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
12
  import { Plugin } from "../../core/plugin";
13
- import "./config";
13
+ import "./config.d.ts";
14
14
  export declare class backspace extends Plugin {
15
15
  static requires: string[];
16
16
  protected afterInit(jodit: IJodit): void;
@@ -7,7 +7,7 @@
7
7
  * @module plugins/backspace
8
8
  */
9
9
  import type { IJodit } from "../../../types";
10
- import type { DeleteMode } from "../interface";
10
+ import type { DeleteMode } from "../interface.d.ts";
11
11
  /**
12
12
  * Check possibility the char can be removed
13
13
  *
@@ -3,8 +3,8 @@
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
- import { checkRemoveChar } from "./check-remove-char";
7
- import { checkRemoveContentNotEditable } from "./check-remove-content-not-editable";
6
+ import { checkRemoveChar } from "./check-remove-char.d.ts";
7
+ import { checkRemoveContentNotEditable } from "./check-remove-content-not-editable.d.ts";
8
8
  /**
9
9
  * @private
10
10
  */
@@ -9,8 +9,8 @@
9
9
  * @module plugins/bold
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import "./interface";
13
- import "./config";
12
+ import "./interface.d.ts";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Adds `bold`,` strikethrough`, `underline` and` italic` buttons to Jodit
16
16
  */
@@ -9,8 +9,8 @@
9
9
  * @module plugins/clean-html
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
- import "./config";
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Clean HTML after removeFormat and insertHorizontalRule command
16
16
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module plugins/clean-html
8
8
  */
9
- export * from "./get-hash";
10
- export * from "./remove-format/remove-format-for-collapsed-selection";
11
- export * from "./remove-format/remove-format-for-selection";
12
- export * from "./visitor/visit-node-walker";
9
+ export * from "./get-hash.d.ts";
10
+ export * from "./remove-format/remove-format-for-collapsed-selection.d.ts";
11
+ export * from "./remove-format/remove-format-for-selection.d.ts";
12
+ export * from "./visitor/visit-node-walker.d.ts";