jodit 4.13.17 → 4.13.19
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 +4 -4
- package/es2015/jodit.js +191 -109
- package/es2015/jodit.min.js +4 -4
- 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 +4 -4
- 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 +187 -105
- 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 +187 -105
- 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 +477 -401
- 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/core/helpers/utils/scroll-into-view.d.ts +0 -3
- package/esm/core/helpers/utils/scroll-into-view.js +12 -2
- package/esm/modules/toolbar/button/button.d.ts +1 -0
- package/esm/modules/toolbar/button/button.js +13 -0
- package/esm/plugins/table/config.js +79 -19
- package/package.json +1 -1
- package/types/core/helpers/utils/scroll-into-view.d.ts +0 -3
- 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.19
|
|
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.19";
|
|
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;
|
|
@@ -10166,6 +10166,14 @@ var map = {};
|
|
|
10166
10166
|
/**
|
|
10167
10167
|
* @module helpers/utils
|
|
10168
10168
|
*/ /**
|
|
10169
|
+
* `getBoundingClientRect` returns fractional values while `scrollTop`,
|
|
10170
|
+
* `offsetTop` and `clientHeight` are rounded to integers, so a container
|
|
10171
|
+
* scrolled right up to its limit can still appear to clip the element by a
|
|
10172
|
+
* fraction of a pixel. Treat anything clipped by less than a pixel as
|
|
10173
|
+
* visible — otherwise `scrollIntoViewIfNeeded` falls through to
|
|
10174
|
+
* `elm.scrollIntoView()` and needlessly scrolls the whole page.
|
|
10175
|
+
*/ var SUBPIXEL_TOLERANCE = 1;
|
|
10176
|
+
/**
|
|
10169
10177
|
* Check if element is in view
|
|
10170
10178
|
*/ function inView(elm, root, doc) {
|
|
10171
10179
|
var rect = elm.getBoundingClientRect(), el = elm;
|
|
@@ -10178,7 +10186,7 @@ var map = {};
|
|
|
10178
10186
|
// view even though its top still fits. The `top > rect.top` guard keeps
|
|
10179
10187
|
// elements taller than the container (which can never fully fit) from
|
|
10180
10188
|
// being treated as always out of view. See #1300
|
|
10181
|
-
if (top + height > rect.bottom && top > rect.top) {
|
|
10189
|
+
if (top + height > rect.bottom + SUBPIXEL_TOLERANCE && top > rect.top) {
|
|
10182
10190
|
return false;
|
|
10183
10191
|
}
|
|
10184
10192
|
// Check if the element is out of view due to a container scrolling
|
|
@@ -10192,7 +10200,7 @@ var map = {};
|
|
|
10192
10200
|
// element scrolled above the top was wrongly reported as visible and never
|
|
10193
10201
|
// scrolled to. See #1279
|
|
10194
10202
|
var clientHeight = doc.documentElement && doc.documentElement.clientHeight || 0;
|
|
10195
|
-
return (top + height <= clientHeight || top <= 0) && top + height >= 0;
|
|
10203
|
+
return (top + height <= clientHeight + SUBPIXEL_TOLERANCE || top <= 0) && top + height >= 0;
|
|
10196
10204
|
}
|
|
10197
10205
|
/**
|
|
10198
10206
|
* Scroll element into view if it is not in view
|
|
@@ -11206,10 +11214,10 @@ var Plugin = /*#__PURE__*/ function(ViewComponent) {
|
|
|
11206
11214
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
11207
11215
|
/* harmony import */ var _swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(75980);
|
|
11208
11216
|
/* harmony import */ var _swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41411);
|
|
11209
|
-
/* harmony import */ var
|
|
11210
|
-
/* harmony import */ var
|
|
11211
|
-
/* harmony import */ var
|
|
11212
|
-
/* 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);
|
|
11213
11221
|
/* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(91231);
|
|
11214
11222
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(81937);
|
|
11215
11223
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(49574);
|
|
@@ -11275,7 +11283,7 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11275
11283
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.isFunction)(this.o.queryBuild)) {
|
|
11276
11284
|
return this.o.queryBuild.call(this, obj, prefix);
|
|
11277
11285
|
}
|
|
11278
|
-
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)) {
|
|
11279
11287
|
return obj;
|
|
11280
11288
|
}
|
|
11281
11289
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_14__.buildQuery)(obj);
|
|
@@ -11310,7 +11318,7 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11310
11318
|
return this.__async.promise(function(resolve, reject) {
|
|
11311
11319
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
11312
11320
|
var _this, _o_withCredentials, onReject, onResolve, url, data, method, headers;
|
|
11313
|
-
return (0,
|
|
11321
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
11314
11322
|
switch(_state.label){
|
|
11315
11323
|
case 0:
|
|
11316
11324
|
_this = this;
|
|
@@ -11392,9 +11400,9 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11392
11400
|
{
|
|
11393
11401
|
key: "stream",
|
|
11394
11402
|
value: function stream() {
|
|
11395
|
-
return (0,
|
|
11403
|
+
return (0,_swc_helpers_wrap_async_generator__WEBPACK_IMPORTED_MODULE_10__._)(function() {
|
|
11396
11404
|
var _this, _o_withCredentials, _this1, xhr, o, request, lastIndex, buffer, queue, waitResolve, done, streamError, notify, processChunk, url, data, method, headers;
|
|
11397
|
-
return (0,
|
|
11405
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
11398
11406
|
switch(_state.label){
|
|
11399
11407
|
case 0:
|
|
11400
11408
|
_this = this;
|
|
@@ -11639,7 +11647,7 @@ var Ajax = /*#__PURE__*/ function() {
|
|
|
11639
11647
|
return Ajax;
|
|
11640
11648
|
}();
|
|
11641
11649
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__._)(Ajax, "log", []);
|
|
11642
|
-
(0,
|
|
11650
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
11643
11651
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_13__.autobind
|
|
11644
11652
|
], Ajax.prototype, "destruct", null);
|
|
11645
11653
|
|
|
@@ -11972,9 +11980,9 @@ function findCorrectCurrentNode(node, range, rightMode, isCollapsed, checkChild,
|
|
|
11972
11980
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25045);
|
|
11973
11981
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50684);
|
|
11974
11982
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42395);
|
|
11975
|
-
/* harmony import */ var
|
|
11976
|
-
/* harmony import */ var
|
|
11977
|
-
/* 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);
|
|
11978
11986
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
11979
11987
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
11980
11988
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
@@ -12630,7 +12638,7 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
12630
12638
|
}
|
|
12631
12639
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_11__.attr)(image, 'width', dw);
|
|
12632
12640
|
}
|
|
12633
|
-
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') {
|
|
12634
12642
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_11__.css)(image, styles);
|
|
12635
12643
|
}
|
|
12636
12644
|
var onload = function onload1() {
|
|
@@ -13130,7 +13138,7 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
13130
13138
|
* Wrap all selected fragments inside Tag or apply some callback
|
|
13131
13139
|
*/ function wrapInTagGen(fakes) {
|
|
13132
13140
|
var font, elms, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, font1, firstChild, lastChild, err;
|
|
13133
|
-
return (0,
|
|
13141
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_6__._)(this, function(_state) {
|
|
13134
13142
|
switch(_state.label){
|
|
13135
13143
|
case 0:
|
|
13136
13144
|
if (!this.isCollapsed()) return [
|
|
@@ -13453,19 +13461,19 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
13453
13461
|
]);
|
|
13454
13462
|
return Selection;
|
|
13455
13463
|
}();
|
|
13456
|
-
(0,
|
|
13464
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13457
13465
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13458
13466
|
], Selection.prototype, "createRange", null);
|
|
13459
|
-
(0,
|
|
13467
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13460
13468
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13461
13469
|
], Selection.prototype, "focus", null);
|
|
13462
|
-
(0,
|
|
13470
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13463
13471
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13464
13472
|
], Selection.prototype, "setCursorAfter", null);
|
|
13465
|
-
(0,
|
|
13473
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13466
13474
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13467
13475
|
], Selection.prototype, "setCursorBefore", null);
|
|
13468
|
-
(0,
|
|
13476
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
13469
13477
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
13470
13478
|
], Selection.prototype, "setCursorIn", null);
|
|
13471
13479
|
|
|
@@ -15233,8 +15241,8 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15233
15241
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
15234
15242
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
15235
15243
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50684);
|
|
15236
|
-
/* harmony import */ var
|
|
15237
|
-
/* 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);
|
|
15238
15246
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
15239
15247
|
/*!
|
|
15240
15248
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -15301,7 +15309,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15301
15309
|
*/ function performTransaction(mode, callback) {
|
|
15302
15310
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15303
15311
|
var db, transaction, store, request, error;
|
|
15304
|
-
return (0,
|
|
15312
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15305
15313
|
switch(_state.label){
|
|
15306
15314
|
case 0:
|
|
15307
15315
|
_state.trys.push([
|
|
@@ -15352,7 +15360,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15352
15360
|
value: function set(key, value) {
|
|
15353
15361
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15354
15362
|
var e;
|
|
15355
|
-
return (0,
|
|
15363
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15356
15364
|
switch(_state.label){
|
|
15357
15365
|
case 0:
|
|
15358
15366
|
_state.trys.push([
|
|
@@ -15397,7 +15405,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15397
15405
|
value: function _delete(key) {
|
|
15398
15406
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15399
15407
|
var unused;
|
|
15400
|
-
return (0,
|
|
15408
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15401
15409
|
switch(_state.label){
|
|
15402
15410
|
case 0:
|
|
15403
15411
|
_state.trys.push([
|
|
@@ -15439,7 +15447,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15439
15447
|
value: function get(key) {
|
|
15440
15448
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15441
15449
|
var unused;
|
|
15442
|
-
return (0,
|
|
15450
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15443
15451
|
switch(_state.label){
|
|
15444
15452
|
case 0:
|
|
15445
15453
|
_state.trys.push([
|
|
@@ -15479,7 +15487,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15479
15487
|
value: function exists(key) {
|
|
15480
15488
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15481
15489
|
var result, unused;
|
|
15482
|
-
return (0,
|
|
15490
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15483
15491
|
switch(_state.label){
|
|
15484
15492
|
case 0:
|
|
15485
15493
|
_state.trys.push([
|
|
@@ -15520,7 +15528,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15520
15528
|
value: function clear() {
|
|
15521
15529
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15522
15530
|
var unused;
|
|
15523
|
-
return (0,
|
|
15531
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15524
15532
|
switch(_state.label){
|
|
15525
15533
|
case 0:
|
|
15526
15534
|
_state.trys.push([
|
|
@@ -15564,7 +15572,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15564
15572
|
*/ function close() {
|
|
15565
15573
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15566
15574
|
var db, unused;
|
|
15567
|
-
return (0,
|
|
15575
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15568
15576
|
switch(_state.label){
|
|
15569
15577
|
case 0:
|
|
15570
15578
|
if (!this.dbPromise) return [
|
|
@@ -15615,7 +15623,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15615
15623
|
*/ function keys() {
|
|
15616
15624
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15617
15625
|
var result, unused;
|
|
15618
|
-
return (0,
|
|
15626
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15619
15627
|
switch(_state.label){
|
|
15620
15628
|
case 0:
|
|
15621
15629
|
_state.trys.push([
|
|
@@ -15632,7 +15640,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15632
15640
|
];
|
|
15633
15641
|
case 1:
|
|
15634
15642
|
result = _state.sent();
|
|
15635
|
-
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 [
|
|
15636
15644
|
3,
|
|
15637
15645
|
3
|
|
15638
15646
|
];
|
|
@@ -15672,7 +15680,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15672
15680
|
*/ function values() {
|
|
15673
15681
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15674
15682
|
var result, unused;
|
|
15675
|
-
return (0,
|
|
15683
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15676
15684
|
switch(_state.label){
|
|
15677
15685
|
case 0:
|
|
15678
15686
|
_state.trys.push([
|
|
@@ -15689,7 +15697,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15689
15697
|
];
|
|
15690
15698
|
case 1:
|
|
15691
15699
|
result = _state.sent();
|
|
15692
|
-
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 [
|
|
15693
15701
|
3,
|
|
15694
15702
|
3
|
|
15695
15703
|
];
|
|
@@ -15727,7 +15735,7 @@ var AsyncStorage = /*#__PURE__*/ function() {
|
|
|
15727
15735
|
*/ function entries() {
|
|
15728
15736
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15729
15737
|
var _ref, keys, values, unused;
|
|
15730
|
-
return (0,
|
|
15738
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15731
15739
|
switch(_state.label){
|
|
15732
15740
|
case 0:
|
|
15733
15741
|
_state.trys.push([
|
|
@@ -15784,7 +15792,7 @@ function clearUseIndexedDBCache() {
|
|
|
15784
15792
|
*/ function canUseIndexedDB() {
|
|
15785
15793
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
15786
15794
|
var tmpKey, request, unused;
|
|
15787
|
-
return (0,
|
|
15795
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_5__._)(this, function(_state) {
|
|
15788
15796
|
switch(_state.label){
|
|
15789
15797
|
case 0:
|
|
15790
15798
|
if (cachedResult != null) {
|
|
@@ -17230,8 +17238,8 @@ UITooltip = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)
|
|
|
17230
17238
|
/* harmony import */ var _swc_helpers_get__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22248);
|
|
17231
17239
|
/* harmony import */ var _swc_helpers_get_prototype_of__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66773);
|
|
17232
17240
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34918);
|
|
17233
|
-
/* harmony import */ var
|
|
17234
|
-
/* 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);
|
|
17235
17243
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(16964);
|
|
17236
17244
|
/* harmony import */ var jodit_core_decorators_derive_derive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(24968);
|
|
17237
17245
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(23211);
|
|
@@ -17336,7 +17344,7 @@ var UIElement = /*#__PURE__*/ function(ViewComponent) {
|
|
|
17336
17344
|
* Find match parent
|
|
17337
17345
|
*/ key: "closest",
|
|
17338
17346
|
value: function closest(type) {
|
|
17339
|
-
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) {
|
|
17340
17348
|
return pe === type;
|
|
17341
17349
|
} : function(pe) {
|
|
17342
17350
|
return jodit_core_component__WEBPACK_IMPORTED_MODULE_9__.Component.isInstanceOf(pe, type);
|
|
@@ -17440,7 +17448,7 @@ var UIElement = /*#__PURE__*/ function(ViewComponent) {
|
|
|
17440
17448
|
]);
|
|
17441
17449
|
return UIElement;
|
|
17442
17450
|
}(jodit_core_component__WEBPACK_IMPORTED_MODULE_9__.ViewComponent);
|
|
17443
|
-
UIElement = (0,
|
|
17451
|
+
UIElement = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
17444
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)
|
|
17445
17453
|
], UIElement);
|
|
17446
17454
|
|
|
@@ -28691,30 +28699,31 @@ var instance = function instance(j) {
|
|
|
28691
28699
|
/* harmony import */ var _swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41411);
|
|
28692
28700
|
/* harmony import */ var _swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(15366);
|
|
28693
28701
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(42395);
|
|
28694
|
-
/* harmony import */ var
|
|
28695
|
-
/* 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);
|
|
28696
28704
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(69364);
|
|
28697
|
-
/* harmony import */ var
|
|
28698
|
-
/* harmony import */ var
|
|
28699
|
-
/* harmony import */ var
|
|
28700
|
-
/* harmony import */ var
|
|
28701
|
-
/* harmony import */ var
|
|
28702
|
-
/* harmony import */ var
|
|
28703
|
-
/* harmony import */ var
|
|
28704
|
-
/* harmony import */ var
|
|
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
|
|
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);
|
|
28718
28727
|
/*!
|
|
28719
28728
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28720
28729
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28755,6 +28764,7 @@ var instance = function instance(j) {
|
|
|
28755
28764
|
|
|
28756
28765
|
|
|
28757
28766
|
|
|
28767
|
+
|
|
28758
28768
|
|
|
28759
28769
|
|
|
28760
28770
|
var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
@@ -28766,20 +28776,20 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28766
28776
|
var _this;
|
|
28767
28777
|
_this = (0,_swc_helpers_call_super__WEBPACK_IMPORTED_MODULE_0__._)(this, ToolbarButton, [
|
|
28768
28778
|
jodit
|
|
28769
|
-
]), (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)()), {
|
|
28770
28780
|
theme: 'toolbar',
|
|
28771
28781
|
currentValue: '',
|
|
28772
28782
|
hasTrigger: false
|
|
28773
28783
|
}), _this.openedPopup = null;
|
|
28774
28784
|
var button = _this.getElm('button');
|
|
28775
|
-
(0,
|
|
28785
|
+
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26__.assert)(button, 'Element button should exists');
|
|
28776
28786
|
_this.button = button;
|
|
28777
28787
|
Object.defineProperty(button, 'component', {
|
|
28778
28788
|
value: _this,
|
|
28779
28789
|
configurable: true
|
|
28780
28790
|
});
|
|
28781
28791
|
var trigger = _this.getElm('trigger');
|
|
28782
|
-
(0,
|
|
28792
|
+
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_26__.assert)(trigger, 'Element trigger should exists');
|
|
28783
28793
|
_this.trigger = trigger;
|
|
28784
28794
|
trigger.remove();
|
|
28785
28795
|
// Prevent lost focus
|
|
@@ -28820,7 +28830,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28820
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);
|
|
28821
28831
|
if (this.trigger) {
|
|
28822
28832
|
var i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
28823
|
-
(0,
|
|
28833
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
28824
28834
|
}
|
|
28825
28835
|
}
|
|
28826
28836
|
},
|
|
@@ -28829,7 +28839,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28829
28839
|
get: /**
|
|
28830
28840
|
* Get parent toolbar
|
|
28831
28841
|
*/ function get() {
|
|
28832
|
-
var ToolbarCollection = (0,
|
|
28842
|
+
var ToolbarCollection = (0,jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_16__.getComponentClass)('ToolbarCollection');
|
|
28833
28843
|
return this.closest(ToolbarCollection);
|
|
28834
28844
|
}
|
|
28835
28845
|
},
|
|
@@ -28857,7 +28867,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28857
28867
|
* Calculates whether the button is active
|
|
28858
28868
|
*/ function __calculateActivatedStatus(tc) {
|
|
28859
28869
|
var _this_control_isActive, _this_control;
|
|
28860
|
-
if ((0,
|
|
28870
|
+
if ((0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_21__.isJoditObject)(this.j) && !this.j.editorIsActive) {
|
|
28861
28871
|
return false;
|
|
28862
28872
|
}
|
|
28863
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)) {
|
|
@@ -28887,14 +28897,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28887
28897
|
{
|
|
28888
28898
|
key: "onChangeActivated",
|
|
28889
28899
|
value: function onChangeActivated() {
|
|
28890
|
-
(0,
|
|
28900
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
28891
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);
|
|
28892
28902
|
}
|
|
28893
28903
|
},
|
|
28894
28904
|
{
|
|
28895
28905
|
key: "onChangeText",
|
|
28896
28906
|
value: function onChangeText() {
|
|
28897
|
-
if ((0,
|
|
28907
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(this.control.template)) {
|
|
28898
28908
|
this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
|
|
28899
28909
|
} else {
|
|
28900
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);
|
|
@@ -28905,7 +28915,8 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28905
28915
|
{
|
|
28906
28916
|
key: "onChangeTabIndex",
|
|
28907
28917
|
value: function onChangeTabIndex() {
|
|
28908
|
-
(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);
|
|
28909
28920
|
}
|
|
28910
28921
|
},
|
|
28911
28922
|
{
|
|
@@ -28921,7 +28932,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28921
28932
|
configurable: true
|
|
28922
28933
|
});
|
|
28923
28934
|
container.appendChild(button);
|
|
28924
|
-
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>"));
|
|
28925
28936
|
// For caching
|
|
28926
28937
|
button.appendChild(trigger);
|
|
28927
28938
|
return container;
|
|
@@ -28940,7 +28951,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28940
28951
|
if (this.state.hasTrigger) {
|
|
28941
28952
|
this.container.appendChild(this.trigger);
|
|
28942
28953
|
} else {
|
|
28943
|
-
|
|
28954
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_18__.Dom.safeRemove(this.trigger);
|
|
28944
28955
|
}
|
|
28945
28956
|
this.setMod('with-trigger', this.state.hasTrigger || null);
|
|
28946
28957
|
}
|
|
@@ -28949,9 +28960,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28949
28960
|
key: "onChangeDisabled",
|
|
28950
28961
|
value: /** @override */ function onChangeDisabled() {
|
|
28951
28962
|
var disabled = this.state.disabled ? 'disabled' : null;
|
|
28952
|
-
(0,
|
|
28953
|
-
(0,
|
|
28954
|
-
(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);
|
|
28955
28966
|
}
|
|
28956
28967
|
},
|
|
28957
28968
|
{
|
|
@@ -28964,7 +28975,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28964
28975
|
state.name = ctr.name;
|
|
28965
28976
|
this.__initIconFromControl();
|
|
28966
28977
|
if (ctr.tooltip) {
|
|
28967
|
-
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;
|
|
28968
28979
|
}
|
|
28969
28980
|
state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
|
|
28970
28981
|
}
|
|
@@ -28974,12 +28985,12 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28974
28985
|
value: function __initIconFromControl() {
|
|
28975
28986
|
var _this = this, ctr = _this.control, state = _this.state;
|
|
28976
28987
|
var textIcons = this.j.o.textIcons;
|
|
28977
|
-
if (textIcons === true || (0,
|
|
28978
|
-
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;
|
|
28979
28990
|
state.text = ctr.text || ctr.name;
|
|
28980
28991
|
return;
|
|
28981
28992
|
}
|
|
28982
|
-
if (!(0,
|
|
28993
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(ctr.icon) && ctr.icon != null) {
|
|
28983
28994
|
state.icon = {
|
|
28984
28995
|
name: ctr.icon.name || ctr.name,
|
|
28985
28996
|
iconURL: ctr.icon.iconURL || '',
|
|
@@ -28993,7 +29004,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
28993
29004
|
} else {
|
|
28994
29005
|
var _this_j_o_extraIcons;
|
|
28995
29006
|
var name = ctr.icon || ctr.name;
|
|
28996
|
-
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 : '';
|
|
28997
29008
|
}
|
|
28998
29009
|
if (!ctr.iconURL && !state.icon.name) {
|
|
28999
29010
|
state.text = ctr.text || ctr.name;
|
|
@@ -29011,25 +29022,25 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29011
29022
|
return;
|
|
29012
29023
|
}
|
|
29013
29024
|
var _this1 = this, ctr = _this1.control;
|
|
29014
|
-
(0,
|
|
29025
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'aria-expanded', true);
|
|
29015
29026
|
e.buffer = {
|
|
29016
29027
|
actionTrigger: this
|
|
29017
29028
|
};
|
|
29018
29029
|
if (ctr.list) {
|
|
29019
29030
|
return this.__openControlList(ctr);
|
|
29020
29031
|
}
|
|
29021
|
-
if ((0,
|
|
29032
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.popup)) {
|
|
29022
29033
|
var popup = this.openPopup();
|
|
29023
29034
|
popup.parentElement = this;
|
|
29024
29035
|
try {
|
|
29025
|
-
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) {
|
|
29026
29037
|
var _ref, _ref1;
|
|
29027
29038
|
var _this_toolbar;
|
|
29028
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;
|
|
29029
29040
|
var elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
29030
29041
|
if (elm) {
|
|
29031
|
-
popup.setContent((0,
|
|
29032
|
-
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);
|
|
29033
29044
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
29034
29045
|
} else {
|
|
29035
29046
|
this.__closePopup();
|
|
@@ -29043,10 +29054,24 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29043
29054
|
* Fired after the popup was opened for some control button
|
|
29044
29055
|
*/ /**
|
|
29045
29056
|
* Close all opened popups
|
|
29046
|
-
*/ 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);
|
|
29047
29058
|
}
|
|
29048
29059
|
}
|
|
29049
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;
|
|
29070
|
+
}
|
|
29071
|
+
e.preventDefault();
|
|
29072
|
+
this.trigger.click();
|
|
29073
|
+
}
|
|
29074
|
+
},
|
|
29050
29075
|
{
|
|
29051
29076
|
key: "__openControlList",
|
|
29052
29077
|
value: /**
|
|
@@ -29055,27 +29080,27 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29055
29080
|
var _this = this;
|
|
29056
29081
|
var _this_jodit_options_controls;
|
|
29057
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) {
|
|
29058
|
-
return (0,
|
|
29083
|
+
return (0,jodit_core_ui_helpers_get_control_type__WEBPACK_IMPORTED_MODULE_30__.findControlType)(key, controls);
|
|
29059
29084
|
};
|
|
29060
29085
|
var list = control.list;
|
|
29061
29086
|
var menu = this.openPopup();
|
|
29062
|
-
var toolbar = (0,
|
|
29087
|
+
var toolbar = (0,_factory__WEBPACK_IMPORTED_MODULE_33__.makeCollection)(this.j);
|
|
29063
29088
|
menu.parentElement = this;
|
|
29064
29089
|
toolbar.parentElement = menu;
|
|
29065
29090
|
toolbar.mode = 'vertical';
|
|
29066
29091
|
var isListItem = function isListItem(key) {
|
|
29067
|
-
return (0,
|
|
29092
|
+
return (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_22__.isPlainObject)(key) && 'title' in key && 'value' in key;
|
|
29068
29093
|
};
|
|
29069
29094
|
var getButton = function getButton(key, value) {
|
|
29070
|
-
if ((0,
|
|
29095
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(value) && getControl(value)) {
|
|
29071
29096
|
return (0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__._)({
|
|
29072
29097
|
name: value.toString()
|
|
29073
29098
|
}, getControl(value));
|
|
29074
29099
|
}
|
|
29075
|
-
if ((0,
|
|
29100
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(key) && getControl(key)) {
|
|
29076
29101
|
return (0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_7__._)({
|
|
29077
29102
|
name: key.toString()
|
|
29078
|
-
}, 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 : {});
|
|
29079
29104
|
}
|
|
29080
29105
|
if (isListItem(key)) {
|
|
29081
29106
|
value = key.value;
|
|
@@ -29104,16 +29129,16 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29104
29129
|
value
|
|
29105
29130
|
])
|
|
29106
29131
|
};
|
|
29107
|
-
if ((0,
|
|
29132
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_23__.isString)(value)) {
|
|
29108
29133
|
childControl.text = value;
|
|
29109
29134
|
}
|
|
29110
29135
|
return childControl;
|
|
29111
29136
|
};
|
|
29112
|
-
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) {
|
|
29113
29138
|
return getButton(key, list[key]);
|
|
29114
29139
|
}), this.target);
|
|
29115
29140
|
menu.setContent(toolbar).open(function() {
|
|
29116
|
-
return (0,
|
|
29141
|
+
return (0,jodit_core_helpers_size__WEBPACK_IMPORTED_MODULE_24__.position)(_this.container);
|
|
29117
29142
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
29118
29143
|
this.state.activated = true;
|
|
29119
29144
|
}
|
|
@@ -29124,7 +29149,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29124
29149
|
if (!this.openedPopup) {
|
|
29125
29150
|
return;
|
|
29126
29151
|
}
|
|
29127
|
-
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)) {
|
|
29128
29153
|
this.__closePopup();
|
|
29129
29154
|
}
|
|
29130
29155
|
}
|
|
@@ -29133,7 +29158,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29133
29158
|
key: "openPopup",
|
|
29134
29159
|
value: function openPopup() {
|
|
29135
29160
|
this.__closePopup();
|
|
29136
|
-
this.openedPopup = new
|
|
29161
|
+
this.openedPopup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_32__.Popup(this.j, false);
|
|
29137
29162
|
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick);
|
|
29138
29163
|
return this.openedPopup;
|
|
29139
29164
|
}
|
|
@@ -29148,7 +29173,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29148
29173
|
this.openedPopup.destruct();
|
|
29149
29174
|
this.openedPopup = null;
|
|
29150
29175
|
if (this.trigger) {
|
|
29151
|
-
(0,
|
|
29176
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_27__.attr)(this.trigger, 'aria-expanded', false);
|
|
29152
29177
|
}
|
|
29153
29178
|
}
|
|
29154
29179
|
}
|
|
@@ -29159,7 +29184,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29159
29184
|
* Click handler
|
|
29160
29185
|
*/ function onClick(originalEvent) {
|
|
29161
29186
|
var _this = this, ctr = _this.control;
|
|
29162
|
-
if ((0,
|
|
29187
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.exec)) {
|
|
29163
29188
|
var _ref, _ref1;
|
|
29164
29189
|
var _this_toolbar;
|
|
29165
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;
|
|
@@ -29186,11 +29211,11 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29186
29211
|
if (ctr.list) {
|
|
29187
29212
|
return this.__openControlList(ctr);
|
|
29188
29213
|
}
|
|
29189
|
-
if ((0,
|
|
29214
|
+
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_20__.isFunction)(ctr.popup)) {
|
|
29190
29215
|
return this.onTriggerClick(originalEvent);
|
|
29191
29216
|
}
|
|
29192
29217
|
if (ctr.command || ctr.name) {
|
|
29193
|
-
(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]);
|
|
29194
29219
|
this.j.e.fire('closeAllPopups');
|
|
29195
29220
|
}
|
|
29196
29221
|
}
|
|
@@ -29204,26 +29229,29 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
29204
29229
|
}
|
|
29205
29230
|
]);
|
|
29206
29231
|
return ToolbarButton;
|
|
29207
|
-
}(
|
|
29208
|
-
(0,
|
|
29209
|
-
|
|
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
|
|
29210
29235
|
], ToolbarButton.prototype, "createContainer", null);
|
|
29211
|
-
(0,
|
|
29212
|
-
(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', {
|
|
29213
29238
|
immediately: false
|
|
29214
29239
|
})
|
|
29215
29240
|
], ToolbarButton.prototype, "onChangeHasTrigger", null);
|
|
29216
|
-
(0,
|
|
29217
|
-
(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')
|
|
29218
29243
|
], ToolbarButton.prototype, "onTriggerClick", null);
|
|
29219
|
-
(0,
|
|
29220
|
-
|
|
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
|
|
29221
29249
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
29222
|
-
(0,
|
|
29223
|
-
|
|
29250
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29251
|
+
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_14__.autobind
|
|
29224
29252
|
], ToolbarButton.prototype, "__closePopup", null);
|
|
29225
|
-
ToolbarButton = (0,
|
|
29226
|
-
|
|
29253
|
+
ToolbarButton = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_10__.__decorate)([
|
|
29254
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_16__.component
|
|
29227
29255
|
], ToolbarButton);
|
|
29228
29256
|
|
|
29229
29257
|
|
|
@@ -31172,8 +31200,8 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__.Icon.set('about', (_about_svg__W
|
|
|
31172
31200
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
31173
31201
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
31174
31202
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
31175
|
-
/* harmony import */ var
|
|
31176
|
-
/* 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);
|
|
31177
31205
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
31178
31206
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
31179
31207
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(65946);
|
|
@@ -31394,17 +31422,17 @@ var ns = 'addnewline';
|
|
|
31394
31422
|
}
|
|
31395
31423
|
]);
|
|
31396
31424
|
return addNewLine;
|
|
31397
|
-
}((0,
|
|
31398
|
-
(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)([
|
|
31399
31427
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':lock')
|
|
31400
31428
|
], addNewLine.prototype, "onLock", null);
|
|
31401
|
-
(0,
|
|
31429
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31402
31430
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
31403
31431
|
], addNewLine.prototype, "__hide", null);
|
|
31404
|
-
(0,
|
|
31432
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31405
31433
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':dblclick')
|
|
31406
31434
|
], addNewLine.prototype, "onDblClickEditor", null);
|
|
31407
|
-
(0,
|
|
31435
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
31408
31436
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.throttle)(function(ctx) {
|
|
31409
31437
|
return ctx.defaultTimeout;
|
|
31410
31438
|
})
|
|
@@ -31458,9 +31486,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
31458
31486
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53429);
|
|
31459
31487
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
31460
31488
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34918);
|
|
31461
|
-
/* harmony import */ var
|
|
31462
|
-
/* harmony import */ var
|
|
31463
|
-
/* 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);
|
|
31464
31492
|
/* harmony import */ var jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(51676);
|
|
31465
31493
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(68616);
|
|
31466
31494
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(28077);
|
|
@@ -31579,7 +31607,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
31579
31607
|
jodit.async.promise(function(resolve, reject) {
|
|
31580
31608
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
31581
31609
|
var result, error;
|
|
31582
|
-
return (0,
|
|
31610
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_7__._)(this, function(_state) {
|
|
31583
31611
|
switch(_state.label){
|
|
31584
31612
|
case 0:
|
|
31585
31613
|
_state.trys.push([
|
|
@@ -31634,17 +31662,17 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
31634
31662
|
}
|
|
31635
31663
|
]);
|
|
31636
31664
|
return aiAssistant;
|
|
31637
|
-
}((0,
|
|
31638
|
-
(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)([
|
|
31639
31667
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
31640
31668
|
], aiAssistant.prototype, "__dialog", null);
|
|
31641
|
-
(0,
|
|
31669
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31642
31670
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
31643
31671
|
], aiAssistant.prototype, "__container", null);
|
|
31644
|
-
(0,
|
|
31672
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31645
31673
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_10__.watch)(':generateAiAssistantForm.ai-assistant')
|
|
31646
31674
|
], aiAssistant.prototype, "onGenerateAiAssistantForm", null);
|
|
31647
|
-
(0,
|
|
31675
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
31648
31676
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_10__.watch)(':invokeAiAssistant')
|
|
31649
31677
|
], aiAssistant.prototype, "onInvokeAiAssistant", null);
|
|
31650
31678
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('ai-assistant', aiAssistant);
|
|
@@ -33411,8 +33439,8 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_10__.Icon.set('class-span', (_class_
|
|
|
33411
33439
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
33412
33440
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
33413
33441
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50684);
|
|
33414
|
-
/* harmony import */ var
|
|
33415
|
-
/* 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);
|
|
33416
33444
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
33417
33445
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
33418
33446
|
/* harmony import */ var jodit_core_dom_lazy_walker__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1080);
|
|
@@ -33570,8 +33598,8 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_10__.Icon.set('class-span', (_class_
|
|
|
33570
33598
|
}
|
|
33571
33599
|
]);
|
|
33572
33600
|
return cleanHtml;
|
|
33573
|
-
}((0,
|
|
33574
|
-
(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)([
|
|
33575
33603
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
33576
33604
|
':change',
|
|
33577
33605
|
':afterSetMode',
|
|
@@ -33580,19 +33608,19 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_10__.Icon.set('class-span', (_class_
|
|
|
33580
33608
|
':keydown'
|
|
33581
33609
|
])
|
|
33582
33610
|
], cleanHtml.prototype, "onChangeCleanHTML", null);
|
|
33583
|
-
(0,
|
|
33611
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33584
33612
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.hook)('ready')
|
|
33585
33613
|
], cleanHtml.prototype, "startWalker", null);
|
|
33586
|
-
(0,
|
|
33614
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33587
33615
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeCommand')
|
|
33588
33616
|
], cleanHtml.prototype, "beforeCommand", null);
|
|
33589
|
-
(0,
|
|
33617
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33590
33618
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeSetNativeEditorValue')
|
|
33591
33619
|
], cleanHtml.prototype, "onBeforeSetNativeEditorValue", null);
|
|
33592
|
-
(0,
|
|
33620
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33593
33621
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':afterGetValueFromEditor')
|
|
33594
33622
|
], cleanHtml.prototype, "onAfterGetValueFromEditor", null);
|
|
33595
|
-
(0,
|
|
33623
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
33596
33624
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':safeHTML')
|
|
33597
33625
|
], cleanHtml.prototype, "onSafeHTML", null);
|
|
33598
33626
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('cleanHtml', cleanHtml);
|
|
@@ -35745,8 +35773,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.draggableTags = [
|
|
|
35745
35773
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
35746
35774
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
35747
35775
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
35748
|
-
/* harmony import */ var
|
|
35749
|
-
/* 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);
|
|
35750
35778
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
35751
35779
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
35752
35780
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -36003,22 +36031,22 @@ var DragState = /*#__PURE__*/ function(DragState) {
|
|
|
36003
36031
|
}
|
|
36004
36032
|
]);
|
|
36005
36033
|
return dragAndDropElement;
|
|
36006
|
-
}((0,
|
|
36007
|
-
(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)([
|
|
36008
36036
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36009
36037
|
], dragAndDropElement.prototype, "onStartDragElement", null);
|
|
36010
|
-
(0,
|
|
36038
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36011
36039
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36012
36040
|
], dragAndDropElement.prototype, "onDragStart", null);
|
|
36013
|
-
(0,
|
|
36041
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36014
36042
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.throttle)(function(ctx) {
|
|
36015
36043
|
return ctx.defaultTimeout / 10;
|
|
36016
36044
|
})
|
|
36017
36045
|
], dragAndDropElement.prototype, "onDrag", null);
|
|
36018
|
-
(0,
|
|
36046
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36019
36047
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36020
36048
|
], dragAndDropElement.prototype, "onDragEnd", null);
|
|
36021
|
-
(0,
|
|
36049
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
36022
36050
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
36023
36051
|
], dragAndDropElement.prototype, "onDrop", null);
|
|
36024
36052
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('dragAndDropElement', dragAndDropElement);
|
|
@@ -36037,8 +36065,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('dragAndDropElem
|
|
|
36037
36065
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
36038
36066
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
36039
36067
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50684);
|
|
36040
|
-
/* harmony import */ var
|
|
36041
|
-
/* 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);
|
|
36042
36070
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
36043
36071
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
36044
36072
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
@@ -36243,19 +36271,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('dragAndDropElem
|
|
|
36243
36271
|
}
|
|
36244
36272
|
]);
|
|
36245
36273
|
return dragAndDrop;
|
|
36246
|
-
}((0,
|
|
36247
|
-
(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)([
|
|
36248
36276
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
36249
36277
|
], dragAndDrop.prototype, "onDragStart", null);
|
|
36250
|
-
(0,
|
|
36278
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36251
36279
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.throttle)(function(ctx) {
|
|
36252
36280
|
return ctx.defaultTimeout / 10;
|
|
36253
36281
|
})
|
|
36254
36282
|
], dragAndDrop.prototype, "onDrag", null);
|
|
36255
|
-
(0,
|
|
36283
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36256
36284
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
36257
36285
|
], dragAndDrop.prototype, "onDragEnd", null);
|
|
36258
|
-
(0,
|
|
36286
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
36259
36287
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
36260
36288
|
], dragAndDrop.prototype, "onDrop", null);
|
|
36261
36289
|
/**
|
|
@@ -36467,8 +36495,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.dtd = {
|
|
|
36467
36495
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
36468
36496
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
36469
36497
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
36470
|
-
/* harmony import */ var
|
|
36471
|
-
/* 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);
|
|
36472
36500
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(68616);
|
|
36473
36501
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28077);
|
|
36474
36502
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(91206);
|
|
@@ -36533,11 +36561,11 @@ var dtd = /*#__PURE__*/ function(Plugin) {
|
|
|
36533
36561
|
}
|
|
36534
36562
|
]);
|
|
36535
36563
|
return dtd;
|
|
36536
|
-
}((0,
|
|
36537
|
-
(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)([
|
|
36538
36566
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__.watch)(':beforeInsertNode')
|
|
36539
36567
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
36540
|
-
(0,
|
|
36568
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
36541
36569
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__.watch)(':afterInsertNode')
|
|
36542
36570
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
36543
36571
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_7__.pluginSystem.add('dtd', dtd);
|
|
@@ -36554,8 +36582,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_7__.pluginSystem.add('dtd', dtd);
|
|
|
36554
36582
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
36555
36583
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
36556
36584
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
36557
|
-
/* harmony import */ var
|
|
36558
|
-
/* 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);
|
|
36559
36587
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
36560
36588
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
36561
36589
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23211);
|
|
@@ -36691,8 +36719,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_7__.pluginSystem.add('dtd', dtd);
|
|
|
36691
36719
|
}
|
|
36692
36720
|
]);
|
|
36693
36721
|
return enter;
|
|
36694
|
-
}((0,
|
|
36695
|
-
(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)([
|
|
36696
36724
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':keydown.enter')
|
|
36697
36725
|
], enter.prototype, "onEnterKeyDown", null);
|
|
36698
36726
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('enter', enter);
|
|
@@ -38304,9 +38332,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.imageProcessor = {
|
|
|
38304
38332
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73104);
|
|
38305
38333
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53429);
|
|
38306
38334
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
38307
|
-
/* harmony import */ var
|
|
38308
|
-
/* harmony import */ var
|
|
38309
|
-
/* 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);
|
|
38310
38338
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
38311
38339
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
38312
38340
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(28077);
|
|
@@ -38430,7 +38458,7 @@ var JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
|
|
|
38430
38458
|
value: function afterChange(data) {
|
|
38431
38459
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
38432
38460
|
var _this, editor;
|
|
38433
|
-
return (0,
|
|
38461
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_6__._)(this, function(_state) {
|
|
38434
38462
|
_this = this, editor = _this.jodit;
|
|
38435
38463
|
if (!editor.editor) {
|
|
38436
38464
|
return [
|
|
@@ -38464,14 +38492,14 @@ var JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
|
|
|
38464
38492
|
}
|
|
38465
38493
|
]);
|
|
38466
38494
|
return imageProcessor;
|
|
38467
|
-
}((0,
|
|
38468
|
-
(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)([
|
|
38469
38497
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':afterGetValueFromEditor')
|
|
38470
38498
|
], imageProcessor.prototype, "onAfterGetValueFromEditor", null);
|
|
38471
|
-
(0,
|
|
38499
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
38472
38500
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':beforeSetElementValue')
|
|
38473
38501
|
], imageProcessor.prototype, "onBeforeSetElementValue", null);
|
|
38474
|
-
(0,
|
|
38502
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
38475
38503
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)([
|
|
38476
38504
|
':change',
|
|
38477
38505
|
':afterInit',
|
|
@@ -38567,9 +38595,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
38567
38595
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53429);
|
|
38568
38596
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
38569
38597
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34918);
|
|
38570
|
-
/* harmony import */ var
|
|
38571
|
-
/* harmony import */ var
|
|
38572
|
-
/* 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);
|
|
38573
38601
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
38574
38602
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
38575
38603
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(28077);
|
|
@@ -38827,7 +38855,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
38827
38855
|
value: function onStateValuesImageSrcChange() {
|
|
38828
38856
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
38829
38857
|
var _this_state, image, values, e, w, e1;
|
|
38830
|
-
return (0,
|
|
38858
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_7__._)(this, function(_state) {
|
|
38831
38859
|
switch(_state.label){
|
|
38832
38860
|
case 0:
|
|
38833
38861
|
_this_state = this.state, image = _this_state.image, values = _this_state.values;
|
|
@@ -38916,17 +38944,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
38916
38944
|
}
|
|
38917
38945
|
]);
|
|
38918
38946
|
return imageProperties;
|
|
38919
|
-
}((0,
|
|
38920
|
-
(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)([
|
|
38921
38949
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
38922
38950
|
], imageProperties.prototype, "form", null);
|
|
38923
|
-
(0,
|
|
38951
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38924
38952
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
38925
38953
|
], imageProperties.prototype, "dialog", null);
|
|
38926
|
-
(0,
|
|
38954
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38927
38955
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.cache
|
|
38928
38956
|
], imageProperties.prototype, "__buttons", null);
|
|
38929
|
-
(0,
|
|
38957
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
38930
38958
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)('state.image')
|
|
38931
38959
|
], imageProperties.prototype, "onStateValuesImageSrcChange", null);
|
|
38932
38960
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('imageProperties', imageProperties);
|
|
@@ -41256,8 +41284,8 @@ var align = {
|
|
|
41256
41284
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
41257
41285
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
41258
41286
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
41259
|
-
/* harmony import */ var
|
|
41260
|
-
/* 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);
|
|
41261
41289
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
41262
41290
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
41263
41291
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -41606,25 +41634,25 @@ var align = {
|
|
|
41606
41634
|
}
|
|
41607
41635
|
]);
|
|
41608
41636
|
return inlinePopup;
|
|
41609
|
-
}((0,
|
|
41637
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
41610
41638
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(inlinePopup, "requires", [
|
|
41611
41639
|
'select'
|
|
41612
41640
|
]);
|
|
41613
|
-
(0,
|
|
41641
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41614
41642
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.cache
|
|
41615
41643
|
], inlinePopup.prototype, "popup", null);
|
|
41616
|
-
(0,
|
|
41644
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41617
41645
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.cache
|
|
41618
41646
|
], inlinePopup.prototype, "toolbar", null);
|
|
41619
|
-
(0,
|
|
41647
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41620
41648
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41621
41649
|
], inlinePopup.prototype, "onClick", null);
|
|
41622
|
-
(0,
|
|
41650
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41623
41651
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.wait)(function(ctx) {
|
|
41624
41652
|
return !ctx.j.isLocked;
|
|
41625
41653
|
})
|
|
41626
41654
|
], inlinePopup.prototype, "showPopup", null);
|
|
41627
|
-
(0,
|
|
41655
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41628
41656
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)([
|
|
41629
41657
|
':clickEditor',
|
|
41630
41658
|
':beforeCommandDelete',
|
|
@@ -41632,27 +41660,27 @@ var align = {
|
|
|
41632
41660
|
]),
|
|
41633
41661
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41634
41662
|
], inlinePopup.prototype, "hidePopup", null);
|
|
41635
|
-
(0,
|
|
41663
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41636
41664
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':outsideClick')
|
|
41637
41665
|
], inlinePopup.prototype, "onOutsideClick", null);
|
|
41638
|
-
(0,
|
|
41666
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41639
41667
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41640
41668
|
], inlinePopup.prototype, "__onDocumentMouseDown", null);
|
|
41641
|
-
(0,
|
|
41669
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41642
41670
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41643
41671
|
], inlinePopup.prototype, "__onCloseAllPopups", null);
|
|
41644
|
-
(0,
|
|
41672
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41645
41673
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41646
41674
|
], inlinePopup.prototype, "onSelectionStart", null);
|
|
41647
|
-
(0,
|
|
41675
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41648
41676
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41649
41677
|
], inlinePopup.prototype, "onSelectionEnd", null);
|
|
41650
|
-
(0,
|
|
41678
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41651
41679
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.debounce)(function(ctx) {
|
|
41652
41680
|
return ctx.defaultTimeout;
|
|
41653
41681
|
})
|
|
41654
41682
|
], inlinePopup.prototype, "onSelectionChange", null);
|
|
41655
|
-
(0,
|
|
41683
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
41656
41684
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
41657
41685
|
], inlinePopup.prototype, "showInlineToolbar", null);
|
|
41658
41686
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('inlinePopup', inlinePopup);
|
|
@@ -41804,8 +41832,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('justify', justi
|
|
|
41804
41832
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
41805
41833
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
41806
41834
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
41807
|
-
/* harmony import */ var
|
|
41808
|
-
/* 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);
|
|
41809
41837
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
41810
41838
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
41811
41839
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23211);
|
|
@@ -41869,8 +41897,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('justify', justi
|
|
|
41869
41897
|
}
|
|
41870
41898
|
]);
|
|
41871
41899
|
return keyArrowOutside;
|
|
41872
|
-
}((0,
|
|
41873
|
-
(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)([
|
|
41874
41902
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':keydown')
|
|
41875
41903
|
], keyArrowOutside.prototype, "onKeyDownArrow", null);
|
|
41876
41904
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('keyArrowOutside', keyArrowOutside);
|
|
@@ -41906,8 +41934,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.limitHTML = false;
|
|
|
41906
41934
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
41907
41935
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
41908
41936
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
41909
|
-
/* harmony import */ var
|
|
41910
|
-
/* 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);
|
|
41911
41939
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
41912
41940
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
41913
41941
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
@@ -42032,11 +42060,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.limitHTML = false;
|
|
|
42032
42060
|
}
|
|
42033
42061
|
]);
|
|
42034
42062
|
return limit;
|
|
42035
|
-
}((0,
|
|
42036
|
-
(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)([
|
|
42037
42065
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
42038
42066
|
], limit.prototype, "checkPreventKeyPressOrPaste", null);
|
|
42039
|
-
(0,
|
|
42067
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
42040
42068
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
42041
42069
|
], limit.prototype, "checkPreventChanging", null);
|
|
42042
42070
|
function isGt(a, b, strict) {
|
|
@@ -42536,8 +42564,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42536
42564
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
42537
42565
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
42538
42566
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
42539
|
-
/* harmony import */ var
|
|
42540
|
-
/* 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);
|
|
42541
42569
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
42542
42570
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23211);
|
|
42543
42571
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -42638,8 +42666,8 @@ var lineHeight = /*#__PURE__*/ function(Plugin) {
|
|
|
42638
42666
|
}
|
|
42639
42667
|
]);
|
|
42640
42668
|
return lineHeight;
|
|
42641
|
-
}((0,
|
|
42642
|
-
(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)([
|
|
42643
42671
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
42644
42672
|
], lineHeight.prototype, "applyLineHeight", null);
|
|
42645
42673
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('lineHeight', lineHeight);
|
|
@@ -42730,8 +42758,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
42730
42758
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
42731
42759
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
42732
42760
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
42733
|
-
/* harmony import */ var
|
|
42734
|
-
/* 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);
|
|
42735
42763
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
42736
42764
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
42737
42765
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -43034,17 +43062,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
43034
43062
|
}
|
|
43035
43063
|
]);
|
|
43036
43064
|
return link;
|
|
43037
|
-
}((0,
|
|
43038
|
-
(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)([
|
|
43039
43067
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43040
43068
|
], link.prototype, "__onDblClickOnLink", null);
|
|
43041
|
-
(0,
|
|
43069
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43042
43070
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43043
43071
|
], link.prototype, "onProcessPasteLink", null);
|
|
43044
|
-
(0,
|
|
43072
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43045
43073
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43046
43074
|
], link.prototype, "__generateForm", null);
|
|
43047
|
-
(0,
|
|
43075
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43048
43076
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43049
43077
|
], link.prototype, "__onClickReadOnlyLink", null);
|
|
43050
43078
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('link', link);
|
|
@@ -43764,8 +43792,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.ol = {
|
|
|
43764
43792
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
43765
43793
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
43766
43794
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
43767
|
-
/* harmony import */ var
|
|
43768
|
-
/* 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);
|
|
43769
43797
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
43770
43798
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
43771
43799
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91206);
|
|
@@ -43837,8 +43865,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.ol = {
|
|
|
43837
43865
|
}
|
|
43838
43866
|
]);
|
|
43839
43867
|
return orderedList;
|
|
43840
|
-
}((0,
|
|
43841
|
-
(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)([
|
|
43842
43870
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
43843
43871
|
], orderedList.prototype, "onCommand", null);
|
|
43844
43872
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('orderedList', orderedList);
|
|
@@ -43891,8 +43919,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.pasteFromWordActionLi
|
|
|
43891
43919
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
43892
43920
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
43893
43921
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
43894
|
-
/* harmony import */ var
|
|
43895
|
-
/* 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);
|
|
43896
43924
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
43897
43925
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
43898
43926
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -43990,11 +44018,11 @@ var pasteFromWord = /*#__PURE__*/ function(Plugin) {
|
|
|
43990
44018
|
}
|
|
43991
44019
|
]);
|
|
43992
44020
|
return pasteFromWord;
|
|
43993
|
-
}((0,
|
|
44021
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
43994
44022
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(pasteFromWord, "requires", [
|
|
43995
44023
|
'paste'
|
|
43996
44024
|
]);
|
|
43997
|
-
(0,
|
|
44025
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
43998
44026
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':processHTML')
|
|
43999
44027
|
], pasteFromWord.prototype, "processWordHTML", null);
|
|
44000
44028
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('pasteFromWord', pasteFromWord);
|
|
@@ -44532,8 +44560,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.paste = {
|
|
|
44532
44560
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
44533
44561
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
44534
44562
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
44535
|
-
/* harmony import */ var
|
|
44536
|
-
/* 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);
|
|
44537
44565
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
44538
44566
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
44539
44567
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -44760,11 +44788,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.paste = {
|
|
|
44760
44788
|
}
|
|
44761
44789
|
]);
|
|
44762
44790
|
return paste;
|
|
44763
|
-
}((0,
|
|
44764
|
-
(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)([
|
|
44765
44793
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
44766
44794
|
], paste.prototype, "onPaste", null);
|
|
44767
|
-
(0,
|
|
44795
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
44768
44796
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
44769
44797
|
], paste.prototype, "onProcessPasteReplaceNl2Br", null);
|
|
44770
44798
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('paste', paste);
|
|
@@ -44801,8 +44829,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
44801
44829
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
44802
44830
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
44803
44831
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
44804
|
-
/* harmony import */ var
|
|
44805
|
-
/* 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);
|
|
44806
44834
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
44807
44835
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
44808
44836
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -44972,8 +45000,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
44972
45000
|
}
|
|
44973
45001
|
]);
|
|
44974
45002
|
return placeholder;
|
|
44975
|
-
}((0,
|
|
44976
|
-
(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)([
|
|
44977
45005
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.debounce)(function(ctx) {
|
|
44978
45006
|
return ctx.defaultTimeout / 10;
|
|
44979
45007
|
}, true)
|
|
@@ -45403,8 +45431,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellResize
|
|
|
45403
45431
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
45404
45432
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
45405
45433
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
45406
|
-
/* harmony import */ var
|
|
45407
|
-
/* 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);
|
|
45408
45436
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
45409
45437
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
45410
45438
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -45724,17 +45752,17 @@ var key = 'table_processor_observer-resize';
|
|
|
45724
45752
|
}
|
|
45725
45753
|
]);
|
|
45726
45754
|
return resizeCells;
|
|
45727
|
-
}((0,
|
|
45728
|
-
(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)([
|
|
45729
45757
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45730
45758
|
], resizeCells.prototype, "onHandleMouseDown", null);
|
|
45731
|
-
(0,
|
|
45759
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45732
45760
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45733
45761
|
], resizeCells.prototype, "onMouseMove", null);
|
|
45734
|
-
(0,
|
|
45762
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45735
45763
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45736
45764
|
], resizeCells.prototype, "onMouseUp", null);
|
|
45737
|
-
(0,
|
|
45765
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45738
45766
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
45739
45767
|
], resizeCells.prototype, "observe", null);
|
|
45740
45768
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('resizeCells', resizeCells);
|
|
@@ -45770,8 +45798,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.allowResizeY = true;
|
|
|
45770
45798
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
45771
45799
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
45772
45800
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
45773
|
-
/* harmony import */ var
|
|
45774
|
-
/* 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);
|
|
45775
45803
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
45776
45804
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
45777
45805
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -45904,17 +45932,17 @@ var resizeHandler = /*#__PURE__*/ function(Plugin) {
|
|
|
45904
45932
|
}
|
|
45905
45933
|
]);
|
|
45906
45934
|
return resizeHandler;
|
|
45907
|
-
}((0,
|
|
45935
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
45908
45936
|
/** @override **/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(resizeHandler, "requires", [
|
|
45909
45937
|
'size'
|
|
45910
45938
|
]);
|
|
45911
|
-
(0,
|
|
45939
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45912
45940
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
45913
45941
|
], resizeHandler.prototype, "onHandleResizeStart", null);
|
|
45914
|
-
(0,
|
|
45942
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45915
45943
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
45916
45944
|
], resizeHandler.prototype, "onHandleResize", null);
|
|
45917
|
-
(0,
|
|
45945
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
45918
45946
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
45919
45947
|
], resizeHandler.prototype, "onHandleResizeEnd", null);
|
|
45920
45948
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_9__.pluginSystem.add('resizeHandler', resizeHandler);
|
|
@@ -45964,8 +45992,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.resizer = {
|
|
|
45964
45992
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
45965
45993
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
45966
45994
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
45967
|
-
/* harmony import */ var
|
|
45968
|
-
/* 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);
|
|
45969
45997
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
45970
45998
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
45971
45999
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -46412,38 +46440,38 @@ var keyBInd = '__jodit-resizer_binded';
|
|
|
46412
46440
|
}
|
|
46413
46441
|
]);
|
|
46414
46442
|
return resizer;
|
|
46415
|
-
}((0,
|
|
46416
|
-
(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)([
|
|
46417
46445
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':click')
|
|
46418
46446
|
], resizer.prototype, "onEditorClick", null);
|
|
46419
|
-
(0,
|
|
46447
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46420
46448
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':afterInsertImage')
|
|
46421
46449
|
], resizer.prototype, "__afterInsertImage", null);
|
|
46422
|
-
(0,
|
|
46450
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46423
46451
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46424
46452
|
], resizer.prototype, "onStartResizing", null);
|
|
46425
|
-
(0,
|
|
46453
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46426
46454
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46427
46455
|
], resizer.prototype, "onEndResizing", null);
|
|
46428
|
-
(0,
|
|
46456
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46429
46457
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46430
46458
|
], resizer.prototype, "onResize", null);
|
|
46431
|
-
(0,
|
|
46459
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46432
46460
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46433
46461
|
], resizer.prototype, "onKeyDown", null);
|
|
46434
|
-
(0,
|
|
46462
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46435
46463
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46436
46464
|
], resizer.prototype, "onKeyUp", null);
|
|
46437
|
-
(0,
|
|
46465
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46438
46466
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46439
46467
|
], resizer.prototype, "onClickOutside", null);
|
|
46440
|
-
(0,
|
|
46468
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46441
46469
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':change')
|
|
46442
46470
|
], resizer.prototype, "__onChangeEditor", null);
|
|
46443
|
-
(0,
|
|
46471
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46444
46472
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
46445
46473
|
], resizer.prototype, "__bind", null);
|
|
46446
|
-
(0,
|
|
46474
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
46447
46475
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind,
|
|
46448
46476
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':hideResizer')
|
|
46449
46477
|
], resizer.prototype, "hide", null);
|
|
@@ -46839,9 +46867,9 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46839
46867
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25045);
|
|
46840
46868
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34918);
|
|
46841
46869
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42395);
|
|
46842
|
-
/* harmony import */ var
|
|
46843
|
-
/* harmony import */ var
|
|
46844
|
-
/* 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);
|
|
46845
46873
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(81937);
|
|
46846
46874
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84839);
|
|
46847
46875
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27795);
|
|
@@ -46918,7 +46946,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46918
46946
|
value: function updateCounters() {
|
|
46919
46947
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
46920
46948
|
var _;
|
|
46921
|
-
return (0,
|
|
46949
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
46922
46950
|
switch(_state.label){
|
|
46923
46951
|
case 0:
|
|
46924
46952
|
if (!this.ui.isOpened) {
|
|
@@ -46963,7 +46991,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46963
46991
|
key: "calcCounts",
|
|
46964
46992
|
value: function calcCounts(query) {
|
|
46965
46993
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
46966
|
-
return (0,
|
|
46994
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
46967
46995
|
switch(_state.label){
|
|
46968
46996
|
case 0:
|
|
46969
46997
|
return [
|
|
@@ -46985,7 +47013,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
46985
47013
|
value: function findQueryBounds(query, walkerKey) {
|
|
46986
47014
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
46987
47015
|
var walker;
|
|
46988
|
-
return (0,
|
|
47016
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
46989
47017
|
walker = this[walkerKey];
|
|
46990
47018
|
if (walker) {
|
|
46991
47019
|
walker.break();
|
|
@@ -47010,7 +47038,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47010
47038
|
value: function findAndReplace(query) {
|
|
47011
47039
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47012
47040
|
var bounds, currentIndex, bound, rng, textNode;
|
|
47013
|
-
return (0,
|
|
47041
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47014
47042
|
switch(_state.label){
|
|
47015
47043
|
case 0:
|
|
47016
47044
|
return [
|
|
@@ -47092,7 +47120,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47092
47120
|
value: function findAndSelect(query, next) {
|
|
47093
47121
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47094
47122
|
var bounds, _this_drawPromise, currentIndex, bound, rng;
|
|
47095
|
-
return (0,
|
|
47123
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47096
47124
|
switch(_state.label){
|
|
47097
47125
|
case 0:
|
|
47098
47126
|
return [
|
|
@@ -47178,7 +47206,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47178
47206
|
value: function isValidCache(promise) {
|
|
47179
47207
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47180
47208
|
var res;
|
|
47181
|
-
return (0,
|
|
47209
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47182
47210
|
switch(_state.label){
|
|
47183
47211
|
case 0:
|
|
47184
47212
|
return [
|
|
@@ -47205,7 +47233,7 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47205
47233
|
value: function find(walker, query) {
|
|
47206
47234
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
47207
47235
|
var _this, _$cache, _tmp;
|
|
47208
|
-
return (0,
|
|
47236
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
47209
47237
|
switch(_state.label){
|
|
47210
47238
|
case 0:
|
|
47211
47239
|
_this = this;
|
|
@@ -47375,29 +47403,29 @@ var SentenceFinder = /*#__PURE__*/ function() {
|
|
|
47375
47403
|
}
|
|
47376
47404
|
]);
|
|
47377
47405
|
return search;
|
|
47378
|
-
}((0,
|
|
47379
|
-
(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)([
|
|
47380
47408
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.cache
|
|
47381
47409
|
], search.prototype, "ui", null);
|
|
47382
|
-
(0,
|
|
47410
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47383
47411
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.watch)('ui:needUpdateCounters')
|
|
47384
47412
|
], search.prototype, "updateCounters", null);
|
|
47385
|
-
(0,
|
|
47413
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47386
47414
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.watch)('ui:pressReplaceButton')
|
|
47387
47415
|
], search.prototype, "onPressReplaceButton", null);
|
|
47388
|
-
(0,
|
|
47416
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47389
47417
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47390
47418
|
], search.prototype, "findQueryBounds", null);
|
|
47391
|
-
(0,
|
|
47419
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47392
47420
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47393
47421
|
], search.prototype, "findAndReplace", null);
|
|
47394
|
-
(0,
|
|
47422
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47395
47423
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47396
47424
|
], search.prototype, "findAndSelect", null);
|
|
47397
|
-
(0,
|
|
47425
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47398
47426
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.autobind
|
|
47399
47427
|
], search.prototype, "find", null);
|
|
47400
|
-
(0,
|
|
47428
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
47401
47429
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.watch)(':afterGetValueFromEditor')
|
|
47402
47430
|
], search.prototype, "onAfterGetValueFromEditor", null);
|
|
47403
47431
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_13__.pluginSystem.add('search', search);
|
|
@@ -47722,8 +47750,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelecti
|
|
|
47722
47750
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
47723
47751
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
47724
47752
|
/* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50684);
|
|
47725
|
-
/* harmony import */ var
|
|
47726
|
-
/* harmony import */ var
|
|
47753
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
47754
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38574);
|
|
47727
47755
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81937);
|
|
47728
47756
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(84839);
|
|
47729
47757
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23211);
|
|
@@ -48142,29 +48170,29 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
48142
48170
|
}
|
|
48143
48171
|
]);
|
|
48144
48172
|
return selectCells;
|
|
48145
|
-
}((0,
|
|
48173
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_7__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_13__.Plugin));
|
|
48146
48174
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(selectCells, "requires", [
|
|
48147
48175
|
'select'
|
|
48148
48176
|
]);
|
|
48149
|
-
(0,
|
|
48177
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48150
48178
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48151
48179
|
], selectCells.prototype, "onStartSelection", null);
|
|
48152
|
-
(0,
|
|
48180
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48153
48181
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':outsideClick')
|
|
48154
48182
|
], selectCells.prototype, "onOutsideClick", null);
|
|
48155
|
-
(0,
|
|
48183
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48156
48184
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':change')
|
|
48157
48185
|
], selectCells.prototype, "onChange", null);
|
|
48158
|
-
(0,
|
|
48186
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48159
48187
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48160
48188
|
], selectCells.prototype, "__onRemoveSelection", null);
|
|
48161
|
-
(0,
|
|
48189
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48162
48190
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48163
48191
|
], selectCells.prototype, "__onStopSelection", null);
|
|
48164
|
-
(0,
|
|
48192
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48165
48193
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48166
48194
|
], selectCells.prototype, "onExecCommand", null);
|
|
48167
|
-
(0,
|
|
48195
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
|
|
48168
48196
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
48169
48197
|
], selectCells.prototype, "onAfterCommand", null);
|
|
48170
48198
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_11__.pluginSystem.add('selectCells', selectCells);
|
|
@@ -48202,8 +48230,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
48202
48230
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
48203
48231
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
48204
48232
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
48205
|
-
/* harmony import */ var
|
|
48206
|
-
/* harmony import */ var
|
|
48233
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
48234
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
48207
48235
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
48208
48236
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
48209
48237
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -48424,39 +48452,39 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
48424
48452
|
}
|
|
48425
48453
|
]);
|
|
48426
48454
|
return select;
|
|
48427
|
-
}((0,
|
|
48428
|
-
(0,
|
|
48455
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
48456
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48429
48457
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
48430
48458
|
], select.prototype, "onStartSelection", null);
|
|
48431
|
-
(0,
|
|
48459
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48432
48460
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)('ow:click')
|
|
48433
48461
|
], select.prototype, "onOutsideClick", null);
|
|
48434
|
-
(0,
|
|
48462
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48435
48463
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48436
48464
|
':beforeCommandCut'
|
|
48437
48465
|
])
|
|
48438
48466
|
], select.prototype, "beforeCommandCut", null);
|
|
48439
|
-
(0,
|
|
48467
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48440
48468
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48441
48469
|
':beforeCommandSelectall'
|
|
48442
48470
|
])
|
|
48443
48471
|
], select.prototype, "beforeCommandSelectAll", null);
|
|
48444
|
-
(0,
|
|
48472
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48445
48473
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48446
48474
|
':click'
|
|
48447
48475
|
])
|
|
48448
48476
|
], select.prototype, "onClickRightOfNestedListItem", null);
|
|
48449
|
-
(0,
|
|
48477
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48450
48478
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48451
48479
|
':click'
|
|
48452
48480
|
])
|
|
48453
48481
|
], select.prototype, "onClickKeepPendingFormat", null);
|
|
48454
|
-
(0,
|
|
48482
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48455
48483
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48456
48484
|
':click'
|
|
48457
48485
|
])
|
|
48458
48486
|
], select.prototype, "onTripleClickNormalizeSelection", null);
|
|
48459
|
-
(0,
|
|
48487
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48460
48488
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)([
|
|
48461
48489
|
':copy',
|
|
48462
48490
|
':cut'
|
|
@@ -48514,8 +48542,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
48514
48542
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
48515
48543
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
48516
48544
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
48517
|
-
/* harmony import */ var
|
|
48518
|
-
/* harmony import */ var
|
|
48545
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
48546
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
48519
48547
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
48520
48548
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
48521
48549
|
/* harmony import */ var jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(72412);
|
|
@@ -48722,17 +48750,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
48722
48750
|
}
|
|
48723
48751
|
]);
|
|
48724
48752
|
return size;
|
|
48725
|
-
}((0,
|
|
48726
|
-
(0,
|
|
48753
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
48754
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48727
48755
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.throttle)()
|
|
48728
48756
|
], size.prototype, "__initialize", null);
|
|
48729
|
-
(0,
|
|
48757
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48730
48758
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
48731
48759
|
], size.prototype, "__setHeight", null);
|
|
48732
|
-
(0,
|
|
48760
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48733
48761
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
48734
48762
|
], size.prototype, "__setWidth", null);
|
|
48735
|
-
(0,
|
|
48763
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
48736
48764
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
48737
48765
|
], size.prototype, "__resizeWorkspaceImd", null);
|
|
48738
48766
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('size', size);
|
|
@@ -49436,8 +49464,8 @@ var SourceEditor = /*#__PURE__*/ function() {
|
|
|
49436
49464
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
49437
49465
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
49438
49466
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
49439
|
-
/* harmony import */ var
|
|
49440
|
-
/* harmony import */ var
|
|
49467
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
49468
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
49441
49469
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
49442
49470
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
49443
49471
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -49784,35 +49812,35 @@ var SourceEditor = /*#__PURE__*/ function() {
|
|
|
49784
49812
|
}
|
|
49785
49813
|
]);
|
|
49786
49814
|
return source;
|
|
49787
|
-
}((0,
|
|
49788
|
-
(0,
|
|
49815
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
49816
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49789
49817
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':insertHTML.source')
|
|
49790
49818
|
], source.prototype, "onInsertHTML", null);
|
|
49791
|
-
(0,
|
|
49819
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49792
49820
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49793
49821
|
], source.prototype, "fromWYSIWYG", null);
|
|
49794
|
-
(0,
|
|
49822
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49795
49823
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49796
49824
|
], source.prototype, "toWYSIWYG", null);
|
|
49797
|
-
(0,
|
|
49825
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49798
49826
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49799
49827
|
], source.prototype, "getNormalPosition", null);
|
|
49800
|
-
(0,
|
|
49828
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49801
49829
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeCommand.source')
|
|
49802
49830
|
], source.prototype, "onSelectAll", null);
|
|
49803
|
-
(0,
|
|
49831
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49804
49832
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':beforeSetMode.source')
|
|
49805
49833
|
], source.prototype, "saveSelection", null);
|
|
49806
|
-
(0,
|
|
49834
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49807
49835
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':afterSetMode.source')
|
|
49808
49836
|
], source.prototype, "removeSelection", null);
|
|
49809
|
-
(0,
|
|
49837
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49810
49838
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49811
49839
|
], source.prototype, "setMirrorSelectionRange", null);
|
|
49812
|
-
(0,
|
|
49840
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49813
49841
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.watch)(':readonly.source')
|
|
49814
49842
|
], source.prototype, "onReadonlyReact", null);
|
|
49815
|
-
(0,
|
|
49843
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
49816
49844
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.autobind
|
|
49817
49845
|
], source.prototype, "syncValueFromWYSIWYG", null);
|
|
49818
49846
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('source', source);
|
|
@@ -50310,8 +50338,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50310
50338
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
50311
50339
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
50312
50340
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
50313
|
-
/* harmony import */ var
|
|
50314
|
-
/* harmony import */ var
|
|
50341
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
50342
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
50315
50343
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
50316
50344
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
50317
50345
|
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7909);
|
|
@@ -50382,8 +50410,8 @@ var spellcheck = /*#__PURE__*/ function(Plugin) {
|
|
|
50382
50410
|
}
|
|
50383
50411
|
]);
|
|
50384
50412
|
return spellcheck;
|
|
50385
|
-
}((0,
|
|
50386
|
-
(0,
|
|
50413
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_10__.Plugin));
|
|
50414
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
50387
50415
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
50388
50416
|
], spellcheck.prototype, "toggleSpellcheck", null);
|
|
50389
50417
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('spellcheck', spellcheck);
|
|
@@ -50543,8 +50571,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.toolbarStickyOffset =
|
|
|
50543
50571
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
50544
50572
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
50545
50573
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
50546
|
-
/* harmony import */ var
|
|
50547
|
-
/* harmony import */ var
|
|
50574
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
50575
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
50548
50576
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(81937);
|
|
50549
50577
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84839);
|
|
50550
50578
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23211);
|
|
@@ -50669,8 +50697,8 @@ var sticky = /*#__PURE__*/ function(Plugin) {
|
|
|
50669
50697
|
}
|
|
50670
50698
|
]);
|
|
50671
50699
|
return sticky;
|
|
50672
|
-
}((0,
|
|
50673
|
-
(0,
|
|
50700
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
50701
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
50674
50702
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_8__.throttle)()
|
|
50675
50703
|
], sticky.prototype, "__onScroll", null);
|
|
50676
50704
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_10__.pluginSystem.add('sticky', sticky);
|
|
@@ -51669,8 +51697,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tab = {
|
|
|
51669
51697
|
/* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73104);
|
|
51670
51698
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
51671
51699
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34918);
|
|
51672
|
-
/* harmony import */ var
|
|
51673
|
-
/* harmony import */ var
|
|
51700
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
51701
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38574);
|
|
51674
51702
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81937);
|
|
51675
51703
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
51676
51704
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28077);
|
|
@@ -51741,11 +51769,11 @@ var tab = /*#__PURE__*/ function(Plugin) {
|
|
|
51741
51769
|
}
|
|
51742
51770
|
]);
|
|
51743
51771
|
return tab;
|
|
51744
|
-
}((0,
|
|
51745
|
-
(0,
|
|
51772
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_9__.Plugin));
|
|
51773
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
51746
51774
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':keydown.tab')
|
|
51747
51775
|
], tab.prototype, "__onTab", null);
|
|
51748
|
-
(0,
|
|
51776
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
|
|
51749
51777
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':beforeCommand.tab')
|
|
51750
51778
|
], tab.prototype, "__onCommand", null);
|
|
51751
51779
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('tab', tab);
|
|
@@ -51881,13 +51909,14 @@ function findCell(editor, key) {
|
|
|
51881
51909
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
51882
51910
|
|
|
51883
51911
|
"use strict";
|
|
51884
|
-
/* harmony import */ var
|
|
51885
|
-
/* harmony import */ var
|
|
51886
|
-
/* harmony import */ var
|
|
51887
|
-
/* harmony import */ var
|
|
51888
|
-
/* harmony import */ var
|
|
51889
|
-
/* harmony import */ var
|
|
51890
|
-
/* harmony import */ var
|
|
51912
|
+
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
51913
|
+
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27795);
|
|
51914
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65946);
|
|
51915
|
+
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(93640);
|
|
51916
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29434);
|
|
51917
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5266);
|
|
51918
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67447);
|
|
51919
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
51891
51920
|
/*!
|
|
51892
51921
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
51893
51922
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -51900,13 +51929,14 @@ function findCell(editor, key) {
|
|
|
51900
51929
|
|
|
51901
51930
|
|
|
51902
51931
|
|
|
51903
|
-
|
|
51932
|
+
|
|
51933
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.table = {
|
|
51904
51934
|
splitBlockOnInsertTable: true,
|
|
51905
51935
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
51906
51936
|
useExtraClassesOptions: false
|
|
51907
51937
|
};
|
|
51908
|
-
|
|
51909
|
-
|
|
51938
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__.Icon.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
51939
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.table = {
|
|
51910
51940
|
data: {
|
|
51911
51941
|
cols: 10,
|
|
51912
51942
|
rows: 10,
|
|
@@ -51936,19 +51966,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51936
51966
|
};
|
|
51937
51967
|
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 = [];
|
|
51938
51968
|
var cnt = default_rows_count * default_cols_count;
|
|
51969
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(blocksContainer, {
|
|
51970
|
+
role: 'grid',
|
|
51971
|
+
ariaLabel: 'Table size',
|
|
51972
|
+
ariaRowcount: default_rows_count,
|
|
51973
|
+
ariaColcount: default_cols_count
|
|
51974
|
+
});
|
|
51939
51975
|
for(var i = 0; i < cnt; i += 1){
|
|
51940
51976
|
if (!cells[i]) {
|
|
51977
|
+
var row = Math.floor(i / default_cols_count) + 1, col = i % default_cols_count + 1;
|
|
51941
51978
|
cells.push(editor.c.element('span', {
|
|
51942
|
-
dataIndex: i
|
|
51979
|
+
dataIndex: i,
|
|
51980
|
+
role: 'gridcell',
|
|
51981
|
+
tabindex: i === 0 ? 0 : -1,
|
|
51982
|
+
ariaLabel: "".concat(row, " by ").concat(col)
|
|
51943
51983
|
}));
|
|
51944
51984
|
}
|
|
51945
51985
|
}
|
|
51946
|
-
var
|
|
51947
|
-
var
|
|
51948
|
-
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(dv, 'span')) {
|
|
51949
|
-
return;
|
|
51950
|
-
}
|
|
51951
|
-
var k = index === undefined || isNaN(index) ? parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(dv, '-index') || '0', 10) : index || 0;
|
|
51986
|
+
var highlightCell = function highlightCell(cell) {
|
|
51987
|
+
var k = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(cell, '-index') || '0', 10);
|
|
51952
51988
|
var rows_count = Math.ceil((k + 1) / default_cols_count), cols_count = k % default_cols_count + 1;
|
|
51953
51989
|
for(var i = 0; i < cells.length; i += 1){
|
|
51954
51990
|
if (cols_count >= i % default_cols_count + 1 && rows_count >= Math.ceil((i + 1) / default_cols_count)) {
|
|
@@ -51960,14 +51996,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51960
51996
|
cols.textContent = cols_count.toString();
|
|
51961
51997
|
rows.textContent = rows_count.toString();
|
|
51962
51998
|
};
|
|
51963
|
-
|
|
51964
|
-
var
|
|
51965
|
-
e.preventDefault();
|
|
51966
|
-
e.stopImmediatePropagation();
|
|
51967
|
-
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(dv, 'span')) {
|
|
51968
|
-
return;
|
|
51969
|
-
}
|
|
51970
|
-
var k = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(dv, '-index') || '0', 10);
|
|
51999
|
+
var insertTable = function insertTable(cell) {
|
|
52000
|
+
var k = parseInt((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(cell, '-index') || '0', 10);
|
|
51971
52001
|
var rows_count = Math.ceil((k + 1) / default_cols_count), cols_count = k % default_cols_count + 1;
|
|
51972
52002
|
var crt = editor.createInside, tbody = crt.element('tbody'), table = crt.element('table');
|
|
51973
52003
|
table.appendChild(tbody);
|
|
@@ -51979,7 +52009,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51979
52009
|
if (!first_td) {
|
|
51980
52010
|
first_td = td;
|
|
51981
52011
|
}
|
|
51982
|
-
(0,
|
|
52012
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(td, 'width', (100 / cols_count).toFixed(4) + '%');
|
|
51983
52013
|
td.appendChild(crt.element('br'));
|
|
51984
52014
|
tr.appendChild(crt.text('\n'));
|
|
51985
52015
|
tr.appendChild(crt.text('\t'));
|
|
@@ -51988,7 +52018,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51988
52018
|
tbody.appendChild(crt.text('\n'));
|
|
51989
52019
|
tbody.appendChild(tr);
|
|
51990
52020
|
}
|
|
51991
|
-
(0,
|
|
52021
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('input[type=checkbox]:checked', options).forEach(function(input) {
|
|
51992
52022
|
input.value.split(/[\s]+/).forEach(function(className) {
|
|
51993
52023
|
table.classList.add(className);
|
|
51994
52024
|
});
|
|
@@ -51997,15 +52027,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
51997
52027
|
editor.s.removeMarkers();
|
|
51998
52028
|
editor.editor.normalize();
|
|
51999
52029
|
editor.history.snapshot.restore(snapshot);
|
|
52000
|
-
var block =
|
|
52001
|
-
if (block &&
|
|
52002
|
-
|
|
52030
|
+
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);
|
|
52031
|
+
if (block && jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmpty(block)) {
|
|
52032
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.replace(block, table, undefined, false, true);
|
|
52003
52033
|
} else {
|
|
52004
52034
|
if (block) {
|
|
52005
52035
|
var fake = crt.text('\n');
|
|
52006
52036
|
if (!editor.o.table.splitBlockOnInsertTable) {
|
|
52007
|
-
|
|
52008
|
-
|
|
52037
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(block, fake);
|
|
52038
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(fake, table);
|
|
52009
52039
|
} else {
|
|
52010
52040
|
var range = editor.s.range;
|
|
52011
52041
|
range.collapse(false);
|
|
@@ -52014,9 +52044,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
52014
52044
|
editor.s.selectRange(range);
|
|
52015
52045
|
var firstPart = editor.s.splitSelection(block, fake);
|
|
52016
52046
|
if (firstPart) {
|
|
52017
|
-
|
|
52047
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(firstPart, table);
|
|
52018
52048
|
} else {
|
|
52019
|
-
|
|
52049
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(block, table);
|
|
52020
52050
|
}
|
|
52021
52051
|
}
|
|
52022
52052
|
} else {
|
|
@@ -52025,17 +52055,72 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.table = {
|
|
|
52025
52055
|
}
|
|
52026
52056
|
if (first_td) {
|
|
52027
52057
|
editor.s.setCursorIn(first_td);
|
|
52028
|
-
(0,
|
|
52058
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(first_td, editor.editor, editor.ed);
|
|
52029
52059
|
}
|
|
52030
52060
|
close();
|
|
52061
|
+
};
|
|
52062
|
+
editor.e.on(blocksContainer, 'mousemove', function(e) {
|
|
52063
|
+
if (jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(e.target, 'span')) {
|
|
52064
|
+
highlightCell(e.target);
|
|
52065
|
+
}
|
|
52066
|
+
}).on(blocksContainer, 'touchstart mousedown', function(e) {
|
|
52067
|
+
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(e.target, 'span')) {
|
|
52068
|
+
return;
|
|
52069
|
+
}
|
|
52070
|
+
e.preventDefault();
|
|
52071
|
+
e.stopImmediatePropagation();
|
|
52072
|
+
insertTable(e.target);
|
|
52073
|
+
}).on(blocksContainer, 'keydown', function(e) {
|
|
52074
|
+
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(e.target, 'span')) {
|
|
52075
|
+
return;
|
|
52076
|
+
}
|
|
52077
|
+
if (e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_ENTER) {
|
|
52078
|
+
e.preventDefault();
|
|
52079
|
+
e.stopImmediatePropagation();
|
|
52080
|
+
insertTable(e.target);
|
|
52081
|
+
return;
|
|
52082
|
+
}
|
|
52083
|
+
if (e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
52084
|
+
e.preventDefault();
|
|
52085
|
+
e.stopImmediatePropagation();
|
|
52086
|
+
close();
|
|
52087
|
+
return;
|
|
52088
|
+
}
|
|
52089
|
+
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;
|
|
52090
|
+
var nextIndex = index;
|
|
52091
|
+
switch(e.key){
|
|
52092
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT:
|
|
52093
|
+
nextIndex = col > 0 ? index - 1 : index;
|
|
52094
|
+
break;
|
|
52095
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT:
|
|
52096
|
+
nextIndex = col < default_cols_count - 1 ? index + 1 : index;
|
|
52097
|
+
break;
|
|
52098
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP:
|
|
52099
|
+
nextIndex = row > 0 ? index - default_cols_count : index;
|
|
52100
|
+
break;
|
|
52101
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
52102
|
+
nextIndex = row < default_rows_count - 1 ? index + default_cols_count : index;
|
|
52103
|
+
break;
|
|
52104
|
+
default:
|
|
52105
|
+
return;
|
|
52106
|
+
}
|
|
52107
|
+
e.preventDefault();
|
|
52108
|
+
e.stopImmediatePropagation();
|
|
52109
|
+
if (nextIndex !== index) {
|
|
52110
|
+
cells[index].tabIndex = -1;
|
|
52111
|
+
cells[nextIndex].tabIndex = 0;
|
|
52112
|
+
cells[nextIndex].focus();
|
|
52113
|
+
highlightCell(cells[nextIndex]);
|
|
52114
|
+
}
|
|
52031
52115
|
});
|
|
52032
52116
|
if (button && button.parentElement) {
|
|
52033
52117
|
for(var i1 = 0; i1 < default_rows_count; i1 += 1){
|
|
52034
|
-
var
|
|
52118
|
+
var row1 = editor.c.div();
|
|
52119
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(row1, 'role', 'row');
|
|
52035
52120
|
for(var j = 0; j < default_cols_count; j += 1){
|
|
52036
|
-
|
|
52121
|
+
row1.appendChild(cells[i1 * default_cols_count + j]);
|
|
52037
52122
|
}
|
|
52038
|
-
blocksContainer.appendChild(
|
|
52123
|
+
blocksContainer.appendChild(row1);
|
|
52039
52124
|
}
|
|
52040
52125
|
if (cells[0]) {
|
|
52041
52126
|
cells[0].className = 'hovered';
|
|
@@ -52238,8 +52323,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.wrapNodes = {
|
|
|
52238
52323
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53429);
|
|
52239
52324
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25045);
|
|
52240
52325
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34918);
|
|
52241
|
-
/* harmony import */ var
|
|
52242
|
-
/* harmony import */ var
|
|
52326
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
52327
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38574);
|
|
52243
52328
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84839);
|
|
52244
52329
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27795);
|
|
52245
52330
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(28077);
|
|
@@ -52368,11 +52453,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.wrapNodes = {
|
|
|
52368
52453
|
}
|
|
52369
52454
|
]);
|
|
52370
52455
|
return wrapNodes;
|
|
52371
|
-
}((0,
|
|
52372
|
-
(0,
|
|
52456
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_11__.Plugin));
|
|
52457
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
52373
52458
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
52374
52459
|
], wrapNodes.prototype, "postProcessSetEditorValue", null);
|
|
52375
|
-
(0,
|
|
52460
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
52376
52461
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
52377
52462
|
], wrapNodes.prototype, "preprocessInput", null);
|
|
52378
52463
|
function checkAloneListLeaf(child, jodit) {
|
|
@@ -53553,11 +53638,10 @@ function _assert_this_initialized(self) {
|
|
|
53553
53638
|
/* harmony export */ });
|
|
53554
53639
|
/* harmony import */ var _overload_yield_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15254);
|
|
53555
53640
|
function _instanceof(left, right) {
|
|
53641
|
+
"@swc/helpers - instanceof";
|
|
53556
53642
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53557
53643
|
return !!right[Symbol.hasInstance](left);
|
|
53558
|
-
} else
|
|
53559
|
-
return left instanceof right;
|
|
53560
|
-
}
|
|
53644
|
+
} else return left instanceof right;
|
|
53561
53645
|
}
|
|
53562
53646
|
|
|
53563
53647
|
function _async_generator(gen) {
|
|
@@ -53725,11 +53809,10 @@ function _call_super(_this, derived, args) {
|
|
|
53725
53809
|
/* harmony export */ _: function() { return /* binding */ _class_call_check; }
|
|
53726
53810
|
/* harmony export */ });
|
|
53727
53811
|
function _instanceof(left, right) {
|
|
53812
|
+
"@swc/helpers - instanceof";
|
|
53728
53813
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53729
53814
|
return !!right[Symbol.hasInstance](left);
|
|
53730
|
-
} else
|
|
53731
|
-
return left instanceof right;
|
|
53732
|
-
}
|
|
53815
|
+
} else return left instanceof right;
|
|
53733
53816
|
}
|
|
53734
53817
|
function _class_call_check(instance, Constructor) {
|
|
53735
53818
|
if (!_instanceof(instance, Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -53897,19 +53980,12 @@ function _inherits(subClass, superClass) {
|
|
|
53897
53980
|
|
|
53898
53981
|
"use strict";
|
|
53899
53982
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
53900
|
-
/* harmony export */ _: function() { return /* binding */
|
|
53983
|
+
/* harmony export */ _: function() { return /* binding */ _instanceof; }
|
|
53901
53984
|
/* harmony export */ });
|
|
53902
53985
|
function _instanceof(left, right) {
|
|
53903
53986
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53904
53987
|
return !!right[Symbol.hasInstance](left);
|
|
53905
|
-
} else
|
|
53906
|
-
return left instanceof right;
|
|
53907
|
-
}
|
|
53908
|
-
}
|
|
53909
|
-
function _instanceof1(left, right) {
|
|
53910
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
53911
|
-
return !!right[Symbol.hasInstance](left);
|
|
53912
|
-
} else return _instanceof(left, right);
|
|
53988
|
+
} else return left instanceof right;
|
|
53913
53989
|
}
|
|
53914
53990
|
|
|
53915
53991
|
|