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
package/es2021/jodit.js CHANGED
@@ -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
  */
@@ -7534,14 +7534,30 @@ ToolbarCollection = __decorate([
7534
7534
  /* harmony export */ "default": function() { return /* binding */ DataProvider; }
7535
7535
  /* harmony export */ });
7536
7536
  /* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
7537
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
7538
- /* harmony import */ var _core_request_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41601);
7539
- /* harmony import */ var _builders_item_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(159);
7537
+ /* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
7538
+ /* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23282);
7539
+ /* harmony import */ var _core_helpers_normalize_normalize_relative_path_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70091);
7540
+ /* harmony import */ var _core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68934);
7541
+ /* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(89890);
7542
+ /* harmony import */ var _core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3703);
7543
+ /* harmony import */ var _core_request_ajax_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54079);
7544
+ /* harmony import */ var _builders_item_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(159);
7540
7545
  /*!
7541
7546
  * Jodit Editor (https://xdsoft.net/jodit/)
7542
7547
  * Released under MIT see LICENSE.txt in the project root for license information.
7543
7548
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
7544
- */
7549
+ */ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
7550
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7551
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7552
+ 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;
7553
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7554
+ };
7555
+
7556
+
7557
+
7558
+
7559
+
7560
+
7545
7561
 
7546
7562
 
7547
7563
 
@@ -7574,13 +7590,13 @@ class DataProvider {
7574
7590
  ajax === null || ajax === void 0 ? void 0 : ajax.abort();
7575
7591
  instances.delete(name);
7576
7592
  }
7577
- 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)({
7593
+ 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)({
7578
7594
  onProgress: this.progressHandler
7579
7595
  }, this.o.ajax));
7580
7596
  if (opts.prepareData) {
7581
7597
  opts.data = opts.prepareData.call(this, opts.data);
7582
7598
  }
7583
- const ajax = new _core_request_index_js__WEBPACK_IMPORTED_MODULE_2__.Ajax(opts);
7599
+ const ajax = new _core_request_ajax_js__WEBPACK_IMPORTED_MODULE_7__.Ajax(opts);
7584
7600
  instances.set(name, ajax);
7585
7601
  const promise = ajax.send();
