jodit-pro 4.1.7 → 4.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +212 -161
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  6. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  7. package/es2015/plugins/backup/backup.css +1 -1
  8. package/es2015/plugins/backup/backup.js +1 -1
  9. package/es2015/plugins/backup/backup.min.js +1 -1
  10. package/es2015/plugins/button-generator/button-generator.css +1 -1
  11. package/es2015/plugins/button-generator/button-generator.js +1 -1
  12. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  13. package/es2015/plugins/change-case/change-case.js +1 -1
  14. package/es2015/plugins/change-case/change-case.min.js +1 -1
  15. package/es2015/plugins/color-picker/color-picker.css +1 -1
  16. package/es2015/plugins/color-picker/color-picker.js +1 -1
  17. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  18. package/es2015/plugins/emoji/emoji.css +1 -1
  19. package/es2015/plugins/emoji/emoji.js +1 -1
  20. package/es2015/plugins/emoji/emoji.min.js +1 -1
  21. package/es2015/plugins/export-docs/export-docs.js +1 -1
  22. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  23. package/es2015/plugins/finder/finder.css +1 -1
  24. package/es2015/plugins/finder/finder.js +1 -1
  25. package/es2015/plugins/finder/finder.min.js +1 -1
  26. package/es2015/plugins/google-maps/google-maps.css +1 -1
  27. package/es2015/plugins/google-maps/google-maps.js +1 -1
  28. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  29. package/es2015/plugins/google-search/google-search.js +1 -1
  30. package/es2015/plugins/google-search/google-search.min.js +1 -1
  31. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  32. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  33. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  34. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  35. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  36. package/es2015/plugins/keyboard/keyboard.css +1 -1
  37. package/es2015/plugins/keyboard/keyboard.js +1 -1
  38. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  39. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  40. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  41. package/es2015/plugins/page-break/page-break.js +1 -1
  42. package/es2015/plugins/page-break/page-break.min.js +1 -1
  43. package/es2015/plugins/paste-code/paste-code.css +1 -1
  44. package/es2015/plugins/paste-code/paste-code.js +1 -1
  45. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  46. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  47. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  48. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  49. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  50. package/es2015/plugins/todo-list/todo-list.css +1 -1
  51. package/es2015/plugins/todo-list/todo-list.js +1 -1
  52. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  53. package/es2015/plugins/translate/translate.css +1 -1
  54. package/es2015/plugins/translate/translate.js +1 -1
  55. package/es2015/plugins/translate/translate.min.js +1 -1
  56. package/es2015/plugins/tune-block/tune-block.css +1 -1
  57. package/es2015/plugins/tune-block/tune-block.js +1 -1
  58. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  59. package/es2018/jodit.css +1 -1
  60. package/es2018/jodit.fat.min.js +2 -2
  61. package/es2018/jodit.js +208 -157
  62. package/es2018/jodit.min.js +2 -2
  63. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  64. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  65. package/es2018/plugins/backup/backup.css +1 -1
  66. package/es2018/plugins/backup/backup.js +1 -1
  67. package/es2018/plugins/backup/backup.min.js +1 -1
  68. package/es2018/plugins/button-generator/button-generator.css +1 -1
  69. package/es2018/plugins/button-generator/button-generator.js +1 -1
  70. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  71. package/es2018/plugins/change-case/change-case.js +1 -1
  72. package/es2018/plugins/change-case/change-case.min.js +1 -1
  73. package/es2018/plugins/color-picker/color-picker.css +1 -1
  74. package/es2018/plugins/color-picker/color-picker.js +1 -1
  75. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  76. package/es2018/plugins/emoji/emoji.css +1 -1
  77. package/es2018/plugins/emoji/emoji.js +1 -1
  78. package/es2018/plugins/emoji/emoji.min.js +1 -1
  79. package/es2018/plugins/export-docs/export-docs.js +1 -1
  80. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  81. package/es2018/plugins/finder/finder.css +1 -1
  82. package/es2018/plugins/finder/finder.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +1 -1
  84. package/es2018/plugins/google-maps/google-maps.css +1 -1
  85. package/es2018/plugins/google-maps/google-maps.js +1 -1
  86. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  87. package/es2018/plugins/google-search/google-search.js +1 -1
  88. package/es2018/plugins/google-search/google-search.min.js +1 -1
  89. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  90. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  91. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  92. package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
  93. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  94. package/es2018/plugins/keyboard/keyboard.css +1 -1
  95. package/es2018/plugins/keyboard/keyboard.js +1 -1
  96. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  97. package/es2018/plugins/mobile-view/mobile-view.js +1 -1
  98. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  99. package/es2018/plugins/page-break/page-break.js +1 -1
  100. package/es2018/plugins/page-break/page-break.min.js +1 -1
  101. package/es2018/plugins/paste-code/paste-code.css +1 -1
  102. package/es2018/plugins/paste-code/paste-code.js +1 -1
  103. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  104. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  105. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  106. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  107. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  108. package/es2018/plugins/todo-list/todo-list.css +1 -1
  109. package/es2018/plugins/todo-list/todo-list.js +1 -1
  110. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  111. package/es2018/plugins/translate/translate.css +1 -1
  112. package/es2018/plugins/translate/translate.js +1 -1
  113. package/es2018/plugins/translate/translate.min.js +1 -1
  114. package/es2018/plugins/tune-block/tune-block.css +1 -1
  115. package/es2018/plugins/tune-block/tune-block.js +1 -1
  116. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  117. package/es2021/jodit.css +1 -1
  118. package/es2021/jodit.fat.min.js +2 -2
  119. package/es2021/jodit.js +207 -157
  120. package/es2021/jodit.min.js +2 -2
  121. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  122. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  123. package/es2021/plugins/backup/backup.css +1 -1
  124. package/es2021/plugins/backup/backup.js +1 -1
  125. package/es2021/plugins/backup/backup.min.js +1 -1
  126. package/es2021/plugins/button-generator/button-generator.css +1 -1
  127. package/es2021/plugins/button-generator/button-generator.js +1 -1
  128. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  129. package/es2021/plugins/change-case/change-case.js +1 -1
  130. package/es2021/plugins/change-case/change-case.min.js +1 -1
  131. package/es2021/plugins/color-picker/color-picker.css +1 -1
  132. package/es2021/plugins/color-picker/color-picker.js +1 -1
  133. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  134. package/es2021/plugins/emoji/emoji.css +1 -1
  135. package/es2021/plugins/emoji/emoji.js +1 -1
  136. package/es2021/plugins/emoji/emoji.min.js +1 -1
  137. package/es2021/plugins/export-docs/export-docs.js +1 -1
  138. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  139. package/es2021/plugins/finder/finder.css +1 -1
  140. package/es2021/plugins/finder/finder.js +1 -1
  141. package/es2021/plugins/finder/finder.min.js +1 -1
  142. package/es2021/plugins/google-maps/google-maps.css +1 -1
  143. package/es2021/plugins/google-maps/google-maps.js +1 -1
  144. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  145. package/es2021/plugins/google-search/google-search.js +1 -1
  146. package/es2021/plugins/google-search/google-search.min.js +1 -1
  147. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  149. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  151. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  152. package/es2021/plugins/keyboard/keyboard.css +1 -1
  153. package/es2021/plugins/keyboard/keyboard.js +1 -1
  154. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  155. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  156. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  157. package/es2021/plugins/page-break/page-break.js +1 -1
  158. package/es2021/plugins/page-break/page-break.min.js +1 -1
  159. package/es2021/plugins/paste-code/paste-code.css +1 -1
  160. package/es2021/plugins/paste-code/paste-code.js +1 -1
  161. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  162. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  163. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  164. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  165. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  166. package/es2021/plugins/todo-list/todo-list.css +1 -1
  167. package/es2021/plugins/todo-list/todo-list.js +1 -1
  168. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  169. package/es2021/plugins/translate/translate.css +1 -1
  170. package/es2021/plugins/translate/translate.js +1 -1
  171. package/es2021/plugins/translate/translate.min.js +1 -1
  172. package/es2021/plugins/tune-block/tune-block.css +1 -1
  173. package/es2021/plugins/tune-block/tune-block.js +1 -1
  174. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  175. package/es2021.en/jodit.css +1 -1
  176. package/es2021.en/jodit.fat.min.js +2 -2
  177. package/es2021.en/jodit.js +207 -157
  178. package/es2021.en/jodit.min.js +2 -2
  179. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  180. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  181. package/es2021.en/plugins/backup/backup.css +1 -1
  182. package/es2021.en/plugins/backup/backup.js +1 -1
  183. package/es2021.en/plugins/backup/backup.min.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  185. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  186. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  187. package/es2021.en/plugins/change-case/change-case.js +1 -1
  188. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  190. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  191. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.css +1 -1
  193. package/es2021.en/plugins/emoji/emoji.js +1 -1
  194. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  195. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  196. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  197. package/es2021.en/plugins/finder/finder.css +1 -1
  198. package/es2021.en/plugins/finder/finder.js +1 -1
  199. package/es2021.en/plugins/finder/finder.min.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  201. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  202. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  203. package/es2021.en/plugins/google-search/google-search.js +1 -1
  204. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  205. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  206. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  208. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  209. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  211. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  212. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  213. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  214. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  215. package/es2021.en/plugins/page-break/page-break.js +1 -1
  216. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  218. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  219. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  220. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  221. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  222. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  223. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  224. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  225. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  226. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  227. package/es2021.en/plugins/translate/translate.css +1 -1
  228. package/es2021.en/plugins/translate/translate.js +1 -1
  229. package/es2021.en/plugins/translate/translate.min.js +1 -1
  230. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  231. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  232. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  233. package/es5/jodit.css +2 -2
  234. package/es5/jodit.fat.min.js +2 -2
  235. package/es5/jodit.js +217 -166
  236. package/es5/jodit.min.css +2 -2
  237. package/es5/jodit.min.js +2 -2
  238. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  239. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  240. package/es5/plugins/backup/backup.css +1 -1
  241. package/es5/plugins/backup/backup.js +1 -1
  242. package/es5/plugins/backup/backup.min.js +1 -1
  243. package/es5/plugins/button-generator/button-generator.css +1 -1
  244. package/es5/plugins/button-generator/button-generator.js +1 -1
  245. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  246. package/es5/plugins/change-case/change-case.js +1 -1
  247. package/es5/plugins/change-case/change-case.min.js +1 -1
  248. package/es5/plugins/color-picker/color-picker.css +1 -1
  249. package/es5/plugins/color-picker/color-picker.js +1 -1
  250. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  251. package/es5/plugins/emoji/emoji.css +1 -1
  252. package/es5/plugins/emoji/emoji.js +1 -1
  253. package/es5/plugins/emoji/emoji.min.js +1 -1
  254. package/es5/plugins/export-docs/export-docs.js +1 -1
  255. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  256. package/es5/plugins/finder/finder.css +1 -1
  257. package/es5/plugins/finder/finder.js +1 -1
  258. package/es5/plugins/finder/finder.min.js +1 -1
  259. package/es5/plugins/google-maps/google-maps.css +1 -1
  260. package/es5/plugins/google-maps/google-maps.js +1 -1
  261. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  262. package/es5/plugins/google-search/google-search.js +1 -1
  263. package/es5/plugins/google-search/google-search.min.js +1 -1
  264. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  265. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  266. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  267. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  268. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  269. package/es5/plugins/keyboard/keyboard.css +1 -1
  270. package/es5/plugins/keyboard/keyboard.js +1 -1
  271. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  272. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  273. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  274. package/es5/plugins/page-break/page-break.js +1 -1
  275. package/es5/plugins/page-break/page-break.min.js +1 -1
  276. package/es5/plugins/paste-code/paste-code.css +1 -1
  277. package/es5/plugins/paste-code/paste-code.js +1 -1
  278. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  279. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  280. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  281. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  282. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  283. package/es5/plugins/todo-list/todo-list.css +1 -1
  284. package/es5/plugins/todo-list/todo-list.js +1 -1
  285. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  286. package/es5/plugins/translate/translate.css +1 -1
  287. package/es5/plugins/translate/translate.js +1 -1
  288. package/es5/plugins/translate/translate.min.js +1 -1
  289. package/es5/plugins/tune-block/tune-block.css +1 -1
  290. package/es5/plugins/tune-block/tune-block.js +1 -1
  291. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  292. package/package.json +1 -1
