jodit-pro 4.1.5 → 4.1.7
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.
- package/es2015/jodit.css +11 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +46 -37
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.css +11 -2
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +45 -36
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +11 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +45 -36
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +11 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +45 -36
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +12 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +51 -45
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/package.json +1 -1
package/es5/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.
|
|
4
|
+
* Version: v4.1.7
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -3018,6 +3018,7 @@ Config.prototype.controls = {};
|
|
|
3018
3018
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74197);
|
|
3019
3019
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28712);
|
|
3020
3020
|
/* 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__);
|
|
3021
|
+
/* harmony import */ var jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(30126);
|
|
3021
3022
|
/*!
|
|
3022
3023
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3023
3024
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -3033,6 +3034,7 @@ Config.prototype.controls = {};
|
|
|
3033
3034
|
|
|
3034
3035
|
|
|
3035
3036
|
|
|
3037
|
+
|
|
3036
3038
|
var Async = /** @class */ (function () {
|
|
3037
3039
|
function Async() {
|
|
3038
3040
|
var _this = this;
|
|
@@ -3261,9 +3263,9 @@ var Async = /** @class */ (function () {
|
|
|
3261
3263
|
var _this = this;
|
|
3262
3264
|
var rejectCallback = function () { };
|
|
3263
3265
|
var promise = new Promise(function (resolve, reject) {
|
|
3264
|
-
|
|
3265
|
-
rejectCallback
|
|
3266
|
-
|
|
3266
|
+
rejectCallback = function () { return reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_10__/* .abort */ .h2)()); };
|
|
3267
|
+
_this.promisesRejections.add(rejectCallback);
|
|
3268
|
+
executor(resolve, reject);
|
|
3267
3269
|
});
|
|
3268
3270
|
if (!promise.finally && typeof process !== 'undefined' && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_ES_NEXT) {
|
|
3269
3271
|
promise.finally = function (onfinally) {
|
|
@@ -3809,7 +3811,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3809
3811
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3810
3812
|
*/
|
|
3811
3813
|
|
|
3812
|
-
var APP_VERSION = "4.1.
|
|
3814
|
+
var APP_VERSION = "4.1.7";
|
|
3813
3815
|
// prettier-ignore
|
|
3814
3816
|
var ES = "es5";
|
|
3815
3817
|
var IS_ES_MODERN = false;
|
|
@@ -10276,8 +10278,6 @@ var defaultLanguage = function (language, defaultLanguage) {
|
|
|
10276
10278
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10277
10279
|
/* harmony export */ FI: function() { return /* binding */ connection; },
|
|
10278
10280
|
/* harmony export */ fF: function() { return /* binding */ options; },
|
|
10279
|
-
/* harmony export */ h2: function() { return /* binding */ abort; },
|
|
10280
|
-
/* harmony export */ rV: function() { return /* binding */ isAbort; },
|
|
10281
10281
|
/* harmony export */ z3: function() { return /* binding */ error; }
|
|
10282
10282
|
/* harmony export */ });
|
|
10283
10283
|
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45187);
|
|
@@ -10302,12 +10302,6 @@ function connection(message) {
|
|
|
10302
10302
|
function options(message) {
|
|
10303
10303
|
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .OptionsError */ .ZW(message);
|
|
10304
10304
|
}
|
|
10305
|
-
function abort(message) {
|
|
10306
|
-
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc(message);
|
|
10307
|
-
}
|
|
10308
|
-
function isAbort(error) {
|
|
10309
|
-
return error instanceof _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc;
|
|
10310
|
-
}
|
|
10311
10305
|
|
|
10312
10306
|
|
|
10313
10307
|
/***/ }),
|
|
@@ -10317,28 +10311,30 @@ function isAbort(error) {
|
|
|
10317
10311
|
|
|
10318
10312
|
"use strict";
|
|
10319
10313
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10320
|
-
/* harmony export */
|
|
10314
|
+
/* harmony export */ h2: function() { return /* binding */ abort; },
|
|
10315
|
+
/* harmony export */ rV: function() { return /* binding */ isAbort; },
|
|
10316
|
+
/* harmony export */ zf: function() { return /* binding */ isAbortError; }
|
|
10321
10317
|
/* harmony export */ });
|
|
10322
|
-
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
10323
10318
|
/*!
|
|
10324
10319
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10325
10320
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
10326
10321
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
10327
10322
|
*/
|
|
10328
|
-
|
|
10323
|
+
function abort(message) {
|
|
10324
|
+
if (message === void 0) {
|
|
10325
|
+
message = 'Aborted';
|
|
10326
|
+
}
|
|
10327
|
+
return new DOMException(message, 'AbortError');
|
|
10328
|
+
}
|
|
10329
|
+
function isAbortError(error) {
|
|
10330
|
+
return (Boolean(error) &&
|
|
10331
|
+
error instanceof DOMException &&
|
|
10332
|
+
error.name === 'AbortError');
|
|
10333
|
+
}
|
|
10329
10334
|
/**
|
|
10330
|
-
* @
|
|
10335
|
+
* @deprecated use `isAbortError`
|
|
10331
10336
|
*/
|
|
10332
|
-
var
|
|
10333
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(AbortError, _super);
|
|
10334
|
-
function AbortError(m) {
|
|
10335
|
-
var _this = _super.call(this, m) || this;
|
|
10336
|
-
Object.setPrototypeOf(_this, AbortError.prototype);
|
|
10337
|
-
return _this;
|
|
10338
|
-
}
|
|
10339
|
-
return AbortError;
|
|
10340
|
-
}(Error));
|
|
10341
|
-
|
|
10337
|
+
var isAbort = isAbortError;
|
|
10342
10338
|
|
|
10343
10339
|
|
|
10344
10340
|
/***/ }),
|
|
@@ -10381,7 +10377,9 @@ var ConnectionError = /** @class */ (function (_super) {
|
|
|
10381
10377
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10382
10378
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
10383
10379
|
/* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
|
|
10384
|
-
/* harmony export */
|
|
10380
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h2; },
|
|
10381
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.rV; },
|
|
10382
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.zf; }
|
|
10385
10383
|
/* harmony export */ });
|
|
10386
10384
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
10387
10385
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -10441,10 +10439,10 @@ var OptionsError = /** @class */ (function (_super) {
|
|
|
10441
10439
|
/* harmony export */ Rc: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.Rc; },
|
|
10442
10440
|
/* harmony export */ ZW: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.ZW; },
|
|
10443
10441
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
10444
|
-
/* harmony export */ h2: function() { return /* reexport safe */
|
|
10445
|
-
/* harmony export */
|
|
10446
|
-
/* harmony export */
|
|
10447
|
-
/* harmony export */
|
|
10442
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
10443
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
|
|
10444
|
+
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; },
|
|
10445
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.zf; }
|
|
10448
10446
|
/* harmony export */ });
|
|
10449
10447
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
10450
10448
|
/* harmony import */ var _errors___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45187);
|
|
@@ -10654,7 +10652,6 @@ var humanSizeToBytes = function (human) {
|
|
|
10654
10652
|
__webpack_require__.r(__webpack_exports__);
|
|
10655
10653
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10656
10654
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
10657
|
-
/* harmony export */ AbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.lc; },
|
|
10658
10655
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.V; },
|
|
10659
10656
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.t; },
|
|
10660
10657
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
@@ -10690,6 +10687,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10690
10687
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.z; },
|
|
10691
10688
|
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_22__.l; },
|
|
10692
10689
|
/* harmony export */ isAbort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.rV; },
|
|
10690
|
+
/* harmony export */ isAbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.zf; },
|
|
10693
10691
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.mA; },
|
|
10694
10692
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.M; },
|
|
10695
10693
|
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_26__.HP; },
|
|
@@ -22970,7 +22968,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22970
22968
|
onlyImages: false
|
|
22971
22969
|
});
|
|
22972
22970
|
_this.errorHandler = function (resp) {
|
|
22973
|
-
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
22971
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(resp)) {
|
|
22974
22972
|
return;
|
|
22975
22973
|
}
|
|
22976
22974
|
if (resp instanceof Error) {
|
|
@@ -23137,7 +23135,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23137
23135
|
* ```
|
|
23138
23136
|
*/
|
|
23139
23137
|
FileBrowser.prototype.status = function (message, success) {
|
|
23140
|
-
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
23138
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(message)) {
|
|
23141
23139
|
return;
|
|
23142
23140
|
}
|
|
23143
23141
|
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message)) {
|
|
@@ -25324,6 +25322,9 @@ var UIMessages = /** @class */ (function (_super) {
|
|
|
25324
25322
|
this.async.updateTimeout(key, timeout || this.options.defaultTimeout);
|
|
25325
25323
|
return;
|
|
25326
25324
|
}
|
|
25325
|
+
if (!this.__box) {
|
|
25326
|
+
throw new Error('Container is not defined: ' + key);
|
|
25327
|
+
}
|
|
25327
25328
|
this.__box.appendChild(this.container);
|
|
25328
25329
|
var msg = new jodit_modules_messages_message__WEBPACK_IMPORTED_MODULE_1__/* .UIMessage */ .C(this.j, { text: text, variant: variant });
|
|
25329
25330
|
this.append(msg);
|
|
@@ -28578,13 +28579,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
28578
28579
|
|
|
28579
28580
|
"use strict";
|
|
28580
28581
|
/* unused harmony export aiAssistant */
|
|
28581
|
-
/* harmony import */ var
|
|
28582
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
28582
28583
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
28583
28584
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28584
28585
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
28585
28586
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
28586
28587
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
28587
28588
|
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(40521);
|
|
28589
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9596);
|
|
28588
28590
|
/*!
|
|
28589
28591
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28590
28592
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28597,11 +28599,12 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
28597
28599
|
|
|
28598
28600
|
|
|
28599
28601
|
|
|
28602
|
+
|
|
28600
28603
|
/**
|
|
28601
28604
|
* The plugin inserts content generated by AI into the editor.
|
|
28602
28605
|
*/
|
|
28603
28606
|
var aiAssistant = /** @class */ (function (_super) {
|
|
28604
|
-
(0,
|
|
28607
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__extends */ .C6)(aiAssistant, _super);
|
|
28605
28608
|
function aiAssistant(jodit) {
|
|
28606
28609
|
var _this = _super.call(this, jodit) || this;
|
|
28607
28610
|
/** @override */
|
|
@@ -28627,9 +28630,9 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28627
28630
|
closeOnClickOverlay: true,
|
|
28628
28631
|
closeOnEsc: true,
|
|
28629
28632
|
resizable: false,
|
|
28630
|
-
draggable: true
|
|
28631
|
-
minWidth: 460,
|
|
28632
|
-
maxWidth: 460
|
|
28633
|
+
draggable: true
|
|
28634
|
+
// minWidth: 460,
|
|
28635
|
+
// maxWidth: 460
|
|
28633
28636
|
});
|
|
28634
28637
|
dialog.bindDestruct(jodit);
|
|
28635
28638
|
var container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
@@ -28656,9 +28659,9 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28656
28659
|
var selectedText = jodit.s.html;
|
|
28657
28660
|
jodit.async
|
|
28658
28661
|
.promise(function (resolve, reject) {
|
|
28659
|
-
return (0,
|
|
28662
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__awaiter */ .sH)(_this, void 0, void 0, function () {
|
|
28660
28663
|
var result, error_1;
|
|
28661
|
-
return (0,
|
|
28664
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__generator */ .YH)(this, function (_a) {
|
|
28662
28665
|
switch (_a.label) {
|
|
28663
28666
|
case 0:
|
|
28664
28667
|
_a.trys.push([0, 2, , 3]);
|
|
@@ -28681,16 +28684,19 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28681
28684
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
28682
28685
|
})
|
|
28683
28686
|
.catch(function (error) {
|
|
28687
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.isAbortError)(error)) {
|
|
28688
|
+
return;
|
|
28689
|
+
}
|
|
28684
28690
|
jodit.message.error(error.message);
|
|
28685
28691
|
jodit.e.fire('ai-assistant-error', error.message);
|
|
28686
28692
|
});
|
|
28687
28693
|
};
|
|
28688
28694
|
/** @override */
|
|
28689
28695
|
aiAssistant.prototype.beforeDestruct = function (_) { };
|
|
28690
|
-
(0,
|
|
28696
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
28691
28697
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':generateAiAssistantForm.ai-assistant')
|
|
28692
28698
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
28693
|
-
(0,
|
|
28699
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
28694
28700
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':invokeAiAssistant')
|
|
28695
28701
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
28696
28702
|
return aiAssistant;
|
|
@@ -29052,7 +29058,7 @@ var UiAiAssistant = /** @class */ (function (_super) {
|
|
|
29052
29058
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-error')
|
|
29053
29059
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
29054
29060
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
29055
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput
|
|
29061
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput:change')
|
|
29056
29062
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
29057
29063
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
29058
29064
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|