jodit 4.2.50 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +238 -108
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.css +1 -1
  13. package/es2018/jodit.fat.min.js +2 -2
  14. package/es2018/jodit.js +239 -108
  15. package/es2018/jodit.min.js +2 -2
  16. package/es2018/plugins/debug/debug.css +1 -1
  17. package/es2018/plugins/debug/debug.js +1 -1
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  22. package/es2021/jodit.css +1 -1
  23. package/es2021/jodit.fat.min.js +2 -2
  24. package/es2021/jodit.js +237 -107
  25. package/es2021/jodit.min.js +2 -2
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +1 -1
  33. package/es2021.en/jodit.fat.min.js +2 -2
  34. package/es2021.en/jodit.js +237 -107
  35. package/es2021.en/jodit.min.js +2 -2
  36. package/es2021.en/plugins/debug/debug.css +1 -1
  37. package/es2021.en/plugins/debug/debug.js +1 -1
  38. package/es2021.en/plugins/debug/debug.min.js +1 -1
  39. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  40. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  42. package/es5/164.fat.min.js +1 -1
  43. package/es5/164.min.js +1 -1
  44. package/es5/5.fat.min.js +1 -1
  45. package/es5/5.min.js +1 -1
  46. package/es5/jodit.css +2 -2
  47. package/es5/jodit.fat.min.js +2 -2
  48. package/es5/jodit.js +241 -109
  49. package/es5/jodit.min.css +2 -2
  50. package/es5/jodit.min.js +2 -2
  51. package/es5/plugins/debug/debug.css +1 -1
  52. package/es5/plugins/debug/debug.js +1 -1
  53. package/es5/plugins/debug/debug.min.js +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  57. package/esm/config.d.ts +4 -0
  58. package/esm/config.js +4 -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/cache/cache.d.ts +100 -0
  65. package/esm/core/decorators/cache/cache.js +106 -0
  66. package/esm/core/decorators/index.d.ts +11 -11
  67. package/esm/core/dom/index.d.ts +2 -2
  68. package/esm/core/dom/lazy-walker.d.ts +1 -1
  69. package/esm/core/event-emitter/index.d.ts +4 -4
  70. package/esm/core/global.d.ts +7 -2
  71. package/esm/core/global.js +15 -13
  72. package/esm/core/helpers/array/index.d.ts +3 -3
  73. package/esm/core/helpers/async/index.d.ts +1 -1
  74. package/esm/core/helpers/checker/index.d.ts +25 -25
  75. package/esm/core/helpers/checker/is-abort-error.d.ts +1 -1
  76. package/esm/core/helpers/color/index.d.ts +1 -1
  77. package/esm/core/helpers/html/index.d.ts +6 -6
  78. package/esm/core/helpers/normalize/index.d.ts +8 -8
  79. package/esm/core/helpers/size/index.d.ts +6 -6
  80. package/esm/core/helpers/string/index.d.ts +7 -7
  81. package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  82. package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
  83. package/esm/core/helpers/utils/error/index.d.ts +1 -1
  84. package/esm/core/helpers/utils/index.d.ts +26 -26
  85. package/esm/core/helpers/utils/selector.d.ts +5 -1
  86. package/esm/core/helpers/utils/selector.js +3 -0
  87. package/esm/core/plugin/index.d.ts +2 -2
  88. package/esm/core/plugin/plugin-system.d.ts +1 -1
  89. package/esm/core/request/ajax.d.ts +1 -1
  90. package/esm/core/request/index.d.ts +2 -2
  91. package/esm/core/selection/helpers/index.d.ts +2 -2
  92. package/esm/core/selection/index.d.ts +3 -3
  93. package/esm/core/selection/selection.d.ts +1 -1
  94. package/esm/core/selection/style/api/index.d.ts +15 -15
  95. package/esm/core/storage/index.d.ts +3 -3
  96. package/esm/core/traits/dlgs.js +3 -0
  97. package/esm/core/ui/button/button/button.d.ts +1 -2
  98. package/esm/core/ui/button/group/group.d.ts +1 -2
  99. package/esm/core/ui/button/index.d.ts +3 -3
  100. package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -2
  101. package/esm/core/ui/element.d.ts +2 -2
  102. package/esm/core/ui/form/block/block.d.ts +1 -2
  103. package/esm/core/ui/form/form.d.ts +1 -1
  104. package/esm/core/ui/form/index.d.ts +2 -2
  105. package/esm/core/ui/form/inputs/area/area.d.ts +1 -2
  106. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
  107. package/esm/core/ui/form/inputs/file/file.d.ts +1 -2
  108. package/esm/core/ui/form/inputs/index.d.ts +5 -5
  109. package/esm/core/ui/form/inputs/input/input.d.ts +1 -2
  110. package/esm/core/ui/form/inputs/select/select.d.ts +1 -2
  111. package/esm/core/ui/form/validators/index.d.ts +2 -2
  112. package/esm/core/ui/group/group.d.ts +1 -2
  113. package/esm/core/ui/group/index.d.ts +4 -4
  114. package/esm/core/ui/group/list.d.ts +1 -2
  115. package/esm/core/ui/group/separator.d.ts +1 -1
  116. package/esm/core/ui/group/spacer.d.ts +1 -1
  117. package/esm/core/ui/index.d.ts +3 -3
  118. package/esm/core/ui/popup/index.d.ts +1 -1
  119. package/esm/core/ui/popup/popup.d.ts +1 -2
  120. package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -2
  121. package/esm/core/view/view-with-toolbar.d.ts +1 -2
  122. package/esm/core/view/view.d.ts +3 -3
  123. package/esm/core/view/view.js +4 -6
  124. package/esm/index.d.ts +2 -4
  125. package/esm/jodit.d.ts +3 -3
  126. package/esm/jodit.js +5 -5
  127. package/esm/modules/context-menu/context-menu.d.ts +1 -2
  128. package/esm/modules/dialog/dialog.d.ts +9 -10
  129. package/esm/modules/dialog/dialog.js +37 -30
  130. package/esm/modules/dialog/index.d.ts +4 -4
  131. package/esm/modules/file-browser/config.d.ts +1 -1
  132. package/esm/modules/file-browser/file-browser.d.ts +3 -4
  133. package/esm/modules/file-browser/file-browser.js +2 -2
  134. package/esm/modules/file-browser/index.d.ts +1 -1
  135. package/esm/modules/file-browser/ui/files/files.d.ts +0 -1
  136. package/esm/modules/file-browser/ui/index.d.ts +2 -2
  137. package/esm/modules/file-browser/ui/tree/tree.d.ts +0 -1
  138. package/esm/modules/history/command.d.ts +1 -1
  139. package/esm/modules/history/history.d.ts +2 -2
  140. package/esm/modules/history/stack.d.ts +1 -1
  141. package/esm/modules/image-editor/icons/crop.svg.js +1 -1
  142. package/esm/modules/image-editor/icons/resize.svg.js +1 -1
  143. package/esm/modules/image-editor/image-editor.d.ts +1 -2
  144. package/esm/modules/index.d.ts +13 -13
  145. package/esm/modules/messages/messages.d.ts +1 -2
  146. package/esm/modules/status-bar/status-bar.d.ts +2 -3
  147. package/esm/modules/toolbar/button/button.d.ts +0 -1
  148. package/esm/modules/toolbar/button/content.d.ts +0 -1
  149. package/esm/modules/toolbar/button/index.d.ts +3 -3
  150. package/esm/modules/toolbar/button/select/select.d.ts +1 -2
  151. package/esm/modules/toolbar/collection/collection.d.ts +0 -1
  152. package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
  153. package/esm/modules/uploader/helpers/index.d.ts +5 -5
  154. package/esm/modules/uploader/uploader.d.ts +1 -2
  155. package/esm/modules/widget/color-picker/color-picker.d.ts +0 -1
  156. package/esm/modules/widget/color-picker/palette.svg.js +1 -1
  157. package/esm/modules/widget/index.d.ts +3 -3
  158. package/esm/modules/widget/tabs/tabs.d.ts +0 -1
  159. package/esm/plugins/about/about.d.ts +0 -1
  160. package/esm/plugins/about/about.svg.js +1 -1
  161. package/esm/plugins/add-new-line/add-new-line.d.ts +1 -2
  162. package/esm/plugins/add-new-line/enter.svg.js +1 -1
  163. package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
  164. package/esm/plugins/ai-assistant/ai-assistant.svg.js +1 -1
  165. package/esm/plugins/ai-assistant/chat-bot.svg.js +1 -1
  166. package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
  167. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
  168. package/esm/plugins/backspace/backspace.d.ts +1 -1
  169. package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  170. package/esm/plugins/backspace/cases/index.d.ts +2 -2
  171. package/esm/plugins/bold/bold.d.ts +2 -2
  172. package/esm/plugins/bold/icons/bold.svg.js +1 -1
  173. package/esm/plugins/bold/icons/italic.svg.js +1 -1
  174. package/esm/plugins/bold/icons/strikethrough.svg.js +1 -1
  175. package/esm/plugins/bold/icons/subscript.svg.js +1 -1
  176. package/esm/plugins/bold/icons/superscript.svg.js +1 -1
  177. package/esm/plugins/bold/icons/underline.svg.js +1 -1
  178. package/esm/plugins/class-span/class-span.svg.js +1 -1
  179. package/esm/plugins/clean-html/clean-html.d.ts +2 -2
  180. package/esm/plugins/clean-html/eraser.svg.js +1 -1
  181. package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
  182. package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  183. package/esm/plugins/clipboard/clipboard.d.ts +1 -1
  184. package/esm/plugins/clipboard/clipboard.js +2 -1
  185. package/esm/plugins/clipboard/icons/copy.svg.js +1 -1
  186. package/esm/plugins/clipboard/icons/cut.svg.js +1 -1
  187. package/esm/plugins/clipboard/icons/paste.svg.js +1 -1
  188. package/esm/plugins/clipboard/icons/select-all.svg.js +1 -1
  189. package/esm/plugins/color/brush.svg.js +1 -1
  190. package/esm/plugins/color/color.d.ts +1 -1
  191. package/esm/plugins/copy-format/copy-format.svg.js +1 -1
  192. package/esm/plugins/copy-format/langs/index.d.ts +21 -21
  193. package/esm/plugins/debug/debug.d.ts +1 -2
  194. package/esm/plugins/delete/delete.d.ts +1 -1
  195. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  196. package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
  197. package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
  198. package/esm/plugins/dtd/dtd.d.ts +1 -1
  199. package/esm/plugins/enter/enter.d.ts +2 -2
  200. package/esm/plugins/enter/helpers/index.d.ts +9 -9
  201. package/esm/plugins/font/font.d.ts +1 -1
  202. package/esm/plugins/font/icons/font.svg.js +1 -1
  203. package/esm/plugins/font/icons/fontsize.svg.js +1 -1
  204. package/esm/plugins/format-block/format-block.d.ts +1 -1
  205. package/esm/plugins/format-block/paragraph.svg.js +1 -1
  206. package/esm/plugins/fullsize/config.d.ts +0 -1
  207. package/esm/plugins/fullsize/fullsize.d.ts +1 -2
  208. package/esm/plugins/fullsize/icons/fullsize.svg.js +1 -1
  209. package/esm/plugins/fullsize/icons/shrink.svg.js +1 -1
  210. package/esm/plugins/hotkeys/hotkeys.d.ts +1 -1
  211. package/esm/plugins/hr/hr.svg.js +1 -1
  212. package/esm/plugins/iframe/iframe.d.ts +1 -1
  213. package/esm/plugins/image/image.svg.js +1 -1
  214. package/esm/plugins/image-processor/image-processor.d.ts +1 -1
  215. package/esm/plugins/image-processor/image-processor.js +5 -4
  216. package/esm/plugins/image-properties/config.d.ts +1 -1
  217. package/esm/plugins/image-properties/image-properties.d.ts +3 -3
  218. package/esm/plugins/image-properties/readers/align.d.ts +1 -1
  219. package/esm/plugins/image-properties/readers/index.d.ts +1 -1
  220. package/esm/plugins/image-properties/readers/link.d.ts +1 -1
  221. package/esm/plugins/image-properties/readers/margin.d.ts +1 -1
  222. package/esm/plugins/image-properties/readers/size.d.ts +1 -1
  223. package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
  224. package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
  225. package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
  226. package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  227. package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  228. package/esm/plugins/image-properties/writers/index.d.ts +1 -1
  229. package/esm/plugins/indent/icons/indent.svg.js +1 -1
  230. package/esm/plugins/indent/icons/outdent.svg.js +1 -1
  231. package/esm/plugins/indent/indent.d.ts +1 -1
  232. package/esm/plugins/index.d.ts +62 -62
  233. package/esm/plugins/inline-popup/icons/addcolumn.svg.js +1 -1
  234. package/esm/plugins/inline-popup/icons/addrow.svg.js +1 -1
  235. package/esm/plugins/inline-popup/icons/merge.svg.js +1 -1
  236. package/esm/plugins/inline-popup/icons/splitg.svg.js +1 -1
  237. package/esm/plugins/inline-popup/icons/splitv.svg.js +1 -1
  238. package/esm/plugins/inline-popup/icons/th-list.svg.js +1 -1
  239. package/esm/plugins/inline-popup/icons/th.svg.js +1 -1
  240. package/esm/plugins/inline-popup/inline-popup.d.ts +1 -2
  241. package/esm/plugins/justify/justify.svg.js +1 -1
  242. package/esm/plugins/limit/limit.d.ts +1 -1
  243. package/esm/plugins/line-height/langs/index.d.ts +22 -22
  244. package/esm/plugins/line-height/line-height.d.ts +1 -1
  245. package/esm/plugins/line-height/line-height.svg.js +1 -1
  246. package/esm/plugins/link/icons/link.svg.js +1 -1
  247. package/esm/plugins/link/icons/unlink.svg.js +1 -1
  248. package/esm/plugins/link/link.d.ts +1 -1
  249. package/esm/plugins/media/media.d.ts +1 -1
  250. package/esm/plugins/mobile/mobile.d.ts +1 -1
  251. package/esm/plugins/ordered-list/icons/ol.svg.js +1 -1
  252. package/esm/plugins/ordered-list/icons/ul.svg.js +1 -1
  253. package/esm/plugins/ordered-list/ordered-list.d.ts +1 -1
  254. package/esm/plugins/paste/helpers.d.ts +1 -1
  255. package/esm/plugins/paste/paste.d.ts +2 -2
  256. package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  257. package/esm/plugins/paste-storage/paste-storage.d.ts +1 -2
  258. package/esm/plugins/placeholder/placeholder.d.ts +2 -3
  259. package/esm/plugins/preview/preview.d.ts +0 -1
  260. package/esm/plugins/print/print.svg.js +1 -1
  261. package/esm/plugins/redo-undo/icons/redo.svg.js +1 -1
  262. package/esm/plugins/redo-undo/icons/undo.svg.js +1 -1
  263. package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
  264. package/esm/plugins/resize-cells/resize-cells.d.ts +1 -2
  265. package/esm/plugins/resize-handler/resize-handler.d.ts +1 -1
  266. package/esm/plugins/resizer/resizer.d.ts +2 -3
  267. package/esm/plugins/search/config.d.ts +1 -1
  268. package/esm/plugins/search/helpers/index.d.ts +2 -2
  269. package/esm/plugins/search/search.d.ts +1 -1
  270. package/esm/plugins/search/search.js +2 -2
  271. package/esm/plugins/search/search.svg.js +1 -1
  272. package/esm/plugins/search/ui/search.d.ts +0 -1
  273. package/esm/plugins/select/select.d.ts +1 -1
  274. package/esm/plugins/select-cells/select-cells.d.ts +1 -1
  275. package/esm/plugins/size/size.d.ts +2 -3
  276. package/esm/plugins/source/editor/engines/ace.d.ts +1 -1
  277. package/esm/plugins/source/editor/engines/area.d.ts +1 -1
  278. package/esm/plugins/source/editor/engines/index.d.ts +2 -2
  279. package/esm/plugins/source/source.d.ts +1 -2
  280. package/esm/plugins/source/source.svg.js +1 -1
  281. package/esm/plugins/speech-recognize/config.d.ts +1 -1
  282. package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
  283. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
  284. package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
  285. package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -2
  286. package/esm/plugins/speech-recognize/speech-recognize.svg.js +1 -1
  287. package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
  288. package/esm/plugins/spellcheck/spellcheck.d.ts +1 -1
  289. package/esm/plugins/spellcheck/spellcheck.svg.js +1 -1
  290. package/esm/plugins/stat/stat.d.ts +2 -2
  291. package/esm/plugins/sticky/sticky.d.ts +2 -3
  292. package/esm/plugins/symbols/langs/index.d.ts +22 -22
  293. package/esm/plugins/symbols/symbols.d.ts +2 -3
  294. package/esm/plugins/symbols/symbols.svg.js +1 -1
  295. package/esm/plugins/tab/cases/index.d.ts +1 -1
  296. package/esm/plugins/tab/tab.d.ts +1 -1
  297. package/esm/plugins/table/table.d.ts +1 -2
  298. package/esm/plugins/table/table.svg.js +1 -1
  299. package/esm/plugins/video/video.d.ts +1 -1
  300. package/esm/plugins/video/video.svg.js +1 -1
  301. package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  302. package/esm/plugins/xpath/xpath.d.ts +1 -2
  303. package/esm/polyfills.js +3 -3
  304. package/esm/styles/icons/angle-down.svg.js +1 -1
  305. package/esm/styles/icons/angle-left.svg.js +1 -1
  306. package/esm/styles/icons/angle-right.svg.js +1 -1
  307. package/esm/styles/icons/angle-up.svg.js +1 -1
  308. package/esm/styles/icons/bin.svg.js +1 -1
  309. package/esm/styles/icons/cancel.svg.js +1 -1
  310. package/esm/styles/icons/center.svg.js +1 -1
  311. package/esm/styles/icons/check.svg.js +1 -1
  312. package/esm/styles/icons/chevron.svg.js +1 -1
  313. package/esm/styles/icons/dots.svg.js +1 -1
  314. package/esm/styles/icons/eye.svg.js +1 -1
  315. package/esm/styles/icons/file.svg.js +1 -1
  316. package/esm/styles/icons/folder.svg.js +1 -1
  317. package/esm/styles/icons/index.d.ts +0 -27
  318. package/esm/styles/icons/info-circle.svg.js +1 -1
  319. package/esm/styles/icons/left.svg.js +1 -1
  320. package/esm/styles/icons/lock.svg.js +1 -1
  321. package/esm/styles/icons/ok.svg.js +1 -1
  322. package/esm/styles/icons/pencil.svg.js +1 -1
  323. package/esm/styles/icons/pins.svg.js +1 -1
  324. package/esm/styles/icons/plus.svg.js +1 -1
  325. package/esm/styles/icons/resize-handler.svg.js +1 -1
  326. package/esm/styles/icons/right.svg.js +1 -1
  327. package/esm/styles/icons/save.svg.js +1 -1
  328. package/esm/styles/icons/settings.svg.js +1 -1
  329. package/esm/styles/icons/unlock.svg.js +1 -1
  330. package/esm/styles/icons/update.svg.js +1 -1
  331. package/esm/styles/icons/upload.svg.js +1 -1
  332. package/esm/styles/icons/valign.svg.js +1 -1
  333. package/esm/types/ajax.d.ts +1 -1
  334. package/esm/types/async.d.ts +2 -2
  335. package/esm/types/context.d.ts +2 -2
  336. package/esm/types/core.d.ts +1 -1
  337. package/esm/types/create.d.ts +1 -1
  338. package/esm/types/dialog.d.ts +3 -3
  339. package/esm/types/events.d.ts +1 -1
  340. package/esm/types/file-browser.d.ts +7 -7
  341. package/esm/types/history.d.ts +1 -1
  342. package/esm/types/index.d.ts +23 -23
  343. package/esm/types/jodit.d.ts +5 -5
  344. package/esm/types/messages.d.ts +1 -1
  345. package/esm/types/plugin.d.ts +3 -3
  346. package/esm/types/popup.d.ts +2 -2
  347. package/esm/types/select.d.ts +2 -2
  348. package/esm/types/source.d.ts +1 -1
  349. package/esm/types/style.d.ts +2 -2
  350. package/esm/types/toolbar.d.ts +6 -6
  351. package/esm/types/traits.d.ts +2 -2
  352. package/esm/types/types.d.ts +2 -2
  353. package/esm/types/ui.d.ts +5 -5
  354. package/esm/types/uploader.d.ts +3 -3
  355. package/esm/types/view.d.ts +10 -9
  356. package/package.json +1 -1
  357. package/types/config.d.ts +4 -0
  358. package/types/core/async/index.d.ts +1 -1
  359. package/types/core/component/index.d.ts +3 -3
  360. package/types/core/component/view-component.d.ts +1 -1
  361. package/types/core/create/index.d.ts +1 -1
  362. package/types/core/decorators/cache/cache.d.ts +100 -0
  363. package/types/core/decorators/index.d.ts +11 -11
  364. package/types/core/dom/index.d.ts +2 -2
  365. package/types/core/dom/lazy-walker.d.ts +1 -1
  366. package/types/core/event-emitter/index.d.ts +4 -4
  367. package/types/core/global.d.ts +7 -2
  368. package/types/core/helpers/array/index.d.ts +3 -3
  369. package/types/core/helpers/async/index.d.ts +1 -1
  370. package/types/core/helpers/checker/index.d.ts +25 -25
  371. package/types/core/helpers/checker/is-abort-error.d.ts +1 -1
  372. package/types/core/helpers/color/index.d.ts +1 -1
  373. package/types/core/helpers/html/index.d.ts +6 -6
  374. package/types/core/helpers/normalize/index.d.ts +8 -8
  375. package/types/core/helpers/size/index.d.ts +6 -6
  376. package/types/core/helpers/string/index.d.ts +7 -7
  377. package/types/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  378. package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
  379. package/types/core/helpers/utils/error/index.d.ts +1 -1
  380. package/types/core/helpers/utils/index.d.ts +26 -26
  381. package/types/core/helpers/utils/selector.d.ts +5 -1
  382. package/types/core/plugin/index.d.ts +2 -2
  383. package/types/core/plugin/plugin-system.d.ts +1 -1
  384. package/types/core/request/ajax.d.ts +1 -1
  385. package/types/core/request/index.d.ts +2 -2
  386. package/types/core/selection/helpers/index.d.ts +2 -2
  387. package/types/core/selection/index.d.ts +3 -3
  388. package/types/core/selection/selection.d.ts +1 -1
  389. package/types/core/selection/style/api/index.d.ts +15 -15
  390. package/types/core/storage/index.d.ts +3 -3
  391. package/types/core/ui/button/button/button.d.ts +1 -2
  392. package/types/core/ui/button/group/group.d.ts +1 -2
  393. package/types/core/ui/button/index.d.ts +3 -3
  394. package/types/core/ui/button/tooltip/tooltip.d.ts +1 -2
  395. package/types/core/ui/element.d.ts +2 -2
  396. package/types/core/ui/form/block/block.d.ts +1 -2
  397. package/types/core/ui/form/form.d.ts +1 -1
  398. package/types/core/ui/form/index.d.ts +2 -2
  399. package/types/core/ui/form/inputs/area/area.d.ts +1 -2
  400. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
  401. package/types/core/ui/form/inputs/file/file.d.ts +1 -2
  402. package/types/core/ui/form/inputs/index.d.ts +5 -5
  403. package/types/core/ui/form/inputs/input/input.d.ts +1 -2
  404. package/types/core/ui/form/inputs/select/select.d.ts +1 -2
  405. package/types/core/ui/form/validators/index.d.ts +2 -2
  406. package/types/core/ui/group/group.d.ts +1 -2
  407. package/types/core/ui/group/index.d.ts +4 -4
  408. package/types/core/ui/group/list.d.ts +1 -2
  409. package/types/core/ui/group/separator.d.ts +1 -1
  410. package/types/core/ui/group/spacer.d.ts +1 -1
  411. package/types/core/ui/index.d.ts +3 -3
  412. package/types/core/ui/popup/index.d.ts +1 -1
  413. package/types/core/ui/popup/popup.d.ts +1 -2
  414. package/types/core/ui/progress-bar/progress-bar.d.ts +1 -2
  415. package/types/core/view/view-with-toolbar.d.ts +1 -2
  416. package/types/core/view/view.d.ts +3 -3
  417. package/types/index.d.ts +2 -4
  418. package/types/jodit.d.ts +3 -3
  419. package/types/modules/context-menu/context-menu.d.ts +1 -2
  420. package/types/modules/dialog/dialog.d.ts +9 -10
  421. package/types/modules/dialog/index.d.ts +4 -4
  422. package/types/modules/file-browser/config.d.ts +1 -1
  423. package/types/modules/file-browser/file-browser.d.ts +3 -4
  424. package/types/modules/file-browser/index.d.ts +1 -1
  425. package/types/modules/file-browser/ui/files/files.d.ts +0 -1
  426. package/types/modules/file-browser/ui/index.d.ts +2 -2
  427. package/types/modules/file-browser/ui/tree/tree.d.ts +0 -1
  428. package/types/modules/history/command.d.ts +1 -1
  429. package/types/modules/history/history.d.ts +2 -2
  430. package/types/modules/history/stack.d.ts +1 -1
  431. package/types/modules/image-editor/image-editor.d.ts +1 -2
  432. package/types/modules/index.d.ts +13 -13
  433. package/types/modules/messages/messages.d.ts +1 -2
  434. package/types/modules/status-bar/status-bar.d.ts +2 -3
  435. package/types/modules/toolbar/button/button.d.ts +0 -1
  436. package/types/modules/toolbar/button/content.d.ts +0 -1
  437. package/types/modules/toolbar/button/index.d.ts +3 -3
  438. package/types/modules/toolbar/button/select/select.d.ts +1 -2
  439. package/types/modules/toolbar/collection/collection.d.ts +0 -1
  440. package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
  441. package/types/modules/uploader/helpers/index.d.ts +5 -5
  442. package/types/modules/uploader/uploader.d.ts +1 -2
  443. package/types/modules/widget/color-picker/color-picker.d.ts +0 -1
  444. package/types/modules/widget/index.d.ts +3 -3
  445. package/types/modules/widget/tabs/tabs.d.ts +0 -1
  446. package/types/plugins/about/about.d.ts +0 -1
  447. package/types/plugins/add-new-line/add-new-line.d.ts +1 -2
  448. package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -2
  449. package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
  450. package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
  451. package/types/plugins/backspace/backspace.d.ts +1 -1
  452. package/types/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  453. package/types/plugins/backspace/cases/index.d.ts +2 -2
  454. package/types/plugins/bold/bold.d.ts +2 -2
  455. package/types/plugins/clean-html/clean-html.d.ts +2 -2
  456. package/types/plugins/clean-html/helpers/index.d.ts +4 -4
  457. package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  458. package/types/plugins/clipboard/clipboard.d.ts +1 -1
  459. package/types/plugins/color/color.d.ts +1 -1
  460. package/types/plugins/copy-format/langs/index.d.ts +21 -21
  461. package/types/plugins/debug/debug.d.ts +1 -2
  462. package/types/plugins/delete/delete.d.ts +1 -1
  463. package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  464. package/types/plugins/dtd/after-insert/index.d.ts +1 -1
  465. package/types/plugins/dtd/before-insert/index.d.ts +1 -1
  466. package/types/plugins/dtd/dtd.d.ts +1 -1
  467. package/types/plugins/enter/enter.d.ts +2 -2
  468. package/types/plugins/enter/helpers/index.d.ts +9 -9
  469. package/types/plugins/font/font.d.ts +1 -1
  470. package/types/plugins/format-block/format-block.d.ts +1 -1
  471. package/types/plugins/fullsize/config.d.ts +0 -1
  472. package/types/plugins/fullsize/fullsize.d.ts +1 -2
  473. package/types/plugins/hotkeys/hotkeys.d.ts +1 -1
  474. package/types/plugins/iframe/iframe.d.ts +1 -1
  475. package/types/plugins/image-processor/image-processor.d.ts +1 -1
  476. package/types/plugins/image-properties/config.d.ts +1 -1
  477. package/types/plugins/image-properties/image-properties.d.ts +3 -3
  478. package/types/plugins/image-properties/readers/align.d.ts +1 -1
  479. package/types/plugins/image-properties/readers/index.d.ts +1 -1
  480. package/types/plugins/image-properties/readers/link.d.ts +1 -1
  481. package/types/plugins/image-properties/readers/margin.d.ts +1 -1
  482. package/types/plugins/image-properties/readers/size.d.ts +1 -1
  483. package/types/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
  484. package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
  485. package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
  486. package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  487. package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  488. package/types/plugins/image-properties/writers/index.d.ts +1 -1
  489. package/types/plugins/indent/indent.d.ts +1 -1
  490. package/types/plugins/index.d.ts +62 -62
  491. package/types/plugins/inline-popup/inline-popup.d.ts +1 -2
  492. package/types/plugins/limit/limit.d.ts +1 -1
  493. package/types/plugins/line-height/langs/index.d.ts +22 -22
  494. package/types/plugins/line-height/line-height.d.ts +1 -1
  495. package/types/plugins/link/link.d.ts +1 -1
  496. package/types/plugins/media/media.d.ts +1 -1
  497. package/types/plugins/mobile/mobile.d.ts +1 -1
  498. package/types/plugins/ordered-list/ordered-list.d.ts +1 -1
  499. package/types/plugins/paste/helpers.d.ts +1 -1
  500. package/types/plugins/paste/paste.d.ts +2 -2
  501. package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  502. package/types/plugins/paste-storage/paste-storage.d.ts +1 -2
  503. package/types/plugins/placeholder/placeholder.d.ts +2 -3
  504. package/types/plugins/preview/preview.d.ts +0 -1
  505. package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
  506. package/types/plugins/resize-cells/resize-cells.d.ts +1 -2
  507. package/types/plugins/resize-handler/resize-handler.d.ts +1 -1
  508. package/types/plugins/resizer/resizer.d.ts +2 -3
  509. package/types/plugins/search/config.d.ts +1 -1
  510. package/types/plugins/search/helpers/index.d.ts +2 -2
  511. package/types/plugins/search/search.d.ts +1 -1
  512. package/types/plugins/search/ui/search.d.ts +0 -1
  513. package/types/plugins/select/select.d.ts +1 -1
  514. package/types/plugins/select-cells/select-cells.d.ts +1 -1
  515. package/types/plugins/size/size.d.ts +2 -3
  516. package/types/plugins/source/editor/engines/ace.d.ts +1 -1
  517. package/types/plugins/source/editor/engines/area.d.ts +1 -1
  518. package/types/plugins/source/editor/engines/index.d.ts +2 -2
  519. package/types/plugins/source/source.d.ts +1 -2
  520. package/types/plugins/speech-recognize/config.d.ts +1 -1
  521. package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
  522. package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
  523. package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
  524. package/types/plugins/speech-recognize/speech-recognize.d.ts +1 -2
  525. package/types/plugins/spellcheck/langs/index.d.ts +22 -22
  526. package/types/plugins/spellcheck/spellcheck.d.ts +1 -1
  527. package/types/plugins/stat/stat.d.ts +2 -2
  528. package/types/plugins/sticky/sticky.d.ts +2 -3
  529. package/types/plugins/symbols/langs/index.d.ts +22 -22
  530. package/types/plugins/symbols/symbols.d.ts +2 -3
  531. package/types/plugins/tab/cases/index.d.ts +1 -1
  532. package/types/plugins/tab/tab.d.ts +1 -1
  533. package/types/plugins/table/table.d.ts +1 -2
  534. package/types/plugins/video/video.d.ts +1 -1
  535. package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  536. package/types/plugins/xpath/xpath.d.ts +1 -2
  537. package/types/styles/icons/index.d.ts +0 -27
  538. package/types/types/ajax.d.ts +1 -1
  539. package/types/types/async.d.ts +2 -2
  540. package/types/types/context.d.ts +2 -2
  541. package/types/types/core.d.ts +1 -1
  542. package/types/types/create.d.ts +1 -1
  543. package/types/types/dialog.d.ts +3 -3
  544. package/types/types/events.d.ts +1 -1
  545. package/types/types/file-browser.d.ts +7 -7
  546. package/types/types/history.d.ts +1 -1
  547. package/types/types/index.d.ts +23 -23
  548. package/types/types/jodit.d.ts +5 -5
  549. package/types/types/messages.d.ts +1 -1
  550. package/types/types/plugin.d.ts +3 -3
  551. package/types/types/popup.d.ts +2 -2
  552. package/types/types/select.d.ts +2 -2
  553. package/types/types/source.d.ts +1 -1
  554. package/types/types/style.d.ts +2 -2
  555. package/types/types/toolbar.d.ts +6 -6
  556. package/types/types/traits.d.ts +2 -2
  557. package/types/types/types.d.ts +2 -2
  558. package/types/types/ui.d.ts +5 -5
  559. package/types/types/uploader.d.ts +3 -3
  560. package/types/types/view.d.ts +10 -9
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module dom
8
8
  */