package/es2018/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.1.7
4
+ * Version: v4.1.10
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1929,7 +1929,7 @@ class Async {
1929
1929
  promise(executor) {
1930
1930
  let rejectCallback = () => { };
1931
1931
  const promise = new Promise((resolve, reject) => {
1932
- rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h2)());
1932
+ rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h)());
1933
1933
  this.promisesRejections.add(rejectCallback);
1934
1934
  executor(resolve, reject);
1935
1935
  });
@@ -2414,7 +2414,7 @@ __webpack_require__.r(__webpack_exports__);
2414
2414
  * Released under MIT see LICENSE.txt in the project root for license information.
2415
2415
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
2416
2416
  */
2417
- const APP_VERSION = "4.1.7";
2417
+ const APP_VERSION = "4.1.10";
2418
2418
  // prettier-ignore
2419
2419
  const ES = "es2018";
2420
2420
  const IS_ES_MODERN = true;
@@ -3106,14 +3106,14 @@ __webpack_require__.r(__webpack_exports__);
3106
3106
  /* harmony export */ component: function() { return /* reexport safe */ _component_component__WEBPACK_IMPORTED_MODULE_2__.s; },
3107
3107
  /* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.s; },
3108
3108
  /* harmony export */ derive: function() { return /* reexport safe */ _derive_derive__WEBPACK_IMPORTED_MODULE_4__.C; },
