jodit 4.1.8 → 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 (66) hide show
  1. package/CHANGELOG.md +21 -5
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +108 -78
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +111 -81
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.js +1 -1
  16. package/es2018/plugins/debug/debug.min.js +1 -1
  17. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +1 -1
  21. package/es2021/jodit.fat.min.js +2 -2
  22. package/es2021/jodit.js +111 -81
  23. package/es2021/jodit.min.js +2 -2
  24. package/es2021/plugins/debug/debug.js +1 -1
  25. package/es2021/plugins/debug/debug.min.js +1 -1
  26. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  29. package/es2021.en/jodit.css +1 -1
  30. package/es2021.en/jodit.fat.min.js +2 -2
  31. package/es2021.en/jodit.js +111 -81
  32. package/es2021.en/jodit.min.js +2 -2
  33. package/es2021.en/plugins/debug/debug.js +1 -1
  34. package/es2021.en/plugins/debug/debug.min.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  38. package/es5/jodit.css +2 -2
  39. package/es5/jodit.fat.min.js +2 -2
  40. package/es5/jodit.js +109 -84
  41. package/es5/jodit.min.css +2 -2
  42. package/es5/jodit.min.js +2 -2
  43. package/es5/plugins/debug/debug.js +1 -1
  44. package/es5/plugins/debug/debug.min.js +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  48. package/esm/core/async/async.js +4 -3
  49. package/esm/core/constants.js +1 -1
  50. package/esm/core/helpers/checker/index.d.ts +1 -0
  51. package/esm/core/helpers/checker/index.js +1 -0
  52. package/esm/core/helpers/checker/is-abort-error.d.ts +10 -0
  53. package/esm/core/helpers/checker/is-abort-error.js +10 -0
  54. package/esm/core/helpers/utils/error/error.d.ts +0 -2
  55. package/esm/core/helpers/utils/error/error.js +1 -7
  56. package/esm/core/helpers/utils/error/errors/abort-error.d.ts +13 -3
  57. package/esm/core/helpers/utils/error/errors/abort-error.js +7 -5
  58. package/esm/modules/file-browser/file-browser.js +3 -3
  59. package/esm/modules/messages/messages.js +3 -0
  60. package/esm/plugins/ai-assistant/ai-assistant.js +4 -0
  61. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +1 -1
  62. package/package.json +1 -1
  63. package/types/core/helpers/checker/index.d.ts +1 -0
  64. package/types/core/helpers/checker/is-abort-error.d.ts +10 -0
  65. package/types/core/helpers/utils/error/error.d.ts +0 -2
  66. package/types/core/helpers/utils/error/errors/abort-error.d.ts +13 -3
package/es2018/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.1.8
4
+ * Version: v4.1.10
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1017,6 +1017,7 @@ Config.prototype.controls = {};
1017
1017
  /* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(35642);
1018
1018
  /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28712);
1019
1019
  /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__);
1020
+ /* harmony import */ var jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(21567);
1020
1021
  /*!
1021
1022
  * Jodit Editor (https://xdsoft.net/jodit/)
1022
1023
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -1031,6 +1032,7 @@ Config.prototype.controls = {};
1031
1032
 
1032
1033
 
1033
1034
 
1035
+
1034
1036
  class Async {
1035
1037
  constructor() {
1036
1038
  var _a, _b, _c, _d, _e;
@@ -1220,9 +1222,9 @@ class Async {
1220
1222
  promise(executor) {
1221
1223
  let rejectCallback = () => { };
1222
1224
  const promise = new Promise((resolve, reject) => {
1223
- this.promisesRejections.add(reject);
1224
- rejectCallback = () => reject(Error('Reject promise'));
1225
- return executor(resolve, reject);
1225
+ rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h)());
1226
+ this.promisesRejections.add(rejectCallback);
1227
+ executor(resolve, reject);
1226
1228
  });
1227
1229
  if (!promise.finally && typeof process !== 'undefined' && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_ES_NEXT) {
1228
1230
  promise.finally = (onfinally) => {
@@ -1705,7 +1707,7 @@ __webpack_require__.r(__webpack_exports__);
1705
1707
  * Released under MIT see LICENSE.txt in the project root for license information.
1706
1708
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1707
1709
  */
1708
- const APP_VERSION = "4.1.8";
1710
+ const APP_VERSION = "4.1.10";
1709
1711
  // prettier-ignore
