jodit-pro 4.13.38 → 4.13.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +28 -28
- package/es2015/jodit.js +83 -190
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +306 -168
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +29 -29
- package/es2015/plugins/autocomplete/autocomplete.css +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.css +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +241 -72
- package/es2015/plugins/google-maps/google-maps.min.js +4 -4
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +6 -12
- package/es2015/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +1 -1
- package/es2015/plugins/templates/templates.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +19 -19
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +15 -15
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.css +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +7 -7
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/templates/templates.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +19 -19
- package/es2021/jodit.js +2 -2
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +204 -162
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +15 -15
- package/es2021/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.css +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +236 -75
- package/es2021/plugins/google-maps/google-maps.min.js +9 -9
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +2 -4
- package/es2021/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +1 -1
- package/es2021/plugins/templates/templates.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +19 -19
- package/es2021.en/jodit.js +2 -2
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +204 -162
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +15 -15
- package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +236 -75
- package/es2021.en/plugins/google-maps/google-maps.min.js +9 -9
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +2 -4
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +1 -1
- package/es2021.en/plugins/templates/templates.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1788 -2701
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +406 -275
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.css +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +9 -9
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +11 -18
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +10 -17
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +7 -7
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +11 -11
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +4 -10
- package/es5/plugins/finder/finder.min.css +1 -1
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +334 -114
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +6 -6
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +6 -6
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +29 -42
- package/es5/plugins/image-editor-pro/image-editor-pro.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +6 -6
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +6 -6
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +6 -6
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +13 -13
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +8 -8
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +1 -1
- package/es5/plugins/templates/templates.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +18 -18
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +7 -7
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +7 -7
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/polyfills.fat.min.js +2 -2
- package/es5/polyfills.js +225 -105
- package/es5/polyfills.min.js +2 -2
- package/esm/plugins/ai-assistant-pro/core/sanitize-utils.d.ts +18 -0
- package/esm/plugins/ai-assistant-pro/core/sanitize-utils.js +1 -0
- package/esm/plugins/ai-assistant-pro/tools/add-html/executor.js +1 -1
- package/esm/plugins/ai-assistant-pro/tools/replace-block/executor.js +1 -1
- package/esm/plugins/ai-assistant-pro/tools/replace-in-document/executor.js +1 -1
- package/esm/plugins/google-maps/config.js +1 -1
- package/esm/plugins/google-maps/ui/map/map.d.ts +3 -2
- package/esm/plugins/google-maps/ui/map/map.js +2 -2
- package/esm/plugins/google-maps/ui/map/modules/drawing-controller.d.ts +42 -0
- package/esm/plugins/google-maps/ui/map/modules/drawing-controller.js +1 -0
- package/package.json +1 -1
- package/types/plugins/ai-assistant-pro/core/sanitize-utils.d.ts +18 -0
- package/types/plugins/google-maps/ui/map/map.d.ts +3 -2
- package/types/plugins/google-maps/ui/map/modules/drawing-controller.d.ts +42 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.13.
|
|
4
|
+
* Version: v4.13.44
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -40,9 +40,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40
40
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82749);
|
|
41
41
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18766);
|
|
42
42
|
/* harmony import */ var _swc_helpers_to_consumable_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94899);
|
|
43
|
-
/* harmony import */ var
|
|
44
|
-
/* harmony import */ var
|
|
45
|
-
/* harmony import */ var
|
|
43
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
44
|
+
/* harmony import */ var _swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(62361);
|
|
45
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23078);
|
|
46
46
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(57056);
|
|
47
47
|
/* harmony import */ var _modules_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(29243);
|
|
48
48
|
/* harmony import */ var _ui_box__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(64262);
|
|
@@ -137,7 +137,7 @@ var backup = /*#__PURE__*/ function(Plugin) {
|
|
|
137
137
|
value: function onOpenBackupDialog() {
|
|
138
138
|
return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function() {
|
|
139
139
|
var __dialog, items;
|
|
140
|
-
return (0,
|
|
140
|
+
return (0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_8__._)(this, function(_state) {
|
|
141
141
|
switch(_state.label){
|
|
142
142
|
case 0:
|
|
143
143
|
this.prepareDialog();
|
|
@@ -240,17 +240,17 @@ var backup = /*#__PURE__*/ function(Plugin) {
|
|
|
240
240
|
}
|
|
241
241
|
]);
|
|
242
242
|
return backup;
|
|
243
|
-
}((0,
|
|
243
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_9__._)(jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_14__.Plugin));
|
|
244
244
|
/** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_4__._)(backup, "requires", [
|
|
245
245
|
'license'
|
|
246
246
|
]);
|
|
247
|
-
(0,
|
|
247
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
248
248
|
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_13__.autobind
|
|
249
249
|
], backup.prototype, "onSaveBackup", null);
|
|
250
|
-
(0,
|
|
250
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
251
251
|
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_13__.autobind
|
|
252
252
|
], backup.prototype, "onOpenBackupDialog", null);
|
|
253
|
-
(0,
|
|
253
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
|
|
254
254
|
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_13__.autobind
|
|
255
255
|
], backup.prototype, "onSelectItem", null);
|
|
256
256
|
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_16__.JoditPro.plugins.add('backup', backup);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.13.
|
|
4
|
+
* Version: v4.13.44
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[736],{68583:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><title/><g id="Upload"><path d="M16,26h8V50a2,2,0,0,0,2,2H38a2,2,0,0,0,2-2V26h8a2,2,0,0,0,1.4946-3.3291l-16-18a2,2,0,0,0-2.9892,0l-16,18A2,2,0,0,0,16,26ZM32,9.0107,43.5464,22H38a2,2,0,0,0-2,2V48H28V24a2,2,0,0,0-2-2H20.4536Z"/><path d="M53,42a2,2,0,0,0-2,2V54a2.0023,2.0023,0,0,1-2,2H15a2.0023,2.0023,0,0,1-2-2V44a2,2,0,0,0-4,0V54a6.0066,6.0066,0,0,0,6,6H49a6.0066,6.0066,0,0,0,6-6V44A2,2,0,0,0,53,42Z"/></g></svg>'},61328:function(t,e,n){"use strict";n.r(e),n.d(e,{backup:function(){return g}});var o=n(77688),i=n(80294),a=n(20616),r=n(67709),s=n(82749),c=n(18766),u=n(94899),l=n(23078),h=n(31635),d=n(62361);n(57056);var f=n(29243),p=n(64262),_=n(65478),v=n(50911),k=n(67510),m=n(2692),g=function(t){function e(){var t,n;return(0,a._)(this,e),t=(0,i._)(this,e,arguments),(0,s._)(t,"hasStyle",!m.JoditPro.fatMode),(0,s._)(t,"buttons",[{name:"backup.restore",group:"history"}]),(0,s._)(t,"__box",new p.UIBackupBox(t.j)),(0,s._)(t,"__dialog",null),(0,s._)(t,"__storage",null!=(n=t.jodit.o.backup.remoteStore)?n:new f.DefaultStorage(t.jodit)),(0,s._)(t,"timeout",0),t}return(0,c._)(e,t),(0,r._)(e,[{key:"afterInit",value:function(t){var e=this;t.registerCommand("saveBackup",this.onSaveBackup).registerCommand("openBackupDialog",{exec:this.onOpenBackupDialog,hotkeys:t.o.backup.hotkeys});var n=function(){e.timeout=t.async.setTimeout(function(){e.onSaveBackup(),n()},1e3*t.o.backup.interval)};n(),t.e.on(this.__box,"choose",this.onSelectItem).on(t.ow,"beforeunload.backup",function(){e.onSaveBackup()})}},{key:"prepareDialog",value:function(){this.__dialog||(this.__dialog=this.j.dlg({minWidth:this.j.o.backup.dialogWidth,buttons:["fullsize","dialog.close"]}).setContent(this.__box.container)),this.__dialog.setHeader(this.jodit.i18n("Restore")),this.addButtonsToDialog()}},{key:"onSaveBackup",value:function(){this.__storage.add({created:new Date,html:this.j.value})}},{key:"onOpenBackupDialog",value:function(){return(0,o._)(function(){var t,e;return(0,d._)(this,function(n){switch(n.label){case 0:if(this.prepareDialog(),!(t=this.__dialog))return[2];return t.open().setModal(!0),[4,this.__storage.items()];case 1:return e=n.sent(),this.__box.build([{created:new Date,html:this.j.value}].concat((0,u._)(e))),t.calcAutoSize(),t.setPosition(),[2]}})}).call(this)}},{key:"onSelectItem",value:function(t){var e;null==(e=this.__dialog)||e.close(),this.j.value=t.html,this.j.s.focus()}},{key:"addButtonsToDialog",value:function(){var t,e=this,n=this.jodit,o=(0,k.Button)(n,{name:"ok",tabIndex:0,variant:"primary",text:"Ok"}),i=(0,k.Button)(n,{variant:"secondary",tabIndex:0,text:"Cancel"}),a=(0,k.Button)(n,{name:"clear",tabIndex:0,variant:"secondary",text:"Remove all"});o.onAction(function(){e.__box.chooseSelected()}),i.onAction(function(){var t;null==(t=e.__dialog)||t.close()}),a.onAction(function(){n.confirm("Are you sure?",void 0,function(t){if(t){var n;e.__storage.clear(),null==(n=e.__dialog)||n.close()}})});var r=new k.UIBlock(n,[a,i,o]);r.container.style.margin="0",r.container.style.justifyContent="flex-end",r.container.style.width="100%",null==(t=this.__dialog)||t.setFooter(r)}},{key:"beforeDestruct",value:function(){var t,e=this.j;e.async.clearTimeout(this.timeout),e.e.off(this.__box,"choose",this.onSelectItem).off(e.ow,"beforeunload.backup"),this.__box.destruct(),null==(t=this.__dialog)||t.destruct()}}]),e}((0,l._)(v.Plugin));(0,s._)(g,"requires",["license"]),(0,h.__decorate)([_.autobind],g.prototype,"onSaveBackup",null),(0,h.__decorate)([_.autobind],g.prototype,"onOpenBackupDialog",null),(0,h.__decorate)([_.autobind],g.prototype,"onSelectItem",null),m.JoditPro.plugins.add("backup",g)},57056:function(t,e,n){"use strict";var o=n(68583),i=n.n(o),a=n(29402),r=n(6441),s=n(580),c=n(12153);r.Config.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},r.Config.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec:function(t){t.execCommand("openBackupDialog")}}},c.Icon.set("restore",i()),(0,s.extendLang)(a)},29402:function(t,e,n){"use strict";n.r(e)},29243:function(t,e,n){"use strict";n.d(e,{DefaultStorage:function(){return c}});var o=n(77688),i=n(20616),a=n(67709),r=n(82749),s=n(62361),c=function(){function t(e){(0,i._)(this,t),(0,r._)(this,"jodit",void 0),(0,r._)(this,"key",void 0),this.jodit=e,this.key="backup.default.storage"}return(0,a._)(t,[{key:"add",value:function(t){return(0,o._)(function(){var e;return(0,s._)(this,function(n){return!t.html.trim().length||(e=this.jodit.storage.get(this.key)||[]).find(function(e){return 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)),[2,!1]})}).call(this)}},{key:"items",value:function(){return Promise.resolve(this.jodit.storage.get(this.key)||[])}},{key:"clear",value:function(){return this.jodit.storage.delete(this.key),Promise.resolve(!1)}}]),t}()},64262:function(t,e,n){"use strict";n.d(e,{UIBackupBox:function(){return f}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),s=n(54816),c=n(84669),u=n(18766),l=n(31635),h=n(6183),d=n(65478),f=function(t){function e(t){var n;return(0,i._)(this,e),n=(0,o._)(this,e,[t]),(0,r._)(n,"list",new h.UIBackupList(n.j)),(0,r._)(n,"preview",n.j.c.div(n.getFullElName("preview"))),(0,r._)(n,"latestSelected",void 0),n.container.appendChild(n.list.container),n.container.appendChild(n.preview),n.list.container.classList.add(n.getFullElName("list")),t.e.on(n.list,"select",n.onSelectItem).on(n.list,"choose",n.onChooseItem),n}return(0,u._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupBox"}},{key:"build",value:function(t){this.preview.innerHTML="",this.list.build(t)}},{key:"destruct",value:function(){return this.j.e.off(this.list,"select",this.onSelectItem),this.list.destruct(),(0,s._)((0,c._)(e.prototype),"destruct",this).call(this)}},{key:"onSelectItem",value:function(t){this.latestSelected=t,this.preview.innerHTML=t.html||'<div class="'.concat(this.getFullElName("empty"),'">').concat(this.j.i18n("Empty"),"</div>")}},{key:"onChooseItem",value:function(t){this.j.e.fire(this,"choose",t)}},{key:"chooseSelected",value:function(){this.onChooseItem(this.latestSelected)}}]),e}(n(48538).UIElement);(0,l.__decorate)([d.autobind],f.prototype,"onSelectItem",null),(0,l.__decorate)([d.autobind],f.prototype,"onChooseItem",null),f=(0,l.__decorate)([d.component],f)},38512:function(t,e,n){"use strict";n.d(e,{UIBackupItem:function(){return u}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),s=n(18766),c=n(21537),u=function(t){function e(t,n){var a;return(0,i._)(this,e),a=(0,o._)(this,e,[t]),(0,r._)(a,"data",void 0),a.data=n,a.container.innerHTML=a.formatDate(n.created),(0,c.attr)(a.container,"tabIndex",0),a}return(0,s._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupItem"}},{key:"formatDate",value:function(t){var e=new Date,n=(0,c.isString)(t)?new Date(t):t,o=(e.getTime()-n.getTime())/1e3;return(0,c.isFunction)(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(n):o<.2?this.j.i18n("Current"):o<60?this.j.i18n("Less minute"):o<=3600?this.j.i18n("%s minutes ago",Math.floor(o/60)):o<=86400?this.j.i18n("%s hours ago",Math.floor(o/3600)):"".concat(n.toDateString()," ").concat(n.toLocaleTimeString())}},{key:"focus",value:function(){this.container.focus()}}]),e}(n(67510).UIElement)},6183:function(t,e,n){"use strict";n.d(e,{UIBackupList:function(){return _}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),s=n(54816),c=n(84669),u=n(18766),l=n(31635),h=n(38512),d=n(82758),f=n(65478),p=n(21537),_=function(t){function e(t){var n;return(0,i._)(this,e),n=(0,o._)(this,e,[t]),(0,r._)(n,"elements",[]),(0,r._)(n,"currentSelection",-1),t.e.on(n.container,"keydown",function(t){switch(t.key){case d.KEY_ENTER:t.preventDefault(),t.stopPropagation(),n.onChoose(n.currentSelection);break;case d.KEY_DOWN:n.selectNext();break;case d.KEY_UP:n.selectPrevious()}}),n}return(0,u._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupList"}},{key:"createContainer",value:function(t){var n=(0,s._)((0,c._)(e.prototype),"createContainer",this).call(this,t);return(0,p.attr)(n,"tabIndex","-1"),n}},{key:"build",value:function(t){var e=this;this.clear(),t.forEach(function(t,n){var o=new h.UIBackupItem(e.jodit,t);e.append(o),e.j.e.on(o.container,"focus",function(){return e.onSelect(n)}).on(o.container,"click",function(){return e.onSelect(n)}).on(o.container,"dblclick",function(){return e.onChoose(n)})}),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}},{key:"onChangeCurrentSelection",value:function(t,e,n){var o,i,a;null==(o=this.elements[e])||o.setMod("active",!1),null==(i=this.elements[n])||i.setMod("active",!0),null==(a=this.elements[n])||a.focus(),this.j.e.fire(this,"select",this.elements[n].data)}},{key:"onSelect",value:function(t){this.currentSelection=t}},{key:"onChoose",value:function(t){this.j.e.fire(this,"choose",this.elements[null!=t?t:this.currentSelection].data)}},{key:"selectNext",value:function(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}},{key:"selectPrevious",value:function(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}}]),e}(n(67510).UIGroup);(0,l.__decorate)([(0,f.watch)("currentSelection")],_.prototype,"onChangeCurrentSelection",null),(0,l.__decorate)([f.autobind],_.prototype,"onSelect",null),(0,l.__decorate)([f.autobind],_.prototype,"onChoose",null),_=(0,l.__decorate)([f.component],_)}},function(t){return t(t.s=61328)}])});
|
|
8
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[736],{68583:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><title/><g id="Upload"><path d="M16,26h8V50a2,2,0,0,0,2,2H38a2,2,0,0,0,2-2V26h8a2,2,0,0,0,1.4946-3.3291l-16-18a2,2,0,0,0-2.9892,0l-16,18A2,2,0,0,0,16,26ZM32,9.0107,43.5464,22H38a2,2,0,0,0-2,2V48H28V24a2,2,0,0,0-2-2H20.4536Z"/><path d="M53,42a2,2,0,0,0-2,2V54a2.0023,2.0023,0,0,1-2,2H15a2.0023,2.0023,0,0,1-2-2V44a2,2,0,0,0-4,0V54a6.0066,6.0066,0,0,0,6,6H49a6.0066,6.0066,0,0,0,6-6V44A2,2,0,0,0,53,42Z"/></g></svg>'},61328:function(t,e,n){"use strict";n.r(e),n.d(e,{backup:function(){return g}});var o=n(77688),i=n(80294),a=n(20616),r=n(67709),s=n(82749),c=n(18766),u=n(94899),l=n(31635),h=n(62361),d=n(23078);n(57056);var f=n(29243),p=n(64262),_=n(65478),v=n(50911),k=n(67510),m=n(2692),g=function(t){function e(){var t,n;return(0,a._)(this,e),t=(0,i._)(this,e,arguments),(0,s._)(t,"hasStyle",!m.JoditPro.fatMode),(0,s._)(t,"buttons",[{name:"backup.restore",group:"history"}]),(0,s._)(t,"__box",new p.UIBackupBox(t.j)),(0,s._)(t,"__dialog",null),(0,s._)(t,"__storage",null!=(n=t.jodit.o.backup.remoteStore)?n:new f.DefaultStorage(t.jodit)),(0,s._)(t,"timeout",0),t}return(0,c._)(e,t),(0,r._)(e,[{key:"afterInit",value:function(t){var e=this;t.registerCommand("saveBackup",this.onSaveBackup).registerCommand("openBackupDialog",{exec:this.onOpenBackupDialog,hotkeys:t.o.backup.hotkeys});var n=function(){e.timeout=t.async.setTimeout(function(){e.onSaveBackup(),n()},1e3*t.o.backup.interval)};n(),t.e.on(this.__box,"choose",this.onSelectItem).on(t.ow,"beforeunload.backup",function(){e.onSaveBackup()})}},{key:"prepareDialog",value:function(){this.__dialog||(this.__dialog=this.j.dlg({minWidth:this.j.o.backup.dialogWidth,buttons:["fullsize","dialog.close"]}).setContent(this.__box.container)),this.__dialog.setHeader(this.jodit.i18n("Restore")),this.addButtonsToDialog()}},{key:"onSaveBackup",value:function(){this.__storage.add({created:new Date,html:this.j.value})}},{key:"onOpenBackupDialog",value:function(){return(0,o._)(function(){var t,e;return(0,h._)(this,function(n){switch(n.label){case 0:if(this.prepareDialog(),!(t=this.__dialog))return[2];return t.open().setModal(!0),[4,this.__storage.items()];case 1:return e=n.sent(),this.__box.build([{created:new Date,html:this.j.value}].concat((0,u._)(e))),t.calcAutoSize(),t.setPosition(),[2]}})}).call(this)}},{key:"onSelectItem",value:function(t){var e;null==(e=this.__dialog)||e.close(),this.j.value=t.html,this.j.s.focus()}},{key:"addButtonsToDialog",value:function(){var t,e=this,n=this.jodit,o=(0,k.Button)(n,{name:"ok",tabIndex:0,variant:"primary",text:"Ok"}),i=(0,k.Button)(n,{variant:"secondary",tabIndex:0,text:"Cancel"}),a=(0,k.Button)(n,{name:"clear",tabIndex:0,variant:"secondary",text:"Remove all"});o.onAction(function(){e.__box.chooseSelected()}),i.onAction(function(){var t;null==(t=e.__dialog)||t.close()}),a.onAction(function(){n.confirm("Are you sure?",void 0,function(t){if(t){var n;e.__storage.clear(),null==(n=e.__dialog)||n.close()}})});var r=new k.UIBlock(n,[a,i,o]);r.container.style.margin="0",r.container.style.justifyContent="flex-end",r.container.style.width="100%",null==(t=this.__dialog)||t.setFooter(r)}},{key:"beforeDestruct",value:function(){var t,e=this.j;e.async.clearTimeout(this.timeout),e.e.off(this.__box,"choose",this.onSelectItem).off(e.ow,"beforeunload.backup"),this.__box.destruct(),null==(t=this.__dialog)||t.destruct()}}]),e}((0,d._)(v.Plugin));(0,s._)(g,"requires",["license"]),(0,l.__decorate)([_.autobind],g.prototype,"onSaveBackup",null),(0,l.__decorate)([_.autobind],g.prototype,"onOpenBackupDialog",null),(0,l.__decorate)([_.autobind],g.prototype,"onSelectItem",null),m.JoditPro.plugins.add("backup",g)},57056:function(t,e,n){"use strict";var o=n(68583),i=n.n(o),a=n(29402),r=n(6441),s=n(580),c=n(12153);r.Config.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},r.Config.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec:function(t){t.execCommand("openBackupDialog")}}},c.Icon.set("restore",i()),(0,s.extendLang)(a)},29402:function(t,e,n){"use strict";n.r(e)},29243:function(t,e,n){"use strict";n.d(e,{DefaultStorage:function(){return c}});var o=n(77688),i=n(20616),a=n(67709),r=n(82749),s=n(62361),c=function(){function t(e){(0,i._)(this,t),(0,r._)(this,"jodit",void 0),(0,r._)(this,"key",void 0),this.jodit=e,this.key="backup.default.storage"}return(0,a._)(t,[{key:"add",value:function(t){return(0,o._)(function(){var e;return(0,s._)(this,function(n){return!t.html.trim().length||(e=this.jodit.storage.get(this.key)||[]).find(function(e){return 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)),[2,!1]})}).call(this)}},{key:"items",value:function(){return Promise.resolve(this.jodit.storage.get(this.key)||[])}},{key:"clear",value:function(){return this.jodit.storage.delete(this.key),Promise.resolve(!1)}}]),t}()},64262:function(t,e,n){"use strict";n.d(e,{UIBackupBox:function(){return f}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),s=n(54816),c=n(84669),u=n(18766),l=n(31635),h=n(6183),d=n(65478),f=function(t){function e(t){var n;return(0,i._)(this,e),n=(0,o._)(this,e,[t]),(0,r._)(n,"list",new h.UIBackupList(n.j)),(0,r._)(n,"preview",n.j.c.div(n.getFullElName("preview"))),(0,r._)(n,"latestSelected",void 0),n.container.appendChild(n.list.container),n.container.appendChild(n.preview),n.list.container.classList.add(n.getFullElName("list")),t.e.on(n.list,"select",n.onSelectItem).on(n.list,"choose",n.onChooseItem),n}return(0,u._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupBox"}},{key:"build",value:function(t){this.preview.innerHTML="",this.list.build(t)}},{key:"destruct",value:function(){return this.j.e.off(this.list,"select",this.onSelectItem),this.list.destruct(),(0,s._)((0,c._)(e.prototype),"destruct",this).call(this)}},{key:"onSelectItem",value:function(t){this.latestSelected=t,this.preview.innerHTML=t.html||'<div class="'.concat(this.getFullElName("empty"),'">').concat(this.j.i18n("Empty"),"</div>")}},{key:"onChooseItem",value:function(t){this.j.e.fire(this,"choose",t)}},{key:"chooseSelected",value:function(){this.onChooseItem(this.latestSelected)}}]),e}(n(48538).UIElement);(0,l.__decorate)([d.autobind],f.prototype,"onSelectItem",null),(0,l.__decorate)([d.autobind],f.prototype,"onChooseItem",null),f=(0,l.__decorate)([d.component],f)},38512:function(t,e,n){"use strict";n.d(e,{UIBackupItem:function(){return u}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),s=n(18766),c=n(21537),u=function(t){function e(t,n){var a;return(0,i._)(this,e),a=(0,o._)(this,e,[t]),(0,r._)(a,"data",void 0),a.data=n,a.container.innerHTML=a.formatDate(n.created),(0,c.attr)(a.container,"tabIndex",0),a}return(0,s._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupItem"}},{key:"formatDate",value:function(t){var e=new Date,n=(0,c.isString)(t)?new Date(t):t,o=(e.getTime()-n.getTime())/1e3;return(0,c.isFunction)(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(n):o<.2?this.j.i18n("Current"):o<60?this.j.i18n("Less minute"):o<=3600?this.j.i18n("%s minutes ago",Math.floor(o/60)):o<=86400?this.j.i18n("%s hours ago",Math.floor(o/3600)):"".concat(n.toDateString()," ").concat(n.toLocaleTimeString())}},{key:"focus",value:function(){this.container.focus()}}]),e}(n(67510).UIElement)},6183:function(t,e,n){"use strict";n.d(e,{UIBackupList:function(){return _}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),s=n(54816),c=n(84669),u=n(18766),l=n(31635),h=n(38512),d=n(82758),f=n(65478),p=n(21537),_=function(t){function e(t){var n;return(0,i._)(this,e),n=(0,o._)(this,e,[t]),(0,r._)(n,"elements",[]),(0,r._)(n,"currentSelection",-1),t.e.on(n.container,"keydown",function(t){switch(t.key){case d.KEY_ENTER:t.preventDefault(),t.stopPropagation(),n.onChoose(n.currentSelection);break;case d.KEY_DOWN:n.selectNext();break;case d.KEY_UP:n.selectPrevious()}}),n}return(0,u._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupList"}},{key:"createContainer",value:function(t){var n=(0,s._)((0,c._)(e.prototype),"createContainer",this).call(this,t);return(0,p.attr)(n,"tabIndex","-1"),n}},{key:"build",value:function(t){var e=this;this.clear(),t.forEach(function(t,n){var o=new h.UIBackupItem(e.jodit,t);e.append(o),e.j.e.on(o.container,"focus",function(){return e.onSelect(n)}).on(o.container,"click",function(){return e.onSelect(n)}).on(o.container,"dblclick",function(){return e.onChoose(n)})}),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}},{key:"onChangeCurrentSelection",value:function(t,e,n){var o,i,a;null==(o=this.elements[e])||o.setMod("active",!1),null==(i=this.elements[n])||i.setMod("active",!0),null==(a=this.elements[n])||a.focus(),this.j.e.fire(this,"select",this.elements[n].data)}},{key:"onSelect",value:function(t){this.currentSelection=t}},{key:"onChoose",value:function(t){this.j.e.fire(this,"choose",this.elements[null!=t?t:this.currentSelection].data)}},{key:"selectNext",value:function(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}},{key:"selectPrevious",value:function(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}}]),e}(n(67510).UIGroup);(0,l.__decorate)([(0,f.watch)("currentSelection")],_.prototype,"onChangeCurrentSelection",null),(0,l.__decorate)([f.autobind],_.prototype,"onSelect",null),(0,l.__decorate)([f.autobind],_.prototype,"onChoose",null),_=(0,l.__decorate)([f.component],_)}},function(t){return t(t.s=61328)}])});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.13.
|
|
4
|
+
* Version: v4.13.44
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -30,11 +30,10 @@ module.exports = "<svg stroke=\"black\" viewBox=\"0 0 32 32\" xml:space=\"preser
|
|
|
30
30
|
|
|
31
31
|
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
32
32
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _instanceof(left, right) {
|
|
33
|
+
"@swc/helpers - instanceof";
|
|
33
34
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
34
35
|
return !!right[Symbol.hasInstance](left);
|
|
35
|
-
} else
|
|
36
|
-
return left instanceof right;
|
|
37
|
-
}
|
|
36
|
+
} else return left instanceof right;
|
|
38
37
|
}
|
|
39
38
|
function _type_of(obj) {
|
|
40
39
|
"@swc/helpers - typeof";
|
|
@@ -1521,8 +1520,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1521
1520
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67709);
|
|
1522
1521
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82749);
|
|
1523
1522
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18766);
|
|
1524
|
-
/* harmony import */ var
|
|
1525
|
-
/* harmony import */ var
|
|
1523
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
1524
|
+
/* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(23078);
|
|
1526
1525
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(82158);
|
|
1527
1526
|
/* harmony import */ var _ui_button_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(82520);
|
|
1528
1527
|
/* harmony import */ var _ui_generator_button_generator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(35987);
|
|
@@ -1648,15 +1647,15 @@ var buttonGenerator = /*#__PURE__*/ function(Plugin) {
|
|
|
1648
1647
|
}
|
|
1649
1648
|
]);
|
|
1650
1649
|
return buttonGenerator;
|
|
1651
|
-
}((0,
|
|
1650
|
+
}((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_6__._)(jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_12__.Plugin));
|
|
1652
1651
|
/** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(buttonGenerator, "requires", [
|
|
1653
1652
|
'license',
|
|
1654
1653
|
'color-picker'
|
|
1655
1654
|
]);
|
|
1656
|
-
(0,
|
|
1655
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
1657
1656
|
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.autobind
|
|
1658
1657
|
], buttonGenerator.prototype, "toggleButtonGenerator", null);
|
|
1659
|
-
(0,
|
|
1658
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
1660
1659
|
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)(':dblclick')
|
|
1661
1660
|
], buttonGenerator.prototype, "onDblClick", null);
|
|
1662
1661
|
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_15__.JoditPro.plugins.add('button-generator', buttonGenerator);
|
|
@@ -2530,19 +2529,13 @@ ColorInput = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_6__.__decorate
|
|
|
2530
2529
|
|
|
2531
2530
|
"use strict";
|
|
2532
2531
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2533
|
-
/* harmony export */ _: function() { return /* binding */
|
|
2532
|
+
/* harmony export */ _: function() { return /* binding */ _instanceof; }
|
|
2534
2533
|
/* harmony export */ });
|
|
2535
2534
|
function _instanceof(left, right) {
|
|
2535
|
+
"@swc/helpers - instanceof";
|
|
2536
2536
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
2537
2537
|
return !!right[Symbol.hasInstance](left);
|
|
2538
|
-
} else
|
|
2539
|
-
return left instanceof right;
|
|
2540
|
-
}
|
|
2541
|
-
}
|
|
2542
|
-
function _instanceof1(left, right) {
|
|
2543
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
2544
|
-
return !!right[Symbol.hasInstance](left);
|
|
2545
|
-
} else return _instanceof(left, right);
|
|
2538
|
+
} else return left instanceof right;
|
|
2546
2539
|
}
|
|
2547
2540
|
|
|
2548
2541
|
|