3109
- /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.Nx; },
3109
+ /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.N; },
3110
3110
  /* harmony export */ hook: function() { return /* reexport safe */ _hook_hook__WEBPACK_IMPORTED_MODULE_5__.A; },
3111
3111
  /* harmony export */ idle: function() { return /* reexport safe */ _idle_idle__WEBPACK_IMPORTED_MODULE_6__.N; },
3112
3112
  /* harmony export */ nonenumerable: function() { return /* reexport safe */ _nonenumerable_nonenumerable__WEBPACK_IMPORTED_MODULE_7__.m; },
3113
3113
  /* harmony export */ persistent: function() { return /* reexport safe */ _persistent_persistent__WEBPACK_IMPORTED_MODULE_8__.y; },
3114
3114
  /* harmony export */ throttle: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.n; },
3115
3115
  /* harmony export */ wait: function() { return /* reexport safe */ _wait_wait__WEBPACK_IMPORTED_MODULE_9__.u; },
3116
- /* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.wB; }
3116
+ /* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.w; }
3117
3117
  /* harmony export */ });
3118
3118
  /* harmony import */ var _autobind_autobind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26412);
3119
3119
  /* harmony import */ var _cache_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22002);
@@ -3275,8 +3275,8 @@ function wait(condition) {
3275
3275
 
3276
3276
  "use strict";
3277
3277
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3278
- /* harmony export */ Nx: function() { return /* binding */ getPropertyDescriptor; },
3279
- /* harmony export */ wB: function() { return /* binding */ watch; }
3278
+ /* harmony export */ N: function() { return /* binding */ getPropertyDescriptor; },
3279
+ /* harmony export */ w: function() { return /* binding */ watch; }
3280
3280
  /* harmony export */ });
3281
3281
  /* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
3282
3282
  /* harmony import */ var jodit_core_event_emitter_observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31789);
@@ -3392,7 +3392,6 @@ function watch(observeFields, opts) {
3392
3392
  }
3393
3393
  };
3394
3394
  }
3395
- /* harmony default export */ __webpack_exports__.Ay = (watch);
3396
3395
 
3397
3396
 
3398
3397
  /***/ }),
