jodit-pro 4.2.58 → 4.2.60

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 (756) hide show
  1. package/config.js +1 -1
  2. package/es2015/jodit.css +48 -48
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +576 -576
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  7. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  8. package/es2015/plugins/backup/backup.css +1 -1
  9. package/es2015/plugins/backup/backup.js +8 -8
  10. package/es2015/plugins/backup/backup.min.js +1 -1
  11. package/es2015/plugins/button-generator/button-generator.css +2 -2
  12. package/es2015/plugins/button-generator/button-generator.js +5 -5
  13. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  14. package/es2015/plugins/change-case/change-case.js +3 -3
  15. package/es2015/plugins/change-case/change-case.min.js +1 -1
  16. package/es2015/plugins/color-picker/color-picker.css +2 -2
  17. package/es2015/plugins/color-picker/color-picker.js +3 -3
  18. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  19. package/es2015/plugins/emoji/emoji.css +1 -1
  20. package/es2015/plugins/emoji/emoji.js +3 -3
  21. package/es2015/plugins/emoji/emoji.min.js +1 -1
  22. package/es2015/plugins/export-docs/export-docs.js +3 -3
  23. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  24. package/es2015/plugins/finder/finder.css +3 -3
  25. package/es2015/plugins/finder/finder.js +27 -27
  26. package/es2015/plugins/finder/finder.min.js +1 -1
  27. package/es2015/plugins/google-maps/google-maps.css +5 -5
  28. package/es2015/plugins/google-maps/google-maps.js +28 -28
  29. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  30. package/es2015/plugins/google-search/google-search.js +2 -2
  31. package/es2015/plugins/google-search/google-search.min.js +1 -1
  32. package/es2015/plugins/highlight-signature/highlight-signature.js +2 -2
  33. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  34. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  35. package/es2015/plugins/iframe-editor/iframe-editor.js +4 -4
  36. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  37. package/es2015/plugins/keyboard/keyboard.css +1 -1
  38. package/es2015/plugins/keyboard/keyboard.js +2 -2
  39. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  40. package/es2015/plugins/mobile-view/mobile-view.js +3 -3
  41. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  42. package/es2015/plugins/page-break/page-break.js +4 -4
  43. package/es2015/plugins/page-break/page-break.min.js +1 -1
  44. package/es2015/plugins/paste-code/paste-code.css +1 -1
  45. package/es2015/plugins/paste-code/paste-code.js +3 -3
  46. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  47. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  48. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  49. package/es2015/plugins/show-blocks/show-blocks.js +23 -23
  50. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  51. package/es2015/plugins/todo-list/todo-list.css +1 -1
  52. package/es2015/plugins/todo-list/todo-list.js +3 -3
  53. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  54. package/es2015/plugins/translate/translate.css +1 -1
  55. package/es2015/plugins/translate/translate.js +7 -7
  56. package/es2015/plugins/translate/translate.min.js +1 -1
  57. package/es2015/plugins/tune-block/tune-block.css +1 -1
  58. package/es2015/plugins/tune-block/tune-block.js +4 -4
  59. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  60. package/es2018/jodit.css +48 -48
  61. package/es2018/jodit.fat.min.js +2 -2
  62. package/es2018/jodit.js +576 -576
  63. package/es2018/jodit.min.js +2 -2
  64. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  65. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  66. package/es2018/plugins/backup/backup.css +1 -1
  67. package/es2018/plugins/backup/backup.js +8 -8
  68. package/es2018/plugins/backup/backup.min.js +1 -1
  69. package/es2018/plugins/button-generator/button-generator.css +2 -2
  70. package/es2018/plugins/button-generator/button-generator.js +5 -5
  71. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  72. package/es2018/plugins/change-case/change-case.js +3 -3
  73. package/es2018/plugins/change-case/change-case.min.js +1 -1
  74. package/es2018/plugins/color-picker/color-picker.css +2 -2
  75. package/es2018/plugins/color-picker/color-picker.js +3 -3
  76. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  77. package/es2018/plugins/emoji/emoji.css +1 -1
  78. package/es2018/plugins/emoji/emoji.js +3 -3
  79. package/es2018/plugins/emoji/emoji.min.js +1 -1
  80. package/es2018/plugins/export-docs/export-docs.js +3 -3
  81. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  82. package/es2018/plugins/finder/finder.css +3 -3
  83. package/es2018/plugins/finder/finder.js +27 -27
  84. package/es2018/plugins/finder/finder.min.js +1 -1
  85. package/es2018/plugins/google-maps/google-maps.css +5 -5
  86. package/es2018/plugins/google-maps/google-maps.js +28 -28
  87. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  88. package/es2018/plugins/google-search/google-search.js +2 -2
  89. package/es2018/plugins/google-search/google-search.min.js +1 -1
  90. package/es2018/plugins/highlight-signature/highlight-signature.js +2 -2
  91. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  92. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  93. package/es2018/plugins/iframe-editor/iframe-editor.js +4 -4
  94. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  95. package/es2018/plugins/keyboard/keyboard.css +1 -1
  96. package/es2018/plugins/keyboard/keyboard.js +2 -2
  97. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  98. package/es2018/plugins/mobile-view/mobile-view.js +3 -3
  99. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  100. package/es2018/plugins/page-break/page-break.js +4 -4
  101. package/es2018/plugins/page-break/page-break.min.js +1 -1
  102. package/es2018/plugins/paste-code/paste-code.css +1 -1
  103. package/es2018/plugins/paste-code/paste-code.js +3 -3
  104. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  105. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  106. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  107. package/es2018/plugins/show-blocks/show-blocks.js +23 -23
  108. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  109. package/es2018/plugins/todo-list/todo-list.css +1 -1
  110. package/es2018/plugins/todo-list/todo-list.js +3 -3
  111. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  112. package/es2018/plugins/translate/translate.css +1 -1
  113. package/es2018/plugins/translate/translate.js +7 -7
  114. package/es2018/plugins/translate/translate.min.js +1 -1
  115. package/es2018/plugins/tune-block/tune-block.css +1 -1
  116. package/es2018/plugins/tune-block/tune-block.js +4 -4
  117. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  118. package/es2021/jodit.css +48 -48
  119. package/es2021/jodit.fat.min.js +2 -2
  120. package/es2021/jodit.js +576 -576
  121. package/es2021/jodit.min.js +2 -2
  122. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  123. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  124. package/es2021/plugins/backup/backup.css +1 -1
  125. package/es2021/plugins/backup/backup.js +8 -8
  126. package/es2021/plugins/backup/backup.min.js +1 -1
  127. package/es2021/plugins/button-generator/button-generator.css +2 -2
  128. package/es2021/plugins/button-generator/button-generator.js +5 -5
  129. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  130. package/es2021/plugins/change-case/change-case.js +3 -3
  131. package/es2021/plugins/change-case/change-case.min.js +1 -1
  132. package/es2021/plugins/color-picker/color-picker.css +2 -2
  133. package/es2021/plugins/color-picker/color-picker.js +3 -3
  134. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  135. package/es2021/plugins/emoji/emoji.css +1 -1
  136. package/es2021/plugins/emoji/emoji.js +3 -3
  137. package/es2021/plugins/emoji/emoji.min.js +1 -1
  138. package/es2021/plugins/export-docs/export-docs.js +3 -3
  139. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  140. package/es2021/plugins/finder/finder.css +3 -3
  141. package/es2021/plugins/finder/finder.js +27 -27
  142. package/es2021/plugins/finder/finder.min.js +1 -1
  143. package/es2021/plugins/google-maps/google-maps.css +5 -5
  144. package/es2021/plugins/google-maps/google-maps.js +28 -28
  145. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  146. package/es2021/plugins/google-search/google-search.js +2 -2
  147. package/es2021/plugins/google-search/google-search.min.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.js +2 -2
  149. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  151. package/es2021/plugins/iframe-editor/iframe-editor.js +4 -4
  152. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  153. package/es2021/plugins/keyboard/keyboard.css +1 -1
  154. package/es2021/plugins/keyboard/keyboard.js +2 -2
  155. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  156. package/es2021/plugins/mobile-view/mobile-view.js +3 -3
  157. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  158. package/es2021/plugins/page-break/page-break.js +4 -4
  159. package/es2021/plugins/page-break/page-break.min.js +1 -1
  160. package/es2021/plugins/paste-code/paste-code.css +1 -1
  161. package/es2021/plugins/paste-code/paste-code.js +3 -3
  162. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  163. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  164. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  165. package/es2021/plugins/show-blocks/show-blocks.js +23 -23
  166. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  167. package/es2021/plugins/todo-list/todo-list.css +1 -1
  168. package/es2021/plugins/todo-list/todo-list.js +3 -3
  169. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  170. package/es2021/plugins/translate/translate.css +1 -1
  171. package/es2021/plugins/translate/translate.js +7 -7
  172. package/es2021/plugins/translate/translate.min.js +1 -1
  173. package/es2021/plugins/tune-block/tune-block.css +1 -1
  174. package/es2021/plugins/tune-block/tune-block.js +4 -4
  175. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  176. package/es2021.en/jodit.css +48 -48
  177. package/es2021.en/jodit.fat.min.js +2 -2
  178. package/es2021.en/jodit.js +488 -488
  179. package/es2021.en/jodit.min.js +2 -2
  180. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  181. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  182. package/es2021.en/plugins/backup/backup.css +1 -1
  183. package/es2021.en/plugins/backup/backup.js +8 -8
  184. package/es2021.en/plugins/backup/backup.min.js +1 -1
  185. package/es2021.en/plugins/button-generator/button-generator.css +2 -2
  186. package/es2021.en/plugins/button-generator/button-generator.js +5 -5
  187. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  188. package/es2021.en/plugins/change-case/change-case.js +3 -3
  189. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  190. package/es2021.en/plugins/color-picker/color-picker.css +2 -2
  191. package/es2021.en/plugins/color-picker/color-picker.js +3 -3
  192. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  193. package/es2021.en/plugins/emoji/emoji.css +1 -1
  194. package/es2021.en/plugins/emoji/emoji.js +3 -3
  195. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  196. package/es2021.en/plugins/export-docs/export-docs.js +3 -3
  197. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  198. package/es2021.en/plugins/finder/finder.css +3 -3
  199. package/es2021.en/plugins/finder/finder.js +26 -26
  200. package/es2021.en/plugins/finder/finder.min.js +1 -1
  201. package/es2021.en/plugins/google-maps/google-maps.css +5 -5
  202. package/es2021.en/plugins/google-maps/google-maps.js +28 -28
  203. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  204. package/es2021.en/plugins/google-search/google-search.js +2 -2
  205. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  206. package/es2021.en/plugins/highlight-signature/highlight-signature.js +2 -2
  207. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  208. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  209. package/es2021.en/plugins/iframe-editor/iframe-editor.js +4 -4
  210. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  211. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  212. package/es2021.en/plugins/keyboard/keyboard.js +2 -2
  213. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  214. package/es2021.en/plugins/mobile-view/mobile-view.js +3 -3
  215. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  216. package/es2021.en/plugins/page-break/page-break.js +4 -4
  217. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  218. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  219. package/es2021.en/plugins/paste-code/paste-code.js +3 -3
  220. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  221. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  222. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  223. package/es2021.en/plugins/show-blocks/show-blocks.js +4 -4
  224. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  225. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  226. package/es2021.en/plugins/todo-list/todo-list.js +3 -3
  227. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  228. package/es2021.en/plugins/translate/translate.css +1 -1
  229. package/es2021.en/plugins/translate/translate.js +7 -7
  230. package/es2021.en/plugins/translate/translate.min.js +1 -1
  231. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  232. package/es2021.en/plugins/tune-block/tune-block.js +4 -4
  233. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  234. package/es5/292.fat.min.js +1 -1
  235. package/es5/292.js +1 -1
  236. package/es5/292.min.js +1 -1
  237. package/es5/jodit.css +49 -49
  238. package/es5/jodit.fat.min.js +2 -2
  239. package/es5/jodit.js +576 -576
  240. package/es5/jodit.min.css +2 -2
  241. package/es5/jodit.min.js +2 -2
  242. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  243. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  244. package/es5/plugins/backup/backup.css +1 -1
  245. package/es5/plugins/backup/backup.js +8 -8
  246. package/es5/plugins/backup/backup.min.js +1 -1
  247. package/es5/plugins/button-generator/button-generator.css +2 -2
  248. package/es5/plugins/button-generator/button-generator.js +5 -5
  249. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  250. package/es5/plugins/change-case/change-case.js +3 -3
  251. package/es5/plugins/change-case/change-case.min.js +1 -1
  252. package/es5/plugins/color-picker/color-picker.css +2 -2
  253. package/es5/plugins/color-picker/color-picker.js +3 -3
  254. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  255. package/es5/plugins/emoji/emoji.css +1 -1
  256. package/es5/plugins/emoji/emoji.js +3 -3
  257. package/es5/plugins/emoji/emoji.min.js +1 -1
  258. package/es5/plugins/export-docs/export-docs.js +3 -3
  259. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  260. package/es5/plugins/finder/finder.css +3 -3
  261. package/es5/plugins/finder/finder.js +27 -27
  262. package/es5/plugins/finder/finder.min.js +1 -1
  263. package/es5/plugins/google-maps/google-maps.css +5 -5
  264. package/es5/plugins/google-maps/google-maps.js +28 -28
  265. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  266. package/es5/plugins/google-search/google-search.js +2 -2
  267. package/es5/plugins/google-search/google-search.min.js +1 -1
  268. package/es5/plugins/highlight-signature/highlight-signature.js +2 -2
  269. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  270. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  271. package/es5/plugins/iframe-editor/iframe-editor.js +4 -4
  272. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  273. package/es5/plugins/keyboard/keyboard.css +1 -1
  274. package/es5/plugins/keyboard/keyboard.js +2 -2
  275. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  276. package/es5/plugins/mobile-view/mobile-view.js +3 -3
  277. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  278. package/es5/plugins/page-break/page-break.js +4 -4
  279. package/es5/plugins/page-break/page-break.min.js +1 -1
  280. package/es5/plugins/paste-code/paste-code.css +1 -1
  281. package/es5/plugins/paste-code/paste-code.js +3 -3
  282. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  283. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  284. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  285. package/es5/plugins/show-blocks/show-blocks.js +23 -23
  286. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  287. package/es5/plugins/todo-list/todo-list.css +1 -1
  288. package/es5/plugins/todo-list/todo-list.js +3 -3
  289. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  290. package/es5/plugins/translate/translate.css +1 -1
  291. package/es5/plugins/translate/translate.js +7 -7
  292. package/es5/plugins/translate/translate.min.js +1 -1
  293. package/es5/plugins/tune-block/tune-block.css +1 -1
  294. package/es5/plugins/tune-block/tune-block.js +4 -4
  295. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  296. package/esm/config.d.ts +1 -1
  297. package/esm/config.js +1 -1
  298. package/esm/core/ui/form/range/range.d.ts +1 -1
  299. package/esm/core/ui/form/range/range.js +1 -1
  300. package/esm/index.d.ts +1 -1
  301. package/esm/index.js +1 -1
  302. package/esm/jodit-pro.d.ts +1 -1
  303. package/esm/jodit-pro.js +1 -1
  304. package/esm/plugins/autocomplete/autocomplete.d.ts +1 -1
  305. package/esm/plugins/autocomplete/autocomplete.js +1 -1
  306. package/esm/plugins/autocomplete/helpers.d.ts +1 -1
  307. package/esm/plugins/autocomplete/helpers.js +1 -1
  308. package/esm/plugins/autocomplete/interface.d.ts +1 -1
  309. package/esm/plugins/autocomplete/interface.js +1 -1
  310. package/esm/plugins/autocomplete/ui/autocomplete.d.ts +1 -1
  311. package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
  312. package/esm/plugins/autocomplete/ui/item.d.ts +1 -1
  313. package/esm/plugins/autocomplete/ui/item.js +1 -1
  314. package/esm/plugins/backup/backup.d.ts +1 -1
  315. package/esm/plugins/backup/backup.js +1 -1
  316. package/esm/plugins/backup/config.d.ts +1 -1
  317. package/esm/plugins/backup/config.js +1 -1
  318. package/esm/plugins/backup/interface.d.ts +1 -1
  319. package/esm/plugins/backup/interface.js +1 -1
  320. package/esm/plugins/backup/langs/index.d.ts +1 -1
  321. package/esm/plugins/backup/langs/index.js +1 -1
  322. package/esm/plugins/backup/modules/store.d.ts +1 -1
  323. package/esm/plugins/backup/modules/store.js +1 -1
  324. package/esm/plugins/backup/ui/box.d.ts +1 -1
  325. package/esm/plugins/backup/ui/box.js +1 -1
  326. package/esm/plugins/backup/ui/item.d.ts +1 -1
  327. package/esm/plugins/backup/ui/item.js +1 -1
  328. package/esm/plugins/backup/ui/list.d.ts +1 -1
  329. package/esm/plugins/backup/ui/list.js +1 -1
  330. package/esm/plugins/button-generator/button-generator.d.ts +1 -1
  331. package/esm/plugins/button-generator/config.d.ts +1 -1
  332. package/esm/plugins/button-generator/config.js +1 -1
  333. package/esm/plugins/button-generator/ui/button/button.d.ts +1 -1
  334. package/esm/plugins/button-generator/ui/form/form.d.ts +1 -1
  335. package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +1 -1
  336. package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
  337. package/esm/plugins/button-generator/ui/preview/preview.d.ts +1 -1
  338. package/esm/plugins/change-case/change-case.d.ts +1 -1
  339. package/esm/plugins/change-case/change-case.js +1 -1
  340. package/esm/plugins/change-case/config.d.ts +1 -1
  341. package/esm/plugins/change-case/config.js +1 -1
  342. package/esm/plugins/color-picker/color-picker.d.ts +1 -1
  343. package/esm/plugins/color-picker/color-picker.js +1 -1
  344. package/esm/plugins/color-picker/ui/input/color-input.d.ts +1 -1
  345. package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
  346. package/esm/plugins/emoji/emoji.d.ts +1 -1
  347. package/esm/plugins/emoji/emoji.js +1 -1
  348. package/esm/plugins/emoji/interface.d.ts +1 -1
  349. package/esm/plugins/emoji/interface.js +1 -1
  350. package/esm/plugins/emoji/ui/emoji.d.ts +1 -1
  351. package/esm/plugins/emoji/ui/emoji.js +1 -1
  352. package/esm/plugins/export-docs/config.d.ts +1 -1
  353. package/esm/plugins/export-docs/config.js +1 -1
  354. package/esm/plugins/export-docs/export-docs.d.ts +1 -1
  355. package/esm/plugins/export-docs/export-docs.js +1 -1
  356. package/esm/plugins/finder/browser.d.ts +1 -1
  357. package/esm/plugins/finder/browser.js +1 -1
  358. package/esm/plugins/finder/config.d.ts +1 -1
  359. package/esm/plugins/finder/config.js +1 -1
  360. package/esm/plugins/finder/finder.d.ts +1 -1
  361. package/esm/plugins/finder/finder.js +1 -1
  362. package/esm/plugins/finder/helpers/context-menu.d.ts +1 -1
  363. package/esm/plugins/finder/helpers/context-menu.js +1 -1
  364. package/esm/plugins/finder/helpers/helpers.d.ts +1 -1
  365. package/esm/plugins/finder/helpers/helpers.js +1 -1
  366. package/esm/plugins/finder/helpers/history-manager.d.ts +1 -1
  367. package/esm/plugins/finder/helpers/history-manager.js +1 -1
  368. package/esm/plugins/finder/helpers/loading-manager.d.ts +1 -1
  369. package/esm/plugins/finder/helpers/loading-manager.js +1 -1
  370. package/esm/plugins/finder/helpers/persistent-store.d.ts +1 -1
  371. package/esm/plugins/finder/helpers/persistent-store.js +1 -1
  372. package/esm/plugins/finder/helpers/state-manager.d.ts +1 -1
  373. package/esm/plugins/finder/helpers/state-manager.js +1 -1
  374. package/esm/plugins/finder/interface.d.ts +1 -1
  375. package/esm/plugins/finder/langs/index.d.ts +1 -1
  376. package/esm/plugins/finder/langs/index.js +1 -1
  377. package/esm/plugins/finder/langs/ru.js +1 -1
  378. package/esm/plugins/finder/ui/assets/icons/index.js +1 -1
  379. package/esm/plugins/finder/ui/folder/folder.d.ts +1 -1
  380. package/esm/plugins/finder/ui/folder/folder.js +1 -1
  381. package/esm/plugins/finder/ui/header/header.d.ts +1 -1
  382. package/esm/plugins/finder/ui/header/header.js +1 -1
  383. package/esm/plugins/finder/ui/item/item.d.ts +1 -1
  384. package/esm/plugins/finder/ui/item/item.js +1 -1
  385. package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +1 -1
  386. package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
  387. package/esm/plugins/finder/ui/panel/panel.d.ts +1 -1
  388. package/esm/plugins/finder/ui/panel/panel.js +1 -1
  389. package/esm/plugins/finder/ui/preview/preview.d.ts +1 -1
  390. package/esm/plugins/finder/ui/progress/progress.d.ts +1 -1
  391. package/esm/plugins/finder/ui/settings/settings.d.ts +1 -1
  392. package/esm/plugins/finder/ui/settings/settings.js +1 -1
  393. package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +1 -1
  394. package/esm/plugins/finder/ui/source/source.d.ts +1 -1
  395. package/esm/plugins/finder/ui/source/source.js +1 -1
  396. package/esm/plugins/finder/ui/sources/sources.d.ts +1 -1
  397. package/esm/plugins/finder/ui/sources/sources.js +1 -1
  398. package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +1 -1
  399. package/esm/plugins/finder/ui/statusbar/statusbar.js +1 -1
  400. package/esm/plugins/finder/ui/tree/tree.d.ts +1 -1
  401. package/esm/plugins/finder/ui/tree/tree.js +1 -1
  402. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +1 -1
  403. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
  404. package/esm/plugins/google-maps/assets/index.d.ts +1 -1
  405. package/esm/plugins/google-maps/assets/index.js +1 -1
  406. package/esm/plugins/google-maps/config.d.ts +1 -1
  407. package/esm/plugins/google-maps/config.js +1 -1
  408. package/esm/plugins/google-maps/google-maps.d.ts +1 -1
  409. package/esm/plugins/google-maps/google-maps.js +1 -1
  410. package/esm/plugins/google-maps/helpers/const.d.ts +1 -1
  411. package/esm/plugins/google-maps/helpers/const.js +1 -1
  412. package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +1 -1
  413. package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +1 -1
  414. package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
  415. package/esm/plugins/google-maps/helpers/helpers.d.ts +1 -1
  416. package/esm/plugins/google-maps/helpers/helpers.js +1 -1
  417. package/esm/plugins/google-maps/helpers/static-url.d.ts +1 -1
  418. package/esm/plugins/google-maps/helpers/static-url.js +1 -1
  419. package/esm/plugins/google-maps/interface.d.ts +1 -1
  420. package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +1 -1
  421. package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
  422. package/esm/plugins/google-maps/ui/editors/base.d.ts +1 -1
  423. package/esm/plugins/google-maps/ui/editors/base.js +1 -1
  424. package/esm/plugins/google-maps/ui/editors/index.d.ts +1 -1
  425. package/esm/plugins/google-maps/ui/editors/index.js +1 -1
  426. package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +1 -1
  427. package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
  428. package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +1 -1
  429. package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +1 -1
  430. package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +1 -1
  431. package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +1 -1
  432. package/esm/plugins/google-maps/ui/index.d.ts +1 -1
  433. package/esm/plugins/google-maps/ui/index.js +1 -1
  434. package/esm/plugins/google-maps/ui/map/map.d.ts +1 -1
  435. package/esm/plugins/google-maps/ui/map/map.js +1 -1
  436. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +1 -1
  437. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +1 -1
  438. package/esm/plugins/google-maps/ui/map/modules/index.d.ts +1 -1
  439. package/esm/plugins/google-maps/ui/map/modules/index.js +1 -1
  440. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +1 -1
  441. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -1
  442. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +1 -1
  443. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +1 -1
  444. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +1 -1
  445. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
  446. package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +1 -1
  447. package/esm/plugins/google-maps/ui/map/modules/remove-element.js +1 -1
  448. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +1 -1
  449. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +1 -1
  450. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +1 -1
  451. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
  452. package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +1 -1
  453. package/esm/plugins/google-maps/ui/maps-props/maps-props.js +1 -1
  454. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +1 -1
  455. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
  456. package/esm/plugins/google-search/google-search.d.ts +1 -1
  457. package/esm/plugins/google-search/google-search.js +1 -1
  458. package/esm/plugins/highlight-signature/highlight-signature.d.ts +1 -1
  459. package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
  460. package/esm/plugins/iframe-editor/config.d.ts +1 -1
  461. package/esm/plugins/iframe-editor/config.js +1 -1
  462. package/esm/plugins/iframe-editor/iframe-editor.d.ts +1 -1
  463. package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
  464. package/esm/plugins/iframe-editor/interface.d.ts +1 -1
  465. package/esm/plugins/iframe-editor/interface.js +1 -1
  466. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +1 -1
  467. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +1 -1
  468. package/esm/plugins/index.d.ts +1 -1
  469. package/esm/plugins/index.js +1 -1
  470. package/esm/plugins/keyboard/config.d.ts +1 -1
  471. package/esm/plugins/keyboard/interface.d.ts +1 -1
  472. package/esm/plugins/keyboard/interface.js +1 -1
  473. package/esm/plugins/keyboard/keyboard.d.ts +1 -1
  474. package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +1 -1
  475. package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
  476. package/esm/plugins/license/helpers/helpers.d.ts +1 -1
  477. package/esm/plugins/license/helpers/helpers.js +1 -1
  478. package/esm/plugins/license/license.d.ts +1 -1
  479. package/esm/plugins/license/license.js +1 -1
  480. package/esm/plugins/mobile-view/config.d.ts +1 -1
  481. package/esm/plugins/mobile-view/config.js +1 -1
  482. package/esm/plugins/mobile-view/mobile-view.d.ts +1 -1
  483. package/esm/plugins/mobile-view/mobile-view.js +1 -1
  484. package/esm/plugins/page-break/config.d.ts +1 -1
  485. package/esm/plugins/page-break/config.js +1 -1
  486. package/esm/plugins/page-break/page-break.css.js +1 -1
  487. package/esm/plugins/page-break/page-break.d.ts +1 -1
  488. package/esm/plugins/page-break/page-break.js +1 -1
  489. package/esm/plugins/paste-code/config.d.ts +1 -1
  490. package/esm/plugins/paste-code/config.js +1 -1
  491. package/esm/plugins/paste-code/paste-code.d.ts +1 -1
  492. package/esm/plugins/paste-code/paste-code.js +1 -1
  493. package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +1 -1
  494. package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -1
  495. package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +1 -1
  496. package/esm/plugins/paste-from-word/cases/clear-attributes.js +1 -1
  497. package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +1 -1
  498. package/esm/plugins/paste-from-word/cases/clear-class-name.js +1 -1
  499. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +1 -1
  500. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
  501. package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +1 -1
  502. package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
  503. package/esm/plugins/paste-from-word/cases/index.d.ts +1 -1
  504. package/esm/plugins/paste-from-word/cases/index.js +1 -1
  505. package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +1 -1
  506. package/esm/plugins/paste-from-word/cases/mark-page-break.js +1 -1
  507. package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +1 -1
  508. package/esm/plugins/paste-from-word/cases/normalize-image-props.js +1 -1
  509. package/esm/plugins/paste-from-word/cases/process-image.d.ts +1 -1
  510. package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
  511. package/esm/plugins/paste-from-word/cases/process-links.d.ts +1 -1
  512. package/esm/plugins/paste-from-word/cases/process-links.js +1 -1
  513. package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +1 -1
  514. package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +1 -1
  515. package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +1 -1
  516. package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +1 -1
  517. package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +1 -1
  518. package/esm/plugins/paste-from-word/cases/replace-old-tags.js +1 -1
  519. package/esm/plugins/paste-from-word/cases/table.d.ts +1 -1
  520. package/esm/plugins/paste-from-word/cases/table.js +1 -1
  521. package/esm/plugins/paste-from-word/config.d.ts +1 -1
  522. package/esm/plugins/paste-from-word/config.js +1 -1
  523. package/esm/plugins/paste-from-word/constants.d.ts +1 -1
  524. package/esm/plugins/paste-from-word/constants.js +1 -1
  525. package/esm/plugins/paste-from-word/element/checkers.d.ts +1 -1
  526. package/esm/plugins/paste-from-word/element/checkers.js +1 -1
  527. package/esm/plugins/paste-from-word/element/element.d.ts +1 -1
  528. package/esm/plugins/paste-from-word/element/element.js +1 -1
  529. package/esm/plugins/paste-from-word/element/index.d.ts +1 -1
  530. package/esm/plugins/paste-from-word/element/index.js +1 -1
  531. package/esm/plugins/paste-from-word/element/render.d.ts +1 -1
  532. package/esm/plugins/paste-from-word/element/render.js +1 -1
  533. package/esm/plugins/paste-from-word/element/style.d.ts +1 -1
  534. package/esm/plugins/paste-from-word/element/style.js +1 -1
  535. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +1 -1
  536. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
  537. package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +1 -1
  538. package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
  539. package/esm/plugins/paste-from-word/helpers/helpers.d.ts +1 -1
  540. package/esm/plugins/paste-from-word/helpers/helpers.js +1 -1
  541. package/esm/plugins/paste-from-word/helpers/index.d.ts +1 -1
  542. package/esm/plugins/paste-from-word/helpers/index.js +1 -1
  543. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +1 -1
  544. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
  545. package/esm/plugins/paste-from-word/interface.d.ts +1 -1
  546. package/esm/plugins/paste-from-word/interface.js +1 -1
  547. package/esm/plugins/paste-from-word/paste-from-word.d.ts +1 -1
  548. package/esm/plugins/paste-from-word/paste-from-word.js +1 -1
  549. package/esm/plugins/show-blocks/config.d.ts +1 -1
  550. package/esm/plugins/show-blocks/config.js +1 -1
  551. package/esm/plugins/show-blocks/langs/ar.js +1 -1
  552. package/esm/plugins/show-blocks/langs/cs_cz.js +1 -1
  553. package/esm/plugins/show-blocks/langs/de.js +1 -1
  554. package/esm/plugins/show-blocks/langs/es.js +1 -1
  555. package/esm/plugins/show-blocks/langs/fa.js +1 -1
  556. package/esm/plugins/show-blocks/langs/fr.js +1 -1
  557. package/esm/plugins/show-blocks/langs/he.js +1 -1
  558. package/esm/plugins/show-blocks/langs/hu.js +1 -1
  559. package/esm/plugins/show-blocks/langs/id.js +1 -1
  560. package/esm/plugins/show-blocks/langs/index.d.ts +1 -1
  561. package/esm/plugins/show-blocks/langs/index.js +1 -1
  562. package/esm/plugins/show-blocks/langs/it.js +1 -1
  563. package/esm/plugins/show-blocks/langs/ja.js +1 -1
  564. package/esm/plugins/show-blocks/langs/ko.js +1 -1
  565. package/esm/plugins/show-blocks/langs/nl.js +1 -1
  566. package/esm/plugins/show-blocks/langs/pl.js +1 -1
  567. package/esm/plugins/show-blocks/langs/pt_br.js +1 -1
  568. package/esm/plugins/show-blocks/langs/ru.js +1 -1
  569. package/esm/plugins/show-blocks/langs/tr.js +1 -1
  570. package/esm/plugins/show-blocks/langs/zh_cn.js +1 -1
  571. package/esm/plugins/show-blocks/langs/zh_tw.js +1 -1
  572. package/esm/plugins/show-blocks/show-blocks.d.ts +1 -1
  573. package/esm/plugins/show-blocks/show-blocks.js +1 -1
  574. package/esm/plugins/todo-list/config.d.ts +1 -1
  575. package/esm/plugins/todo-list/config.js +1 -1
  576. package/esm/plugins/todo-list/todo-list.d.ts +1 -1
  577. package/esm/plugins/todo-list/todo-list.js +1 -1
  578. package/esm/plugins/translate/config.d.ts +1 -1
  579. package/esm/plugins/translate/config.js +1 -1
  580. package/esm/plugins/translate/interface.d.ts +1 -1
  581. package/esm/plugins/translate/interface.js +1 -1
  582. package/esm/plugins/translate/providers/google/google.d.ts +1 -1
  583. package/esm/plugins/translate/providers/google/google.js +1 -1
  584. package/esm/plugins/translate/providers/languages.d.ts +1 -1
  585. package/esm/plugins/translate/providers/languages.js +1 -1
  586. package/esm/plugins/translate/translate.d.ts +1 -1
  587. package/esm/plugins/translate/translate.js +1 -1
  588. package/esm/plugins/translate/ui/list/list.d.ts +1 -1
  589. package/esm/plugins/translate/ui/list/list.js +1 -1
  590. package/esm/plugins/translate/ui/settings/settings.d.ts +1 -1
  591. package/esm/plugins/translate/ui/settings/settings.js +1 -1
  592. package/esm/plugins/tune-block/config.d.ts +1 -1
  593. package/esm/plugins/tune-block/config.js +1 -1
  594. package/esm/plugins/tune-block/tune-block.d.ts +1 -1
  595. package/esm/plugins/tune-block/tune-block.js +1 -1
  596. package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +1 -1
  597. package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
  598. package/esm/traits/resize/resize.d.ts +1 -1
  599. package/esm/traits/resize/resize.js +1 -1
  600. package/esm/traits/select-items/select-items.d.ts +1 -1
  601. package/esm/traits/select-items/select-items.js +1 -1
  602. package/esm/types/view.d.ts +1 -1
  603. package/esm/typings.d.ts +1 -1
  604. package/examples/assets/app.js +1 -1
  605. package/examples/assets/prism.js +1 -1
  606. package/package.json +1 -1
  607. package/types/config.d.ts +1 -1
  608. package/types/core/ui/form/range/range.d.ts +1 -1
  609. package/types/index.d.ts +1 -1
  610. package/types/jodit-pro.d.ts +1 -1
  611. package/types/plugins/autocomplete/autocomplete.d.ts +1 -1
  612. package/types/plugins/autocomplete/helpers.d.ts +1 -1
  613. package/types/plugins/autocomplete/interface.d.ts +1 -1
  614. package/types/plugins/autocomplete/ui/autocomplete.d.ts +1 -1
  615. package/types/plugins/autocomplete/ui/item.d.ts +1 -1
  616. package/types/plugins/backup/backup.d.ts +1 -1
  617. package/types/plugins/backup/config.d.ts +1 -1
  618. package/types/plugins/backup/interface.d.ts +1 -1
  619. package/types/plugins/backup/langs/index.d.ts +1 -1
  620. package/types/plugins/backup/modules/store.d.ts +1 -1
  621. package/types/plugins/backup/ui/box.d.ts +1 -1
  622. package/types/plugins/backup/ui/item.d.ts +1 -1
  623. package/types/plugins/backup/ui/list.d.ts +1 -1
  624. package/types/plugins/button-generator/button-generator.d.ts +1 -1
  625. package/types/plugins/button-generator/config.d.ts +1 -1
  626. package/types/plugins/button-generator/ui/button/button.d.ts +1 -1
  627. package/types/plugins/button-generator/ui/form/form.d.ts +1 -1
  628. package/types/plugins/button-generator/ui/generator/button-generator.d.ts +1 -1
  629. package/types/plugins/button-generator/ui/preview/preview.d.ts +1 -1
  630. package/types/plugins/change-case/change-case.d.ts +1 -1
  631. package/types/plugins/change-case/config.d.ts +1 -1
  632. package/types/plugins/color-picker/color-picker.d.ts +1 -1
  633. package/types/plugins/color-picker/ui/input/color-input.d.ts +1 -1
  634. package/types/plugins/emoji/emoji.d.ts +1 -1
  635. package/types/plugins/emoji/interface.d.ts +1 -1
  636. package/types/plugins/emoji/ui/emoji.d.ts +1 -1
  637. package/types/plugins/export-docs/config.d.ts +1 -1
  638. package/types/plugins/export-docs/export-docs.d.ts +1 -1
  639. package/types/plugins/finder/browser.d.ts +1 -1
  640. package/types/plugins/finder/config.d.ts +1 -1
  641. package/types/plugins/finder/finder.d.ts +1 -1
  642. package/types/plugins/finder/helpers/context-menu.d.ts +1 -1
  643. package/types/plugins/finder/helpers/helpers.d.ts +1 -1
  644. package/types/plugins/finder/helpers/history-manager.d.ts +1 -1
  645. package/types/plugins/finder/helpers/loading-manager.d.ts +1 -1
  646. package/types/plugins/finder/helpers/persistent-store.d.ts +1 -1
  647. package/types/plugins/finder/helpers/state-manager.d.ts +1 -1
  648. package/types/plugins/finder/interface.d.ts +1 -1
  649. package/types/plugins/finder/langs/index.d.ts +1 -1
  650. package/types/plugins/finder/ui/folder/folder.d.ts +1 -1
  651. package/types/plugins/finder/ui/header/header.d.ts +1 -1
  652. package/types/plugins/finder/ui/item/item.d.ts +1 -1
  653. package/types/plugins/finder/ui/lightboox/lightbox.d.ts +1 -1
  654. package/types/plugins/finder/ui/panel/panel.d.ts +1 -1
  655. package/types/plugins/finder/ui/preview/preview.d.ts +1 -1
  656. package/types/plugins/finder/ui/progress/progress.d.ts +1 -1
  657. package/types/plugins/finder/ui/settings/settings.d.ts +1 -1
  658. package/types/plugins/finder/ui/sidebar/sidebar.d.ts +1 -1
  659. package/types/plugins/finder/ui/source/source.d.ts +1 -1
  660. package/types/plugins/finder/ui/sources/sources.d.ts +1 -1
  661. package/types/plugins/finder/ui/statusbar/statusbar.d.ts +1 -1
  662. package/types/plugins/finder/ui/tree/tree.d.ts +1 -1
  663. package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +1 -1
  664. package/types/plugins/google-maps/assets/index.d.ts +1 -1
  665. package/types/plugins/google-maps/config.d.ts +1 -1
  666. package/types/plugins/google-maps/google-maps.d.ts +1 -1
  667. package/types/plugins/google-maps/helpers/const.d.ts +1 -1
  668. package/types/plugins/google-maps/helpers/generate-js-script.d.ts +1 -1
  669. package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +1 -1
  670. package/types/plugins/google-maps/helpers/helpers.d.ts +1 -1
  671. package/types/plugins/google-maps/helpers/static-url.d.ts +1 -1
  672. package/types/plugins/google-maps/interface.d.ts +1 -1
  673. package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +1 -1
  674. package/types/plugins/google-maps/ui/editors/base.d.ts +1 -1
  675. package/types/plugins/google-maps/ui/editors/index.d.ts +1 -1
  676. package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +1 -1
  677. package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +1 -1
  678. package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +1 -1
  679. package/types/plugins/google-maps/ui/index.d.ts +1 -1
  680. package/types/plugins/google-maps/ui/map/map.d.ts +1 -1
  681. package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +1 -1
  682. package/types/plugins/google-maps/ui/map/modules/index.d.ts +1 -1
  683. package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +1 -1
  684. package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +1 -1
  685. package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +1 -1
  686. package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +1 -1
  687. package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +1 -1
  688. package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +1 -1
  689. package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +1 -1
  690. package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +1 -1
  691. package/types/plugins/google-search/google-search.d.ts +1 -1
  692. package/types/plugins/highlight-signature/highlight-signature.d.ts +1 -1
  693. package/types/plugins/iframe-editor/config.d.ts +1 -1
  694. package/types/plugins/iframe-editor/iframe-editor.d.ts +1 -1
  695. package/types/plugins/iframe-editor/interface.d.ts +1 -1
  696. package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +1 -1
  697. package/types/plugins/index.d.ts +1 -1
  698. package/types/plugins/keyboard/config.d.ts +1 -1
  699. package/types/plugins/keyboard/interface.d.ts +1 -1
  700. package/types/plugins/keyboard/keyboard.d.ts +1 -1
  701. package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +1 -1
  702. package/types/plugins/license/helpers/helpers.d.ts +1 -1
  703. package/types/plugins/license/license.d.ts +1 -1
  704. package/types/plugins/mobile-view/config.d.ts +1 -1
  705. package/types/plugins/mobile-view/mobile-view.d.ts +1 -1
  706. package/types/plugins/page-break/config.d.ts +1 -1
  707. package/types/plugins/page-break/page-break.d.ts +1 -1
  708. package/types/plugins/paste-code/config.d.ts +1 -1
  709. package/types/plugins/paste-code/paste-code.d.ts +1 -1
  710. package/types/plugins/paste-from-word/cases/clean-styles.d.ts +1 -1
  711. package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +1 -1
  712. package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +1 -1
  713. package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +1 -1
  714. package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +1 -1
  715. package/types/plugins/paste-from-word/cases/index.d.ts +1 -1
  716. package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +1 -1
  717. package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +1 -1
  718. package/types/plugins/paste-from-word/cases/process-image.d.ts +1 -1
  719. package/types/plugins/paste-from-word/cases/process-links.d.ts +1 -1
  720. package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +1 -1
  721. package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +1 -1
  722. package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +1 -1
  723. package/types/plugins/paste-from-word/cases/table.d.ts +1 -1
  724. package/types/plugins/paste-from-word/config.d.ts +1 -1
  725. package/types/plugins/paste-from-word/constants.d.ts +1 -1
  726. package/types/plugins/paste-from-word/element/checkers.d.ts +1 -1
  727. package/types/plugins/paste-from-word/element/element.d.ts +1 -1
  728. package/types/plugins/paste-from-word/element/index.d.ts +1 -1
  729. package/types/plugins/paste-from-word/element/render.d.ts +1 -1
  730. package/types/plugins/paste-from-word/element/style.d.ts +1 -1
  731. package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +1 -1
  732. package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +1 -1
  733. package/types/plugins/paste-from-word/helpers/helpers.d.ts +1 -1
  734. package/types/plugins/paste-from-word/helpers/index.d.ts +1 -1
  735. package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +1 -1
  736. package/types/plugins/paste-from-word/interface.d.ts +1 -1
  737. package/types/plugins/paste-from-word/paste-from-word.d.ts +1 -1
  738. package/types/plugins/show-blocks/config.d.ts +1 -1
  739. package/types/plugins/show-blocks/langs/index.d.ts +1 -1
  740. package/types/plugins/show-blocks/show-blocks.d.ts +1 -1
  741. package/types/plugins/todo-list/config.d.ts +1 -1
  742. package/types/plugins/todo-list/todo-list.d.ts +1 -1
  743. package/types/plugins/translate/config.d.ts +1 -1
  744. package/types/plugins/translate/interface.d.ts +1 -1
  745. package/types/plugins/translate/providers/google/google.d.ts +1 -1
  746. package/types/plugins/translate/providers/languages.d.ts +1 -1
  747. package/types/plugins/translate/translate.d.ts +1 -1
  748. package/types/plugins/translate/ui/list/list.d.ts +1 -1
  749. package/types/plugins/translate/ui/settings/settings.d.ts +1 -1
  750. package/types/plugins/tune-block/config.d.ts +1 -1
  751. package/types/plugins/tune-block/tune-block.d.ts +1 -1
  752. package/types/plugins/tune-block/ui/tuner/tuner.d.ts +1 -1
  753. package/types/traits/resize/resize.d.ts +1 -1
  754. package/types/traits/select-items/select-items.d.ts +1 -1
  755. package/types/types/view.d.ts +1 -1
  756. package/types/typings.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{extendLang as o}from"../../core/global.js";import{Icon as t}from"../../core/ui/icon.js";import{Config as e}from"../../config.js";import r from"./assets/restore.svg.js";import*as s from"./langs/index.js";e.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},e.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec(o){o.execCommand("openBackupDialog")}}},t.set("restore",r),o(s);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export interface ISnapshotItem {
7
7
  created: Date;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export{};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export {};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export{};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../../types";
7
7
  import type { ISnapshotItem, ISnapshotStorage } from "../interface";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export class DefaultStorage{constructor(t){this.jodit=t,this.key="backup.default.storage"}async add(t){if(!t.html.trim().length)return!1;const e=this.jodit.storage.get(this.key)||[];return e.find((e=>e.html===t.html))||(e.unshift(t),e.length>this.jodit.o.backup.limit&&(e.length=this.jodit.o.backup.limit),this.jodit.storage.set(this.key,e)),!1}items(){return Promise.resolve(this.jodit.storage.get(this.key)||[])}clear(){return this.jodit.storage.delete(this.key),Promise.resolve(!1)}}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../../types";
7
7
  import { UIElement } from "../../../core/ui/element";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,t,s,i){var o,l=arguments.length,r=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(r=(l<3?o(r):l>3?o(t,s,r):o(t,s))||r);return l>3&&r&&Object.defineProperty(t,s,r),r};import{autobind as t,component as s}from"../../../core/decorators.js";import{UIElement as i}from"../../../core/ui/element.js";import{UIBackupList as o}from"./list.js";let l=class UIBackupBox extends i{className(){return"UIBackupBox"}constructor(e){super(e),this.list=new o(this.j),this.preview=this.j.c.div(this.getFullElName("preview")),this.container.appendChild(this.list.container),this.container.appendChild(this.preview),this.list.container.classList.add(this.getFullElName("list")),e.e.on(this.list,"select",this.onSelectItem).on(this.list,"choose",this.onChooseItem)}build(e){this.preview.innerHTML="",this.list.build(e)}destruct(){return this.j.e.off(this.list,"select",this.onSelectItem),this.list.destruct(),super.destruct()}onSelectItem(e){this.latestSelected=e,this.preview.innerHTML=e.html||`<div class="${this.getFullElName("empty")}">${this.j.i18n("Empty")}</div>`}onChooseItem(e){this.j.e.fire(this,"choose",e)}chooseSelected(){this.onChooseItem(this.latestSelected)}};e([t],l.prototype,"onSelectItem",null),e([t],l.prototype,"onChooseItem",null),l=e([s],l);export{l as UIBackupBox};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../../types";
