jodit 4.0.0-beta.67 → 4.0.0-beta.69

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 (1029) hide show
  1. package/README.md +5 -4
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +2 -2
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +2 -2
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.js +1 -1
  16. package/es2018/plugins/debug/debug.min.js +1 -1
  17. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +1 -1
  21. package/es2021/jodit.fat.min.js +2 -2
  22. package/es2021/jodit.js +2 -2
  23. package/es2021/jodit.min.js +2 -2
  24. package/es2021/plugins/debug/debug.js +1 -1
  25. package/es2021/plugins/debug/debug.min.js +1 -1
  26. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  29. package/es2021.en/jodit.css +1 -1
  30. package/es2021.en/jodit.fat.min.js +2 -2
  31. package/es2021.en/jodit.js +2 -2
  32. package/es2021.en/jodit.min.js +2 -2
  33. package/es2021.en/plugins/debug/debug.js +1 -1
  34. package/es2021.en/plugins/debug/debug.min.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  38. package/es5/jodit.css +2 -2
  39. package/es5/jodit.fat.min.js +2 -2
  40. package/es5/jodit.js +2 -2
  41. package/es5/jodit.min.css +2 -2
  42. package/es5/jodit.min.js +2 -2
  43. package/es5/plugins/debug/debug.js +1 -1
  44. package/es5/plugins/debug/debug.min.js +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  48. package/esm/config.d.ts +633 -0
  49. package/esm/config.js +2 -2
  50. package/esm/core/async/async.d.ts +73 -0
  51. package/esm/core/async/async.js +8 -8
  52. package/esm/core/async/index.d.ts +9 -0
  53. package/esm/core/async/index.js +1 -1
  54. package/esm/core/component/component.d.ts +121 -0
  55. package/esm/core/component/component.js +4 -4
  56. package/esm/core/component/index.d.ts +11 -0
  57. package/esm/core/component/index.js +3 -3
  58. package/esm/core/component/statuses.d.ts +14 -0
  59. package/esm/core/component/view-component.d.ts +29 -0
  60. package/esm/core/component/view-component.js +1 -1
  61. package/esm/core/constants.d.ts +128 -0
  62. package/esm/core/constants.js +8 -8
  63. package/esm/core/create/create.d.ts +58 -0
  64. package/esm/core/create/create.js +4 -4
  65. package/esm/core/create/index.d.ts +9 -0
  66. package/esm/core/create/index.js +1 -1
  67. package/esm/core/decorators/cache/cache.d.ts +16 -0
  68. package/esm/core/decorators/cache/cache.js +4 -4
  69. package/esm/core/decorators/component/component.d.ts +19 -0
  70. package/esm/core/decorators/debounce/debounce.d.ts +16 -0
  71. package/esm/core/decorators/debounce/debounce.js +4 -4
  72. package/esm/core/decorators/derive/derive.d.ts +6 -0
  73. package/esm/core/decorators/derive/derive.js +1 -1
  74. package/esm/core/decorators/hook/hook.d.ts +16 -0
  75. package/esm/core/decorators/hook/hook.js +2 -2
  76. package/esm/core/decorators/idle/idle.d.ts +12 -0
  77. package/esm/core/decorators/idle/idle.js +3 -3
  78. package/esm/core/decorators/index.d.ts +21 -0
  79. package/esm/core/decorators/index.js +11 -11
  80. package/esm/core/decorators/nonenumerable/nonenumerable.d.ts +11 -0
  81. package/esm/core/decorators/persistent/persistent.d.ts +12 -0
  82. package/esm/core/decorators/persistent/persistent.js +2 -2
  83. package/esm/core/decorators/wait/wait.d.ts +13 -0
  84. package/esm/core/decorators/wait/wait.js +3 -3
  85. package/esm/core/decorators/watch/watch.d.ts +20 -0
  86. package/esm/core/decorators/watch/watch.js +7 -7
  87. package/esm/core/dom/dom.d.ts +249 -0
  88. package/esm/core/dom/dom.js +6 -6
  89. package/esm/core/dom/index.d.ts +10 -0
  90. package/esm/core/dom/index.js +2 -2
  91. package/esm/core/dom/lazy-walker.d.ts +37 -0
  92. package/esm/core/dom/lazy-walker.js +9 -5
  93. package/esm/core/event-emitter/event-emitter.d.ts +138 -0
  94. package/esm/core/event-emitter/event-emitter.js +7 -7
  95. package/esm/core/event-emitter/eventify.d.ts +40 -0
  96. package/esm/core/event-emitter/index.d.ts +12 -0
  97. package/esm/core/event-emitter/index.js +4 -4
  98. package/esm/core/event-emitter/observable.d.ts +45 -0
  99. package/esm/core/event-emitter/observable.js +4 -4
  100. package/esm/core/event-emitter/store.d.ts +21 -0
  101. package/esm/core/event-emitter/store.js +2 -2
  102. package/esm/core/global.d.ts +27 -0
  103. package/esm/core/global.js +9 -9
  104. package/esm/core/helpers/array/as-array.d.ts +9 -0
  105. package/esm/core/helpers/array/as-array.js +1 -1
  106. package/esm/core/helpers/array/index.d.ts +11 -0
  107. package/esm/core/helpers/array/index.js +3 -3
  108. package/esm/core/helpers/array/split-array.d.ts +14 -0
  109. package/esm/core/helpers/array/to-array.d.ts +15 -0
  110. package/esm/core/helpers/array/to-array.js +2 -2
  111. package/esm/core/helpers/async/index.d.ts +9 -0
  112. package/esm/core/helpers/async/index.js +1 -1
  113. package/esm/core/helpers/async/set-timeout.d.ts +16 -0
  114. package/esm/core/helpers/checker/has-browser-color-picker.d.ts +12 -0
  115. package/esm/core/helpers/checker/index.d.ts +32 -0
  116. package/esm/core/helpers/checker/index.js +24 -24
  117. package/esm/core/helpers/checker/is-array.d.ts +12 -0
  118. package/esm/core/helpers/checker/is-boolean.d.ts +9 -0
  119. package/esm/core/helpers/checker/is-equal.d.ts +10 -0
  120. package/esm/core/helpers/checker/is-equal.js +1 -1
  121. package/esm/core/helpers/checker/is-function.d.ts +12 -0
  122. package/esm/core/helpers/checker/is-html-from-word.d.ts +12 -0
  123. package/esm/core/helpers/checker/is-html.d.ts +9 -0
  124. package/esm/core/helpers/checker/is-html.js +1 -1
  125. package/esm/core/helpers/checker/is-imp-interface.d.ts +21 -0
  126. package/esm/core/helpers/checker/is-imp-interface.js +3 -3
  127. package/esm/core/helpers/checker/is-int.d.ts +9 -0
  128. package/esm/core/helpers/checker/is-int.js +2 -2
  129. package/esm/core/helpers/checker/is-jodit-object.d.ts +13 -0
  130. package/esm/core/helpers/checker/is-jodit-object.js +1 -1
  131. package/esm/core/helpers/checker/is-license.d.ts +6 -0
  132. package/esm/core/helpers/checker/is-license.js +1 -1
  133. package/esm/core/helpers/checker/is-marker.d.ts +10 -0
  134. package/esm/core/helpers/checker/is-marker.js +2 -2
  135. package/esm/core/helpers/checker/is-native-function.d.ts +12 -0
  136. package/esm/core/helpers/checker/is-number.d.ts +12 -0
  137. package/esm/core/helpers/checker/is-numeric.d.ts +9 -0
  138. package/esm/core/helpers/checker/is-numeric.js +1 -1
  139. package/esm/core/helpers/checker/is-plain-object.d.ts +13 -0
  140. package/esm/core/helpers/checker/is-plain-object.js +1 -1
  141. package/esm/core/helpers/checker/is-promise.d.ts +9 -0
  142. package/esm/core/helpers/checker/is-set.d.ts +9 -0
  143. package/esm/core/helpers/checker/is-set.js +1 -1
  144. package/esm/core/helpers/checker/is-string.d.ts +13 -0
  145. package/esm/core/helpers/checker/is-string.js +1 -1
  146. package/esm/core/helpers/checker/is-url.d.ts +12 -0
  147. package/esm/core/helpers/checker/is-valid-name.d.ts +12 -0
  148. package/esm/core/helpers/checker/is-view-object.d.ts +13 -0
  149. package/esm/core/helpers/checker/is-view-object.js +1 -1
  150. package/esm/core/helpers/checker/is-void.d.ts +12 -0
  151. package/esm/core/helpers/checker/is-window.d.ts +9 -0
  152. package/esm/core/helpers/color/color-to-hex.d.ts +22 -0
  153. package/esm/core/helpers/color/index.d.ts +9 -0
  154. package/esm/core/helpers/color/index.js +1 -1
  155. package/esm/core/helpers/html/apply-styles.d.ts +11 -0
  156. package/esm/core/helpers/html/apply-styles.js +4 -4
  157. package/esm/core/helpers/html/clean-from-word.d.ts +10 -0
  158. package/esm/core/helpers/html/clean-from-word.js +3 -3
  159. package/esm/core/helpers/html/htmlspecialchars.d.ts +12 -0
  160. package/esm/core/helpers/html/index.d.ts +14 -0
  161. package/esm/core/helpers/html/index.js +6 -6
  162. package/esm/core/helpers/html/nl2br.d.ts +12 -0
  163. package/esm/core/helpers/html/safe-html.d.ts +15 -0
  164. package/esm/core/helpers/html/safe-html.js +2 -2
  165. package/esm/core/helpers/html/strip-tags.d.ts +13 -0
  166. package/esm/core/helpers/html/strip-tags.js +4 -4
  167. package/esm/core/helpers/index.d.ts +19 -0
  168. package/esm/core/helpers/index.js +9 -9
  169. package/esm/core/helpers/normalize/index.d.ts +16 -0
  170. package/esm/core/helpers/normalize/index.js +8 -8
  171. package/esm/core/helpers/normalize/normalize-color.d.ts +12 -0
  172. package/esm/core/helpers/normalize/normalize-color.js +2 -2
  173. package/esm/core/helpers/normalize/normalize-css-value.d.ts +8 -0
  174. package/esm/core/helpers/normalize/normalize-css-value.js +4 -4
  175. package/esm/core/helpers/normalize/normalize-key-aliases.d.ts +9 -0
  176. package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -2
  177. package/esm/core/helpers/normalize/normalize-license.d.ts +9 -0
  178. package/esm/core/helpers/normalize/normalize-path.d.ts +9 -0
  179. package/esm/core/helpers/normalize/normalize-path.js +1 -1
  180. package/esm/core/helpers/normalize/normalize-relative-path.d.ts +9 -0
  181. package/esm/core/helpers/normalize/normalize-size.d.ts +12 -0
  182. package/esm/core/helpers/normalize/normalize-url.d.ts +9 -0
  183. package/esm/core/helpers/size/get-content-width.d.ts +9 -0
  184. package/esm/core/helpers/size/get-scroll-parent.d.ts +10 -0
  185. package/esm/core/helpers/size/get-scroll-parent.js +2 -2
  186. package/esm/core/helpers/size/index.d.ts +14 -0
  187. package/esm/core/helpers/size/index.js +6 -6
  188. package/esm/core/helpers/size/inner-width.d.ts +9 -0
  189. package/esm/core/helpers/size/object-size.d.ts +10 -0
  190. package/esm/core/helpers/size/object-size.js +1 -1
  191. package/esm/core/helpers/size/offset.d.ts +14 -0
  192. package/esm/core/helpers/size/position.d.ts +12 -0
  193. package/esm/core/helpers/size/position.js +1 -1
  194. package/esm/core/helpers/string/camel-case.d.ts +12 -0
  195. package/esm/core/helpers/string/fuzzy-search-index.d.ts +10 -0
  196. package/esm/core/helpers/string/fuzzy-search-index.js +1 -1
  197. package/esm/core/helpers/string/i18n.d.ts +39 -0
  198. package/esm/core/helpers/string/i18n.js +5 -5
  199. package/esm/core/helpers/string/index.d.ts +15 -0
  200. package/esm/core/helpers/string/index.js +7 -7
  201. package/esm/core/helpers/string/kebab-case.d.ts +10 -0
  202. package/esm/core/helpers/string/stringify.d.ts +12 -0
  203. package/esm/core/helpers/string/trim.d.ts +14 -0
  204. package/esm/core/helpers/string/trim.js +1 -1
  205. package/esm/core/helpers/string/ucfirst.d.ts +12 -0
  206. package/esm/core/helpers/utils/align.d.ts +21 -0
  207. package/esm/core/helpers/utils/align.js +2 -2
  208. package/esm/core/helpers/utils/append-script.d.ts +28 -0
  209. package/esm/core/helpers/utils/append-script.js +3 -3
  210. package/esm/core/helpers/utils/assert.d.ts +8 -0
  211. package/esm/core/helpers/utils/attr.d.ts +22 -0
  212. package/esm/core/helpers/utils/attr.js +3 -3
  213. package/esm/core/helpers/utils/browser.d.ts +20 -0
  214. package/esm/core/helpers/utils/build-query.d.ts +13 -0
  215. package/esm/core/helpers/utils/build-query.js +1 -1
  216. package/esm/core/helpers/utils/complete-url.d.ts +9 -0
  217. package/esm/core/helpers/utils/config-proto.d.ts +41 -0
  218. package/esm/core/helpers/utils/config-proto.js +7 -7
  219. package/esm/core/helpers/utils/convert-media-url-to-video-embed.d.ts +9 -0
  220. package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +2 -2
  221. package/esm/core/helpers/utils/css.d.ts +17 -0
  222. package/esm/core/helpers/utils/css.js +5 -5
  223. package/esm/core/helpers/utils/ctrl-key.d.ts +13 -0
  224. package/esm/core/helpers/utils/data-bind.d.ts +10 -0
  225. package/esm/core/helpers/utils/data-bind.js +1 -1
  226. package/esm/core/helpers/utils/default-language.d.ts +9 -0
  227. package/esm/core/helpers/utils/default-language.js +1 -1
  228. package/esm/core/helpers/utils/error/error.d.ts +13 -0
  229. package/esm/core/helpers/utils/error/error.js +1 -1
  230. package/esm/core/helpers/utils/error/errors/abort-error.d.ts +11 -0
  231. package/esm/core/helpers/utils/error/errors/connection-error.d.ts +11 -0
  232. package/esm/core/helpers/utils/error/errors/index.d.ts +11 -0
  233. package/esm/core/helpers/utils/error/errors/index.js +3 -3
  234. package/esm/core/helpers/utils/error/errors/options-error.d.ts +11 -0
  235. package/esm/core/helpers/utils/error/index.d.ts +10 -0
  236. package/esm/core/helpers/utils/error/index.js +2 -2
  237. package/esm/core/helpers/utils/extend.d.ts +8 -0
  238. package/esm/core/helpers/utils/extend.js +1 -1
  239. package/esm/core/helpers/utils/get-class-name.d.ts +11 -0
  240. package/esm/core/helpers/utils/get-class-name.js +1 -1
  241. package/esm/core/helpers/utils/get.d.ts +29 -0
  242. package/esm/core/helpers/utils/get.js +2 -2
  243. package/esm/core/helpers/utils/human-size-to-bytes.d.ts +13 -0
  244. package/esm/core/helpers/utils/index.d.ts +36 -0
  245. package/esm/core/helpers/utils/index.js +28 -28
  246. package/esm/core/helpers/utils/mark-deprecated.d.ts +17 -0
  247. package/esm/core/helpers/utils/parse-query.d.ts +13 -0
  248. package/esm/core/helpers/utils/print.d.ts +16 -0
  249. package/esm/core/helpers/utils/print.js +5 -5
  250. package/esm/core/helpers/utils/reset.d.ts +18 -0
  251. package/esm/core/helpers/utils/reset.js +3 -3
  252. package/esm/core/helpers/utils/scroll-into-view.d.ts +14 -0
  253. package/esm/core/helpers/utils/scroll-into-view.js +1 -1
  254. package/esm/core/helpers/utils/selector.d.ts +41 -0
  255. package/esm/core/helpers/utils/selector.js +8 -8
  256. package/esm/core/helpers/utils/set.d.ts +23 -0
  257. package/esm/core/helpers/utils/set.js +4 -4
  258. package/esm/core/helpers/utils/stack.d.ts +17 -0
  259. package/esm/core/helpers/utils/utils.d.ts +39 -0
  260. package/esm/core/helpers/utils/utils.js +4 -4
  261. package/esm/core/helpers/utils/val.d.ts +9 -0
  262. package/esm/core/plugin/helpers/init-instance.d.ts +14 -0
  263. package/esm/core/plugin/helpers/init-instance.js +4 -4
  264. package/esm/core/plugin/helpers/load.d.ts +17 -0
  265. package/esm/core/plugin/helpers/load.js +4 -4
  266. package/esm/core/plugin/helpers/make-instance.d.ts +14 -0
  267. package/esm/core/plugin/helpers/make-instance.js +2 -2
  268. package/esm/core/plugin/helpers/utils.d.ts +9 -0
  269. package/esm/core/plugin/helpers/utils.js +1 -1
  270. package/esm/core/plugin/index.d.ts +10 -0
  271. package/esm/core/plugin/index.js +2 -2
  272. package/esm/core/plugin/interface.d.ts +14 -0
  273. package/esm/core/plugin/interface.js +0 -5
  274. package/esm/core/plugin/plugin-system.d.ts +46 -0
  275. package/esm/core/plugin/plugin-system.js +9 -9
  276. package/esm/core/plugin/plugin.d.ts +38 -0
  277. package/esm/core/plugin/plugin.js +9 -5
  278. package/esm/core/request/ajax.d.ts +28 -0
  279. package/esm/core/request/ajax.js +13 -9
  280. package/esm/core/request/config.d.ts +17 -0
  281. package/esm/core/request/config.js +1 -1
  282. package/esm/core/request/index.d.ts +10 -0
  283. package/esm/core/request/index.js +2 -2
  284. package/esm/core/request/response.d.ts +20 -0
  285. package/esm/core/selection/helpers/index.d.ts +10 -0
  286. package/esm/core/selection/helpers/index.js +2 -2
  287. package/esm/core/selection/helpers/move-node-inside-start.d.ts +15 -0
  288. package/esm/core/selection/helpers/move-node-inside-start.js +2 -2
  289. package/esm/core/selection/helpers/move-the-node-along-the-edge-outward.d.ts +10 -0
  290. package/esm/core/selection/helpers/move-the-node-along-the-edge-outward.js +1 -1
  291. package/esm/core/selection/index.d.ts +10 -0
  292. package/esm/core/selection/index.js +2 -2
  293. package/esm/core/selection/interface.d.ts +19 -0
  294. package/esm/core/selection/interface.js +0 -5
  295. package/esm/core/selection/selection.d.ts +231 -0
  296. package/esm/core/selection/selection.js +16 -12
  297. package/esm/core/selection/style/api/extract.d.ts +23 -0
  298. package/esm/core/selection/style/api/extract.js +4 -4
  299. package/esm/core/selection/style/api/finite-state-machine.d.ts +22 -0
  300. package/esm/core/selection/style/api/finite-state-machine.js +3 -3
  301. package/esm/core/selection/style/api/get-suit-child.d.ts +15 -0
  302. package/esm/core/selection/style/api/get-suit-child.js +3 -3
  303. package/esm/core/selection/style/api/get-suit-parent.d.ts +15 -0
  304. package/esm/core/selection/style/api/get-suit-parent.js +3 -3
  305. package/esm/core/selection/style/api/has-same-style.d.ts +15 -0
  306. package/esm/core/selection/style/api/has-same-style.js +5 -5
  307. package/esm/core/selection/style/api/index.d.ts +20 -0
  308. package/esm/core/selection/style/api/index.js +15 -15
  309. package/esm/core/selection/style/api/is-inside-invisible-element.d.ts +10 -0
  310. package/esm/core/selection/style/api/is-inside-invisible-element.js +1 -1
  311. package/esm/core/selection/style/api/is-normal-node.d.ts +11 -0
  312. package/esm/core/selection/style/api/is-normal-node.js +2 -2
  313. package/esm/core/selection/style/api/is-same-attributes.d.ts +12 -0
  314. package/esm/core/selection/style/api/is-same-attributes.js +4 -4
  315. package/esm/core/selection/style/api/is-suit-element.d.ts +28 -0
  316. package/esm/core/selection/style/api/is-suit-element.js +3 -3
  317. package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +11 -0
  318. package/esm/core/selection/style/api/list/toggle-ordered-list.js +6 -6
  319. package/esm/core/selection/style/api/list/wrap-list.d.ts +12 -0
  320. package/esm/core/selection/style/api/list/wrap-list.js +3 -3
  321. package/esm/core/selection/style/api/toggle-attributes.d.ts +11 -0
  322. package/esm/core/selection/style/api/toggle-attributes.js +10 -10
  323. package/esm/core/selection/style/api/unwrap-children.d.ts +11 -0
  324. package/esm/core/selection/style/api/unwrap-children.js +4 -4
  325. package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +11 -0
  326. package/esm/core/selection/style/api/wrap-unwrapped-text.js +2 -2
  327. package/esm/core/selection/style/api/wrap.d.ts +11 -0
  328. package/esm/core/selection/style/api/wrap.js +4 -4
  329. package/esm/core/selection/style/apply-style.d.ts +11 -0
  330. package/esm/core/selection/style/apply-style.js +3 -3
  331. package/esm/core/selection/style/commit-style.d.ts +36 -0
  332. package/esm/core/selection/style/commit-style.js +3 -3
  333. package/esm/core/selection/style/transactions.d.ts +30 -0
  334. package/esm/core/selection/style/transactions.js +6 -6
  335. package/esm/core/storage/engines/local-storage-provider.d.ts +25 -0
  336. package/esm/core/storage/engines/memory-storage-provider.d.ts +17 -0
  337. package/esm/core/storage/index.d.ts +11 -0
  338. package/esm/core/storage/index.js +3 -3
  339. package/esm/core/storage/storage.d.ts +23 -0
  340. package/esm/core/storage/storage.js +3 -3
  341. package/esm/core/traits/dlgs.d.ts +15 -0
  342. package/esm/core/traits/dlgs.js +3 -3
  343. package/esm/core/traits/elms.d.ts +19 -0
  344. package/esm/core/traits/elms.js +1 -1
  345. package/esm/core/traits/mods.d.ts +23 -0
  346. package/esm/core/traits/mods.js +1 -1
  347. package/esm/core/ui/button/button/button.d.ts +77 -0
  348. package/esm/core/ui/button/button/button.js +15 -12
  349. package/esm/core/ui/button/group/group.d.ts +37 -0
  350. package/esm/core/ui/button/group/group.js +10 -7
  351. package/esm/core/ui/button/index.d.ts +13 -0
  352. package/esm/core/ui/button/index.js +3 -3
  353. package/esm/core/ui/button/tooltip/tooltip.d.ts +33 -0
  354. package/esm/core/ui/button/tooltip/tooltip.js +13 -10
  355. package/esm/core/ui/element.d.ts +59 -0
  356. package/esm/core/ui/element.js +13 -9
  357. package/esm/core/ui/form/block/block.d.ts +29 -0
  358. package/esm/core/ui/form/block/block.js +9 -6
  359. package/esm/core/ui/form/form.d.ts +23 -0
  360. package/esm/core/ui/form/form.js +12 -8
  361. package/esm/core/ui/form/index.d.ts +11 -0
  362. package/esm/core/ui/form/index.js +3 -3
  363. package/esm/core/ui/form/inputs/area/area.d.ts +21 -0
  364. package/esm/core/ui/form/inputs/area/area.js +8 -5
  365. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +26 -0
  366. package/esm/core/ui/form/inputs/checkbox/checkbox.js +9 -6
  367. package/esm/core/ui/form/inputs/file/file.d.ts +22 -0
  368. package/esm/core/ui/form/inputs/file/file.js +9 -6
  369. package/esm/core/ui/form/inputs/index.d.ts +13 -0
  370. package/esm/core/ui/form/inputs/index.js +5 -5
  371. package/esm/core/ui/form/inputs/input/input.d.ts +54 -0
  372. package/esm/core/ui/form/inputs/input/input.js +13 -10
  373. package/esm/core/ui/form/inputs/select/select.d.ts +28 -0
  374. package/esm/core/ui/form/inputs/select/select.js +10 -7
  375. package/esm/core/ui/form/validators/index.d.ts +10 -0
  376. package/esm/core/ui/form/validators/index.js +2 -2
  377. package/esm/core/ui/form/validators/input.d.ts +17 -0
  378. package/esm/core/ui/form/validators/input.js +2 -2
  379. package/esm/core/ui/form/validators/select.d.ts +13 -0
  380. package/esm/core/ui/form/validators/select.js +1 -1
  381. package/esm/core/ui/group/group.d.ts +57 -0
  382. package/esm/core/ui/group/group.js +12 -9
  383. package/esm/core/ui/group/index.d.ts +12 -0
  384. package/esm/core/ui/group/index.js +4 -4
  385. package/esm/core/ui/group/list.d.ts +38 -0
  386. package/esm/core/ui/group/list.js +16 -13
  387. package/esm/core/ui/group/separator.d.ts +12 -0
  388. package/esm/core/ui/group/separator.js +8 -4
  389. package/esm/core/ui/group/spacer.d.ts +12 -0
  390. package/esm/core/ui/group/spacer.js +8 -4
  391. package/esm/core/ui/helpers/buttons.d.ts +17 -0
  392. package/esm/core/ui/helpers/buttons.js +1 -1
  393. package/esm/core/ui/helpers/get-control-type.d.ts +18 -0
  394. package/esm/core/ui/helpers/get-control-type.js +2 -2
  395. package/esm/core/ui/helpers/get-strong-control-types.d.ts +13 -0
  396. package/esm/core/ui/helpers/get-strong-control-types.js +4 -4
  397. package/esm/core/ui/icon.d.ts +30 -0
  398. package/esm/core/ui/icon.js +3 -3
  399. package/esm/core/ui/index.d.ts +17 -0
  400. package/esm/core/ui/index.js +7 -7
  401. package/esm/core/ui/popup/index.d.ts +9 -0
  402. package/esm/core/ui/popup/index.js +1 -1
  403. package/esm/core/ui/popup/popup.d.ts +71 -0
  404. package/esm/core/ui/popup/popup.js +13 -10
  405. package/esm/core/ui/progress-bar/progress-bar.d.ts +26 -0
  406. package/esm/core/ui/progress-bar/progress-bar.js +2 -3
  407. package/esm/core/view/view-with-toolbar.d.ts +47 -0
  408. package/esm/core/view/view-with-toolbar.js +15 -12
  409. package/esm/core/view/view.d.ts +126 -0
  410. package/esm/core/view/view.js +16 -12
  411. package/esm/index.d.ts +17 -0
  412. package/esm/index.js +7 -16
  413. package/esm/jodit.d.ts +360 -0
  414. package/esm/jodit.js +15 -11
  415. package/esm/langs/ar.d.ts +212 -0
  416. package/esm/langs/cs_cz.d.ts +214 -0
  417. package/esm/langs/de.d.ts +217 -0
  418. package/esm/langs/en.d.ts +6 -0
  419. package/esm/langs/es.d.ts +217 -0
  420. package/esm/langs/fr.d.ts +209 -0
  421. package/esm/langs/he.d.ts +212 -0
  422. package/esm/langs/hu.d.ts +214 -0
  423. package/esm/langs/id.d.ts +214 -0
  424. package/esm/langs/it.d.ts +212 -0
  425. package/esm/langs/ja.d.ts +217 -0
  426. package/esm/langs/keys.d.ts +1 -0
  427. package/esm/langs/ko.d.ts +212 -0
  428. package/esm/langs/mn.d.ts +212 -0
  429. package/esm/langs/nl.d.ts +213 -0
  430. package/esm/langs/pl.d.ts +212 -0
  431. package/esm/langs/pt_br.d.ts +217 -0
  432. package/esm/langs/ru.d.ts +212 -0
  433. package/esm/langs/tr.d.ts +212 -0
  434. package/esm/langs/zh_cn.d.ts +213 -0
  435. package/esm/langs/zh_tw.d.ts +211 -0
  436. package/esm/languages.d.ts +13 -0
  437. package/esm/languages.js +22 -22
  438. package/esm/modules/context-menu/context-menu.d.ts +32 -0
  439. package/esm/modules/context-menu/context-menu.js +10 -7
  440. package/esm/modules/dialog/alert.d.ts +24 -0
  441. package/esm/modules/dialog/alert.js +5 -5
  442. package/esm/modules/dialog/confirm.d.ts +24 -0
  443. package/esm/modules/dialog/confirm.js +3 -3
  444. package/esm/modules/dialog/dialog.d.ts +181 -0
  445. package/esm/modules/dialog/dialog.js +19 -16
  446. package/esm/modules/dialog/index.d.ts +14 -0
  447. package/esm/modules/dialog/index.js +4 -4
  448. package/esm/modules/dialog/prompt.d.ts +27 -0
  449. package/esm/modules/dialog/prompt.js +4 -4
  450. package/esm/modules/file-browser/builders/context-menu.d.ts +11 -0
  451. package/esm/modules/file-browser/builders/context-menu.js +9 -9
  452. package/esm/modules/file-browser/builders/elements-map.d.ts +19 -0
  453. package/esm/modules/file-browser/builders/item.d.ts +23 -0
  454. package/esm/modules/file-browser/builders/item.js +1 -1
  455. package/esm/modules/file-browser/config.d.ts +11 -0
  456. package/esm/modules/file-browser/config.js +4 -4
  457. package/esm/modules/file-browser/data-provider.d.ts +112 -0
  458. package/esm/modules/file-browser/data-provider.js +11 -7
  459. package/esm/modules/file-browser/factories.d.ts +11 -0
  460. package/esm/modules/file-browser/factories.js +2 -2
  461. package/esm/modules/file-browser/fetch/delete-file.d.ts +14 -0
  462. package/esm/modules/file-browser/fetch/load-items.d.ts +14 -0
  463. package/esm/modules/file-browser/fetch/load-tree.d.ts +14 -0
  464. package/esm/modules/file-browser/fetch/load-tree.js +2 -2
  465. package/esm/modules/file-browser/file-browser.d.ts +76 -0
  466. package/esm/modules/file-browser/file-browser.js +26 -23
  467. package/esm/modules/file-browser/index.d.ts +11 -0
  468. package/esm/modules/file-browser/index.js +1 -1
  469. package/esm/modules/file-browser/listeners/native-listeners.d.ts +24 -0
  470. package/esm/modules/file-browser/listeners/native-listeners.js +5 -5
  471. package/esm/modules/file-browser/listeners/self-listeners.d.ts +13 -0
  472. package/esm/modules/file-browser/listeners/self-listeners.js +7 -7
  473. package/esm/modules/file-browser/listeners/state-listeners.d.ts +14 -0
  474. package/esm/modules/file-browser/listeners/state-listeners.js +5 -5
  475. package/esm/modules/file-browser/ui/files/files.d.ts +10 -0
  476. package/esm/modules/file-browser/ui/files/files.js +1 -2
  477. package/esm/modules/file-browser/ui/index.d.ts +10 -0
  478. package/esm/modules/file-browser/ui/index.js +2 -2
  479. package/esm/modules/file-browser/ui/tree/tree.d.ts +10 -0
  480. package/esm/modules/file-browser/ui/tree/tree.js +1 -2
  481. package/esm/modules/history/command.d.ts +19 -0
  482. package/esm/modules/history/history.d.ts +74 -0
  483. package/esm/modules/history/history.js +12 -8
  484. package/esm/modules/history/snapshot.d.ts +67 -0
  485. package/esm/modules/history/snapshot.js +3 -3
  486. package/esm/modules/history/stack.d.ts +26 -0
  487. package/esm/modules/image-editor/config.d.ts +11 -0
  488. package/esm/modules/image-editor/config.js +4 -4
  489. package/esm/modules/image-editor/image-editor.d.ts +120 -0
  490. package/esm/modules/image-editor/image-editor.js +14 -11
  491. package/esm/modules/image-editor/templates/form.d.ts +10 -0
  492. package/esm/modules/image-editor/templates/form.js +1 -1
  493. package/esm/modules/index.d.ts +37 -0
  494. package/esm/modules/index.js +26 -26
  495. package/esm/modules/messages/message.d.ts +17 -0
  496. package/esm/modules/messages/message.js +8 -4
  497. package/esm/modules/messages/messages.d.ts +36 -0
  498. package/esm/modules/messages/messages.js +10 -7
  499. package/esm/modules/status-bar/status-bar.d.ts +46 -0
  500. package/esm/modules/status-bar/status-bar.js +11 -8
  501. package/esm/modules/table/table.d.ts +91 -0
  502. package/esm/modules/table/table.js +12 -8
  503. package/esm/modules/toolbar/button/button.d.ts +84 -0
  504. package/esm/modules/toolbar/button/button.js +16 -13
  505. package/esm/modules/toolbar/button/content.d.ts +22 -0
  506. package/esm/modules/toolbar/button/content.js +10 -7
  507. package/esm/modules/toolbar/button/index.d.ts +10 -0
  508. package/esm/modules/toolbar/button/index.js +2 -2
  509. package/esm/modules/toolbar/collection/collection.d.ts +51 -0
  510. package/esm/modules/toolbar/collection/collection.js +10 -7
  511. package/esm/modules/toolbar/collection/editor-collection.d.ts +38 -0
  512. package/esm/modules/toolbar/collection/editor-collection.js +11 -7
  513. package/esm/modules/toolbar/factory.d.ts +19 -0
  514. package/esm/modules/toolbar/factory.js +5 -5
  515. package/esm/modules/uploader/config.d.ts +18 -0
  516. package/esm/modules/uploader/config.js +3 -3
  517. package/esm/modules/uploader/helpers/build-data.d.ts +10 -0
  518. package/esm/modules/uploader/helpers/build-data.js +1 -1
  519. package/esm/modules/uploader/helpers/data-uri-to-blob.d.ts +12 -0
  520. package/esm/modules/uploader/helpers/index.d.ts +16 -0
  521. package/esm/modules/uploader/helpers/index.js +5 -5
  522. package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +10 -0
  523. package/esm/modules/uploader/helpers/process-old-browser-drag.js +5 -5
  524. package/esm/modules/uploader/helpers/send-files.d.ts +13 -0
  525. package/esm/modules/uploader/helpers/send-files.js +2 -2
  526. package/esm/modules/uploader/helpers/send.d.ts +12 -0
  527. package/esm/modules/uploader/helpers/send.js +3 -3
  528. package/esm/modules/uploader/uploader.d.ts +60 -0
  529. package/esm/modules/uploader/uploader.js +6 -7
  530. package/esm/modules/widget/color-picker/color-picker.d.ts +30 -0
  531. package/esm/modules/widget/color-picker/color-picker.js +4 -5
  532. package/esm/modules/widget/file-selector/file-selector.d.ts +54 -0
  533. package/esm/modules/widget/file-selector/file-selector.js +4 -4
  534. package/esm/modules/widget/index.d.ts +13 -0
  535. package/esm/modules/widget/index.js +3 -3
  536. package/esm/modules/widget/tabs/tabs.d.ts +38 -0
  537. package/esm/modules/widget/tabs/tabs.js +5 -6
  538. package/esm/plugins/about/about.d.ts +11 -0
  539. package/esm/plugins/about/about.js +7 -8
  540. package/esm/plugins/add-new-line/add-new-line.d.ts +38 -0
  541. package/esm/plugins/add-new-line/add-new-line.js +11 -8
  542. package/esm/plugins/add-new-line/config.d.ts +36 -0
  543. package/esm/plugins/add-new-line/config.js +3 -3
  544. package/esm/plugins/backspace/backspace.d.ts +26 -0
  545. package/esm/plugins/backspace/backspace.js +9 -9
  546. package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +14 -0
  547. package/esm/plugins/backspace/cases/check-join-neighbors.js +3 -3
  548. package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +23 -0
  549. package/esm/plugins/backspace/cases/check-join-two-lists.js +3 -3
  550. package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +23 -0
  551. package/esm/plugins/backspace/cases/check-remove-char.d.ts +24 -0
  552. package/esm/plugins/backspace/cases/check-remove-char.js +4 -4
  553. package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +14 -0
  554. package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
  555. package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +23 -0
  556. package/esm/plugins/backspace/cases/check-remove-empty-neighbor.js +1 -1
  557. package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +24 -0
  558. package/esm/plugins/backspace/cases/check-remove-empty-parent.js +3 -3
  559. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +24 -0
  560. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +3 -3
  561. package/esm/plugins/backspace/cases/check-table-cell.d.ts +24 -0
  562. package/esm/plugins/backspace/cases/check-table-cell.js +1 -1
  563. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +24 -0
  564. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +2 -2
  565. package/esm/plugins/backspace/cases/index.d.ts +11 -0
  566. package/esm/plugins/backspace/cases/index.js +9 -9
  567. package/esm/plugins/backspace/config.d.ts +20 -0
  568. package/esm/plugins/backspace/config.js +1 -1
  569. package/esm/plugins/backspace/helpers.d.ts +19 -0
  570. package/esm/plugins/backspace/helpers.js +1 -1
  571. package/esm/plugins/backspace/interface.d.ts +49 -0
  572. package/esm/plugins/bold/bold.d.ts +17 -0
  573. package/esm/plugins/bold/bold.js +12 -12
  574. package/esm/plugins/bold/config.d.ts +6 -0
  575. package/esm/plugins/bold/config.js +1 -1
  576. package/esm/plugins/bold/interface.d.ts +33 -0
  577. package/esm/plugins/bold/interface.js +0 -5
  578. package/esm/plugins/class-span/class-span.d.ts +39 -0
  579. package/esm/plugins/class-span/class-span.js +7 -7
  580. package/esm/plugins/clean-html/clean-html.d.ts +40 -0
  581. package/esm/plugins/clean-html/clean-html.js +14 -10
  582. package/esm/plugins/clean-html/config.d.ts +96 -0
  583. package/esm/plugins/clean-html/config.js +3 -3
  584. package/esm/plugins/clean-html/helpers/get-hash.d.ts +13 -0
  585. package/esm/plugins/clean-html/helpers/get-hash.js +2 -2
  586. package/esm/plugins/clean-html/helpers/index.d.ts +12 -0
  587. package/esm/plugins/clean-html/helpers/index.js +4 -4
  588. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +19 -0
  589. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js +2 -2
  590. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +14 -0
  591. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +3 -3
  592. package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +13 -0
  593. package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.js +1 -1
  594. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +13 -0
  595. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +2 -2
  596. package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +18 -0
  597. package/esm/plugins/clean-html/helpers/visitor/filters/index.js +7 -7
  598. package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +13 -0
  599. package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.js +1 -1
  600. package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +13 -0
  601. package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.js +2 -2
  602. package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +13 -0
  603. package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.js +1 -1
  604. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +13 -0
  605. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +2 -2
  606. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +13 -0
  607. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +3 -3
  608. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +13 -0
  609. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +2 -2
  610. package/esm/plugins/clipboard/clipboard.d.ts +24 -0
  611. package/esm/plugins/clipboard/clipboard.js +4 -4
  612. package/esm/plugins/clipboard/config.d.ts +6 -0
  613. package/esm/plugins/clipboard/config.js +6 -6
  614. package/esm/plugins/color/color.d.ts +16 -0
  615. package/esm/plugins/color/color.js +3 -3
  616. package/esm/plugins/color/config.d.ts +6 -0
  617. package/esm/plugins/color/config.js +6 -6
  618. package/esm/plugins/copy-format/copy-format.d.ts +12 -0
  619. package/esm/plugins/copy-format/copy-format.js +7 -7
  620. package/esm/plugins/copy-format/langs/ar.d.ts +4 -0
  621. package/esm/plugins/copy-format/langs/cs_cz.d.ts +4 -0
  622. package/esm/plugins/copy-format/langs/de.d.ts +4 -0
  623. package/esm/plugins/copy-format/langs/es.d.ts +4 -0
  624. package/esm/plugins/copy-format/langs/fa.d.ts +4 -0
  625. package/esm/plugins/copy-format/langs/fr.d.ts +4 -0
  626. package/esm/plugins/copy-format/langs/he.d.ts +4 -0
  627. package/esm/plugins/copy-format/langs/hu.d.ts +4 -0
  628. package/esm/plugins/copy-format/langs/id.d.ts +4 -0
  629. package/esm/plugins/copy-format/langs/index.d.ts +26 -0
  630. package/esm/plugins/copy-format/langs/index.js +0 -25
  631. package/esm/plugins/copy-format/langs/it.d.ts +4 -0
  632. package/esm/plugins/copy-format/langs/ja.d.ts +4 -0
  633. package/esm/plugins/copy-format/langs/ko.d.ts +4 -0
  634. package/esm/plugins/copy-format/langs/mn.d.ts +4 -0
  635. package/esm/plugins/copy-format/langs/nl.d.ts +4 -0
  636. package/esm/plugins/copy-format/langs/pl.d.ts +4 -0
  637. package/esm/plugins/copy-format/langs/pt_br.d.ts +4 -0
  638. package/esm/plugins/copy-format/langs/ru.d.ts +4 -0
  639. package/esm/plugins/copy-format/langs/tr.d.ts +4 -0
  640. package/esm/plugins/copy-format/langs/zh_cn.d.ts +4 -0
  641. package/esm/plugins/copy-format/langs/zh_tw.d.ts +4 -0
  642. package/esm/plugins/debug/debug.d.ts +16 -0
  643. package/esm/plugins/delete/delete.d.ts +33 -0
  644. package/esm/plugins/delete/delete.js +6 -6
  645. package/esm/plugins/delete/interface.d.ts +13 -0
  646. package/esm/plugins/delete/interface.js +0 -5
  647. package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +27 -0
  648. package/esm/plugins/drag-and-drop/drag-and-drop.js +13 -9
  649. package/esm/plugins/drag-and-drop-element/config.d.ts +14 -0
  650. package/esm/plugins/drag-and-drop-element/config.js +1 -1
  651. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +50 -0
  652. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +12 -8
  653. package/esm/plugins/dtd/after-insert/index.d.ts +10 -0
  654. package/esm/plugins/dtd/after-insert/index.js +1 -1
  655. package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +16 -0
  656. package/esm/plugins/dtd/after-insert/remove-extra-br.js +1 -1
  657. package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +16 -0
  658. package/esm/plugins/dtd/before-insert/check-block-nesting.js +1 -1
  659. package/esm/plugins/dtd/before-insert/index.d.ts +10 -0
  660. package/esm/plugins/dtd/before-insert/index.js +1 -1
  661. package/esm/plugins/dtd/config.d.ts +27 -0
  662. package/esm/plugins/dtd/config.js +1 -1
  663. package/esm/plugins/dtd/dtd.d.ts +6 -0
  664. package/esm/plugins/dtd/dtd.js +12 -8
  665. package/esm/plugins/enter/enter.d.ts +26 -0
  666. package/esm/plugins/enter/enter.js +14 -10
  667. package/esm/plugins/enter/helpers/check-br.d.ts +14 -0
  668. package/esm/plugins/enter/helpers/check-br.js +3 -3
  669. package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +14 -0
  670. package/esm/plugins/enter/helpers/check-unsplittable-box.js +1 -1
  671. package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +14 -0
  672. package/esm/plugins/enter/helpers/get-block-wrapper.js +2 -2
  673. package/esm/plugins/enter/helpers/has-previous-block.d.ts +13 -0
  674. package/esm/plugins/enter/helpers/has-previous-block.js +1 -1
  675. package/esm/plugins/enter/helpers/index.d.ts +17 -0
  676. package/esm/plugins/enter/helpers/index.js +9 -9
  677. package/esm/plugins/enter/helpers/insert-paragraph.d.ts +14 -0
  678. package/esm/plugins/enter/helpers/insert-paragraph.js +2 -2
  679. package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +14 -0
  680. package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.js +1 -1
  681. package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +14 -0
  682. package/esm/plugins/enter/helpers/process-empty-li-leaf.js +3 -3
  683. package/esm/plugins/enter/helpers/split-fragment.d.ts +15 -0
  684. package/esm/plugins/enter/helpers/split-fragment.js +3 -3
  685. package/esm/plugins/enter/helpers/wrap-text.d.ts +15 -0
  686. package/esm/plugins/enter/helpers/wrap-text.js +1 -1
  687. package/esm/plugins/enter/interface.d.ts +33 -0
  688. package/esm/plugins/enter/interface.js +0 -5
  689. package/esm/plugins/file/file.d.ts +12 -0
  690. package/esm/plugins/file/file.js +4 -4
  691. package/esm/plugins/focus/focus.d.ts +19 -0
  692. package/esm/plugins/focus/focus.js +3 -3
  693. package/esm/plugins/font/config.d.ts +11 -0
  694. package/esm/plugins/font/config.js +6 -6
  695. package/esm/plugins/font/font.d.ts +16 -0
  696. package/esm/plugins/font/font.js +3 -3
  697. package/esm/plugins/format-block/format-block.d.ts +15 -0
  698. package/esm/plugins/format-block/format-block.js +6 -6
  699. package/esm/plugins/fullsize/config.d.ts +34 -0
  700. package/esm/plugins/fullsize/config.js +5 -6
  701. package/esm/plugins/fullsize/fullsize.d.ts +17 -0
  702. package/esm/plugins/fullsize/fullsize.js +4 -5
  703. package/esm/plugins/hotkeys/config.d.ts +14 -0
  704. package/esm/plugins/hotkeys/config.js +1 -1
  705. package/esm/plugins/hotkeys/hotkeys.d.ts +26 -0
  706. package/esm/plugins/hotkeys/hotkeys.js +5 -5
  707. package/esm/plugins/hr/hr.d.ts +12 -0
  708. package/esm/plugins/hr/hr.js +5 -5
  709. package/esm/plugins/iframe/config.d.ts +65 -0
  710. package/esm/plugins/iframe/config.js +1 -1
  711. package/esm/plugins/iframe/iframe.d.ts +17 -0
  712. package/esm/plugins/iframe/iframe.js +5 -5
  713. package/esm/plugins/image/image.d.ts +12 -0
  714. package/esm/plugins/image/image.js +7 -7
  715. package/esm/plugins/image-processor/config.d.ts +16 -0
  716. package/esm/plugins/image-processor/config.js +1 -1
  717. package/esm/plugins/image-processor/image-processor.d.ts +29 -0
  718. package/esm/plugins/image-processor/image-processor.js +12 -8
  719. package/esm/plugins/image-properties/config.d.ts +89 -0
  720. package/esm/plugins/image-properties/config.js +1 -1
  721. package/esm/plugins/image-properties/image-properties.d.ts +72 -0
  722. package/esm/plugins/image-properties/image-properties.js +17 -14
  723. package/esm/plugins/image-properties/templates/form.d.ts +10 -0
  724. package/esm/plugins/image-properties/templates/form.js +1 -1
  725. package/esm/plugins/image-properties/templates/main-tab.d.ts +10 -0
  726. package/esm/plugins/image-properties/templates/main-tab.js +1 -1
  727. package/esm/plugins/image-properties/templates/position-tab.d.ts +10 -0
  728. package/esm/plugins/image-properties/templates/position-tab.js +1 -1
  729. package/esm/plugins/indent/config.d.ts +14 -0
  730. package/esm/plugins/indent/config.js +6 -6
  731. package/esm/plugins/indent/helpers.d.ts +10 -0
  732. package/esm/plugins/indent/helpers.js +1 -1
  733. package/esm/plugins/indent/indent.d.ts +16 -0
  734. package/esm/plugins/indent/indent.js +6 -6
  735. package/esm/plugins/index.d.ts +71 -0
  736. package/esm/plugins/index.js +17 -64
  737. package/esm/plugins/inline-popup/config/config.d.ts +18 -0
  738. package/esm/plugins/inline-popup/config/config.js +16 -16
  739. package/esm/plugins/inline-popup/config/items/a.d.ts +11 -0
  740. package/esm/plugins/inline-popup/config/items/a.js +1 -1
  741. package/esm/plugins/inline-popup/config/items/cells.d.ts +11 -0
  742. package/esm/plugins/inline-popup/config/items/cells.js +3 -3
  743. package/esm/plugins/inline-popup/config/items/iframe.d.ts +15 -0
  744. package/esm/plugins/inline-popup/config/items/iframe.js +1 -1
  745. package/esm/plugins/inline-popup/config/items/img.d.ts +12 -0
  746. package/esm/plugins/inline-popup/config/items/img.js +4 -4
  747. package/esm/plugins/inline-popup/config/items/toolbar.d.ts +10 -0
  748. package/esm/plugins/inline-popup/inline-popup.d.ts +71 -0
  749. package/esm/plugins/inline-popup/inline-popup.js +15 -12
  750. package/esm/plugins/justify/justify.d.ts +15 -0
  751. package/esm/plugins/justify/justify.js +7 -7
  752. package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +20 -0
  753. package/esm/plugins/key-arrow-outside/key-arrow-outside.js +11 -7
  754. package/esm/plugins/limit/config.d.ts +22 -0
  755. package/esm/plugins/limit/config.js +1 -1
  756. package/esm/plugins/limit/limit.d.ts +39 -0
  757. package/esm/plugins/limit/limit.js +11 -7
  758. package/esm/plugins/line-height/config.d.ts +20 -0
  759. package/esm/plugins/line-height/config.js +4 -4
  760. package/esm/plugins/line-height/langs/ar.d.ts +4 -0
  761. package/esm/plugins/line-height/langs/cs_cz.d.ts +4 -0
  762. package/esm/plugins/line-height/langs/de.d.ts +4 -0
  763. package/esm/plugins/line-height/langs/es.d.ts +4 -0
  764. package/esm/plugins/line-height/langs/fa.d.ts +4 -0
  765. package/esm/plugins/line-height/langs/fr.d.ts +4 -0
  766. package/esm/plugins/line-height/langs/he.d.ts +4 -0
  767. package/esm/plugins/line-height/langs/hu.d.ts +4 -0
  768. package/esm/plugins/line-height/langs/id.d.ts +4 -0
  769. package/esm/plugins/line-height/langs/index.d.ts +26 -0
  770. package/esm/plugins/line-height/langs/index.js +0 -25
  771. package/esm/plugins/line-height/langs/it.d.ts +4 -0
  772. package/esm/plugins/line-height/langs/ja.d.ts +4 -0
  773. package/esm/plugins/line-height/langs/ko.d.ts +4 -0
  774. package/esm/plugins/line-height/langs/mn.d.ts +4 -0
  775. package/esm/plugins/line-height/langs/nl.d.ts +4 -0
  776. package/esm/plugins/line-height/langs/pl.d.ts +4 -0
  777. package/esm/plugins/line-height/langs/pt_br.d.ts +4 -0
  778. package/esm/plugins/line-height/langs/ru.d.ts +4 -0
  779. package/esm/plugins/line-height/langs/tr.d.ts +4 -0
  780. package/esm/plugins/line-height/langs/zh_cn.d.ts +4 -0
  781. package/esm/plugins/line-height/langs/zh_tw.d.ts +4 -0
  782. package/esm/plugins/line-height/line-height.d.ts +20 -0
  783. package/esm/plugins/line-height/line-height.js +13 -9
  784. package/esm/plugins/link/config.d.ts +57 -0
  785. package/esm/plugins/link/config.js +6 -6
  786. package/esm/plugins/link/link.d.ts +27 -0
  787. package/esm/plugins/link/link.js +12 -8
  788. package/esm/plugins/link/template.d.ts +10 -0
  789. package/esm/plugins/link/template.js +2 -2
  790. package/esm/plugins/media/config.d.ts +22 -0
  791. package/esm/plugins/media/config.js +1 -1
  792. package/esm/plugins/media/media.d.ts +16 -0
  793. package/esm/plugins/media/media.js +4 -4
  794. package/esm/plugins/mobile/config.d.ts +18 -0
  795. package/esm/plugins/mobile/config.js +5 -5
  796. package/esm/plugins/mobile/mobile.d.ts +16 -0
  797. package/esm/plugins/mobile/mobile.js +4 -4
  798. package/esm/plugins/ordered-list/config.d.ts +6 -0
  799. package/esm/plugins/ordered-list/config.js +5 -5
  800. package/esm/plugins/ordered-list/ordered-list.d.ts +22 -0
  801. package/esm/plugins/ordered-list/ordered-list.js +10 -6
  802. package/esm/plugins/paste/config.d.ts +34 -0
  803. package/esm/plugins/paste/config.js +3 -3
  804. package/esm/plugins/paste/helpers.d.ts +25 -0
  805. package/esm/plugins/paste/helpers.js +4 -4
  806. package/esm/plugins/paste/interface.d.ts +38 -0
  807. package/esm/plugins/paste/paste.d.ts +52 -0
  808. package/esm/plugins/paste/paste.js +14 -10
  809. package/esm/plugins/paste-from-word/config.d.ts +35 -0
  810. package/esm/plugins/paste-from-word/config.js +2 -2
  811. package/esm/plugins/paste-from-word/paste-from-word.d.ts +27 -0
  812. package/esm/plugins/paste-from-word/paste-from-word.js +13 -9
  813. package/esm/plugins/paste-storage/paste-storage.d.ts +30 -0
  814. package/esm/plugins/paste-storage/paste-storage.js +6 -7
  815. package/esm/plugins/placeholder/config.d.ts +44 -0
  816. package/esm/plugins/placeholder/config.js +1 -1
  817. package/esm/plugins/placeholder/placeholder.d.ts +32 -0
  818. package/esm/plugins/placeholder/placeholder.js +16 -13
  819. package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +20 -0
  820. package/esm/plugins/powered-by-jodit/powered-by-jodit.js +1 -1
  821. package/esm/plugins/preview/preview.d.ts +13 -0
  822. package/esm/plugins/preview/preview.js +4 -5
  823. package/esm/plugins/print/lib/generate-critical-css.d.ts +13 -0
  824. package/esm/plugins/print/lib/generate-critical-css.js +1 -1
  825. package/esm/plugins/print/print.d.ts +12 -0
  826. package/esm/plugins/print/print.js +10 -10
  827. package/esm/plugins/redo-undo/redo-undo.d.ts +21 -0
  828. package/esm/plugins/redo-undo/redo-undo.js +7 -7
  829. package/esm/plugins/resize-cells/config.d.ts +11 -0
  830. package/esm/plugins/resize-cells/config.js +1 -1
  831. package/esm/plugins/resize-cells/resize-cells.d.ts +79 -0
  832. package/esm/plugins/resize-cells/resize-cells.js +13 -10
  833. package/esm/plugins/resize-handler/config.d.ts +12 -0
  834. package/esm/plugins/resize-handler/config.js +1 -1
  835. package/esm/plugins/resize-handler/resize-handler.d.ts +45 -0
  836. package/esm/plugins/resize-handler/resize-handler.js +12 -8
  837. package/esm/plugins/resizer/config.d.ts +50 -0
  838. package/esm/plugins/resizer/config.js +1 -1
  839. package/esm/plugins/resizer/resizer.d.ts +69 -0
  840. package/esm/plugins/resizer/resizer.js +15 -12
  841. package/esm/plugins/search/config.d.ts +37 -0
  842. package/esm/plugins/search/config.js +4 -4
  843. package/esm/plugins/search/helpers/index.d.ts +10 -0
  844. package/esm/plugins/search/helpers/index.js +2 -2
  845. package/esm/plugins/search/helpers/sentence-finder.d.ts +21 -0
  846. package/esm/plugins/search/helpers/sentence-finder.js +1 -1
  847. package/esm/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.d.ts +29 -0
  848. package/esm/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.js +2 -2
  849. package/esm/plugins/search/interface.d.ts +46 -0
  850. package/esm/plugins/search/interface.js +0 -5
  851. package/esm/plugins/search/search.d.ts +57 -0
  852. package/esm/plugins/search/search.js +15 -11
  853. package/esm/plugins/search/ui/search.d.ts +37 -0
  854. package/esm/plugins/search/ui/search.js +12 -9
  855. package/esm/plugins/select/config.d.ts +21 -0
  856. package/esm/plugins/select/config.js +1 -1
  857. package/esm/plugins/select/select.d.ts +36 -0
  858. package/esm/plugins/select/select.js +13 -9
  859. package/esm/plugins/select-cells/config.d.ts +11 -0
  860. package/esm/plugins/select-cells/config.js +1 -1
  861. package/esm/plugins/select-cells/select-cells.d.ts +59 -0
  862. package/esm/plugins/select-cells/select-cells.js +14 -10
  863. package/esm/plugins/size/config.d.ts +15 -0
  864. package/esm/plugins/size/config.js +1 -1
  865. package/esm/plugins/size/size.d.ts +46 -0
  866. package/esm/plugins/size/size.js +12 -9
  867. package/esm/plugins/source/config.d.ts +46 -0
  868. package/esm/plugins/source/config.js +4 -4
  869. package/esm/plugins/source/editor/engines/ace.d.ts +41 -0
  870. package/esm/plugins/source/editor/engines/ace.js +3 -3
  871. package/esm/plugins/source/editor/engines/area.d.ts +28 -0
  872. package/esm/plugins/source/editor/engines/area.js +3 -3
  873. package/esm/plugins/source/editor/engines/index.d.ts +10 -0
  874. package/esm/plugins/source/editor/engines/index.js +2 -2
  875. package/esm/plugins/source/editor/factory.d.ts +10 -0
  876. package/esm/plugins/source/editor/factory.js +2 -2
  877. package/esm/plugins/source/editor/sourceEditor.d.ts +27 -0
  878. package/esm/plugins/source/source.d.ts +56 -0
  879. package/esm/plugins/source/source.js +15 -12
  880. package/esm/plugins/speech-recognize/config.d.ts +60 -0
  881. package/esm/plugins/speech-recognize/config.js +7 -7
  882. package/esm/plugins/speech-recognize/constants.d.ts +11 -0
  883. package/esm/plugins/speech-recognize/helpers/api.d.ts +10 -0
  884. package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +10 -0
  885. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +48 -0
  886. package/esm/plugins/speech-recognize/helpers/recognize-manager.js +10 -6
  887. package/esm/plugins/speech-recognize/helpers/sound.d.ts +14 -0
  888. package/esm/plugins/speech-recognize/helpers/sound.js +1 -1
  889. package/esm/plugins/speech-recognize/interface.d.ts +42 -0
  890. package/esm/plugins/speech-recognize/langs/ar.d.ts +9 -0
  891. package/esm/plugins/speech-recognize/langs/cs_cz.d.ts +9 -0
  892. package/esm/plugins/speech-recognize/langs/de.d.ts +9 -0
  893. package/esm/plugins/speech-recognize/langs/es.d.ts +9 -0
  894. package/esm/plugins/speech-recognize/langs/fa.d.ts +9 -0
  895. package/esm/plugins/speech-recognize/langs/fr.d.ts +9 -0
  896. package/esm/plugins/speech-recognize/langs/he.d.ts +9 -0
  897. package/esm/plugins/speech-recognize/langs/hu.d.ts +9 -0
  898. package/esm/plugins/speech-recognize/langs/id.d.ts +9 -0
  899. package/esm/plugins/speech-recognize/langs/index.d.ts +26 -0
  900. package/esm/plugins/speech-recognize/langs/index.js +0 -26
  901. package/esm/plugins/speech-recognize/langs/it.d.ts +9 -0
  902. package/esm/plugins/speech-recognize/langs/ja.d.ts +9 -0
  903. package/esm/plugins/speech-recognize/langs/ko.d.ts +9 -0
  904. package/esm/plugins/speech-recognize/langs/mn.d.ts +9 -0
  905. package/esm/plugins/speech-recognize/langs/nl.d.ts +9 -0
  906. package/esm/plugins/speech-recognize/langs/pl.d.ts +9 -0
  907. package/esm/plugins/speech-recognize/langs/pt_br.d.ts +9 -0
  908. package/esm/plugins/speech-recognize/langs/ru.d.ts +9 -0
  909. package/esm/plugins/speech-recognize/langs/tr.d.ts +9 -0
  910. package/esm/plugins/speech-recognize/langs/zh_cn.d.ts +9 -0
  911. package/esm/plugins/speech-recognize/langs/zh_tw.d.ts +9 -0
  912. package/esm/plugins/speech-recognize/speech-recognize.d.ts +24 -0
  913. package/esm/plugins/speech-recognize/speech-recognize.js +16 -13
  914. package/esm/plugins/spellcheck/config.d.ts +15 -0
  915. package/esm/plugins/spellcheck/config.js +3 -3
  916. package/esm/plugins/spellcheck/langs/ar.d.ts +1 -0
  917. package/esm/plugins/spellcheck/langs/cs_cz.d.ts +1 -0
  918. package/esm/plugins/spellcheck/langs/de.d.ts +1 -0
  919. package/esm/plugins/spellcheck/langs/es.d.ts +1 -0
  920. package/esm/plugins/spellcheck/langs/fa.d.ts +1 -0
  921. package/esm/plugins/spellcheck/langs/fr.d.ts +1 -0
  922. package/esm/plugins/spellcheck/langs/he.d.ts +1 -0
  923. package/esm/plugins/spellcheck/langs/hu.d.ts +1 -0
  924. package/esm/plugins/spellcheck/langs/id.d.ts +1 -0
  925. package/esm/plugins/spellcheck/langs/index.d.ts +26 -0
  926. package/esm/plugins/spellcheck/langs/index.js +0 -25
  927. package/esm/plugins/spellcheck/langs/it.d.ts +1 -0
  928. package/esm/plugins/spellcheck/langs/ja.d.ts +1 -0
  929. package/esm/plugins/spellcheck/langs/ko.d.ts +1 -0
  930. package/esm/plugins/spellcheck/langs/mn.d.ts +1 -0
  931. package/esm/plugins/spellcheck/langs/nl.d.ts +1 -0
  932. package/esm/plugins/spellcheck/langs/pl.d.ts +1 -0
  933. package/esm/plugins/spellcheck/langs/pt_br.d.ts +1 -0
  934. package/esm/plugins/spellcheck/langs/ru.d.ts +1 -0
  935. package/esm/plugins/spellcheck/langs/tr.d.ts +1 -0
  936. package/esm/plugins/spellcheck/langs/zh_cn.d.ts +1 -0
  937. package/esm/plugins/spellcheck/langs/zh_tw.d.ts +1 -0
  938. package/esm/plugins/spellcheck/spellcheck.d.ts +20 -0
  939. package/esm/plugins/spellcheck/spellcheck.js +12 -8
  940. package/esm/plugins/stat/config.d.ts +13 -0
  941. package/esm/plugins/stat/config.js +1 -1
  942. package/esm/plugins/stat/stat.d.ts +20 -0
  943. package/esm/plugins/stat/stat.js +5 -5
  944. package/esm/plugins/sticky/config.d.ts +32 -0
  945. package/esm/plugins/sticky/config.js +1 -1
  946. package/esm/plugins/sticky/sticky.d.ts +38 -0
  947. package/esm/plugins/sticky/sticky.js +13 -10
  948. package/esm/plugins/symbols/config.d.ts +12 -0
  949. package/esm/plugins/symbols/config.js +3 -3
  950. package/esm/plugins/symbols/langs/ar.d.ts +1 -0
  951. package/esm/plugins/symbols/langs/cs_cz.d.ts +1 -0
  952. package/esm/plugins/symbols/langs/de.d.ts +1 -0
  953. package/esm/plugins/symbols/langs/es.d.ts +1 -0
  954. package/esm/plugins/symbols/langs/fa.d.ts +1 -0
  955. package/esm/plugins/symbols/langs/fr.d.ts +1 -0
  956. package/esm/plugins/symbols/langs/he.d.ts +1 -0
  957. package/esm/plugins/symbols/langs/hu.d.ts +1 -0
  958. package/esm/plugins/symbols/langs/id.d.ts +1 -0
  959. package/esm/plugins/symbols/langs/index.d.ts +26 -0
  960. package/esm/plugins/symbols/langs/index.js +0 -25
  961. package/esm/plugins/symbols/langs/it.d.ts +1 -0
  962. package/esm/plugins/symbols/langs/ja.d.ts +1 -0
  963. package/esm/plugins/symbols/langs/ko.d.ts +1 -0
  964. package/esm/plugins/symbols/langs/mn.d.ts +1 -0
  965. package/esm/plugins/symbols/langs/nl.d.ts +1 -0
  966. package/esm/plugins/symbols/langs/pl.d.ts +1 -0
  967. package/esm/plugins/symbols/langs/pt_br.d.ts +1 -0
  968. package/esm/plugins/symbols/langs/ru.d.ts +1 -0
  969. package/esm/plugins/symbols/langs/tr.d.ts +1 -0
  970. package/esm/plugins/symbols/langs/zh_cn.d.ts +1 -0
  971. package/esm/plugins/symbols/langs/zh_tw.d.ts +1 -0
  972. package/esm/plugins/symbols/symbols.d.ts +27 -0
  973. package/esm/plugins/symbols/symbols.js +7 -8
  974. package/esm/plugins/tab/cases/index.d.ts +9 -0
  975. package/esm/plugins/tab/cases/index.js +1 -1
  976. package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +15 -0
  977. package/esm/plugins/tab/cases/on-tab-inside-li.js +2 -2
  978. package/esm/plugins/tab/config.d.ts +16 -0
  979. package/esm/plugins/tab/config.js +1 -1
  980. package/esm/plugins/tab/tab.d.ts +6 -0
  981. package/esm/plugins/tab/tab.js +12 -8
  982. package/esm/plugins/table/config.d.ts +14 -0
  983. package/esm/plugins/table/config.js +6 -6
  984. package/esm/plugins/table/table.d.ts +14 -0
  985. package/esm/plugins/table/table.js +2 -3
  986. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +15 -0
  987. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +4 -4
  988. package/esm/plugins/video/config.d.ts +6 -0
  989. package/esm/plugins/video/config.js +7 -7
  990. package/esm/plugins/video/video.d.ts +6 -0
  991. package/esm/plugins/video/video.js +2 -2
  992. package/esm/plugins/wrap-nodes/config.d.ts +28 -0
  993. package/esm/plugins/wrap-nodes/config.js +1 -1
  994. package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +6 -0
  995. package/esm/plugins/wrap-nodes/wrap-nodes.js +12 -8
  996. package/esm/plugins/xpath/config.d.ts +11 -0
  997. package/esm/plugins/xpath/config.js +1 -1
  998. package/esm/plugins/xpath/xpath.d.ts +12 -0
  999. package/esm/plugins/xpath/xpath.js +8 -9
  1000. package/esm/styles/icons/index.d.ts +38 -0
  1001. package/esm/styles/icons/index.js +27 -27
  1002. package/esm/tsconfig.json +47 -0
  1003. package/esm/types/ajax.d.ts +99 -0
  1004. package/esm/types/async.d.ts +89 -0
  1005. package/esm/types/context.d.ts +27 -0
  1006. package/esm/types/core.d.ts +16 -0
  1007. package/esm/types/create.d.ts +100 -0
  1008. package/esm/types/dialog.d.ts +53 -0
  1009. package/esm/types/events.d.ts +185 -0
  1010. package/esm/types/file-browser.d.ts +346 -0
  1011. package/esm/types/form.d.ts +14 -0
  1012. package/esm/types/history.d.ts +56 -0
  1013. package/esm/types/index.d.ts +33 -0
  1014. package/esm/types/jodit.d.ts +171 -0
  1015. package/esm/types/messages.d.ts +10 -0
  1016. package/esm/types/plugin.d.ts +69 -0
  1017. package/esm/types/popup.d.ts +40 -0
  1018. package/esm/types/select.d.ts +96 -0
  1019. package/esm/types/source.d.ts +33 -0
  1020. package/esm/types/storage.d.ts +24 -0
  1021. package/esm/types/style.d.ts +93 -0
  1022. package/esm/types/toolbar.d.ts +383 -0
  1023. package/esm/types/traits.d.ts +59 -0
  1024. package/esm/types/types.d.ts +311 -0
  1025. package/esm/types/ui.d.ts +196 -0
  1026. package/esm/types/uploader.d.ts +158 -0
  1027. package/esm/types/view.d.ts +164 -0
  1028. package/esm/typings.d.ts +15 -0
  1029. package/package.json +1 -1
