jodit 4.14.0 → 4.14.2
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 +12 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +11 -11
- package/es2015/jodit.js +632 -547
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +9 -9
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +11 -33
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +11 -11
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +9 -9
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +16 -16
- package/es2021/jodit.js +638 -553
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +14 -14
- 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 +11 -33
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +55 -55
- package/es2021.en/jodit.js +638 -553
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +55 -55
- 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 +11 -33
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +314 -318
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +2 -2
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +3 -3
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +2 -2
- package/es5/polyfills.js +20 -5
- package/es5/polyfills.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/plugins/search/ui/search.js +1 -1
- package/package.json +1 -1
package/es2021/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.14.
|
|
4
|
+
* Version: v4.14.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -150,7 +150,7 @@ let ConfigPrototype = {};
|
|
|
150
150
|
/**
|
|
151
151
|
* When enabled, the editor caches the results of expensive computations (e.g. toolbar rebuilds)
|
|
152
152
|
* to improve performance. Disable for debugging or when options change frequently at runtime.
|
|
153
|
-
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "cache", true);
|
|
153
|
+
*/ ;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "cache", true);
|
|
154
154
|
/**
|
|
155
155
|
* Timeout of all asynchronous methods
|
|
156
156
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "defaultTimeout", 100);
|
|
@@ -1067,7 +1067,7 @@ let ConfigPrototype = {};
|
|
|
1067
1067
|
Object.assign(this, ConfigPrototype);
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Config, "__defaultOptions", void 0);
|
|
1070
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Config, "__defaultOptions", void 0);
|
|
1071
1071
|
ConfigPrototype = Config.prototype;
|
|
1072
1072
|
Config.prototype.controls = {};
|
|
1073
1073
|
|
|
@@ -1141,7 +1141,7 @@ class Async {
|
|
|
1141
1141
|
return timer;
|
|
1142
1142
|
}
|
|
1143
1143
|
updateTimeout(label, timeout) {
|
|
1144
|
-
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_10__.assert)(label && this.timers.has(label), 'Label does not exist');
|
|
1144
|
+
;(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_10__.assert)(label && this.timers.has(label), 'Label does not exist');
|
|
1145
1145
|
if (!label || !this.timers.has(label)) {
|
|
1146
1146
|
return null;
|
|
1147
1147
|
}
|
|
@@ -1163,7 +1163,7 @@ class Async {
|
|
|
1163
1163
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__.isString)(timerOrLabel)) {
|
|
1164
1164
|
return this.clearLabel(timerOrLabel);
|
|
1165
1165
|
}
|
|
1166
|
-
(0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_2__.clearTimeout)(timerOrLabel);
|
|
1166
|
+
;(0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_2__.clearTimeout)(timerOrLabel);
|
|
1167
1167
|
this.timers.delete(timerOrLabel);
|
|
1168
1168
|
this.__callbacks.delete(timerOrLabel);
|
|
1169
1169
|
}
|
|
@@ -1203,7 +1203,7 @@ class Async {
|
|
|
1203
1203
|
if (!timer && firstCallImmediately) {
|
|
1204
1204
|
callFn(...args);
|
|
1205
1205
|
}
|
|
1206
|
-
(0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_2__.clearTimeout)(timer);
|
|
1206
|
+
;(0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_2__.clearTimeout)(timer);
|
|
1207
1207
|
timer = this.setTimeout(()=>callFn(...args), (0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_4__.isFunction)(timeout) ? timeout() : timeout);
|
|
1208
1208
|
this.timers.set(fn, timer);
|
|
1209
1209
|
}
|
|
@@ -1410,7 +1410,7 @@ class Async {
|
|
|
1410
1410
|
this.isDestructed = true;
|
|
1411
1411
|
}
|
|
1412
1412
|
constructor(){
|
|
1413
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "timers", new Map());
|
|
1413
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "timers", new Map());
|
|
1414
1414
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__callbacks", new Map());
|
|
1415
1415
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__queueMicrotaskNative", queueMicrotask?.bind(window) ?? Promise.resolve().then.bind(Promise.resolve()));
|
|
1416
1416
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "promisesRejections", new Set());
|
|
@@ -1635,7 +1635,7 @@ const StatusListHandlers = new Map();
|
|
|
1635
1635
|
return c instanceof constructorFunc;
|
|
1636
1636
|
}
|
|
1637
1637
|
constructor(){
|
|
1638
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__componentName", void 0);
|
|
1638
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__componentName", void 0);
|
|
1639
1639
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "async", new jodit_core_async__WEBPACK_IMPORTED_MODULE_1__.Async());
|
|
1640
1640
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "uid", void 0);
|
|
1641
1641
|
/**
|
|
@@ -1645,7 +1645,7 @@ const StatusListHandlers = new Map();
|
|
|
1645
1645
|
this.uid = 'jodit-uid-' + (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__.uniqueUid)();
|
|
1646
1646
|
}
|
|
1647
1647
|
}
|
|
1648
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Component, "STATUSES", jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_2__.STATUSES);
|
|
1648
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Component, "STATUSES", jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_2__.STATUSES);
|
|
1649
1649
|
|
|
1650
1650
|
|
|
1651
1651
|
/***/ }),
|
|
@@ -1679,9 +1679,6 @@ const StatusListHandlers = new Map();
|
|
|
1679
1679
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1680
1680
|
|
|
1681
1681
|
"use strict";
|
|
1682
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1683
|
-
/* harmony export */ STATUSES: function() { return /* binding */ STATUSES; }
|
|
1684
|
-
/* harmony export */ });
|
|
1685
1682
|
/*!
|
|
1686
1683
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1687
1684
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -1695,6 +1692,10 @@ const StatusListHandlers = new Map();
|
|
|
1695
1692
|
destructed: 'destructed'
|
|
1696
1693
|
};
|
|
1697
1694
|
|
|
1695
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
1696
|
+
/* harmony export */ "STATUSES", 0, /* binding */ STATUSES
|
|
1697
|
+
/* harmony export */ ]);
|
|
1698
|
+
|
|
1698
1699
|
|
|
1699
1700
|
/***/ }),
|
|
1700
1701
|
|
|
@@ -1763,72 +1764,7 @@ class ViewComponent extends _component__WEBPACK_IMPORTED_MODULE_1__.Component {
|
|
|
1763
1764
|
"use strict";
|
|
1764
1765
|
__webpack_require__.r(__webpack_exports__);
|
|
1765
1766
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1766
|
-
/* harmony export */
|
|
1767
|
-
/* harmony export */ APP_VERSION: function() { return /* binding */ APP_VERSION; },
|
|
1768
|
-
/* harmony export */ BASE_PATH: function() { return /* binding */ BASE_PATH; },
|
|
1769
|
-
/* harmony export */ BASE_PATH_IS_MIN: function() { return /* binding */ BASE_PATH_IS_MIN; },
|
|
1770
|
-
/* harmony export */ BR: function() { return /* binding */ BR; },
|
|
1771
|
-
/* harmony export */ CLIPBOARD_ID: function() { return /* binding */ CLIPBOARD_ID; },
|
|
1772
|
-
/* harmony export */ COMMAND_KEYS: function() { return /* binding */ COMMAND_KEYS; },
|
|
1773
|
-
/* harmony export */ EMULATE_DBLCLICK_TIMEOUT: function() { return /* binding */ EMULATE_DBLCLICK_TIMEOUT; },
|
|
1774
|
-
/* harmony export */ ES: function() { return /* binding */ ES; },
|
|
1775
|
-
/* harmony export */ FAT_MODE: function() { return /* binding */ FAT_MODE; },
|
|
1776
|
-
/* harmony export */ HOMEPAGE: function() { return /* binding */ HOMEPAGE; },
|
|
1777
|
-
/* harmony export */ INSEPARABLE_TAGS: function() { return /* binding */ INSEPARABLE_TAGS; },
|
|
1778
|
-
/* harmony export */ INSERT_AS_HTML: function() { return /* binding */ INSERT_AS_HTML; },
|
|
1779
|
-
/* harmony export */ INSERT_AS_TEXT: function() { return /* binding */ INSERT_AS_TEXT; },
|
|
1780
|
-
/* harmony export */ INSERT_CLEAR_HTML: function() { return /* binding */ INSERT_CLEAR_HTML; },
|
|
1781
|
-
/* harmony export */ INSERT_ONLY_TEXT: function() { return /* binding */ INSERT_ONLY_TEXT; },
|
|
1782
|
-
/* harmony export */ INVISIBLE_SPACE: function() { return /* binding */ INVISIBLE_SPACE; },
|
|
1783
|
-
/* harmony export */ INVISIBLE_SPACE_REG_EXP: function() { return /* binding */ INVISIBLE_SPACE_REG_EXP; },
|
|
1784
|
-
/* harmony export */ INVISIBLE_SPACE_REG_EXP_END: function() { return /* binding */ INVISIBLE_SPACE_REG_EXP_END; },
|
|
1785
|
-
/* harmony export */ INVISIBLE_SPACE_REG_EXP_START: function() { return /* binding */ INVISIBLE_SPACE_REG_EXP_START; },
|
|
1786
|
-
/* harmony export */ IS_BLOCK: function() { return /* binding */ IS_BLOCK; },
|
|
1787
|
-
/* harmony export */ IS_ES_MODERN: function() { return /* binding */ IS_ES_MODERN; },
|
|
1788
|
-
/* harmony export */ IS_ES_NEXT: function() { return /* binding */ IS_ES_NEXT; },
|
|
1789
|
-
/* harmony export */ IS_IE: function() { return /* binding */ IS_IE; },
|
|
1790
|
-
/* harmony export */ IS_INLINE: function() { return /* binding */ IS_INLINE; },
|
|
1791
|
-
/* harmony export */ IS_MAC: function() { return /* binding */ IS_MAC; },
|
|
1792
|
-
/* harmony export */ IS_PROD: function() { return /* binding */ IS_PROD; },
|
|
1793
|
-
/* harmony export */ IS_TEST: function() { return /* binding */ IS_TEST; },
|
|
1794
|
-
/* harmony export */ KEY_ALIASES: function() { return /* binding */ KEY_ALIASES; },
|
|
1795
|
-
/* harmony export */ KEY_ALT: function() { return /* binding */ KEY_ALT; },
|
|
1796
|
-
/* harmony export */ KEY_BACKSPACE: function() { return /* binding */ KEY_BACKSPACE; },
|
|
1797
|
-
/* harmony export */ KEY_DELETE: function() { return /* binding */ KEY_DELETE; },
|
|
1798
|
-
/* harmony export */ KEY_DOWN: function() { return /* binding */ KEY_DOWN; },
|
|
1799
|
-
/* harmony export */ KEY_ENTER: function() { return /* binding */ KEY_ENTER; },
|
|
1800
|
-
/* harmony export */ KEY_ESC: function() { return /* binding */ KEY_ESC; },
|
|
1801
|
-
/* harmony export */ KEY_F3: function() { return /* binding */ KEY_F3; },
|
|
1802
|
-
/* harmony export */ KEY_LEFT: function() { return /* binding */ KEY_LEFT; },
|
|
1803
|
-
/* harmony export */ KEY_META: function() { return /* binding */ KEY_META; },
|
|
1804
|
-
/* harmony export */ KEY_RIGHT: function() { return /* binding */ KEY_RIGHT; },
|
|
1805
|
-
/* harmony export */ KEY_SPACE: function() { return /* binding */ KEY_SPACE; },
|
|
1806
|
-
/* harmony export */ KEY_TAB: function() { return /* binding */ KEY_TAB; },
|
|
1807
|
-
/* harmony export */ KEY_UP: function() { return /* binding */ KEY_UP; },
|
|
1808
|
-
/* harmony export */ LIST_TAGS: function() { return /* binding */ LIST_TAGS; },
|
|
1809
|
-
/* harmony export */ MARKER_CLASS: function() { return /* binding */ MARKER_CLASS; },
|
|
1810
|
-
/* harmony export */ MODE_SOURCE: function() { return /* binding */ MODE_SOURCE; },
|
|
1811
|
-
/* harmony export */ MODE_SPLIT: function() { return /* binding */ MODE_SPLIT; },
|
|
1812
|
-
/* harmony export */ MODE_WYSIWYG: function() { return /* binding */ MODE_WYSIWYG; },
|
|
1813
|
-
/* harmony export */ NBSP_SPACE: function() { return /* binding */ NBSP_SPACE; },
|
|
1814
|
-
/* harmony export */ NEARBY: function() { return /* binding */ NEARBY; },
|
|
1815
|
-
/* harmony export */ NO_EMPTY_TAGS: function() { return /* binding */ NO_EMPTY_TAGS; },
|
|
1816
|
-
/* harmony export */ PARAGRAPH: function() { return /* binding */ PARAGRAPH; },
|
|
1817
|
-
/* harmony export */ PASSIVE_EVENTS: function() { return /* binding */ PASSIVE_EVENTS; },
|
|
1818
|
-
/* harmony export */ SAFE_COUNT_CHANGE_CALL: function() { return /* binding */ SAFE_COUNT_CHANGE_CALL; },
|
|
1819
|
-
/* harmony export */ SET_TEST: function() { return /* binding */ SET_TEST; },
|
|
1820
|
-
/* harmony export */ SOURCE_CONSUMER: function() { return /* binding */ SOURCE_CONSUMER; },
|
|
1821
|
-
/* harmony export */ SPACE_REG_EXP: function() { return /* binding */ SPACE_REG_EXP; },
|
|
1822
|
-
/* harmony export */ SPACE_REG_EXP_END: function() { return /* binding */ SPACE_REG_EXP_END; },
|
|
1823
|
-
/* harmony export */ SPACE_REG_EXP_START: function() { return /* binding */ SPACE_REG_EXP_START; },
|
|
1824
|
-
/* harmony export */ TEMP_ATTR: function() { return /* binding */ TEMP_ATTR; },
|
|
1825
|
-
/* harmony export */ TEXT_HTML: function() { return /* binding */ TEXT_HTML; },
|
|
1826
|
-
/* harmony export */ TEXT_PLAIN: function() { return /* binding */ TEXT_PLAIN; },
|
|
1827
|
-
/* harmony export */ TEXT_RTF: function() { return /* binding */ TEXT_RTF; },
|
|
1828
|
-
/* harmony export */ TOKENS: function() { return /* binding */ TOKENS; },
|
|
1829
|
-
/* harmony export */ globalDocument: function() { return /* binding */ globalDocument; },
|
|
1830
|
-
/* harmony export */ globalWindow: function() { return /* binding */ globalWindow; },
|
|
1831
|
-
/* harmony export */ lang: function() { return /* binding */ lang; }
|
|
1767
|
+
/* harmony export */ IS_TEST: function() { return /* binding */ IS_TEST; }
|
|
1832
1768
|
/* harmony export */ });
|
|
1833
1769
|
/*!
|
|
1834
1770
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -1843,7 +1779,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1843
1779
|
* ```
|
|
1844
1780
|
* @packageDocumentation
|
|
1845
1781
|
* @module constants
|
|
1846
|
-
*/ const APP_VERSION = "4.14.
|
|
1782
|
+
*/ const APP_VERSION = "4.14.2";
|
|
1847
1783
|
// prettier-ignore
|
|
1848
1784
|
const ES = "es2021";
|
|
1849
1785
|
const IS_ES_MODERN = true;
|
|
@@ -2054,6 +1990,74 @@ const PASSIVE_EVENTS = new Set([
|
|
|
2054
1990
|
'touchmove'
|
|
2055
1991
|
]);
|
|
2056
1992
|
|
|
1993
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
1994
|
+
/* harmony export */ "ACCURACY", 0, /* binding */ ACCURACY,
|
|
1995
|
+
/* harmony export */ "APP_VERSION", 0, /* binding */ APP_VERSION,
|
|
1996
|
+
/* harmony export */ "BASE_PATH", 0, /* binding */ BASE_PATH,
|
|
1997
|
+
/* harmony export */ "BASE_PATH_IS_MIN", 0, /* binding */ BASE_PATH_IS_MIN,
|
|
1998
|
+
/* harmony export */ "BR", 0, /* binding */ BR,
|
|
1999
|
+
/* harmony export */ "CLIPBOARD_ID", 0, /* binding */ CLIPBOARD_ID,
|
|
2000
|
+
/* harmony export */ "COMMAND_KEYS", 0, /* binding */ COMMAND_KEYS,
|
|
2001
|
+
/* harmony export */ "EMULATE_DBLCLICK_TIMEOUT", 0, /* binding */ EMULATE_DBLCLICK_TIMEOUT,
|
|
2002
|
+
/* harmony export */ "ES", 0, /* binding */ ES,
|
|
2003
|
+
/* harmony export */ "FAT_MODE", 0, /* binding */ FAT_MODE,
|
|
2004
|
+
/* harmony export */ "HOMEPAGE", 0, /* binding */ HOMEPAGE,
|
|
2005
|
+
/* harmony export */ "INSEPARABLE_TAGS", 0, /* binding */ INSEPARABLE_TAGS,
|
|
2006
|
+
/* harmony export */ "INSERT_AS_HTML", 0, /* binding */ INSERT_AS_HTML,
|
|
2007
|
+
/* harmony export */ "INSERT_AS_TEXT", 0, /* binding */ INSERT_AS_TEXT,
|
|
2008
|
+
/* harmony export */ "INSERT_CLEAR_HTML", 0, /* binding */ INSERT_CLEAR_HTML,
|
|
2009
|
+
/* harmony export */ "INSERT_ONLY_TEXT", 0, /* binding */ INSERT_ONLY_TEXT,
|
|
2010
|
+
/* harmony export */ "INVISIBLE_SPACE", 0, /* binding */ INVISIBLE_SPACE,
|
|
2011
|
+
/* harmony export */ "INVISIBLE_SPACE_REG_EXP", 0, /* binding */ INVISIBLE_SPACE_REG_EXP,
|
|
2012
|
+
/* harmony export */ "INVISIBLE_SPACE_REG_EXP_END", 0, /* binding */ INVISIBLE_SPACE_REG_EXP_END,
|
|
2013
|
+
/* harmony export */ "INVISIBLE_SPACE_REG_EXP_START", 0, /* binding */ INVISIBLE_SPACE_REG_EXP_START,
|
|
2014
|
+
/* harmony export */ "IS_BLOCK", 0, /* binding */ IS_BLOCK,
|
|
2015
|
+
/* harmony export */ "IS_ES_MODERN", 0, /* binding */ IS_ES_MODERN,
|
|
2016
|
+
/* harmony export */ "IS_ES_NEXT", 0, /* binding */ IS_ES_NEXT,
|
|
2017
|
+
/* harmony export */ "IS_IE", 0, /* binding */ IS_IE,
|
|
2018
|
+
/* harmony export */ "IS_INLINE", 0, /* binding */ IS_INLINE,
|
|
2019
|
+
/* harmony export */ "IS_MAC", 0, /* binding */ IS_MAC,
|
|
2020
|
+
/* harmony export */ "IS_PROD", 0, /* binding */ IS_PROD,
|
|
2021
|
+
/* harmony export */ "KEY_ALIASES", 0, /* binding */ KEY_ALIASES,
|
|
2022
|
+
/* harmony export */ "KEY_ALT", 0, /* binding */ KEY_ALT,
|
|
2023
|
+
/* harmony export */ "KEY_BACKSPACE", 0, /* binding */ KEY_BACKSPACE,
|
|
2024
|
+
/* harmony export */ "KEY_DELETE", 0, /* binding */ KEY_DELETE,
|
|
2025
|
+
/* harmony export */ "KEY_DOWN", 0, /* binding */ KEY_DOWN,
|
|
2026
|
+
/* harmony export */ "KEY_ENTER", 0, /* binding */ KEY_ENTER,
|
|
2027
|
+
/* harmony export */ "KEY_ESC", 0, /* binding */ KEY_ESC,
|
|
2028
|
+
/* harmony export */ "KEY_F3", 0, /* binding */ KEY_F3,
|
|
2029
|
+
/* harmony export */ "KEY_LEFT", 0, /* binding */ KEY_LEFT,
|
|
2030
|
+
/* harmony export */ "KEY_META", 0, /* binding */ KEY_META,
|
|
2031
|
+
/* harmony export */ "KEY_RIGHT", 0, /* binding */ KEY_RIGHT,
|
|
2032
|
+
/* harmony export */ "KEY_SPACE", 0, /* binding */ KEY_SPACE,
|
|
2033
|
+
/* harmony export */ "KEY_TAB", 0, /* binding */ KEY_TAB,
|
|
2034
|
+
/* harmony export */ "KEY_UP", 0, /* binding */ KEY_UP,
|
|
2035
|
+
/* harmony export */ "LIST_TAGS", 0, /* binding */ LIST_TAGS,
|
|
2036
|
+
/* harmony export */ "MARKER_CLASS", 0, /* binding */ MARKER_CLASS,
|
|
2037
|
+
/* harmony export */ "MODE_SOURCE", 0, /* binding */ MODE_SOURCE,
|
|
2038
|
+
/* harmony export */ "MODE_SPLIT", 0, /* binding */ MODE_SPLIT,
|
|
2039
|
+
/* harmony export */ "MODE_WYSIWYG", 0, /* binding */ MODE_WYSIWYG,
|
|
2040
|
+
/* harmony export */ "NBSP_SPACE", 0, /* binding */ NBSP_SPACE,
|
|
2041
|
+
/* harmony export */ "NEARBY", 0, /* binding */ NEARBY,
|
|
2042
|
+
/* harmony export */ "NO_EMPTY_TAGS", 0, /* binding */ NO_EMPTY_TAGS,
|
|
2043
|
+
/* harmony export */ "PARAGRAPH", 0, /* binding */ PARAGRAPH,
|
|
2044
|
+
/* harmony export */ "PASSIVE_EVENTS", 0, /* binding */ PASSIVE_EVENTS,
|
|
2045
|
+
/* harmony export */ "SAFE_COUNT_CHANGE_CALL", 0, /* binding */ SAFE_COUNT_CHANGE_CALL,
|
|
2046
|
+
/* harmony export */ "SET_TEST", 0, /* binding */ SET_TEST,
|
|
2047
|
+
/* harmony export */ "SOURCE_CONSUMER", 0, /* binding */ SOURCE_CONSUMER,
|
|
2048
|
+
/* harmony export */ "SPACE_REG_EXP", 0, /* binding */ SPACE_REG_EXP,
|
|
2049
|
+
/* harmony export */ "SPACE_REG_EXP_END", 0, /* binding */ SPACE_REG_EXP_END,
|
|
2050
|
+
/* harmony export */ "SPACE_REG_EXP_START", 0, /* binding */ SPACE_REG_EXP_START,
|
|
2051
|
+
/* harmony export */ "TEMP_ATTR", 0, /* binding */ TEMP_ATTR,
|
|
2052
|
+
/* harmony export */ "TEXT_HTML", 0, /* binding */ TEXT_HTML,
|
|
2053
|
+
/* harmony export */ "TEXT_PLAIN", 0, /* binding */ TEXT_PLAIN,
|
|
2054
|
+
/* harmony export */ "TEXT_RTF", 0, /* binding */ TEXT_RTF,
|
|
2055
|
+
/* harmony export */ "TOKENS", 0, /* binding */ TOKENS,
|
|
2056
|
+
/* harmony export */ "globalDocument", 0, /* binding */ globalDocument,
|
|
2057
|
+
/* harmony export */ "globalWindow", 0, /* binding */ globalWindow,
|
|
2058
|
+
/* harmony export */ "lang", 0, /* binding */ lang
|
|
2059
|
+
/* harmony export */ ]);
|
|
2060
|
+
|
|
2057
2061
|
|
|
2058
2062
|
/***/ }),
|
|
2059
2063
|
|
|
@@ -2204,7 +2208,7 @@ class Create {
|
|
|
2204
2208
|
}
|
|
2205
2209
|
}
|
|
2206
2210
|
constructor(document, createAttributes){
|
|
2207
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "document", void 0);
|
|
2211
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "document", void 0);
|
|
2208
2212
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "createAttributes", void 0);
|
|
2209
2213
|
this.document = document;
|
|
2210
2214
|
this.createAttributes = createAttributes;
|
|
@@ -2776,9 +2780,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2776
2780
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2777
2781
|
|
|
2778
2782
|
"use strict";
|
|
2779
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2780
|
-
/* harmony export */ nonenumerable: function() { return /* binding */ nonenumerable; }
|
|
2781
|
-
/* harmony export */ });
|
|
2782
2783
|
/*!
|
|
2783
2784
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
2784
2785
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -2803,6 +2804,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2803
2804
|
}
|
|
2804
2805
|
};
|
|
2805
2806
|
|
|
2807
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
2808
|
+
/* harmony export */ "nonenumerable", 0, /* binding */ nonenumerable
|
|
2809
|
+
/* harmony export */ ]);
|
|
2810
|
+
|
|
2806
2811
|
|
|
2807
2812
|
/***/ }),
|
|
2808
2813
|
|
|
@@ -2942,7 +2947,7 @@ function wait(condition) {
|
|
|
2942
2947
|
if (!immediately) {
|
|
2943
2948
|
callback = component.async.microDebounce(callback, true);
|
|
2944
2949
|
}
|
|
2945
|
-
(0,jodit_core_helpers_array_split_array__WEBPACK_IMPORTED_MODULE_2__.splitArray)(observeFields).forEach((field)=>{
|
|
2950
|
+
;(0,jodit_core_helpers_array_split_array__WEBPACK_IMPORTED_MODULE_2__.splitArray)(observeFields).forEach((field)=>{
|
|
2946
2951
|
if (/:/.test(field)) {
|
|
2947
2952
|
const [objectPath, eventName] = field.split(':');
|
|
2948
2953
|
let ctx = context;
|
|
@@ -3646,7 +3651,7 @@ const TEMP_ELEMENT_REG_EXP = new RegExp(`<([a-z]+)[^>]+${jodit_core_constants__W
|
|
|
3646
3651
|
if (!node) {
|
|
3647
3652
|
return;
|
|
3648
3653
|
}
|
|
3649
|
-
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_12__.dataBind)(node, '__old_display', node.style.getPropertyValue('display'));
|
|
3654
|
+
;(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_12__.dataBind)(node, '__old_display', node.style.getPropertyValue('display'));
|
|
3650
3655
|
node.style.setProperty('display', 'none');
|
|
3651
3656
|
}
|
|
3652
3657
|
/**
|
|
@@ -3853,7 +3858,7 @@ const TEMP_ELEMENT_REG_EXP = new RegExp(`<([a-z]+)[^>]+${jodit_core_constants__W
|
|
|
3853
3858
|
super(), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "async", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "options", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "workNodes", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "hadAffect", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "isWorked", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "isFinished", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__schedulerController", void 0), this.async = async, this.options = options, this.workNodes = null, this.hadAffect = false, this.isWorked = false, this.isFinished = false, this.__schedulerController = null;
|
|
3854
3859
|
}
|
|
3855
3860
|
}
|
|
3856
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
3861
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
3857
3862
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
3858
3863
|
], LazyWalker.prototype, "__workPerform", null);
|
|
3859
3864
|
|
|
@@ -4275,7 +4280,7 @@ const TEMP_ELEMENT_REG_EXP = new RegExp(`<([a-z]+)[^>]+${jodit_core_constants__W
|
|
|
4275
4280
|
this.__removeStoreFromSubject(this);
|
|
4276
4281
|
}
|
|
4277
4282
|
constructor(doc){
|
|
4278
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__domEventsMap", new Map());
|
|
4283
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__domEventsMap", new Map());
|
|
4279
4284
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__mutedEvents", new Set());
|
|
4280
4285
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__key", '__JoditEventEmitterNamespaces');
|
|
4281
4286
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__doc", jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.globalDocument);
|
|
@@ -4397,7 +4402,7 @@ function isDOMElement(subject) {
|
|
|
4397
4402
|
return result;
|
|
4398
4403
|
}
|
|
4399
4404
|
constructor(){
|
|
4400
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__map", new Map());
|
|
4405
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__map", new Map());
|
|
4401
4406
|
}
|
|
4402
4407
|
}
|
|
4403
4408
|
|
|
@@ -4408,9 +4413,6 @@ function isDOMElement(subject) {
|
|
|
4408
4413
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4409
4414
|
|
|
4410
4415
|
"use strict";
|
|
4411
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4412
|
-
/* harmony export */ eventEmitter: function() { return /* binding */ eventEmitter; }
|
|
4413
|
-
/* harmony export */ });
|
|
4414
4416
|
/* harmony import */ var _event_emitter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93747);
|
|
4415
4417
|
/*!
|
|
4416
4418
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -4421,6 +4423,10 @@ function isDOMElement(subject) {
|
|
|
4421
4423
|
*/
|
|
4422
4424
|
const eventEmitter = new _event_emitter__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
|
|
4423
4425
|
|
|
4426
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4427
|
+
/* harmony export */ "eventEmitter", 0, /* binding */ eventEmitter
|
|
4428
|
+
/* harmony export */ ]);
|
|
4429
|
+
|
|
4424
4430
|
|
|
4425
4431
|
/***/ }),
|
|
4426
4432
|
|
|
@@ -4613,8 +4619,7 @@ function isObservableObject(obj) {
|
|
|
4613
4619
|
|
|
4614
4620
|
"use strict";
|
|
4615
4621
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4616
|
-
/* harmony export */ EventHandlersStore: function() { return /* binding */ EventHandlersStore; }
|
|
4617
|
-
/* harmony export */ defaultNameSpace: function() { return /* binding */ defaultNameSpace; }
|
|
4622
|
+
/* harmony export */ EventHandlersStore: function() { return /* binding */ EventHandlersStore; }
|
|
4618
4623
|
/* harmony export */ });
|
|
4619
4624
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
|
|
4620
4625
|
/* harmony import */ var jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88475);
|
|
@@ -4688,10 +4693,14 @@ class EventHandlersStore {
|
|
|
4688
4693
|
return this.__store.size === 0;
|
|
4689
4694
|
}
|
|
4690
4695
|
constructor(){
|
|
4691
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__store", new Map());
|
|
4696
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__store", new Map());
|
|
4692
4697
|
}
|
|
4693
4698
|
}
|
|
4694
4699
|
|
|
4700
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4701
|
+
/* harmony export */ "defaultNameSpace", 0, /* binding */ defaultNameSpace
|
|
4702
|
+
/* harmony export */ ]);
|
|
4703
|
+
|
|
4695
4704
|
|
|
4696
4705
|
/***/ }),
|
|
4697
4706
|
|
|
@@ -4700,13 +4709,8 @@ class EventHandlersStore {
|
|
|
4700
4709
|
|
|
4701
4710
|
"use strict";
|
|
4702
4711
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4703
|
-
/* harmony export */ eventEmitter: function() { return /* binding */ eventEmitter; },
|
|
4704
|
-
/* harmony export */ extendLang: function() { return /* binding */ extendLang; },
|
|
4705
4712
|
/* harmony export */ getContainer: function() { return /* binding */ getContainer; },
|
|
4706
4713
|
/* harmony export */ getPopupViewRoot: function() { return /* binding */ getPopupViewRoot; },
|
|
4707
|
-
/* harmony export */ instances: function() { return /* binding */ instances; },
|
|
4708
|
-
/* harmony export */ modules: function() { return /* binding */ modules; },
|
|
4709
|
-
/* harmony export */ pluginSystem: function() { return /* binding */ pluginSystem; },
|
|
4710
4714
|
/* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
|
|
4711
4715
|
/* harmony export */ });
|
|
4712
4716
|
/* harmony import */ var jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24497);
|
|
@@ -4822,6 +4826,14 @@ const boxes = new WeakMap();
|
|
|
4822
4826
|
* @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
|
|
4823
4827
|
*/ const eventEmitter = _event_emitter_global__WEBPACK_IMPORTED_MODULE_8__.eventEmitter;
|
|
4824
4828
|
|
|
4829
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4830
|
+
/* harmony export */ "eventEmitter", 0, /* binding */ eventEmitter,
|
|
4831
|
+
/* harmony export */ "extendLang", 0, /* binding */ extendLang,
|
|
4832
|
+
/* harmony export */ "instances", 0, /* binding */ instances,
|
|
4833
|
+
/* harmony export */ "modules", 0, /* binding */ modules,
|
|
4834
|
+
/* harmony export */ "pluginSystem", 0, /* binding */ pluginSystem
|
|
4835
|
+
/* harmony export */ ]);
|
|
4836
|
+
|
|
4825
4837
|
|
|
4826
4838
|
/***/ }),
|
|
4827
4839
|
|
|
@@ -4829,9 +4841,6 @@ const boxes = new WeakMap();
|
|
|
4829
4841
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4830
4842
|
|
|
4831
4843
|
"use strict";
|
|
4832
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4833
|
-
/* harmony export */ asArray: function() { return /* binding */ asArray; }
|
|
4834
|
-
/* harmony export */ });
|
|
4835
4844
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17312);
|
|
4836
4845
|
/*!
|
|
4837
4846
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -4851,6 +4860,10 @@ const boxes = new WeakMap();
|
|
|
4851
4860
|
a
|
|
4852
4861
|
];
|
|
4853
4862
|
|
|
4863
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4864
|
+
/* harmony export */ "asArray", 0, /* binding */ asArray
|
|
4865
|
+
/* harmony export */ ]);
|
|
4866
|
+
|
|
4854
4867
|
|
|
4855
4868
|
/***/ }),
|
|
4856
4869
|
|
|
@@ -4909,9 +4922,6 @@ const boxes = new WeakMap();
|
|
|
4909
4922
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4910
4923
|
|
|
4911
4924
|
"use strict";
|
|
4912
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4913
|
-
/* harmony export */ toArray: function() { return /* binding */ toArray; }
|
|
4914
|
-
/* harmony export */ });
|
|
4915
4925
|
/* harmony import */ var jodit_core_helpers_checker_is_native_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23283);
|
|
4916
4926
|
/* harmony import */ var jodit_core_helpers_utils_reset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43379);
|
|
4917
4927
|
/*!
|
|
@@ -4935,6 +4945,10 @@ const boxes = new WeakMap();
|
|
|
4935
4945
|
return func.apply(Array, args);
|
|
4936
4946
|
};
|
|
4937
4947
|
|
|
4948
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4949
|
+
/* harmony export */ "toArray", 0, /* binding */ toArray
|
|
4950
|
+
/* harmony export */ ]);
|
|
4951
|
+
|
|
4938
4952
|
|
|
4939
4953
|
/***/ }),
|
|
4940
4954
|
|
|
@@ -5265,9 +5279,6 @@ function isFastEqual(a, b) {
|
|
|
5265
5279
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5266
5280
|
|
|
5267
5281
|
"use strict";
|
|
5268
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5269
|
-
/* harmony export */ isHTML: function() { return /* binding */ isHTML; }
|
|
5270
|
-
/* harmony export */ });
|
|
5271
5282
|
/* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85932);
|
|
5272
5283
|
/*!
|
|
5273
5284
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -5280,6 +5291,10 @@ function isFastEqual(a, b) {
|
|
|
5280
5291
|
* Check if a string is html or not
|
|
5281
5292
|
*/ const isHTML = (str)=>(0,_is_string__WEBPACK_IMPORTED_MODULE_0__.isString)(str) && /<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(str.replace(/[\r\n]/g, ''));
|
|
5282
5293
|
|
|
5294
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
5295
|
+
/* harmony export */ "isHTML", 0, /* binding */ isHTML
|
|
5296
|
+
/* harmony export */ ]);
|
|
5297
|
+
|
|
5283
5298
|
|
|
5284
5299
|
/***/ }),
|
|
5285
5300
|
|
|
@@ -5381,9 +5396,6 @@ function isFastEqual(a, b) {
|
|
|
5381
5396
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5382
5397
|
|
|
5383
5398
|
"use strict";
|
|
5384
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5385
|
-
/* harmony export */ isLicense: function() { return /* binding */ isLicense; }
|
|
5386
|
-
/* harmony export */ });
|
|
5387
5399
|
/* harmony import */ var _is_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85932);
|
|
5388
5400
|
/*!
|
|
5389
5401
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -5394,6 +5406,10 @@ function isFastEqual(a, b) {
|
|
|
5394
5406
|
*/
|
|
5395
5407
|
const isLicense = (license)=>(0,_is_string__WEBPACK_IMPORTED_MODULE_0__.isString)(license) && license.length === 23 && /^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(license);
|
|
5396
5408
|
|
|
5409
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
5410
|
+
/* harmony export */ "isLicense", 0, /* binding */ isLicense
|
|
5411
|
+
/* harmony export */ ]);
|
|
5412
|
+
|
|
5397
5413
|
|
|
5398
5414
|
/***/ }),
|
|
5399
5415
|
|
|
@@ -5736,9 +5752,6 @@ const isLicense = (license)=>(0,_is_string__WEBPACK_IMPORTED_MODULE_0__.isString
|
|
|
5736
5752
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5737
5753
|
|
|
5738
5754
|
"use strict";
|
|
5739
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5740
|
-
/* harmony export */ colorToHex: function() { return /* binding */ colorToHex; }
|
|
5741
|
-
/* harmony export */ });
|
|
5742
5755
|
/*!
|
|
5743
5756
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5744
5757
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -5779,24 +5792,9 @@ const isLicense = (license)=>(0,_is_string__WEBPACK_IMPORTED_MODULE_0__.isString
|
|
|
5779
5792
|
return digits[1] + '#' + hex;
|
|
5780
5793
|
};
|
|
5781
5794
|
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
/***/ 7018:
|
|
5786
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5787
|
-
|
|
5788
|
-
"use strict";
|
|
5789
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5790
|
-
/* harmony export */ colorToHex: function() { return /* reexport safe */ _color_to_hex__WEBPACK_IMPORTED_MODULE_0__.colorToHex; }
|
|
5791
|
-
/* harmony export */ });
|
|
5792
|
-
/* harmony import */ var _color_to_hex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93387);
|
|
5793
|
-
/*!
|
|
5794
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5795
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
5796
|
-
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
5797
|
-
*/ /**
|
|
5798
|
-
* @module helpers/color
|
|
5799
|
-
*/
|
|
5795
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
5796
|
+
/* harmony export */ "colorToHex", 0, /* binding */ colorToHex
|
|
5797
|
+
/* harmony export */ ]);
|
|
5800
5798
|
|
|
5801
5799
|
|
|
5802
5800
|
/***/ }),
|
|
@@ -5988,7 +5986,7 @@ function normalizeCSS(s) {
|
|
|
5988
5986
|
marks.push(node);
|
|
5989
5987
|
break;
|
|
5990
5988
|
}
|
|
5991
|
-
(0,jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__.toArray)(node.attributes).forEach((attribute)=>{
|
|
5989
|
+
;(0,jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__.toArray)(node.attributes).forEach((attribute)=>{
|
|
5992
5990
|
if ([
|
|
5993
5991
|
'src',
|
|
5994
5992
|
'href',
|
|
@@ -6197,7 +6195,7 @@ function isSmuggledForeignHtml(elm) {
|
|
|
6197
6195
|
if (!parts.includes('noreferrer')) {
|
|
6198
6196
|
parts.push('noreferrer');
|
|
6199
6197
|
}
|
|
6200
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.attr)(node, 'rel', parts.join(' '));
|
|
6198
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.attr)(node, 'rel', parts.join(' '));
|
|
6201
6199
|
}
|
|
6202
6200
|
};
|
|
6203
6201
|
process(box);
|
|
@@ -6219,7 +6217,7 @@ function isSmuggledForeignHtml(elm) {
|
|
|
6219
6217
|
for (const name of toRemove){
|
|
6220
6218
|
// `attrRaw` on purpose: `attr()` kebab-cases the key
|
|
6221
6219
|
// (`onLoad` → `on-load`), which must not happen in a sanitizer
|
|
6222
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name, null);
|
|
6220
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name, null);
|
|
6223
6221
|
effected = true;
|
|
6224
6222
|
}
|
|
6225
6223
|
return effected;
|
|
@@ -6483,7 +6481,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6483
6481
|
/* harmony import */ var _array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45664);
|
|
6484
6482
|
/* harmony import */ var _async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61077);
|
|
6485
6483
|
/* harmony import */ var _checker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28686);
|
|
6486
|
-
/* harmony import */ var _color__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
6484
|
+
/* harmony import */ var _color__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(93387);
|
|
6487
6485
|
/* harmony import */ var _html__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82658);
|
|
6488
6486
|
/* harmony import */ var _normalize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97022);
|
|
6489
6487
|
/* harmony import */ var _size__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86878);
|
|
@@ -6559,9 +6557,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6559
6557
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6560
6558
|
|
|
6561
6559
|
"use strict";
|
|
6562
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6563
|
-
/* harmony export */ normalizeColor: function() { return /* binding */ normalizeColor; }
|
|
6564
|
-
/* harmony export */ });
|
|
6565
6560
|
/* harmony import */ var jodit_core_helpers_color_color_to_hex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93387);
|
|
6566
6561
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4040);
|
|
6567
6562
|
/*!
|
|
@@ -6600,6 +6595,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6600
6595
|
return '#' + color;
|
|
6601
6596
|
};
|
|
6602
6597
|
|
|
6598
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6599
|
+
/* harmony export */ "normalizeColor", 0, /* binding */ normalizeColor
|
|
6600
|
+
/* harmony export */ ]);
|
|
6601
|
+
|
|
6603
6602
|
|
|
6604
6603
|
/***/ }),
|
|
6605
6604
|
|
|
@@ -6608,7 +6607,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6608
6607
|
|
|
6609
6608
|
"use strict";
|
|
6610
6609
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6611
|
-
/* harmony export */ NUMBER_FIELDS_REG: function() { return /* binding */ NUMBER_FIELDS_REG; },
|
|
6612
6610
|
/* harmony export */ normalizeCssNumericValue: function() { return /* binding */ normalizeCssNumericValue; },
|
|
6613
6611
|
/* harmony export */ normalizeCssValue: function() { return /* binding */ normalizeCssValue; }
|
|
6614
6612
|
/* harmony export */ });
|
|
@@ -6655,6 +6653,10 @@ function normalizeCssValue(key, value) {
|
|
|
6655
6653
|
return value;
|
|
6656
6654
|
}
|
|
6657
6655
|
|
|
6656
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6657
|
+
/* harmony export */ "NUMBER_FIELDS_REG", 0, /* binding */ NUMBER_FIELDS_REG
|
|
6658
|
+
/* harmony export */ ]);
|
|
6659
|
+
|
|
6658
6660
|
|
|
6659
6661
|
/***/ }),
|
|
6660
6662
|
|
|
@@ -6708,9 +6710,6 @@ function normalizeCssValue(key, value) {
|
|
|
6708
6710
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6709
6711
|
|
|
6710
6712
|
"use strict";
|
|
6711
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6712
|
-
/* harmony export */ normalizeLicense: function() { return /* binding */ normalizeLicense; }
|
|
6713
|
-
/* harmony export */ });
|
|
6714
6713
|
/*!
|
|
6715
6714
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
6716
6715
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -6728,6 +6727,10 @@ function normalizeCssValue(key, value) {
|
|
|
6728
6727
|
return parts.join('-');
|
|
6729
6728
|
};
|
|
6730
6729
|
|
|
6730
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6731
|
+
/* harmony export */ "normalizeLicense", 0, /* binding */ normalizeLicense
|
|
6732
|
+
/* harmony export */ ]);
|
|
6733
|
+
|
|
6731
6734
|
|
|
6732
6735
|
/***/ }),
|
|
6733
6736
|
|
|
@@ -6735,9 +6738,6 @@ function normalizeCssValue(key, value) {
|
|
|
6735
6738
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6736
6739
|
|
|
6737
6740
|
"use strict";
|
|
6738
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6739
|
-
/* harmony export */ normalizePath: function() { return /* binding */ normalizePath; }
|
|
6740
|
-
/* harmony export */ });
|
|
6741
6741
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4040);
|
|
6742
6742
|
/*!
|
|
6743
6743
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -6761,6 +6761,10 @@ function normalizeCssValue(key, value) {
|
|
|
6761
6761
|
}).join('/');
|
|
6762
6762
|
};
|
|
6763
6763
|
|
|
6764
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6765
|
+
/* harmony export */ "normalizePath", 0, /* binding */ normalizePath
|
|
6766
|
+
/* harmony export */ ]);
|
|
6767
|
+
|
|
6764
6768
|
|
|
6765
6769
|
/***/ }),
|
|
6766
6770
|
|
|
@@ -6768,9 +6772,6 @@ function normalizeCssValue(key, value) {
|
|
|
6768
6772
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6769
6773
|
|
|
6770
6774
|
"use strict";
|
|
6771
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6772
|
-
/* harmony export */ normalizeRelativePath: function() { return /* binding */ normalizeRelativePath; }
|
|
6773
|
-
/* harmony export */ });
|
|
6774
6775
|
/*!
|
|
6775
6776
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
6776
6777
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -6804,6 +6805,10 @@ function normalizeCssValue(key, value) {
|
|
|
6804
6805
|
return builder.join('/') + (path.endsWith('/') ? '/' : '');
|
|
6805
6806
|
};
|
|
6806
6807
|
|
|
6808
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6809
|
+
/* harmony export */ "normalizeRelativePath", 0, /* binding */ normalizeRelativePath
|
|
6810
|
+
/* harmony export */ ]);
|
|
6811
|
+
|
|
6807
6812
|
|
|
6808
6813
|
/***/ }),
|
|
6809
6814
|
|
|
@@ -6811,9 +6816,6 @@ function normalizeCssValue(key, value) {
|
|
|
6811
6816
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6812
6817
|
|
|
6813
6818
|
"use strict";
|
|
6814
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6815
|
-
/* harmony export */ normalizeSize: function() { return /* binding */ normalizeSize; }
|
|
6816
|
-
/* harmony export */ });
|
|
6817
6819
|
/*!
|
|
6818
6820
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
6819
6821
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -6829,6 +6831,10 @@ function normalizeCssValue(key, value) {
|
|
|
6829
6831
|
return value.toString();
|
|
6830
6832
|
};
|
|
6831
6833
|
|
|
6834
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6835
|
+
/* harmony export */ "normalizeSize", 0, /* binding */ normalizeSize
|
|
6836
|
+
/* harmony export */ ]);
|
|
6837
|
+
|
|
6832
6838
|
|
|
6833
6839
|
/***/ }),
|
|
6834
6840
|
|
|
@@ -6836,9 +6842,6 @@ function normalizeCssValue(key, value) {
|
|
|
6836
6842
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6837
6843
|
|
|
6838
6844
|
"use strict";
|
|
6839
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6840
|
-
/* harmony export */ normalizeUrl: function() { return /* binding */ normalizeUrl; }
|
|
6841
|
-
/* harmony export */ });
|
|
6842
6845
|
/*!
|
|
6843
6846
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
6844
6847
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -6849,6 +6852,10 @@ function normalizeCssValue(key, value) {
|
|
|
6849
6852
|
return urls.filter((url)=>url.length).map((url)=>url.replace(/\/$/, '')).join('/').replace(/([^:])[\\/]+/g, '$1/');
|
|
6850
6853
|
};
|
|
6851
6854
|
|
|
6855
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6856
|
+
/* harmony export */ "normalizeUrl", 0, /* binding */ normalizeUrl
|
|
6857
|
+
/* harmony export */ ]);
|
|
6858
|
+
|
|
6852
6859
|
|
|
6853
6860
|
/***/ }),
|
|
6854
6861
|
|
|
@@ -6856,9 +6863,6 @@ function normalizeCssValue(key, value) {
|
|
|
6856
6863
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6857
6864
|
|
|
6858
6865
|
"use strict";
|
|
6859
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6860
|
-
/* harmony export */ getContentWidth: function() { return /* binding */ getContentWidth; }
|
|
6861
|
-
/* harmony export */ });
|
|
6862
6866
|
/*!
|
|
6863
6867
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
6864
6868
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -6870,6 +6874,10 @@ function normalizeCssValue(key, value) {
|
|
|
6870
6874
|
return width - paddingLeft - paddingRight;
|
|
6871
6875
|
};
|
|
6872
6876
|
|
|
6877
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
6878
|
+
/* harmony export */ "getContentWidth", 0, /* binding */ getContentWidth
|
|
6879
|
+
/* harmony export */ ]);
|
|
6880
|
+
|
|
6873
6881
|
|
|
6874
6882
|
/***/ }),
|
|
6875
6883
|
|
|
@@ -7001,9 +7009,6 @@ function getScrollParent(node) {
|
|
|
7001
7009
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7002
7010
|
|
|
7003
7011
|
"use strict";
|
|
7004
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7005
|
-
/* harmony export */ innerWidth: function() { return /* binding */ innerWidth; }
|
|
7006
|
-
/* harmony export */ });
|
|
7007
7012
|
/*!
|
|
7008
7013
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7009
7014
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7017,6 +7022,10 @@ function getScrollParent(node) {
|
|
|
7017
7022
|
return elementWidth;
|
|
7018
7023
|
};
|
|
7019
7024
|
|
|
7025
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7026
|
+
/* harmony export */ "innerWidth", 0, /* binding */ innerWidth
|
|
7027
|
+
/* harmony export */ ]);
|
|
7028
|
+
|
|
7020
7029
|
|
|
7021
7030
|
/***/ }),
|
|
7022
7031
|
|
|
@@ -7052,9 +7061,6 @@ function size(subject) {
|
|
|
7052
7061
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7053
7062
|
|
|
7054
7063
|
"use strict";
|
|
7055
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7056
|
-
/* harmony export */ offset: function() { return /* binding */ offset; }
|
|
7057
|
-
/* harmony export */ });
|
|
7058
7064
|
/*!
|
|
7059
7065
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7060
7066
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7102,6 +7108,10 @@ function size(subject) {
|
|
|
7102
7108
|
};
|
|
7103
7109
|
};
|
|
7104
7110
|
|
|
7111
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7112
|
+
/* harmony export */ "offset", 0, /* binding */ offset
|
|
7113
|
+
/* harmony export */ ]);
|
|
7114
|
+
|
|
7105
7115
|
|
|
7106
7116
|
/***/ }),
|
|
7107
7117
|
|
|
@@ -7145,9 +7155,6 @@ function size(subject) {
|
|
|
7145
7155
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7146
7156
|
|
|
7147
7157
|
"use strict";
|
|
7148
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7149
|
-
/* harmony export */ camelCase: function() { return /* binding */ camelCase; }
|
|
7150
|
-
/* harmony export */ });
|
|
7151
7158
|
/*!
|
|
7152
7159
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7153
7160
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7162,6 +7169,10 @@ function size(subject) {
|
|
|
7162
7169
|
});
|
|
7163
7170
|
};
|
|
7164
7171
|
|
|
7172
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7173
|
+
/* harmony export */ "camelCase", 0, /* binding */ camelCase
|
|
7174
|
+
/* harmony export */ ]);
|
|
7175
|
+
|
|
7165
7176
|
|
|
7166
7177
|
/***/ }),
|
|
7167
7178
|
|
|
@@ -7224,8 +7235,7 @@ function size(subject) {
|
|
|
7224
7235
|
|
|
7225
7236
|
"use strict";
|
|
7226
7237
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7227
|
-
/* harmony export */ i18n: function() { return /* binding */ i18n; }
|
|
7228
|
-
/* harmony export */ sprintf: function() { return /* binding */ sprintf; }
|
|
7238
|
+
/* harmony export */ i18n: function() { return /* binding */ i18n; }
|
|
7229
7239
|
/* harmony export */ });
|
|
7230
7240
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
7231
7241
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85932);
|
|
@@ -7341,6 +7351,10 @@ function size(subject) {
|
|
|
7341
7351
|
return parse(key);
|
|
7342
7352
|
}
|
|
7343
7353
|
|
|
7354
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7355
|
+
/* harmony export */ "sprintf", 0, /* binding */ sprintf
|
|
7356
|
+
/* harmony export */ ]);
|
|
7357
|
+
|
|
7344
7358
|
|
|
7345
7359
|
/***/ }),
|
|
7346
7360
|
|
|
@@ -7389,10 +7403,6 @@ function size(subject) {
|
|
|
7389
7403
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7390
7404
|
|
|
7391
7405
|
"use strict";
|
|
7392
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7393
|
-
/* harmony export */ CamelCaseToKebabCase: function() { return /* binding */ CamelCaseToKebabCase; },
|
|
7394
|
-
/* harmony export */ kebabCase: function() { return /* binding */ kebabCase; }
|
|
7395
|
-
/* harmony export */ });
|
|
7396
7406
|
/*!
|
|
7397
7407
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7398
7408
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7406,6 +7416,11 @@ const CamelCaseToKebabCase = (key)=>{
|
|
|
7406
7416
|
return key.replace(/([A-Z])([A-Z])([a-z])/g, '$1-$2$3').replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
7407
7417
|
};
|
|
7408
7418
|
|
|
7419
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7420
|
+
/* harmony export */ "CamelCaseToKebabCase", 0, /* binding */ CamelCaseToKebabCase,
|
|
7421
|
+
/* harmony export */ "kebabCase", 0, /* binding */ kebabCase
|
|
7422
|
+
/* harmony export */ ]);
|
|
7423
|
+
|
|
7409
7424
|
|
|
7410
7425
|
/***/ }),
|
|
7411
7426
|
|
|
@@ -7551,7 +7566,7 @@ function trimChars(value, chars) {
|
|
|
7551
7566
|
].indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__.css)(image, 'float').toString().toLowerCase()) !== -1) {
|
|
7552
7567
|
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__.css)(image, 'float', '');
|
|
7553
7568
|
}
|
|
7554
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__.clearCenterAlign)(image);
|
|
7569
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__.clearCenterAlign)(image);
|
|
7555
7570
|
}
|
|
7556
7571
|
}
|
|
7557
7572
|
/**
|
|
@@ -7606,9 +7621,6 @@ function alignElement(command, box) {
|
|
|
7606
7621
|
|
|
7607
7622
|
"use strict";
|
|
7608
7623
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7609
|
-
/* harmony export */ alreadyLoadedList: function() { return /* binding */ alreadyLoadedList; },
|
|
7610
|
-
/* harmony export */ appendScriptAsync: function() { return /* binding */ appendScriptAsync; },
|
|
7611
|
-
/* harmony export */ appendStyleAsync: function() { return /* binding */ appendStyleAsync; },
|
|
7612
7624
|
/* harmony export */ loadNext: function() { return /* binding */ loadNext; },
|
|
7613
7625
|
/* harmony export */ loadNextStyle: function() { return /* binding */ loadNextStyle; }
|
|
7614
7626
|
/* harmony export */ });
|
|
@@ -7696,6 +7708,12 @@ function loadNextStyle(jodit, urls, i = 0) {
|
|
|
7696
7708
|
return appendStyleAsync(jodit, urls[i]).then(()=>loadNextStyle(jodit, urls, i + 1));
|
|
7697
7709
|
}
|
|
7698
7710
|
|
|
7711
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7712
|
+
/* harmony export */ "alreadyLoadedList", 0, /* binding */ alreadyLoadedList,
|
|
7713
|
+
/* harmony export */ "appendScriptAsync", 0, /* binding */ appendScriptAsync,
|
|
7714
|
+
/* harmony export */ "appendStyleAsync", 0, /* binding */ appendStyleAsync
|
|
7715
|
+
/* harmony export */ ]);
|
|
7716
|
+
|
|
7699
7717
|
|
|
7700
7718
|
/***/ }),
|
|
7701
7719
|
|
|
@@ -7792,9 +7810,6 @@ function loadNextStyle(jodit, urls, i = 0) {
|
|
|
7792
7810
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7793
7811
|
|
|
7794
7812
|
"use strict";
|
|
7795
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7796
|
-
/* harmony export */ browser: function() { return /* binding */ browser; }
|
|
7797
|
-
/* harmony export */ });
|
|
7798
7813
|
/*!
|
|
7799
7814
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7800
7815
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7828,6 +7843,10 @@ function loadNextStyle(jodit, urls, i = 0) {
|
|
|
7828
7843
|
return match[1] === browser;
|
|
7829
7844
|
};
|
|
7830
7845
|
|
|
7846
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7847
|
+
/* harmony export */ "browser", 0, /* binding */ browser
|
|
7848
|
+
/* harmony export */ ]);
|
|
7849
|
+
|
|
7831
7850
|
|
|
7832
7851
|
/***/ }),
|
|
7833
7852
|
|
|
@@ -7835,9 +7854,6 @@ function loadNextStyle(jodit, urls, i = 0) {
|
|
|
7835
7854
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7836
7855
|
|
|
7837
7856
|
"use strict";
|
|
7838
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7839
|
-
/* harmony export */ buildQuery: function() { return /* binding */ buildQuery; }
|
|
7840
|
-
/* harmony export */ });
|
|
7841
7857
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62101);
|
|
7842
7858
|
/*!
|
|
7843
7859
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -7861,6 +7877,10 @@ function loadNextStyle(jodit, urls, i = 0) {
|
|
|
7861
7877
|
return str.join('&');
|
|
7862
7878
|
};
|
|
7863
7879
|
|
|
7880
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7881
|
+
/* harmony export */ "buildQuery", 0, /* binding */ buildQuery
|
|
7882
|
+
/* harmony export */ ]);
|
|
7883
|
+
|
|
7864
7884
|
|
|
7865
7885
|
/***/ }),
|
|
7866
7886
|
|
|
@@ -7868,9 +7888,6 @@ function loadNextStyle(jodit, urls, i = 0) {
|
|
|
7868
7888
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7869
7889
|
|
|
7870
7890
|
"use strict";
|
|
7871
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7872
|
-
/* harmony export */ completeUrl: function() { return /* binding */ completeUrl; }
|
|
7873
|
-
/* harmony export */ });
|
|
7874
7891
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
7875
7892
|
/*!
|
|
7876
7893
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -7886,6 +7903,10 @@ const completeUrl = (url)=>{
|
|
|
7886
7903
|
return url;
|
|
7887
7904
|
};
|
|
7888
7905
|
|
|
7906
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
7907
|
+
/* harmony export */ "completeUrl", 0, /* binding */ completeUrl
|
|
7908
|
+
/* harmony export */ ]);
|
|
7909
|
+
|
|
7889
7910
|
|
|
7890
7911
|
/***/ }),
|
|
7891
7912
|
|
|
@@ -8059,9 +8080,6 @@ function ConfigDeepFlatten(obj) {
|
|
|
8059
8080
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8060
8081
|
|
|
8061
8082
|
"use strict";
|
|
8062
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8063
|
-
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* binding */ convertMediaUrlToVideoEmbed; }
|
|
8064
|
-
/* harmony export */ });
|
|
8065
8083
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
8066
8084
|
/* harmony import */ var jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91764);
|
|
8067
8085
|
/* harmony import */ var _parse_query__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36310);
|
|
@@ -8132,6 +8150,10 @@ function ConfigDeepFlatten(obj) {
|
|
|
8132
8150
|
return url;
|
|
8133
8151
|
};
|
|
8134
8152
|
|
|
8153
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8154
|
+
/* harmony export */ "convertMediaUrlToVideoEmbed", 0, /* binding */ convertMediaUrlToVideoEmbed
|
|
8155
|
+
/* harmony export */ ]);
|
|
8156
|
+
|
|
8135
8157
|
|
|
8136
8158
|
/***/ }),
|
|
8137
8159
|
|
|
@@ -8140,7 +8162,6 @@ function ConfigDeepFlatten(obj) {
|
|
|
8140
8162
|
|
|
8141
8163
|
"use strict";
|
|
8142
8164
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8143
|
-
/* harmony export */ clearCenterAlign: function() { return /* binding */ clearCenterAlign; },
|
|
8144
8165
|
/* harmony export */ css: function() { return /* binding */ css; },
|
|
8145
8166
|
/* harmony export */ cssInline: function() { return /* binding */ cssInline; }
|
|
8146
8167
|
/* harmony export */ });
|
|
@@ -8232,6 +8253,10 @@ const clearCenterAlign = (image)=>{
|
|
|
8232
8253
|
}
|
|
8233
8254
|
};
|
|
8234
8255
|
|
|
8256
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8257
|
+
/* harmony export */ "clearCenterAlign", 0, /* binding */ clearCenterAlign
|
|
8258
|
+
/* harmony export */ ]);
|
|
8259
|
+
|
|
8235
8260
|
|
|
8236
8261
|
/***/ }),
|
|
8237
8262
|
|
|
@@ -8239,9 +8264,6 @@ const clearCenterAlign = (image)=>{
|
|
|
8239
8264
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8240
8265
|
|
|
8241
8266
|
"use strict";
|
|
8242
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8243
|
-
/* harmony export */ ctrlKey: function() { return /* binding */ ctrlKey; }
|
|
8244
|
-
/* harmony export */ });
|
|
8245
8267
|
/*!
|
|
8246
8268
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8247
8269
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8262,6 +8284,10 @@ const clearCenterAlign = (image)=>{
|
|
|
8262
8284
|
return false;
|
|
8263
8285
|
};
|
|
8264
8286
|
|
|
8287
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8288
|
+
/* harmony export */ "ctrlKey", 0, /* binding */ ctrlKey
|
|
8289
|
+
/* harmony export */ ]);
|
|
8290
|
+
|
|
8265
8291
|
|
|
8266
8292
|
/***/ }),
|
|
8267
8293
|
|
|
@@ -8269,9 +8295,6 @@ const clearCenterAlign = (image)=>{
|
|
|
8269
8295
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8270
8296
|
|
|
8271
8297
|
"use strict";
|
|
8272
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8273
|
-
/* harmony export */ dataBind: function() { return /* binding */ dataBind; }
|
|
8274
|
-
/* harmony export */ });
|
|
8275
8298
|
/* harmony import */ var jodit_core_helpers_checker_is_view_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31534);
|
|
8276
8299
|
/*!
|
|
8277
8300
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -8304,6 +8327,10 @@ const dataBind = (elm, key, value)=>{
|
|
|
8304
8327
|
return value;
|
|
8305
8328
|
};
|
|
8306
8329
|
|
|
8330
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8331
|
+
/* harmony export */ "dataBind", 0, /* binding */ dataBind
|
|
8332
|
+
/* harmony export */ ]);
|
|
8333
|
+
|
|
8307
8334
|
|
|
8308
8335
|
/***/ }),
|
|
8309
8336
|
|
|
@@ -8311,9 +8338,6 @@ const dataBind = (elm, key, value)=>{
|
|
|
8311
8338
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8312
8339
|
|
|
8313
8340
|
"use strict";
|
|
8314
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8315
|
-
/* harmony export */ defaultLanguage: function() { return /* binding */ defaultLanguage; }
|
|
8316
|
-
/* harmony export */ });
|
|
8317
8341
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
8318
8342
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85932);
|
|
8319
8343
|
/*!
|
|
@@ -8339,6 +8363,10 @@ const dataBind = (elm, key, value)=>{
|
|
|
8339
8363
|
return defaultLanguage;
|
|
8340
8364
|
};
|
|
8341
8365
|
|
|
8366
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8367
|
+
/* harmony export */ "defaultLanguage", 0, /* binding */ defaultLanguage
|
|
8368
|
+
/* harmony export */ ]);
|
|
8369
|
+
|
|
8342
8370
|
|
|
8343
8371
|
/***/ }),
|
|
8344
8372
|
|
|
@@ -8533,10 +8561,6 @@ function fastClone(object) {
|
|
|
8533
8561
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8534
8562
|
|
|
8535
8563
|
"use strict";
|
|
8536
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8537
|
-
/* harmony export */ getClassName: function() { return /* binding */ getClassName; },
|
|
8538
|
-
/* harmony export */ keepNames: function() { return /* binding */ keepNames; }
|
|
8539
|
-
/* harmony export */ });
|
|
8540
8564
|
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91565);
|
|
8541
8565
|
/*!
|
|
8542
8566
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -8562,6 +8586,11 @@ const getClassName = (obj)=>{
|
|
|
8562
8586
|
return res ? res[1] : '';
|
|
8563
8587
|
};
|
|
8564
8588
|
|
|
8589
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8590
|
+
/* harmony export */ "getClassName", 0, /* binding */ getClassName,
|
|
8591
|
+
/* harmony export */ "keepNames", 0, /* binding */ keepNames
|
|
8592
|
+
/* harmony export */ ]);
|
|
8593
|
+
|
|
8565
8594
|
|
|
8566
8595
|
/***/ }),
|
|
8567
8596
|
|
|
@@ -8629,9 +8658,6 @@ const getClassName = (obj)=>{
|
|
|
8629
8658
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8630
8659
|
|
|
8631
8660
|
"use strict";
|
|
8632
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8633
|
-
/* harmony export */ humanSizeToBytes: function() { return /* binding */ humanSizeToBytes; }
|
|
8634
|
-
/* harmony export */ });
|
|
8635
8661
|
/*!
|
|
8636
8662
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8637
8663
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8654,6 +8680,10 @@ const getClassName = (obj)=>{
|
|
|
8654
8680
|
return formats.indexOf(format) !== -1 ? number * Math.pow(1024, formats.indexOf(format) + 1) : parseInt(human, 10);
|
|
8655
8681
|
};
|
|
8656
8682
|
|
|
8683
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8684
|
+
/* harmony export */ "humanSizeToBytes", 0, /* binding */ humanSizeToBytes
|
|
8685
|
+
/* harmony export */ ]);
|
|
8686
|
+
|
|
8657
8687
|
|
|
8658
8688
|
/***/ }),
|
|
8659
8689
|
|
|
@@ -8801,7 +8831,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8801
8831
|
|
|
8802
8832
|
"use strict";
|
|
8803
8833
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8804
|
-
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* binding */ UNSAFE_PROTO_KEYS; },
|
|
8805
8834
|
/* harmony export */ isUnsafeProtoKey: function() { return /* binding */ isUnsafeProtoKey; }
|
|
8806
8835
|
/* harmony export */ });
|
|
8807
8836
|
/*!
|
|
@@ -8825,6 +8854,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8825
8854
|
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
8826
8855
|
}
|
|
8827
8856
|
|
|
8857
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8858
|
+
/* harmony export */ "UNSAFE_PROTO_KEYS", 0, /* binding */ UNSAFE_PROTO_KEYS
|
|
8859
|
+
/* harmony export */ ]);
|
|
8860
|
+
|
|
8828
8861
|
|
|
8829
8862
|
/***/ }),
|
|
8830
8863
|
|
|
@@ -8833,7 +8866,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8833
8866
|
|
|
8834
8867
|
"use strict";
|
|
8835
8868
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8836
|
-
/* harmony export */ cns: function() { return /* binding */ cns; },
|
|
8837
8869
|
/* harmony export */ markDeprecated: function() { return /* binding */ markDeprecated; }
|
|
8838
8870
|
/* harmony export */ });
|
|
8839
8871
|
/*!
|
|
@@ -8857,6 +8889,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8857
8889
|
};
|
|
8858
8890
|
}
|
|
8859
8891
|
|
|
8892
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8893
|
+
/* harmony export */ "cns", 0, /* binding */ cns
|
|
8894
|
+
/* harmony export */ ]);
|
|
8895
|
+
|
|
8860
8896
|
|
|
8861
8897
|
/***/ }),
|
|
8862
8898
|
|
|
@@ -8864,9 +8900,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8864
8900
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8865
8901
|
|
|
8866
8902
|
"use strict";
|
|
8867
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8868
|
-
/* harmony export */ parseQuery: function() { return /* binding */ parseQuery; }
|
|
8869
|
-
/* harmony export */ });
|
|
8870
8903
|
/*!
|
|
8871
8904
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8872
8905
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8884,6 +8917,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8884
8917
|
return query;
|
|
8885
8918
|
};
|
|
8886
8919
|
|
|
8920
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
8921
|
+
/* harmony export */ "parseQuery", 0, /* binding */ parseQuery
|
|
8922
|
+
/* harmony export */ ]);
|
|
8923
|
+
|
|
8887
8924
|
|
|
8888
8925
|
/***/ }),
|
|
8889
8926
|
|
|
@@ -8965,7 +9002,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8965
9002
|
if (container) {
|
|
8966
9003
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.append(container, div);
|
|
8967
9004
|
}
|
|
8968
|
-
(0,_css__WEBPACK_IMPORTED_MODULE_3__.css)(div, {
|
|
9005
|
+
;(0,_css__WEBPACK_IMPORTED_MODULE_3__.css)(div, {
|
|
8969
9006
|
position: 'relative',
|
|
8970
9007
|
padding: 16
|
|
8971
9008
|
});
|
|
@@ -9207,9 +9244,6 @@ const map = {};
|
|
|
9207
9244
|
"use strict";
|
|
9208
9245
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9209
9246
|
/* harmony export */ $$: function() { return /* binding */ $$; },
|
|
9210
|
-
/* harmony export */ cssPath: function() { return /* binding */ cssPath; },
|
|
9211
|
-
/* harmony export */ getXPathByElement: function() { return /* binding */ getXPathByElement; },
|
|
9212
|
-
/* harmony export */ refs: function() { return /* binding */ refs; },
|
|
9213
9247
|
/* harmony export */ resolveElement: function() { return /* binding */ resolveElement; }
|
|
9214
9248
|
/* harmony export */ });
|
|
9215
9249
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
@@ -9334,6 +9368,12 @@ const $$temp = ()=>{
|
|
|
9334
9368
|
return resolved;
|
|
9335
9369
|
}
|
|
9336
9370
|
|
|
9371
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
9372
|
+
/* harmony export */ "cssPath", 0, /* binding */ cssPath,
|
|
9373
|
+
/* harmony export */ "getXPathByElement", 0, /* binding */ getXPathByElement,
|
|
9374
|
+
/* harmony export */ "refs", 0, /* binding */ refs
|
|
9375
|
+
/* harmony export */ ]);
|
|
9376
|
+
|
|
9337
9377
|
|
|
9338
9378
|
/***/ }),
|
|
9339
9379
|
|
|
@@ -9426,7 +9466,7 @@ class LimitedStack {
|
|
|
9426
9466
|
return this.stack.find(clb);
|
|
9427
9467
|
}
|
|
9428
9468
|
constructor(limit){
|
|
9429
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "limit", void 0);
|
|
9469
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "limit", void 0);
|
|
9430
9470
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "stack", void 0);
|
|
9431
9471
|
this.limit = limit;
|
|
9432
9472
|
this.stack = [];
|
|
@@ -9444,12 +9484,8 @@ class LimitedStack {
|
|
|
9444
9484
|
/* harmony export */ call: function() { return /* binding */ call; },
|
|
9445
9485
|
/* harmony export */ callPromise: function() { return /* binding */ callPromise; },
|
|
9446
9486
|
/* harmony export */ callThis: function() { return /* binding */ callThis; },
|
|
9447
|
-
/* harmony export */ getDataTransfer: function() { return /* binding */ getDataTransfer; },
|
|
9448
9487
|
/* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
|
|
9449
|
-
/* harmony export */
|
|
9450
|
-
/* harmony export */ loadImage: function() { return /* binding */ loadImage; },
|
|
9451
|
-
/* harmony export */ markOwner: function() { return /* binding */ markOwner; },
|
|
9452
|
-
/* harmony export */ memorizeExec: function() { return /* binding */ memorizeExec; }
|
|
9488
|
+
/* harmony export */ markOwner: function() { return /* binding */ markOwner; }
|
|
9453
9489
|
/* harmony export */ });
|
|
9454
9490
|
/* harmony import */ var jodit_core_helpers_checker_is_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52100);
|
|
9455
9491
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18303);
|
|
@@ -9490,7 +9526,7 @@ class LimitedStack {
|
|
|
9490
9526
|
/**
|
|
9491
9527
|
* Mark element for debugging
|
|
9492
9528
|
*/ function markOwner(jodit, elm) {
|
|
9493
|
-
(0,_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'data-editor_id', jodit.id);
|
|
9529
|
+
;(0,_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'data-editor_id', jodit.id);
|
|
9494
9530
|
!elm.component && Object.defineProperty(elm, 'jodit', {
|
|
9495
9531
|
value: jodit
|
|
9496
9532
|
});
|
|
@@ -9535,7 +9571,7 @@ const keys = (obj, own = true)=>{
|
|
|
9535
9571
|
if ((0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_1__.isVoid)(value)) {
|
|
9536
9572
|
return false;
|
|
9537
9573
|
}
|
|
9538
|
-
(0,_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(editor, key, value);
|
|
9574
|
+
;(0,_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(editor, key, value);
|
|
9539
9575
|
if (preProcessValue) {
|
|
9540
9576
|
value = preProcessValue(value);
|
|
9541
9577
|
}
|
|
@@ -9562,6 +9598,13 @@ function getPropertyDescriptor(obj, prop) {
|
|
|
9562
9598
|
return desc;
|
|
9563
9599
|
}
|
|
9564
9600
|
|
|
9601
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
9602
|
+
/* harmony export */ "getDataTransfer", 0, /* binding */ getDataTransfer,
|
|
9603
|
+
/* harmony export */ "keys", 0, /* binding */ keys,
|
|
9604
|
+
/* harmony export */ "loadImage", 0, /* binding */ loadImage,
|
|
9605
|
+
/* harmony export */ "memorizeExec", 0, /* binding */ memorizeExec
|
|
9606
|
+
/* harmony export */ ]);
|
|
9607
|
+
|
|
9565
9608
|
|
|
9566
9609
|
/***/ }),
|
|
9567
9610
|
|
|
@@ -9882,7 +9925,7 @@ const styles = new Set();
|
|
|
9882
9925
|
waitingList.delete(name);
|
|
9883
9926
|
return;
|
|
9884
9927
|
}
|
|
9885
|
-
(0,jodit_core_plugin_helpers_init_instance__WEBPACK_IMPORTED_MODULE_7__.init)(jodit, name, plugin, instance, doneList, waitingList, this.opts.getContainer);
|
|
9928
|
+
;(0,jodit_core_plugin_helpers_init_instance__WEBPACK_IMPORTED_MODULE_7__.init)(jodit, name, plugin, instance, doneList, waitingList, this.opts.getContainer);
|
|
9886
9929
|
pluginsMap[name] = instance;
|
|
9887
9930
|
});
|
|
9888
9931
|
if (commit) {
|
|
@@ -9914,7 +9957,7 @@ const styles = new Set();
|
|
|
9914
9957
|
});
|
|
9915
9958
|
}
|
|
9916
9959
|
constructor(opts){
|
|
9917
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "opts", void 0);
|
|
9960
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "opts", void 0);
|
|
9918
9961
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__items", void 0);
|
|
9919
9962
|
this.opts = opts;
|
|
9920
9963
|
this.__items = new Map();
|
|
@@ -10032,7 +10075,7 @@ class Plugin extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.ViewCompo
|
|
|
10032
10075
|
jodit.e.on('afterPluginSystemInit', this.__afterPluginSystemInit).on('afterInit', this.__afterInit).on('beforeDestruct', this.__beforeDestruct);
|
|
10033
10076
|
}
|
|
10034
10077
|
}
|
|
10035
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Plugin, "requires", []);
|
|
10078
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Plugin, "requires", []);
|
|
10036
10079
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
10037
10080
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
10038
10081
|
], Plugin.prototype, "__afterPluginSystemInit", null);
|
|
@@ -10309,7 +10352,7 @@ class Ajax {
|
|
|
10309
10352
|
}
|
|
10310
10353
|
}
|
|
10311
10354
|
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_7__.Config.prototype.defaultAjaxOptions){
|
|
10312
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__async", new jodit_core_async__WEBPACK_IMPORTED_MODULE_2__.Async());
|
|
10355
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__async", new jodit_core_async__WEBPACK_IMPORTED_MODULE_2__.Async());
|
|
10313
10356
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "xhr", void 0);
|
|
10314
10357
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "options", void 0);
|
|
10315
10358
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__isFulfilled", false);
|
|
@@ -10319,7 +10362,7 @@ class Ajax {
|
|
|
10319
10362
|
this.xhr = this.o.xhr ? this.o.xhr() : new XMLHttpRequest();
|
|
10320
10363
|
}
|
|
10321
10364
|
}
|
|
10322
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Ajax, "log", []);
|
|
10365
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Ajax, "log", []);
|
|
10323
10366
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
10324
10367
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
10325
10368
|
], Ajax.prototype, "destruct", null);
|
|
@@ -10412,7 +10455,7 @@ class Response {
|
|
|
10412
10455
|
return this.body;
|
|
10413
10456
|
}
|
|
10414
10457
|
constructor(request, status, statusText, body){
|
|
10415
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "status", void 0);
|
|
10458
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "status", void 0);
|
|
10416
10459
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "statusText", void 0);
|
|
10417
10460
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "request", void 0);
|
|
10418
10461
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "body", void 0);
|
|
@@ -11135,7 +11178,7 @@ class Selection {
|
|
|
11135
11178
|
if (dw && 'auto' !== dw && String(dw).indexOf('px') < 0 && String(dw).indexOf('%') < 0) {
|
|
11136
11179
|
dw += 'px';
|
|
11137
11180
|
}
|
|
11138
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(image, 'width', dw);
|
|
11181
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(image, 'width', dw);
|
|
11139
11182
|
}
|
|
11140
11183
|
if (styles && typeof styles === 'object') {
|
|
11141
11184
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(image, styles);
|
|
@@ -11610,7 +11653,7 @@ class Selection {
|
|
|
11610
11653
|
* }) // will remove `color:red` from `span`
|
|
11611
11654
|
* ```
|
|
11612
11655
|
*/ commitStyle(options) {
|
|
11613
|
-
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_7__.assert)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.size)(options) > 0, 'Need to pass at least one option');
|
|
11656
|
+
;(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_7__.assert)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.size)(options) > 0, 'Need to pass at least one option');
|
|
11614
11657
|
const styleElm = new _style_commit_style__WEBPACK_IMPORTED_MODULE_9__.CommitStyle(options);
|
|
11615
11658
|
styleElm.apply(this.j);
|
|
11616
11659
|
}
|
|
@@ -11747,14 +11790,14 @@ class Selection {
|
|
|
11747
11790
|
return this;
|
|
11748
11791
|
}
|
|
11749
11792
|
constructor(jodit){
|
|
11750
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "jodit", void 0);
|
|
11793
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "jodit", void 0);
|
|
11751
11794
|
this.jodit = jodit;
|
|
11752
11795
|
jodit.e.on('removeMarkers', ()=>{
|
|
11753
11796
|
this.removeMarkers();
|
|
11754
11797
|
});
|
|
11755
11798
|
}
|
|
11756
11799
|
}
|
|
11757
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
11800
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
11758
11801
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
11759
11802
|
], Selection.prototype, "createRange", null);
|
|
11760
11803
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -11887,7 +11930,7 @@ class Selection {
|
|
|
11887
11930
|
throw new Error(`invalid action: ${this.getState()}.${actionName.toString()}`);
|
|
11888
11931
|
}
|
|
11889
11932
|
constructor(state, transitions){
|
|
11890
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "transitions", void 0);
|
|
11933
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "transitions", void 0);
|
|
11891
11934
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__state", void 0);
|
|
11892
11935
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "silent", void 0);
|
|
11893
11936
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__previewsStates", void 0);
|
|
@@ -12209,7 +12252,7 @@ if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument) {
|
|
|
12209
12252
|
if (!(0,jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_0__.size)(attrs)) {
|
|
12210
12253
|
return true;
|
|
12211
12254
|
}
|
|
12212
|
-
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__.assert)(attrs, 'Attrs must be a non-empty object');
|
|
12255
|
+
;(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__.assert)(attrs, 'Attrs must be a non-empty object');
|
|
12213
12256
|
return Object.keys(attrs).every((key)=>{
|
|
12214
12257
|
if (key === 'class' || key === 'className') {
|
|
12215
12258
|
return elm.classList.contains(attrs[key]);
|
|
@@ -12344,8 +12387,8 @@ function elementsEqualAttributes(elm1, elm2) {
|
|
|
12344
12387
|
return result;
|
|
12345
12388
|
}
|
|
12346
12389
|
const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__._PREFIX}AfterToggleList`);
|
|
12347
|
-
if (mode !==
|
|
12348
|
-
const isChangeMode = (0,jodit_core_selection_style_api_toggle_attributes__WEBPACK_IMPORTED_MODULE_3__.toggleAttributes)(commitStyle, li.parentElement, jodit, jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.INITIAL, true) ===
|
|
12390
|
+
if (mode !== (/* inlined export .UNWRAP */"unwrap")) {
|
|
12391
|
+
const isChangeMode = (0,jodit_core_selection_style_api_toggle_attributes__WEBPACK_IMPORTED_MODULE_3__.toggleAttributes)(commitStyle, li.parentElement, jodit, jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.INITIAL, true) === (/* inlined export .CHANGE */"change");
|
|
12349
12392
|
// ul => ol, ol => ul or ul => ul.class1
|
|
12350
12393
|
if (mode === jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.REPLACE || isChangeMode || list.tagName.toLowerCase() !== commitStyle.element) {
|
|
12351
12394
|
const wrapper = unwrapList(jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.REPLACE, list, li, jodit, commitStyle);
|
|
@@ -12354,9 +12397,9 @@ function elementsEqualAttributes(elm1, elm2) {
|
|
|
12354
12397
|
return jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.REPLACE;
|
|
12355
12398
|
}
|
|
12356
12399
|
}
|
|
12357
|
-
const wrapper = unwrapList(
|
|
12358
|
-
hook(
|
|
12359
|
-
return
|
|
12400
|
+
const wrapper = unwrapList((/* inlined export .UNWRAP */"unwrap"), list, li, jodit, commitStyle);
|
|
12401
|
+
hook((/* inlined export .UNWRAP */"unwrap"), wrapper, commitStyle);
|
|
12402
|
+
return (/* inlined export .UNWRAP */"unwrap");
|
|
12360
12403
|
}
|
|
12361
12404
|
function unwrapList(mode, list, li, jodit, cs) {
|
|
12362
12405
|
const result = jodit.e.fire(`${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__._PREFIX}BeforeUnwrapList`, mode, list, cs);
|
|
@@ -12364,7 +12407,7 @@ function unwrapList(mode, list, li, jodit, cs) {
|
|
|
12364
12407
|
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__.assert)(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(result), `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__._PREFIX}BeforeUnwrapList hook must return HTMLElement`);
|
|
12365
12408
|
return result;
|
|
12366
12409
|
}
|
|
12367
|
-
(0,jodit_core_selection_style_api_extract__WEBPACK_IMPORTED_MODULE_2__.extractSelectedPart)(list, li, jodit);
|
|
12410
|
+
;(0,jodit_core_selection_style_api_extract__WEBPACK_IMPORTED_MODULE_2__.extractSelectedPart)(list, li, jodit);
|
|
12368
12411
|
(0,jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__.assert)(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(li.parentElement), 'Element should be inside the list');
|
|
12369
12412
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.unwrap(li.parentElement);
|
|
12370
12413
|
// In the REPLACE mode the content will be immediately wrapped in a `li`
|
|
@@ -12424,7 +12467,7 @@ function unwrapList(mode, list, li, jodit, cs) {
|
|
|
12424
12467
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, Array.from(list.nextElementSibling.childNodes));
|
|
12425
12468
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(list.nextElementSibling);
|
|
12426
12469
|
}
|
|
12427
|
-
jodit.e.fire(`${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_3__._PREFIX}AfterWrapList`,
|
|
12470
|
+
jodit.e.fire(`${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_3__._PREFIX}AfterWrapList`, (/* inlined export .WRAP */"wrap"), list, commitStyle);
|
|
12428
12471
|
return list;
|
|
12429
12472
|
}
|
|
12430
12473
|
|
|
@@ -12493,7 +12536,7 @@ const tak = 'toggleAttributes';
|
|
|
12493
12536
|
return mode;
|
|
12494
12537
|
}
|
|
12495
12538
|
function toggleStyle(commitStyle, jodit, style, elm, dry, mode) {
|
|
12496
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.assert)((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(style) && (0,jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_5__.size)(style), 'Style must be an object');
|
|
12539
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.assert)((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(style) && (0,jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_5__.size)(style), 'Style must be an object');
|
|
12497
12540
|
Object.keys(style).forEach((rule)=>{
|
|
12498
12541
|
const inlineValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.cssInline)(elm, rule);
|
|
12499
12542
|
const newValue = style[rule];
|
|
@@ -12505,11 +12548,11 @@ function toggleStyle(commitStyle, jodit, style, elm, dry, mode) {
|
|
|
12505
12548
|
return;
|
|
12506
12549
|
}
|
|
12507
12550
|
!dry && (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(elm, rule, null);
|
|
12508
|
-
mode =
|
|
12551
|
+
mode = (/* inlined export .UNSET */"unset");
|
|
12509
12552
|
mode = removeExtraStyleAttribute(commitStyle, elm, mode);
|
|
12510
12553
|
return;
|
|
12511
12554
|
}
|
|
12512
|
-
mode =
|
|
12555
|
+
mode = (/* inlined export .CHANGE */"change");
|
|
12513
12556
|
if (!dry) {
|
|
12514
12557
|
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(elm, rule, newValue);
|
|
12515
12558
|
mode = removeExtraStyleAttribute(commitStyle, elm, mode);
|
|
@@ -12518,10 +12561,10 @@ function toggleStyle(commitStyle, jodit, style, elm, dry, mode) {
|
|
|
12518
12561
|
return mode;
|
|
12519
12562
|
}
|
|
12520
12563
|
function toggleClass(jodit, value, elm, mode, dry) {
|
|
12521
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.assert)((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isString)(value), 'Class name must be a string');
|
|
12564
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.assert)((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isString)(value), 'Class name must be a string');
|
|
12522
12565
|
const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__._PREFIX}AfterToggleAttribute`);
|
|
12523
12566
|
if (elm.classList.contains(value.toString())) {
|
|
12524
|
-
mode =
|
|
12567
|
+
mode = (/* inlined export .UNSET */"unset");
|
|
12525
12568
|
if (!dry) {
|
|
12526
12569
|
elm.classList.remove(value);
|
|
12527
12570
|
if (elm.classList.length === 0) {
|
|
@@ -12530,7 +12573,7 @@ function toggleClass(jodit, value, elm, mode, dry) {
|
|
|
12530
12573
|
}
|
|
12531
12574
|
}
|
|
12532
12575
|
} else {
|
|
12533
|
-
mode =
|
|
12576
|
+
mode = (/* inlined export .CHANGE */"change");
|
|
12534
12577
|
if (!dry) {
|
|
12535
12578
|
elm.classList.add(value);
|
|
12536
12579
|
hook(mode, elm, 'class', value);
|
|
@@ -12539,17 +12582,17 @@ function toggleClass(jodit, value, elm, mode, dry) {
|
|
|
12539
12582
|
return mode;
|
|
12540
12583
|
}
|
|
12541
12584
|
function toggleAttribute(jodit, value, elm, key, dry, mode) {
|
|
12542
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.assert)((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isString)(value) || (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isNumber)(value) || (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isBoolean)(value) || value == null, 'Attribute value must be a string or number or boolean or null');
|
|
12585
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.assert)((0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isString)(value) || (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isNumber)(value) || (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__.isBoolean)(value) || value == null, 'Attribute value must be a string or number or boolean or null');
|
|
12543
12586
|
const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__._PREFIX}AfterToggleAttribute`);
|
|
12544
12587
|
// `attr()` getter always returns a string, so a number/boolean value
|
|
12545
12588
|
// must be normalized, otherwise the toggle-off branch is unreachable
|
|
12546
12589
|
if ((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.attr)(elm, key) === (value == null ? value : String(value))) {
|
|
12547
12590
|
!dry && (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.attr)(elm, key, null);
|
|
12548
|
-
mode =
|
|
12591
|
+
mode = (/* inlined export .UNSET */"unset");
|
|
12549
12592
|
!dry && hook(mode, elm, key, value);
|
|
12550
12593
|
return mode;
|
|
12551
12594
|
}
|
|
12552
|
-
mode =
|
|
12595
|
+
mode = (/* inlined export .CHANGE */"change");
|
|
12553
12596
|
if (!dry) {
|
|
12554
12597
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.attr)(elm, key, value);
|
|
12555
12598
|
hook(mode, elm, key, value);
|
|
@@ -12564,7 +12607,7 @@ function toggleAttribute(jodit, value, elm, key, dry, mode) {
|
|
|
12564
12607
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_6__.attr)(elm, 'style', null);
|
|
12565
12608
|
if (elm.tagName.toLowerCase() === commitStyle.defaultTag) {
|
|
12566
12609
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.unwrap(elm);
|
|
12567
|
-
mode =
|
|
12610
|
+
mode = (/* inlined export .UNWRAP */"unwrap");
|
|
12568
12611
|
}
|
|
12569
12612
|
}
|
|
12570
12613
|
return mode;
|
|
@@ -12654,7 +12697,7 @@ function toggleAttribute(jodit, value, elm, key, dry, mode) {
|
|
|
12654
12697
|
firstElementSuit = false;
|
|
12655
12698
|
}
|
|
12656
12699
|
needChangeStyle.push(()=>{
|
|
12657
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.css)(elm, Object.keys(cssStyle).reduce((acc, key)=>{
|
|
12700
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.css)(elm, Object.keys(cssStyle).reduce((acc, key)=>{
|
|
12658
12701
|
acc[key] = null;
|
|
12659
12702
|
return acc;
|
|
12660
12703
|
}, {}));
|
|
@@ -12742,7 +12785,6 @@ function toggleAttribute(jodit, value, elm, key, dry, mode) {
|
|
|
12742
12785
|
|
|
12743
12786
|
"use strict";
|
|
12744
12787
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12745
|
-
/* harmony export */ WRAP_NODES: function() { return /* binding */ WRAP_NODES; },
|
|
12746
12788
|
/* harmony export */ wrap: function() { return /* binding */ wrap; }
|
|
12747
12789
|
/* harmony export */ });
|
|
12748
12790
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27795);
|
|
@@ -12803,7 +12845,7 @@ const WRAP_NODES = new Set([
|
|
|
12803
12845
|
}
|
|
12804
12846
|
return (0,_wrap_unwrapped_text__WEBPACK_IMPORTED_MODULE_4__.wrapUnwrappedText)(commitStyle, font, jodit);
|
|
12805
12847
|
}
|
|
12806
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(font, 'size', null);
|
|
12848
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(font, 'size', null);
|
|
12807
12849
|
return font;
|
|
12808
12850
|
}
|
|
12809
12851
|
/**
|
|
@@ -12814,6 +12856,10 @@ const WRAP_NODES = new Set([
|
|
|
12814
12856
|
return Array.from(node.childNodes).some((child)=>jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock(child));
|
|
12815
12857
|
}
|
|
12816
12858
|
|
|
12859
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
12860
|
+
/* harmony export */ "WRAP_NODES", 0, /* binding */ WRAP_NODES
|
|
12861
|
+
/* harmony export */ ]);
|
|
12862
|
+
|
|
12817
12863
|
|
|
12818
12864
|
/***/ }),
|
|
12819
12865
|
|
|
@@ -12951,7 +12997,7 @@ class CommitStyle {
|
|
|
12951
12997
|
jodit.e.fire('afterCommitStyle', this);
|
|
12952
12998
|
}
|
|
12953
12999
|
constructor(options){
|
|
12954
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "options", void 0);
|
|
13000
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "options", void 0);
|
|
12955
13001
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__applyMap", void 0);
|
|
12956
13002
|
this.options = options;
|
|
12957
13003
|
this.__applyMap = new WeakMap();
|
|
@@ -12965,15 +13011,6 @@ class CommitStyle {
|
|
|
12965
13011
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12966
13012
|
|
|
12967
13013
|
"use strict";
|
|
12968
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12969
|
-
/* harmony export */ CHANGE: function() { return /* binding */ CHANGE; },
|
|
12970
|
-
/* harmony export */ INITIAL: function() { return /* binding */ INITIAL; },
|
|
12971
|
-
/* harmony export */ REPLACE: function() { return /* binding */ REPLACE; },
|
|
12972
|
-
/* harmony export */ UNSET: function() { return /* binding */ UNSET; },
|
|
12973
|
-
/* harmony export */ UNWRAP: function() { return /* binding */ UNWRAP; },
|
|
12974
|
-
/* harmony export */ WRAP: function() { return /* binding */ WRAP; },
|
|
12975
|
-
/* harmony export */ _PREFIX: function() { return /* binding */ _PREFIX; }
|
|
12976
|
-
/* harmony export */ });
|
|
12977
13014
|
/*!
|
|
12978
13015
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
12979
13016
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -12988,6 +13025,12 @@ class CommitStyle {
|
|
|
12988
13025
|
/** @internal */ const REPLACE = 'replace';
|
|
12989
13026
|
/** @internal */ const _PREFIX = 'commitStyle';
|
|
12990
13027
|
|
|
13028
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
13029
|
+
/* harmony export */ "INITIAL", 0, /* binding */ INITIAL,
|
|
13030
|
+
/* harmony export */ "REPLACE", 0, /* binding */ REPLACE,
|
|
13031
|
+
/* harmony export */ "_PREFIX", 0, /* binding */ _PREFIX
|
|
13032
|
+
/* harmony export */ ]);
|
|
13033
|
+
|
|
12991
13034
|
|
|
12992
13035
|
/***/ }),
|
|
12993
13036
|
|
|
@@ -12995,10 +13038,6 @@ class CommitStyle {
|
|
|
12995
13038
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12996
13039
|
|
|
12997
13040
|
"use strict";
|
|
12998
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12999
|
-
/* harmony export */ states: function() { return /* binding */ states; },
|
|
13000
|
-
/* harmony export */ transactions: function() { return /* binding */ transactions; }
|
|
13001
|
-
/* harmony export */ });
|
|
13002
13041
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
|
|
13003
13042
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23211);
|
|
13004
13043
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28712);
|
|
@@ -13062,14 +13101,14 @@ const transactions = {
|
|
|
13062
13101
|
}
|
|
13063
13102
|
return {
|
|
13064
13103
|
...value,
|
|
13065
|
-
next: mode !==
|
|
13104
|
+
next: mode !== (/* inlined export .UNWRAP */"unwrap") ? states.UNWRAP_CHILDREN : states.END
|
|
13066
13105
|
};
|
|
13067
13106
|
}
|
|
13068
13107
|
},
|
|
13069
13108
|
[states.LIST]: {
|
|
13070
13109
|
exec (value) {
|
|
13071
13110
|
const { element, jodit, mode } = value;
|
|
13072
|
-
if (mode !== jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.INITIAL && mode !==
|
|
13111
|
+
if (mode !== jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.INITIAL && mode !== (/* inlined export .UNWRAP */"unwrap") && mode !== jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_4__.REPLACE) {
|
|
13073
13112
|
return {
|
|
13074
13113
|
...value,
|
|
13075
13114
|
next: states.END
|
|
@@ -13141,7 +13180,7 @@ const transactions = {
|
|
|
13141
13180
|
}
|
|
13142
13181
|
return {
|
|
13143
13182
|
...value,
|
|
13144
|
-
mode:
|
|
13183
|
+
mode: (/* inlined export .UNWRAP */"unwrap"),
|
|
13145
13184
|
next: states.END
|
|
13146
13185
|
};
|
|
13147
13186
|
}
|
|
@@ -13153,7 +13192,7 @@ const transactions = {
|
|
|
13153
13192
|
return {
|
|
13154
13193
|
...value,
|
|
13155
13194
|
next: style.elementIsList ? states.END : states.CHANGE,
|
|
13156
|
-
mode:
|
|
13195
|
+
mode: (/* inlined export .WRAP */"wrap"),
|
|
13157
13196
|
element: wrapper
|
|
13158
13197
|
};
|
|
13159
13198
|
}
|
|
@@ -13184,7 +13223,7 @@ const transactions = {
|
|
|
13184
13223
|
exec (value) {
|
|
13185
13224
|
const { style, element, jodit, mode } = value;
|
|
13186
13225
|
const newMode = (0,jodit_core_selection_style_api__WEBPACK_IMPORTED_MODULE_3__.toggleAttributes)(style, element, jodit, value.mode);
|
|
13187
|
-
if (mode !==
|
|
13226
|
+
if (mode !== (/* inlined export .WRAP */"wrap") && newMode === (/* inlined export .UNSET */"unset") && !element.attributes.length && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(element, style.element)) {
|
|
13188
13227
|
return {
|
|
13189
13228
|
...value,
|
|
13190
13229
|
next: states.UNWRAP
|
|
@@ -13220,7 +13259,7 @@ const transactions = {
|
|
|
13220
13259
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.unwrap(element);
|
|
13221
13260
|
return {
|
|
13222
13261
|
...value,
|
|
13223
|
-
mode:
|
|
13262
|
+
mode: (/* inlined export .UNWRAP */"unwrap"),
|
|
13224
13263
|
next: states.END
|
|
13225
13264
|
};
|
|
13226
13265
|
}
|
|
@@ -13242,6 +13281,11 @@ const transactions = {
|
|
|
13242
13281
|
}
|
|
13243
13282
|
};
|
|
13244
13283
|
|
|
13284
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
13285
|
+
/* harmony export */ "states", 0, /* binding */ states,
|
|
13286
|
+
/* harmony export */ "transactions", 0, /* binding */ transactions
|
|
13287
|
+
/* harmony export */ ]);
|
|
13288
|
+
|
|
13245
13289
|
|
|
13246
13290
|
/***/ }),
|
|
13247
13291
|
|
|
@@ -13257,7 +13301,6 @@ const transactions = {
|
|
|
13257
13301
|
/* harmony import */ var _engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91162);
|
|
13258
13302
|
/* harmony import */ var _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(59807);
|
|
13259
13303
|
/* harmony import */ var _engines_memory_storage_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9505);
|
|
13260
|
-
/* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24475);
|
|
13261
13304
|
/*!
|
|
13262
13305
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
13263
13306
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -13308,7 +13351,7 @@ class AsyncStorage {
|
|
|
13308
13351
|
const defaultProvider = options?.defaultProvider;
|
|
13309
13352
|
if (defaultProvider != null) {
|
|
13310
13353
|
if (defaultProvider === 'local') {
|
|
13311
|
-
provider = (0,_engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.canUsePersistentStorage)('localStorage') ? new _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.LocalStorageProvider(
|
|
13354
|
+
provider = (0,_engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.canUsePersistentStorage)('localStorage') ? new _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.LocalStorageProvider((/* inlined export .StorageKey */"Jodit_") + (suffix || '')) : new _engines_memory_storage_provider__WEBPACK_IMPORTED_MODULE_4__.MemoryStorageProvider();
|
|
13312
13355
|
} else if (defaultProvider === 'memory') {
|
|
13313
13356
|
provider = new _engines_memory_storage_provider__WEBPACK_IMPORTED_MODULE_4__.MemoryStorageProvider();
|
|
13314
13357
|
} else {
|
|
@@ -13319,10 +13362,10 @@ class AsyncStorage {
|
|
|
13319
13362
|
}
|
|
13320
13363
|
if (persistentOrStrategy === 'localStorage' || persistentOrStrategy === 'sessionStorage') {
|
|
13321
13364
|
if ((0,_engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.canUsePersistentStorage)(persistentOrStrategy)) {
|
|
13322
|
-
provider = new _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.LocalStorageProvider(
|
|
13365
|
+
provider = new _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_3__.LocalStorageProvider((/* inlined export .StorageKey */"Jodit_") + (suffix || ''), persistentOrStrategy);
|
|
13323
13366
|
}
|
|
13324
13367
|
} else if (persistentOrStrategy === 'indexedDB' || persistentOrStrategy === true) {
|
|
13325
|
-
provider = (0,_engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_2__.canUseIndexedDB)().then((canUse)=>canUse ? new _engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_2__.IndexedDBProvider(
|
|
13368
|
+
provider = (0,_engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_2__.canUseIndexedDB)().then((canUse)=>canUse ? new _engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_2__.IndexedDBProvider((/* inlined export .StorageKey */"Jodit_") + (suffix || ''), 'keyValueStore') : new _engines_memory_storage_provider__WEBPACK_IMPORTED_MODULE_4__.MemoryStorageProvider());
|
|
13326
13369
|
}
|
|
13327
13370
|
if (!provider) {
|
|
13328
13371
|
provider = new _engines_memory_storage_provider__WEBPACK_IMPORTED_MODULE_4__.MemoryStorageProvider();
|
|
@@ -13331,10 +13374,10 @@ class AsyncStorage {
|
|
|
13331
13374
|
return storage;
|
|
13332
13375
|
}
|
|
13333
13376
|
constructor(provider, suffix){
|
|
13334
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "provider", void 0);
|
|
13377
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "provider", void 0);
|
|
13335
13378
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "prefix", void 0);
|
|
13336
13379
|
this.provider = provider;
|
|
13337
|
-
this.prefix =
|
|
13380
|
+
this.prefix = (/* inlined export .StorageKey */"Jodit_");
|
|
13338
13381
|
if (suffix) {
|
|
13339
13382
|
this.prefix += suffix;
|
|
13340
13383
|
}
|
|
@@ -13504,7 +13547,7 @@ class AsyncStorage {
|
|
|
13504
13547
|
}
|
|
13505
13548
|
}
|
|
13506
13549
|
constructor(dbName = 'JoditDB', storeName = 'keyValueStore'){
|
|
13507
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "dbName", void 0);
|
|
13550
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "dbName", void 0);
|
|
13508
13551
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "dbPromise", void 0);
|
|
13509
13552
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "DB_VERSION", void 0);
|
|
13510
13553
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "storeName", void 0);
|
|
@@ -13555,8 +13598,7 @@ function clearUseIndexedDBCache() {
|
|
|
13555
13598
|
|
|
13556
13599
|
"use strict";
|
|
13557
13600
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13558
|
-
/* harmony export */ LocalStorageProvider: function() { return /* binding */ LocalStorageProvider; }
|
|
13559
|
-
/* harmony export */ canUsePersistentStorage: function() { return /* binding */ canUsePersistentStorage; }
|
|
13601
|
+
/* harmony export */ LocalStorageProvider: function() { return /* binding */ LocalStorageProvider; }
|
|
13560
13602
|
/* harmony export */ });
|
|
13561
13603
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
|
|
13562
13604
|
/*!
|
|
@@ -13630,13 +13672,17 @@ function clearUseIndexedDBCache() {
|
|
|
13630
13672
|
return this;
|
|
13631
13673
|
}
|
|
13632
13674
|
constructor(rootKey, strategy = 'localStorage'){
|
|
13633
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "rootKey", void 0);
|
|
13675
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "rootKey", void 0);
|
|
13634
13676
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "strategy", void 0);
|
|
13635
13677
|
this.rootKey = rootKey;
|
|
13636
13678
|
this.strategy = strategy;
|
|
13637
13679
|
}
|
|
13638
13680
|
}
|
|
13639
13681
|
|
|
13682
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
13683
|
+
/* harmony export */ "canUsePersistentStorage", 0, /* binding */ canUsePersistentStorage
|
|
13684
|
+
/* harmony export */ ]);
|
|
13685
|
+
|
|
13640
13686
|
|
|
13641
13687
|
/***/ }),
|
|
13642
13688
|
|
|
@@ -13675,7 +13721,7 @@ class MemoryStorageProvider {
|
|
|
13675
13721
|
return this;
|
|
13676
13722
|
}
|
|
13677
13723
|
constructor(){
|
|
13678
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "data", new Map());
|
|
13724
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "data", new Map());
|
|
13679
13725
|
}
|
|
13680
13726
|
}
|
|
13681
13727
|
|
|
@@ -13692,7 +13738,7 @@ class MemoryStorageProvider {
|
|
|
13692
13738
|
/* harmony export */ LocalStorageProvider: function() { return /* reexport safe */ _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_2__.LocalStorageProvider; },
|
|
13693
13739
|
/* harmony export */ MemoryStorageProvider: function() { return /* reexport safe */ _engines_memory_storage_provider__WEBPACK_IMPORTED_MODULE_3__.MemoryStorageProvider; },
|
|
13694
13740
|
/* harmony export */ Storage: function() { return /* reexport safe */ _storage__WEBPACK_IMPORTED_MODULE_4__.Storage; },
|
|
13695
|
-
/* harmony export */ StorageKey: function() { return /* reexport safe */
|
|
13741
|
+
/* harmony export */ StorageKey: function() { return /* reexport safe */ (/* inlined export .StorageKey */"Jodit_"); },
|
|
13696
13742
|
/* harmony export */ canUseIndexedDB: function() { return /* reexport safe */ _engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_1__.canUseIndexedDB; },
|
|
13697
13743
|
/* harmony export */ canUsePersistentStorage: function() { return /* reexport safe */ _engines_local_storage_provider__WEBPACK_IMPORTED_MODULE_2__.canUsePersistentStorage; },
|
|
13698
13744
|
/* harmony export */ clearUseIndexedDBCache: function() { return /* reexport safe */ _engines_indexed_db_provider__WEBPACK_IMPORTED_MODULE_1__.clearUseIndexedDBCache; }
|
|
@@ -13722,8 +13768,7 @@ class MemoryStorageProvider {
|
|
|
13722
13768
|
|
|
13723
13769
|
"use strict";
|
|
13724
13770
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13725
|
-
/* harmony export */ Storage: function() { return /* binding */ Storage; }
|
|
13726
|
-
/* harmony export */ StorageKey: function() { return /* binding */ StorageKey; }
|
|
13771
|
+
/* harmony export */ Storage: function() { return /* binding */ Storage; }
|
|
13727
13772
|
/* harmony export */ });
|
|
13728
13773
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
|
|
13729
13774
|
/* harmony import */ var jodit_core_helpers_string_camel_case__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(57821);
|
|
@@ -13778,7 +13823,7 @@ class Storage {
|
|
|
13778
13823
|
return new Storage(provider, suffix);
|
|
13779
13824
|
}
|
|
13780
13825
|
constructor(provider, suffix){
|
|
13781
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "provider", void 0);
|
|
13826
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "provider", void 0);
|
|
13782
13827
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "prefix", void 0);
|
|
13783
13828
|
this.provider = provider;
|
|
13784
13829
|
this.prefix = StorageKey;
|
|
@@ -13954,8 +13999,7 @@ class Mods {
|
|
|
13954
13999
|
"use strict";
|
|
13955
14000
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13956
14001
|
/* harmony export */ Button: function() { return /* binding */ Button; },
|
|
13957
|
-
/* harmony export */ UIButton: function() { return /* binding */ UIButton; }
|
|
13958
|
-
/* harmony export */ UIButtonState: function() { return /* binding */ UIButtonState; }
|
|
14002
|
+
/* harmony export */ UIButton: function() { return /* binding */ UIButton; }
|
|
13959
14003
|
/* harmony export */ });
|
|
13960
14004
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
|
|
13961
14005
|
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
|
|
@@ -14038,10 +14082,10 @@ class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_11__.UIEle
|
|
|
14038
14082
|
this.setMod('size', this.state.size);
|
|
14039
14083
|
}
|
|
14040
14084
|
onChangeType() {
|
|
14041
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'type', this.state.type);
|
|
14085
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'type', this.state.type);
|
|
14042
14086
|
}
|
|
14043
14087
|
onChangeRole() {
|
|
14044
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'role', this.state.role);
|
|
14088
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'role', this.state.role);
|
|
14045
14089
|
}
|
|
14046
14090
|
/**
|
|
14047
14091
|
* Set size from a parent list
|
|
@@ -14064,10 +14108,10 @@ class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_11__.UIEle
|
|
|
14064
14108
|
this.setMod('text-icons', Boolean(this.state.text.trim().length));
|
|
14065
14109
|
}
|
|
14066
14110
|
onChangeDisabled() {
|
|
14067
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'disabled', this.state.disabled || null);
|
|
14111
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'disabled', this.state.disabled || null);
|
|
14068
14112
|
}
|
|
14069
14113
|
onChangeActivated() {
|
|
14070
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'aria-pressed', this.state.activated);
|
|
14114
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'aria-pressed', this.state.activated);
|
|
14071
14115
|
}
|
|
14072
14116
|
onChangeName() {
|
|
14073
14117
|
this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`);
|
|
@@ -14080,7 +14124,7 @@ class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_11__.UIEle
|
|
|
14080
14124
|
if (this.get('j.o.useNativeTooltip')) {
|
|
14081
14125
|
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'title', i8nTooltip);
|
|
14082
14126
|
}
|
|
14083
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'aria-label', i8nTooltip);
|
|
14127
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'aria-label', i8nTooltip);
|
|
14084
14128
|
this.updateAriaLabel();
|
|
14085
14129
|
}
|
|
14086
14130
|
updateAriaLabel() {
|
|
@@ -14090,7 +14134,7 @@ class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_11__.UIEle
|
|
|
14090
14134
|
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.button, 'aria-label', !hasText ? i8nTooltip : null);
|
|
14091
14135
|
}
|
|
14092
14136
|
onChangeTabIndex() {
|
|
14093
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'tabindex', this.state.tabIndex);
|
|
14137
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_10__.attr)(this.container, 'tabindex', this.state.tabIndex);
|
|
14094
14138
|
}
|
|
14095
14139
|
onChangeIcon() {
|
|
14096
14140
|
const textIcons = this.get('j.o.textIcons');
|
|
@@ -14163,7 +14207,7 @@ class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_11__.UIEle
|
|
|
14163
14207
|
}
|
|
14164
14208
|
}
|
|
14165
14209
|
}
|
|
14166
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
14210
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
14167
14211
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_3__.cache
|
|
14168
14212
|
], UIButton.prototype, "text", null);
|
|
14169
14213
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -14255,6 +14299,10 @@ function Button(jodit, stateOrText, text, variant) {
|
|
|
14255
14299
|
return button;
|
|
14256
14300
|
}
|
|
14257
14301
|
|
|
14302
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
14303
|
+
/* harmony export */ "UIButtonState", 0, /* binding */ UIButtonState
|
|
14304
|
+
/* harmony export */ ]);
|
|
14305
|
+
|
|
14258
14306
|
|
|
14259
14307
|
/***/ }),
|
|
14260
14308
|
|
|
@@ -14565,7 +14613,7 @@ class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_9__.UIEle
|
|
|
14565
14613
|
}
|
|
14566
14614
|
}
|
|
14567
14615
|
}
|
|
14568
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
14616
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
14569
14617
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
14570
14618
|
], UITooltip.prototype, "__onMouseLeave", null);
|
|
14571
14619
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -14944,7 +14992,7 @@ class UITextArea extends jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED
|
|
|
14944
14992
|
}
|
|
14945
14993
|
}
|
|
14946
14994
|
}
|
|
14947
|
-
/** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UITextArea, "defaultState", {
|
|
14995
|
+
/** @override */ ;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UITextArea, "defaultState", {
|
|
14948
14996
|
...jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_5__.UIInput.defaultState,
|
|
14949
14997
|
size: 5,
|
|
14950
14998
|
resizable: true
|
|
@@ -15025,7 +15073,7 @@ class UICheckbox extends jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED
|
|
|
15025
15073
|
Object.assign(this.state, options);
|
|
15026
15074
|
}
|
|
15027
15075
|
}
|
|
15028
|
-
/** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UICheckbox, "defaultState", {
|
|
15076
|
+
/** @override */ ;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UICheckbox, "defaultState", {
|
|
15029
15077
|
...jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_4__.UIInput.defaultState,
|
|
15030
15078
|
checked: false,
|
|
15031
15079
|
switch: false
|
|
@@ -15341,7 +15389,7 @@ class UIInput extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_6__.UIEleme
|
|
|
15341
15389
|
this.onChangeStateValue();
|
|
15342
15390
|
}
|
|
15343
15391
|
}
|
|
15344
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UIInput, "defaultState", {
|
|
15392
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UIInput, "defaultState", {
|
|
15345
15393
|
className: '',
|
|
15346
15394
|
autocomplete: true,
|
|
15347
15395
|
name: '',
|
|
@@ -15457,7 +15505,7 @@ class UISelect extends jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_M
|
|
|
15457
15505
|
Object.assign(this.state, state);
|
|
15458
15506
|
}
|
|
15459
15507
|
}
|
|
15460
|
-
/** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UISelect, "defaultState", {
|
|
15508
|
+
/** @override */ ;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(UISelect, "defaultState", {
|
|
15461
15509
|
...jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_4__.UIInput.defaultState,
|
|
15462
15510
|
options: [],
|
|
15463
15511
|
size: 1,
|
|
@@ -15497,10 +15545,6 @@ UISelect = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)(
|
|
|
15497
15545
|
|
|
15498
15546
|
"use strict";
|
|
15499
15547
|
__webpack_require__.r(__webpack_exports__);
|
|
15500
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15501
|
-
/* harmony export */ required: function() { return /* binding */ required; },
|
|
15502
|
-
/* harmony export */ url: function() { return /* binding */ url; }
|
|
15503
|
-
/* harmony export */ });
|
|
15504
15548
|
/* harmony import */ var jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91764);
|
|
15505
15549
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4040);
|
|
15506
15550
|
/*!
|
|
@@ -15530,6 +15574,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15530
15574
|
return true;
|
|
15531
15575
|
};
|
|
15532
15576
|
|
|
15577
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
15578
|
+
/* harmony export */ "required", 0, /* binding */ required,
|
|
15579
|
+
/* harmony export */ "url", 0, /* binding */ url
|
|
15580
|
+
/* harmony export */ ]);
|
|
15581
|
+
|
|
15533
15582
|
|
|
15534
15583
|
/***/ }),
|
|
15535
15584
|
|
|
@@ -15537,9 +15586,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15537
15586
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
15538
15587
|
|
|
15539
15588
|
"use strict";
|
|
15540
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15541
|
-
/* harmony export */ required: function() { return /* binding */ required; }
|
|
15542
|
-
/* harmony export */ });
|
|
15543
15589
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4040);
|
|
15544
15590
|
/*!
|
|
15545
15591
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -15558,6 +15604,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15558
15604
|
return true;
|
|
15559
15605
|
};
|
|
15560
15606
|
|
|
15607
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
15608
|
+
/* harmony export */ "required", 0, /* binding */ required
|
|
15609
|
+
/* harmony export */ ]);
|
|
15610
|
+
|
|
15561
15611
|
|
|
15562
15612
|
/***/ }),
|
|
15563
15613
|
|
|
@@ -15707,7 +15757,7 @@ class UIGroup extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_6__.UIEleme
|
|
|
15707
15757
|
}
|
|
15708
15758
|
}
|
|
15709
15759
|
}
|
|
15710
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
15760
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
15711
15761
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)('buttonSize')
|
|
15712
15762
|
], UIGroup.prototype, "update", null);
|
|
15713
15763
|
UIGroup = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -15907,7 +15957,7 @@ class UIList extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_8__.UIGr
|
|
|
15907
15957
|
super(...args), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "mode", 'horizontal'), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "removeButtons", []);
|
|
15908
15958
|
}
|
|
15909
15959
|
}
|
|
15910
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
15960
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
15911
15961
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_5__.watch)('mode'),
|
|
15912
15962
|
(0,jodit_core_decorators_hook_hook__WEBPACK_IMPORTED_MODULE_4__.hook)('ready')
|
|
15913
15963
|
], UIList.prototype, "__onChangeMode", null);
|
|
@@ -15985,8 +16035,7 @@ UISpacer = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)(
|
|
|
15985
16035
|
|
|
15986
16036
|
"use strict";
|
|
15987
16037
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15988
|
-
/* harmony export */ flatButtonsSet: function() { return /* binding */ flatButtonsSet; }
|
|
15989
|
-
/* harmony export */ isButtonGroup: function() { return /* binding */ isButtonGroup; }
|
|
16038
|
+
/* harmony export */ flatButtonsSet: function() { return /* binding */ flatButtonsSet; }
|
|
15990
16039
|
/* harmony export */ });
|
|
15991
16040
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17312);
|
|
15992
16041
|
/*!
|
|
@@ -16018,6 +16067,10 @@ UISpacer = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)(
|
|
|
16018
16067
|
}, []));
|
|
16019
16068
|
}
|
|
16020
16069
|
|
|
16070
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
16071
|
+
/* harmony export */ "isButtonGroup", 0, /* binding */ isButtonGroup
|
|
16072
|
+
/* harmony export */ ]);
|
|
16073
|
+
|
|
16021
16074
|
|
|
16022
16075
|
/***/ }),
|
|
16023
16076
|
|
|
@@ -16228,7 +16281,7 @@ class Icon {
|
|
|
16228
16281
|
return jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(node) ? node : jodit.c.span('jodit-icon_text', node);
|
|
16229
16282
|
}
|
|
16230
16283
|
}
|
|
16231
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Icon, "icons", {});
|
|
16284
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Icon, "icons", {});
|
|
16232
16285
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Icon, "__cache", new Map());
|
|
16233
16286
|
|
|
16234
16287
|
|
|
@@ -16394,7 +16447,7 @@ class Popup extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_10__.UIGr
|
|
|
16394
16447
|
/**
|
|
16395
16448
|
* Open popup near with some bound
|
|
16396
16449
|
*/ open(getBound, keepPosition = false, parentContainer) {
|
|
16397
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.markOwner)(this.jodit, this.container);
|
|
16450
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.markOwner)(this.jodit, this.container);
|
|
16398
16451
|
this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`);
|
|
16399
16452
|
this.__calculateZIndex();
|
|
16400
16453
|
this.isOpened = true;
|
|
@@ -16610,7 +16663,7 @@ class Popup extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_10__.UIGr
|
|
|
16610
16663
|
/**
|
|
16611
16664
|
* Set ZIndex
|
|
16612
16665
|
*/ setZIndex(index) {
|
|
16613
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(this.container, 'zIndex', index.toString());
|
|
16666
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(this.container, 'zIndex', index.toString());
|
|
16614
16667
|
}
|
|
16615
16668
|
render() {
|
|
16616
16669
|
return `<div>
|
|
@@ -16631,7 +16684,7 @@ class Popup extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_10__.UIGr
|
|
|
16631
16684
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.attr)(this.container, 'role', 'popup');
|
|
16632
16685
|
}
|
|
16633
16686
|
}
|
|
16634
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
16687
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
16635
16688
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
16636
16689
|
], Popup.prototype, "updatePosition", null);
|
|
16637
16690
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -16697,7 +16750,7 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__.UIE
|
|
|
16697
16750
|
return this;
|
|
16698
16751
|
}
|
|
16699
16752
|
progress(percentage) {
|
|
16700
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, 'width', percentage.toFixed(2) + '%');
|
|
16753
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, 'width', percentage.toFixed(2) + '%');
|
|
16701
16754
|
return this;
|
|
16702
16755
|
}
|
|
16703
16756
|
showFileUploadAnimation(from, to) {
|
|
@@ -16905,7 +16958,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_11__
|
|
|
16905
16958
|
this.e.on('beforeToolbarBuild', this.beforeToolbarBuild);
|
|
16906
16959
|
}
|
|
16907
16960
|
}
|
|
16908
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
16961
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
16909
16962
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_4__.watch)(':rebuildToolbar')
|
|
16910
16963
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16911
16964
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -17151,7 +17204,7 @@ class View extends jodit_core_component_component__WEBPACK_IMPORTED_MODULE_3__.C
|
|
|
17151
17204
|
if (this.isDestructed) {
|
|
17152
17205
|
return;
|
|
17153
17206
|
}
|
|
17154
|
-
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_7__.cached)(this, 'progressbar')?.destruct();
|
|
17207
|
+
;(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_7__.cached)(this, 'progressbar')?.destruct();
|
|
17155
17208
|
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_7__.cached)(this, 'message')?.destruct();
|
|
17156
17209
|
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_7__.cached)(this, 'asyncStorage')?.close();
|
|
17157
17210
|
if (this.events) {
|
|
@@ -17159,7 +17212,7 @@ class View extends jodit_core_component_component__WEBPACK_IMPORTED_MODULE_3__.C
|
|
|
17159
17212
|
// @ts-ignore
|
|
17160
17213
|
this.events = undefined;
|
|
17161
17214
|
}
|
|
17162
|
-
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_7__.cached)(this, 'buffer')?.clear();
|
|
17215
|
+
;(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_7__.cached)(this, 'buffer')?.clear();
|
|
17163
17216
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_10__.Dom.safeRemove(this.container);
|
|
17164
17217
|
super.destruct();
|
|
17165
17218
|
}
|
|
@@ -17178,7 +17231,7 @@ class View extends jodit_core_component_component__WEBPACK_IMPORTED_MODULE_3__.C
|
|
|
17178
17231
|
}
|
|
17179
17232
|
}
|
|
17180
17233
|
// from webpack.config.ts
|
|
17181
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(View, "ES", jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.ES);
|
|
17234
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(View, "ES", jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.ES);
|
|
17182
17235
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(View, "version", jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.APP_VERSION);
|
|
17183
17236
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(View, "esNext", jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.IS_ES_NEXT); // from webpack.config.ts
|
|
17184
17237
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(View, "esModern", jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.IS_ES_MODERN); // from webpack.config.ts
|
|
@@ -17390,7 +17443,7 @@ class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_10__.ViewWithToolbar
|
|
|
17390
17443
|
* @see {@link ConfigMerge} for the merge algorithm
|
|
17391
17444
|
* @see {@link ConfigProto} for per-instance prototype-based merge used at editor creation time
|
|
17392
17445
|
*/ static configure(options) {
|
|
17393
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigMerge)(Jodit.defaultOptions, options);
|
|
17446
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigMerge)(Jodit.defaultOptions, options);
|
|
17394
17447
|
}
|
|
17395
17448
|
get createInside() {
|
|
17396
17449
|
return new jodit_modules__WEBPACK_IMPORTED_MODULE_10__.Create(()=>this.ed, this.o.createAttributes);
|
|
@@ -18093,7 +18146,7 @@ class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_10__.ViewWithToolbar
|
|
|
18093
18146
|
if (display) {
|
|
18094
18147
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(element, __defaultStyleDisplayKey, display);
|
|
18095
18148
|
}
|
|
18096
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(element, 'display', 'none');
|
|
18149
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(element, 'display', 'none');
|
|
18097
18150
|
}
|
|
18098
18151
|
const SLOT = 'workplace-slot';
|
|
18099
18152
|
// A slot that always stays ABOVE the toolbar (presence bars, banners…).
|
|
@@ -18453,7 +18506,7 @@ class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_10__.ViewWithToolbar
|
|
|
18453
18506
|
if (this.e) {
|
|
18454
18507
|
this.e.fire('afterInit', this);
|
|
18455
18508
|
}
|
|
18456
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.callPromise)(this.afterInitHook());
|
|
18509
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.callPromise)(this.afterInitHook());
|
|
18457
18510
|
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_10__.STATUSES.ready);
|
|
18458
18511
|
this.e.fire('afterConstructor', this);
|
|
18459
18512
|
};
|
|
@@ -18461,7 +18514,7 @@ class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_10__.ViewWithToolbar
|
|
|
18461
18514
|
});
|
|
18462
18515
|
}
|
|
18463
18516
|
}
|
|
18464
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "fatMode", jodit_core_constants__WEBPACK_IMPORTED_MODULE_2__.FAT_MODE);
|
|
18517
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "fatMode", jodit_core_constants__WEBPACK_IMPORTED_MODULE_2__.FAT_MODE);
|
|
18465
18518
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "plugins", jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem);
|
|
18466
18519
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "modules", jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.modules);
|
|
18467
18520
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "ns", jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.modules);
|
|
@@ -19059,7 +19112,7 @@ class Dialog extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_
|
|
|
19059
19112
|
if (h == null) {
|
|
19060
19113
|
h = this.dialog.offsetHeight;
|
|
19061
19114
|
}
|
|
19062
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.css)(this.dialog, {
|
|
19115
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.css)(this.dialog, {
|
|
19063
19116
|
width: w,
|
|
19064
19117
|
height: h
|
|
19065
19118
|
});
|
|
@@ -19093,7 +19146,7 @@ class Dialog extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_
|
|
|
19093
19146
|
this.moved = Math.abs(x - left) > 100 || Math.abs(y - top) > 100;
|
|
19094
19147
|
}
|
|
19095
19148
|
// strings on purpose: `css()` would truncate fractional pixels
|
|
19096
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.css)(this.dialog, {
|
|
19149
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.css)(this.dialog, {
|
|
19097
19150
|
left: (x || left) + 'px',
|
|
19098
19151
|
top: (y || top) + 'px'
|
|
19099
19152
|
});
|
|
@@ -19381,7 +19434,7 @@ class Dialog extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_
|
|
|
19381
19434
|
if (this.o.zIndex) {
|
|
19382
19435
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.css)(this.container, 'zIndex', this.o.zIndex.toString());
|
|
19383
19436
|
}
|
|
19384
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.attr)(self1.container, 'role', 'dialog');
|
|
19437
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_9__.attr)(self1.container, 'role', 'dialog');
|
|
19385
19438
|
Object.defineProperty(self1.container, 'component', {
|
|
19386
19439
|
value: this
|
|
19387
19440
|
});
|
|
@@ -19425,7 +19478,7 @@ class Dialog extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_
|
|
|
19425
19478
|
/**
|
|
19426
19479
|
* Registry of the currently opened dialogs. Replaces a DOM scan of the
|
|
19427
19480
|
* whole `destination` (usually `document.body`) for every z-index update.
|
|
19428
|
-
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Dialog, "__opened", new Set());
|
|
19481
|
+
*/ ;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Dialog, "__opened", new Set());
|
|
19429
19482
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Dialog, "defaultOptions", {
|
|
19430
19483
|
...jodit_core_view_view__WEBPACK_IMPORTED_MODULE_12__.View.defaultOptions,
|
|
19431
19484
|
closeOnClickOverlay: false,
|
|
@@ -19746,9 +19799,6 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
|
|
|
19746
19799
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19747
19800
|
|
|
19748
19801
|
"use strict";
|
|
19749
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19750
|
-
/* harmony export */ elementsMap: function() { return /* binding */ elementsMap; }
|
|
19751
|
-
/* harmony export */ });
|
|
19752
19802
|
/*!
|
|
19753
19803
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19754
19804
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19768,6 +19818,10 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
|
|
|
19768
19818
|
return result;
|
|
19769
19819
|
};
|
|
19770
19820
|
|
|
19821
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
19822
|
+
/* harmony export */ "elementsMap", 0, /* binding */ elementsMap
|
|
19823
|
+
/* harmony export */ ]);
|
|
19824
|
+
|
|
19771
19825
|
|
|
19772
19826
|
/***/ }),
|
|
19773
19827
|
|
|
@@ -19830,7 +19884,7 @@ class FileBrowserItem {
|
|
|
19830
19884
|
return this.data;
|
|
19831
19885
|
}
|
|
19832
19886
|
constructor(data){
|
|
19833
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "data", void 0);
|
|
19887
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "data", void 0);
|
|
19834
19888
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "source", void 0);
|
|
19835
19889
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "sourceName", void 0);
|
|
19836
19890
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "type", void 0);
|
|
@@ -19849,10 +19903,6 @@ class FileBrowserItem {
|
|
|
19849
19903
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19850
19904
|
|
|
19851
19905
|
"use strict";
|
|
19852
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19853
|
-
/* harmony export */ elementToItem: function() { return /* binding */ elementToItem; },
|
|
19854
|
-
/* harmony export */ getItem: function() { return /* binding */ getItem; }
|
|
19855
|
-
/* harmony export */ });
|
|
19856
19906
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23211);
|
|
19857
19907
|
/*!
|
|
19858
19908
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -19871,6 +19921,11 @@ class FileBrowserItem {
|
|
|
19871
19921
|
return item;
|
|
19872
19922
|
};
|
|
19873
19923
|
|
|
19924
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
19925
|
+
/* harmony export */ "elementToItem", 0, /* binding */ elementToItem,
|
|
19926
|
+
/* harmony export */ "getItem", 0, /* binding */ getItem
|
|
19927
|
+
/* harmony export */ ]);
|
|
19928
|
+
|
|
19874
19929
|
|
|
19875
19930
|
/***/ }),
|
|
19876
19931
|
|
|
@@ -20236,7 +20291,6 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.filebrowser
|
|
|
20236
20291
|
|
|
20237
20292
|
"use strict";
|
|
20238
20293
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20239
|
-
/* harmony export */ DEFAULT_SOURCE_NAME: function() { return /* binding */ DEFAULT_SOURCE_NAME; },
|
|
20240
20294
|
/* harmony export */ "default": function() { return /* binding */ DataProvider; }
|
|
20241
20295
|
/* harmony export */ });
|
|
20242
20296
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
|
|
@@ -20440,7 +20494,7 @@ class DataProvider {
|
|
|
20440
20494
|
/**
|
|
20441
20495
|
* Get path by url. You can use this method in another modules
|
|
20442
20496
|
*/ getPathByUrl(url) {
|
|
20443
|
-
(0,jodit_core_helpers_utils_set__WEBPACK_IMPORTED_MODULE_8__.set)('options.getLocalFileByUrl.data.url', url, this);
|
|
20497
|
+
;(0,jodit_core_helpers_utils_set__WEBPACK_IMPORTED_MODULE_8__.set)('options.getLocalFileByUrl.data.url', url, this);
|
|
20444
20498
|
return this.get('getLocalFileByUrl').then((resp)=>{
|
|
20445
20499
|
if (this.isSuccess(resp)) {
|
|
20446
20500
|
return resp.data;
|
|
@@ -20606,7 +20660,7 @@ class DataProvider {
|
|
|
20606
20660
|
this.__ajaxInstances.clear();
|
|
20607
20661
|
}
|
|
20608
20662
|
constructor(parent, options){
|
|
20609
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "parent", void 0);
|
|
20663
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "parent", void 0);
|
|
20610
20664
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "options", void 0);
|
|
20611
20665
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__currentPermissions", void 0);
|
|
20612
20666
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__ajaxInstances", void 0);
|
|
@@ -20619,7 +20673,7 @@ class DataProvider {
|
|
|
20619
20673
|
}
|
|
20620
20674
|
}
|
|
20621
20675
|
|
|
20622
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
20676
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
20623
20677
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
20624
20678
|
], DataProvider.prototype, "onProgress", null);
|
|
20625
20679
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -20674,6 +20728,10 @@ class DataProvider {
|
|
|
20674
20728
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
20675
20729
|
], DataProvider.prototype, "destruct", null);
|
|
20676
20730
|
|
|
20731
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
20732
|
+
/* harmony export */ "DEFAULT_SOURCE_NAME", 0, /* binding */ DEFAULT_SOURCE_NAME
|
|
20733
|
+
/* harmony export */ ]);
|
|
20734
|
+
|
|
20677
20735
|
|
|
20678
20736
|
/***/ }),
|
|
20679
20737
|
|
|
@@ -21028,7 +21086,7 @@ class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MO
|
|
|
21028
21086
|
if (this.isInDestruct) {
|
|
21029
21087
|
return;
|
|
21030
21088
|
}
|
|
21031
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.cached)(this, '_dialog')?.destruct();
|
|
21089
|
+
;(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.cached)(this, '_dialog')?.destruct();
|
|
21032
21090
|
super.destruct();
|
|
21033
21091
|
this.events && this.e.off('.filebrowser');
|
|
21034
21092
|
this.uploader && this.uploader.destruct();
|
|
@@ -21132,7 +21190,7 @@ class FileBrowser extends jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MO
|
|
|
21132
21190
|
self.setStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.STATUSES.ready);
|
|
21133
21191
|
}
|
|
21134
21192
|
}
|
|
21135
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
21193
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
21136
21194
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.cache
|
|
21137
21195
|
], FileBrowser.prototype, "dataProvider", null);
|
|
21138
21196
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -21402,7 +21460,7 @@ function isEqualButtonList(prevButtons, buttons) {
|
|
|
21402
21460
|
}, 'type name', name);
|
|
21403
21461
|
}
|
|
21404
21462
|
}).on('update.filebrowser', ()=>{
|
|
21405
|
-
(0,jodit_modules_file_browser_fetch_load_tree__WEBPACK_IMPORTED_MODULE_5__.loadTree)(this).then(this.status, this.status);
|
|
21463
|
+
;(0,jodit_modules_file_browser_fetch_load_tree__WEBPACK_IMPORTED_MODULE_5__.loadTree)(this).then(this.status, this.status);
|
|
21406
21464
|
});
|
|
21407
21465
|
}
|
|
21408
21466
|
|
|
@@ -21458,7 +21516,7 @@ const DEFAULT_SOURCE_NAME = 'default';
|
|
|
21458
21516
|
if (this.o.saveStateInStorage && this.o.saveStateInStorage.storeLastOpenedFolder) {
|
|
21459
21517
|
this.storage.set('currentPath', this.state.currentPath).set('currentSource', this.state.currentSource);
|
|
21460
21518
|
}
|
|
21461
|
-
(0,jodit_modules_file_browser_fetch_load_tree__WEBPACK_IMPORTED_MODULE_4__.loadTree)(this).catch(this.status);
|
|
21519
|
+
;(0,jodit_modules_file_browser_fetch_load_tree__WEBPACK_IMPORTED_MODULE_4__.loadTree)(this).catch(this.status);
|
|
21462
21520
|
}, this.defaultTimeout)).on('beforeChange.activeElements', ()=>{
|
|
21463
21521
|
state.activeElements.forEach((item)=>{
|
|
21464
21522
|
const key = item.uniqueHashKey, { elm } = elmMap[key];
|
|
@@ -21651,7 +21709,7 @@ class Command {
|
|
|
21651
21709
|
this.history.snapshot.restore(this.newValue);
|
|
21652
21710
|
}
|
|
21653
21711
|
constructor(oldValue, newValue, history, tick){
|
|
21654
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "oldValue", void 0);
|
|
21712
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "oldValue", void 0);
|
|
21655
21713
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "newValue", void 0);
|
|
21656
21714
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "history", void 0);
|
|
21657
21715
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "tick", void 0);
|
|
@@ -21823,7 +21881,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.history = {
|
|
|
21823
21881
|
}
|
|
21824
21882
|
}
|
|
21825
21883
|
}
|
|
21826
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
21884
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
21827
21885
|
(0,jodit_core_decorators_debounce_debounce__WEBPACK_IMPORTED_MODULE_3__.debounce)()
|
|
21828
21886
|
], History.prototype, "onChange", null);
|
|
21829
21887
|
|
|
@@ -22112,7 +22170,7 @@ class Stack {
|
|
|
22112
22170
|
return this.stackPosition < this.commands.length - 1;
|
|
22113
22171
|
}
|
|
22114
22172
|
constructor(size){
|
|
22115
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "size", void 0);
|
|
22173
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "size", void 0);
|
|
22116
22174
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "commands", void 0);
|
|
22117
22175
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "stackPosition", void 0);
|
|
22118
22176
|
this.size = size;
|
|
@@ -22280,7 +22338,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22280
22338
|
} else {
|
|
22281
22339
|
url += '?_tst=' + timestamp;
|
|
22282
22340
|
}
|
|
22283
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_6__.attr)(this.image, 'src', url);
|
|
22341
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_6__.attr)(this.image, 'src', url);
|
|
22284
22342
|
this._dialog.open();
|
|
22285
22343
|
const { widthInput, heightInput } = (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_8__.refs)(this.editor);
|
|
22286
22344
|
const onload = ()=>{
|
|
@@ -22412,7 +22470,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22412
22470
|
if (self.top_y + self.new_h > self.cropImage.offsetHeight) {
|
|
22413
22471
|
self.new_h = self.cropImage.offsetHeight - self.top_y;
|
|
22414
22472
|
}
|
|
22415
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, {
|
|
22473
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, {
|
|
22416
22474
|
width: self.new_w,
|
|
22417
22475
|
height: self.new_h
|
|
22418
22476
|
});
|
|
@@ -22420,11 +22478,11 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22420
22478
|
if (self.top_x + self.diff_x + self.cropHandler.offsetWidth > self.cropImage.offsetWidth) {
|
|
22421
22479
|
self.diff_x = self.cropImage.offsetWidth - self.top_x - self.cropHandler.offsetWidth;
|
|
22422
22480
|
}
|
|
22423
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
|
|
22481
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
|
|
22424
22482
|
if (self.top_y + self.diff_y + self.cropHandler.offsetHeight > self.cropImage.offsetHeight) {
|
|
22425
22483
|
self.diff_y = self.cropImage.offsetHeight - self.top_y - self.cropHandler.offsetHeight;
|
|
22426
22484
|
}
|
|
22427
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
|
|
22485
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
|
|
22428
22486
|
}
|
|
22429
22487
|
this.j.e.fire(self.cropHandler, 'updatesize');
|
|
22430
22488
|
}
|
|
@@ -22465,7 +22523,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22465
22523
|
wn = nw * (h / nh);
|
|
22466
22524
|
hn = h;
|
|
22467
22525
|
}
|
|
22468
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(this.crop_box, {
|
|
22526
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(this.crop_box, {
|
|
22469
22527
|
width: wn,
|
|
22470
22528
|
height: hn
|
|
22471
22529
|
});
|
|
@@ -22482,7 +22540,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22482
22540
|
} else {
|
|
22483
22541
|
this.new_h = ImageEditor.calcValueByPercent(h, this.o.cropDefaultHeight);
|
|
22484
22542
|
}
|
|
22485
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(this.cropHandler, {
|
|
22543
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(this.cropHandler, {
|
|
22486
22544
|
backgroundImage: 'url(' + (0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_6__.attr)(this.cropImage, 'src') + ')',
|
|
22487
22545
|
width: this.new_w,
|
|
22488
22546
|
height: this.new_h,
|
|
@@ -22530,7 +22588,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22530
22588
|
});
|
|
22531
22589
|
}
|
|
22532
22590
|
self.j.e.on(self.resizeHandler, 'updatesize', ()=>{
|
|
22533
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.resizeHandler, {
|
|
22591
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.resizeHandler, {
|
|
22534
22592
|
top: 0,
|
|
22535
22593
|
left: 0,
|
|
22536
22594
|
width: self.image.offsetWidth || self.naturalWidth,
|
|
@@ -22560,7 +22618,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22560
22618
|
new_width = new_height * self.ratio;
|
|
22561
22619
|
}
|
|
22562
22620
|
}
|
|
22563
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, {
|
|
22621
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__.css)(self.cropHandler, {
|
|
22564
22622
|
width: new_width,
|
|
22565
22623
|
height: new_height,
|
|
22566
22624
|
left: new_x,
|
|
@@ -22654,7 +22712,7 @@ class ImageEditor extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.View
|
|
|
22654
22712
|
this.setHandlers();
|
|
22655
22713
|
}
|
|
22656
22714
|
}
|
|
22657
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(ImageEditor, "calcValueByPercent", (value, percent)=>{
|
|
22715
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(ImageEditor, "calcValueByPercent", (value, percent)=>{
|
|
22658
22716
|
const percentStr = percent.toString();
|
|
22659
22717
|
const valueNbr = parseFloat(value.toString());
|
|
22660
22718
|
let match;
|
|
@@ -22708,7 +22766,7 @@ ImageEditor = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorat
|
|
|
22708
22766
|
}
|
|
22709
22767
|
return;
|
|
22710
22768
|
}
|
|
22711
|
-
(0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_9__.call)(box.action === 'resize' ? this.dataProvider.resize : this.dataProvider.crop, path, source, name, newname, box.box).then((result)=>{
|
|
22769
|
+
;(0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_9__.call)(box.action === 'resize' ? this.dataProvider.resize : this.dataProvider.crop, path, source, name, newname, box.box).then((result)=>{
|
|
22712
22770
|
if (result) {
|
|
22713
22771
|
success();
|
|
22714
22772
|
if (onSuccess) {
|
|
@@ -22731,9 +22789,6 @@ ImageEditor = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorat
|
|
|
22731
22789
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
22732
22790
|
|
|
22733
22791
|
"use strict";
|
|
22734
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22735
|
-
/* harmony export */ form: function() { return /* binding */ form; }
|
|
22736
|
-
/* harmony export */ });
|
|
22737
22792
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4099);
|
|
22738
22793
|
/*!
|
|
22739
22794
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -22810,6 +22865,10 @@ const form = (editor, o)=>{
|
|
|
22810
22865
|
</form>`);
|
|
22811
22866
|
};
|
|
22812
22867
|
|
|
22868
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
22869
|
+
/* harmony export */ "form", 0, /* binding */ form
|
|
22870
|
+
/* harmony export */ ]);
|
|
22871
|
+
|
|
22813
22872
|
|
|
22814
22873
|
/***/ }),
|
|
22815
22874
|
|
|
@@ -23898,7 +23957,7 @@ class Table extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.ViewCompon
|
|
|
23898
23957
|
super(...args), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "selected", new Set());
|
|
23899
23958
|
}
|
|
23900
23959
|
}
|
|
23901
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Table, "__selectedByTable", new WeakMap());
|
|
23960
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Table, "__selectedByTable", new WeakMap());
|
|
23902
23961
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
23903
23962
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
23904
23963
|
], Table.prototype, "__recalculateStyles", null);
|
|
@@ -24032,7 +24091,7 @@ class ToolbarButton extends jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_19__.U
|
|
|
24032
24091
|
return Boolean(tc && tc.shouldBeDisabled(this));
|
|
24033
24092
|
}
|
|
24034
24093
|
onChangeActivated() {
|
|
24035
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_17__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
24094
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_17__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
24036
24095
|
super.onChangeActivated();
|
|
24037
24096
|
}
|
|
24038
24097
|
onChangeText() {
|
|
@@ -24044,7 +24103,7 @@ class ToolbarButton extends jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_19__.U
|
|
|
24044
24103
|
this.setMod('text-icons', Boolean(this.text.innerText.trim().length));
|
|
24045
24104
|
}
|
|
24046
24105
|
onChangeTabIndex() {
|
|
24047
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_17__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
24106
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_17__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
24048
24107
|
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_17__.attr)(this.trigger, 'tabindex', this.state.tabIndex);
|
|
24049
24108
|
}
|
|
24050
24109
|
createContainer() {
|
|
@@ -24336,7 +24395,7 @@ class ToolbarButton extends jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_19__.U
|
|
|
24336
24395
|
}
|
|
24337
24396
|
}
|
|
24338
24397
|
}
|
|
24339
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
24398
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
24340
24399
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__.cacheHTML
|
|
24341
24400
|
], ToolbarButton.prototype, "createContainer", null);
|
|
24342
24401
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -24610,7 +24669,7 @@ class ToolbarCollection extends jodit_core_ui_group_list__WEBPACK_IMPORTED_MODUL
|
|
|
24610
24669
|
/**
|
|
24611
24670
|
* Set direction
|
|
24612
24671
|
*/ setDirection(direction) {
|
|
24613
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__.css)(this.container, 'direction', direction);
|
|
24672
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__.css)(this.container, 'direction', direction);
|
|
24614
24673
|
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_7__.attr)(this.container, 'dir', direction);
|
|
24615
24674
|
}
|
|
24616
24675
|
__initEvents() {
|
|
@@ -24644,7 +24703,7 @@ class ToolbarCollection extends jodit_core_ui_group_list__WEBPACK_IMPORTED_MODUL
|
|
|
24644
24703
|
super(jodit), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__listenEvents", 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize ' + 'selectionchange changeSelection focus afterSetMode touchstart focus blur');
|
|
24645
24704
|
}
|
|
24646
24705
|
}
|
|
24647
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
24706
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
24648
24707
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_6__.watch)(':afterInit'),
|
|
24649
24708
|
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
24650
24709
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
@@ -25277,7 +25336,6 @@ function readImagesWithReader(fileList, imagesExtensions, promises, uploader, ha
|
|
|
25277
25336
|
|
|
25278
25337
|
"use strict";
|
|
25279
25338
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25280
|
-
/* harmony export */ ajaxInstances: function() { return /* binding */ ajaxInstances; },
|
|
25281
25339
|
/* harmony export */ send: function() { return /* binding */ send; }
|
|
25282
25340
|
/* harmony export */ });
|
|
25283
25341
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65946);
|
|
@@ -25359,6 +25417,10 @@ function send(uploader, data) {
|
|
|
25359
25417
|
return sendData(requestData, showProgress);
|
|
25360
25418
|
}
|
|
25361
25419
|
|
|
25420
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
25421
|
+
/* harmony export */ "ajaxInstances", 0, /* binding */ ajaxInstances
|
|
25422
|
+
/* harmony export */ ]);
|
|
25423
|
+
|
|
25362
25424
|
|
|
25363
25425
|
/***/ }),
|
|
25364
25426
|
|
|
@@ -25535,7 +25597,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_1__.ViewCo
|
|
|
25535
25597
|
}
|
|
25536
25598
|
upload(files) {
|
|
25537
25599
|
return this.async.promise((resolve, reject)=>{
|
|
25538
|
-
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(this, files, resolve, reject);
|
|
25600
|
+
;(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(this, files, resolve, reject);
|
|
25539
25601
|
});
|
|
25540
25602
|
}
|
|
25541
25603
|
destruct() {
|
|
@@ -25564,9 +25626,6 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_1__.ViewCo
|
|
|
25564
25626
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
25565
25627
|
|
|
25566
25628
|
"use strict";
|
|
25567
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25568
|
-
/* harmony export */ ColorPickerWidget: function() { return /* binding */ ColorPickerWidget; }
|
|
25569
|
-
/* harmony export */ });
|
|
25570
25629
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27795);
|
|
25571
25630
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65946);
|
|
25572
25631
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4099);
|
|
@@ -25692,6 +25751,10 @@ jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__.Icon.set('palette', (_palette_svg__WE
|
|
|
25692
25751
|
return form;
|
|
25693
25752
|
};
|
|
25694
25753
|
|
|
25754
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
25755
|
+
/* harmony export */ "ColorPickerWidget", 0, /* binding */ ColorPickerWidget
|
|
25756
|
+
/* harmony export */ ]);
|
|
25757
|
+
|
|
25695
25758
|
|
|
25696
25759
|
/***/ }),
|
|
25697
25760
|
|
|
@@ -25699,9 +25762,6 @@ jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__.Icon.set('palette', (_palette_svg__WE
|
|
|
25699
25762
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
25700
25763
|
|
|
25701
25764
|
"use strict";
|
|
25702
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25703
|
-
/* harmony export */ FileSelectorWidget: function() { return /* binding */ FileSelectorWidget; }
|
|
25704
|
-
/* harmony export */ });
|
|
25705
25765
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23211);
|
|
25706
25766
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65946);
|
|
25707
25767
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4099);
|
|
@@ -25826,6 +25886,10 @@ function val(elm, name, value) {
|
|
|
25826
25886
|
return child.value;
|
|
25827
25887
|
}
|
|
25828
25888
|
|
|
25889
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
25890
|
+
/* harmony export */ "FileSelectorWidget", 0, /* binding */ FileSelectorWidget
|
|
25891
|
+
/* harmony export */ ]);
|
|
25892
|
+
|
|
25829
25893
|
|
|
25830
25894
|
/***/ }),
|
|
25831
25895
|
|
|
@@ -25860,9 +25924,6 @@ function val(elm, name, value) {
|
|
|
25860
25924
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
25861
25925
|
|
|
25862
25926
|
"use strict";
|
|
25863
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25864
|
-
/* harmony export */ TabsWidget: function() { return /* binding */ TabsWidget; }
|
|
25865
|
-
/* harmony export */ });
|
|
25866
25927
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16964);
|
|
25867
25928
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23211);
|
|
25868
25929
|
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91565);
|
|
@@ -25988,6 +26049,10 @@ function val(elm, name, value) {
|
|
|
25988
26049
|
return box;
|
|
25989
26050
|
};
|
|
25990
26051
|
|
|
26052
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
26053
|
+
/* harmony export */ "TabsWidget", 0, /* binding */ TabsWidget
|
|
26054
|
+
/* harmony export */ ]);
|
|
26055
|
+
|
|
25991
26056
|
|
|
25992
26057
|
/***/ }),
|
|
25993
26058
|
|
|
@@ -26057,7 +26122,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__.Icon.set('about', (_about_svg__W
|
|
|
26057
26122
|
/***/ }),
|
|
26058
26123
|
|
|
26059
26124
|
/***/ 42766:
|
|
26060
|
-
/***/ (function(__unused_webpack_module,
|
|
26125
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
26061
26126
|
|
|
26062
26127
|
"use strict";
|
|
26063
26128
|
/* unused harmony export addNewLine */
|
|
@@ -26245,7 +26310,7 @@ const ns = 'addnewline';
|
|
|
26245
26310
|
});
|
|
26246
26311
|
}
|
|
26247
26312
|
}
|
|
26248
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
26313
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
26249
26314
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':lock')
|
|
26250
26315
|
], addNewLine.prototype, "onLock", null);
|
|
26251
26316
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -26296,7 +26361,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
26296
26361
|
/***/ }),
|
|
26297
26362
|
|
|
26298
26363
|
/***/ 14774:
|
|
26299
|
-
/***/ (function(__unused_webpack_module,
|
|
26364
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
26300
26365
|
|
|
26301
26366
|
"use strict";
|
|
26302
26367
|
/* unused harmony export aiAssistant */
|
|
@@ -26393,7 +26458,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
26393
26458
|
});
|
|
26394
26459
|
}
|
|
26395
26460
|
/** @override */ beforeDestruct(_) {
|
|
26396
|
-
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_2__.cached)(this, '__container')?.destruct();
|
|
26461
|
+
;(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_2__.cached)(this, '__container')?.destruct();
|
|
26397
26462
|
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_2__.cached)(this, '__dialog')?.destruct();
|
|
26398
26463
|
}
|
|
26399
26464
|
constructor(jodit){
|
|
@@ -26410,7 +26475,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('enter', (_enter_svg__W
|
|
|
26410
26475
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.extendLang)(_langs__WEBPACK_IMPORTED_MODULE_9__);
|
|
26411
26476
|
}
|
|
26412
26477
|
}
|
|
26413
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
26478
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
26414
26479
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
26415
26480
|
], aiAssistant.prototype, "__dialog", null);
|
|
26416
26481
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -26428,7 +26493,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('ai-assistant',
|
|
|
26428
26493
|
/***/ }),
|
|
26429
26494
|
|
|
26430
26495
|
/***/ 77227:
|
|
26431
|
-
/***/ (function(__unused_webpack_module,
|
|
26496
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
26432
26497
|
|
|
26433
26498
|
"use strict";
|
|
26434
26499
|
/* unused harmony exports aiAssitentCommands, aiAssistantDefaults */
|
|
@@ -26781,7 +26846,7 @@ class UiAiAssistant extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_7__.U
|
|
|
26781
26846
|
this.onChangePromptValue();
|
|
26782
26847
|
}
|
|
26783
26848
|
}
|
|
26784
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
26849
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
26785
26850
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_3__.watch)(':ai-assistant-response')
|
|
26786
26851
|
], UiAiAssistant.prototype, "onAiAssistentResponse", null);
|
|
26787
26852
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -26798,7 +26863,7 @@ UiAiAssistant = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decor
|
|
|
26798
26863
|
/***/ }),
|
|
26799
26864
|
|
|
26800
26865
|
/***/ 28286:
|
|
26801
|
-
/***/ (function(__unused_webpack_module,
|
|
26866
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
26802
26867
|
|
|
26803
26868
|
"use strict";
|
|
26804
26869
|
/* unused harmony export backspace */
|
|
@@ -26881,7 +26946,7 @@ class backspace extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
|
26881
26946
|
if (jodit.e.fire('backSpaceBeforeCases', backspace, fakeNode)) {
|
|
26882
26947
|
return false;
|
|
26883
26948
|
}
|
|
26884
|
-
(0,jodit_core_selection_helpers__WEBPACK_IMPORTED_MODULE_6__.moveNodeInsideStart)(jodit, fakeNode, backspace);
|
|
26949
|
+
;(0,jodit_core_selection_helpers__WEBPACK_IMPORTED_MODULE_6__.moveNodeInsideStart)(jodit, fakeNode, backspace);
|
|
26885
26950
|
const disabled = jodit.o.delete.disableCases;
|
|
26886
26951
|
if (_cases__WEBPACK_IMPORTED_MODULE_9__.casesMap.some(([key, func])=>{
|
|
26887
26952
|
if (disabled && disabled.has(key)) {
|
|
@@ -26931,7 +26996,7 @@ class backspace extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
|
26931
26996
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(fakeNode);
|
|
26932
26997
|
}
|
|
26933
26998
|
}
|
|
26934
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(backspace, "requires", [
|
|
26999
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(backspace, "requires", [
|
|
26935
27000
|
'hotkeys'
|
|
26936
27001
|
]);
|
|
26937
27002
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('backspace', backspace);
|
|
@@ -27277,7 +27342,7 @@ function replaceSpaceOnNBSP(anotherSibling, backspace, value) {
|
|
|
27277
27342
|
}
|
|
27278
27343
|
}
|
|
27279
27344
|
function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed, jodit) {
|
|
27280
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.call)(backspace ? jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after : jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.before, sibling, fakeNode);
|
|
27345
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.call)(backspace ? jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after : jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.before, sibling, fakeNode);
|
|
27281
27346
|
if (mode === 'sentence' || mode === 'word' && removed !== ' ' && removed !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.NBSP_SPACE) {
|
|
27282
27347
|
checkRemoveChar(jodit, fakeNode, backspace, mode);
|
|
27283
27348
|
}
|
|
@@ -27567,7 +27632,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
|
|
|
27567
27632
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isEmpty(ul)) {
|
|
27568
27633
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(ul);
|
|
27569
27634
|
}
|
|
27570
|
-
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.call)(backspace ? s.setCursorBefore : s.setCursorAfter, fakeNode);
|
|
27635
|
+
;(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.call)(backspace ? s.setCursorBefore : s.setCursorAfter, fakeNode);
|
|
27571
27636
|
return true;
|
|
27572
27637
|
}
|
|
27573
27638
|
return false;
|
|
@@ -27580,9 +27645,6 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
|
|
|
27580
27645
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
27581
27646
|
|
|
27582
27647
|
"use strict";
|
|
27583
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27584
|
-
/* harmony export */ casesMap: function() { return /* binding */ casesMap; }
|
|
27585
|
-
/* harmony export */ });
|
|
27586
27648
|
/* unused harmony export cases */
|
|
27587
27649
|
/* harmony import */ var _check_join_neighbors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26106);
|
|
27588
27650
|
/* harmony import */ var _check_join_two_lists__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80951);
|
|
@@ -27656,6 +27718,10 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
|
|
|
27656
27718
|
* @deprecated Use `casesMap` to also get the stable case keys.
|
|
27657
27719
|
*/ const cases = casesMap.map(([, fn])=>fn);
|
|
27658
27720
|
|
|
27721
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
27722
|
+
/* harmony export */ "casesMap", 0, /* binding */ casesMap
|
|
27723
|
+
/* harmony export */ ]);
|
|
27724
|
+
|
|
27659
27725
|
|
|
27660
27726
|
/***/ }),
|
|
27661
27727
|
|
|
@@ -27749,7 +27815,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.delete = {
|
|
|
27749
27815
|
/***/ }),
|
|
27750
27816
|
|
|
27751
27817
|
/***/ 91678:
|
|
27752
|
-
/***/ (function(__unused_webpack_module,
|
|
27818
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
27753
27819
|
|
|
27754
27820
|
"use strict";
|
|
27755
27821
|
/* unused harmony export bold */
|
|
@@ -27936,7 +28002,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.strikethroug
|
|
|
27936
28002
|
/***/ }),
|
|
27937
28003
|
|
|
27938
28004
|
/***/ 58910:
|
|
27939
|
-
/***/ (function(__unused_webpack_module,
|
|
28005
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
27940
28006
|
|
|
27941
28007
|
"use strict";
|
|
27942
28008
|
/* unused harmony export classSpan */
|
|
@@ -28049,7 +28115,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_5__.Icon.set('class-span', (_class_s
|
|
|
28049
28115
|
/***/ }),
|
|
28050
28116
|
|
|
28051
28117
|
/***/ 11018:
|
|
28052
|
-
/***/ (function(__unused_webpack_module,
|
|
28118
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
28053
28119
|
|
|
28054
28120
|
"use strict";
|
|
28055
28121
|
/* unused harmony export cleanHtml */
|
|
@@ -28153,7 +28219,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_5__.Icon.set('class-span', (_class_s
|
|
|
28153
28219
|
if (sanitizer) {
|
|
28154
28220
|
sandBox.innerHTML = sanitizer(sandBox.innerHTML);
|
|
28155
28221
|
}
|
|
28156
|
-
(0,jodit_core_helpers_html_safe_html__WEBPACK_IMPORTED_MODULE_6__.safeHTML)(sandBox, this.j.o.cleanHTML);
|
|
28222
|
+
;(0,jodit_core_helpers_html_safe_html__WEBPACK_IMPORTED_MODULE_6__.safeHTML)(sandBox, this.j.o.cleanHTML);
|
|
28157
28223
|
}
|
|
28158
28224
|
/** @override */ beforeDestruct() {
|
|
28159
28225
|
this.walker.destruct();
|
|
@@ -28169,7 +28235,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_5__.Icon.set('class-span', (_class_s
|
|
|
28169
28235
|
}));
|
|
28170
28236
|
}
|
|
28171
28237
|
}
|
|
28172
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
28238
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
28173
28239
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)([
|
|
28174
28240
|
':change',
|
|
28175
28241
|
':afterSetMode',
|
|
@@ -28541,7 +28607,7 @@ const VIMEO_EMBED = /^(https?:)?\/\/player\.vimeo\.com\/video\//i;
|
|
|
28541
28607
|
// `attrRaw` on purpose: the sanitizer must remove exactly the
|
|
28542
28608
|
// attribute name from the live list, without the `attr()`
|
|
28543
28609
|
// helper name normalization
|
|
28544
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attrRaw)(nodeElm, attr, null);
|
|
28610
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attrRaw)(nodeElm, attr, null);
|
|
28545
28611
|
});
|
|
28546
28612
|
}
|
|
28547
28613
|
}
|
|
@@ -29134,7 +29200,7 @@ const keys = Object.keys(_filters__WEBPACK_IMPORTED_MODULE_1__);
|
|
|
29134
29200
|
/***/ }),
|
|
29135
29201
|
|
|
29136
29202
|
/***/ 43354:
|
|
29137
|
-
/***/ (function(__unused_webpack_module,
|
|
29203
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
29138
29204
|
|
|
29139
29205
|
"use strict";
|
|
29140
29206
|
/* unused harmony export clipboard */
|
|
@@ -29186,11 +29252,11 @@ const keys = Object.keys(_filters__WEBPACK_IMPORTED_MODULE_1__);
|
|
|
29186
29252
|
});
|
|
29187
29253
|
}
|
|
29188
29254
|
/** @override */ destruct(editor) {
|
|
29189
|
-
(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_2__.cached)(editor, 'buffer')?.set(jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.CLIPBOARD_ID, '');
|
|
29255
|
+
;(0,jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_2__.cached)(editor, 'buffer')?.set(jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.CLIPBOARD_ID, '');
|
|
29190
29256
|
editor?.events?.off('.' + jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.CLIPBOARD_ID);
|
|
29191
29257
|
}
|
|
29192
29258
|
constructor(){
|
|
29193
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "jodit", void 0);
|
|
29259
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "jodit", void 0);
|
|
29194
29260
|
/** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "buttons", [
|
|
29195
29261
|
{
|
|
29196
29262
|
name: 'cut',
|
|
@@ -29286,7 +29352,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('copy', (_icons_copy_sv
|
|
|
29286
29352
|
/***/ }),
|
|
29287
29353
|
|
|
29288
29354
|
/***/ 42462:
|
|
29289
|
-
/***/ (function(__unused_webpack_module,
|
|
29355
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
29290
29356
|
|
|
29291
29357
|
"use strict";
|
|
29292
29358
|
/* unused harmony export color */
|
|
@@ -29390,7 +29456,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.brushCell =
|
|
|
29390
29456
|
}
|
|
29391
29457
|
const makeColorPicker = (key)=>(0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__.ColorPickerWidget)(editor, (value)=>{
|
|
29392
29458
|
selected.forEach((cell)=>{
|
|
29393
|
-
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
29459
|
+
;(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
29394
29460
|
});
|
|
29395
29461
|
editor.lock();
|
|
29396
29462
|
editor.synchronizeValues();
|
|
@@ -29478,7 +29544,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.brush = {
|
|
|
29478
29544
|
} else {
|
|
29479
29545
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(currentElement, 'backgroundColor', value);
|
|
29480
29546
|
}
|
|
29481
|
-
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color', value);
|
|
29547
|
+
;(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color', value);
|
|
29482
29548
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
29483
29549
|
close();
|
|
29484
29550
|
}, bg_color);
|
|
@@ -29488,7 +29554,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.brush = {
|
|
|
29488
29554
|
} else {
|
|
29489
29555
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(currentElement, 'color', value);
|
|
29490
29556
|
}
|
|
29491
|
-
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color', value);
|
|
29557
|
+
;(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color', value);
|
|
29492
29558
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'color');
|
|
29493
29559
|
close();
|
|
29494
29560
|
}, colorHEX);
|
|
@@ -29532,7 +29598,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.brush = {
|
|
|
29532
29598
|
/***/ }),
|
|
29533
29599
|
|
|
29534
29600
|
/***/ 30062:
|
|
29535
|
-
/***/ (function(__unused_webpack_module,
|
|
29601
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
29536
29602
|
|
|
29537
29603
|
"use strict";
|
|
29538
29604
|
/* unused harmony export copyFormat */
|
|
@@ -30052,7 +30118,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30052
30118
|
/***/ }),
|
|
30053
30119
|
|
|
30054
30120
|
/***/ 63974:
|
|
30055
|
-
/***/ (function(__unused_webpack_module,
|
|
30121
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30056
30122
|
|
|
30057
30123
|
"use strict";
|
|
30058
30124
|
/* unused harmony export deleteCommand */
|
|
@@ -30190,7 +30256,7 @@ class deleteCommand extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__.Plugi
|
|
|
30190
30256
|
}
|
|
30191
30257
|
}
|
|
30192
30258
|
}
|
|
30193
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(deleteCommand, "requires", [
|
|
30259
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(deleteCommand, "requires", [
|
|
30194
30260
|
'backspace'
|
|
30195
30261
|
]);
|
|
30196
30262
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('deleteCommand', deleteCommand);
|
|
@@ -30220,7 +30286,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.draggableTags = [
|
|
|
30220
30286
|
/***/ }),
|
|
30221
30287
|
|
|
30222
30288
|
/***/ 43102:
|
|
30223
|
-
/***/ (function(__unused_webpack_module,
|
|
30289
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30224
30290
|
|
|
30225
30291
|
"use strict";
|
|
30226
30292
|
/* unused harmony export dragAndDropElement */
|
|
@@ -30248,12 +30314,12 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.draggableTags = [
|
|
|
30248
30314
|
|
|
30249
30315
|
|
|
30250
30316
|
|
|
30251
|
-
var DragState = /*#__PURE__*/ function(DragState) {
|
|
30317
|
+
var DragState = /*#__PURE__*/ (/* unused pure expression or super */ null && (function(DragState) {
|
|
30252
30318
|
DragState[DragState["IDLE"] = 0] = "IDLE";
|
|
30253
30319
|
DragState[DragState["WAIT_DRAGGING"] = 1] = "WAIT_DRAGGING";
|
|
30254
30320
|
DragState[DragState["DRAGGING"] = 2] = "DRAGGING";
|
|
30255
30321
|
return DragState;
|
|
30256
|
-
}(DragState || {});
|
|
30322
|
+
}(DragState || {})));
|
|
30257
30323
|
/**
|
|
30258
30324
|
* Process drag and drop image or another element inside the editor
|
|
30259
30325
|
*/ class dragAndDropElement extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugin {
|
|
@@ -30353,7 +30419,7 @@ var DragState = /*#__PURE__*/ function(DragState) {
|
|
|
30353
30419
|
});
|
|
30354
30420
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.append((0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.getContainer)(this.j, dragAndDropElement), this.draggable);
|
|
30355
30421
|
}
|
|
30356
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(this.draggable, {
|
|
30422
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(this.draggable, {
|
|
30357
30423
|
left: event.clientX,
|
|
30358
30424
|
top: event.clientY
|
|
30359
30425
|
});
|
|
@@ -30434,7 +30500,7 @@ var DragState = /*#__PURE__*/ function(DragState) {
|
|
|
30434
30500
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "diffStep", 10), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "startX", 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "startY", 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "state", 0);
|
|
30435
30501
|
}
|
|
30436
30502
|
}
|
|
30437
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
30503
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
30438
30504
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
30439
30505
|
], dragAndDropElement.prototype, "onStartDragElement", null);
|
|
30440
30506
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -30455,7 +30521,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('dragAndDropElem
|
|
|
30455
30521
|
/***/ }),
|
|
30456
30522
|
|
|
30457
30523
|
/***/ 64222:
|
|
30458
|
-
/***/ (function(__unused_webpack_module,
|
|
30524
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30459
30525
|
|
|
30460
30526
|
"use strict";
|
|
30461
30527
|
/* unused harmony export dragAndDrop */
|
|
@@ -30622,7 +30688,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('dragAndDropElem
|
|
|
30622
30688
|
});
|
|
30623
30689
|
}
|
|
30624
30690
|
}
|
|
30625
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
30691
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
30626
30692
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
30627
30693
|
], dragAndDrop.prototype, "onDragStart", null);
|
|
30628
30694
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -30875,7 +30941,7 @@ class dtd extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__.Plugin {
|
|
|
30875
30941
|
});
|
|
30876
30942
|
}
|
|
30877
30943
|
}
|
|
30878
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
30944
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
30879
30945
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__.watch)(':beforeInsertNode')
|
|
30880
30946
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
30881
30947
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
@@ -30887,7 +30953,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('dtd', dtd);
|
|
|
30887
30953
|
/***/ }),
|
|
30888
30954
|
|
|
30889
30955
|
/***/ 3678:
|
|
30890
|
-
/***/ (function(__unused_webpack_module,
|
|
30956
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30891
30957
|
|
|
30892
30958
|
"use strict";
|
|
30893
30959
|
/* unused harmony export enter */
|
|
@@ -30980,7 +31046,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('dtd', dtd);
|
|
|
30980
31046
|
(0,_helpers__WEBPACK_IMPORTED_MODULE_7__.processEmptyLILeaf)(fake, jodit, block);
|
|
30981
31047
|
return false;
|
|
30982
31048
|
}
|
|
30983
|
-
(0,_helpers__WEBPACK_IMPORTED_MODULE_7__.splitFragment)(fake, jodit, block);
|
|
31049
|
+
;(0,_helpers__WEBPACK_IMPORTED_MODULE_7__.splitFragment)(fake, jodit, block);
|
|
30984
31050
|
} finally{
|
|
30985
31051
|
fake.isConnected && jodit.s.setCursorBefore(fake);
|
|
30986
31052
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(fake);
|
|
@@ -30994,7 +31060,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('dtd', dtd);
|
|
|
30994
31060
|
editor.e.off('keydown.enter');
|
|
30995
31061
|
}
|
|
30996
31062
|
}
|
|
30997
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
31063
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
30998
31064
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':keydown.enter')
|
|
30999
31065
|
], enter.prototype, "onEnterKeyDown", null);
|
|
31000
31066
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('enter', enter);
|
|
@@ -31047,7 +31113,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('enter', enter);
|
|
|
31047
31113
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.after(br, clone);
|
|
31048
31114
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.before(clone, fake);
|
|
31049
31115
|
}
|
|
31050
|
-
(0,jodit_core_helpers_utils_scroll_into_view__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(br, jodit.editor, jodit.ed);
|
|
31116
|
+
;(0,jodit_core_helpers_utils_scroll_into_view__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(br, jodit.editor, jodit.ed);
|
|
31051
31117
|
return true;
|
|
31052
31118
|
}
|
|
31053
31119
|
return false;
|
|
@@ -31377,7 +31443,7 @@ function brBefore(start) {
|
|
|
31377
31443
|
} else {
|
|
31378
31444
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.before(block, fake);
|
|
31379
31445
|
}
|
|
31380
|
-
(0,_insert_paragraph__WEBPACK_IMPORTED_MODULE_2__.insertParagraph)(fake, jodit, defaultTag);
|
|
31446
|
+
;(0,_insert_paragraph__WEBPACK_IMPORTED_MODULE_2__.insertParagraph)(fake, jodit, defaultTag);
|
|
31381
31447
|
if (cursorOnTheLeft && !cursorOnTheRight) {
|
|
31382
31448
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(block, fake);
|
|
31383
31449
|
}
|
|
@@ -31393,7 +31459,7 @@ function brBefore(start) {
|
|
|
31393
31459
|
// After the split the caret stays inside `block` (the right half) —
|
|
31394
31460
|
// `splitSelection` returns the left half, which is above the caret and
|
|
31395
31461
|
// usually already visible. Follow the caret, not the left half. See #1300
|
|
31396
|
-
(0,jodit_core_helpers_utils_scroll_into_view__WEBPACK_IMPORTED_MODULE_1__.scrollIntoViewIfNeeded)(block, jodit.editor, jodit.ed);
|
|
31462
|
+
;(0,jodit_core_helpers_utils_scroll_into_view__WEBPACK_IMPORTED_MODULE_1__.scrollIntoViewIfNeeded)(block, jodit.editor, jodit.ed);
|
|
31397
31463
|
}
|
|
31398
31464
|
|
|
31399
31465
|
|
|
@@ -31438,7 +31504,7 @@ function brBefore(start) {
|
|
|
31438
31504
|
/***/ }),
|
|
31439
31505
|
|
|
31440
31506
|
/***/ 49764:
|
|
31441
|
-
/***/ (function(__unused_webpack_module,
|
|
31507
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31442
31508
|
|
|
31443
31509
|
"use strict";
|
|
31444
31510
|
/* unused harmony export file */
|
|
@@ -31503,7 +31569,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('file', file);
|
|
|
31503
31569
|
/***/ }),
|
|
31504
31570
|
|
|
31505
31571
|
/***/ 78690:
|
|
31506
|
-
/***/ (function(__unused_webpack_module,
|
|
31572
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31507
31573
|
|
|
31508
31574
|
"use strict";
|
|
31509
31575
|
/* unused harmony export focus */
|
|
@@ -31747,7 +31813,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.font = {
|
|
|
31747
31813
|
/***/ }),
|
|
31748
31814
|
|
|
31749
31815
|
/***/ 50294:
|
|
31750
|
-
/***/ (function(__unused_webpack_module,
|
|
31816
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31751
31817
|
|
|
31752
31818
|
"use strict";
|
|
31753
31819
|
/* unused harmony export font */
|
|
@@ -31874,7 +31940,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.paragraph =
|
|
|
31874
31940
|
/***/ }),
|
|
31875
31941
|
|
|
31876
31942
|
/***/ 53390:
|
|
31877
|
-
/***/ (function(__unused_webpack_module,
|
|
31943
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31878
31944
|
|
|
31879
31945
|
"use strict";
|
|
31880
31946
|
/* unused harmony export formatBlock */
|
|
@@ -31957,7 +32023,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.fullsize = {
|
|
|
31957
32023
|
/***/ }),
|
|
31958
32024
|
|
|
31959
32025
|
/***/ 69696:
|
|
31960
|
-
/***/ (function(__unused_webpack_module,
|
|
32026
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31961
32027
|
|
|
31962
32028
|
"use strict";
|
|
31963
32029
|
/* unused harmony export fullsize */
|
|
@@ -32003,7 +32069,7 @@ const fullsizeStack = new Set();
|
|
|
32003
32069
|
oldWidth = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__.css)(container, 'width', true);
|
|
32004
32070
|
wasToggled = true;
|
|
32005
32071
|
}
|
|
32006
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__.css)(container, {
|
|
32072
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__.css)(container, {
|
|
32007
32073
|
height: editor.ow.innerHeight,
|
|
32008
32074
|
width: editor.ow.innerWidth
|
|
32009
32075
|
});
|
|
@@ -32105,7 +32171,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.commandToHotkeys = {
|
|
|
32105
32171
|
/***/ }),
|
|
32106
32172
|
|
|
32107
32173
|
/***/ 50982:
|
|
32108
|
-
/***/ (function(__unused_webpack_module,
|
|
32174
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32109
32175
|
|
|
32110
32176
|
"use strict";
|
|
32111
32177
|
/* unused harmony export hotkeys */
|
|
@@ -32272,7 +32338,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('hotkeys', hotke
|
|
|
32272
32338
|
/***/ }),
|
|
32273
32339
|
|
|
32274
32340
|
/***/ 2952:
|
|
32275
|
-
/***/ (function(__unused_webpack_module,
|
|
32341
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32276
32342
|
|
|
32277
32343
|
"use strict";
|
|
32278
32344
|
/* unused harmony export hr */
|
|
@@ -32354,7 +32420,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
|
|
|
32354
32420
|
/***/ }),
|
|
32355
32421
|
|
|
32356
32422
|
/***/ 81144:
|
|
32357
|
-
/***/ (function(__unused_webpack_module,
|
|
32423
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32358
32424
|
|
|
32359
32425
|
"use strict";
|
|
32360
32426
|
/* unused harmony export iframe */
|
|
@@ -32538,7 +32604,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.imageProcessor = {
|
|
|
32538
32604
|
/***/ }),
|
|
32539
32605
|
|
|
32540
32606
|
/***/ 39978:
|
|
32541
|
-
/***/ (function(__unused_webpack_module,
|
|
32607
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32542
32608
|
|
|
32543
32609
|
"use strict";
|
|
32544
32610
|
/* unused harmony export imageProcessor */
|
|
@@ -32608,7 +32674,7 @@ const JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
|
|
|
32608
32674
|
if (!editor.editor) {
|
|
32609
32675
|
return;
|
|
32610
32676
|
}
|
|
32611
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.$$)('img', editor.editor).forEach((elm)=>{
|
|
32677
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.$$)('img', editor.editor).forEach((elm)=>{
|
|
32612
32678
|
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.dataBind)(elm, JODIT_IMAGE_PROCESSOR_BINDED)) {
|
|
32613
32679
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.dataBind)(elm, JODIT_IMAGE_PROCESSOR_BINDED, true);
|
|
32614
32680
|
if (!elm.complete) {
|
|
@@ -32627,7 +32693,7 @@ const JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
|
|
|
32627
32693
|
});
|
|
32628
32694
|
}
|
|
32629
32695
|
}
|
|
32630
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
32696
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
32631
32697
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':afterGetValueFromEditor')
|
|
32632
32698
|
], imageProcessor.prototype, "onAfterGetValueFromEditor", null);
|
|
32633
32699
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
@@ -32705,7 +32771,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
32705
32771
|
/***/ }),
|
|
32706
32772
|
|
|
32707
32773
|
/***/ 90886:
|
|
32708
|
-
/***/ (function(__unused_webpack_module,
|
|
32774
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32709
32775
|
|
|
32710
32776
|
"use strict";
|
|
32711
32777
|
/* unused harmony export imageProperties */
|
|
@@ -32943,7 +33009,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.image = {
|
|
|
32943
33009
|
});
|
|
32944
33010
|
}
|
|
32945
33011
|
}
|
|
32946
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33012
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
32947
33013
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.cache
|
|
32948
33014
|
], imageProperties.prototype, "form", null);
|
|
32949
33015
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -33333,7 +33399,7 @@ class UIImagePropertiesForm extends jodit_core_ui_group_group__WEBPACK_IMPORTED_
|
|
|
33333
33399
|
this.append(this.__mainTab).append(this.__positionTab);
|
|
33334
33400
|
}
|
|
33335
33401
|
}
|
|
33336
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33402
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33337
33403
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.hook)('ready'),
|
|
33338
33404
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.sizeIsLocked')
|
|
33339
33405
|
], UIImagePropertiesForm.prototype, "onChangeSizeIsLocked", null);
|
|
@@ -33530,7 +33596,7 @@ class UIImageMainTab extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_
|
|
|
33530
33596
|
super(view), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "state", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "handlers", void 0), this.state = state, this.handlers = handlers;
|
|
33531
33597
|
}
|
|
33532
33598
|
}
|
|
33533
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33599
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33534
33600
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_4__.watch)('state.values.imageSrc')
|
|
33535
33601
|
], UIImageMainTab.prototype, "onStateImageSrcChange", null);
|
|
33536
33602
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -33798,7 +33864,7 @@ class UIImagePositionTab extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_
|
|
|
33798
33864
|
}), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "state", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "handlers", void 0), this.state = state, this.handlers = handlers;
|
|
33799
33865
|
}
|
|
33800
33866
|
}
|
|
33801
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33867
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
33802
33868
|
(0,jodit_core_decorators_hook_hook__WEBPACK_IMPORTED_MODULE_3__.hook)('ready'),
|
|
33803
33869
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_4__.watch)('state.values.align')
|
|
33804
33870
|
], UIImagePositionTab.prototype, "onStateAlignChange", null);
|
|
@@ -33975,10 +34041,6 @@ UIImagePositionTab = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__
|
|
|
33975
34041
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33976
34042
|
|
|
33977
34043
|
"use strict";
|
|
33978
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
33979
|
-
/* harmony export */ normalSizeFromString: function() { return /* binding */ normalSizeFromString; },
|
|
33980
|
-
/* harmony export */ normalSizeToString: function() { return /* binding */ normalSizeToString; }
|
|
33981
|
-
/* harmony export */ });
|
|
33982
34044
|
/* harmony import */ var jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72412);
|
|
33983
34045
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4040);
|
|
33984
34046
|
/*!
|
|
@@ -34000,6 +34062,11 @@ UIImagePositionTab = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__
|
|
|
34000
34062
|
return /^[0-9]+$/.test(value) ? value + 'px' : value;
|
|
34001
34063
|
};
|
|
34002
34064
|
|
|
34065
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
34066
|
+
/* harmony export */ "normalSizeFromString", 0, /* binding */ normalSizeFromString,
|
|
34067
|
+
/* harmony export */ "normalSizeToString", 0, /* binding */ normalSizeToString
|
|
34068
|
+
/* harmony export */ ]);
|
|
34069
|
+
|
|
34003
34070
|
|
|
34004
34071
|
/***/ }),
|
|
34005
34072
|
|
|
@@ -34046,7 +34113,7 @@ UIImagePositionTab = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__
|
|
|
34046
34113
|
return;
|
|
34047
34114
|
}
|
|
34048
34115
|
// Border radius
|
|
34049
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__.css)(image, 'borderRadius', borderRadius ? borderRadius + 'px' : '');
|
|
34116
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__.css)(image, 'borderRadius', borderRadius ? borderRadius + 'px' : '');
|
|
34050
34117
|
// Title
|
|
34051
34118
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.attr)(image, 'title', imageTitle || null);
|
|
34052
34119
|
// Alt
|
|
@@ -34097,7 +34164,7 @@ UIImagePositionTab = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__
|
|
|
34097
34164
|
if (!link) {
|
|
34098
34165
|
link = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.wrap(image, 'a', j.createInside);
|
|
34099
34166
|
}
|
|
34100
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(link, 'href', imageLink);
|
|
34167
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(link, 'href', imageLink);
|
|
34101
34168
|
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(link, 'target', imageLinkOpenInNewTab ? '_blank' : null);
|
|
34102
34169
|
if (!imageLinkOpenInNewTab) {
|
|
34103
34170
|
const relParts = ((0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(link, 'rel') || '').split(/\s+/).filter((p)=>p && p !== 'noopener' && p !== 'noreferrer');
|
|
@@ -34197,7 +34264,7 @@ UIImagePositionTab = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__
|
|
|
34197
34264
|
if (!(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(image, 'width') || sizeIsLocked) {
|
|
34198
34265
|
updatedHeight = null;
|
|
34199
34266
|
}
|
|
34200
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(image, 'height', updatedHeight);
|
|
34267
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_1__.attr)(image, 'height', updatedHeight);
|
|
34201
34268
|
}
|
|
34202
34269
|
}
|
|
34203
34270
|
|
|
@@ -34205,7 +34272,7 @@ UIImagePositionTab = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__
|
|
|
34205
34272
|
/***/ }),
|
|
34206
34273
|
|
|
34207
34274
|
/***/ 90826:
|
|
34208
|
-
/***/ (function(__unused_webpack_module,
|
|
34275
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
34209
34276
|
|
|
34210
34277
|
"use strict";
|
|
34211
34278
|
/* unused harmony export image */
|
|
@@ -34350,9 +34417,6 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.indentMargin = 10;
|
|
|
34350
34417
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
34351
34418
|
|
|
34352
34419
|
"use strict";
|
|
34353
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34354
|
-
/* harmony export */ getKey: function() { return /* binding */ getKey; }
|
|
34355
|
-
/* harmony export */ });
|
|
34356
34420
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23211);
|
|
34357
34421
|
/*!
|
|
34358
34422
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -34366,11 +34430,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.indentMargin = 10;
|
|
|
34366
34430
|
* @internal
|
|
34367
34431
|
*/ const getKey = (direction, box)=>`${jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isCell(box) ? 'padding' : 'margin'}${direction === 'rtl' ? 'Right' : 'Left'}`;
|
|
34368
34432
|
|
|
34433
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
34434
|
+
/* harmony export */ "getKey", 0, /* binding */ getKey
|
|
34435
|
+
/* harmony export */ ]);
|
|
34436
|
+
|
|
34369
34437
|
|
|
34370
34438
|
/***/ }),
|
|
34371
34439
|
|
|
34372
34440
|
/***/ 39000:
|
|
34373
|
-
/***/ (function(__unused_webpack_module,
|
|
34441
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
34374
34442
|
|
|
34375
34443
|
"use strict";
|
|
34376
34444
|
/* unused harmony export indent */
|
|
@@ -34887,9 +34955,6 @@ const cmd = (control)=>control.args && (0,jodit_core_helpers_checker__WEBPACK_IM
|
|
|
34887
34955
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
34888
34956
|
|
|
34889
34957
|
"use strict";
|
|
34890
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34891
|
-
/* harmony export */ align: function() { return /* binding */ align; }
|
|
34892
|
-
/* harmony export */ });
|
|
34893
34958
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27795);
|
|
34894
34959
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85932);
|
|
34895
34960
|
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16849);
|
|
@@ -34925,7 +34990,7 @@ const align = {
|
|
|
34925
34990
|
if (!command) {
|
|
34926
34991
|
return false;
|
|
34927
34992
|
}
|
|
34928
|
-
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_2__.hAlignElement)(elm, command);
|
|
34993
|
+
;(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_2__.hAlignElement)(elm, command);
|
|
34929
34994
|
if (jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(elm, new Set([
|
|
34930
34995
|
'jodit',
|
|
34931
34996
|
'jodit-media'
|
|
@@ -34973,13 +35038,17 @@ const align = {
|
|
|
34973
35038
|
if (!command) {
|
|
34974
35039
|
return false;
|
|
34975
35040
|
}
|
|
34976
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__.css)(image, 'vertical-align', command === 'normal' ? '' : command);
|
|
35041
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__.css)(image, 'vertical-align', command === 'normal' ? '' : command);
|
|
34977
35042
|
editor.e.fire('recalcPositionPopup');
|
|
34978
35043
|
}
|
|
34979
35044
|
},
|
|
34980
35045
|
align
|
|
34981
35046
|
]);
|
|
34982
35047
|
|
|
35048
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
35049
|
+
/* harmony export */ "align", 0, /* binding */ align
|
|
35050
|
+
/* harmony export */ ]);
|
|
35051
|
+
|
|
34983
35052
|
|
|
34984
35053
|
/***/ }),
|
|
34985
35054
|
|
|
@@ -35025,7 +35094,7 @@ const align = {
|
|
|
35025
35094
|
/***/ }),
|
|
35026
35095
|
|
|
35027
35096
|
/***/ 88952:
|
|
35028
|
-
/***/ (function(__unused_webpack_module,
|
|
35097
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
35029
35098
|
|
|
35030
35099
|
"use strict";
|
|
35031
35100
|
/* unused harmony export inlinePopup */
|
|
@@ -35283,7 +35352,7 @@ const align = {
|
|
|
35283
35352
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__reopenSelectionPopup", false), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "snapRange", null), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "elmsList", (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.keys)(this.j.o.popup, false).filter((s)=>!this.isExcludedTarget(s)));
|
|
35284
35353
|
}
|
|
35285
35354
|
}
|
|
35286
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(inlinePopup, "requires", [
|
|
35355
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(inlinePopup, "requires", [
|
|
35287
35356
|
'select'
|
|
35288
35357
|
]);
|
|
35289
35358
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -35333,7 +35402,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('inlinePopup', i
|
|
|
35333
35402
|
/***/ }),
|
|
35334
35403
|
|
|
35335
35404
|
/***/ 64094:
|
|
35336
|
-
/***/ (function(__unused_webpack_module,
|
|
35405
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
35337
35406
|
|
|
35338
35407
|
"use strict";
|
|
35339
35408
|
/* unused harmony export justify */
|
|
@@ -35453,7 +35522,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__.Config.prototype.controls.right = {
|
|
|
35453
35522
|
if (!currentBox) {
|
|
35454
35523
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__.Dom.wrapInline(current, editor.o.enterBlock, editor);
|
|
35455
35524
|
}
|
|
35456
|
-
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__.alignElement)(command, currentBox);
|
|
35525
|
+
;(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__.alignElement)(command, currentBox);
|
|
35457
35526
|
});
|
|
35458
35527
|
return false;
|
|
35459
35528
|
};
|
|
@@ -35468,7 +35537,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('justify', justi
|
|
|
35468
35537
|
/***/ }),
|
|
35469
35538
|
|
|
35470
35539
|
/***/ 18210:
|
|
35471
|
-
/***/ (function(__unused_webpack_module,
|
|
35540
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
35472
35541
|
|
|
35473
35542
|
"use strict";
|
|
35474
35543
|
/* unused harmony export keyArrowOutside */
|
|
@@ -35513,7 +35582,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('justify', justi
|
|
|
35513
35582
|
}
|
|
35514
35583
|
}
|
|
35515
35584
|
}
|
|
35516
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
35585
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
35517
35586
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':keydown')
|
|
35518
35587
|
], keyArrowOutside.prototype, "onKeyDownArrow", null);
|
|
35519
35588
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('keyArrowOutside', keyArrowOutside);
|
|
@@ -35541,7 +35610,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.limitHTML = false;
|
|
|
35541
35610
|
/***/ }),
|
|
35542
35611
|
|
|
35543
35612
|
/***/ 50662:
|
|
35544
|
-
/***/ (function(__unused_webpack_module,
|
|
35613
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
35545
35614
|
|
|
35546
35615
|
"use strict";
|
|
35547
35616
|
/* unused harmony export limit */
|
|
@@ -35633,7 +35702,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.limitHTML = false;
|
|
|
35633
35702
|
jodit.e.off('.limit');
|
|
35634
35703
|
}
|
|
35635
35704
|
}
|
|
35636
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
35705
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
35637
35706
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
35638
35707
|
], limit.prototype, "checkPreventKeyPressOrPaste", null);
|
|
35639
35708
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
@@ -36122,7 +36191,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36122
36191
|
/***/ }),
|
|
36123
36192
|
|
|
36124
36193
|
/***/ 58354:
|
|
36125
|
-
/***/ (function(__unused_webpack_module,
|
|
36194
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
36126
36195
|
|
|
36127
36196
|
"use strict";
|
|
36128
36197
|
/* unused harmony export lineHeight */
|
|
@@ -36175,7 +36244,7 @@ class lineHeight extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugin {
|
|
|
36175
36244
|
if (addStyle === undefined) {
|
|
36176
36245
|
addStyle = previousValue.toString() !== value.toString();
|
|
36177
36246
|
}
|
|
36178
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(parentBlock, 'lineHeight', addStyle ? value : null);
|
|
36247
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(parentBlock, 'lineHeight', addStyle ? value : null);
|
|
36179
36248
|
};
|
|
36180
36249
|
try {
|
|
36181
36250
|
if (s.isCollapsed()) {
|
|
@@ -36191,7 +36260,7 @@ class lineHeight extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugin {
|
|
|
36191
36260
|
}
|
|
36192
36261
|
}
|
|
36193
36262
|
beforeDestruct(jodit) {
|
|
36194
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(jodit.editor, {
|
|
36263
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(jodit.editor, {
|
|
36195
36264
|
lineHeight: null
|
|
36196
36265
|
});
|
|
36197
36266
|
}
|
|
@@ -36205,7 +36274,7 @@ class lineHeight extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugin {
|
|
|
36205
36274
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.extendLang)(_langs__WEBPACK_IMPORTED_MODULE_8__);
|
|
36206
36275
|
}
|
|
36207
36276
|
}
|
|
36208
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
36277
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
36209
36278
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
36210
36279
|
], lineHeight.prototype, "applyLineHeight", null);
|
|
36211
36280
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('lineHeight', lineHeight);
|
|
@@ -36287,7 +36356,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
36287
36356
|
/***/ }),
|
|
36288
36357
|
|
|
36289
36358
|
/***/ 68624:
|
|
36290
|
-
/***/ (function(__unused_webpack_module,
|
|
36359
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
36291
36360
|
|
|
36292
36361
|
"use strict";
|
|
36293
36362
|
/* unused harmony export link */
|
|
@@ -36500,7 +36569,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
36500
36569
|
];
|
|
36501
36570
|
}
|
|
36502
36571
|
links.forEach((a)=>{
|
|
36503
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(a, 'href', url_input.value);
|
|
36572
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(a, 'href', url_input.value);
|
|
36504
36573
|
writeClasses(modeClassName, className_input, className_select, a);
|
|
36505
36574
|
if (!isImageContent) {
|
|
36506
36575
|
writeImage(a, content_input, textWasChanged, url_input);
|
|
@@ -36516,7 +36585,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
36516
36585
|
} else if (!nofollow_checkbox.checked && hasNofollow) {
|
|
36517
36586
|
relParts.splice(relParts.indexOf('nofollow'), 1);
|
|
36518
36587
|
}
|
|
36519
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(a, 'rel', relParts.length ? relParts.join(' ') : null);
|
|
36588
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(a, 'rel', relParts.length ? relParts.join(' ') : null);
|
|
36520
36589
|
}
|
|
36521
36590
|
if (aria_label_input) {
|
|
36522
36591
|
const ariaLabel = aria_label_input.value.trim();
|
|
@@ -36558,7 +36627,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
36558
36627
|
]);
|
|
36559
36628
|
}
|
|
36560
36629
|
}
|
|
36561
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
36630
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
36562
36631
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
36563
36632
|
], link.prototype, "__onDblClickOnLink", null);
|
|
36564
36633
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -36670,9 +36739,6 @@ function writeImage(a, content_input, textWasChanged, url_input) {
|
|
|
36670
36739
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36671
36740
|
|
|
36672
36741
|
"use strict";
|
|
36673
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36674
|
-
/* harmony export */ formTemplate: function() { return /* binding */ formTemplate; }
|
|
36675
|
-
/* harmony export */ });
|
|
36676
36742
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59400);
|
|
36677
36743
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5658);
|
|
36678
36744
|
/*!
|
|
@@ -36762,6 +36828,10 @@ const formTemplate = (editor)=>{
|
|
|
36762
36828
|
]);
|
|
36763
36829
|
};
|
|
36764
36830
|
|
|
36831
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
36832
|
+
/* harmony export */ "formTemplate", 0, /* binding */ formTemplate
|
|
36833
|
+
/* harmony export */ ]);
|
|
36834
|
+
|
|
36765
36835
|
|
|
36766
36836
|
/***/ }),
|
|
36767
36837
|
|
|
@@ -36788,7 +36858,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.mediaBlocks = [
|
|
|
36788
36858
|
/***/ }),
|
|
36789
36859
|
|
|
36790
36860
|
/***/ 76830:
|
|
36791
|
-
/***/ (function(__unused_webpack_module,
|
|
36861
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
36792
36862
|
|
|
36793
36863
|
"use strict";
|
|
36794
36864
|
/* unused harmony export media */
|
|
@@ -37023,7 +37093,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.dots = {
|
|
|
37023
37093
|
/***/ }),
|
|
37024
37094
|
|
|
37025
37095
|
/***/ 74240:
|
|
37026
|
-
/***/ (function(__unused_webpack_module,
|
|
37096
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
37027
37097
|
|
|
37028
37098
|
"use strict";
|
|
37029
37099
|
/* unused harmony export mobile */
|
|
@@ -37230,7 +37300,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.ol = {
|
|
|
37230
37300
|
/***/ }),
|
|
37231
37301
|
|
|
37232
37302
|
/***/ 98792:
|
|
37233
|
-
/***/ (function(__unused_webpack_module,
|
|
37303
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
37234
37304
|
|
|
37235
37305
|
"use strict";
|
|
37236
37306
|
/* unused harmony export orderedList */
|
|
@@ -37286,7 +37356,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.ol = {
|
|
|
37286
37356
|
]);
|
|
37287
37357
|
}
|
|
37288
37358
|
}
|
|
37289
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
37359
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
37290
37360
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
37291
37361
|
], orderedList.prototype, "onCommand", null);
|
|
37292
37362
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('orderedList', orderedList);
|
|
@@ -37330,7 +37400,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.pasteFromWordActionLi
|
|
|
37330
37400
|
/***/ }),
|
|
37331
37401
|
|
|
37332
37402
|
/***/ 96730:
|
|
37333
|
-
/***/ (function(__unused_webpack_module,
|
|
37403
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
37334
37404
|
|
|
37335
37405
|
"use strict";
|
|
37336
37406
|
/* unused harmony export pasteFromWord */
|
|
@@ -37403,10 +37473,10 @@ class pasteFromWord extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugi
|
|
|
37403
37473
|
break;
|
|
37404
37474
|
}
|
|
37405
37475
|
}
|
|
37406
|
-
(0,jodit_plugins_paste_helpers__WEBPACK_IMPORTED_MODULE_8__.pasteInsertHtml)(e, this.j, html);
|
|
37476
|
+
;(0,jodit_plugins_paste_helpers__WEBPACK_IMPORTED_MODULE_8__.pasteInsertHtml)(e, this.j, html);
|
|
37407
37477
|
}
|
|
37408
37478
|
}
|
|
37409
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(pasteFromWord, "requires", [
|
|
37479
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(pasteFromWord, "requires", [
|
|
37410
37480
|
'paste'
|
|
37411
37481
|
]);
|
|
37412
37482
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -37418,7 +37488,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('pasteFromWord',
|
|
|
37418
37488
|
/***/ }),
|
|
37419
37489
|
|
|
37420
37490
|
/***/ 7758:
|
|
37421
|
-
/***/ (function(__unused_webpack_module,
|
|
37491
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
37422
37492
|
|
|
37423
37493
|
"use strict";
|
|
37424
37494
|
/* unused harmony export pasteStorage */
|
|
@@ -37823,7 +37893,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.controls.paste = {
|
|
|
37823
37893
|
/***/ }),
|
|
37824
37894
|
|
|
37825
37895
|
/***/ 23422:
|
|
37826
|
-
/***/ (function(__unused_webpack_module,
|
|
37896
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
37827
37897
|
|
|
37828
37898
|
"use strict";
|
|
37829
37899
|
/* unused harmony export paste */
|
|
@@ -37977,7 +38047,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.controls.paste = {
|
|
|
37977
38047
|
}
|
|
37978
38048
|
}
|
|
37979
38049
|
}
|
|
37980
|
-
(0,_helpers__WEBPACK_IMPORTED_MODULE_9__.pasteInsertHtml)(e, this.j, html);
|
|
38050
|
+
;(0,_helpers__WEBPACK_IMPORTED_MODULE_9__.pasteInsertHtml)(e, this.j, html);
|
|
37981
38051
|
}
|
|
37982
38052
|
/**
|
|
37983
38053
|
* Escape plain text and replace all \\n chars with br
|
|
@@ -37996,7 +38066,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.controls.paste = {
|
|
|
37996
38066
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_isDialogOpened", false);
|
|
37997
38067
|
}
|
|
37998
38068
|
}
|
|
37999
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
38069
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
38000
38070
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
38001
38071
|
], paste.prototype, "onPaste", null);
|
|
38002
38072
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -38027,7 +38097,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
38027
38097
|
/***/ }),
|
|
38028
38098
|
|
|
38029
38099
|
/***/ 28346:
|
|
38030
|
-
/***/ (function(__unused_webpack_module,
|
|
38100
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38031
38101
|
|
|
38032
38102
|
"use strict";
|
|
38033
38103
|
/* unused harmony exports isEditorEmpty, placeholder */
|
|
@@ -38128,7 +38198,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
38128
38198
|
lineHeight: style.getPropertyValue('line-height')
|
|
38129
38199
|
});
|
|
38130
38200
|
}
|
|
38131
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__.css)(this.placeholderElm, {
|
|
38201
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__.css)(this.placeholderElm, {
|
|
38132
38202
|
display: 'block',
|
|
38133
38203
|
textAlign: style.getPropertyValue('text-align'),
|
|
38134
38204
|
paddingTop: parseInt(styleEditor.paddingTop, 10) + 'px',
|
|
@@ -38175,7 +38245,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.useInputsPlaceholder
|
|
|
38175
38245
|
});
|
|
38176
38246
|
}
|
|
38177
38247
|
}
|
|
38178
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
38248
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
38179
38249
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.debounce)((ctx)=>ctx.defaultTimeout / 10, true)
|
|
38180
38250
|
], placeholder.prototype, "toggle", null);
|
|
38181
38251
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_5__.pluginSystem.add('placeholder', placeholder);
|
|
@@ -38184,7 +38254,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_5__.pluginSystem.add('placeholder', p
|
|
|
38184
38254
|
/***/ }),
|
|
38185
38255
|
|
|
38186
38256
|
/***/ 198:
|
|
38187
|
-
/***/ (function(__unused_webpack_module,
|
|
38257
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38188
38258
|
|
|
38189
38259
|
"use strict";
|
|
38190
38260
|
/* unused harmony export poweredByJodit */
|
|
@@ -38219,7 +38289,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__.pluginSystem.add('poweredByJodit'
|
|
|
38219
38289
|
/***/ }),
|
|
38220
38290
|
|
|
38221
38291
|
/***/ 49690:
|
|
38222
|
-
/***/ (function(__unused_webpack_module,
|
|
38292
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38223
38293
|
|
|
38224
38294
|
"use strict";
|
|
38225
38295
|
/* unused harmony export preview */
|
|
@@ -38312,7 +38382,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('preview', previ
|
|
|
38312
38382
|
return finalCSS;
|
|
38313
38383
|
}
|
|
38314
38384
|
constructor(w, d, opts){
|
|
38315
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "css", {});
|
|
38385
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "css", {});
|
|
38316
38386
|
const opt = opts || {};
|
|
38317
38387
|
const pushCSS = (r)=>{
|
|
38318
38388
|
const selectorText = r.selectorText.split(',').map((a)=>a.trim()).sort().join(',');
|
|
@@ -38366,7 +38436,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('preview', previ
|
|
|
38366
38436
|
/***/ }),
|
|
38367
38437
|
|
|
38368
38438
|
/***/ 41134:
|
|
38369
|
-
/***/ (function(__unused_webpack_module,
|
|
38439
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38370
38440
|
|
|
38371
38441
|
"use strict";
|
|
38372
38442
|
/* unused harmony export print */
|
|
@@ -38450,7 +38520,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('print', print);
|
|
|
38450
38520
|
/***/ }),
|
|
38451
38521
|
|
|
38452
38522
|
/***/ 59758:
|
|
38453
|
-
/***/ (function(__unused_webpack_module,
|
|
38523
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38454
38524
|
|
|
38455
38525
|
"use strict";
|
|
38456
38526
|
/* unused harmony export redoUndo */
|
|
@@ -38555,7 +38625,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellResize
|
|
|
38555
38625
|
/***/ }),
|
|
38556
38626
|
|
|
38557
38627
|
/***/ 14248:
|
|
38558
|
-
/***/ (function(__unused_webpack_module,
|
|
38628
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38559
38629
|
|
|
38560
38630
|
"use strict";
|
|
38561
38631
|
/* unused harmony export resizeCells */
|
|
@@ -38760,7 +38830,7 @@ const key = 'table_processor_observer-resize';
|
|
|
38760
38830
|
return;
|
|
38761
38831
|
}
|
|
38762
38832
|
editor.e.off(this.j.ow, '.resize-cells').off('.resize-cells').on('change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells', ()=>{
|
|
38763
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.$$)('table', editor.editor).forEach(this.observe);
|
|
38833
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.$$)('table', editor.editor).forEach(this.observe);
|
|
38764
38834
|
}).on(this.j.ow, 'scroll.resize-cells', ()=>{
|
|
38765
38835
|
if (!this.drag) {
|
|
38766
38836
|
return;
|
|
@@ -38784,7 +38854,7 @@ const key = 'table_processor_observer-resize';
|
|
|
38784
38854
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.dataBind)(table, key)) {
|
|
38785
38855
|
return;
|
|
38786
38856
|
}
|
|
38787
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.dataBind)(table, key, true);
|
|
38857
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.dataBind)(table, key, true);
|
|
38788
38858
|
this.j.e.on(table, 'mouseleave.resize-cells', (e)=>{
|
|
38789
38859
|
if (this.resizeHandler && this.resizeHandler !== e.relatedTarget) {
|
|
38790
38860
|
this.hideResizeHandle();
|
|
@@ -38820,7 +38890,7 @@ const key = 'table_processor_observer-resize';
|
|
|
38820
38890
|
}), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "hideTimeout", 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "drag", false), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "wholeTable", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "workCell", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "workTable", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "minX", 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "maxX", 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "startX", 0);
|
|
38821
38891
|
}
|
|
38822
38892
|
}
|
|
38823
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
38893
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
38824
38894
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
38825
38895
|
], resizeCells.prototype, "onHandleMouseDown", null);
|
|
38826
38896
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -38856,7 +38926,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.allowResizeY = true;
|
|
|
38856
38926
|
/***/ }),
|
|
38857
38927
|
|
|
38858
38928
|
/***/ 72214:
|
|
38859
|
-
/***/ (function(__unused_webpack_module,
|
|
38929
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38860
38930
|
|
|
38861
38931
|
"use strict";
|
|
38862
38932
|
/* unused harmony export resizeHandler */
|
|
@@ -38968,7 +39038,7 @@ class resizeHandler extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugi
|
|
|
38968
39038
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "handle", this.j.c.div('jodit-editor__resize', jodit_core_ui__WEBPACK_IMPORTED_MODULE_8__.Icon.get('resize_handler')));
|
|
38969
39039
|
}
|
|
38970
39040
|
}
|
|
38971
|
-
/** @override **/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(resizeHandler, "requires", [
|
|
39041
|
+
/** @override **/ ;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(resizeHandler, "requires", [
|
|
38972
39042
|
'size'
|
|
38973
39043
|
]);
|
|
38974
39044
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -39018,7 +39088,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.resizer = {
|
|
|
39018
39088
|
/***/ }),
|
|
39019
39089
|
|
|
39020
39090
|
/***/ 74522:
|
|
39021
|
-
/***/ (function(__unused_webpack_module,
|
|
39091
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
39022
39092
|
|
|
39023
39093
|
"use strict";
|
|
39024
39094
|
/* unused harmony export resizer */
|
|
@@ -39256,7 +39326,7 @@ const keyBInd = '__jodit-resizer_binded';
|
|
|
39256
39326
|
this.updateSize();
|
|
39257
39327
|
}
|
|
39258
39328
|
}
|
|
39259
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.$$)('iframe', this.j.editor).forEach(this.__bind);
|
|
39329
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.$$)('iframe', this.j.editor).forEach(this.__bind);
|
|
39260
39330
|
}
|
|
39261
39331
|
/**
|
|
39262
39332
|
* Bind an edit element to element
|
|
@@ -39265,7 +39335,7 @@ const keyBInd = '__jodit-resizer_binded';
|
|
|
39265
39335
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isHTMLElement(element) || !this.j.o.allowResizeTags.has(element.tagName.toLowerCase()) || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.dataBind)(element, keyBInd)) {
|
|
39266
39336
|
return;
|
|
39267
39337
|
}
|
|
39268
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.dataBind)(element, keyBInd, true);
|
|
39338
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.dataBind)(element, keyBInd, true);
|
|
39269
39339
|
let wrapper;
|
|
39270
39340
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isTag(element, 'iframe')) {
|
|
39271
39341
|
const iframe = element;
|
|
@@ -39296,7 +39366,7 @@ const keyBInd = '__jodit-resizer_binded';
|
|
|
39296
39366
|
this.j.e.off(element, 'mousedown.select touchstart.select').on(element, 'mousedown.select touchstart.select', ()=>{
|
|
39297
39367
|
this.j.s.select(element);
|
|
39298
39368
|
}).off(element, 'changesize').on(element, 'changesize', ()=>{
|
|
39299
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.attr)(iframe, 'width', element.offsetWidth + 'px');
|
|
39369
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.attr)(iframe, 'width', element.offsetWidth + 'px');
|
|
39300
39370
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.attr)(iframe, 'height', element.offsetHeight + 'px');
|
|
39301
39371
|
});
|
|
39302
39372
|
}
|
|
@@ -39318,7 +39388,7 @@ const keyBInd = '__jodit-resizer_binded';
|
|
|
39318
39388
|
this.hideSizeViewer();
|
|
39319
39389
|
return;
|
|
39320
39390
|
}
|
|
39321
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(this.sizeViewer, 'opacity', '1');
|
|
39391
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(this.sizeViewer, 'opacity', '1');
|
|
39322
39392
|
this.sizeViewer.textContent = `${w} x ${h}`;
|
|
39323
39393
|
this.j.async.setTimeout(this.hideSizeViewer, {
|
|
39324
39394
|
timeout: this.j.o.resizer.hideSizeTimeout,
|
|
@@ -39404,7 +39474,7 @@ const keyBInd = '__jodit-resizer_binded';
|
|
|
39404
39474
|
});
|
|
39405
39475
|
}
|
|
39406
39476
|
}
|
|
39407
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
39477
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
39408
39478
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':click')
|
|
39409
39479
|
], resizer.prototype, "onEditorClick", null);
|
|
39410
39480
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -39761,7 +39831,7 @@ class SentenceFinder {
|
|
|
39761
39831
|
return results.length === 0 ? null : results;
|
|
39762
39832
|
}
|
|
39763
39833
|
constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_1__.fuzzySearchIndex){
|
|
39764
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "searchIndex", void 0);
|
|
39834
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "searchIndex", void 0);
|
|
39765
39835
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "queue", void 0);
|
|
39766
39836
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "value", void 0);
|
|
39767
39837
|
this.searchIndex = searchIndex;
|
|
@@ -39774,7 +39844,7 @@ class SentenceFinder {
|
|
|
39774
39844
|
/***/ }),
|
|
39775
39845
|
|
|
39776
39846
|
/***/ 30500:
|
|
39777
|
-
/***/ (function(__unused_webpack_module,
|
|
39847
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
39778
39848
|
|
|
39779
39849
|
"use strict";
|
|
39780
39850
|
/* unused harmony export search */
|
|
@@ -39999,7 +40069,7 @@ class SentenceFinder {
|
|
|
39999
40069
|
editor.e.on('beforeSetMode.search', ()=>{
|
|
40000
40070
|
this.ui.close();
|
|
40001
40071
|
}).on(this.ui, 'afterClose', ()=>{
|
|
40002
|
-
(0,_helpers__WEBPACK_IMPORTED_MODULE_9__.clearSelectionWrappers)(editor);
|
|
40072
|
+
;(0,_helpers__WEBPACK_IMPORTED_MODULE_9__.clearSelectionWrappers)(editor);
|
|
40003
40073
|
this.ui.currentIndex = 0;
|
|
40004
40074
|
this.ui.count = 0;
|
|
40005
40075
|
this.cache = {};
|
|
@@ -40061,7 +40131,7 @@ class SentenceFinder {
|
|
|
40061
40131
|
}
|
|
40062
40132
|
}
|
|
40063
40133
|
/** @override */ beforeDestruct(jodit) {
|
|
40064
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.cached)(this, 'ui')?.destruct();
|
|
40134
|
+
;(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.cached)(this, 'ui')?.destruct();
|
|
40065
40135
|
jodit.e.off('.search');
|
|
40066
40136
|
}
|
|
40067
40137
|
constructor(...args){
|
|
@@ -40073,7 +40143,7 @@ class SentenceFinder {
|
|
|
40073
40143
|
]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "previousQuery", ''), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "drawPromise", null), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "walker", null), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "walkerCount", null), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "cache", {}), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "wrapFrameRequest", 0);
|
|
40074
40144
|
}
|
|
40075
40145
|
}
|
|
40076
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
40146
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
40077
40147
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.cache
|
|
40078
40148
|
], search.prototype, "ui", null);
|
|
40079
40149
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -40316,7 +40386,7 @@ class UISearch extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_6__.UIElement {
|
|
|
40316
40386
|
})());
|
|
40317
40387
|
}
|
|
40318
40388
|
}
|
|
40319
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
40389
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
40320
40390
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)([
|
|
40321
40391
|
':keydown',
|
|
40322
40392
|
'queryInput:keydown'
|
|
@@ -40356,7 +40426,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelecti
|
|
|
40356
40426
|
/***/ }),
|
|
40357
40427
|
|
|
40358
40428
|
/***/ 2756:
|
|
40359
|
-
/***/ (function(__unused_webpack_module,
|
|
40429
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
40360
40430
|
|
|
40361
40431
|
"use strict";
|
|
40362
40432
|
/* unused harmony export selectCells */
|
|
@@ -40706,7 +40776,7 @@ class selectCells extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
|
40706
40776
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__isSelectionMode", false);
|
|
40707
40777
|
}
|
|
40708
40778
|
}
|
|
40709
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(selectCells, "requires", [
|
|
40779
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(selectCells, "requires", [
|
|
40710
40780
|
'select'
|
|
40711
40781
|
]);
|
|
40712
40782
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -40756,7 +40826,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
40756
40826
|
/***/ }),
|
|
40757
40827
|
|
|
40758
40828
|
/***/ 98988:
|
|
40759
|
-
/***/ (function(__unused_webpack_module,
|
|
40829
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
40760
40830
|
|
|
40761
40831
|
"use strict";
|
|
40762
40832
|
/* unused harmony export select */
|
|
@@ -40933,7 +41003,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
40933
41003
|
]);
|
|
40934
41004
|
}
|
|
40935
41005
|
}
|
|
40936
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
41006
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
40937
41007
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
40938
41008
|
], select.prototype, "onStartSelection", null);
|
|
40939
41009
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -41013,7 +41083,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
41013
41083
|
/***/ }),
|
|
41014
41084
|
|
|
41015
41085
|
/***/ 44322:
|
|
41016
|
-
/***/ (function(__unused_webpack_module,
|
|
41086
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
41017
41087
|
|
|
41018
41088
|
"use strict";
|
|
41019
41089
|
/* unused harmony export size */
|
|
@@ -41068,7 +41138,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
41068
41138
|
height = localHeight;
|
|
41069
41139
|
}
|
|
41070
41140
|
}
|
|
41071
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(j.editor, {
|
|
41141
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(j.editor, {
|
|
41072
41142
|
minHeight: '100%'
|
|
41073
41143
|
});
|
|
41074
41144
|
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(j.container, {
|
|
@@ -41095,7 +41165,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
41095
41165
|
height = maxHeight;
|
|
41096
41166
|
}
|
|
41097
41167
|
}
|
|
41098
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(this.j.container, 'height', height);
|
|
41168
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(this.j.container, 'height', height);
|
|
41099
41169
|
if (this.j.o.saveHeightInStorage) {
|
|
41100
41170
|
this.j.storage.set('height', height);
|
|
41101
41171
|
}
|
|
@@ -41117,7 +41187,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
41117
41187
|
width = maxWidth;
|
|
41118
41188
|
}
|
|
41119
41189
|
}
|
|
41120
|
-
(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(this.j.container, 'width', width);
|
|
41190
|
+
;(0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_5__.css)(this.j.container, 'width', width);
|
|
41121
41191
|
this.__resizeWorkspaceImd({
|
|
41122
41192
|
clientHeight,
|
|
41123
41193
|
clientWidth
|
|
@@ -41187,7 +41257,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.maxHeight = 'auto';
|
|
|
41187
41257
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__resizeWorkspaces", this.j.async.debounce(this.__resizeWorkspaceImd, this.j.defaultTimeout, true));
|
|
41188
41258
|
}
|
|
41189
41259
|
}
|
|
41190
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
41260
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
41191
41261
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.throttle)()
|
|
41192
41262
|
], size.prototype, "__initialize", null);
|
|
41193
41263
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -41576,10 +41646,10 @@ class TextAreaEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_I
|
|
|
41576
41646
|
this.instance.blur();
|
|
41577
41647
|
}
|
|
41578
41648
|
setPlaceHolder(title) {
|
|
41579
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(this.instance, 'placeholder', title);
|
|
41649
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(this.instance, 'placeholder', title);
|
|
41580
41650
|
}
|
|
41581
41651
|
setReadOnly(isReadOnly) {
|
|
41582
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(this.instance, 'readonly', isReadOnly ? 'true' : null);
|
|
41652
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(this.instance, 'readonly', isReadOnly ? 'true' : null);
|
|
41583
41653
|
}
|
|
41584
41654
|
selectAll() {
|
|
41585
41655
|
this.instance.select();
|
|
@@ -41707,7 +41777,7 @@ class SourceEditor {
|
|
|
41707
41777
|
}
|
|
41708
41778
|
}
|
|
41709
41779
|
constructor(jodit, container, toWYSIWYG, fromWYSIWYG){
|
|
41710
|
-
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "jodit", void 0);
|
|
41780
|
+
;(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "jodit", void 0);
|
|
41711
41781
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "container", void 0);
|
|
41712
41782
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "toWYSIWYG", void 0);
|
|
41713
41783
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "fromWYSIWYG", void 0);
|
|
@@ -41727,7 +41797,7 @@ class SourceEditor {
|
|
|
41727
41797
|
/***/ }),
|
|
41728
41798
|
|
|
41729
41799
|
/***/ 13810:
|
|
41730
|
-
/***/ (function(__unused_webpack_module,
|
|
41800
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
41731
41801
|
|
|
41732
41802
|
"use strict";
|
|
41733
41803
|
/* unused harmony export source */
|
|
@@ -41989,7 +42059,7 @@ class SourceEditor {
|
|
|
41989
42059
|
});
|
|
41990
42060
|
}
|
|
41991
42061
|
}
|
|
41992
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
42062
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
41993
42063
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':insertHTML.source')
|
|
41994
42064
|
], source.prototype, "onInsertHTML", null);
|
|
41995
42065
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -42505,7 +42575,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42505
42575
|
/***/ }),
|
|
42506
42576
|
|
|
42507
42577
|
/***/ 90204:
|
|
42508
|
-
/***/ (function(__unused_webpack_module,
|
|
42578
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
42509
42579
|
|
|
42510
42580
|
"use strict";
|
|
42511
42581
|
/* unused harmony export spellcheck */
|
|
@@ -42544,7 +42614,7 @@ class spellcheck extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
|
42544
42614
|
});
|
|
42545
42615
|
}
|
|
42546
42616
|
toggleSpellcheck() {
|
|
42547
|
-
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_4__.attr)(this.jodit.editor, 'spellcheck', this.jodit.o.spellcheck);
|
|
42617
|
+
;(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_4__.attr)(this.jodit.editor, 'spellcheck', this.jodit.o.spellcheck);
|
|
42548
42618
|
}
|
|
42549
42619
|
beforeDestruct(jodit) {}
|
|
42550
42620
|
constructor(jodit){
|
|
@@ -42557,7 +42627,7 @@ class spellcheck extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
|
42557
42627
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__.extendLang)(_langs__WEBPACK_IMPORTED_MODULE_7__);
|
|
42558
42628
|
}
|
|
42559
42629
|
}
|
|
42560
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
42630
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
42561
42631
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
42562
42632
|
], spellcheck.prototype, "toggleSpellcheck", null);
|
|
42563
42633
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('spellcheck', spellcheck);
|
|
@@ -42586,7 +42656,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.showWordsCounter = tr
|
|
|
42586
42656
|
/***/ }),
|
|
42587
42657
|
|
|
42588
42658
|
/***/ 86236:
|
|
42589
|
-
/***/ (function(__unused_webpack_module,
|
|
42659
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
42590
42660
|
|
|
42591
42661
|
"use strict";
|
|
42592
42662
|
/* unused harmony export stat */
|
|
@@ -42682,7 +42752,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.toolbarStickyOffset =
|
|
|
42682
42752
|
/***/ }),
|
|
42683
42753
|
|
|
42684
42754
|
/***/ 67582:
|
|
42685
|
-
/***/ (function(__unused_webpack_module,
|
|
42755
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
42686
42756
|
|
|
42687
42757
|
"use strict";
|
|
42688
42758
|
/* unused harmony export sticky */
|
|
@@ -42763,7 +42833,7 @@ class sticky extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugi
|
|
|
42763
42833
|
this.__isToolbarStuck = true;
|
|
42764
42834
|
}
|
|
42765
42835
|
// on resize, it should work always
|
|
42766
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(toolbar, {
|
|
42836
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(toolbar, {
|
|
42767
42837
|
top: this.j.o.toolbarStickyOffset || null,
|
|
42768
42838
|
width: this.j.container.offsetWidth - 2
|
|
42769
42839
|
});
|
|
@@ -42776,7 +42846,7 @@ class sticky extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugi
|
|
|
42776
42846
|
if (!this.__isToolbarStuck) {
|
|
42777
42847
|
return;
|
|
42778
42848
|
}
|
|
42779
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(toolbar, {
|
|
42849
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.css)(toolbar, {
|
|
42780
42850
|
width: '',
|
|
42781
42851
|
top: ''
|
|
42782
42852
|
});
|
|
@@ -42785,7 +42855,7 @@ class sticky extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugi
|
|
|
42785
42855
|
});
|
|
42786
42856
|
}
|
|
42787
42857
|
}
|
|
42788
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
42858
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
42789
42859
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.throttle)()
|
|
42790
42860
|
], sticky.prototype, "__onScroll", null);
|
|
42791
42861
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_5__.pluginSystem.add('sticky', sticky);
|
|
@@ -43466,7 +43536,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43466
43536
|
/***/ }),
|
|
43467
43537
|
|
|
43468
43538
|
/***/ 11774:
|
|
43469
|
-
/***/ (function(__unused_webpack_module,
|
|
43539
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
43470
43540
|
|
|
43471
43541
|
"use strict";
|
|
43472
43542
|
/* unused harmony export symbols */
|
|
@@ -43805,7 +43875,7 @@ class tab extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__.Plugin {
|
|
|
43805
43875
|
}
|
|
43806
43876
|
beforeDestruct(jodit) {}
|
|
43807
43877
|
}
|
|
43808
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
43878
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
43809
43879
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':keydown.tab')
|
|
43810
43880
|
], tab.prototype, "__onTab", null);
|
|
43811
43881
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
@@ -43817,7 +43887,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('tab', tab);
|
|
|
43817
43887
|
/***/ }),
|
|
43818
43888
|
|
|
43819
43889
|
/***/ 30110:
|
|
43820
|
-
/***/ (function(__unused_webpack_module,
|
|
43890
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
43821
43891
|
|
|
43822
43892
|
"use strict";
|
|
43823
43893
|
/* unused harmony export tableKeyboardNavigation */
|
|
@@ -44044,7 +44114,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.table = {
|
|
|
44044
44114
|
if (!first_td) {
|
|
44045
44115
|
first_td = td;
|
|
44046
44116
|
}
|
|
44047
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(td, 'width', (100 / cols_count).toFixed(4) + '%');
|
|
44117
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(td, 'width', (100 / cols_count).toFixed(4) + '%');
|
|
44048
44118
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.append(td, crt.element('br'));
|
|
44049
44119
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.append(tr, crt.text('\n'));
|
|
44050
44120
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.append(tr, crt.text('\t'));
|
|
@@ -44053,7 +44123,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.table = {
|
|
|
44053
44123
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.append(tbody, crt.text('\n'));
|
|
44054
44124
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.append(tbody, tr);
|
|
44055
44125
|
}
|
|
44056
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('input[type=checkbox]:checked', options).forEach((input)=>{
|
|
44126
|
+
;(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('input[type=checkbox]:checked', options).forEach((input)=>{
|
|
44057
44127
|
input.value.split(/[\s]+/).forEach((className)=>{
|
|
44058
44128
|
table.classList.add(className);
|
|
44059
44129
|
});
|
|
@@ -44170,7 +44240,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.table = {
|
|
|
44170
44240
|
/***/ }),
|
|
44171
44241
|
|
|
44172
44242
|
/***/ 7994:
|
|
44173
|
-
/***/ (function(__unused_webpack_module,
|
|
44243
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
44174
44244
|
|
|
44175
44245
|
"use strict";
|
|
44176
44246
|
/* unused harmony export table */
|
|
@@ -44446,7 +44516,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.wrapNodes = {
|
|
|
44446
44516
|
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "isNotWrapped", (n)=>jodit_core_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isElement(n) && !(jodit_core_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isBlock(n) || jodit_core_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isTag(n, this.j.o.wrapNodes.exclude)));
|
|
44447
44517
|
}
|
|
44448
44518
|
}
|
|
44449
|
-
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
44519
|
+
;(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
44450
44520
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
44451
44521
|
], wrapNodes.prototype, "postProcessSetEditorValue", null);
|
|
44452
44522
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
|
|
@@ -45888,10 +45958,10 @@ function __addDisposableResource(env, value, async) {
|
|
|
45888
45958
|
return value;
|
|
45889
45959
|
}
|
|
45890
45960
|
|
|
45891
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
45961
|
+
var _SuppressedError = (/* unused pure expression or super */ null && (typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
45892
45962
|
var e = new Error(message);
|
|
45893
45963
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
45894
|
-
};
|
|
45964
|
+
}));
|
|
45895
45965
|
|
|
45896
45966
|
function __disposeResources(env) {
|
|
45897
45967
|
function fail(e) {
|
|
@@ -45928,7 +45998,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
45928
45998
|
return path;
|
|
45929
45999
|
}
|
|
45930
46000
|
|
|
45931
|
-
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
46001
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && ({
|
|
45932
46002
|
__extends,
|
|
45933
46003
|
__assign,
|
|
45934
46004
|
__rest,
|
|
@@ -45961,7 +46031,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
45961
46031
|
__addDisposableResource,
|
|
45962
46032
|
__disposeResources,
|
|
45963
46033
|
__rewriteRelativeImportExtension,
|
|
45964
|
-
});
|
|
46034
|
+
})));
|
|
45965
46035
|
|
|
45966
46036
|
|
|
45967
46037
|
/***/ })
|
|
@@ -46044,11 +46114,26 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
46044
46114
|
/******/
|
|
46045
46115
|
/******/ /* webpack/runtime/define property getters */
|
|
46046
46116
|
/******/ !function() {
|
|
46047
|
-
/******/ // define getter functions for harmony exports
|
|
46117
|
+
/******/ // define getter/value functions for harmony exports
|
|
46048
46118
|
/******/ __webpack_require__.d = function(exports, definition) {
|
|
46049
|
-
/******/
|
|
46050
|
-
/******/
|
|
46051
|
-
/******/
|
|
46119
|
+
/******/ if(Array.isArray(definition)) {
|
|
46120
|
+
/******/ var i = 0;
|
|
46121
|
+
/******/ while(i < definition.length) {
|
|
46122
|
+
/******/ var key = definition[i++];
|
|
46123
|
+
/******/ var binding = definition[i++];
|
|
46124
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
46125
|
+
/******/ if(binding === 0) {
|
|
46126
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
46127
|
+
/******/ } else {
|
|
46128
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
46129
|
+
/******/ }
|
|
46130
|
+
/******/ } else if(binding === 0) { i++; }
|
|
46131
|
+
/******/ }
|
|
46132
|
+
/******/ } else {
|
|
46133
|
+
/******/ for(var key in definition) {
|
|
46134
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
46135
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
46136
|
+
/******/ }
|
|
46052
46137
|
/******/ }
|
|
46053
46138
|
/******/ }
|
|
46054
46139
|
/******/ };
|