jodit-pro 4.1.11 → 4.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +73 -54
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +72 -53
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +71 -53
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +71 -53
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +87 -60
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/package.json +1 -1
package/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.13
|
|
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.13";
|
|
3815
3815
|
// prettier-ignore
|
|
3816
3816
|
var ES = "es5";
|
|
3817
3817
|
var IS_ES_MODERN = false;
|
|
@@ -4222,8 +4222,9 @@ var Create = /** @class */ (function () {
|
|
|
4222
4222
|
|
|
4223
4223
|
"use strict";
|
|
4224
4224
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4225
|
-
/* harmony export */
|
|
4226
|
-
/* harmony export */
|
|
4225
|
+
/* harmony export */ OK: function() { return /* binding */ cacheHTML; },
|
|
4226
|
+
/* harmony export */ PO: function() { return /* binding */ cached; },
|
|
4227
|
+
/* harmony export */ PP: function() { return /* binding */ cache; }
|
|
4227
4228
|
/* harmony export */ });
|
|
4228
4229
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
|
|
4229
4230
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
|
|
@@ -4238,6 +4239,13 @@ var Create = /** @class */ (function () {
|
|
|
4238
4239
|
|
|
4239
4240
|
|
|
4240
4241
|
|
|
4242
|
+
function cached(object, property) {
|
|
4243
|
+
var descriptor = Object.getOwnPropertyDescriptor(object, property);
|
|
4244
|
+
if (!descriptor || (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_2__/* .isFunction */ .Tn)(descriptor.get)) {
|
|
4245
|
+
return null;
|
|
4246
|
+
}
|
|
4247
|
+
return descriptor.value;
|
|
4248
|
+
}
|
|
4241
4249
|
function cache(_, name, descriptor) {
|
|
4242
4250
|
var getter = descriptor.get;
|
|
4243
4251
|
if (!getter) {
|
|
@@ -4550,8 +4558,9 @@ function idle() {
|
|
|
4550
4558
|
__webpack_require__.r(__webpack_exports__);
|
|
4551
4559
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4552
4560
|
/* harmony export */ autobind: function() { return /* reexport safe */ _autobind_autobind__WEBPACK_IMPORTED_MODULE_0__.d; },
|
|
4553
|
-
/* harmony export */ cache: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.
|
|
4554
|
-
/* harmony export */ cacheHTML: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.
|
|
4561
|
+
/* harmony export */ cache: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.PP; },
|
|
4562
|
+
/* harmony export */ cacheHTML: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.OK; },
|
|
4563
|
+
/* harmony export */ cached: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.PO; },
|
|
4555
4564
|
/* harmony export */ component: function() { return /* reexport safe */ _component_component__WEBPACK_IMPORTED_MODULE_2__.s; },
|
|
4556
4565
|
/* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.s; },
|
|
4557
4566
|
/* harmony export */ derive: function() { return /* reexport safe */ _derive_derive__WEBPACK_IMPORTED_MODULE_4__.C; },
|
|
@@ -16078,7 +16087,8 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
16078
16087
|
view.o.showTooltip &&
|
|
16079
16088
|
!view.o.useNativeTooltip) {
|
|
16080
16089
|
view.hookStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.ready, function () {
|
|
16081
|
-
|
|
16090
|
+
// TODO Move it inside __open method. Now it is here becous testcase failed with capturing
|
|
16091
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(_this.j, UITooltip_1).appendChild(_this.container);
|
|
16082
16092
|
view.e.on(view.container, 'mouseenter.tooltip', _this.__onMouseEnter, {
|
|
16083
16093
|
capture: true
|
|
16084
16094
|
});
|
|
@@ -16218,9 +16228,6 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
16218
16228
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
16219
16229
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
16220
16230
|
], UITooltip.prototype, "__onMouseEnter", null);
|
|
16221
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
16222
|
-
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
16223
|
-
], UITooltip.prototype, "__delayOpen", null);
|
|
16224
16231
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
16225
16232
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
16226
16233
|
], UITooltip.prototype, "__hide", null);
|
|
@@ -19061,22 +19068,22 @@ var View = /** @class */ (function (_super) {
|
|
|
19061
19068
|
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.js
|
|
19062
19069
|
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.js
|
|
19063
19070
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19064
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
19071
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
19065
19072
|
], View.prototype, "buffer", null);
|
|
19066
19073
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19067
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
19074
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
19068
19075
|
], View.prototype, "message", null);
|
|
19069
19076
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19070
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
19077
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
19071
19078
|
], View.prototype, "storage", null);
|
|
19072
19079
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19073
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
19080
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
19074
19081
|
], View.prototype, "c", null);
|
|
19075
19082
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19076
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
19083
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
19077
19084
|
], View.prototype, "e", null);
|
|
19078
19085
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19079
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
19086
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
19080
19087
|
], View.prototype, "progressbar", null);
|
|
19081
19088
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
19082
19089
|
(0,jodit_core_decorators_hook_hook__WEBPACK_IMPORTED_MODULE_6__/* .hook */ .A)(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_2__/* .STATUSES */ .f.beforeDestruct)
|
|
@@ -28630,14 +28637,15 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
28630
28637
|
|
|
28631
28638
|
"use strict";
|
|
28632
28639
|
/* unused harmony export aiAssistant */
|
|
28633
|
-
/* harmony import */ var
|
|
28634
|
-
/* harmony import */ var
|
|
28635
|
-
/* harmony import */ var
|
|
28636
|
-
/* harmony import */ var
|
|
28637
|
-
/* harmony import */ var
|
|
28638
|
-
/* harmony import */ var
|
|
28639
|
-
/* harmony import */ var
|
|
28640
|
-
/* harmony import */ var
|
|
28640
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
28641
|
+
/* harmony import */ var jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22002);
|
|
28642
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24014);
|
|
28643
|
+
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51431);
|
|
28644
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54306);
|
|
28645
|
+
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67141);
|
|
28646
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23793);
|
|
28647
|
+
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(42628);
|
|
28648
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40521);
|
|
28641
28649
|
/*!
|
|
28642
28650
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28643
28651
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28651,11 +28659,12 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
28651
28659
|
|
|
28652
28660
|
|
|
28653
28661
|
|
|
28662
|
+
|
|
28654
28663
|
/**
|
|
28655
28664
|
* The plugin inserts content generated by AI into the editor.
|
|
28656
28665
|
*/
|
|
28657
28666
|
var aiAssistant = /** @class */ (function (_super) {
|
|
28658
|
-
(0,
|
|
28667
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__extends */ .C6)(aiAssistant, _super);
|
|
28659
28668
|
function aiAssistant(jodit) {
|
|
28660
28669
|
var _this = _super.call(this, jodit) || this;
|
|
28661
28670
|
/** @override */
|
|
@@ -28669,32 +28678,43 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28669
28678
|
group: 'insert'
|
|
28670
28679
|
}
|
|
28671
28680
|
];
|
|
28672
|
-
(0,
|
|
28673
|
-
var dialog = jodit.dlg({
|
|
28674
|
-
buttons: ['fullsize', 'dialog.close'],
|
|
28675
|
-
closeOnClickOverlay: true,
|
|
28676
|
-
closeOnEsc: true,
|
|
28677
|
-
resizable: false,
|
|
28678
|
-
draggable: true,
|
|
28679
|
-
minHeight: 160
|
|
28680
|
-
});
|
|
28681
|
-
_this.__dialog = dialog;
|
|
28682
|
-
var container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
28683
|
-
onInsertAfter: function (html) {
|
|
28684
|
-
jodit.s.focus();
|
|
28685
|
-
jodit.s.setCursorAfter(jodit.s.current());
|
|
28686
|
-
jodit.s.insertHTML(html);
|
|
28687
|
-
dialog.close();
|
|
28688
|
-
},
|
|
28689
|
-
onInsert: function (html) {
|
|
28690
|
-
jodit.s.focus();
|
|
28691
|
-
jodit.s.insertHTML(html);
|
|
28692
|
-
dialog.close();
|
|
28693
|
-
}
|
|
28694
|
-
});
|
|
28695
|
-
_this.__container = container;
|
|
28681
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
28696
28682
|
return _this;
|
|
28697
28683
|
}
|
|
28684
|
+
Object.defineProperty(aiAssistant.prototype, "__dialog", {
|
|
28685
|
+
get: function () {
|
|
28686
|
+
return this.jodit.dlg({
|
|
28687
|
+
buttons: ['fullsize', 'dialog.close'],
|
|
28688
|
+
closeOnClickOverlay: true,
|
|
28689
|
+
closeOnEsc: true,
|
|
28690
|
+
resizable: false,
|
|
28691
|
+
draggable: true,
|
|
28692
|
+
minHeight: 160
|
|
28693
|
+
});
|
|
28694
|
+
},
|
|
28695
|
+
enumerable: false,
|
|
28696
|
+
configurable: true
|
|
28697
|
+
});
|
|
28698
|
+
Object.defineProperty(aiAssistant.prototype, "__container", {
|
|
28699
|
+
get: function () {
|
|
28700
|
+
var _a = this, jodit = _a.jodit, __dialog = _a.__dialog;
|
|
28701
|
+
return new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_5__/* .UiAiAssistant */ .b(jodit, {
|
|
28702
|
+
onInsertAfter: function (html) {
|
|
28703
|
+
jodit.s.focus();
|
|
28704
|
+
jodit.s.setCursorAfter(jodit.s.current());
|
|
28705
|
+
jodit.s.insertHTML(html);
|
|
28706
|
+
__dialog.close();
|
|
28707
|
+
},
|
|
28708
|
+
onInsert: function (html) {
|
|
28709
|
+
jodit.s.focus();
|
|
28710
|
+
jodit.s.insertHTML(html);
|
|
28711
|
+
__dialog.close();
|
|
28712
|
+
}
|
|
28713
|
+
});
|
|
28714
|
+
},
|
|
28715
|
+
enumerable: false,
|
|
28716
|
+
configurable: true
|
|
28717
|
+
});
|
|
28698
28718
|
/** @override */
|
|
28699
28719
|
aiAssistant.prototype.afterInit = function (jodit) { };
|
|
28700
28720
|
aiAssistant.prototype.onGenerateAiAssistantForm = function (prompt) {
|
|
@@ -28708,9 +28728,9 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28708
28728
|
var selectedText = jodit.s.html;
|
|
28709
28729
|
jodit.async
|
|
28710
28730
|
.promise(function (resolve, reject) {
|
|
28711
|
-
return (0,
|
|
28731
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__awaiter */ .sH)(_this, void 0, void 0, function () {
|
|
28712
28732
|
var result, error_1;
|
|
28713
|
-
return (0,
|
|
28733
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__generator */ .YH)(this, function (_a) {
|
|
28714
28734
|
switch (_a.label) {
|
|
28715
28735
|
case 0:
|
|
28716
28736
|
_a.trys.push([0, 2, , 3]);
|
|
@@ -28733,7 +28753,7 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28733
28753
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
28734
28754
|
})
|
|
28735
28755
|
.catch(function (error) {
|
|
28736
|
-
if ((0,
|
|
28756
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_8__/* .isAbortError */ .z)(error)) {
|
|
28737
28757
|
return;
|
|
28738
28758
|
}
|
|
28739
28759
|
jodit.message.error(error.message);
|
|
@@ -28742,19 +28762,26 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
28742
28762
|
};
|
|
28743
28763
|
/** @override */
|
|
28744
28764
|
aiAssistant.prototype.beforeDestruct = function (_) {
|
|
28745
|
-
|
|
28746
|
-
this.
|
|
28765
|
+
var _a, _b;
|
|
28766
|
+
(_a = (0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cached */ .PO)(this, '__container')) === null || _a === void 0 ? void 0 : _a.destruct();
|
|
28767
|
+
(_b = (0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cached */ .PO)(this, '__dialog')) === null || _b === void 0 ? void 0 : _b.destruct();
|
|
28747
28768
|
};
|
|
28748
|
-
(0,
|
|
28749
|
-
|
|
28769
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
28770
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cache */ .PP
|
|
28771
|
+
], aiAssistant.prototype, "__dialog", null);
|
|
28772
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
28773
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cache */ .PP
|
|
28774
|
+
], aiAssistant.prototype, "__container", null);
|
|
28775
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
28776
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
28750
28777
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
28751
|
-
(0,
|
|
28752
|
-
(0,
|
|
28778
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
28779
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':invokeAiAssistant')
|
|
28753
28780
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
28754
28781
|
return aiAssistant;
|
|
28755
|
-
}(
|
|
28782
|
+
}(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin */ .k));
|
|
28756
28783
|
|
|
28757
|
-
|
|
28784
|
+
jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
28758
28785
|
|
|
28759
28786
|
|
|
28760
28787
|
/***/ }),
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit-pro - PRO Version of Jodit Editor
|
|
10
10
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
11
|
-
* Version: v4.1.
|
|
11
|
+
* Version: v4.1.13
|
|
12
12
|
* Url: https://xdsoft.net/jodit/pro/
|
|
13
13
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
14
14
|
*/
|