@@ -5,15 +5,19 @@
5
5
  */
6
6
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
7
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9
+ r = Reflect.decorate(decorators, target, key, desc);
10
+ else
11
+ for (var i = decorators.length - 1; i >= 0; i--)
12
+ if (d = decorators[i])
13
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
14
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11
15
  };
12
16
  /**
13
17
  * @module ui/group
14
18
  */
15
- import { UIElement } from 'jodit/core/ui/element';
16
- import { component } from 'jodit/core/decorators/component/component';
19
+ import { UIElement } from "../element.js";
20
+ import { component } from "../../decorators/component/component.js";
17
21
  export let UISpacer = class UISpacer extends UIElement {
18
22
  className() {
19
23
  return 'UISpacer';
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * @module ui
8
+ */
9
+ import type { ButtonsGroup, ButtonsGroups, IControlType, IJodit } from 'jodit/types';
10
+ /**
11
+ * @private
12
+ */
13
+ export declare const isButtonGroup: (item: ButtonsGroup | string | IControlType) => item is ButtonsGroup;
14
+ /**
15
+ * @private
16
+ */
17
+ export declare function flatButtonsSet(buttons: ButtonsGroups, jodit: IJodit): Set<string | IControlType>;
@@ -3,7 +3,7 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import { isArray } from 'jodit/core/helpers/checker/is-array';
6
+ import { isArray } from "../../helpers/checker/is-array.js";
7
7
  /**
8
8
  * @private
9
9
  */
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * @module ui
8
+ */
9
+ import type { CanUndef, Controls, IControlType, IControlTypeStrong } from 'jodit/types';
10
+ /**
11
+ * Get control for button name
12
+ * @private
13
+ */
14
+ export declare function getControlType(button: IControlType | string, controls: CanUndef<Controls>): IControlTypeStrong;
15
+ /**
16
+ * @private
17
+ */
18
+ export declare function findControlType(path: string, controls: Controls): IControlTypeStrong | void;
@@ -3,8 +3,8 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import { ConfigFlatten, isString } from 'jodit/core/helpers';
7
- import { Config } from 'jodit/config';
6
+ import { ConfigFlatten, isString } from "../../helpers/index.js";
7
+ import { Config } from "../../../config.js";
8
8
  /**
9
9
  * Get control for button name
10
10
  * @private
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * @module ui
8
+ */
9
+ import type { Buttons, Controls, IControlTypeStrong, IDictionary } from 'jodit/types';
10
+ /**
11
+ * @private
12
+ */
13
+ export declare function getStrongControlTypes(items: Buttons | IDictionary<string>, controls?: Controls): IControlTypeStrong[];
@@ -3,10 +3,10 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import { getControlType } from './get-control-type';
7
- import { Config } from 'jodit/config';
8
- import { isArray } from 'jodit/core/helpers/checker/is-array';
9
- import { ConfigProto, keys } from 'jodit/core/helpers/utils';
6
+ import { getControlType } from "./get-control-type.js";
7
+ import { Config } from "../../../config.js";
8
+ import { isArray } from "../../helpers/checker/is-array.js";
9
+ import { ConfigProto, keys } from "../../helpers/utils/index.js";
10
10
  /**
11
11
  * @private
12
12
  */
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * @module ui
8
+ */
9
+ import type { CanUndef, IUIIconState, IViewBased } from 'jodit/types';
10
+ export declare class Icon {
11
+ private static icons;
12
+ private static getIcon;
13
+ /**
14
+ * Check if icon exist in store
15
+ */
16
+ static exists(name: string): boolean;
17
+ /**
18
+ * Return SVG icon
19
+ */
20
+ static get(name: string, defaultValue?: string): string;
21
+ /**
22
+ * Set SVG in store
23
+ */
24
+ static set(name: string, value: string): typeof Icon;
25
+ private static __cache;
26
+ /**
27
+ * Make icon html element
28
+ */
29
+ static makeIcon(jodit: IViewBased, icon: IUIIconState): CanUndef<Node>;
30
+ }
@@ -3,9 +3,9 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import { css } from 'jodit/core/helpers/utils/css';
7
- import { camelCase, kebabCase } from 'jodit/core/helpers';
8
- import { IS_PROD } from 'jodit/core/constants';
6
+ import { css } from "../helpers/utils/css.js";
7
+ import { camelCase, kebabCase } from "../helpers/index.js";
8
+ import { IS_PROD } from "../constants.js";
9
9
  export class Icon {
10
10
  static getIcon(name) {
11
11
  if (/<svg/i.test(name)) {
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * [[include:core/ui/README.md]]
8
+ * @packageDocumentation
9
+ * @module ui
10
+ */
11
+ export * from './element';
12
+ export * from './button';
13
+ export * from './popup';
14
+ export * from './group';
15
+ export * from './form';
16
+ export * from './icon';
17
+ export * from './progress-bar/progress-bar';
@@ -8,10 +8,10 @@
8
8
  * @packageDocumentation
9
9
  * @module ui
10
10
  */
11
- export * from './element';
12
- export * from './button';
13
- export * from './popup';
14
- export * from './group';
15
- export * from './form';
16
- export * from './icon';
17
- export * from './progress-bar/progress-bar';
11
+ export * from "./element.js";
12
+ export * from "./button/index.js";
13
+ export * from "./popup/index.js";
14
+ export * from "./group/index.js";
15
+ export * from "./form/index.js";
16
+ export * from "./icon.js";
17
+ export * from "./progress-bar/progress-bar.js";
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * @module ui/popup
8
+ */
9
+ export * from './popup';
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module ui/popup
8
8
  */
9
- export * from './popup';
9
+ export * from "./popup.js";
@@ -0,0 +1,71 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * [[include:core/ui/popup/README.md]]
8
+ * @packageDocumentation
9
+ * @module ui/popup
10
+ */
11
+
12
+ import type { IBound, IPopup, IUIElement, IViewBased, PopupStrategy } from 'jodit/types';
13
+ import { UIElement } from 'jodit/core/ui/element';
14
+ type getBoundFunc = () => IBound;
15
+ export declare class Popup extends UIElement implements IPopup {
16
+ readonly smart: boolean;
17
+ /** @override */
18
+ className(): string;
19
+ isOpened: boolean;
20
+ strategy: PopupStrategy;
21
+ viewBound: () => IBound;
22
+ private targetBound;
23
+ private childrenPopups;
24
+ /** @override */
25
+ updateParentElement(target: IUIElement): this;
26
+ /**
27
+ * Set popup content
28
+ */
29
+ setContent(content: IUIElement | HTMLElement | string): this;
30
+ /**
31
+ * Open popup near with some bound
32
+ */
33
+ open(getBound: getBoundFunc, keepPosition?: boolean, parentContainer?: HTMLElement): this;
34
+ private calculateZIndex;
35
+ /**
36
+ * Calculate static bound for point
37
+ */
38
+ protected getKeepBound(getBound: getBoundFunc): getBoundFunc;
39
+ /**
40
+ * Update container position
41
+ */
42
+ updatePosition(): this;
43
+ throttleUpdatePosition(): void;
44
+ /**
45
+ * Calculate start point
46
+ */
47
+ private calculatePosition;
48
+ /**
49
+ * Check if one box is inside second
50
+ */
51
+ private static boxInView;
52
+ /**
53
+ * Close popup
54
+ */
55
+ close(): this;
56
+ /**
57
+ * Close popup if click was in outside
58
+ */
59
+ private closeOnOutsideClick;
60
+ isOwnClick(e: MouseEvent): boolean;
61
+ private addGlobalListeners;
62
+ private removeGlobalListeners;
63
+ /**
64
+ * Set ZIndex
65
+ */
66
+ setZIndex(index: number | string): void;
67
+ constructor(jodit: IViewBased, smart?: boolean);
68
+ /** @override **/
69
+ destruct(): any;
70
+ }
71
+ export {};
@@ -5,8 +5,12 @@
5
5
  */
6
6
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
7
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9
+ r = Reflect.decorate(decorators, target, key, desc);
10
+ else
11
+ for (var i = decorators.length - 1; i >= 0; i--)
12
+ if (d = decorators[i])
13
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
14
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11
15
  };
12
16
  /**
@@ -14,14 +18,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
14
18
  * @packageDocumentation
15
19
  * @module ui/popup
16
20
  */
17
-
18
- import { Dom } from 'jodit/core/dom/dom';
19
- import { attr, css, isString, kebabCase, markOwner, position, ucfirst } from 'jodit/core/helpers';
20
- import { assert } from 'jodit/core/helpers/utils/assert';
21
- import { UIElement } from 'jodit/core/ui/element';
22
- import { autobind, throttle } from 'jodit/core/decorators';
23
- import { Component } from 'jodit/core/component/component';
24
- import { eventEmitter, getContainer } from 'jodit/core/global';
21
+ import { Dom } from "../../dom/dom.js";
22
+ import { attr, css, isString, kebabCase, markOwner, position, ucfirst } from "../../helpers/index.js";
23
+ import { assert } from "../../helpers/utils/assert.js";
24
+ import { UIElement } from "../element.js";
25
+ import { autobind, throttle } from "../../decorators/index.js";
26
+ import { Component } from "../../component/component.js";
27
+ import { eventEmitter, getContainer } from "../../global.js";
25
28
  export class Popup extends UIElement {
26
29
  /** @override */
27
30
  className() {
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * [[include:core/ui/progress-bar/README.md]]
8
+ * @packageDocumentation
9
+ * @module ui/progress-bar
10
+ */
11
+
12
+ import type { IProgressBar } from 'jodit/types';
13
+ import { UIElement } from 'jodit/core/ui/element';
14
+ export declare class ProgressBar extends UIElement implements IProgressBar {
15
+ /** @override */
16
+ className(): string;
17
+ /** @override */
18
+ protected render(): string;
19
+ /**
20
+ * Show progress bar
21
+ */
22
+ show(): IProgressBar;
23
+ hide(): IProgressBar;
24
+ progress(percentage: number): IProgressBar;
25
+ destruct(): any;
26
+ }
@@ -8,9 +8,8 @@
8
8
  * @packageDocumentation
9
9
  * @module ui/progress-bar
10
10
  */
11
-
12
- import { Dom } from 'jodit/core/dom/dom';
13
- import { UIElement } from 'jodit/core/ui/element';
11
+ import { Dom } from "../../dom/dom.js";
12
+ import { UIElement } from "../element.js";
14
13
  export class ProgressBar extends UIElement {
15
14
  /** @override */
16
15
  className() {
@@ -0,0 +1,47 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * @module view
8
+ */
9
+
10
+ import type { IViewWithToolbar, IToolbarCollection, IDictionary, IPluginButton, IViewOptions } from 'jodit/types';
11
+ import { View } from 'jodit/core/view/view';
12
+ export declare abstract class ViewWithToolbar extends View implements IViewWithToolbar {
13
+ TOOLBAR: IToolbarCollection;
14
+ toolbar: this['TOOLBAR'];
15
+ private defaultToolbarContainer;
16
+ /**
17
+ * Container for toolbar
18
+ */
19
+ get toolbarContainer(): HTMLElement;
20
+ /**
21
+ * Change panel container
22
+ */
23
+ setPanel(element: HTMLElement | string): void;
24
+ /**
25
+ * Helper for append toolbar in its place
26
+ */
27
+ protected buildToolbar(): void;
28
+ registeredButtons: Set<IPluginButton>;
29
+ private groupToButtons;
30
+ getRegisteredButtonGroups(): IDictionary<string[]>;
31
+ /**
32
+ * Register button for group
33
+ */
34
+ registerButton(btn: IPluginButton): this;
35
+ /**
36
+ * Remove button from group
37
+ */
38
+ unregisterButton(btn: IPluginButton): this;
39
+ /**
40
+ * Prepare toolbar items and append buttons in groups
41
+ */
42
+ private beforeToolbarBuild;
43
+ readonly isJodit: boolean;
44
+ /** @override **/
45
+ protected constructor(options?: Partial<IViewOptions>, isJodit?: boolean);
46
+ destruct(): void;
47
+ }
@@ -5,23 +5,26 @@
5
5
  */
6
6
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
7
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9
+ r = Reflect.decorate(decorators, target, key, desc);
10
+ else
11
+ for (var i = decorators.length - 1; i >= 0; i--)
12
+ if (d = decorators[i])
13
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
14
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11
15
  };
12
16
  /**
13
17
  * @module view
14
18
  */
15
-
16
- import { View } from 'jodit/core/view/view';
17
- import { isString } from 'jodit/core/helpers/checker';
18
- import { splitArray } from 'jodit/core/helpers/array';
19
- import { resolveElement } from 'jodit/core/helpers/utils';
20
- import { Dom } from 'jodit/core/dom';
21
- import { makeCollection } from 'jodit/modules/toolbar/factory';
22
- import { STATUSES } from 'jodit/core/component';
23
- import { isButtonGroup } from 'jodit/core/ui/helpers/buttons';
24
- import { autobind } from 'jodit/core/decorators';
19
+ import { View } from "./view.js";
20
+ import { isString } from "../helpers/checker/index.js";
21
+ import { splitArray } from "../helpers/array/index.js";
22
+ import { resolveElement } from "../helpers/utils/index.js";
23
+ import { Dom } from "../dom/index.js";
24
+ import { makeCollection } from "../../modules/toolbar/factory.js";
25
+ import { STATUSES } from "../component/index.js";
26
+ import { isButtonGroup } from "../ui/helpers/buttons.js";
27
+ import { autobind } from "../decorators/index.js";
25
28
  export class ViewWithToolbar extends View {
26
29
  /**
27
30
  * Container for toolbar
@@ -0,0 +1,126 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * [[include:core/view/README.md]]
8
+ * @packageDocumentation
9
+ * @module view
10
+ */
11
+ import type { IComponent, ICreate, IProgressBar, IStorage, IViewBased, IViewOptions, Nullable, IDictionary, IEventEmitter, IMessages } from 'jodit/types';
12
+ import { Component } from 'jodit/modules';
13
+ import { Mods } from 'jodit/core/traits/mods';
14
+ import { Elms } from 'jodit/core/traits/elms';
15
+ export interface View extends Mods, Elms {
16
+ }
17
+ export declare abstract class View extends Component implements IViewBased, Mods, Elms {
18
+ readonly isJodit: boolean;
19
+ readonly isView: true;
20
+ parent: Nullable<IViewBased>;
21
+ readonly mods: IDictionary<string | boolean | null>;
22
+ /**
23
+ * ID attribute for source element, id add `{id}_editor` it's editor's id
24
+ */
25
+ id: string;
26
+ /**
27
+ * All created ViewComponent inside this view
28
+ */
29
+ readonly components: Set<IComponent>;
30
+ /**
31
+ * Get path for loading extra staff
32
+ */
33
+ get basePath(): string;
34
+ static readonly ES: 'es5' | 'es2015' | 'es2018' | 'es2021';
35
+ static readonly version: string;
36
+ static readonly esNext: boolean;
37
+ static readonly esModern: boolean;
38
+ /**
39
+ * Return default timeout period in milliseconds for some debounce or throttle functions.
40
+ * By default, `{history.timeout}` options
41
+ */
42
+ get defaultTimeout(): number;
43
+ /**
44
+ * Some extra data inside editor
45
+ * @see copyformat plugin
46
+ */
47
+ get buffer(): IStorage;
48
+ get message(): IMessages;
49
+ /**
50
+ * Container for persistent set/get value
51
+ */
52
+ get storage(): IStorage;
53
+ readonly create: ICreate;
54
+ get c(): this['create'];
55
+ private __container;
56
+ get container(): HTMLDivElement;
57
+ set container(container: HTMLDivElement);
58
+ events: IEventEmitter;
59
+ get e(): this['events'];
60
+ /**
61
+ * progress_bar Progress bar
62
+ */
63
+ get progressbar(): IProgressBar;
64
+ OPTIONS: IViewOptions;
65
+ private __options;
66
+ get options(): this['OPTIONS'];
67
+ set options(options: this['OPTIONS']);
68
+ /**
69
+ * Short alias for options
70
+ */
71
+ get o(): this['options'];
72
+ /**
73
+ * Internationalization method. Uses Jodit.lang object
74
+ */
75
+ i18n(text: string, ...params: Array<string | number>): string;
76
+ private __isFullSize;
77
+ toggleFullSize(isFullSize?: boolean): void;
78
+ private __whoLocked;
79
+ /**
80
+ * View is locked
81
+ */
82
+ get isLocked(): boolean;
83
+ isLockedNotBy: (name: string) => boolean;
84
+ /**
85
+ * Disable selecting
86
+ */
87
+ lock(name?: string): boolean;
88
+ /**
89
+ * Enable selecting
90
+ */
91
+ unlock(): boolean;
92
+ /**
93
+ * View is in fullSize
94
+ */
95
+ get isFullSize(): boolean;
96
+ /**
97
+ * Return current version
98
+ */
99
+ getVersion(): string;
100
+ static getVersion(): string;
101
+ /** @override */
102
+ protected initOptions(options?: Partial<IViewOptions>): void;
103
+ /**
104
+ * Can change ownerWindow here
105
+ */
106
+ protected initOwners(): void;
107
+ /**
108
+ * Add option's event handlers in emitter
109
+ */
110
+ protected attachEvents(options?: IViewOptions): void;
111
+ protected constructor(options?: Partial<IViewOptions>, isJodit?: boolean);
112
+ private __modulesInstances;
113
+ /**
114
+ * Make one instance of one module
115
+ */
116
+ getInstance<T extends IComponent>(moduleName: string, options?: object): T;
117
+ /** Add some element to box */
118
+ protected addDisclaimer(elm: HTMLElement): void;
119
+ /**
120
+ * Call before destruct
121
+ */
122
+ protected beforeDestruct(): void;
123
+ /** @override */
124
+ destruct(): void;
125
+ static defaultOptions: IViewOptions;
126
+ }
@@ -5,21 +5,25 @@
5
5
  */
6
6
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
7
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9
+ r = Reflect.decorate(decorators, target, key, desc);
10
+ else
11
+ for (var i = decorators.length - 1; i >= 0; i--)
12
+ if (d = decorators[i])
13
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
14
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11
15
  };
12
16
  var View_1;
13
- import { Storage } from 'jodit/core/storage';
14
- import { camelCase, ConfigProto, error, i18n, isDestructable, isFunction, isVoid } from 'jodit/core/helpers';
15
- import { APP_VERSION, BASE_PATH, ES, IS_ES_MODERN, IS_ES_NEXT } from 'jodit/core/constants';
16
- import { Component, STATUSES, ProgressBar, Create, Dom, ViewComponent } from 'jodit/modules';
17
- import { modules } from 'jodit/core/global';
18
- import { hook, derive, cache } from 'jodit/core/decorators';
19
- import { Mods } from 'jodit/core/traits/mods';
20
- import { Elms } from 'jodit/core/traits/elms';
21
- import { EventEmitter } from 'jodit/core/event-emitter';
22
- import { UIMessages } from 'jodit/modules/messages/messages';
17
+ import { Storage } from "../storage/index.js";
18
+ import { camelCase, ConfigProto, error, i18n, isDestructable, isFunction, isVoid } from "../helpers/index.js";
19
+ import { APP_VERSION, BASE_PATH, ES, IS_ES_MODERN, IS_ES_NEXT } from "../constants.js";
20
+ import { Component, STATUSES, ProgressBar, Create, Dom, ViewComponent } from "../../modules/index.js";
21
+ import { modules } from "../global.js";
22
+ import { hook, derive, cache } from "../decorators/index.js";
23
+ import { Mods } from "../traits/mods.js";
24
+ import { Elms } from "../traits/elms.js";
25
+ import { EventEmitter } from "../event-emitter/index.js";
26
+ import { UIMessages } from "../../modules/messages/messages.js";
23
27
  export let View = View_1 = class View extends Component {
24
28
  /**
25
29
  * Get path for loading extra staff
package/esm/index.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ /**
7
+ * [[include:README.md]]
8
+ * @packageDocumentation
9
+ * @module jodit
10
+ */
11
+
12
+ import { Jodit as DefaultJodit } from './jodit';
13
+ import 'jodit/plugins/index';
14
+
15
+ export { DefaultJodit as Jodit };
16
+ export declare class CommitMode {
17
+ }