7
7
  import { UIElement } from "../../../core/ui";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{attr as t,isFunction as e,isString as o}from"../../../core/helpers.js";import{UIElement as r}from"../../../core/ui/index.js";export class UIBackupItem extends r{className(){return"UIBackupItem"}constructor(e,o){super(e),this.data=o,this.container.innerHTML=this.formatDate(o.created),t(this.container,"tabIndex",0)}formatDate(t){const r=new Date,a=o(t)?new Date(t):t,i=(r.getTime()-a.getTime())/1e3;return e(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(a):i<.2?this.j.i18n("Current"):i<60?this.j.i18n("Less minute"):i<=3600?this.j.i18n("%s minutes ago",Math.floor(i/60)):i<=86400?this.j.i18n("%s hours ago",Math.floor(i/3600)):`${a.toDateString()} ${a.toLocaleTimeString()}`}focus(){this.container.focus()}}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IDictionary, IJodit } from "../../../types";
7
7
  import { UIGroup } from "../../../core/ui";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,t,o,n){var r,s=arguments.length,i=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,o,i):r(t,o))||i);return s>3&&i&&Object.defineProperty(t,o,i),i};import{KEY_DOWN as t,KEY_ENTER as o,KEY_UP as n}from"../../../core/constants.js";import{autobind as r,component as s,watch as i}from"../../../core/decorators.js";import{attr as c}from"../../../core/helpers.js";import{UIGroup as l}from"../../../core/ui/index.js";import{UIBackupItem as h}from"./item.js";let a=class UIBackupList extends l{className(){return"UIBackupList"}createContainer(e){const t=super.createContainer(e);return c(t,"tabIndex","-1"),t}constructor(e){super(e),this.elements=[],this.currentSelection=-1,e.e.on(this.container,"keydown",(e=>{switch(e.key){case o:e.preventDefault(),e.stopPropagation(),this.onChoose(this.currentSelection);break;case t:this.selectNext();break;case n:this.selectPrevious()}}))}build(e){this.clear(),e.forEach(((e,t)=>{const o=new h(this.jodit,e);this.append(o),this.j.e.on(o.container,"focus",(()=>this.onSelect(t))).on(o.container,"click",(()=>this.onSelect(t))).on(o.container,"dblclick",(()=>this.onChoose(t)))})),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(e,t,o){this.elements[t]?.setMod("active",!1),this.elements[o]?.setMod("active",!0),this.elements[o]?.focus(),this.j.e.fire(this,"select",this.elements[o].data)}onSelect(e){this.currentSelection=e}onChoose(e){this.j.e.fire(this,"choose",this.elements[e??this.currentSelection].data)}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}};e([i("currentSelection")],a.prototype,"onChangeCurrentSelection",null),e([r],a.prototype,"onSelect",null),e([r],a.prototype,"onChoose",null),a=e([s],a);export{a as UIBackupList};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { CanUndef, IJodit } from "../../types";
