jodit 4.13.18 → 4.13.20
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 +18 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +5 -5
- package/es2015/jodit.js +205 -115
- package/es2015/jodit.min.js +9 -9
- package/es2015/plugins/debug/debug.css +1 -1
- 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.fat.min.js +9 -9
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +15 -15
- package/es2021/jodit.js +201 -111
- package/es2021/jodit.min.js +8 -8
- package/es2021/plugins/debug/debug.css +1 -1
- 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 +1 -1
- package/es2021.en/jodit.fat.min.js +8 -8
- package/es2021.en/jodit.js +201 -111
- package/es2021.en/jodit.min.js +8 -8
- package/es2021.en/plugins/debug/debug.css +1 -1
- 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 +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +501 -407
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- 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 +6 -6
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +13 -19
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/modules/toolbar/button/button.d.ts +1 -0
- package/esm/modules/toolbar/button/button.js +13 -0
- package/esm/plugins/search/ui/search.js +24 -4
- package/esm/plugins/table/config.js +79 -19
- package/package.json +1 -1
- package/types/modules/toolbar/button/button.d.ts +1 -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.13.
|
|
4
|
+
* Version: v4.13.20
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -2107,7 +2107,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2107
2107
|
* @packageDocumentation
|
|
2108
2108
|
* @module constants
|
|
2109
2109
|
*/
|
|
2110
|
-
var APP_VERSION = "4.13.
|
|
2110
|
+
var APP_VERSION = "4.13.20";
|
|
2111
2111
|
// prettier-ignore
|
|
2112
2112
|
var ES = "es5";
|
|
2113
2113
|
var IS_ES_MODERN = false;
|
|
@@ -3383,9 +3383,9 @@ function wait(condition) {
|
|
|
3383
3383
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73104);
|
|
3384
3384
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53429);
|
|
3385
3385
|
/* harmony import */ var _swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75980);
|
|
3386
|
-
/* harmony import */ var
|
|
3387
|
-
/* harmony import */ var
|
|
3388
|
-
/* harmony import */ var
|
|
3386
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3233);
|
|
3387
|
+
/* harmony import */ var _swc_helpers_ts_values__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
3388
|
+
/* harmony import */ var _swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77384);
|
|
3389
3389
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
3390
3390
|
/* harmony import */ var jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(88475);
|
|
3391
3391
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17312);
|
|
@@ -3720,7 +3720,7 @@ var TEMP_ELEMENT_REG_EXP = new RegExp("<([a-z]+)[^>]+".concat(jodit_core_constan
|
|
|
3720
3720
|
* Check the `node` is a block element
|
|
3721
3721
|
* @param node - Object to check
|
|
3722
3722
|
*/ function isBlock(node) {
|
|
3723
|
-
return !(0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_13__.isVoid)(node) && (typeof node === "undefined" ? "undefined" : (0,
|
|
3723
|
+
return !(0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_13__.isVoid)(node) && (typeof node === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_5__._)(node)) === 'object' && Dom.isNode(node) && jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.IS_BLOCK.test(node.nodeName);
|
|
3724
3724
|
}
|
|
3725
3725
|
},
|
|
3726
3726
|
{
|
|
@@ -3916,7 +3916,7 @@ var TEMP_ELEMENT_REG_EXP = new RegExp("<([a-z]+)[^>]+".concat(jodit_core_constan
|
|
|
3916
3916
|
*/ function nextGen(start, root) {
|
|
3917
3917
|
var leftToRight, withChild, stack, currentNode, next;
|
|
3918
3918
|
var _arguments = arguments;
|
|
3919
|
-
return (0,
|
|
3919
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_3__._)(this, function(_state) {
|
|
3920
3920
|
switch(_state.label){
|
|
3921
3921
|
case 0:
|
|
3922
3922
|
leftToRight = _arguments.length > 2 && _arguments[2] !== void 0 ? _arguments[2] : true, withChild = _arguments.length > 3 && _arguments[3] !== void 0 ? _arguments[3] : true;
|
|
@@ -3932,7 +3932,7 @@ var TEMP_ELEMENT_REG_EXP = new RegExp("<([a-z]+)[^>]+".concat(jodit_core_constan
|
|
|
3932
3932
|
stack.reverse();
|
|
3933
3933
|
return [
|
|
3934
3934
|
5,
|
|
3935
|
-
(0,
|
|
3935
|
+
(0,_swc_helpers_ts_values__WEBPACK_IMPORTED_MODULE_4__.__values)(this.runInStack(start, stack, leftToRight, withChild))
|
|
3936
3936
|
];
|
|
3937
3937
|
case 2:
|
|
3938
3938
|
_state.sent();
|
|
@@ -3995,7 +3995,7 @@ var TEMP_ELEMENT_REG_EXP = new RegExp("<([a-z]+)[^>]+".concat(jodit_core_constan
|
|
|
3995
3995
|
value: function runInStack(start, stack, leftToRight) {
|
|
3996
3996
|
var withChild, item, child;
|
|
3997
3997
|
var _arguments = arguments;
|
|
3998
|
-
return (0,
|
|
3998
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_3__._)(this, function(_state) {
|
|
3999
3999
|
switch(_state.label){
|
|
4000
4000
|
case 0:
|
|
4001
4001
|
withChild = _arguments.length > 3 && _arguments[3] !== void 0 ? _arguments[3] : true;
|
|
@@ -11214,10 +11214,10 @@ var Plugin = /*#__PURE__*/ function(ViewComponent) {
|
|
|
11214
11214
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
11215
11215
|
/* harmony import */ var _swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(75980);
|
|
11216
11216
|
/* harmony import */ var _swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41411);
|
|
11217
|
-
/* harmony import */ var
|
|
11218
|
-
/* harmony import */ var
|
|
11219
|
-
/* harmony import */ var
|
|
11220
|
-
/* harmony import */ var
|
|
11217
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
11218
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3233);
|
|
11219
|
+
/* harmony import */ var _swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77384);
|
|
11220
|
+
/* harmony import */ var _swc_helpers_wrap_async_generator__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(86367);
|
|
11221
11221
|
/* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(91231);
|
|
11222
11222
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(81937);
|
|
11223
11223
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(49574);
|
|
@@ -11283,7 +11283,7 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11283
11283
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.isFunction)(this.o.queryBuild)) {
|
|
11284
11284
|
return this.o.queryBuild.call(this, obj, prefix);
|
|
11285
11285
|
}
|
|
11286
|
-
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.isString)(obj) || (0,_swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_5__._)(obj, jodit_core_constants__WEBPACK_IMPORTED_MODULE_12__.globalWindow.FormData) || (typeof obj === "undefined" ? "undefined" : (0,
|
|
11286
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.isString)(obj) || (0,_swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_5__._)(obj, jodit_core_constants__WEBPACK_IMPORTED_MODULE_12__.globalWindow.FormData) || (typeof obj === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_9__._)(obj)) === 'object' && obj != null && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.isFunction)(obj.append)) {
|
|
11287
11287
|
return obj;
|
|
11288
11288
|
}
|
|
11289
11289
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.buildQuery)(obj);
|
|
@@ -11318,7 +11318,7 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11318
11318
|
return this.__async.promise(function(resolve, reject) {
|
|
11319
11319
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
11320
11320
|
var _this, _o_withCredentials, onReject, onResolve, url, data, method, headers;
|
|
11321
|
-
return (0,
|
|
11321
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
11322
11322
|
switch(_state.label){
|
|
11323
11323
|
case 0:
|
|
11324
11324
|
_this = this;
|
|
@@ -11400,9 +11400,9 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11400
11400
|
{
|
|
11401
11401
|
key: "stream",
|
|
11402
11402
|
value: function stream() {
|
|
11403
|
-
return (0,
|
|
11403
|
+
return (0,_swc_helpers_wrap_async_generator__WEBPACK_IMPORTED_MODULE_10__._)(function() {
|
|
11404
11404
|
var _this, _o_withCredentials, _this1, xhr, o, request, lastIndex, buffer, queue, waitResolve, done, streamError, notify, processChunk, url, data, method, headers;
|
|
11405
|
-
return (0,
|
|
11405
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
11406
11406
|
switch(_state.label){
|
|
11407
11407
|
case 0:
|
|
11408
11408
|
_this = this;
|
|
@@ -11647,7 +11647,7 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11647
11647
|
return Ajax;
|
|
11648
11648
|
}();
|
|
11649
11649
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__._)(Ajax, "log", []);
|
|
11650
|
-
(0,
|
|
11650
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
11651
11651
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_13__.autobind
|
|
11652
11652
|
], Ajax.prototype, "destruct", null);
|
|
11653
11653
|
|
|
@@ -11980,9 +11980,9 @@ function findCorrectCurrentNode(node, range, rightMode, isCollapsed, checkChild,
|
|
|
11980
11980
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25045);
|
|
11981
11981
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50684);
|
|
11982
11982
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42395);
|
|
11983
|
-
/* harmony import */ var
|
|
11984
|
-
/* harmony import */ var
|
|
11985
|
-
/* harmony import */ var
|
|
11983
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
11984
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3233);
|
|
11985
|
+
/* harmony import */ var _swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(77384);
|
|
11986
11986
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
11987
11987
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
11988
11988
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
@@ -12638,7 +12638,7 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
12638
12638
|
}
|
|
12639
12639
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_11__.attr)(image, 'width', dw);
|
|
12640
12640
|
}
|
|
12641
|
-
if (styles && (typeof styles === "undefined" ? "undefined" : (0,
|
|
12641
|
+
if (styles && (typeof styles === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_7__._)(styles)) === 'object') {
|
|
12642
12642
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_11__.css)(image, styles);
|
|
12643
12643
|
}
|
|
12644
12644
|
var onload = function onload1() {
|
|
@@ -13138,7 +13138,7 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
13138
13138
|
* Wrap all selected fragments inside Tag or apply some callback
|
|
13139
13139
|
*/ function wrapInTagGen(fakes) {
|
|
13140
13140
|
var font, elms, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, font1, firstChild, lastChild, err;
|
|
13141
|
-
return (0,
|
|
13141
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_6__._)(this, function(_state) {
|
|
13142
13142
|
switch(_state.label){
|
|
13143
13143
|
case 0:
|
|
13144
13144
|
if (!this.isCollapsed()) return [
|
|
@@ -13461,19 +13461,19 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
13461
13461
|
]);
|
|
13462
13462
|
return Selection;
|
|
13463
13463
|
}();
|
|
13464
|
-
(0,
|
|
13464
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13465
13465
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13466
13466
|
], Selection.prototype, "createRange", null);
|
|
13467
|
-
(0,
|
|
13467
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13468
13468
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13469
13469
|
], Selection.prototype, "focus", null);
|
|
13470
|
-
(0,
|
|
13470
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13471
13471
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13472
13472
|
], Selection.prototype, "setCursorAfter", null);
|
|
13473
|
-
(0,
|
|
13473
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13474
13474
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13475
13475
|
], Selection.prototype, "setCursorBefore", null);
|
|
13476
|
-
(0,
|
|
13476
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13477
13477
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13478
13478
|
], Selection.prototype, "setCursorIn", null);
|
|
13479
13479
|
|
|
@@ -15241,8 +15241,8 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15241
15241
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
15242
15242
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
15243
15243
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50684);
|
|
15244
|
-
/* harmony import */ var
|
|
15245
|
-
/* harmony import */ var
|
|
15244
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3233);
|
|
15245
|
+
/* harmony import */ var _swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77384);
|
|
15246
15246
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
15247
15247
|
/*!
|
|
15248
15248
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -15309,7 +15309,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15309
15309
|
*/ function performTransaction(mode, callback) {
|
|
15310
15310
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15311
15311
|
var db, transaction, store, request, error;
|
|
15312
|
-
return (0,
|
|
15312
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15313
15313
|
switch(_state.label){
|
|
15314
15314
|
case 0:
|
|
15315
15315
|
_state.trys.push([
|
|
@@ -15360,7 +15360,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15360
15360
|
value: function set(key, value) {
|
|
15361
15361
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15362
15362
|
var e;
|
|
15363
|
-
return (0,
|
|
15363
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15364
15364
|
switch(_state.label){
|
|
15365
15365
|
case 0:
|
|
15366
15366
|
_state.trys.push([
|
|
@@ -15405,7 +15405,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15405
15405
|
value: function _delete(key) {
|
|
15406
15406
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15407
15407
|
var unused;
|
|
15408
|
-
return (0,
|
|
15408
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15409
15409
|
switch(_state.label){
|
|
15410
15410
|
case 0:
|
|
15411
15411
|
_state.trys.push([
|
|
@@ -15447,7 +15447,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15447
15447
|
value: function get(key) {
|
|
15448
15448
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15449
15449
|
var unused;
|
|
15450
|
-
return (0,
|
|
15450
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15451
15451
|
switch(_state.label){
|
|
15452
15452
|
case 0:
|
|
15453
15453
|
_state.trys.push([
|
|
@@ -15487,7 +15487,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15487
15487
|
value: function exists(key) {
|
|
15488
15488
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15489
15489
|
var result, unused;
|
|
15490
|
-
return (0,
|
|
15490
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15491
15491
|
switch(_state.label){
|
|
15492
15492
|
case 0:
|
|
15493
15493
|
_state.trys.push([
|
|
@@ -15528,7 +15528,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15528
15528
|
value: function clear() {
|
|
15529
15529
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15530
15530
|
var unused;
|
|
15531
|
-
return (0,
|
|
15531
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15532
15532
|
switch(_state.label){
|
|
15533
15533
|
case 0:
|
|
15534
15534
|
_state.trys.push([
|
|
@@ -15572,7 +15572,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15572
15572
|
*/ function close() {
|
|
15573
15573
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15574
15574
|
var db, unused;
|
|
15575
|
-
return (0,
|
|
15575
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15576
15576
|
switch(_state.label){
|
|
15577
15577
|
case 0:
|
|
15578
15578
|
if (!this.dbPromise) return [
|
|
@@ -15623,7 +15623,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15623
15623
|
*/ function keys() {
|
|
15624
15624
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15625
15625
|
var result, unused;
|
|
15626
|
-
return (0,
|
|
15626
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15627
15627
|
switch(_state.label){
|
|
15628
15628
|
case 0:
|
|
15629
15629
|
_state.trys.push([
|
|
@@ -15640,7 +15640,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15640
15640
|
];
|
|
15641
15641
|
case 1:
|
|
15642
15642
|
result = _state.sent();
|
|
15643
|
-
if (!(result && (typeof result === "undefined" ? "undefined" : (0,
|
|
15643
|
+
if (!(result && (typeof result === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_6__._)(result)) === 'object' && 'then' in result)) return [
|
|
15644
15644
|
3,
|
|
15645
15645
|
3
|
|
15646
15646
|
];
|
|
@@ -15680,7 +15680,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15680
15680
|
*/ function values() {
|
|
15681
15681
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15682
15682
|
var result, unused;
|
|
15683
|
-
return (0,
|
|
15683
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15684
15684
|
switch(_state.label){
|
|
15685
15685
|
case 0:
|
|
15686
15686
|
_state.trys.push([
|
|
@@ -15697,7 +15697,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15697
15697
|
];
|
|
15698
15698
|
case 1:
|
|
15699
15699
|
result = _state.sent();
|
|
15700
|
-
if (!(result && (typeof result === "undefined" ? "undefined" : (0,
|
|
15700
|
+
if (!(result && (typeof result === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_6__._)(result)) === 'object' && 'then' in result)) return [
|
|
15701
15701
|
3,
|
|
15702
15702
|
3
|
|
15703
15703
|
];
|
|
@@ -15735,7 +15735,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15735
15735
|
*/ function entries() {
|
|
15736
15736
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15737
15737
|
var _ref, keys, values, unused;
|
|
15738
|
-
return (0,
|
|
15738
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15739
15739
|
switch(_state.label){
|
|
15740
15740
|
case 0:
|
|
15741
15741
|
_state.trys.push([
|
|
@@ -15792,7 +15792,7 @@ function clearUseIndexedDBCache() {
|
|
|
15792
15792
|
*/ function canUseIndexedDB() {
|
|
15793
15793
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15794
15794
|
var tmpKey, request, unused;
|
|
15795
|
-
return (0,
|
|
15795
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15796
15796
|
switch(_state.label){
|
|
15797
15797
|
case 0:
|
|
15798
15798
|
if (cachedResult != null) {
|
|
@@ -17238,8 +17238,8 @@ UITooltip = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)
|
|
|
17238
17238
|
/* harmony import */ var _swc_helpers_get__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22248);
|
|
17239
17239
|
/* harmony import */ var _swc_helpers_get_prototype_of__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66773);
|
|
17240
17240
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34918);
|
|
17241
|
-
/* harmony import */ var
|
|
17242
|
-
/* harmony import */ var
|
|
17241
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
17242
|
+
/* harmony import */ var _swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(77384);
|
|
17243
17243
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(16964);
|
|
17244
17244
|
/* harmony import */ var jodit_core_decorators_derive_derive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(24968);
|
|
17245
17245
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(23211);
|
|
@@ -17344,7 +17344,7 @@ var UIElement = /*#__PURE__*/ function(ViewComponent) {
|
|
|
17344
17344
|
* Find match parent
|
|
17345
17345
|
*/ key: "closest",
|
|
17346
17346
|
value: function closest(type) {
|
|
17347
|
-
var c = (typeof type === "undefined" ? "undefined" : (0,
|
|
17347
|
+
var c = (typeof type === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_8__._)(type)) === 'object' ? function(pe) {
|
|
17348
17348
|
return pe === type;
|
|
17349
17349
|
} : function(pe) {
|
|
17350
17350
|
return jodit_core_component__WEBPACK_IMPORTED_MODULE_9__.Component.isInstanceOf(pe, type);
|
|
@@ -17448,7 +17448,7 @@ var UIElement = /*#__PURE__*/ function(ViewComponent) {
|
|
|
17448
17448
|
]);
|
|
17449
17449
|
return UIElement;
|
|
17450
17450
|
}(jodit_core_component__WEBPACK_IMPORTED_MODULE_9__.ViewComponent);
|
|
17451
|
-
UIElement = (0,
|
|
17451
|
+
UIElement = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
17452
17452
|
(0,jodit_core_decorators_derive_derive__WEBPACK_IMPORTED_MODULE_10__.derive)(jodit_core_traits_mods__WEBPACK_IMPORTED_MODULE_15__.Mods, jodit_core_traits_elms__WEBPACK_IMPORTED_MODULE_14__.Elms)
|
|
17453
17453
|
], UIElement);
|
|
17454
17454
|
|
|
@@ -28699,30 +28699,31 @@ var instance = function instance(j) {
|
|
|
28699
28699
|
/* harmony import */ var _swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41411);
|
|
28700
28700
|
/* harmony import */ var _swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(15366);
|
|
28701
28701
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(42395);
|
|
28702
|
-
/* harmony import */ var
|
|
28703
|
-
/* harmony import */ var
|
|
28702
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
|
|
28703
|
+
/* harmony import */ var _swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(77384);
|
|
28704
28704
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(69364);
|
|
28705
|
-
/* harmony import */ var
|
|
28706
|
-
/* harmony import */ var
|
|
28707
|
-
/* harmony import */ var
|
|
28708
|
-
/* harmony import */ var
|
|
28709
|
-
/* harmony import */ var
|
|
28710
|
-
/* harmony import */ var
|
|
28711
|
-
/* harmony import */ var
|
|
28712
|
-
/* harmony import */ var
|
|
28713
|
-
/* harmony import */ var
|
|
28714
|
-
/* harmony import */ var
|
|
28715
|
-
/* harmony import */ var
|
|
28716
|
-
/* harmony import */ var
|
|
28717
|
-
/* harmony import */ var
|
|
28718
|
-
/* harmony import */ var
|
|
28719
|
-
/* harmony import */ var
|
|
28720
|
-
/* harmony import */ var
|
|
28721
|
-
/* harmony import */ var
|
|
28722
|
-
/* harmony import */ var
|
|
28723
|
-
/* harmony import */ var
|
|
28724
|
-
/* harmony import */ var
|
|
28725
|
-
/* harmony import */ var
|
|
28705
|
+
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(81937);
|
|
28706
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(49574);
|
|
28707
|
+
/* harmony import */ var jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(51676);
|
|
28708
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(91672);
|
|
28709
|
+
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(68616);
|
|
28710
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(23211);
|
|
28711
|
+
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(17312);
|
|
28712
|
+
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(91565);
|
|
28713
|
+
/* harmony import */ var jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(24497);
|
|
28714
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(62101);
|
|
28715
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(85932);
|
|
28716
|
+
/* harmony import */ var jodit_core_helpers_size__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86878);
|
|
28717
|
+
/* harmony import */ var jodit_core_helpers_string_camel_case__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(57821);
|
|
28718
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(28712);
|
|
28719
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26__);
|
|
28720
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(7909);
|
|
28721
|
+
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(71125);
|
|
28722
|
+
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(59400);
|
|
28723
|
+
/* harmony import */ var jodit_core_ui_helpers_get_control_type__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(15982);
|
|
28724
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(29434);
|
|
28725
|
+
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(51116);
|
|
28726
|
+
/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(4274);
|
|
28726
28727
|
/*!
|
|
28727
28728
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28728
28729
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28763,6 +28764,7 @@ var instance = function instance(j) {
|
|
|
28763
28764
|
|
|
28764
28765
|
|
|
28765
28766
|
|
|
28767
|
+
|
|
28766
28768
|
|
|
28767
28769
|
|
|
28768
28770
|
var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
@@ -28774,20 +28776,20 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28774
28776
|
var _this;
|
|
28775
28777
|
_this = (0,_swc_helpers_call_super__WEBPACK_IMPORTED_MODULE_0__._)(this, ToolbarButton, [
|
|
28776
28778
|
jodit
|
|
28777
|
-
]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "control", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "target", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "state", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "trigger", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "openedPopup", void 0), _this.control = control, _this.target = target, _this.state = (0,_swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_8__._)((0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__._)({}, (0,
|
|
28779
|
+
]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "control", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "target", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "state", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "trigger", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "openedPopup", void 0), _this.control = control, _this.target = target, _this.state = (0,_swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_8__._)((0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__._)({}, (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_29__.UIButtonState)()), {
|
|
28778
28780
|
theme: 'toolbar',
|
|
28779
28781
|
currentValue: '',
|
|
28780
28782
|
hasTrigger: false
|
|
28781
28783
|
}), _this.openedPopup = null;
|
|
28782
28784
|
var button = _this.getElm('button');
|
|
28783
|
-
(0,
|
|
28785
|
+
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26__.assert)(button, 'Element button should exists');
|
|
28784
28786
|
_this.button = button;
|
|
28785
28787
|
Object.defineProperty(button, 'component', {
|
|
28786
28788
|
value: _this,
|
|
28787
28789
|
configurable: true
|
|
28788
28790
|
});
|
|
28789
28791
|
var trigger = _this.getElm('trigger');
|
|
28790
|
-
(0,
|
|
28792
|
+
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26__.assert)(trigger, 'Element trigger should exists');
|
|
28791
28793
|
_this.trigger = trigger;
|
|
28792
28794
|
trigger.remove();
|
|
28793
28795
|
// Prevent lost focus
|
|
@@ -28828,7 +28830,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28828
28830
|
(0,_swc_helpers_get__WEBPACK_IMPORTED_MODULE_4__._)((0,_swc_helpers_get_prototype_of__WEBPACK_IMPORTED_MODULE_5__._)(ToolbarButton.prototype), "updateAriaLabel", this).call(this);
|
|
28829
28831
|
if (this.trigger) {
|
|
28830
28832
|
var i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
28831
|
-
(0,
|
|
28833
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
28832
28834
|
}
|
|
28833
28835
|
}
|
|
28834
28836
|
},
|
|
@@ -28837,7 +28839,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28837
28839
|
get: /**
|
|
28838
28840
|
* Get parent toolbar
|
|
28839
28841
|
*/ function get() {
|
|
28840
|
-
var ToolbarCollection = (0,
|
|
28842
|
+
var ToolbarCollection = (0,jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_16__.getComponentClass)('ToolbarCollection');
|
|
28841
28843
|
return this.closest(ToolbarCollection);
|
|
28842
28844
|
}
|
|
28843
28845
|
},
|
|
@@ -28865,7 +28867,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28865
28867
|
* Calculates whether the button is active
|
|
28866
28868
|
*/ function __calculateActivatedStatus(tc) {
|
|
28867
28869
|
var _this_control_isActive, _this_control;
|
|
28868
|
-
if ((0,
|
|
28870
|
+
if ((0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_21__.isJoditObject)(this.j) && !this.j.editorIsActive) {
|
|
28869
28871
|
return false;
|
|
28870
28872
|
}
|
|
28871
28873
|
if ((_this_control_isActive = (_this_control = this.control).isActive) === null || _this_control_isActive === void 0 ? void 0 : _this_control_isActive.call(_this_control, this.j, this)) {
|
|
@@ -28895,14 +28897,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28895
28897
|
{
|
|
28896
28898
|
key: "onChangeActivated",
|
|
28897
28899
|
value: function onChangeActivated() {
|
|
28898
|
-
(0,
|
|
28900
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
28899
28901
|
(0,_swc_helpers_get__WEBPACK_IMPORTED_MODULE_4__._)((0,_swc_helpers_get_prototype_of__WEBPACK_IMPORTED_MODULE_5__._)(ToolbarButton.prototype), "onChangeActivated", this).call(this);
|
|
28900
28902
|
}
|
|
28901
28903
|
},
|
|
28902
28904
|
{
|
|
28903
28905
|
key: "onChangeText",
|
|
28904
28906
|
value: function onChangeText() {
|
|
28905
|
-
if ((0,
|
|
28907
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(this.control.template)) {
|
|
28906
28908
|
this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
|
|
28907
28909
|
} else {
|
|
28908
28910
|
(0,_swc_helpers_get__WEBPACK_IMPORTED_MODULE_4__._)((0,_swc_helpers_get_prototype_of__WEBPACK_IMPORTED_MODULE_5__._)(ToolbarButton.prototype), "onChangeText", this).call(this);
|
|
@@ -28913,7 +28915,8 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28913
28915
|
{
|
|
28914
28916
|
key: "onChangeTabIndex",
|
|
28915
28917
|
value: function onChangeTabIndex() {
|
|
28916
|
-
(0,
|
|
28918
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
28919
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'tabindex', this.state.tabIndex);
|
|
28917
28920
|
}
|
|
28918
28921
|
},
|
|
28919
28922
|
{
|
|
@@ -28929,7 +28932,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28929
28932
|
configurable: true
|
|
28930
28933
|
});
|
|
28931
28934
|
container.appendChild(button);
|
|
28932
|
-
var trigger = this.j.c.fromHTML('<span role="button" aria-haspopup="true" aria-expanded="false" class="'.concat(cn, '__trigger">').concat(
|
|
28935
|
+
var trigger = this.j.c.fromHTML('<span role="button" aria-haspopup="true" aria-expanded="false" class="'.concat(cn, '__trigger">').concat(jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_31__.Icon.get('chevron'), "</span>"));
|
|
28933
28936
|
// For caching
|
|
28934
28937
|
button.appendChild(trigger);
|
|
28935
28938
|
return container;
|
|
@@ -28948,7 +28951,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28948
28951
|
if (this.state.hasTrigger) {
|
|
28949
28952
|
this.container.appendChild(this.trigger);
|
|
28950
28953
|
} else {
|
|
28951
|
-
|
|
28954
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_18__.Dom.safeRemove(this.trigger);
|
|
28952
28955
|
}
|
|
28953
28956
|
this.setMod('with-trigger', this.state.hasTrigger || null);
|
|
28954
28957
|
}
|
|
@@ -28957,9 +28960,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28957
28960
|
key: "onChangeDisabled",
|
|
28958
28961
|
value: /** @override */ function onChangeDisabled() {
|
|
28959
28962
|
var disabled = this.state.disabled ? 'disabled' : null;
|
|
28960
|
-
(0,
|
|
28961
|
-
(0,
|
|
28962
|
-
(0,
|
|
28963
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'disabled', disabled);
|
|
28964
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.button, 'disabled', disabled);
|
|
28965
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.container, 'disabled', disabled);
|
|
28963
28966
|
}
|
|
28964
28967
|
},
|
|
28965
28968
|
{
|
|
@@ -28972,7 +28975,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28972
28975
|
state.name = ctr.name;
|
|
28973
28976
|
this.__initIconFromControl();
|
|
28974
28977
|
if (ctr.tooltip) {
|
|
28975
|
-
state.tooltip = (0,
|
|
28978
|
+
state.tooltip = (0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
|
|
28976
28979
|
}
|
|
28977
28980
|
state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
|
|
28978
28981
|
}
|
|
@@ -28982,12 +28985,12 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28982
28985
|
value: function __initIconFromControl() {
|
|
28983
28986
|
var _this = this, ctr = _this.control, state = _this.state;
|
|
28984
28987
|
var textIcons = this.j.o.textIcons;
|
|
28985
|
-
if (textIcons === true || (0,
|
|
28986
|
-
state.icon = (0,
|
|
28988
|
+
if (textIcons === true || (0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
|
|
28989
|
+
state.icon = (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_29__.UIButtonState)().icon;
|
|
28987
28990
|
state.text = ctr.text || ctr.name;
|
|
28988
28991
|
return;
|
|
28989
28992
|
}
|
|
28990
|
-
if (!(0,
|
|
28993
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(ctr.icon) && ctr.icon != null) {
|
|
28991
28994
|
state.icon = {
|
|
28992
28995
|
name: ctr.icon.name || ctr.name,
|
|
28993
28996
|
iconURL: ctr.icon.iconURL || '',
|
|
@@ -29001,7 +29004,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29001
29004
|
} else {
|
|
29002
29005
|
var _this_j_o_extraIcons;
|
|
29003
29006
|
var name = ctr.icon || ctr.name;
|
|
29004
|
-
state.icon.name =
|
|
29007
|
+
state.icon.name = jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_31__.Icon.exists(name) || ((_this_j_o_extraIcons = this.j.o.extraIcons) === null || _this_j_o_extraIcons === void 0 ? void 0 : _this_j_o_extraIcons[name]) ? name : '';
|
|
29005
29008
|
}
|
|
29006
29009
|
if (!ctr.iconURL && !state.icon.name) {
|
|
29007
29010
|
state.text = ctr.text || ctr.name;
|
|
@@ -29019,25 +29022,25 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29019
29022
|
return;
|
|
29020
29023
|
}
|
|
29021
29024
|
var _this1 = this, ctr = _this1.control;
|
|
29022
|
-
(0,
|
|
29025
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'aria-expanded', true);
|
|
29023
29026
|
e.buffer = {
|
|
29024
29027
|
actionTrigger: this
|
|
29025
29028
|
};
|
|
29026
29029
|
if (ctr.list) {
|
|
29027
29030
|
return this.__openControlList(ctr);
|
|
29028
29031
|
}
|
|
29029
|
-
if ((0,
|
|
29032
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.popup)) {
|
|
29030
29033
|
var popup = this.openPopup();
|
|
29031
29034
|
popup.parentElement = this;
|
|
29032
29035
|
try {
|
|
29033
|
-
if (this.j.e.fire((0,
|
|
29036
|
+
if (this.j.e.fire((0,jodit_core_helpers_string_camel_case__WEBPACK_IMPORTED_MODULE_25__.camelCase)("before-".concat(ctr.name, "-open-popup")), this.target, ctr, popup) !== false) {
|
|
29034
29037
|
var _ref, _ref1;
|
|
29035
29038
|
var _this_toolbar;
|
|
29036
29039
|
var target = (_ref = (_ref1 = (_this_toolbar = this.toolbar) === null || _this_toolbar === void 0 ? void 0 : _this_toolbar.getTarget(this)) !== null && _ref1 !== void 0 ? _ref1 : this.target) !== null && _ref !== void 0 ? _ref : null;
|
|
29037
29040
|
var elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
29038
29041
|
if (elm) {
|
|
29039
|
-
popup.setContent((0,
|
|
29040
|
-
return (0,
|
|
29042
|
+
popup.setContent((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(elm) ? this.j.c.fromHTML(elm) : elm).open(function() {
|
|
29043
|
+
return (0,jodit_core_helpers_size__WEBPACK_IMPORTED_MODULE_24__.position)(_this.container);
|
|
29041
29044
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
29042
29045
|
} else {
|
|
29043
29046
|
this.__closePopup();
|
|
@@ -29051,8 +29054,22 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29051
29054
|
* Fired after the popup was opened for some control button
|
|
29052
29055
|
*/ /**
|
|
29053
29056
|
* Close all opened popups
|
|
29054
|
-
*/ this.j.e.fire((0,
|
|
29057
|
+
*/ this.j.e.fire((0,jodit_core_helpers_string_camel_case__WEBPACK_IMPORTED_MODULE_25__.camelCase)("after-".concat(ctr.name, "-open-popup")), popup.container);
|
|
29058
|
+
}
|
|
29059
|
+
}
|
|
29060
|
+
},
|
|
29061
|
+
{
|
|
29062
|
+
key: "onTriggerKeyDown",
|
|
29063
|
+
value: function onTriggerKeyDown(e) {
|
|
29064
|
+
if (this.state.disabled || ![
|
|
29065
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_ENTER,
|
|
29066
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_SPACE,
|
|
29067
|
+
' '
|
|
29068
|
+
].includes(e.key)) {
|
|
29069
|
+
return;
|
|
29055
29070
|
}
|
|
29071
|
+
e.preventDefault();
|
|
29072
|
+
this.trigger.click();
|
|
29056
29073
|
}
|
|
29057
29074
|
},
|
|
29058
29075
|
{
|
|
@@ -29063,27 +29080,27 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29063
29080
|
var _this = this;
|
|
29064
29081
|
var _this_jodit_options_controls;
|
|
29065
29082
|
var controls = (_this_jodit_options_controls = this.jodit.options.controls) !== null && _this_jodit_options_controls !== void 0 ? _this_jodit_options_controls : {}, getControl = function getControl(key) {
|
|
29066
|
-
return (0,
|
|
29083
|
+
return (0,jodit_core_ui_helpers_get_control_type__WEBPACK_IMPORTED_MODULE_30__.findControlType)(key, controls);
|
|
29067
29084
|
};
|
|
29068
29085
|
var list = control.list;
|
|
29069
29086
|
var menu = this.openPopup();
|
|
29070
|
-
var toolbar = (0,
|
|
29087
|
+
var toolbar = (0,_factory__WEBPACK_IMPORTED_MODULE_33__.makeCollection)(this.j);
|
|
29071
29088
|
menu.parentElement = this;
|
|
29072
29089
|
toolbar.parentElement = menu;
|
|
29073
29090
|
toolbar.mode = 'vertical';
|
|
29074
29091
|
var isListItem = function isListItem(key) {
|
|
29075
|
-
return (0,
|
|
29092
|
+
return (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_22__.isPlainObject)(key) && 'title' in key && 'value' in key;
|
|
29076
29093
|
};
|
|
29077
29094
|
var getButton = function getButton(key, value) {
|
|
29078
|
-
if ((0,
|
|
29095
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(value) && getControl(value)) {
|
|
29079
29096
|
return (0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__._)({
|
|
29080
29097
|
name: value.toString()
|
|
29081
29098
|
}, getControl(value));
|
|
29082
29099
|
}
|
|
29083
|
-
if ((0,
|
|
29100
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(key) && getControl(key)) {
|
|
29084
29101
|
return (0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__._)({
|
|
29085
29102
|
name: key.toString()
|
|
29086
|
-
}, getControl(key), (typeof value === "undefined" ? "undefined" : (0,
|
|
29103
|
+
}, getControl(key), (typeof value === "undefined" ? "undefined" : (0,_swc_helpers_type_of__WEBPACK_IMPORTED_MODULE_11__._)(value)) === 'object' ? value : {});
|
|
29087
29104
|
}
|
|
29088
29105
|
if (isListItem(key)) {
|
|
29089
29106
|
value = key.value;
|
|
@@ -29112,16 +29129,16 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29112
29129
|
value
|
|
29113
29130
|
])
|
|
29114
29131
|
};
|
|
29115
|
-
if ((0,
|
|
29132
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(value)) {
|
|
29116
29133
|
childControl.text = value;
|
|
29117
29134
|
}
|
|
29118
29135
|
return childControl;
|
|
29119
29136
|
};
|
|
29120
|
-
toolbar.build((0,
|
|
29137
|
+
toolbar.build((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_19__.isArray)(list) ? list.map(getButton) : (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_28__.keys)(list, false).map(function(key) {
|
|
29121
29138
|
return getButton(key, list[key]);
|
|
29122
29139
|
}), this.target);
|
|
29123
29140
|
menu.setContent(toolbar).open(function() {
|
|
29124
|
-
return (0,
|
|
29141
|
+
return (0,jodit_core_helpers_size__WEBPACK_IMPORTED_MODULE_24__.position)(_this.container);
|
|
29125
29142
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
29126
29143
|
this.state.activated = true;
|
|
29127
29144
|
}
|
|
@@ -29132,7 +29149,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29132
29149
|
if (!this.openedPopup) {
|
|
29133
29150
|
return;
|
|
29134
29151
|
}
|
|
29135
|
-
if (!e || !
|
|
29152
|
+
if (!e || !jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_18__.Dom.isNode(e.target) || !jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_18__.Dom.isOrContains(this.container, e.target) && !this.openedPopup.isOwnClick(e)) {
|
|
29136
29153
|
this.__closePopup();
|
|
29137
29154
|
}
|
|
29138
29155
|
}
|
|
@@ -29141,7 +29158,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29141
29158
|
key: "openPopup",
|
|
29142
29159
|
value: function openPopup() {
|
|
29143
29160
|
this.__closePopup();
|
|
29144
|
-
this.openedPopup = new
|
|
29161
|
+
this.openedPopup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_32__.Popup(this.j, false);
|
|
29145
29162
|
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick);
|
|
29146
29163
|
return this.openedPopup;
|
|
29147
29164
|
}
|
|
@@ -29156,7 +29173,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29156
29173
|
this.openedPopup.destruct();
|
|
29157
29174
|
this.openedPopup = null;
|
|
29158
29175
|
if (this.trigger) {
|
|
29159
|
-
(0,
|
|
29176
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'aria-expanded', false);
|
|
29160
29177
|
}
|
|
29161
29178
|
}
|
|
29162
29179
|
}
|
|
@@ -29167,7 +29184,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29167
29184
|
* Click handler
|
|
29168
29185
|
*/ function onClick(originalEvent) {
|
|
29169
29186
|
var _this = this, ctr = _this.control;
|
|
29170
|
-
if ((0,
|
|
29187
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.exec)) {
|
|
29171
29188
|
var _ref, _ref1;
|
|
29172
29189
|
var _this_toolbar;
|
|
29173
29190
|
var target = (_ref = (_ref1 = (_this_toolbar = this.toolbar) === null || _this_toolbar === void 0 ? void 0 : _this_toolbar.getTarget(this)) !== null && _ref1 !== void 0 ? _ref1 : this.target) !== null && _ref !== void 0 ? _ref : null;
|
|
@@ -29194,11 +29211,11 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29194
29211
|
if (ctr.list) {
|
|
29195
29212
|
return this.__openControlList(ctr);
|
|
29196
29213
|
}
|
|
29197
|
-
if ((0,
|
|
29214
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.popup)) {
|
|
29198
29215
|
return this.onTriggerClick(originalEvent);
|
|
29199
29216
|
}
|
|
29200
29217
|
if (ctr.command || ctr.name) {
|
|
29201
|
-
(0,
|
|
29218
|
+
(0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_28__.call)((0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_21__.isJoditObject)(this.j) ? this.j.execCommand.bind(this.j) : this.j.od.execCommand.bind(this.j.od), ctr.command || ctr.name, false, ctr.args && ctr.args[0]);
|
|
29202
29219
|
this.j.e.fire('closeAllPopups');
|
|
29203
29220
|
}
|
|
29204
29221
|
}
|
|
@@ -29212,26 +29229,29 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29212
29229
|
}
|
|
29213
29230
|
]);
|
|
29214
29231
|
return ToolbarButton;
|
|
29215
|
-
}(
|
|
29216
|
-
(0,
|
|
29217
|
-
|
|
29232
|
+
}(jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_29__.UIButton);
|
|
29233
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29234
|
+
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_15__.cacheHTML
|
|
29218
29235
|
], ToolbarButton.prototype, "createContainer", null);
|
|
29219
|
-
(0,
|
|
29220
|
-
(0,
|
|
29236
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29237
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_17__.watch)('state.hasTrigger', {
|
|
29221
29238
|
immediately: false
|
|
29222
29239
|
})
|
|
29223
29240
|
], ToolbarButton.prototype, "onChangeHasTrigger", null);
|
|
29224
|
-
(0,
|
|
29225
|
-
(0,
|
|
29241
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29242
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_17__.watch)('trigger:click')
|
|
29226
29243
|
], ToolbarButton.prototype, "onTriggerClick", null);
|
|
29227
|
-
(0,
|
|
29228
|
-
|
|
29244
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29245
|
+
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_17__.watch)('trigger:keydown')
|
|
29246
|
+
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
29247
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29248
|
+
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_14__.autobind
|
|
29229
29249
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
29230
|
-
(0,
|
|
29231
|
-
|
|
29250
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29251
|
+
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_14__.autobind
|
|
29232
29252
|
], ToolbarButton.prototype, "__closePopup", null);
|
|
29233
|
-
ToolbarButton = (0,
|
|
29234
|
-
|
|
29253
|
+
ToolbarButton = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29254
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_16__.component
|
|
29235
29255
|
], ToolbarButton);
|
|
29236
29256
|
|
|
29237
29257
|
|
|
@@ -31180,8 +31200,8 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__.Icon.set('about', (_about_svg__W
|
|
|
31180
31200
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
31181
31201
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
31182
31202
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
31183
|
-
/* harmony import */ var
|
|
31184
|
-
/* harmony import */ var
|
|
31203
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
31204
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
31185
31205
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
31186
31206
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
31187
31207
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(65946);
|
|
@@ -31402,17 +31422,17 @@ var ns = 'addnewline';
|
|
|
31402
31422
|
}
|
|
31403
31423
|
]);
|
|
31404
31424
|
return addNewLine;
|
|
31405
|
-
}((0,
|
|
31406
|
-
(0,
|
|
31425
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_modules__WEBPACK_IMPORTED_MODULE_10__.Plugin));
|
|
31426
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31407
31427
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':lock')
|
|
31408
31428
|
], addNewLine.prototype, "onLock", null);
|
|
31409
|
-
(0,
|
|
31429
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31410
31430
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
31411
31431
|
], addNewLine.prototype, "__hide", null);
|
|
31412
|
-
(0,
|
|
31432
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31413
31433
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':dblclick')
|
|
31414
31434
|
], addNewLine.prototype, "onDblClickEditor", null);
|
|
31415
|
-
(0,
|
|
31435
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31416
31436
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.throttle)(function(ctx) {
|
|
31417
31437
|
return ctx.defaultTimeout;
|
|
31418
31438
|
})
|
|
@@ -31466,9 +31486,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
31466
31486
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53429);
|
|
31467
31487
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
31468
31488
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34918);
|
|
31469
|
-
/* harmony import */ var
|
|
31470
|
-
/* harmony import */ var
|
|
31471
|
-
/* harmony import */ var
|
|
31489
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
31490
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3233);
|
|
31491
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(38574);
|
|
31472
31492
|
/* harmony import */ var jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(51676);
|
|
31473
31493
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(68616);
|
|
31474
31494
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(28077);
|
|
@@ -31587,7 +31607,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
31587
31607
|
jodit.async.promise(function(resolve, reject) {
|
|
31588
31608
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
31589
31609
|
var result, error;
|
|
31590
|
-
return (0,
|
|
31610
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_7__._)(this, function(_state) {
|
|
31591
31611
|
switch(_state.label){
|
|
31592
31612
|
case 0:
|
|
31593
31613
|
_state.trys.push([
|
|
@@ -31642,17 +31662,17 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
31642
31662
|
}
|
|
31643
31663
|
]);
|
|
31644
31664
|
return aiAssistant;
|
|
31645
|
-
}((0,
|
|
31646
|
-
(0,
|
|
31665
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_8__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_13__.Plugin));
|
|
31666
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31647
31667
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
31648
31668
|
], aiAssistant.prototype, "__dialog", null);
|
|
31649
|
-
(0,
|
|
31669
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31650
31670
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
31651
31671
|
], aiAssistant.prototype, "__container", null);
|
|
31652
|
-
(0,
|
|
31672
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31653
31673
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_10__.watch)(':generateAiAssistantForm.ai-assistant')
|
|
31654
31674
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
31655
|
-
(0,
|
|
31675
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31656
31676
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_10__.watch)(':invokeAiAssistant')
|
|
31657
31677
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
31658
31678
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('ai-assistant', aiAssistant);
|
|
@@ -33419,8 +33439,8 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_10__.Icon.set('class-span', (_class_
|
|
|
33419
33439
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
33420
33440
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
33421
33441
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50684);
|
|
33422
|
-
/* harmony import */ var
|
|
33423
|
-
/* harmony import */ var
|
|
33442
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
33443
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38574);
|
|
33424
33444
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
33425
33445
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
33426
33446
|
/* harmony import */ var jodit_core_dom_lazy_walker__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1080);
|
|
@@ -33578,8 +33598,8 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_10__.Icon.set('class-span', (_class_
|
|
|
33578
33598
|
}
|
|
33579
33599
|
]);
|
|
33580
33600
|
return cleanHtml;
|
|
33581
|
-
}((0,
|
|
33582
|
-
(0,
|
|
33601
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_13__.Plugin));
|
|
33602
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33583
33603
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
33584
33604
|
':change',
|
|
33585
33605
|
':afterSetMode',
|
|
@@ -33588,19 +33608,19 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_10__.Icon.set('class-span', (_class_
|
|
|
33588
33608
|
':keydown'
|
|
33589
33609
|
])
|
|
33590
33610
|
], cleanHtml.prototype, "onChangeCleanHTML", null);
|
|
33591
|
-
(0,
|
|
33611
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33592
33612
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.hook)('ready')
|
|
33593
33613
|
], cleanHtml.prototype, "startWalker", null);
|
|
33594
|
-
(0,
|
|
33614
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33595
33615
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeCommand')
|
|
33596
33616
|
], cleanHtml.prototype, "beforeCommand", null);
|
|
33597
|
-
(0,
|
|
33617
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33598
33618
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeSetNativeEditorValue')
|
|
33599
33619
|
], cleanHtml.prototype, "onBeforeSetNativeEditorValue", null);
|
|
33600
|
-
(0,
|
|
33620
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33601
33621
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':afterGetValueFromEditor')
|
|
33602
33622
|
], cleanHtml.prototype, "onAfterGetValueFromEditor", null);
|
|
33603
|
-
(0,
|
|
33623
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33604
33624
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':safeHTML')
|
|
33605
33625
|
], cleanHtml.prototype, "onSafeHTML", null);
|
|
33606
33626
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('cleanHtml', cleanHtml);
|
|
@@ -35753,8 +35773,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.draggableTags = [
|
|
|
35753
35773
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
35754
35774
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
35755
35775
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
35756
|
-
/* harmony import */ var
|
|
35757
|
-
/* harmony import */ var
|
|
35776
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
35777
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
35758
35778
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
35759
35779
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
35760
35780
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -36011,22 +36031,22 @@ var DragState = /*#__PURE__*/ function(DragState) {
|
|
|
36011
36031
|
}
|
|
36012
36032
|
]);
|
|
36013
36033
|
return dragAndDropElement;
|
|
36014
|
-
}((0,
|
|
36015
|
-
(0,
|
|
36034
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
36035
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36016
36036
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36017
36037
|
], dragAndDropElement.prototype, "onStartDragElement", null);
|
|
36018
|
-
(0,
|
|
36038
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36019
36039
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36020
36040
|
], dragAndDropElement.prototype, "onDragStart", null);
|
|
36021
|
-
(0,
|
|
36041
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36022
36042
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.throttle)(function(ctx) {
|
|
36023
36043
|
return ctx.defaultTimeout / 10;
|
|
36024
36044
|
})
|
|
36025
36045
|
], dragAndDropElement.prototype, "onDrag", null);
|
|
36026
|
-
(0,
|
|
36046
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36027
36047
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36028
36048
|
], dragAndDropElement.prototype, "onDragEnd", null);
|
|
36029
|
-
(0,
|
|
36049
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36030
36050
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36031
36051
|
], dragAndDropElement.prototype, "onDrop", null);
|
|
36032
36052
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('dragAndDropElement', dragAndDropElement);
|
|
@@ -36045,8 +36065,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('dragAndDropElem
|
|
|
36045
36065
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
36046
36066
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
36047
36067
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50684);
|
|
36048
|
-
/* harmony import */ var
|
|
36049
|
-
/* harmony import */ var
|
|
36068
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
36069
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38574);
|
|
36050
36070
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
36051
36071
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
36052
36072
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
@@ -36251,19 +36271,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('dragAndDropElem
|
|
|
36251
36271
|
}
|
|
36252
36272
|
]);
|
|
36253
36273
|
return dragAndDrop;
|
|
36254
|
-
}((0,
|
|
36255
|
-
(0,
|
|
36274
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_13__.Plugin));
|
|
36275
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36256
36276
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
36257
36277
|
], dragAndDrop.prototype, "onDragStart", null);
|
|
36258
|
-
(0,
|
|
36278
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36259
36279
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.throttle)(function(ctx) {
|
|
36260
36280
|
return ctx.defaultTimeout / 10;
|
|
36261
36281
|
})
|
|
36262
36282
|
], dragAndDrop.prototype, "onDrag", null);
|
|
36263
|
-
(0,
|
|
36283
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36264
36284
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
36265
36285
|
], dragAndDrop.prototype, "onDragEnd", null);
|
|
36266
|
-
(0,
|
|
36286
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36267
36287
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
36268
36288
|
], dragAndDrop.prototype, "onDrop", null);
|
|
36269
36289
|
/**
|
|
@@ -36475,8 +36495,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.dtd = {
|
|
|
36475
36495
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
36476
36496
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
36477
36497
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
36478
|
-
/* harmony import */ var
|
|
36479
|
-
/* harmony import */ var
|
|
36498
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
36499
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38574);
|
|
36480
36500
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(68616);
|
|
36481
36501
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28077);
|
|
36482
36502
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(91206);
|
|
@@ -36541,11 +36561,11 @@ var dtd = /*#__PURE__*/ function(Plugin) {
|
|
|
36541
36561
|
}
|
|
36542
36562
|
]);
|
|
36543
36563
|
return dtd;
|
|
36544
|
-
}((0,
|
|
36545
|
-
(0,
|
|
36564
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_8__.Plugin));
|
|
36565
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
36546
36566
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__.watch)(':beforeInsertNode')
|
|
36547
36567
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
36548
|
-
(0,
|
|
36568
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
36549
36569
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__.watch)(':afterInsertNode')
|
|
36550
36570
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
36551
36571
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_7__.pluginSystem.add('dtd', dtd);
|
|
@@ -36562,8 +36582,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_7__.pluginSystem.add('dtd', dtd);
|
|
|
36562
36582
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
36563
36583
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
36564
36584
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
36565
|
-
/* harmony import */ var
|
|
36566
|
-
/* harmony import */ var
|
|
36585
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
36586
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38574);
|
|
36567
36587
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
36568
36588
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
36569
36589
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23211);
|
|
@@ -36699,8 +36719,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_7__.pluginSystem.add('dtd', dtd);
|
|
|
36699
36719
|
}
|
|
36700
36720
|
]);
|
|
36701
36721
|
return enter;
|
|
36702
|
-
}((0,
|
|
36703
|
-
(0,
|
|
36722
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
36723
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
36704
36724
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':keydown.enter')
|
|
36705
36725
|
], enter.prototype, "onEnterKeyDown", null);
|
|
36706
36726
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('enter', enter);
|
|
@@ -38312,9 +38332,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.imageProcessor = {
|
|
|
38312
38332
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73104);
|
|
38313
38333
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53429);
|
|
38314
38334
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
38315
|
-
/* harmony import */ var
|
|
38316
|
-
/* harmony import */ var
|
|
38317
|
-
/* harmony import */ var
|
|
38335
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
38336
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3233);
|
|
38337
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38574);
|
|
38318
38338
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
38319
38339
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
38320
38340
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(28077);
|
|
@@ -38438,7 +38458,7 @@ var JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
|
|
|
38438
38458
|
value: function afterChange(data) {
|
|
38439
38459
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
38440
38460
|
var _this, editor;
|
|
38441
|
-
return (0,
|
|
38461
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_6__._)(this, function(_state) {
|
|
38442
38462
|
_this = this, editor = _this.jodit;
|
|
38443
38463
|
if (!editor.editor) {
|
|
38444
38464
|
return [
|
|
@@ -38472,14 +38492,14 @@ var JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
|
|
|
38472
38492
|
}
|
|
38473
38493
|
]);
|
|
38474
38494
|
return imageProcessor;
|
|
38475
|
-
}((0,
|
|
38476
|
-
(0,
|
|
38495
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
38496
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
38477
38497
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':afterGetValueFromEditor')
|
|
38478
38498
|
], imageProcessor.prototype, "onAfterGetValueFromEditor", null);
|
|
38479
|
-
(0,
|
|
38499
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
38480
38500
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':beforeSetElementValue')
|
|
38481
38501
|
], imageProcessor.prototype, "onBeforeSetElementValue", null);
|
|
38482
|
-
(0,
|
|
38502
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
38483
38503
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)([
|
|
38484
38504
|
':change',
|
|
38485
38505
|
':afterInit',
|
|
@@ -38575,9 +38595,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
38575
38595
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53429);
|
|
38576
38596
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
38577
38597
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34918);
|
|
38578
|
-
/* harmony import */ var
|
|
38579
|
-
/* harmony import */ var
|
|
38580
|
-
/* harmony import */ var
|
|
38598
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
38599
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3233);
|
|
38600
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(38574);
|
|
38581
38601
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
38582
38602
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
38583
38603
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(28077);
|
|
@@ -38835,7 +38855,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
38835
38855
|
value: function onStateValuesImageSrcChange() {
|
|
38836
38856
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
38837
38857
|
var _this_state, image, values, e, w, e1;
|
|
38838
|
-
return (0,
|
|
38858
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_7__._)(this, function(_state) {
|
|
38839
38859
|
switch(_state.label){
|
|
38840
38860
|
case 0:
|
|
38841
38861
|
_this_state = this.state, image = _this_state.image, values = _this_state.values;
|
|
@@ -38924,17 +38944,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
38924
38944
|
}
|
|
38925
38945
|
]);
|
|
38926
38946
|
return imageProperties;
|
|
38927
|
-
}((0,
|
|
38928
|
-
(0,
|
|
38947
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_8__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_13__.Plugin));
|
|
38948
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38929
38949
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
38930
38950
|
], imageProperties.prototype, "form", null);
|
|
38931
|
-
(0,
|
|
38951
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38932
38952
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
38933
38953
|
], imageProperties.prototype, "dialog", null);
|
|
38934
|
-
(0,
|
|
38954
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38935
38955
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
38936
38956
|
], imageProperties.prototype, "__buttons", null);
|
|
38937
|
-
(0,
|
|
38957
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38938
38958
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)('state.image')
|
|
38939
38959
|
], imageProperties.prototype, "onStateValuesImageSrcChange", null);
|
|
38940
38960
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('imageProperties', imageProperties);
|
|
@@ -41264,8 +41284,8 @@ var align = {
|
|
|
41264
41284
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
41265
41285
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
41266
41286
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
41267
|
-
/* harmony import */ var
|
|
41268
|
-
/* harmony import */ var
|
|
41287
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
41288
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
41269
41289
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
41270
41290
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
41271
41291
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -41614,25 +41634,25 @@ var align = {
|
|
|
41614
41634
|
}
|
|
41615
41635
|
]);
|
|
41616
41636
|
return inlinePopup;
|
|
41617
|
-
}((0,
|
|
41637
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
41618
41638
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(inlinePopup, "requires", [
|
|
41619
41639
|
'select'
|
|
41620
41640
|
]);
|
|
41621
|
-
(0,
|
|
41641
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41622
41642
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.cache
|
|
41623
41643
|
], inlinePopup.prototype, "popup", null);
|
|
41624
|
-
(0,
|
|
41644
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41625
41645
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.cache
|
|
41626
41646
|
], inlinePopup.prototype, "toolbar", null);
|
|
41627
|
-
(0,
|
|
41647
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41628
41648
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41629
41649
|
], inlinePopup.prototype, "onClick", null);
|
|
41630
|
-
(0,
|
|
41650
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41631
41651
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.wait)(function(ctx) {
|
|
41632
41652
|
return !ctx.j.isLocked;
|
|
41633
41653
|
})
|
|
41634
41654
|
], inlinePopup.prototype, "showPopup", null);
|
|
41635
|
-
(0,
|
|
41655
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41636
41656
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)([
|
|
41637
41657
|
':clickEditor',
|
|
41638
41658
|
':beforeCommandDelete',
|
|
@@ -41640,27 +41660,27 @@ var align = {
|
|
|
41640
41660
|
]),
|
|
41641
41661
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41642
41662
|
], inlinePopup.prototype, "hidePopup", null);
|
|
41643
|
-
(0,
|
|
41663
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41644
41664
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':outsideClick')
|
|
41645
41665
|
], inlinePopup.prototype, "onOutsideClick", null);
|
|
41646
|
-
(0,
|
|
41666
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41647
41667
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41648
41668
|
], inlinePopup.prototype, "__onDocumentMouseDown", null);
|
|
41649
|
-
(0,
|
|
41669
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41650
41670
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41651
41671
|
], inlinePopup.prototype, "__onCloseAllPopups", null);
|
|
41652
|
-
(0,
|
|
41672
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41653
41673
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41654
41674
|
], inlinePopup.prototype, "onSelectionStart", null);
|
|
41655
|
-
(0,
|
|
41675
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41656
41676
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41657
41677
|
], inlinePopup.prototype, "onSelectionEnd", null);
|
|
41658
|
-
(0,
|
|
41678
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41659
41679
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.debounce)(function(ctx) {
|
|
41660
41680
|
return ctx.defaultTimeout;
|
|
41661
41681
|
})
|
|
41662
41682
|
], inlinePopup.prototype, "onSelectionChange", null);
|
|
41663
|
-
(0,
|
|
41683
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41664
41684
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41665
41685
|
], inlinePopup.prototype, "showInlineToolbar", null);
|
|
41666
41686
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('inlinePopup', inlinePopup);
|
|
@@ -41812,8 +41832,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('justify', justi
|
|
|
41812
41832
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
41813
41833
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
41814
41834
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
41815
|
-
/* harmony import */ var
|
|
41816
|
-
/* harmony import */ var
|
|
41835
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
41836
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38574);
|
|
41817
41837
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
41818
41838
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
41819
41839
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23211);
|
|
@@ -41877,8 +41897,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('justify', justi
|
|
|
41877
41897
|
}
|
|
41878
41898
|
]);
|
|
41879
41899
|
return keyArrowOutside;
|
|
41880
|
-
}((0,
|
|
41881
|
-
(0,
|
|
41900
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_10__.Plugin));
|
|
41901
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
41882
41902
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':keydown')
|
|
41883
41903
|
], keyArrowOutside.prototype, "onKeyDownArrow", null);
|
|
41884
41904
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('keyArrowOutside', keyArrowOutside);
|
|
@@ -41914,8 +41934,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.limitHTML = false;
|
|
|
41914
41934
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
41915
41935
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
41916
41936
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
41917
|
-
/* harmony import */ var
|
|
41918
|
-
/* harmony import */ var
|
|
41937
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
41938
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38574);
|
|
41919
41939
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
41920
41940
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
41921
41941
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
@@ -42040,11 +42060,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.limitHTML = false;
|
|
|
42040
42060
|
}
|
|
42041
42061
|
]);
|
|
42042
42062
|
return limit;
|
|
42043
|
-
}((0,
|
|
42044
|
-
(0,
|
|
42063
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_9__.Plugin));
|
|
42064
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
42045
42065
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
42046
42066
|
], limit.prototype, "checkPreventKeyPressOrPaste", null);
|
|
42047
|
-
(0,
|
|
42067
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
42048
42068
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
42049
42069
|
], limit.prototype, "checkPreventChanging", null);
|
|
42050
42070
|
function isGt(a, b, strict) {
|
|
@@ -42544,8 +42564,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42544
42564
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
42545
42565
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
42546
42566
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
42547
|
-
/* harmony import */ var
|
|
42548
|
-
/* harmony import */ var
|
|
42567
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
42568
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
42549
42569
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
42550
42570
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23211);
|
|
42551
42571
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -42646,8 +42666,8 @@ var lineHeight = /*#__PURE__*/ function(Plugin) {
|
|
|
42646
42666
|
}
|
|
42647
42667
|
]);
|
|
42648
42668
|
return lineHeight;
|
|
42649
|
-
}((0,
|
|
42650
|
-
(0,
|
|
42669
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
42670
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
42651
42671
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
42652
42672
|
], lineHeight.prototype, "applyLineHeight", null);
|
|
42653
42673
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('lineHeight', lineHeight);
|
|
@@ -42738,8 +42758,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
42738
42758
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
42739
42759
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
42740
42760
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
42741
|
-
/* harmony import */ var
|
|
42742
|
-
/* harmony import */ var
|
|
42761
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
42762
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
42743
42763
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
42744
42764
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
42745
42765
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -43042,17 +43062,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
43042
43062
|
}
|
|
43043
43063
|
]);
|
|
43044
43064
|
return link;
|
|
43045
|
-
}((0,
|
|
43046
|
-
(0,
|
|
43065
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
43066
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43047
43067
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43048
43068
|
], link.prototype, "__onDblClickOnLink", null);
|
|
43049
|
-
(0,
|
|
43069
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43050
43070
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43051
43071
|
], link.prototype, "onProcessPasteLink", null);
|
|
43052
|
-
(0,
|
|
43072
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43053
43073
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43054
43074
|
], link.prototype, "__generateForm", null);
|
|
43055
|
-
(0,
|
|
43075
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43056
43076
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43057
43077
|
], link.prototype, "__onClickReadOnlyLink", null);
|
|
43058
43078
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('link', link);
|
|
@@ -43772,8 +43792,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.ol = {
|
|
|
43772
43792
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
43773
43793
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
43774
43794
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
43775
|
-
/* harmony import */ var
|
|
43776
|
-
/* harmony import */ var
|
|
43795
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
43796
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
43777
43797
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
43778
43798
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
43779
43799
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91206);
|
|
@@ -43845,8 +43865,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.ol = {
|
|
|
43845
43865
|
}
|
|
43846
43866
|
]);
|
|
43847
43867
|
return orderedList;
|
|
43848
|
-
}((0,
|
|
43849
|
-
(0,
|
|
43868
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_9__.Plugin));
|
|
43869
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43850
43870
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43851
43871
|
], orderedList.prototype, "onCommand", null);
|
|
43852
43872
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('orderedList', orderedList);
|
|
@@ -43899,8 +43919,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.pasteFromWordActionLi
|
|
|
43899
43919
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
43900
43920
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
43901
43921
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
43902
|
-
/* harmony import */ var
|
|
43903
|
-
/* harmony import */ var
|
|
43922
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
43923
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
43904
43924
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
43905
43925
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
43906
43926
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -43998,11 +44018,11 @@ var pasteFromWord = /*#__PURE__*/ function(Plugin) {
|
|
|
43998
44018
|
}
|
|
43999
44019
|
]);
|
|
44000
44020
|
return pasteFromWord;
|
|
44001
|
-
}((0,
|
|
44021
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
44002
44022
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(pasteFromWord, "requires", [
|
|
44003
44023
|
'paste'
|
|
44004
44024
|
]);
|
|
44005
|
-
(0,
|
|
44025
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
44006
44026
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':processHTML')
|
|
44007
44027
|
], pasteFromWord.prototype, "processWordHTML", null);
|
|
44008
44028
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('pasteFromWord', pasteFromWord);
|
|
@@ -44540,8 +44560,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.paste = {
|
|
|
44540
44560
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
44541
44561
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
44542
44562
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
44543
|
-
/* harmony import */ var
|
|
44544
|
-
/* harmony import */ var
|
|
44563
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
44564
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
44545
44565
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
44546
44566
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
44547
44567
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -44768,11 +44788,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.paste = {
|
|
|
44768
44788
|
}
|
|
44769
44789
|
]);
|
|
44770
44790
|
return paste;
|
|
44771
|
-
}((0,
|
|
44772
|
-
(0,
|
|
44791
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
44792
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
44773
44793
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
44774
44794
|
], paste.prototype, "onPaste", null);
|
|
44775
|
-
(0,
|
|
44795
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
44776
44796
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
44777
44797
|
], paste.prototype, "onProcessPasteReplaceNl2Br", null);
|
|
44778
44798
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('paste', paste);
|
|
@@ -44809,8 +44829,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
44809
44829
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
44810
44830
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
44811
44831
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
44812
|
-
/* harmony import */ var
|
|
44813
|
-
/* harmony import */ var
|
|
44832
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
44833
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
44814
44834
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
44815
44835
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
44816
44836
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -44980,8 +45000,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
44980
45000
|
}
|
|
44981
45001
|
]);
|
|
44982
45002
|
return placeholder;
|
|
44983
|
-
}((0,
|
|
44984
|
-
(0,
|
|
45003
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_14__.Plugin));
|
|
45004
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
44985
45005
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.debounce)(function(ctx) {
|
|
44986
45006
|
return ctx.defaultTimeout / 10;
|
|
44987
45007
|
}, true)
|
|
@@ -45411,8 +45431,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellResize
|
|
|
45411
45431
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
45412
45432
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
45413
45433
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
45414
|
-
/* harmony import */ var
|
|
45415
|
-
/* harmony import */ var
|
|
45434
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
45435
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
45416
45436
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
45417
45437
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
45418
45438
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -45732,17 +45752,17 @@ var key = 'table_processor_observer-resize';
|
|
|
45732
45752
|
}
|
|
45733
45753
|
]);
|
|
45734
45754
|
return resizeCells;
|
|
45735
|
-
}((0,
|
|
45736
|
-
(0,
|
|
45755
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_modules__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
45756
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45737
45757
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45738
45758
|
], resizeCells.prototype, "onHandleMouseDown", null);
|
|
45739
|
-
(0,
|
|
45759
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45740
45760
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45741
45761
|
], resizeCells.prototype, "onMouseMove", null);
|
|
45742
|
-
(0,
|
|
45762
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45743
45763
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45744
45764
|
], resizeCells.prototype, "onMouseUp", null);
|
|
45745
|
-
(0,
|
|
45765
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45746
45766
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45747
45767
|
], resizeCells.prototype, "observe", null);
|
|
45748
45768
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('resizeCells', resizeCells);
|
|
@@ -45778,8 +45798,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.allowResizeY = true;
|
|
|
45778
45798
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
45779
45799
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
45780
45800
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
45781
|
-
/* harmony import */ var
|
|
45782
|
-
/* harmony import */ var
|
|
45801
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
45802
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
45783
45803
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
45784
45804
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
45785
45805
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -45912,17 +45932,17 @@ var resizeHandler = /*#__PURE__*/ function(Plugin) {
|
|
|
45912
45932
|
}
|
|
45913
45933
|
]);
|
|
45914
45934
|
return resizeHandler;
|
|
45915
|
-
}((0,
|
|
45935
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
45916
45936
|
/** @override **/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(resizeHandler, "requires", [
|
|
45917
45937
|
'size'
|
|
45918
45938
|
]);
|
|
45919
|
-
(0,
|
|
45939
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45920
45940
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
45921
45941
|
], resizeHandler.prototype, "onHandleResizeStart", null);
|
|
45922
|
-
(0,
|
|
45942
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45923
45943
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
45924
45944
|
], resizeHandler.prototype, "onHandleResize", null);
|
|
45925
|
-
(0,
|
|
45945
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45926
45946
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
45927
45947
|
], resizeHandler.prototype, "onHandleResizeEnd", null);
|
|
45928
45948
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('resizeHandler', resizeHandler);
|
|
@@ -45972,8 +45992,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.resizer = {
|
|
|
45972
45992
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
45973
45993
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
45974
45994
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
45975
|
-
/* harmony import */ var
|
|
45976
|
-
/* harmony import */ var
|
|
45995
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
45996
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
45977
45997
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
45978
45998
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
45979
45999
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -46420,38 +46440,38 @@ var keyBInd = '__jodit-resizer_binded';
|
|
|
46420
46440
|
}
|
|
46421
46441
|
]);
|
|
46422
46442
|
return resizer;
|
|
46423
|
-
}((0,
|
|
46424
|
-
(0,
|
|
46443
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
46444
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46425
46445
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':click')
|
|
46426
46446
|
], resizer.prototype, "onEditorClick", null);
|
|
46427
|
-
(0,
|
|
46447
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46428
46448
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':afterInsertImage')
|
|
46429
46449
|
], resizer.prototype, "__afterInsertImage", null);
|
|
46430
|
-
(0,
|
|
46450
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46431
46451
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46432
46452
|
], resizer.prototype, "onStartResizing", null);
|
|
46433
|
-
(0,
|
|
46453
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46434
46454
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46435
46455
|
], resizer.prototype, "onEndResizing", null);
|
|
46436
|
-
(0,
|
|
46456
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46437
46457
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46438
46458
|
], resizer.prototype, "onResize", null);
|
|
46439
|
-
(0,
|
|
46459
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46440
46460
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46441
46461
|
], resizer.prototype, "onKeyDown", null);
|
|
46442
|
-
(0,
|
|
46462
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46443
46463
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46444
46464
|
], resizer.prototype, "onKeyUp", null);
|
|
46445
|
-
(0,
|
|
46465
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46446
46466
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46447
46467
|
], resizer.prototype, "onClickOutside", null);
|
|
46448
|
-
(0,
|
|
46468
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46449
46469
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':change')
|
|
46450
46470
|
], resizer.prototype, "__onChangeEditor", null);
|
|
46451
|
-
(0,
|
|
46471
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46452
46472
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46453
46473
|
], resizer.prototype, "__bind", null);
|
|
46454
|
-
(0,
|
|
46474
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46455
46475
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind,
|
|
46456
46476
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':hideResizer')
|
|
46457
46477
|
], resizer.prototype, "hide", null);
|
|
@@ -46847,9 +46867,9 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46847
46867
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
46848
46868
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34918);
|
|
46849
46869
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42395);
|
|
46850
|
-
/* harmony import */ var
|
|
46851
|
-
/* harmony import */ var
|
|
46852
|
-
/* harmony import */ var
|
|
46870
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
46871
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3233);
|
|
46872
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38574);
|
|
46853
46873
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(81937);
|
|
46854
46874
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84839);
|
|
46855
46875
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27795);
|
|
@@ -46926,7 +46946,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46926
46946
|
value: function updateCounters() {
|
|
46927
46947
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
46928
46948
|
var _;
|
|
46929
|
-
return (0,
|
|
46949
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
46930
46950
|
switch(_state.label){
|
|
46931
46951
|
case 0:
|
|
46932
46952
|
if (!this.ui.isOpened) {
|
|
@@ -46971,7 +46991,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46971
46991
|
key: "calcCounts",
|
|
46972
46992
|
value: function calcCounts(query) {
|
|
46973
46993
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
46974
|
-
return (0,
|
|
46994
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
46975
46995
|
switch(_state.label){
|
|
46976
46996
|
case 0:
|
|
46977
46997
|
return [
|
|
@@ -46993,7 +47013,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46993
47013
|
value: function findQueryBounds(query, walkerKey) {
|
|
46994
47014
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
46995
47015
|
var walker;
|
|
46996
|
-
return (0,
|
|
47016
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
46997
47017
|
walker = this[walkerKey];
|
|
46998
47018
|
if (walker) {
|
|
46999
47019
|
walker.break();
|
|
@@ -47018,7 +47038,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47018
47038
|
value: function findAndReplace(query) {
|
|
47019
47039
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47020
47040
|
var bounds, currentIndex, bound, rng, textNode;
|
|
47021
|
-
return (0,
|
|
47041
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47022
47042
|
switch(_state.label){
|
|
47023
47043
|
case 0:
|
|
47024
47044
|
return [
|
|
@@ -47100,7 +47120,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47100
47120
|
value: function findAndSelect(query, next) {
|
|
47101
47121
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47102
47122
|
var bounds, _this_drawPromise, currentIndex, bound, rng;
|
|
47103
|
-
return (0,
|
|
47123
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47104
47124
|
switch(_state.label){
|
|
47105
47125
|
case 0:
|
|
47106
47126
|
return [
|
|
@@ -47186,7 +47206,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47186
47206
|
value: function isValidCache(promise) {
|
|
47187
47207
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47188
47208
|
var res;
|
|
47189
|
-
return (0,
|
|
47209
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47190
47210
|
switch(_state.label){
|
|
47191
47211
|
case 0:
|
|
47192
47212
|
return [
|
|
@@ -47213,7 +47233,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47213
47233
|
value: function find(walker, query) {
|
|
47214
47234
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47215
47235
|
var _this, _$cache, _tmp;
|
|
47216
|
-
return (0,
|
|
47236
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47217
47237
|
switch(_state.label){
|
|
47218
47238
|
case 0:
|
|
47219
47239
|
_this = this;
|
|
@@ -47383,29 +47403,29 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47383
47403
|
}
|
|
47384
47404
|
]);
|
|
47385
47405
|
return search;
|
|
47386
|
-
}((0,
|
|
47387
|
-
(0,
|
|
47406
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_9__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_15__.Plugin));
|
|
47407
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47388
47408
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.cache
|
|
47389
47409
|
], search.prototype, "ui", null);
|
|
47390
|
-
(0,
|
|
47410
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47391
47411
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.watch)('ui:needUpdateCounters')
|
|
47392
47412
|
], search.prototype, "updateCounters", null);
|
|
47393
|
-
(0,
|
|
47413
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47394
47414
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.watch)('ui:pressReplaceButton')
|
|
47395
47415
|
], search.prototype, "onPressReplaceButton", null);
|
|
47396
|
-
(0,
|
|
47416
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47397
47417
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47398
47418
|
], search.prototype, "findQueryBounds", null);
|
|
47399
|
-
(0,
|
|
47419
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47400
47420
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47401
47421
|
], search.prototype, "findAndReplace", null);
|
|
47402
|
-
(0,
|
|
47422
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47403
47423
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47404
47424
|
], search.prototype, "findAndSelect", null);
|
|
47405
|
-
(0,
|
|
47425
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47406
47426
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47407
47427
|
], search.prototype, "find", null);
|
|
47408
|
-
(0,
|
|
47428
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47409
47429
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.watch)(':afterGetValueFromEditor')
|
|
47410
47430
|
], search.prototype, "onAfterGetValueFromEditor", null);
|
|
47411
47431
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_13__.pluginSystem.add('search', search);
|
|
@@ -47471,10 +47491,36 @@ var UISearch = /*#__PURE__*/ function(UIElement) {
|
|
|
47471
47491
|
_this.replaceButton = replaceBtn;
|
|
47472
47492
|
_this.currentBox = current;
|
|
47473
47493
|
_this.countBox = count;
|
|
47494
|
+
var closeAction = function closeAction() {
|
|
47495
|
+
return _this.close();
|
|
47496
|
+
};
|
|
47497
|
+
var replaceAction = function replaceAction() {
|
|
47498
|
+
return void jodit.e.fire(_this, 'pressReplaceButton');
|
|
47499
|
+
};
|
|
47500
|
+
var nextAction = function nextAction() {
|
|
47501
|
+
return void jodit.e.fire('searchNext');
|
|
47502
|
+
};
|
|
47503
|
+
var prevAction = function prevAction() {
|
|
47504
|
+
return void jodit.e.fire('searchPrevious');
|
|
47505
|
+
};
|
|
47506
|
+
// Pointer activation is handled on `pointerdown` (returning `false`
|
|
47507
|
+
// there keeps the focus and selection intact), but activating a
|
|
47508
|
+
// native button from the keyboard (Enter/Space) fires only `click`
|
|
47509
|
+
// with `detail === 0` — handle that path separately. Pointer clicks
|
|
47510
|
+
// arrive with `detail >= 1`, so the action does not run twice.
|
|
47511
|
+
// See https://github.com/xdan/jodit/issues/1440
|
|
47512
|
+
var onKeyboardActivate = function onKeyboardActivate(action) {
|
|
47513
|
+
return function(e) {
|
|
47514
|
+
if (!e.detail) {
|
|
47515
|
+
e.preventDefault();
|
|
47516
|
+
action();
|
|
47517
|
+
}
|
|
47518
|
+
};
|
|
47519
|
+
};
|
|
47474
47520
|
jodit.e.on(_this.closeButton, 'pointerdown', function() {
|
|
47475
|
-
|
|
47521
|
+
closeAction();
|
|
47476
47522
|
return false;
|
|
47477
|
-
}).on(_this.queryInput, 'input', function() {
|
|
47523
|
+
}).on(_this.closeButton, 'click', onKeyboardActivate(closeAction)).on(_this.queryInput, 'input', function() {
|
|
47478
47524
|
_this.currentIndex = 0;
|
|
47479
47525
|
}).on(_this.queryInput, 'pointerdown', function() {
|
|
47480
47526
|
if (jodit.s.isFocused()) {
|
|
@@ -47482,15 +47528,15 @@ var UISearch = /*#__PURE__*/ function(UIElement) {
|
|
|
47482
47528
|
_this.selInfo = jodit.s.save();
|
|
47483
47529
|
}
|
|
47484
47530
|
}).on(_this.replaceButton, 'pointerdown', function() {
|
|
47485
|
-
|
|
47531
|
+
replaceAction();
|
|
47486
47532
|
return false;
|
|
47487
|
-
}).on(next, 'pointerdown', function() {
|
|
47488
|
-
|
|
47533
|
+
}).on(_this.replaceButton, 'click', onKeyboardActivate(replaceAction)).on(next, 'pointerdown', function() {
|
|
47534
|
+
nextAction();
|
|
47489
47535
|
return false;
|
|
47490
|
-
}).on(prev, 'pointerdown', function() {
|
|
47491
|
-
|
|
47536
|
+
}).on(next, 'click', onKeyboardActivate(nextAction)).on(prev, 'pointerdown', function() {
|
|
47537
|
+
prevAction();
|
|
47492
47538
|
return false;
|
|
47493
|
-
}).on(_this.queryInput, 'input', function() {
|
|
47539
|
+
}).on(prev, 'click', onKeyboardActivate(prevAction)).on(_this.queryInput, 'input', function() {
|
|
47494
47540
|
_this.setMod('empty-query', !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_11__.trim)(_this.queryInput.value).length);
|
|
47495
47541
|
}).on(_this.queryInput, 'keydown', function() {
|
|
47496
47542
|
var debounced = _this.j.async.debounce(function(e) {
|
|
@@ -47730,8 +47776,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelecti
|
|
|
47730
47776
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
47731
47777
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
47732
47778
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50684);
|
|
47733
|
-
/* harmony import */ var
|
|
47734
|
-
/* harmony import */ var
|
|
47779
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
47780
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38574);
|
|
47735
47781
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
47736
47782
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
47737
47783
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
@@ -48150,29 +48196,29 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
48150
48196
|
}
|
|
48151
48197
|
]);
|
|
48152
48198
|
return selectCells;
|
|
48153
|
-
}((0,
|
|
48199
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_13__.Plugin));
|
|
48154
48200
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(selectCells, "requires", [
|
|
48155
48201
|
'select'
|
|
48156
48202
|
]);
|
|
48157
|
-
(0,
|
|
48203
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48158
48204
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48159
48205
|
], selectCells.prototype, "onStartSelection", null);
|
|
48160
|
-
(0,
|
|
48206
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48161
48207
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':outsideClick')
|
|
48162
48208
|
], selectCells.prototype, "onOutsideClick", null);
|
|
48163
|
-
(0,
|
|
48209
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48164
48210
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':change')
|
|
48165
48211
|
], selectCells.prototype, "onChange", null);
|
|
48166
|
-
(0,
|
|
48212
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48167
48213
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48168
48214
|
], selectCells.prototype, "__onRemoveSelection", null);
|
|
48169
|
-
(0,
|
|
48215
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48170
48216
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48171
48217
|
], selectCells.prototype, "__onStopSelection", null);
|
|
48172
|
-
(0,
|
|
48218
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48173
48219
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48174
48220
|
], selectCells.prototype, "onExecCommand", null);
|
|
48175
|
-
(0,
|
|
48221
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48176
48222
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48177
48223
|
], selectCells.prototype, "onAfterCommand", null);
|
|
48178
48224
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('selectCells', selectCells);
|
|
@@ -48210,8 +48256,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
48210
48256
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
48211
48257
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
48212
48258
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
48213
|
-
/* harmony import */ var
|
|
48214
|
-
/* harmony import */ var
|
|
48259
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
48260
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
48215
48261
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
48216
48262
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
48217
48263
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -48432,39 +48478,39 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
48432
48478
|
}
|
|
48433
48479
|
]);
|
|
48434
48480
|
return select;
|
|
48435
|
-
}((0,
|
|
48436
|
-
(0,
|
|
48481
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
48482
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48437
48483
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
48438
48484
|
], select.prototype, "onStartSelection", null);
|
|
48439
|
-
(0,
|
|
48485
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48440
48486
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)('ow:click')
|
|
48441
48487
|
], select.prototype, "onOutsideClick", null);
|
|
48442
|
-
(0,
|
|
48488
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48443
48489
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48444
48490
|
':beforeCommandCut'
|
|
48445
48491
|
])
|
|
48446
48492
|
], select.prototype, "beforeCommandCut", null);
|
|
48447
|
-
(0,
|
|
48493
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48448
48494
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48449
48495
|
':beforeCommandSelectall'
|
|
48450
48496
|
])
|
|
48451
48497
|
], select.prototype, "beforeCommandSelectAll", null);
|
|
48452
|
-
(0,
|
|
48498
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48453
48499
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48454
48500
|
':click'
|
|
48455
48501
|
])
|
|
48456
48502
|
], select.prototype, "onClickRightOfNestedListItem", null);
|
|
48457
|
-
(0,
|
|
48503
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48458
48504
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48459
48505
|
':click'
|
|
48460
48506
|
])
|
|
48461
48507
|
], select.prototype, "onClickKeepPendingFormat", null);
|
|
48462
|
-
(0,
|
|
48508
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48463
48509
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48464
48510
|
':click'
|
|
48465
48511
|
])
|
|
48466
48512
|
], select.prototype, "onTripleClickNormalizeSelection", null);
|
|
48467
|
-
(0,
|
|
48513
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48468
48514
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48469
48515
|
':copy',
|
|
48470
48516
|
':cut'
|
|
@@ -48522,8 +48568,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
48522
48568
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
48523
48569
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
48524
48570
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
48525
|
-
/* harmony import */ var
|
|
48526
|
-
/* harmony import */ var
|
|
48571
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
48572
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
48527
48573
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
48528
48574
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
48529
48575
|
/* harmony import */ var jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(72412);
|
|
@@ -48730,17 +48776,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
48730
48776
|
}
|
|
48731
48777
|
]);
|
|
48732
48778
|
return size;
|
|
48733
|
-
}((0,
|
|
48734
|
-
(0,
|
|
48779
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
48780
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48735
48781
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.throttle)()
|
|
48736
48782
|
], size.prototype, "__initialize", null);
|
|
48737
|
-
(0,
|
|
48783
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48738
48784
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
48739
48785
|
], size.prototype, "__setHeight", null);
|
|
48740
|
-
(0,
|
|
48786
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48741
48787
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
48742
48788
|
], size.prototype, "__setWidth", null);
|
|
48743
|
-
(0,
|
|
48789
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48744
48790
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
48745
48791
|
], size.prototype, "__resizeWorkspaceImd", null);
|
|
48746
48792
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('size', size);
|
|
@@ -49444,8 +49490,8 @@ var SourceEditor = /*#__PURE__*/ function() {
|
|
|
49444
49490
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
49445
49491
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
49446
49492
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
49447
|
-
/* harmony import */ var
|
|
49448
|
-
/* harmony import */ var
|
|
49493
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
49494
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
49449
49495
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
49450
49496
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
49451
49497
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -49792,35 +49838,35 @@ var SourceEditor = /*#__PURE__*/ function() {
|
|
|
49792
49838
|
}
|
|
49793
49839
|
]);
|
|
49794
49840
|
return source;
|
|
49795
|
-
}((0,
|
|
49796
|
-
(0,
|
|
49841
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
49842
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49797
49843
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':insertHTML.source')
|
|
49798
49844
|
], source.prototype, "onInsertHTML", null);
|
|
49799
|
-
(0,
|
|
49845
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49800
49846
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49801
49847
|
], source.prototype, "fromWYSIWYG", null);
|
|
49802
|
-
(0,
|
|
49848
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49803
49849
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49804
49850
|
], source.prototype, "toWYSIWYG", null);
|
|
49805
|
-
(0,
|
|
49851
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49806
49852
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49807
49853
|
], source.prototype, "getNormalPosition", null);
|
|
49808
|
-
(0,
|
|
49854
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49809
49855
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeCommand.source')
|
|
49810
49856
|
], source.prototype, "onSelectAll", null);
|
|
49811
|
-
(0,
|
|
49857
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49812
49858
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeSetMode.source')
|
|
49813
49859
|
], source.prototype, "saveSelection", null);
|
|
49814
|
-
(0,
|
|
49860
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49815
49861
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':afterSetMode.source')
|
|
49816
49862
|
], source.prototype, "removeSelection", null);
|
|
49817
|
-
(0,
|
|
49863
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49818
49864
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49819
49865
|
], source.prototype, "setMirrorSelectionRange", null);
|
|
49820
|
-
(0,
|
|
49866
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49821
49867
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':readonly.source')
|
|
49822
49868
|
], source.prototype, "onReadonlyReact", null);
|
|
49823
|
-
(0,
|
|
49869
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49824
49870
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49825
49871
|
], source.prototype, "syncValueFromWYSIWYG", null);
|
|
49826
49872
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('source', source);
|
|
@@ -50318,8 +50364,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50318
50364
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
50319
50365
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
50320
50366
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
50321
|
-
/* harmony import */ var
|
|
50322
|
-
/* harmony import */ var
|
|
50367
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
50368
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
50323
50369
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
50324
50370
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
50325
50371
|
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7909);
|
|
@@ -50390,8 +50436,8 @@ var spellcheck = /*#__PURE__*/ function(Plugin) {
|
|
|
50390
50436
|
}
|
|
50391
50437
|
]);
|
|
50392
50438
|
return spellcheck;
|
|
50393
|
-
}((0,
|
|
50394
|
-
(0,
|
|
50439
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_10__.Plugin));
|
|
50440
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
50395
50441
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
50396
50442
|
], spellcheck.prototype, "toggleSpellcheck", null);
|
|
50397
50443
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('spellcheck', spellcheck);
|
|
@@ -50551,8 +50597,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.toolbarStickyOffset =
|
|
|
50551
50597
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
50552
50598
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
50553
50599
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
50554
|
-
/* harmony import */ var
|
|
50555
|
-
/* harmony import */ var
|
|
50600
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
50601
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
50556
50602
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
50557
50603
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
50558
50604
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -50677,8 +50723,8 @@ var sticky = /*#__PURE__*/ function(Plugin) {
|
|
|
50677
50723
|
}
|
|
50678
50724
|
]);
|
|
50679
50725
|
return sticky;
|
|
50680
|
-
}((0,
|
|
50681
|
-
(0,
|
|
50726
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
50727
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
50682
50728
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.throttle)()
|
|
50683
50729
|
], sticky.prototype, "__onScroll", null);
|
|
50684
50730
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('sticky', sticky);
|
|
@@ -51677,8 +51723,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tab = {
|
|
|
51677
51723
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
51678
51724
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
51679
51725
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
51680
|
-
/* harmony import */ var
|
|
51681
|
-
/* harmony import */ var
|
|
51726
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
51727
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38574);
|
|
51682
51728
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
51683
51729
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
51684
51730
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
@@ -51749,11 +51795,11 @@ var tab = /*#__PURE__*/ function(Plugin) {
|
|
|
51749
51795
|
}
|
|
51750
51796
|
]);
|
|
51751
51797
|
return tab;
|
|
51752
|
-
}((0,
|
|
51753
|
-
(0,
|
|
51798
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_9__.Plugin));
|
|
51799
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
51754
51800
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':keydown.tab')
|
|
51755
51801
|
], tab.prototype, "__onTab", null);
|
|
51756
|
-
(0,
|
|
51802
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
51757
51803
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':beforeCommand.tab')
|
|
51758
51804
|
], tab.prototype, "__onCommand", null);
|
|
51759
51805
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('tab', tab);
|
|
@@ -51889,13 +51935,14 @@ function findCell(editor, key) {
|
|
|
51889
51935
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
51890
51936
|
|
|
51891
51937
|
"use strict";
|
|
51892
|
-
/* harmony import */ var
|
|
51893
|
-
/* harmony import */ var
|
|
51894
|
-
/* harmony import */ var
|
|
51895
|
-
/* harmony import */ var
|
|
51896
|
-
/* harmony import */ var
|
|
51897
|
-
/* harmony import */ var
|
|
51898
|
-
/* harmony import */ var
|
|
51938
|
+
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
51939
|
+
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27795);
|
|
51940
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65946);
|
|
51941
|
+
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(93640);
|
|
51942
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29434);
|
|
51943
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5266);
|
|
51944
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67447);
|
|
51945
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
51899
51946
|
/*!
|
|
51900
51947
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
51901
51948
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -51908,13 +51955,14 @@ function findCell(editor, key) {
|
|
|
51908
51955
|
|
|
51909
51956
|
|
|
51910
51957
|
|
|
51911
|
-
|
|
51958
|
+
|
|
51959
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.table = {
|
|
51912
51960
|
splitBlockOnInsertTable: true,
|
|
51913
51961
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
51914
51962
|
useExtraClassesOptions: false
|
|
51915
51963
|
};
|
|
51916
|
-
|
|
51917
|
-
|
|
51964
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__.Icon.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
51965
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.table = {
|
|
51918
51966
|
data: {
|
|
51919
51967
|
cols: 10,
|
|
51920
51968
|
rows: 10,
|
|
@@ -51944,19 +51992,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51944
51992
|
};
|
|
51945
51993
|
var form = editor.c.fromHTML('<form class="jodit-form jodit-form__inserter">' + '<div class="jodit-form__table-creator-box">' + '<div class="jodit-form__container"></div>' + '<div class="jodit-form__options">' + generateExtraClasses() + '</div>' + '</div>' + '<label class="jodit-form__center">' + '<span>1</span> × <span>1</span>' + '</label>' + '</form>'), rows = form.querySelectorAll('span')[0], cols = form.querySelectorAll('span')[1], blocksContainer = form.querySelector('.jodit-form__container'), options = form.querySelector('.jodit-form__options'), cells = [];
|
|
51946
51994
|
var cnt = default_rows_count * default_cols_count;
|
|
51995
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(blocksContainer, {
|
|
51996
|
+
role: 'grid',
|
|
51997
|
+
ariaLabel: 'Table size',
|
|
51998
|
+
ariaRowcount: default_rows_count,
|
|
51999
|
+
ariaColcount: default_cols_count
|
|
52000
|
+
});
|
|
51947
52001
|
for(var i = 0; i < cnt; i += 1){
|
|
51948
52002
|
if (!cells[i]) {
|
|
52003
|
+
var row = Math.floor(i / default_cols_count) + 1, col = i % default_cols_count + 1;
|
|
51949
52004
|
cells.push(editor.c.element('span', {
|
|
51950
|
-
dataIndex: i
|
|
52005
|
+
dataIndex: i,
|
|
52006
|
+
role: 'gridcell',
|
|
52007
|
+
tabindex: i === 0 ? 0 : -1,
|
|
52008
|
+
ariaLabel: "".concat(row, " by ").concat(col)
|
|
51951
52009
|
}));
|
|
51952
52010
|
}
|
|
51953
52011
|
}
|
|
51954
|
-
var
|
|
51955
|
-
var
|
|
51956
|
-
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(dv, 'span')) {
|
|
51957
|
-
return;
|
|
51958
|
-
}
|
|
51959
|
-
var k = index === undefined || isNaN(index) ? parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(dv, '-index') || '0', 10) : index || 0;
|
|
52012
|
+
var highlightCell = function highlightCell(cell) {
|
|
52013
|
+
var k = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(cell, '-index') || '0', 10);
|
|
51960
52014
|
var rows_count = Math.ceil((k + 1) / default_cols_count), cols_count = k % default_cols_count + 1;
|
|
51961
52015
|
for(var i = 0; i < cells.length; i += 1){
|
|
51962
52016
|
if (cols_count >= i % default_cols_count + 1 && rows_count >= Math.ceil((i + 1) / default_cols_count)) {
|
|
@@ -51968,14 +52022,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51968
52022
|
cols.textContent = cols_count.toString();
|
|
51969
52023
|
rows.textContent = rows_count.toString();
|
|
51970
52024
|
};
|
|
51971
|
-
|
|
51972
|
-
var
|
|
51973
|
-
e.preventDefault();
|
|
51974
|
-
e.stopImmediatePropagation();
|
|
51975
|
-
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(dv, 'span')) {
|
|
51976
|
-
return;
|
|
51977
|
-
}
|
|
51978
|
-
var k = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(dv, '-index') || '0', 10);
|
|
52025
|
+
var insertTable = function insertTable(cell) {
|
|
52026
|
+
var k = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(cell, '-index') || '0', 10);
|
|
51979
52027
|
var rows_count = Math.ceil((k + 1) / default_cols_count), cols_count = k % default_cols_count + 1;
|
|
51980
52028
|
var crt = editor.createInside, tbody = crt.element('tbody'), table = crt.element('table');
|
|
51981
52029
|
table.appendChild(tbody);
|
|
@@ -51987,7 +52035,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51987
52035
|
if (!first_td) {
|
|
51988
52036
|
first_td = td;
|
|
51989
52037
|
}
|
|
51990
|
-
(0,
|
|
52038
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(td, 'width', (100 / cols_count).toFixed(4) + '%');
|
|
51991
52039
|
td.appendChild(crt.element('br'));
|
|
51992
52040
|
tr.appendChild(crt.text('\n'));
|
|
51993
52041
|
tr.appendChild(crt.text('\t'));
|
|
@@ -51996,7 +52044,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51996
52044
|
tbody.appendChild(crt.text('\n'));
|
|
51997
52045
|
tbody.appendChild(tr);
|
|
51998
52046
|
}
|
|
51999
|
-
(0,
|
|
52047
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('input[type=checkbox]:checked', options).forEach(function(input) {
|
|
52000
52048
|
input.value.split(/[\s]+/).forEach(function(className) {
|
|
52001
52049
|
table.classList.add(className);
|
|
52002
52050
|
});
|
|
@@ -52005,15 +52053,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
52005
52053
|
editor.s.removeMarkers();
|
|
52006
52054
|
editor.editor.normalize();
|
|
52007
52055
|
editor.history.snapshot.restore(snapshot);
|
|
52008
|
-
var block =
|
|
52009
|
-
if (block &&
|
|
52010
|
-
|
|
52056
|
+
var block = jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.furthest(editor.s.current(), jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isBlock, editor.editor);
|
|
52057
|
+
if (block && jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmpty(block)) {
|
|
52058
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.replace(block, table, undefined, false, true);
|
|
52011
52059
|
} else {
|
|
52012
52060
|
if (block) {
|
|
52013
52061
|
var fake = crt.text('\n');
|
|
52014
52062
|
if (!editor.o.table.splitBlockOnInsertTable) {
|
|
52015
|
-
|
|
52016
|
-
|
|
52063
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(block, fake);
|
|
52064
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(fake, table);
|
|
52017
52065
|
} else {
|
|
52018
52066
|
var range = editor.s.range;
|
|
52019
52067
|
range.collapse(false);
|
|
@@ -52022,9 +52070,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
52022
52070
|
editor.s.selectRange(range);
|
|
52023
52071
|
var firstPart = editor.s.splitSelection(block, fake);
|
|
52024
52072
|
if (firstPart) {
|
|
52025
|
-
|
|
52073
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(firstPart, table);
|
|
52026
52074
|
} else {
|
|
52027
|
-
|
|
52075
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(block, table);
|
|
52028
52076
|
}
|
|
52029
52077
|
}
|
|
52030
52078
|
} else {
|
|
@@ -52033,17 +52081,72 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
52033
52081
|
}
|
|
52034
52082
|
if (first_td) {
|
|
52035
52083
|
editor.s.setCursorIn(first_td);
|
|
52036
|
-
(0,
|
|
52084
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(first_td, editor.editor, editor.ed);
|
|
52037
52085
|
}
|
|
52038
52086
|
close();
|
|
52087
|
+
};
|
|
52088
|
+
editor.e.on(blocksContainer, 'mousemove', function(e) {
|
|
52089
|
+
if (jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(e.target, 'span')) {
|
|
52090
|
+
highlightCell(e.target);
|
|
52091
|
+
}
|
|
52092
|
+
}).on(blocksContainer, 'touchstart mousedown', function(e) {
|
|
52093
|
+
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(e.target, 'span')) {
|
|
52094
|
+
return;
|
|
52095
|
+
}
|
|
52096
|
+
e.preventDefault();
|
|
52097
|
+
e.stopImmediatePropagation();
|
|
52098
|
+
insertTable(e.target);
|
|
52099
|
+
}).on(blocksContainer, 'keydown', function(e) {
|
|
52100
|
+
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(e.target, 'span')) {
|
|
52101
|
+
return;
|
|
52102
|
+
}
|
|
52103
|
+
if (e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_ENTER) {
|
|
52104
|
+
e.preventDefault();
|
|
52105
|
+
e.stopImmediatePropagation();
|
|
52106
|
+
insertTable(e.target);
|
|
52107
|
+
return;
|
|
52108
|
+
}
|
|
52109
|
+
if (e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
52110
|
+
e.preventDefault();
|
|
52111
|
+
e.stopImmediatePropagation();
|
|
52112
|
+
close();
|
|
52113
|
+
return;
|
|
52114
|
+
}
|
|
52115
|
+
var index = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(e.target, '-index') || '0', 10), row = Math.floor(index / default_cols_count), col = index % default_cols_count;
|
|
52116
|
+
var nextIndex = index;
|
|
52117
|
+
switch(e.key){
|
|
52118
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT:
|
|
52119
|
+
nextIndex = col > 0 ? index - 1 : index;
|
|
52120
|
+
break;
|
|
52121
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT:
|
|
52122
|
+
nextIndex = col < default_cols_count - 1 ? index + 1 : index;
|
|
52123
|
+
break;
|
|
52124
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP:
|
|
52125
|
+
nextIndex = row > 0 ? index - default_cols_count : index;
|
|
52126
|
+
break;
|
|
52127
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
52128
|
+
nextIndex = row < default_rows_count - 1 ? index + default_cols_count : index;
|
|
52129
|
+
break;
|
|
52130
|
+
default:
|
|
52131
|
+
return;
|
|
52132
|
+
}
|
|
52133
|
+
e.preventDefault();
|
|
52134
|
+
e.stopImmediatePropagation();
|
|
52135
|
+
if (nextIndex !== index) {
|
|
52136
|
+
cells[index].tabIndex = -1;
|
|
52137
|
+
cells[nextIndex].tabIndex = 0;
|
|
52138
|
+
cells[nextIndex].focus();
|
|
52139
|
+
highlightCell(cells[nextIndex]);
|
|
52140
|
+
}
|
|
52039
52141
|
});
|
|
52040
52142
|
if (button && button.parentElement) {
|
|
52041
52143
|
for(var i1 = 0; i1 < default_rows_count; i1 += 1){
|
|
52042
|
-
var
|
|
52144
|
+
var row1 = editor.c.div();
|
|
52145
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(row1, 'role', 'row');
|
|
52043
52146
|
for(var j = 0; j < default_cols_count; j += 1){
|
|
52044
|
-
|
|
52147
|
+
row1.appendChild(cells[i1 * default_cols_count + j]);
|
|
52045
52148
|
}
|
|
52046
|
-
blocksContainer.appendChild(
|
|
52149
|
+
blocksContainer.appendChild(row1);
|
|
52047
52150
|
}
|
|
52048
52151
|
if (cells[0]) {
|
|
52049
52152
|
cells[0].className = 'hovered';
|
|
@@ -52246,8 +52349,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.wrapNodes = {
|
|
|
52246
52349
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
52247
52350
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
52248
52351
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
52249
|
-
/* harmony import */ var
|
|
52250
|
-
/* harmony import */ var
|
|
52352
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
52353
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
52251
52354
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
52252
52355
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
52253
52356
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -52376,11 +52479,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.wrapNodes = {
|
|
|
52376
52479
|
}
|
|
52377
52480
|
]);
|
|
52378
52481
|
return wrapNodes;
|
|
52379
|
-
}((0,
|
|
52380
|
-
(0,
|
|
52482
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
52483
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
52381
52484
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
52382
52485
|
], wrapNodes.prototype, "postProcessSetEditorValue", null);
|
|
52383
|
-
(0,
|
|
52486
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
52384
52487
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
52385
52488
|
], wrapNodes.prototype, "preprocessInput", null);
|
|
52386
52489
|
function checkAloneListLeaf(child, jodit) {
|
|
@@ -53561,11 +53664,10 @@ function _assert_this_initialized(self) {
|
|
|
53561
53664
|
/* harmony export */ });
|
|
53562
53665
|
/* harmony import */ var _overload_yield_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15254);
|
|
53563
53666
|
function _instanceof(left, right) {
|
|
53667
|
+
"@swc/helpers - instanceof";
|
|
53564
53668
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53565
53669
|
return !!right[Symbol.hasInstance](left);
|
|
53566
|
-
} else
|
|
53567
|
-
return left instanceof right;
|
|
53568
|
-
}
|
|
53670
|
+
} else return left instanceof right;
|
|
53569
53671
|
}
|
|
53570
53672
|
|
|
53571
53673
|
function _async_generator(gen) {
|
|
@@ -53733,11 +53835,10 @@ function _call_super(_this, derived, args) {
|
|
|
53733
53835
|
/* harmony export */ _: function() { return /* binding */ _class_call_check; }
|
|
53734
53836
|
/* harmony export */ });
|
|
53735
53837
|
function _instanceof(left, right) {
|
|
53838
|
+
"@swc/helpers - instanceof";
|
|
53736
53839
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53737
53840
|
return !!right[Symbol.hasInstance](left);
|
|
53738
|
-
} else
|
|
53739
|
-
return left instanceof right;
|
|
53740
|
-
}
|
|
53841
|
+
} else return left instanceof right;
|
|
53741
53842
|
}
|
|
53742
53843
|
function _class_call_check(instance, Constructor) {
|
|
53743
53844
|
if (!_instanceof(instance, Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -53905,19 +54006,12 @@ function _inherits(subClass, superClass) {
|
|
|
53905
54006
|
|
|
53906
54007
|
"use strict";
|
|
53907
54008
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
53908
|
-
/* harmony export */ _: function() { return /* binding */
|
|
54009
|
+
/* harmony export */ _: function() { return /* binding */ _instanceof; }
|
|
53909
54010
|
/* harmony export */ });
|
|
53910
54011
|
function _instanceof(left, right) {
|
|
53911
54012
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53912
54013
|
return !!right[Symbol.hasInstance](left);
|
|
53913
|
-
} else
|
|
53914
|
-
return left instanceof right;
|
|
53915
|
-
}
|
|
53916
|
-
}
|
|
53917
|
-
function _instanceof1(left, right) {
|
|
53918
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53919
|
-
return !!right[Symbol.hasInstance](left);
|
|
53920
|
-
} else return _instanceof(left, right);
|
|
54014
|
+
} else return left instanceof right;
|
|
53921
54015
|
}
|
|
53922
54016
|
|
|
53923
54017
|
|