jodit-pro 4.9.25 → 4.9.30

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 (327) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/config.js +1 -0
  3. package/es2015/jodit.css +1 -1
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +12 -12
  6. package/es2015/jodit.js +176 -76
  7. package/es2015/jodit.min.js +5 -5
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  9. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  10. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  11. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  12. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  13. package/es2015/plugins/backup/backup.css +1 -1
  14. package/es2015/plugins/backup/backup.js +1 -1
  15. package/es2015/plugins/backup/backup.min.js +1 -1
  16. package/es2015/plugins/button-generator/button-generator.css +1 -1
  17. package/es2015/plugins/button-generator/button-generator.js +1 -1
  18. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  19. package/es2015/plugins/change-case/change-case.js +1 -1
  20. package/es2015/plugins/change-case/change-case.min.js +1 -1
  21. package/es2015/plugins/color-picker/color-picker.css +1 -1
  22. package/es2015/plugins/color-picker/color-picker.js +1 -1
  23. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  24. package/es2015/plugins/emoji/emoji.css +1 -1
  25. package/es2015/plugins/emoji/emoji.js +1 -1
  26. package/es2015/plugins/emoji/emoji.min.js +1 -1
  27. package/es2015/plugins/export-docs/export-docs.js +1 -1
  28. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  29. package/es2015/plugins/finder/finder.css +1 -1
  30. package/es2015/plugins/finder/finder.js +1 -1
  31. package/es2015/plugins/finder/finder.min.js +1 -1
  32. package/es2015/plugins/google-maps/google-maps.css +1 -1
  33. package/es2015/plugins/google-maps/google-maps.js +1 -1
  34. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  35. package/es2015/plugins/google-search/google-search.js +1 -1
  36. package/es2015/plugins/google-search/google-search.min.js +1 -1
  37. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  38. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  41. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  42. package/es2015/plugins/keyboard/keyboard.css +1 -1
  43. package/es2015/plugins/keyboard/keyboard.js +1 -1
  44. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  45. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  46. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  47. package/es2015/plugins/page-break/page-break.js +1 -1
  48. package/es2015/plugins/page-break/page-break.min.js +1 -1
  49. package/es2015/plugins/paste-code/paste-code.css +1 -1
  50. package/es2015/plugins/paste-code/paste-code.js +1 -1
  51. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  52. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  53. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  54. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  55. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  56. package/es2015/plugins/style/style.css +1 -1
  57. package/es2015/plugins/style/style.js +1 -1
  58. package/es2015/plugins/style/style.min.js +1 -1
  59. package/es2015/plugins/templates/templates.css +82 -0
  60. package/es2015/plugins/templates/templates.js +178 -0
  61. package/es2015/plugins/templates/templates.min.css +1 -0
  62. package/es2015/plugins/templates/templates.min.js +8 -0
  63. package/es2015/plugins/todo-list/todo-list.css +1 -1
  64. package/es2015/plugins/todo-list/todo-list.js +1 -1
  65. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  66. package/es2015/plugins/translate/translate.css +1 -1
  67. package/es2015/plugins/translate/translate.js +1 -1
  68. package/es2015/plugins/translate/translate.min.js +1 -1
  69. package/es2015/plugins/tune-block/tune-block.css +1 -1
  70. package/es2015/plugins/tune-block/tune-block.js +1 -1
  71. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  72. package/es2018/jodit.fat.min.css +1 -1
  73. package/es2018/jodit.fat.min.js +12 -12
  74. package/es2018/jodit.min.js +16 -16
  75. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  76. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  77. package/es2018/plugins/backup/backup.min.js +1 -1
  78. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  79. package/es2018/plugins/change-case/change-case.min.js +1 -1
  80. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  81. package/es2018/plugins/emoji/emoji.min.js +1 -1
  82. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +1 -1
  84. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  85. package/es2018/plugins/google-search/google-search.min.js +1 -1
  86. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  87. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  88. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  89. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  90. package/es2018/plugins/page-break/page-break.min.js +1 -1
  91. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  92. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  93. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  94. package/es2018/plugins/style/style.min.js +1 -1
  95. package/es2018/plugins/templates/templates.min.css +1 -0
  96. package/es2018/plugins/templates/templates.min.js +8 -0
  97. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  98. package/es2018/plugins/translate/translate.min.js +1 -1
  99. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  100. package/es2021/jodit.css +1 -1
  101. package/es2021/jodit.fat.min.css +1 -1
  102. package/es2021/jodit.fat.min.js +12 -12
  103. package/es2021/jodit.js +176 -76
  104. package/es2021/jodit.min.js +24 -24
  105. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  106. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  107. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  108. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  109. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  110. package/es2021/plugins/backup/backup.css +1 -1
  111. package/es2021/plugins/backup/backup.js +1 -1
  112. package/es2021/plugins/backup/backup.min.js +1 -1
  113. package/es2021/plugins/button-generator/button-generator.css +1 -1
  114. package/es2021/plugins/button-generator/button-generator.js +1 -1
  115. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  116. package/es2021/plugins/change-case/change-case.js +1 -1
  117. package/es2021/plugins/change-case/change-case.min.js +1 -1
  118. package/es2021/plugins/color-picker/color-picker.css +1 -1
  119. package/es2021/plugins/color-picker/color-picker.js +1 -1
  120. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  121. package/es2021/plugins/emoji/emoji.css +1 -1
  122. package/es2021/plugins/emoji/emoji.js +1 -1
  123. package/es2021/plugins/emoji/emoji.min.js +1 -1
  124. package/es2021/plugins/export-docs/export-docs.js +1 -1
  125. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  126. package/es2021/plugins/finder/finder.css +1 -1
  127. package/es2021/plugins/finder/finder.js +1 -1
  128. package/es2021/plugins/finder/finder.min.js +1 -1
  129. package/es2021/plugins/google-maps/google-maps.css +1 -1
  130. package/es2021/plugins/google-maps/google-maps.js +1 -1
  131. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  132. package/es2021/plugins/google-search/google-search.js +1 -1
  133. package/es2021/plugins/google-search/google-search.min.js +1 -1
  134. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  135. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  136. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  137. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  138. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  139. package/es2021/plugins/keyboard/keyboard.css +1 -1
  140. package/es2021/plugins/keyboard/keyboard.js +1 -1
  141. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  142. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  143. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  144. package/es2021/plugins/page-break/page-break.js +1 -1
  145. package/es2021/plugins/page-break/page-break.min.js +1 -1
  146. package/es2021/plugins/paste-code/paste-code.css +1 -1
  147. package/es2021/plugins/paste-code/paste-code.js +1 -1
  148. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  149. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  150. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  151. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  152. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  153. package/es2021/plugins/style/style.css +1 -1
  154. package/es2021/plugins/style/style.js +1 -1
  155. package/es2021/plugins/style/style.min.js +1 -1
  156. package/es2021/plugins/templates/templates.css +82 -0
  157. package/es2021/plugins/templates/templates.js +178 -0
  158. package/es2021/plugins/templates/templates.min.css +1 -0
  159. package/es2021/plugins/templates/templates.min.js +8 -0
  160. package/es2021/plugins/todo-list/todo-list.css +1 -1
  161. package/es2021/plugins/todo-list/todo-list.js +1 -1
  162. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  163. package/es2021/plugins/translate/translate.css +1 -1
  164. package/es2021/plugins/translate/translate.js +1 -1
  165. package/es2021/plugins/translate/translate.min.js +1 -1
  166. package/es2021/plugins/tune-block/tune-block.css +1 -1
  167. package/es2021/plugins/tune-block/tune-block.js +1 -1
  168. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  169. package/es2021.en/jodit.css +1 -1
  170. package/es2021.en/jodit.fat.min.css +1 -1
  171. package/es2021.en/jodit.fat.min.js +12 -12
  172. package/es2021.en/jodit.js +176 -76
  173. package/es2021.en/jodit.min.js +6 -6
  174. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  175. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  176. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  177. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  178. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  179. package/es2021.en/plugins/backup/backup.css +1 -1
  180. package/es2021.en/plugins/backup/backup.js +1 -1
  181. package/es2021.en/plugins/backup/backup.min.js +1 -1
  182. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  183. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  185. package/es2021.en/plugins/change-case/change-case.js +1 -1
  186. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  187. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  188. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  190. package/es2021.en/plugins/emoji/emoji.css +1 -1
  191. package/es2021.en/plugins/emoji/emoji.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  193. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  194. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  195. package/es2021.en/plugins/finder/finder.css +1 -1
  196. package/es2021.en/plugins/finder/finder.js +1 -1
  197. package/es2021.en/plugins/finder/finder.min.js +1 -1
  198. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  199. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  201. package/es2021.en/plugins/google-search/google-search.js +1 -1
  202. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  203. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  204. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  205. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  206. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  208. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  209. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  211. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  212. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  213. package/es2021.en/plugins/page-break/page-break.js +1 -1
  214. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  215. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  216. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  218. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  219. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  220. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  221. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  222. package/es2021.en/plugins/style/style.css +1 -1
  223. package/es2021.en/plugins/style/style.js +1 -1
  224. package/es2021.en/plugins/style/style.min.js +1 -1
  225. package/es2021.en/plugins/templates/templates.css +82 -0
  226. package/es2021.en/plugins/templates/templates.js +178 -0
  227. package/es2021.en/plugins/templates/templates.min.css +1 -0
  228. package/es2021.en/plugins/templates/templates.min.js +8 -0
  229. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  230. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  231. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  232. package/es2021.en/plugins/translate/translate.css +1 -1
  233. package/es2021.en/plugins/translate/translate.js +1 -1
  234. package/es2021.en/plugins/translate/translate.min.js +1 -1
  235. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  236. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  237. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  238. package/es5/jodit.css +2 -2
  239. package/es5/jodit.fat.min.css +1 -1
  240. package/es5/jodit.fat.min.js +2 -2
  241. package/es5/jodit.js +187 -80
  242. package/es5/jodit.min.css +2 -2
  243. package/es5/jodit.min.js +2 -2
  244. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  245. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  246. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  247. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  248. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  249. package/es5/plugins/backup/backup.css +1 -1
  250. package/es5/plugins/backup/backup.js +1 -1
  251. package/es5/plugins/backup/backup.min.js +1 -1
  252. package/es5/plugins/button-generator/button-generator.css +1 -1
  253. package/es5/plugins/button-generator/button-generator.js +1 -1
  254. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  255. package/es5/plugins/change-case/change-case.js +1 -1
  256. package/es5/plugins/change-case/change-case.min.js +1 -1
  257. package/es5/plugins/color-picker/color-picker.css +1 -1
  258. package/es5/plugins/color-picker/color-picker.js +1 -1
  259. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  260. package/es5/plugins/emoji/emoji.css +1 -1
  261. package/es5/plugins/emoji/emoji.js +1 -1
  262. package/es5/plugins/emoji/emoji.min.js +1 -1
  263. package/es5/plugins/export-docs/export-docs.js +1 -1
  264. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  265. package/es5/plugins/finder/finder.css +1 -1
  266. package/es5/plugins/finder/finder.js +1 -1
  267. package/es5/plugins/finder/finder.min.js +1 -1
  268. package/es5/plugins/google-maps/google-maps.css +1 -1
  269. package/es5/plugins/google-maps/google-maps.js +1 -1
  270. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  271. package/es5/plugins/google-search/google-search.js +1 -1
  272. package/es5/plugins/google-search/google-search.min.js +1 -1
  273. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  274. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  275. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  276. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  277. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  278. package/es5/plugins/keyboard/keyboard.css +1 -1
  279. package/es5/plugins/keyboard/keyboard.js +1 -1
  280. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  281. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  282. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  283. package/es5/plugins/page-break/page-break.js +1 -1
  284. package/es5/plugins/page-break/page-break.min.js +1 -1
  285. package/es5/plugins/paste-code/paste-code.css +1 -1
  286. package/es5/plugins/paste-code/paste-code.js +1 -1
  287. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  288. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  289. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  290. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  291. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  292. package/es5/plugins/style/style.css +1 -1
  293. package/es5/plugins/style/style.js +1 -1
  294. package/es5/plugins/style/style.min.js +1 -1
  295. package/es5/plugins/templates/templates.css +82 -0
  296. package/es5/plugins/templates/templates.js +220 -0
  297. package/es5/plugins/templates/templates.min.css +1 -0
  298. package/es5/plugins/templates/templates.min.js +8 -0
  299. package/es5/plugins/todo-list/todo-list.css +1 -1
  300. package/es5/plugins/todo-list/todo-list.js +1 -1
  301. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  302. package/es5/plugins/translate/translate.css +1 -1
  303. package/es5/plugins/translate/translate.js +1 -1
  304. package/es5/plugins/translate/translate.min.js +1 -1
  305. package/es5/plugins/tune-block/tune-block.css +1 -1
  306. package/es5/plugins/tune-block/tune-block.js +1 -1
  307. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  308. package/es5/polyfills.fat.min.js +1 -1
  309. package/es5/polyfills.js +1 -1
  310. package/es5/polyfills.min.js +1 -1
  311. package/esm/config.d.ts +6 -0
  312. package/esm/plugins/all.js +1 -1
  313. package/esm/plugins/templates/config.d.ts +13 -0
  314. package/esm/plugins/templates/config.js +1 -0
  315. package/esm/plugins/templates/icon.svg.js +1 -0
  316. package/esm/plugins/templates/interface.d.ts +11 -0
  317. package/esm/plugins/templates/interface.js +0 -0
  318. package/esm/plugins/templates/templates.d.ts +18 -0
  319. package/esm/plugins/templates/templates.js +1 -0
  320. package/esm/plugins/templates/ui/templates-popup.d.ts +8 -0
  321. package/esm/plugins/templates/ui/templates-popup.js +1 -0
  322. package/package.json +1 -1
  323. package/types/config.d.ts +6 -0
  324. package/types/plugins/templates/config.d.ts +13 -0
  325. package/types/plugins/templates/interface.d.ts +11 -0
  326. package/types/plugins/templates/templates.d.ts +18 -0
  327. package/types/plugins/templates/ui/templates-popup.d.ts +8 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.25