7
7
  import { Plugin } from "../../core/plugin";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export {};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{isArray as o}from"../../core/helpers/checker/is-array.js";import{Config as t}from"../../config.js";import e from"./icon.svg.js";t.prototype.controls.buttonGenerator={tooltip:"Button generator",icon:e,isActive:o=>Boolean(o.e.fire("isButtonGeneratorOpened")),exec:(o,t)=>{o.e.fire("toggleButtonGenerator",t)}},t.prototype.popup.button=["buttonGenerator"],o(t.prototype.popup.a)&&t.prototype.popup.a.push("buttonGenerator");
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IDictionary } from "../../../../types";
7
7
  import { UIElement } from "../../../../core/ui";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IDictionary } from "../../../../types";
7
7
  import { UIElement } from "../../../../core/ui";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { CanUndef, IDictionary } from "../../../../types";
7
7
  import { UIElement } from "../../../../core/ui";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var t,e=this&&this.__decorate||function(t,e,o,s){var r,a=arguments.length,i=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,s);else for(var d=t.length-1;d>=0;d--)(r=t[d])&&(i=(a<3?r(i):a>3?r(e,o,i):r(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};import{autobind as o,component as s}from"../../../../core/decorators.js";import{assert as r}from"../../../../core/helpers/utils/assert.js";import{UIElement as a,UIGroup as i}from"../../../../core/ui/index.js";import d from"../../assets/styles.json.js";import{UIGButton as n}from"../button/button.js";import{UIFormButtonGenerator as f}from"../form/form.js";import{UIPreviewButtonGenerator as h}from"../preview/preview.js";let l=t=class UIButtonGenerator extends a{className(){return"UIButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__generator'>\n\t\t\t\t<div class='&__preview'></div>\n\t\t\t\t<div class='&__form'></div>\n\t\t\t</div>\n\t\t\t<div class='&__library'></div>\n\t\t</div>"}constructor(t){super(t),this.state={text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},this.preview=new h(this.j,this.state,this.updateState),this.form=new f(this.j,this.state,this.updateState),this.generateLibrary();const e=this.getElm("preview");r(null!=e,"preview element does not exists"),e.appendChild(this.preview.container);const o=this.getElm("form");r(null!=o,"form element does not exists"),o.appendChild(this.form.container)}generateLibrary(){const e=new i(this.j);d.map(t.mapKey).forEach((t=>{const o=new n(this.j,t);o.setMod("mode","library"),e.append(o),this.j.e.on(o.container,"click",(()=>{const{text:e}=this.state;Object.assign(this.state,t),Object.assign(this.state,{className:"",text:e}),this.update()}))}));const o=this.getElm("library");r(null!=o,"library element does not exists"),o.appendChild(e.container)}static mapKey(t){return{bgEnd:t.be,bgStart:t.bs,borderColor:t.bc,borderRadius:t.br,borderSize:t.bse,boxShadow:t.bsh,boxShadowBlurRadius:t.bsbr,boxShadowColor:t.bsc,boxShadowInset:t.bsi,boxShadowOffsetX:t.bsox,boxShadowOffsetY:t.bsoy,boxShadowSpreadRadius:t.bssr,fontColor:t.fc,fontFamily:t.ff,fontSize:t.fs,fontStyle:t.fse,fontWeight:t.fw,paddingX:t.px,paddingY:t.py,previewBgColor:t.pbc,solid:t.s,text:t.t,textShadow:t.ts,textShadowBlurRadius:t.tsbr,textShadowColor:t.tsc,textShadowOffsetX:t.tsox,textShadowOffsetY:t.tsoy}}updateState(t,e){this.state[t]=e,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}};e([o],l.prototype,"updateState",null),l=t=e([s],l);export{l as UIButtonGenerator};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IDictionary } from "../../../../types";
7
7
  import { UIElement } from "../../../../core/ui";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../types";
7
7
  import { Plugin } from "../../core/plugin";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{Dom as e}from"../../core/dom/dom.js";import{ucfirst as s}from"../../core/helpers/string/ucfirst.js";import{Plugin as t}from"../../core/plugin.js";import"./config.js";import{JoditPro as a}from"../../jodit-pro.js";export class changeCase extends t{constructor(){super(...arguments),this.buttons=[{name:"changeCase",group:"font-style"}]}afterInit(s){s.registerCommand("changeCase",{exec:(t,a,r)=>{r=r.toLowerCase();const o=s.s.range,{startContainer:n,startOffset:c}=o;if(s.s.isCollapsed()){const e=s.s.current(!0);e&&e.parentElement&&this.applyCase(r,e.parentElement),o.setStart(n,c),s.s.selectRange(o)}else{const t=o.cloneRange(),a=o.cloneRange(),n=s.createInside.fake(),c=s.createInside.fake();t.collapse(!0),a.collapse(!1),t.insertNode(n),a.insertNode(c),e.between(n,c,(e=>{this.applyCase(r,e)})),o.setStartAfter(n),o.setEndBefore(c),s.s.selectRange(o),e.safeRemove(n),e.safeRemove(c)}}})}applyCase(t,a){if(e.isText(a)){const e=a.nodeValue;e&&(a.nodeValue=(e=>{switch(t){case"lowercase":return e.toLowerCase();case"uppercase":return e.toUpperCase();default:return e.split(" ").map(s).join(" ")}})(e))}else e.each(a,(e=>{this.applyCase(t,e)}))}beforeDestruct(e){}}changeCase.requires=["license"],a.plugins.add("change-case",changeCase);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export {};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{dataBind as o}from"../../core/helpers/utils/data-bind.js";import{Config as e}from"../../config.js";import c from"./icon.svg.js";e.prototype.controls.changeCase={tooltip:"Change case",icon:c,list:["lowercase","UPPERCASE","Title Case"],isDisabled:o=>!o.s.current(),exec(e,c,{control:s}){const a=s.command+"Selected",n=s.args&&s.args[0]||o(e,a);if(!n||!s.command)return!1;o(e,a,n),e.execCommand(s.command,null,n)},command:"changeCase"};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../types";
7
7
  import { Plugin } from "../../core/plugin";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,r,o,t){var c,i=arguments.length,n=i<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,o,t);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(n=(i<3?c(n):i>3?c(r,o,n):c(r,o))||n);return i>3&&n&&Object.defineProperty(r,o,n),n};import{autobind as r}from"../../core/decorators.js";import{Dom as o}from"../../core/dom/dom.js";import{Plugin as t}from"../../core/plugin.js";import{ColorInput as c}from"./ui/input/color-input.js";import{JoditPro as i}from"../../jodit-pro.js";export class colorPicker extends t{constructor(){super(...arguments),this.hasStyle=!i.fatMode}afterInit(e){e.e.on("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}onAfterGenerateColorPicker(e,r,t,i){o.detach(r);const n=new c(this.j,{value:i||"#000",onChange:t});r.appendChild(n.container)}beforeDestruct(e){e.e.off("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}}colorPicker.requires=["license"],e([r],colorPicker.prototype,"onAfterGenerateColorPicker",null),i.plugins.add("color-picker",colorPicker);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IUIInput, IViewBased, ModType } from "../../../../types";
7
7
  import { UIInput } from "../../../../core/ui";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,t,o,r){var s,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};import{KEY_ESC as t}from"../../../../core/constants.js";import{component as o,watch as r}from"../../../../core/decorators.js";import{position as s}from"../../../../core/helpers.js";import{assert as i}from"../../../../core/helpers/utils/assert.js";import{Button as n,Popup as a,UIInput as l}from"../../../../core/ui/index.js";import{Dialog as c}from"../../../../modules.js";import*as h from"a-color-picker";let p=class ColorInput extends l{className(){return"ColorInput"}constructor(e,t){super(e,t);const o=new a(e);this.popup=o,this.trigger=n(this.j,"ok");const r=this.getElm("wrapper");i(null!=r,"wrapper element does not exist"),r.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction((()=>{this.state.onChange?.(this.value),o.close()})),o.setMod("padding",!1).setMod("max-height",!1);const l=this.j.create.div(this.getFullElName("picker")),p=h.createPicker(l,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",((e,t)=>{this.isFocused||(this.value=h.parseColor(t||"","hex"))}));this.j.e.on(this,"change",(()=>{var e;e=this.value,h.parseColor(e,"hex")!==p.color&&(p.color=this.value)})),o.setContent(l),this.j.e.on(this.nativeInput,"click",(()=>{o.parentElement=this,this.jodit instanceof c&&o.setZIndex(this.jodit.getZIndex()+1),o.open((()=>s(this.container)))})),this.onChangeValue(),this.onChangeSelfValue()}afterSetMode(e,t){"slim"===e&&t&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(e){e.key===t&&this.popup?.close()}};e([r(":change")],p.prototype,"onChangeSelfValue",null),e([r("nativeInput:keydown")],p.prototype,"onEscKeyDown",null),p=e([o],p);export{p as ColorInput};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../types";
7
7
  import { Plugin } from "../../core/plugin/plugin";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,t,o,r){var i,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var m=e.length-1;m>=0;m--)(i=e[m])&&(n=(s<3?i(n):s>3?i(t,o,n):i(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};import{autobind as t}from"../../core/decorators.js";import{trim as o}from"../../core/helpers/string/trim.js";import{Plugin as r}from"../../core/plugin/plugin.js";import"./config.js";import{Emoji as i}from"./ui/emoji.js";import{JoditPro as s}from"../../jodit-pro.js";export class emoji extends r{constructor(){super(...arguments),this.hasStyle=!s.fatMode,this.buttons=[{name:"emoji",group:"insert"}]}async afterInit(e){const t=await e.o.emoji.data();e.isInDestruct||(this.data={...t,emoji:t.emoji.map(i.normalizeEmoji)},e.o.emoji.enableAutoComplete&&e.e.fire("registerAutocompleteSource",this.onAutoComplete),e.async.requestIdleCallback((()=>{i.getInstance(e,(()=>{}))})))}onAutoComplete(e){return e.length>2&&":"===e[0]&&(e=e.substr(1).toLowerCase(),o(e).length)?this.data.emoji.filter((t=>0===t.description?.indexOf(e))).sort(((t,o)=>t.description.indexOf(e)-o.description.indexOf(e))).map((e=>({title:`${e.emoji} ${e.description}`,value:e.emoji}))):[]}beforeDestruct(e){}}emoji.requires=["autocomplete","license"],e([t],emoji.prototype,"onAutoComplete",null),s.plugins.add("emoji",emoji);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export interface IShortEmoji {
7
7
  e: string;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export{};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IDictionary, IJodit } from "../../../types";
7
7
  import { UIElement } from "../../../core/ui";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var t,e=this&&this.__decorate||function(t,e,i,s){var o,a=arguments.length,n=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};import{autobind as i,component as s,debounce as o,hook as a,persistent as n,throttle as r}from"../../../core/decorators.js";import{Dom as c}from"../../../core/dom/dom.js";import{attr as l,isString as h}from"../../../core/helpers.js";import{UIElement as u,UIInput as d}from"../../../core/ui/index.js";let m=t=class Emoji extends u{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data.emoji)}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(t){this.list.scrollTo(0,0),c.detach(this.list),c.append(this.list,this.generateEmojiList(t,this.data.categories))}createContainer(t){const e=this.j.c.div("jodit-emoji");this.input=new d(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));const i=this.j.c.div(this.getFullElName("navigate"));return c.append(i,[this.categories,this.input.container]),c.append(e,[i,this.list]),e}constructor(e,i){super(e),this.onInsert=i,this.recent=[],this.map={},this.activeIndex=0,this.cache={},this.setMod("loading",!0),(async()=>{this.data=await e.o.emoji.data(),this.setMod("loading",!1),this.data.emoji.forEach((e=>{const i=t.normalizeEmoji(e);this.map[i.emoji]=i})),this.setItems(this.defaultList),c.append(this.categories,this.generateCategoriesList(this.data.categories)),this.setActiveCategory(0)})()}static getInstance(e,i){return this.__instance||(this.__instance=new t(e,i)),this.__instance.onInsert=i,this.__instance.data&&this.__instance.reset(),this.__instance}setActiveCategory(t,e=!1){const i=this.getElms("category"),s=i[this.activeIndex];i[t]||(t=i.length-1);const o=i[t],a=this.getFullElName("category","active",!0);s&&s.classList.remove(a),o&&o.classList.add(a),e&&this.getElms("category-title")[t].scrollIntoView(),this.activeIndex=t}generateCategoriesList(t){return t.map(((e,i)=>this.j.c.div(this.getFullElName("category"),{"data-index":i,title:e,style:{width:100/t.length+"%"}})))}generateEmojiList(e,i){let s="";return e.reduce(((e,o,a)=>{if(o=t.normalizeEmoji(o),i[o.category]!==s){s=i[o.category];const t=this.cache[s]??this.j.c.div(this.getFullElName("category-title"),s?this.j.i18n(s):"");this.cache[s]=t,e.push(t)}const n=this.cache[o.emoji+o.category]??this.j.c.div(this.getFullElName("emoji"),{"data-id":a,"data-value":o.emoji},o.emoji);return this.cache[o.emoji+o.category]=n,e.push(n),e}),[])}static isShortCat(t){return t&&h(t.e)}static normalizeEmoji(e){return t.isShortCat(e)?{emoji:e.e,description:e.d,category:e.c,aliases:e.a,tags:e.t}:e}onInsertCode(t){this.onInsert(t);const e=this.map[t];if(e){const i=[...this.recent],s=i.findIndex((e=>e.emoji===t));-1!==s&&i.splice(s,1),i.unshift({...e,category:-1}),this.recent=i}}onScrollList(){const t=this.list.scrollTop,e=this.getElms("category-title");let i=0;e.forEach(((e,s)=>{const o=e.offsetTop-this.list.offsetTop-20;t>o&&(i=s)})),this.setActiveCategory(i)}onClickCategory(t){this.clearFilter();const e=t.target;e.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt(l(e,"-index")||"0",10)||0,!0)}onClickItem(t){const e=t.target;if(e.classList.contains(this.getFullElName("emoji"))){const t=l(e,"-value")||"";t&&this.onInsertCode(t)}t.preventDefault()}onInputFilter(){const e=this.input.value.toLowerCase();if(!e.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter((i=>{const s=t.normalizeEmoji(i);return s.description?.toLowerCase().includes(e)||s.tags?.join(" ").toLowerCase().includes(e)||s.aliases?.join(" ").toLowerCase().includes(e)})))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return t.__instance=null,this.input.destruct(),super.destruct()}};e([n],m.prototype,"recent",void 0),e([r()],m.prototype,"onScrollList",null),e([i],m.prototype,"onClickCategory",null),e([i],m.prototype,"onClickItem",null),e([o()],m.prototype,"onInputFilter",null),e([a("ready")],m.prototype,"onReady",null),m=t=e([s],m);export{m as Emoji};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { AjaxOptions } from "../../types";
7
7
  declare module 'jodit/config' {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{Dom as o}from"../../core/dom/dom.js";import{Config as t}from"../../config.js";import r from"./assets/export.svg.js";t.prototype.exportDocs={css:"",pdf:{externalFonts:[],allow:!0,options:{defaultFont:"courier",format:"A4",page_orientation:"portrait"}}},t.prototype.controls.exportDocs={tooltip:"Export",isDisabled:t=>o.isEmptyContent(t.editor),icon:r,list:{exportToPdf:"Export to PDF"},command:"exportToPDF"};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../types";
7
7
  import { Plugin } from "../../core/plugin";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{Dom as e}from"../../core/dom.js";import{ConfigDeepFlatten as o}from"../../core/helpers/utils/config-proto.js";import{previewBox as r}from"../../core/helpers/utils/print.js";import{Plugin as s}from"../../core/plugin.js";import{Ajax as t}from"../../core/request/ajax.js";import"./config.js";import{generateCriticalCSS as p}from"../print/lib/generate-critical-css.js";import{JoditPro as a}from"../../jodit-pro.js";export class ExportDocs extends s{constructor(){super(...arguments),this.buttons=[{name:"exportDocs",group:"media"}]}afterInit(r){r.registerCommand("exportToPDF",(async()=>{const s=new t({...r.o.exportDocs.ajax??r.o.filebrowser.ajax,method:"POST",responseType:"blob",onProgress(e){r.progressbar.show().progress(e)},data:{action:"generatePdf",html:ExportDocs.getValue(r),options:o(r.o.exportDocs.pdf).options}});r.e.on("beforeDestruct",s.destruct);try{const o=await s.send(),r=await o.blob(),t=this.j.create.a(),p="document.pdf";t.href=URL.createObjectURL(r),t.download=p,t.click(),e.safeRemove(t),URL.revokeObjectURL(t.href)}catch(e){e.message&&r.alert(e.message)}finally{r.progressbar.progress(100),await r.async.delay(200),r.progressbar.hide()}}))}static getValue(e){const[o]=r(e),s=[];return e.o.exportDocs.pdf.externalFonts.forEach((e=>{/^</.test(e)?s.push(e):s.push(`<link rel="stylesheet" href="${e}">`)})),s.push(`<style>${p(e)}</style>`),s.push(`<style>${e.o.exportDocs.css}</style>`),s.push(o.innerHTML),s.join("\n")}beforeDestruct(){}}ExportDocs.requires=["license"],a.plugins.add("exportDocs",ExportDocs);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { CanUndef, IFileBrowserCallBackData, IFileBrowserDataProvider, IFileBrowserItemWrapper, IProgressBar, IUIGroup } from "../../types";
7
7
  import { Dlgs } from "../../core/traits";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,t,s,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(a=(o<3?r(a):o>3?r(t,s,a):r(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a};import{IS_PROD as t,KEY_DELETE as s,KEY_DOWN as i,KEY_ENTER as r,KEY_LEFT as o,KEY_RIGHT as a,KEY_UP as n}from"../../core/constants.js";import{autobind as h,cache as l,component as m,derive as c,watch as p}from"../../core/decorators.js";import{ConfigProto as d,css as u,isAbort as f,isString as g,isValidName as w}from"../../core/helpers.js";import{Dlgs as v}from"../../core/traits.js";import{Config as b}from"../../config.js";import{Dom as y,observable as P}from"../../modules.js";import{Dialog as R}from"../../modules/dialog.js";import{makeDataProvider as M}from"../../modules/file-browser/factories.js";import{openImageEditor as j}from"../../modules/image-editor/image-editor.js";import"./ui/assets/icons/index.js";import{ContextMenuManager as F}from"./helpers/context-menu.js";import{parentPath as S}from"./helpers/helpers.js";import{HistoryManager as E}from"./helpers/history-manager.js";import{LoadingManager as C}from"./helpers/loading-manager.js";import{PersistentStore as _}from"./helpers/persistent-store.js";import{StateManager as B}from"./helpers/state-manager.js";import{UIBrowserHeader as O}from"./ui/header/header.js";import{UILightBox as k}from"./ui/lightboox/lightbox.js";import{UIBrowserPanel as x}from"./ui/panel/panel.js";import{UIProgress as I}from"./ui/progress/progress.js";import{JoditPro as L}from"../../jodit-pro.js";import{license as N}from"../license/license.js";let D=class FileBrowserPro extends R{className(){return"FileBrowserPro"}lock(e="any"){return this.container.classList.add("jodit_disabled"),super.lock(e)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(e,s=!(e instanceof Error)){f(e)||(t||g(e)||console.error(e),this.message.message(g(e)?e:e.message,s?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new I(this,this.stateManager.state)}constructor(e){super(d(Object.assign(e||{},{resizable:!0,draggable:!0,toolbarButtons:e?.toolbarButtons||b.defaultOptions.filebrowser.buttons,buttons:L.atom(["filebrowser.settings","fullsize","dialog.close"])}),b.defaultOptions.filebrowser)),this.dataProvider=M(this,this.options),this.state=P({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1}),this.persistent=new _(this,this.state),this.loadingManager=new C(this,this.state),this.stateManager=new B(this.state),this.historyManager=new E(this,this.state),this.contextMenuManager=new F(this),this.header=new O(this,this.options,this.stateManager),this.panel=new x(this,this.stateManager),this.files=this.panel,this.tree=this.panel,N.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress((e=>{0===e&&(e=30),this.state.progress=e})),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),L.prototype.afterInitHook.call(this)}addDisclaimer(e){this.dialog.appendChild(e)}async open(e=this.o.defaultCallback,t){return this.state.onlyImages=Boolean(t),this.prepareOpening(e),super.open(this.panel.container),this.e.fire("update.filebrowser")}onResizeWindow(){u(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){const{currentPath:e,currentSource:t}=this.state;this.uploader.setPath(e),this.uploader.setSource(t)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(e){this.registerGlobalListeners(),e&&(this.state.onSelectCallBack=t=>{this.close(),e(t)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(e){const{activeElement:t}=this.od;if(!this.state.activeElements.length||!t||!y.isOrContains(this.panel.items.container,t))return;const h=this.state.elements;switch(e.key){case r:return this.onChooseItems();case s:return this.onFileRemove();case a:case o:case i:case n:{const t=e.key===a||e.key===i,s=this.state.lastSelectedIndex;let r;if([a,o].includes(e.key))r=t?h[s+1]?s+1:0:h[s-1]?s-1:h.length-1;else{const{countInRow:e}=this.panel;r=Math.round(((s+1)/e+(t?1:-1))*e-1)}return h[r]&&this.stateManager.addActive(h[r],e.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",(e=>{e&&this.__itemsRemove(this.state.activeElements)})).bindDestruct(this)}__itemsRemove(e){if(!e.length)return Promise.resolve();const t=[];return e.forEach((e=>{t.push("folder"===e.type?this.__folderRemove(S(e.path),e.name??"",e.sourceName):this.__removeFile(e.file||e.name||"",e.sourceName))})),this.state.activeElements.forEach((e=>{this.stateManager.isFavorite(e)&&this.stateManager.toggleFavorite(e)})),this.state.activeElements=[],Promise.allSettled(t).then((()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()])))}__removeFile(e,t){return this.dataProvider.fileRemove(this.state.currentPath,e,t).then((t=>{this.status(t||this.i18n('File "%s" was deleted',e),!0)})).catch(this.status)}__folderRemove(e,t,s){return this.dataProvider.folderRemove(e,t,s).then((i=>{this.status(i||this.i18n('Folder "%s" was deleted',t),!0),this.state.currentPath===e&&(this.state.currentPath=S(e),this.state.currentSource=s)})).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){const[e]=this.state.activeElements;j.call(this,e.fileURL,e.file||"",e.path,e.sourceName,void 0,this.status)}}onFolderRename(e){this.prompt("Enter new name","Rename",(t=>{if(!w(t)||t===e.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename(S(e.path),e.name,t,e.sourceName).then((s=>{this.state.activeElements=[],this.status(s,!0),this.state.currentPath=S(e.path)+"/"+t,this.state.currentSource=e.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()})).catch(this.status)}),this.i18n("type name"),e.name).bindDestruct(this)}onFolderRemove(e){this.confirm("Are you sure?","Delete",(t=>{t&&this.__itemsRemove([{type:"folder",name:e.name,path:e.path,sourceName:e.sourceName}])})).bindDestruct(this)}onFolderCreate(e){this.prompt("Enter Directory name","Create directory",(t=>{const s=e.path||"/";this.dataProvider.createFolder(t,e.path||"/",e.sourceName).then((()=>{this.state.currentSource===e.sourceName&&this.state.currentPath===s?this.e.fire("update.filebrowser"):(this.state.currentSource=e.sourceName,this.state.currentPath=s),this.historyManager.updateCurrent()}),this.status)}),this.i18n("type name")).bindDestruct(this)}onFileRename(e){const t=e.file||e.name||"";1===this.state.activeElements.length&&t&&this.prompt("Enter new name","Rename",(e=>{if(!w(e))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,t,e,this.state.currentSource).then((e=>{this.state.activeElements=[],this.status(e,!0),this.loadingManager.loadItems()})).catch(this.status)}),this.i18n("type name"),t).bindDestruct(this)}onChooseItems(){const e=this.stateManager.state.activeElements;if(e.length){if("folder"===e[0].type)return this.state.currentPath=this.state.currentPath+"/"+e[0].name,this.state.currentSource=e[0].sourceName,void this.e.fire("afterOpenFolder.filebrowser");this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(e[0])}}onOpenLightBox(e){k.open(this,e,this.state.elements)}initUploader(){const e=this,t=d(e.o.uploader||{},b.defaultOptions.uploader),uploadHandler=()=>this.loadingManager.loadItems();e.uploader=e.getInstance("Uploader",t),e.uploader.bind(e.panel.container,uploadHandler,e.status),e.e.on("bindUploader.filebrowser",(t=>{e.uploader.bind(t,uploadHandler,e.status)}))}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((e=>{null!=this.options[e]&&(this.options[e]=d(this.options[e],this.o.ajax))}))}};e([h],D.prototype,"status",null),e([l],D.prototype,"progressbar",null),e([p(":resize",{context:window})],D.prototype,"onResizeWindow",null),e([p(["state.currentPath","state.currentSource"])],D.prototype,"onChangePath",null),e([p("state.theme")],D.prototype,"onChangeTheme",null),e([p(":toggleSettings.filebrowser")],D.prototype,"onToggleSettings",null),e([h],D.prototype,"onKeyPress",null),e([h],D.prototype,"removeGlobalListeners",null),e([p(":fileRemove.filebrowser")],D.prototype,"onFileRemove",null),e([p(":edit.filebrowser")],D.prototype,"onFileEdit",null),e([p(":folderRename.filebrowser")],D.prototype,"onFolderRename",null),e([p(":folderRemove.filebrowser")],D.prototype,"onFolderRemove",null),e([p(":folderCreate.filebrowser")],D.prototype,"onFolderCreate",null),e([p(":fileRename.filebrowser")],D.prototype,"onFileRename",null),e([p(":select.filebrowser")],D.prototype,"onChooseItems",null),e([p(":openLightBox.filebrowser")],D.prototype,"onOpenLightBox",null),D=e([m,c(v)],D);export{D as FileBrowserPro};Object.defineProperty(L.modules,"FileBrowserPro",{value:D,writable:!1,enumerable:!0,configurable:!0});
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export {};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{extendLang as e}from"../../core/global.js";import{Config as o}from"../../config.js";import*as r from"./langs/index.js";const i=o.prototype.controls.filebrowser;i.settings={icon:"settings",tooltip:"Settings",exec:e=>{(e.parent??e).e.fire("toggleSettings.filebrowser")}},i.home={icon:"home",tooltip:"Home",exec:e=>{e.e.fire("goHome.filebrowser")}},i.preview={icon:"eye",tooltip:"Preview",isDisabled:e=>0===e.state.activeElements.length,exec:e=>{e.e.fire("togglePreview.filebrowser")}},i.next={icon:"angle-right",tooltip:"History next",isDisabled:e=>!e.historyManager.canNext(),exec:e=>{e.historyManager.next()}},i.previous={icon:"angle-left",tooltip:"History previous",isDisabled:e=>!e.historyManager.canPrevious(),exec:e=>{e.historyManager.previous()}},i["new-folder"]={icon:"new-folder",exec:e=>{e.e.fire("folderCreate.filebrowser",{path:e.state.currentPath,sourceName:e.state.currentSource})},tooltip:"New folder"},Object.assign(o.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="}),e(r);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IJodit } from "../../types";
7
7
  import { Plugin } from "../../core/plugin";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import{Plugin as e}from"../../core/plugin.js";import"./config.js";import{FileBrowserPro as t}from"./browser.js";import{JoditPro as r}from"../../jodit-pro.js";export class finder extends e{constructor(){super(...arguments),this.hasStyle=!r.fatMode}afterInit(e){e.e.on("getInstanceFileBrowser",(e=>(this.__instance||(this.__instance=new t(e)),this.__instance)))}beforeDestruct(e){e.e.off("getInstanceFileBrowser"),this.__instance?.destruct()}}finder.requires=["license"],r.plugins.add("finder",finder);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import type { IFileBrowserItemWrapper } from "../../../types";
7
7
  import { ViewComponent } from "../../../core/component/view-component";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var e=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,l=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(r<3?i(l):r>3?i(t,o,l):i(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l};import{ViewComponent as t}from"../../../core/component/view-component.js";import{component as o,watch as n}from"../../../core/decorators.js";import{makeContextMenu as i}from"../../../modules/file-browser/factories.js";let r=class ContextMenuManager extends t{className(){return"ContextMenuManager"}onFolderContext(e,t){return this.buildContextItemMenu(this.getFolderContextActions(e),t),!1}onItemContext(e,t,o){return this.buildContextItemMenu(this.getItemContextActions(e),o),!1}onSourceContext(e,t){return this.buildContextItemMenu(this.getSourceContextActions(e),t),!1}buildContextItemMenu(e,t){if(!this.j.o.contextMenu)return;const o=i(this.j).setMod("theme",this.j.state.theme);o.show(t.clientX,t.clientY,e.filter((e=>e&&!1!==e.enabled))),this.j.e.on(this.j,"afterClose",(()=>{o.isOpened&&o.close()}))}getItemContextActions(e){if(this.j.stateManager.isActive(e)||this.j.stateManager.addActive(e,this.j.state.activeElements.length>1),"folder"===e.type)return this.getFolderContextActions({type:"directory",children:[],name:e.name||"",path:e.path,sourceName:e.sourceName});const t=this.j.options,o=this.j.dataProvider,n=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:Boolean(e.isImage)&&t.editImage&&n&&(o.canI("ImageResize")||o.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:o.canI("FileRename")&&n,exec:()=>this.j.e.fire("fileRename.filebrowser",e)},{icon:"bin",title:"Delete",enabled:o.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",e)},{icon:"eye",title:"Preview",enabled:Boolean(e.isImage||"file"===e.type)&&t.preview&&n,exec:()=>this.j.e.fire("openLightBox.filebrowser",e)},{icon:"upload",title:"Download",exec:()=>{e.fileURL&&this.j.ow.open(e.fileURL)}}]}getFolderContextActions(e){const t=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",e)},enabled:t.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",e)},enabled:t.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)},enabled:t.canI("FolderCreate")}]}getSourceContextActions(e){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)}}]}};e([n(":contextmenuFolder.filebrowser")],r.prototype,"onFolderContext",null),e([n(":contextmenuItem.filebrowser")],r.prototype,"onItemContext",null),e([n(":contextmenuSource.filebrowser")],r.prototype,"onSourceContext",null),r=e([o],r);export{r as ContextMenuManager};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export declare const parentPath: (path: string) => string;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  export const parentPath=t=>{const n=t.split("/").filter((t=>t.length));return n.pop(),n.join("/")||"/"};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  import { ViewComponent } from "../../../core/component/view-component";
7
7
  import type { IFileBrowserStatePro, IHistoryItem, IHistoryManager } from "../interface";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3
3
  * See LICENSE.md in the project root for license information.
4
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
5
5
  */
6
6
  var t=this&&this.__decorate||function(t,e,r,s){var o,i=arguments.length,n=i<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 h=t.length-1;h>=0;h--)(o=t[h])&&(n=(i<3?o(n):i>3?o(e,r,n):o(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n};import{ViewComponent as e}from"../../../core/component/view-component.js";import{component as r,watch as s}from"../../../core/decorators.js";import{fastClone as o}from"../../../core/helpers/utils/extend.js";let i=class HistoryManager extends e{className(){return"HistoryManager"}constructor(t,e){super(t),this.state=e,this.history=[],this.historyIndex=0}canNext(){return this.historyIndex<this.history.length-1}canPrevious(){return this.historyIndex>0}push(t){let{historyIndex:e}=this;const r=this.history[e];if(r&&r.currentSource===t.currentSource&&r.currentPath===t.currentPath)return;let s=[...this.history];s.length-1!==e&&(s=s.slice(0,e+1)),s.push(t),r&&(e+=1),this.history=s,this.historyIndex=e}next(){this.canNext()&&(this.historyIndex+=1,this.updateState())}previous(){this.canPrevious()&&(this.historyIndex-=1,this.updateState())}updateCurrent(){this.history[this.historyIndex]={currentSource:this.state.currentSource,currentPath:this.state.currentPath,tree:o(this.state.tree),elements:[...this.state.elements]}}onHome(){this.state.currentPath="",this.state.currentSource="",this.j.e.fire("afterOpenFolder.filebrowser update.filebrowser")}onOpenFolder(){this.push({tree:[],elements:[],currentPath:this.state.currentPath,currentSource:this.state.currentSource}),this.j.e.fire("changeSelection")}updateState(){const{tree:t,elements:e,currentSource:r,currentPath:s}=this.history[this.historyIndex];this.state.activeElements=[],this.state.elements=[...e],this.state.tree=[...t],this.state.currentSource=r,this.state.currentPath=s,this.j.e.fire("changeSelection")}};t([s(["state.elements","state.tree"])],i.prototype,"updateCurrent",null),t([s(":goHome.filebrowser")],i.prototype,"onHome",null),t([s(":afterOpenFolder.filebrowser")],i.prototype,"onOpenFolder",null),i=t([r],i);export{i as HistoryManager};