jodit-pro 4.1.6 → 4.1.9
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 +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +135 -103
- 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 +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +138 -106
- 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 +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +138 -106
- 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 +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +138 -106
- 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 +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +140 -111
- package/es5/jodit.min.css +2 -2
- 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/es2015/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.9
|
|
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
|
var _a, _b, _c, _d, _e;
|
|
@@ -1927,9 +1929,9 @@ class Async {
|
|
|
1927
1929
|
promise(executor) {
|
|
1928
1930
|
let rejectCallback = () => { };
|
|
1929
1931
|
const promise = new Promise((resolve, reject) => {
|
|
1930
|
-
|
|
1931
|
-
rejectCallback
|
|
1932
|
-
|
|
1932
|
+
rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h)());
|
|
1933
|
+
this.promisesRejections.add(rejectCallback);
|
|
1934
|
+
executor(resolve, reject);
|
|
1933
1935
|
});
|
|
1934
1936
|
if (!promise.finally && typeof process !== 'undefined' && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_ES_NEXT) {
|
|
1935
1937
|
promise.finally = (onfinally) => {
|
|
@@ -2412,7 +2414,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2412
2414
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2413
2415
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2414
2416
|
*/
|
|
2415
|
-
const APP_VERSION = "4.1.
|
|
2417
|
+
const APP_VERSION = "4.1.9";
|
|
2416
2418
|
// prettier-ignore
|
|
2417
2419
|
const ES = "es2015";
|
|
2418
2420
|
const IS_ES_MODERN = true;
|
|
@@ -5443,59 +5445,61 @@ function hasBrowserColorPicker() {
|
|
|
5443
5445
|
|
|
5444
5446
|
"use strict";
|
|
5445
5447
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5446
|
-
/* harmony export */ AH: function() { return /* reexport safe */
|
|
5447
|
-
/* harmony export */ Bo: function() { return /* reexport safe */
|
|
5448
|
-
/* harmony export */ CE: function() { return /* reexport safe */
|
|
5449
|
-
/* harmony export */ E6: function() { return /* reexport safe */
|
|
5450
|
-
/* harmony export */ Et: function() { return /* reexport safe */
|
|
5451
|
-
/* harmony export */ Gp: function() { return /* reexport safe */
|
|
5452
|
-
/* harmony export */ Kg: function() { return /* reexport safe */
|
|
5453
|
-
/* harmony export */ Lm: function() { return /* reexport safe */
|
|
5454
|
-
/* harmony export */ Mj: function() { return /* reexport safe */
|
|
5455
|
-
/* harmony export */ P5: function() { return /* reexport safe */
|
|
5456
|
-
/* harmony export */ Qd: function() { return /* reexport safe */
|
|
5457
|
-
/* harmony export */ Rd: function() { return /* reexport safe */
|
|
5458
|
-
/* harmony export */ Tn: function() { return /* reexport safe */
|
|
5459
|
-
/* harmony export */ a3: function() { return /* reexport safe */
|
|
5460
|
-
/* harmony export */ cy: function() { return /* reexport safe */
|
|
5461
|
-
/* harmony export */ hH: function() { return /* reexport safe */
|
|
5448
|
+
/* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_6__.A; },
|
|
5449
|
+
/* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.B; },
|
|
5450
|
+
/* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__.C; },
|
|
5451
|
+
/* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_9__.E; },
|
|
5452
|
+
/* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_14__.E; },
|
|
5453
|
+
/* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.n4; },
|
|
5454
|
+
/* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.K; },
|
|
5455
|
+
/* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_3__.L; },
|
|
5456
|
+
/* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_11__.M; },
|
|
5457
|
+
/* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.P; },
|
|
5458
|
+
/* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_16__.Q; },
|
|
5459
|
+
/* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_23__.R; },
|
|
5460
|
+
/* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_5__.T; },
|
|
5461
|
+
/* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_13__.a; },
|
|
5462
|
+
/* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_2__.c; },
|
|
5463
|
+
/* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_22__.h; },
|
|
5462
5464
|
/* harmony export */ kC: function() { return /* reexport safe */ _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__.k; },
|
|
5463
|
-
/* harmony export */ kO: function() { return /* reexport safe */
|
|
5464
|
-
/* harmony export */ kf: function() { return /* reexport safe */
|
|
5465
|
-
/* harmony export */ l6: function() { return /* reexport safe */
|
|
5466
|
-
/* harmony export */ mv: function() { return /* reexport safe */
|
|
5467
|
-
/* harmony export */ n4: function() { return /* reexport safe */
|
|
5468
|
-
/* harmony export */ pV: function() { return /* reexport safe */
|
|
5469
|
-
/* harmony export */ rg: function() { return /* reexport safe */
|
|
5470
|
-
/* harmony export */ uV: function() { return /* reexport safe */
|
|
5471
|
-
/* harmony export */ vM: function() { return /* reexport safe */
|
|
5472
|
-
/* harmony export */ y0: function() { return /* reexport safe */
|
|
5473
|
-
/* harmony export */ yL: function() { return /* reexport safe */
|
|
5465
|
+
/* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.kO; },
|
|
5466
|
+
/* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_15__.k; },
|
|
5467
|
+
/* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_24__.l; },
|
|
5468
|
+
/* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_20__.m; },
|
|
5469
|
+
/* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.n; },
|
|
5470
|
+
/* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.pV; },
|
|
5471
|
+
/* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_12__.r; },
|
|
5472
|
+
/* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_21__.u; },
|
|
5473
|
+
/* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_18__.v; },
|
|
5474
|
+
/* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__.y; },
|
|
5475
|
+
/* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_17__.y; },
|
|
5476
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _is_abort_error__WEBPACK_IMPORTED_MODULE_1__.z; }
|
|
5474
5477
|
/* harmony export */ });
|
|
5475
5478
|
/* harmony import */ var _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48690);
|
|
5476
|
-
/* harmony import */ var
|
|
5477
|
-
/* harmony import */ var
|
|
5478
|
-
/* harmony import */ var
|
|
5479
|
-
/* harmony import */ var
|
|
5480
|
-
/* harmony import */ var
|
|
5481
|
-
/* harmony import */ var
|
|
5482
|
-
/* harmony import */ var
|
|
5483
|
-
/* harmony import */ var
|
|
5484
|
-
/* harmony import */ var
|
|
5485
|
-
/* harmony import */ var
|
|
5486
|
-
/* harmony import */ var
|
|
5487
|
-
/* harmony import */ var
|
|
5488
|
-
/* harmony import */ var
|
|
5489
|
-
/* harmony import */ var
|
|
5490
|
-
/* harmony import */ var
|
|
5491
|
-
/* harmony import */ var
|
|
5492
|
-
/* harmony import */ var
|
|
5493
|
-
/* harmony import */ var
|
|
5494
|
-
/* harmony import */ var
|
|
5495
|
-
/* harmony import */ var
|
|
5496
|
-
/* harmony import */ var
|
|
5497
|
-
/* harmony import */ var
|
|
5498
|
-
/* harmony import */ var
|
|
5479
|
+
/* harmony import */ var _is_abort_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54306);
|
|
5480
|
+
/* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55010);
|
|
5481
|
+
/* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17083);
|
|
5482
|
+
/* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(79015);
|
|
5483
|
+
/* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41959);
|
|
5484
|
+
/* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62574);
|
|
5485
|
+
/* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71972);
|
|
5486
|
+
/* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(96483);
|
|
5487
|
+
/* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(12986);
|
|
5488
|
+
/* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22263);
|
|
5489
|
+
/* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1036);
|
|
5490
|
+
/* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(97569);
|
|
5491
|
+
/* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(721);
|
|
5492
|
+
/* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(72558);
|
|
5493
|
+
/* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(59372);
|
|
5494
|
+
/* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(47903);
|
|
5495
|
+
/* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(75138);
|
|
5496
|
+
/* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(37443);
|
|
5497
|
+
/* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26986);
|
|
5498
|
+
/* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(20858);
|
|
5499
|
+
/* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(30489);
|
|
5500
|
+
/* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(35368);
|
|
5501
|
+
/* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(74197);
|
|
5502
|
+
/* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(3743);
|
|
5499
5503
|
/*!
|
|
5500
5504
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5501
5505
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -5528,6 +5532,28 @@ function hasBrowserColorPicker() {
|
|
|
5528
5532
|
|
|
5529
5533
|
|
|
5530
5534
|
|
|
5535
|
+
|
|
5536
|
+
|
|
5537
|
+
|
|
5538
|
+
/***/ }),
|
|
5539
|
+
|
|
5540
|
+
/***/ 54306:
|
|
5541
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5542
|
+
|
|
5543
|
+
"use strict";
|
|
5544
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5545
|
+
/* harmony export */ z: function() { return /* binding */ isAbortError; }
|
|
5546
|
+
/* harmony export */ });
|
|
5547
|
+
/*!
|
|
5548
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5549
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
5550
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5551
|
+
*/
|
|
5552
|
+
function isAbortError(error) {
|
|
5553
|
+
return (Boolean(error) &&
|
|
5554
|
+
error instanceof DOMException &&
|
|
5555
|
+
error.name === 'AbortError');
|
|
5556
|
+
}
|
|
5531
5557
|
|
|
5532
5558
|
|
|
5533
5559
|
/***/ }),
|
|
@@ -6717,6 +6743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6717
6743
|
/* harmony export */ htmlspecialchars: function() { return /* reexport safe */ _html__WEBPACK_IMPORTED_MODULE_4__.Gq; },
|
|
6718
6744
|
/* harmony export */ i18n: function() { return /* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_7__.Ru; },
|
|
6719
6745
|
/* harmony export */ innerWidth: function() { return /* reexport safe */ _size__WEBPACK_IMPORTED_MODULE_6__.xM; },
|
|
6746
|
+
/* harmony export */ isAbortError: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.zf; },
|
|
6720
6747
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.cy; },
|
|
6721
6748
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.Lm; },
|
|
6722
6749
|
/* harmony export */ isDestructable: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.pV; },
|
|
@@ -6780,7 +6807,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6780
6807
|
/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24668);
|
|
6781
6808
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71122);
|
|
6782
6809
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
6783
|
-
/* 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__)
|
|
6810
|
+
/* 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__)
|
|
6784
6811
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
6785
6812
|
/*!
|
|
6786
6813
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -8548,8 +8575,6 @@ const defaultLanguage = (language, defaultLanguage = 'en') => {
|
|
|
8548
8575
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8549
8576
|
/* harmony export */ FI: function() { return /* binding */ connection; },
|
|
8550
8577
|
/* harmony export */ fF: function() { return /* binding */ options; },
|
|
8551
|
-
/* harmony export */ h2: function() { return /* binding */ abort; },
|
|
8552
|
-
/* harmony export */ rV: function() { return /* binding */ isAbort; },
|
|
8553
8578
|
/* harmony export */ z3: function() { return /* binding */ error; }
|
|
8554
8579
|
/* harmony export */ });
|
|
8555
8580
|
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45187);
|
|
@@ -8574,12 +8599,6 @@ function connection(message) {
|
|
|
8574
8599
|
function options(message) {
|
|
8575
8600
|
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .OptionsError */ .ZW(message);
|
|
8576
8601
|
}
|
|
8577
|
-
function abort(message) {
|
|
8578
|
-
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc(message);
|
|
8579
|
-
}
|
|
8580
|
-
function isAbort(error) {
|
|
8581
|
-
return error instanceof _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc;
|
|
8582
|
-
}
|
|
8583
8602
|
|
|
8584
8603
|
|
|
8585
8604
|
/***/ }),
|
|
@@ -8589,8 +8608,10 @@ function isAbort(error) {
|
|
|
8589
8608
|
|
|
8590
8609
|
"use strict";
|
|
8591
8610
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8592
|
-
/* harmony export */
|
|
8611
|
+
/* harmony export */ h: function() { return /* binding */ abort; },
|
|
8612
|
+
/* harmony export */ r: function() { return /* binding */ isAbort; }
|
|
8593
8613
|
/* harmony export */ });
|
|
8614
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54306);
|
|
8594
8615
|
/*!
|
|
8595
8616
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8596
8617
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8599,12 +8620,14 @@ function isAbort(error) {
|
|
|
8599
8620
|
/**
|
|
8600
8621
|
* @module helpers/utils
|
|
8601
8622
|
*/
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
Object.setPrototypeOf(this, AbortError.prototype);
|
|
8606
|
-
}
|
|
8623
|
+
|
|
8624
|
+
function abort(message = 'Aborted') {
|
|
8625
|
+
return new DOMException(message, 'AbortError');
|
|
8607
8626
|
}
|
|
8627
|
+
/**
|
|
8628
|
+
* @deprecated use `isAbortError` instead
|
|
8629
|
+
*/
|
|
8630
|
+
const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
|
|
8608
8631
|
|
|
8609
8632
|
|
|
8610
8633
|
/***/ }),
|
|
@@ -8641,7 +8664,8 @@ class ConnectionError extends Error {
|
|
|
8641
8664
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8642
8665
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
8643
8666
|
/* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
|
|
8644
|
-
/* harmony export */
|
|
8667
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
|
|
8668
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
|
|
8645
8669
|
/* harmony export */ });
|
|
8646
8670
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
8647
8671
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -8695,9 +8719,8 @@ class OptionsError extends TypeError {
|
|
|
8695
8719
|
/* harmony export */ Rc: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.Rc; },
|
|
8696
8720
|
/* harmony export */ ZW: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.ZW; },
|
|
8697
8721
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
8698
|
-
/* harmony export */ h2: function() { return /* reexport safe */
|
|
8699
|
-
/* harmony export */
|
|
8700
|
-
/* harmony export */ rV: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.rV; },
|
|
8722
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
8723
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
|
|
8701
8724
|
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8702
8725
|
/* harmony export */ });
|
|
8703
8726
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
@@ -8889,7 +8912,6 @@ const humanSizeToBytes = (human) => {
|
|
|
8889
8912
|
__webpack_require__.r(__webpack_exports__);
|
|
8890
8913
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8891
8914
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
8892
|
-
/* harmony export */ AbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.lc; },
|
|
8893
8915
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.V; },
|
|
8894
8916
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.t; },
|
|
8895
8917
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
@@ -19443,10 +19465,11 @@ class FileBrowserItem {
|
|
|
19443
19465
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
19444
19466
|
|
|
19445
19467
|
"use strict";
|
|
19446
|
-
/* harmony import */ var
|
|
19447
|
-
/* harmony import */ var
|
|
19448
|
-
/* harmony import */ var
|
|
19449
|
-
/* harmony import */ var
|
|
19468
|
+
/* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91596);
|
|
19469
|
+
/* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
|
|
19470
|
+
/* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22993);
|
|
19471
|
+
/* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76989);
|
|
19472
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
19450
19473
|
/*!
|
|
19451
19474
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19452
19475
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19456,19 +19479,20 @@ class FileBrowserItem {
|
|
|
19456
19479
|
|
|
19457
19480
|
|
|
19458
19481
|
|
|
19459
|
-
|
|
19482
|
+
|
|
19483
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
|
|
19460
19484
|
namespace: '',
|
|
19461
19485
|
cache: true,
|
|
19462
19486
|
extraButtons: [],
|
|
19463
19487
|
filter(item, search) {
|
|
19464
19488
|
search = search.toLowerCase();
|
|
19465
|
-
if ((0,
|
|
19489
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
|
|
19466
19490
|
return item.toLowerCase().indexOf(search) !== -1;
|
|
19467
19491
|
}
|
|
19468
|
-
if ((0,
|
|
19492
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
|
|
19469
19493
|
return item.name.toLowerCase().indexOf(search) !== -1;
|
|
19470
19494
|
}
|
|
19471
|
-
if ((0,
|
|
19495
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
|
|
19472
19496
|
return item.file.toLowerCase().indexOf(search) !== -1;
|
|
19473
19497
|
}
|
|
19474
19498
|
return true;
|
|
@@ -19485,14 +19509,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19485
19509
|
}
|
|
19486
19510
|
return 0;
|
|
19487
19511
|
};
|
|
19488
|
-
if ((0,
|
|
19512
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
|
|
19489
19513
|
return compareStr(a.toLowerCase(), b.toLowerCase());
|
|
19490
19514
|
}
|
|
19491
19515
|
if (a[sortAttr] === undefined || sortAttr === 'name') {
|
|
19492
|
-
if ((0,
|
|
19516
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
|
|
19493
19517
|
return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
|
|
19494
19518
|
}
|
|
19495
|
-
if ((0,
|
|
19519
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
|
|
19496
19520
|
return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
|
|
19497
19521
|
}
|
|
19498
19522
|
return 0;
|
|
@@ -19503,7 +19527,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19503
19527
|
return asc ? f - s : s - f;
|
|
19504
19528
|
}
|
|
19505
19529
|
case 'size': {
|
|
19506
|
-
const f = (0,
|
|
19530
|
+
const f = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__/* .humanSizeToBytes */ .z)(a.size), s = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__/* .humanSizeToBytes */ .z)(b.size);
|
|
19507
19531
|
return asc ? f - s : s - f;
|
|
19508
19532
|
}
|
|
19509
19533
|
}
|
|
@@ -19564,7 +19588,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19564
19588
|
return resp.success;
|
|
19565
19589
|
},
|
|
19566
19590
|
getMessage(resp) {
|
|
19567
|
-
return resp.data.messages !== undefined && (0,
|
|
19591
|
+
return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
|
|
19568
19592
|
? resp.data.messages.join(' ')
|
|
19569
19593
|
: '';
|
|
19570
19594
|
},
|
|
@@ -19609,7 +19633,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19609
19633
|
${showName || showSize || showTime ? info : ''}
|
|
19610
19634
|
</a>`;
|
|
19611
19635
|
},
|
|
19612
|
-
ajax: Object.assign(Object.assign({},
|
|
19636
|
+
ajax: Object.assign(Object.assign({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions), { url: '', data: {}, cache: true, contentType: 'application/x-www-form-urlencoded; charset=UTF-8', method: 'POST', processData: true, headers: {}, prepareData(data) {
|
|
19613
19637
|
return data;
|
|
19614
19638
|
},
|
|
19615
19639
|
process(resp) {
|
|
@@ -19655,13 +19679,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19655
19679
|
data: { action: 'permissions' }
|
|
19656
19680
|
}
|
|
19657
19681
|
};
|
|
19658
|
-
|
|
19682
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
|
|
19659
19683
|
upload: {
|
|
19660
19684
|
icon: 'plus',
|
|
19661
19685
|
isInput: true,
|
|
19662
19686
|
isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
|
|
19663
19687
|
getContent: (filebrowser) => {
|
|
19664
|
-
const btn = new
|
|
19688
|
+
const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
|
|
19665
19689
|
onlyImages: filebrowser.state.onlyImages
|
|
19666
19690
|
});
|
|
19667
19691
|
filebrowser.e.fire('bindUploader.filebrowser', btn.container);
|
|
@@ -19809,7 +19833,7 @@ let DataProvider = class DataProvider {
|
|
|
19809
19833
|
this.parent = parent;
|
|
19810
19834
|
this.options = options;
|
|
19811
19835
|
this.__currentPermissions = null;
|
|
19812
|
-
this.
|
|
19836
|
+
this.__ajaxInstances = new Map();
|
|
19813
19837
|
this.progressHandler = (ignore) => { };
|
|
19814
19838
|
}
|
|
19815
19839
|
/**
|
|
@@ -19819,11 +19843,11 @@ let DataProvider = class DataProvider {
|
|
|
19819
19843
|
return this.options;
|
|
19820
19844
|
}
|
|
19821
19845
|
get(name) {
|
|
19822
|
-
const
|
|
19823
|
-
if (
|
|
19824
|
-
const ajax =
|
|
19846
|
+
const instances = this.__ajaxInstances;
|
|
19847
|
+
if (instances.has(name)) {
|
|
19848
|
+
const ajax = instances.get(name);
|
|
19825
19849
|
ajax === null || ajax === void 0 ? void 0 : ajax.abort();
|
|
19826
|
-
|
|
19850
|
+
instances.delete(name);
|
|
19827
19851
|
}
|
|
19828
19852
|
const opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
|
|
19829
19853
|
? this.options[name]
|
|
@@ -19834,12 +19858,12 @@ let DataProvider = class DataProvider {
|
|
|
19834
19858
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
19835
19859
|
}
|
|
19836
19860
|
const ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
|
|
19837
|
-
|
|
19861
|
+
instances.set(name, ajax);
|
|
19838
19862
|
const promise = ajax.send();
|
|
19839
19863
|
promise
|
|
19840
19864
|
.finally(() => {
|
|
19841
19865
|
ajax.destruct();
|
|
19842
|
-
|
|
19866
|
+
instances.delete(name);
|
|
19843
19867
|
this.progressHandler(100);
|
|
19844
19868
|
})
|
|
19845
19869
|
.catch(() => null);
|
|
@@ -20160,8 +20184,8 @@ let DataProvider = class DataProvider {
|
|
|
20160
20184
|
return this.options.isSuccess(resp);
|
|
20161
20185
|
}
|
|
20162
20186
|
destruct() {
|
|
20163
|
-
this.
|
|
20164
|
-
this.
|
|
20187
|
+
this.__ajaxInstances.forEach(a => a.destruct());
|
|
20188
|
+
this.__ajaxInstances.clear();
|
|
20165
20189
|
}
|
|
20166
20190
|
};
|
|
20167
20191
|
DataProvider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
@@ -20429,7 +20453,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20429
20453
|
* ```
|
|
20430
20454
|
*/
|
|
20431
20455
|
status(message, success) {
|
|
20432
|
-
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
20456
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(message)) {
|
|
20433
20457
|
return;
|
|
20434
20458
|
}
|
|
20435
20459
|
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message)) {
|
|
@@ -20547,7 +20571,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20547
20571
|
onlyImages: false
|
|
20548
20572
|
});
|
|
20549
20573
|
this.errorHandler = (resp) => {
|
|
20550
|
-
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
20574
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(resp)) {
|
|
20551
20575
|
return;
|
|
20552
20576
|
}
|
|
20553
20577
|
if (resp instanceof Error) {
|
|
@@ -22660,6 +22684,9 @@ let UIMessages = class UIMessages extends jodit_core_ui_group_group__WEBPACK_IMP
|
|
|
22660
22684
|
this.async.updateTimeout(key, timeout || this.options.defaultTimeout);
|
|
22661
22685
|
return;
|
|
22662
22686
|
}
|
|
22687
|
+
if (!this.__box) {
|
|
22688
|
+
throw new Error('Container is not defined: ' + key);
|
|
22689
|
+
}
|
|
22663
22690
|
this.__box.appendChild(this.container);
|
|
22664
22691
|
const msg = new jodit_modules_messages_message__WEBPACK_IMPORTED_MODULE_1__/* .UIMessage */ .C(this.j, { text, variant });
|
|
22665
22692
|
this.append(msg);
|
|
@@ -25810,6 +25837,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25810
25837
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
25811
25838
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
25812
25839
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25840
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54306);
|
|
25813
25841
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
25814
25842
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
25815
25843
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
@@ -25826,6 +25854,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25826
25854
|
|
|
25827
25855
|
|
|
25828
25856
|
|
|
25857
|
+
|
|
25829
25858
|
/**
|
|
25830
25859
|
* The plugin inserts content generated by AI into the editor.
|
|
25831
25860
|
*/
|
|
@@ -25895,6 +25924,9 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25895
25924
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
25896
25925
|
})
|
|
25897
25926
|
.catch(error => {
|
|
25927
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_7__/* .isAbortError */ .z)(error)) {
|
|
25928
|
+
return;
|
|
25929
|
+
}
|
|
25898
25930
|
jodit.message.error(error.message);
|
|
25899
25931
|
jodit.e.fire('ai-assistant-error', error.message);
|
|
25900
25932
|
});
|
|
@@ -26270,7 +26302,7 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
|
|
|
26270
26302
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-error')
|
|
26271
26303
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
26272
26304
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26273
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput
|
|
26305
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput:change')
|
|
26274
26306
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
26275
26307
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26276
26308
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|