9
- export * from "./dom";
10
- export * from "./lazy-walker";
9
+ export * from "./dom.d.ts";
10
+ export * from "./lazy-walker.d.ts";
@@ -7,7 +7,7 @@
7
7
  * @module dom
8
8
  */
9
9
  import type { IAsync, IDestructible } from "../../types";
10
- import { Eventify } from "../event-emitter/eventify";
10
+ import { Eventify } from "../event-emitter/eventify.d.ts";
11
11
  export declare class LazyWalker extends Eventify<{
12
12
  visit: (node: Node) => boolean;
13
13
  break: (reason?: string) => void;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- export * from "./event-emitter";
10
- export * from "./eventify";
11
- export * from "./observable";
12
- export * from "./store";
9
+ export * from "./event-emitter.d.ts";
10
+ export * from "./eventify.d.ts";
11
+ export * from "./observable.d.ts";
12
+ export * from "./store.d.ts";
@@ -6,8 +6,8 @@
6
6
  /**
7
7
  * @module global
8
8
  */
9
- import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent } from "../types";
10
- import { PluginSystem } from "./plugin/plugin-system";
9
+ import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types";
10
+ import { PluginSystem } from "./plugin/plugin-system.d.ts";
11
11
  import { EventEmitter } from "./event-emitter";
