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/es2021/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
|
*/
|
|
@@ -1724,6 +1724,7 @@ Config.prototype.controls = {};
|
|
|
1724
1724
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74197);
|
|
1725
1725
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28712);
|
|
1726
1726
|
/* 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__);
|
|
1727
|
+
/* harmony import */ var jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(30126);
|
|
1727
1728
|
/*!
|
|
1728
1729
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1729
1730
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -1738,6 +1739,7 @@ Config.prototype.controls = {};
|
|
|
1738
1739
|
|
|
1739
1740
|
|
|
1740
1741
|
|
|
1742
|
+
|
|
1741
1743
|
class Async {
|
|
1742
1744
|
constructor() {
|
|
1743
1745
|
this.timers = new Map();
|
|
@@ -1928,9 +1930,9 @@ class Async {
|
|
|
1928
1930
|
promise(executor) {
|
|
1929
1931
|
let rejectCallback = () => { };
|
|
1930
1932
|
const promise = new Promise((resolve, reject) => {
|
|
1931
|
-
|
|
1932
|
-
rejectCallback
|
|
1933
|
-
|
|
1933
|
+
rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h2)());
|
|
1934
|
+
this.promisesRejections.add(rejectCallback);
|
|
1935
|
+
executor(resolve, reject);
|
|
1934
1936
|
});
|
|
1935
1937
|
if (!promise.finally && typeof process !== 'undefined' && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_ES_NEXT) {
|
|
1936
1938
|
promise.finally = (onfinally) => {
|
|
@@ -2413,7 +2415,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2413
2415
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2414
2416
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2415
2417
|
*/
|
|
2416
|
-
const APP_VERSION = "4.1.
|
|
2418
|
+
const APP_VERSION = "4.1.7";
|
|
2417
2419
|
// prettier-ignore
|
|
2418
2420
|
const ES = "es2021";
|
|
2419
2421
|
const IS_ES_MODERN = true;
|
|
@@ -8530,8 +8532,6 @@ const defaultLanguage = (language, defaultLanguage = 'en') => {
|
|
|
8530
8532
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8531
8533
|
/* harmony export */ FI: function() { return /* binding */ connection; },
|
|
8532
8534
|
/* harmony export */ fF: function() { return /* binding */ options; },
|
|
8533
|
-
/* harmony export */ h2: function() { return /* binding */ abort; },
|
|
8534
|
-
/* harmony export */ rV: function() { return /* binding */ isAbort; },
|
|
8535
8535
|
/* harmony export */ z3: function() { return /* binding */ error; }
|
|
8536
8536
|
/* harmony export */ });
|
|
8537
8537
|
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45187);
|
|
@@ -8556,12 +8556,6 @@ function connection(message) {
|
|
|
8556
8556
|
function options(message) {
|
|
8557
8557
|
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .OptionsError */ .ZW(message);
|
|
8558
8558
|
}
|
|
8559
|
-
function abort(message) {
|
|
8560
|
-
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc(message);
|
|
8561
|
-
}
|
|
8562
|
-
function isAbort(error) {
|
|
8563
|
-
return error instanceof _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc;
|
|
8564
|
-
}
|
|
8565
8559
|
|
|
8566
8560
|
|
|
8567
8561
|
/***/ }),
|
|
@@ -8571,22 +8565,27 @@ function isAbort(error) {
|
|
|
8571
8565
|
|
|
8572
8566
|
"use strict";
|
|
8573
8567
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8574
|
-
/* harmony export */
|
|
8568
|
+
/* harmony export */ h2: function() { return /* binding */ abort; },
|
|
8569
|
+
/* harmony export */ rV: function() { return /* binding */ isAbort; },
|
|
8570
|
+
/* harmony export */ zf: function() { return /* binding */ isAbortError; }
|
|
8575
8571
|
/* harmony export */ });
|
|
8576
8572
|
/*!
|
|
8577
8573
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8578
8574
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8579
8575
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8580
8576
|
*/
|
|
8577
|
+
function abort(message = 'Aborted') {
|
|
8578
|
+
return new DOMException(message, 'AbortError');
|
|
8579
|
+
}
|
|
8580
|
+
function isAbortError(error) {
|
|
8581
|
+
return (Boolean(error) &&
|
|
8582
|
+
error instanceof DOMException &&
|
|
8583
|
+
error.name === 'AbortError');
|
|
8584
|
+
}
|
|
8581
8585
|
/**
|
|
8582
|
-
* @
|
|
8586
|
+
* @deprecated use `isAbortError`
|
|
8583
8587
|
*/
|
|
8584
|
-
|
|
8585
|
-
constructor(m) {
|
|
8586
|
-
super(m);
|
|
8587
|
-
Object.setPrototypeOf(this, AbortError.prototype);
|
|
8588
|
-
}
|
|
8589
|
-
}
|
|
8588
|
+
const isAbort = isAbortError;
|
|
8590
8589
|
|
|
8591
8590
|
|
|
8592
8591
|
/***/ }),
|
|
@@ -8623,7 +8622,9 @@ class ConnectionError extends Error {
|
|
|
8623
8622
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8624
8623
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
8625
8624
|
/* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
|
|
8626
|
-
/* harmony export */
|
|
8625
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h2; },
|
|
8626
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.rV; },
|
|
8627
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.zf; }
|
|
8627
8628
|
/* harmony export */ });
|
|
8628
8629
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
8629
8630
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -8677,10 +8678,10 @@ class OptionsError extends TypeError {
|
|
|
8677
8678
|
/* harmony export */ Rc: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.Rc; },
|
|
8678
8679
|
/* harmony export */ ZW: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.ZW; },
|
|
8679
8680
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
8680
|
-
/* harmony export */ h2: function() { return /* reexport safe */
|
|
8681
|
-
/* harmony export */
|
|
8682
|
-
/* harmony export */
|
|
8683
|
-
/* harmony export */
|
|
8681
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
8682
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
|
|
8683
|
+
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; },
|
|
8684
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.zf; }
|
|
8684
8685
|
/* harmony export */ });
|
|
8685
8686
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
8686
8687
|
/* harmony import */ var _errors___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45187);
|
|
@@ -8870,7 +8871,6 @@ const humanSizeToBytes = (human) => {
|
|
|
8870
8871
|
__webpack_require__.r(__webpack_exports__);
|
|
8871
8872
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8872
8873
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
8873
|
-
/* harmony export */ AbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.lc; },
|
|
8874
8874
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.V; },
|
|
8875
8875
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.t; },
|
|
8876
8876
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
@@ -8906,6 +8906,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8906
8906
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.z; },
|
|
8907
8907
|
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_22__.l; },
|
|
8908
8908
|
/* harmony export */ isAbort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.rV; },
|
|
8909
|
+
/* harmony export */ isAbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.zf; },
|
|
8909
8910
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.mA; },
|
|
8910
8911
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.M; },
|
|
8911
8912
|
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_26__.HP; },
|
|
@@ -20440,7 +20441,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20440
20441
|
* ```
|
|
20441
20442
|
*/
|
|
20442
20443
|
status(message, success) {
|
|
20443
|
-
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
20444
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(message)) {
|
|
20444
20445
|
return;
|
|
20445
20446
|
}
|
|
20446
20447
|
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message)) {
|
|
@@ -20555,7 +20556,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20555
20556
|
onlyImages: false
|
|
20556
20557
|
});
|
|
20557
20558
|
this.errorHandler = (resp) => {
|
|
20558
|
-
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
20559
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(resp)) {
|
|
20559
20560
|
return;
|
|
20560
20561
|
}
|
|
20561
20562
|
if (resp instanceof Error) {
|
|
@@ -22667,6 +22668,9 @@ let UIMessages = class UIMessages extends jodit_core_ui_group_group__WEBPACK_IMP
|
|
|
22667
22668
|
this.async.updateTimeout(key, timeout || this.options.defaultTimeout);
|
|
22668
22669
|
return;
|
|
22669
22670
|
}
|
|
22671
|
+
if (!this.__box) {
|
|
22672
|
+
throw new Error('Container is not defined: ' + key);
|
|
22673
|
+
}
|
|
22670
22674
|
this.__box.appendChild(this.container);
|
|
22671
22675
|
const msg = new jodit_modules_messages_message__WEBPACK_IMPORTED_MODULE_1__/* .UIMessage */ .C(this.j, { text, variant });
|
|
22672
22676
|
this.append(msg);
|
|
@@ -25812,13 +25816,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25812
25816
|
|
|
25813
25817
|
"use strict";
|
|
25814
25818
|
/* unused harmony export aiAssistant */
|
|
25815
|
-
/* harmony import */ var
|
|
25819
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
25816
25820
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
25817
25821
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25818
25822
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
25819
25823
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
25820
25824
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
25821
25825
|
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(40521);
|
|
25826
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9596);
|
|
25822
25827
|
/*!
|
|
25823
25828
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25824
25829
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25831,6 +25836,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25831
25836
|
|
|
25832
25837
|
|
|
25833
25838
|
|
|
25839
|
+
|
|
25834
25840
|
/**
|
|
25835
25841
|
* The plugin inserts content generated by AI into the editor.
|
|
25836
25842
|
*/
|
|
@@ -25859,9 +25865,9 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25859
25865
|
closeOnClickOverlay: true,
|
|
25860
25866
|
closeOnEsc: true,
|
|
25861
25867
|
resizable: false,
|
|
25862
|
-
draggable: true
|
|
25863
|
-
minWidth: 460,
|
|
25864
|
-
maxWidth: 460
|
|
25868
|
+
draggable: true
|
|
25869
|
+
// minWidth: 460,
|
|
25870
|
+
// maxWidth: 460
|
|
25865
25871
|
});
|
|
25866
25872
|
dialog.bindDestruct(jodit);
|
|
25867
25873
|
const container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
@@ -25900,6 +25906,9 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25900
25906
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
25901
25907
|
})
|
|
25902
25908
|
.catch(error => {
|
|
25909
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.isAbortError)(error)) {
|
|
25910
|
+
return;
|
|
25911
|
+
}
|
|
25903
25912
|
jodit.message.error(error.message);
|
|
25904
25913
|
jodit.e.fire('ai-assistant-error', error.message);
|
|
25905
25914
|
});
|
|
@@ -25907,10 +25916,10 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25907
25916
|
/** @override */
|
|
25908
25917
|
beforeDestruct(_) { }
|
|
25909
25918
|
}
|
|
25910
|
-
(0,
|
|
25919
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
25911
25920
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':generateAiAssistantForm.ai-assistant')
|
|
25912
25921
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
25913
|
-
(0,
|
|
25922
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
25914
25923
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':invokeAiAssistant')
|
|
25915
25924
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
25916
25925
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
@@ -26275,7 +26284,7 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
|
|
|
26275
26284
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-error')
|
|
26276
26285
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
26277
26286
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26278
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput
|
|
26287
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput:change')
|
|
26279
26288
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
26280
26289
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26281
26290
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|