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/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.1.
|
|
4
|
+
* Version: v4.1.9
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1929,7 +1929,7 @@ class Async {
|
|
|
1929
1929
|
promise(executor) {
|
|
1930
1930
|
let rejectCallback = () => { };
|
|
1931
1931
|
const promise = new Promise((resolve, reject) => {
|
|
1932
|
-
rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .
|
|
1932
|
+
rejectCallback = () => reject((0,jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_9__/* .abort */ .h)());
|
|
1933
1933
|
this.promisesRejections.add(rejectCallback);
|
|
1934
1934
|
executor(resolve, reject);
|
|
1935
1935
|
});
|
|
@@ -2414,7 +2414,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2414
2414
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2415
2415
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2416
2416
|
*/
|
|
2417
|
-
const APP_VERSION = "4.1.
|
|
2417
|
+
const APP_VERSION = "4.1.9";
|
|
2418
2418
|
// prettier-ignore
|
|
2419
2419
|
const ES = "es2015";
|
|
2420
2420
|
const IS_ES_MODERN = true;
|
|
@@ -5445,59 +5445,61 @@ function hasBrowserColorPicker() {
|
|
|
5445
5445
|
|
|
5446
5446
|
"use strict";
|
|
5447
5447
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5448
|
-
/* harmony export */ AH: function() { return /* reexport safe */
|
|
5449
|
-
/* harmony export */ Bo: function() { return /* reexport safe */
|
|
5450
|
-
/* harmony export */ CE: function() { return /* reexport safe */
|
|
5451
|
-
/* harmony export */ E6: function() { return /* reexport safe */
|
|
5452
|
-
/* harmony export */ Et: function() { return /* reexport safe */
|
|
5453
|
-
/* harmony export */ Gp: function() { return /* reexport safe */
|
|
5454
|
-
/* harmony export */ Kg: function() { return /* reexport safe */
|
|
5455
|
-
/* harmony export */ Lm: function() { return /* reexport safe */
|
|
5456
|
-
/* harmony export */ Mj: function() { return /* reexport safe */
|
|
5457
|
-
/* harmony export */ P5: function() { return /* reexport safe */
|
|
5458
|
-
/* harmony export */ Qd: function() { return /* reexport safe */
|
|
5459
|
-
/* harmony export */ Rd: function() { return /* reexport safe */
|
|
5460
|
-
/* harmony export */ Tn: function() { return /* reexport safe */
|
|
5461
|
-
/* harmony export */ a3: function() { return /* reexport safe */
|
|
5462
|
-
/* harmony export */ cy: function() { return /* reexport safe */
|
|
5463
|
-
/* 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; },
|
|
5464
5464
|
/* harmony export */ kC: function() { return /* reexport safe */ _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__.k; },
|
|
5465
|
-
/* harmony export */ kO: function() { return /* reexport safe */
|
|
5466
|
-
/* harmony export */ kf: function() { return /* reexport safe */
|
|
5467
|
-
/* harmony export */ l6: function() { return /* reexport safe */
|
|
5468
|
-
/* harmony export */ mv: function() { return /* reexport safe */
|
|
5469
|
-
/* harmony export */ n4: function() { return /* reexport safe */
|
|
5470
|
-
/* harmony export */ pV: function() { return /* reexport safe */
|
|
5471
|
-
/* harmony export */ rg: function() { return /* reexport safe */
|
|
5472
|
-
/* harmony export */ uV: function() { return /* reexport safe */
|
|
5473
|
-
/* harmony export */ vM: function() { return /* reexport safe */
|
|
5474
|
-
/* harmony export */ y0: function() { return /* reexport safe */
|
|
5475
|
-
/* 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; }
|
|
5476
5477
|
/* harmony export */ });
|
|
5477
5478
|
/* harmony import */ var _has_browser_color_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48690);
|
|
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
|
|
5499
|
-
/* harmony import */ var
|
|
5500
|
-
/* 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);
|
|
5501
5503
|
/*!
|
|
5502
5504
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5503
5505
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -5530,6 +5532,28 @@ function hasBrowserColorPicker() {
|
|
|
5530
5532
|
|
|
5531
5533
|
|
|
5532
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
|
+
}
|
|
5533
5557
|
|
|
5534
5558
|
|
|
5535
5559
|
/***/ }),
|
|
@@ -6719,6 +6743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6719
6743
|
/* harmony export */ htmlspecialchars: function() { return /* reexport safe */ _html__WEBPACK_IMPORTED_MODULE_4__.Gq; },
|
|
6720
6744
|
/* harmony export */ i18n: function() { return /* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_7__.Ru; },
|
|
6721
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; },
|
|
6722
6747
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.cy; },
|
|
6723
6748
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.Lm; },
|
|
6724
6749
|
/* harmony export */ isDestructable: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.pV; },
|
|
@@ -6782,7 +6807,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6782
6807
|
/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24668);
|
|
6783
6808
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71122);
|
|
6784
6809
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
6785
|
-
/* 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__)
|
|
6786
6811
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
6787
6812
|
/*!
|
|
6788
6813
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -8583,27 +8608,26 @@ function options(message) {
|
|
|
8583
8608
|
|
|
8584
8609
|
"use strict";
|
|
8585
8610
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8586
|
-
/* harmony export */
|
|
8587
|
-
/* harmony export */
|
|
8588
|
-
/* harmony export */ zf: function() { return /* binding */ isAbortError; }
|
|
8611
|
+
/* harmony export */ h: function() { return /* binding */ abort; },
|
|
8612
|
+
/* harmony export */ r: function() { return /* binding */ isAbort; }
|
|
8589
8613
|
/* harmony export */ });
|
|
8614
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54306);
|
|
8590
8615
|
/*!
|
|
8591
8616
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8592
8617
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8593
8618
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8594
8619
|
*/
|
|
8620
|
+
/**
|
|
8621
|
+
* @module helpers/utils
|
|
8622
|
+
*/
|
|
8623
|
+
|
|
8595
8624
|
function abort(message = 'Aborted') {
|
|
8596
8625
|
return new DOMException(message, 'AbortError');
|
|
8597
8626
|
}
|
|
8598
|
-
function isAbortError(error) {
|
|
8599
|
-
return (Boolean(error) &&
|
|
8600
|
-
error instanceof DOMException &&
|
|
8601
|
-
error.name === 'AbortError');
|
|
8602
|
-
}
|
|
8603
8627
|
/**
|
|
8604
|
-
* @deprecated use `isAbortError`
|
|
8628
|
+
* @deprecated use `isAbortError` instead
|
|
8605
8629
|
*/
|
|
8606
|
-
const isAbort = isAbortError;
|
|
8630
|
+
const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
|
|
8607
8631
|
|
|
8608
8632
|
|
|
8609
8633
|
/***/ }),
|
|
@@ -8640,9 +8664,8 @@ class ConnectionError extends Error {
|
|
|
8640
8664
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8641
8665
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
8642
8666
|
/* harmony export */ ZW: function() { return /* reexport safe */ _options_error__WEBPACK_IMPORTED_MODULE_2__.Z; },
|
|
8643
|
-
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.
|
|
8644
|
-
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.
|
|
8645
|
-
/* harmony export */ zf: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.zf; }
|
|
8667
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
|
|
8668
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
|
|
8646
8669
|
/* harmony export */ });
|
|
8647
8670
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
8648
8671
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -8698,8 +8721,7 @@ class OptionsError extends TypeError {
|
|
|
8698
8721
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
8699
8722
|
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
8700
8723
|
/* harmony export */ rV: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.rV; },
|
|
8701
|
-
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8702
|
-
/* harmony export */ zf: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.zf; }
|
|
8724
|
+
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8703
8725
|
/* harmony export */ });
|
|
8704
8726
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
8705
8727
|
/* harmony import */ var _errors___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45187);
|
|
@@ -8925,7 +8947,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8925
8947
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.z; },
|
|
8926
8948
|
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_22__.l; },
|
|
8927
8949
|
/* harmony export */ isAbort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.rV; },
|
|
8928
|
-
/* harmony export */ isAbortError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.zf; },
|
|
8929
8950
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.mA; },
|
|
8930
8951
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.M; },
|
|
8931
8952
|
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_26__.HP; },
|
|
@@ -19444,10 +19465,11 @@ class FileBrowserItem {
|
|
|
19444
19465
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
19445
19466
|
|
|
19446
19467
|
"use strict";
|
|
19447
|
-
/* harmony import */ var
|
|
19448
|
-
/* harmony import */ var
|
|
19449
|
-
/* harmony import */ var
|
|
19450
|
-
/* harmony import */ var
|
|
19468
|
+
/* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91596);
|
|
19469
|
+
/* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
|
|
19470
|
+
/* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22993);
|
|
19471
|
+
/* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76989);
|
|
19472
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
19451
19473
|
/*!
|
|
19452
19474
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19453
19475
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19457,19 +19479,20 @@ class FileBrowserItem {
|
|
|
19457
19479
|
|
|
19458
19480
|
|
|
19459
19481
|
|
|
19460
|
-
|
|
19482
|
+
|
|
19483
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
|
|
19461
19484
|
namespace: '',
|
|
19462
19485
|
cache: true,
|
|
19463
19486
|
extraButtons: [],
|
|
19464
19487
|
filter(item, search) {
|
|
19465
19488
|
search = search.toLowerCase();
|
|
19466
|
-
if ((0,
|
|
19489
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
|
|
19467
19490
|
return item.toLowerCase().indexOf(search) !== -1;
|
|
19468
19491
|
}
|
|
19469
|
-
if ((0,
|
|
19492
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
|
|
19470
19493
|
return item.name.toLowerCase().indexOf(search) !== -1;
|
|
19471
19494
|
}
|
|
19472
|
-
if ((0,
|
|
19495
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
|
|
19473
19496
|
return item.file.toLowerCase().indexOf(search) !== -1;
|
|
19474
19497
|
}
|
|
19475
19498
|
return true;
|
|
@@ -19486,14 +19509,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19486
19509
|
}
|
|
19487
19510
|
return 0;
|
|
19488
19511
|
};
|
|
19489
|
-
if ((0,
|
|
19512
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
|
|
19490
19513
|
return compareStr(a.toLowerCase(), b.toLowerCase());
|
|
19491
19514
|
}
|
|
19492
19515
|
if (a[sortAttr] === undefined || sortAttr === 'name') {
|
|
19493
|
-
if ((0,
|
|
19516
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
|
|
19494
19517
|
return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
|
|
19495
19518
|
}
|
|
19496
|
-
if ((0,
|
|
19519
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
|
|
19497
19520
|
return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
|
|
19498
19521
|
}
|
|
19499
19522
|
return 0;
|
|
@@ -19504,7 +19527,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19504
19527
|
return asc ? f - s : s - f;
|
|
19505
19528
|
}
|
|
19506
19529
|
case 'size': {
|
|
19507
|
-
const f = (0,
|
|
19530
|
+
const f = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__/* .humanSizeToBytes */ .z)(a.size), s = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__/* .humanSizeToBytes */ .z)(b.size);
|
|
19508
19531
|
return asc ? f - s : s - f;
|
|
19509
19532
|
}
|
|
19510
19533
|
}
|
|
@@ -19565,7 +19588,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19565
19588
|
return resp.success;
|
|
19566
19589
|
},
|
|
19567
19590
|
getMessage(resp) {
|
|
19568
|
-
return resp.data.messages !== undefined && (0,
|
|
19591
|
+
return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
|
|
19569
19592
|
? resp.data.messages.join(' ')
|
|
19570
19593
|
: '';
|
|
19571
19594
|
},
|
|
@@ -19610,7 +19633,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19610
19633
|
${showName || showSize || showTime ? info : ''}
|
|
19611
19634
|
</a>`;
|
|
19612
19635
|
},
|
|
19613
|
-
ajax: Object.assign(Object.assign({},
|
|
19636
|
+
ajax: Object.assign(Object.assign({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions), { url: '', data: {}, cache: true, contentType: 'application/x-www-form-urlencoded; charset=UTF-8', method: 'POST', processData: true, headers: {}, prepareData(data) {
|
|
19614
19637
|
return data;
|
|
19615
19638
|
},
|
|
19616
19639
|
process(resp) {
|
|
@@ -19656,13 +19679,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19656
19679
|
data: { action: 'permissions' }
|
|
19657
19680
|
}
|
|
19658
19681
|
};
|
|
19659
|
-
|
|
19682
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
|
|
19660
19683
|
upload: {
|
|
19661
19684
|
icon: 'plus',
|
|
19662
19685
|
isInput: true,
|
|
19663
19686
|
isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
|
|
19664
19687
|
getContent: (filebrowser) => {
|
|
19665
|
-
const btn = new
|
|
19688
|
+
const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
|
|
19666
19689
|
onlyImages: filebrowser.state.onlyImages
|
|
19667
19690
|
});
|
|
19668
19691
|
filebrowser.e.fire('bindUploader.filebrowser', btn.container);
|
|
@@ -19810,7 +19833,7 @@ let DataProvider = class DataProvider {
|
|
|
19810
19833
|
this.parent = parent;
|
|
19811
19834
|
this.options = options;
|
|
19812
19835
|
this.__currentPermissions = null;
|
|
19813
|
-
this.
|
|
19836
|
+
this.__ajaxInstances = new Map();
|
|
19814
19837
|
this.progressHandler = (ignore) => { };
|
|
19815
19838
|
}
|
|
19816
19839
|
/**
|
|
@@ -19820,11 +19843,11 @@ let DataProvider = class DataProvider {
|
|
|
19820
19843
|
return this.options;
|
|
19821
19844
|
}
|
|
19822
19845
|
get(name) {
|
|
19823
|
-
const
|
|
19824
|
-
if (
|
|
19825
|
-
const ajax =
|
|
19846
|
+
const instances = this.__ajaxInstances;
|
|
19847
|
+
if (instances.has(name)) {
|
|
19848
|
+
const ajax = instances.get(name);
|
|
19826
19849
|
ajax === null || ajax === void 0 ? void 0 : ajax.abort();
|
|
19827
|
-
|
|
19850
|
+
instances.delete(name);
|
|
19828
19851
|
}
|
|
19829
19852
|
const opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
|
|
19830
19853
|
? this.options[name]
|
|
@@ -19835,12 +19858,12 @@ let DataProvider = class DataProvider {
|
|
|
19835
19858
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
19836
19859
|
}
|
|
19837
19860
|
const ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
|
|
19838
|
-
|
|
19861
|
+
instances.set(name, ajax);
|
|
19839
19862
|
const promise = ajax.send();
|
|
19840
19863
|
promise
|
|
19841
19864
|
.finally(() => {
|
|
19842
19865
|
ajax.destruct();
|
|
19843
|
-
|
|
19866
|
+
instances.delete(name);
|
|
19844
19867
|
this.progressHandler(100);
|
|
19845
19868
|
})
|
|
19846
19869
|
.catch(() => null);
|
|
@@ -20161,8 +20184,8 @@ let DataProvider = class DataProvider {
|
|
|
20161
20184
|
return this.options.isSuccess(resp);
|
|
20162
20185
|
}
|
|
20163
20186
|
destruct() {
|
|
20164
|
-
this.
|
|
20165
|
-
this.
|
|
20187
|
+
this.__ajaxInstances.forEach(a => a.destruct());
|
|
20188
|
+
this.__ajaxInstances.clear();
|
|
20166
20189
|
}
|
|
20167
20190
|
};
|
|
20168
20191
|
DataProvider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
@@ -25811,14 +25834,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25811
25834
|
|
|
25812
25835
|
"use strict";
|
|
25813
25836
|
/* unused harmony export aiAssistant */
|
|
25814
|
-
/* harmony import */ var
|
|
25837
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
25815
25838
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
25816
25839
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25840
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54306);
|
|
25817
25841
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
25818
25842
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
25819
25843
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
25820
25844
|
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(40521);
|
|
25821
|
-
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9596);
|
|
25822
25845
|
/*!
|
|
25823
25846
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25824
25847
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25887,7 +25910,7 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25887
25910
|
jodit.s.focus();
|
|
25888
25911
|
const selectedText = jodit.s.html;
|
|
25889
25912
|
jodit.async
|
|
25890
|
-
.promise((resolve, reject) => (0,
|
|
25913
|
+
.promise((resolve, reject) => (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__awaiter */ .sH)(this, void 0, void 0, function* () {
|
|
25891
25914
|
try {
|
|
25892
25915
|
const result = yield jodit.o.aiAssistant
|
|
25893
25916
|
.aiAssistantCallback(prompt, selectedText);
|
|
@@ -25901,7 +25924,7 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25901
25924
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
25902
25925
|
})
|
|
25903
25926
|
.catch(error => {
|
|
25904
|
-
if ((0,
|
|
25927
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_7__/* .isAbortError */ .z)(error)) {
|
|
25905
25928
|
return;
|
|
25906
25929
|
}
|
|
25907
25930
|
jodit.message.error(error.message);
|
|
@@ -25911,10 +25934,10 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25911
25934
|
/** @override */
|
|
25912
25935
|
beforeDestruct(_) { }
|
|
25913
25936
|
}
|
|
25914
|
-
(0,
|
|
25937
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
25915
25938
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':generateAiAssistantForm.ai-assistant')
|
|
25916
25939
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
25917
|
-
(0,
|
|
25940
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
25918
25941
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Ay)(':invokeAiAssistant')
|
|
25919
25942
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
25920
25943
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|