4
+ * Version: v4.9.30
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -7340,14 +7340,30 @@ ToolbarCollection = __decorate([
7340
7340
  /* harmony export */ "default": function() { return /* binding */ DataProvider; }
7341
7341
  /* harmony export */ });
7342
7342
  /* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
7343
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
7344
- /* harmony import */ var _core_request_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41601);
7345
- /* harmony import */ var _builders_item_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(159);
7343
+ /* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
7344
+ /* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23282);
7345
+ /* harmony import */ var _core_helpers_normalize_normalize_relative_path_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70091);
7346
+ /* harmony import */ var _core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68934);
7347
+ /* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(89890);
7348
+ /* harmony import */ var _core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3703);
7349
+ /* harmony import */ var _core_request_ajax_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54079);
7350
+ /* harmony import */ var _builders_item_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(159);
7346
7351
  /*!
7347
7352
  * Jodit Editor (https://xdsoft.net/jodit/)
7348
7353
  * Released under MIT see LICENSE.txt in the project root for license information.
7349
7354
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
7350
- */
7355
+ */ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
7356
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7357
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7358
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7359
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7360
+ };
7361
+
7362
+
7363
+
7364
+
7365
+
7366
+
7351
7367
 
7352
7368
 
7353
7369
 
@@ -7380,13 +7396,13 @@ class DataProvider {
7380
7396
  ajax === null || ajax === void 0 ? void 0 : ajax.abort();
7381
7397
  instances.delete(name);
7382
7398
  }
