jodit-pro 4.2.8 → 4.2.10

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 (637) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +116 -97
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  6. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  7. package/es2015/plugins/backup/backup.css +1 -1
  8. package/es2015/plugins/backup/backup.js +1 -1
  9. package/es2015/plugins/backup/backup.min.js +1 -1
  10. package/es2015/plugins/button-generator/button-generator.css +1 -1
  11. package/es2015/plugins/button-generator/button-generator.js +1 -1
  12. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  13. package/es2015/plugins/change-case/change-case.js +1 -1
  14. package/es2015/plugins/change-case/change-case.min.js +1 -1
  15. package/es2015/plugins/color-picker/color-picker.css +1 -1
  16. package/es2015/plugins/color-picker/color-picker.js +1 -1
  17. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  18. package/es2015/plugins/emoji/emoji.css +1 -1
  19. package/es2015/plugins/emoji/emoji.js +1 -1
  20. package/es2015/plugins/emoji/emoji.min.js +1 -1
  21. package/es2015/plugins/export-docs/export-docs.js +1 -1
  22. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  23. package/es2015/plugins/finder/finder.css +1 -1
  24. package/es2015/plugins/finder/finder.js +1 -1
  25. package/es2015/plugins/finder/finder.min.js +1 -1
  26. package/es2015/plugins/google-maps/google-maps.css +1 -1
  27. package/es2015/plugins/google-maps/google-maps.js +1 -1
  28. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  29. package/es2015/plugins/google-search/google-search.js +1 -1
  30. package/es2015/plugins/google-search/google-search.min.js +1 -1
  31. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  32. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  33. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  34. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  35. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  36. package/es2015/plugins/keyboard/keyboard.css +1 -1
  37. package/es2015/plugins/keyboard/keyboard.js +1 -1
  38. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  39. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  40. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  41. package/es2015/plugins/page-break/page-break.js +1 -1
  42. package/es2015/plugins/page-break/page-break.min.js +1 -1
  43. package/es2015/plugins/paste-code/paste-code.css +1 -1
  44. package/es2015/plugins/paste-code/paste-code.js +1 -1
  45. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  46. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  47. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  48. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  49. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  50. package/es2015/plugins/todo-list/todo-list.css +1 -1
  51. package/es2015/plugins/todo-list/todo-list.js +1 -1
  52. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  53. package/es2015/plugins/translate/translate.css +1 -1
  54. package/es2015/plugins/translate/translate.js +1 -1
  55. package/es2015/plugins/translate/translate.min.js +1 -1
  56. package/es2015/plugins/tune-block/tune-block.css +1 -1
  57. package/es2015/plugins/tune-block/tune-block.js +1 -1
  58. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  59. package/es2018/jodit.css +1 -1
  60. package/es2018/jodit.fat.min.js +2 -2
  61. package/es2018/jodit.js +116 -97
  62. package/es2018/jodit.min.js +2 -2
  63. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  64. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  65. package/es2018/plugins/backup/backup.css +1 -1
  66. package/es2018/plugins/backup/backup.js +1 -1
  67. package/es2018/plugins/backup/backup.min.js +1 -1
  68. package/es2018/plugins/button-generator/button-generator.css +1 -1
  69. package/es2018/plugins/button-generator/button-generator.js +1 -1
  70. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  71. package/es2018/plugins/change-case/change-case.js +1 -1
  72. package/es2018/plugins/change-case/change-case.min.js +1 -1
  73. package/es2018/plugins/color-picker/color-picker.css +1 -1
  74. package/es2018/plugins/color-picker/color-picker.js +1 -1
  75. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  76. package/es2018/plugins/emoji/emoji.css +1 -1
  77. package/es2018/plugins/emoji/emoji.js +1 -1
  78. package/es2018/plugins/emoji/emoji.min.js +1 -1
  79. package/es2018/plugins/export-docs/export-docs.js +1 -1
  80. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  81. package/es2018/plugins/finder/finder.css +1 -1
  82. package/es2018/plugins/finder/finder.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +1 -1
  84. package/es2018/plugins/google-maps/google-maps.css +1 -1
  85. package/es2018/plugins/google-maps/google-maps.js +1 -1
  86. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  87. package/es2018/plugins/google-search/google-search.js +1 -1
  88. package/es2018/plugins/google-search/google-search.min.js +1 -1
  89. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  90. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  91. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  92. package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
  93. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  94. package/es2018/plugins/keyboard/keyboard.css +1 -1
  95. package/es2018/plugins/keyboard/keyboard.js +1 -1
  96. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  97. package/es2018/plugins/mobile-view/mobile-view.js +1 -1
  98. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  99. package/es2018/plugins/page-break/page-break.js +1 -1
  100. package/es2018/plugins/page-break/page-break.min.js +1 -1
  101. package/es2018/plugins/paste-code/paste-code.css +1 -1
  102. package/es2018/plugins/paste-code/paste-code.js +1 -1
  103. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  104. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  105. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  106. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  107. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  108. package/es2018/plugins/todo-list/todo-list.css +1 -1
  109. package/es2018/plugins/todo-list/todo-list.js +1 -1
  110. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  111. package/es2018/plugins/translate/translate.css +1 -1
  112. package/es2018/plugins/translate/translate.js +1 -1
  113. package/es2018/plugins/translate/translate.min.js +1 -1
  114. package/es2018/plugins/tune-block/tune-block.css +1 -1
  115. package/es2018/plugins/tune-block/tune-block.js +1 -1
  116. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  117. package/es2021/jodit.css +1 -1
  118. package/es2021/jodit.fat.min.js +2 -2
  119. package/es2021/jodit.js +116 -97
  120. package/es2021/jodit.min.js +2 -2
  121. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  122. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  123. package/es2021/plugins/backup/backup.css +1 -1
  124. package/es2021/plugins/backup/backup.js +1 -1
  125. package/es2021/plugins/backup/backup.min.js +1 -1
  126. package/es2021/plugins/button-generator/button-generator.css +1 -1
  127. package/es2021/plugins/button-generator/button-generator.js +1 -1
  128. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  129. package/es2021/plugins/change-case/change-case.js +1 -1
  130. package/es2021/plugins/change-case/change-case.min.js +1 -1
  131. package/es2021/plugins/color-picker/color-picker.css +1 -1
  132. package/es2021/plugins/color-picker/color-picker.js +1 -1
  133. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  134. package/es2021/plugins/emoji/emoji.css +1 -1
  135. package/es2021/plugins/emoji/emoji.js +1 -1
  136. package/es2021/plugins/emoji/emoji.min.js +1 -1
  137. package/es2021/plugins/export-docs/export-docs.js +1 -1
  138. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  139. package/es2021/plugins/finder/finder.css +1 -1
  140. package/es2021/plugins/finder/finder.js +1 -1
  141. package/es2021/plugins/finder/finder.min.js +1 -1
  142. package/es2021/plugins/google-maps/google-maps.css +1 -1
  143. package/es2021/plugins/google-maps/google-maps.js +1 -1
  144. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  145. package/es2021/plugins/google-search/google-search.js +1 -1
  146. package/es2021/plugins/google-search/google-search.min.js +1 -1
  147. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  149. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  151. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  152. package/es2021/plugins/keyboard/keyboard.css +1 -1
  153. package/es2021/plugins/keyboard/keyboard.js +1 -1
  154. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  155. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  156. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  157. package/es2021/plugins/page-break/page-break.js +1 -1
  158. package/es2021/plugins/page-break/page-break.min.js +1 -1
  159. package/es2021/plugins/paste-code/paste-code.css +1 -1
  160. package/es2021/plugins/paste-code/paste-code.js +1 -1
  161. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  162. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  163. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  164. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  165. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  166. package/es2021/plugins/todo-list/todo-list.css +1 -1
  167. package/es2021/plugins/todo-list/todo-list.js +1 -1
  168. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  169. package/es2021/plugins/translate/translate.css +1 -1
  170. package/es2021/plugins/translate/translate.js +1 -1
  171. package/es2021/plugins/translate/translate.min.js +1 -1
  172. package/es2021/plugins/tune-block/tune-block.css +1 -1
  173. package/es2021/plugins/tune-block/tune-block.js +1 -1
  174. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  175. package/es2021.en/jodit.css +1 -1
  176. package/es2021.en/jodit.fat.min.js +2 -2
  177. package/es2021.en/jodit.js +116 -97
  178. package/es2021.en/jodit.min.js +2 -2
  179. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  180. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  181. package/es2021.en/plugins/backup/backup.css +1 -1
  182. package/es2021.en/plugins/backup/backup.js +1 -1
  183. package/es2021.en/plugins/backup/backup.min.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  185. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  186. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  187. package/es2021.en/plugins/change-case/change-case.js +1 -1
  188. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  190. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  191. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.css +1 -1
  193. package/es2021.en/plugins/emoji/emoji.js +1 -1
  194. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  195. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  196. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  197. package/es2021.en/plugins/finder/finder.css +1 -1
  198. package/es2021.en/plugins/finder/finder.js +1 -1
  199. package/es2021.en/plugins/finder/finder.min.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  201. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  202. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  203. package/es2021.en/plugins/google-search/google-search.js +1 -1
  204. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  205. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  206. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  208. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  209. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  211. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  212. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  213. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  214. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  215. package/es2021.en/plugins/page-break/page-break.js +1 -1
  216. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  218. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  219. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  220. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  221. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  222. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  223. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  224. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  225. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  226. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  227. package/es2021.en/plugins/translate/translate.css +1 -1
  228. package/es2021.en/plugins/translate/translate.js +1 -1
  229. package/es2021.en/plugins/translate/translate.min.js +1 -1
  230. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  231. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  232. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  233. package/es5/jodit.css +2 -2
  234. package/es5/jodit.fat.min.js +2 -2
  235. package/es5/jodit.js +116 -97
  236. package/es5/jodit.min.css +2 -2
  237. package/es5/jodit.min.js +2 -2
  238. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  239. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  240. package/es5/plugins/backup/backup.css +1 -1
  241. package/es5/plugins/backup/backup.js +1 -1
  242. package/es5/plugins/backup/backup.min.js +1 -1
  243. package/es5/plugins/button-generator/button-generator.css +1 -1
  244. package/es5/plugins/button-generator/button-generator.js +1 -1
  245. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  246. package/es5/plugins/change-case/change-case.js +1 -1
  247. package/es5/plugins/change-case/change-case.min.js +1 -1
  248. package/es5/plugins/color-picker/color-picker.css +1 -1
  249. package/es5/plugins/color-picker/color-picker.js +1 -1
  250. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  251. package/es5/plugins/emoji/emoji.css +1 -1
  252. package/es5/plugins/emoji/emoji.js +1 -1
  253. package/es5/plugins/emoji/emoji.min.js +1 -1
  254. package/es5/plugins/export-docs/export-docs.js +1 -1
  255. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  256. package/es5/plugins/finder/finder.css +1 -1
  257. package/es5/plugins/finder/finder.js +1 -1
  258. package/es5/plugins/finder/finder.min.js +1 -1
  259. package/es5/plugins/google-maps/google-maps.css +1 -1
  260. package/es5/plugins/google-maps/google-maps.js +1 -1
  261. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  262. package/es5/plugins/google-search/google-search.js +1 -1
  263. package/es5/plugins/google-search/google-search.min.js +1 -1
  264. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  265. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  266. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  267. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  268. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  269. package/es5/plugins/keyboard/keyboard.css +1 -1
  270. package/es5/plugins/keyboard/keyboard.js +1 -1
  271. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  272. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  273. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  274. package/es5/plugins/page-break/page-break.js +1 -1
  275. package/es5/plugins/page-break/page-break.min.js +1 -1
  276. package/es5/plugins/paste-code/paste-code.css +1 -1
  277. package/es5/plugins/paste-code/paste-code.js +1 -1
  278. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  279. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  280. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  281. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  282. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  283. package/es5/plugins/todo-list/todo-list.css +1 -1
  284. package/es5/plugins/todo-list/todo-list.js +1 -1
  285. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  286. package/es5/plugins/translate/translate.css +1 -1
  287. package/es5/plugins/translate/translate.js +1 -1
  288. package/es5/plugins/translate/translate.min.js +1 -1
  289. package/es5/plugins/tune-block/tune-block.css +1 -1
  290. package/es5/plugins/tune-block/tune-block.js +1 -1
  291. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  292. package/esm/config.js +1 -1
  293. package/esm/core/ui/form/range/range.d.ts +2 -2
  294. package/esm/core/ui/form/range/range.js +1 -1
  295. package/esm/index.js +1 -1
  296. package/esm/jodit-pro.d.ts +1 -1
  297. package/esm/jodit-pro.js +1 -1
  298. package/esm/plugins/autocomplete/autocomplete.d.ts +2 -2
  299. package/esm/plugins/autocomplete/autocomplete.js +1 -1
  300. package/esm/plugins/autocomplete/helpers.js +1 -1
  301. package/esm/plugins/autocomplete/interface.d.ts +1 -1
  302. package/esm/plugins/autocomplete/ui/autocomplete.d.ts +2 -2
  303. package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
  304. package/esm/plugins/autocomplete/ui/item.d.ts +2 -2
  305. package/esm/plugins/autocomplete/ui/item.js +1 -1
  306. package/esm/plugins/backup/backup.d.ts +2 -2
  307. package/esm/plugins/backup/backup.js +1 -1
  308. package/esm/plugins/backup/config.js +1 -1
  309. package/esm/plugins/backup/modules/store.d.ts +2 -2
  310. package/esm/plugins/backup/ui/box.d.ts +3 -3
  311. package/esm/plugins/backup/ui/box.js +1 -1
  312. package/esm/plugins/backup/ui/item.d.ts +3 -3
  313. package/esm/plugins/backup/ui/item.js +1 -1
  314. package/esm/plugins/backup/ui/list.d.ts +3 -3
  315. package/esm/plugins/backup/ui/list.js +1 -1
  316. package/esm/plugins/button-generator/button-generator.d.ts +2 -2
  317. package/esm/plugins/button-generator/button-generator.js +1 -1
  318. package/esm/plugins/button-generator/config.js +1 -1
  319. package/esm/plugins/button-generator/ui/button/button.d.ts +2 -2
  320. package/esm/plugins/button-generator/ui/button/button.js +1 -1
  321. package/esm/plugins/button-generator/ui/form/form.d.ts +2 -2
  322. package/esm/plugins/button-generator/ui/form/form.js +1 -1
  323. package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +2 -2
  324. package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
  325. package/esm/plugins/button-generator/ui/preview/preview.d.ts +2 -2
  326. package/esm/plugins/button-generator/ui/preview/preview.js +1 -1
  327. package/esm/plugins/change-case/change-case.d.ts +2 -2
  328. package/esm/plugins/change-case/change-case.js +1 -1
  329. package/esm/plugins/change-case/config.js +1 -1
  330. package/esm/plugins/color-picker/color-picker.d.ts +2 -2
  331. package/esm/plugins/color-picker/color-picker.js +1 -1
  332. package/esm/plugins/color-picker/ui/input/color-input.d.ts +2 -2
  333. package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
  334. package/esm/plugins/emoji/config.js +1 -1
  335. package/esm/plugins/emoji/emoji.d.ts +2 -2
  336. package/esm/plugins/emoji/emoji.js +1 -1
  337. package/esm/plugins/emoji/ui/emoji.d.ts +3 -3
  338. package/esm/plugins/emoji/ui/emoji.js +1 -1
  339. package/esm/plugins/export-docs/config.d.ts +1 -1
  340. package/esm/plugins/export-docs/config.js +1 -1
  341. package/esm/plugins/export-docs/export-docs.d.ts +2 -2
  342. package/esm/plugins/export-docs/export-docs.js +1 -1
  343. package/esm/plugins/finder/browser.d.ts +4 -4
  344. package/esm/plugins/finder/browser.js +1 -1
  345. package/esm/plugins/finder/config.js +1 -1
  346. package/esm/plugins/finder/finder.d.ts +2 -2
  347. package/esm/plugins/finder/finder.js +1 -1
  348. package/esm/plugins/finder/helpers/context-menu.d.ts +3 -3
  349. package/esm/plugins/finder/helpers/context-menu.js +1 -1
  350. package/esm/plugins/finder/helpers/history-manager.d.ts +2 -2
  351. package/esm/plugins/finder/helpers/history-manager.js +1 -1
  352. package/esm/plugins/finder/helpers/loading-manager.d.ts +2 -2
  353. package/esm/plugins/finder/helpers/loading-manager.js +1 -1
  354. package/esm/plugins/finder/helpers/persistent-store.d.ts +2 -2
  355. package/esm/plugins/finder/helpers/persistent-store.js +1 -1
  356. package/esm/plugins/finder/helpers/state-manager.d.ts +2 -2
  357. package/esm/plugins/finder/helpers/state-manager.js +1 -1
  358. package/esm/plugins/finder/ui/assets/icons/index.js +1 -1
  359. package/esm/plugins/finder/ui/folder/folder.d.ts +2 -2
  360. package/esm/plugins/finder/ui/folder/folder.js +1 -1
  361. package/esm/plugins/finder/ui/header/header.d.ts +3 -3
  362. package/esm/plugins/finder/ui/header/header.js +1 -1
  363. package/esm/plugins/finder/ui/item/item.d.ts +2 -2
  364. package/esm/plugins/finder/ui/item/item.js +1 -1
  365. package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +3 -3
  366. package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
  367. package/esm/plugins/finder/ui/panel/panel.d.ts +10 -10
  368. package/esm/plugins/finder/ui/panel/panel.js +1 -1
  369. package/esm/plugins/finder/ui/preview/preview.d.ts +4 -4
  370. package/esm/plugins/finder/ui/preview/preview.js +1 -1
  371. package/esm/plugins/finder/ui/progress/progress.d.ts +3 -3
  372. package/esm/plugins/finder/ui/progress/progress.js +1 -1
  373. package/esm/plugins/finder/ui/settings/settings.d.ts +3 -3
  374. package/esm/plugins/finder/ui/settings/settings.js +1 -1
  375. package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +4 -4
  376. package/esm/plugins/finder/ui/sidebar/sidebar.js +1 -1
  377. package/esm/plugins/finder/ui/source/source.d.ts +2 -2
  378. package/esm/plugins/finder/ui/source/source.js +1 -1
  379. package/esm/plugins/finder/ui/sources/sources.d.ts +2 -2
  380. package/esm/plugins/finder/ui/sources/sources.js +1 -1
  381. package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +1 -1
  382. package/esm/plugins/finder/ui/statusbar/statusbar.js +1 -1
  383. package/esm/plugins/finder/ui/tree/tree.d.ts +2 -2
  384. package/esm/plugins/finder/ui/tree/tree.js +1 -1
  385. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +7 -7
  386. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
  387. package/esm/plugins/google-maps/assets/index.js +1 -1
  388. package/esm/plugins/google-maps/config.js +1 -1
  389. package/esm/plugins/google-maps/google-maps.d.ts +2 -2
  390. package/esm/plugins/google-maps/google-maps.js +1 -1
  391. package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +2 -2
  392. package/esm/plugins/google-maps/helpers/generate-js-script.js +1 -1
  393. package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +1 -1
  394. package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
  395. package/esm/plugins/google-maps/helpers/static-url.d.ts +1 -1
  396. package/esm/plugins/google-maps/helpers/static-url.js +1 -1
  397. package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +1 -1
  398. package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
  399. package/esm/plugins/google-maps/ui/editors/base.d.ts +2 -2
  400. package/esm/plugins/google-maps/ui/editors/base.js +1 -1
  401. package/esm/plugins/google-maps/ui/editors/index.js +1 -1
  402. package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +2 -2
  403. package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
  404. package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +2 -2
  405. package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +1 -1
  406. package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +2 -2
  407. package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +1 -1
  408. package/esm/plugins/google-maps/ui/index.js +1 -1
  409. package/esm/plugins/google-maps/ui/map/map.d.ts +4 -4
  410. package/esm/plugins/google-maps/ui/map/map.js +1 -1
  411. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +2 -2
  412. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +1 -1
  413. package/esm/plugins/google-maps/ui/map/modules/index.js +1 -1
  414. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +2 -2
  415. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -1
  416. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +2 -2
  417. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +1 -1
  418. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +2 -2
  419. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
  420. package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +2 -2
  421. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +2 -2
  422. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +1 -1
  423. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +2 -2
  424. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
  425. package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +2 -2
  426. package/esm/plugins/google-maps/ui/maps-props/maps-props.js +1 -1
  427. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +2 -2
  428. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
  429. package/esm/plugins/google-search/google-search.d.ts +2 -2
  430. package/esm/plugins/google-search/google-search.js +1 -1
  431. package/esm/plugins/highlight-signature/highlight-signature.d.ts +2 -2
  432. package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
  433. package/esm/plugins/iframe-editor/config.js +1 -1
  434. package/esm/plugins/iframe-editor/iframe-editor.d.ts +2 -2
  435. package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
  436. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +2 -2
  437. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +1 -1
  438. package/esm/plugins/index.d.ts +3 -3
  439. package/esm/plugins/index.js +1 -1
  440. package/esm/plugins/keyboard/config.d.ts +1 -1
  441. package/esm/plugins/keyboard/config.js +1 -1
  442. package/esm/plugins/keyboard/keyboard.d.ts +2 -2
  443. package/esm/plugins/keyboard/keyboard.js +1 -1
  444. package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +2 -2
  445. package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
  446. package/esm/plugins/license/license.d.ts +3 -3
  447. package/esm/plugins/license/license.js +1 -1
  448. package/esm/plugins/mobile-view/config.js +1 -1
  449. package/esm/plugins/mobile-view/mobile-view.js +1 -1
  450. package/esm/plugins/page-break/config.js +1 -1
  451. package/esm/plugins/page-break/page-break.d.ts +2 -2
  452. package/esm/plugins/page-break/page-break.js +1 -1
  453. package/esm/plugins/paste-code/config.d.ts +1 -1
  454. package/esm/plugins/paste-code/config.js +1 -1
  455. package/esm/plugins/paste-code/paste-code.d.ts +2 -2
  456. package/esm/plugins/paste-code/paste-code.js +1 -1
  457. package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +1 -1
  458. package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +1 -1
  459. package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +1 -1
  460. package/esm/plugins/paste-from-word/cases/clear-class-name.js +1 -1
  461. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +1 -1
  462. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
  463. package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +1 -1
  464. package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
  465. package/esm/plugins/paste-from-word/cases/index.d.ts +1 -1
  466. package/esm/plugins/paste-from-word/cases/index.js +1 -1
  467. package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +1 -1
  468. package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +1 -1
  469. package/esm/plugins/paste-from-word/cases/process-image.d.ts +1 -1
  470. package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
  471. package/esm/plugins/paste-from-word/cases/process-links.d.ts +1 -1
  472. package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +1 -1
  473. package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +1 -1
  474. package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +1 -1
  475. package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +1 -1
  476. package/esm/plugins/paste-from-word/cases/table.d.ts +1 -1
  477. package/esm/plugins/paste-from-word/config.js +1 -1
  478. package/esm/plugins/paste-from-word/element/checkers.js +1 -1
  479. package/esm/plugins/paste-from-word/element/element.d.ts +1 -1
  480. package/esm/plugins/paste-from-word/element/element.js +1 -1
  481. package/esm/plugins/paste-from-word/element/index.js +1 -1
  482. package/esm/plugins/paste-from-word/element/render.d.ts +1 -1
  483. package/esm/plugins/paste-from-word/element/render.js +1 -1
  484. package/esm/plugins/paste-from-word/element/style.d.ts +1 -1
  485. package/esm/plugins/paste-from-word/element/style.js +1 -1
  486. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +1 -1
  487. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
  488. package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +1 -1
  489. package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
  490. package/esm/plugins/paste-from-word/helpers/helpers.d.ts +2 -2
  491. package/esm/plugins/paste-from-word/helpers/index.js +1 -1
  492. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +2 -2
  493. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
  494. package/esm/plugins/paste-from-word/interface.d.ts +1 -1
  495. package/esm/plugins/paste-from-word/paste-from-word.d.ts +3 -3
  496. package/esm/plugins/paste-from-word/paste-from-word.js +1 -1
  497. package/esm/plugins/show-blocks/config.js +1 -1
  498. package/esm/plugins/show-blocks/show-blocks.d.ts +2 -2
  499. package/esm/plugins/show-blocks/show-blocks.js +1 -1
  500. package/esm/plugins/todo-list/config.d.ts +1 -1
  501. package/esm/plugins/todo-list/config.js +1 -1
  502. package/esm/plugins/todo-list/todo-list.d.ts +2 -2
  503. package/esm/plugins/todo-list/todo-list.js +1 -1
  504. package/esm/plugins/translate/config.js +1 -1
  505. package/esm/plugins/translate/interface.d.ts +1 -1
  506. package/esm/plugins/translate/providers/google/google.d.ts +2 -2
  507. package/esm/plugins/translate/providers/google/google.js +1 -1
  508. package/esm/plugins/translate/translate.d.ts +2 -2
  509. package/esm/plugins/translate/translate.js +1 -1
  510. package/esm/plugins/translate/ui/list/list.d.ts +2 -2
  511. package/esm/plugins/translate/ui/list/list.js +1 -1
  512. package/esm/plugins/translate/ui/settings/settings.d.ts +3 -3
  513. package/esm/plugins/translate/ui/settings/settings.js +1 -1
  514. package/esm/plugins/tune-block/config.d.ts +1 -1
  515. package/esm/plugins/tune-block/config.js +1 -1
  516. package/esm/plugins/tune-block/tune-block.d.ts +2 -2
  517. package/esm/plugins/tune-block/tune-block.js +1 -1
  518. package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +2 -2
  519. package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
  520. package/esm/traits/resize/resize.d.ts +1 -1
  521. package/esm/traits/resize/resize.js +1 -1
  522. package/esm/traits/select-items/select-items.d.ts +1 -1
  523. package/esm/traits/select-items/select-items.js +1 -1
  524. package/esm/types/view.d.ts +1 -1
  525. package/package.json +1 -1
  526. package/types/core/ui/form/range/range.d.ts +2 -2
  527. package/types/jodit-pro.d.ts +1 -1
  528. package/types/plugins/autocomplete/autocomplete.d.ts +2 -2
  529. package/types/plugins/autocomplete/interface.d.ts +1 -1
  530. package/types/plugins/autocomplete/ui/autocomplete.d.ts +2 -2
  531. package/types/plugins/autocomplete/ui/item.d.ts +2 -2
  532. package/types/plugins/backup/backup.d.ts +2 -2
  533. package/types/plugins/backup/modules/store.d.ts +2 -2
  534. package/types/plugins/backup/ui/box.d.ts +3 -3
  535. package/types/plugins/backup/ui/item.d.ts +3 -3
  536. package/types/plugins/backup/ui/list.d.ts +3 -3
  537. package/types/plugins/button-generator/button-generator.d.ts +2 -2
  538. package/types/plugins/button-generator/ui/button/button.d.ts +2 -2
  539. package/types/plugins/button-generator/ui/form/form.d.ts +2 -2
  540. package/types/plugins/button-generator/ui/generator/button-generator.d.ts +2 -2
  541. package/types/plugins/button-generator/ui/preview/preview.d.ts +2 -2
  542. package/types/plugins/change-case/change-case.d.ts +2 -2
  543. package/types/plugins/color-picker/color-picker.d.ts +2 -2
  544. package/types/plugins/color-picker/ui/input/color-input.d.ts +2 -2
  545. package/types/plugins/emoji/emoji.d.ts +2 -2
  546. package/types/plugins/emoji/ui/emoji.d.ts +3 -3
  547. package/types/plugins/export-docs/config.d.ts +1 -1
  548. package/types/plugins/export-docs/export-docs.d.ts +2 -2
  549. package/types/plugins/finder/browser.d.ts +4 -4
  550. package/types/plugins/finder/finder.d.ts +2 -2
  551. package/types/plugins/finder/helpers/context-menu.d.ts +3 -3
  552. package/types/plugins/finder/helpers/history-manager.d.ts +2 -2
  553. package/types/plugins/finder/helpers/loading-manager.d.ts +2 -2
  554. package/types/plugins/finder/helpers/persistent-store.d.ts +2 -2
  555. package/types/plugins/finder/helpers/state-manager.d.ts +2 -2
  556. package/types/plugins/finder/ui/folder/folder.d.ts +2 -2
  557. package/types/plugins/finder/ui/header/header.d.ts +3 -3
  558. package/types/plugins/finder/ui/item/item.d.ts +2 -2
  559. package/types/plugins/finder/ui/lightboox/lightbox.d.ts +3 -3
  560. package/types/plugins/finder/ui/panel/panel.d.ts +10 -10
  561. package/types/plugins/finder/ui/preview/preview.d.ts +4 -4
  562. package/types/plugins/finder/ui/progress/progress.d.ts +3 -3
  563. package/types/plugins/finder/ui/settings/settings.d.ts +3 -3
  564. package/types/plugins/finder/ui/sidebar/sidebar.d.ts +4 -4
  565. package/types/plugins/finder/ui/source/source.d.ts +2 -2
  566. package/types/plugins/finder/ui/sources/sources.d.ts +2 -2
  567. package/types/plugins/finder/ui/statusbar/statusbar.d.ts +1 -1
  568. package/types/plugins/finder/ui/tree/tree.d.ts +2 -2
  569. package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +7 -7
  570. package/types/plugins/google-maps/google-maps.d.ts +2 -2
  571. package/types/plugins/google-maps/helpers/generate-js-script.d.ts +2 -2
  572. package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +1 -1
  573. package/types/plugins/google-maps/helpers/static-url.d.ts +1 -1
  574. package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +1 -1
  575. package/types/plugins/google-maps/ui/editors/base.d.ts +2 -2
  576. package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +2 -2
  577. package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +2 -2
  578. package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +2 -2
  579. package/types/plugins/google-maps/ui/map/map.d.ts +4 -4
  580. package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +2 -2
  581. package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +2 -2
  582. package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +2 -2
  583. package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +2 -2
  584. package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +2 -2
  585. package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +2 -2
  586. package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +2 -2
  587. package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +2 -2
  588. package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +2 -2
  589. package/types/plugins/google-search/google-search.d.ts +2 -2
  590. package/types/plugins/highlight-signature/highlight-signature.d.ts +2 -2
  591. package/types/plugins/iframe-editor/iframe-editor.d.ts +2 -2
  592. package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +2 -2
  593. package/types/plugins/index.d.ts +3 -3
  594. package/types/plugins/keyboard/config.d.ts +1 -1
  595. package/types/plugins/keyboard/keyboard.d.ts +2 -2
  596. package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +2 -2
  597. package/types/plugins/license/license.d.ts +3 -3
  598. package/types/plugins/page-break/page-break.d.ts +2 -2
  599. package/types/plugins/paste-code/config.d.ts +1 -1
  600. package/types/plugins/paste-code/paste-code.d.ts +2 -2
  601. package/types/plugins/paste-from-word/cases/clean-styles.d.ts +1 -1
  602. package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +1 -1
  603. package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +1 -1
  604. package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +1 -1
  605. package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +1 -1
  606. package/types/plugins/paste-from-word/cases/index.d.ts +1 -1
  607. package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +1 -1
  608. package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +1 -1
  609. package/types/plugins/paste-from-word/cases/process-image.d.ts +1 -1
  610. package/types/plugins/paste-from-word/cases/process-links.d.ts +1 -1
  611. package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +1 -1
  612. package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +1 -1
  613. package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +1 -1
  614. package/types/plugins/paste-from-word/cases/table.d.ts +1 -1
  615. package/types/plugins/paste-from-word/element/element.d.ts +1 -1
  616. package/types/plugins/paste-from-word/element/render.d.ts +1 -1
  617. package/types/plugins/paste-from-word/element/style.d.ts +1 -1
  618. package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +1 -1
  619. package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +1 -1
  620. package/types/plugins/paste-from-word/helpers/helpers.d.ts +2 -2
  621. package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +2 -2
  622. package/types/plugins/paste-from-word/interface.d.ts +1 -1
  623. package/types/plugins/paste-from-word/paste-from-word.d.ts +3 -3
  624. package/types/plugins/show-blocks/show-blocks.d.ts +2 -2
  625. package/types/plugins/todo-list/config.d.ts +1 -1
  626. package/types/plugins/todo-list/todo-list.d.ts +2 -2
  627. package/types/plugins/translate/interface.d.ts +1 -1
  628. package/types/plugins/translate/providers/google/google.d.ts +2 -2
  629. package/types/plugins/translate/translate.d.ts +2 -2
  630. package/types/plugins/translate/ui/list/list.d.ts +2 -2
  631. package/types/plugins/translate/ui/settings/settings.d.ts +3 -3
  632. package/types/plugins/tune-block/config.d.ts +1 -1
  633. package/types/plugins/tune-block/tune-block.d.ts +2 -2
  634. package/types/plugins/tune-block/ui/tuner/tuner.d.ts +2 -2
  635. package/types/traits/resize/resize.d.ts +1 -1
  636. package/types/traits/select-items/select-items.d.ts +1 -1
  637. package/types/types/view.d.ts +1 -1
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var t=this&&this.__decorate||function(t,o,e,s){var i,r=arguments.length,l=r<3?o:null===s?s=Object.getOwnPropertyDescriptor(o,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,o,e,s);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(l=(r<3?i(l):r>3?i(o,e,l):i(o,e))||l);return r>3&&l&&Object.defineProperty(o,e,l),l};import{autobind as o,cache as e}from"jodit/esm/core/decorators/index.js";import{Dom as s}from"jodit/esm/core/dom/dom.js";import{extendLang as i,getContainer as r}from"jodit/esm/core/global.js";import{Plugin as l}from"jodit/esm/core/plugin/index.js";import{Icon as n}from"jodit/esm/core/ui/icon.js";import"./config";import*as a from"./langs";import c from"./show-blocks.svg.js";import{JoditPro as h}from"jodit-pro/esm/jodit-pro.js";export class showBlocks extends l{get style(){return r(this.jodit,showBlocks,"style",!0)}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:o,color:e}=this.j.o.showBlocks;this.style.innerHTML=o.map((o=>`${t} ${o}{\n\t\t\t\t\toutline: 1px dashed ${e};\n\t\t\t\t\tbackground-image: url("${function svgToUrl(t){return`data:image/svg+xml;utf8,${escape(t)}`}('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+e+';font: 10px sans-serif" x="50px" y="0">'+o+"</text></svg>")}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`)).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(t){super(t),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,i(a),n.set("showBlocks",c)}afterInit(t){t.e.on("showBlocksEnabled",(()=>this.isEnabled)),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),s.safeRemove(this.style)}}showBlocks.requires=["license"],t([e],showBlocks.prototype,"style",null),t([o],showBlocks.prototype,"enable",null),t([o],showBlocks.prototype,"disable",null),t([o],showBlocks.prototype,"toggle",null),h.plugins.add("show-blocks",showBlocks);
6
+ var t=this&&this.__decorate||function(t,o,e,s){var i,r=arguments.length,l=r<3?o:null===s?s=Object.getOwnPropertyDescriptor(o,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,o,e,s);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(l=(r<3?i(l):r>3?i(o,e,l):i(o,e))||l);return r>3&&l&&Object.defineProperty(o,e,l),l};import{autobind as o,cache as e}from"../../core/decorators.js";import{Dom as s}from"../../core/dom/dom.js";import{extendLang as i,getContainer as r}from"../../core/global.js";import{Plugin as l}from"../../core/plugin.js";import{Icon as n}from"../../core/ui/icon.js";import"./config.js";import*as a from"./langs/index.js";import c from"./show-blocks.svg.js";import{JoditPro as h}from"../../jodit-pro.js";export class showBlocks extends l{get style(){return r(this.jodit,showBlocks,"style",!0)}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:o,color:e}=this.j.o.showBlocks;this.style.innerHTML=o.map((o=>`${t} ${o}{\n\t\t\t\t\toutline: 1px dashed ${e};\n\t\t\t\t\tbackground-image: url("${function svgToUrl(t){return`data:image/svg+xml;utf8,${escape(t)}`}('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+e+';font: 10px sans-serif" x="50px" y="0">'+o+"</text></svg>")}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`)).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(t){super(t),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,i(a),n.set("showBlocks",c)}afterInit(t){t.e.on("showBlocksEnabled",(()=>this.isEnabled)),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),s.safeRemove(this.style)}}showBlocks.requires=["license"],t([e],showBlocks.prototype,"style",null),t([o],showBlocks.prototype,"enable",null),t([o],showBlocks.prototype,"disable",null),t([o],showBlocks.prototype,"toggle",null),h.plugins.add("show-blocks",showBlocks);
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
6
+ import type { IJodit } from "../../types";
7
7
  declare module 'jodit/config' {
8
8
  interface Config {
9
9
  todoList: {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import{Dom as o}from"jodit/esm/core/dom/dom.js";import{Icon as t}from"jodit/esm/core/ui/icon.js";import s from"./assets/todo-list.svg.js";import{Config as i}from"jodit/esm/config.js";i.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory:o=>o.createInside.element("input",{type:"checkbox",tabindex:-1})},i.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(t){const s=t.s.current();return Boolean(s&&o.closest(s,(t=>o.isElement(t)&&o.isTag(t,"ul")&&t.classList.contains("todo-list")),t.editor))}},t.set("todo-list",s);
6
+ import{Dom as o}from"../../core/dom/dom.js";import{Icon as t}from"../../core/ui/icon.js";import s from"./assets/todo-list.svg.js";import{Config as i}from"../../config.js";i.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory:o=>o.createInside.element("input",{type:"checkbox",tabindex:-1})},i.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(t){const s=t.s.current();return Boolean(s&&o.closest(s,(t=>o.isElement(t)&&o.isTag(t,"ul")&&t.classList.contains("todo-list")),t.editor))}},t.set("todo-list",s);
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { CommitMode, ICommitStyle, IJodit } from "jodit/esm/types";
7
- import { Plugin } from "jodit/esm/core/plugin";
6
+ import type { CommitMode, ICommitStyle, IJodit } from "../../types";
7
+ import { Plugin } from "../../core/plugin";
8
8
  import "./config";
