jodit 4.1.12 → 4.1.16
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 +81 -61
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.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 +80 -60
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.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 +79 -60
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.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 +79 -60
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.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 +91 -63
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/decorators/cache/cache.d.ts +2 -1
- package/esm/core/decorators/cache/cache.js +7 -0
- package/esm/core/ui/button/tooltip/tooltip.js +2 -4
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -0
- package/esm/plugins/ai-assistant/ai-assistant.js +39 -28
- package/package.json +1 -1
- package/types/core/decorators/cache/cache.d.ts +2 -1
- package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -0
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.1.
|
|
4
|
+
* Version: v4.1.16
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -3098,7 +3098,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3098
3098
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3099
3099
|
*/
|
|
3100
3100
|
|
|
3101
|
-
var APP_VERSION = "4.1.
|
|
3101
|
+
var APP_VERSION = "4.1.16";
|
|
3102
3102
|
// prettier-ignore
|
|
3103
3103
|
var ES = "es5";
|
|
3104
3104
|
var IS_ES_MODERN = false;
|
|
@@ -3509,8 +3509,9 @@ var Create = /** @class */ (function () {
|
|
|
3509
3509
|
|
|
3510
3510
|
"use strict";
|
|
3511
3511
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3512
|
-
/* harmony export */
|
|
3513
|
-
/* harmony export */
|
|
3512
|
+
/* harmony export */ OK: function() { return /* binding */ cacheHTML; },
|
|
3513
|
+
/* harmony export */ PO: function() { return /* binding */ cached; },
|
|
3514
|
+
/* harmony export */ PP: function() { return /* binding */ cache; }
|
|
3514
3515
|
/* harmony export */ });
|
|
3515
3516
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
|
|
3516
3517
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55186);
|
|
@@ -3525,6 +3526,13 @@ var Create = /** @class */ (function () {
|
|
|
3525
3526
|
|
|
3526
3527
|
|
|
3527
3528
|
|
|
3529
|
+
function cached(object, property) {
|
|
3530
|
+
var descriptor = Object.getOwnPropertyDescriptor(object, property);
|
|
3531
|
+
if (!descriptor || (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_2__/* .isFunction */ .Tn)(descriptor.get)) {
|
|
3532
|
+
return null;
|
|
3533
|
+
}
|
|
3534
|
+
return descriptor.value;
|
|
3535
|
+
}
|
|
3528
3536
|
function cache(_, name, descriptor) {
|
|
3529
3537
|
var getter = descriptor.get;
|
|
3530
3538
|
if (!getter) {
|
|
@@ -3831,8 +3839,9 @@ function idle() {
|
|
|
3831
3839
|
__webpack_require__.r(__webpack_exports__);
|
|
3832
3840
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3833
3841
|
/* harmony export */ autobind: function() { return /* reexport safe */ _autobind_autobind__WEBPACK_IMPORTED_MODULE_0__.d; },
|
|
3834
|
-
/* harmony export */ cache: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.
|
|
3835
|
-
/* harmony export */ cacheHTML: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.
|
|
3842
|
+
/* harmony export */ cache: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.PP; },
|
|
3843
|
+
/* harmony export */ cacheHTML: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.OK; },
|
|
3844
|
+
/* harmony export */ cached: function() { return /* reexport safe */ _cache_cache__WEBPACK_IMPORTED_MODULE_1__.PO; },
|
|
3836
3845
|
/* harmony export */ component: function() { return /* reexport safe */ _component_component__WEBPACK_IMPORTED_MODULE_2__.s; },
|
|
3837
3846
|
/* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.s; },
|
|
3838
3847
|
/* harmony export */ derive: function() { return /* reexport safe */ _derive_derive__WEBPACK_IMPORTED_MODULE_4__.C; },
|
|
@@ -15194,7 +15203,8 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
15194
15203
|
view.o.showTooltip &&
|
|
15195
15204
|
!view.o.useNativeTooltip) {
|
|
15196
15205
|
view.hookStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.ready, function () {
|
|
15197
|
-
|
|
15206
|
+
// TODO Move it inside __open method. Now it is here becous testcase failed with capturing
|
|
15207
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(_this.j, UITooltip_1).appendChild(_this.container);
|
|
15198
15208
|
view.e.on(view.container, 'mouseenter.tooltip', _this.__onMouseEnter, {
|
|
15199
15209
|
capture: true
|
|
15200
15210
|
});
|
|
@@ -15332,9 +15342,6 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
15332
15342
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
15333
15343
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
15334
15344
|
], UITooltip.prototype, "__onMouseEnter", null);
|
|
15335
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
15336
|
-
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
15337
|
-
], UITooltip.prototype, "__delayOpen", null);
|
|
15338
15345
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
15339
15346
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
15340
15347
|
], UITooltip.prototype, "__hide", null);
|
|
@@ -18143,22 +18150,22 @@ var View = /** @class */ (function (_super) {
|
|
|
18143
18150
|
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.js
|
|
18144
18151
|
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.js
|
|
18145
18152
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18146
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
18153
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
18147
18154
|
], View.prototype, "buffer", null);
|
|
18148
18155
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18149
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
18156
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
18150
18157
|
], View.prototype, "message", null);
|
|
18151
18158
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18152
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
18159
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
18153
18160
|
], View.prototype, "storage", null);
|
|
18154
18161
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18155
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
18162
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
18156
18163
|
], View.prototype, "c", null);
|
|
18157
18164
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18158
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
18165
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
18159
18166
|
], View.prototype, "e", null);
|
|
18160
18167
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18161
|
-
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .
|
|
18168
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
18162
18169
|
], View.prototype, "progressbar", null);
|
|
18163
18170
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
18164
18171
|
(0,jodit_core_decorators_hook_hook__WEBPACK_IMPORTED_MODULE_6__/* .hook */ .A)(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_2__/* .STATUSES */ .f.beforeDestruct)
|
|
@@ -27541,14 +27548,15 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
27541
27548
|
|
|
27542
27549
|
"use strict";
|
|
27543
27550
|
/* unused harmony export aiAssistant */
|
|
27544
|
-
/* harmony import */ var
|
|
27545
|
-
/* harmony import */ var
|
|
27546
|
-
/* harmony import */ var
|
|
27547
|
-
/* harmony import */ var
|
|
27548
|
-
/* harmony import */ var
|
|
27549
|
-
/* harmony import */ var
|
|
27550
|
-
/* harmony import */ var
|
|
27551
|
-
/* harmony import */ var
|
|
27551
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
27552
|
+
/* harmony import */ var jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87875);
|
|
27553
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
|
|
27554
|
+
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(56298);
|
|
27555
|
+
/* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(99951);
|
|
27556
|
+
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29866);
|
|
27557
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66888);
|
|
27558
|
+
/* harmony import */ var _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20785);
|
|
27559
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81026);
|
|
27552
27560
|
/*!
|
|
27553
27561
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27554
27562
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27562,11 +27570,12 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_ent
|
|
|
27562
27570
|
|
|
27563
27571
|
|
|
27564
27572
|
|
|
27573
|
+
|
|
27565
27574
|
/**
|
|
27566
27575
|
* The plugin inserts content generated by AI into the editor.
|
|
27567
27576
|
*/
|
|
27568
27577
|
var aiAssistant = /** @class */ (function (_super) {
|
|
27569
|
-
(0,
|
|
27578
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__extends */ .C6)(aiAssistant, _super);
|
|
27570
27579
|
function aiAssistant(jodit) {
|
|
27571
27580
|
var _this = _super.call(this, jodit) || this;
|
|
27572
27581
|
/** @override */
|
|
@@ -27580,39 +27589,48 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
27580
27589
|
group: 'insert'
|
|
27581
27590
|
}
|
|
27582
27591
|
];
|
|
27583
|
-
(0,
|
|
27592
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
27584
27593
|
return _this;
|
|
27585
27594
|
}
|
|
27595
|
+
Object.defineProperty(aiAssistant.prototype, "__dialog", {
|
|
27596
|
+
get: function () {
|
|
27597
|
+
return this.jodit.dlg({
|
|
27598
|
+
buttons: ['fullsize', 'dialog.close'],
|
|
27599
|
+
closeOnClickOverlay: true,
|
|
27600
|
+
closeOnEsc: true,
|
|
27601
|
+
resizable: false,
|
|
27602
|
+
draggable: true,
|
|
27603
|
+
minHeight: 160
|
|
27604
|
+
});
|
|
27605
|
+
},
|
|
27606
|
+
enumerable: false,
|
|
27607
|
+
configurable: true
|
|
27608
|
+
});
|
|
27609
|
+
Object.defineProperty(aiAssistant.prototype, "__container", {
|
|
27610
|
+
get: function () {
|
|
27611
|
+
var _a = this, jodit = _a.jodit, __dialog = _a.__dialog;
|
|
27612
|
+
return new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_5__/* .UiAiAssistant */ .b(jodit, {
|
|
27613
|
+
onInsertAfter: function (html) {
|
|
27614
|
+
jodit.s.focus();
|
|
27615
|
+
jodit.s.setCursorAfter(jodit.s.current());
|
|
27616
|
+
jodit.s.insertHTML(html);
|
|
27617
|
+
__dialog.close();
|
|
27618
|
+
},
|
|
27619
|
+
onInsert: function (html) {
|
|
27620
|
+
jodit.s.focus();
|
|
27621
|
+
jodit.s.insertHTML(html);
|
|
27622
|
+
__dialog.close();
|
|
27623
|
+
}
|
|
27624
|
+
});
|
|
27625
|
+
},
|
|
27626
|
+
enumerable: false,
|
|
27627
|
+
configurable: true
|
|
27628
|
+
});
|
|
27586
27629
|
/** @override */
|
|
27587
27630
|
aiAssistant.prototype.afterInit = function (jodit) { };
|
|
27588
27631
|
aiAssistant.prototype.onGenerateAiAssistantForm = function (prompt) {
|
|
27589
|
-
|
|
27590
|
-
|
|
27591
|
-
buttons: ['fullsize', 'dialog.close'],
|
|
27592
|
-
closeOnClickOverlay: true,
|
|
27593
|
-
closeOnEsc: true,
|
|
27594
|
-
resizable: false,
|
|
27595
|
-
draggable: true
|
|
27596
|
-
// minWidth: 460,
|
|
27597
|
-
// maxWidth: 460
|
|
27598
|
-
});
|
|
27599
|
-
dialog.bindDestruct(jodit);
|
|
27600
|
-
var container = new _ui_ui_ai_assistant__WEBPACK_IMPORTED_MODULE_4__/* .UiAiAssistant */ .b(jodit, {
|
|
27601
|
-
onInsertAfter: function (html) {
|
|
27602
|
-
jodit.s.focus();
|
|
27603
|
-
jodit.s.setCursorAfter(jodit.s.current());
|
|
27604
|
-
jodit.s.insertHTML(html);
|
|
27605
|
-
dialog.close();
|
|
27606
|
-
},
|
|
27607
|
-
onInsert: function (html) {
|
|
27608
|
-
jodit.s.focus();
|
|
27609
|
-
jodit.s.insertHTML(html);
|
|
27610
|
-
dialog.close();
|
|
27611
|
-
}
|
|
27612
|
-
});
|
|
27613
|
-
container.bindDestruct(dialog);
|
|
27614
|
-
dialog.open(container, 'AI Assistant', true, false);
|
|
27615
|
-
container.setPrompt(prompt);
|
|
27632
|
+
this.__dialog.open(this.__container, 'AI Assistant');
|
|
27633
|
+
this.__container.setPrompt(prompt);
|
|
27616
27634
|
};
|
|
27617
27635
|
aiAssistant.prototype.onInvokeAiAssistant = function (prompt) {
|
|
27618
27636
|
var _this = this;
|
|
@@ -27620,9 +27638,9 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
27620
27638
|
jodit.s.focus();
|
|
27621
27639
|
var selectedText = jodit.s.html;
|
|
27622
27640
|
jodit.async
|
|
27623
|
-
.promise(function (resolve, reject) { return (0,
|
|
27641
|
+
.promise(function (resolve, reject) { return (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__awaiter */ .sH)(_this, void 0, void 0, function () {
|
|
27624
27642
|
var result, error_1;
|
|
27625
|
-
return (0,
|
|
27643
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__generator */ .YH)(this, function (_a) {
|
|
27626
27644
|
switch (_a.label) {
|
|
27627
27645
|
case 0:
|
|
27628
27646
|
_a.trys.push([0, 2, , 3]);
|
|
@@ -27644,7 +27662,7 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
27644
27662
|
jodit.e.fire('ai-assistant-response', htmlFragment);
|
|
27645
27663
|
})
|
|
27646
27664
|
.catch(function (error) {
|
|
27647
|
-
if ((0,
|
|
27665
|
+
if ((0,jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_8__/* .isAbortError */ .z)(error)) {
|
|
27648
27666
|
return;
|
|
27649
27667
|
}
|
|
27650
27668
|
jodit.message.error(error.message);
|
|
@@ -27652,17 +27670,27 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
27652
27670
|
});
|
|
27653
27671
|
};
|
|
27654
27672
|
/** @override */
|
|
27655
|
-
aiAssistant.prototype.beforeDestruct = function (_) {
|
|
27656
|
-
|
|
27657
|
-
(0,
|
|
27673
|
+
aiAssistant.prototype.beforeDestruct = function (_) {
|
|
27674
|
+
var _a, _b;
|
|
27675
|
+
(_a = (0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cached */ .PO)(this, '__container')) === null || _a === void 0 ? void 0 : _a.destruct();
|
|
27676
|
+
(_b = (0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cached */ .PO)(this, '__dialog')) === null || _b === void 0 ? void 0 : _b.destruct();
|
|
27677
|
+
};
|
|
27678
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
27679
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cache */ .PP
|
|
27680
|
+
], aiAssistant.prototype, "__dialog", null);
|
|
27681
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
27682
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_0__/* .cache */ .PP
|
|
27683
|
+
], aiAssistant.prototype, "__container", null);
|
|
27684
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
27685
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
27658
27686
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
27659
|
-
(0,
|
|
27660
|
-
(0,
|
|
27687
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
27688
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':invokeAiAssistant')
|
|
27661
27689
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
27662
27690
|
return aiAssistant;
|
|
27663
|
-
}(
|
|
27691
|
+
}(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin */ .k));
|
|
27664
27692
|
|
|
27665
|
-
|
|
27693
|
+
jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-assistant', aiAssistant);
|
|
27666
27694
|
|
|
27667
27695
|
|
|
27668
27696
|
/***/ }),
|