7586
7602
  promise.finally(()=>{
@@ -7609,7 +7625,7 @@ class DataProvider {
7609
7625
  if (this.o.permissions.url) {
7610
7626
  return this.get('permissions').then((resp)=>{
7611
7627
  if (this.parent.isInDestruct) {
7612
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.abort)();
7628
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.abort)();
7613
7629
  }
7614
7630
  let process = this.o.permissions.process;
7615
7631
  if (!process) {
@@ -7631,7 +7647,7 @@ class DataProvider {
7631
7647
  const rule = 'allow' + action;
7632
7648
  if (!_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
7633
7649
  if (!possibleRules.has(rule)) {
7634
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Wrong action ' + action);
7650
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Wrong action ' + action);
7635
7651
  }
7636
7652
  }
7637
7653
  const presetValue = this.o.permissionsPresets[rule];
@@ -7662,18 +7678,18 @@ class DataProvider {
7662
7678
  /**
7663
7679
  * Load items list by path and source
7664
7680
  */ items(path, source, mods = {}) {
7665
- return this.__items(path, source, mods, (resp)=>this.generateItemsList(resp.data.sources, mods));
7681
+ return this.__items(path, source, mods, (resp)=>this.__generateItemsList(resp.data.sources, mods));
7666
7682
  }
7667
7683
  /**
7668
7684
  * Load items list by path and source
7669
7685
  */ itemsEx(path, source, mods = {}) {
7670
7686
  const calcTotal = (sources)=>sources.reduce((acc, source)=>acc + source.files.length, 0);
7671
7687
  return this.__items(path, source, mods, (resp)=>({
7672
- items: this.generateItemsList(resp.data.sources, mods),
7688
+ items: this.__generateItemsList(resp.data.sources, mods),
7673
7689
  loadedTotal: calcTotal(resp.data.sources)
7674
7690
  }));
7675
7691
  }
7676
- generateItemsList(sources, mods = {}) {
7692
+ __generateItemsList(sources, mods = {}) {
7677
7693
  const elements = [];
7678
7694
  const canBeFile = (item)=>item.type === 'folder' || !mods.onlyImages || item.isImage === undefined || item.isImage;
7679
7695
  const inFilter = (item)=>{
@@ -7683,12 +7699,12 @@ class DataProvider {
7683
7699
  sources.forEach((source)=>{
7684
7700
  if (source.files && source.files.length) {
7685
7701
  const { sort } = this.o;
7686
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(sort) && mods.sortBy) {
7702
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(sort) && mods.sortBy) {
7687
7703
  source.files.sort((a, b)=>sort(a, b, mods.sortBy));
7688
7704
  }
7689
7705
  source.files.forEach((item)=>{
7690
7706
  if (inFilter(item) && canBeFile(item)) {
7691
- elements.push(_builders_item_js__WEBPACK_IMPORTED_MODULE_3__.FileBrowserItem.create({
7707
+ elements.push(_builders_item_js__WEBPACK_IMPORTED_MODULE_8__.FileBrowserItem.create({
7692
7708
  ...item,
7693
7709
  sourceName: source.name,
7694
7710
  source
@@ -7700,7 +7716,7 @@ class DataProvider {
7700
7716
  return elements;
7701
7717
  }
7702
7718
  async tree(path, source) {
7703
- path = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.normalizeRelativePath)(path);
7719
+ path = (0,_core_helpers_normalize_normalize_relative_path_js__WEBPACK_IMPORTED_MODULE_3__.normalizeRelativePath)(path);
7704
7720
  if (!this.o.folder) {
7705
7721
  return Promise.reject(Error('Set Folder Api options'));
7706
7722
  }
@@ -7721,12 +7737,12 @@ class DataProvider {
7721
7737
  /**
7722
7738
  * Get path by url. You can use this method in another modules
7723
7739
  */ getPathByUrl(url) {
7724
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.set)('options.getLocalFileByUrl.data.url', url, this);
7740
+ (0,_core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_6__.set)('options.getLocalFileByUrl.data.url', url, this);
7725
7741
  return this.get('getLocalFileByUrl').then((resp)=>{
7726
7742
  if (this.isSuccess(resp)) {
7727
7743
  return resp.data;
7728
7744
  }
7729
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(this.getMessage(resp));
7745
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(this.getMessage(resp));
7730
7746
  });
7731
7747
  }
7732
7748
  /**
@@ -7738,7 +7754,7 @@ class DataProvider {
7738
7754
  */ createFolder(name, path, source) {
7739
7755
  const { create } = this.o;
7740
7756
  if (!create) {
7741
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Set Create api options');
7757
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set Create api options');
7742
7758
  }
7743
7759
  create.data.source = source;
7744
7760
  create.data.path = path;
@@ -7747,7 +7763,7 @@ class DataProvider {
7747
7763
  if (this.isSuccess(resp)) {
7748
7764
  return true;
7749
7765
  }
7750
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(this.getMessage(resp));
7766
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(this.getMessage(resp));
7751
7767
  });
7752
7768
  }
7753
7769
  /**
@@ -7759,7 +7775,7 @@ class DataProvider {
7759
7775
  const mode = isFile ? 'fileMove' : 'folderMove';
7760
7776
  const option = this.options[mode];
7761
7777
  if (!option) {
7762
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Set Move api options');
7778
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set Move api options');
7763
7779
  }
7764
7780
  option.data.from = filepath;
7765
7781
  option.data.path = path;
@@ -7768,7 +7784,7 @@ class DataProvider {
7768
7784
  if (this.isSuccess(resp)) {
7769
7785
  return true;
7770
7786
  }
7771
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(this.getMessage(resp));
7787
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(this.getMessage(resp));
7772
7788
  });
7773
7789
  }
7774
7790
  /**
@@ -7777,10 +7793,10 @@ class DataProvider {
7777
7793
  * @param path - Relative path
7778
7794
  * @param file - The filename
7779
7795
  * @param source - Source
7780
- */ remove(action, path, file, source) {
7796
+ */ __remove(action, path, file, source) {
7781
7797
  const fr = this.o[action];
7782
7798
  if (!fr) {
7783
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(`Set "${action}" api options`);
7799
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(`Set "${action}" api options`);
7784
7800
  }
7785
7801
  fr.data.path = path;
7786
7802
  fr.data.name = file;
@@ -7799,7 +7815,7 @@ class DataProvider {
7799
7815
  * @param file - The filename
7800
7816
  * @param source - Source
7801
7817
  */ fileRemove(path, file, source) {
7802
- return this.remove('fileRemove', path, file, source);
7818
+ return this.__remove('fileRemove', path, file, source);
7803
7819
  }
7804
7820
  /**
7805
7821
  * Deleting a folder
@@ -7808,7 +7824,7 @@ class DataProvider {
7808
7824
  * @param file - The filename
7809
7825
  * @param source - Source
7810
7826
  */ folderRemove(path, file, source) {
7811
- return this.remove('folderRemove', path, file, source);
7827
+ return this.__remove('folderRemove', path, file, source);
7812
7828
  }
7813
7829
  /**
7814
7830
  * Rename action
@@ -7817,10 +7833,10 @@ class DataProvider {
7817
7833
  * @param name - Old name
7818
7834
  * @param newname - New name
7819
7835
  * @param source - Source
7820
- */ rename(action, path, name, newname, source) {
7836
+ */ __rename(action, path, name, newname, source) {
7821
7837
  const fr = this.o[action];
7822
7838
  if (!fr) {
7823
- throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)(`Set "${action}" api options`);
7839
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(`Set "${action}" api options`);
7824
7840
  }
7825
7841
  fr.data.path = path;
7826
7842
  fr.data.name = name;
@@ -7836,14 +7852,14 @@ class DataProvider {
7836
7852
  /**
7837
7853
  * Rename folder
7838
7854
  */ folderRename(path, name, newname, source) {
7839
- return this.rename('folderRename', path, name, newname, source);
7855
+ return this.__rename('folderRename', path, name, newname, source);
7840
7856
  }
7841
7857
  /**
7842
7858
  * Rename file
7843
7859
  */ fileRename(path, name, newname, source) {
7844
- return this.rename('fileRename', path, name, newname, source);
7860
+ return this.__rename('fileRename', path, name, newname, source);
7845
7861
  }
7846
- changeImage(type, path, source, name, newname, box) {
7862
+ __changeImage(type, path, source, name, newname, box) {
7847
7863
  if (!this.o[type]) {
7848
7864
  this.o[type] = {
7849
7865
  data: {}
@@ -7869,12 +7885,12 @@ class DataProvider {
7869
7885
  /**
7870
7886
  * Send command to server to crop image
7871
7887
  */ crop(path, source, name, newname, box) {
7872
- return this.changeImage('crop', path, source, name, newname, box);
7888
+ return this.__changeImage('crop', path, source, name, newname, box);
7873
7889
  }
7874
7890
  /**
7875
7891
  * Send command to server to resize image
7876
7892
  */ resize(path, source, name, newname, box) {
7877
- return this.changeImage('resize', path, source, name, newname, box);
7893
+ return this.__changeImage('resize', path, source, name, newname, box);
7878
7894
  }
7879
7895
  getMessage(resp) {
7880
7896
  return this.options.getMessage(resp);
@@ -7895,6 +7911,60 @@ class DataProvider {
7895
7911
  }
7896
7912
  }
7897
7913
 
7914
+ __decorate([
7915
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7916
+ ], DataProvider.prototype, "onProgress", null);
7917
+ __decorate([
7918
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7919
+ ], DataProvider.prototype, "permissions", null);
7920
+ __decorate([
7921
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7922
+ ], DataProvider.prototype, "canI", null);
7923
+ __decorate([
7924
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7925
+ ], DataProvider.prototype, "items", null);
7926
+ __decorate([
7927
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7928
+ ], DataProvider.prototype, "itemsEx", null);
7929
+ __decorate([
7930
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7931
+ ], DataProvider.prototype, "tree", null);
7932
+ __decorate([
7933
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7934
+ ], DataProvider.prototype, "getPathByUrl", null);
7935
+ __decorate([
7936
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7937
+ ], DataProvider.prototype, "createFolder", null);
7938
+ __decorate([
7939
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7940
+ ], DataProvider.prototype, "move", null);
7941
+ __decorate([
7942
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7943
+ ], DataProvider.prototype, "fileRemove", null);
7944
+ __decorate([
7945
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7946
+ ], DataProvider.prototype, "folderRemove", null);
7947
+ __decorate([
7948
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7949
+ ], DataProvider.prototype, "folderRename", null);
7950
+ __decorate([
7951
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7952
+ ], DataProvider.prototype, "fileRename", null);
7953
+ __decorate([
7954
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7955
+ ], DataProvider.prototype, "crop", null);
7956
+ __decorate([
7957
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7958
+ ], DataProvider.prototype, "resize", null);
7959
+ __decorate([
7960
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7961
+ ], DataProvider.prototype, "getMessage", null);
7962
+ __decorate([
7963
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7964
+ ], DataProvider.prototype, "isSuccess", null);
7965
+ __decorate([
7966
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7967
+ ], DataProvider.prototype, "destruct", null);
7898
7968
 
7899
7969
 
7900
7970
  /***/ }),
@@ -12106,6 +12176,7 @@ __webpack_require__.r(__webpack_exports__);
12106
12176
  /* harmony export */ buildQuery: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.buildQuery; },
12107
12177
  /* harmony export */ call: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.call; },
12108
12178
  /* harmony export */ callPromise: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.callPromise; },
12179
+ /* harmony export */ callThis: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.callThis; },
12109
12180
  /* harmony export */ camelCase: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.camelCase; },
12110
12181
  /* harmony export */ cleanFromWord: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.cleanFromWord; },
12111
12182
  /* harmony export */ clearAlign: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.clearAlign; },
@@ -20768,6 +20839,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
20768
20839
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20769
20840
  /* harmony export */ call: function() { return /* binding */ call; },
20770
20841
  /* harmony export */ callPromise: function() { return /* binding */ callPromise; },
20842
+ /* harmony export */ callThis: function() { return /* binding */ callThis; },
20771
20843
  /* harmony export */ getDataTransfer: function() { return /* binding */ getDataTransfer; },
20772
20844
  /* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
20773
20845
  /* harmony export */ keys: function() { return /* binding */ keys; },
@@ -20798,6 +20870,17 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
20798
20870
  */ function call(func, ...args) {
20799
20871
  return func(...args);
20800
20872
  }
20873
+ /**
20874
+ * Call function with parameters
20875
+ *
20876
+ * @example
20877
+ * ```js
20878
+ * const f = Math.random();
20879
+ * Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f);
20880
+ * ```
20881
+ */ function callThis(func, thisArg, ...args) {
20882
+ return func.apply(thisArg, args);
20883
+ }
20801
20884
  /**
20802
20885
  * Mark element for debugging
20803
20886
  */ function markOwner(jodit, elm) {
@@ -23364,6 +23447,7 @@ __webpack_require__.r(__webpack_exports__);
23364
23447
  /* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_5__.buildQuery; },
23365
23448
  /* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.call; },
23366
23449
  /* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.callPromise; },
23450
+ /* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.callThis; },
23367
23451
  /* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
23368
23452
  /* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_9__.clearCenterAlign; },
23369
23453
  /* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_18__.cns; },
@@ -25611,11 +25695,16 @@ __webpack_require__.r(__webpack_exports__);
25611
25695
  /* harmony import */ var _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91907);
25612
25696
  /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
25613
25697
  /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22732);
25614
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
25615
- /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62843);
25616
- /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
25617
- /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62489);
25618
- /* harmony import */ var _templates_form_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22461);
25698
+ /* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4510);
25699
+ /* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49055);
25700
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
25701
+ /* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41180);
25702
+ /* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
25703
+ /* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(37790);
25704
+ /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62843);
25705
+ /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(6441);
25706
+ /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(62489);
25707
+ /* harmony import */ var _templates_form_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22461);
25619
25708
  /*!
25620
25709
  * Jodit Editor (https://xdsoft.net/jodit/)
25621
25710
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -25635,6 +25724,11 @@ var ImageEditor_1;
25635
25724
 
25636
25725
 
25637
25726
 
25727
+
25728
+
25729
+
25730
+
25731
+
25638
25732
  const jie = 'jodit-image-editor';
25639
25733
  const TABS = {
25640
25734
  resize: 'resize',
@@ -25682,9 +25776,9 @@ const TABS = {
25682
25776
  return this.j.async.promise((resolve)=>{
25683
25777
  const timestamp = new Date().getTime();
25684
25778
  this.image = this.j.c.element('img');
25685
- (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);
25686
- (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);
25687
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, 'background', 'transparent');
25779
+ (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);
25780
+ (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);
25781
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, 'background', 'transparent');
25688
25782
  this.onSave = save;
25689
25783
  this.resize_box.appendChild(this.j.c.element('i', {
25690
25784
  class: 'jodit-icon_loader'
@@ -25699,7 +25793,7 @@ const TABS = {
25699
25793
  }
25700
25794
  this.image.setAttribute('src', url);
25701
25795
  this._dialog.open();
25702
- const { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
25796
+ const { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
25703
25797
  const onload = ()=>{
25704
25798
  if (this.isDestructed) {
25705
25799
  return;
@@ -25713,7 +25807,7 @@ const TABS = {
25713
25807
  this.resize_box.appendChild(this.image);
25714
25808
  this.cropImage = this.image.cloneNode(true);
25715
25809
  this.crop_box.appendChild(this.cropImage);
25716
- _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));
25810
+ _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));
25717
25811
  if (this.activeTab === TABS.crop) {
25718
25812
  this.showCrop();
25719
25813
  }
@@ -25735,9 +25829,9 @@ const TABS = {
25735
25829
  if (!slide) {
25736
25830
  return;
25737
25831
  }
25738
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.$$)(`.${jie}__slider,.${jie}__area`, self.editor).forEach((elm)=>elm.classList.remove(`${jie}_active`));
25832
+ (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)(`.${jie}__slider,.${jie}__area`, self.editor).forEach((elm)=>elm.classList.remove(`${jie}_active`));
25739
25833
  slide.classList.add(`${jie}_active`);
25740
- this.activeTab = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(slide, '-area') || TABS.resize;
25834
+ this.activeTab = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(slide, '-area') || TABS.resize;
25741
25835
  const tab = self.editor.querySelector(`.${jie}__area.${jie}__area_` + self.activeTab);
25742
25836
  if (tab) {
25743
25837
  tab.classList.add(`${jie}_active`);
@@ -25747,14 +25841,14 @@ const TABS = {
25747
25841
  }
25748
25842
  }
25749
25843
  onChangeSizeInput(e) {
25750
- 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;
25844
+ 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;
25751
25845
  let y;
25752
25846
  if (x > minX) {
25753
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, isWidth ? 'width' : 'height', x);
25847
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, isWidth ? 'width' : 'height', x);
25754
25848
  if (self.resizeUseRatio) {
25755
25849
  y = isWidth ? Math.round(x / self.ratio) : Math.round(x * self.ratio);
25756
25850
  if (y > minY) {
25757
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, !isWidth ? 'width' : 'height', y);
25851
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, !isWidth ? 'width' : 'height', y);
25758
25852
  if (isWidth) {
25759
25853
  heightInput.value = y.toString();
25760
25854
  } else {
@@ -25774,8 +25868,8 @@ const TABS = {
25774
25868
  self.start_x = e.clientX;
25775
25869
  self.start_y = e.clientY;
25776
25870
  if (self.activeTab === TABS.crop) {
25777
- self.top_x = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'left');
25778
- self.top_y = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'top');
25871
+ self.top_x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left');
25872
+ self.top_y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top');
25779
25873
  self.width = self.cropHandler.offsetWidth;
25780
25874
  self.height = self.cropHandler.offsetHeight;
25781
25875
  } else {
@@ -25796,7 +25890,7 @@ const TABS = {
25796
25890
  if (!self.clicked) {
25797
25891
  return;
25798
25892
  }
25799
- const { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
25893
+ const { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
25800
25894
  self.diff_x = e.clientX - self.start_x;
25801
25895
  self.diff_y = e.clientY - self.start_y;
25802
25896
  if (self.activeTab === TABS.resize && self.resizeUseRatio || self.activeTab === TABS.crop && self.cropUseRatio) {
@@ -25813,11 +25907,11 @@ const TABS = {
25813
25907
  }
25814
25908
  if (self.activeTab === TABS.resize) {
25815
25909
  if (self.new_w > self.o.resizeMinWidth) {
25816
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, 'width', self.new_w + 'px');
25910
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, 'width', self.new_w + 'px');
25817
25911
  widthInput.value = self.new_w.toString();
25818
25912
  }
25819
25913
  if (self.new_h > self.o.resizeMinHeight) {
25820
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, 'height', self.new_h + 'px');
25914
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, 'height', self.new_h + 'px');
25821
25915
  heightInput.value = self.new_h.toString();
25822
25916
  }
25823
25917
  this.j.e.fire(self.resizeHandler, 'updatesize');
@@ -25829,7 +25923,7 @@ const TABS = {
25829
25923
  if (self.top_y + self.new_h > self.cropImage.offsetHeight) {
25830
25924
  self.new_h = self.cropImage.offsetHeight - self.top_y;
25831
25925
  }
25832
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, {
25926
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, {
25833
25927
  width: self.new_w,
25834
25928
  height: self.new_h
25835
25929
  });
@@ -25837,11 +25931,11 @@ const TABS = {
25837
25931
  if (self.top_x + self.diff_x + self.cropHandler.offsetWidth > self.cropImage.offsetWidth) {
25838
25932
  self.diff_x = self.cropImage.offsetWidth - self.top_x - self.cropHandler.offsetWidth;
25839
25933
  }
25840
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
25934
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
25841
25935
  if (self.top_y + self.diff_y + self.cropHandler.offsetHeight > self.cropImage.offsetHeight) {
25842
25936
  self.diff_y = self.cropImage.offsetHeight - self.top_y - self.cropHandler.offsetHeight;
25843
25937
  }
25844
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
25938
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
25845
25939
  }
25846
25940
  this.j.e.fire(self.cropHandler, 'updatesize');
25847
25941
  }
@@ -25902,7 +25996,7 @@ const TABS = {
25902
25996
  wn = nw * (h / nh);
25903
25997
  hn = h;
25904
25998
  }
25905
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.crop_box, {
25999
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.crop_box, {
25906
26000
  width: wn,
25907
26001
  height: hn
25908
26002
  });
@@ -25920,8 +26014,8 @@ const TABS = {
25920
26014
  } else {
25921
26015
  this.new_h = ImageEditor_1.calcValueByPercent(h, this.o.cropDefaultHeight);
25922
26016
  }
25923
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, {
25924
- backgroundImage: 'url(' + (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.cropImage, 'src') + ')',
26017
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, {
26018
+ backgroundImage: 'url(' + (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.cropImage, 'src') + ')',
25925
26019
  width: this.new_w,
25926
26020
  height: this.new_h,
25927
26021
  left: w / 2 - this.new_w / 2,
@@ -25934,8 +26028,8 @@ const TABS = {
25934
26028
  return;
25935
26029
  }
25936
26030
  const ratioX = this.cropImage.offsetWidth / this.naturalWidth, ratioY = this.cropImage.offsetHeight / this.naturalHeight;
25937
- this.cropBox.x = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, 'left') / ratioX;
25938
- this.cropBox.y = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(this.cropHandler, 'top') / ratioY;
26031
+ this.cropBox.x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, 'left') / ratioX;
26032
+ this.cropBox.y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(this.cropHandler, 'top') / ratioY;
25939
26033
  this.cropBox.w = this.cropHandler.offsetWidth / ratioX;
25940
26034
  this.cropBox.h = this.cropHandler.offsetHeight / ratioY;
25941
26035
  this.sizes.textContent = this.cropBox.w.toFixed(0) + 'x' + this.cropBox.h.toFixed(0);
@@ -25946,7 +26040,7 @@ const TABS = {
25946
26040
  };
25947
26041
  this.setHandlers = ()=>{
25948
26042
  const self = this;
25949
- const { widthInput, heightInput } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
26043
+ const { widthInput, heightInput } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
25950
26044
  self.j.e.on([
25951
26045
  self.editor.querySelector('.jodit_bottomright'),
25952
26046
  self.cropHandler
@@ -25955,11 +26049,11 @@ const TABS = {
25955
26049
  self.showCrop();
25956
26050
  this.j.e.fire(self.cropHandler, 'updatesize');
25957
26051
  });
25958
- self.j.e.on((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(this.editor.querySelectorAll(`.${jie}__slider-title`)), 'click', this.onTitleModeClick).on([
26052
+ 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([
25959
26053
  widthInput,
25960
26054
  heightInput
25961
26055
  ], 'input', this.onChangeSizeInput);
25962
- const { keepAspectRatioResize, keepAspectRatioCrop } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
26056
+ const { keepAspectRatioResize, keepAspectRatioCrop } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
25963
26057
  if (keepAspectRatioResize) {
25964
26058
  keepAspectRatioResize.addEventListener('change', ()=>{
25965
26059
  this.resizeUseRatio = keepAspectRatioResize.checked;
@@ -25971,7 +26065,7 @@ const TABS = {
25971
26065
  });
25972
26066
  }
25973
26067
  self.j.e.on(self.resizeHandler, 'updatesize', ()=>{
25974
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.resizeHandler, {
26068
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.resizeHandler, {
25975
26069
  top: 0,
25976
26070
  left: 0,
25977
26071
  width: self.image.offsetWidth || self.naturalWidth,
@@ -25982,7 +26076,7 @@ const TABS = {
25982
26076
  if (!self.cropImage) {
25983
26077
  return;
25984
26078
  }
25985
- 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;
26079
+ 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;
25986
26080
  if (new_x < 0) {
25987
26081
  new_x = 0;
25988
26082
  }
@@ -26001,7 +26095,7 @@ const TABS = {
26001
26095
  new_width = new_height * self.ratio;
26002
26096
  }
26003
26097
  }
26004
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.cropHandler, {
26098
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, {
26005
26099
  width: new_width,
26006
26100
  height: new_height,
26007
26101
  left: new_x,
@@ -26020,7 +26114,7 @@ const TABS = {
26020
26114
  switch(button){
26021
26115
  case self.buttons.saveas:
26022
26116
  self.j.prompt('Enter new name', 'Save in new file', (name)=>{
26023
- if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.trim)(name)) {
26117
+ if (!(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_4__.trim)(name)) {
26024
26118
  self.j.alert('The name should not be empty');
26025
26119
  return false;
26026
26120
  }
@@ -26036,7 +26130,7 @@ const TABS = {
26036
26130
  break;
26037
26131
  case self.buttons.reset:
26038
26132
  if (self.activeTab === TABS.resize) {
26039
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.css)(self.image, {
26133
+ (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, {
26040
26134
  width: null,
26041
26135
  height: null
26042
26136
  });
@@ -26051,18 +26145,24 @@ const TABS = {
26051
26145
  });
26052
26146
  });
26053
26147
  };
26054
- this.options = editor && editor.o && editor.o.imageeditor ? editor.o.imageeditor : _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.defaultOptions.imageeditor;
26148
+ this.options = editor && editor.o && editor.o.imageeditor ? editor.o.imageeditor : _config_js__WEBPACK_IMPORTED_MODULE_10__.Config.defaultOptions.imageeditor;
26055
26149
  const o = this.options;
26056
26150
  this.resizeUseRatio = o.resizeUseRatio;
26057
26151
  this.cropUseRatio = o.cropUseRatio;
26058
26152
  this.buttons = {
26059
- reset: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.Button)(this.j, 'update', 'Reset'),
26060
- save: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.Button)(this.j, 'save', 'Save'),
26061
- saveas: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.Button)(this.j, 'save', 'Save as ...')
26153
+ reset: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(this.j, 'update', 'Reset'),
26154
+ save: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(this.j, 'save', 'Save'),
26155
+ saveas: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(this.j, {
26156
+ icon: {
26157
+ name: 'save'
26158
+ },
26159
+ name: 'save-as',
26160
+ text: 'Save as ...'
26161
+ })
26062
26162
  };
26063
26163
  this.activeTab = o.resize ? TABS.resize : TABS.crop;
26064
- this.editor = (0,_templates_form_js__WEBPACK_IMPORTED_MODULE_7__.form)(this.j, this.options);
26065
- const { resizeBox, cropBox } = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
26164
+ this.editor = (0,_templates_form_js__WEBPACK_IMPORTED_MODULE_12__.form)(this.j, this.options);
26165
+ const { resizeBox, cropBox } = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor);
26066
26166
  this.resize_box = resizeBox;
26067
26167
  this.crop_box = cropBox;
26068
26168
  this.sizes = this.editor.querySelector(`.${jie}__area.${jie}__area_crop .jodit-image-editor__sizes`);
@@ -26127,7 +26227,7 @@ ImageEditor = ImageEditor_1 = __decorate([
26127
26227
  /**
26128
26228
  * Open Image Editor
26129
26229
  */ function openImageEditor(href, name, path, source, onSuccess, onFailed) {
26130
- 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)=>{
26230
+ 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)=>{
26131
26231
  if (ok) {
26132
26232
  success();
26133
26233
  if (onSuccess) {
@@ -44478,7 +44578,7 @@ __webpack_require__.r(__webpack_exports__);
44478
44578
  * ```
44479
44579
  * @packageDocumentation
44480
44580
  * @module constants
44481
- */ const APP_VERSION = "4.9.25";
44581
+ */ const APP_VERSION = "4.9.30";
44482
44582
  // prettier-ignore
44483
44583
  const ES = "es2021";
44484
44584
  const IS_ES_MODERN = true;