12
12
  export declare const instances: IDictionary<IJodit>;
13
13
  /**
@@ -21,6 +21,11 @@ export declare const extendLang: (langs: IDictionary) => void;
21
21
  * Create unique box(HTMLCotainer) and remove it after destroy
22
22
  */
23
23
  export declare function getContainer<T extends HTMLTagNames = HTMLTagNames>(jodit: IViewBased | IViewComponent, classFunc?: Function | string, tag?: T, createInsideEditor?: boolean): HTMLElementTagNameMap[T];
24
+ /**
25
+ * Get root element for view
26
+ * @internal
27
+ */
28
+ export declare function getPopupViewRoot(o: IViewOptions, container: HTMLElement, defaultRoot: HTMLElement): HTMLElement;
24
29
  /**
25
30
  * Global event emitter
26
31
  */
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module helpers/array
8
8
  */
9
- export { asArray } from "./as-array";
10
- export { splitArray } from "./split-array";
11
- export { toArray } from "./to-array";
9
+ export { asArray } from "./as-array.d.ts";
10
+ export { splitArray } from "./split-array.d.ts";
11
+ export { toArray } from "./to-array.d.ts";
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module helpers/async
8
8
  */
9
- export * from "./set-timeout";
9
+ export * from "./set-timeout.d.ts";
@@ -6,28 +6,28 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- export * from "./has-browser-color-picker";
10
- export * from "./is-abort-error";
11
- export * from "./is-array";
12
- export * from "./is-boolean";
13
- export * from "./is-equal";
14
- export * from "./is-function";
15
- export * from "./is-html";
16
- export * from "./is-html-from-word";
17
- export * from "./is-imp-interface";
18
- export * from "./is-int";
19
- export * from "./is-jodit-object";
20
- export * from "./is-license";
21
- export * from "./is-marker";
22
- export * from "./is-native-function";
23
- export * from "./is-number";
24
- export * from "./is-numeric";
25
- export * from "./is-plain-object";
26
- export * from "./is-promise";
27
- export * from "./is-set";
28
- export * from "./is-string";
29
- export * from "./is-url";
30
- export * from "./is-valid-name";
31
- export * from "./is-view-object";
32
- export * from "./is-void";
33
- export * from "./is-window";
9
+ export * from "./has-browser-color-picker.d.ts";
10
+ export * from "./is-abort-error.d.ts";
11
+ export * from "./is-array.d.ts";
12
+ export * from "./is-boolean.d.ts";
13
+ export * from "./is-equal.d.ts";
14
+ export * from "./is-function.d.ts";
15
+ export * from "./is-html.d.ts";
16
+ export * from "./is-html-from-word.d.ts";
17
+ export * from "./is-imp-interface.d.ts";
18
+ export * from "./is-int.d.ts";
19
+ export * from "./is-jodit-object.d.ts";
20
+ export * from "./is-license.d.ts";
21
+ export * from "./is-marker.d.ts";
22
+ export * from "./is-native-function.d.ts";
23
+ export * from "./is-number.d.ts";
24
+ export * from "./is-numeric.d.ts";
25
+ export * from "./is-plain-object.d.ts";
26
+ export * from "./is-promise.d.ts";
27
+ export * from "./is-set.d.ts";
28
+ export * from "./is-string.d.ts";
29
+ export * from "./is-url.d.ts";
30
+ export * from "./is-valid-name.d.ts";
31
+ export * from "./is-view-object.d.ts";
32
+ export * from "./is-void.d.ts";
33
+ export * from "./is-window.d.ts";
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { AbortError } from "../utils/error/errors/abort-error";
9
+ import type { AbortError } from "../utils/error/errors/abort-error.d.ts";
10
10
  export declare function isAbortError(error: unknown): error is AbortError;
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module helpers/color
8
8
  */
