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/es5/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
|
*/
|
|
@@ -3811,7 +3811,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3811
3811
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3812
3812
|
*/
|
|
3813
3813
|
|
|
3814
|
-
var APP_VERSION = "4.1.
|
|
3814
|
+
var APP_VERSION = "4.1.11";
|
|
3815
3815
|
// prettier-ignore
|
|
3816
3816
|
var ES = "es5";
|
|
3817
3817
|
var IS_ES_MODERN = false;
|
|
@@ -4555,14 +4555,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4555
4555
|
/* harmony export */ component: function() { return /* reexport safe */ _component_component__WEBPACK_IMPORTED_MODULE_2__.s; },
|
|
4556
4556
|
/* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.s; },
|
|
4557
4557
|
/* harmony export */ derive: function() { return /* reexport safe */ _derive_derive__WEBPACK_IMPORTED_MODULE_4__.C; },
|
|
4558
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.
|
|
4558
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.N; },
|
|
4559
4559
|
/* harmony export */ hook: function() { return /* reexport safe */ _hook_hook__WEBPACK_IMPORTED_MODULE_5__.A; },
|
|
4560
4560
|
/* harmony export */ idle: function() { return /* reexport safe */ _idle_idle__WEBPACK_IMPORTED_MODULE_6__.N; },
|
|
4561
4561
|
/* harmony export */ nonenumerable: function() { return /* reexport safe */ _nonenumerable_nonenumerable__WEBPACK_IMPORTED_MODULE_7__.m; },
|
|
4562
4562
|
/* harmony export */ persistent: function() { return /* reexport safe */ _persistent_persistent__WEBPACK_IMPORTED_MODULE_8__.y; },
|
|
4563
4563
|
/* harmony export */ throttle: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.n; },
|
|
4564
4564
|
/* harmony export */ wait: function() { return /* reexport safe */ _wait_wait__WEBPACK_IMPORTED_MODULE_9__.u; },
|
|
4565
|
-
/* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.
|
|
4565
|
+
/* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.w; }
|
|
4566
4566
|
/* harmony export */ });
|
|
4567
4567
|
/* harmony import */ var _autobind_autobind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26412);
|
|
4568
4568
|
/* harmony import */ var _cache_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22002);
|
|
@@ -4730,8 +4730,8 @@ function wait(condition) {
|
|
|
4730
4730
|
|
|
4731
4731
|
"use strict";
|
|
4732
4732
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4733
|
-
/* harmony export */
|
|
4734
|
-
/* harmony export */
|
|
4733
|
+
/* harmony export */ N: function() { return /* binding */ getPropertyDescriptor; },
|
|
4734
|
+
/* harmony export */ w: function() { return /* binding */ watch; }
|
|
4735
4735
|
/* harmony export */ });
|
|
4736
4736
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
4737
4737
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
|
|
@@ -4854,7 +4854,6 @@ function watch(observeFields, opts) {
|
|
|
4854
4854
|
}
|
|
4855
4855
|
};
|
|
4856
4856
|
}
|
|
4857
|
-
/* harmony default export */ __webpack_exports__.Ay = (watch);
|
|
4858
4857
|
|
|
4859
4858
|
|
|
4860
4859
|
/***/ }),
|
|
@@ -6590,7 +6589,7 @@ function observable(obj) {
|
|
|
6590
6589
|
var key = _key;
|
|
6591
6590
|
var prefix = prefixes.concat(key).filter(function (a) { return a.length; });
|
|
6592
6591
|
store[key] = dict[key];
|
|
6593
|
-
var descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .
|
|
6592
|
+
var descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .N)(dict, key);
|
|
6594
6593
|
Object.defineProperty(dict, key, {
|
|
6595
6594
|
set: function (value) {
|
|
6596
6595
|
var oldValue = store[key];
|
|
@@ -18698,7 +18697,7 @@ var ViewWithToolbar = /** @class */ (function (_super) {
|
|
|
18698
18697
|
_super.prototype.destruct.call(this);
|
|
18699
18698
|
};
|
|
18700
18699
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
18701
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .
|
|
18700
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
18702
18701
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
18703
18702
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
18704
18703
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
|
|
@@ -22442,6 +22441,7 @@ var DataProvider = /** @class */ (function () {
|
|
|
22442
22441
|
if (process) {
|
|
22443
22442
|
var respData = process.call(self, resp);
|
|
22444
22443
|
if (respData.data.permissions) {
|
|
22444
|
+
_this.parent.events.fire(_this, 'changePermissions', _this.__currentPermissions, respData.data.permissions);
|
|
22445
22445
|
_this.__currentPermissions = respData.data.permissions;
|
|
22446
22446
|
}
|
|
22447
22447
|
}
|
|
@@ -22925,25 +22925,26 @@ function loadTree(fb) {
|
|
|
22925
22925
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22926
22926
|
/* harmony export */ V: function() { return /* binding */ FileBrowser; }
|
|
22927
22927
|
/* harmony export */ });
|
|
22928
|
-
/* harmony import */ var
|
|
22928
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(31635);
|
|
22929
22929
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
22930
22930
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
22931
22931
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53557);
|
|
22932
|
-
/* harmony import */ var
|
|
22933
|
-
/* harmony import */ var
|
|
22934
|
-
/* harmony import */ var
|
|
22935
|
-
/* harmony import */ var
|
|
22936
|
-
/* harmony import */ var
|
|
22937
|
-
/* harmony import */ var
|
|
22938
|
-
/* harmony import */ var
|
|
22939
|
-
/* harmony import */ var
|
|
22940
|
-
/* harmony import */ var
|
|
22941
|
-
/* harmony import */ var
|
|
22942
|
-
/* harmony import */ var
|
|
22943
|
-
/* harmony import */ var
|
|
22944
|
-
/* harmony import */ var
|
|
22945
|
-
/* harmony import */ var
|
|
22946
|
-
/* harmony import */ var
|
|
22932
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24014);
|
|
22933
|
+
/* harmony import */ var jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99582);
|
|
22934
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9596);
|
|
22935
|
+
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
22936
|
+
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
22937
|
+
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
22938
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(83148);
|
|
22939
|
+
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(21310);
|
|
22940
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(64164);
|
|
22941
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(50067);
|
|
22942
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(25430);
|
|
22943
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(34255);
|
|
22944
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(18714);
|
|
22945
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(24538);
|
|
22946
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(96243);
|
|
22947
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
22947
22948
|
/*!
|
|
22948
22949
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
22949
22950
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22968,19 +22969,20 @@ function loadTree(fb) {
|
|
|
22968
22969
|
|
|
22969
22970
|
|
|
22970
22971
|
|
|
22972
|
+
|
|
22971
22973
|
|
|
22972
22974
|
|
|
22973
22975
|
var FileBrowser = /** @class */ (function (_super) {
|
|
22974
|
-
(0,
|
|
22976
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__extends */ .C6)(FileBrowser, _super);
|
|
22975
22977
|
function FileBrowser(options) {
|
|
22976
22978
|
var _this = _super.call(this, options) || this;
|
|
22977
22979
|
_this.browser = _this.c.div(_this.componentName);
|
|
22978
22980
|
_this.status_line = _this.c.div(_this.getFullElName('status'));
|
|
22979
|
-
_this.tree = new
|
|
22980
|
-
_this.files = new
|
|
22981
|
-
_this.state = (0,
|
|
22981
|
+
_this.tree = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserTree */ .V(_this);
|
|
22982
|
+
_this.files = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserFiles */ .Q(_this);
|
|
22983
|
+
_this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
22982
22984
|
currentPath: '',
|
|
22983
|
-
currentSource:
|
|
22985
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_14__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
22984
22986
|
currentBaseUrl: '',
|
|
22985
22987
|
activeElements: [],
|
|
22986
22988
|
elements: [],
|
|
@@ -22991,7 +22993,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22991
22993
|
onlyImages: false
|
|
22992
22994
|
});
|
|
22993
22995
|
_this.errorHandler = function (resp) {
|
|
22994
|
-
if ((0,
|
|
22996
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(resp)) {
|
|
22995
22997
|
return;
|
|
22996
22998
|
}
|
|
22997
22999
|
if (resp instanceof Error) {
|
|
@@ -23007,9 +23009,10 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23007
23009
|
_this.close = function () {
|
|
23008
23010
|
_this._dialog.close();
|
|
23009
23011
|
};
|
|
23012
|
+
_this.__prevButtons = [];
|
|
23010
23013
|
_this.attachEvents(options);
|
|
23011
23014
|
var self = _this;
|
|
23012
|
-
self.options = (0,
|
|
23015
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.filebrowser);
|
|
23013
23016
|
self.browser.component = _this;
|
|
23014
23017
|
self.container = self.browser;
|
|
23015
23018
|
if (self.o.showFoldersPanel) {
|
|
@@ -23017,9 +23020,9 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23017
23020
|
}
|
|
23018
23021
|
self.browser.appendChild(self.files.container);
|
|
23019
23022
|
self.browser.appendChild(self.status_line);
|
|
23020
|
-
|
|
23021
|
-
|
|
23022
|
-
|
|
23023
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__/* .selfListeners */ .c.call(self);
|
|
23024
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__/* .nativeListeners */ .nW.call(self);
|
|
23025
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__/* .stateListeners */ .r.call(self);
|
|
23023
23026
|
var keys = [
|
|
23024
23027
|
'getLocalFileByUrl',
|
|
23025
23028
|
'crop',
|
|
@@ -23037,7 +23040,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23037
23040
|
];
|
|
23038
23041
|
keys.forEach(function (key) {
|
|
23039
23042
|
if (_this.options[key] != null) {
|
|
23040
|
-
_this.options[key] = (0,
|
|
23043
|
+
_this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(_this.options[key], _this.o.ajax);
|
|
23041
23044
|
}
|
|
23042
23045
|
});
|
|
23043
23046
|
var _a = _this.o
|
|
@@ -23079,7 +23082,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23079
23082
|
};
|
|
23080
23083
|
Object.defineProperty(FileBrowser.prototype, "dataProvider", {
|
|
23081
23084
|
get: function () {
|
|
23082
|
-
return (0,
|
|
23085
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_15__/* .makeDataProvider */ .S)(this, this.options);
|
|
23083
23086
|
},
|
|
23084
23087
|
enumerable: false,
|
|
23085
23088
|
configurable: true
|
|
@@ -23104,7 +23107,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23104
23107
|
files: files_1,
|
|
23105
23108
|
isImages: isImages_1
|
|
23106
23109
|
};
|
|
23107
|
-
if ((0,
|
|
23110
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(callback)) {
|
|
23108
23111
|
callback(data);
|
|
23109
23112
|
}
|
|
23110
23113
|
_this.close();
|
|
@@ -23135,7 +23138,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23135
23138
|
* Container for set/get value
|
|
23136
23139
|
*/
|
|
23137
23140
|
get: function () {
|
|
23138
|
-
return
|
|
23141
|
+
return jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
|
|
23139
23142
|
},
|
|
23140
23143
|
enumerable: false,
|
|
23141
23144
|
configurable: true
|
|
@@ -23150,6 +23153,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23150
23153
|
/**
|
|
23151
23154
|
* It displays a message in the status bar of filebrowser
|
|
23152
23155
|
*
|
|
23156
|
+
* @param message - The message that will be displayed
|
|
23153
23157
|
* @param success - true It will be shown a message light . If no option is specified ,
|
|
23154
23158
|
* ßan error will be shown the red
|
|
23155
23159
|
* @example
|
|
@@ -23158,13 +23162,13 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23158
23162
|
* ```
|
|
23159
23163
|
*/
|
|
23160
23164
|
FileBrowser.prototype.status = function (message, success) {
|
|
23161
|
-
if (!message || (0,
|
|
23165
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(message)) {
|
|
23162
23166
|
return;
|
|
23163
23167
|
}
|
|
23164
|
-
if (!(0,
|
|
23168
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message)) {
|
|
23165
23169
|
message = message.message;
|
|
23166
23170
|
}
|
|
23167
|
-
if (!(0,
|
|
23171
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message) || !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.trim)(message).length) {
|
|
23168
23172
|
return;
|
|
23169
23173
|
}
|
|
23170
23174
|
this.message.message(message, success ? 'success' : 'error', this.o.howLongShowMsg);
|
|
@@ -23199,7 +23203,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23199
23203
|
.promise(function (resolve, reject) {
|
|
23200
23204
|
var _a;
|
|
23201
23205
|
if (!_this.o.items || !_this.o.items.url) {
|
|
23202
|
-
throw (0,
|
|
23206
|
+
throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.error)('Need set options.filebrowser.ajax.url');
|
|
23203
23207
|
}
|
|
23204
23208
|
var localTimeout = 0;
|
|
23205
23209
|
_this.e
|
|
@@ -23216,10 +23220,11 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23216
23220
|
.off('select.filebrowser')
|
|
23217
23221
|
.on('select.filebrowser', _this.onSelect(callback));
|
|
23218
23222
|
var header = _this.c.div();
|
|
23219
|
-
(_a = _this.toolbar) === null || _a === void 0 ? void 0 : _a.
|
|
23223
|
+
(_a = _this.toolbar) === null || _a === void 0 ? void 0 : _a.appendTo(header);
|
|
23224
|
+
_this.__updateToolbarButtons();
|
|
23220
23225
|
_this._dialog.open(_this.browser, header);
|
|
23221
23226
|
_this.e.fire('sort.filebrowser', _this.state.sortBy);
|
|
23222
|
-
(0,
|
|
23227
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__/* .loadTree */ .r)(_this).then(resolve, reject);
|
|
23223
23228
|
})
|
|
23224
23229
|
.catch(function (e) {
|
|
23225
23230
|
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD) {
|
|
@@ -23232,7 +23237,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23232
23237
|
var _a;
|
|
23233
23238
|
var options = ((_a = this.o.buttons) !== null && _a !== void 0 ? _a : []);
|
|
23234
23239
|
return options.filter(function (btn) {
|
|
23235
|
-
if (!(0,
|
|
23240
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(btn)) {
|
|
23236
23241
|
return true;
|
|
23237
23242
|
}
|
|
23238
23243
|
switch (btn) {
|
|
@@ -23250,8 +23255,8 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23250
23255
|
FileBrowser.prototype.initUploader = function (editor) {
|
|
23251
23256
|
var _this = this;
|
|
23252
23257
|
var _a;
|
|
23253
|
-
var self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,
|
|
23254
|
-
var uploadHandler = function () { return (0,
|
|
23258
|
+
var 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);
|
|
23259
|
+
var uploadHandler = function () { return (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_19__/* .loadItems */ .f)(_this); };
|
|
23255
23260
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
23256
23261
|
self.uploader
|
|
23257
23262
|
.setPath(self.state.currentPath)
|
|
@@ -23275,27 +23280,50 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
23275
23280
|
this.events && this.e.off('.filebrowser');
|
|
23276
23281
|
this.uploader && this.uploader.destruct();
|
|
23277
23282
|
};
|
|
23278
|
-
|
|
23283
|
+
FileBrowser.prototype.__updateToolbarButtons = function () {
|
|
23284
|
+
var _a;
|
|
23285
|
+
var buttons = this.__getButtons();
|
|
23286
|
+
if (isEqualButtonList(this.__prevButtons, buttons)) {
|
|
23287
|
+
return;
|
|
23288
|
+
}
|
|
23289
|
+
this.__prevButtons = buttons;
|
|
23290
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.build(buttons);
|
|
23291
|
+
};
|
|
23292
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23279
23293
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
23280
23294
|
], FileBrowser.prototype, "dataProvider", null);
|
|
23281
|
-
(0,
|
|
23295
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23282
23296
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
23283
23297
|
], FileBrowser.prototype, "_dialog", null);
|
|
23284
|
-
(0,
|
|
23298
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23285
23299
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
23286
23300
|
], FileBrowser.prototype, "storage", null);
|
|
23287
|
-
(0,
|
|
23301
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23288
23302
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
23289
23303
|
], FileBrowser.prototype, "status", null);
|
|
23290
|
-
(0,
|
|
23304
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23291
23305
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
23292
23306
|
], FileBrowser.prototype, "open", null);
|
|
23293
|
-
|
|
23294
|
-
(0,
|
|
23307
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23308
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__/* .watch */ .w)('dataProvider:changePermissions')
|
|
23309
|
+
], FileBrowser.prototype, "__updateToolbarButtons", null);
|
|
23310
|
+
FileBrowser = (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
23311
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__/* .Dlgs */ .z)
|
|
23295
23312
|
], FileBrowser);
|
|
23296
23313
|
return FileBrowser;
|
|
23297
|
-
}(
|
|
23314
|
+
}(jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__/* .ViewWithToolbar */ .T));
|
|
23298
23315
|
|
|
23316
|
+
function isEqualButtonList(prevButtons, buttons) {
|
|
23317
|
+
if (prevButtons.length !== buttons.length) {
|
|
23318
|
+
return false;
|
|
23319
|
+
}
|
|
23320
|
+
for (var i = 0; i < prevButtons.length; i++) {
|
|
23321
|
+
if (prevButtons[i] !== buttons[i]) {
|
|
23322
|
+
return false;
|
|
23323
|
+
}
|
|
23324
|
+
}
|
|
23325
|
+
return true;
|
|
23326
|
+
}
|
|
23299
23327
|
|
|
23300
23328
|
|
|
23301
23329
|
/***/ }),
|
|
@@ -28642,22 +28670,15 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28642
28670
|
}
|
|
28643
28671
|
];
|
|
28644
28672
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28645
|
-
return _this;
|
|
28646
|
-
}
|
|
28647
|
-
/** @override */
|
|
28648
|
-
aiAssistant.prototype.afterInit = function (jodit) { };
|
|
28649
|
-
aiAssistant.prototype.onGenerateAiAssistantForm = function (prompt) {
|
|
28650
|
-
var jodit = this.jodit;
|
|
28651
28673
|
var dialog = jodit.dlg({
|
|
28652
28674
|
buttons: ['fullsize', 'dialog.close'],
|
|
28653
28675
|
closeOnClickOverlay: true,
|
|
28654
28676
|
closeOnEsc: true,
|
|
28655
28677
|
resizable: false,
|
|
28656
|
-
draggable: true
|
|
28657
|
-
|
|
28658
|
-
// maxWidth: 460
|
|
28678
|
+
draggable: true,
|
|
28679
|
+
minHeight: 160
|
|
28659
28680
|
});
|
|
28660
|
-
dialog
|
|
28681
|
+
_this.__dialog = dialog;
|
|
28661
28682
|
var container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
28662
28683
|
onInsertAfter: function (html) {
|
|
28663
28684
|
jodit.s.focus();
|
|
@@ -28671,9 +28692,14 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28671
28692
|
dialog.close();
|
|
28672
28693
|
}
|
|
28673
28694
|
});
|
|
28674
|
-
container
|
|
28675
|
-
|
|
28676
|
-
|
|
28695
|
+
_this.__container = container;
|
|
28696
|
+
return _this;
|
|
28697
|
+
}
|
|
28698
|
+
/** @override */
|
|
28699
|
+
aiAssistant.prototype.afterInit = function (jodit) { };
|
|
28700
|
+
aiAssistant.prototype.onGenerateAiAssistantForm = function (prompt) {
|
|
28701
|
+
this.__dialog.open(this.__container, 'AI Assistant');
|
|
28702
|
+
this.__container.setPrompt(prompt);
|
|
28677
28703
|
};
|
|
28678
28704
|
aiAssistant.prototype.onInvokeAiAssistant = function (prompt) {
|
|
28679
28705
|
var _this = this;
|
|
@@ -28715,12 +28741,15 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28715
28741
|
});
|
|
28716
28742
|
};
|
|
28717
28743
|
/** @override */
|
|
28718
|
-
aiAssistant.prototype.beforeDestruct = function (_) {
|
|
28744
|
+
aiAssistant.prototype.beforeDestruct = function (_) {
|
|
28745
|
+
this.__container.destruct();
|
|
28746
|
+
this.__dialog.destruct();
|
|
28747
|
+
};
|
|
28719
28748
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
28720
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
28749
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
28721
28750
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
28722
28751
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
28723
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
28752
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':invokeAiAssistant')
|
|
28724
28753
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
28725
28754
|
return aiAssistant;
|
|
28726
28755
|
}(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k));
|
|
@@ -29075,13 +29104,13 @@ var UiAiAssistant = /** @class */ (function (_super) {
|
|
|
29075
29104
|
this.__insertAfterButton.state.disabled = value;
|
|
29076
29105
|
};
|
|
29077
29106
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
29078
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
29107
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-response')
|
|
29079
29108
|
], UiAiAssistant.prototype, "onAiAssistentResponse", null);
|
|
29080
29109
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
29081
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
29110
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-error')
|
|
29082
29111
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
29083
29112
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
29084
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
29113
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)('promptInput:change')
|
|
29085
29114
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
29086
29115
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
29087
29116
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|
|
@@ -32805,10 +32834,10 @@ var dtd = /** @class */ (function (_super) {
|
|
|
32805
32834
|
});
|
|
32806
32835
|
};
|
|
32807
32836
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
32808
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
32837
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':beforeInsertNode')
|
|
32809
32838
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
32810
32839
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
32811
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
32840
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':afterInsertNode')
|
|
32812
32841
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
32813
32842
|
return dtd;
|
|
32814
32843
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k));
|