jodit-pro 4.1.9 → 4.1.11
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 +2 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +104 -75
- package/es2015/jodit.min.css +1 -1
- 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 +2 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +104 -75
- package/es2018/jodit.min.css +1 -1
- 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 +2 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +103 -75
- package/es2021/jodit.min.css +1 -1
- 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 +2 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +103 -75
- package/es2021.en/jodit.min.css +1 -1
- 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 +3 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +106 -77
- package/es5/jodit.min.css +3 -3
- 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.11
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -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.11";
|
|
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];
|
|
@@ -16430,7 +16429,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16430
16429
|
}
|
|
16431
16430
|
}
|
|
16432
16431
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
|
|
16433
|
-
(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')
|
|
16434
16433
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16435
16434
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
|
|
16436
16435
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
|
|
@@ -19898,6 +19897,7 @@ let DataProvider = class DataProvider {
|
|
|
19898
19897
|
if (process) {
|
|
19899
19898
|
const respData = process.call(self, resp);
|
|
19900
19899
|
if (respData.data.permissions) {
|
|
19900
|
+
this.parent.events.fire(this, 'changePermissions', this.__currentPermissions, respData.data.permissions);
|
|
19901
19901
|
this.__currentPermissions = respData.data.permissions;
|
|
19902
19902
|
}
|
|
19903
19903
|
}
|
|
@@ -20342,25 +20342,26 @@ function loadTree(fb) {
|
|
|
20342
20342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20343
20343
|
/* harmony export */ V: function() { return /* binding */ FileBrowser; }
|
|
20344
20344
|
/* harmony export */ });
|
|
20345
|
-
/* harmony import */ var
|
|
20345
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(31635);
|
|
20346
20346
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
20347
20347
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
20348
20348
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53557);
|
|
20349
|
-
/* harmony import */ var
|
|
20350
|
-
/* harmony import */ var
|
|
20351
|
-
/* harmony import */ var
|
|
20352
|
-
/* harmony import */ var
|
|
20353
|
-
/* harmony import */ var
|
|
20354
|
-
/* harmony import */ var
|
|
20355
|
-
/* harmony import */ var
|
|
20356
|
-
/* harmony import */ var
|
|
20357
|
-
/* harmony import */ var
|
|
20358
|
-
/* harmony import */ var
|
|
20359
|
-
/* harmony import */ var
|
|
20360
|
-
/* harmony import */ var
|
|
20361
|
-
/* harmony import */ var
|
|
20362
|
-
/* harmony import */ var
|
|
20363
|
-
/* 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);
|
|
20364
20365
|
/*!
|
|
20365
20366
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20366
20367
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20387,13 +20388,14 @@ function loadTree(fb) {
|
|
|
20387
20388
|
|
|
20388
20389
|
|
|
20389
20390
|
|
|
20390
|
-
|
|
20391
|
+
|
|
20392
|
+
let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__/* .ViewWithToolbar */ .T {
|
|
20391
20393
|
/** @override */
|
|
20392
20394
|
className() {
|
|
20393
20395
|
return 'FileBrowser';
|
|
20394
20396
|
}
|
|
20395
20397
|
get dataProvider() {
|
|
20396
|
-
return (0,
|
|
20398
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_15__/* .makeDataProvider */ .S)(this, this.options);
|
|
20397
20399
|
}
|
|
20398
20400
|
// eslint-disable-next-line no-unused-vars
|
|
20399
20401
|
onSelect(callback) {
|
|
@@ -20414,7 +20416,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20414
20416
|
files,
|
|
20415
20417
|
isImages
|
|
20416
20418
|
};
|
|
20417
|
-
if ((0,
|
|
20419
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(callback)) {
|
|
20418
20420
|
callback(data);
|
|
20419
20421
|
}
|
|
20420
20422
|
this.close();
|
|
@@ -20437,7 +20439,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20437
20439
|
* Container for set/get value
|
|
20438
20440
|
*/
|
|
20439
20441
|
get storage() {
|
|
20440
|
-
return
|
|
20442
|
+
return jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
|
|
20441
20443
|
}
|
|
20442
20444
|
get isOpened() {
|
|
20443
20445
|
return this._dialog.isOpened && this.browser.style.display !== 'none';
|
|
@@ -20445,6 +20447,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20445
20447
|
/**
|
|
20446
20448
|
* It displays a message in the status bar of filebrowser
|
|
20447
20449
|
*
|
|
20450
|
+
* @param message - The message that will be displayed
|
|
20448
20451
|
* @param success - true It will be shown a message light . If no option is specified ,
|
|
20449
20452
|
* ßan error will be shown the red
|
|
20450
20453
|
* @example
|
|
@@ -20453,13 +20456,13 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20453
20456
|
* ```
|
|
20454
20457
|
*/
|
|
20455
20458
|
status(message, success) {
|
|
20456
|
-
if (!message || (0,
|
|
20459
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(message)) {
|
|
20457
20460
|
return;
|
|
20458
20461
|
}
|
|
20459
|
-
if (!(0,
|
|
20462
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message)) {
|
|
20460
20463
|
message = message.message;
|
|
20461
20464
|
}
|
|
20462
|
-
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) {
|
|
20463
20466
|
return;
|
|
20464
20467
|
}
|
|
20465
20468
|
this.message.message(message, success ? 'success' : 'error', this.o.howLongShowMsg);
|
|
@@ -20487,7 +20490,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20487
20490
|
.promise((resolve, reject) => {
|
|
20488
20491
|
var _a;
|
|
20489
20492
|
if (!this.o.items || !this.o.items.url) {
|
|
20490
|
-
throw (0,
|
|
20493
|
+
throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.error)('Need set options.filebrowser.ajax.url');
|
|
20491
20494
|
}
|
|
20492
20495
|
let localTimeout = 0;
|
|
20493
20496
|
this.e
|
|
@@ -20504,10 +20507,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20504
20507
|
.off('select.filebrowser')
|
|
20505
20508
|
.on('select.filebrowser', this.onSelect(callback));
|
|
20506
20509
|
const header = this.c.div();
|
|
20507
|
-
(_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();
|
|
20508
20512
|
this._dialog.open(this.browser, header);
|
|
20509
20513
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20510
|
-
(0,
|
|
20514
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__/* .loadTree */ .r)(this).then(resolve, reject);
|
|
20511
20515
|
})
|
|
20512
20516
|
.catch((e) => {
|
|
20513
20517
|
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD) {
|
|
@@ -20519,7 +20523,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20519
20523
|
var _a;
|
|
20520
20524
|
const options = ((_a = this.o.buttons) !== null && _a !== void 0 ? _a : []);
|
|
20521
20525
|
return options.filter((btn) => {
|
|
20522
|
-
if (!(0,
|
|
20526
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(btn)) {
|
|
20523
20527
|
return true;
|
|
20524
20528
|
}
|
|
20525
20529
|
switch (btn) {
|
|
@@ -20536,8 +20540,8 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20536
20540
|
}
|
|
20537
20541
|
initUploader(editor) {
|
|
20538
20542
|
var _a;
|
|
20539
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,
|
|
20540
|
-
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);
|
|
20541
20545
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20542
20546
|
self.uploader
|
|
20543
20547
|
.setPath(self.state.currentPath)
|
|
@@ -20556,11 +20560,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20556
20560
|
super(options);
|
|
20557
20561
|
this.browser = this.c.div(this.componentName);
|
|
20558
20562
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20559
|
-
this.tree = new
|
|
20560
|
-
this.files = new
|
|
20561
|
-
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)({
|
|
20562
20566
|
currentPath: '',
|
|
20563
|
-
currentSource:
|
|
20567
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_14__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20564
20568
|
currentBaseUrl: '',
|
|
20565
20569
|
activeElements: [],
|
|
20566
20570
|
elements: [],
|
|
@@ -20571,7 +20575,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20571
20575
|
onlyImages: false
|
|
20572
20576
|
});
|
|
20573
20577
|
this.errorHandler = (resp) => {
|
|
20574
|
-
if ((0,
|
|
20578
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(resp)) {
|
|
20575
20579
|
return;
|
|
20576
20580
|
}
|
|
20577
20581
|
if (resp instanceof Error) {
|
|
@@ -20587,9 +20591,10 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20587
20591
|
this.close = () => {
|
|
20588
20592
|
this._dialog.close();
|
|
20589
20593
|
};
|
|
20594
|
+
this.__prevButtons = [];
|
|
20590
20595
|
this.attachEvents(options);
|
|
20591
20596
|
const self = this;
|
|
20592
|
-
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);
|
|
20593
20598
|
self.browser.component = this;
|
|
20594
20599
|
self.container = self.browser;
|
|
20595
20600
|
if (self.o.showFoldersPanel) {
|
|
@@ -20597,9 +20602,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20597
20602
|
}
|
|
20598
20603
|
self.browser.appendChild(self.files.container);
|
|
20599
20604
|
self.browser.appendChild(self.status_line);
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
|
|
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);
|
|
20603
20608
|
const keys = [
|
|
20604
20609
|
'getLocalFileByUrl',
|
|
20605
20610
|
'crop',
|
|
@@ -20617,7 +20622,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20617
20622
|
];
|
|
20618
20623
|
keys.forEach(key => {
|
|
20619
20624
|
if (this.options[key] != null) {
|
|
20620
|
-
this.options[key] = (0,
|
|
20625
|
+
this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(this.options[key], this.o.ajax);
|
|
20621
20626
|
}
|
|
20622
20627
|
});
|
|
20623
20628
|
const { storeView, storeSortBy, storeLastOpenedFolder } = this.o
|
|
@@ -20661,26 +20666,49 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20661
20666
|
this.events && this.e.off('.filebrowser');
|
|
20662
20667
|
this.uploader && this.uploader.destruct();
|
|
20663
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
|
+
}
|
|
20664
20678
|
};
|
|
20665
|
-
(0,
|
|
20679
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20666
20680
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20667
20681
|
], FileBrowser.prototype, "dataProvider", null);
|
|
20668
|
-
(0,
|
|
20682
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20669
20683
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20670
20684
|
], FileBrowser.prototype, "_dialog", null);
|
|
20671
|
-
(0,
|
|
20685
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20672
20686
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20673
20687
|
], FileBrowser.prototype, "storage", null);
|
|
20674
|
-
(0,
|
|
20688
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20675
20689
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
20676
20690
|
], FileBrowser.prototype, "status", null);
|
|
20677
|
-
(0,
|
|
20691
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20678
20692
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
20679
20693
|
], FileBrowser.prototype, "open", null);
|
|
20680
|
-
|
|
20681
|
-
(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)
|
|
20682
20699
|
], FileBrowser);
|
|
20683
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
|
+
}
|
|
20684
20712
|
|
|
20685
20713
|
|
|
20686
20714
|
/***/ }),
|
|
@@ -25873,21 +25901,15 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25873
25901
|
}
|
|
25874
25902
|
];
|
|
25875
25903
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
25876
|
-
}
|
|
25877
|
-
/** @override */
|
|
25878
|
-
afterInit(jodit) { }
|
|
25879
|
-
onGenerateAiAssistantForm(prompt) {
|
|
25880
|
-
const { jodit } = this;
|
|
25881
25904
|
const dialog = jodit.dlg({
|
|
25882
25905
|
buttons: ['fullsize', 'dialog.close'],
|
|
25883
25906
|
closeOnClickOverlay: true,
|
|
25884
25907
|
closeOnEsc: true,
|
|
25885
25908
|
resizable: false,
|
|
25886
|
-
draggable: true
|
|
25887
|
-
|
|
25888
|
-
// maxWidth: 460
|
|
25909
|
+
draggable: true,
|
|
25910
|
+
minHeight: 160
|
|
25889
25911
|
});
|
|
25890
|
-
dialog
|
|
25912
|
+
this.__dialog = dialog;
|
|
25891
25913
|
const container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
25892
25914
|
onInsertAfter(html) {
|
|
25893
25915
|
jodit.s.focus();
|
|
@@ -25901,9 +25923,13 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25901
25923
|
dialog.close();
|
|
25902
25924
|
}
|
|
25903
25925
|
});
|
|
25904
|
-
container
|
|
25905
|
-
|
|
25906
|
-
|
|
25926
|
+
this.__container = container;
|
|
25927
|
+
}
|
|
25928
|
+
/** @override */
|
|
25929
|
+
afterInit(jodit) { }
|
|
25930
|
+
onGenerateAiAssistantForm(prompt) {
|
|
25931
|
+
this.__dialog.open(this.__container, 'AI Assistant');
|
|
25932
|
+
this.__container.setPrompt(prompt);
|
|
25907
25933
|
}
|
|
25908
25934
|
onInvokeAiAssistant(prompt) {
|
|
25909
25935
|
const { jodit } = this;
|
|
@@ -25932,13 +25958,16 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25932
25958
|
});
|
|
25933
25959
|
}
|
|
25934
25960
|
/** @override */
|
|
25935
|
-
beforeDestruct(_) {
|
|
25961
|
+
beforeDestruct(_) {
|
|
25962
|
+
this.__container.destruct();
|
|
25963
|
+
this.__dialog.destruct();
|
|
25964
|
+
}
|
|
25936
25965
|
}
|
|
25937
25966
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
25938
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
25967
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
25939
25968
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
25940
25969
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
25941
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
25970
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':invokeAiAssistant')
|
|
25942
25971
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
25943
25972
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
25944
25973
|
|
|
@@ -26296,13 +26325,13 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
|
|
|
26296
26325
|
}
|
|
26297
26326
|
};
|
|
26298
26327
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26299
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26328
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-response')
|
|
26300
26329
|
], UiAiAssistant.prototype, "onAiAssistentResponse", null);
|
|
26301
26330
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26302
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26331
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-error')
|
|
26303
26332
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
26304
26333
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26305
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26334
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)('promptInput:change')
|
|
26306
26335
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
26307
26336
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26308
26337
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|
|
@@ -29933,10 +29962,10 @@ class dtd extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k
|
|
|
29933
29962
|
}
|
|
29934
29963
|
}
|
|
29935
29964
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
29936
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
29965
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':beforeInsertNode')
|
|
29937
29966
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
29938
29967
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
29939
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
29968
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':afterInsertNode')
|
|
29940
29969
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
29941
29970
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('dtd', dtd);
|
|
29942
29971
|
|