9
- export * from "./color-to-hex";
9
+ export * from "./color-to-hex.d.ts";
@@ -6,9 +6,9 @@
6
6
  /**
7
7
  * @module helpers/html
8
8
  */
9
- export * from "./apply-styles";
10
- export * from "./clean-from-word";
11
- export * from "./htmlspecialchars";
12
- export * from "./nl2br";
13
- export * from "./safe-html";
14
- export * from "./strip-tags";
9
+ export * from "./apply-styles.d.ts";
10
+ export * from "./clean-from-word.d.ts";
11
+ export * from "./htmlspecialchars.d.ts";
12
+ export * from "./nl2br.d.ts";
13
+ export * from "./safe-html.d.ts";
14
+ export * from "./strip-tags.d.ts";
@@ -6,11 +6,11 @@
6
6
  /**
7
7
  * @module helpers/normalize
8
8
  */
9
- export * from "./normalize-color";
10
- export * from "./normalize-css-value";
11
- export * from "./normalize-key-aliases";
12
- export * from "./normalize-license";
13
- export * from "./normalize-path";
14
- export * from "./normalize-relative-path";
15
- export * from "./normalize-size";
16
- export * from "./normalize-url";
9
+ export * from "./normalize-color.d.ts";
10
+ export * from "./normalize-css-value.d.ts";
11
+ export * from "./normalize-key-aliases.d.ts";
12
+ export * from "./normalize-license.d.ts";
13
+ export * from "./normalize-path.d.ts";
14
+ export * from "./normalize-relative-path.d.ts";
15
+ export * from "./normalize-size.d.ts";
16
+ export * from "./normalize-url.d.ts";
@@ -6,9 +6,9 @@
6
6
  /**
7
7
  * @module helpers/size
8
8
  */