@@ -4964,7 +4963,7 @@ function observable(obj) {
4964
4963
  const key = _key;
4965
4964
  const prefix = prefixes.concat(key).filter(a => a.length);
4966
4965
  store[key] = dict[key];
4967
- const descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .Nx)(dict, key);
4966
+ const descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .N)(dict, key);
4968
4967
  Object.defineProperty(dict, key, {
4969
4968
  set: (value) => {
4970
4969
  const oldValue = store[key];
@@ -5445,59 +5444,61 @@ function hasBrowserColorPicker() {
5445
5444
 
5446
5445
  "use strict";
5447
5446
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5448
- /* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_5__.A; },
5449
- /* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_18__.B; },
5450
- /* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_6__.C; },
5451
- /* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_8__.E; },
5452
- /* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_13__.E; },
5453
- /* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__.n4; },
5454
- /* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_18__.K; },
5455
- /* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_2__.L; },
5456
- /* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_10__.M; },
5457
- /* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_3__.P; },
5458
- /* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_15__.Q; },
5459
- /* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_22__.R; },
5460
- /* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_4__.T; },
5461
- /* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_12__.a; },
5462
- /* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_1__.c; },
5463
- /* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_21__.h; },
5447
+ /* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_6__.A; },
5448
+ /* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.B; },
5449
+ /* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__.C; },
5450
+ /* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_9__.E; },
5451
+ /* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_14__.E; },
5452
+ /* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.n4; },
5453
+ /* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.K; },
5454
+ /* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_3__.L; },
5455
+ /* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_11__.M; },
5456
+ /* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.P; },
5457
+ /* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_16__.Q; },
5458
+ /* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_23__.R; },
5459
+ /* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_5__.T; },
5460
+ /* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_13__.a; },
5461
+ /* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_2__.c; },
5462
+ /* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_22__.h; },
5464
5463
  /* harmony export */ kC: function() { return /* reexport safe */ _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__.k; },
5465
- /* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__.kO; },
5466
- /* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_14__.k; },
5467
- /* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_23__.l; },
5468
- /* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_19__.m; },
5469
- /* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_3__.n; },
5470
- /* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__.pV; },
5471
- /* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_11__.r; },
5472
- /* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_20__.u; },
5473
- /* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_17__.v; },
5474
- /* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_9__.y; },
5475
- /* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_16__.y; }
5464
+ /* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.kO; },
5465
+ /* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_15__.k; },
5466
+ /* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_24__.l; },
5467
+ /* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_20__.m; },
5468
+ /* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.n; },
5469
+ /* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.pV; },
5470
+ /* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_12__.r; },
5471
+ /* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_21__.u; },
5472
+ /* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_18__.v; },
5473
+ /* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__.y; },
5474
+ /* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_17__.y; },
5475
+ /* harmony export */ zf: function() { return /* reexport safe */ _is_abort_error__WEBPACK_IMPORTED_MODULE_1__.z; }
5476
5476
  /* harmony export */ });
5477
5477
  /* harmony import */ var _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48690);
5478
- /* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55010);
5479
- /* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17083);
5480
- /* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(79015);
5481
- /* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41959);
5482
- /* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62574);
5483
- /* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71972);
5484
- /* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(96483);
5485
- /* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12986);
5486
- /* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(22263);
5487
- /* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1036);
5488
- /* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(97569);
5489
- /* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(721);
5490
- /* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(72558);
5491
- /* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(59372);
5492
- /* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(47903);
5493
- /* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(75138);
5494
- /* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37443);
5495
- /* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26986);
5496
- /* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(20858);
5497
- /* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(30489);
5498
- /* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(35368);
5499
- /* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(74197);
5500
- /* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(3743);
5478
+ /* harmony import */ var _is_abort_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54306);
5479
+ /* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55010);
5480
+ /* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17083);
5481
+ /* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(79015);
5482
+ /* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41959);
5483
+ /* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62574);
5484
+ /* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71972);
5485
+ /* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(96483);
5486
+ /* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(12986);
5487
+ /* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22263);
5488
+ /* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1036);
5489
+ /* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(97569);
5490
+ /* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(721);
5491
+ /* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(72558);
5492
+ /* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(59372);
5493
+ /* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(47903);
5494
+ /* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(75138);
5495
+ /* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(37443);
5496
+ /* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26986);
5497
+ /* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(20858);
5498
+ /* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(30489);
5499
+ /* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(35368);
5500
+ /* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(74197);
5501
+ /* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(3743);
5501
5502
  /*!
5502
5503
  * Jodit Editor (https://xdsoft.net/jodit/)
5503
5504
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5530,6 +5531,28 @@ function hasBrowserColorPicker() {
5530
5531
 
5531
5532
 
5532
5533
 
5534
+
5535
+
5536
+
5537
+ /***/ }),
5538
+
5539
+ /***/ 54306:
5540
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5541
+
5542
+ "use strict";
5543
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5544
+ /* harmony export */ z: function() { return /* binding */ isAbortError; }
5545
+ /* harmony export */ });
5546
+ /*!
5547
+ * Jodit Editor (https://xdsoft.net/jodit/)
5548
+ * Released under MIT see LICENSE.txt in the project root for license information.
5549
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5550
+ */
5551
+ function isAbortError(error) {
5552
+ return (Boolean(error) &&
5553
+ error instanceof DOMException &&
5554
+ error.name === 'AbortError');
5555
+ }
5533
5556
 
5534
5557
 
5535
5558
  /***/ }),
@@ -6719,6 +6742,7 @@ __webpack_require__.r(__webpack_exports__);
6719
6742
  /* harmony export */ htmlspecialchars: function() { return /* reexport safe */ _html__WEBPACK_IMPORTED_MODULE_4__.Gq; },
6720
6743
  /* harmony export */ i18n: function() { return /* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_7__.Ru; },
6721
6744
  /* harmony export */ innerWidth: function() { return /* reexport safe */ _size__WEBPACK_IMPORTED_MODULE_6__.xM; },
6745
+ /* harmony export */ isAbortError: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.zf; },
6722
6746
  /* harmony export */ isArray: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.cy; },
6723
6747
  /* harmony export */ isBoolean: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.Lm; },
6724
6748
  /* harmony export */ isDestructable: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.pV; },
