jodit-pro 4.2.58 → 4.2.60
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/config.js +1 -1
- package/es2015/jodit.css +48 -48
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +576 -576
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +8 -8
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +2 -2
- package/es2015/plugins/button-generator/button-generator.js +5 -5
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +3 -3
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +2 -2
- package/es2015/plugins/color-picker/color-picker.js +3 -3
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +3 -3
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +3 -3
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +3 -3
- package/es2015/plugins/finder/finder.js +27 -27
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +5 -5
- package/es2015/plugins/google-maps/google-maps.js +28 -28
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +2 -2
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +4 -4
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +2 -2
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +3 -3
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +4 -4
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +3 -3
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +23 -23
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +3 -3
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +7 -7
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +4 -4
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.css +48 -48
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +576 -576
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +8 -8
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +2 -2
- package/es2018/plugins/button-generator/button-generator.js +5 -5
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +3 -3
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +2 -2
- package/es2018/plugins/color-picker/color-picker.js +3 -3
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +3 -3
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +3 -3
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.css +3 -3
- package/es2018/plugins/finder/finder.js +27 -27
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +5 -5
- package/es2018/plugins/google-maps/google-maps.js +28 -28
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +2 -2
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +4 -4
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +2 -2
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +3 -3
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +4 -4
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +3 -3
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +23 -23
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +3 -3
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +7 -7
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +4 -4
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +48 -48
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +576 -576
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +8 -8
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +2 -2
- package/es2021/plugins/button-generator/button-generator.js +5 -5
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +3 -3
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +2 -2
- package/es2021/plugins/color-picker/color-picker.js +3 -3
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +3 -3
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +3 -3
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +3 -3
- package/es2021/plugins/finder/finder.js +27 -27
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +5 -5
- package/es2021/plugins/google-maps/google-maps.js +28 -28
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +2 -2
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +4 -4
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +2 -2
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +3 -3
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +4 -4
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +3 -3
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +23 -23
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +3 -3
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +7 -7
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +4 -4
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +48 -48
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +488 -488
- 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 +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +8 -8
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +2 -2
- package/es2021.en/plugins/button-generator/button-generator.js +5 -5
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +3 -3
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +2 -2
- package/es2021.en/plugins/color-picker/color-picker.js +3 -3
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +3 -3
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +3 -3
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +3 -3
- package/es2021.en/plugins/finder/finder.js +26 -26
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +5 -5
- package/es2021.en/plugins/google-maps/google-maps.js +28 -28
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +2 -2
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +4 -4
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +3 -3
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +4 -4
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +3 -3
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +4 -4
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +3 -3
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +7 -7
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +4 -4
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/292.fat.min.js +1 -1
- package/es5/292.js +1 -1
- package/es5/292.min.js +1 -1
- package/es5/jodit.css +49 -49
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +576 -576
- 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 +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +8 -8
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +2 -2
- package/es5/plugins/button-generator/button-generator.js +5 -5
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +3 -3
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +2 -2
- package/es5/plugins/color-picker/color-picker.js +3 -3
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +3 -3
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +3 -3
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +3 -3
- package/es5/plugins/finder/finder.js +27 -27
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +5 -5
- package/es5/plugins/google-maps/google-maps.js +28 -28
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +2 -2
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +4 -4
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +2 -2
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +3 -3
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +4 -4
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +3 -3
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +23 -23
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +3 -3
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +7 -7
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +4 -4
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/esm/config.d.ts +1 -1
- package/esm/config.js +1 -1
- package/esm/core/ui/form/range/range.d.ts +1 -1
- package/esm/core/ui/form/range/range.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/jodit-pro.d.ts +1 -1
- package/esm/jodit-pro.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.d.ts +1 -1
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/autocomplete/helpers.d.ts +1 -1
- package/esm/plugins/autocomplete/helpers.js +1 -1
- package/esm/plugins/autocomplete/interface.d.ts +1 -1
- package/esm/plugins/autocomplete/interface.js +1 -1
- package/esm/plugins/autocomplete/ui/autocomplete.d.ts +1 -1
- package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
- package/esm/plugins/autocomplete/ui/item.d.ts +1 -1
- package/esm/plugins/autocomplete/ui/item.js +1 -1
- package/esm/plugins/backup/backup.d.ts +1 -1
- package/esm/plugins/backup/backup.js +1 -1
- package/esm/plugins/backup/config.d.ts +1 -1
- package/esm/plugins/backup/config.js +1 -1
- package/esm/plugins/backup/interface.d.ts +1 -1
- package/esm/plugins/backup/interface.js +1 -1
- package/esm/plugins/backup/langs/index.d.ts +1 -1
- package/esm/plugins/backup/langs/index.js +1 -1
- package/esm/plugins/backup/modules/store.d.ts +1 -1
- package/esm/plugins/backup/modules/store.js +1 -1
- package/esm/plugins/backup/ui/box.d.ts +1 -1
- package/esm/plugins/backup/ui/box.js +1 -1
- package/esm/plugins/backup/ui/item.d.ts +1 -1
- package/esm/plugins/backup/ui/item.js +1 -1
- package/esm/plugins/backup/ui/list.d.ts +1 -1
- package/esm/plugins/backup/ui/list.js +1 -1
- package/esm/plugins/button-generator/button-generator.d.ts +1 -1
- package/esm/plugins/button-generator/config.d.ts +1 -1
- package/esm/plugins/button-generator/config.js +1 -1
- package/esm/plugins/button-generator/ui/button/button.d.ts +1 -1
- package/esm/plugins/button-generator/ui/form/form.d.ts +1 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +1 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/preview/preview.d.ts +1 -1
- package/esm/plugins/change-case/change-case.d.ts +1 -1
- package/esm/plugins/change-case/change-case.js +1 -1
- package/esm/plugins/change-case/config.d.ts +1 -1
- package/esm/plugins/change-case/config.js +1 -1
- package/esm/plugins/color-picker/color-picker.d.ts +1 -1
- package/esm/plugins/color-picker/color-picker.js +1 -1
- package/esm/plugins/color-picker/ui/input/color-input.d.ts +1 -1
- package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
- package/esm/plugins/emoji/emoji.d.ts +1 -1
- package/esm/plugins/emoji/emoji.js +1 -1
- package/esm/plugins/emoji/interface.d.ts +1 -1
- package/esm/plugins/emoji/interface.js +1 -1
- package/esm/plugins/emoji/ui/emoji.d.ts +1 -1
- package/esm/plugins/emoji/ui/emoji.js +1 -1
- package/esm/plugins/export-docs/config.d.ts +1 -1
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/export-docs/export-docs.d.ts +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/esm/plugins/finder/browser.d.ts +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/config.d.ts +1 -1
- package/esm/plugins/finder/config.js +1 -1
- package/esm/plugins/finder/finder.d.ts +1 -1
- package/esm/plugins/finder/finder.js +1 -1
- package/esm/plugins/finder/helpers/context-menu.d.ts +1 -1
- package/esm/plugins/finder/helpers/context-menu.js +1 -1
- package/esm/plugins/finder/helpers/helpers.d.ts +1 -1
- package/esm/plugins/finder/helpers/helpers.js +1 -1
- package/esm/plugins/finder/helpers/history-manager.d.ts +1 -1
- package/esm/plugins/finder/helpers/history-manager.js +1 -1
- package/esm/plugins/finder/helpers/loading-manager.d.ts +1 -1
- package/esm/plugins/finder/helpers/loading-manager.js +1 -1
- package/esm/plugins/finder/helpers/persistent-store.d.ts +1 -1
- package/esm/plugins/finder/helpers/persistent-store.js +1 -1
- package/esm/plugins/finder/helpers/state-manager.d.ts +1 -1
- package/esm/plugins/finder/helpers/state-manager.js +1 -1
- package/esm/plugins/finder/interface.d.ts +1 -1
- package/esm/plugins/finder/langs/index.d.ts +1 -1
- package/esm/plugins/finder/langs/index.js +1 -1
- package/esm/plugins/finder/langs/ru.js +1 -1
- package/esm/plugins/finder/ui/assets/icons/index.js +1 -1
- package/esm/plugins/finder/ui/folder/folder.d.ts +1 -1
- package/esm/plugins/finder/ui/folder/folder.js +1 -1
- package/esm/plugins/finder/ui/header/header.d.ts +1 -1
- package/esm/plugins/finder/ui/header/header.js +1 -1
- package/esm/plugins/finder/ui/item/item.d.ts +1 -1
- package/esm/plugins/finder/ui/item/item.js +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
- package/esm/plugins/finder/ui/panel/panel.d.ts +1 -1
- package/esm/plugins/finder/ui/panel/panel.js +1 -1
- package/esm/plugins/finder/ui/preview/preview.d.ts +1 -1
- package/esm/plugins/finder/ui/progress/progress.d.ts +1 -1
- package/esm/plugins/finder/ui/settings/settings.d.ts +1 -1
- package/esm/plugins/finder/ui/settings/settings.js +1 -1
- package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +1 -1
- package/esm/plugins/finder/ui/source/source.d.ts +1 -1
- package/esm/plugins/finder/ui/source/source.js +1 -1
- package/esm/plugins/finder/ui/sources/sources.d.ts +1 -1
- package/esm/plugins/finder/ui/sources/sources.js +1 -1
- package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +1 -1
- package/esm/plugins/finder/ui/statusbar/statusbar.js +1 -1
- package/esm/plugins/finder/ui/tree/tree.d.ts +1 -1
- package/esm/plugins/finder/ui/tree/tree.js +1 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +1 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
- package/esm/plugins/google-maps/assets/index.d.ts +1 -1
- package/esm/plugins/google-maps/assets/index.js +1 -1
- package/esm/plugins/google-maps/config.d.ts +1 -1
- package/esm/plugins/google-maps/config.js +1 -1
- package/esm/plugins/google-maps/google-maps.d.ts +1 -1
- package/esm/plugins/google-maps/google-maps.js +1 -1
- package/esm/plugins/google-maps/helpers/const.d.ts +1 -1
- package/esm/plugins/google-maps/helpers/const.js +1 -1
- package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +1 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +1 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
- package/esm/plugins/google-maps/helpers/helpers.d.ts +1 -1
- package/esm/plugins/google-maps/helpers/helpers.js +1 -1
- package/esm/plugins/google-maps/helpers/static-url.d.ts +1 -1
- package/esm/plugins/google-maps/helpers/static-url.js +1 -1
- package/esm/plugins/google-maps/interface.d.ts +1 -1
- package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +1 -1
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
- package/esm/plugins/google-maps/ui/editors/base.d.ts +1 -1
- package/esm/plugins/google-maps/ui/editors/base.js +1 -1
- package/esm/plugins/google-maps/ui/editors/index.d.ts +1 -1
- package/esm/plugins/google-maps/ui/editors/index.js +1 -1
- package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +1 -1
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +1 -1
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +1 -1
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +1 -1
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +1 -1
- package/esm/plugins/google-maps/ui/index.d.ts +1 -1
- package/esm/plugins/google-maps/ui/index.js +1 -1
- package/esm/plugins/google-maps/ui/map/map.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/map.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/index.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/modules/index.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +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/on-change-geometries.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/modules/remove-element.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +1 -1
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +1 -1
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +1 -1
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
- package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +1 -1
- package/esm/plugins/google-maps/ui/maps-props/maps-props.js +1 -1
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +1 -1
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
- package/esm/plugins/google-search/google-search.d.ts +1 -1
- package/esm/plugins/google-search/google-search.js +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.d.ts +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
- package/esm/plugins/iframe-editor/config.d.ts +1 -1
- package/esm/plugins/iframe-editor/config.js +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.d.ts +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
- package/esm/plugins/iframe-editor/interface.d.ts +1 -1
- package/esm/plugins/iframe-editor/interface.js +1 -1
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +1 -1
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +1 -1
- package/esm/plugins/index.d.ts +1 -1
- package/esm/plugins/index.js +1 -1
- package/esm/plugins/keyboard/config.d.ts +1 -1
- package/esm/plugins/keyboard/interface.d.ts +1 -1
- package/esm/plugins/keyboard/interface.js +1 -1
- package/esm/plugins/keyboard/keyboard.d.ts +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
- package/esm/plugins/license/helpers/helpers.d.ts +1 -1
- package/esm/plugins/license/helpers/helpers.js +1 -1
- package/esm/plugins/license/license.d.ts +1 -1
- package/esm/plugins/license/license.js +1 -1
- package/esm/plugins/mobile-view/config.d.ts +1 -1
- package/esm/plugins/mobile-view/config.js +1 -1
- package/esm/plugins/mobile-view/mobile-view.d.ts +1 -1
- package/esm/plugins/mobile-view/mobile-view.js +1 -1
- package/esm/plugins/page-break/config.d.ts +1 -1
- package/esm/plugins/page-break/config.js +1 -1
- package/esm/plugins/page-break/page-break.css.js +1 -1
- package/esm/plugins/page-break/page-break.d.ts +1 -1
- package/esm/plugins/page-break/page-break.js +1 -1
- package/esm/plugins/paste-code/config.d.ts +1 -1
- package/esm/plugins/paste-code/config.js +1 -1
- package/esm/plugins/paste-code/paste-code.d.ts +1 -1
- package/esm/plugins/paste-code/paste-code.js +1 -1
- package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -1
- package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/clear-attributes.js +1 -1
- package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/clear-class-name.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +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.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
- package/esm/plugins/paste-from-word/cases/index.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/index.js +1 -1
- package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/mark-page-break.js +1 -1
- package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/normalize-image-props.js +1 -1
- package/esm/plugins/paste-from-word/cases/process-image.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
- package/esm/plugins/paste-from-word/cases/process-links.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/process-links.js +1 -1
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +1 -1
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +1 -1
- package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/replace-old-tags.js +1 -1
- package/esm/plugins/paste-from-word/cases/table.d.ts +1 -1
- package/esm/plugins/paste-from-word/cases/table.js +1 -1
- package/esm/plugins/paste-from-word/config.d.ts +1 -1
- package/esm/plugins/paste-from-word/config.js +1 -1
- package/esm/plugins/paste-from-word/constants.d.ts +1 -1
- package/esm/plugins/paste-from-word/constants.js +1 -1
- package/esm/plugins/paste-from-word/element/checkers.d.ts +1 -1
- package/esm/plugins/paste-from-word/element/checkers.js +1 -1
- package/esm/plugins/paste-from-word/element/element.d.ts +1 -1
- package/esm/plugins/paste-from-word/element/element.js +1 -1
- package/esm/plugins/paste-from-word/element/index.d.ts +1 -1
- package/esm/plugins/paste-from-word/element/index.js +1 -1
- package/esm/plugins/paste-from-word/element/render.d.ts +1 -1
- package/esm/plugins/paste-from-word/element/render.js +1 -1
- package/esm/plugins/paste-from-word/element/style.d.ts +1 -1
- package/esm/plugins/paste-from-word/element/style.js +1 -1
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +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.d.ts +1 -1
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
- package/esm/plugins/paste-from-word/helpers/helpers.d.ts +1 -1
- package/esm/plugins/paste-from-word/helpers/helpers.js +1 -1
- package/esm/plugins/paste-from-word/helpers/index.d.ts +1 -1
- package/esm/plugins/paste-from-word/helpers/index.js +1 -1
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +1 -1
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
- package/esm/plugins/paste-from-word/interface.d.ts +1 -1
- package/esm/plugins/paste-from-word/interface.js +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.js +1 -1
- package/esm/plugins/show-blocks/config.d.ts +1 -1
- package/esm/plugins/show-blocks/config.js +1 -1
- package/esm/plugins/show-blocks/langs/ar.js +1 -1
- package/esm/plugins/show-blocks/langs/cs_cz.js +1 -1
- package/esm/plugins/show-blocks/langs/de.js +1 -1
- package/esm/plugins/show-blocks/langs/es.js +1 -1
- package/esm/plugins/show-blocks/langs/fa.js +1 -1
- package/esm/plugins/show-blocks/langs/fr.js +1 -1
- package/esm/plugins/show-blocks/langs/he.js +1 -1
- package/esm/plugins/show-blocks/langs/hu.js +1 -1
- package/esm/plugins/show-blocks/langs/id.js +1 -1
- package/esm/plugins/show-blocks/langs/index.d.ts +1 -1
- package/esm/plugins/show-blocks/langs/index.js +1 -1
- package/esm/plugins/show-blocks/langs/it.js +1 -1
- package/esm/plugins/show-blocks/langs/ja.js +1 -1
- package/esm/plugins/show-blocks/langs/ko.js +1 -1
- package/esm/plugins/show-blocks/langs/nl.js +1 -1
- package/esm/plugins/show-blocks/langs/pl.js +1 -1
- package/esm/plugins/show-blocks/langs/pt_br.js +1 -1
- package/esm/plugins/show-blocks/langs/ru.js +1 -1
- package/esm/plugins/show-blocks/langs/tr.js +1 -1
- package/esm/plugins/show-blocks/langs/zh_cn.js +1 -1
- package/esm/plugins/show-blocks/langs/zh_tw.js +1 -1
- package/esm/plugins/show-blocks/show-blocks.d.ts +1 -1
- package/esm/plugins/show-blocks/show-blocks.js +1 -1
- package/esm/plugins/todo-list/config.d.ts +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/todo-list/todo-list.d.ts +1 -1
- package/esm/plugins/todo-list/todo-list.js +1 -1
- package/esm/plugins/translate/config.d.ts +1 -1
- package/esm/plugins/translate/config.js +1 -1
- package/esm/plugins/translate/interface.d.ts +1 -1
- package/esm/plugins/translate/interface.js +1 -1
- package/esm/plugins/translate/providers/google/google.d.ts +1 -1
- package/esm/plugins/translate/providers/google/google.js +1 -1
- package/esm/plugins/translate/providers/languages.d.ts +1 -1
- package/esm/plugins/translate/providers/languages.js +1 -1
- package/esm/plugins/translate/translate.d.ts +1 -1
- package/esm/plugins/translate/translate.js +1 -1
- package/esm/plugins/translate/ui/list/list.d.ts +1 -1
- package/esm/plugins/translate/ui/list/list.js +1 -1
- package/esm/plugins/translate/ui/settings/settings.d.ts +1 -1
- package/esm/plugins/translate/ui/settings/settings.js +1 -1
- package/esm/plugins/tune-block/config.d.ts +1 -1
- package/esm/plugins/tune-block/config.js +1 -1
- package/esm/plugins/tune-block/tune-block.d.ts +1 -1
- package/esm/plugins/tune-block/tune-block.js +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
- package/esm/traits/resize/resize.d.ts +1 -1
- package/esm/traits/resize/resize.js +1 -1
- package/esm/traits/select-items/select-items.d.ts +1 -1
- package/esm/traits/select-items/select-items.js +1 -1
- package/esm/types/view.d.ts +1 -1
- package/esm/typings.d.ts +1 -1
- package/examples/assets/app.js +1 -1
- package/examples/assets/prism.js +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +1 -1
- package/types/core/ui/form/range/range.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/types/jodit-pro.d.ts +1 -1
- package/types/plugins/autocomplete/autocomplete.d.ts +1 -1
- package/types/plugins/autocomplete/helpers.d.ts +1 -1
- package/types/plugins/autocomplete/interface.d.ts +1 -1
- package/types/plugins/autocomplete/ui/autocomplete.d.ts +1 -1
- package/types/plugins/autocomplete/ui/item.d.ts +1 -1
- package/types/plugins/backup/backup.d.ts +1 -1
- package/types/plugins/backup/config.d.ts +1 -1
- package/types/plugins/backup/interface.d.ts +1 -1
- package/types/plugins/backup/langs/index.d.ts +1 -1
- package/types/plugins/backup/modules/store.d.ts +1 -1
- package/types/plugins/backup/ui/box.d.ts +1 -1
- package/types/plugins/backup/ui/item.d.ts +1 -1
- package/types/plugins/backup/ui/list.d.ts +1 -1
- package/types/plugins/button-generator/button-generator.d.ts +1 -1
- package/types/plugins/button-generator/config.d.ts +1 -1
- package/types/plugins/button-generator/ui/button/button.d.ts +1 -1
- package/types/plugins/button-generator/ui/form/form.d.ts +1 -1
- package/types/plugins/button-generator/ui/generator/button-generator.d.ts +1 -1
- package/types/plugins/button-generator/ui/preview/preview.d.ts +1 -1
- package/types/plugins/change-case/change-case.d.ts +1 -1
- package/types/plugins/change-case/config.d.ts +1 -1
- package/types/plugins/color-picker/color-picker.d.ts +1 -1
- package/types/plugins/color-picker/ui/input/color-input.d.ts +1 -1
- package/types/plugins/emoji/emoji.d.ts +1 -1
- package/types/plugins/emoji/interface.d.ts +1 -1
- package/types/plugins/emoji/ui/emoji.d.ts +1 -1
- package/types/plugins/export-docs/config.d.ts +1 -1
- package/types/plugins/export-docs/export-docs.d.ts +1 -1
- package/types/plugins/finder/browser.d.ts +1 -1
- package/types/plugins/finder/config.d.ts +1 -1
- package/types/plugins/finder/finder.d.ts +1 -1
- package/types/plugins/finder/helpers/context-menu.d.ts +1 -1
- package/types/plugins/finder/helpers/helpers.d.ts +1 -1
- package/types/plugins/finder/helpers/history-manager.d.ts +1 -1
- package/types/plugins/finder/helpers/loading-manager.d.ts +1 -1
- package/types/plugins/finder/helpers/persistent-store.d.ts +1 -1
- package/types/plugins/finder/helpers/state-manager.d.ts +1 -1
- package/types/plugins/finder/interface.d.ts +1 -1
- package/types/plugins/finder/langs/index.d.ts +1 -1
- package/types/plugins/finder/ui/folder/folder.d.ts +1 -1
- package/types/plugins/finder/ui/header/header.d.ts +1 -1
- package/types/plugins/finder/ui/item/item.d.ts +1 -1
- package/types/plugins/finder/ui/lightboox/lightbox.d.ts +1 -1
- package/types/plugins/finder/ui/panel/panel.d.ts +1 -1
- package/types/plugins/finder/ui/preview/preview.d.ts +1 -1
- package/types/plugins/finder/ui/progress/progress.d.ts +1 -1
- package/types/plugins/finder/ui/settings/settings.d.ts +1 -1
- package/types/plugins/finder/ui/sidebar/sidebar.d.ts +1 -1
- package/types/plugins/finder/ui/source/source.d.ts +1 -1
- package/types/plugins/finder/ui/sources/sources.d.ts +1 -1
- package/types/plugins/finder/ui/statusbar/statusbar.d.ts +1 -1
- package/types/plugins/finder/ui/tree/tree.d.ts +1 -1
- package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +1 -1
- package/types/plugins/google-maps/assets/index.d.ts +1 -1
- package/types/plugins/google-maps/config.d.ts +1 -1
- package/types/plugins/google-maps/google-maps.d.ts +1 -1
- package/types/plugins/google-maps/helpers/const.d.ts +1 -1
- package/types/plugins/google-maps/helpers/generate-js-script.d.ts +1 -1
- package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +1 -1
- package/types/plugins/google-maps/helpers/helpers.d.ts +1 -1
- package/types/plugins/google-maps/helpers/static-url.d.ts +1 -1
- package/types/plugins/google-maps/interface.d.ts +1 -1
- package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +1 -1
- package/types/plugins/google-maps/ui/editors/base.d.ts +1 -1
- package/types/plugins/google-maps/ui/editors/index.d.ts +1 -1
- package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +1 -1
- package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +1 -1
- package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +1 -1
- package/types/plugins/google-maps/ui/index.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/map.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/index.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +1 -1
- package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +1 -1
- package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +1 -1
- package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +1 -1
- package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +1 -1
- package/types/plugins/google-search/google-search.d.ts +1 -1
- package/types/plugins/highlight-signature/highlight-signature.d.ts +1 -1
- package/types/plugins/iframe-editor/config.d.ts +1 -1
- package/types/plugins/iframe-editor/iframe-editor.d.ts +1 -1
- package/types/plugins/iframe-editor/interface.d.ts +1 -1
- package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +1 -1
- package/types/plugins/index.d.ts +1 -1
- package/types/plugins/keyboard/config.d.ts +1 -1
- package/types/plugins/keyboard/interface.d.ts +1 -1
- package/types/plugins/keyboard/keyboard.d.ts +1 -1
- package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +1 -1
- package/types/plugins/license/helpers/helpers.d.ts +1 -1
- package/types/plugins/license/license.d.ts +1 -1
- package/types/plugins/mobile-view/config.d.ts +1 -1
- package/types/plugins/mobile-view/mobile-view.d.ts +1 -1
- package/types/plugins/page-break/config.d.ts +1 -1
- package/types/plugins/page-break/page-break.d.ts +1 -1
- package/types/plugins/paste-code/config.d.ts +1 -1
- package/types/plugins/paste-code/paste-code.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/clean-styles.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/index.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/process-image.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/process-links.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +1 -1
- package/types/plugins/paste-from-word/cases/table.d.ts +1 -1
- package/types/plugins/paste-from-word/config.d.ts +1 -1
- package/types/plugins/paste-from-word/constants.d.ts +1 -1
- package/types/plugins/paste-from-word/element/checkers.d.ts +1 -1
- package/types/plugins/paste-from-word/element/element.d.ts +1 -1
- package/types/plugins/paste-from-word/element/index.d.ts +1 -1
- package/types/plugins/paste-from-word/element/render.d.ts +1 -1
- package/types/plugins/paste-from-word/element/style.d.ts +1 -1
- package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +1 -1
- package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +1 -1
- package/types/plugins/paste-from-word/helpers/helpers.d.ts +1 -1
- package/types/plugins/paste-from-word/helpers/index.d.ts +1 -1
- package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +1 -1
- package/types/plugins/paste-from-word/interface.d.ts +1 -1
- package/types/plugins/paste-from-word/paste-from-word.d.ts +1 -1
- package/types/plugins/show-blocks/config.d.ts +1 -1
- package/types/plugins/show-blocks/langs/index.d.ts +1 -1
- package/types/plugins/show-blocks/show-blocks.d.ts +1 -1
- package/types/plugins/todo-list/config.d.ts +1 -1
- package/types/plugins/todo-list/todo-list.d.ts +1 -1
- package/types/plugins/translate/config.d.ts +1 -1
- package/types/plugins/translate/interface.d.ts +1 -1
- package/types/plugins/translate/providers/google/google.d.ts +1 -1
- package/types/plugins/translate/providers/languages.d.ts +1 -1
- package/types/plugins/translate/translate.d.ts +1 -1
- package/types/plugins/translate/ui/list/list.d.ts +1 -1
- package/types/plugins/translate/ui/settings/settings.d.ts +1 -1
- package/types/plugins/tune-block/config.d.ts +1 -1
- package/types/plugins/tune-block/tune-block.d.ts +1 -1
- package/types/plugins/tune-block/ui/tuner/tuner.d.ts +1 -1
- package/types/traits/resize/resize.d.ts +1 -1
- package/types/traits/select-items/select-items.d.ts +1 -1
- package/types/types/view.d.ts +1 -1
- package/types/typings.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{extendLang as o}from"../../core/global.js";import{Icon as t}from"../../core/ui/icon.js";import{Config as e}from"../../config.js";import r from"./assets/restore.svg.js";import*as s from"./langs/index.js";e.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},e.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec(o){o.execCommand("openBackupDialog")}}},t.set("restore",r),o(s);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export interface ISnapshotItem {
|
|
7
7
|
created: Date;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export{};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export{};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../../types";
|
|
7
7
|
import type { ISnapshotItem, ISnapshotStorage } from "../interface";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export class DefaultStorage{constructor(t){this.jodit=t,this.key="backup.default.storage"}async add(t){if(!t.html.trim().length)return!1;const e=this.jodit.storage.get(this.key)||[];return e.find((e=>e.html===t.html))||(e.unshift(t),e.length>this.jodit.o.backup.limit&&(e.length=this.jodit.o.backup.limit),this.jodit.storage.set(this.key,e)),!1}items(){return Promise.resolve(this.jodit.storage.get(this.key)||[])}clear(){return this.jodit.storage.delete(this.key),Promise.resolve(!1)}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../../types";
|
|
7
7
|
import { UIElement } from "../../../core/ui/element";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,t,s,i){var o,l=arguments.length,r=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(r=(l<3?o(r):l>3?o(t,s,r):o(t,s))||r);return l>3&&r&&Object.defineProperty(t,s,r),r};import{autobind as t,component as s}from"../../../core/decorators.js";import{UIElement as i}from"../../../core/ui/element.js";import{UIBackupList as o}from"./list.js";let l=class UIBackupBox extends i{className(){return"UIBackupBox"}constructor(e){super(e),this.list=new o(this.j),this.preview=this.j.c.div(this.getFullElName("preview")),this.container.appendChild(this.list.container),this.container.appendChild(this.preview),this.list.container.classList.add(this.getFullElName("list")),e.e.on(this.list,"select",this.onSelectItem).on(this.list,"choose",this.onChooseItem)}build(e){this.preview.innerHTML="",this.list.build(e)}destruct(){return this.j.e.off(this.list,"select",this.onSelectItem),this.list.destruct(),super.destruct()}onSelectItem(e){this.latestSelected=e,this.preview.innerHTML=e.html||`<div class="${this.getFullElName("empty")}">${this.j.i18n("Empty")}</div>`}onChooseItem(e){this.j.e.fire(this,"choose",e)}chooseSelected(){this.onChooseItem(this.latestSelected)}};e([t],l.prototype,"onSelectItem",null),e([t],l.prototype,"onChooseItem",null),l=e([s],l);export{l as UIBackupBox};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../../types";
|
|
7
7
|
import { UIElement } from "../../../core/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{attr as t,isFunction as e,isString as o}from"../../../core/helpers.js";import{UIElement as r}from"../../../core/ui/index.js";export class UIBackupItem extends r{className(){return"UIBackupItem"}constructor(e,o){super(e),this.data=o,this.container.innerHTML=this.formatDate(o.created),t(this.container,"tabIndex",0)}formatDate(t){const r=new Date,a=o(t)?new Date(t):t,i=(r.getTime()-a.getTime())/1e3;return e(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(a):i<.2?this.j.i18n("Current"):i<60?this.j.i18n("Less minute"):i<=3600?this.j.i18n("%s minutes ago",Math.floor(i/60)):i<=86400?this.j.i18n("%s hours ago",Math.floor(i/3600)):`${a.toDateString()} ${a.toLocaleTimeString()}`}focus(){this.container.focus()}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IDictionary, IJodit } from "../../../types";
|
|
7
7
|
import { UIGroup } from "../../../core/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,t,o,n){var r,s=arguments.length,i=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,o,i):r(t,o))||i);return s>3&&i&&Object.defineProperty(t,o,i),i};import{KEY_DOWN as t,KEY_ENTER as o,KEY_UP as n}from"../../../core/constants.js";import{autobind as r,component as s,watch as i}from"../../../core/decorators.js";import{attr as c}from"../../../core/helpers.js";import{UIGroup as l}from"../../../core/ui/index.js";import{UIBackupItem as h}from"./item.js";let a=class UIBackupList extends l{className(){return"UIBackupList"}createContainer(e){const t=super.createContainer(e);return c(t,"tabIndex","-1"),t}constructor(e){super(e),this.elements=[],this.currentSelection=-1,e.e.on(this.container,"keydown",(e=>{switch(e.key){case o:e.preventDefault(),e.stopPropagation(),this.onChoose(this.currentSelection);break;case t:this.selectNext();break;case n:this.selectPrevious()}}))}build(e){this.clear(),e.forEach(((e,t)=>{const o=new h(this.jodit,e);this.append(o),this.j.e.on(o.container,"focus",(()=>this.onSelect(t))).on(o.container,"click",(()=>this.onSelect(t))).on(o.container,"dblclick",(()=>this.onChoose(t)))})),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(e,t,o){this.elements[t]?.setMod("active",!1),this.elements[o]?.setMod("active",!0),this.elements[o]?.focus(),this.j.e.fire(this,"select",this.elements[o].data)}onSelect(e){this.currentSelection=e}onChoose(e){this.j.e.fire(this,"choose",this.elements[e??this.currentSelection].data)}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}};e([i("currentSelection")],a.prototype,"onChangeCurrentSelection",null),e([r],a.prototype,"onSelect",null),e([r],a.prototype,"onChoose",null),a=e([s],a);export{a as UIBackupList};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { CanUndef, IJodit } from "../../types";
|
|
7
7
|
import { Plugin } from "../../core/plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{isArray as o}from"../../core/helpers/checker/is-array.js";import{Config as t}from"../../config.js";import e from"./icon.svg.js";t.prototype.controls.buttonGenerator={tooltip:"Button generator",icon:e,isActive:o=>Boolean(o.e.fire("isButtonGeneratorOpened")),exec:(o,t)=>{o.e.fire("toggleButtonGenerator",t)}},t.prototype.popup.button=["buttonGenerator"],o(t.prototype.popup.a)&&t.prototype.popup.a.push("buttonGenerator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IDictionary } from "../../../../types";
|
|
7
7
|
import { UIElement } from "../../../../core/ui";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IDictionary } from "../../../../types";
|
|
7
7
|
import { UIElement } from "../../../../core/ui";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { CanUndef, IDictionary } from "../../../../types";
|
|
7
7
|
import { UIElement } from "../../../../core/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var t,e=this&&this.__decorate||function(t,e,o,s){var r,a=arguments.length,i=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,s);else for(var d=t.length-1;d>=0;d--)(r=t[d])&&(i=(a<3?r(i):a>3?r(e,o,i):r(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};import{autobind as o,component as s}from"../../../../core/decorators.js";import{assert as r}from"../../../../core/helpers/utils/assert.js";import{UIElement as a,UIGroup as i}from"../../../../core/ui/index.js";import d from"../../assets/styles.json.js";import{UIGButton as n}from"../button/button.js";import{UIFormButtonGenerator as f}from"../form/form.js";import{UIPreviewButtonGenerator as h}from"../preview/preview.js";let l=t=class UIButtonGenerator extends a{className(){return"UIButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__generator'>\n\t\t\t\t<div class='&__preview'></div>\n\t\t\t\t<div class='&__form'></div>\n\t\t\t</div>\n\t\t\t<div class='&__library'></div>\n\t\t</div>"}constructor(t){super(t),this.state={text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},this.preview=new h(this.j,this.state,this.updateState),this.form=new f(this.j,this.state,this.updateState),this.generateLibrary();const e=this.getElm("preview");r(null!=e,"preview element does not exists"),e.appendChild(this.preview.container);const o=this.getElm("form");r(null!=o,"form element does not exists"),o.appendChild(this.form.container)}generateLibrary(){const e=new i(this.j);d.map(t.mapKey).forEach((t=>{const o=new n(this.j,t);o.setMod("mode","library"),e.append(o),this.j.e.on(o.container,"click",(()=>{const{text:e}=this.state;Object.assign(this.state,t),Object.assign(this.state,{className:"",text:e}),this.update()}))}));const o=this.getElm("library");r(null!=o,"library element does not exists"),o.appendChild(e.container)}static mapKey(t){return{bgEnd:t.be,bgStart:t.bs,borderColor:t.bc,borderRadius:t.br,borderSize:t.bse,boxShadow:t.bsh,boxShadowBlurRadius:t.bsbr,boxShadowColor:t.bsc,boxShadowInset:t.bsi,boxShadowOffsetX:t.bsox,boxShadowOffsetY:t.bsoy,boxShadowSpreadRadius:t.bssr,fontColor:t.fc,fontFamily:t.ff,fontSize:t.fs,fontStyle:t.fse,fontWeight:t.fw,paddingX:t.px,paddingY:t.py,previewBgColor:t.pbc,solid:t.s,text:t.t,textShadow:t.ts,textShadowBlurRadius:t.tsbr,textShadowColor:t.tsc,textShadowOffsetX:t.tsox,textShadowOffsetY:t.tsoy}}updateState(t,e){this.state[t]=e,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}};e([o],l.prototype,"updateState",null),l=t=e([s],l);export{l as UIButtonGenerator};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IDictionary } from "../../../../types";
|
|
7
7
|
import { UIElement } from "../../../../core/ui";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../types";
|
|
7
7
|
import { Plugin } from "../../core/plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{Dom as e}from"../../core/dom/dom.js";import{ucfirst as s}from"../../core/helpers/string/ucfirst.js";import{Plugin as t}from"../../core/plugin.js";import"./config.js";import{JoditPro as a}from"../../jodit-pro.js";export class changeCase extends t{constructor(){super(...arguments),this.buttons=[{name:"changeCase",group:"font-style"}]}afterInit(s){s.registerCommand("changeCase",{exec:(t,a,r)=>{r=r.toLowerCase();const o=s.s.range,{startContainer:n,startOffset:c}=o;if(s.s.isCollapsed()){const e=s.s.current(!0);e&&e.parentElement&&this.applyCase(r,e.parentElement),o.setStart(n,c),s.s.selectRange(o)}else{const t=o.cloneRange(),a=o.cloneRange(),n=s.createInside.fake(),c=s.createInside.fake();t.collapse(!0),a.collapse(!1),t.insertNode(n),a.insertNode(c),e.between(n,c,(e=>{this.applyCase(r,e)})),o.setStartAfter(n),o.setEndBefore(c),s.s.selectRange(o),e.safeRemove(n),e.safeRemove(c)}}})}applyCase(t,a){if(e.isText(a)){const e=a.nodeValue;e&&(a.nodeValue=(e=>{switch(t){case"lowercase":return e.toLowerCase();case"uppercase":return e.toUpperCase();default:return e.split(" ").map(s).join(" ")}})(e))}else e.each(a,(e=>{this.applyCase(t,e)}))}beforeDestruct(e){}}changeCase.requires=["license"],a.plugins.add("change-case",changeCase);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{dataBind as o}from"../../core/helpers/utils/data-bind.js";import{Config as e}from"../../config.js";import c from"./icon.svg.js";e.prototype.controls.changeCase={tooltip:"Change case",icon:c,list:["lowercase","UPPERCASE","Title Case"],isDisabled:o=>!o.s.current(),exec(e,c,{control:s}){const a=s.command+"Selected",n=s.args&&s.args[0]||o(e,a);if(!n||!s.command)return!1;o(e,a,n),e.execCommand(s.command,null,n)},command:"changeCase"};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../types";
|
|
7
7
|
import { Plugin } from "../../core/plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,r,o,t){var c,i=arguments.length,n=i<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,o,t);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(n=(i<3?c(n):i>3?c(r,o,n):c(r,o))||n);return i>3&&n&&Object.defineProperty(r,o,n),n};import{autobind as r}from"../../core/decorators.js";import{Dom as o}from"../../core/dom/dom.js";import{Plugin as t}from"../../core/plugin.js";import{ColorInput as c}from"./ui/input/color-input.js";import{JoditPro as i}from"../../jodit-pro.js";export class colorPicker extends t{constructor(){super(...arguments),this.hasStyle=!i.fatMode}afterInit(e){e.e.on("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}onAfterGenerateColorPicker(e,r,t,i){o.detach(r);const n=new c(this.j,{value:i||"#000",onChange:t});r.appendChild(n.container)}beforeDestruct(e){e.e.off("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}}colorPicker.requires=["license"],e([r],colorPicker.prototype,"onAfterGenerateColorPicker",null),i.plugins.add("color-picker",colorPicker);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IUIInput, IViewBased, ModType } from "../../../../types";
|
|
7
7
|
import { UIInput } from "../../../../core/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,t,o,r){var s,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};import{KEY_ESC as t}from"../../../../core/constants.js";import{component as o,watch as r}from"../../../../core/decorators.js";import{position as s}from"../../../../core/helpers.js";import{assert as i}from"../../../../core/helpers/utils/assert.js";import{Button as n,Popup as a,UIInput as l}from"../../../../core/ui/index.js";import{Dialog as c}from"../../../../modules.js";import*as h from"a-color-picker";let p=class ColorInput extends l{className(){return"ColorInput"}constructor(e,t){super(e,t);const o=new a(e);this.popup=o,this.trigger=n(this.j,"ok");const r=this.getElm("wrapper");i(null!=r,"wrapper element does not exist"),r.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction((()=>{this.state.onChange?.(this.value),o.close()})),o.setMod("padding",!1).setMod("max-height",!1);const l=this.j.create.div(this.getFullElName("picker")),p=h.createPicker(l,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",((e,t)=>{this.isFocused||(this.value=h.parseColor(t||"","hex"))}));this.j.e.on(this,"change",(()=>{var e;e=this.value,h.parseColor(e,"hex")!==p.color&&(p.color=this.value)})),o.setContent(l),this.j.e.on(this.nativeInput,"click",(()=>{o.parentElement=this,this.jodit instanceof c&&o.setZIndex(this.jodit.getZIndex()+1),o.open((()=>s(this.container)))})),this.onChangeValue(),this.onChangeSelfValue()}afterSetMode(e,t){"slim"===e&&t&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(e){e.key===t&&this.popup?.close()}};e([r(":change")],p.prototype,"onChangeSelfValue",null),e([r("nativeInput:keydown")],p.prototype,"onEscKeyDown",null),p=e([o],p);export{p as ColorInput};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../types";
|
|
7
7
|
import { Plugin } from "../../core/plugin/plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,t,o,r){var i,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var m=e.length-1;m>=0;m--)(i=e[m])&&(n=(s<3?i(n):s>3?i(t,o,n):i(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};import{autobind as t}from"../../core/decorators.js";import{trim as o}from"../../core/helpers/string/trim.js";import{Plugin as r}from"../../core/plugin/plugin.js";import"./config.js";import{Emoji as i}from"./ui/emoji.js";import{JoditPro as s}from"../../jodit-pro.js";export class emoji extends r{constructor(){super(...arguments),this.hasStyle=!s.fatMode,this.buttons=[{name:"emoji",group:"insert"}]}async afterInit(e){const t=await e.o.emoji.data();e.isInDestruct||(this.data={...t,emoji:t.emoji.map(i.normalizeEmoji)},e.o.emoji.enableAutoComplete&&e.e.fire("registerAutocompleteSource",this.onAutoComplete),e.async.requestIdleCallback((()=>{i.getInstance(e,(()=>{}))})))}onAutoComplete(e){return e.length>2&&":"===e[0]&&(e=e.substr(1).toLowerCase(),o(e).length)?this.data.emoji.filter((t=>0===t.description?.indexOf(e))).sort(((t,o)=>t.description.indexOf(e)-o.description.indexOf(e))).map((e=>({title:`${e.emoji} ${e.description}`,value:e.emoji}))):[]}beforeDestruct(e){}}emoji.requires=["autocomplete","license"],e([t],emoji.prototype,"onAutoComplete",null),s.plugins.add("emoji",emoji);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export interface IShortEmoji {
|
|
7
7
|
e: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export{};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IDictionary, IJodit } from "../../../types";
|
|
7
7
|
import { UIElement } from "../../../core/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var t,e=this&&this.__decorate||function(t,e,i,s){var o,a=arguments.length,n=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};import{autobind as i,component as s,debounce as o,hook as a,persistent as n,throttle as r}from"../../../core/decorators.js";import{Dom as c}from"../../../core/dom/dom.js";import{attr as l,isString as h}from"../../../core/helpers.js";import{UIElement as u,UIInput as d}from"../../../core/ui/index.js";let m=t=class Emoji extends u{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data.emoji)}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(t){this.list.scrollTo(0,0),c.detach(this.list),c.append(this.list,this.generateEmojiList(t,this.data.categories))}createContainer(t){const e=this.j.c.div("jodit-emoji");this.input=new d(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));const i=this.j.c.div(this.getFullElName("navigate"));return c.append(i,[this.categories,this.input.container]),c.append(e,[i,this.list]),e}constructor(e,i){super(e),this.onInsert=i,this.recent=[],this.map={},this.activeIndex=0,this.cache={},this.setMod("loading",!0),(async()=>{this.data=await e.o.emoji.data(),this.setMod("loading",!1),this.data.emoji.forEach((e=>{const i=t.normalizeEmoji(e);this.map[i.emoji]=i})),this.setItems(this.defaultList),c.append(this.categories,this.generateCategoriesList(this.data.categories)),this.setActiveCategory(0)})()}static getInstance(e,i){return this.__instance||(this.__instance=new t(e,i)),this.__instance.onInsert=i,this.__instance.data&&this.__instance.reset(),this.__instance}setActiveCategory(t,e=!1){const i=this.getElms("category"),s=i[this.activeIndex];i[t]||(t=i.length-1);const o=i[t],a=this.getFullElName("category","active",!0);s&&s.classList.remove(a),o&&o.classList.add(a),e&&this.getElms("category-title")[t].scrollIntoView(),this.activeIndex=t}generateCategoriesList(t){return t.map(((e,i)=>this.j.c.div(this.getFullElName("category"),{"data-index":i,title:e,style:{width:100/t.length+"%"}})))}generateEmojiList(e,i){let s="";return e.reduce(((e,o,a)=>{if(o=t.normalizeEmoji(o),i[o.category]!==s){s=i[o.category];const t=this.cache[s]??this.j.c.div(this.getFullElName("category-title"),s?this.j.i18n(s):"");this.cache[s]=t,e.push(t)}const n=this.cache[o.emoji+o.category]??this.j.c.div(this.getFullElName("emoji"),{"data-id":a,"data-value":o.emoji},o.emoji);return this.cache[o.emoji+o.category]=n,e.push(n),e}),[])}static isShortCat(t){return t&&h(t.e)}static normalizeEmoji(e){return t.isShortCat(e)?{emoji:e.e,description:e.d,category:e.c,aliases:e.a,tags:e.t}:e}onInsertCode(t){this.onInsert(t);const e=this.map[t];if(e){const i=[...this.recent],s=i.findIndex((e=>e.emoji===t));-1!==s&&i.splice(s,1),i.unshift({...e,category:-1}),this.recent=i}}onScrollList(){const t=this.list.scrollTop,e=this.getElms("category-title");let i=0;e.forEach(((e,s)=>{const o=e.offsetTop-this.list.offsetTop-20;t>o&&(i=s)})),this.setActiveCategory(i)}onClickCategory(t){this.clearFilter();const e=t.target;e.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt(l(e,"-index")||"0",10)||0,!0)}onClickItem(t){const e=t.target;if(e.classList.contains(this.getFullElName("emoji"))){const t=l(e,"-value")||"";t&&this.onInsertCode(t)}t.preventDefault()}onInputFilter(){const e=this.input.value.toLowerCase();if(!e.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter((i=>{const s=t.normalizeEmoji(i);return s.description?.toLowerCase().includes(e)||s.tags?.join(" ").toLowerCase().includes(e)||s.aliases?.join(" ").toLowerCase().includes(e)})))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return t.__instance=null,this.input.destruct(),super.destruct()}};e([n],m.prototype,"recent",void 0),e([r()],m.prototype,"onScrollList",null),e([i],m.prototype,"onClickCategory",null),e([i],m.prototype,"onClickItem",null),e([o()],m.prototype,"onInputFilter",null),e([a("ready")],m.prototype,"onReady",null),m=t=e([s],m);export{m as Emoji};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { AjaxOptions } from "../../types";
|
|
7
7
|
declare module 'jodit/config' {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{Dom as o}from"../../core/dom/dom.js";import{Config as t}from"../../config.js";import r from"./assets/export.svg.js";t.prototype.exportDocs={css:"",pdf:{externalFonts:[],allow:!0,options:{defaultFont:"courier",format:"A4",page_orientation:"portrait"}}},t.prototype.controls.exportDocs={tooltip:"Export",isDisabled:t=>o.isEmptyContent(t.editor),icon:r,list:{exportToPdf:"Export to PDF"},command:"exportToPDF"};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../types";
|
|
7
7
|
import { Plugin } from "../../core/plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{Dom as e}from"../../core/dom.js";import{ConfigDeepFlatten as o}from"../../core/helpers/utils/config-proto.js";import{previewBox as r}from"../../core/helpers/utils/print.js";import{Plugin as s}from"../../core/plugin.js";import{Ajax as t}from"../../core/request/ajax.js";import"./config.js";import{generateCriticalCSS as p}from"../print/lib/generate-critical-css.js";import{JoditPro as a}from"../../jodit-pro.js";export class ExportDocs extends s{constructor(){super(...arguments),this.buttons=[{name:"exportDocs",group:"media"}]}afterInit(r){r.registerCommand("exportToPDF",(async()=>{const s=new t({...r.o.exportDocs.ajax??r.o.filebrowser.ajax,method:"POST",responseType:"blob",onProgress(e){r.progressbar.show().progress(e)},data:{action:"generatePdf",html:ExportDocs.getValue(r),options:o(r.o.exportDocs.pdf).options}});r.e.on("beforeDestruct",s.destruct);try{const o=await s.send(),r=await o.blob(),t=this.j.create.a(),p="document.pdf";t.href=URL.createObjectURL(r),t.download=p,t.click(),e.safeRemove(t),URL.revokeObjectURL(t.href)}catch(e){e.message&&r.alert(e.message)}finally{r.progressbar.progress(100),await r.async.delay(200),r.progressbar.hide()}}))}static getValue(e){const[o]=r(e),s=[];return e.o.exportDocs.pdf.externalFonts.forEach((e=>{/^</.test(e)?s.push(e):s.push(`<link rel="stylesheet" href="${e}">`)})),s.push(`<style>${p(e)}</style>`),s.push(`<style>${e.o.exportDocs.css}</style>`),s.push(o.innerHTML),s.join("\n")}beforeDestruct(){}}ExportDocs.requires=["license"],a.plugins.add("exportDocs",ExportDocs);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { CanUndef, IFileBrowserCallBackData, IFileBrowserDataProvider, IFileBrowserItemWrapper, IProgressBar, IUIGroup } from "../../types";
|
|
7
7
|
import { Dlgs } from "../../core/traits";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,t,s,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(a=(o<3?r(a):o>3?r(t,s,a):r(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a};import{IS_PROD as t,KEY_DELETE as s,KEY_DOWN as i,KEY_ENTER as r,KEY_LEFT as o,KEY_RIGHT as a,KEY_UP as n}from"../../core/constants.js";import{autobind as h,cache as l,component as m,derive as c,watch as p}from"../../core/decorators.js";import{ConfigProto as d,css as u,isAbort as f,isString as g,isValidName as w}from"../../core/helpers.js";import{Dlgs as v}from"../../core/traits.js";import{Config as b}from"../../config.js";import{Dom as y,observable as P}from"../../modules.js";import{Dialog as R}from"../../modules/dialog.js";import{makeDataProvider as M}from"../../modules/file-browser/factories.js";import{openImageEditor as j}from"../../modules/image-editor/image-editor.js";import"./ui/assets/icons/index.js";import{ContextMenuManager as F}from"./helpers/context-menu.js";import{parentPath as S}from"./helpers/helpers.js";import{HistoryManager as E}from"./helpers/history-manager.js";import{LoadingManager as C}from"./helpers/loading-manager.js";import{PersistentStore as _}from"./helpers/persistent-store.js";import{StateManager as B}from"./helpers/state-manager.js";import{UIBrowserHeader as O}from"./ui/header/header.js";import{UILightBox as k}from"./ui/lightboox/lightbox.js";import{UIBrowserPanel as x}from"./ui/panel/panel.js";import{UIProgress as I}from"./ui/progress/progress.js";import{JoditPro as L}from"../../jodit-pro.js";import{license as N}from"../license/license.js";let D=class FileBrowserPro extends R{className(){return"FileBrowserPro"}lock(e="any"){return this.container.classList.add("jodit_disabled"),super.lock(e)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(e,s=!(e instanceof Error)){f(e)||(t||g(e)||console.error(e),this.message.message(g(e)?e:e.message,s?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new I(this,this.stateManager.state)}constructor(e){super(d(Object.assign(e||{},{resizable:!0,draggable:!0,toolbarButtons:e?.toolbarButtons||b.defaultOptions.filebrowser.buttons,buttons:L.atom(["filebrowser.settings","fullsize","dialog.close"])}),b.defaultOptions.filebrowser)),this.dataProvider=M(this,this.options),this.state=P({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1}),this.persistent=new _(this,this.state),this.loadingManager=new C(this,this.state),this.stateManager=new B(this.state),this.historyManager=new E(this,this.state),this.contextMenuManager=new F(this),this.header=new O(this,this.options,this.stateManager),this.panel=new x(this,this.stateManager),this.files=this.panel,this.tree=this.panel,N.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress((e=>{0===e&&(e=30),this.state.progress=e})),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),L.prototype.afterInitHook.call(this)}addDisclaimer(e){this.dialog.appendChild(e)}async open(e=this.o.defaultCallback,t){return this.state.onlyImages=Boolean(t),this.prepareOpening(e),super.open(this.panel.container),this.e.fire("update.filebrowser")}onResizeWindow(){u(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){const{currentPath:e,currentSource:t}=this.state;this.uploader.setPath(e),this.uploader.setSource(t)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(e){this.registerGlobalListeners(),e&&(this.state.onSelectCallBack=t=>{this.close(),e(t)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(e){const{activeElement:t}=this.od;if(!this.state.activeElements.length||!t||!y.isOrContains(this.panel.items.container,t))return;const h=this.state.elements;switch(e.key){case r:return this.onChooseItems();case s:return this.onFileRemove();case a:case o:case i:case n:{const t=e.key===a||e.key===i,s=this.state.lastSelectedIndex;let r;if([a,o].includes(e.key))r=t?h[s+1]?s+1:0:h[s-1]?s-1:h.length-1;else{const{countInRow:e}=this.panel;r=Math.round(((s+1)/e+(t?1:-1))*e-1)}return h[r]&&this.stateManager.addActive(h[r],e.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",(e=>{e&&this.__itemsRemove(this.state.activeElements)})).bindDestruct(this)}__itemsRemove(e){if(!e.length)return Promise.resolve();const t=[];return e.forEach((e=>{t.push("folder"===e.type?this.__folderRemove(S(e.path),e.name??"",e.sourceName):this.__removeFile(e.file||e.name||"",e.sourceName))})),this.state.activeElements.forEach((e=>{this.stateManager.isFavorite(e)&&this.stateManager.toggleFavorite(e)})),this.state.activeElements=[],Promise.allSettled(t).then((()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()])))}__removeFile(e,t){return this.dataProvider.fileRemove(this.state.currentPath,e,t).then((t=>{this.status(t||this.i18n('File "%s" was deleted',e),!0)})).catch(this.status)}__folderRemove(e,t,s){return this.dataProvider.folderRemove(e,t,s).then((i=>{this.status(i||this.i18n('Folder "%s" was deleted',t),!0),this.state.currentPath===e&&(this.state.currentPath=S(e),this.state.currentSource=s)})).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){const[e]=this.state.activeElements;j.call(this,e.fileURL,e.file||"",e.path,e.sourceName,void 0,this.status)}}onFolderRename(e){this.prompt("Enter new name","Rename",(t=>{if(!w(t)||t===e.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename(S(e.path),e.name,t,e.sourceName).then((s=>{this.state.activeElements=[],this.status(s,!0),this.state.currentPath=S(e.path)+"/"+t,this.state.currentSource=e.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()})).catch(this.status)}),this.i18n("type name"),e.name).bindDestruct(this)}onFolderRemove(e){this.confirm("Are you sure?","Delete",(t=>{t&&this.__itemsRemove([{type:"folder",name:e.name,path:e.path,sourceName:e.sourceName}])})).bindDestruct(this)}onFolderCreate(e){this.prompt("Enter Directory name","Create directory",(t=>{const s=e.path||"/";this.dataProvider.createFolder(t,e.path||"/",e.sourceName).then((()=>{this.state.currentSource===e.sourceName&&this.state.currentPath===s?this.e.fire("update.filebrowser"):(this.state.currentSource=e.sourceName,this.state.currentPath=s),this.historyManager.updateCurrent()}),this.status)}),this.i18n("type name")).bindDestruct(this)}onFileRename(e){const t=e.file||e.name||"";1===this.state.activeElements.length&&t&&this.prompt("Enter new name","Rename",(e=>{if(!w(e))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,t,e,this.state.currentSource).then((e=>{this.state.activeElements=[],this.status(e,!0),this.loadingManager.loadItems()})).catch(this.status)}),this.i18n("type name"),t).bindDestruct(this)}onChooseItems(){const e=this.stateManager.state.activeElements;if(e.length){if("folder"===e[0].type)return this.state.currentPath=this.state.currentPath+"/"+e[0].name,this.state.currentSource=e[0].sourceName,void this.e.fire("afterOpenFolder.filebrowser");this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(e[0])}}onOpenLightBox(e){k.open(this,e,this.state.elements)}initUploader(){const e=this,t=d(e.o.uploader||{},b.defaultOptions.uploader),uploadHandler=()=>this.loadingManager.loadItems();e.uploader=e.getInstance("Uploader",t),e.uploader.bind(e.panel.container,uploadHandler,e.status),e.e.on("bindUploader.filebrowser",(t=>{e.uploader.bind(t,uploadHandler,e.status)}))}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((e=>{null!=this.options[e]&&(this.options[e]=d(this.options[e],this.o.ajax))}))}};e([h],D.prototype,"status",null),e([l],D.prototype,"progressbar",null),e([p(":resize",{context:window})],D.prototype,"onResizeWindow",null),e([p(["state.currentPath","state.currentSource"])],D.prototype,"onChangePath",null),e([p("state.theme")],D.prototype,"onChangeTheme",null),e([p(":toggleSettings.filebrowser")],D.prototype,"onToggleSettings",null),e([h],D.prototype,"onKeyPress",null),e([h],D.prototype,"removeGlobalListeners",null),e([p(":fileRemove.filebrowser")],D.prototype,"onFileRemove",null),e([p(":edit.filebrowser")],D.prototype,"onFileEdit",null),e([p(":folderRename.filebrowser")],D.prototype,"onFolderRename",null),e([p(":folderRemove.filebrowser")],D.prototype,"onFolderRemove",null),e([p(":folderCreate.filebrowser")],D.prototype,"onFolderCreate",null),e([p(":fileRename.filebrowser")],D.prototype,"onFileRename",null),e([p(":select.filebrowser")],D.prototype,"onChooseItems",null),e([p(":openLightBox.filebrowser")],D.prototype,"onOpenLightBox",null),D=e([m,c(v)],D);export{D as FileBrowserPro};Object.defineProperty(L.modules,"FileBrowserPro",{value:D,writable:!1,enumerable:!0,configurable:!0});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{extendLang as e}from"../../core/global.js";import{Config as o}from"../../config.js";import*as r from"./langs/index.js";const i=o.prototype.controls.filebrowser;i.settings={icon:"settings",tooltip:"Settings",exec:e=>{(e.parent??e).e.fire("toggleSettings.filebrowser")}},i.home={icon:"home",tooltip:"Home",exec:e=>{e.e.fire("goHome.filebrowser")}},i.preview={icon:"eye",tooltip:"Preview",isDisabled:e=>0===e.state.activeElements.length,exec:e=>{e.e.fire("togglePreview.filebrowser")}},i.next={icon:"angle-right",tooltip:"History next",isDisabled:e=>!e.historyManager.canNext(),exec:e=>{e.historyManager.next()}},i.previous={icon:"angle-left",tooltip:"History previous",isDisabled:e=>!e.historyManager.canPrevious(),exec:e=>{e.historyManager.previous()}},i["new-folder"]={icon:"new-folder",exec:e=>{e.e.fire("folderCreate.filebrowser",{path:e.state.currentPath,sourceName:e.state.currentSource})},tooltip:"New folder"},Object.assign(o.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="}),e(r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IJodit } from "../../types";
|
|
7
7
|
import { Plugin } from "../../core/plugin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import{Plugin as e}from"../../core/plugin.js";import"./config.js";import{FileBrowserPro as t}from"./browser.js";import{JoditPro as r}from"../../jodit-pro.js";export class finder extends e{constructor(){super(...arguments),this.hasStyle=!r.fatMode}afterInit(e){e.e.on("getInstanceFileBrowser",(e=>(this.__instance||(this.__instance=new t(e)),this.__instance)))}beforeDestruct(e){e.e.off("getInstanceFileBrowser"),this.__instance?.destruct()}}finder.requires=["license"],r.plugins.add("finder",finder);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import type { IFileBrowserItemWrapper } from "../../../types";
|
|
7
7
|
import { ViewComponent } from "../../../core/component/view-component";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var e=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,l=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(r<3?i(l):r>3?i(t,o,l):i(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l};import{ViewComponent as t}from"../../../core/component/view-component.js";import{component as o,watch as n}from"../../../core/decorators.js";import{makeContextMenu as i}from"../../../modules/file-browser/factories.js";let r=class ContextMenuManager extends t{className(){return"ContextMenuManager"}onFolderContext(e,t){return this.buildContextItemMenu(this.getFolderContextActions(e),t),!1}onItemContext(e,t,o){return this.buildContextItemMenu(this.getItemContextActions(e),o),!1}onSourceContext(e,t){return this.buildContextItemMenu(this.getSourceContextActions(e),t),!1}buildContextItemMenu(e,t){if(!this.j.o.contextMenu)return;const o=i(this.j).setMod("theme",this.j.state.theme);o.show(t.clientX,t.clientY,e.filter((e=>e&&!1!==e.enabled))),this.j.e.on(this.j,"afterClose",(()=>{o.isOpened&&o.close()}))}getItemContextActions(e){if(this.j.stateManager.isActive(e)||this.j.stateManager.addActive(e,this.j.state.activeElements.length>1),"folder"===e.type)return this.getFolderContextActions({type:"directory",children:[],name:e.name||"",path:e.path,sourceName:e.sourceName});const t=this.j.options,o=this.j.dataProvider,n=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:Boolean(e.isImage)&&t.editImage&&n&&(o.canI("ImageResize")||o.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:o.canI("FileRename")&&n,exec:()=>this.j.e.fire("fileRename.filebrowser",e)},{icon:"bin",title:"Delete",enabled:o.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",e)},{icon:"eye",title:"Preview",enabled:Boolean(e.isImage||"file"===e.type)&&t.preview&&n,exec:()=>this.j.e.fire("openLightBox.filebrowser",e)},{icon:"upload",title:"Download",exec:()=>{e.fileURL&&this.j.ow.open(e.fileURL)}}]}getFolderContextActions(e){const t=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",e)},enabled:t.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",e)},enabled:t.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)},enabled:t.canI("FolderCreate")}]}getSourceContextActions(e){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)}}]}};e([n(":contextmenuFolder.filebrowser")],r.prototype,"onFolderContext",null),e([n(":contextmenuItem.filebrowser")],r.prototype,"onItemContext",null),e([n(":contextmenuSource.filebrowser")],r.prototype,"onSourceContext",null),r=e([o],r);export{r as ContextMenuManager};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export declare const parentPath: (path: string) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
export const parentPath=t=>{const n=t.split("/").filter((t=>t.length));return n.pop(),n.join("/")||"/"};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
import { ViewComponent } from "../../../core/component/view-component";
|
|
7
7
|
import type { IFileBrowserStatePro, IHistoryItem, IHistoryManager } from "../interface";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
3
|
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
5
|
*/
|
|
6
6
|
var t=this&&this.__decorate||function(t,e,r,s){var o,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,s);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(n=(i<3?o(n):i>3?o(e,r,n):o(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n};import{ViewComponent as e}from"../../../core/component/view-component.js";import{component as r,watch as s}from"../../../core/decorators.js";import{fastClone as o}from"../../../core/helpers/utils/extend.js";let i=class HistoryManager extends e{className(){return"HistoryManager"}constructor(t,e){super(t),this.state=e,this.history=[],this.historyIndex=0}canNext(){return this.historyIndex<this.history.length-1}canPrevious(){return this.historyIndex>0}push(t){let{historyIndex:e}=this;const r=this.history[e];if(r&&r.currentSource===t.currentSource&&r.currentPath===t.currentPath)return;let s=[...this.history];s.length-1!==e&&(s=s.slice(0,e+1)),s.push(t),r&&(e+=1),this.history=s,this.historyIndex=e}next(){this.canNext()&&(this.historyIndex+=1,this.updateState())}previous(){this.canPrevious()&&(this.historyIndex-=1,this.updateState())}updateCurrent(){this.history[this.historyIndex]={currentSource:this.state.currentSource,currentPath:this.state.currentPath,tree:o(this.state.tree),elements:[...this.state.elements]}}onHome(){this.state.currentPath="",this.state.currentSource="",this.j.e.fire("afterOpenFolder.filebrowser update.filebrowser")}onOpenFolder(){this.push({tree:[],elements:[],currentPath:this.state.currentPath,currentSource:this.state.currentSource}),this.j.e.fire("changeSelection")}updateState(){const{tree:t,elements:e,currentSource:r,currentPath:s}=this.history[this.historyIndex];this.state.activeElements=[],this.state.elements=[...e],this.state.tree=[...t],this.state.currentSource=r,this.state.currentPath=s,this.j.e.fire("changeSelection")}};t([s(["state.elements","state.tree"])],i.prototype,"updateCurrent",null),t([s(":goHome.filebrowser")],i.prototype,"onHome",null),t([s(":afterOpenFolder.filebrowser")],i.prototype,"onOpenFolder",null),i=t([r],i);export{i as HistoryManager};
|