9
- export * from "./get-content-width";
10
- export * from "./get-scroll-parent";
11
- export * from "./inner-width";
12
- export * from "./object-size";
13
- export * from "./offset";
14
- export * from "./position";
9
+ export * from "./get-content-width.d.ts";
10
+ export * from "./get-scroll-parent.d.ts";
11
+ export * from "./inner-width.d.ts";
12
+ export * from "./object-size.d.ts";
13
+ export * from "./offset.d.ts";
14
+ export * from "./position.d.ts";
@@ -6,10 +6,10 @@
6
6
  /**
7
7
  * @module helpers/string
8
8
  */
9
- export * from "./camel-case";
10
- export * from "./fuzzy-search-index";
11
- export * from "./i18n";
12
- export * from "./kebab-case";
13
- export * from "./stringify";
14
- export * from "./trim";
15
- export * from "./ucfirst";
9
+ export * from "./camel-case.d.ts";
10
+ export * from "./fuzzy-search-index.d.ts";
11
+ export * from "./i18n.d.ts";
12
+ export * from "./kebab-case.d.ts";
13
+ export * from "./stringify.d.ts";
14
+ export * from "./trim.d.ts";
15
+ export * from "./ucfirst.d.ts";
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- import { isAbortError } from "../../../checker/is-abort-error";
9
+ import { isAbortError } from "../../../checker/is-abort-error.d.ts";
10
10
  /**
11
11
  * `AbortError` is not a separate exception, but rather a {@link DOMException} with a special `name`.
12
12
  * https://webidl.spec.whatwg.org/#aborterror
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- export * from "./abort-error";
10
- export * from "./connection-error";
11
- export * from "./options-error";
9
+ export * from "./abort-error.d.ts";
10
+ export * from "./connection-error.d.ts";
11
+ export * from "./options-error.d.ts";
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- export * from "./error";
9
+ export * from "./error.d.ts";
10
10
  export * from "./errors/";
@@ -6,30 +6,30 @@
6
6
  /**
7
7
  * @module helpers/utils
8
8
  */