@@ -6782,7 +6806,7 @@ __webpack_require__.r(__webpack_exports__);
6782
6806
  /* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24668);
6783
6807
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71122);
6784
6808
  /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
6785
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _utils__WEBPACK_IMPORTED_MODULE_8__) if(["default","asArray","splitArray","toArray","clearTimeout","setTimeout","hasBrowserColorPicker","hasContainer","isArray","isBoolean","isDestructable","isEqual","isFastEqual","isFunction","isHTML","isHtmlFromWord","isInitable","isInt","isJoditObject","isLicense","isMarker","isNativeFunction","isNumber","isNumeric","isPlainObject","isPromise","isSet","isString","isStringArray","isURL","isValidName","isViewObject","isVoid","isWindow","colorToHex","applyStyles","cleanFromWord","htmlspecialchars","nl2br","safeHTML","sanitizeHTMLElement","stripTags","NUMBER_FIELDS_REG","normalizeColor","normalizeCssNumericValue","normalizeCssValue","normalizeKeyAliases","normalizeLicense","normalizePath","normalizeRelativePath","normalizeSize","normalizeUrl","getContentWidth","getScrollParent","innerWidth","offset","position","size","CamelCaseToKebabCase","camelCase","fuzzySearchIndex","i18n","kebabCase","sprintf","stringify","trim","trimChars","trimInv","ucfirst"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _utils__WEBPACK_IMPORTED_MODULE_8__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
6809
+ /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _utils__WEBPACK_IMPORTED_MODULE_8__) if(["default","asArray","splitArray","toArray","clearTimeout","setTimeout","hasBrowserColorPicker","hasContainer","isAbortError","isArray","isBoolean","isDestructable","isEqual","isFastEqual","isFunction","isHTML","isHtmlFromWord","isInitable","isInt","isJoditObject","isLicense","isMarker","isNativeFunction","isNumber","isNumeric","isPlainObject","isPromise","isSet","isString","isStringArray","isURL","isValidName","isViewObject","isVoid","isWindow","colorToHex","applyStyles","cleanFromWord","htmlspecialchars","nl2br","safeHTML","sanitizeHTMLElement","stripTags","NUMBER_FIELDS_REG","normalizeColor","normalizeCssNumericValue","normalizeCssValue","normalizeKeyAliases","normalizeLicense","normalizePath","normalizeRelativePath","normalizeSize","normalizeUrl","getContentWidth","getScrollParent","innerWidth","offset","position","size","CamelCaseToKebabCase","camelCase","fuzzySearchIndex","i18n","kebabCase","sprintf","stringify","trim","trimChars","trimInv","ucfirst"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _utils__WEBPACK_IMPORTED_MODULE_8__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
6786
6810
  /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
6787
6811
  /*!
6788
6812
  * Jodit Editor (https://xdsoft.net/jodit/)
@@ -8581,27 +8605,26 @@ function options(message) {
8581
8605
 
8582
8606
  "use strict";
8583
8607
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8584
- /* harmony export */ h2: function() { return /* binding */ abort; },
8585
- /* harmony export */ rV: function() { return /* binding */ isAbort; },
8586
- /* harmony export */ zf: function() { return /* binding */ isAbortError; }
8608
+ /* harmony export */ h: function() { return /* binding */ abort; },
8609
+ /* harmony export */ r: function() { return /* binding */ isAbort; }
8587
8610
  /* harmony export */ });
8611
+ /* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54306);
8588
8612
  /*!
8589
8613
  * Jodit Editor (https://xdsoft.net/jodit/)
8590
8614
  * Released under MIT see LICENSE.txt in the project root for license information.
8591
8615
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
8592
8616
  */
8617
+ /**
8618
+ * @module helpers/utils
8619
+ */
8620
+
8593
8621
  function abort(message = 'Aborted') {
8594
8622
  return new DOMException(message, 'AbortError');
8595
8623
  }
8596
- function isAbortError(error) {
8597
- return (Boolean(error) &&
8598
- error instanceof DOMException &&
8599
- error.name === 'AbortError');
8600
- }
8601
8624
  /**
8602
- * @deprecated use `isAbortError`
8625
+ * @deprecated use `isAbortError` instead
8603
8626
  */
8604
- const isAbort = isAbortError;
8627
+ const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
8605
8628
 
8606
8629
 
8607
8630
  /***/ }),
@@ -8638,9 +8661,8 @@ class ConnectionError extends Error {
8638
8661
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8639
8662
  /* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
8640
8663
  /* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
8641
- /* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h2; },
8642
- /* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.rV; },
8643
- /* harmony export */ zf: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.zf; }
8664
+ /* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
8665
+ /* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
8644
8666
  /* harmony export */ });
8645
8667
  /* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
8646
8668
  /* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
@@ -8696,8 +8718,7 @@ class OptionsError extends TypeError {
8696
8718
  /* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
8697
8719
  /* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
8698
8720
  /* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
8699
- /* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; },
8700
- /* harmony export */ zf: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.zf; }
8721
+ /* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
8701
8722
  /* harmony export */ });
8702
8723
  /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
8703
8724
  /* harmony import */ var _errors___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45187);
@@ -8923,7 +8944,6 @@ __webpack_require__.r(__webpack_exports__);
8923
8944
  /* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.z; },
8924
8945
  /* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_22__.l; },
8925
8946
  /* harmony export */ isAbort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.rV; },
8926
- /* harmony export */ isAbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.zf; },
8927
8947
  /* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.mA; },
8928
8948
  /* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.M; },
8929
8949
  /* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_26__.HP; },
@@ -16466,7 +16486,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
16466
16486
  }
16467
16487
  }
16468
16488
  (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
16469
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .wB)(':rebuildToolbar')
16489
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
16470
16490
  ], ViewWithToolbar.prototype, "buildToolbar", null);
16471
16491
  (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
16472
16492
  jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
@@ -19506,10 +19526,11 @@ class FileBrowserItem {
19506
19526
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
19507
19527
 
19508
19528
  "use strict";
19509
- /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(58588);
19510
- /* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22993);
19511
- /* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76989);
19512
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
19529
+ /* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91596);
19530
+ /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
19531
+ /* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22993);
19532
+ /* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76989);
19533
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
19513
19534
  /*!
19514
19535
  * Jodit Editor (https://xdsoft.net/jodit/)
19515
19536
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -19519,19 +19540,20 @@ class FileBrowserItem {
19519
19540
 
19520
19541
 
19521
19542
 
19522
- jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser = {
19543
+
19544
+ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
19523
19545
  namespace: '',
19524
19546
  cache: true,
19525
19547
  extraButtons: [],
19526
19548
  filter(item, search) {
19527
19549
  search = search.toLowerCase();
19528
- if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .Kg)(item)) {
19550
+ if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
19529
19551
  return item.toLowerCase().indexOf(search) !== -1;
19530
19552
  }
19531
- if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .Kg)(item.name)) {
19553
+ if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
19532
19554
  return item.name.toLowerCase().indexOf(search) !== -1;
19533
19555
  }
19534
- if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .Kg)(item.file)) {
19556
+ if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
19535
19557
  return item.file.toLowerCase().indexOf(search) !== -1;
19536
19558
  }
19537
19559
  return true;
@@ -19548,14 +19570,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
19548
19570
  }
19549
19571
  return 0;
19550
19572
  };
19551
- if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .Kg)(a)) {
19573
+ if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
19552
19574
  return compareStr(a.toLowerCase(), b.toLowerCase());
19553
19575
  }
19554
19576
  if (a[sortAttr] === undefined || sortAttr === 'name') {
19555
- if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .Kg)(a.name)) {
19577
+ if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
19556
19578
  return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
19557
19579
  }
19558
- if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .Kg)(a.file)) {
19580
+ if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
19559
19581
  return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
19560
19582
  }
19561
19583
  return 0;
@@ -19566,7 +19588,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
19566
19588
  return asc ? f - s : s - f;
19567
19589
  }
19568
19590
  case 'size': {
19569
- const f = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_3__/* .humanSizeToBytes */ .z)(a.size), s = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_3__/* .humanSizeToBytes */ .z)(b.size);
19591
+ const f = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__/* .humanSizeToBytes */ .z)(a.size), s = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__/* .humanSizeToBytes */ .z)(b.size);
19570
19592
  return asc ? f - s : s - f;