1710
1712
  const ES = "es2018";
1711
1713
  const IS_ES_MODERN = true;
@@ -4736,59 +4738,61 @@ function hasBrowserColorPicker() {
4736
4738
 
4737
4739
  "use strict";
4738
4740
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4739
- /* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_5__.A; },
4740
- /* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_18__.B; },
4741
- /* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_6__.C; },
4742
- /* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_8__.E; },
4743
- /* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_13__.E; },
4744
- /* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__.n4; },
4745
- /* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_18__.K; },
4746
- /* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_2__.L; },
4747
- /* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_10__.M; },
4748
- /* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_3__.P; },
4749
- /* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_15__.Q; },
4750
- /* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_22__.R; },
4751
- /* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_4__.T; },
4752
- /* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_12__.a; },
4753
- /* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_1__.c; },
4754
- /* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_21__.h; },
4741
+ /* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_6__.A; },
4742
+ /* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.B; },
4743
+ /* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__.C; },
4744
+ /* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_9__.E; },
4745
+ /* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_14__.E; },
4746
+ /* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.n4; },
4747
+ /* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.K; },
4748
+ /* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_3__.L; },
4749
+ /* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_11__.M; },
4750
+ /* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.P; },
4751
+ /* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_16__.Q; },
4752
+ /* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_23__.R; },
4753
+ /* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_5__.T; },
4754
+ /* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_13__.a; },
4755
+ /* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_2__.c; },
4756
+ /* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_22__.h; },
4755
4757
  /* harmony export */ kC: function() { return /* reexport safe */ _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__.k; },
4756
- /* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__.kO; },
4757
- /* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_14__.k; },
4758
- /* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_23__.l; },
4759
- /* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_19__.m; },
4760
- /* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_3__.n; },
4761
- /* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__.pV; },
4762
- /* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_11__.r; },
4763
- /* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_20__.u; },
4764
- /* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_17__.v; },
4765
- /* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_9__.y; },
4766
- /* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_16__.y; }
4758
+ /* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.kO; },
4759
+ /* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_15__.k; },
4760
+ /* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_24__.l; },
4761
+ /* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_20__.m; },
4762
+ /* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.n; },
4763
+ /* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.pV; },
4764
+ /* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_12__.r; },
4765
+ /* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_21__.u; },
4766
+ /* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_18__.v; },
4767
+ /* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__.y; },
4768
+ /* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_17__.y; },
4769
+ /* harmony export */ zf: function() { return /* reexport safe */ _is_abort_error__WEBPACK_IMPORTED_MODULE_1__.z; }
4767
4770
  /* harmony export */ });
4768
4771
  /* harmony import */ var _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78479);
4769
- /* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37923);
4770
- /* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9810);
4771
- /* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69810);
4772
- /* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(69052);
4773
- /* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53701);
4774
- /* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21811);
4775
- /* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10058);
4776
- /* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3947);
4777
- /* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(83044);
4778
- /* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(82201);
4779
- /* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(71274);
4780
- /* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(34796);
4781
- /* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2461);
4782
- /* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(12461);
4783
- /* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(25376);
4784
- /* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(92039);
4785
- /* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(53470);
4786
- /* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(98253);
4787
- /* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(6939);
4788
- /* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59082);
4789
- /* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(12041);
4790
- /* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(35642);
4791
- /* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(76776);
4772
+ /* harmony import */ var _is_abort_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99951);
4773
+ /* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37923);
4774
+ /* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9810);
4775
+ /* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(69810);
4776
+ /* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(69052);
4777
+ /* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53701);
4778
+ /* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21811);
4779
+ /* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(10058);
4780
+ /* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(3947);
4781
+ /* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83044);
4782
+ /* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(82201);
4783
+ /* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(71274);
4784
+ /* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(34796);
4785
+ /* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2461);
4786
+ /* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(12461);
4787
+ /* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(25376);
4788
+ /* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(92039);
4789
+ /* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(53470);
4790
+ /* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(98253);
4791
+ /* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(6939);
4792
+ /* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(59082);
4793
+ /* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(12041);
4794
+ /* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(35642);
4795
+ /* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(76776);
4792
4796
  /*!
4793
4797
  * Jodit Editor (https://xdsoft.net/jodit/)
4794
4798
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -4821,6 +4825,28 @@ function hasBrowserColorPicker() {
4821
4825
 
4822
4826
 
4823
4827
 
4828
+
4829
+
4830
+
4831
+ /***/ }),
4832
+
4833
+ /***/ 99951:
4834
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4835
+
4836
+ "use strict";
4837
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4838
+ /* harmony export */ z: function() { return /* binding */ isAbortError; }
4839
+ /* harmony export */ });
4840
+ /*!
4841
+ * Jodit Editor (https://xdsoft.net/jodit/)
4842
+ * Released under MIT see LICENSE.txt in the project root for license information.
4843
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4844
+ */
4845
+ function isAbortError(error) {
4846
+ return (Boolean(error) &&
4847
+ error instanceof DOMException &&
4848
+ error.name === 'AbortError');
4849
+ }
4824
4850
 
