jodit-pro 4.1.7 → 4.1.10
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 +212 -161
- 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 +208 -157
- 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 +207 -157
- 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 +207 -157
- 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 +217 -166
- 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.10
|
|
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.10";
|
|
2418
2418
|
// prettier-ignore
|
|
2419
2419
|
const ES = "es2015";
|
|
2420
2420
|
const IS_ES_MODERN = true;
|
|
@@ -3106,14 +3106,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3106
3106
|
/* harmony export */ component: function() { return /* reexport safe */ _component_component__WEBPACK_IMPORTED_MODULE_2__.s; },
|
|
3107
3107
|
/* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.s; },
|
|
3108
3108
|
/* harmony export */ derive: function() { return /* reexport safe */ _derive_derive__WEBPACK_IMPORTED_MODULE_4__.C; },
|
|
3109
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.
|
|
3109
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.N; },
|
|
3110
3110
|
/* harmony export */ hook: function() { return /* reexport safe */ _hook_hook__WEBPACK_IMPORTED_MODULE_5__.A; },
|
|
3111
3111
|
/* harmony export */ idle: function() { return /* reexport safe */ _idle_idle__WEBPACK_IMPORTED_MODULE_6__.N; },
|
|
3112
3112
|
/* harmony export */ nonenumerable: function() { return /* reexport safe */ _nonenumerable_nonenumerable__WEBPACK_IMPORTED_MODULE_7__.m; },
|
|
3113
3113
|
/* harmony export */ persistent: function() { return /* reexport safe */ _persistent_persistent__WEBPACK_IMPORTED_MODULE_8__.y; },
|
|
3114
3114
|
/* harmony export */ throttle: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.n; },
|
|
3115
3115
|
/* harmony export */ wait: function() { return /* reexport safe */ _wait_wait__WEBPACK_IMPORTED_MODULE_9__.u; },
|
|
3116
|
-
/* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.
|
|
3116
|
+
/* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.w; }
|
|
3117
3117
|
/* harmony export */ });
|
|
3118
3118
|
/* harmony import */ var _autobind_autobind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26412);
|
|
3119
3119
|
/* harmony import */ var _cache_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22002);
|
|
@@ -3275,8 +3275,8 @@ function wait(condition) {
|
|
|
3275
3275
|
|
|
3276
3276
|
"use strict";
|
|
3277
3277
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3278
|
-
/* harmony export */
|
|
3279
|
-
/* harmony export */
|
|
3278
|
+
/* harmony export */ N: function() { return /* binding */ getPropertyDescriptor; },
|
|
3279
|
+
/* harmony export */ w: function() { return /* binding */ watch; }
|
|
3280
3280
|
/* harmony export */ });
|
|
3281
3281
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
|
|
3282
3282
|
/* harmony import */ var jodit_core_event_emitter_observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31789);
|
|
@@ -3392,7 +3392,6 @@ function watch(observeFields, opts) {
|
|
|
3392
3392
|
}
|
|
3393
3393
|
};
|
|
3394
3394
|
}
|
|
3395
|
-
/* harmony default export */ __webpack_exports__.Ay = (watch);
|
|
3396
3395
|
|
|
3397
3396
|
|
|
3398
3397
|
/***/ }),
|
|
@@ -4964,7 +4963,7 @@ function observable(obj) {
|
|
|
4964
4963
|
const key = _key;
|
|
4965
4964
|
const prefix = prefixes.concat(key).filter(a => a.length);
|
|
4966
4965
|
store[key] = dict[key];
|
|
4967
|
-
const descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .
|
|
4966
|
+
const descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .N)(dict, key);
|
|
4968
4967
|
Object.defineProperty(dict, key, {
|
|
4969
4968
|
set: (value) => {
|
|
4970
4969
|
const oldValue = store[key];
|
|
@@ -5445,59 +5444,61 @@ function hasBrowserColorPicker() {
|
|
|
5445
5444
|
|
|
5446
5445
|
"use strict";
|
|
5447
5446
|
/* 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 */
|
|
5447
|
+
/* harmony export */ AH: function() { return /* reexport safe */ _is_html__WEBPACK_IMPORTED_MODULE_6__.A; },
|
|
5448
|
+
/* harmony export */ Bo: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.B; },
|
|
5449
|
+
/* harmony export */ CE: function() { return /* reexport safe */ _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__.C; },
|
|
5450
|
+
/* harmony export */ E6: function() { return /* reexport safe */ _is_int__WEBPACK_IMPORTED_MODULE_9__.E; },
|
|
5451
|
+
/* harmony export */ Et: function() { return /* reexport safe */ _is_number__WEBPACK_IMPORTED_MODULE_14__.E; },
|
|
5452
|
+
/* harmony export */ Gp: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.n4; },
|
|
5453
|
+
/* harmony export */ Kg: function() { return /* reexport safe */ _is_string__WEBPACK_IMPORTED_MODULE_19__.K; },
|
|
5454
|
+
/* harmony export */ Lm: function() { return /* reexport safe */ _is_boolean__WEBPACK_IMPORTED_MODULE_3__.L; },
|
|
5455
|
+
/* harmony export */ Mj: function() { return /* reexport safe */ _is_license__WEBPACK_IMPORTED_MODULE_11__.M; },
|
|
5456
|
+
/* harmony export */ P5: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.P; },
|
|
5457
|
+
/* harmony export */ Qd: function() { return /* reexport safe */ _is_plain_object__WEBPACK_IMPORTED_MODULE_16__.Q; },
|
|
5458
|
+
/* harmony export */ Rd: function() { return /* reexport safe */ _is_void__WEBPACK_IMPORTED_MODULE_23__.R; },
|
|
5459
|
+
/* harmony export */ Tn: function() { return /* reexport safe */ _is_function__WEBPACK_IMPORTED_MODULE_5__.T; },
|
|
5460
|
+
/* harmony export */ a3: function() { return /* reexport safe */ _is_native_function__WEBPACK_IMPORTED_MODULE_13__.a; },
|
|
5461
|
+
/* harmony export */ cy: function() { return /* reexport safe */ _is_array__WEBPACK_IMPORTED_MODULE_2__.c; },
|
|
5462
|
+
/* harmony export */ hH: function() { return /* reexport safe */ _is_view_object__WEBPACK_IMPORTED_MODULE_22__.h; },
|
|
5464
5463
|
/* 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 */
|
|
5464
|
+
/* harmony export */ kO: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.kO; },
|
|
5465
|
+
/* harmony export */ kf: function() { return /* reexport safe */ _is_numeric__WEBPACK_IMPORTED_MODULE_15__.k; },
|
|
5466
|
+
/* harmony export */ l6: function() { return /* reexport safe */ _is_window__WEBPACK_IMPORTED_MODULE_24__.l; },
|
|
5467
|
+
/* harmony export */ mv: function() { return /* reexport safe */ _is_url__WEBPACK_IMPORTED_MODULE_20__.m; },
|
|
5468
|
+
/* harmony export */ n4: function() { return /* reexport safe */ _is_equal__WEBPACK_IMPORTED_MODULE_4__.n; },
|
|
5469
|
+
/* harmony export */ pV: function() { return /* reexport safe */ _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__.pV; },
|
|
5470
|
+
/* harmony export */ rg: function() { return /* reexport safe */ _is_marker__WEBPACK_IMPORTED_MODULE_12__.r; },
|
|
5471
|
+
/* harmony export */ uV: function() { return /* reexport safe */ _is_valid_name__WEBPACK_IMPORTED_MODULE_21__.u; },
|
|
5472
|
+
/* harmony export */ vM: function() { return /* reexport safe */ _is_set__WEBPACK_IMPORTED_MODULE_18__.v; },
|
|
5473
|
+
/* harmony export */ y0: function() { return /* reexport safe */ _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__.y; },
|
|
5474
|
+
/* harmony export */ yL: function() { return /* reexport safe */ _is_promise__WEBPACK_IMPORTED_MODULE_17__.y; },
|
|
5475
|
+
/* harmony export */ zf: function() { return /* reexport safe */ _is_abort_error__WEBPACK_IMPORTED_MODULE_1__.z; }
|
|
5476
5476
|
/* harmony export */ });
|
|
5477
5477
|
/* 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
|
|
5478
|
+
/* harmony import */ var _is_abort_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54306);
|
|
5479
|
+
/* harmony import */ var _is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55010);
|
|
5480
|
+
/* harmony import */ var _is_boolean__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17083);
|
|
5481
|
+
/* harmony import */ var _is_equal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(79015);
|
|
5482
|
+
/* harmony import */ var _is_function__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41959);
|
|
5483
|
+
/* harmony import */ var _is_html__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62574);
|
|
5484
|
+
/* harmony import */ var _is_html_from_word__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71972);
|
|
5485
|
+
/* harmony import */ var _is_imp_interface__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(96483);
|
|
5486
|
+
/* harmony import */ var _is_int__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(12986);
|
|
5487
|
+
/* harmony import */ var _is_jodit_object__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22263);
|
|
5488
|
+
/* harmony import */ var _is_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1036);
|
|
5489
|
+
/* harmony import */ var _is_marker__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(97569);
|
|
5490
|
+
/* harmony import */ var _is_native_function__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(721);
|
|
5491
|
+
/* harmony import */ var _is_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(72558);
|
|
5492
|
+
/* harmony import */ var _is_numeric__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(59372);
|
|
5493
|
+
/* harmony import */ var _is_plain_object__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(47903);
|
|
5494
|
+
/* harmony import */ var _is_promise__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(75138);
|
|
5495
|
+
/* harmony import */ var _is_set__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(37443);
|
|
5496
|
+
/* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26986);
|
|
5497
|
+
/* harmony import */ var _is_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(20858);
|
|
5498
|
+
/* harmony import */ var _is_valid_name__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(30489);
|
|
5499
|
+
/* harmony import */ var _is_view_object__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(35368);
|
|
5500
|
+
/* harmony import */ var _is_void__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(74197);
|
|
5501
|
+
/* harmony import */ var _is_window__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(3743);
|
|
5501
5502
|
/*!
|
|
5502
5503
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5503
5504
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -5530,6 +5531,28 @@ function hasBrowserColorPicker() {
|
|
|
5530
5531
|
|
|
5531
5532
|
|
|
5532
5533
|
|
|
5534
|
+
|
|
5535
|
+
|
|
5536
|
+
|
|
5537
|
+
/***/ }),
|
|
5538
|
+
|
|
5539
|
+
/***/ 54306:
|
|
5540
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5541
|
+
|
|
5542
|
+
"use strict";
|
|
5543
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5544
|
+
/* harmony export */ z: function() { return /* binding */ isAbortError; }
|
|
5545
|
+
/* harmony export */ });
|
|
5546
|
+
/*!
|
|
5547
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5548
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
5549
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5550
|
+
*/
|
|
5551
|
+
function isAbortError(error) {
|
|
5552
|
+
return (Boolean(error) &&
|
|
5553
|
+
error instanceof DOMException &&
|
|
5554
|
+
error.name === 'AbortError');
|
|
5555
|
+
}
|
|
5533
5556
|
|
|
5534
5557
|
|
|
5535
5558
|
/***/ }),
|
|
@@ -6719,6 +6742,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6719
6742
|
/* harmony export */ htmlspecialchars: function() { return /* reexport safe */ _html__WEBPACK_IMPORTED_MODULE_4__.Gq; },
|
|
6720
6743
|
/* harmony export */ i18n: function() { return /* reexport safe */ _string__WEBPACK_IMPORTED_MODULE_7__.Ru; },
|
|
6721
6744
|
/* harmony export */ innerWidth: function() { return /* reexport safe */ _size__WEBPACK_IMPORTED_MODULE_6__.xM; },
|
|
6745
|
+
/* harmony export */ isAbortError: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.zf; },
|
|
6722
6746
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.cy; },
|
|
6723
6747
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.Lm; },
|
|
6724
6748
|
/* harmony export */ isDestructable: function() { return /* reexport safe */ _checker__WEBPACK_IMPORTED_MODULE_2__.pV; },
|
|
@@ -6782,7 +6806,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6782
6806
|
/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24668);
|
|
6783
6807
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71122);
|
|
6784
6808
|
/* 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__)
|
|
6809
|
+
/* 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
6810
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
6787
6811
|
/*!
|
|
6788
6812
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -8583,27 +8607,26 @@ function options(message) {
|
|
|
8583
8607
|
|
|
8584
8608
|
"use strict";
|
|
8585
8609
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8586
|
-
/* harmony export */
|
|
8587
|
-
/* harmony export */
|
|
8588
|
-
/* harmony export */ zf: function() { return /* binding */ isAbortError; }
|
|
8610
|
+
/* harmony export */ h: function() { return /* binding */ abort; },
|
|
8611
|
+
/* harmony export */ r: function() { return /* binding */ isAbort; }
|
|
8589
8612
|
/* harmony export */ });
|
|
8613
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54306);
|
|
8590
8614
|
/*!
|
|
8591
8615
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8592
8616
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8593
8617
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8594
8618
|
*/
|
|
8619
|
+
/**
|
|
8620
|
+
* @module helpers/utils
|
|
8621
|
+
*/
|
|
8622
|
+
|
|
8595
8623
|
function abort(message = 'Aborted') {
|
|
8596
8624
|
return new DOMException(message, 'AbortError');
|
|
8597
8625
|
}
|
|
8598
|
-
function isAbortError(error) {
|
|
8599
|
-
return (Boolean(error) &&
|
|
8600
|
-
error instanceof DOMException &&
|
|
8601
|
-
error.name === 'AbortError');
|
|
8602
|
-
}
|
|
8603
8626
|
/**
|
|
8604
|
-
* @deprecated use `isAbortError`
|
|
8627
|
+
* @deprecated use `isAbortError` instead
|
|
8605
8628
|
*/
|
|
8606
|
-
const isAbort = isAbortError;
|
|
8629
|
+
const isAbort = jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_0__/* .isAbortError */ .z;
|
|
8607
8630
|
|
|
8608
8631
|
|
|
8609
8632
|
/***/ }),
|
|
@@ -8640,9 +8663,8 @@ class ConnectionError extends Error {
|
|
|
8640
8663
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8641
8664
|
/* harmony export */ Rc: function() { return /* reexport safe */ _connection_error__WEBPACK_IMPORTED_MODULE_1__.R; },
|
|
8642
8665
|
/* 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; }
|
|
8666
|
+
/* harmony export */ h2: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.h; },
|
|
8667
|
+
/* harmony export */ rV: function() { return /* reexport safe */ _abort_error__WEBPACK_IMPORTED_MODULE_0__.r; }
|
|
8646
8668
|
/* harmony export */ });
|
|
8647
8669
|
/* harmony import */ var _abort_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30126);
|
|
8648
8670
|
/* harmony import */ var _connection_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23904);
|
|
@@ -8698,8 +8720,7 @@ class OptionsError extends TypeError {
|
|
|
8698
8720
|
/* harmony export */ fF: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.fF; },
|
|
8699
8721
|
/* harmony export */ h2: function() { return /* reexport safe */ _errors___WEBPACK_IMPORTED_MODULE_1__.h2; },
|
|
8700
8722
|
/* 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; }
|
|
8723
|
+
/* harmony export */ z3: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_0__.z3; }
|
|
8703
8724
|
/* harmony export */ });
|
|
8704
8725
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43965);
|
|
8705
8726
|
/* harmony import */ var _errors___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45187);
|
|
@@ -8925,7 +8946,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8925
8946
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes__WEBPACK_IMPORTED_MODULE_17__.z; },
|
|
8926
8947
|
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view__WEBPACK_IMPORTED_MODULE_22__.l; },
|
|
8927
8948
|
/* 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
8949
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend__WEBPACK_IMPORTED_MODULE_14__.mA; },
|
|
8930
8950
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name__WEBPACK_IMPORTED_MODULE_16__.M; },
|
|
8931
8951
|
/* harmony export */ keys: function() { return /* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_26__.HP; },
|
|
@@ -16409,7 +16429,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16409
16429
|
}
|
|
16410
16430
|
}
|
|
16411
16431
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
|
|
16412
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .
|
|
16432
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
16413
16433
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16414
16434
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
|
|
16415
16435
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
|
|
@@ -19444,10 +19464,11 @@ class FileBrowserItem {
|
|
|
19444
19464
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
19445
19465
|
|
|
19446
19466
|
"use strict";
|
|
19447
|
-
/* harmony import */ var
|
|
19448
|
-
/* harmony import */ var
|
|
19449
|
-
/* harmony import */ var
|
|
19450
|
-
/* harmony import */ var
|
|
19467
|
+
/* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91596);
|
|
19468
|
+
/* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
|
|
19469
|
+
/* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22993);
|
|
19470
|
+
/* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76989);
|
|
19471
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
19451
19472
|
/*!
|
|
19452
19473
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19453
19474
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19457,19 +19478,20 @@ class FileBrowserItem {
|
|
|
19457
19478
|
|
|
19458
19479
|
|
|
19459
19480
|
|
|
19460
|
-
|
|
19481
|
+
|
|
19482
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
|
|
19461
19483
|
namespace: '',
|
|
19462
19484
|
cache: true,
|
|
19463
19485
|
extraButtons: [],
|
|
19464
19486
|
filter(item, search) {
|
|
19465
19487
|
search = search.toLowerCase();
|
|
19466
|
-
if ((0,
|
|
19488
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
|
|
19467
19489
|
return item.toLowerCase().indexOf(search) !== -1;
|
|
19468
19490
|
}
|
|
19469
|
-
if ((0,
|
|
19491
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
|
|
19470
19492
|
return item.name.toLowerCase().indexOf(search) !== -1;
|
|
19471
19493
|
}
|
|
19472
|
-
if ((0,
|
|
19494
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
|
|
19473
19495
|
return item.file.toLowerCase().indexOf(search) !== -1;
|
|
19474
19496
|
}
|
|
19475
19497
|
return true;
|
|
@@ -19486,14 +19508,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19486
19508
|
}
|
|
19487
19509
|
return 0;
|
|
19488
19510
|
};
|
|
19489
|
-
if ((0,
|
|
19511
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
|
|
19490
19512
|
return compareStr(a.toLowerCase(), b.toLowerCase());
|
|
19491
19513
|
}
|
|
19492
19514
|
if (a[sortAttr] === undefined || sortAttr === 'name') {
|
|
19493
|
-
if ((0,
|
|
19515
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
|
|
19494
19516
|
return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
|
|
19495
19517
|
}
|
|
19496
|
-
if ((0,
|
|
19518
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
|
|
19497
19519
|
return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
|
|
19498
19520
|
}
|
|
19499
19521
|
return 0;
|
|
@@ -19504,7 +19526,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19504
19526
|
return asc ? f - s : s - f;
|
|
19505
19527
|
}
|
|
19506
19528
|
case 'size': {
|
|
19507
|
-
const f = (0,
|
|
19529
|
+
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
19530
|
return asc ? f - s : s - f;
|
|
19509
19531
|
}
|
|
19510
19532
|
}
|
|
@@ -19565,7 +19587,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19565
19587
|
return resp.success;
|
|
19566
19588
|
},
|
|
19567
19589
|
getMessage(resp) {
|
|
19568
|
-
return resp.data.messages !== undefined && (0,
|
|
19590
|
+
return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
|
|
19569
19591
|
? resp.data.messages.join(' ')
|
|
19570
19592
|
: '';
|
|
19571
19593
|
},
|
|
@@ -19610,7 +19632,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19610
19632
|
${showName || showSize || showTime ? info : ''}
|
|
19611
19633
|
</a>`;
|
|
19612
19634
|
},
|
|
19613
|
-
ajax: Object.assign(Object.assign({},
|
|
19635
|
+
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
19636
|
return data;
|
|
19615
19637
|
},
|
|
19616
19638
|
process(resp) {
|
|
@@ -19656,13 +19678,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
19656
19678
|
data: { action: 'permissions' }
|
|
19657
19679
|
}
|
|
19658
19680
|
};
|
|
19659
|
-
|
|
19681
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
|
|
19660
19682
|
upload: {
|
|
19661
19683
|
icon: 'plus',
|
|
19662
19684
|
isInput: true,
|
|
19663
19685
|
isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
|
|
19664
19686
|
getContent: (filebrowser) => {
|
|
19665
|
-
const btn = new
|
|
19687
|
+
const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
|
|
19666
19688
|
onlyImages: filebrowser.state.onlyImages
|
|
19667
19689
|
});
|
|
19668
19690
|
filebrowser.e.fire('bindUploader.filebrowser', btn.container);
|
|
@@ -19810,7 +19832,7 @@ let DataProvider = class DataProvider {
|
|
|
19810
19832
|
this.parent = parent;
|
|
19811
19833
|
this.options = options;
|
|
19812
19834
|
this.__currentPermissions = null;
|
|
19813
|
-
this.
|
|
19835
|
+
this.__ajaxInstances = new Map();
|
|
19814
19836
|
this.progressHandler = (ignore) => { };
|
|
19815
19837
|
}
|
|
19816
19838
|
/**
|
|
@@ -19820,11 +19842,11 @@ let DataProvider = class DataProvider {
|
|
|
19820
19842
|
return this.options;
|
|
19821
19843
|
}
|
|
19822
19844
|
get(name) {
|
|
19823
|
-
const
|
|
19824
|
-
if (
|
|
19825
|
-
const ajax =
|
|
19845
|
+
const instances = this.__ajaxInstances;
|
|
19846
|
+
if (instances.has(name)) {
|
|
19847
|
+
const ajax = instances.get(name);
|
|
19826
19848
|
ajax === null || ajax === void 0 ? void 0 : ajax.abort();
|
|
19827
|
-
|
|
19849
|
+
instances.delete(name);
|
|
19828
19850
|
}
|
|
19829
19851
|
const opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
|
|
19830
19852
|
? this.options[name]
|
|
@@ -19835,12 +19857,12 @@ let DataProvider = class DataProvider {
|
|
|
19835
19857
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
19836
19858
|
}
|
|
19837
19859
|
const ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
|
|
19838
|
-
|
|
19860
|
+
instances.set(name, ajax);
|
|
19839
19861
|
const promise = ajax.send();
|
|
19840
19862
|
promise
|
|
19841
19863
|
.finally(() => {
|
|
19842
19864
|
ajax.destruct();
|
|
19843
|
-
|
|
19865
|
+
instances.delete(name);
|
|
19844
19866
|
this.progressHandler(100);
|
|
19845
19867
|
})
|
|
19846
19868
|
.catch(() => null);
|
|
@@ -19875,6 +19897,7 @@ let DataProvider = class DataProvider {
|
|
|
19875
19897
|
if (process) {
|
|
19876
19898
|
const respData = process.call(self, resp);
|
|
19877
19899
|
if (respData.data.permissions) {
|
|
19900
|
+
this.parent.events.fire(this, 'changePermissions', this.__currentPermissions, respData.data.permissions);
|
|
19878
19901
|
this.__currentPermissions = respData.data.permissions;
|
|
19879
19902
|
}
|
|
19880
19903
|
}
|
|
@@ -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)([
|
|
@@ -20319,25 +20342,26 @@ function loadTree(fb) {
|
|
|
20319
20342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20320
20343
|
/* harmony export */ V: function() { return /* binding */ FileBrowser; }
|
|
20321
20344
|
/* harmony export */ });
|
|
20322
|
-
/* harmony import */ var
|
|
20345
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(31635);
|
|
20323
20346
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
20324
20347
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
20325
20348
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53557);
|
|
20326
|
-
/* harmony import */ var
|
|
20327
|
-
/* harmony import */ var
|
|
20328
|
-
/* harmony import */ var
|
|
20329
|
-
/* harmony import */ var
|
|
20330
|
-
/* harmony import */ var
|
|
20331
|
-
/* harmony import */ var
|
|
20332
|
-
/* harmony import */ var
|
|
20333
|
-
/* harmony import */ var
|
|
20334
|
-
/* harmony import */ var
|
|
20335
|
-
/* harmony import */ var
|
|
20336
|
-
/* harmony import */ var
|
|
20337
|
-
/* harmony import */ var
|
|
20338
|
-
/* harmony import */ var
|
|
20339
|
-
/* harmony import */ var
|
|
20340
|
-
/* harmony import */ var
|
|
20349
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24014);
|
|
20350
|
+
/* harmony import */ var jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99582);
|
|
20351
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9596);
|
|
20352
|
+
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20353
|
+
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20354
|
+
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20355
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(83148);
|
|
20356
|
+
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20357
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(64164);
|
|
20358
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(50067);
|
|
20359
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(25430);
|
|
20360
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(34255);
|
|
20361
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(18714);
|
|
20362
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(24538);
|
|
20363
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(96243);
|
|
20364
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20341
20365
|
/*!
|
|
20342
20366
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20343
20367
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20364,13 +20388,14 @@ function loadTree(fb) {
|
|
|
20364
20388
|
|
|
20365
20389
|
|
|
20366
20390
|
|
|
20367
|
-
|
|
20391
|
+
|
|
20392
|
+
let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__/* .ViewWithToolbar */ .T {
|
|
20368
20393
|
/** @override */
|
|
20369
20394
|
className() {
|
|
20370
20395
|
return 'FileBrowser';
|
|
20371
20396
|
}
|
|
20372
20397
|
get dataProvider() {
|
|
20373
|
-
return (0,
|
|
20398
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_15__/* .makeDataProvider */ .S)(this, this.options);
|
|
20374
20399
|
}
|
|
20375
20400
|
// eslint-disable-next-line no-unused-vars
|
|
20376
20401
|
onSelect(callback) {
|
|
@@ -20391,7 +20416,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20391
20416
|
files,
|
|
20392
20417
|
isImages
|
|
20393
20418
|
};
|
|
20394
|
-
if ((0,
|
|
20419
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(callback)) {
|
|
20395
20420
|
callback(data);
|
|
20396
20421
|
}
|
|
20397
20422
|
this.close();
|
|
@@ -20414,7 +20439,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20414
20439
|
* Container for set/get value
|
|
20415
20440
|
*/
|
|
20416
20441
|
get storage() {
|
|
20417
|
-
return
|
|
20442
|
+
return jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
|
|
20418
20443
|
}
|
|
20419
20444
|
get isOpened() {
|
|
20420
20445
|
return this._dialog.isOpened && this.browser.style.display !== 'none';
|
|
@@ -20422,6 +20447,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20422
20447
|
/**
|
|
20423
20448
|
* It displays a message in the status bar of filebrowser
|
|
20424
20449
|
*
|
|
20450
|
+
* @param message - The message that will be displayed
|
|
20425
20451
|
* @param success - true It will be shown a message light . If no option is specified ,
|
|
20426
20452
|
* ßan error will be shown the red
|
|
20427
20453
|
* @example
|
|
@@ -20430,13 +20456,13 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20430
20456
|
* ```
|
|
20431
20457
|
*/
|
|
20432
20458
|
status(message, success) {
|
|
20433
|
-
if (!message || (0,
|
|
20459
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(message)) {
|
|
20434
20460
|
return;
|
|
20435
20461
|
}
|
|
20436
|
-
if (!(0,
|
|
20462
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message)) {
|
|
20437
20463
|
message = message.message;
|
|
20438
20464
|
}
|
|
20439
|
-
if (!(0,
|
|
20465
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message) || !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.trim)(message).length) {
|
|
20440
20466
|
return;
|
|
20441
20467
|
}
|
|
20442
20468
|
this.message.message(message, success ? 'success' : 'error', this.o.howLongShowMsg);
|
|
@@ -20464,7 +20490,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20464
20490
|
.promise((resolve, reject) => {
|
|
20465
20491
|
var _a;
|
|
20466
20492
|
if (!this.o.items || !this.o.items.url) {
|
|
20467
|
-
throw (0,
|
|
20493
|
+
throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.error)('Need set options.filebrowser.ajax.url');
|
|
20468
20494
|
}
|
|
20469
20495
|
let localTimeout = 0;
|
|
20470
20496
|
this.e
|
|
@@ -20481,10 +20507,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20481
20507
|
.off('select.filebrowser')
|
|
20482
20508
|
.on('select.filebrowser', this.onSelect(callback));
|
|
20483
20509
|
const header = this.c.div();
|
|
20484
|
-
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.
|
|
20510
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.appendTo(header);
|
|
20511
|
+
this.__updateToolbarButtons();
|
|
20485
20512
|
this._dialog.open(this.browser, header);
|
|
20486
20513
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20487
|
-
(0,
|
|
20514
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__/* .loadTree */ .r)(this).then(resolve, reject);
|
|
20488
20515
|
})
|
|
20489
20516
|
.catch((e) => {
|
|
20490
20517
|
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD) {
|
|
@@ -20496,7 +20523,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20496
20523
|
var _a;
|
|
20497
20524
|
const options = ((_a = this.o.buttons) !== null && _a !== void 0 ? _a : []);
|
|
20498
20525
|
return options.filter((btn) => {
|
|
20499
|
-
if (!(0,
|
|
20526
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(btn)) {
|
|
20500
20527
|
return true;
|
|
20501
20528
|
}
|
|
20502
20529
|
switch (btn) {
|
|
@@ -20513,8 +20540,8 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20513
20540
|
}
|
|
20514
20541
|
initUploader(editor) {
|
|
20515
20542
|
var _a;
|
|
20516
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,
|
|
20517
|
-
const uploadHandler = () => (0,
|
|
20543
|
+
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.uploader);
|
|
20544
|
+
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20518
20545
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20519
20546
|
self.uploader
|
|
20520
20547
|
.setPath(self.state.currentPath)
|
|
@@ -20533,11 +20560,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20533
20560
|
super(options);
|
|
20534
20561
|
this.browser = this.c.div(this.componentName);
|
|
20535
20562
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20536
|
-
this.tree = new
|
|
20537
|
-
this.files = new
|
|
20538
|
-
this.state = (0,
|
|
20563
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserTree */ .V(this);
|
|
20564
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserFiles */ .Q(this);
|
|
20565
|
+
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20539
20566
|
currentPath: '',
|
|
20540
|
-
currentSource:
|
|
20567
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_14__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20541
20568
|
currentBaseUrl: '',
|
|
20542
20569
|
activeElements: [],
|
|
20543
20570
|
elements: [],
|
|
@@ -20548,7 +20575,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20548
20575
|
onlyImages: false
|
|
20549
20576
|
});
|
|
20550
20577
|
this.errorHandler = (resp) => {
|
|
20551
|
-
if ((0,
|
|
20578
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(resp)) {
|
|
20552
20579
|
return;
|
|
20553
20580
|
}
|
|
20554
20581
|
if (resp instanceof Error) {
|
|
@@ -20564,9 +20591,10 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20564
20591
|
this.close = () => {
|
|
20565
20592
|
this._dialog.close();
|
|
20566
20593
|
};
|
|
20594
|
+
this.__prevButtons = [];
|
|
20567
20595
|
this.attachEvents(options);
|
|
20568
20596
|
const self = this;
|
|
20569
|
-
self.options = (0,
|
|
20597
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20570
20598
|
self.browser.component = this;
|
|
20571
20599
|
self.container = self.browser;
|
|
20572
20600
|
if (self.o.showFoldersPanel) {
|
|
@@ -20574,9 +20602,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20574
20602
|
}
|
|
20575
20603
|
self.browser.appendChild(self.files.container);
|
|
20576
20604
|
self.browser.appendChild(self.status_line);
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
|
|
20605
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__/* .selfListeners */ .c.call(self);
|
|
20606
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__/* .nativeListeners */ .nW.call(self);
|
|
20607
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__/* .stateListeners */ .r.call(self);
|
|
20580
20608
|
const keys = [
|
|
20581
20609
|
'getLocalFileByUrl',
|
|
20582
20610
|
'crop',
|
|
@@ -20594,7 +20622,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20594
20622
|
];
|
|
20595
20623
|
keys.forEach(key => {
|
|
20596
20624
|
if (this.options[key] != null) {
|
|
20597
|
-
this.options[key] = (0,
|
|
20625
|
+
this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(this.options[key], this.o.ajax);
|
|
20598
20626
|
}
|
|
20599
20627
|
});
|
|
20600
20628
|
const { storeView, storeSortBy, storeLastOpenedFolder } = this.o
|
|
@@ -20638,26 +20666,49 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20638
20666
|
this.events && this.e.off('.filebrowser');
|
|
20639
20667
|
this.uploader && this.uploader.destruct();
|
|
20640
20668
|
}
|
|
20669
|
+
__updateToolbarButtons() {
|
|
20670
|
+
var _a;
|
|
20671
|
+
const buttons = this.__getButtons();
|
|
20672
|
+
if (isEqualButtonList(this.__prevButtons, buttons)) {
|
|
20673
|
+
return;
|
|
20674
|
+
}
|
|
20675
|
+
this.__prevButtons = buttons;
|
|
20676
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.build(buttons);
|
|
20677
|
+
}
|
|
20641
20678
|
};
|
|
20642
|
-
(0,
|
|
20679
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20643
20680
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20644
20681
|
], FileBrowser.prototype, "dataProvider", null);
|
|
20645
|
-
(0,
|
|
20682
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20646
20683
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20647
20684
|
], FileBrowser.prototype, "_dialog", null);
|
|
20648
|
-
(0,
|
|
20685
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20649
20686
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20650
20687
|
], FileBrowser.prototype, "storage", null);
|
|
20651
|
-
(0,
|
|
20688
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20652
20689
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
20653
20690
|
], FileBrowser.prototype, "status", null);
|
|
20654
|
-
(0,
|
|
20691
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20655
20692
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
20656
20693
|
], FileBrowser.prototype, "open", null);
|
|
20657
|
-
|
|
20658
|
-
(0,
|
|
20694
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20695
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__/* .watch */ .w)('dataProvider:changePermissions')
|
|
20696
|
+
], FileBrowser.prototype, "__updateToolbarButtons", null);
|
|
20697
|
+
FileBrowser = (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20698
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__/* .Dlgs */ .z)
|
|
20659
20699
|
], FileBrowser);
|
|
20660
20700
|
|
|
20701
|
+
function isEqualButtonList(prevButtons, buttons) {
|
|
20702
|
+
if (prevButtons.length !== buttons.length) {
|
|
20703
|
+
return false;
|
|
20704
|
+
}
|
|
20705
|
+
for (let i = 0; i < prevButtons.length; i++) {
|
|
20706
|
+
if (prevButtons[i] !== buttons[i]) {
|
|
20707
|
+
return false;
|
|
20708
|
+
}
|
|
20709
|
+
}
|
|
20710
|
+
return true;
|
|
20711
|
+
}
|
|
20661
20712
|
|
|
20662
20713
|
|
|
20663
20714
|
/***/ }),
|
|
@@ -25811,14 +25862,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
25811
25862
|
|
|
25812
25863
|
"use strict";
|
|
25813
25864
|
/* unused harmony export aiAssistant */
|
|
25814
|
-
/* harmony import */ var
|
|
25865
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
25815
25866
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24014);
|
|
25816
25867
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25868
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54306);
|
|
25817
25869
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
25818
25870
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23793);
|
|
25819
25871
|
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42628);
|
|
25820
25872
|
/* 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
25873
|
/*!
|
|
25823
25874
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25824
25875
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25887,7 +25938,7 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25887
25938
|
jodit.s.focus();
|
|
25888
25939
|
const selectedText = jodit.s.html;
|
|
25889
25940
|
jodit.async
|
|
25890
|
-
.promise((resolve, reject) => (0,
|
|
25941
|
+
.promise((resolve, reject) => (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__awaiter */ .sH)(this, void 0, void 0, function* () {
|
|
25891
25942
|
try {
|
|
25892
25943
|
const result = yield jodit.o.aiAssistant
|
|
25893
25944
|
.aiAssistantCallback(prompt, selectedText);
|
|
@@ -25901,7 +25952,7 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25901
25952
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
25902
25953
|
})
|
|
25903
25954
|
.catch(error => {
|
|
25904
|
-
if ((0,
|
|
25955
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_7__/* .isAbortError */ .z)(error)) {
|
|
25905
25956
|
return;
|
|
25906
25957
|
}
|
|
25907
25958
|
jodit.message.error(error.message);
|
|
@@ -25911,11 +25962,11 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25911
25962
|
/** @override */
|
|
25912
25963
|
beforeDestruct(_) { }
|
|
25913
25964
|
}
|
|
25914
|
-
(0,
|
|
25915
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
25965
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
25966
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
25916
25967
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
25917
|
-
(0,
|
|
25918
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
25968
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
25969
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':invokeAiAssistant')
|
|
25919
25970
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
25920
25971
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
25921
25972
|
|
|
@@ -26273,13 +26324,13 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
|
|
|
26273
26324
|
}
|
|
26274
26325
|
};
|
|
26275
26326
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26276
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26327
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-response')
|
|
26277
26328
|
], UiAiAssistant.prototype, "onAiAssistentResponse", null);
|
|
26278
26329
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26279
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26330
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-error')
|
|
26280
26331
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
26281
26332
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26282
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26333
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)('promptInput:change')
|
|
26283
26334
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
26284
26335
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26285
26336
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|
|
@@ -29910,10 +29961,10 @@ class dtd extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k
|
|
|
29910
29961
|
}
|
|
29911
29962
|
}
|
|
29912
29963
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
29913
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
29964
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':beforeInsertNode')
|
|
29914
29965
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
29915
29966
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
29916
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
29967
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':afterInsertNode')
|
|
29917
29968
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
29918
29969
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('dtd', dtd);
|
|
29919
29970
|
|