jodit-pro 4.6.10 → 4.6.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/.nvmrc +1 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +1278 -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 +1123 -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 +1123 -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 +1123 -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 +1461 -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.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -25,16 +25,16 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
25
25
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26
26
|
/* harmony export */ D: function() { return /* binding */ UIBrowserPanel; }
|
|
27
27
|
/* harmony export */ });
|
|
28
|
-
/* harmony import */ var
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
31
|
-
/* harmony import */ var
|
|
32
|
-
/* harmony import */ var
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
36
|
-
/* harmony import */ var
|
|
37
|
-
/* harmony import */ var
|
|
28
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
29
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
30
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21537);
|
|
31
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
32
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_preview_preview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(93339);
|
|
33
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_settings_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(82999);
|
|
34
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_sidebar_sidebar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(81331);
|
|
35
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_sources_sources__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(82539);
|
|
36
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_statusbar_statusbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21775);
|
|
37
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_virtual_scroll_virtual_scroll__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54779);
|
|
38
38
|
/*!
|
|
39
39
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
40
40
|
* See LICENSE.md in the project root for license information.
|
|
@@ -51,7 +51,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
let UIBrowserPanel = class UIBrowserPanel extends
|
|
54
|
+
let UIBrowserPanel = class UIBrowserPanel extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIGroup */ .Ue {
|
|
55
55
|
/** @override */
|
|
56
56
|
className() {
|
|
57
57
|
return 'UIBrowserPanel';
|
|
@@ -66,9 +66,9 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
66
66
|
if (!this.items.elements.length) {
|
|
67
67
|
return 1;
|
|
68
68
|
}
|
|
69
|
-
const { container } = this.items.elements[0], margin = (0,
|
|
69
|
+
const { container } = this.items.elements[0], margin = (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(container, 'marginLeft');
|
|
70
70
|
return Math.floor(this.items.container.offsetWidth /
|
|
71
|
-
(container.offsetWidth + ((0,
|
|
71
|
+
(container.offsetWidth + ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isNumber)(margin) ? margin : 0)));
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Count elements in one column for calculate navigation
|
|
@@ -77,9 +77,9 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
77
77
|
if (!this.items.elements.length) {
|
|
78
78
|
return 1;
|
|
79
79
|
}
|
|
80
|
-
const { container } = this.items.elements[0], margin = (0,
|
|
80
|
+
const { container } = this.items.elements[0], margin = (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(container, 'marginTop');
|
|
81
81
|
return Math.floor(this.items.container.offsetHeight /
|
|
82
|
-
(container.offsetHeight + ((0,
|
|
82
|
+
(container.offsetHeight + ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isNumber)(margin) ? margin : 0)));
|
|
83
83
|
}
|
|
84
84
|
/** @override */
|
|
85
85
|
render() {
|
|
@@ -93,12 +93,12 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
93
93
|
this.stateManager = stateManager;
|
|
94
94
|
/** @override */
|
|
95
95
|
this.syncMod = true;
|
|
96
|
-
this.sources = new
|
|
97
|
-
this.sidebar = new
|
|
98
|
-
this.preview = new
|
|
99
|
-
this.statusbar = new
|
|
100
|
-
this.items = new
|
|
101
|
-
this.settings = new
|
|
96
|
+
this.sources = new jodit_pro_plugins_finder_ui_sources_sources__WEBPACK_IMPORTED_MODULE_7__/* .UIBrowserSources */ .T(this.j);
|
|
97
|
+
this.sidebar = new jodit_pro_plugins_finder_ui_sidebar_sidebar__WEBPACK_IMPORTED_MODULE_6__/* .UISidebar */ .H(this.jodit, [this.sources], this.stateManager.state);
|
|
98
|
+
this.preview = new jodit_pro_plugins_finder_ui_preview_preview__WEBPACK_IMPORTED_MODULE_4__/* .UIPreview */ .T(this.jodit, this.stateManager.state);
|
|
99
|
+
this.statusbar = new jodit_pro_plugins_finder_ui_statusbar_statusbar__WEBPACK_IMPORTED_MODULE_8__/* .UIBrowserStatusBar */ .E(this.j);
|
|
100
|
+
this.items = new jodit_pro_plugins_finder_ui_virtual_scroll_virtual_scroll__WEBPACK_IMPORTED_MODULE_9__/* .UIVirtualScroll */ .T(this.j, this.stateManager);
|
|
101
|
+
this.settings = new jodit_pro_plugins_finder_ui_settings_settings__WEBPACK_IMPORTED_MODULE_5__/* .UIBrowserSettings */ .K(this.jodit, this.stateManager.state);
|
|
102
102
|
this.state = stateManager.state;
|
|
103
103
|
this.append(this.sidebar, 'content');
|
|
104
104
|
this.append(this.items, 'content');
|
|
@@ -145,7 +145,7 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
145
145
|
const container = this.items.elements[this.stateManager.state.lastSelectedIndex]
|
|
146
146
|
?.container;
|
|
147
147
|
if (container) {
|
|
148
|
-
(0,
|
|
148
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(container, this.items.container, this.j.od);
|
|
149
149
|
container.focus();
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -196,65 +196,65 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_esm_core_ui__WEBPACK_IMP
|
|
|
196
196
|
this.j.e.fire('afterOpenFolder.filebrowser');
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
|
-
(0,
|
|
200
|
-
(0,
|
|
199
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
200
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.theme')
|
|
201
201
|
], UIBrowserPanel.prototype, "onChangeTheme", null);
|
|
202
|
-
(0,
|
|
203
|
-
(0,
|
|
202
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
203
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.elements')
|
|
204
204
|
], UIBrowserPanel.prototype, "onChangeElements", null);
|
|
205
|
-
(0,
|
|
206
|
-
(0,
|
|
205
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
206
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.activeElements')
|
|
207
207
|
], UIBrowserPanel.prototype, "onChangeActiveElements", null);
|
|
208
|
-
(0,
|
|
209
|
-
(0,
|
|
208
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
209
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.favorites', 'state.elements'])
|
|
210
210
|
], UIBrowserPanel.prototype, "onChangeFavorites", null);
|
|
211
|
-
(0,
|
|
212
|
-
(0,
|
|
211
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
212
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.sources')
|
|
213
213
|
], UIBrowserPanel.prototype, "onChangeSources", null);
|
|
214
|
-
(0,
|
|
215
|
-
(0,
|
|
214
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
215
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.lastSelectedIndex')
|
|
216
216
|
], UIBrowserPanel.prototype, "onChangeLastSelectedIndex", null);
|
|
217
|
-
(0,
|
|
218
|
-
(0,
|
|
217
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
218
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.info')
|
|
219
219
|
], UIBrowserPanel.prototype, "onChangeInfo", null);
|
|
220
|
-
(0,
|
|
221
|
-
(0,
|
|
220
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
221
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.currentPath', 'state.currentSource'])
|
|
222
222
|
], UIBrowserPanel.prototype, "onChangePathOrSource", null);
|
|
223
|
-
(0,
|
|
224
|
-
(0,
|
|
223
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
224
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showSettings')
|
|
225
225
|
], UIBrowserPanel.prototype, "onChangeShowSettings", null);
|
|
226
|
-
(0,
|
|
227
|
-
(0,
|
|
226
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
227
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showPreview')
|
|
228
228
|
], UIBrowserPanel.prototype, "onChangeShowPreview", null);
|
|
229
|
-
(0,
|
|
230
|
-
(0,
|
|
229
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
230
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showSideBar')
|
|
231
231
|
], UIBrowserPanel.prototype, "onChangeShowSideBar", null);
|
|
232
|
-
(0,
|
|
233
|
-
(0,
|
|
232
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
233
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.view')
|
|
234
234
|
], UIBrowserPanel.prototype, "onChangeView", null);
|
|
235
|
-
(0,
|
|
236
|
-
(0,
|
|
235
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
236
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tileSize')
|
|
237
237
|
], UIBrowserPanel.prototype, "onChangeTileSize", null);
|
|
238
|
-
(0,
|
|
239
|
-
(0,
|
|
238
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
239
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showFavorites')
|
|
240
240
|
], UIBrowserPanel.prototype, "onChangeShowFavorites", null);
|
|
241
|
-
(0,
|
|
242
|
-
(0,
|
|
241
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
242
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':dblclickItem.filebrowser')
|
|
243
243
|
], UIBrowserPanel.prototype, "onItemDblClick", null);
|
|
244
|
-
(0,
|
|
245
|
-
(0,
|
|
244
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
245
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':clickItem.filebrowser')
|
|
246
246
|
], UIBrowserPanel.prototype, "onItemClick", null);
|
|
247
|
-
(0,
|
|
248
|
-
(0,
|
|
247
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
248
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':togglePreview.filebrowser')
|
|
249
249
|
], UIBrowserPanel.prototype, "onTogglePreview", null);
|
|
250
|
-
(0,
|
|
251
|
-
(0,
|
|
250
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
251
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':toggleFavoriteItem')
|
|
252
252
|
], UIBrowserPanel.prototype, "onToggleFavoriteItem", null);
|
|
253
|
-
(0,
|
|
254
|
-
(0,
|
|
253
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
254
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':openFolder')
|
|
255
255
|
], UIBrowserPanel.prototype, "onFolderClick", null);
|
|
256
|
-
UIBrowserPanel = (0,
|
|
257
|
-
|
|
256
|
+
UIBrowserPanel = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
257
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
258
258
|
], UIBrowserPanel);
|
|
259
259
|
|
|
260
260
|
|
|
@@ -296,10 +296,10 @@ module.exports = "<svg viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/sv
|
|
|
296
296
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297
297
|
/* harmony export */ F: function() { return /* binding */ UITree; }
|
|
298
298
|
/* harmony export */ });
|
|
299
|
-
/* harmony import */ var
|
|
300
|
-
/* harmony import */ var
|
|
301
|
-
/* harmony import */ var
|
|
302
|
-
/* harmony import */ var
|
|
299
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
300
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
301
|
+
/* harmony import */ var jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(62405);
|
|
302
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_folder_folder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47101);
|
|
303
303
|
/*!
|
|
304
304
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
305
305
|
* See LICENSE.md in the project root for license information.
|
|
@@ -311,7 +311,7 @@ var UITree_1;
|
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
let UITree = UITree_1 = class UITree extends
|
|
314
|
+
let UITree = UITree_1 = class UITree extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_2__/* .UIGroup */ .U {
|
|
315
315
|
/** @override */
|
|
316
316
|
className() {
|
|
317
317
|
return 'UITree';
|
|
@@ -325,7 +325,7 @@ let UITree = UITree_1 = class UITree extends jodit_esm_core_ui_group_group__WEBP
|
|
|
325
325
|
build(items) {
|
|
326
326
|
this.clear();
|
|
327
327
|
items.forEach((item) => {
|
|
328
|
-
const folder = new
|
|
328
|
+
const folder = new jodit_pro_plugins_finder_ui_folder_folder__WEBPACK_IMPORTED_MODULE_3__/* .UIBrowserFolder */ .R(this.jodit, item);
|
|
329
329
|
this.append(folder);
|
|
330
330
|
if (item.isActive) {
|
|
331
331
|
folder.setMod('active', true);
|
|
@@ -336,8 +336,8 @@ let UITree = UITree_1 = class UITree extends jodit_esm_core_ui_group_group__WEBP
|
|
|
336
336
|
});
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
|
-
UITree = UITree_1 = (0,
|
|
340
|
-
|
|
339
|
+
UITree = UITree_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
340
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
341
341
|
], UITree);
|
|
342
342
|
|
|
343
343
|
|
|
@@ -351,10 +351,10 @@ UITree = UITree_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .Cg)(
|
|
|
351
351
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
352
352
|
/* harmony export */ E: function() { return /* binding */ UIBrowserStatusBar; }
|
|
353
353
|
/* harmony export */ });
|
|
354
|
-
/* harmony import */ var
|
|
355
|
-
/* harmony import */ var
|
|
356
|
-
/* harmony import */ var
|
|
357
|
-
/* harmony import */ var
|
|
354
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
355
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
356
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
357
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
358
358
|
/*!
|
|
359
359
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
360
360
|
* See LICENSE.md in the project root for license information.
|
|
@@ -365,7 +365,7 @@ UITree = UITree_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .Cg)(
|
|
|
365
365
|
|
|
366
366
|
|
|
367
367
|
|
|
368
|
-
let UIBrowserStatusBar = class UIBrowserStatusBar extends
|
|
368
|
+
let UIBrowserStatusBar = class UIBrowserStatusBar extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D$ {
|
|
369
369
|
/** @override */
|
|
370
370
|
className() {
|
|
371
371
|
return 'UIBrowserStatusBar';
|
|
@@ -385,8 +385,8 @@ let UIBrowserStatusBar = class UIBrowserStatusBar extends jodit_esm_core_ui__WEB
|
|
|
385
385
|
return this;
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
|
-
UIBrowserStatusBar = (0,
|
|
389
|
-
|
|
388
|
+
UIBrowserStatusBar = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
389
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
390
390
|
], UIBrowserStatusBar);
|
|
391
391
|
|
|
392
392
|
|
|
@@ -400,14 +400,14 @@ UIBrowserStatusBar = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)
|
|
|
400
400
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
401
401
|
/* harmony export */ C: function() { return /* binding */ UIProgress; }
|
|
402
402
|
/* harmony export */ });
|
|
403
|
-
/* harmony import */ var
|
|
404
|
-
/* harmony import */ var
|
|
405
|
-
/* harmony import */ var
|
|
403
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
404
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
405
|
+
/* harmony import */ var jodit_esm_core_ui_progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23769);
|
|
406
406
|
|
|
407
407
|
|
|
408
408
|
|
|
409
409
|
|
|
410
|
-
let UIProgress = class UIProgress extends
|
|
410
|
+
let UIProgress = class UIProgress extends jodit_esm_core_ui_progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_2__/* .ProgressBar */ .z {
|
|
411
411
|
/** @override */
|
|
412
412
|
className() {
|
|
413
413
|
return 'UIProgress';
|
|
@@ -447,11 +447,11 @@ let UIProgress = class UIProgress extends jodit_esm_core_ui_progress_bar_progres
|
|
|
447
447
|
return this;
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
|
-
(0,
|
|
451
|
-
(0,
|
|
450
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
451
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.progress')
|
|
452
452
|
], UIProgress.prototype, "onProgress", null);
|
|
453
|
-
UIProgress = (0,
|
|
454
|
-
|
|
453
|
+
UIProgress = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
454
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
455
455
|
], UIProgress);
|
|
456
456
|
|
|
457
457
|
|
|
@@ -543,13 +543,13 @@ class UISelectItems {
|
|
|
543
543
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
544
544
|
/* harmony export */ Q: function() { return /* binding */ UIBrowserItem; }
|
|
545
545
|
/* harmony export */ });
|
|
546
|
-
/* harmony import */ var
|
|
547
|
-
/* harmony import */ var
|
|
548
|
-
/* harmony import */ var
|
|
549
|
-
/* harmony import */ var
|
|
550
|
-
/* harmony import */ var
|
|
551
|
-
/* harmony import */ var
|
|
552
|
-
/* harmony import */ var
|
|
546
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
547
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
548
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21537);
|
|
549
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38837);
|
|
550
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67510);
|
|
551
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41409);
|
|
552
|
+
/* harmony import */ var jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(159);
|
|
553
553
|
/*!
|
|
554
554
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
555
555
|
* See LICENSE.md in the project root for license information.
|
|
@@ -563,16 +563,16 @@ class UISelectItems {
|
|
|
563
563
|
|
|
564
564
|
|
|
565
565
|
|
|
566
|
-
let UIBrowserItem = class UIBrowserItem extends
|
|
566
|
+
let UIBrowserItem = class UIBrowserItem extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__/* .UIElement */ .D$ {
|
|
567
567
|
/** @override */
|
|
568
568
|
className() {
|
|
569
569
|
return 'UIBrowserItem';
|
|
570
570
|
}
|
|
571
571
|
constructor(jodit, item) {
|
|
572
572
|
super(jodit);
|
|
573
|
-
this.item =
|
|
573
|
+
this.item = jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_6__/* .FileBrowserItem */ .u.create(item);
|
|
574
574
|
jodit.e.on(this.container, 'click contextmenu dblclick', (e) => {
|
|
575
|
-
jodit.e.fire(e.type + 'Item.filebrowser', this.item, (0,
|
|
575
|
+
jodit.e.fire(e.type + 'Item.filebrowser', this.item, (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ctrlKey)(e) || e.shiftKey, e);
|
|
576
576
|
return false;
|
|
577
577
|
});
|
|
578
578
|
this.update();
|
|
@@ -592,20 +592,20 @@ let UIBrowserItem = class UIBrowserItem extends jodit_esm_core_ui__WEBPACK_IMPOR
|
|
|
592
592
|
return false;
|
|
593
593
|
}
|
|
594
594
|
onAction(e) {
|
|
595
|
-
this.jodit.e.fire(e.type + 'Item.filebrowser', this.item, (0,
|
|
595
|
+
this.jodit.e.fire(e.type + 'Item.filebrowser', this.item, (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ctrlKey)(e) || e.shiftKey, e);
|
|
596
596
|
return false;
|
|
597
597
|
}
|
|
598
598
|
update() {
|
|
599
599
|
const image = this.getElm('image');
|
|
600
600
|
void 0;
|
|
601
|
-
(0,
|
|
601
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(image, 'backgroundImage', `url(${encodeURI(this.item.imageURL)})`);
|
|
602
602
|
const { type, file, time, size } = this.item;
|
|
603
603
|
this.setMod('is-file', this.item.isImage === false)
|
|
604
604
|
.setMod('type', type ?? 'file')
|
|
605
605
|
.setElementValue('name', file)
|
|
606
606
|
.setElementValue('time', time)
|
|
607
607
|
.setElementValue('filesize', size);
|
|
608
|
-
(0,
|
|
608
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.attr)(this.container, 'title', type !== 'folder' ? `${file} ${time} ${size}` : file);
|
|
609
609
|
super.update();
|
|
610
610
|
}
|
|
611
611
|
/**
|
|
@@ -615,7 +615,7 @@ let UIBrowserItem = class UIBrowserItem extends jodit_esm_core_ui__WEBPACK_IMPOR
|
|
|
615
615
|
const elementClassName = this.getFullElName(name);
|
|
616
616
|
let element = this.getElm(name);
|
|
617
617
|
if (!value) {
|
|
618
|
-
element &&
|
|
618
|
+
element && jodit_esm_modules__WEBPACK_IMPORTED_MODULE_5__.Dom.safeRemove(element);
|
|
619
619
|
return this;
|
|
620
620
|
}
|
|
621
621
|
if (!element) {
|
|
@@ -628,14 +628,14 @@ let UIBrowserItem = class UIBrowserItem extends jodit_esm_core_ui__WEBPACK_IMPOR
|
|
|
628
628
|
return this;
|
|
629
629
|
}
|
|
630
630
|
};
|
|
631
|
-
(0,
|
|
632
|
-
(0,
|
|
631
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
632
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('heart:click')
|
|
633
633
|
], UIBrowserItem.prototype, "onClickFavorite", null);
|
|
634
|
-
(0,
|
|
635
|
-
(0,
|
|
634
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
635
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['container:click', 'container:contextmenu', 'container:dblclick'])
|
|
636
636
|
], UIBrowserItem.prototype, "onAction", null);
|
|
637
|
-
UIBrowserItem = (0,
|
|
638
|
-
|
|
637
|
+
UIBrowserItem = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
638
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
639
639
|
], UIBrowserItem);
|
|
640
640
|
|
|
641
641
|
|
|
@@ -743,10 +743,10 @@ Object.assign(jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prot
|
|
|
743
743
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
744
744
|
/* harmony export */ R: function() { return /* binding */ UIBrowserFolder; }
|
|
745
745
|
/* harmony export */ });
|
|
746
|
-
/* harmony import */ var
|
|
747
|
-
/* harmony import */ var
|
|
748
|
-
/* harmony import */ var
|
|
749
|
-
/* harmony import */ var
|
|
746
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
747
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
748
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
749
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
750
750
|
/*!
|
|
751
751
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
752
752
|
* See LICENSE.md in the project root for license information.
|
|
@@ -757,7 +757,7 @@ Object.assign(jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prot
|
|
|
757
757
|
|
|
758
758
|
|
|
759
759
|
|
|
760
|
-
let UIBrowserFolder = class UIBrowserFolder extends
|
|
760
|
+
let UIBrowserFolder = class UIBrowserFolder extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D$ {
|
|
761
761
|
/** @override */
|
|
762
762
|
className() {
|
|
763
763
|
return 'UIBrowserFolder';
|
|
@@ -795,8 +795,8 @@ let UIBrowserFolder = class UIBrowserFolder extends jodit_esm_core_ui__WEBPACK_I
|
|
|
795
795
|
});
|
|
796
796
|
}
|
|
797
797
|
};
|
|
798
|
-
UIBrowserFolder = (0,
|
|
799
|
-
|
|
798
|
+
UIBrowserFolder = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
799
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
800
800
|
], UIBrowserFolder);
|
|
801
801
|
|
|
802
802
|
|
|
@@ -810,8 +810,8 @@ UIBrowserFolder = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .Cg)([
|
|
|
810
810
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
811
811
|
/* harmony export */ f: function() { return /* binding */ StateManager; }
|
|
812
812
|
/* harmony export */ });
|
|
813
|
-
/* harmony import */ var
|
|
814
|
-
/* harmony import */ var
|
|
813
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
814
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
815
815
|
/*!
|
|
816
816
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
817
817
|
* See LICENSE.md in the project root for license information.
|
|
@@ -894,14 +894,14 @@ class StateManager {
|
|
|
894
894
|
return this.state.favorites === this.state.elements;
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
(0,
|
|
898
|
-
|
|
897
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
898
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
899
899
|
], StateManager.prototype, "getIndex", null);
|
|
900
|
-
(0,
|
|
901
|
-
|
|
900
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
901
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
902
902
|
], StateManager.prototype, "isActive", null);
|
|
903
|
-
(0,
|
|
904
|
-
|
|
903
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
904
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
905
905
|
], StateManager.prototype, "isFavorite", null);
|
|
906
906
|
function findTreeItem(path, sourceItem) {
|
|
907
907
|
return (path
|
|
@@ -972,13 +972,13 @@ jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .In.set('new-folder',
|
|
|
972
972
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
973
973
|
/* harmony export */ T: function() { return /* binding */ UIVirtualScroll; }
|
|
974
974
|
/* harmony export */ });
|
|
975
|
-
/* harmony import */ var
|
|
976
|
-
/* harmony import */ var
|
|
977
|
-
/* harmony import */ var
|
|
978
|
-
/* harmony import */ var
|
|
979
|
-
/* harmony import */ var
|
|
980
|
-
/* harmony import */ var
|
|
981
|
-
/* harmony import */ var
|
|
975
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
976
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
977
|
+
/* harmony import */ var jodit_esm_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5700);
|
|
978
|
+
/* harmony import */ var jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(62405);
|
|
979
|
+
/* harmony import */ var jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(159);
|
|
980
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35891);
|
|
981
|
+
/* harmony import */ var jodit_pro_traits_select_items_select_items__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(25830);
|
|
982
982
|
/*!
|
|
983
983
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
984
984
|
* See LICENSE.md in the project root for license information.
|
|
@@ -993,7 +993,7 @@ var UIVirtualScroll_1;
|
|
|
993
993
|
|
|
994
994
|
|
|
995
995
|
|
|
996
|
-
let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends
|
|
996
|
+
let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__/* .UIGroup */ .U {
|
|
997
997
|
/** @override */
|
|
998
998
|
className() {
|
|
999
999
|
return 'UIVirtualScroll';
|
|
@@ -1017,7 +1017,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_es
|
|
|
1017
1017
|
const clearIndex = this.elements.findIndex((elm, index) => {
|
|
1018
1018
|
return (!items[index] ||
|
|
1019
1019
|
elm.item.uniqueHashKey !==
|
|
1020
|
-
|
|
1020
|
+
jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_4__/* .FileBrowserItem */ .u.create(items[index]).uniqueHashKey);
|
|
1021
1021
|
});
|
|
1022
1022
|
if (clearIndex > -1) {
|
|
1023
1023
|
for (let i = clearIndex; i < this.elements.length; i += 1) {
|
|
@@ -1032,7 +1032,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_es
|
|
|
1032
1032
|
items
|
|
1033
1033
|
.slice(clearIndex > -1 ? clearIndex : this.elements.length)
|
|
1034
1034
|
.forEach((item) => {
|
|
1035
|
-
const elm = new
|
|
1035
|
+
const elm = new jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_5__/* .UIBrowserItem */ .Q(this.jodit, item);
|
|
1036
1036
|
Object.keys(this.mods).forEach((mod) => {
|
|
1037
1037
|
elm.setMod(mod, this.mods[mod]);
|
|
1038
1038
|
});
|
|
@@ -1057,7 +1057,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_es
|
|
|
1057
1057
|
this.setMod('dragover', false);
|
|
1058
1058
|
}
|
|
1059
1059
|
addItemsSelector() {
|
|
1060
|
-
|
|
1060
|
+
jodit_pro_traits_select_items_select_items__WEBPACK_IMPORTED_MODULE_6__/* .UISelectItems */ .J.install(this);
|
|
1061
1061
|
}
|
|
1062
1062
|
static intersectRect(r1, r2) {
|
|
1063
1063
|
return !(r2.left > r1.left + r1.width ||
|
|
@@ -1068,7 +1068,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_es
|
|
|
1068
1068
|
onSelectItems(bound) {
|
|
1069
1069
|
const selected = [];
|
|
1070
1070
|
this.elements.forEach((elm) => {
|
|
1071
|
-
const pos = (0,
|
|
1071
|
+
const pos = (0,jodit_esm_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_2__/* .position */ .G)(elm.container);
|
|
1072
1072
|
if (UIVirtualScroll_1.intersectRect(pos, bound)) {
|
|
1073
1073
|
selected.push(elm.item);
|
|
1074
1074
|
}
|
|
@@ -1076,20 +1076,20 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_es
|
|
|
1076
1076
|
this.stateManager.state.activeElements = selected;
|
|
1077
1077
|
}
|
|
1078
1078
|
};
|
|
1079
|
-
(0,
|
|
1080
|
-
(0,
|
|
1081
|
-
(0,
|
|
1082
|
-
(0,
|
|
1083
|
-
(0,
|
|
1079
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1080
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterResize'),
|
|
1081
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':resize'),
|
|
1082
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('container:scroll'),
|
|
1083
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.throttle)()
|
|
1084
1084
|
], UIVirtualScroll.prototype, "onScrollLoadChunk", null);
|
|
1085
|
-
(0,
|
|
1086
|
-
(0,
|
|
1085
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1086
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('container:dragover')
|
|
1087
1087
|
], UIVirtualScroll.prototype, "onDragOver", null);
|
|
1088
|
-
(0,
|
|
1089
|
-
(0,
|
|
1088
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1089
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['container:dragleave', 'container:drop'])
|
|
1090
1090
|
], UIVirtualScroll.prototype, "onDragLeave", null);
|
|
1091
|
-
UIVirtualScroll = UIVirtualScroll_1 = (0,
|
|
1092
|
-
|
|
1091
|
+
UIVirtualScroll = UIVirtualScroll_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1092
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1093
1093
|
], UIVirtualScroll);
|
|
1094
1094
|
|
|
1095
1095
|
|
|
@@ -1103,10 +1103,10 @@ UIVirtualScroll = UIVirtualScroll_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* ._
|
|
|
1103
1103
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1104
1104
|
/* harmony export */ L: function() { return /* binding */ PersistentStore; }
|
|
1105
1105
|
/* harmony export */ });
|
|
1106
|
-
/* harmony import */ var
|
|
1107
|
-
/* harmony import */ var
|
|
1108
|
-
/* harmony import */ var
|
|
1109
|
-
/* harmony import */ var
|
|
1106
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
1107
|
+
/* harmony import */ var jodit_esm_core_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91907);
|
|
1108
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
1109
|
+
/* harmony import */ var jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(159);
|
|
1110
1110
|
|
|
1111
1111
|
/*!
|
|
1112
1112
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -1116,7 +1116,7 @@ UIVirtualScroll = UIVirtualScroll_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* ._
|
|
|
1116
1116
|
|
|
1117
1117
|
|
|
1118
1118
|
|
|
1119
|
-
let PersistentStore = class PersistentStore extends
|
|
1119
|
+
let PersistentStore = class PersistentStore extends jodit_esm_core_component__WEBPACK_IMPORTED_MODULE_1__/* .ViewComponent */ .vG {
|
|
1120
1120
|
/** @override */
|
|
1121
1121
|
className() {
|
|
1122
1122
|
return 'PersistentStore';
|
|
@@ -1163,10 +1163,10 @@ let PersistentStore = class PersistentStore extends jodit_esm_core_component__WE
|
|
|
1163
1163
|
syncWithState() {
|
|
1164
1164
|
this.state.tileSize = this.tileSize;
|
|
1165
1165
|
this.state.favorites = this.favorites.map((item) => {
|
|
1166
|
-
if (item instanceof
|
|
1166
|
+
if (item instanceof jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_3__/* .FileBrowserItem */ .u) {
|
|
1167
1167
|
return item;
|
|
1168
1168
|
}
|
|
1169
|
-
return
|
|
1169
|
+
return jodit_esm_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_3__/* .FileBrowserItem */ .u.create(item);
|
|
1170
1170
|
});
|
|
1171
1171
|
this.state.view = this.view;
|
|
1172
1172
|
this.state.theme = this.theme;
|
|
@@ -1177,62 +1177,62 @@ let PersistentStore = class PersistentStore extends jodit_esm_core_component__WE
|
|
|
1177
1177
|
this.state.foldersPosition = this.foldersPosition;
|
|
1178
1178
|
}
|
|
1179
1179
|
};
|
|
1180
|
-
(0,
|
|
1181
|
-
|
|
1180
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1181
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1182
1182
|
], PersistentStore.prototype, "theme", void 0);
|
|
1183
|
-
(0,
|
|
1184
|
-
|
|
1183
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1184
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1185
1185
|
], PersistentStore.prototype, "sortBy", void 0);
|
|
1186
|
-
(0,
|
|
1187
|
-
|
|
1186
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1187
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1188
1188
|
], PersistentStore.prototype, "view", void 0);
|
|
1189
|
-
(0,
|
|
1190
|
-
|
|
1189
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1190
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1191
1191
|
], PersistentStore.prototype, "foldersPosition", void 0);
|
|
1192
|
-
(0,
|
|
1193
|
-
|
|
1192
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1193
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1194
1194
|
], PersistentStore.prototype, "tileSize", void 0);
|
|
1195
|
-
(0,
|
|
1196
|
-
|
|
1195
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1196
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1197
1197
|
], PersistentStore.prototype, "favorites", void 0);
|
|
1198
|
-
(0,
|
|
1199
|
-
|
|
1198
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1199
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1200
1200
|
], PersistentStore.prototype, "showSideBar", void 0);
|
|
1201
|
-
(0,
|
|
1202
|
-
|
|
1201
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1202
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1203
1203
|
], PersistentStore.prototype, "showPreview", void 0);
|
|
1204
|
-
(0,
|
|
1205
|
-
|
|
1204
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1205
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.persistent
|
|
1206
1206
|
], PersistentStore.prototype, "showFavorites", void 0);
|
|
1207
|
-
(0,
|
|
1208
|
-
(0,
|
|
1207
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1208
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.theme')
|
|
1209
1209
|
], PersistentStore.prototype, "onChangeThemeSetField", null);
|
|
1210
|
-
(0,
|
|
1211
|
-
(0,
|
|
1210
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1211
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.view')
|
|
1212
1212
|
], PersistentStore.prototype, "onChangeView", null);
|
|
1213
|
-
(0,
|
|
1214
|
-
(0,
|
|
1213
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1214
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.sortBy')
|
|
1215
1215
|
], PersistentStore.prototype, "onChangeSortBy", null);
|
|
1216
|
-
(0,
|
|
1217
|
-
(0,
|
|
1216
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1217
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.tileSize')
|
|
1218
1218
|
], PersistentStore.prototype, "onChangeTileSize", null);
|
|
1219
|
-
(0,
|
|
1220
|
-
(0,
|
|
1219
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1220
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.favorites')
|
|
1221
1221
|
], PersistentStore.prototype, "onChangeFavorites", null);
|
|
1222
|
-
(0,
|
|
1223
|
-
(0,
|
|
1222
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1223
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.showSideBar')
|
|
1224
1224
|
], PersistentStore.prototype, "onChangeShowSideBar", null);
|
|
1225
|
-
(0,
|
|
1226
|
-
(0,
|
|
1225
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1226
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.showPreview')
|
|
1227
1227
|
], PersistentStore.prototype, "onChangeShowPreview", null);
|
|
1228
|
-
(0,
|
|
1229
|
-
(0,
|
|
1228
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1229
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.showFavorites')
|
|
1230
1230
|
], PersistentStore.prototype, "onChangeShowFavorites", null);
|
|
1231
|
-
(0,
|
|
1232
|
-
(0,
|
|
1231
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1232
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('state.foldersPosition')
|
|
1233
1233
|
], PersistentStore.prototype, "onChangeFoldersPosition", null);
|
|
1234
|
-
PersistentStore = (0,
|
|
1235
|
-
|
|
1234
|
+
PersistentStore = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1235
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
1236
1236
|
], PersistentStore);
|
|
1237
1237
|
|
|
1238
1238
|
|
|
@@ -1316,29 +1316,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1316
1316
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1317
1317
|
/* harmony export */ Y: function() { return /* binding */ FileBrowserPro; }
|
|
1318
1318
|
/* harmony export */ });
|
|
1319
|
-
/* harmony import */ var
|
|
1320
|
-
/* harmony import */ var
|
|
1321
|
-
/* harmony import */ var
|
|
1322
|
-
/* harmony import */ var
|
|
1323
|
-
/* harmony import */ var
|
|
1324
|
-
/* harmony import */ var
|
|
1325
|
-
/* harmony import */ var
|
|
1326
|
-
/* harmony import */ var
|
|
1327
|
-
/* harmony import */ var
|
|
1328
|
-
/* harmony import */ var
|
|
1329
|
-
/* harmony import */ var
|
|
1330
|
-
/* harmony import */ var
|
|
1331
|
-
/* harmony import */ var
|
|
1332
|
-
/* harmony import */ var
|
|
1333
|
-
/* harmony import */ var
|
|
1334
|
-
/* harmony import */ var
|
|
1335
|
-
/* harmony import */ var
|
|
1336
|
-
/* harmony import */ var
|
|
1337
|
-
/* harmony import */ var
|
|
1338
|
-
/* harmony import */ var
|
|
1339
|
-
/* harmony import */ var
|
|
1340
|
-
/* harmony import */ var
|
|
1341
|
-
/* harmony import */ var
|
|
1319
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
1320
|
+
/* harmony import */ var _ui_assets_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51325);
|
|
1321
|
+
/* harmony import */ var _helpers_context_menu__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71650);
|
|
1322
|
+
/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4906);
|
|
1323
|
+
/* harmony import */ var _helpers_history_manager__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97833);
|
|
1324
|
+
/* harmony import */ var _helpers_loading_manager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(99837);
|
|
1325
|
+
/* harmony import */ var _helpers_persistent_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(56786);
|
|
1326
|
+
/* harmony import */ var _helpers_state_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(47888);
|
|
1327
|
+
/* harmony import */ var _ui_header_header__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(62311);
|
|
1328
|
+
/* harmony import */ var _ui_lightboox_lightbox__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97578);
|
|
1329
|
+
/* harmony import */ var _ui_panel_panel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(3059);
|
|
1330
|
+
/* harmony import */ var _ui_progress_progress__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(22587);
|
|
1331
|
+
/* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(6441);
|
|
1332
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(82758);
|
|
1333
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(65478);
|
|
1334
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(21537);
|
|
1335
|
+
/* harmony import */ var jodit_esm_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(70231);
|
|
1336
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(41409);
|
|
1337
|
+
/* harmony import */ var jodit_esm_modules_dialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(638);
|
|
1338
|
+
/* harmony import */ var jodit_esm_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(63399);
|
|
1339
|
+
/* harmony import */ var jodit_esm_modules_image_editor_image_editor__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(50050);
|
|
1340
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(34013);
|
|
1341
|
+
/* harmony import */ var jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(12275);
|
|
1342
1342
|
/*!
|
|
1343
1343
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1344
1344
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1368,7 +1368,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1368
1368
|
|
|
1369
1369
|
|
|
1370
1370
|
|
|
1371
|
-
let FileBrowserPro = class FileBrowserPro extends
|
|
1371
|
+
let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBPACK_IMPORTED_MODULE_18__/* .Dialog */ .lG {
|
|
1372
1372
|
/** @override */
|
|
1373
1373
|
className() {
|
|
1374
1374
|
return 'FileBrowserPro';
|
|
@@ -1383,31 +1383,31 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1383
1383
|
return super.unlock();
|
|
1384
1384
|
}
|
|
1385
1385
|
status(message, success = !(message instanceof Error)) {
|
|
1386
|
-
if ((0,
|
|
1386
|
+
if ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.isAbort)(message)) {
|
|
1387
1387
|
return;
|
|
1388
1388
|
}
|
|
1389
|
-
if (!
|
|
1389
|
+
if (!jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.IS_PROD && !(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.isString)(message)) {
|
|
1390
1390
|
console.error(message);
|
|
1391
1391
|
}
|
|
1392
|
-
this.message.message((0,
|
|
1392
|
+
this.message.message((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.isString)(message) ? message : message.message, success ? 'success' : 'error', this.options.howLongShowMsg);
|
|
1393
1393
|
}
|
|
1394
1394
|
get progressbar() {
|
|
1395
|
-
return new
|
|
1395
|
+
return new _ui_progress_progress__WEBPACK_IMPORTED_MODULE_11__/* .UIProgress */ .C(this, this.stateManager.state);
|
|
1396
1396
|
}
|
|
1397
1397
|
constructor(options) {
|
|
1398
|
-
super((0,
|
|
1398
|
+
super((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.ConfigProto)(Object.assign(options || {}, {
|
|
1399
1399
|
resizable: true,
|
|
1400
1400
|
draggable: true,
|
|
1401
1401
|
toolbarButtons: options?.toolbarButtons ||
|
|
1402
|
-
|
|
1403
|
-
buttons:
|
|
1402
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_12__/* .Config */ .T.defaultOptions.filebrowser.buttons,
|
|
1403
|
+
buttons: jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_21__/* .JoditPro */ .A.atom([
|
|
1404
1404
|
'filebrowser.settings',
|
|
1405
1405
|
'fullsize',
|
|
1406
1406
|
'dialog.close'
|
|
1407
1407
|
])
|
|
1408
|
-
}),
|
|
1409
|
-
this.dataProvider = (0,
|
|
1410
|
-
this.state = (0,
|
|
1408
|
+
}), jodit_esm_config__WEBPACK_IMPORTED_MODULE_12__/* .Config */ .T.defaultOptions.filebrowser));
|
|
1409
|
+
this.dataProvider = (0,jodit_esm_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_19__/* .makeDataProvider */ .S)(this, this.options);
|
|
1410
|
+
this.state = (0,jodit_esm_modules__WEBPACK_IMPORTED_MODULE_17__.observable)({
|
|
1411
1411
|
onSelectCallBack: null,
|
|
1412
1412
|
theme: 'default',
|
|
1413
1413
|
showSideBar: true,
|
|
@@ -1435,16 +1435,16 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1435
1435
|
filterWord: '',
|
|
1436
1436
|
onlyImages: false
|
|
1437
1437
|
});
|
|
1438
|
-
this.persistent = new
|
|
1439
|
-
this.loadingManager = new
|
|
1440
|
-
this.stateManager = new
|
|
1441
|
-
this.historyManager = new
|
|
1442
|
-
this.contextMenuManager = new
|
|
1443
|
-
this.header = new
|
|
1444
|
-
this.panel = new
|
|
1438
|
+
this.persistent = new _helpers_persistent_store__WEBPACK_IMPORTED_MODULE_6__/* .PersistentStore */ .L(this, this.state);
|
|
1439
|
+
this.loadingManager = new _helpers_loading_manager__WEBPACK_IMPORTED_MODULE_5__/* .LoadingManager */ .K(this, this.state);
|
|
1440
|
+
this.stateManager = new _helpers_state_manager__WEBPACK_IMPORTED_MODULE_7__/* .StateManager */ .f(this.state);
|
|
1441
|
+
this.historyManager = new _helpers_history_manager__WEBPACK_IMPORTED_MODULE_4__/* .HistoryManager */ .c(this, this.state);
|
|
1442
|
+
this.contextMenuManager = new _helpers_context_menu__WEBPACK_IMPORTED_MODULE_2__/* .ContextMenuManager */ .I(this);
|
|
1443
|
+
this.header = new _ui_header_header__WEBPACK_IMPORTED_MODULE_8__/* .UIBrowserHeader */ .s(this, this.options, this.stateManager);
|
|
1444
|
+
this.panel = new _ui_panel_panel__WEBPACK_IMPORTED_MODULE_10__/* .UIBrowserPanel */ .D(this, this.stateManager);
|
|
1445
1445
|
this.files = this.panel;
|
|
1446
1446
|
this.tree = this.panel;
|
|
1447
|
-
|
|
1447
|
+
jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_22__/* .license */ .q.make(this);
|
|
1448
1448
|
if (!this.persistent.theme && this.options.theme) {
|
|
1449
1449
|
this.persistent.theme = this.options.theme;
|
|
1450
1450
|
}
|
|
@@ -1463,7 +1463,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1463
1463
|
});
|
|
1464
1464
|
this.e.on('beforeClose', this.removeGlobalListeners);
|
|
1465
1465
|
this.e.fire('afterInit');
|
|
1466
|
-
|
|
1466
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_21__/* .JoditPro */ .A.prototype.afterInitHook.call(this);
|
|
1467
1467
|
}
|
|
1468
1468
|
/** @override */
|
|
1469
1469
|
addDisclaimer(elm) {
|
|
@@ -1481,7 +1481,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1481
1481
|
* Resize handler
|
|
1482
1482
|
*/
|
|
1483
1483
|
onResizeWindow() {
|
|
1484
|
-
(0,
|
|
1484
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.css)(this.dialog, {
|
|
1485
1485
|
maxWidth: screen.width,
|
|
1486
1486
|
minHeight: Math.min(this.options.height, screen.height),
|
|
1487
1487
|
minWidth: Math.min(this.options.width, screen.width)
|
|
@@ -1518,24 +1518,24 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1518
1518
|
const { activeElement } = this.od;
|
|
1519
1519
|
if (!this.state.activeElements.length ||
|
|
1520
1520
|
!activeElement ||
|
|
1521
|
-
!
|
|
1521
|
+
!jodit_esm_modules__WEBPACK_IMPORTED_MODULE_17__.Dom.isOrContains(this.panel.items.container, activeElement)) {
|
|
1522
1522
|
return;
|
|
1523
1523
|
}
|
|
1524
1524
|
const elms = this.state.elements;
|
|
1525
1525
|
switch (e.key) {
|
|
1526
|
-
case
|
|
1526
|
+
case jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_ENTER: {
|
|
1527
1527
|
return this.onChooseItems();
|
|
1528
1528
|
}
|
|
1529
|
-
case
|
|
1529
|
+
case jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_DELETE: {
|
|
1530
1530
|
return this.onFileRemove();
|
|
1531
1531
|
}
|
|
1532
|
-
case
|
|
1533
|
-
case
|
|
1534
|
-
case
|
|
1535
|
-
case
|
|
1536
|
-
const next = e.key ===
|
|
1532
|
+
case jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_RIGHT:
|
|
1533
|
+
case jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_LEFT:
|
|
1534
|
+
case jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_DOWN:
|
|
1535
|
+
case jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_UP: {
|
|
1536
|
+
const next = e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_RIGHT || e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_DOWN, index = this.state.lastSelectedIndex;
|
|
1537
1537
|
let nextIndex;
|
|
1538
|
-
if ([
|
|
1538
|
+
if ([jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_RIGHT, jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_13__.KEY_LEFT].includes(e.key)) {
|
|
1539
1539
|
if (next) {
|
|
1540
1540
|
nextIndex = !elms[index + 1] ? 0 : index + 1;
|
|
1541
1541
|
}
|
|
@@ -1574,7 +1574,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1574
1574
|
const promises = [];
|
|
1575
1575
|
items.forEach((item) => {
|
|
1576
1576
|
promises.push(item.type === 'folder'
|
|
1577
|
-
? this.__folderRemove((0,
|
|
1577
|
+
? this.__folderRemove((0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_3__/* .parentPath */ .y)(item.path), item.name ?? '', item.sourceName)
|
|
1578
1578
|
: this.__removeFile(item.file || item.name || '', item.sourceName));
|
|
1579
1579
|
});
|
|
1580
1580
|
this.state.activeElements.forEach((el) => {
|
|
@@ -1601,7 +1601,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1601
1601
|
.then((message) => {
|
|
1602
1602
|
this.status(message || this.i18n('Folder "%s" was deleted', name), true);
|
|
1603
1603
|
if (this.state.currentPath === path) {
|
|
1604
|
-
this.state.currentPath = (0,
|
|
1604
|
+
this.state.currentPath = (0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_3__/* .parentPath */ .y)(path);
|
|
1605
1605
|
this.state.currentSource = sourceName;
|
|
1606
1606
|
}
|
|
1607
1607
|
})
|
|
@@ -1610,22 +1610,22 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1610
1610
|
onFileEdit() {
|
|
1611
1611
|
if (this.state.activeElements.length === 1) {
|
|
1612
1612
|
const [file] = this.state.activeElements;
|
|
1613
|
-
|
|
1613
|
+
jodit_esm_modules_image_editor_image_editor__WEBPACK_IMPORTED_MODULE_20__/* .openImageEditor */ .B.call(this, file.fileURL, file.file || '', file.path, file.sourceName, undefined, this.status);
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
1616
1616
|
onFolderRename(data) {
|
|
1617
1617
|
this.prompt('Enter new name', 'Rename', (newName) => {
|
|
1618
|
-
if (!(0,
|
|
1618
|
+
if (!(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.isValidName)(newName) || newName === data.name) {
|
|
1619
1619
|
this.status(this.i18n('Enter new name'));
|
|
1620
1620
|
return false;
|
|
1621
1621
|
}
|
|
1622
1622
|
this.dataProvider
|
|
1623
|
-
.folderRename((0,
|
|
1623
|
+
.folderRename((0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_3__/* .parentPath */ .y)(data.path), data.name, newName, data.sourceName)
|
|
1624
1624
|
.then((message) => {
|
|
1625
1625
|
this.state.activeElements = [];
|
|
1626
1626
|
this.status(message, true);
|
|
1627
1627
|
this.state.currentPath =
|
|
1628
|
-
(0,
|
|
1628
|
+
(0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_3__/* .parentPath */ .y)(data.path) + '/' + newName;
|
|
1629
1629
|
this.state.currentSource = data.sourceName;
|
|
1630
1630
|
this.historyManager.updateCurrent();
|
|
1631
1631
|
this.loadingManager.loadFolders();
|
|
@@ -1669,7 +1669,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1669
1669
|
const name = item.file || item.name || '';
|
|
1670
1670
|
if (this.state.activeElements.length === 1 && name) {
|
|
1671
1671
|
this.prompt('Enter new name', 'Rename', (newName) => {
|
|
1672
|
-
if (!(0,
|
|
1672
|
+
if (!(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.isValidName)(newName)) {
|
|
1673
1673
|
this.status(this.i18n('Enter new name'));
|
|
1674
1674
|
return false;
|
|
1675
1675
|
}
|
|
@@ -1704,10 +1704,10 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
1706
|
onOpenLightBox(item) {
|
|
1707
|
-
|
|
1707
|
+
_ui_lightboox_lightbox__WEBPACK_IMPORTED_MODULE_9__/* .UILightBox */ .c.open(this, item, this.state.elements);
|
|
1708
1708
|
}
|
|
1709
1709
|
initUploader() {
|
|
1710
|
-
const self = this, uploaderOptions = (0,
|
|
1710
|
+
const self = this, uploaderOptions = (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.ConfigProto)(self.o.uploader || {}, jodit_esm_config__WEBPACK_IMPORTED_MODULE_12__/* .Config */ .T.defaultOptions.uploader);
|
|
1711
1711
|
const uploadHandler = () => this.loadingManager.loadItems();
|
|
1712
1712
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
1713
1713
|
self.uploader.bind(self.panel.container, uploadHandler, self.status);
|
|
@@ -1740,65 +1740,65 @@ let FileBrowserPro = class FileBrowserPro extends jodit_esm_modules_dialog__WEBP
|
|
|
1740
1740
|
];
|
|
1741
1741
|
keys.forEach((key) => {
|
|
1742
1742
|
if (this.options[key] != null) {
|
|
1743
|
-
this.options[key] = (0,
|
|
1743
|
+
this.options[key] = (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_15__.ConfigProto)(this.options[key], this.o.ajax);
|
|
1744
1744
|
}
|
|
1745
1745
|
});
|
|
1746
1746
|
}
|
|
1747
1747
|
};
|
|
1748
|
-
(0,
|
|
1749
|
-
|
|
1748
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1749
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.autobind
|
|
1750
1750
|
], FileBrowserPro.prototype, "status", null);
|
|
1751
|
-
(0,
|
|
1752
|
-
|
|
1751
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1752
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.cache
|
|
1753
1753
|
], FileBrowserPro.prototype, "progressbar", null);
|
|
1754
|
-
(0,
|
|
1755
|
-
(0,
|
|
1754
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1755
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':resize', { context: window })
|
|
1756
1756
|
], FileBrowserPro.prototype, "onResizeWindow", null);
|
|
1757
|
-
(0,
|
|
1758
|
-
(0,
|
|
1757
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1758
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(['state.currentPath', 'state.currentSource'])
|
|
1759
1759
|
], FileBrowserPro.prototype, "onChangePath", null);
|
|
1760
|
-
(0,
|
|
1761
|
-
(0,
|
|
1760
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1761
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)('state.theme')
|
|
1762
1762
|
], FileBrowserPro.prototype, "onChangeTheme", null);
|
|
1763
|
-
(0,
|
|
1764
|
-
(0,
|
|
1763
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1764
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':toggleSettings.filebrowser')
|
|
1765
1765
|
], FileBrowserPro.prototype, "onToggleSettings", null);
|
|
1766
|
-
(0,
|
|
1767
|
-
|
|
1766
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1767
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.autobind
|
|
1768
1768
|
], FileBrowserPro.prototype, "onKeyPress", null);
|
|
1769
|
-
(0,
|
|
1770
|
-
|
|
1769
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1770
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.autobind
|
|
1771
1771
|
], FileBrowserPro.prototype, "removeGlobalListeners", null);
|
|
1772
|
-
(0,
|
|
1773
|
-
(0,
|
|
1772
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1773
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':fileRemove.filebrowser')
|
|
1774
1774
|
], FileBrowserPro.prototype, "onFileRemove", null);
|
|
1775
|
-
(0,
|
|
1776
|
-
(0,
|
|
1775
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1776
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':edit.filebrowser')
|
|
1777
1777
|
], FileBrowserPro.prototype, "onFileEdit", null);
|
|
1778
|
-
(0,
|
|
1779
|
-
(0,
|
|
1778
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1779
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':folderRename.filebrowser')
|
|
1780
1780
|
], FileBrowserPro.prototype, "onFolderRename", null);
|
|
1781
|
-
(0,
|
|
1782
|
-
(0,
|
|
1781
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1782
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':folderRemove.filebrowser')
|
|
1783
1783
|
], FileBrowserPro.prototype, "onFolderRemove", null);
|
|
1784
|
-
(0,
|
|
1785
|
-
(0,
|
|
1784
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1785
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':folderCreate.filebrowser')
|
|
1786
1786
|
], FileBrowserPro.prototype, "onFolderCreate", null);
|
|
1787
|
-
(0,
|
|
1788
|
-
(0,
|
|
1787
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1788
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':fileRename.filebrowser')
|
|
1789
1789
|
], FileBrowserPro.prototype, "onFileRename", null);
|
|
1790
|
-
(0,
|
|
1791
|
-
(0,
|
|
1790
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1791
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':select.filebrowser')
|
|
1792
1792
|
], FileBrowserPro.prototype, "onChooseItems", null);
|
|
1793
|
-
(0,
|
|
1794
|
-
(0,
|
|
1793
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1794
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.watch)(':openLightBox.filebrowser')
|
|
1795
1795
|
], FileBrowserPro.prototype, "onOpenLightBox", null);
|
|
1796
|
-
FileBrowserPro = (0,
|
|
1797
|
-
|
|
1798
|
-
(0,
|
|
1796
|
+
FileBrowserPro = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1797
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.component,
|
|
1798
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_14__.derive)(jodit_esm_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_16__/* .Dlgs */ .z)
|
|
1799
1799
|
], FileBrowserPro);
|
|
1800
1800
|
|
|
1801
|
-
Object.defineProperty(
|
|
1801
|
+
Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_21__/* .JoditPro */ .A.modules, 'FileBrowserPro', {
|
|
1802
1802
|
value: FileBrowserPro,
|
|
1803
1803
|
writable: false,
|
|
1804
1804
|
enumerable: true,
|
|
@@ -1815,11 +1815,11 @@ Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_19__/* .Jodit
|
|
|
1815
1815
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1816
1816
|
/* harmony export */ q: function() { return /* binding */ UIBrowserSource; }
|
|
1817
1817
|
/* harmony export */ });
|
|
1818
|
-
/* harmony import */ var
|
|
1819
|
-
/* harmony import */ var
|
|
1820
|
-
/* harmony import */ var
|
|
1821
|
-
/* harmony import */ var
|
|
1822
|
-
/* harmony import */ var
|
|
1818
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
1819
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
1820
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
1821
|
+
/* harmony import */ var jodit_esm_core_ui_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48538);
|
|
1822
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_tree_tree__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8313);
|
|
1823
1823
|
/*!
|
|
1824
1824
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1825
1825
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1831,7 +1831,7 @@ Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_19__/* .Jodit
|
|
|
1831
1831
|
|
|
1832
1832
|
|
|
1833
1833
|
|
|
1834
|
-
let UIBrowserSource = class UIBrowserSource extends
|
|
1834
|
+
let UIBrowserSource = class UIBrowserSource extends jodit_esm_core_ui_element__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D {
|
|
1835
1835
|
/** @override */
|
|
1836
1836
|
className() {
|
|
1837
1837
|
return 'UIBrowserSource';
|
|
@@ -1846,7 +1846,7 @@ let UIBrowserSource = class UIBrowserSource extends jodit_esm_core_ui_element__W
|
|
|
1846
1846
|
constructor(jodit, data) {
|
|
1847
1847
|
super(jodit, data);
|
|
1848
1848
|
this.data = data;
|
|
1849
|
-
this.tree = new
|
|
1849
|
+
this.tree = new jodit_pro_plugins_finder_ui_tree_tree__WEBPACK_IMPORTED_MODULE_4__/* .UITree */ .F(this.j, this.data.children);
|
|
1850
1850
|
/** @override */
|
|
1851
1851
|
this.syncMod = true;
|
|
1852
1852
|
const name = this.getElm('name');
|
|
@@ -1860,8 +1860,8 @@ let UIBrowserSource = class UIBrowserSource extends jodit_esm_core_ui_element__W
|
|
|
1860
1860
|
});
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
|
-
UIBrowserSource = (0,
|
|
1864
|
-
|
|
1863
|
+
UIBrowserSource = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1864
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
1865
1865
|
], UIBrowserSource);
|
|
1866
1866
|
|
|
1867
1867
|
|
|
@@ -1875,11 +1875,11 @@ UIBrowserSource = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
1875
1875
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1876
1876
|
/* harmony export */ s: function() { return /* binding */ UIBrowserHeader; }
|
|
1877
1877
|
/* harmony export */ });
|
|
1878
|
-
/* harmony import */ var
|
|
1879
|
-
/* harmony import */ var
|
|
1880
|
-
/* harmony import */ var
|
|
1881
|
-
/* harmony import */ var
|
|
1882
|
-
/* harmony import */ var
|
|
1878
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
1879
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
1880
|
+
/* harmony import */ var jodit_esm_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
|
|
1881
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
1882
|
+
/* harmony import */ var jodit_esm_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21491);
|
|
1883
1883
|
/*!
|
|
1884
1884
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1885
1885
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1891,7 +1891,7 @@ UIBrowserSource = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
1891
1891
|
|
|
1892
1892
|
|
|
1893
1893
|
|
|
1894
|
-
let UIBrowserHeader = class UIBrowserHeader extends
|
|
1894
|
+
let UIBrowserHeader = class UIBrowserHeader extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIGroup */ .Ue {
|
|
1895
1895
|
/** @override */
|
|
1896
1896
|
className() {
|
|
1897
1897
|
return 'UIBrowserHeader';
|
|
@@ -1902,8 +1902,8 @@ let UIBrowserHeader = class UIBrowserHeader extends jodit_esm_core_ui__WEBPACK_I
|
|
|
1902
1902
|
this.stateManager = stateManager;
|
|
1903
1903
|
/** @override */
|
|
1904
1904
|
this.syncMod = true;
|
|
1905
|
-
this.toolbar = (0,
|
|
1906
|
-
this.filter = new
|
|
1905
|
+
this.toolbar = (0,jodit_esm_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(this.j);
|
|
1906
|
+
this.filter = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(this.j, {
|
|
1907
1907
|
icon: 'search',
|
|
1908
1908
|
placeholder: 'Filter',
|
|
1909
1909
|
clearButton: true,
|
|
@@ -1918,7 +1918,7 @@ let UIBrowserHeader = class UIBrowserHeader extends jodit_esm_core_ui__WEBPACK_I
|
|
|
1918
1918
|
__getButtons() {
|
|
1919
1919
|
const options = (this.options.toolbarButtons ?? []);
|
|
1920
1920
|
return options.filter((btn) => {
|
|
1921
|
-
if (!(0,
|
|
1921
|
+
if (!(0,jodit_esm_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(btn)) {
|
|
1922
1922
|
return true;
|
|
1923
1923
|
}
|
|
1924
1924
|
switch (btn) {
|
|
@@ -1936,8 +1936,8 @@ let UIBrowserHeader = class UIBrowserHeader extends jodit_esm_core_ui__WEBPACK_I
|
|
|
1936
1936
|
});
|
|
1937
1937
|
}
|
|
1938
1938
|
};
|
|
1939
|
-
UIBrowserHeader = (0,
|
|
1940
|
-
|
|
1939
|
+
UIBrowserHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1940
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1941
1941
|
], UIBrowserHeader);
|
|
1942
1942
|
|
|
1943
1943
|
|
|
@@ -2031,10 +2031,10 @@ class UIResize {
|
|
|
2031
2031
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2032
2032
|
/* harmony export */ I: function() { return /* binding */ ContextMenuManager; }
|
|
2033
2033
|
/* harmony export */ });
|
|
2034
|
-
/* harmony import */ var
|
|
2035
|
-
/* harmony import */ var
|
|
2036
|
-
/* harmony import */ var
|
|
2037
|
-
/* harmony import */ var
|
|
2034
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2035
|
+
/* harmony import */ var jodit_esm_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80480);
|
|
2036
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
2037
|
+
/* harmony import */ var jodit_esm_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(63399);
|
|
2038
2038
|
/*!
|
|
2039
2039
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2040
2040
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2044,7 +2044,7 @@ class UIResize {
|
|
|
2044
2044
|
|
|
2045
2045
|
|
|
2046
2046
|
|
|
2047
|
-
let ContextMenuManager = class ContextMenuManager extends
|
|
2047
|
+
let ContextMenuManager = class ContextMenuManager extends jodit_esm_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__/* .ViewComponent */ .v {
|
|
2048
2048
|
/** @override */
|
|
2049
2049
|
className() {
|
|
2050
2050
|
return 'ContextMenuManager';
|
|
@@ -2065,7 +2065,7 @@ let ContextMenuManager = class ContextMenuManager extends jodit_esm_core_compone
|
|
|
2065
2065
|
if (!this.j.o.contextMenu) {
|
|
2066
2066
|
return;
|
|
2067
2067
|
}
|
|
2068
|
-
const context = (0,
|
|
2068
|
+
const context = (0,jodit_esm_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_3__/* .makeContextMenu */ .V)(this.j).setMod('theme', this.j.state.theme);
|
|
2069
2069
|
context.show(e.clientX, e.clientY, actions.filter((a) => a && a.enabled !== false));
|
|
2070
2070
|
this.j.e.on(this.j, 'afterClose', () => {
|
|
2071
2071
|
if (context.isOpened) {
|
|
@@ -2172,17 +2172,17 @@ let ContextMenuManager = class ContextMenuManager extends jodit_esm_core_compone
|
|
|
2172
2172
|
];
|
|
2173
2173
|
}
|
|
2174
2174
|
};
|
|
2175
|
-
(0,
|
|
2176
|
-
(0,
|
|
2175
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2176
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':contextmenuFolder.filebrowser')
|
|
2177
2177
|
], ContextMenuManager.prototype, "onFolderContext", null);
|
|
2178
|
-
(0,
|
|
2179
|
-
(0,
|
|
2178
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2179
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':contextmenuItem.filebrowser')
|
|
2180
2180
|
], ContextMenuManager.prototype, "onItemContext", null);
|
|
2181
|
-
(0,
|
|
2182
|
-
(0,
|
|
2181
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2182
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':contextmenuSource.filebrowser')
|
|
2183
2183
|
], ContextMenuManager.prototype, "onSourceContext", null);
|
|
2184
|
-
ContextMenuManager = (0,
|
|
2185
|
-
|
|
2184
|
+
ContextMenuManager = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2185
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
2186
2186
|
], ContextMenuManager);
|
|
2187
2187
|
|
|
2188
2188
|
|
|
@@ -2196,18 +2196,18 @@ ContextMenuManager = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)
|
|
|
2196
2196
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2197
2197
|
/* harmony export */ H: function() { return /* binding */ UISidebar; }
|
|
2198
2198
|
/* harmony export */ });
|
|
2199
|
-
/* harmony import */ var
|
|
2200
|
-
/* harmony import */ var
|
|
2201
|
-
/* harmony import */ var
|
|
2202
|
-
/* harmony import */ var
|
|
2203
|
-
/* harmony import */ var
|
|
2199
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2200
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2201
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
2202
|
+
/* harmony import */ var jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(62405);
|
|
2203
|
+
/* harmony import */ var jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71024);
|
|
2204
2204
|
|
|
2205
2205
|
|
|
2206
2206
|
|
|
2207
2207
|
|
|
2208
2208
|
|
|
2209
2209
|
|
|
2210
|
-
let UISidebar = class UISidebar extends
|
|
2210
|
+
let UISidebar = class UISidebar extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__/* .UIGroup */ .U {
|
|
2211
2211
|
/** @override */
|
|
2212
2212
|
className() {
|
|
2213
2213
|
return 'UISidebar';
|
|
@@ -2230,8 +2230,8 @@ let UISidebar = class UISidebar extends jodit_esm_core_ui_group_group__WEBPACK_I
|
|
|
2230
2230
|
* Add handle resizer
|
|
2231
2231
|
*/
|
|
2232
2232
|
addResize() {
|
|
2233
|
-
|
|
2234
|
-
|
|
2233
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_4__/* .UIResize */ .Z.remove(this);
|
|
2234
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_4__/* .UIResize */ .Z.install(this, screen.width > 450 ? 'right' : 'bottom');
|
|
2235
2235
|
}
|
|
2236
2236
|
constructor(jodit, elements, state) {
|
|
2237
2237
|
super(jodit, elements);
|
|
@@ -2250,22 +2250,22 @@ let UISidebar = class UISidebar extends jodit_esm_core_ui_group_group__WEBPACK_I
|
|
|
2250
2250
|
return false;
|
|
2251
2251
|
}
|
|
2252
2252
|
};
|
|
2253
|
-
(0,
|
|
2254
|
-
(0,
|
|
2255
|
-
(0,
|
|
2256
|
-
(0,
|
|
2253
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2254
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready'),
|
|
2255
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':resize', { context: window }),
|
|
2256
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
2257
2257
|
], UISidebar.prototype, "addResize", null);
|
|
2258
|
-
(0,
|
|
2259
|
-
(0,
|
|
2258
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2259
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.favorites')
|
|
2260
2260
|
], UISidebar.prototype, "onChangeFavorites", null);
|
|
2261
|
-
(0,
|
|
2262
|
-
(0,
|
|
2261
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2262
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('hide-btn:click')
|
|
2263
2263
|
], UISidebar.prototype, "onClickHideButton", null);
|
|
2264
|
-
(0,
|
|
2265
|
-
(0,
|
|
2264
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2265
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('favorites:click')
|
|
2266
2266
|
], UISidebar.prototype, "onClickFavorites", null);
|
|
2267
|
-
UISidebar = (0,
|
|
2268
|
-
|
|
2267
|
+
UISidebar = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2268
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2269
2269
|
], UISidebar);
|
|
2270
2270
|
|
|
2271
2271
|
|
|
@@ -2279,10 +2279,10 @@ UISidebar = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
2279
2279
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2280
2280
|
/* harmony export */ T: function() { return /* binding */ UIBrowserSources; }
|
|
2281
2281
|
/* harmony export */ });
|
|
2282
|
-
/* harmony import */ var
|
|
2283
|
-
/* harmony import */ var
|
|
2284
|
-
/* harmony import */ var
|
|
2285
|
-
/* harmony import */ var
|
|
2282
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2283
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2284
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
2285
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_source_source__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(61143);
|
|
2286
2286
|
/*!
|
|
2287
2287
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2288
2288
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2293,7 +2293,7 @@ UISidebar = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
2293
2293
|
|
|
2294
2294
|
|
|
2295
2295
|
|
|
2296
|
-
let UIBrowserSources = class UIBrowserSources extends
|
|
2296
|
+
let UIBrowserSources = class UIBrowserSources extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIGroup */ .Ue {
|
|
2297
2297
|
constructor() {
|
|
2298
2298
|
super(...arguments);
|
|
2299
2299
|
/** @override */
|
|
@@ -2306,12 +2306,12 @@ let UIBrowserSources = class UIBrowserSources extends jodit_esm_core_ui__WEBPACK
|
|
|
2306
2306
|
build(items) {
|
|
2307
2307
|
this.clear();
|
|
2308
2308
|
items.forEach((item) => {
|
|
2309
|
-
this.append(new
|
|
2309
|
+
this.append(new jodit_pro_plugins_finder_ui_source_source__WEBPACK_IMPORTED_MODULE_3__/* .UIBrowserSource */ .q(this.jodit, item));
|
|
2310
2310
|
});
|
|
2311
2311
|
}
|
|
2312
2312
|
};
|
|
2313
|
-
UIBrowserSources = (0,
|
|
2314
|
-
|
|
2313
|
+
UIBrowserSources = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2314
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2315
2315
|
], UIBrowserSources);
|
|
2316
2316
|
|
|
2317
2317
|
|
|
@@ -2325,10 +2325,10 @@ UIBrowserSources = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
2325
2325
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2326
2326
|
/* harmony export */ K: function() { return /* binding */ UIBrowserSettings; }
|
|
2327
2327
|
/* harmony export */ });
|
|
2328
|
-
/* harmony import */ var
|
|
2329
|
-
/* harmony import */ var
|
|
2330
|
-
/* harmony import */ var
|
|
2331
|
-
/* harmony import */ var
|
|
2328
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2329
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2330
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
2331
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
2332
2332
|
/*!
|
|
2333
2333
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2334
2334
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2339,7 +2339,7 @@ UIBrowserSources = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
2339
2339
|
|
|
2340
2340
|
|
|
2341
2341
|
|
|
2342
|
-
let UIBrowserSettings = class UIBrowserSettings extends
|
|
2342
|
+
let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIGroup */ .Ue {
|
|
2343
2343
|
/** @override */
|
|
2344
2344
|
className() {
|
|
2345
2345
|
return 'UIBrowserSettings';
|
|
@@ -2347,7 +2347,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2347
2347
|
/** @override */
|
|
2348
2348
|
render() {
|
|
2349
2349
|
return `<div>
|
|
2350
|
-
<div class="${this.getFullElName('close')}">${
|
|
2350
|
+
<div class="${this.getFullElName('close')}">${jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .In.get('cancel')}</div>
|
|
2351
2351
|
<div class="${this.getFullElName('title')}">${this.j.i18n('Settings')}</div>
|
|
2352
2352
|
<div class="${this.getFullElName('options')}"></div>
|
|
2353
2353
|
</div>`;
|
|
@@ -2387,7 +2387,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2387
2387
|
this.clear();
|
|
2388
2388
|
const { j } = this;
|
|
2389
2389
|
this.append([
|
|
2390
|
-
new
|
|
2390
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIButtonGroup */ .ss(j, {
|
|
2391
2391
|
label: 'Theme',
|
|
2392
2392
|
name: 'theme',
|
|
2393
2393
|
value: this.state.theme,
|
|
@@ -2405,7 +2405,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2405
2405
|
this.state.theme = values[0].value;
|
|
2406
2406
|
}
|
|
2407
2407
|
}),
|
|
2408
|
-
new
|
|
2408
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIButtonGroup */ .ss(j, {
|
|
2409
2409
|
label: 'Show favorites',
|
|
2410
2410
|
name: 'showFavorites',
|
|
2411
2411
|
value: this.state.showFavorites,
|
|
@@ -2418,7 +2418,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2418
2418
|
this.state.showFavorites = values[0].value;
|
|
2419
2419
|
}
|
|
2420
2420
|
}),
|
|
2421
|
-
new
|
|
2421
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIButtonGroup */ .ss(j, {
|
|
2422
2422
|
label: 'View',
|
|
2423
2423
|
name: 'view',
|
|
2424
2424
|
value: this.state.view,
|
|
@@ -2432,7 +2432,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2432
2432
|
this.state.view = values[0].value;
|
|
2433
2433
|
}
|
|
2434
2434
|
}),
|
|
2435
|
-
new
|
|
2435
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIButtonGroup */ .ss(j, {
|
|
2436
2436
|
label: 'Folders position',
|
|
2437
2437
|
name: 'foldersPosition',
|
|
2438
2438
|
value: this.state.foldersPosition,
|
|
@@ -2446,7 +2446,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2446
2446
|
this.state.foldersPosition = values[0].value;
|
|
2447
2447
|
}
|
|
2448
2448
|
}),
|
|
2449
|
-
new
|
|
2449
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UISelect */ .$6(j, {
|
|
2450
2450
|
label: 'Sort by',
|
|
2451
2451
|
name: 'sort-by',
|
|
2452
2452
|
value: this.state.sortBy,
|
|
@@ -2480,7 +2480,7 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2480
2480
|
this.state.sortBy = value;
|
|
2481
2481
|
}
|
|
2482
2482
|
}),
|
|
2483
|
-
new
|
|
2483
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UISelect */ .$6(j, {
|
|
2484
2484
|
label: 'Tile size',
|
|
2485
2485
|
name: 'tile-size',
|
|
2486
2486
|
value: this.state.tileSize,
|
|
@@ -2515,11 +2515,11 @@ let UIBrowserSettings = class UIBrowserSettings extends jodit_esm_core_ui__WEBPA
|
|
|
2515
2515
|
this.onChangeView();
|
|
2516
2516
|
}
|
|
2517
2517
|
};
|
|
2518
|
-
(0,
|
|
2519
|
-
(0,
|
|
2518
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2519
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.view')
|
|
2520
2520
|
], UIBrowserSettings.prototype, "onChangeView", null);
|
|
2521
|
-
UIBrowserSettings = (0,
|
|
2522
|
-
|
|
2521
|
+
UIBrowserSettings = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2522
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2523
2523
|
], UIBrowserSettings);
|
|
2524
2524
|
|
|
2525
2525
|
|
|
@@ -2533,14 +2533,14 @@ UIBrowserSettings = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)(
|
|
|
2533
2533
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2534
2534
|
/* harmony export */ T: function() { return /* binding */ UIPreview; }
|
|
2535
2535
|
/* harmony export */ });
|
|
2536
|
-
/* harmony import */ var
|
|
2537
|
-
/* harmony import */ var
|
|
2538
|
-
/* harmony import */ var
|
|
2539
|
-
/* harmony import */ var
|
|
2540
|
-
/* harmony import */ var
|
|
2541
|
-
/* harmony import */ var
|
|
2542
|
-
/* harmony import */ var
|
|
2543
|
-
/* harmony import */ var
|
|
2536
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2537
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2538
|
+
/* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
|
|
2539
|
+
/* harmony import */ var jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(43555);
|
|
2540
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38837);
|
|
2541
|
+
/* harmony import */ var jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62405);
|
|
2542
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(35891);
|
|
2543
|
+
/* harmony import */ var jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71024);
|
|
2544
2544
|
|
|
2545
2545
|
|
|
2546
2546
|
|
|
@@ -2550,7 +2550,7 @@ UIBrowserSettings = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)(
|
|
|
2550
2550
|
|
|
2551
2551
|
|
|
2552
2552
|
|
|
2553
|
-
let UIPreview = class UIPreview extends
|
|
2553
|
+
let UIPreview = class UIPreview extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODULE_5__/* .UIGroup */ .U {
|
|
2554
2554
|
/** @override */
|
|
2555
2555
|
className() {
|
|
2556
2556
|
return 'UIPreview';
|
|
@@ -2559,8 +2559,8 @@ let UIPreview = class UIPreview extends jodit_esm_core_ui_group_group__WEBPACK_I
|
|
|
2559
2559
|
* Add handle resizer
|
|
2560
2560
|
*/
|
|
2561
2561
|
addResize() {
|
|
2562
|
-
|
|
2563
|
-
|
|
2562
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_7__/* .UIResize */ .Z.remove(this);
|
|
2563
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_7__/* .UIResize */ .Z.install(this, screen.width > 450 ? 'left' : 'top');
|
|
2564
2564
|
}
|
|
2565
2565
|
/** @override */
|
|
2566
2566
|
render() {
|
|
@@ -2591,28 +2591,28 @@ let UIPreview = class UIPreview extends jodit_esm_core_ui_group_group__WEBPACK_I
|
|
|
2591
2591
|
this.setMod('empty', !metaInfo);
|
|
2592
2592
|
const info = this.getElm('info');
|
|
2593
2593
|
void 0;
|
|
2594
|
-
|
|
2594
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.detach(info);
|
|
2595
2595
|
const image = this.getElm('image');
|
|
2596
2596
|
void 0;
|
|
2597
|
-
(0,
|
|
2597
|
+
(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .css */ .AH)(image, {
|
|
2598
2598
|
backgroundImage: null
|
|
2599
2599
|
});
|
|
2600
2600
|
if (!metaInfo) {
|
|
2601
2601
|
return;
|
|
2602
2602
|
}
|
|
2603
2603
|
this.setMod('is-file', metaInfo.isImage === false).setMod('type', metaInfo.type ?? 'file');
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2604
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem */ .Q.prototype.setElementValue.call(this, 'name', metaInfo.file);
|
|
2605
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem */ .Q.prototype.setElementValue.call(this, 'time', metaInfo.time);
|
|
2606
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem */ .Q.prototype.setElementValue.call(this, 'filesize', metaInfo.size);
|
|
2607
2607
|
this.setMod('loading', true);
|
|
2608
2608
|
this.lastLoadPromise?.rejectCallback();
|
|
2609
|
-
this.lastLoadPromise = (0,
|
|
2609
|
+
this.lastLoadPromise = (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .loadImage */ .yt)(metaInfo.isImage ? metaInfo.fileURL : metaInfo.imageURL, this.j);
|
|
2610
2610
|
this.lastLoadPromise
|
|
2611
2611
|
.then((image) => {
|
|
2612
2612
|
const elm = this.getElm('image');
|
|
2613
2613
|
void 0;
|
|
2614
2614
|
image &&
|
|
2615
|
-
(0,
|
|
2615
|
+
(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .css */ .AH)(elm, {
|
|
2616
2616
|
backgroundImage: `url(${image.src})`
|
|
2617
2617
|
});
|
|
2618
2618
|
})
|
|
@@ -2622,16 +2622,16 @@ let UIPreview = class UIPreview extends jodit_esm_core_ui_group_group__WEBPACK_I
|
|
|
2622
2622
|
.catch(() => { });
|
|
2623
2623
|
}
|
|
2624
2624
|
};
|
|
2625
|
-
(0,
|
|
2626
|
-
(0,
|
|
2627
|
-
(0,
|
|
2628
|
-
(0,
|
|
2625
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2626
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready'),
|
|
2627
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':resize', { context: window }),
|
|
2628
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
2629
2629
|
], UIPreview.prototype, "addResize", null);
|
|
2630
|
-
(0,
|
|
2631
|
-
(0,
|
|
2630
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2631
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.metaInfo')
|
|
2632
2632
|
], UIPreview.prototype, "onChangeMetaInfo", null);
|
|
2633
|
-
UIPreview = (0,
|
|
2634
|
-
|
|
2633
|
+
UIPreview = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2634
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2635
2635
|
], UIPreview);
|
|
2636
2636
|
|
|
2637
2637
|
|
|
@@ -2652,12 +2652,12 @@ module.exports = "<svg viewBox=\"0 0 252 252\" xmlns=\"http://www.w3.org/2000/sv
|
|
|
2652
2652
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2653
2653
|
/* harmony export */ c: function() { return /* binding */ UILightBox; }
|
|
2654
2654
|
/* harmony export */ });
|
|
2655
|
-
/* harmony import */ var
|
|
2656
|
-
/* harmony import */ var
|
|
2657
|
-
/* harmony import */ var
|
|
2658
|
-
/* harmony import */ var
|
|
2659
|
-
/* harmony import */ var
|
|
2660
|
-
/* harmony import */ var
|
|
2655
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2656
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82758);
|
|
2657
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
2658
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
|
|
2659
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38837);
|
|
2660
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41409);
|
|
2661
2661
|
/*!
|
|
2662
2662
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2663
2663
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2671,7 +2671,7 @@ var UILightBox_1;
|
|
|
2671
2671
|
|
|
2672
2672
|
|
|
2673
2673
|
|
|
2674
|
-
let UILightBox = UILightBox_1 = class UILightBox extends
|
|
2674
|
+
let UILightBox = UILightBox_1 = class UILightBox extends jodit_esm_modules__WEBPACK_IMPORTED_MODULE_5__.UIElement {
|
|
2675
2675
|
/** @override */
|
|
2676
2676
|
className() {
|
|
2677
2677
|
return 'UILightBox';
|
|
@@ -2688,7 +2688,7 @@ let UILightBox = UILightBox_1 = class UILightBox extends jodit_esm_modules__WEBP
|
|
|
2688
2688
|
super(jodit);
|
|
2689
2689
|
this.current = current;
|
|
2690
2690
|
this.elements = elements;
|
|
2691
|
-
this.dialog = new
|
|
2691
|
+
this.dialog = new jodit_esm_modules__WEBPACK_IMPORTED_MODULE_5__.Dialog();
|
|
2692
2692
|
const { dialog } = this;
|
|
2693
2693
|
dialog
|
|
2694
2694
|
.setMod('theme', jodit.state.theme)
|
|
@@ -2717,14 +2717,14 @@ let UILightBox = UILightBox_1 = class UILightBox extends jodit_esm_modules__WEBP
|
|
|
2717
2717
|
this.setMod('loading', true);
|
|
2718
2718
|
const preview = this.getElm('preview');
|
|
2719
2719
|
void 0;
|
|
2720
|
-
|
|
2721
|
-
(0,
|
|
2720
|
+
jodit_esm_modules__WEBPACK_IMPORTED_MODULE_5__.Dom.detach(preview);
|
|
2721
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.css)(preview, {
|
|
2722
2722
|
backgroundImage: null
|
|
2723
2723
|
});
|
|
2724
2724
|
if (current.isImage) {
|
|
2725
|
-
const image = await (0,
|
|
2725
|
+
const image = await (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadImage)(current.fileURL, this.j);
|
|
2726
2726
|
this.dialog.setPosition();
|
|
2727
|
-
(0,
|
|
2727
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.css)(preview, {
|
|
2728
2728
|
width: Math.min(this.jodit.ow.innerWidth, image.naturalWidth),
|
|
2729
2729
|
height: Math.min(this.jodit.ow.innerHeight - 100, image.naturalHeight),
|
|
2730
2730
|
backgroundImage: `url(${image.src})`
|
|
@@ -2775,8 +2775,8 @@ let UILightBox = UILightBox_1 = class UILightBox extends jodit_esm_modules__WEBP
|
|
|
2775
2775
|
this.j.e.on(this.j.od, 'keydown', this.onKeyPress);
|
|
2776
2776
|
}
|
|
2777
2777
|
onKeyPress(e) {
|
|
2778
|
-
if (e.key ===
|
|
2779
|
-
e.key ===
|
|
2778
|
+
if (e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.KEY_LEFT || e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.KEY_RIGHT || e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.KEY_SPACE) {
|
|
2779
|
+
e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.KEY_LEFT ? this.onPreviousClick() : this.onNextClick();
|
|
2780
2780
|
return false;
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
@@ -2789,20 +2789,20 @@ let UILightBox = UILightBox_1 = class UILightBox extends jodit_esm_modules__WEBP
|
|
|
2789
2789
|
return super.destruct();
|
|
2790
2790
|
}
|
|
2791
2791
|
};
|
|
2792
|
-
(0,
|
|
2793
|
-
(0,
|
|
2792
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2793
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('current')
|
|
2794
2794
|
], UILightBox.prototype, "onChangeCurrent", null);
|
|
2795
|
-
(0,
|
|
2796
|
-
(0,
|
|
2795
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2796
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('previous:click')
|
|
2797
2797
|
], UILightBox.prototype, "onPreviousClick", null);
|
|
2798
|
-
(0,
|
|
2799
|
-
(0,
|
|
2798
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2799
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)('next:click')
|
|
2800
2800
|
], UILightBox.prototype, "onNextClick", null);
|
|
2801
|
-
(0,
|
|
2802
|
-
|
|
2801
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2802
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
2803
2803
|
], UILightBox.prototype, "onKeyPress", null);
|
|
2804
|
-
UILightBox = UILightBox_1 = (0,
|
|
2805
|
-
|
|
2804
|
+
UILightBox = UILightBox_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2805
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
2806
2806
|
], UILightBox);
|
|
2807
2807
|
|
|
2808
2808
|
|
|
@@ -2816,10 +2816,10 @@ UILightBox = UILightBox_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate
|
|
|
2816
2816
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2817
2817
|
/* harmony export */ c: function() { return /* binding */ HistoryManager; }
|
|
2818
2818
|
/* harmony export */ });
|
|
2819
|
-
/* harmony import */ var
|
|
2820
|
-
/* harmony import */ var
|
|
2821
|
-
/* harmony import */ var
|
|
2822
|
-
/* harmony import */ var
|
|
2819
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2820
|
+
/* harmony import */ var jodit_esm_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80480);
|
|
2821
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
2822
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_extend__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97735);
|
|
2823
2823
|
/*!
|
|
2824
2824
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2825
2825
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2829,7 +2829,7 @@ UILightBox = UILightBox_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate
|
|
|
2829
2829
|
|
|
2830
2830
|
|
|
2831
2831
|
|
|
2832
|
-
let HistoryManager = class HistoryManager extends
|
|
2832
|
+
let HistoryManager = class HistoryManager extends jodit_esm_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__/* .ViewComponent */ .v {
|
|
2833
2833
|
/** @override */
|
|
2834
2834
|
className() {
|
|
2835
2835
|
return 'HistoryManager';
|
|
@@ -2881,7 +2881,7 @@ let HistoryManager = class HistoryManager extends jodit_esm_core_component_view_
|
|
|
2881
2881
|
this.history[this.historyIndex] = {
|
|
2882
2882
|
currentSource: this.state.currentSource,
|
|
2883
2883
|
currentPath: this.state.currentPath,
|
|
2884
|
-
tree: (0,
|
|
2884
|
+
tree: (0,jodit_esm_core_helpers_utils_extend__WEBPACK_IMPORTED_MODULE_3__/* .fastClone */ .y6)(this.state.tree),
|
|
2885
2885
|
elements: [...this.state.elements]
|
|
2886
2886
|
};
|
|
2887
2887
|
}
|
|
@@ -2909,17 +2909,17 @@ let HistoryManager = class HistoryManager extends jodit_esm_core_component_view_
|
|
|
2909
2909
|
this.j.e.fire('changeSelection');
|
|
2910
2910
|
}
|
|
2911
2911
|
};
|
|
2912
|
-
(0,
|
|
2913
|
-
(0,
|
|
2912
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2913
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(['state.elements', 'state.tree'])
|
|
2914
2914
|
], HistoryManager.prototype, "updateCurrent", null);
|
|
2915
|
-
(0,
|
|
2916
|
-
(0,
|
|
2915
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2916
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':goHome.filebrowser')
|
|
2917
2917
|
], HistoryManager.prototype, "onHome", null);
|
|
2918
|
-
(0,
|
|
2919
|
-
(0,
|
|
2918
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2919
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':afterOpenFolder.filebrowser')
|
|
2920
2920
|
], HistoryManager.prototype, "onOpenFolder", null);
|
|
2921
|
-
HistoryManager = (0,
|
|
2922
|
-
|
|
2921
|
+
HistoryManager = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2922
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
2923
2923
|
], HistoryManager);
|
|
2924
2924
|
|
|
2925
2925
|
|
|
@@ -2933,9 +2933,9 @@ HistoryManager = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
2933
2933
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2934
2934
|
/* harmony export */ K: function() { return /* binding */ LoadingManager; }
|
|
2935
2935
|
/* harmony export */ });
|
|
2936
|
-
/* harmony import */ var
|
|
2937
|
-
/* harmony import */ var
|
|
2938
|
-
/* harmony import */ var
|
|
2936
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2937
|
+
/* harmony import */ var jodit_esm_core_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91907);
|
|
2938
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
2939
2939
|
/*!
|
|
2940
2940
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2941
2941
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2944,7 +2944,7 @@ HistoryManager = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
2944
2944
|
|
|
2945
2945
|
|
|
2946
2946
|
|
|
2947
|
-
let LoadingManager = class LoadingManager extends
|
|
2947
|
+
let LoadingManager = class LoadingManager extends jodit_esm_core_component__WEBPACK_IMPORTED_MODULE_1__/* .ViewComponent */ .vG {
|
|
2948
2948
|
/** @override */
|
|
2949
2949
|
className() {
|
|
2950
2950
|
return 'LoadingManager';
|
|
@@ -3050,18 +3050,18 @@ let LoadingManager = class LoadingManager extends jodit_esm_core_component__WEBP
|
|
|
3050
3050
|
return this.__loadItemsChunk(tick);
|
|
3051
3051
|
}
|
|
3052
3052
|
};
|
|
3053
|
-
(0,
|
|
3054
|
-
(0,
|
|
3053
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3054
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':update.filebrowser')
|
|
3055
3055
|
], LoadingManager.prototype, "onUpdateFileBrowser", null);
|
|
3056
|
-
(0,
|
|
3057
|
-
(0,
|
|
3058
|
-
(0,
|
|
3056
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3057
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(['state.currentPath', 'state.currentSource']),
|
|
3058
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)((ctx) => ({
|
|
3059
3059
|
timeout: ctx.defaultTimeout,
|
|
3060
3060
|
promisify: true
|
|
3061
3061
|
}))
|
|
3062
3062
|
], LoadingManager.prototype, "loadFolders", null);
|
|
3063
|
-
(0,
|
|
3064
|
-
(0,
|
|
3063
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3064
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)([
|
|
3065
3065
|
'state.currentPath',
|
|
3066
3066
|
'state.currentSource',
|
|
3067
3067
|
'state.sortBy',
|
|
@@ -3069,19 +3069,19 @@ let LoadingManager = class LoadingManager extends jodit_esm_core_component__WEBP
|
|
|
3069
3069
|
'state.foldersPosition',
|
|
3070
3070
|
'state.filterWord'
|
|
3071
3071
|
]),
|
|
3072
|
-
(0,
|
|
3072
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)((ctx) => ({
|
|
3073
3073
|
timeout: ctx.defaultTimeout,
|
|
3074
3074
|
promisify: true
|
|
3075
3075
|
}))
|
|
3076
3076
|
], LoadingManager.prototype, "loadItems", null);
|
|
3077
|
-
(0,
|
|
3078
|
-
(0,
|
|
3077
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3078
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)((ctx) => ({
|
|
3079
3079
|
timeout: ctx.defaultTimeout,
|
|
3080
3080
|
promisify: true
|
|
3081
3081
|
}))
|
|
3082
3082
|
], LoadingManager.prototype, "loadItemsChunk", null);
|
|
3083
|
-
LoadingManager = (0,
|
|
3084
|
-
|
|
3083
|
+
LoadingManager = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3084
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
3085
3085
|
], LoadingManager);
|
|
3086
3086
|
|
|
3087
3087
|
function loadPartItems(state, dataProvider, offset, limit) {
|