9
9
 
10
10
  export declare class TodoList extends Plugin {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var e=this&&this.__decorate||function(e,t,o,s){var i,r=arguments.length,a=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a};import{NO_EMPTY_TAGS as t}from"jodit/esm/core/constants.js";import{autobind as o,watch as s}from"jodit/esm/core/decorators/index.js";import{Dom as i}from"jodit/esm/core/dom/dom.js";import{$$ as r,attr as a}from"jodit/esm/core/helpers/utils/index.js";import{Plugin as l}from"jodit/esm/core/plugin/index.js";import{CHANGE as n,REPLACE as p,UNWRAP as d,WRAP as c}from"jodit/esm/core/selection/index.js";import"./config";import{JoditPro as m}from"jodit-pro/esm/jodit-pro.js";export class TodoList extends l{constructor(){super(...arguments),this.buttons=[{name:"todoList",group:"list"}],this.__isOwnCommand=!1}afterInit(e){e.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(e){const{jodit:t}=this,{labelClassName:o,inputFactory:s}=this.j.o.todoList;if(e.querySelector("label."+o))return;const r=t.createInside.element("label",{contenteditable:"false",class:o}),a=s(t);r.appendChild(a),i.prepend(e,r)}__afterToggleList(e,t){return e!==n&&e!==p||!this.__isOwnCommand?e===d||e===p||e===n?this.__removeInputs(t):void 0:this.__appendInputs(t)}__appendInputs(e){e.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(e){const{labelClassName:t}=this.j.o.todoList;e.querySelectorAll("label."+t).forEach(i.safeRemove)}__beforeToggleOrderedList(e,t,o){const s="__beforeToggleOrderedList";if(e!==p&&(t.classList.contains(this.j.o.todoList.className)||o.isApplied(t,s))&&("ul"===o.element||"ol"===o.element)&&o.options.attributes?.class!==this.j.o.todoList.className){const e=i.replace(t,o.element,this.jodit.createInside);return o.setApplied(e,s),this.__removeInputs(e),e}}__afterEnter(){r("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){r("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(i.safeRemove)}__changeSelection(e){const t=this.j.s.current();this.isTodoLeafLabel(t)&&(e.preventDefault(),e.stopPropagation(),this.j.s.setCursorAfter(t))}__isEmptyListLeaf(e){return i.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&t.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=i.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&i.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;r("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&i.prepend(e.parentElement,e):i.safeRemove(e)}))}__afterWrapList(e,t){e===c&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&i.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&a(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return i.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}TodoList.requires=["license"],e([o],TodoList.prototype,"onCommand",null),e([o],TodoList.prototype,"__prependInputLabel",null),e([s(":commitStyleAfterToggleList")],TodoList.prototype,"__afterToggleList",null),e([s(":commitStyleBeforeUnwrapList")],TodoList.prototype,"__beforeToggleOrderedList",null),e([s(":afterEnter")],TodoList.prototype,"__afterEnter",null),e([s(":afterTab")],TodoList.prototype,"__afterTab",null),e([s("j.ed:selectionchange"),s(":afterEnter")],TodoList.prototype,"__changeSelection",null),e([s(":enterIsEmptyListLeaf")],TodoList.prototype,"__isEmptyListLeaf",null),e([s(":backSpaceBeforeCases")],TodoList.prototype,"__backSpaceBeforeCases",null),e([s(":backSpaceIsMovedIgnore"),s(":isInvisibleForCursor")],TodoList.prototype,"__isInvisibleForCursor",null),e([s(":backSpaceAfterDelete")],TodoList.prototype,"__backSpaceAfterDelete",null),e([o],TodoList.prototype,"__afterWrapList",null),e([s(":click")],TodoList.prototype,"__onClickInput",null),e([o],TodoList.prototype,"isTodoLeafLabel",null),m.plugins.add("todo-list",TodoList);
6
+ var e=this&&this.__decorate||function(e,t,o,s){var i,r=arguments.length,a=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a};import{NO_EMPTY_TAGS as t}from"../../core/constants.js";import{autobind as o,watch as s}from"../../core/decorators.js";import{Dom as i}from"../../core/dom/dom.js";import{$$ as r,attr as a}from"../../core/helpers/utils.js";import{Plugin as l}from"../../core/plugin.js";import{CHANGE as n,REPLACE as p,UNWRAP as c,WRAP as d}from"../../core/selection.js";import"./config.js";import{JoditPro as _}from"../../jodit-pro.js";export class TodoList extends l{constructor(){super(...arguments),this.buttons=[{name:"todoList",group:"list"}],this.__isOwnCommand=!1}afterInit(e){e.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(e){const{jodit:t}=this,{labelClassName:o,inputFactory:s}=this.j.o.todoList;if(e.querySelector("label."+o))return;const r=t.createInside.element("label",{contenteditable:"false",class:o}),a=s(t);r.appendChild(a),i.prepend(e,r)}__afterToggleList(e,t){return e!==n&&e!==p||!this.__isOwnCommand?e===c||e===p||e===n?this.__removeInputs(t):void 0:this.__appendInputs(t)}__appendInputs(e){e.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(e){const{labelClassName:t}=this.j.o.todoList;e.querySelectorAll("label."+t).forEach(i.safeRemove)}__beforeToggleOrderedList(e,t,o){const s="__beforeToggleOrderedList";if(e!==p&&(t.classList.contains(this.j.o.todoList.className)||o.isApplied(t,s))&&("ul"===o.element||"ol"===o.element)&&o.options.attributes?.class!==this.j.o.todoList.className){const e=i.replace(t,o.element,this.jodit.createInside);return o.setApplied(e,s),this.__removeInputs(e),e}}__afterEnter(){r("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){r("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(i.safeRemove)}__changeSelection(e){const t=this.j.s.current();this.isTodoLeafLabel(t)&&(e.preventDefault(),e.stopPropagation(),this.j.s.setCursorAfter(t))}__isEmptyListLeaf(e){return i.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&t.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=i.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&i.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;r("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&i.prepend(e.parentElement,e):i.safeRemove(e)}))}__afterWrapList(e,t){e===d&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&i.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&a(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return i.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}TodoList.requires=["license"],e([o],TodoList.prototype,"onCommand",null),e([o],TodoList.prototype,"__prependInputLabel",null),e([s(":commitStyleAfterToggleList")],TodoList.prototype,"__afterToggleList",null),e([s(":commitStyleBeforeUnwrapList")],TodoList.prototype,"__beforeToggleOrderedList",null),e([s(":afterEnter")],TodoList.prototype,"__afterEnter",null),e([s(":afterTab")],TodoList.prototype,"__afterTab",null),e([s("j.ed:selectionchange"),s(":afterEnter")],TodoList.prototype,"__changeSelection",null),e([s(":enterIsEmptyListLeaf")],TodoList.prototype,"__isEmptyListLeaf",null),e([s(":backSpaceBeforeCases")],TodoList.prototype,"__backSpaceBeforeCases",null),e([s(":backSpaceIsMovedIgnore"),s(":isInvisibleForCursor")],TodoList.prototype,"__isInvisibleForCursor",null),e([s(":backSpaceAfterDelete")],TodoList.prototype,"__backSpaceAfterDelete",null),e([o],TodoList.prototype,"__afterWrapList",null),e([s(":click")],TodoList.prototype,"__onClickInput",null),e([o],TodoList.prototype,"isTodoLeafLabel",null),_.plugins.add("todo-list",TodoList);
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import{Icon as t}from"jodit/esm/core/ui/icon.js";import e from"./assets/swap.svg.js";import s from"./assets/translate.svg.js";import{Config as o}from"jodit/esm/config.js";o.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},o.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(t){t.execCommand("translate")},list:["Options"],childExec(t,e,{control:s}){t.execCommand("translate"+s.name)},mods:{stroke:!1}}},t.set("translate",s).set("translate-swap",e);
6
+ import{Icon as t}from"../../core/ui/icon.js";import e from"./assets/swap.svg.js";import a from"./assets/translate.svg.js";import{Config as s}from"../../config.js";s.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},s.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(t){t.execCommand("translate")},list:["Options"],childExec(t,e,{control:a}){t.execCommand("translate"+a.name)},mods:{stroke:!1}}},t.set("translate",a).set("translate-swap",e);
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
6
+ import type { IJodit } from "../../types";
7
7
  export interface ITranslateState {
8
8
  sourceLang: string;
9
9
  targetLang: string;
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import type { ITranslateProvider, ITranslateResponse, ITranslateSupportedLanguages } from "jodit-pro/esm/plugins/translate/interface";
6
+ import type { IJodit } from "../../../../types";
7
+ import type { ITranslateProvider, ITranslateResponse, ITranslateSupportedLanguages } from "../../interface";
8
8
  export declare class GoogleTranslateProvider implements ITranslateProvider {
9
9
  readonly jodit: IJodit;
10
10
  constructor(jodit: IJodit);
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import{IS_PROD as t}from"jodit/esm/core/constants.js";import{assert as e}from"jodit/esm/core/helpers/utils/assert.js";import{languages as o}from"jodit-pro/esm/plugins/translate/providers/languages.js";export class GoogleTranslateProvider{constructor(t){this.jodit=t}__fetch(o,r={}){const s=this.jodit.o.translate.googleProviderOptions;return e(s,"Set googleProviderOptions"),this.jodit.fetch(s.url+"?key="+s.key,{method:"POST",data:{...r,ui:this.jodit.o.language},contentType:"application/json; charset=utf-8",withCredentials:!1}).then((t=>t.json())).catch((e=>{try{this.jodit.message.error(e.json().message)}catch(e){t||console.error(e)}}))}translate(t,e,o){return this.__fetch("translate",{q:t,source:e,target:o,format:"html"}).then((t=>({text:t.data.translations[0].translatedText})))}supportedLanguages(){return Promise.resolve({langs:o})}}
6
+ import{IS_PROD as t}from"../../../../core/constants.js";import{assert as e}from"../../../../core/helpers/utils/assert.js";import{languages as o}from"../languages.js";export class GoogleTranslateProvider{constructor(t){this.jodit=t}__fetch(o,r={}){const s=this.jodit.o.translate.googleProviderOptions;return e(s,"Set googleProviderOptions"),this.jodit.fetch(s.url+"?key="+s.key,{method:"POST",data:{...r,ui:this.jodit.o.language},contentType:"application/json; charset=utf-8",withCredentials:!1}).then((t=>t.json())).catch((e=>{try{this.jodit.message.error(e.json().message)}catch(e){t||console.error(e)}}))}translate(t,e,o){return this.__fetch("translate",{q:t,source:e,target:o,format:"html"}).then((t=>({text:t.data.translations[0].translatedText})))}supportedLanguages(){return Promise.resolve({langs:o})}}
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import { Plugin } from "jodit/esm/core/plugin";
6
+ import type { IJodit } from "../../types";
7
+ import { Plugin } from "../../core/plugin";
8
8
  import "./config";
9
9
  import type { ITranslateState } from "./interface";
10
10
  export declare class Translate extends Plugin {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var t=this&&this.__decorate||function(t,e,s,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,o);else for(var i=t.length-1;i>=0;i--)(r=t[i])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n};import{persistent as e}from"jodit/esm/core/decorators/index.js";import{isFunction as s}from"jodit/esm/core/helpers/checker/is-function.js";import{isString as o}from"jodit/esm/core/helpers/checker/is-string.js";import{assert as r}from"jodit/esm/core/helpers/utils/assert.js";import{defaultLanguage as a}from"jodit/esm/core/helpers/utils/default-language.js";import{Plugin as n}from"jodit/esm/core/plugin/index.js";import{Button as i}from"jodit/esm/core/ui/button/button/button.js";import"./config";import{GoogleTranslateProvider as l}from"./providers/google/google";import{UITranslateSettings as c}from"./ui/settings/settings";import{JoditPro as g}from"jodit-pro/esm/jodit-pro.js";export class Translate extends n{constructor(){super(...arguments),this.buttons=[{name:"translate.translate",group:"insert"}],this.state={sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang}}__getProvider(){const{provider:t}=this.jodit.options.translate;if(o(t)){if("google"===t)return new l(this.j);throw new Error("Unknown provider")}return r(s(t),"Provider must be a function"),t(this.jodit)}afterInit(t){const e=a(t.o.language,g.defaultOptions.language),s=a(t.o.language,e),r=this.__getProvider();t.registerCommand("translateOptions",{exec:async()=>{let e=this.state;const s=t.dlg();s.setHeader("Translate options");const o=await r.supportedLanguages(),a=new c(s,this.state,{sourceList:o.langs,targetList:o.langs,onChange(t){e=t}});s.setContent(a),s.setFooter([i(t,"cancel","Cancel").onAction((()=>s.close())),i(t,"ok","Save","primary").onAction((()=>{this.state=e,s.close()}))]),a.bindDestruct(s),s.setSize(500,400).open(!0)},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{const e=t.s.html;if(e)return r.translate(e,this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:s,this.state.targetLang).then((e=>{t.s.range.deleteContents(),t.s.insertNode(t.createInside.text(e.text))})).catch((e=>{t.message.error(o(e)?e:e.message)}));t.message.error("Select text for translate")},hotkeys:t.o.translate.hotkeys.translateSelection})}beforeDestruct(t){}}Translate.requires=["license"],t([e],Translate.prototype,"state",void 0),g.plugins.add("translate",Translate);
6
+ var t=this&&this.__decorate||function(t,e,r,s){var o,a=arguments.length,n=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,s);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(n=(a<3?o(n):a>3?o(e,r,n):o(e,r))||n);return a>3&&n&&Object.defineProperty(e,r,n),n};import{persistent as e}from"../../core/decorators.js";import{isFunction as r}from"../../core/helpers/checker/is-function.js";import{isString as s}from"../../core/helpers/checker/is-string.js";import{assert as o}from"../../core/helpers/utils/assert.js";import{defaultLanguage as a}from"../../core/helpers/utils/default-language.js";import{Plugin as n}from"../../core/plugin.js";import{Button as i}from"../../core/ui/button/button/button.js";import"./config.js";import{GoogleTranslateProvider as l}from"./providers/google/google.js";import{UITranslateSettings as c}from"./ui/settings/settings.js";import{JoditPro as g}from"../../jodit-pro.js";export class Translate extends n{constructor(){super(...arguments),this.buttons=[{name:"translate.translate",group:"insert"}],this.state={sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang}}__getProvider(){const{provider:t}=this.jodit.options.translate;if(s(t)){if("google"===t)return new l(this.j);throw new Error("Unknown provider")}return o(r(t),"Provider must be a function"),t(this.jodit)}afterInit(t){const e=a(t.o.language,g.defaultOptions.language),r=a(t.o.language,e),o=this.__getProvider();t.registerCommand("translateOptions",{exec:async()=>{let e=this.state;const r=t.dlg();r.setHeader("Translate options");const s=await o.supportedLanguages(),a=new c(r,this.state,{sourceList:s.langs,targetList:s.langs,onChange(t){e=t}});r.setContent(a),r.setFooter([i(t,"cancel","Cancel").onAction((()=>r.close())),i(t,"ok","Save","primary").onAction((()=>{this.state=e,r.close()}))]),a.bindDestruct(r),r.setSize(500,400).open(!0)},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{const e=t.s.html;if(e)return o.translate(e,this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:r,this.state.targetLang).then((e=>{t.s.range.deleteContents(),t.s.insertNode(t.createInside.text(e.text))})).catch((e=>{t.message.error(s(e)?e:e.message)}));t.message.error("Select text for translate")},hotkeys:t.o.translate.hotkeys.translateSelection})}beforeDestruct(t){}}Translate.requires=["license"],t([e],Translate.prototype,"state",void 0),g.plugins.add("translate",Translate);
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IViewBased } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui/element";
6
+ import type { IViewBased } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui/element";
8
8
 
9
9
  export declare class UITranslateList extends UIElement {
10
10
  protected readonly options: {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var t=this&&this.__decorate||function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};import{KEY_ENTER as e}from"jodit/esm/core/constants.js";import{component as i,debounce as o,watch as s}from"jodit/esm/core/decorators/index.js";import{Dom as n}from"jodit/esm/core/dom/dom.js";import{scrollIntoViewIfNeeded as r}from"jodit/esm/core/helpers/index.js";import{attr as a}from"jodit/esm/core/helpers/utils/attr.js";import{UIElement as c}from"jodit/esm/core/ui/element.js";import{UIInput as l}from"jodit/esm/core/ui/form/inputs/input/input.js";let d=class UITranslateList extends c{className(){return"UITranslateList"}get items(){return this.getElms("item")}render(t){const e=[];return Object.keys(t.list).sort().forEach((i=>{const o=t.list[i];e.push(`<a role='button' tabindex='0' class='&__item' data-lang='${o}'>\n\t\t\t\t\t\t<span class='&__item-key'>${o}</span>\n\t\t\t\t\t\t<span class='&__item-title'>${this.j.i18n(i)}</span>\n\t\t\t\t\t</a>`)})),`<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>${e.join("")}</div>\n\t\t</div>`}constructor(t,e){super(t,e),this.options=e,this.state={active:""},this.state.active=e.active;const i=new l(t,{placeholder:t.i18n("Filter"),icon:"search",onChange:this.__onChangeFilter,clearButton:!0});this.getElm("input")?.appendChild(i.container),this.__onActiveChange()}__onChangeFilter(t){this.items.forEach((e=>{const i=e.textContent?.toLowerCase()??"";a(e,"data-hidden","true"!==a(e,"data-active")&&!i.includes(t.toLowerCase()))}))}__scrollToActive(){const t=this.container.querySelector('[data-active="true"]'),e=this.getElm("list");t&&e&&r(t,e,this.j.od)}onClickItem(t){if("keydown"===t.type&&"key"in t&&t.key!==e)return;const i=t.target;if(n.isHTMLElement(i)&&i.getAttribute("data-lang")){const t=a(i,"data-lang");this.options.onChange(t),this.state.active=t}}__onActiveChange(){this.items.forEach((t=>a(t,"data-active",a(t,"data-lang")===this.state.active))),this.__scrollToActive()}};t([o()],d.prototype,"__onChangeFilter",null),t([s(":afterOpen")],d.prototype,"__scrollToActive",null),t([s(["container:click","container:keydown"])],d.prototype,"onClickItem",null),t([s("state.active"),o()],d.prototype,"__onActiveChange",null),d=t([i],d);export{d as UITranslateList};
6
+ var t=this&&this.__decorate||function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};import{KEY_ENTER as e}from"../../../../core/constants.js";import{component as i,debounce as o,watch as n}from"../../../../core/decorators.js";import{Dom as s}from"../../../../core/dom/dom.js";import{scrollIntoViewIfNeeded as r}from"../../../../core/helpers.js";import{attr as a}from"../../../../core/helpers/utils/attr.js";import{UIElement as c}from"../../../../core/ui/element.js";import{UIInput as l}from"../../../../core/ui/form/inputs/input/input.js";let p=class UITranslateList extends c{className(){return"UITranslateList"}get items(){return this.getElms("item")}render(t){const e=[];return Object.keys(t.list).sort().forEach((i=>{const o=t.list[i];e.push(`<a role='button' tabindex='0' class='&__item' data-lang='${o}'>\n\t\t\t\t\t\t<span class='&__item-key'>${o}</span>\n\t\t\t\t\t\t<span class='&__item-title'>${this.j.i18n(i)}</span>\n\t\t\t\t\t</a>`)})),`<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>${e.join("")}</div>\n\t\t</div>`}constructor(t,e){super(t,e),this.options=e,this.state={active:""},this.state.active=e.active;const i=new l(t,{placeholder:t.i18n("Filter"),icon:"search",onChange:this.__onChangeFilter,clearButton:!0});this.getElm("input")?.appendChild(i.container),this.__onActiveChange()}__onChangeFilter(t){this.items.forEach((e=>{const i=e.textContent?.toLowerCase()??"";a(e,"data-hidden","true"!==a(e,"data-active")&&!i.includes(t.toLowerCase()))}))}__scrollToActive(){const t=this.container.querySelector('[data-active="true"]'),e=this.getElm("list");t&&e&&r(t,e,this.j.od)}onClickItem(t){if("keydown"===t.type&&"key"in t&&t.key!==e)return;const i=t.target;if(s.isHTMLElement(i)&&i.getAttribute("data-lang")){const t=a(i,"data-lang");this.options.onChange(t),this.state.active=t}}__onActiveChange(){this.items.forEach((t=>a(t,"data-active",a(t,"data-lang")===this.state.active))),this.__scrollToActive()}};t([o()],p.prototype,"__onChangeFilter",null),t([n(":afterOpen")],p.prototype,"__scrollToActive",null),t([n(["container:click","container:keydown"])],p.prototype,"onClickItem",null),t([n("state.active"),o()],p.prototype,"__onActiveChange",null),p=t([i],p);export{p as UITranslateList};
@@ -3,10 +3,10 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IViewBased } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { IViewBased } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui";
8
8
 
9
- import type { ITranslateState } from "jodit-pro/esm/plugins/translate/interface";
9
+ import type { ITranslateState } from "../../interface";
10
10
  export declare class UITranslateSettings extends UIElement {
11
11
  private readonly state;
12
12
  protected readonly options: {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var t=this&&this.__decorate||function(t,s,e,i){var a,r=arguments.length,n=r<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,e,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(r<3?a(n):r>3?a(s,e,n):a(s,e))||n);return r>3&&n&&Object.defineProperty(s,e,n),n};import{component as s,watch as e}from"jodit/esm/core/decorators/index.js";import{UIElement as i}from"jodit/esm/core/ui/index.js";import{UITranslateList as a}from"jodit-pro/esm/plugins/translate/ui/list/list.js";let r=class UITranslateSettings extends i{className(){return"UITranslateSettings"}render(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"}constructor(t,s,e){super(t),this.state=s,this.options=e,this.__sourceList=new a(t,{list:e.sourceList,active:s.sourceLang,onChange:t=>{this.state.sourceLang=t,this.options.onChange({...this.state})}}),this.getElm("source-list")?.appendChild(this.__sourceList.container),this.__targetList=new a(t,{list:e.targetList,active:s.targetLang,onChange:t=>{this.state.targetLang=t,this.options.onChange({...this.state})}}),this.getElm("target-list")?.appendChild(this.__targetList.container)}__onSwap(){const t=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=t,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange({...this.state})}};t([e("arrow-swap:click")],r.prototype,"__onSwap",null),r=t([s],r);export{r as UITranslateSettings};
6
+ var t=this&&this.__decorate||function(t,s,e,a){var i,r=arguments.length,n=r<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,e,a);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(n=(r<3?i(n):r>3?i(s,e,n):i(s,e))||n);return r>3&&n&&Object.defineProperty(s,e,n),n};import{component as s,watch as e}from"../../../../core/decorators.js";import{UIElement as a}from"../../../../core/ui/index.js";import{UITranslateList as i}from"../list/list.js";let r=class UITranslateSettings extends a{className(){return"UITranslateSettings"}render(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"}constructor(t,s,e){super(t),this.state=s,this.options=e,this.__sourceList=new i(t,{list:e.sourceList,active:s.sourceLang,onChange:t=>{this.state.sourceLang=t,this.options.onChange({...this.state})}}),this.getElm("source-list")?.appendChild(this.__sourceList.container),this.__targetList=new i(t,{list:e.targetList,active:s.targetLang,onChange:t=>{this.state.targetLang=t,this.options.onChange({...this.state})}}),this.getElm("target-list")?.appendChild(this.__targetList.container)}__onSwap(){const t=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=t,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange({...this.state})}};t([e("arrow-swap:click")],r.prototype,"__onSwap",null),r=t([s],r);export{r as UITranslateSettings};
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IControlType, IDictionary } from "jodit/esm/types";
6
+ import type { IControlType, IDictionary } from "../../types";
7
7
  declare module 'jodit/config' {
8
8
  interface Config {
9
9
  tuneBlock: {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import{Dom as e}from"jodit/esm/core/dom/index.js";import{call as o}from"jodit/esm/core/helpers/index.js";import{Config as t}from"jodit/esm/config.js";const n=["tune.up","tune.remove","tune.down"],r=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...n];function headerControl(o){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+o.toUpperCase()+"</text></svg>",isActive:(e,t)=>t?.target?.tagName.toLowerCase()===o,exec(t,n){if(n){t.selection.save();const r=e.replace(n,o,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",r)}return!0}}}function moveTo(t){const n=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled:(e,o)=>!o?.target?.[n],exec(r,i){const s=i?.[n];return i&&s&&(r.selection.save(),o(t?e.before:e.after,s,i),r.selection.restore()),r.e.fire("synchro"),r.e.fire("afterExecTune.tune"),!0}}}t.prototype.tuneBlock={popup:{p:n,table:n,img:n,blockquote:n,div:n,pre:["tune.editPre",...n],h1:r,h2:r,h3:r,h4:r,h5:r,h6:r}},t.prototype.controls.tune={h1:headerControl("h1"),h2:headerControl("h2"),h3:headerControl("h3"),h4:headerControl("h4"),h5:headerControl("h5"),h6:headerControl("h6"),up:moveTo(!0),down:moveTo(!1),editPre:{icon:"pencil",exec(e,o){e.e.fire("editPreInPasteCode",o)}},remove:{icon:"bin",exec(o,t){e.safeRemove(t),o.e.fire("synchro"),o.e.fire("closeTuner.tune"),o.e.fire("hideTuner.tune")}}};
6
+ import{Dom as e}from"../../core/dom.js";import{call as o}from"../../core/helpers.js";import{Config as t}from"../../config.js";const n=["tune.up","tune.remove","tune.down"],r=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...n];function headerControl(o){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+o.toUpperCase()+"</text></svg>",isActive:(e,t)=>t?.target?.tagName.toLowerCase()===o,exec(t,n){if(n){t.selection.save();const r=e.replace(n,o,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",r)}return!0}}}function moveTo(t){const n=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled:(e,o)=>!o?.target?.[n],exec(r,i){const s=i?.[n];return i&&s&&(r.selection.save(),o(t?e.before:e.after,s,i),r.selection.restore()),r.e.fire("synchro"),r.e.fire("afterExecTune.tune"),!0}}}t.prototype.tuneBlock={popup:{p:n,table:n,img:n,blockquote:n,div:n,pre:["tune.editPre",...n],h1:r,h2:r,h3:r,h4:r,h5:r,h6:r}},t.prototype.controls.tune={h1:headerControl("h1"),h2:headerControl("h2"),h3:headerControl("h3"),h4:headerControl("h4"),h5:headerControl("h5"),h6:headerControl("h6"),up:moveTo(!0),down:moveTo(!1),editPre:{icon:"pencil",exec(e,o){e.e.fire("editPreInPasteCode",o)}},remove:{icon:"bin",exec(o,t){e.safeRemove(t),o.e.fire("synchro"),o.e.fire("closeTuner.tune"),o.e.fire("hideTuner.tune")}}};
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import { Plugin } from "jodit/esm/core/plugin";
6
+ import type { IJodit } from "../../types";
7
+ import { Plugin } from "../../core/plugin";
8
8
  import "./config";
9
9
  /**
10
10
  * Tune block with popup: move, align, change block tag, and another options
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var e=this&&this.__decorate||function(e,t,o,n){var r,i=arguments.length,c=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(c=(i<3?r(c):i>3?r(t,o,c):r(t,o))||c);return i>3&&c&&Object.defineProperty(t,o,c),c};import{debounce as t,watch as o}from"jodit/esm/core/decorators/index.js";import{Plugin as n}from"jodit/esm/core/plugin/index.js";import"./config";import{UITuner as r}from"./ui/tuner/tuner";import{JoditPro as i}from"jodit-pro/esm/jodit-pro.js";export class tuneBlock extends n{afterInit(e){this.tuner=new r(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}tuneBlock.requires=["license"],e([o(":outsideClick :keydown")],tuneBlock.prototype,"hideTuner",null),e([o("j.ed:selectionchange"),t()],tuneBlock.prototype,"onChangeSelection",null),e([o(":click")],tuneBlock.prototype,"onClickInBlock",null),i.plugins.add("tune-block",tuneBlock);
6
+ var e=this&&this.__decorate||function(e,t,o,n){var r,i=arguments.length,c=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(c=(i<3?r(c):i>3?r(t,o,c):r(t,o))||c);return i>3&&c&&Object.defineProperty(t,o,c),c};import{debounce as t,watch as o}from"../../core/decorators.js";import{Plugin as n}from"../../core/plugin.js";import"./config.js";import{UITuner as r}from"./ui/tuner/tuner.js";import{JoditPro as i}from"../../jodit-pro.js";export class tuneBlock extends n{afterInit(e){this.tuner=new r(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}tuneBlock.requires=["license"],e([o(":outsideClick :keydown")],tuneBlock.prototype,"hideTuner",null),e([o("j.ed:selectionchange"),t()],tuneBlock.prototype,"onChangeSelection",null),e([o(":click")],tuneBlock.prototype,"onClickInBlock",null),i.plugins.add("tune-block",tuneBlock);
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { CanUndef, IJodit } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { CanUndef, IJodit } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui";
8
8
 
9
9
  export declare class UITuner extends UIElement<IJodit> {
10
10
  private isShown;
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- var t=this&&this.__decorate||function(t,o,e,i){var s,r=arguments.length,n=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,o,e,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(o,e,n):s(o,e))||n);return r>3&&n&&Object.defineProperty(o,e,n),n};import{component as o,idle as e,throttle as i,watch as s}from"jodit/esm/core/decorators/index.js";import{Dom as r}from"jodit/esm/core/dom/index.js";import{assert as n,css as l,position as c}from"jodit/esm/core/helpers/index.js";import{Popup as p,UIElement as h}from"jodit/esm/core/ui/index.js";import{makeCollection as a}from"jodit/esm/modules/toolbar/factory.js";let d=class UITuner extends h{constructor(){super(...arguments),this.isShown=!1,this.toolbar=a(this.j,this),this.popup=new p(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const t=this.j.s.current();if(!t)return this.hide();const o=r.isBlock(t)?t:r.closest(t,(t=>Boolean(t&&this.j.o.tuneBlock.popup[t.nodeName.toLowerCase()])),this.j.editor);if(!o||o===this.j.editor||!this.j.o.tuneBlock.popup[o.tagName.toLowerCase()])return this.hide();this.currentBlock=o,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,r.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){const t=l(this.j.editor,"marginLeft"),o=l(this.j.editor,"paddingLeft"),e=l(this.j.editor,"marginTop"),i=this.currentBlock.offsetWidth-15+t+o,s=this.currentBlock.offsetTop-this.j.editor.scrollTop+e;l(this.container,{transform:`translate3d(${i}px, ${s}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(t){t&&(this.currentBlock=t),this.calcPosition(),this.openToolbar()}onClickPrevent(t){t.preventDefault(),t.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){const t=this.getElm("handle");n(null!=t,"Handle element does not exist"),this.popup.open((()=>c(t)))}}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};t([s(":hideTuner.tune")],d.prototype,"hide",null),t([s("j.editor:scroll"),i(10)],d.prototype,"onEditorScroll",null),t([s(":afterExecTune.tune"),e()],d.prototype,"onAfterExecTune",null),t([s("container:click container:mousedown")],d.prototype,"onClickPrevent",null),t([s("handle:click")],d.prototype,"onTargetClick",null),t([s(":closeTuner.tune")],d.prototype,"closeToolbar",null),d=t([o],d);export{d as UITuner};
6
+ var t=this&&this.__decorate||function(t,o,e,i){var r,s=arguments.length,n=s<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,o,e,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(o,e,n):r(o,e))||n);return s>3&&n&&Object.defineProperty(o,e,n),n};import{component as o,idle as e,throttle as i,watch as r}from"../../../../core/decorators.js";import{Dom as s}from"../../../../core/dom.js";import{assert as n,css as l,position as c}from"../../../../core/helpers.js";import{Popup as p,UIElement as h}from"../../../../core/ui/index.js";import{makeCollection as a}from"../../../../modules/toolbar/factory.js";let u=class UITuner extends h{constructor(){super(...arguments),this.isShown=!1,this.toolbar=a(this.j,this),this.popup=new p(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const t=this.j.s.current();if(!t)return this.hide();const o=s.isBlock(t)?t:s.closest(t,(t=>Boolean(t&&this.j.o.tuneBlock.popup[t.nodeName.toLowerCase()])),this.j.editor);if(!o||o===this.j.editor||!this.j.o.tuneBlock.popup[o.tagName.toLowerCase()])return this.hide();this.currentBlock=o,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,s.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){const t=l(this.j.editor,"marginLeft"),o=l(this.j.editor,"paddingLeft"),e=l(this.j.editor,"marginTop"),i=this.currentBlock.offsetWidth-15+t+o,r=this.currentBlock.offsetTop-this.j.editor.scrollTop+e;l(this.container,{transform:`translate3d(${i}px, ${r}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(t){t&&(this.currentBlock=t),this.calcPosition(),this.openToolbar()}onClickPrevent(t){t.preventDefault(),t.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){const t=this.getElm("handle");n(null!=t,"Handle element does not exist"),this.popup.open((()=>c(t)))}}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};t([r(":hideTuner.tune")],u.prototype,"hide",null),t([r("j.editor:scroll"),i(10)],u.prototype,"onEditorScroll",null),t([r(":afterExecTune.tune"),e()],u.prototype,"onAfterExecTune",null),t([r("container:click container:mousedown")],u.prototype,"onClickPrevent",null),t([r("handle:click")],u.prototype,"onTargetClick",null),t([r(":closeTuner.tune")],u.prototype,"closeToolbar",null),u=t([o],u);export{u as UITuner};
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IUIElement } from "jodit/esm/types";
6
+ import type { IUIElement } from "../../types";
7
7
 
8
8
  type IDirection = 'right' | 'left' | 'top' | 'bottom';
9
9
  export declare abstract class UIResize {
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import{Dom as e}from"jodit/esm/core/dom/dom.js";import{css as t}from"jodit/esm/core/helpers/utils/css.js";export class UIResize{static remove(i){t(i.container,{width:null,height:null}),i.container.classList.remove("jodit-ui-resize"),e.safeRemove(i.container.querySelector(".jodit-ui-resize__handle"))}static install(e,i){e.container.classList.add("jodit-ui-resize"),"static"===t(e.container,"position")&&t(e.container,"position","relative");const o=e.j.c.div("jodit-ui-resize__handle");o.classList.add("jodit-ui-resize__handle_type_"+i),e.container.appendChild(o),e.j.e.on(o,"mousedown touchstart",this.onStartResize.bind(this,e,i))}static onStartResize(e,t,i){const o={x:i.clientX,y:i.clientY,w:e.container.offsetWidth,h:e.container.offsetHeight,direction:t},n=e.j.async.throttle(this.onResize.bind(this,e,o),e.j.defaultTimeout/10);e.j.lock(),e.j.e.on(e.j.ow,"mousemove touchmove",n).one(e.j.ow,"mouseup touchend",this.onEndResize.bind(this,e,n))}static onResize(e,i,o){const n=["left","right"].includes(i.direction),s=e.container.parentElement;if(!s)return;let c;c=n?(i.w+(o.clientX-i.x)*("right"===i.direction?1:-1))/s.offsetWidth:(i.h+(o.clientY-i.y)*("top"===i.direction?1:-1))/s.offsetHeight,t(e.container,n?"width":"height",100*c+"%")}static onEndResize(e,t,i){e.j.e.off(e.j.ow,"mousemove touchmove",t),e.j.unlock()}}
6
+ import{Dom as e}from"../../core/dom/dom.js";import{css as t}from"../../core/helpers/utils/css.js";export class UIResize{static remove(i){t(i.container,{width:null,height:null}),i.container.classList.remove("jodit-ui-resize"),e.safeRemove(i.container.querySelector(".jodit-ui-resize__handle"))}static install(e,i){e.container.classList.add("jodit-ui-resize"),"static"===t(e.container,"position")&&t(e.container,"position","relative");const o=e.j.c.div("jodit-ui-resize__handle");o.classList.add("jodit-ui-resize__handle_type_"+i),e.container.appendChild(o),e.j.e.on(o,"mousedown touchstart",this.onStartResize.bind(this,e,i))}static onStartResize(e,t,i){const o={x:i.clientX,y:i.clientY,w:e.container.offsetWidth,h:e.container.offsetHeight,direction:t},n=e.j.async.throttle(this.onResize.bind(this,e,o),e.j.defaultTimeout/10);e.j.lock(),e.j.e.on(e.j.ow,"mousemove touchmove",n).one(e.j.ow,"mouseup touchend",this.onEndResize.bind(this,e,n))}static onResize(e,i,o){const n=["left","right"].includes(i.direction),s=e.container.parentElement;if(!s)return;let c;c=n?(i.w+(o.clientX-i.x)*("right"===i.direction?1:-1))/s.offsetWidth:(i.h+(o.clientY-i.y)*("top"===i.direction?1:-1))/s.offsetHeight,t(e.container,n?"width":"height",100*c+"%")}static onEndResize(e,t,i){e.j.e.off(e.j.ow,"mousemove touchmove",t),e.j.unlock()}}
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IBound, IUIElement } from "jodit/esm/types";
6
+ import type { IBound, IUIElement } from "../../types";
7
7
 
8
8
  export declare abstract class UISelectItems {
9
9
  static remove(element: UISelectItems & IUIElement): void;
@@ -3,4 +3,4 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import{Dom as t}from"jodit/esm/core/dom/dom.js";import{css as e}from"jodit/esm/core/helpers/utils/css.js";export class UISelectItems{static remove(e){t.safeRemove(e.container.querySelector(".jodit-ui-select-items")),e.j.e.off(e.container,"mousedown.uiselectitems touchstart.uiselectitems")}static install(t){const e=t.j.c.div("jodit-ui-select-items");t.j.e.on(t.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,t,e))}static onStartSelect(t,o,i){if(i.target!==t.container)return;e(o,{width:0,height:0}),t.container.appendChild(o);const s={x:i.clientX,y:i.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight},c=t.j.async.throttle(this.onSelect.bind(this,t,o,s),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",c).one(t.j.ow,"mouseup touchend",this.onEndSelect.bind(this,t,o,c)),t.onSelectItems({left:s.x,top:s.y,width:0,height:0})}static onSelect(t,o,i,s){const c={left:i.x>s.clientX?s.clientX:i.x,top:i.y>s.clientY?s.clientY:i.y,width:Math.abs(i.x-s.clientX),height:Math.abs(i.y-s.clientY)};e(o,c),t.onSelectItems(c)}static onEndSelect(e,o,i,s){t.safeRemove(o),e.j.e.off(e.j.ow,"mousemove touchmove",i),e.j.unlock()}}
6
+ import{Dom as t}from"../../core/dom/dom.js";import{css as e}from"../../core/helpers/utils/css.js";export class UISelectItems{static remove(e){t.safeRemove(e.container.querySelector(".jodit-ui-select-items")),e.j.e.off(e.container,"mousedown.uiselectitems touchstart.uiselectitems")}static install(t){const e=t.j.c.div("jodit-ui-select-items");t.j.e.on(t.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,t,e))}static onStartSelect(t,o,i){if(i.target!==t.container)return;e(o,{width:0,height:0}),t.container.appendChild(o);const c={x:i.clientX,y:i.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight},s=t.j.async.throttle(this.onSelect.bind(this,t,o,c),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndSelect.bind(this,t,o,s)),t.onSelectItems({left:c.x,top:c.y,width:0,height:0})}static onSelect(t,o,i,c){const s={left:i.x>c.clientX?c.clientX:i.x,top:i.y>c.clientY?c.clientY:i.y,width:Math.abs(i.x-c.clientX),height:Math.abs(i.y-c.clientY)};e(o,s),t.onSelectItems(s)}static onEndSelect(e,o,i,c){t.safeRemove(o),e.j.e.off(e.j.ow,"mousemove touchmove",i),e.j.unlock()}}
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import { IViewOptions } from "jodit/esm/types";
6
+ import { IViewOptions } from "./";
7
7
  interface IViewOptionsPro extends IViewOptions {
8
8
  license: string;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit-pro",
3
- "version": "4.2.8",
3
+ "version": "4.2.10",
4
4
  "author": "Chupurnov Valeriy <chupurnov@gmail.com>",
5
5
  "homepage": "https://xdsoft.net/jodit/pro/",
6
6
  "bugs": {
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IUIRange } from "jodit/esm/types";
7
- import { UIInput } from "jodit/esm/core/ui";
6
+ import type { IUIRange } from "../../../../types";
7
+ import { UIInput } from "../..";
8
8
 
9
9
  export declare class UIRange extends UIInput implements IUIRange {
10
10
  state: IUIRange['state'];
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import { Jodit } from "jodit/esm/index";
6
+ import { Jodit } from "./index";
7
7
  import "./config";
8
8
 
9
9
  export declare class JoditPro extends Jodit {
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import { Plugin } from "jodit/esm/core/plugin";
6
+ import type { IJodit } from "../../types";
7
+ import { Plugin } from "../../core/plugin";
8
8
  import type { AutoCompleteSource, IAutoCompleteCustomFeed, IAutoCompleteItem } from "./interface";
9
9
  declare module 'jodit/config' {
10
10
  interface Config {
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { CanPromise, IDictionary } from "jodit/esm/types";
6
+ import type { CanPromise, IDictionary } from "../../types";
7
7
  export interface IAutoCompleteItem<T = IDictionary> {
8
8
  value: string;
9
9
  title?: string;
@@ -3,10 +3,10 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import { UIGroup } from "jodit/esm/core/ui/group/group";
6
+ import { UIGroup } from "../../../core/ui/group/group";
7
7
  import { AutocompleteItem } from "./item";
8
8
 
9
- import type { IAutoCompleteItem } from "jodit-pro/esm/plugins/autocomplete/interface";
9
+ import type { IAutoCompleteItem } from "../interface";
10
10
  export declare class Autocomplete extends UIGroup {
11
11
  /** @override */
12
12
  className(): string;
@@ -3,9 +3,9 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import { UIElement } from "jodit/esm/core/ui/element";
6
+ import { UIElement } from "../../../core/ui/element";
7
7
 
8
- import type { IAutoCompleteItem } from "jodit-pro/esm/plugins/autocomplete/interface";
8
+ import type { IAutoCompleteItem } from "../interface";
9
9
  export declare class AutocompleteItem extends UIElement {
10
10
  item: IAutoCompleteItem;
11
11
  /** @override */
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import { Plugin } from "jodit/esm/core/plugin";
6
+ import type { IJodit } from "../../types";
7
+ import { Plugin } from "../../core/plugin";
8
8
  import "./config";
9
9
  export declare class backup extends Plugin {
10
10
  /** @override */
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import type { ISnapshotItem, ISnapshotStorage } from "jodit-pro/esm/plugins/backup/interface";
6
+ import type { IJodit } from "../../../types";
7
+ import type { ISnapshotItem, ISnapshotStorage } from "../interface";
8
8
  export declare class DefaultStorage implements ISnapshotStorage {
9
9
  private jodit;
10
10
  private key;
@@ -3,10 +3,10 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui/element";
6
+ import type { IJodit } from "../../../types";
7
+ import { UIElement } from "../../../core/ui/element";
8
8
 
9
- import type { ISnapshotItem } from "jodit-pro/esm/plugins/backup/interface";
9
+ import type { ISnapshotItem } from "../interface";
10
10
  export declare class UIBackupBox extends UIElement<IJodit> {
11
11
  /** @override */
12
12
  className(): string;
@@ -3,10 +3,10 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IJodit } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { IJodit } from "../../../types";
7
+ import { UIElement } from "../../../core/ui";
8
8
 
9
- import type { ISnapshotItem } from "jodit-pro/esm/plugins/backup/interface";
9
+ import type { ISnapshotItem } from "../interface";
10
10
  export declare class UIBackupItem extends UIElement<IJodit> {
11
11
  data: ISnapshotItem;
12
12
  /** @override */
@@ -3,10 +3,10 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IDictionary, IJodit } from "jodit/esm/types";
7
- import { UIGroup } from "jodit/esm/core/ui";
6
+ import type { IDictionary, IJodit } from "../../../types";
7
+ import { UIGroup } from "../../../core/ui";
8
8
  import { UIBackupItem } from "./item";
9
- import type { ISnapshotItem } from "jodit-pro/esm/plugins/backup/interface";
9
+ import type { ISnapshotItem } from "../interface";
10
10
  export declare class UIBackupList extends UIGroup<IJodit> {
11
11
  /** @override */
12
12
  className(): string;
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { CanUndef, IJodit } from "jodit/esm/types";
7
- import { Plugin } from "jodit/esm/core/plugin";
6
+ import type { CanUndef, IJodit } from "../../types";
7
+ import { Plugin } from "../../core/plugin";
8
8
  import "./config";
9
9
  export declare class buttonGenerator extends Plugin {
10
10
  /** @override */
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IDictionary } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { IDictionary } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui";
8
8
 
9
9
  export declare class UIGButton extends UIElement {
10
10
  protected style: IDictionary;
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IDictionary } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { IDictionary } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui";
8
8
 
9
9
  export declare class UIFormButtonGenerator extends UIElement {
10
10
  readonly state: IDictionary;
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { CanUndef, IDictionary } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { CanUndef, IDictionary } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui";
8
8
 
9
9
  export declare class UIButtonGenerator extends UIElement {
10
10
  /** @override */
@@ -3,8 +3,8 @@
3
3
  * See LICENSE.md in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
- import type { IDictionary } from "jodit/esm/types";
7
- import { UIElement } from "jodit/esm/core/ui";
6
+ import type { IDictionary } from "../../../../types";
7
+ import { UIElement } from "../../../../core/ui";
8
8
 
9
9
  export declare class UIPreviewButtonGenerator extends UIElement {
10
10
  readonly state: IDictionary;