jodit 4.2.38 → 4.2.40
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 +42 -5
- package/es2015/jodit.css +7 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +74 -37
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.css +53 -0
- package/es2015/plugins/debug/debug.js +162 -24
- package/es2015/plugins/debug/debug.min.css +1 -0
- package/es2015/plugins/debug/debug.min.js +2 -2
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +7 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +74 -37
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +53 -0
- package/es2018/plugins/debug/debug.js +162 -24
- package/es2018/plugins/debug/debug.min.css +1 -0
- package/es2018/plugins/debug/debug.min.js +2 -2
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +7 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +74 -36
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.css +53 -0
- package/es2021/plugins/debug/debug.js +161 -24
- package/es2021/plugins/debug/debug.min.css +1 -0
- package/es2021/plugins/debug/debug.min.js +2 -2
- 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 +7 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +74 -36
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.css +53 -0
- package/es2021.en/plugins/debug/debug.js +161 -24
- package/es2021.en/plugins/debug/debug.min.css +1 -0
- package/es2021.en/plugins/debug/debug.min.js +2 -2
- 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/164.fat.min.js +2 -2
- package/es5/164.js +6 -6
- package/es5/164.min.js +2 -2
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/jodit.css +11 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +80 -46
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +53 -0
- package/es5/plugins/debug/debug.js +161 -24
- package/es5/plugins/debug/debug.min.css +1 -0
- package/es5/plugins/debug/debug.min.js +2 -2
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -0
- package/esm/core/ui/button/tooltip/tooltip.js +19 -8
- package/esm/core/view/view-with-toolbar.d.ts +1 -0
- package/esm/core/view/view-with-toolbar.js +3 -0
- package/esm/modules/toolbar/collection/collection.d.ts +0 -1
- package/esm/modules/toolbar/collection/collection.js +1 -4
- package/esm/plugins/debug/debug.d.ts +1 -0
- package/esm/plugins/enter/helpers/check-br.js +2 -0
- package/esm/plugins/index.js +1 -0
- package/esm/plugins/inline-popup/inline-popup.d.ts +0 -1
- package/esm/plugins/inline-popup/inline-popup.js +7 -7
- package/package.json +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -0
- package/types/core/view/view-with-toolbar.d.ts +1 -0
- package/types/modules/toolbar/collection/collection.d.ts +0 -1
- package/types/plugins/debug/debug.d.ts +1 -0
- package/types/plugins/inline-popup/inline-popup.d.ts +0 -1
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.2.
|
|
4
|
+
* Version: v4.2.40
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1838,7 +1838,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1838
1838
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1839
1839
|
*/
|
|
1840
1840
|
|
|
1841
|
-
var APP_VERSION = "4.2.
|
|
1841
|
+
var APP_VERSION = "4.2.40";
|
|
1842
1842
|
// prettier-ignore
|
|
1843
1843
|
var ES = "es5";
|
|
1844
1844
|
var IS_ES_MODERN = false;
|
|
@@ -14057,6 +14057,7 @@ var JODIT_EVENTS_ON_HIDE = [
|
|
|
14057
14057
|
'changePlace.tooltip',
|
|
14058
14058
|
'afterOpenPopup.tooltip',
|
|
14059
14059
|
'hidePopup.tooltip',
|
|
14060
|
+
'beforePopupClose.tooltip',
|
|
14060
14061
|
'closeAllPopups.tooltip'
|
|
14061
14062
|
];
|
|
14062
14063
|
var UITooltip = /** @class */ (function (_super) {
|
|
@@ -14064,6 +14065,7 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
14064
14065
|
function UITooltip(view) {
|
|
14065
14066
|
var _this = _super.call(this, view) || this;
|
|
14066
14067
|
_this.__isOpened = false;
|
|
14068
|
+
_this.__attachedContainers = new Set();
|
|
14067
14069
|
_this.__listenClose = false;
|
|
14068
14070
|
_this.__currentTarget = null;
|
|
14069
14071
|
_this.__delayShowTimeout = 0;
|
|
@@ -14090,7 +14092,16 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
14090
14092
|
UITooltip.prototype.__onAttach = function (container) {
|
|
14091
14093
|
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
14092
14094
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
14093
|
-
this.
|
|
14095
|
+
this.__attachedContainers.add(container);
|
|
14096
|
+
this.__attachedContainers.add(this.j.container);
|
|
14097
|
+
this.j.e
|
|
14098
|
+
.on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
14099
|
+
capture: true
|
|
14100
|
+
})
|
|
14101
|
+
.on(container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14102
|
+
capture: true
|
|
14103
|
+
})
|
|
14104
|
+
.on(this.j.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14094
14105
|
capture: true
|
|
14095
14106
|
});
|
|
14096
14107
|
};
|
|
@@ -14102,10 +14113,7 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
14102
14113
|
var view = this.j;
|
|
14103
14114
|
view.e
|
|
14104
14115
|
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14105
|
-
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14106
|
-
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14107
|
-
capture: true
|
|
14108
|
-
});
|
|
14116
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide);
|
|
14109
14117
|
};
|
|
14110
14118
|
UITooltip.prototype.__removeListenersOnLeave = function () {
|
|
14111
14119
|
if (!this.__listenClose) {
|
|
@@ -14115,8 +14123,7 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
14115
14123
|
var view = this.j;
|
|
14116
14124
|
view.e
|
|
14117
14125
|
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14118
|
-
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14119
|
-
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14126
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide);
|
|
14120
14127
|
};
|
|
14121
14128
|
UITooltip.prototype.__onMouseLeave = function (e) {
|
|
14122
14129
|
if (this.__currentTarget === e.target) {
|
|
@@ -14194,7 +14201,12 @@ var UITooltip = /** @class */ (function (_super) {
|
|
|
14194
14201
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14195
14202
|
};
|
|
14196
14203
|
UITooltip.prototype.destruct = function () {
|
|
14197
|
-
|
|
14204
|
+
var _this = this;
|
|
14205
|
+
this.__attachedContainers.forEach(function (container) {
|
|
14206
|
+
_this.j.e
|
|
14207
|
+
.off(container, 'mouseenter.tooltip', _this.__onMouseEnter)
|
|
14208
|
+
.off(container, 'mouseleave.tooltip', _this.__onMouseLeave);
|
|
14209
|
+
});
|
|
14198
14210
|
this.__hide();
|
|
14199
14211
|
_super.prototype.destruct.call(this);
|
|
14200
14212
|
};
|
|
@@ -16530,17 +16542,18 @@ var ProgressBar = /** @class */ (function (_super) {
|
|
|
16530
16542
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16531
16543
|
/* harmony export */ T: function() { return /* binding */ ViewWithToolbar; }
|
|
16532
16544
|
/* harmony export */ });
|
|
16533
|
-
/* harmony import */ var
|
|
16545
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(31635);
|
|
16534
16546
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
|
|
16535
|
-
/* harmony import */ var
|
|
16547
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(26318);
|
|
16536
16548
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
|
|
16537
16549
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
|
|
16538
16550
|
/* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32709);
|
|
16539
|
-
/* harmony import */ var
|
|
16551
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(98253);
|
|
16540
16552
|
/* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58720);
|
|
16541
|
-
/* harmony import */ var
|
|
16542
|
-
/* harmony import */ var
|
|
16543
|
-
/* harmony import */ var
|
|
16553
|
+
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53048);
|
|
16554
|
+
/* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(39611);
|
|
16555
|
+
/* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77782);
|
|
16556
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8809);
|
|
16544
16557
|
/*!
|
|
16545
16558
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16546
16559
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16558,17 +16571,19 @@ var ProgressBar = /** @class */ (function (_super) {
|
|
|
16558
16571
|
|
|
16559
16572
|
|
|
16560
16573
|
|
|
16574
|
+
|
|
16561
16575
|
var ViewWithToolbar = /** @class */ (function (_super) {
|
|
16562
|
-
(0,
|
|
16576
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__extends */ .C6)(ViewWithToolbar, _super);
|
|
16563
16577
|
/** @override **/
|
|
16564
16578
|
function ViewWithToolbar(options, isJodit) {
|
|
16565
16579
|
if (isJodit === void 0) { isJodit = false; }
|
|
16566
16580
|
var _this = _super.call(this, options, isJodit) || this;
|
|
16567
|
-
_this.toolbar = (0,
|
|
16581
|
+
_this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__/* .makeCollection */ .$K)(_this);
|
|
16568
16582
|
_this.__defaultToolbarContainer = _this.c.div('jodit-toolbar__box');
|
|
16569
16583
|
_this.registeredButtons = new Set();
|
|
16570
16584
|
_this.groupToButtons = {};
|
|
16571
16585
|
_this.isJodit = false;
|
|
16586
|
+
_this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UITooltip */ .SB(_this);
|
|
16572
16587
|
_this.isJodit = isJodit;
|
|
16573
16588
|
_this.e.on('beforeToolbarBuild', _this.beforeToolbarBuild);
|
|
16574
16589
|
return _this;
|
|
@@ -16579,7 +16594,7 @@ var ViewWithToolbar = /** @class */ (function (_super) {
|
|
|
16579
16594
|
*/
|
|
16580
16595
|
get: function () {
|
|
16581
16596
|
if (!this.o.fullsize &&
|
|
16582
|
-
((0,
|
|
16597
|
+
((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_9__/* .isString */ .K)(this.o.toolbar) || jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isHTMLElement(this.o.toolbar))) {
|
|
16583
16598
|
return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__/* .resolveElement */ .tI)(this.o.toolbar, this.o.shadowRoot || this.od);
|
|
16584
16599
|
}
|
|
16585
16600
|
this.o.toolbar &&
|
|
@@ -16655,12 +16670,12 @@ var ViewWithToolbar = /** @class */ (function (_super) {
|
|
|
16655
16670
|
var _this = this;
|
|
16656
16671
|
if (Object.keys(this.groupToButtons).length) {
|
|
16657
16672
|
return items.map(function (item) {
|
|
16658
|
-
if ((0,
|
|
16673
|
+
if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_10__/* .isButtonGroup */ .i)(item) &&
|
|
16659
16674
|
item.group &&
|
|
16660
16675
|
_this.groupToButtons[item.group]) {
|
|
16661
16676
|
return {
|
|
16662
16677
|
group: item.group,
|
|
16663
|
-
buttons: (0,
|
|
16678
|
+
buttons: (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__spreadArray */ .fX)((0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__read */ .zs)(item.buttons), false), (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__read */ .zs)(_this.groupToButtons[item.group]), false)
|
|
16664
16679
|
};
|
|
16665
16680
|
}
|
|
16666
16681
|
return item;
|
|
@@ -16673,19 +16688,20 @@ var ViewWithToolbar = /** @class */ (function (_super) {
|
|
|
16673
16688
|
}
|
|
16674
16689
|
this.setStatus(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
16675
16690
|
this.e.off('beforeToolbarBuild', this.beforeToolbarBuild);
|
|
16691
|
+
this.__tooltip.destruct();
|
|
16676
16692
|
this.toolbar.destruct();
|
|
16677
16693
|
// @ts-ignore After destruct, we are not responsible for anything
|
|
16678
16694
|
this.toolbar = undefined;
|
|
16679
16695
|
_super.prototype.destruct.call(this);
|
|
16680
16696
|
};
|
|
16681
|
-
(0,
|
|
16697
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
16682
16698
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
16683
16699
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16684
|
-
(0,
|
|
16685
|
-
|
|
16700
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
16701
|
+
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay
|
|
16686
16702
|
], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
|
|
16687
16703
|
return ViewWithToolbar;
|
|
16688
|
-
}(
|
|
16704
|
+
}(jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__/* .View */ .S));
|
|
16689
16705
|
|
|
16690
16706
|
|
|
16691
16707
|
|
|
@@ -24698,7 +24714,6 @@ var ToolbarCollection = /** @class */ (function (_super) {
|
|
|
24698
24714
|
var _this = _super.call(this, jodit) || this;
|
|
24699
24715
|
_this.__listenEvents = 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize ' +
|
|
24700
24716
|
'selectionchange changeSelection focus afterSetMode touchstart focus blur';
|
|
24701
|
-
_this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UITooltip */ .SB(_this.jodit);
|
|
24702
24717
|
return _this;
|
|
24703
24718
|
}
|
|
24704
24719
|
/** @override */
|
|
@@ -24785,12 +24800,9 @@ var ToolbarCollection = /** @class */ (function (_super) {
|
|
|
24785
24800
|
};
|
|
24786
24801
|
/** @override **/
|
|
24787
24802
|
ToolbarCollection.prototype.destruct = function () {
|
|
24788
|
-
var _a;
|
|
24789
24803
|
if (this.isDestructed) {
|
|
24790
24804
|
return;
|
|
24791
24805
|
}
|
|
24792
|
-
(_a = this.__tooltip) === null || _a === void 0 ? void 0 : _a.destruct();
|
|
24793
|
-
this.__tooltip = null;
|
|
24794
24806
|
this.j.e
|
|
24795
24807
|
.off(this.__listenEvents, this.update)
|
|
24796
24808
|
.off('afterSetMode focus', this.__immediateUpdate);
|
|
@@ -30924,9 +30936,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('enter
|
|
|
30924
30936
|
*/
|
|
30925
30937
|
function checkBR(fake, jodit, shiftKeyPressed) {
|
|
30926
30938
|
var isMultiLineBlock = Boolean(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['pre', 'blockquote'], jodit.editor));
|
|
30939
|
+
var isCell = !isMultiLineBlock && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['td', 'th'], jodit.editor);
|
|
30927
30940
|
var isBRMode = jodit.o.enter.toLowerCase() === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.BR.toLowerCase();
|
|
30928
30941
|
// if you use <br> defaultTag for break line or when was entered SHIFt key or in <td> or <th> or <blockquote>
|
|
30929
30942
|
if (isBRMode ||
|
|
30943
|
+
isCell ||
|
|
30930
30944
|
(shiftKeyPressed && !isMultiLineBlock) ||
|
|
30931
30945
|
(!shiftKeyPressed && isMultiLineBlock)) {
|
|
30932
30946
|
// 2 BR before
|
|
@@ -34497,6 +34511,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
34497
34511
|
|
|
34498
34512
|
|
|
34499
34513
|
|
|
34514
|
+
// import 'jodit/plugins/debug/debug';
|
|
34500
34515
|
|
|
34501
34516
|
|
|
34502
34517
|
|
|
@@ -35148,10 +35163,10 @@ var inlinePopup = /** @class */ (function (_super) {
|
|
|
35148
35163
|
if (!this.j.o.toolbarInlineForSelection) {
|
|
35149
35164
|
return;
|
|
35150
35165
|
}
|
|
35151
|
-
var type = 'selection'
|
|
35152
|
-
|
|
35153
|
-
|
|
35154
|
-
|
|
35166
|
+
var type = 'selection';
|
|
35167
|
+
var sel = this.j.s.sel;
|
|
35168
|
+
var range = this.j.s.range;
|
|
35169
|
+
if ((sel === null || sel === void 0 ? void 0 : sel.isCollapsed) || this.isSelectedTarget(range)) {
|
|
35155
35170
|
if (this.type === type && this.popup.isOpened) {
|
|
35156
35171
|
this.hidePopup();
|
|
35157
35172
|
}
|
|
@@ -35173,16 +35188,12 @@ var inlinePopup = /** @class */ (function (_super) {
|
|
|
35173
35188
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(sc.childNodes[r.startOffset], new Set((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.keys)(this.j.o.popup, false))) &&
|
|
35174
35189
|
r.startOffset === r.endOffset - 1);
|
|
35175
35190
|
};
|
|
35176
|
-
|
|
35177
|
-
|
|
35178
|
-
|
|
35179
|
-
|
|
35180
|
-
|
|
35181
|
-
|
|
35182
|
-
},
|
|
35183
|
-
enumerable: false,
|
|
35184
|
-
configurable: true
|
|
35185
|
-
});
|
|
35191
|
+
/**
|
|
35192
|
+
* Shortcut for Table module
|
|
35193
|
+
*/
|
|
35194
|
+
// private get tableModule(): Table {
|
|
35195
|
+
// return this.j.getInstance<Table>('Table', this.j.o);
|
|
35196
|
+
// }
|
|
35186
35197
|
/** @override **/
|
|
35187
35198
|
inlinePopup.prototype.beforeDestruct = function (jodit) {
|
|
35188
35199
|
jodit.e
|
|
@@ -45816,7 +45827,7 @@ module.exports = {assert(){}};;
|
|
|
45816
45827
|
/* harmony export */ sH: function() { return /* binding */ __awaiter; },
|
|
45817
45828
|
/* harmony export */ zs: function() { return /* binding */ __read; }
|
|
45818
45829
|
/* harmony export */ });
|
|
45819
|
-
/* unused harmony exports __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __createBinding, __exportStar, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources */
|
|
45830
|
+
/* unused harmony exports __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __createBinding, __exportStar, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension */
|
|
45820
45831
|
/******************************************************************************
|
|
45821
45832
|
Copyright (c) Microsoft Corporation.
|
|
45822
45833
|
|
|
@@ -46082,10 +46093,19 @@ var __setModuleDefault = Object.create ? (function(o, v) {
|
|
|
46082
46093
|
o["default"] = v;
|
|
46083
46094
|
};
|
|
46084
46095
|
|
|
46096
|
+
var ownKeys = function(o) {
|
|
46097
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
46098
|
+
var ar = [];
|
|
46099
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
46100
|
+
return ar;
|
|
46101
|
+
};
|
|
46102
|
+
return ownKeys(o);
|
|
46103
|
+
};
|
|
46104
|
+
|
|
46085
46105
|
function __importStar(mod) {
|
|
46086
46106
|
if (mod && mod.__esModule) return mod;
|
|
46087
46107
|
var result = {};
|
|
46088
|
-
if (mod != null) for (var k
|
|
46108
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
46089
46109
|
__setModuleDefault(result, mod);
|
|
46090
46110
|
return result;
|
|
46091
46111
|
}
|
|
@@ -46166,12 +46186,25 @@ function __disposeResources(env) {
|
|
|
46166
46186
|
return next();
|
|
46167
46187
|
}
|
|
46168
46188
|
|
|
46189
|
+
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
46190
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
46191
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
46192
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
46193
|
+
});
|
|
46194
|
+
}
|
|
46195
|
+
return path;
|
|
46196
|
+
}
|
|
46197
|
+
|
|
46169
46198
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
46170
46199
|
__extends,
|
|
46171
46200
|
__assign,
|
|
46172
46201
|
__rest,
|
|
46173
46202
|
__decorate,
|
|
46174
46203
|
__param,
|
|
46204
|
+
__esDecorate,
|
|
46205
|
+
__runInitializers,
|
|
46206
|
+
__propKey,
|
|
46207
|
+
__setFunctionName,
|
|
46175
46208
|
__metadata,
|
|
46176
46209
|
__awaiter,
|
|
46177
46210
|
__generator,
|
|
@@ -46194,6 +46227,7 @@ function __disposeResources(env) {
|
|
|
46194
46227
|
__classPrivateFieldIn,
|
|
46195
46228
|
__addDisposableResource,
|
|
46196
46229
|
__disposeResources,
|
|
46230
|
+
__rewriteRelativeImportExtension,
|
|
46197
46231
|
});
|
|
46198
46232
|
|
|
46199
46233
|
|
|
@@ -46491,7 +46525,7 @@ function __disposeResources(env) {
|
|
|
46491
46525
|
/******/
|
|
46492
46526
|
/************************************************************************/
|
|
46493
46527
|
var __webpack_exports__ = {};
|
|
46494
|
-
// This entry
|
|
46528
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
46495
46529
|
!function() {
|
|
46496
46530
|
"use strict";
|
|
46497
46531
|
__webpack_require__.r(__webpack_exports__);
|