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/es2018/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 = "es2018";
|
|
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];
|
|
@@ -16487,7 +16486,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16487
16486
|
}
|
|
16488
16487
|
}
|
|
16489
16488
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
|
|
16490
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .
|
|
16489
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
16491
16490
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16492
16491
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
|
|
16493
16492
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
|
|
@@ -19969,6 +19968,7 @@ let DataProvider = class DataProvider {
|
|
|
19969
19968
|
if (process) {
|
|
19970
19969
|
const respData = process.call(self, resp);
|
|
19971
19970
|
if (respData.data.permissions) {
|
|
19971
|
+
this.parent.events.fire(this, 'changePermissions', this.__currentPermissions, respData.data.permissions);
|
|
19972
19972
|
this.__currentPermissions = respData.data.permissions;
|
|
19973
19973
|
}
|
|
19974
19974
|
}
|
|
@@ -20410,25 +20410,26 @@ async function loadTree(fb) {
|
|
|
20410
20410
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20411
20411
|
/* harmony export */ V: function() { return /* binding */ FileBrowser; }
|
|
20412
20412
|
/* harmony export */ });
|
|
20413
|
-
/* harmony import */ var
|
|
20413
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(31635);
|
|
20414
20414
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
20415
20415
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
20416
20416
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53557);
|
|
20417
|
-
/* harmony import */ var
|
|
20418
|
-
/* harmony import */ var
|
|
20419
|
-
/* harmony import */ var
|
|
20420
|
-
/* harmony import */ var
|
|
20421
|
-
/* harmony import */ var
|
|
20422
|
-
/* harmony import */ var
|
|
20423
|
-
/* harmony import */ var
|
|
20424
|
-
/* harmony import */ var
|
|
20425
|
-
/* harmony import */ var
|
|
20426
|
-
/* harmony import */ var
|
|
20427
|
-
/* harmony import */ var
|
|
20428
|
-
/* harmony import */ var
|
|
20429
|
-
/* harmony import */ var
|
|
20430
|
-
/* harmony import */ var
|
|
20431
|
-
/* harmony import */ var
|
|
20417
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24014);
|
|
20418
|
+
/* harmony import */ var jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99582);
|
|
20419
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9596);
|
|
20420
|
+
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20421
|
+
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20422
|
+
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20423
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(83148);
|
|
20424
|
+
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20425
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(64164);
|
|
20426
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(50067);
|
|
20427
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(25430);
|
|
20428
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(34255);
|
|
20429
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(18714);
|
|
20430
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(24538);
|
|
20431
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(96243);
|
|
20432
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20432
20433
|
/*!
|
|
20433
20434
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20434
20435
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20455,13 +20456,14 @@ async function loadTree(fb) {
|
|
|
20455
20456
|
|
|
20456
20457
|
|
|
20457
20458
|
|
|
20458
|
-
|
|
20459
|
+
|
|
20460
|
+
let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__/* .ViewWithToolbar */ .T {
|
|
20459
20461
|
/** @override */
|
|
20460
20462
|
className() {
|
|
20461
20463
|
return 'FileBrowser';
|
|
20462
20464
|
}
|
|
20463
20465
|
get dataProvider() {
|
|
20464
|
-
return (0,
|
|
20466
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_15__/* .makeDataProvider */ .S)(this, this.options);
|
|
20465
20467
|
}
|
|
20466
20468
|
// eslint-disable-next-line no-unused-vars
|
|
20467
20469
|
onSelect(callback) {
|
|
@@ -20482,7 +20484,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20482
20484
|
files,
|
|
20483
20485
|
isImages
|
|
20484
20486
|
};
|
|
20485
|
-
if ((0,
|
|
20487
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(callback)) {
|
|
20486
20488
|
callback(data);
|
|
20487
20489
|
}
|
|
20488
20490
|
this.close();
|
|
@@ -20505,7 +20507,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20505
20507
|
* Container for set/get value
|
|
20506
20508
|
*/
|
|
20507
20509
|
get storage() {
|
|
20508
|
-
return
|
|
20510
|
+
return jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
|
|
20509
20511
|
}
|
|
20510
20512
|
get isOpened() {
|
|
20511
20513
|
return this._dialog.isOpened && this.browser.style.display !== 'none';
|
|
@@ -20513,6 +20515,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20513
20515
|
/**
|
|
20514
20516
|
* It displays a message in the status bar of filebrowser
|
|
20515
20517
|
*
|
|
20518
|
+
* @param message - The message that will be displayed
|
|
20516
20519
|
* @param success - true It will be shown a message light . If no option is specified ,
|
|
20517
20520
|
* ßan error will be shown the red
|
|
20518
20521
|
* @example
|
|
@@ -20521,13 +20524,13 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20521
20524
|
* ```
|
|
20522
20525
|
*/
|
|
20523
20526
|
status(message, success) {
|
|
20524
|
-
if (!message || (0,
|
|
20527
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(message)) {
|
|
20525
20528
|
return;
|
|
20526
20529
|
}
|
|
20527
|
-
if (!(0,
|
|
20530
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message)) {
|
|
20528
20531
|
message = message.message;
|
|
20529
20532
|
}
|
|
20530
|
-
if (!(0,
|
|
20533
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message) || !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.trim)(message).length) {
|
|
20531
20534
|
return;
|
|
20532
20535
|
}
|
|
20533
20536
|
this.message.message(message, success ? 'success' : 'error', this.o.howLongShowMsg);
|
|
@@ -20555,7 +20558,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20555
20558
|
.promise((resolve, reject) => {
|
|
20556
20559
|
var _a;
|
|
20557
20560
|
if (!this.o.items || !this.o.items.url) {
|
|
20558
|
-
throw (0,
|
|
20561
|
+
throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.error)('Need set options.filebrowser.ajax.url');
|
|
20559
20562
|
}
|
|
20560
20563
|
let localTimeout = 0;
|
|
20561
20564
|
this.e
|
|
@@ -20572,10 +20575,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20572
20575
|
.off('select.filebrowser')
|
|
20573
20576
|
.on('select.filebrowser', this.onSelect(callback));
|
|
20574
20577
|
const header = this.c.div();
|
|
20575
|
-
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.
|
|
20578
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.appendTo(header);
|
|
20579
|
+
this.__updateToolbarButtons();
|
|
20576
20580
|
this._dialog.open(this.browser, header);
|
|
20577
20581
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20578
|
-
(0,
|
|
20582
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__/* .loadTree */ .r)(this).then(resolve, reject);
|
|
20579
20583
|
})
|
|
20580
20584
|
.catch((e) => {
|
|
20581
20585
|
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD) {
|
|
@@ -20587,7 +20591,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20587
20591
|
var _a;
|
|
20588
20592
|
const options = ((_a = this.o.buttons) !== null && _a !== void 0 ? _a : []);
|
|
20589
20593
|
return options.filter((btn) => {
|
|
20590
|
-
if (!(0,
|
|
20594
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(btn)) {
|
|
20591
20595
|
return true;
|
|
20592
20596
|
}
|
|
20593
20597
|
switch (btn) {
|
|
@@ -20604,8 +20608,8 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20604
20608
|
}
|
|
20605
20609
|
initUploader(editor) {
|
|
20606
20610
|
var _a;
|
|
20607
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,
|
|
20608
|
-
const uploadHandler = () => (0,
|
|
20611
|
+
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);
|
|
20612
|
+
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20609
20613
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20610
20614
|
self.uploader
|
|
20611
20615
|
.setPath(self.state.currentPath)
|
|
@@ -20624,11 +20628,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20624
20628
|
super(options);
|
|
20625
20629
|
this.browser = this.c.div(this.componentName);
|
|
20626
20630
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20627
|
-
this.tree = new
|
|
20628
|
-
this.files = new
|
|
20629
|
-
this.state = (0,
|
|
20631
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserTree */ .V(this);
|
|
20632
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserFiles */ .Q(this);
|
|
20633
|
+
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20630
20634
|
currentPath: '',
|
|
20631
|
-
currentSource:
|
|
20635
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_14__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20632
20636
|
currentBaseUrl: '',
|
|
20633
20637
|
activeElements: [],
|
|
20634
20638
|
elements: [],
|
|
@@ -20639,7 +20643,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20639
20643
|
onlyImages: false
|
|
20640
20644
|
});
|
|
20641
20645
|
this.errorHandler = (resp) => {
|
|
20642
|
-
if ((0,
|
|
20646
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(resp)) {
|
|
20643
20647
|
return;
|
|
20644
20648
|
}
|
|
20645
20649
|
if (resp instanceof Error) {
|
|
@@ -20655,9 +20659,10 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20655
20659
|
this.close = () => {
|
|
20656
20660
|
this._dialog.close();
|
|
20657
20661
|
};
|
|
20662
|
+
this.__prevButtons = [];
|
|
20658
20663
|
this.attachEvents(options);
|
|
20659
20664
|
const self = this;
|
|
20660
|
-
self.options = (0,
|
|
20665
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20661
20666
|
self.browser.component = this;
|
|
20662
20667
|
self.container = self.browser;
|
|
20663
20668
|
if (self.o.showFoldersPanel) {
|
|
@@ -20665,9 +20670,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20665
20670
|
}
|
|
20666
20671
|
self.browser.appendChild(self.files.container);
|
|
20667
20672
|
self.browser.appendChild(self.status_line);
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20673
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__/* .selfListeners */ .c.call(self);
|
|
20674
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__/* .nativeListeners */ .nW.call(self);
|
|
20675
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__/* .stateListeners */ .r.call(self);
|
|
20671
20676
|
const keys = [
|
|
20672
20677
|
'getLocalFileByUrl',
|
|
20673
20678
|
'crop',
|
|
@@ -20685,7 +20690,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20685
20690
|
];
|
|
20686
20691
|
keys.forEach(key => {
|
|
20687
20692
|
if (this.options[key] != null) {
|
|
20688
|
-
this.options[key] = (0,
|
|
20693
|
+
this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(this.options[key], this.o.ajax);
|
|
20689
20694
|
}
|
|
20690
20695
|
});
|
|
20691
20696
|
const { storeView, storeSortBy, storeLastOpenedFolder } = this.o
|
|
@@ -20729,26 +20734,49 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20729
20734
|
this.events && this.e.off('.filebrowser');
|
|
20730
20735
|
this.uploader && this.uploader.destruct();
|
|
20731
20736
|
}
|
|
20737
|
+
__updateToolbarButtons() {
|
|
20738
|
+
var _a;
|
|
20739
|
+
const buttons = this.__getButtons();
|
|
20740
|
+
if (isEqualButtonList(this.__prevButtons, buttons)) {
|
|
20741
|
+
return;
|
|
20742
|
+
}
|
|
20743
|
+
this.__prevButtons = buttons;
|
|
20744
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.build(buttons);
|
|
20745
|
+
}
|
|
20732
20746
|
};
|
|
20733
|
-
(0,
|
|
20747
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20734
20748
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20735
20749
|
], FileBrowser.prototype, "dataProvider", null);
|
|
20736
|
-
(0,
|
|
20750
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20737
20751
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20738
20752
|
], FileBrowser.prototype, "_dialog", null);
|
|
20739
|
-
(0,
|
|
20753
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20740
20754
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
20741
20755
|
], FileBrowser.prototype, "storage", null);
|
|
20742
|
-
(0,
|
|
20756
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20743
20757
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
20744
20758
|
], FileBrowser.prototype, "status", null);
|
|
20745
|
-
(0,
|
|
20759
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20746
20760
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
20747
20761
|
], FileBrowser.prototype, "open", null);
|
|
20748
|
-
|
|
20749
|
-
(0,
|
|
20762
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20763
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__/* .watch */ .w)('dataProvider:changePermissions')
|
|
20764
|
+
], FileBrowser.prototype, "__updateToolbarButtons", null);
|
|
20765
|
+
FileBrowser = (0,tslib__WEBPACK_IMPORTED_MODULE_19__/* .__decorate */ .Cg)([
|
|
20766
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__/* .Dlgs */ .z)
|
|
20750
20767
|
], FileBrowser);
|
|
20751
20768
|
|
|
20769
|
+
function isEqualButtonList(prevButtons, buttons) {
|
|
20770
|
+
if (prevButtons.length !== buttons.length) {
|
|
20771
|
+
return false;
|
|
20772
|
+
}
|
|
20773
|
+
for (let i = 0; i < prevButtons.length; i++) {
|
|
20774
|
+
if (prevButtons[i] !== buttons[i]) {
|
|
20775
|
+
return false;
|
|
20776
|
+
}
|
|
20777
|
+
}
|
|
20778
|
+
return true;
|
|
20779
|
+
}
|
|
20752
20780
|
|
|
20753
20781
|
|
|
20754
20782
|
/***/ }),
|
|
@@ -25956,21 +25984,15 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25956
25984
|
}
|
|
25957
25985
|
];
|
|
25958
25986
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
25959
|
-
}
|
|
25960
|
-
/** @override */
|
|
25961
|
-
afterInit(jodit) { }
|
|
25962
|
-
onGenerateAiAssistantForm(prompt) {
|
|
25963
|
-
const { jodit } = this;
|
|
25964
25987
|
const dialog = jodit.dlg({
|
|
25965
25988
|
buttons: ['fullsize', 'dialog.close'],
|
|
25966
25989
|
closeOnClickOverlay: true,
|
|
25967
25990
|
closeOnEsc: true,
|
|
25968
25991
|
resizable: false,
|
|
25969
|
-
draggable: true
|
|
25970
|
-
|
|
25971
|
-
// maxWidth: 460
|
|
25992
|
+
draggable: true,
|
|
25993
|
+
minHeight: 160
|
|
25972
25994
|
});
|
|
25973
|
-
dialog
|
|
25995
|
+
this.__dialog = dialog;
|
|
25974
25996
|
const container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
25975
25997
|
onInsertAfter(html) {
|
|
25976
25998
|
jodit.s.focus();
|
|
@@ -25984,9 +26006,13 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
25984
26006
|
dialog.close();
|
|
25985
26007
|
}
|
|
25986
26008
|
});
|
|
25987
|
-
container
|
|
25988
|
-
|
|
25989
|
-
|
|
26009
|
+
this.__container = container;
|
|
26010
|
+
}
|
|
26011
|
+
/** @override */
|
|
26012
|
+
afterInit(jodit) { }
|
|
26013
|
+
onGenerateAiAssistantForm(prompt) {
|
|
26014
|
+
this.__dialog.open(this.__container, 'AI Assistant');
|
|
26015
|
+
this.__container.setPrompt(prompt);
|
|
25990
26016
|
}
|
|
25991
26017
|
onInvokeAiAssistant(prompt) {
|
|
25992
26018
|
const { jodit } = this;
|
|
@@ -26015,13 +26041,16 @@ class aiAssistant extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/
|
|
|
26015
26041
|
});
|
|
26016
26042
|
}
|
|
26017
26043
|
/** @override */
|
|
26018
|
-
beforeDestruct(_) {
|
|
26044
|
+
beforeDestruct(_) {
|
|
26045
|
+
this.__container.destruct();
|
|
26046
|
+
this.__dialog.destruct();
|
|
26047
|
+
}
|
|
26019
26048
|
}
|
|
26020
26049
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
26021
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26050
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
26022
26051
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
26023
26052
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
26024
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26053
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':invokeAiAssistant')
|
|
26025
26054
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
26026
26055
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
26027
26056
|
|
|
@@ -26379,13 +26408,13 @@ let UiAiAssistant = class UiAiAssistant extends jodit_core_ui_element__WEBPACK_I
|
|
|
26379
26408
|
}
|
|
26380
26409
|
};
|
|
26381
26410
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26382
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26411
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-response')
|
|
26383
26412
|
], UiAiAssistant.prototype, "onAiAssistentResponse", null);
|
|
26384
26413
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26385
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26414
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-error')
|
|
26386
26415
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
26387
26416
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26388
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
26417
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)('promptInput:change')
|
|
26389
26418
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
26390
26419
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
26391
26420
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|
|
@@ -30018,10 +30047,10 @@ class dtd extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k
|
|
|
30018
30047
|
}
|
|
30019
30048
|
}
|
|
30020
30049
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
30021
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
30050
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':beforeInsertNode')
|
|
30022
30051
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
30023
30052
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
30024
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
30053
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':afterInsertNode')
|
|
30025
30054
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
30026
30055
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('dtd', dtd);
|
|
30027
30056
|
|