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/es2018/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.1.
|
|
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 = "es2018";
|
|
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/)
|
|
@@ -8546,8 +8573,6 @@ const defaultLanguage = (language, defaultLanguage = 'en') => {
|
|
|
8546
8573
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8547
8574
|
/* harmony export */ FI: function() { return /* binding */ connection; },
|
|
8548
8575
|
/* harmony export */ fF: function() { return /* binding */ options; },
|
|
8549
|
-
/* harmony export */ h2: function() { return /* binding */ abort; },
|
|
8550
|
-
/* harmony export */ rV: function() { return /* binding */ isAbort; },
|
|
8551
8576
|
/* harmony export */ z3: function() { return /* binding */ error; }
|
|
8552
8577
|
/* harmony export */ });
|
|
8553
8578
|
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45187);
|
|
@@ -8572,12 +8597,6 @@ function connection(message) {
|
|
|
8572
8597
|
function options(message) {
|
|
8573
8598
|
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .OptionsError */ .ZW(message);
|
|
8574
8599
|
}
|
|
8575
|
-
function abort(message) {
|
|
8576
|
-
return new _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc(message);
|
|
8577
|
-
}
|
|
8578
|
-
function isAbort(error) {
|
|
8579
|
-
return error instanceof _errors__WEBPACK_IMPORTED_MODULE_0__/* .AbortError */ .lc;
|
|
8580
|
-
}
|
|
8581
8600
|
|
|
8582
8601
|
|
|
8583
8602
|
/***/ }),
|
|
@@ -8587,8 +8606,10 @@ function isAbort(error) {
|
|
|
8587
8606
|
|
|
8588
8607
|
"use strict";
|
|
8589
8608
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8590
|
-
/* harmony export */
|
|
8609
|
+
/* harmony export */ h: function() { return /* binding */ abort; },
|
|
8610
|
+
/* harmony export */ r: function() { return /* binding */ isAbort; }
|
|
8591
8611
|
/* harmony export */ });
|
|
8612
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54306);
|
|
8592
8613
|
/*!
|
|
8593
8614
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8594
8615
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8597,12 +8618,14 @@ function isAbort(error) {
|
|
|
8597
8618
|
/**
|
|
8598
8619
|
* @module helpers/utils
|
|
8599
8620
|
*/
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
Object.setPrototypeOf(this, AbortError.prototype);
|
|
8604
|
-
}
|
|
8621
|
+
|
|
8622
|
+
function abort(message = 'Aborted') {
|
|
8623
|
+
return new DOMException(message, 'AbortError');
|
|
8605
8624
|
}
|
|
8625
|
+
/**
|
|
8626
|
+
* @deprecated use `isAbortError` instead
|
|
8627
|
+
*/
|
|
8628
|
+
const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
|
|
8606
8629
|
|
|
8607
8630
|
|
|
8608
8631
|
/***/ }),
|
|
@@ -8639,7 +8662,8 @@ class ConnectionError extends Error {
|
|
|
8639
8662
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8640
8663
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
8641
8664
|
/* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
|
|
8642
|
-
/* harmony export */
|
|
8665
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
|
|
8666
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
|
|
8643
8667
|
/* harmony export */ });
|
|
8644
8668
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
8645
8669
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -8693,9 +8717,8 @@ class OptionsError extends TypeError {
|
|
|
8693
8717
|
/* harmony export */ Rc: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.Rc; },
|
|
8694
8718
|
/* harmony export */ ZW: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.ZW; },
|
|
8695
8719
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
8696
|
-
/* harmony export */ h2: function() { return /* reexport safe */
|
|
8697
|
-
/* harmony export */
|
|
8698
|
-
/* harmony export */ rV: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.rV; },
|
|
8720
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
8721
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
|
|
8699
8722
|
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8700
8723
|
/* harmony export */ });
|
|
8701
8724
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
@@ -8887,7 +8910,6 @@ const humanSizeToBytes = (human) => {
|
|
|
8887
8910
|
__webpack_require__.r(__webpack_exports__);
|
|
8888
8911
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8889
8912
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
8890
|
-
/* harmony export */ AbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.lc; },
|
|
8891
8913
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.V; },
|
|
8892
8914
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.t; },
|
|
8893
8915
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
@@ -19505,10 +19527,11 @@ class FileBrowserItem {
|
|
|
19505
19527
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
19506
19528
|
|
|
19507
19529
|
"use strict";
|
|
19508
|
-
/* harmony import */ var
|
|
19509
|
-
/* harmony import */ var
|
|
19510
|
-
/* harmony import */ var
|
|
19511
|
-
/* harmony import */ var
|
|
19530
|
+
/* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91596);
|
|
19531
|
+
/* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
|
|
19532
|
+
/* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22993);
|
|
19533
|
+
/* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76989);
|
|
19534
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
19512
19535
|
/*!
|
|
19513
19536
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19514
19537
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19518,19 +19541,20 @@ class FileBrowserItem {
|
|
|
19518
19541
|
|
|
19519
19542
|
|
|
19520
19543
|
|
|
19521
|
-
|
|
19544
|
+
|
|
19545
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
|
|
19522
19546
|
namespace: '',
|
|
19523
19547
|
cache: true,
|
|
19524
19548
|
extraButtons: [],
|
|
19525
19549
|
filter(item, search) {
|
|
19526
19550
|
search = search.toLowerCase();
|
|
19527
|
-
if ((0,
|
|
19551
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
|
|
19528
19552
|
return item.toLowerCase().indexOf(search) !== -1;
|
|
19529
19553
|
}
|
|
19530
|
-
if ((0,
|
|
19554
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
|
|
19531
19555
|
return item.name.toLowerCase().indexOf(search) !== -1;
|
|
19532
19556
|
}
|
|
19533
|
-
if ((0,
|
|
19557
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
|
|
19534
19558
|
return item.file.toLowerCase().indexOf(search) !== -1;
|
|
19535
19559
|
}
|
|
19536
19560
|
return true;
|
|
@@ -19547,14 +19571,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19547
19571
|
}
|
|
19548
19572
|
return 0;
|
|
19549
19573
|
};
|
|
19550
|
-
if ((0,
|
|
19574
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
|
|
19551
19575
|
return compareStr(a.toLowerCase(), b.toLowerCase());
|
|
19552
19576
|
}
|
|
19553
19577
|
if (a[sortAttr] === undefined || sortAttr === 'name') {
|
|
19554
|
-
if ((0,
|
|
19578
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
|
|
19555
19579
|
return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
|
|
19556
19580
|
}
|
|
19557
|
-
if ((0,
|
|
19581
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
|
|
19558
19582
|
return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
|
|
19559
19583
|
}
|
|
19560
19584
|
return 0;
|
|
@@ -19565,7 +19589,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19565
19589
|
return asc ? f - s : s - f;
|
|
19566
19590
|
}
|
|
19567
19591
|
case 'size': {
|
|
19568
|
-
const f = (0,
|
|
19592
|
+
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);
|
|
19569
19593
|
return asc ? f - s : s - f;
|
|
19570
19594
|
}
|
|
19571
19595
|
}
|
|
@@ -19626,7 +19650,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19626
19650
|
return resp.success;
|
|
19627
19651
|
},
|
|
19628
19652
|
getMessage(resp) {
|
|
19629
|
-
return resp.data.messages !== undefined && (0,
|
|
19653
|
+
return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
|
|
19630
19654
|
? resp.data.messages.join(' ')
|
|
19631
19655
|
: '';
|
|
19632
19656
|
},
|
|
@@ -19672,7 +19696,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19672
19696
|
</a>`;
|
|
19673
19697
|
},
|
|
19674
19698
|
ajax: {
|
|
19675
|
-
...
|
|
19699
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions,
|
|
19676
19700
|
url: '',
|
|
19677
19701
|
data: {},
|
|
19678
19702
|
cache: true,
|
|
@@ -19727,13 +19751,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19727
19751
|
data: { action: 'permissions' }
|
|
19728
19752
|
}
|
|
19729
19753
|
};
|
|
19730
|
-
|
|
19754
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
|
|
19731
19755
|
upload: {
|
|
19732
19756
|
icon: 'plus',
|
|
19733
19757
|
isInput: true,
|
|
19734
19758
|
isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
|
|
19735
19759
|
getContent: (filebrowser) => {
|
|
19736
|
-
const btn = new
|
|
19760
|
+
const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
|
|
19737
19761
|
onlyImages: filebrowser.state.onlyImages
|
|
19738
19762
|
});
|
|
19739
19763
|
filebrowser.e.fire('bindUploader.filebrowser', btn.container);
|
|
@@ -19881,7 +19905,7 @@ let DataProvider = class DataProvider {
|
|
|
19881
19905
|
this.parent = parent;
|
|
19882
19906
|
this.options = options;
|
|
19883
19907
|
this.__currentPermissions = null;
|
|
19884
|
-
this.
|
|
19908
|
+
this.__ajaxInstances = new Map();
|
|
19885
19909
|
this.progressHandler = (ignore) => { };
|
|
19886
19910
|
}
|
|
19887
19911
|
/**
|
|
@@ -19891,11 +19915,11 @@ let DataProvider = class DataProvider {
|
|
|
19891
19915
|
return this.options;
|
|
19892
19916
|
}
|
|
19893
19917
|
get(name) {
|
|
19894
|
-
const
|
|
19895
|
-
if (
|
|
19896
|
-
const ajax =
|
|
19918
|
+
const instances = this.__ajaxInstances;
|
|
19919
|
+
if (instances.has(name)) {
|
|
19920
|
+
const ajax = instances.get(name);
|
|
19897
19921
|
ajax === null || ajax === void 0 ? void 0 : ajax.abort();
|
|
19898
|
-
|
|
19922
|
+
instances.delete(name);
|
|
19899
19923
|
}
|
|
19900
19924
|
const opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
|
|
19901
19925
|
? this.options[name]
|
|
@@ -19906,12 +19930,12 @@ let DataProvider = class DataProvider {
|
|
|
19906
19930
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
19907
19931
|
}
|
|
19908
19932
|
const ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
|
|
19909
|
-
|
|
19933
|
+
instances.set(name, ajax);
|
|
19910
19934
|
const promise = ajax.send();
|
|
19911
19935
|
promise
|
|
19912
19936
|
.finally(() => {
|
|
19913
19937
|
ajax.destruct();
|
|
19914
|
-
|
|
19938
|
+
instances.delete(name);
|
|
19915
19939
|
this.progressHandler(100);
|
|
19916
19940
|
})
|
|
19917
19941
|
.catch(() => null);
|
|
@@ -20232,8 +20256,8 @@ let DataProvider = class DataProvider {
|
|
|
20232
20256
|
return this.options.isSuccess(resp);
|
|
20233
20257
|
}
|
|
20234
20258
|
destruct() {
|
|
20235
|
-
this.
|
|
20236
|
-
this.
|
|
20259
|
+
this.__ajaxInstances.forEach(a => a.destruct());
|
|
20260
|
+
this.__ajaxInstances.clear();
|
|
20237
20261
|
}
|
|
20238
20262
|
};
|
|
20239
20263
|
DataProvider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
@@ -20497,7 +20521,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20497
20521
|
* ```
|
|
20498
20522
|
*/
|
|
20499
20523
|
status(message, success) {
|
|
20500
|
-
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
20524
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(message)) {
|
|
20501
20525
|
return;
|
|
20502
20526
|
}
|
|
20503
20527
|
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isString)(message)) {
|
|
@@ -20615,7 +20639,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20615
20639
|
onlyImages: false
|
|
20616
20640
|
});
|
|
20617
20641
|
this.errorHandler = (resp) => {
|
|
20618
|
-
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.
|
|
20642
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isAbortError)(resp)) {
|
|
20619
20643
|
return;
|
|
20620
20644
|
}
|
|
20621
20645
|
if (resp instanceof Error) {
|
|
@@ -22728,6 +22752,9 @@ let UIMessages = class UIMessages extends jodit_core_ui_group_group__WEBPACK_IMP
|
|
|
22728
22752
|
this.async.updateTimeout(key, timeout || this.options.defaultTimeout);
|
|
22729
22753
|
return;
|
|
22730
22754
|
}
|
|
22755
|
+
if (!this.__box) {
|
|
22756
|
+
throw new Error('Container is not defined: ' + key);
|
|
22757
|
+
}
|
|
22731
22758
|
this.__box.appendChild(this.container);
|
|
22732
22759
|
const msg = new jodit_modules_messages_message__WEBPACK_IMPORTED_MODULE_1__/* .UIMessage */ .C(this.j, { text, variant });
|
|
22733
22760
|
this.append(msg);
|
|
@@ -25890,9 +25917,10 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25890
25917
|
|
|
25891
25918
|
"use strict";
|
|
25892
25919
|
/* unused harmony export aiAssistant */
|
|
25893
|
-
/* harmony import */ var
|
|
25920
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
25894
25921
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
25895
25922
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25923
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54306);
|
|
25896
25924
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
25897
25925
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
25898
25926
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
@@ -25909,6 +25937,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25909
25937
|
|
|
25910
25938
|
|
|
25911
25939
|
|
|
25940
|
+
|
|
25912
25941
|
/**
|
|
25913
25942
|
* The plugin inserts content generated by AI into the editor.
|
|
25914
25943
|
*/
|
|
@@ -25978,6 +26007,9 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25978
26007
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
25979
26008
|
})
|
|
25980
26009
|
.catch(error => {
|
|
26010
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__/* .isAbortError */ .z)(error)) {
|
|
26011
|
+
return;
|
|
26012
|
+
}
|
|
25981
26013
|
jodit.message.error(error.message);
|
|
25982
26014
|
jodit.e.fire('ai-assistant-error', error.message);
|
|
25983
26015
|
});
|
|
@@ -25985,10 +26017,10 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25985
26017
|
/** @override */
|
|
25986
26018
|
beforeDestruct(_) { }
|
|
25987
26019
|
}
|
|
25988
|
-
(0,
|
|
26020
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
25989
26021
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':generateAiAssistantForm.ai-assistant')
|
|
25990
26022
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
25991
|
-
(0,
|
|
26023
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
25992
26024
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':invokeAiAssistant')
|
|
25993
26025
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
25994
26026
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
@@ -26353,7 +26385,7 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
|
|
|
26353
26385
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':ai-assistant-error')
|
|
26354
26386
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
26355
26387
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26356
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput
|
|
26388
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)('promptInput:change')
|
|
26357
26389
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
26358
26390
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26359
26391
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|