4825
4851
 
4826
4852
  /***/ }),
@@ -6010,6 +6036,7 @@ __webpack_require__.r(__webpack_exports__);
6010
6036
  /* harmony export */ htmlspecialchars: function() { return /* reexport safe */ _html__WEBPACK_IMPORTED_MODULE_4__.Gq; },
6011
6037
  /* harmony export */ i18n: function() { return /* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_7__.Ru; },
6012
6038
  /* harmony export */ innerWidth: function() { return /* reexport safe */ _size__WEBPACK_IMPORTED_MODULE_6__.xM; },
6039
+ /* harmony export */ isAbortError: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.zf; },
6013
6040
  /* harmony export */ isArray: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.cy; },
6014
6041
  /* harmony export */ isBoolean: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.Lm; },
6015
6042
  /* harmony export */ isDestructable: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.pV; },
@@ -6073,7 +6100,7 @@ __webpack_require__.r(__webpack_exports__);
6073
6100
  /* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6589);
6074
6101
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97369);
6075
6102
  /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
6076
- /* 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__)
6103
+ /* 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__)
6077
6104
  /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
6078
6105
  /*!
6079
6106
  * Jodit Editor (https://xdsoft.net/jodit/)
@@ -7839,8 +7866,6 @@ const defaultLanguage = (language, defaultLanguage = 'en') => {
7839
7866
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7840
7867
  /* harmony export */ FI: function() { return /* binding */ connection; },
7841
7868
  /* harmony export */ fF: function() { return /* binding */ options; },
7842
- /* harmony export */ h2: function() { return /* binding */ abort; },
7843
- /* harmony export */ rV: function() { return /* binding */ isAbort; },
7844
7869
  /* harmony export */ z3: function() { return /* binding */ error; }
7845
7870
  /* harmony export */ });
7846
7871
  /* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20222);
@@ -7865,12 +7890,6 @@ function connection(message) {
7865
7890
  function options(message) {
7866
7891
  return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .OptionsError */ .ZW(message);
7867
7892
  }
7868
- function abort(message) {
7869
- return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc(message);
7870
- }
7871
- function isAbort(error) {
7872
- return error instanceof _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc;
7873
- }
7874
7893
 
7875
7894
 
7876
7895
  /***/ }),
@@ -7880,8 +7899,10 @@ function isAbort(error) {
7880
7899
 
7881
7900
  "use strict";
7882
7901
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7883
- /* harmony export */ l: function() { return /* binding */ AbortError; }
7902
+ /* harmony export */ h: function() { return /* binding */ abort; },
7903
+ /* harmony export */ r: function() { return /* binding */ isAbort; }
7884
7904
  /* harmony export */ });
7905
+ /* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99951);
7885
7906
  /*!
7886
7907
  * Jodit Editor (https://xdsoft.net/jodit/)
7887
7908
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -7890,12 +7911,14 @@ function isAbort(error) {
7890
7911
  /**
7891
7912
  * @module helpers/utils
7892
7913
  */
7893
- class AbortError extends Error {
7894
- constructor(m) {
7895
- super(m);
7896
- Object.setPrototypeOf(this, AbortError.prototype);
7897
- }
7914
+
7915
+ function abort(message = 'Aborted') {
7916
+ return new DOMException(message, 'AbortError');
7898
7917
  }
7918
+ /**
7919
+ * @deprecated use `isAbortError` instead
7920
+ */
7921
+ const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
7899
7922
 
7900
7923
 
7901
7924
  /***/ }),