19571
19593
  }
19572
19594
  }
@@ -19627,7 +19649,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
19627
19649
  return resp.success;
19628
19650
  },
19629
19651
  getMessage(resp) {
19630
- return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isArray */ .cy)(resp.data.messages)
19652
+ return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
19631
19653
  ? resp.data.messages.join(' ')
19632
19654
  : '';
19633
19655
  },
@@ -19673,7 +19695,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
19673
19695
  </a>`;
19674
19696
  },
19675
19697
  ajax: {
19676
- ...jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultAjaxOptions,
19698
+ ...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions,
19677
19699
  url: '',
19678
19700
  data: {},
19679
19701
  cache: true,
@@ -19728,13 +19750,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
19728
19750
  data: { action: 'permissions' }
19729
19751
  }
19730
19752
  };
19731
- jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.filebrowser = {
19753
+ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
19732
19754
  upload: {
19733
19755
  icon: 'plus',
19734
19756
  isInput: true,
19735
19757
  isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
19736
19758
  getContent: (filebrowser) => {
19737
- const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_1__/* .UIFileInput */ .n(filebrowser, {
19759
+ const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
19738
19760
  onlyImages: filebrowser.state.onlyImages
19739
19761
  });
19740
19762
  filebrowser.e.fire('bindUploader.filebrowser', btn.container);
@@ -19882,7 +19904,7 @@ let DataProvider = class DataProvider {
19882
19904
  this.parent = parent;
19883
19905
  this.options = options;
19884
19906
  this.__currentPermissions = null;
19885
- this.ajaxInstances = new Map();
19907
+ this.__ajaxInstances = new Map();
19886
19908
  this.progressHandler = (ignore) => { };
19887
19909
  }
19888
19910
  /**
@@ -19892,11 +19914,11 @@ let DataProvider = class DataProvider {
19892
19914
  return this.options;
19893
19915
  }
19894
19916
  get(name) {
19895
- const ai = this.ajaxInstances;
19896
- if (ai.has(name)) {
19897
- const ajax = ai.get(name);
19917
+ const instances = this.__ajaxInstances;
19918
+ if (instances.has(name)) {
19919
+ const ajax = instances.get(name);
19898
19920
  ajax === null || ajax === void 0 ? void 0 : ajax.abort();
19899
- ai.delete(name);
19921
+ instances.delete(name);
19900
19922
  }
19901
19923
  const opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
19902
19924
  ? this.options[name]
@@ -19907,12 +19929,12 @@ let DataProvider = class DataProvider {
19907
19929
  opts.data = opts.prepareData.call(this, opts.data);
19908
19930
  }
19909
19931
  const ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
19910
- ai.set(name, ajax);
19932
+ instances.set(name, ajax);
19911
19933
  const promise = ajax.send();
19912
19934
  promise
19913
19935
  .finally(() => {
19914
19936
  ajax.destruct();
19915
- ai.delete(name);
19937
+ instances.delete(name);
19916
19938
  this.progressHandler(100);
19917
19939
  })
19918
19940
  .catch(() => null);
@@ -19946,6 +19968,7 @@ let DataProvider = class DataProvider {
19946
19968
  if (process) {
19947
19969
  const respData = process.call(self, resp);
19948
19970
  if (respData.data.permissions) {
19971
+ this.parent.events.fire(this, 'changePermissions', this.__currentPermissions, respData.data.permissions);
19949
19972
  this.__currentPermissions = respData.data.permissions;
19950
19973
  }
19951
19974
  }
@@ -20233,8 +20256,8 @@ let DataProvider = class DataProvider {
20233
20256
  return this.options.isSuccess(resp);
20234
20257
  }
20235
20258
  destruct() {
20236
- this.ajaxInstances.forEach(a => a.destruct());
20237
- this.ajaxInstances.clear();
20259
+ this.__ajaxInstances.forEach(a => a.destruct());
20260
+ this.__ajaxInstances.clear();
20238
20261
  }
20239
20262
  };
20240
20263
  DataProvider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
@@ -20387,25 +20410,26 @@ async function loadTree(fb) {
20387
20410
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20388
20411
  /* harmony export */ V: function() { return /* binding */ FileBrowser; }
20389
20412
  /* harmony export */ });
20390
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(31635);
20413
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(31635);
20391
20414
  /* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
20392
20415
  /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
20393
20416
  /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53557);
20394
- /* harmony import */ var jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99582);
20395
- /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9596);
20396
- /* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(47672);
20397
- /* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(28190);
20398
- /* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12148);
20399
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(83148);
20400
- /* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(21310);
20401
- /* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(64164);
20402
- /* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(50067);
20403
- /* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(25430);
20404
- /* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(34255);
20405
- /* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18714);
20406
- /* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(24538);
20407
- /* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(96243);
20408
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(91288);
20417
+ /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24014);
20418
+ /* harmony import */ var jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99582);
20419
+ /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9596);
20420
+ /* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
20421
+ /* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
20422
+ /* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
20423
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(83148);
20424
+ /* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
20425
+ /* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(64164);
20426
+ /* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(50067);
20427
+ /* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(25430);
20428
+ /* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(34255);
20429
+ /* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(18714);
20430
+ /* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(24538);
20431
+ /* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(96243);
20432
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
20409
20433
  /*!
20410
20434
  * Jodit Editor (https://xdsoft.net/jodit/)
20411
20435
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -20432,13 +20456,14 @@ async function loadTree(fb) {
20432
20456
 
20433
20457
 
20434
20458
 
20435
- let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_7__/* .ViewWithToolbar */ .T {
20459
+
20460
+ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__/* .ViewWithToolbar */ .T {
20436
20461
  /** @override */
20437
20462
  className() {
20438
20463
  return 'FileBrowser';
20439
20464
  }
20440
20465
  get dataProvider() {
20441
- return (0,_factories__WEBPACK_IMPORTED_MODULE_14__/* .makeDataProvider */ .S)(this, this.options);
20466
+ return (0,_factories__WEBPACK_IMPORTED_MODULE_15__/* .makeDataProvider */ .S)(this, this.options);
20442
20467
  }
20443
20468
  // eslint-disable-next-line no-unused-vars
20444
20469
  onSelect(callback) {
@@ -20459,7 +20484,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20459
20484
  files,
20460
20485
  isImages
20461
20486
  };
20462
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isFunction)(callback)) {
20487
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(callback)) {
20463
20488
  callback(data);
20464
20489
  }
20465
20490
  this.close();
@@ -20482,7 +20507,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20482
20507
  * Container for set/get value
20483
20508
  */
20484
20509
  get storage() {
20485
- return jodit_core_storage__WEBPACK_IMPORTED_MODULE_5__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
20510
+ return jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
20486
20511
  }
20487
20512
  get isOpened() {
20488
20513
  return this._dialog.isOpened && this.browser.style.display !== 'none';
@@ -20490,6 +20515,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20490
20515
  /**
20491
20516
  * It displays a message in the status bar of filebrowser
20492
20517
  *
20518
+ * @param message - The message that will be displayed
20493
20519
  * @param success - true It will be shown a message light . If no option is specified ,
20494
20520
  * ßan error will be shown the red
20495
20521
  * @example
@@ -20498,13 +20524,13 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20498
20524
  * ```
