jodit-pro 4.15.12 → 4.15.13
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 +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +13 -13
- package/es2015/jodit.js +232 -11
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +10 -10
- 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.css +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/image-editor-pro/image-editor-pro.css +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.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/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +1 -1
- package/es2015/plugins/templates/templates.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.css +1 -1
- package/es2018/jodit.fat.min.js +9 -9
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +8 -8
- 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/image-editor-pro/image-editor-pro.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/templates/templates.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 +2 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +10 -10
- package/es2021/jodit.js +232 -11
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +9 -9
- 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.css +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/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.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/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +1 -1
- package/es2021/plugins/templates/templates.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 +2 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +8 -8
- package/es2021.en/jodit.js +232 -11
- package/es2021.en/jodit.min.css +1 -1
- 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.css +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/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.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/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +1 -1
- package/es2021.en/plugins/templates/templates.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 +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +430 -11
- package/es5/jodit.min.css +3 -3
- 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.css +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/image-editor-pro/image-editor-pro.css +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.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/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +1 -1
- package/es5/plugins/templates/templates.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.15.
|
|
4
|
+
* Version: v4.15.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2212,9 +2212,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2212
2212
|
/* harmony export */ KEY_BACKSPACE: function() { return /* binding */ KEY_BACKSPACE; },
|
|
2213
2213
|
/* harmony export */ KEY_DELETE: function() { return /* binding */ KEY_DELETE; },
|
|
2214
2214
|
/* harmony export */ KEY_DOWN: function() { return /* binding */ KEY_DOWN; },
|
|
2215
|
+
/* harmony export */ KEY_END: function() { return /* binding */ KEY_END; },
|
|
2215
2216
|
/* harmony export */ KEY_ENTER: function() { return /* binding */ KEY_ENTER; },
|
|
2216
2217
|
/* harmony export */ KEY_ESC: function() { return /* binding */ KEY_ESC; },
|
|
2217
2218
|
/* harmony export */ KEY_F3: function() { return /* binding */ KEY_F3; },
|
|
2219
|
+
/* harmony export */ KEY_HOME: function() { return /* binding */ KEY_HOME; },
|
|
2218
2220
|
/* harmony export */ KEY_LEFT: function() { return /* binding */ KEY_LEFT; },
|
|
2219
2221
|
/* harmony export */ KEY_META: function() { return /* binding */ KEY_META; },
|
|
2220
2222
|
/* harmony export */ KEY_RIGHT: function() { return /* binding */ KEY_RIGHT; },
|
|
@@ -2286,7 +2288,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
2286
2288
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2287
2289
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2288
2290
|
}
|
|
2289
|
-
var APP_VERSION = "4.15.
|
|
2291
|
+
var APP_VERSION = "4.15.13";
|
|
2290
2292
|
// prettier-ignore
|
|
2291
2293
|
var ES = "es5";
|
|
2292
2294
|
var IS_ES_MODERN = false;
|
|
@@ -2350,6 +2352,8 @@ var KEY_TAB = 'Tab';
|
|
|
2350
2352
|
var KEY_ENTER = 'Enter';
|
|
2351
2353
|
var KEY_ESC = 'Escape';
|
|
2352
2354
|
var KEY_ALT = 'Alt';
|
|
2355
|
+
var KEY_HOME = 'Home';
|
|
2356
|
+
var KEY_END = 'End';
|
|
2353
2357
|
var KEY_LEFT = 'ArrowLeft';
|
|
2354
2358
|
var KEY_UP = 'ArrowUp';
|
|
2355
2359
|
var KEY_RIGHT = 'ArrowRight';
|
|
@@ -41074,6 +41078,19 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
41074
41078
|
|
|
41075
41079
|
|
|
41076
41080
|
|
|
41081
|
+
var INPUT_TAGS = new Set([
|
|
41082
|
+
'input',
|
|
41083
|
+
'textarea',
|
|
41084
|
+
'select'
|
|
41085
|
+
]);
|
|
41086
|
+
var FOCUSABLE_SELECTOR = [
|
|
41087
|
+
'button:not([disabled])',
|
|
41088
|
+
'a[href]',
|
|
41089
|
+
'input:not([disabled]):not([type="hidden"])',
|
|
41090
|
+
'select:not([disabled])',
|
|
41091
|
+
'textarea:not([disabled])',
|
|
41092
|
+
'[tabindex]:not([tabindex="-1"])'
|
|
41093
|
+
].join(',');
|
|
41077
41094
|
var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
41078
41095
|
"use strict";
|
|
41079
41096
|
_inherits(ToolbarButton, UIButton);
|
|
@@ -41373,7 +41390,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41373
41390
|
{
|
|
41374
41391
|
key: "onTriggerKeyDown",
|
|
41375
41392
|
value: function onTriggerKeyDown(e) {
|
|
41376
|
-
if (this.state.disabled
|
|
41393
|
+
if (this.state.disabled) {
|
|
41394
|
+
return;
|
|
41395
|
+
}
|
|
41396
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_DOWN) {
|
|
41397
|
+
this.onButtonKeyDown(e);
|
|
41398
|
+
return;
|
|
41399
|
+
}
|
|
41400
|
+
if (![
|
|
41377
41401
|
_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_ENTER,
|
|
41378
41402
|
_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_SPACE,
|
|
41379
41403
|
' '
|
|
@@ -41386,6 +41410,77 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41386
41410
|
},
|
|
41387
41411
|
{
|
|
41388
41412
|
/**
|
|
41413
|
+
* `ArrowDown` on a button with a trigger opens its dropdown and moves the
|
|
41414
|
+
* focus into it, like the WAI-ARIA menu button pattern
|
|
41415
|
+
*/ key: "onButtonKeyDown",
|
|
41416
|
+
value: function onButtonKeyDown(e) {
|
|
41417
|
+
var _a;
|
|
41418
|
+
if (e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_DOWN || this.state.disabled || !this.state.hasTrigger || e.altKey || e.ctrlKey || e.metaKey) {
|
|
41419
|
+
return;
|
|
41420
|
+
}
|
|
41421
|
+
e.preventDefault();
|
|
41422
|
+
e.stopPropagation();
|
|
41423
|
+
if (!this.openedPopup) {
|
|
41424
|
+
this.trigger.click();
|
|
41425
|
+
}
|
|
41426
|
+
(_a = this.__popupFocusables()[0]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
41427
|
+
}
|
|
41428
|
+
},
|
|
41429
|
+
{
|
|
41430
|
+
/**
|
|
41431
|
+
* Inside the dropdown: `ArrowDown`/`ArrowUp` walk the items, `Escape` and
|
|
41432
|
+
* `ArrowUp` on the first item close it and give the focus back to the button
|
|
41433
|
+
*/ key: "__onPopupKeyDown",
|
|
41434
|
+
value: function __onPopupKeyDown(e) {
|
|
41435
|
+
if (!this.openedPopup || e.altKey || e.ctrlKey || e.metaKey) {
|
|
41436
|
+
return;
|
|
41437
|
+
}
|
|
41438
|
+
var target = e.target;
|
|
41439
|
+
// A text field keeps the arrow keys for itself
|
|
41440
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_6__.Dom.isTag(target, INPUT_TAGS) && e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_ESC) {
|
|
41441
|
+
return;
|
|
41442
|
+
}
|
|
41443
|
+
var items = this.__popupFocusables(), index = items.indexOf(target);
|
|
41444
|
+
switch(e.key){
|
|
41445
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_ESC:
|
|
41446
|
+
this.__closePopup();
|
|
41447
|
+
break;
|
|
41448
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_UP:
|
|
41449
|
+
if (index <= 0) {
|
|
41450
|
+
this.__closePopup();
|
|
41451
|
+
} else {
|
|
41452
|
+
items[index - 1].focus();
|
|
41453
|
+
}
|
|
41454
|
+
break;
|
|
41455
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_DOWN:
|
|
41456
|
+
if (!items.length) {
|
|
41457
|
+
return;
|
|
41458
|
+
}
|
|
41459
|
+
items[(index + 1) % items.length].focus();
|
|
41460
|
+
break;
|
|
41461
|
+
default:
|
|
41462
|
+
return;
|
|
41463
|
+
}
|
|
41464
|
+
e.preventDefault();
|
|
41465
|
+
e.stopPropagation();
|
|
41466
|
+
}
|
|
41467
|
+
},
|
|
41468
|
+
{
|
|
41469
|
+
/**
|
|
41470
|
+
* Visible controls of the opened dropdown that can take the focus
|
|
41471
|
+
*/ key: "__popupFocusables",
|
|
41472
|
+
value: function __popupFocusables() {
|
|
41473
|
+
var popup = this.openedPopup;
|
|
41474
|
+
if (!popup) {
|
|
41475
|
+
return [];
|
|
41476
|
+
}
|
|
41477
|
+
return Array.from(popup.container.querySelectorAll(FOCUSABLE_SELECTOR)).filter(function(elm) {
|
|
41478
|
+
return Boolean(elm.offsetParent);
|
|
41479
|
+
});
|
|
41480
|
+
}
|
|
41481
|
+
},
|
|
41482
|
+
{
|
|
41483
|
+
/**
|
|
41389
41484
|
* Create an open popup list
|
|
41390
41485
|
*/ key: "__openControlList",
|
|
41391
41486
|
value: function __openControlList(control) {
|
|
@@ -41471,7 +41566,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41471
41566
|
value: function openPopup() {
|
|
41472
41567
|
this.__closePopup();
|
|
41473
41568
|
this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_20__.Popup(this.j, false);
|
|
41474
|
-
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick);
|
|
41569
|
+
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick).on(this.openedPopup.container, 'keydown', this.__onPopupKeyDown);
|
|
41475
41570
|
return this.openedPopup;
|
|
41476
41571
|
}
|
|
41477
41572
|
},
|
|
@@ -41490,12 +41585,18 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41490
41585
|
// throws NotFoundError. See #1458
|
|
41491
41586
|
this.openedPopup = null;
|
|
41492
41587
|
this.j.e.off(this.ow, 'mousedown touchstart', this.onOutsideClick).off('escape closeAllPopups', this.onOutsideClick);
|
|
41588
|
+
// The keyboard brought the focus into the dropdown: give it back to
|
|
41589
|
+
// the button, otherwise it would fall out to the document
|
|
41590
|
+
var activeElement = this.od.activeElement, hadFocus = activeElement && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_6__.Dom.isOrContains(popup.container, activeElement);
|
|
41493
41591
|
this.state.activated = false;
|
|
41494
41592
|
popup.close();
|
|
41495
41593
|
popup.destruct();
|
|
41496
41594
|
if (this.trigger) {
|
|
41497
41595
|
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_15__.attr)(this.trigger, 'aria-expanded', false);
|
|
41498
41596
|
}
|
|
41597
|
+
if (hadFocus) {
|
|
41598
|
+
this.focus();
|
|
41599
|
+
}
|
|
41499
41600
|
}
|
|
41500
41601
|
},
|
|
41501
41602
|
{
|
|
@@ -41562,6 +41663,12 @@ __decorate([
|
|
|
41562
41663
|
__decorate([
|
|
41563
41664
|
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_5__.watch)('trigger:keydown')
|
|
41564
41665
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
41666
|
+
__decorate([
|
|
41667
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_5__.watch)('button:keydown')
|
|
41668
|
+
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
41669
|
+
__decorate([
|
|
41670
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
41671
|
+
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
41565
41672
|
__decorate([
|
|
41566
41673
|
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
41567
41674
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
@@ -45396,11 +45503,12 @@ UiAiAssistant = __decorate([
|
|
|
45396
45503
|
/* harmony import */ var _tab_tab_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(767);
|
|
45397
45504
|
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(43003);
|
|
45398
45505
|
/* harmony import */ var _table_keyboard_navigation_table_keyboard_navigation_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(72439);
|
|
45399
|
-
/* harmony import */ var
|
|
45400
|
-
/* harmony import */ var
|
|
45401
|
-
/* harmony import */ var
|
|
45402
|
-
/* harmony import */ var
|
|
45403
|
-
/* harmony import */ var
|
|
45506
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(94529);
|
|
45507
|
+
/* harmony import */ var _video_video_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(26551);
|
|
45508
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(72253);
|
|
45509
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(65735);
|
|
45510
|
+
/* harmony import */ var _xpath_xpath_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(83671);
|
|
45511
|
+
/* harmony import */ var _speech_recognize_speech_recognize_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(3115);
|
|
45404
45512
|
/*!
|
|
45405
45513
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45406
45514
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45470,6 +45578,7 @@ UiAiAssistant = __decorate([
|
|
|
45470
45578
|
|
|
45471
45579
|
|
|
45472
45580
|
|
|
45581
|
+
|
|
45473
45582
|
|
|
45474
45583
|
|
|
45475
45584
|
// JODIT-START:FAT
|
|
@@ -56746,8 +56855,9 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
56746
56855
|
/* harmony import */ var _size_size_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(45927);
|
|
56747
56856
|
/* harmony import */ var _stat_stat_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(7309);
|
|
56748
56857
|
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(43003);
|
|
56749
|
-
/* harmony import */ var
|
|
56750
|
-
/* harmony import */ var
|
|
56858
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(94529);
|
|
56859
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(72253);
|
|
56860
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(65735);
|
|
56751
56861
|
/*!
|
|
56752
56862
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
56753
56863
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -56779,6 +56889,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
56779
56889
|
|
|
56780
56890
|
|
|
56781
56891
|
|
|
56892
|
+
|
|
56782
56893
|
|
|
56783
56894
|
|
|
56784
56895
|
/***/ }),
|
|
@@ -73215,6 +73326,314 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_0__.pluginSystem.add('table', table);
|
|
|
73215
73326
|
/* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2.5\"/><path d=\"M3 9h18M3 15h18M9 3v18M15 3v18\"/> </g> </svg> ");
|
|
73216
73327
|
|
|
73217
73328
|
|
|
73329
|
+
/***/ }),
|
|
73330
|
+
|
|
73331
|
+
/***/ 94529:
|
|
73332
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
73333
|
+
|
|
73334
|
+
/* unused harmony export toolbarNavigation */
|
|
73335
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
73336
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
|
|
73337
|
+
/* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37133);
|
|
73338
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2748);
|
|
73339
|
+
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(580);
|
|
73340
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
|
|
73341
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
73342
|
+
function _array_like_to_array(arr, len) {
|
|
73343
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
73344
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
73345
|
+
return arr2;
|
|
73346
|
+
}
|
|
73347
|
+
function _array_with_holes(arr) {
|
|
73348
|
+
if (Array.isArray(arr)) return arr;
|
|
73349
|
+
}
|
|
73350
|
+
function _assert_this_initialized(self) {
|
|
73351
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
73352
|
+
return self;
|
|
73353
|
+
}
|
|
73354
|
+
function _call_super(_this, derived, args) {
|
|
73355
|
+
derived = _get_prototype_of(derived);
|
|
73356
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
73357
|
+
}
|
|
73358
|
+
function _class_call_check(instance, Constructor) {
|
|
73359
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
73360
|
+
}
|
|
73361
|
+
function _construct(Parent, args, Class) {
|
|
73362
|
+
if (_is_native_reflect_construct()) _construct = Reflect.construct;
|
|
73363
|
+
else {
|
|
73364
|
+
_construct = function construct(Parent, args, Class) {
|
|
73365
|
+
var a = [
|
|
73366
|
+
null
|
|
73367
|
+
];
|
|
73368
|
+
a.push.apply(a, args);
|
|
73369
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
73370
|
+
var instance = new Constructor();
|
|
73371
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
73372
|
+
return instance;
|
|
73373
|
+
};
|
|
73374
|
+
}
|
|
73375
|
+
return _construct.apply(null, arguments);
|
|
73376
|
+
}
|
|
73377
|
+
function _defineProperties(target, props) {
|
|
73378
|
+
for(var i = 0; i < props.length; i++){
|
|
73379
|
+
var descriptor = props[i];
|
|
73380
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
73381
|
+
descriptor.configurable = true;
|
|
73382
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
73383
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
73384
|
+
}
|
|
73385
|
+
}
|
|
73386
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
73387
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
73388
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
73389
|
+
return Constructor;
|
|
73390
|
+
}
|
|
73391
|
+
function _get_prototype_of(o) {
|
|
73392
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
73393
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
73394
|
+
};
|
|
73395
|
+
return _get_prototype_of(o);
|
|
73396
|
+
}
|
|
73397
|
+
function _inherits(subClass, superClass) {
|
|
73398
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
73399
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
73400
|
+
}
|
|
73401
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
73402
|
+
constructor: {
|
|
73403
|
+
value: subClass,
|
|
73404
|
+
writable: true,
|
|
73405
|
+
configurable: true
|
|
73406
|
+
}
|
|
73407
|
+
});
|
|
73408
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
73409
|
+
}
|
|
73410
|
+
function _is_native_function(fn) {
|
|
73411
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
73412
|
+
}
|
|
73413
|
+
function _is_native_reflect_construct() {
|
|
73414
|
+
try {
|
|
73415
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
73416
|
+
} catch (_) {}
|
|
73417
|
+
return (_is_native_reflect_construct = function() {
|
|
73418
|
+
return !!result;
|
|
73419
|
+
})();
|
|
73420
|
+
}
|
|
73421
|
+
function _iterable_to_array_limit(arr, i) {
|
|
73422
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
73423
|
+
if (_i == null) return;
|
|
73424
|
+
var _arr = [];
|
|
73425
|
+
var _n = true;
|
|
73426
|
+
var _d = false;
|
|
73427
|
+
var _s, _e;
|
|
73428
|
+
try {
|
|
73429
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
73430
|
+
_arr.push(_s.value);
|
|
73431
|
+
if (i && _arr.length === i) break;
|
|
73432
|
+
}
|
|
73433
|
+
} catch (err) {
|
|
73434
|
+
_d = true;
|
|
73435
|
+
_e = err;
|
|
73436
|
+
} finally{
|
|
73437
|
+
try {
|
|
73438
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
73439
|
+
} finally{
|
|
73440
|
+
if (_d) throw _e;
|
|
73441
|
+
}
|
|
73442
|
+
}
|
|
73443
|
+
return _arr;
|
|
73444
|
+
}
|
|
73445
|
+
function _non_iterable_rest() {
|
|
73446
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
73447
|
+
}
|
|
73448
|
+
function _possible_constructor_return(self, call) {
|
|
73449
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
73450
|
+
return _assert_this_initialized(self);
|
|
73451
|
+
}
|
|
73452
|
+
function _set_prototype_of(o, p) {
|
|
73453
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
73454
|
+
o.__proto__ = p;
|
|
73455
|
+
return o;
|
|
73456
|
+
};
|
|
73457
|
+
return _set_prototype_of(o, p);
|
|
73458
|
+
}
|
|
73459
|
+
function _sliced_to_array(arr, i) {
|
|
73460
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
73461
|
+
}
|
|
73462
|
+
function _type_of(obj) {
|
|
73463
|
+
"@swc/helpers - typeof";
|
|
73464
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
73465
|
+
}
|
|
73466
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
73467
|
+
if (!o) return;
|
|
73468
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
73469
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
73470
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
73471
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
73472
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
73473
|
+
}
|
|
73474
|
+
function _wrap_native_super(Class) {
|
|
73475
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
73476
|
+
_wrap_native_super = function(Class) {
|
|
73477
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
73478
|
+
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
73479
|
+
if (typeof _cache !== "undefined") {
|
|
73480
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
73481
|
+
_cache.set(Class, Wrapper);
|
|
73482
|
+
}
|
|
73483
|
+
function Wrapper() {
|
|
73484
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
73485
|
+
}
|
|
73486
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
73487
|
+
constructor: {
|
|
73488
|
+
value: Wrapper,
|
|
73489
|
+
enumerable: false,
|
|
73490
|
+
writable: true,
|
|
73491
|
+
configurable: true
|
|
73492
|
+
}
|
|
73493
|
+
});
|
|
73494
|
+
return _set_prototype_of(Wrapper, Class);
|
|
73495
|
+
};
|
|
73496
|
+
return _wrap_native_super(Class);
|
|
73497
|
+
}
|
|
73498
|
+
/*!
|
|
73499
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
73500
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
73501
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
73502
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
73503
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
73504
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
73505
|
+
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;
|
|
73506
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
73507
|
+
};
|
|
73508
|
+
|
|
73509
|
+
|
|
73510
|
+
|
|
73511
|
+
|
|
73512
|
+
|
|
73513
|
+
|
|
73514
|
+
|
|
73515
|
+
var INPUT_TAGS = new Set([
|
|
73516
|
+
'input',
|
|
73517
|
+
'textarea',
|
|
73518
|
+
'select'
|
|
73519
|
+
]);
|
|
73520
|
+
/**
|
|
73521
|
+
* Makes the toolbar reachable from the keyboard, as described by the WAI-ARIA
|
|
73522
|
+
* authoring practices for a `role="toolbar"` widget.
|
|
73523
|
+
*
|
|
73524
|
+
* The focus is moved programmatically, so this works whatever
|
|
73525
|
+
* {@link Config.allowTabNavigation} does with the tab order — including the
|
|
73526
|
+
* default, where the buttons take no part in the page tab order.
|
|
73527
|
+
*/ var toolbarNavigation = /*#__PURE__*/ function(Plugin) {
|
|
73528
|
+
"use strict";
|
|
73529
|
+
_inherits(toolbarNavigation, Plugin);
|
|
73530
|
+
function toolbarNavigation() {
|
|
73531
|
+
_class_call_check(this, toolbarNavigation);
|
|
73532
|
+
return _call_super(this, toolbarNavigation, arguments);
|
|
73533
|
+
}
|
|
73534
|
+
_create_class(toolbarNavigation, [
|
|
73535
|
+
{
|
|
73536
|
+
/** @override */ key: "afterInit",
|
|
73537
|
+
value: function afterInit(jodit) {
|
|
73538
|
+
jodit.registerCommand('focusToolbar', {
|
|
73539
|
+
hotkeys: 'alt+f10',
|
|
73540
|
+
exec: this.focusToolbar
|
|
73541
|
+
});
|
|
73542
|
+
}
|
|
73543
|
+
},
|
|
73544
|
+
{
|
|
73545
|
+
/** @override */ key: "beforeDestruct",
|
|
73546
|
+
value: function beforeDestruct() {}
|
|
73547
|
+
},
|
|
73548
|
+
{
|
|
73549
|
+
/**
|
|
73550
|
+
* Moves the focus to the first button of the toolbar.
|
|
73551
|
+
*
|
|
73552
|
+
* Bound to `Alt+F10` by default; remap it like any other command:
|
|
73553
|
+
* `commandToHotkeys: { focusToolbar: 'alt+0' }`
|
|
73554
|
+
*/ key: "focusToolbar",
|
|
73555
|
+
value: function focusToolbar() {
|
|
73556
|
+
var _this___buttons = _sliced_to_array(this.__buttons(), 1), first = _this___buttons[0];
|
|
73557
|
+
first === null || first === void 0 ? void 0 : first.focus();
|
|
73558
|
+
return false;
|
|
73559
|
+
}
|
|
73560
|
+
},
|
|
73561
|
+
{
|
|
73562
|
+
/**
|
|
73563
|
+
* Arrow keys / `Home` / `End` walk the buttons, `Escape` leaves the toolbar
|
|
73564
|
+
*/ key: "onKeyDown",
|
|
73565
|
+
value: function onKeyDown(e) {
|
|
73566
|
+
if (e.defaultPrevented || e.altKey || e.ctrlKey || e.metaKey) {
|
|
73567
|
+
return;
|
|
73568
|
+
}
|
|
73569
|
+
var target = e.target;
|
|
73570
|
+
// A control that needs the arrow keys for itself
|
|
73571
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isTag(target, INPUT_TAGS) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isHTMLElement(target) && target.isContentEditable) {
|
|
73572
|
+
return;
|
|
73573
|
+
}
|
|
73574
|
+
var buttons = this.__buttons();
|
|
73575
|
+
if (!buttons.length) {
|
|
73576
|
+
return;
|
|
73577
|
+
}
|
|
73578
|
+
switch(e.key){
|
|
73579
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC:
|
|
73580
|
+
this.j.s.focus();
|
|
73581
|
+
break;
|
|
73582
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_HOME:
|
|
73583
|
+
buttons[0].focus();
|
|
73584
|
+
break;
|
|
73585
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_END:
|
|
73586
|
+
buttons[buttons.length - 1].focus();
|
|
73587
|
+
break;
|
|
73588
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT:
|
|
73589
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT:
|
|
73590
|
+
{
|
|
73591
|
+
var index = buttons.findIndex(function(button) {
|
|
73592
|
+
return button.container.contains(target);
|
|
73593
|
+
});
|
|
73594
|
+
if (index === -1) {
|
|
73595
|
+
return;
|
|
73596
|
+
}
|
|
73597
|
+
var forward = e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT !== this.__isRtl(), next = index + (forward ? 1 : -1);
|
|
73598
|
+
buttons[(next + buttons.length) % buttons.length].focus();
|
|
73599
|
+
break;
|
|
73600
|
+
}
|
|
73601
|
+
default:
|
|
73602
|
+
return;
|
|
73603
|
+
}
|
|
73604
|
+
e.preventDefault();
|
|
73605
|
+
e.stopPropagation();
|
|
73606
|
+
return false;
|
|
73607
|
+
}
|
|
73608
|
+
},
|
|
73609
|
+
{
|
|
73610
|
+
/**
|
|
73611
|
+
* Toolbar buttons that can take the focus right now
|
|
73612
|
+
*/ key: "__buttons",
|
|
73613
|
+
value: function __buttons() {
|
|
73614
|
+
return this.j.toolbar.buttons.filter(function(button) {
|
|
73615
|
+
return !button.state.disabled && button.container.isConnected;
|
|
73616
|
+
});
|
|
73617
|
+
}
|
|
73618
|
+
},
|
|
73619
|
+
{
|
|
73620
|
+
key: "__isRtl",
|
|
73621
|
+
value: function __isRtl() {
|
|
73622
|
+
return (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.j.toolbar.container, 'dir') === 'rtl';
|
|
73623
|
+
}
|
|
73624
|
+
}
|
|
73625
|
+
]);
|
|
73626
|
+
return toolbarNavigation;
|
|
73627
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_6__.Plugin));
|
|
73628
|
+
__decorate([
|
|
73629
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
73630
|
+
], toolbarNavigation.prototype, "focusToolbar", null);
|
|
73631
|
+
__decorate([
|
|
73632
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_2__.watch)('j.toolbar.container:keydown.toolbar-navigation')
|
|
73633
|
+
], toolbarNavigation.prototype, "onKeyDown", null);
|
|
73634
|
+
_core_global_js__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('toolbarNavigation', toolbarNavigation);
|
|
73635
|
+
|
|
73636
|
+
|
|
73218
73637
|
/***/ }),
|
|
73219
73638
|
|
|
73220
73639
|
/***/ 14984:
|