jodit-pro 4.9.25 → 4.9.27
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/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +7 -7
- package/es2015/jodit.js +176 -76
- package/es2015/jodit.min.js +5 -5
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.fat.min.js +7 -7
- package/es2018/jodit.min.js +16 -16
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +7 -7
- package/es2021/jodit.js +176 -76
- package/es2021/jodit.min.js +24 -24
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +9 -9
- package/es2021.en/jodit.js +176 -76
- package/es2021.en/jodit.min.js +6 -6
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +187 -80
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/package.json +1 -1
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.9.
|
|
4
|
+
* Version: v4.9.27
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -11917,9 +11917,14 @@ ToolbarCollection = __decorate([
|
|
|
11917
11917
|
/* harmony export */ "default": function() { return /* binding */ DataProvider; }
|
|
11918
11918
|
/* harmony export */ });
|
|
11919
11919
|
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
11920
|
-
/* harmony import */ var
|
|
11921
|
-
/* harmony import */ var
|
|
11922
|
-
/* harmony import */ var
|
|
11920
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
|
|
11921
|
+
/* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23282);
|
|
11922
|
+
/* harmony import */ var _core_helpers_normalize_normalize_relative_path_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70091);
|
|
11923
|
+
/* harmony import */ var _core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68934);
|
|
11924
|
+
/* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(89890);
|
|
11925
|
+
/* harmony import */ var _core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3703);
|
|
11926
|
+
/* harmony import */ var _core_request_ajax_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54079);
|
|
11927
|
+
/* harmony import */ var _builders_item_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(159);
|
|
11923
11928
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
11924
11929
|
try {
|
|
11925
11930
|
var info = gen[key](arg);
|
|
@@ -12020,6 +12025,10 @@ function _object_spread_props(target, source) {
|
|
|
12020
12025
|
}
|
|
12021
12026
|
return target;
|
|
12022
12027
|
}
|
|
12028
|
+
function _type_of(obj) {
|
|
12029
|
+
"@swc/helpers - typeof";
|
|
12030
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
12031
|
+
}
|
|
12023
12032
|
function _ts_generator(thisArg, body) {
|
|
12024
12033
|
var f, y, t, _ = {
|
|
12025
12034
|
label: 0,
|
|
@@ -12123,7 +12132,18 @@ function _ts_generator(thisArg, body) {
|
|
|
12123
12132
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
12124
12133
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
12125
12134
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
12126
|
-
*/
|
|
12135
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
12136
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12137
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12138
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12139
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12140
|
+
};
|
|
12141
|
+
|
|
12142
|
+
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
|
|
12146
|
+
|
|
12127
12147
|
|
|
12128
12148
|
|
|
12129
12149
|
|
|
@@ -12172,13 +12192,13 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12172
12192
|
ajax === null || ajax === void 0 ? void 0 : ajax.abort();
|
|
12173
12193
|
instances.delete(name);
|
|
12174
12194
|
}
|
|
12175
|
-
var opts = (0,
|
|
12195
|
+
var opts = (0,_core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)(this.options[name] !== undefined ? this.options[name] : {}, (0,_core_helpers_utils_config_proto_js__WEBPACK_IMPORTED_MODULE_4__.ConfigProto)({
|
|
12176
12196
|
onProgress: this.progressHandler
|
|
12177
12197
|
}, this.o.ajax));
|
|
12178
12198
|
if (opts.prepareData) {
|
|
12179
12199
|
opts.data = opts.prepareData.call(this, opts.data);
|
|
12180
12200
|
}
|
|
12181
|
-
var ajax1 = new
|
|
12201
|
+
var ajax1 = new _core_request_ajax_js__WEBPACK_IMPORTED_MODULE_7__.Ajax(opts);
|
|
12182
12202
|
instances.set(name, ajax1);
|
|
12183
12203
|
var promise = ajax1.send();
|
|
12184
12204
|
promise.finally(function() {
|
|
@@ -12226,7 +12246,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12226
12246
|
2,
|
|
12227
12247
|
this.get('permissions').then(function(resp) {
|
|
12228
12248
|
if (_this.parent.isInDestruct) {
|
|
12229
|
-
throw (0,
|
|
12249
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.abort)();
|
|
12230
12250
|
}
|
|
12231
12251
|
var process = _this.o.permissions.process;
|
|
12232
12252
|
if (!process) {
|
|
@@ -12257,7 +12277,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12257
12277
|
var rule = 'allow' + action;
|
|
12258
12278
|
if (!_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
|
|
12259
12279
|
if (!possibleRules.has(rule)) {
|
|
12260
|
-
throw (0,
|
|
12280
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Wrong action ' + action);
|
|
12261
12281
|
}
|
|
12262
12282
|
}
|
|
12263
12283
|
var presetValue = this.o.permissionsPresets[rule];
|
|
@@ -12298,7 +12318,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12298
12318
|
var _this = this;
|
|
12299
12319
|
var mods = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
12300
12320
|
return this.__items(path, source, mods, function(resp) {
|
|
12301
|
-
return _this.
|
|
12321
|
+
return _this.__generateItemsList(resp.data.sources, mods);
|
|
12302
12322
|
});
|
|
12303
12323
|
}
|
|
12304
12324
|
},
|
|
@@ -12316,15 +12336,15 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12316
12336
|
};
|
|
12317
12337
|
return this.__items(path, source, mods, function(resp) {
|
|
12318
12338
|
return {
|
|
12319
|
-
items: _this.
|
|
12339
|
+
items: _this.__generateItemsList(resp.data.sources, mods),
|
|
12320
12340
|
loadedTotal: calcTotal(resp.data.sources)
|
|
12321
12341
|
};
|
|
12322
12342
|
});
|
|
12323
12343
|
}
|
|
12324
12344
|
},
|
|
12325
12345
|
{
|
|
12326
|
-
key: "
|
|
12327
|
-
value: function
|
|
12346
|
+
key: "__generateItemsList",
|
|
12347
|
+
value: function __generateItemsList(sources) {
|
|
12328
12348
|
var _this = this;
|
|
12329
12349
|
var mods = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
12330
12350
|
var elements = [];
|
|
@@ -12338,14 +12358,14 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12338
12358
|
sources.forEach(function(source) {
|
|
12339
12359
|
if (source.files && source.files.length) {
|
|
12340
12360
|
var sort = _this.o.sort;
|
|
12341
|
-
if ((0,
|
|
12361
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(sort) && mods.sortBy) {
|
|
12342
12362
|
source.files.sort(function(a, b) {
|
|
12343
12363
|
return sort(a, b, mods.sortBy);
|
|
12344
12364
|
});
|
|
12345
12365
|
}
|
|
12346
12366
|
source.files.forEach(function(item) {
|
|
12347
12367
|
if (inFilter(item) && canBeFile(item)) {
|
|
12348
|
-
elements.push(
|
|
12368
|
+
elements.push(_builders_item_js__WEBPACK_IMPORTED_MODULE_8__.FileBrowserItem.create(_object_spread_props(_object_spread({}, item), {
|
|
12349
12369
|
sourceName: source.name,
|
|
12350
12370
|
source: source
|
|
12351
12371
|
})));
|
|
@@ -12365,7 +12385,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12365
12385
|
switch(_state.label){
|
|
12366
12386
|
case 0:
|
|
12367
12387
|
_this = this;
|
|
12368
|
-
path = (0,
|
|
12388
|
+
path = (0,_core_helpers_normalize_normalize_relative_path_js__WEBPACK_IMPORTED_MODULE_3__.normalizeRelativePath)(path);
|
|
12369
12389
|
if (!this.o.folder) {
|
|
12370
12390
|
return [
|
|
12371
12391
|
2,
|
|
@@ -12404,12 +12424,12 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12404
12424
|
*/ key: "getPathByUrl",
|
|
12405
12425
|
value: function getPathByUrl(url) {
|
|
12406
12426
|
var _this = this;
|
|
12407
|
-
(0,
|
|
12427
|
+
(0,_core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_6__.set)('options.getLocalFileByUrl.data.url', url, this);
|
|
12408
12428
|
return this.get('getLocalFileByUrl').then(function(resp) {
|
|
12409
12429
|
if (_this.isSuccess(resp)) {
|
|
12410
12430
|
return resp.data;
|
|
12411
12431
|
}
|
|
12412
|
-
throw (0,
|
|
12432
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(_this.getMessage(resp));
|
|
12413
12433
|
});
|
|
12414
12434
|
}
|
|
12415
12435
|
},
|
|
@@ -12425,7 +12445,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12425
12445
|
var _this = this;
|
|
12426
12446
|
var create = this.o.create;
|
|
12427
12447
|
if (!create) {
|
|
12428
|
-
throw (0,
|
|
12448
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set Create api options');
|
|
12429
12449
|
}
|
|
12430
12450
|
create.data.source = source;
|
|
12431
12451
|
create.data.path = path;
|
|
@@ -12434,7 +12454,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12434
12454
|
if (_this.isSuccess(resp)) {
|
|
12435
12455
|
return true;
|
|
12436
12456
|
}
|
|
12437
|
-
throw (0,
|
|
12457
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(_this.getMessage(resp));
|
|
12438
12458
|
});
|
|
12439
12459
|
}
|
|
12440
12460
|
},
|
|
@@ -12450,7 +12470,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12450
12470
|
var mode = isFile ? 'fileMove' : 'folderMove';
|
|
12451
12471
|
var option = this.options[mode];
|
|
12452
12472
|
if (!option) {
|
|
12453
|
-
throw (0,
|
|
12473
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set Move api options');
|
|
12454
12474
|
}
|
|
12455
12475
|
option.data.from = filepath;
|
|
12456
12476
|
option.data.path = path;
|
|
@@ -12459,7 +12479,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12459
12479
|
if (_this.isSuccess(resp)) {
|
|
12460
12480
|
return true;
|
|
12461
12481
|
}
|
|
12462
|
-
throw (0,
|
|
12482
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)(_this.getMessage(resp));
|
|
12463
12483
|
});
|
|
12464
12484
|
}
|
|
12465
12485
|
},
|
|
@@ -12470,12 +12490,12 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12470
12490
|
* @param path - Relative path
|
|
12471
12491
|
* @param file - The filename
|
|
12472
12492
|
* @param source - Source
|
|
12473
|
-
*/ key: "
|
|
12474
|
-
value: function
|
|
12493
|
+
*/ key: "__remove",
|
|
12494
|
+
value: function __remove(action, path, file, source) {
|
|
12475
12495
|
var _this = this;
|
|
12476
12496
|
var fr = this.o[action];
|
|
12477
12497
|
if (!fr) {
|
|
12478
|
-
throw (0,
|
|
12498
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set "'.concat(action, '" api options'));
|
|
12479
12499
|
}
|
|
12480
12500
|
fr.data.path = path;
|
|
12481
12501
|
fr.data.name = file;
|
|
@@ -12497,7 +12517,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12497
12517
|
* @param source - Source
|
|
12498
12518
|
*/ key: "fileRemove",
|
|
12499
12519
|
value: function fileRemove(path, file, source) {
|
|
12500
|
-
return this.
|
|
12520
|
+
return this.__remove('fileRemove', path, file, source);
|
|
12501
12521
|
}
|
|
12502
12522
|
},
|
|
12503
12523
|
{
|
|
@@ -12509,7 +12529,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12509
12529
|
* @param source - Source
|
|
12510
12530
|
*/ key: "folderRemove",
|
|
12511
12531
|
value: function folderRemove(path, file, source) {
|
|
12512
|
-
return this.
|
|
12532
|
+
return this.__remove('folderRemove', path, file, source);
|
|
12513
12533
|
}
|
|
12514
12534
|
},
|
|
12515
12535
|
{
|
|
@@ -12520,12 +12540,12 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12520
12540
|
* @param name - Old name
|
|
12521
12541
|
* @param newname - New name
|
|
12522
12542
|
* @param source - Source
|
|
12523
|
-
*/ key: "
|
|
12524
|
-
value: function
|
|
12543
|
+
*/ key: "__rename",
|
|
12544
|
+
value: function __rename(action, path, name, newname, source) {
|
|
12525
12545
|
var _this = this;
|
|
12526
12546
|
var fr = this.o[action];
|
|
12527
12547
|
if (!fr) {
|
|
12528
|
-
throw (0,
|
|
12548
|
+
throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Set "'.concat(action, '" api options'));
|
|
12529
12549
|
}
|
|
12530
12550
|
fr.data.path = path;
|
|
12531
12551
|
fr.data.name = name;
|
|
@@ -12544,7 +12564,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12544
12564
|
* Rename folder
|
|
12545
12565
|
*/ key: "folderRename",
|
|
12546
12566
|
value: function folderRename(path, name, newname, source) {
|
|
12547
|
-
return this.
|
|
12567
|
+
return this.__rename('folderRename', path, name, newname, source);
|
|
12548
12568
|
}
|
|
12549
12569
|
},
|
|
12550
12570
|
{
|
|
@@ -12552,12 +12572,12 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12552
12572
|
* Rename file
|
|
12553
12573
|
*/ key: "fileRename",
|
|
12554
12574
|
value: function fileRename(path, name, newname, source) {
|
|
12555
|
-
return this.
|
|
12575
|
+
return this.__rename('fileRename', path, name, newname, source);
|
|
12556
12576
|
}
|
|
12557
12577
|
},
|
|
12558
12578
|
{
|
|
12559
|
-
key: "
|
|
12560
|
-
value: function
|
|
12579
|
+
key: "__changeImage",
|
|
12580
|
+
value: function __changeImage(type, path, source, name, newname, box) {
|
|
12561
12581
|
if (!this.o[type]) {
|
|
12562
12582
|
this.o[type] = {
|
|
12563
12583
|
data: {}
|
|
@@ -12586,7 +12606,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12586
12606
|
* Send command to server to crop image
|
|
12587
12607
|
*/ key: "crop",
|
|
12588
12608
|
value: function crop(path, source, name, newname, box) {
|
|
12589
|
-
return this.
|
|
12609
|
+
return this.__changeImage('crop', path, source, name, newname, box);
|
|
12590
12610
|
}
|
|
12591
12611
|
},
|
|
12592
12612
|
{
|
|
@@ -12594,7 +12614,7 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12594
12614
|
* Send command to server to resize image
|
|
12595
12615
|
*/ key: "resize",
|
|
12596
12616
|
value: function resize(path, source, name, newname, box) {
|
|
12597
|
-
return this.
|
|
12617
|
+
return this.__changeImage('resize', path, source, name, newname, box);
|
|
12598
12618
|
}
|
|
12599
12619
|
},
|
|
12600
12620
|
{
|
|
@@ -12622,6 +12642,60 @@ var DataProvider = /*#__PURE__*/ function() {
|
|
|
12622
12642
|
return DataProvider;
|
|
12623
12643
|
}();
|
|
12624
12644
|
|
|
12645
|
+
__decorate([
|
|
12646
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12647
|
+
], DataProvider.prototype, "onProgress", null);
|
|
12648
|
+
__decorate([
|
|
12649
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12650
|
+
], DataProvider.prototype, "permissions", null);
|
|
12651
|
+
__decorate([
|
|
12652
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12653
|
+
], DataProvider.prototype, "canI", null);
|
|
12654
|
+
__decorate([
|
|
12655
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12656
|
+
], DataProvider.prototype, "items", null);
|
|
12657
|
+
__decorate([
|
|
12658
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12659
|
+
], DataProvider.prototype, "itemsEx", null);
|
|
12660
|
+
__decorate([
|
|
12661
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12662
|
+
], DataProvider.prototype, "tree", null);
|
|
12663
|
+
__decorate([
|
|
12664
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12665
|
+
], DataProvider.prototype, "getPathByUrl", null);
|
|
12666
|
+
__decorate([
|
|
12667
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12668
|
+
], DataProvider.prototype, "createFolder", null);
|
|
12669
|
+
__decorate([
|
|
12670
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12671
|
+
], DataProvider.prototype, "move", null);
|
|
12672
|
+
__decorate([
|
|
12673
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12674
|
+
], DataProvider.prototype, "fileRemove", null);
|
|
12675
|
+
__decorate([
|
|
12676
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12677
|
+
], DataProvider.prototype, "folderRemove", null);
|
|
12678
|
+
__decorate([
|
|
12679
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12680
|
+
], DataProvider.prototype, "folderRename", null);
|
|
12681
|
+
__decorate([
|
|
12682
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12683
|
+
], DataProvider.prototype, "fileRename", null);
|
|
12684
|
+
__decorate([
|
|
12685
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12686
|
+
], DataProvider.prototype, "crop", null);
|
|
12687
|
+
__decorate([
|
|
12688
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12689
|
+
], DataProvider.prototype, "resize", null);
|
|
12690
|
+
__decorate([
|
|
12691
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12692
|
+
], DataProvider.prototype, "getMessage", null);
|
|
12693
|
+
__decorate([
|
|
12694
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12695
|
+
], DataProvider.prototype, "isSuccess", null);
|
|
12696
|
+
__decorate([
|
|
12697
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
12698
|
+
], DataProvider.prototype, "destruct", null);
|
|
12625
12699
|
|
|
12626
12700
|
|
|
12627
12701
|
/***/ }),
|
|
@@ -18853,6 +18927,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18853
18927
|
/* harmony export */ buildQuery: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.buildQuery; },
|
|
18854
18928
|
/* harmony export */ call: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.call; },
|
|
18855
18929
|
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.callPromise; },
|
|
18930
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.callThis; },
|
|
18856
18931
|
/* harmony export */ camelCase: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.camelCase; },
|
|
18857
18932
|
/* harmony export */ cleanFromWord: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.cleanFromWord; },
|
|
18858
18933
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.clearAlign; },
|
|
@@ -30754,6 +30829,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
|
|
|
30754
30829
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
30755
30830
|
/* harmony export */ call: function() { return /* binding */ call; },
|
|
30756
30831
|
/* harmony export */ callPromise: function() { return /* binding */ callPromise; },
|
|
30832
|
+
/* harmony export */ callThis: function() { return /* binding */ callThis; },
|
|
30757
30833
|
/* harmony export */ getDataTransfer: function() { return /* binding */ getDataTransfer; },
|
|
30758
30834
|
/* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
|
|
30759
30835
|
/* harmony export */ keys: function() { return /* binding */ keys; },
|
|
@@ -30812,6 +30888,20 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
30812
30888
|
}
|
|
30813
30889
|
return func.apply(void 0, _to_consumable_array(args));
|
|
30814
30890
|
}
|
|
30891
|
+
/**
|
|
30892
|
+
* Call function with parameters
|
|
30893
|
+
*
|
|
30894
|
+
* @example
|
|
30895
|
+
* ```js
|
|
30896
|
+
* const f = Math.random();
|
|
30897
|
+
* Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f);
|
|
30898
|
+
* ```
|
|
30899
|
+
*/ function callThis(func, thisArg) {
|
|
30900
|
+
for(var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++){
|
|
30901
|
+
args[_key - 2] = arguments[_key];
|
|
30902
|
+
}
|
|
30903
|
+
return func.apply(thisArg, args);
|
|
30904
|
+
}
|
|
30815
30905
|
/**
|
|
30816
30906
|
* Mark element for debugging
|
|
30817
30907
|
*/ function markOwner(jodit, elm) {
|
|
@@ -34487,6 +34577,7 @@ function _sliced_to_array(arr, i) {
|
|
|
34487
34577
|
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_5__.buildQuery; },
|
|
34488
34578
|
/* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.call; },
|
|
34489
34579
|
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.callPromise; },
|
|
34580
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.callThis; },
|
|
34490
34581
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
34491
34582
|
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_9__.clearCenterAlign; },
|
|
34492
34583
|
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_18__.cns; },
|
|
@@ -37479,11 +37570,16 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
37479
37570
|
/* harmony import */ var _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91907);
|
|
37480
37571
|
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
37481
37572
|
/* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22732);
|
|
37482
|
-
/* harmony import */ var
|
|
37483
|
-
/* harmony import */ var
|
|
37484
|
-
/* harmony import */ var
|
|
37485
|
-
/* harmony import */ var
|
|
37486
|
-
/* harmony import */ var
|
|
37573
|
+
/* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4510);
|
|
37574
|
+
/* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49055);
|
|
37575
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
|
|
37576
|
+
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41180);
|
|
37577
|
+
/* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
|
|
37578
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(37790);
|
|
37579
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62843);
|
|
37580
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(6441);
|
|
37581
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(62489);
|
|
37582
|
+
/* harmony import */ var _templates_form_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22461);
|
|
37487
37583
|
function _assert_this_initialized(self) {
|
|
37488
37584
|
if (self === void 0) {
|
|
37489
37585
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -37599,6 +37695,11 @@ var ImageEditor_1;
|
|
|
37599
37695
|
|
|
37600
37696
|
|
|
37601
37697
|
|
|
37698
|
+
|
|
37699
|
+
|
|
37700
|
+
|
|
37701
|
+
|
|
37702
|
+
|
|
37602
37703
|
var jie = 'jodit-image-editor';
|
|
37603
37704
|
var TABS = {
|
|
37604
37705
|
resize: 'resize',
|
|
@@ -37657,7 +37758,7 @@ var TABS = {
|
|
|
37657
37758
|
wn = nw * (h / nh);
|
|
37658
37759
|
hn = h;
|
|
37659
37760
|
}
|
|
37660
|
-
(0,
|
|
37761
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(_this.crop_box, {
|
|
37661
37762
|
width: wn,
|
|
37662
37763
|
height: hn
|
|
37663
37764
|
});
|
|
@@ -37675,8 +37776,8 @@ var TABS = {
|
|
|
37675
37776
|
} else {
|
|
37676
37777
|
_this.new_h = ImageEditor_1.calcValueByPercent(h, _this.o.cropDefaultHeight);
|
|
37677
37778
|
}
|
|
37678
|
-
(0,
|
|
37679
|
-
backgroundImage: 'url(' + (0,
|
|
37779
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(_this.cropHandler, {
|
|
37780
|
+
backgroundImage: 'url(' + (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(_this.cropImage, 'src') + ')',
|
|
37680
37781
|
width: _this.new_w,
|
|
37681
37782
|
height: _this.new_h,
|
|
37682
37783
|
left: w / 2 - _this.new_w / 2,
|
|
@@ -37689,8 +37790,8 @@ var TABS = {
|
|
|
37689
37790
|
return;
|
|
37690
37791
|
}
|
|
37691
37792
|
var ratioX = _this.cropImage.offsetWidth / _this.naturalWidth, ratioY = _this.cropImage.offsetHeight / _this.naturalHeight;
|
|
37692
|
-
_this.cropBox.x = (0,
|
|
37693
|
-
_this.cropBox.y = (0,
|
|
37793
|
+
_this.cropBox.x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(_this.cropHandler, 'left') / ratioX;
|
|
37794
|
+
_this.cropBox.y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(_this.cropHandler, 'top') / ratioY;
|
|
37694
37795
|
_this.cropBox.w = _this.cropHandler.offsetWidth / ratioX;
|
|
37695
37796
|
_this.cropBox.h = _this.cropHandler.offsetHeight / ratioY;
|
|
37696
37797
|
_this.sizes.textContent = _this.cropBox.w.toFixed(0) + 'x' + _this.cropBox.h.toFixed(0);
|
|
@@ -37701,7 +37802,7 @@ var TABS = {
|
|
|
37701
37802
|
};
|
|
37702
37803
|
_this.setHandlers = function() {
|
|
37703
37804
|
var self = _this;
|
|
37704
|
-
var _refs = (0,
|
|
37805
|
+
var _refs = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(_this.editor), widthInput = _refs.widthInput, heightInput = _refs.heightInput;
|
|
37705
37806
|
self.j.e.on([
|
|
37706
37807
|
self.editor.querySelector('.jodit_bottomright'),
|
|
37707
37808
|
self.cropHandler
|
|
@@ -37710,11 +37811,11 @@ var TABS = {
|
|
|
37710
37811
|
self.showCrop();
|
|
37711
37812
|
_this.j.e.fire(self.cropHandler, 'updatesize');
|
|
37712
37813
|
});
|
|
37713
|
-
self.j.e.on((0,
|
|
37814
|
+
self.j.e.on((0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(_this.editor.querySelectorAll(".".concat(jie, "__slider-title"))), 'click', _this.onTitleModeClick).on([
|
|
37714
37815
|
widthInput,
|
|
37715
37816
|
heightInput
|
|
37716
37817
|
], 'input', _this.onChangeSizeInput);
|
|
37717
|
-
var _refs1 = (0,
|
|
37818
|
+
var _refs1 = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(_this.editor), keepAspectRatioResize = _refs1.keepAspectRatioResize, keepAspectRatioCrop = _refs1.keepAspectRatioCrop;
|
|
37718
37819
|
if (keepAspectRatioResize) {
|
|
37719
37820
|
keepAspectRatioResize.addEventListener('change', function() {
|
|
37720
37821
|
_this.resizeUseRatio = keepAspectRatioResize.checked;
|
|
@@ -37726,7 +37827,7 @@ var TABS = {
|
|
|
37726
37827
|
});
|
|
37727
37828
|
}
|
|
37728
37829
|
self.j.e.on(self.resizeHandler, 'updatesize', function() {
|
|
37729
|
-
(0,
|
|
37830
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.resizeHandler, {
|
|
37730
37831
|
top: 0,
|
|
37731
37832
|
left: 0,
|
|
37732
37833
|
width: self.image.offsetWidth || self.naturalWidth,
|
|
@@ -37737,7 +37838,7 @@ var TABS = {
|
|
|
37737
37838
|
if (!self.cropImage) {
|
|
37738
37839
|
return;
|
|
37739
37840
|
}
|
|
37740
|
-
var new_x = (0,
|
|
37841
|
+
var new_x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left'), new_y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top'), new_width = self.cropHandler.offsetWidth, new_height = self.cropHandler.offsetHeight;
|
|
37741
37842
|
if (new_x < 0) {
|
|
37742
37843
|
new_x = 0;
|
|
37743
37844
|
}
|
|
@@ -37756,7 +37857,7 @@ var TABS = {
|
|
|
37756
37857
|
new_width = new_height * self.ratio;
|
|
37757
37858
|
}
|
|
37758
37859
|
}
|
|
37759
|
-
(0,
|
|
37860
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, {
|
|
37760
37861
|
width: new_width,
|
|
37761
37862
|
height: new_height,
|
|
37762
37863
|
left: new_x,
|
|
@@ -37775,7 +37876,7 @@ var TABS = {
|
|
|
37775
37876
|
switch(button){
|
|
37776
37877
|
case self.buttons.saveas:
|
|
37777
37878
|
self.j.prompt('Enter new name', 'Save in new file', function(name) {
|
|
37778
|
-
if (!(0,
|
|
37879
|
+
if (!(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_4__.trim)(name)) {
|
|
37779
37880
|
self.j.alert('The name should not be empty');
|
|
37780
37881
|
return false;
|
|
37781
37882
|
}
|
|
@@ -37791,7 +37892,7 @@ var TABS = {
|
|
|
37791
37892
|
break;
|
|
37792
37893
|
case self.buttons.reset:
|
|
37793
37894
|
if (self.activeTab === TABS.resize) {
|
|
37794
|
-
(0,
|
|
37895
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, {
|
|
37795
37896
|
width: null,
|
|
37796
37897
|
height: null
|
|
37797
37898
|
});
|
|
@@ -37806,18 +37907,24 @@ var TABS = {
|
|
|
37806
37907
|
});
|
|
37807
37908
|
});
|
|
37808
37909
|
};
|
|
37809
|
-
_this.options = editor && editor.o && editor.o.imageeditor ? editor.o.imageeditor :
|
|
37910
|
+
_this.options = editor && editor.o && editor.o.imageeditor ? editor.o.imageeditor : _config_js__WEBPACK_IMPORTED_MODULE_10__.Config.defaultOptions.imageeditor;
|
|
37810
37911
|
var o = _this.options;
|
|
37811
37912
|
_this.resizeUseRatio = o.resizeUseRatio;
|
|
37812
37913
|
_this.cropUseRatio = o.cropUseRatio;
|
|
37813
37914
|
_this.buttons = {
|
|
37814
|
-
reset: (0,
|
|
37815
|
-
save: (0,
|
|
37816
|
-
saveas: (0,
|
|
37915
|
+
reset: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(_this.j, 'update', 'Reset'),
|
|
37916
|
+
save: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(_this.j, 'save', 'Save'),
|
|
37917
|
+
saveas: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_9__.Button)(_this.j, {
|
|
37918
|
+
icon: {
|
|
37919
|
+
name: 'save'
|
|
37920
|
+
},
|
|
37921
|
+
name: 'save-as',
|
|
37922
|
+
text: 'Save as ...'
|
|
37923
|
+
})
|
|
37817
37924
|
};
|
|
37818
37925
|
_this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
37819
|
-
_this.editor = (0,
|
|
37820
|
-
var _refs = (0,
|
|
37926
|
+
_this.editor = (0,_templates_form_js__WEBPACK_IMPORTED_MODULE_12__.form)(_this.j, _this.options);
|
|
37927
|
+
var _refs = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(_this.editor), resizeBox = _refs.resizeBox, cropBox = _refs.cropBox;
|
|
37821
37928
|
_this.resize_box = resizeBox;
|
|
37822
37929
|
_this.crop_box = cropBox;
|
|
37823
37930
|
_this.sizes = _this.editor.querySelector(".".concat(jie, "__area.").concat(jie, "__area_crop .jodit-image-editor__sizes"));
|
|
@@ -37890,9 +37997,9 @@ var TABS = {
|
|
|
37890
37997
|
return this.j.async.promise(function(resolve) {
|
|
37891
37998
|
var timestamp = new Date().getTime();
|
|
37892
37999
|
_this.image = _this.j.c.element('img');
|
|
37893
|
-
(0,
|
|
37894
|
-
(0,
|
|
37895
|
-
(0,
|
|
38000
|
+
(0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)('img,.jodit-icon_loader', _this.resize_box).forEach(_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove);
|
|
38001
|
+
(0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)('img,.jodit-icon_loader', _this.crop_box).forEach(_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove);
|
|
38002
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(_this.cropHandler, 'background', 'transparent');
|
|
37896
38003
|
_this.onSave = save;
|
|
37897
38004
|
_this.resize_box.appendChild(_this.j.c.element('i', {
|
|
37898
38005
|
class: 'jodit-icon_loader'
|
|
@@ -37907,7 +38014,7 @@ var TABS = {
|
|
|
37907
38014
|
}
|
|
37908
38015
|
_this.image.setAttribute('src', url);
|
|
37909
38016
|
_this._dialog.open();
|
|
37910
|
-
var _refs = (0,
|
|
38017
|
+
var _refs = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(_this.editor), widthInput = _refs.widthInput, heightInput = _refs.heightInput;
|
|
37911
38018
|
var onload = function onload1() {
|
|
37912
38019
|
if (_this.isDestructed) {
|
|
37913
38020
|
return;
|
|
@@ -37921,7 +38028,7 @@ var TABS = {
|
|
|
37921
38028
|
_this.resize_box.appendChild(_this.image);
|
|
37922
38029
|
_this.cropImage = _this.image.cloneNode(true);
|
|
37923
38030
|
_this.crop_box.appendChild(_this.cropImage);
|
|
37924
|
-
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove.apply(null, (0,
|
|
38031
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove.apply(null, (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)('.jodit-icon_loader', _this.editor));
|
|
37925
38032
|
if (_this.activeTab === TABS.crop) {
|
|
37926
38033
|
_this.showCrop();
|
|
37927
38034
|
}
|
|
@@ -37946,11 +38053,11 @@ var TABS = {
|
|
|
37946
38053
|
if (!slide) {
|
|
37947
38054
|
return;
|
|
37948
38055
|
}
|
|
37949
|
-
(0,
|
|
38056
|
+
(0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.$$)(".".concat(jie, "__slider,.").concat(jie, "__area"), self.editor).forEach(function(elm) {
|
|
37950
38057
|
return elm.classList.remove("".concat(jie, "_active"));
|
|
37951
38058
|
});
|
|
37952
38059
|
slide.classList.add("".concat(jie, "_active"));
|
|
37953
|
-
this.activeTab = (0,
|
|
38060
|
+
this.activeTab = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(slide, '-area') || TABS.resize;
|
|
37954
38061
|
var tab = self.editor.querySelector(".".concat(jie, "__area.").concat(jie, "__area_") + self.activeTab);
|
|
37955
38062
|
if (tab) {
|
|
37956
38063
|
tab.classList.add("".concat(jie, "_active"));
|
|
@@ -37963,14 +38070,14 @@ var TABS = {
|
|
|
37963
38070
|
{
|
|
37964
38071
|
key: "onChangeSizeInput",
|
|
37965
38072
|
value: function onChangeSizeInput(e) {
|
|
37966
|
-
var self = this, input = e.target, _refs = (0,
|
|
38073
|
+
var self = this, input = e.target, _refs = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor), widthInput = _refs.widthInput, heightInput = _refs.heightInput, isWidth = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(input, 'data-ref') === 'widthInput', x = parseInt(input.value, 10), minX = isWidth ? self.o.min_width : self.o.min_height, minY = !isWidth ? self.o.min_width : self.o.min_height;
|
|
37967
38074
|
var y;
|
|
37968
38075
|
if (x > minX) {
|
|
37969
|
-
(0,
|
|
38076
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, isWidth ? 'width' : 'height', x);
|
|
37970
38077
|
if (self.resizeUseRatio) {
|
|
37971
38078
|
y = isWidth ? Math.round(x / self.ratio) : Math.round(x * self.ratio);
|
|
37972
38079
|
if (y > minY) {
|
|
37973
|
-
(0,
|
|
38080
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, !isWidth ? 'width' : 'height', y);
|
|
37974
38081
|
if (isWidth) {
|
|
37975
38082
|
heightInput.value = y.toString();
|
|
37976
38083
|
} else {
|
|
@@ -37993,8 +38100,8 @@ var TABS = {
|
|
|
37993
38100
|
self.start_x = e.clientX;
|
|
37994
38101
|
self.start_y = e.clientY;
|
|
37995
38102
|
if (self.activeTab === TABS.crop) {
|
|
37996
|
-
self.top_x = (0,
|
|
37997
|
-
self.top_y = (0,
|
|
38103
|
+
self.top_x = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left');
|
|
38104
|
+
self.top_y = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top');
|
|
37998
38105
|
self.width = self.cropHandler.offsetWidth;
|
|
37999
38106
|
self.height = self.cropHandler.offsetHeight;
|
|
38000
38107
|
} else {
|
|
@@ -38021,7 +38128,7 @@ var TABS = {
|
|
|
38021
38128
|
if (!self.clicked) {
|
|
38022
38129
|
return;
|
|
38023
38130
|
}
|
|
38024
|
-
var _refs = (0,
|
|
38131
|
+
var _refs = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.refs)(this.editor), widthInput = _refs.widthInput, heightInput = _refs.heightInput;
|
|
38025
38132
|
self.diff_x = e.clientX - self.start_x;
|
|
38026
38133
|
self.diff_y = e.clientY - self.start_y;
|
|
38027
38134
|
if (self.activeTab === TABS.resize && self.resizeUseRatio || self.activeTab === TABS.crop && self.cropUseRatio) {
|
|
@@ -38038,11 +38145,11 @@ var TABS = {
|
|
|
38038
38145
|
}
|
|
38039
38146
|
if (self.activeTab === TABS.resize) {
|
|
38040
38147
|
if (self.new_w > self.o.resizeMinWidth) {
|
|
38041
|
-
(0,
|
|
38148
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, 'width', self.new_w + 'px');
|
|
38042
38149
|
widthInput.value = self.new_w.toString();
|
|
38043
38150
|
}
|
|
38044
38151
|
if (self.new_h > self.o.resizeMinHeight) {
|
|
38045
|
-
(0,
|
|
38152
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.image, 'height', self.new_h + 'px');
|
|
38046
38153
|
heightInput.value = self.new_h.toString();
|
|
38047
38154
|
}
|
|
38048
38155
|
this.j.e.fire(self.resizeHandler, 'updatesize');
|
|
@@ -38054,7 +38161,7 @@ var TABS = {
|
|
|
38054
38161
|
if (self.top_y + self.new_h > self.cropImage.offsetHeight) {
|
|
38055
38162
|
self.new_h = self.cropImage.offsetHeight - self.top_y;
|
|
38056
38163
|
}
|
|
38057
|
-
(0,
|
|
38164
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, {
|
|
38058
38165
|
width: self.new_w,
|
|
38059
38166
|
height: self.new_h
|
|
38060
38167
|
});
|
|
@@ -38062,11 +38169,11 @@ var TABS = {
|
|
|
38062
38169
|
if (self.top_x + self.diff_x + self.cropHandler.offsetWidth > self.cropImage.offsetWidth) {
|
|
38063
38170
|
self.diff_x = self.cropImage.offsetWidth - self.top_x - self.cropHandler.offsetWidth;
|
|
38064
38171
|
}
|
|
38065
|
-
(0,
|
|
38172
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'left', self.top_x + self.diff_x);
|
|
38066
38173
|
if (self.top_y + self.diff_y + self.cropHandler.offsetHeight > self.cropImage.offsetHeight) {
|
|
38067
38174
|
self.diff_y = self.cropImage.offsetHeight - self.top_y - self.cropHandler.offsetHeight;
|
|
38068
38175
|
}
|
|
38069
|
-
(0,
|
|
38176
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(self.cropHandler, 'top', self.top_y + self.diff_y);
|
|
38070
38177
|
}
|
|
38071
38178
|
this.j.e.fire(self.cropHandler, 'updatesize');
|
|
38072
38179
|
}
|
|
@@ -38136,7 +38243,7 @@ ImageEditor = ImageEditor_1 = __decorate([
|
|
|
38136
38243
|
*/ function openImageEditor(href, name, path, source, onSuccess, onFailed) {
|
|
38137
38244
|
var _this = this;
|
|
38138
38245
|
return this.getInstance('ImageEditor', this.o).open(href, function(newname, box, success, failed) {
|
|
38139
|
-
return (0,
|
|
38246
|
+
return (0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_8__.call)(box.action === 'resize' ? _this.dataProvider.resize : _this.dataProvider.crop, path, source, name, newname, box.box).then(function(ok) {
|
|
38140
38247
|
if (ok) {
|
|
38141
38248
|
success();
|
|
38142
38249
|
if (onSuccess) {
|
|
@@ -64335,7 +64442,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
64335
64442
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
64336
64443
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
64337
64444
|
}
|
|
64338
|
-
var APP_VERSION = "4.9.
|
|
64445
|
+
var APP_VERSION = "4.9.27";
|
|
64339
64446
|
// prettier-ignore
|
|
64340
64447
|
var ES = "es5";
|
|
64341
64448
|
var IS_ES_MODERN = false;
|