20499
20525
  */
20500
20526
  status(message, success) {
20501
- if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(message)) {
20527
+ if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(message)) {
20502
20528
  return;
20503
20529
  }
20504
- if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message)) {
20530
+ if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message)) {
20505
20531
  message = message.message;
20506
20532
  }
20507
- if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message) || !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.trim)(message).length) {
20533
+ if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message) || !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.trim)(message).length) {
20508
20534
  return;
20509
20535
  }
20510
20536
  this.message.message(message, success ? 'success' : 'error', this.o.howLongShowMsg);
@@ -20532,7 +20558,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20532
20558
  .promise((resolve, reject) => {
20533
20559
  var _a;
20534
20560
  if (!this.o.items || !this.o.items.url) {
20535
- throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.error)('Need set options.filebrowser.ajax.url');
20561
+ throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.error)('Need set options.filebrowser.ajax.url');
20536
20562
  }
20537
20563
  let localTimeout = 0;
20538
20564
  this.e
@@ -20549,10 +20575,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20549
20575
  .off('select.filebrowser')
20550
20576
  .on('select.filebrowser', this.onSelect(callback));
20551
20577
  const header = this.c.div();
20552
- (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.build(this.__getButtons()).appendTo(header);
20578
+ (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.appendTo(header);
20579
+ this.__updateToolbarButtons();
20553
20580
  this._dialog.open(this.browser, header);
20554
20581
  this.e.fire('sort.filebrowser', this.state.sortBy);
20555
- (0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_9__/* .loadTree */ .r)(this).then(resolve, reject);
20582
+ (0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__/* .loadTree */ .r)(this).then(resolve, reject);
20556
20583
  })
20557
20584
  .catch((e) => {
20558
20585
  if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD) {
@@ -20564,7 +20591,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20564
20591
  var _a;
20565
20592
  const options = ((_a = this.o.buttons) !== null && _a !== void 0 ? _a : []);
20566
20593
  return options.filter((btn) => {
20567
- if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(btn)) {
20594
+ if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(btn)) {
20568
20595
  return true;
20569
20596
  }
20570
20597
  switch (btn) {
@@ -20581,8 +20608,8 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20581
20608
  }
20582
20609
  initUploader(editor) {
20583
20610
  var _a;
20584
- const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_16__/* .Config */ .T.defaultOptions.uploader);
20585
- const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_17__/* .loadItems */ .f)(this);
20611
+ const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.uploader);
20612
+ const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
20586
20613
  self.uploader = self.getInstance('Uploader', uploaderOptions);
20587
20614
  self.uploader
20588
20615
  .setPath(self.state.currentPath)
@@ -20601,11 +20628,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20601
20628
  super(options);
20602
20629
  this.browser = this.c.div(this.componentName);
20603
20630
  this.status_line = this.c.div(this.getFullElName('status'));
20604
- this.tree = new _ui__WEBPACK_IMPORTED_MODULE_15__/* .FileBrowserTree */ .V(this);
20605
- this.files = new _ui__WEBPACK_IMPORTED_MODULE_15__/* .FileBrowserFiles */ .Q(this);
20606
- this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_3__/* .observable */ .sH)({
20631
+ this.tree = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserTree */ .V(this);
20632
+ this.files = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserFiles */ .Q(this);
20633
+ this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
20607
20634
  currentPath: '',
20608
- currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_13__/* .DEFAULT_SOURCE_NAME */ .o,
20635
+ currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_14__/* .DEFAULT_SOURCE_NAME */ .o,
20609
20636
  currentBaseUrl: '',
20610
20637
  activeElements: [],
20611
20638
  elements: [],
@@ -20616,7 +20643,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20616
20643
  onlyImages: false
20617
20644
  });
20618
20645
  this.errorHandler = (resp) => {
20619
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(resp)) {
20646
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(resp)) {
20620
20647
  return;
20621
20648
  }
