jodit-pro 4.6.10 → 4.6.12
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/.nvmrc +1 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +1275 -1328
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +65 -65
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +110 -110
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +7 -7
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +37 -37
- package/es2015/plugins/color-picker/color-picker.min.js +2 -2
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +47 -47
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +18 -18
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +452 -452
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +265 -265
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +60 -60
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +26 -26
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +27 -27
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +51 -51
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +27 -27
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +62 -62
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +62 -62
- package/es2015/plugins/translate/translate.min.js +2 -2
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +50 -50
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +1120 -1118
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +64 -64
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +110 -110
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +7 -7
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +37 -37
- package/es2018/plugins/color-picker/color-picker.min.js +2 -2
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +45 -45
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +446 -446
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +262 -262
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +60 -60
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +26 -26
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +27 -27
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +49 -49
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +27 -27
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +62 -62
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +61 -61
- package/es2018/plugins/translate/translate.min.js +2 -2
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +50 -50
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +1120 -1118
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +64 -64
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +110 -110
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +7 -7
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +37 -37
- package/es2021/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +45 -45
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +446 -446
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +262 -262
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +60 -60
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +27 -27
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +49 -49
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +62 -62
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +61 -61
- package/es2021/plugins/translate/translate.min.js +2 -2
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +50 -50
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +1120 -1118
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +64 -64
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +110 -110
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +7 -7
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +37 -37
- package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +45 -45
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +446 -446
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +262 -262
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +60 -60
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +27 -27
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +49 -49
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- 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 +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +62 -62
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +61 -61
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +50 -50
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1458 -1568
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +80 -80
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +137 -137
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +17 -17
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +40 -40
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +54 -54
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +21 -21
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +495 -495
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +299 -299
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +17 -17
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +26 -26
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +43 -43
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +62 -62
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +28 -28
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +29 -29
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +55 -55
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +28 -28
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +64 -64
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +77 -77
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +65 -65
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/index.js +1 -1
- package/esm/jodit-pro.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
- package/esm/plugins/backup/backup.js +1 -1
- package/esm/plugins/backup/modules/store.js +1 -1
- package/esm/plugins/backup/ui/list.js +1 -1
- package/esm/plugins/button-generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/button/button.js +1 -1
- package/esm/plugins/button-generator/ui/form/form.js +1 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/preview/preview.js +1 -1
- package/esm/plugins/change-case/change-case.js +1 -1
- package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/emoji/emoji.js +1 -1
- package/esm/plugins/emoji/ui/emoji.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/finder.js +1 -1
- package/esm/plugins/finder/helpers/context-menu.js +1 -1
- package/esm/plugins/finder/helpers/helpers.js +1 -1
- package/esm/plugins/finder/helpers/loading-manager.js +1 -1
- package/esm/plugins/finder/helpers/persistent-store.js +1 -1
- package/esm/plugins/finder/helpers/state-manager.js +1 -1
- package/esm/plugins/finder/ui/folder/folder.js +1 -1
- package/esm/plugins/finder/ui/header/header.js +1 -1
- package/esm/plugins/finder/ui/item/item.js +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
- package/esm/plugins/finder/ui/panel/panel.js +1 -1
- package/esm/plugins/finder/ui/preview/preview.js +1 -1
- package/esm/plugins/finder/ui/progress/progress.js +1 -1
- package/esm/plugins/finder/ui/settings/settings.js +1 -1
- package/esm/plugins/finder/ui/source/source.js +1 -1
- package/esm/plugins/finder/ui/sources/sources.js +1 -1
- package/esm/plugins/finder/ui/tree/tree.js +1 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
- package/esm/plugins/google-maps/google-maps.js +1 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
- package/esm/plugins/google-maps/helpers/helpers.js +1 -1
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
- package/esm/plugins/google-maps/ui/editors/base.js +1 -1
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
- package/esm/plugins/google-maps/ui/map/map.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
- package/esm/plugins/license/helpers/helpers.js +1 -1
- package/esm/plugins/license/license.js +1 -1
- package/esm/plugins/mobile-view/mobile-view.js +1 -1
- package/esm/plugins/page-break/page-break.js +1 -1
- package/esm/plugins/paste-code/paste-code.js +1 -1
- package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
- package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
- package/esm/plugins/paste-from-word/element/checkers.js +1 -1
- package/esm/plugins/paste-from-word/element/element.js +1 -1
- package/esm/plugins/paste-from-word/element/render.js +1 -1
- package/esm/plugins/paste-from-word/element/style.js +1 -1
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
- package/esm/plugins/paste-from-word/helpers/helpers.js +1 -1
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
- package/esm/plugins/show-blocks/show-blocks.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/todo-list/todo-list.js +1 -1
- package/esm/plugins/translate/providers/google/google.js +1 -1
- package/esm/plugins/translate/translate.js +1 -1
- package/esm/plugins/translate/ui/list/list.js +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -25,9 +25,9 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
25
25
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26
26
|
/* harmony export */ K: function() { return /* binding */ UIIframeEditor; }
|
|
27
27
|
/* harmony export */ });
|
|
28
|
-
/* harmony import */ var
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
28
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
29
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
30
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
31
31
|
/*!
|
|
32
32
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
33
33
|
* See LICENSE.md in the project root for license information.
|
|
@@ -37,7 +37,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
let UIIframeEditor = class UIIframeEditor extends
|
|
40
|
+
let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIGroup */ .Ue {
|
|
41
41
|
className() {
|
|
42
42
|
return 'UIIframeEditor';
|
|
43
43
|
}
|
|
@@ -54,7 +54,7 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
54
54
|
title: ''
|
|
55
55
|
};
|
|
56
56
|
Object.assign(this.state, opt);
|
|
57
|
-
this.srcField = new
|
|
57
|
+
this.srcField = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
58
58
|
label: 'URL',
|
|
59
59
|
type: 'url',
|
|
60
60
|
required: true,
|
|
@@ -65,8 +65,8 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
65
65
|
});
|
|
66
66
|
this.append([
|
|
67
67
|
this.srcField,
|
|
68
|
-
new
|
|
69
|
-
new
|
|
68
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
69
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
70
70
|
label: 'Width',
|
|
71
71
|
type: 'number',
|
|
72
72
|
value: this.state.width,
|
|
@@ -74,7 +74,7 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
74
74
|
this.state.width = parseInt(v, 10) || 0;
|
|
75
75
|
}
|
|
76
76
|
}),
|
|
77
|
-
new
|
|
77
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
78
78
|
label: 'Height',
|
|
79
79
|
type: 'number',
|
|
80
80
|
value: this.state.height,
|
|
@@ -87,8 +87,8 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
87
87
|
className: this.getFullElName('block'),
|
|
88
88
|
align: 'center'
|
|
89
89
|
}),
|
|
90
|
-
new
|
|
91
|
-
new
|
|
90
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
91
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UICheckbox */ .cY(jodit, {
|
|
92
92
|
label: 'Show frame border',
|
|
93
93
|
checked: Boolean(opt.frameBorder),
|
|
94
94
|
onChange: (value) => {
|
|
@@ -96,7 +96,7 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
96
96
|
}
|
|
97
97
|
})
|
|
98
98
|
]),
|
|
99
|
-
new
|
|
99
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
100
100
|
label: 'Name',
|
|
101
101
|
value: this.state.name,
|
|
102
102
|
type: 'text',
|
|
@@ -104,7 +104,7 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
104
104
|
this.state.name = v;
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
|
-
new
|
|
107
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
108
108
|
label: 'Title',
|
|
109
109
|
value: this.state.title,
|
|
110
110
|
type: 'text',
|
|
@@ -115,8 +115,8 @@ let UIIframeEditor = class UIIframeEditor extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
115
115
|
]);
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
|
-
UIIframeEditor = (0,
|
|
119
|
-
|
|
118
|
+
UIIframeEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
119
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
120
120
|
], UIIframeEditor);
|
|
121
121
|
|
|
122
122
|
|
|
@@ -131,16 +131,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
131
131
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
132
132
|
/* harmony export */ IframeEditor: function() { return /* binding */ IframeEditor; }
|
|
133
133
|
/* harmony export */ });
|
|
134
|
-
/* harmony import */ var
|
|
135
|
-
/* harmony import */ var
|
|
136
|
-
/* harmony import */ var
|
|
137
|
-
/* harmony import */ var
|
|
138
|
-
/* harmony import */ var
|
|
139
|
-
/* harmony import */ var
|
|
140
|
-
/* harmony import */ var
|
|
141
|
-
/* harmony import */ var
|
|
142
|
-
/* harmony import */ var
|
|
143
|
-
/* harmony import */ var
|
|
134
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
135
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(86163);
|
|
136
|
+
/* harmony import */ var _ui_iframe_editor_iframe_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44611);
|
|
137
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65478);
|
|
138
|
+
/* harmony import */ var jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22732);
|
|
139
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21537);
|
|
140
|
+
/* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
141
|
+
/* harmony import */ var jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(62843);
|
|
142
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41409);
|
|
143
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34013);
|
|
144
144
|
/*!
|
|
145
145
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
146
146
|
* See LICENSE.md in the project root for license information.
|
|
@@ -156,7 +156,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
class IframeEditor extends
|
|
159
|
+
class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__/* .Plugin */ .k {
|
|
160
160
|
constructor() {
|
|
161
161
|
super(...arguments);
|
|
162
162
|
/** @override */
|
|
@@ -173,16 +173,16 @@ class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/*
|
|
|
173
173
|
}
|
|
174
174
|
toggleEditor(target) {
|
|
175
175
|
if (!this.__dialog) {
|
|
176
|
-
this.__dialog = new
|
|
176
|
+
this.__dialog = new jodit_esm_modules__WEBPACK_IMPORTED_MODULE_8__.Dialog({
|
|
177
177
|
language: this.j.o.language,
|
|
178
178
|
theme: this.j.o.theme
|
|
179
179
|
});
|
|
180
180
|
this.__dialog.setHeader('Iframe Properties').setSize(470, 400);
|
|
181
181
|
}
|
|
182
|
-
if (target && !
|
|
182
|
+
if (target && !jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .J.isTag(target, 'iframe')) {
|
|
183
183
|
target = undefined;
|
|
184
184
|
}
|
|
185
|
-
const ui = new
|
|
185
|
+
const ui = new _ui_iframe_editor_iframe_editor__WEBPACK_IMPORTED_MODULE_2__/* .UIIframeEditor */ .K(this.__dialog, {
|
|
186
186
|
src: target?.src ?? '',
|
|
187
187
|
name: target?.name ?? '',
|
|
188
188
|
title: target?.title ?? '',
|
|
@@ -197,8 +197,8 @@ class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/*
|
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
dlg.setFooter([
|
|
200
|
-
(0,
|
|
201
|
-
(0,
|
|
200
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__/* .Button */ .$n)(dlg, 'cancel', 'Cancel', 'default').onAction(() => dlg.close()),
|
|
201
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__/* .Button */ .$n)(dlg, 'ok', target ? 'Update' : 'Insert', 'primary').onAction(() => {
|
|
202
202
|
if (!ui.srcField.value) {
|
|
203
203
|
ui.srcField.validate();
|
|
204
204
|
ui.srcField.focus();
|
|
@@ -209,7 +209,7 @@ class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/*
|
|
|
209
209
|
this.j.s.insertNode(target, true, false);
|
|
210
210
|
}
|
|
211
211
|
target.className = ui.state.className || '';
|
|
212
|
-
(0,
|
|
212
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(target, {
|
|
213
213
|
src: ui.state.src,
|
|
214
214
|
title: ui.state.title,
|
|
215
215
|
name: ui.state.name,
|
|
@@ -217,8 +217,8 @@ class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/*
|
|
|
217
217
|
width: ui.state.width,
|
|
218
218
|
height: ui.state.height
|
|
219
219
|
});
|
|
220
|
-
if (
|
|
221
|
-
(0,
|
|
220
|
+
if (jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .J.isTag(target.parentElement, 'jodit')) {
|
|
221
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(target.parentElement, {
|
|
222
222
|
width: ui.state.width,
|
|
223
223
|
height: ui.state.height
|
|
224
224
|
});
|
|
@@ -236,7 +236,7 @@ class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/*
|
|
|
236
236
|
* DBLClick handler
|
|
237
237
|
*/
|
|
238
238
|
onDblClick(e) {
|
|
239
|
-
if (
|
|
239
|
+
if (jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .J.isTag(e.target, 'iframe')) {
|
|
240
240
|
this.toggleEditor(e.target);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
@@ -246,13 +246,13 @@ class IframeEditor extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/*
|
|
|
246
246
|
}
|
|
247
247
|
/** @override */
|
|
248
248
|
IframeEditor.requires = ['license', 'color-picker'];
|
|
249
|
-
(0,
|
|
250
|
-
|
|
249
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
250
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
251
251
|
], IframeEditor.prototype, "toggleEditor", null);
|
|
252
|
-
(0,
|
|
253
|
-
(0,
|
|
252
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
253
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':dblclick')
|
|
254
254
|
], IframeEditor.prototype, "onDblClick", null);
|
|
255
|
-
|
|
255
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__/* .JoditPro */ .A.plugins.add('iframe-editor', IframeEditor);
|
|
256
256
|
|
|
257
257
|
|
|
258
258
|
/***/ }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var s=t();for(var i in s)("object"==typeof exports?exports:e)[i]=s[i]}})(self,
|
|
10
|
+
((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var s=t();for(var i in s)("object"==typeof exports?exports:e)[i]=s[i]}})(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[122],{44611(e,t,s){"use strict";s.d(t,{K(){return o}});var i=s(31635),r=s(87325),a=s(67510);let o=class e extends a.Ue{className(){return"UIIframeEditor"}constructor(e,t){super(e),this.state={src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""},Object.assign(this.state,t),this.srcField=new a.tS(e,{label:"URL",type:"url",required:!0,value:this.state.src,onChange:e=>{this.state.src=e}}),this.append([this.srcField,new a.Yh(e,[new a.tS(e,{label:"Width",type:"number",value:this.state.width,onChange:e=>{this.state.width=parseInt(e,10)||0}}),new a.tS(e,{label:"Height",type:"number",value:this.state.height,onChange:e=>{this.state.height=parseInt(e,10)||0}})],{className:this.getFullElName("block"),align:"center"}),new a.Yh(e,[new a.cY(e,{label:"Show frame border",checked:!!t.frameBorder,onChange:e=>{this.state.frameBorder="true"===e}})]),new a.tS(e,{label:"Name",value:this.state.name,type:"text",onChange:e=>{this.state.name=e}}),new a.tS(e,{label:"Title",value:this.state.title,type:"text",onChange:e=>{this.state.title=e}})])}};o=(0,i.Cg)([r.s],o)},65239(e,t,s){"use strict";s.r(t),s.d(t,{IframeEditor(){return g}});var i=s(31635),r=(s(86163),s(44611)),a=s(65478),o=s(22732),l=s(21537),n=s(50911),h=s(62843),d=s(41409),c=s(34013);class g extends n.k{constructor(){super(...arguments),this.buttons=[{group:"form",name:"iframeEditor"}]}afterInit(e){e.e.on("toggleIframeEditor",this.toggleEditor)}toggleEditor(e){this.__dialog||(this.__dialog=new d.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!o.J.isTag(e,"iframe")&&(e=void 0);const t=new r.K(this.__dialog,{src:e?.src??"",name:e?.name??"",title:e?.title??"",frameBorder:"1"===e?.frameBorder||"yes"===e?.frameBorder,width:e?.offsetWidth??700,height:e?.offsetHeight??400});this.__dialog.setContent(t);const s=this.__dialog;s.isOpened?s.close():(s.setFooter([(0,h.$n)(s,"cancel","Cancel","default").onAction(()=>s.close()),(0,h.$n)(s,"ok",e?"Update":"Insert","primary").onAction(()=>{if(!t.srcField.value)return t.srcField.validate(),void t.srcField.focus();e||(e=this.j.createInside.element("iframe"),this.j.s.insertNode(e,!0,!1)),e.className=t.state.className||"",(0,l.attr)(e,{src:t.state.src,title:t.state.title,name:t.state.name,frameborder:t.state.frameBorder?"1":"0",width:t.state.width,height:t.state.height}),o.J.isTag(e.parentElement,"jodit")&&(0,l.css)(e.parentElement,{width:t.state.width,height:t.state.height}),this.jodit.e.fire("synchro"),s.close()})]).open(),this.jodit.async.requestIdleCallback(()=>{t.srcField.focus()}))}onDblClick(e){o.J.isTag(e.target,"iframe")&&this.toggleEditor(e.target)}beforeDestruct(e){this.__dialog?.destruct()}}g.requires=["license","color-picker"],(0,i.Cg)([a.autobind],g.prototype,"toggleEditor",null),(0,i.Cg)([(0,a.watch)(":dblclick")],g.prototype,"onDblClick",null),c.A.plugins.add("iframe-editor",g)},67008(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},86163(e,t,s){"use strict";var i=s(67008),r=s.n(i),a=s(6441),o=s(2748),l=s(68345);a.T.prototype.controls.iframeEditor={icon:r(),tooltip:"Iframe Editor",exec(e,t){o.J.isTag(t,"jodit")&&o.J.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",o.J.isTag(t,"iframe")?t:null)}},(0,l.c)(a.T.prototype.popup.iframe)&&a.T.prototype.popup.iframe.push("iframeEditor")}},e=>e(e.s=65239)])});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -46,21 +46,21 @@ module.exports = "<?xml version=\"1.0\" ?><svg viewBox=\"0 0 20 20\" xmlns=\"htt
|
|
|
46
46
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
47
47
|
/* harmony export */ u: function() { return /* binding */ UIKeyboard; }
|
|
48
48
|
/* harmony export */ });
|
|
49
|
-
/* harmony import */ var
|
|
50
|
-
/* harmony import */ var
|
|
51
|
-
/* harmony import */ var
|
|
52
|
-
/* harmony import */ var
|
|
53
|
-
/* harmony import */ var
|
|
54
|
-
/* harmony import */ var
|
|
55
|
-
/* harmony import */ var
|
|
56
|
-
/* harmony import */ var
|
|
57
|
-
/* harmony import */ var
|
|
58
|
-
/* harmony import */ var
|
|
59
|
-
/* harmony import */ var
|
|
60
|
-
/* harmony import */ var
|
|
61
|
-
/* harmony import */ var
|
|
62
|
-
/* harmony import */ var
|
|
63
|
-
/* harmony import */ var
|
|
49
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
50
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82758);
|
|
51
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
52
|
+
/* harmony import */ var jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(43555);
|
|
53
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67510);
|
|
54
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27926);
|
|
55
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
56
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(10690);
|
|
57
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
58
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(91997);
|
|
59
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
60
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(11699);
|
|
61
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
62
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(98126);
|
|
63
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
64
64
|
/*!
|
|
65
65
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
66
66
|
* See LICENSE.md in the project root for license information.
|
|
@@ -78,7 +78,7 @@ var UIKeyboard_1;
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
let UIKeyboard = UIKeyboard_1 = class UIKeyboard extends
|
|
81
|
+
let UIKeyboard = UIKeyboard_1 = class UIKeyboard extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__/* .UIElement */ .D$ {
|
|
82
82
|
/** @override */
|
|
83
83
|
className() {
|
|
84
84
|
return 'UIKeyboard';
|
|
@@ -145,7 +145,7 @@ let UIKeyboard = UIKeyboard_1 = class UIKeyboard extends jodit_esm_core_ui__WEBP
|
|
|
145
145
|
}
|
|
146
146
|
elm.innerHTML = UIKeyboard_1.decorate(value);
|
|
147
147
|
elm.classList.toggle(this.getFullElName('key', 'active', true), active);
|
|
148
|
-
(0,
|
|
148
|
+
(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .attr */ .CF)(elm, '-key', value);
|
|
149
149
|
}
|
|
150
150
|
onKeyUp() {
|
|
151
151
|
if (this.pressed) {
|
|
@@ -171,7 +171,7 @@ let UIKeyboard = UIKeyboard_1 = class UIKeyboard extends jodit_esm_core_ui__WEBP
|
|
|
171
171
|
}
|
|
172
172
|
this.pressed = true;
|
|
173
173
|
target.classList.add(this.getFullElName('key', 'pressed', true));
|
|
174
|
-
const key = (0,
|
|
174
|
+
const key = (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .attr */ .CF)(target, '-key');
|
|
175
175
|
switch (key) {
|
|
176
176
|
case 'Caps':
|
|
177
177
|
this.state.caps = !this.state.caps;
|
|
@@ -191,7 +191,7 @@ let UIKeyboard = UIKeyboard_1 = class UIKeyboard extends jodit_esm_core_ui__WEBP
|
|
|
191
191
|
break;
|
|
192
192
|
case 'Space':
|
|
193
193
|
case 'Tab':
|
|
194
|
-
this.j.s.insertNode(this.j.createInside.text(
|
|
194
|
+
this.j.s.insertNode(this.j.createInside.text(jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.NBSP_SPACE));
|
|
195
195
|
break;
|
|
196
196
|
default:
|
|
197
197
|
if (this.state.shift) {
|
|
@@ -221,44 +221,44 @@ let UIKeyboard = UIKeyboard_1 = class UIKeyboard extends jodit_esm_core_ui__WEBP
|
|
|
221
221
|
case 'Space':
|
|
222
222
|
return '';
|
|
223
223
|
case 'Enter':
|
|
224
|
-
return
|
|
224
|
+
return jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .In.get('enter');
|
|
225
225
|
case 'Backspace':
|
|
226
|
-
return (
|
|
226
|
+
return (jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_5___default());
|
|
227
227
|
case 'Shift':
|
|
228
|
-
return (
|
|
228
|
+
return (jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_8___default());
|
|
229
229
|
case 'Caps':
|
|
230
|
-
return (
|
|
230
|
+
return (jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6___default());
|
|
231
231
|
case 'Options':
|
|
232
|
-
return (
|
|
232
|
+
return (jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7___default());
|
|
233
233
|
case 'Tab':
|
|
234
|
-
return (
|
|
234
|
+
return (jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_9___default());
|
|
235
235
|
default:
|
|
236
236
|
return value;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
|
-
(0,
|
|
241
|
-
(0,
|
|
240
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
241
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)([
|
|
242
242
|
'state.currentLayout',
|
|
243
243
|
'state.options',
|
|
244
244
|
'state.shift',
|
|
245
245
|
'state.caps'
|
|
246
246
|
])
|
|
247
247
|
], UIKeyboard.prototype, "onStateChange", null);
|
|
248
|
-
(0,
|
|
249
|
-
(0,
|
|
248
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
249
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(['ow:mouseup'])
|
|
250
250
|
], UIKeyboard.prototype, "onKeyUp", null);
|
|
251
|
-
(0,
|
|
252
|
-
(0,
|
|
251
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
252
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.hook)('ready')
|
|
253
253
|
], UIKeyboard.prototype, "onReady", null);
|
|
254
|
-
(0,
|
|
255
|
-
|
|
254
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
255
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
256
256
|
], UIKeyboard.prototype, "stopPress", null);
|
|
257
|
-
(0,
|
|
258
|
-
(0,
|
|
257
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
258
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(['container:mousedown', 'container:touchstart'])
|
|
259
259
|
], UIKeyboard.prototype, "onKeyDown", null);
|
|
260
|
-
UIKeyboard = UIKeyboard_1 = (0,
|
|
261
|
-
|
|
260
|
+
UIKeyboard = UIKeyboard_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
261
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
262
262
|
], UIKeyboard);
|
|
263
263
|
|
|
264
264
|
|
|
@@ -400,16 +400,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
400
400
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
401
401
|
/* harmony export */ keyboard: function() { return /* binding */ keyboard; }
|
|
402
402
|
/* harmony export */ });
|
|
403
|
-
/* harmony import */ var
|
|
404
|
-
/* harmony import */ var
|
|
405
|
-
/* harmony import */ var
|
|
406
|
-
/* harmony import */ var
|
|
407
|
-
/* harmony import */ var
|
|
408
|
-
/* harmony import */ var
|
|
409
|
-
/* harmony import */ var
|
|
410
|
-
/* harmony import */ var
|
|
411
|
-
/* harmony import */ var
|
|
412
|
-
/* harmony import */ var
|
|
403
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
404
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56104);
|
|
405
|
+
/* harmony import */ var _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55380);
|
|
406
|
+
/* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
407
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65478);
|
|
408
|
+
/* harmony import */ var jodit_esm_core_helpers_checker__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27613);
|
|
409
|
+
/* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
410
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67510);
|
|
411
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41409);
|
|
412
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34013);
|
|
413
413
|
|
|
414
414
|
|
|
415
415
|
|
|
@@ -420,11 +420,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
420
420
|
|
|
421
421
|
|
|
422
422
|
|
|
423
|
-
class keyboard extends
|
|
423
|
+
class keyboard extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__/* .Plugin */ .k {
|
|
424
424
|
constructor(jodit) {
|
|
425
425
|
super(jodit);
|
|
426
426
|
/** @override */
|
|
427
|
-
this.hasStyle = !
|
|
427
|
+
this.hasStyle = !jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__/* .JoditPro */ .A.fatMode;
|
|
428
428
|
/** @override */
|
|
429
429
|
this.buttons = [
|
|
430
430
|
{
|
|
@@ -435,14 +435,14 @@ class keyboard extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plu
|
|
|
435
435
|
const { extraKeyButtons, extraKeyGroup } = jodit.o.keyboard;
|
|
436
436
|
if (extraKeyButtons.length) {
|
|
437
437
|
extraKeyButtons.forEach((key, index) => {
|
|
438
|
-
const id = (0,
|
|
438
|
+
const id = (0,jodit_esm_core_helpers_checker__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .Kg)(key) ? key : key.key, hotkeys = (0,jodit_esm_core_helpers_checker__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .Kg)(key) || !key.hotkeys
|
|
439
439
|
? [`ctrl+${index + 1}`]
|
|
440
440
|
: key.hotkeys;
|
|
441
441
|
jodit.registerButton({
|
|
442
442
|
name: `extraKeyboardButtons.${id}`,
|
|
443
443
|
group: extraKeyGroup
|
|
444
444
|
});
|
|
445
|
-
const { extraKeyboardButtons } =
|
|
445
|
+
const { extraKeyboardButtons } = jodit_esm_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions
|
|
446
446
|
.controls;
|
|
447
447
|
extraKeyboardButtons[id] = {
|
|
448
448
|
name: id,
|
|
@@ -469,17 +469,17 @@ class keyboard extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plu
|
|
|
469
469
|
*/
|
|
470
470
|
toggleKeyboard() {
|
|
471
471
|
if (!this.__keyboard) {
|
|
472
|
-
this.__keyboard = new
|
|
472
|
+
this.__keyboard = new jodit_esm_modules__WEBPACK_IMPORTED_MODULE_8__.Dialog({
|
|
473
473
|
toolbarButtonSize: 'tiny'
|
|
474
474
|
});
|
|
475
|
-
const ui = new
|
|
475
|
+
const ui = new _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_2__/* .UIKeyboard */ .u(this.j);
|
|
476
476
|
this.__keyboard
|
|
477
477
|
.setMod('slim', true)
|
|
478
478
|
.setMod('adaptive', false)
|
|
479
479
|
.setContent(ui);
|
|
480
480
|
const { showLayoutSwitcher, layoutSwitchList, layoutList } = this.j.o.keyboard;
|
|
481
481
|
if (showLayoutSwitcher) {
|
|
482
|
-
const switcher = new
|
|
482
|
+
const switcher = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_7__/* .UISelect */ .$6(this.__keyboard, {
|
|
483
483
|
value: ui.state.currentLayout,
|
|
484
484
|
options: layoutSwitchList.map((key) => {
|
|
485
485
|
const title = layoutList[key]?.title ?? key;
|
|
@@ -513,13 +513,13 @@ class keyboard extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plu
|
|
|
513
513
|
}
|
|
514
514
|
/** @override */
|
|
515
515
|
keyboard.requires = ['license'];
|
|
516
|
-
(0,
|
|
517
|
-
|
|
516
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
517
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
518
518
|
], keyboard.prototype, "insertChar", null);
|
|
519
|
-
(0,
|
|
520
|
-
|
|
519
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
520
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
521
521
|
], keyboard.prototype, "toggleKeyboard", null);
|
|
522
|
-
|
|
522
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__/* .JoditPro */ .A.plugins.add('keyboard', keyboard);
|
|
523
523
|
|
|
524
524
|
|
|
525
525
|
/***/ }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[702],{10690(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},11699(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},27926(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},55380(t,e,s){"use strict";s.d(e,{u(){return b}});var o,a=s(31635),r=s(82758),i=s(65478),n=s(43555),h=s(67510),p=s(27926),c=s.n(p),l=s(10690),y=s.n(l),d=s(91997),u=s.n(d),g=s(11699),k=s.n(g),v=s(98126),w=s.n(v);let b=o=class t extends h.D${className(){return"UIKeyboard"}render(){const{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{const o=[];for(let a=0;s>a;a+=1){const s=[];for(let o=0;t[a].length>o;o+=1)s.push(`<div style="width:${e*t[a][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){const{currentLayout:t,options:e,shift:s,caps:a}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t];let i=0;for(let t=0;r.length>t;t+=1)for(let n=0;r[t].length>n;n+=1){const h=r[t][n].split(" ");let p=h[0];s&&(p=h[1]),!s&&a&&h[1]&&o.isLetter(h[0])&&(p=h[1]),e&&(p=h[2]),this.setKeyValue(i,p??h[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){const s=this._keys[t];if(!s)return;let a=!1;const{options:r,shift:i,caps:h}=this.state;switch(e){case"Caps":a=h;break;case"Options":a=r;break;case"Shift":a=i}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,n.CF)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((t=>{t.classList.remove(this.getFullElName("key","pressed",!0))})))}onKeyDown(t,e=0){const s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));const o=(0,n.CF)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(r.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:a,delayKeyRepeat:i}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(t,a)),e||i),!1}constructor(t){super(t),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.In.get("enter");case"Backspace":return c();case"Shift":return k();case"Caps":return y();case"Options":return u();case"Tab":return w();default:return t}}};(0,a.Cg)([(0,i.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,a.Cg)([(0,i.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,a.Cg)([(0,i.hook)("ready")],b.prototype,"onReady",null),(0,a.Cg)([i.autobind],b.prototype,"stopPress",null),(0,a.Cg)([(0,i.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=o=(0,a.Cg)([i.component],b)},56104(t,e,s){"use strict";var o=s(63643),a=s.n(o),r=s(6441);r.T.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},r.T.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},r.T.prototype.controls.extraKeyboardButtons={}},61747(t,e,s){"use strict";s.r(e),s.d(e,{keyboard(){return y}});var o=s(31635),a=(s(56104),s(55380)),r=s(6441),i=s(65478),n=s(27613),h=s(50911),p=s(67510),c=s(41409),l=s(34013);class y extends h.k{constructor(t){super(t),this.hasStyle=!l.A.fatMode,this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach(((e,o)=>{const a=(0,n.Kg)(e)?e:e.key,i=(0,n.Kg)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+a,group:s});const{extraKeyboardButtons:h}=r.T.defaultOptions.controls;h[a]={name:a,tooltip:a,args:[a],hotkeys:i,command:"insertChar"}}))}afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(()=>this.__keyboard?.isOpened))}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new c.Dialog({toolbarButtonSize:"tiny"});const t=new a.u(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);const{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){const e=new p.$6(this.__keyboard,{value:t.state.currentLayout,options:s.map((t=>({text:o[t]?.title??t,value:t}))),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}}y.requires=["license"],(0,o.Cg)([i.autobind],y.prototype,"insertChar",null),(0,o.Cg)([i.autobind],y.prototype,"toggleKeyboard",null),l.A.plugins.add("keyboard",y)},63643(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},91997(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},98126(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'}},t=>t(t.s=61747)])}));
|
|
10
|
+
((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[702],{10690(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},11699(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},27926(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},55380(t,e,s){"use strict";s.d(e,{u(){return b}});var o,a=s(31635),r=s(82758),i=s(65478),n=s(43555),h=s(67510),p=s(27926),c=s.n(p),l=s(10690),y=s.n(l),d=s(91997),u=s.n(d),g=s(11699),k=s.n(g),v=s(98126),w=s.n(v);let b=o=class t extends h.D${className(){return"UIKeyboard"}render(){const{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{const o=[];for(let a=0;s>a;a+=1){const s=[];for(let o=0;t[a].length>o;o+=1)s.push(`<div style="width:${e*t[a][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){const{currentLayout:t,options:e,shift:s,caps:a}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t];let i=0;for(let t=0;r.length>t;t+=1)for(let n=0;r[t].length>n;n+=1){const h=r[t][n].split(" ");let p=h[0];s&&(p=h[1]),!s&&a&&h[1]&&o.isLetter(h[0])&&(p=h[1]),e&&(p=h[2]),this.setKeyValue(i,p??h[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){const s=this._keys[t];if(!s)return;let a=!1;const{options:r,shift:i,caps:h}=this.state;switch(e){case"Caps":a=h;break;case"Options":a=r;break;case"Shift":a=i}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,n.CF)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach(t=>{t.classList.remove(this.getFullElName("key","pressed",!0))}))}onKeyDown(t,e=0){const s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));const o=(0,n.CF)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(r.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:a,delayKeyRepeat:i}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout(()=>this.onKeyDown(t,a),e||i),!1}constructor(t){super(t),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.In.get("enter");case"Backspace":return c();case"Shift":return k();case"Caps":return y();case"Options":return u();case"Tab":return w();default:return t}}};(0,a.Cg)([(0,i.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,a.Cg)([(0,i.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,a.Cg)([(0,i.hook)("ready")],b.prototype,"onReady",null),(0,a.Cg)([i.autobind],b.prototype,"stopPress",null),(0,a.Cg)([(0,i.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=o=(0,a.Cg)([i.component],b)},56104(t,e,s){"use strict";var o=s(63643),a=s.n(o),r=s(6441);r.T.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},r.T.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},r.T.prototype.controls.extraKeyboardButtons={}},61747(t,e,s){"use strict";s.r(e),s.d(e,{keyboard(){return y}});var o=s(31635),a=(s(56104),s(55380)),r=s(6441),i=s(65478),n=s(27613),h=s(50911),p=s(67510),c=s(41409),l=s(34013);class y extends h.k{constructor(t){super(t),this.hasStyle=!l.A.fatMode,this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach((e,o)=>{const a=(0,n.Kg)(e)?e:e.key,i=(0,n.Kg)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+a,group:s});const{extraKeyboardButtons:h}=r.T.defaultOptions.controls;h[a]={name:a,tooltip:a,args:[a],hotkeys:i,command:"insertChar"}})}afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",()=>this.__keyboard?.isOpened)}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new c.Dialog({toolbarButtonSize:"tiny"});const t=new a.u(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);const{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){const e=new p.$6(this.__keyboard,{value:t.state.currentLayout,options:s.map(t=>({text:o[t]?.title??t,value:t})),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}}y.requires=["license"],(0,o.Cg)([i.autobind],y.prototype,"insertChar",null),(0,o.Cg)([i.autobind],y.prototype,"toggleKeyboard",null),l.A.plugins.add("keyboard",y)},63643(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},91997(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},98126(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'}},t=>t(t.s=61747)])});
|