7383
- const opts = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(this.options[name] !== undefined ? this.options[name] : {}, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)({
7399
+ const opts = (0,_core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)(this.options[name] !== undefined ? this.options[name] : {}, (0,_core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)({
7384
7400
  onProgress: this.progressHandler
7385
7401
  }, this.o.ajax));
7386
7402
  if (opts.prepareData) {
7387
7403
  opts.data = opts.prepareData.call(this, opts.data);
7388
7404
  }
7389
- const ajax = new _core_request_index_js__WEBPACK_IMPORTED_MODULE_2__.Ajax(opts);
7405
+ const ajax = new _core_request_ajax_js__WEBPACK_IMPORTED_MODULE_7__.Ajax(opts);
7390
7406
  instances.set(name, ajax);
7391
7407
  const promise = ajax.send();
7392
7408
  promise.finally(()=>{
@@ -7415,7 +7431,7 @@ class DataProvider {
7415
7431
  if (this.o.permissions.url) {
7416
7432
  return this.get('permissions').then((resp)=>{
7417
7433
  if (this.parent.isInDestruct) {
7418
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.abort)();
7434
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.abort)();
7419
7435
  }
7420
7436
  let process = this.o.permissions.process;
7421
7437
  if (!process) {
@@ -7437,7 +7453,7 @@ class DataProvider {
7437
7453
  const rule = 'allow' + action;
7438
7454
  if (!_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
7439
7455
  if (!possibleRules.has(rule)) {
7440
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Wrong action ' + action);
7456
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Wrong action ' + action);
7441
7457
  }
7442
7458
  }
7443
7459
  const presetValue = this.o.permissionsPresets[rule];
@@ -7468,18 +7484,18 @@ class DataProvider {
7468
7484
  /**
7469
7485
  * Load items list by path and source
7470
7486
  */ items(path, source, mods = {}) {
7471
- return this.__items(path, source, mods, (resp)=>this.generateItemsList(resp.data.sources, mods));
7487
+ return this.__items(path, source, mods, (resp)=>this.__generateItemsList(resp.data.sources, mods));
7472
7488
  }
7473
7489
  /**
7474
7490
  * Load items list by path and source
7475
7491
  */ itemsEx(path, source, mods = {}) {
7476
7492
  const calcTotal = (sources)=>sources.reduce((acc, source)=>acc + source.files.length, 0);
7477
7493
  return this.__items(path, source, mods, (resp)=>({
7478
- items: this.generateItemsList(resp.data.sources, mods),
7494
+ items: this.__generateItemsList(resp.data.sources, mods),
7479
7495
  loadedTotal: calcTotal(resp.data.sources)
7480
7496
  }));
7481
7497
  }
7482
- generateItemsList(sources, mods = {}) {
7498
+ __generateItemsList(sources, mods = {}) {
7483
7499
  const elements = [];
7484
7500
  const canBeFile = (item)=>item.type === 'folder' || !mods.onlyImages || item.isImage === undefined || item.isImage;
7485
7501
  const inFilter = (item)=>{
@@ -7489,12 +7505,12 @@ class DataProvider {
7489
7505
  sources.forEach((source)=>{
7490
7506
  if (source.files && source.files.length) {
7491
7507
  const { sort } = this.o;
7492
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(sort) && mods.sortBy) {
7508
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(sort) && mods.sortBy) {
7493
7509
  source.files.sort((a, b)=>sort(a, b, mods.sortBy));
7494
7510
  }
7495
7511
  source.files.forEach((item)=>{
7496
7512
  if (inFilter(item) && canBeFile(item)) {
7497
- elements.push(_builders_item_js__WEBPACK_IMPORTED_MODULE_3__.FileBrowserItem.create({
7513
+ elements.push(_builders_item_js__WEBPACK_IMPORTED_MODULE_8__.FileBrowserItem.create({
7498
7514
  ...item,
7499
7515
  sourceName: source.name,
7500
7516
  source
@@ -7506,7 +7522,7 @@ class DataProvider {
7506
7522
  return elements;
7507
7523
  }
7508
7524
  async tree(path, source) {
7509
- path = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.normalizeRelativePath)(path);
7525
+ path = (0,_core_helpers_normalize_normalize_relative_path_js__WEBPACK_IMPORTED_MODULE_3__.normalizeRelativePath)(path);
7510
7526
  if (!this.o.folder) {
7511
7527
  return Promise.reject(Error('Set Folder Api options'));
7512
7528
  }
@@ -7527,12 +7543,12 @@ class DataProvider {
7527
7543
  /**
7528
7544
  * Get path by url. You can use this method in another modules
7529
7545
  */ getPathByUrl(url) {
7530
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.set)('options.getLocalFileByUrl.data.url', url, this);
7546
+ (0,_core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_6__.set)('options.getLocalFileByUrl.data.url', url, this);
7531
7547
  return this.get('getLocalFileByUrl').then((resp)=>{
7532
7548
  if (this.isSuccess(resp)) {
7533
7549
  return resp.data;
7534
7550
  }
7535
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(this.getMessage(resp));
7551
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(this.getMessage(resp));
7536
7552
  });
7537
7553
  }
7538
7554
  /**
@@ -7544,7 +7560,7 @@ class DataProvider {
7544
7560
  */ createFolder(name, path, source) {
7545
7561
  const { create } = this.o;
7546
7562
  if (!create) {
7547
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Set Create api options');
7563
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set Create api options');
7548
7564
  }
7549
7565
  create.data.source = source;
7550
7566
  create.data.path = path;
@@ -7553,7 +7569,7 @@ class DataProvider {
7553
7569
  if (this.isSuccess(resp)) {
7554
7570
  return true;
7555
7571
  }
7556
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(this.getMessage(resp));
7572
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(this.getMessage(resp));
7557
7573
  });
7558
7574
  }
7559
7575
  /**
@@ -7565,7 +7581,7 @@ class DataProvider {
7565
7581
  const mode = isFile ? 'fileMove' : 'folderMove';
7566
7582
  const option = this.options[mode];
7567
7583
  if (!option) {
7568
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Set Move api options');
7584
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set Move api options');
7569
7585
  }
7570
7586
  option.data.from = filepath;
7571
7587
  option.data.path = path;
@@ -7574,7 +7590,7 @@ class DataProvider {
7574
7590
  if (this.isSuccess(resp)) {
7575
7591
  return true;
7576
7592
  }
7577
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(this.getMessage(resp));
7593
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(this.getMessage(resp));
7578
7594
  });
7579
7595
  }
7580
7596
  /**
@@ -7583,10 +7599,10 @@ class DataProvider {
7583
7599
  * @param path - Relative path
7584
7600
  * @param file - The filename
7585
7601
  * @param source - Source
7586
- */ remove(action, path, file, source) {
7602
+ */ __remove(action, path, file, source) {
7587
7603
  const fr = this.o[action];
7588
7604
  if (!fr) {
7589
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(`Set "${action}" api options`);
7605
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(`Set "${action}" api options`);
7590
7606
  }
7591
7607
  fr.data.path = path;
7592
7608
  fr.data.name = file;
@@ -7605,7 +7621,7 @@ class DataProvider {
7605
7621
  * @param file - The filename
7606
7622
  * @param source - Source
7607
7623
  */ fileRemove(path, file, source) {
7608
- return this.remove('fileRemove', path, file, source);
7624
+ return this.__remove('fileRemove', path, file, source);
7609
7625
  }
7610
7626
  /**
7611
7627
  * Deleting a folder
@@ -7614,7 +7630,7 @@ class DataProvider {
7614
7630
  * @param file - The filename
7615
7631
  * @param source - Source
7616
7632
  */ folderRemove(path, file, source) {
7617
- return this.remove('folderRemove', path, file, source);
7633
+ return this.__remove('folderRemove', path, file, source);
7618
7634
  }
7619
7635
  /**
7620
7636
  * Rename action
@@ -7623,10 +7639,10 @@ class DataProvider {
7623
7639
  * @param name - Old name
7624
7640
  * @param newname - New name
7625
7641
  * @param source - Source
7626
- */ rename(action, path, name, newname, source) {
7642
+ */ __rename(action, path, name, newname, source) {
7627
7643
  const fr = this.o[action];
7628
7644
  if (!fr) {
7629
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(`Set "${action}" api options`);
7645
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(`Set "${action}" api options`);
7630
7646
  }
7631
7647
  fr.data.path = path;
7632
7648
  fr.data.name = name;
@@ -7642,14 +7658,14 @@ class DataProvider {
7642
7658
  /**
7643
7659
  * Rename folder
7644
7660
  */ folderRename(path, name, newname, source) {
7645
- return this.rename('folderRename', path, name, newname, source);
7661
+ return this.__rename('folderRename', path, name, newname, source);
7646
7662
  }
7647
7663
  /**
7648
7664
  * Rename file
7649
7665
  */ fileRename(path, name, newname, source) {
7650
- return this.rename('fileRename', path, name, newname, source);
7666
+ return this.__rename('fileRename', path, name, newname, source);
7651
7667
  }
7652
- changeImage(type, path, source, name, newname, box) {
7668
+ __changeImage(type, path, source, name, newname, box) {
7653
7669
  if (!this.o[type]) {
7654
7670
  this.o[type] = {
7655
7671
  data: {}
@@ -7675,12 +7691,12 @@ class DataProvider {
7675
7691
  /**
7676
7692
  * Send command to server to crop image
7677
7693
  */ crop(path, source, name, newname, box) {
7678
- return this.changeImage('crop', path, source, name, newname, box);
7694
+ return this.__changeImage('crop', path, source, name, newname, box);
7679
7695
  }
7680
7696
  /**
7681
7697
  * Send command to server to resize image
7682
7698
  */ resize(path, source, name, newname, box) {
7683
- return this.changeImage('resize', path, source, name, newname, box);
7699
+ return this.__changeImage('resize', path, source, name, newname, box);
7684
7700
  }
7685
7701
  getMessage(resp) {
7686
7702
  return this.options.getMessage(resp);
@@ -7701,6 +7717,60 @@ class DataProvider {
7701
7717
  }
7702
7718
  }
7703
7719
 
7720
+ __decorate([
7721
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7722
+ ], DataProvider.prototype, "onProgress", null);
7723
+ __decorate([
7724
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7725
+ ], DataProvider.prototype, "permissions", null);
7726
+ __decorate([
7727
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7728
+ ], DataProvider.prototype, "canI", null);
7729
+ __decorate([
7730
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7731
+ ], DataProvider.prototype, "items", null);
7732
+ __decorate([
7733
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7734
+ ], DataProvider.prototype, "itemsEx", null);
7735
+ __decorate([
7736
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7737
+ ], DataProvider.prototype, "tree", null);
7738
+ __decorate([
7739
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7740
+ ], DataProvider.prototype, "getPathByUrl", null);
7741
+ __decorate([
7742
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7743
+ ], DataProvider.prototype, "createFolder", null);
7744
+ __decorate([
7745
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7746
+ ], DataProvider.prototype, "move", null);
7747
+ __decorate([
7748
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7749
+ ], DataProvider.prototype, "fileRemove", null);
7750
+ __decorate([
7751
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7752
+ ], DataProvider.prototype, "folderRemove", null);
7753
+ __decorate([
7754
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7755
+ ], DataProvider.prototype, "folderRename", null);
7756
+ __decorate([
7757
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7758
+ ], DataProvider.prototype, "fileRename", null);
7759
+ __decorate([
7760
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7761
+ ], DataProvider.prototype, "crop", null);
7762
+ __decorate([
7763
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7764
+ ], DataProvider.prototype, "resize", null);
7765
+ __decorate([
7766
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7767
+ ], DataProvider.prototype, "getMessage", null);
7768
+ __decorate([
7769
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7770
+ ], DataProvider.prototype, "isSuccess", null);
7771
+ __decorate([
7772
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7773
+ ], DataProvider.prototype, "destruct", null);
7704
7774
 
7705
7775
 
7706
7776
  /***/ }),
@@ -11787,6 +11857,7 @@ __webpack_require__.r(__webpack_exports__);
11787
11857
  /* harmony export */ buildQuery: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.buildQuery; },
11788
11858
  /* harmony export */ call: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.call; },
11789
11859
  /* harmony export */ callPromise: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.callPromise; },
11860
+ /* harmony export */ callThis: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.callThis; },
11790
11861
  /* harmony export */ camelCase: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.camelCase; },
11791
11862
  /* harmony export */ cleanFromWord: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.cleanFromWord; },
11792
11863
  /* harmony export */ clearAlign: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.clearAlign; },
@@ -20024,6 +20095,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
20024
20095
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20025
20096
  /* harmony export */ call: function() { return /* binding */ call; },
20026
20097
  /* harmony export */ callPromise: function() { return /* binding */ callPromise; },
20098
+ /* harmony export */ callThis: function() { return /* binding */ callThis; },
20027
20099
  /* harmony export */ getDataTransfer: function() { return /* binding */ getDataTransfer; },
20028
20100
  /* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
20029
20101
  /* harmony export */ keys: function() { return /* binding */ keys; },
@@ -20054,6 +20126,17 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
20054
20126
  */ function call(func, ...args) {
20055
20127
  return func(...args);
20056
20128
  }
20129
+ /**
20130
+ * Call function with parameters
20131
+ *
20132
+ * @example
20133
+ * ```js
20134
+ * const f = Math.random();
20135
+ * Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f);
20136
+ * ```
20137
+ */ function callThis(func, thisArg, ...args) {
20138
+ return func.apply(thisArg, args);
20139
+ }
20057
20140
  /**
20058
20141
  * Mark element for debugging
20059
20142
  */ function markOwner(jodit, elm) {
@@ -22503,6 +22586,7 @@ __webpack_require__.r(__webpack_exports__);
22503
22586
  /* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_5__.buildQuery; },
22504
22587
  /* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.call; },
22505
22588
  /* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.callPromise; },
22589
+ /* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.callThis; },
22506
22590
  /* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
22507
22591
  /* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_9__.clearCenterAlign; },
22508
22592
  /* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_18__.cns; },
@@ -24622,11 +24706,16 @@ function trimChars(value, chars) {
24622
24706
  /* harmony import */ var _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91907);
24623
24707
  /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
24624
24708
  /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22732);
24625
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
24626
- /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62843);
24627
- /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
24628
- /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62489);
24629
- /* harmony import */ var _templates_form_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22461);
24709
+ /* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4510);
24710
+ /* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49055);
24711
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
24712
+ /* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41180);
24713
+ /* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
24714
+ /* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(37790);
24715
+ /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62843);
24716
+ /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(6441);
24717
+ /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(62489);
24718
+ /* harmony import */ var _templates_form_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22461);
24630
24719
  /*!
24631
24720
  * Jodit Editor (https://xdsoft.net/jodit/)
24632
24721
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -24646,6 +24735,11 @@ var ImageEditor_1;
24646
24735
 
24647
24736
 
24648
24737
 
24738
+
24739
+
24740
+
24741
+
24742
+
24649
24743
  const jie = 'jodit-image-editor';
24650
24744
  const TABS = {
24651
24745
  resize: 'resize',
@@ -24693,9 +24787,9 @@ const TABS = {
24693
24787
  return this.j.async.promise((resolve)=>{
24694
24788
  const timestamp = new Date().getTime();
24695
24789
  this.image = this.j.c.element('img');
24696
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.$$)('img,.jodit-icon_loader', this.resize_box).forEach(_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove);
24697
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.$$)('img,.jodit-icon_loader', this.crop_box).forEach(_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove);
24698
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, 'background', 'transparent');
24790
+ (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)('img,.jodit-icon_loader', this.resize_box).forEach(_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove);
24791
+ (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)('img,.jodit-icon_loader', this.crop_box).forEach(_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove);
24792
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, 'background', 'transparent');
24699
24793
  this.onSave = save;
24700
24794
  this.resize_box.appendChild(this.j.c.element('i', {
24701
24795
  class: 'jodit-icon_loader'
@@ -24710,7 +24804,7 @@ const TABS = {
24710
24804
  }
24711
24805
  this.image.setAttribute('src', url);
24712
24806
  this._dialog.open();
24713
- const { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
24807
+ const { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
24714
24808
  const onload = ()=>{
24715
24809
  if (this.isDestructed) {
24716
24810
  return;
@@ -24724,7 +24818,7 @@ const TABS = {
24724
24818
  this.resize_box.appendChild(this.image);
24725
24819
  this.cropImage = this.image.cloneNode(true);
24726
24820
  this.crop_box.appendChild(this.cropImage);
24727
- _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove.apply(null, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.$$)('.jodit-icon_loader', this.editor));
24821
+ _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove.apply(null, (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)('.jodit-icon_loader', this.editor));
24728
24822
  if (this.activeTab === TABS.crop) {
24729
24823
  this.showCrop();
24730
24824
  }
@@ -24746,9 +24840,9 @@ const TABS = {
24746
24840
  if (!slide) {
24747
24841
  return;
24748
24842
  }
24749
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.$$)(`.${jie}__slider,.${jie}__area`, self.editor).forEach((elm)=>elm.classList.remove(`${jie}_active`));
24843
+ (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)(`.${jie}__slider,.${jie}__area`, self.editor).forEach((elm)=>elm.classList.remove(`${jie}_active`));
24750
24844
  slide.classList.add(`${jie}_active`);
24751
- this.activeTab = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(slide, '-area') || TABS.resize;
24845
+ this.activeTab = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(slide, '-area') || TABS.resize;
24752
24846
  const tab = self.editor.querySelector(`.${jie}__area.${jie}__area_` + self.activeTab);
24753
24847
  if (tab) {
24754
24848
  tab.classList.add(`${jie}_active`);
@@ -24758,14 +24852,14 @@ const TABS = {
24758
24852
  }
24759
24853
  }
24760
24854
  onChangeSizeInput(e) {
24761
- const self = this, input = e.target, { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor), isWidth = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(input, 'data-ref') === 'widthInput', x = parseInt(input.value, 10), minX = isWidth ? self.o.min_width : self.o.min_height, minY = !isWidth ? self.o.min_width : self.o.min_height;
24855
+ const self = this, input = e.target, { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor), isWidth = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(input, 'data-ref') === 'widthInput', x = parseInt(input.value, 10), minX = isWidth ? self.o.min_width : self.o.min_height, minY = !isWidth ? self.o.min_width : self.o.min_height;
24762
24856
  let y;
24763
24857
  if (x > minX) {
24764
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, isWidth ? 'width' : 'height', x);
24858
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, isWidth ? 'width' : 'height', x);
24765
24859
  if (self.resizeUseRatio) {
24766
24860
  y = isWidth ? Math.round(x / self.ratio) : Math.round(x * self.ratio);
24767
24861
  if (y > minY) {
24768
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, !isWidth ? 'width' : 'height', y);
24862
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, !isWidth ? 'width' : 'height', y);
24769
24863
  if (isWidth) {
24770
24864
  heightInput.value = y.toString();
24771
24865
  } else {
@@ -24785,8 +24879,8 @@ const TABS = {
24785
24879
  self.start_x = e.clientX;
24786
24880
  self.start_y = e.clientY;
24787
24881
  if (self.activeTab === TABS.crop) {
24788
- self.top_x = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'left');
24789
- self.top_y = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'top');
24882
+ self.top_x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left');
24883
+ self.top_y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top');
24790
24884
  self.width = self.cropHandler.offsetWidth;
24791
24885
  self.height = self.cropHandler.offsetHeight;
24792
24886
  } else {
@@ -24807,7 +24901,7 @@ const TABS = {
24807
24901
  if (!self.clicked) {
24808
24902
  return;
24809
24903
  }
24810
- const { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
24904
+ const { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
24811
24905
  self.diff_x = e.clientX - self.start_x;
24812
24906
  self.diff_y = e.clientY - self.start_y;
24813
24907
  if (self.activeTab === TABS.resize && self.resizeUseRatio || self.activeTab === TABS.crop && self.cropUseRatio) {
@@ -24824,11 +24918,11 @@ const TABS = {
24824
24918
  }
24825
24919
  if (self.activeTab === TABS.resize) {
24826
24920
  if (self.new_w > self.o.resizeMinWidth) {
24827
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, 'width', self.new_w + 'px');
24921
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, 'width', self.new_w + 'px');
24828
24922
  widthInput.value = self.new_w.toString();
24829
24923
  }
24830
24924
  if (self.new_h > self.o.resizeMinHeight) {
24831
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, 'height', self.new_h + 'px');
24925
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, 'height', self.new_h + 'px');
24832
24926
  heightInput.value = self.new_h.toString();
24833
24927
  }
24834
24928
  this.j.e.fire(self.resizeHandler, 'updatesize');
@@ -24840,7 +24934,7 @@ const TABS = {
24840
24934
  if (self.top_y + self.new_h > self.cropImage.offsetHeight) {
24841
24935
  self.new_h = self.cropImage.offsetHeight - self.top_y;
24842
24936
  }
24843
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, {
24937
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, {
24844
24938
  width: self.new_w,
24845
24939
  height: self.new_h
24846
24940
  });
@@ -24848,11 +24942,11 @@ const TABS = {
24848
24942
  if (self.top_x + self.diff_x + self.cropHandler.offsetWidth > self.cropImage.offsetWidth) {
24849
24943
  self.diff_x = self.cropImage.offsetWidth - self.top_x - self.cropHandler.offsetWidth;
24850
24944
  }
24851
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
24945
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
24852
24946
  if (self.top_y + self.diff_y + self.cropHandler.offsetHeight > self.cropImage.offsetHeight) {
24853
24947
  self.diff_y = self.cropImage.offsetHeight - self.top_y - self.cropHandler.offsetHeight;
24854
24948
  }
24855
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
24949
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
24856
24950
  }
24857
24951
  this.j.e.fire(self.cropHandler, 'updatesize');
24858
24952
  }
@@ -24913,7 +25007,7 @@ const TABS = {
24913
25007
  wn = nw * (h / nh);
24914
25008
  hn = h;
24915
25009
  }
24916
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.crop_box, {
25010
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.crop_box, {
24917
25011
  width: wn,
24918
25012
  height: hn
24919
25013
  });
@@ -24931,8 +25025,8 @@ const TABS = {
24931
25025
  } else {
24932
25026
  this.new_h = ImageEditor_1.calcValueByPercent(h, this.o.cropDefaultHeight);
24933
25027
  }
24934
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, {
24935
- backgroundImage: 'url(' + (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.cropImage, 'src') + ')',
25028
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, {
25029
+ backgroundImage: 'url(' + (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.cropImage, 'src') + ')',
24936
25030
  width: this.new_w,
24937
25031
  height: this.new_h,
24938
25032
  left: w / 2 - this.new_w / 2,
@@ -24945,8 +25039,8 @@ const TABS = {
24945
25039
  return;
24946
25040
  }
24947
25041
  const ratioX = this.cropImage.offsetWidth / this.naturalWidth, ratioY = this.cropImage.offsetHeight / this.naturalHeight;
24948
- this.cropBox.x = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, 'left') / ratioX;
24949
- this.cropBox.y = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, 'top') / ratioY;
25042
+ this.cropBox.x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, 'left') / ratioX;
25043
+ this.cropBox.y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, 'top') / ratioY;
24950
25044
  this.cropBox.w = this.cropHandler.offsetWidth / ratioX;
24951
25045
  this.cropBox.h = this.cropHandler.offsetHeight / ratioY;
24952
25046
  this.sizes.textContent = this.cropBox.w.toFixed(0) + 'x' + this.cropBox.h.toFixed(0);
@@ -24957,7 +25051,7 @@ const TABS = {
24957
25051
  };
24958
25052
  this.setHandlers = ()=>{
24959
25053
  const self = this;
24960
- const { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
25054
+ const { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
24961
25055
  self.j.e.on([
24962
25056
  self.editor.querySelector('.jodit_bottomright'),
24963
25057
  self.cropHandler
@@ -24966,11 +25060,11 @@ const TABS = {
24966
25060
  self.showCrop();
24967
25061
  this.j.e.fire(self.cropHandler, 'updatesize');
24968
25062
  });
24969
- self.j.e.on((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(this.editor.querySelectorAll(`.${jie}__slider-title`)), 'click', this.onTitleModeClick).on([
25063
+ self.j.e.on((0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(this.editor.querySelectorAll(`.${jie}__slider-title`)), 'click', this.onTitleModeClick).on([
24970
25064
  widthInput,
24971
25065
  heightInput
24972
25066
  ], 'input', this.onChangeSizeInput);
24973
- const { keepAspectRatioResize, keepAspectRatioCrop } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
25067
+ const { keepAspectRatioResize, keepAspectRatioCrop } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
24974
25068
  if (keepAspectRatioResize) {
24975
25069
  keepAspectRatioResize.addEventListener('change', ()=>{
24976
25070
  this.resizeUseRatio = keepAspectRatioResize.checked;
@@ -24982,7 +25076,7 @@ const TABS = {
24982
25076
  });
24983
25077
  }
24984
25078
  self.j.e.on(self.resizeHandler, 'updatesize', ()=>{
24985
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.resizeHandler, {
25079
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.resizeHandler, {
24986
25080
  top: 0,
24987
25081
  left: 0,
24988
25082
  width: self.image.offsetWidth || self.naturalWidth,
@@ -24993,7 +25087,7 @@ const TABS = {
24993
25087
  if (!self.cropImage) {
24994
25088
  return;
24995
25089
  }
24996
- let new_x = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'left'), new_y = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'top'), new_width = self.cropHandler.offsetWidth, new_height = self.cropHandler.offsetHeight;
25090
+ let new_x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left'), new_y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top'), new_width = self.cropHandler.offsetWidth, new_height = self.cropHandler.offsetHeight;
24997
25091
  if (new_x < 0) {
24998
25092
  new_x = 0;
24999
25093
  }
@@ -25012,7 +25106,7 @@ const TABS = {
25012
25106
  new_width = new_height * self.ratio;
25013
25107
  }
25014
25108
  }
25015
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, {
25109
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, {
25016
25110
  width: new_width,
25017
25111
  height: new_height,
25018
25112
  left: new_x,
@@ -25031,7 +25125,7 @@ const TABS = {
25031
25125
  switch(button){
25032
25126
  case self.buttons.saveas:
25033
25127
  self.j.prompt('Enter new name', 'Save in new file', (name)=>{
25034
- if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.trim)(name)) {
25128
+ if (!(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_4__.trim)(name)) {
25035
25129
  self.j.alert('The name should not be empty');
25036
25130
  return false;
25037
25131
  }
@@ -25047,7 +25141,7 @@ const TABS = {
25047
25141
  break;
25048
25142
  case self.buttons.reset:
25049
25143
  if (self.activeTab === TABS.resize) {
25050
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, {
25144
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, {
25051
25145
  width: null,
25052
25146
  height: null
25053
25147
  });
@@ -25062,18 +25156,24 @@ const TABS = {
25062
25156
  });
25063
25157
  });
25064
25158
  };
25065
- this.options = editor && editor.o && editor.o.imageeditor ? editor.o.imageeditor : _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.defaultOptions.imageeditor;
25159
+ this.options = editor && editor.o && editor.o.imageeditor ? editor.o.imageeditor : _config_js__WEBPACK_IMPORTED_MODULE_10__.Config.defaultOptions.imageeditor;
25066
25160
  const o = this.options;
25067
25161
  this.resizeUseRatio = o.resizeUseRatio;
25068
25162
  this.cropUseRatio = o.cropUseRatio;
25069
25163
  this.buttons = {
25070
- reset: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.Button)(this.j, 'update', 'Reset'),
25071
- save: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.Button)(this.j, 'save', 'Save'),
25072
- saveas: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.Button)(this.j, 'save', 'Save as ...')
25164
+ reset: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(this.j, 'update', 'Reset'),
25165
+ save: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(this.j, 'save', 'Save'),
25166
+ saveas: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(this.j, {
25167
+ icon: {
25168
+ name: 'save'
25169
+ },
25170
+ name: 'save-as',
25171
+ text: 'Save as ...'
25172
+ })
25073
25173
  };
25074
25174
  this.activeTab = o.resize ? TABS.resize : TABS.crop;
25075
- this.editor = (0,_templates_form_js__WEBPACK_IMPORTED_MODULE_7__.form)(this.j, this.options);
25076
- const { resizeBox, cropBox } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
25175
+ this.editor = (0,_templates_form_js__WEBPACK_IMPORTED_MODULE_12__.form)(this.j, this.options);
25176
+ const { resizeBox, cropBox } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
25077
25177
  this.resize_box = resizeBox;
25078
25178
  this.crop_box = cropBox;
25079
25179
  this.sizes = this.editor.querySelector(`.${jie}__area.${jie}__area_crop .jodit-image-editor__sizes`);
@@ -25138,7 +25238,7 @@ ImageEditor = ImageEditor_1 = __decorate([
25138
25238
  /**
25139
25239
  * Open Image Editor
25140
25240
  */ function openImageEditor(href, name, path, source, onSuccess, onFailed) {
25141
- return this.getInstance('ImageEditor', this.o).open(href, (newname, box, success, failed)=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.call)(box.action === 'resize' ? this.dataProvider.resize : this.dataProvider.crop, path, source, name, newname, box.box).then((ok)=>{
25241
+ return this.getInstance('ImageEditor', this.o).open(href, (newname, box, success, failed)=>(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_8__.call)(box.action === 'resize' ? this.dataProvider.resize : this.dataProvider.crop, path, source, name, newname, box.box).then((ok)=>{
25142
25242
  if (ok) {
25143
25243
  success();
25144
25244
  if (onSuccess) {
@@ -42766,7 +42866,7 @@ __webpack_require__.r(__webpack_exports__);
42766
42866
  * ```
42767
42867
  * @packageDocumentation
42768
42868
  * @module constants
42769
- */ const APP_VERSION = "4.9.25";
42869
+ */ const APP_VERSION = "4.9.30";
42770
42870
  // prettier-ignore
42771
42871
  const ES = "es2021";
42772
42872
  const IS_ES_MODERN = true;