9
- export * from "./align";
10
- export * from "./append-script";
11
- export * from "./assert";
12
- export * from "./attr";
13
- export * from "./browser";
14
- export * from "./build-query";
15
- export * from "./complete-url";
16
- export * from "./config-proto";
17
- export * from "./convert-media-url-to-video-embed";
18
- export * from "./css";
19
- export * from "./ctrl-key";
20
- export * from "./data-bind";
21
- export * from "./default-language";
9
+ export * from "./align.d.ts";
10
+ export * from "./append-script.d.ts";
11
+ export * from "./assert.d.ts";
12
+ export * from "./attr.d.ts";
13
+ export * from "./browser.d.ts";
14
+ export * from "./build-query.d.ts";
15
+ export * from "./complete-url.d.ts";
16
+ export * from "./config-proto.d.ts";
17
+ export * from "./convert-media-url-to-video-embed.d.ts";
18
+ export * from "./css.d.ts";
19
+ export * from "./ctrl-key.d.ts";
20
+ export * from "./data-bind.d.ts";
21
+ export * from "./default-language.d.ts";
22
22
  export * from "./error";
23
- export * from "./extend";
24
- export * from "./get";
25
- export * from "./get-class-name";
26
- export * from "./human-size-to-bytes";
27
- export * from "./mark-deprecated";
28
- export * from "./parse-query";
29
- export * from "./print";
30
- export * from "./reset";
31
- export * from "./scroll-into-view";
32
- export * from "./selector";
33
- export * from "./set";
34
- export * from "./stack";
35
- export * from "./utils";
23
+ export * from "./extend.d.ts";
24
+ export * from "./get.d.ts";
25
+ export * from "./get-class-name.d.ts";
26
+ export * from "./human-size-to-bytes.d.ts";
27
+ export * from "./mark-deprecated.d.ts";
28
+ export * from "./parse-query.d.ts";
29
+ export * from "./print.d.ts";
30
+ export * from "./reset.d.ts";
31
+ export * from "./scroll-into-view.d.ts";
32
+ export * from "./selector.d.ts";
33
+ export * from "./set.d.ts";
34
+ export * from "./stack.d.ts";
35
+ export * from "./utils.d.ts";
@@ -15,14 +15,18 @@ import type { HTMLTagNames, IDictionary, Nullable } from "../../../types";
15
15
  * ```javascript
16
16
  * Jodit.modules.Helpers.$$('.someselector').forEach(function (elm) {
17
17
  * elm.addEventListener('click', function () {
18
- * alert(''Clicked');
18
+ * alert('Clicked');
19
19
  * });
20
20
  * })
21
21
  * ```