@@ -7932,7 +7955,8 @@ class ConnectionError extends Error {
7932
7955
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7933
7956
  /* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
7934
7957
  /* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
7935
- /* harmony export */ lc: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.l; }
7958
+ /* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
7959
+ /* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
7936
7960
  /* harmony export */ });
7937
7961
  /* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21567);
7938
7962
  /* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(30495);
@@ -7986,9 +8010,8 @@ class OptionsError extends TypeError {
7986
8010
  /* harmony export */ Rc: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.Rc; },
7987
8011
  /* harmony export */ ZW: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.ZW; },
7988
8012
  /* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
7989
- /* harmony export */ h2: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.h2; },
7990
- /* harmony export */ lc: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.lc; },
7991
- /* harmony export */ rV: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.rV; },
8013
+ /* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
8014
+ /* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
7992
8015
  /* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
7993
8016
  /* harmony export */ });
7994
8017
  /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(76166);
@@ -8180,7 +8203,6 @@ const humanSizeToBytes = (human) => {
8180
8203
  __webpack_require__.r(__webpack_exports__);
8181
8204
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8182
8205
  /* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
8183
- /* harmony export */ AbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.lc; },
8184
8206
  /* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.V; },
8185
8207
  /* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.t; },
8186
8208
  /* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
@@ -19701,7 +19723,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
19701
19723
  * ```
19702
19724
  */
19703
19725
  status(message, success) {
19704
- if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbort)(message)) {
19726
+ if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(message)) {
19705
19727
  return;
19706
19728
  }
19707
19729
  if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message)) {
@@ -19819,7 +19841,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
19819
19841
  onlyImages: false
19820
19842
  });
19821
19843
  this.errorHandler = (resp) => {
19822
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbort)(resp)) {
19844
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(resp)) {
19823
19845
  return;
19824
19846
  }
19825
19847
  if (resp instanceof Error) {
@@ -21932,6 +21954,9 @@ let UIMessages = class UIMessages extends jodit_core_ui_group_group__WEBPACK_IMP
21932
21954
  this.async.updateTimeout(key, timeout || this.options.defaultTimeout);
21933
21955
  return;
21934
21956
  }
21957
+ if (!this.__box) {
21958
+ throw new Error('Container is not defined: ' + key);
21959
+ }
21935
21960
  this.__box.appendChild(this.container);
21936
21961
  const msg = new jodit_modules_messages_message__WEBPACK_IMPORTED_MODULE_1__/* .UIMessage */ .C(this.j, { text, variant });
21937
21962
  this.append(msg);
@@ -25094,9 +25119,10 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
25094
25119
 
25095
25120
  "use strict";
25096
25121
  /* unused harmony export aiAssistant */
25097
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
25122
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
25098
25123
  /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(66927);
25099
25124
  /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
25125
+ /* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(99951);
25100
25126
  /* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
25101
25127
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66888);
25102
25128
  /* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20785);
@@ -25113,6 +25139,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
25113
25139
 
25114
25140
 
25115
25141
 
25142
+
25116
25143
  /**
25117
25144
  * The plugin inserts content generated by AI into the editor.
25118
25145
  */
@@ -25182,6 +25209,9 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
25182
25209
  jodit.e.fire('ai-assistant-response', htmlFragment);
25183
25210
  })
25184
25211
  .catch(error => {
25212
+ if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__/* .isAbortError */ .z)(error)) {
25213
+ return;
25214
+ }
25185
25215
  jodit.message.error(error.message);
25186
25216
  jodit.e.fire('ai-assistant-error', error.message);
25187
25217
  });
@@ -25189,10 +25219,10 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
25189
25219
  /** @override */
25190
25220
  beforeDestruct(_) { }
25191
25221
  }
25192
- (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
25222
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
25193
25223
  (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':generateAiAssistantForm.ai-assistant')
25194
25224
  ], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
25195
- (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
25225
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
25196
25226
  (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':invokeAiAssistant')
25197
25227
  ], aiAssistant.prototype, "onInvokeAiAssistant", null);
25198
25228
  jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
@@ -25557,7 +25587,7 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
25557
25587
  (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-error')
25558
25588
  ], UiAiAssistant.prototype, "onAiAssistentError", null);
25559
25589
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
25560
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput.nativeInput:input')
25590
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput:change')
25561
25591
  ], UiAiAssistant.prototype, "onChangePromptValue", null);
25562
25592
  UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
25563
25593
  jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s