jodit 4.1.10 → 4.1.12
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/CHANGELOG.md +31 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +117 -87
- 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 +3 -3
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +117 -87
- 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 +3 -3
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +116 -87
- 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 +3 -3
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +116 -87
- 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 +3 -3
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +120 -90
- package/es5/jodit.min.css +2 -2
- 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 +3 -3
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/decorators/watch/watch.d.ts +0 -1
- package/esm/core/decorators/watch/watch.js +0 -1
- package/esm/modules/file-browser/config.d.ts +1 -0
- package/esm/modules/file-browser/config.js +1 -0
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.js +10 -9
- package/esm/modules/file-browser/file-browser.d.ts +3 -0
- package/esm/modules/file-browser/file-browser.js +27 -1
- package/esm/plugins/ai-assistant/ai-assistant.js +1 -1
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +1 -1
- package/package.json +1 -1
- package/types/core/decorators/watch/watch.d.ts +0 -1
- package/types/modules/file-browser/config.d.ts +1 -0
- package/types/modules/file-browser/data-provider.d.ts +1 -1
- package/types/modules/file-browser/file-browser.d.ts +3 -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.12
|
|
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.12";
|
|
3102
3102
|
// prettier-ignore
|
|
3103
3103
|
var ES = "es5";
|
|
3104
3104
|
var IS_ES_MODERN = false;
|
|
@@ -3836,14 +3836,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3836
3836
|
/* harmony export */ component: function() { return /* reexport safe */ _component_component__WEBPACK_IMPORTED_MODULE_2__.s; },
|
|
3837
3837
|
/* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.s; },
|
|
3838
3838
|
/* harmony export */ derive: function() { return /* reexport safe */ _derive_derive__WEBPACK_IMPORTED_MODULE_4__.C; },
|
|
3839
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.
|
|
3839
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.N; },
|
|
3840
3840
|
/* harmony export */ hook: function() { return /* reexport safe */ _hook_hook__WEBPACK_IMPORTED_MODULE_5__.A; },
|
|
3841
3841
|
/* harmony export */ idle: function() { return /* reexport safe */ _idle_idle__WEBPACK_IMPORTED_MODULE_6__.N; },
|
|
3842
3842
|
/* harmony export */ nonenumerable: function() { return /* reexport safe */ _nonenumerable_nonenumerable__WEBPACK_IMPORTED_MODULE_7__.m; },
|
|
3843
3843
|
/* harmony export */ persistent: function() { return /* reexport safe */ _persistent_persistent__WEBPACK_IMPORTED_MODULE_8__.y; },
|
|
3844
3844
|
/* harmony export */ throttle: function() { return /* reexport safe */ _debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.n; },
|
|
3845
3845
|
/* harmony export */ wait: function() { return /* reexport safe */ _wait_wait__WEBPACK_IMPORTED_MODULE_9__.u; },
|
|
3846
|
-
/* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.
|
|
3846
|
+
/* harmony export */ watch: function() { return /* reexport safe */ _watch_watch__WEBPACK_IMPORTED_MODULE_10__.w; }
|
|
3847
3847
|
/* harmony export */ });
|
|
3848
3848
|
/* harmony import */ var _autobind_autobind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11961);
|
|
3849
3849
|
/* harmony import */ var _cache_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87875);
|
|
@@ -4011,8 +4011,8 @@ function wait(condition) {
|
|
|
4011
4011
|
|
|
4012
4012
|
"use strict";
|
|
4013
4013
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4014
|
-
/* harmony export */
|
|
4015
|
-
/* harmony export */
|
|
4014
|
+
/* harmony export */ N: function() { return /* binding */ getPropertyDescriptor; },
|
|
4015
|
+
/* harmony export */ w: function() { return /* binding */ watch; }
|
|
4016
4016
|
/* harmony export */ });
|
|
4017
4017
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
4018
4018
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
|
|
@@ -4135,7 +4135,6 @@ function watch(observeFields, opts) {
|
|
|
4135
4135
|
}
|
|
4136
4136
|
};
|
|
4137
4137
|
}
|
|
4138
|
-
/* harmony default export */ __webpack_exports__.Ay = (watch);
|
|
4139
4138
|
|
|
4140
4139
|
|
|
4141
4140
|
/***/ }),
|
|
@@ -5824,7 +5823,7 @@ function observable(obj) {
|
|
|
5824
5823
|
var key = _key;
|
|
5825
5824
|
var prefix = prefixes.concat(key).filter(function (a) { return a.length; });
|
|
5826
5825
|
store[key] = dict[key];
|
|
5827
|
-
var descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .
|
|
5826
|
+
var descriptor = (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .getPropertyDescriptor */ .N)(dict, key);
|
|
5828
5827
|
Object.defineProperty(dict, key, {
|
|
5829
5828
|
set: function (value) {
|
|
5830
5829
|
var oldValue = store[key];
|
|
@@ -17784,7 +17783,7 @@ var ViewWithToolbar = /** @class */ (function (_super) {
|
|
|
17784
17783
|
_super.prototype.destruct.call(this);
|
|
17785
17784
|
};
|
|
17786
17785
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
17787
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .
|
|
17786
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
17788
17787
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
17789
17788
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
17790
17789
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
|
|
@@ -20977,11 +20976,12 @@ var FileBrowserItem = /** @class */ (function () {
|
|
|
20977
20976
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
20978
20977
|
|
|
20979
20978
|
"use strict";
|
|
20980
|
-
/* harmony import */ var
|
|
20981
|
-
/* harmony import */ var
|
|
20982
|
-
/* harmony import */ var
|
|
20983
|
-
/* harmony import */ var
|
|
20984
|
-
/* harmony import */ var
|
|
20979
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
20980
|
+
/* harmony import */ var jodit_core_request_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27337);
|
|
20981
|
+
/* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9823);
|
|
20982
|
+
/* harmony import */ var jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(99898);
|
|
20983
|
+
/* harmony import */ var jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(47964);
|
|
20984
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20985
20985
|
/*!
|
|
20986
20986
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20987
20987
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20992,26 +20992,27 @@ var FileBrowserItem = /** @class */ (function () {
|
|
|
20992
20992
|
|
|
20993
20993
|
|
|
20994
20994
|
|
|
20995
|
-
|
|
20995
|
+
|
|
20996
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser = {
|
|
20996
20997
|
namespace: '',
|
|
20997
20998
|
cache: true,
|
|
20998
20999
|
extraButtons: [],
|
|
20999
21000
|
filter: function (item, search) {
|
|
21000
21001
|
search = search.toLowerCase();
|
|
21001
|
-
if ((0,
|
|
21002
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item)) {
|
|
21002
21003
|
return item.toLowerCase().indexOf(search) !== -1;
|
|
21003
21004
|
}
|
|
21004
|
-
if ((0,
|
|
21005
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.name)) {
|
|
21005
21006
|
return item.name.toLowerCase().indexOf(search) !== -1;
|
|
21006
21007
|
}
|
|
21007
|
-
if ((0,
|
|
21008
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(item.file)) {
|
|
21008
21009
|
return item.file.toLowerCase().indexOf(search) !== -1;
|
|
21009
21010
|
}
|
|
21010
21011
|
return true;
|
|
21011
21012
|
},
|
|
21012
21013
|
sortBy: 'changed-desc',
|
|
21013
21014
|
sort: function (a, b, sortBy) {
|
|
21014
|
-
var _a = (0,
|
|
21015
|
+
var _a = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__read */ .zs)(sortBy.toLowerCase().split('-'), 2), sortAttr = _a[0], arrow = _a[1], asc = arrow === 'asc';
|
|
21015
21016
|
var compareStr = function (f, s) {
|
|
21016
21017
|
if (f < s) {
|
|
21017
21018
|
return asc ? -1 : 1;
|
|
@@ -21021,14 +21022,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
21021
21022
|
}
|
|
21022
21023
|
return 0;
|
|
21023
21024
|
};
|
|
21024
|
-
if ((0,
|
|
21025
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a)) {
|
|
21025
21026
|
return compareStr(a.toLowerCase(), b.toLowerCase());
|
|
21026
21027
|
}
|
|
21027
21028
|
if (a[sortAttr] === undefined || sortAttr === 'name') {
|
|
21028
|
-
if ((0,
|
|
21029
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.name)) {
|
|
21029
21030
|
return compareStr(a.name.toLowerCase(), b.name.toLowerCase());
|
|
21030
21031
|
}
|
|
21031
|
-
if ((0,
|
|
21032
|
+
if ((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .Kg)(a.file)) {
|
|
21032
21033
|
return compareStr(a.file.toLowerCase(), b.file.toLowerCase());
|
|
21033
21034
|
}
|
|
21034
21035
|
return 0;
|
|
@@ -21039,7 +21040,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
21039
21040
|
return asc ? f - s : s - f;
|
|
21040
21041
|
}
|
|
21041
21042
|
case 'size': {
|
|
21042
|
-
var f = (0,
|
|
21043
|
+
var f = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_5__/* .humanSizeToBytes */ .z)(a.size), s = (0,jodit_core_helpers_utils_human_size_to_bytes__WEBPACK_IMPORTED_MODULE_5__/* .humanSizeToBytes */ .z)(b.size);
|
|
21043
21044
|
return asc ? f - s : s - f;
|
|
21044
21045
|
}
|
|
21045
21046
|
}
|
|
@@ -21100,7 +21101,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
21100
21101
|
return resp.success;
|
|
21101
21102
|
},
|
|
21102
21103
|
getMessage: function (resp) {
|
|
21103
|
-
return resp.data.messages !== undefined && (0,
|
|
21104
|
+
return resp.data.messages !== undefined && (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__/* .isArray */ .cy)(resp.data.messages)
|
|
21104
21105
|
? resp.data.messages.join(' ')
|
|
21105
21106
|
: '';
|
|
21106
21107
|
},
|
|
@@ -21126,7 +21127,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
21126
21127
|
: '', "</div>");
|
|
21127
21128
|
return "<a\n\t\t\tdata-jodit-file-browser-item=\"true\"\n\t\t\tdata-is-file=\"".concat(item.isImage ? 0 : 1, "\"\n\t\t\tdraggable=\"true\"\n\t\t\tclass=\"").concat(IC, "\"\n\t\t\thref=\"").concat(item.fileURL, "\"\n\t\t\tdata-source=\"").concat(source_name, "\"\n\t\t\tdata-path=\"").concat(item.path, "\"\n\t\t\tdata-name=\"").concat(name, "\"\n\t\t\ttitle=\"").concat(name, "\"\n\t\t\tdata-url=\"").concat(item.fileURL, "\">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file=\"").concat(item.isImage ? 0 : 1, "\"\n\t\t\t\t\tdata-src=\"").concat(item.fileURL, "\"\n\t\t\t\t\tsrc=\"").concat(item.imageURL, "\"\n\t\t\t\t\talt=\"").concat(name, "\"\n\t\t\t\t\tloading=\"lazy\"\n\t\t\t\t/>\n\t\t\t\t").concat(showName || showSize || showTime ? info : '', "\n\t\t\t</a>");
|
|
21128
21129
|
},
|
|
21129
|
-
ajax: (0,
|
|
21130
|
+
ajax: (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__assign */ .Cl)({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions), { url: '', data: {}, cache: true, contentType: 'application/x-www-form-urlencoded; charset=UTF-8', method: 'POST', processData: true, headers: {}, prepareData: function (data) {
|
|
21130
21131
|
return data;
|
|
21131
21132
|
}, process: function (resp) {
|
|
21132
21133
|
return resp;
|
|
@@ -21171,7 +21172,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.filebrowser
|
|
|
21171
21172
|
data: { action: 'permissions' }
|
|
21172
21173
|
}
|
|
21173
21174
|
};
|
|
21174
|
-
|
|
21175
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
|
|
21175
21176
|
upload: {
|
|
21176
21177
|
icon: 'plus',
|
|
21177
21178
|
isInput: true,
|
|
@@ -21179,7 +21180,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fil
|
|
|
21179
21180
|
return !browser.dataProvider.canI('FileUpload');
|
|
21180
21181
|
},
|
|
21181
21182
|
getContent: function (filebrowser) {
|
|
21182
|
-
var btn = new
|
|
21183
|
+
var btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
|
|
21183
21184
|
onlyImages: filebrowser.state.onlyImages
|
|
21184
21185
|
});
|
|
21185
21186
|
filebrowser.e.fire('bindUploader.filebrowser', btn.container);
|
|
@@ -21333,7 +21334,7 @@ var DataProvider = /** @class */ (function () {
|
|
|
21333
21334
|
this.parent = parent;
|
|
21334
21335
|
this.options = options;
|
|
21335
21336
|
this.__currentPermissions = null;
|
|
21336
|
-
this.
|
|
21337
|
+
this.__ajaxInstances = new Map();
|
|
21337
21338
|
this.progressHandler = function (ignore) { };
|
|
21338
21339
|
}
|
|
21339
21340
|
Object.defineProperty(DataProvider.prototype, "o", {
|
|
@@ -21348,11 +21349,11 @@ var DataProvider = /** @class */ (function () {
|
|
|
21348
21349
|
});
|
|
21349
21350
|
DataProvider.prototype.get = function (name) {
|
|
21350
21351
|
var _this = this;
|
|
21351
|
-
var
|
|
21352
|
-
if (
|
|
21353
|
-
var ajax_1 =
|
|
21352
|
+
var instances = this.__ajaxInstances;
|
|
21353
|
+
if (instances.has(name)) {
|
|
21354
|
+
var ajax_1 = instances.get(name);
|
|
21354
21355
|
ajax_1 === null || ajax_1 === void 0 ? void 0 : ajax_1.abort();
|
|
21355
|
-
|
|
21356
|
+
instances.delete(name);
|
|
21356
21357
|
}
|
|
21357
21358
|
var opts = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(this.options[name] !== undefined
|
|
21358
21359
|
? this.options[name]
|
|
@@ -21363,12 +21364,12 @@ var DataProvider = /** @class */ (function () {
|
|
|
21363
21364
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
21364
21365
|
}
|
|
21365
21366
|
var ajax = new jodit_core_request__WEBPACK_IMPORTED_MODULE_3__/* .Ajax */ .d(opts);
|
|
21366
|
-
|
|
21367
|
+
instances.set(name, ajax);
|
|
21367
21368
|
var promise = ajax.send();
|
|
21368
21369
|
promise
|
|
21369
21370
|
.finally(function () {
|
|
21370
21371
|
ajax.destruct();
|
|
21371
|
-
|
|
21372
|
+
instances.delete(name);
|
|
21372
21373
|
_this.progressHandler(100);
|
|
21373
21374
|
})
|
|
21374
21375
|
.catch(function () { return null; });
|
|
@@ -21405,6 +21406,7 @@ var DataProvider = /** @class */ (function () {
|
|
|
21405
21406
|
if (process) {
|
|
21406
21407
|
var respData = process.call(self, resp);
|
|
21407
21408
|
if (respData.data.permissions) {
|
|
21409
|
+
_this.parent.events.fire(_this, 'changePermissions', _this.__currentPermissions, respData.data.permissions);
|
|
21408
21410
|
_this.__currentPermissions = respData.data.permissions;
|
|
21409
21411
|
}
|
|
21410
21412
|
}
|
|
@@ -21718,8 +21720,8 @@ var DataProvider = /** @class */ (function () {
|
|
|
21718
21720
|
return this.options.isSuccess(resp);
|
|
21719
21721
|
};
|
|
21720
21722
|
DataProvider.prototype.destruct = function () {
|
|
21721
|
-
this.
|
|
21722
|
-
this.
|
|
21723
|
+
this.__ajaxInstances.forEach(function (a) { return a.destruct(); });
|
|
21724
|
+
this.__ajaxInstances.clear();
|
|
21723
21725
|
};
|
|
21724
21726
|
DataProvider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .Cg)([
|
|
21725
21727
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
@@ -21880,25 +21882,26 @@ function loadTree(fb) {
|
|
|
21880
21882
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21881
21883
|
/* harmony export */ V: function() { return /* binding */ FileBrowser; }
|
|
21882
21884
|
/* harmony export */ });
|
|
21883
|
-
/* harmony import */ var
|
|
21885
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(31635);
|
|
21884
21886
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
21885
21887
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
21886
21888
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22664);
|
|
21887
|
-
/* harmony import */ var
|
|
21888
|
-
/* harmony import */ var
|
|
21889
|
-
/* harmony import */ var
|
|
21890
|
-
/* harmony import */ var
|
|
21891
|
-
/* harmony import */ var
|
|
21892
|
-
/* harmony import */ var
|
|
21893
|
-
/* harmony import */ var
|
|
21894
|
-
/* harmony import */ var
|
|
21895
|
-
/* harmony import */ var
|
|
21896
|
-
/* harmony import */ var
|
|
21897
|
-
/* harmony import */ var
|
|
21898
|
-
/* harmony import */ var
|
|
21899
|
-
/* harmony import */ var
|
|
21900
|
-
/* harmony import */ var
|
|
21901
|
-
/* harmony import */ var
|
|
21889
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66927);
|
|
21890
|
+
/* harmony import */ var jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50025);
|
|
21891
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(65147);
|
|
21892
|
+
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
21893
|
+
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
21894
|
+
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
21895
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(70265);
|
|
21896
|
+
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(9979);
|
|
21897
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31859);
|
|
21898
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(62994);
|
|
21899
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(18043);
|
|
21900
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(80004);
|
|
21901
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(75889);
|
|
21902
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(83797);
|
|
21903
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(10274);
|
|
21904
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
21902
21905
|
/*!
|
|
21903
21906
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21904
21907
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21923,19 +21926,20 @@ function loadTree(fb) {
|
|
|
21923
21926
|
|
|
21924
21927
|
|
|
21925
21928
|
|
|
21929
|
+
|
|
21926
21930
|
|
|
21927
21931
|
|
|
21928
21932
|
var FileBrowser = /** @class */ (function (_super) {
|
|
21929
|
-
(0,
|
|
21933
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__extends */ .C6)(FileBrowser, _super);
|
|
21930
21934
|
function FileBrowser(options) {
|
|
21931
21935
|
var _this = _super.call(this, options) || this;
|
|
21932
21936
|
_this.browser = _this.c.div(_this.componentName);
|
|
21933
21937
|
_this.status_line = _this.c.div(_this.getFullElName('status'));
|
|
21934
|
-
_this.tree = new
|
|
21935
|
-
_this.files = new
|
|
21936
|
-
_this.state = (0,
|
|
21938
|
+
_this.tree = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserTree */ .V(_this);
|
|
21939
|
+
_this.files = new _ui__WEBPACK_IMPORTED_MODULE_16__/* .FileBrowserFiles */ .Q(_this);
|
|
21940
|
+
_this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
21937
21941
|
currentPath: '',
|
|
21938
|
-
currentSource:
|
|
21942
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_14__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
21939
21943
|
currentBaseUrl: '',
|
|
21940
21944
|
activeElements: [],
|
|
21941
21945
|
elements: [],
|
|
@@ -21946,7 +21950,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
21946
21950
|
onlyImages: false
|
|
21947
21951
|
});
|
|
21948
21952
|
_this.errorHandler = function (resp) {
|
|
21949
|
-
if ((0,
|
|
21953
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(resp)) {
|
|
21950
21954
|
return;
|
|
21951
21955
|
}
|
|
21952
21956
|
if (resp instanceof Error) {
|
|
@@ -21962,9 +21966,10 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
21962
21966
|
_this.close = function () {
|
|
21963
21967
|
_this._dialog.close();
|
|
21964
21968
|
};
|
|
21969
|
+
_this.__prevButtons = [];
|
|
21965
21970
|
_this.attachEvents(options);
|
|
21966
21971
|
var self = _this;
|
|
21967
|
-
self.options = (0,
|
|
21972
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.filebrowser);
|
|
21968
21973
|
self.browser.component = _this;
|
|
21969
21974
|
self.container = self.browser;
|
|
21970
21975
|
if (self.o.showFoldersPanel) {
|
|
@@ -21972,9 +21977,9 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
21972
21977
|
}
|
|
21973
21978
|
self.browser.appendChild(self.files.container);
|
|
21974
21979
|
self.browser.appendChild(self.status_line);
|
|
21975
|
-
|
|
21976
|
-
|
|
21977
|
-
|
|
21980
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_12__/* .selfListeners */ .c.call(self);
|
|
21981
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_11__/* .nativeListeners */ .nW.call(self);
|
|
21982
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_13__/* .stateListeners */ .r.call(self);
|
|
21978
21983
|
var keys = [
|
|
21979
21984
|
'getLocalFileByUrl',
|
|
21980
21985
|
'crop',
|
|
@@ -21992,7 +21997,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
21992
21997
|
];
|
|
21993
21998
|
keys.forEach(function (key) {
|
|
21994
21999
|
if (_this.options[key] != null) {
|
|
21995
|
-
_this.options[key] = (0,
|
|
22000
|
+
_this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(_this.options[key], _this.o.ajax);
|
|
21996
22001
|
}
|
|
21997
22002
|
});
|
|
21998
22003
|
var _a = _this.o
|
|
@@ -22034,7 +22039,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22034
22039
|
};
|
|
22035
22040
|
Object.defineProperty(FileBrowser.prototype, "dataProvider", {
|
|
22036
22041
|
get: function () {
|
|
22037
|
-
return (0,
|
|
22042
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_15__/* .makeDataProvider */ .S)(this, this.options);
|
|
22038
22043
|
},
|
|
22039
22044
|
enumerable: false,
|
|
22040
22045
|
configurable: true
|
|
@@ -22059,7 +22064,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22059
22064
|
files: files_1,
|
|
22060
22065
|
isImages: isImages_1
|
|
22061
22066
|
};
|
|
22062
|
-
if ((0,
|
|
22067
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(callback)) {
|
|
22063
22068
|
callback(data);
|
|
22064
22069
|
}
|
|
22065
22070
|
_this.close();
|
|
@@ -22090,7 +22095,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22090
22095
|
* Container for set/get value
|
|
22091
22096
|
*/
|
|
22092
22097
|
get: function () {
|
|
22093
|
-
return
|
|
22098
|
+
return jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__/* .Storage */ .wc.makeStorage(Boolean(this.o.saveStateInStorage), this.componentName);
|
|
22094
22099
|
},
|
|
22095
22100
|
enumerable: false,
|
|
22096
22101
|
configurable: true
|
|
@@ -22105,6 +22110,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22105
22110
|
/**
|
|
22106
22111
|
* It displays a message in the status bar of filebrowser
|
|
22107
22112
|
*
|
|
22113
|
+
* @param message - The message that will be displayed
|
|
22108
22114
|
* @param success - true It will be shown a message light . If no option is specified ,
|
|
22109
22115
|
* ßan error will be shown the red
|
|
22110
22116
|
* @example
|
|
@@ -22113,13 +22119,13 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22113
22119
|
* ```
|
|
22114
22120
|
*/
|
|
22115
22121
|
FileBrowser.prototype.status = function (message, success) {
|
|
22116
|
-
if (!message || (0,
|
|
22122
|
+
if (!message || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isAbortError)(message)) {
|
|
22117
22123
|
return;
|
|
22118
22124
|
}
|
|
22119
|
-
if (!(0,
|
|
22125
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message)) {
|
|
22120
22126
|
message = message.message;
|
|
22121
22127
|
}
|
|
22122
|
-
if (!(0,
|
|
22128
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(message) || !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.trim)(message).length) {
|
|
22123
22129
|
return;
|
|
22124
22130
|
}
|
|
22125
22131
|
this.message.message(message, success ? 'success' : 'error', this.o.howLongShowMsg);
|
|
@@ -22150,7 +22156,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22150
22156
|
.promise(function (resolve, reject) {
|
|
22151
22157
|
var _a;
|
|
22152
22158
|
if (!_this.o.items || !_this.o.items.url) {
|
|
22153
|
-
throw (0,
|
|
22159
|
+
throw (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.error)('Need set options.filebrowser.ajax.url');
|
|
22154
22160
|
}
|
|
22155
22161
|
var localTimeout = 0;
|
|
22156
22162
|
_this.e
|
|
@@ -22167,10 +22173,11 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22167
22173
|
.off('select.filebrowser')
|
|
22168
22174
|
.on('select.filebrowser', _this.onSelect(callback));
|
|
22169
22175
|
var header = _this.c.div();
|
|
22170
|
-
(_a = _this.toolbar) === null || _a === void 0 ? void 0 : _a.
|
|
22176
|
+
(_a = _this.toolbar) === null || _a === void 0 ? void 0 : _a.appendTo(header);
|
|
22177
|
+
_this.__updateToolbarButtons();
|
|
22171
22178
|
_this._dialog.open(_this.browser, header);
|
|
22172
22179
|
_this.e.fire('sort.filebrowser', _this.state.sortBy);
|
|
22173
|
-
(0,
|
|
22180
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_10__/* .loadTree */ .r)(_this).then(resolve, reject);
|
|
22174
22181
|
})
|
|
22175
22182
|
.catch(function (e) {
|
|
22176
22183
|
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD) {
|
|
@@ -22183,7 +22190,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22183
22190
|
var _a;
|
|
22184
22191
|
var options = ((_a = this.o.buttons) !== null && _a !== void 0 ? _a : []);
|
|
22185
22192
|
return options.filter(function (btn) {
|
|
22186
|
-
if (!(0,
|
|
22193
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.isString)(btn)) {
|
|
22187
22194
|
return true;
|
|
22188
22195
|
}
|
|
22189
22196
|
switch (btn) {
|
|
@@ -22201,8 +22208,8 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22201
22208
|
FileBrowser.prototype.initUploader = function (editor) {
|
|
22202
22209
|
var _this = this;
|
|
22203
22210
|
var _a;
|
|
22204
|
-
var self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,
|
|
22205
|
-
var uploadHandler = function () { return (0,
|
|
22211
|
+
var self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_17__/* .Config */ .T.defaultOptions.uploader);
|
|
22212
|
+
var uploadHandler = function () { return (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_19__/* .loadItems */ .f)(_this); };
|
|
22206
22213
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
22207
22214
|
self.uploader
|
|
22208
22215
|
.setPath(self.state.currentPath)
|
|
@@ -22226,27 +22233,50 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22226
22233
|
this.events && this.e.off('.filebrowser');
|
|
22227
22234
|
this.uploader && this.uploader.destruct();
|
|
22228
22235
|
};
|
|
22229
|
-
|
|
22236
|
+
FileBrowser.prototype.__updateToolbarButtons = function () {
|
|
22237
|
+
var _a;
|
|
22238
|
+
var buttons = this.__getButtons();
|
|
22239
|
+
if (isEqualButtonList(this.__prevButtons, buttons)) {
|
|
22240
|
+
return;
|
|
22241
|
+
}
|
|
22242
|
+
this.__prevButtons = buttons;
|
|
22243
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.build(buttons);
|
|
22244
|
+
};
|
|
22245
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22230
22246
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
22231
22247
|
], FileBrowser.prototype, "dataProvider", null);
|
|
22232
|
-
(0,
|
|
22248
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22233
22249
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
22234
22250
|
], FileBrowser.prototype, "_dialog", null);
|
|
22235
|
-
(0,
|
|
22251
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22236
22252
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
22237
22253
|
], FileBrowser.prototype, "storage", null);
|
|
22238
|
-
(0,
|
|
22254
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22239
22255
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
22240
22256
|
], FileBrowser.prototype, "status", null);
|
|
22241
|
-
(0,
|
|
22257
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22242
22258
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
22243
22259
|
], FileBrowser.prototype, "open", null);
|
|
22244
|
-
|
|
22245
|
-
(0,
|
|
22260
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22261
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__/* .watch */ .w)('dataProvider:changePermissions')
|
|
22262
|
+
], FileBrowser.prototype, "__updateToolbarButtons", null);
|
|
22263
|
+
FileBrowser = (0,tslib__WEBPACK_IMPORTED_MODULE_18__/* .__decorate */ .Cg)([
|
|
22264
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__/* .Dlgs */ .z)
|
|
22246
22265
|
], FileBrowser);
|
|
22247
22266
|
return FileBrowser;
|
|
22248
|
-
}(
|
|
22267
|
+
}(jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__/* .ViewWithToolbar */ .T));
|
|
22249
22268
|
|
|
22269
|
+
function isEqualButtonList(prevButtons, buttons) {
|
|
22270
|
+
if (prevButtons.length !== buttons.length) {
|
|
22271
|
+
return false;
|
|
22272
|
+
}
|
|
22273
|
+
for (var i = 0; i < prevButtons.length; i++) {
|
|
22274
|
+
if (prevButtons[i] !== buttons[i]) {
|
|
22275
|
+
return false;
|
|
22276
|
+
}
|
|
22277
|
+
}
|
|
22278
|
+
return true;
|
|
22279
|
+
}
|
|
22250
22280
|
|
|
22251
22281
|
|
|
22252
22282
|
/***/ }),
|
|
@@ -27624,10 +27654,10 @@ var aiAssistant = /** @class */ (function (_super) {
|
|
|
27624
27654
|
/** @override */
|
|
27625
27655
|
aiAssistant.prototype.beforeDestruct = function (_) { };
|
|
27626
27656
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
27627
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
27657
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':generateAiAssistantForm.ai-assistant')
|
|
27628
27658
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
27629
27659
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
27630
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
27660
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':invokeAiAssistant')
|
|
27631
27661
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
27632
27662
|
return aiAssistant;
|
|
27633
27663
|
}(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k));
|
|
@@ -27982,13 +28012,13 @@ var UiAiAssistant = /** @class */ (function (_super) {
|
|
|
27982
28012
|
this.__insertAfterButton.state.disabled = value;
|
|
27983
28013
|
};
|
|
27984
28014
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
27985
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
28015
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-response')
|
|
27986
28016
|
], UiAiAssistant.prototype, "onAiAssistentResponse", null);
|
|
27987
28017
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
27988
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
28018
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':ai-assistant-error')
|
|
27989
28019
|
], UiAiAssistant.prototype, "onAiAssistentError", null);
|
|
27990
28020
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
27991
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/*
|
|
28021
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)('promptInput:change')
|
|
27992
28022
|
], UiAiAssistant.prototype, "onChangePromptValue", null);
|
|
27993
28023
|
UiAiAssistant = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
27994
28024
|
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__/* .component */ .s
|
|
@@ -31702,10 +31732,10 @@ var dtd = /** @class */ (function (_super) {
|
|
|
31702
31732
|
});
|
|
31703
31733
|
};
|
|
31704
31734
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
31705
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
31735
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':beforeInsertNode')
|
|
31706
31736
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
31707
31737
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
31708
|
-
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .
|
|
31738
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':afterInsertNode')
|
|
31709
31739
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
31710
31740
|
return dtd;
|
|
31711
31741
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin */ .k));
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
11
|
-
* Version: v4.1.
|
|
11
|
+
* Version: v4.1.12
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|