22
22
  * @param selector - CSS like selector
23
23
  * @param root - where to search
24
+ * @deprecated Do not use it in new code
24
25
  */
25
26
  export declare function $$<K extends HTMLTagNames>(selector: K, root: HTMLElement | DocumentFragment): Array<HTMLElementTagNameMap[K]>;
27
+ /**
28
+ * @deprecated Do not use it in new code
29
+ */
26
30
  export declare function $$<T extends HTMLElement>(selector: string, root: HTMLElement | DocumentFragment): T[];
27
31
  /**
28
32
  * Calculate XPath selector
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module plugin
8
8
  */
9
- export * from "./plugin";
10
- export * from "./plugin-system";
9
+ export * from "./plugin.d.ts";
10
+ export * from "./plugin-system.d.ts";
@@ -7,7 +7,7 @@
7
7
  * @module plugin
8
8
  */
9
9
  import type { IJodit, IPluginSystem, PluginType } from "../../types";
10
- import "./interface";
10
+ import "./interface.d.ts";
11
11
  /**
12
12
  * Jodit plugin system
13
13
  * @example
@@ -9,7 +9,7 @@
9
9
  * @module request
10
10
  */
11
11
  import type { AjaxOptions, IAjax, IRequest, IResponse, RejectablePromise } from "../../types";
