jodit-pro 4.1.7 → 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 +124 -101
- 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 +120 -97
- 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 +120 -97
- 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 +120 -97
- 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 +128 -105
- 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/es2021/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.1.
|
|
4
|
+
* Version: v4.1.9
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1930,7 +1930,7 @@ class Async {
|
|
|
1930
1930
|
promise(executor) {
|
|
1931
1931
|
let rejectCallback = () => { };
|
|
1932
1932
|
const promise = new Promise((resolve, reject) => {
|
|
1933
|
-
rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .
|
|
1933
|
+
rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h)());
|
|
1934
1934
|
this.promisesRejections.add(rejectCallback);
|
|
1935
1935
|
executor(resolve, reject);
|
|
1936
1936
|
});
|
|
@@ -2415,7 +2415,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2415
2415
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2416
2416
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2417
2417
|
*/
|
|
2418
|
-
const APP_VERSION = "4.1.
|
|
2418
|
+
const APP_VERSION = "4.1.9";
|
|
2419
2419
|
// prettier-ignore
|
|
2420
2420
|
const ES = "es2021";
|
|
2421
2421
|
const IS_ES_MODERN = true;
|
|
@@ -5429,59 +5429,61 @@ function hasBrowserColorPicker() {
|
|
|
5429
5429
|
|
|
5430
5430
|
"use strict";
|
|
5431
5431
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5432
|
-
/* harmony export */ AH: function() { return /* reexport safe */
|
|
5433
|
-
/* harmony export */ Bo: function() { return /* reexport safe */
|
|
5434
|
-
/* harmony export */ CE: function() { return /* reexport safe */
|
|
5435
|
-
/* harmony export */ E6: function() { return /* reexport safe */
|
|
5436
|
-
/* harmony export */ Et: function() { return /* reexport safe */
|
|
5437
|
-
/* harmony export */ Gp: function() { return /* reexport safe */
|
|
5438
|
-
/* harmony export */ Kg: function() { return /* reexport safe */
|
|
5439
|
-
/* harmony export */ Lm: function() { return /* reexport safe */
|
|
5440
|
-
/* harmony export */ Mj: function() { return /* reexport safe */
|
|
5441
|
-
/* harmony export */ P5: function() { return /* reexport safe */
|
|
5442
|
-
/* harmony export */ Qd: function() { return /* reexport safe */
|
|
5443
|
-
/* harmony export */ Rd: function() { return /* reexport safe */
|
|
5444
|
-
/* harmony export */ Tn: function() { return /* reexport safe */
|
|
5445
|
-
/* harmony export */ a3: function() { return /* reexport safe */
|
|
5446
|
-
/* harmony export */ cy: function() { return /* reexport safe */
|
|
5447
|
-
/* harmony export */ hH: function() { return /* reexport safe */
|
|
5432
|
+
/* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_6__.A; },
|
|
5433
|
+
/* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.B; },
|
|
5434
|
+
/* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__.C; },
|
|
5435
|
+
/* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_9__.E; },
|
|
5436
|
+
/* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_14__.E; },
|
|
5437
|
+
/* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.n4; },
|
|
5438
|
+
/* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.K; },
|
|
5439
|
+
/* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_3__.L; },
|
|
5440
|
+
/* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_11__.M; },
|
|
5441
|
+
/* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.P; },
|
|
5442
|
+
/* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_16__.Q; },
|
|
5443
|
+
/* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_23__.R; },
|
|
5444
|
+
/* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_5__.T; },
|
|
5445
|
+
/* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_13__.a; },
|
|
5446
|
+
/* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_2__.c; },
|
|
5447
|
+
/* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_22__.h; },
|
|
5448
5448
|
/* harmony export */ kC: function() { return /* reexport safe */ _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__.k; },
|
|
5449
|
-
/* harmony export */ kO: function() { return /* reexport safe */
|
|
5450
|
-
/* harmony export */ kf: function() { return /* reexport safe */
|
|
5451
|
-
/* harmony export */ l6: function() { return /* reexport safe */
|
|
5452
|
-
/* harmony export */ mv: function() { return /* reexport safe */
|
|
5453
|
-
/* harmony export */ n4: function() { return /* reexport safe */
|
|
5454
|
-
/* harmony export */ pV: function() { return /* reexport safe */
|
|
5455
|
-
/* harmony export */ rg: function() { return /* reexport safe */
|
|
5456
|
-
/* harmony export */ uV: function() { return /* reexport safe */
|
|
5457
|
-
/* harmony export */ vM: function() { return /* reexport safe */
|
|
5458
|
-
/* harmony export */ y0: function() { return /* reexport safe */
|
|
5459
|
-
/* harmony export */ yL: function() { return /* reexport safe */
|
|
5449
|
+
/* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.kO; },
|
|
5450
|
+
/* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_15__.k; },
|
|
5451
|
+
/* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_24__.l; },
|
|
5452
|
+
/* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_20__.m; },
|
|
5453
|
+
/* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.n; },
|
|
5454
|
+
/* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.pV; },
|
|
5455
|
+
/* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_12__.r; },
|
|
5456
|
+
/* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_21__.u; },
|
|
5457
|
+
/* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_18__.v; },
|
|
5458
|
+
/* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__.y; },
|
|
5459
|
+
/* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_17__.y; },
|
|
5460
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _is_abort_error__WEBPACK_IMPORTED_MODULE_1__.z; }
|
|
5460
5461
|
/* harmony export */ });
|
|
5461
5462
|
/* harmony import */ var _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48690);
|
|
5462
|
-
/* harmony import */ var
|
|
5463
|
-
/* harmony import */ var
|
|
5464
|
-
/* harmony import */ var
|
|
5465
|
-
/* harmony import */ var
|
|
5466
|
-
/* harmony import */ var
|
|
5467
|
-
/* harmony import */ var
|
|
5468
|
-
/* harmony import */ var
|
|
5469
|
-
/* harmony import */ var
|
|
5470
|
-
/* harmony import */ var
|
|
5471
|
-
/* harmony import */ var
|
|
5472
|
-
/* harmony import */ var
|
|
5473
|
-
/* harmony import */ var
|
|
5474
|
-
/* harmony import */ var
|
|
5475
|
-
/* harmony import */ var
|
|
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
|
|
5463
|
+
/* harmony import */ var _is_abort_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54306);
|
|
5464
|
+
/* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55010);
|
|
5465
|
+
/* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17083);
|
|
5466
|
+
/* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(79015);
|
|
5467
|
+
/* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41959);
|
|
5468
|
+
/* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62574);
|
|
5469
|
+
/* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71972);
|
|
5470
|
+
/* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(96483);
|
|
5471
|
+
/* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(12986);
|
|
5472
|
+
/* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22263);
|
|
5473
|
+
/* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1036);
|
|
5474
|
+
/* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(97569);
|
|
5475
|
+
/* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(721);
|
|
5476
|
+
/* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(72558);
|
|
5477
|
+
/* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(59372);
|
|
5478
|
+
/* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(47903);
|
|
5479
|
+
/* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(75138);
|
|
5480
|
+
/* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(37443);
|
|
5481
|
+
/* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26986);
|
|
5482
|
+
/* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(20858);
|
|
5483
|
+
/* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(30489);
|
|
5484
|
+
/* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(35368);
|
|
5485
|
+
/* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(74197);
|
|
5486
|
+
/* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(3743);
|
|
5485
5487
|
/*!
|
|
5486
5488
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5487
5489
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -5514,6 +5516,28 @@ function hasBrowserColorPicker() {
|
|
|
5514
5516
|
|
|
5515
5517
|
|
|
5516
5518
|
|
|
5519
|
+
|
|
5520
|
+
|
|
5521
|
+
|
|
5522
|
+
/***/ }),
|
|
5523
|
+
|
|
5524
|
+
/***/ 54306:
|
|
5525
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5526
|
+
|
|
5527
|
+
"use strict";
|
|
5528
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5529
|
+
/* harmony export */ z: function() { return /* binding */ isAbortError; }
|
|
5530
|
+
/* harmony export */ });
|
|
5531
|
+
/*!
|
|
5532
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5533
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
5534
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5535
|
+
*/
|
|
5536
|
+
function isAbortError(error) {
|
|
5537
|
+
return (Boolean(error) &&
|
|
5538
|
+
error instanceof DOMException &&
|
|
5539
|
+
error.name === 'AbortError');
|
|
5540
|
+
}
|
|
5517
5541
|
|
|
5518
5542
|
|
|
5519
5543
|
/***/ }),
|
|
@@ -6703,6 +6727,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6703
6727
|
/* harmony export */ htmlspecialchars: function() { return /* reexport safe */ _html__WEBPACK_IMPORTED_MODULE_4__.Gq; },
|
|
6704
6728
|
/* harmony export */ i18n: function() { return /* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_7__.Ru; },
|
|
6705
6729
|
/* harmony export */ innerWidth: function() { return /* reexport safe */ _size__WEBPACK_IMPORTED_MODULE_6__.xM; },
|
|
6730
|
+
/* harmony export */ isAbortError: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.zf; },
|
|
6706
6731
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.cy; },
|
|
6707
6732
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.Lm; },
|
|
6708
6733
|
/* harmony export */ isDestructable: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.pV; },
|
|
@@ -6766,7 +6791,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6766
6791
|
/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24668);
|
|
6767
6792
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71122);
|
|
6768
6793
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
6769
|
-
/* 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__)
|
|
6794
|
+
/* 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__)
|
|
6770
6795
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
6771
6796
|
/*!
|
|
6772
6797
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -8565,27 +8590,26 @@ function options(message) {
|
|
|
8565
8590
|
|
|
8566
8591
|
"use strict";
|
|
8567
8592
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8568
|
-
/* harmony export */
|
|
8569
|
-
/* harmony export */
|
|
8570
|
-
/* harmony export */ zf: function() { return /* binding */ isAbortError; }
|
|
8593
|
+
/* harmony export */ h: function() { return /* binding */ abort; },
|
|
8594
|
+
/* harmony export */ r: function() { return /* binding */ isAbort; }
|
|
8571
8595
|
/* harmony export */ });
|
|
8596
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54306);
|
|
8572
8597
|
/*!
|
|
8573
8598
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8574
8599
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8575
8600
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8576
8601
|
*/
|
|
8602
|
+
/**
|
|
8603
|
+
* @module helpers/utils
|
|
8604
|
+
*/
|
|
8605
|
+
|
|
8577
8606
|
function abort(message = 'Aborted') {
|
|
8578
8607
|
return new DOMException(message, 'AbortError');
|
|
8579
8608
|
}
|
|
8580
|
-
function isAbortError(error) {
|
|
8581
|
-
return (Boolean(error) &&
|
|
8582
|
-
error instanceof DOMException &&
|
|
8583
|
-
error.name === 'AbortError');
|
|
8584
|
-
}
|
|
8585
8609
|
/**
|
|
8586
|
-
* @deprecated use `isAbortError`
|
|
8610
|
+
* @deprecated use `isAbortError` instead
|
|
8587
8611
|
*/
|
|
8588
|
-
const isAbort = isAbortError;
|
|
8612
|
+
const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
|
|
8589
8613
|
|
|
8590
8614
|
|
|
8591
8615
|
/***/ }),
|
|
@@ -8622,9 +8646,8 @@ class ConnectionError extends Error {
|
|
|
8622
8646
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8623
8647
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
8624
8648
|
/* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
|
|
8625
|
-
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.
|
|
8626
|
-
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.
|
|
8627
|
-
/* harmony export */ zf: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.zf; }
|
|
8649
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
|
|
8650
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
|
|
8628
8651
|
/* harmony export */ });
|
|
8629
8652
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
8630
8653
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -8680,8 +8703,7 @@ class OptionsError extends TypeError {
|
|
|
8680
8703
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
8681
8704
|
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
8682
8705
|
/* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
|
|
8683
|
-
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8684
|
-
/* harmony export */ zf: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.zf; }
|
|
8706
|
+
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8685
8707
|
/* harmony export */ });
|
|
8686
8708
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
8687
8709
|
/* harmony import */ var _errors___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45187);
|
|
@@ -8906,7 +8928,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8906
8928
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.z; },
|
|
8907
8929
|
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_22__.l; },
|
|
8908
8930
|
/* harmony export */ isAbort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.rV; },
|
|
8909
|
-
/* harmony export */ isAbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.zf; },
|
|
8910
8931
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.mA; },
|
|
8911
8932
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.M; },
|
|
8912
8933
|
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_26__.HP; },
|
|
@@ -19453,10 +19474,11 @@ class FileBrowserItem {
|
|
|
19453
19474
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
19454
19475
|
|
|
19455
19476
|
"use strict";
|
|
19456
|
-
/* harmony import */ var
|
|
19457
|
-
/* harmony import */ var
|
|
19458
|
-
/* harmony import */ var
|
|
19459
|
-
/* harmony import */ var
|
|
19477
|
+
/* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91596);
|
|
19478
|
+
/* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
|
|
19479
|
+
/* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22993);
|
|
19480
|
+
/* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76989);
|
|
19481
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
19460
19482
|
/*!
|
|
19461
19483
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19462
19484
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19466,19 +19488,20 @@ class FileBrowserItem {
|
|
|
19466
19488
|
|
|
19467
19489
|
|
|
19468
19490
|
|
|
19469
|
-
|
|
19491
|
+
|
|
19492
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
|
|
19470
19493
|
namespace: '',
|
|
19471
19494
|
cache: true,
|
|
19472
19495
|
extraButtons: [],
|
|
19473
19496
|
filter(item, search) {
|
|
19474
19497
|
search = search.toLowerCase();
|
|
19475
|
-
if ((0,
|
|
19498
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
|
|
19476
19499
|
return item.toLowerCase().indexOf(search) !== -1;
|
|
19477
19500
|
}
|
|
19478
|
-
if ((0,
|
|
19501
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
|
|
19479
19502
|
return item.name.toLowerCase().indexOf(search) !== -1;
|
|
19480
19503
|
}
|
|
19481
|
-
if ((0,
|
|
19504
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
|
|
19482
19505
|
return item.file.toLowerCase().indexOf(search) !== -1;
|
|
19483
19506
|
}
|
|
19484
19507
|
return true;
|
|
@@ -19495,14 +19518,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19495
19518
|
}
|
|
19496
19519
|
return 0;
|
|
19497
19520
|
};
|
|
19498
|
-
if ((0,
|
|
19521
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
|
|
19499
19522
|
return compareStr(a.toLowerCase(), b.toLowerCase());
|
|
19500
19523
|
}
|
|
19501
19524
|
if (a[sortAttr] === undefined || sortAttr === 'name') {
|
|
19502
|
-
if ((0,
|
|
19525
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
|
|
19503
19526
|
return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
|
|
19504
19527
|
}
|
|
19505
|
-
if ((0,
|
|
19528
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
|
|
19506
19529
|
return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
|
|
19507
19530
|
}
|
|
19508
19531
|
return 0;
|
|
@@ -19513,7 +19536,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19513
19536
|
return asc ? f - s : s - f;
|
|
19514
19537
|
}
|
|
19515
19538
|
case 'size': {
|
|
19516
|
-
const f = (0,
|
|
19539
|
+
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);
|
|
19517
19540
|
return asc ? f - s : s - f;
|
|
19518
19541
|
}
|
|
19519
19542
|
}
|
|
@@ -19574,7 +19597,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19574
19597
|
return resp.success;
|
|
19575
19598
|
},
|
|
19576
19599
|
getMessage(resp) {
|
|
19577
|
-
return resp.data.messages !== undefined && (0,
|
|
19600
|
+
return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
|
|
19578
19601
|
? resp.data.messages.join(' ')
|
|
19579
19602
|
: '';
|
|
19580
19603
|
},
|
|
@@ -19620,7 +19643,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19620
19643
|
</a>`;
|
|
19621
19644
|
},
|
|
19622
19645
|
ajax: {
|
|
19623
|
-
...
|
|
19646
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions,
|
|
19624
19647
|
url: '',
|
|
19625
19648
|
data: {},
|
|
19626
19649
|
cache: true,
|
|
@@ -19675,13 +19698,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19675
19698
|
data: { action: 'permissions' }
|
|
19676
19699
|
}
|
|
19677
19700
|
};
|
|
19678
|
-
|
|
19701
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
|
|
19679
19702
|
upload: {
|
|
19680
19703
|
icon: 'plus',
|
|
19681
19704
|
isInput: true,
|
|
19682
19705
|
isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
|
|
19683
19706
|
getContent: (filebrowser) => {
|
|
19684
|
-
const btn = new
|
|
19707
|
+
const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
|
|
19685
19708
|
onlyImages: filebrowser.state.onlyImages
|
|
19686
19709
|
});
|
|
19687
19710
|
filebrowser.e.fire('bindUploader.filebrowser', btn.container);
|
|
@@ -19829,7 +19852,7 @@ let DataProvider = class DataProvider {
|
|
|
19829
19852
|
this.parent = parent;
|
|
19830
19853
|
this.options = options;
|
|
19831
19854
|
this.__currentPermissions = null;
|
|
19832
|
-
this.
|
|
19855
|
+
this.__ajaxInstances = new Map();
|
|
19833
19856
|
this.progressHandler = (ignore) => { };
|
|
19834
19857
|
}
|
|
19835
19858
|
/**
|
|
@@ -19839,11 +19862,11 @@ let DataProvider = class DataProvider {
|
|
|
19839
19862
|
return this.options;
|
|
19840
19863
|
}
|
|
19841
19864
|
get(name) {
|
|
19842
|
-
const
|
|
19843
|
-
if (
|
|
19844
|
-
const ajax =
|
|
19865
|
+
const instances = this.__ajaxInstances;
|
|
19866
|
+
if (instances.has(name)) {
|
|
19867
|
+
const ajax = instances.get(name);
|
|
19845
19868
|
ajax?.abort();
|
|
19846
|
-
|
|
19869
|
+
instances.delete(name);
|
|
19847
19870
|
}
|
|
19848
19871
|
const opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
|
|
19849
19872
|
? this.options[name]
|
|
@@ -19854,12 +19877,12 @@ let DataProvider = class DataProvider {
|
|
|
19854
19877
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
19855
19878
|
}
|
|
19856
19879
|
const ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
|
|
19857
|
-
|
|
19880
|
+
instances.set(name, ajax);
|
|
19858
19881
|
const promise = ajax.send();
|
|
19859
19882
|
promise
|
|
19860
19883
|
.finally(() => {
|
|
19861
19884
|
ajax.destruct();
|
|
19862
|
-
|
|
19885
|
+
instances.delete(name);
|
|
19863
19886
|
this.progressHandler(100);
|
|
19864
19887
|
})
|
|
19865
19888
|
.catch(() => null);
|
|
@@ -20177,8 +20200,8 @@ let DataProvider = class DataProvider {
|
|
|
20177
20200
|
return this.options.isSuccess(resp);
|
|
20178
20201
|
}
|
|
20179
20202
|
destruct() {
|
|
20180
|
-
this.
|
|
20181
|
-
this.
|
|
20203
|
+
this.__ajaxInstances.forEach(a => a.destruct());
|
|
20204
|
+
this.__ajaxInstances.clear();
|
|
20182
20205
|
}
|
|
20183
20206
|
};
|
|
20184
20207
|
DataProvider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
@@ -25819,11 +25842,11 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25819
25842
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
25820
25843
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
25821
25844
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25845
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54306);
|
|
25822
25846
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
25823
25847
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
25824
25848
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
25825
25849
|
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(40521);
|
|
25826
|
-
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9596);
|
|
25827
25850
|
/*!
|
|
25828
25851
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25829
25852
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25906,7 +25929,7 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25906
25929
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
25907
25930
|
})
|
|
25908
25931
|
.catch(error => {
|
|
25909
|
-
if ((0,
|
|
25932
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_6__/* .isAbortError */ .z)(error)) {
|
|
25910
25933
|
return;
|
|
25911
25934
|
}
|
|
25912
25935
|
jodit.message.error(error.message);
|