20622
20649
  if (resp instanceof Error) {
@@ -20632,9 +20659,10 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20632
20659
  this.close = () => {
20633
20660
  this._dialog.close();
20634
20661
  };
20662
+ this.__prevButtons = [];
20635
20663
  this.attachEvents(options);
20636
20664
  const self = this;
20637
- self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_16__/* .Config */ .T.defaultOptions.filebrowser);
20665
+ self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.filebrowser);
20638
20666
  self.browser.component = this;
20639
20667
  self.container = self.browser;
20640
20668
  if (self.o.showFoldersPanel) {
@@ -20642,9 +20670,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20642
20670
  }
20643
20671
  self.browser.appendChild(self.files.container);
20644
20672
  self.browser.appendChild(self.status_line);
20645
- _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_11__/* .selfListeners */ .c.call(self);
20646
- _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_10__/* .nativeListeners */ .nW.call(self);
20647
- _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_12__/* .stateListeners */ .r.call(self);
20673
+ _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__/* .selfListeners */ .c.call(self);
20674
+ _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__/* .nativeListeners */ .nW.call(self);
20675
+ _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__/* .stateListeners */ .r.call(self);
20648
20676
  const keys = [
20649
20677
  'getLocalFileByUrl',
20650
20678
  'crop',
@@ -20662,7 +20690,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20662
20690
  ];
20663
20691
  keys.forEach(key => {
20664
20692
  if (this.options[key] != null) {
20665
- this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)(this.options[key], this.o.ajax);
20693
+ this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(this.options[key], this.o.ajax);
20666
20694
  }
20667
20695
  });
20668
20696
  const { storeView, storeSortBy, storeLastOpenedFolder } = this.o
@@ -20706,26 +20734,49 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20706
20734
  this.events && this.e.off('.filebrowser');
20707
20735
  this.uploader && this.uploader.destruct();
20708
20736
  }
20737
+ __updateToolbarButtons() {
20738
+ var _a;
20739
+ const buttons = this.__getButtons();
20740
+ if (isEqualButtonList(this.__prevButtons, buttons)) {
20741
+ return;
20742
+ }
20743
+ this.__prevButtons = buttons;
20744
+ (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.build(buttons);
20745
+ }
20709
20746
  };
20710
- (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
20747
+ (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20711
20748
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
20712
20749
  ], FileBrowser.prototype, "dataProvider", null);
20713
- (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
20750
+ (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20714
20751
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
20715
20752
  ], FileBrowser.prototype, "_dialog", null);
20716
- (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
20753
+ (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20717
20754
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
20718
20755
  ], FileBrowser.prototype, "storage", null);
20719
- (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
20756
+ (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20720
20757
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
20721
20758
  ], FileBrowser.prototype, "status", null);
20722
- (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
20759
+ (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20723
20760
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
20724
20761
  ], FileBrowser.prototype, "open", null);
20725
- FileBrowser = (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
20726
- (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_6__/* .Dlgs */ .z)
20762
+ (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20763
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__/* .watch */ .w)('dataProvider:changePermissions')
20764
+ ], FileBrowser.prototype, "__updateToolbarButtons", null);
20765
+ FileBrowser = (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
20766
+ (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__/* .Dlgs */ .z)
20727
20767
  ], FileBrowser);
20728
20768
 
20769
+ function isEqualButtonList(prevButtons, buttons) {
20770
+ if (prevButtons.length !== buttons.length) {
20771
+ return false;
20772
+ }
20773
+ for (let i = 0; i < prevButtons.length; i++) {
20774
+ if (prevButtons[i] !== buttons[i]) {
20775
+ return false;
20776
+ }
20777
+ }
20778
+ return true;
20779
+ }
20729
20780
 
20730
20781
 
20731
20782
  /***/ }),
@@ -25897,11 +25948,11 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
25897
25948
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
25898
25949
  /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
25899
25950
  /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
25951
+ /* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54306);
25900
25952
  /* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
25901
25953
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
25902
25954
  /* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
25903
25955
  /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(40521);
25904
- /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9596);
25905
25956
  /*!
25906
25957
  * Jodit Editor (https://xdsoft.net/jodit/)
25907
25958
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -25984,7 +26035,7 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
25984
26035
  jodit.e.fire('ai-assistant-response', htmlFragment);
25985
26036
  })
25986
26037
  .catch(error => {
25987
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.isAbortError)(error)) {
26038
+ if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__/* .isAbortError */ .z)(error)) {
25988
26039
  return;
25989
26040
  }
25990
26041
  jodit.message.error(error.message);
@@ -25995,10 +26046,10 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
25995
26046
  beforeDestruct(_) { }
25996
26047
  }
25997
26048
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
25998
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':generateAiAssistantForm.ai-assistant')
26049
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
25999
26050
  ], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
26000
26051
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
26001
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':invokeAiAssistant')
26052
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':invokeAiAssistant')
26002
26053
  ], aiAssistant.prototype, "onInvokeAiAssistant", null);
26003
26054
  jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
26004
26055
 
@@ -26356,13 +26407,13 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
26356
26407
  }
26357
26408
  };
26358
26409
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
26359
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-response')
26410
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-response')
26360
26411
  ], UiAiAssistant.prototype, "onAiAssistentResponse", null);
26361
26412
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
26362
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-error')
26413
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-error')
26363
26414
  ], UiAiAssistant.prototype, "onAiAssistentError", null);
26364
26415
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
26365
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput:change')
26416
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)('promptInput:change')
26366
26417
  ], UiAiAssistant.prototype, "onChangePromptValue", null);
26367
26418
  UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
26368
26419
  jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
@@ -29995,10 +30046,10 @@ class dtd extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k
29995
30046
  }
29996
30047
  }
29997
30048
  (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
29998
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .wB)(':beforeInsertNode')
30049
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':beforeInsertNode')
29999
30050
  ], dtd.prototype, "__onBeforeInsertNode", null);
30000
30051
  (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
30001
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .wB)(':afterInsertNode')
30052
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':afterInsertNode')
30002
30053
  ], dtd.prototype, "__onAfterInsertNode", null);
30003
30054
  jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('dtd', dtd);
30004
30055