12
- import "./config";
12
+ import "./config.d.ts";
13
13
  export declare class Ajax<T extends object = any> implements IAjax<T> {
14
14
  className(): string;
15
15
  private __async;
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module request
8
8
  */
9
- export * from "./ajax";
10
- export * from "./response";
9
+ export * from "./ajax.d.ts";
10
+ export * from "./response.d.ts";
@@ -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
- export * from "./move-node-inside-start";
7
- export * from "./move-the-node-along-the-edge-outward";
6
+ export * from "./move-node-inside-start.d.ts";
7
+ export * from "./move-the-node-along-the-edge-outward.d.ts";
8
8
  /**
9
9
  * Check if the cursor is at the edge of the string
10
10
  * @private
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module selection
8
8
  */
9
- export * from "./selection";
10
- export * from "./style/commit-style";
11
- export * from "./style/constants";
9
+ export * from "./selection.d.ts";
10
+ export * from "./style/commit-style.d.ts";
11
+ export * from "./style/constants.d.ts";
@@ -9,7 +9,7 @@
9
9
  * @module selection
10
10
  */
11
11
  import type { HTMLTagNames, IDictionary, IJodit, ISelect, IStyleOptions, MarkerInfo, Nullable } from "../../types";
12
- import "./interface";
12
+ import "./interface.d.ts";
13
13
  export declare class Selection implements ISelect {
14
14
  readonly jodit: IJodit;
15
15
  constructor(jodit: IJodit);
@@ -3,18 +3,18 @@
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 * from "./extract";
7
- export * from "./finite-state-machine";
8
- export * from "./get-suit-child";
9
- export * from "./get-suit-parent";
10
- export * from "./has-same-style";
11
- export * from "./is-inside-invisible-element";
12
- export * from "./is-normal-node";
13
- export * from "./is-same-attributes";
14
- export * from "./is-suit-element";
15
- export * from "./list/toggle-ordered-list";
16
- export * from "./list/wrap-list";
17
- export * from "./toggle-attributes";
18
- export * from "./unwrap-children";
19
- export * from "./wrap";
20
- export * from "./wrap-unwrapped-text";
6
+ export * from "./extract.d.ts";
7
+ export * from "./finite-state-machine.d.ts";
8
+ export * from "./get-suit-child.d.ts";
9
+ export * from "./get-suit-parent.d.ts";
10
+ export * from "./has-same-style.d.ts";
11
+ export * from "./is-inside-invisible-element.d.ts";
12
+ export * from "./is-normal-node.d.ts";
13
+ export * from "./is-same-attributes.d.ts";
14
+ export * from "./is-suit-element.d.ts";
15
+ export * from "./list/toggle-ordered-list.d.ts";
16
+ export * from "./list/wrap-list.d.ts";
17
+ export * from "./toggle-attributes.d.ts";
18
+ export * from "./unwrap-children.d.ts";
19
+ export * from "./wrap.d.ts";
20
+ export * from "./wrap-unwrapped-text.d.ts";
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module storage
8
8
  */
9
- export * from "./engines/local-storage-provider";
10
- export * from "./engines/memory-storage-provider";
11
- export * from "./storage";
9
+ export * from "./engines/local-storage-provider.d.ts";
10
+ export * from "./engines/memory-storage-provider.d.ts";
11
+ export * from "./storage.d.ts";
@@ -7,8 +7,7 @@
7
7
  * @module ui/button
8
8
  */
9
9
  import type { ButtonVariant, IUIButton, IUIButtonState, IUIButtonStatePartial, IViewBased } from "../../../../types";
10
- import { UIElement } from "../../element";
11
-
10
+ import { UIElement } from "../../element.d.ts";
12
11
  export declare const UIButtonState: () => IUIButtonState;
13
12
  export declare class UIButton extends UIElement implements IUIButton {
14
13
  /** @override */
@@ -7,8 +7,7 @@
7
7
  * @module ui/button
8
8
  */
9
9
  import type { IDictionary, IUIButton, IUIOption, IViewBased } from "../../../../types";
10
- import { UIGroup } from "../../group/group";
11
-
10
+ import { UIGroup } from "../../group/group.d.ts";
12
11
  export declare class UIButtonGroup extends UIGroup {
13
12
  readonly options: {
14
13
  name?: string;
@@ -8,6 +8,6 @@
8
8
  * @packageDocumentation
9
9
  * @module ui/button
10
10
  */
11
- export * from "./button/button";
12
- export * from "./group/group";
13
- export * from "./tooltip/tooltip";
11
+ export * from "./button/button.d.ts";
12
+ export * from "./group/group.d.ts";
13
+ export * from "./tooltip/tooltip.d.ts";
@@ -9,8 +9,7 @@
9
9
  * @module ui/button
10
10
  */
11
11
  import type { IViewBased } from "../../../../types";
12
- import { UIElement } from "../../element";
13
-
12
+ import { UIElement } from "../../element.d.ts";
14
13
  export declare class UITooltip extends UIElement {
15
14
  private __isOpened;
16
15
  className(): string;
@@ -8,8 +8,8 @@
8
8
  */
9
9
  import type { IDictionary, IUIElement, IViewBased, Nullable } from "../../types";
10
10
  import { ViewComponent } from "../component";
11
- import { Elms } from "../traits/elms";
12
- import { Mods } from "../traits/mods";
11
+ import { Elms } from "../traits/elms.d.ts";
12
+ import { Mods } from "../traits/mods.d.ts";
13
13
  export interface UIElement extends Mods, Elms {
14
14
  }
15
15
  export declare abstract class UIElement<T extends IViewBased = IViewBased> extends ViewComponent<T> implements IUIElement, Mods, Elms {
@@ -7,8 +7,7 @@
7
7
  * @module ui/form
8
8
  */
9
9
  import type { IUIElement, IViewBased } from "../../../../types";
10
- import { UIGroup } from "../../group/group";
11
-
10
+ import { UIGroup } from "../../group/group.d.ts";
12
11
  export declare class UIBlock extends UIGroup {
13
12
  readonly options: {
14
13
  className?: string;
@@ -9,7 +9,7 @@
9
9
  * @module ui/form
10
10
  */
11
11
  import type { IDictionary, IUIForm } from "../../../types";
12
- import { UIGroup } from "../group/group";
12
+ import { UIGroup } from "../group/group.d.ts";
13
13
  export declare class UIForm extends UIGroup implements IUIForm {
14
14
  /** @override */
15
15
  className(): string;
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module ui/form
8
8
  */
9
- export * from "./block/block";
10
- export * from "./form";
9
+ export * from "./block/block.d.ts";
10
+ export * from "./form.d.ts";
11
11
  export * from "./inputs";
@@ -7,8 +7,7 @@
7
7
  * @module ui/form
8
8
  */
9
9
  import type { IUIInput, IUITextArea, IViewBased } from "../../../../../types";
10
- import { UIInput } from "../input/input";
11
-
10
+ import { UIInput } from "../input/input.d.ts";
12
11
  export declare class UITextArea extends UIInput implements IUITextArea {
13
12
  /** @override */
14
13
  className(): string;
@@ -7,8 +7,7 @@
7
7
  * @module ui/form
8
8
  */
9
9
  import type { IUICheckBox, IViewBased } from "../../../../../types";
10
- import { UIInput } from "../input/input";
11
-
10
+ import { UIInput } from "../input/input.d.ts";
12
11
  export declare class UICheckbox extends UIInput implements IUICheckBox {
13
12
  /** @override */
14
13
  className(): string;
@@ -7,8 +7,7 @@
7
7
  * @module ui/form
8
8
  */
9
9
  import type { IUIInput, IViewBased } from "../../../../../types";
10
- import { UIInput } from "../input/input";
11
-
10
+ import { UIInput } from "../input/input.d.ts";
12
11
  export declare class UIFileInput extends UIInput {
13
12
  private button;
14
13
  state: UIInput['state'] & {
@@ -6,8 +6,8 @@
6
6
  /**
7
7
  * @module ui/form
8
8
  */
9
- export * from "./area/area";
10
- export * from "./checkbox/checkbox";
11
- export * from "./file/file";
12
- export * from "./input/input";
13
- export * from "./select/select";
9
+ export * from "./area/area.d.ts";
10
+ export * from "./checkbox/checkbox.d.ts";
11
+ export * from "./file/file.d.ts";
12
+ export * from "./input/input.d.ts";
13
+ export * from "./select/select.d.ts";
@@ -7,8 +7,7 @@
7
7
  * @module ui/form
8
8
  */
9
9
  import type { IUIInput, IUIInputValidator, IViewBased } from "../../../../../types";
10
- import { UIElement } from "../../../element";
11
-
10
+ import { UIElement } from "../../../element.d.ts";
12
11
  export declare class UIInput extends UIElement implements IUIInput {
13
12
  /** @override */
14
13
  className(): string;
@@ -7,8 +7,7 @@
7
7
  * @module ui/form
8
8
  */
9
9
  import type { IUISelect, IViewBased } from "../../../../../types";
10
- import { UIInput } from "../input/input";
11
-
10
+ import { UIInput } from "../input/input.d.ts";
12
11
  export declare class UISelect extends UIInput implements IUISelect {
13
12
  /** @override */
14
13
  className(): string;
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module ui/form
8
8
  */
9
- export * as inputValidators from "./input";
10
- export * as selectValidators from "./select";
9
+ export * as inputValidators from "./input.d.ts";
10
+ export * as selectValidators from "./select.d.ts";
@@ -9,8 +9,7 @@
9
9
  * @module ui/group
10
10
  */
11
11
  import type { IDictionary, IUIButtonState, IUIElement, IUIGroup, IViewBased, ModType } from "../../../types";
12
- import { UIElement } from "../element";
13
-
12
+ import { UIElement } from "../element.d.ts";
14
13
  export declare class UIGroup<T extends IViewBased = IViewBased> extends UIElement<T> implements IUIGroup {
15
14
  readonly options?: IDictionary | undefined;
16
15
  className(): string;