jodit-pro 4.6.9 → 4.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +1382 -1370
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +65 -65
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +110 -110
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +7 -7
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +37 -37
- package/es2015/plugins/color-picker/color-picker.min.js +2 -2
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +47 -47
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +18 -18
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +452 -452
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +265 -265
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +60 -60
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +26 -26
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +27 -27
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +51 -51
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +27 -27
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +62 -62
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +62 -62
- package/es2015/plugins/translate/translate.min.js +2 -2
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +50 -50
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +1227 -1160
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +64 -64
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +110 -110
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +7 -7
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +37 -37
- package/es2018/plugins/color-picker/color-picker.min.js +2 -2
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +45 -45
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +446 -446
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +262 -262
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +60 -60
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +26 -26
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +27 -27
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +49 -49
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +27 -27
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +62 -62
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +61 -61
- package/es2018/plugins/translate/translate.min.js +2 -2
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +50 -50
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +1227 -1160
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +64 -64
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +110 -110
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +7 -7
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +37 -37
- package/es2021/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +45 -45
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +446 -446
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +262 -262
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +60 -60
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +27 -27
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +49 -49
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +62 -62
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +61 -61
- package/es2021/plugins/translate/translate.min.js +2 -2
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +50 -50
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +1227 -1160
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +64 -64
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +110 -110
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +7 -7
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +37 -37
- package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +45 -45
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +446 -446
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +262 -262
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +60 -60
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +27 -27
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +49 -49
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +62 -62
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +61 -61
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +50 -50
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1565 -1610
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +80 -80
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +137 -137
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +17 -17
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +40 -40
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +54 -54
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +21 -21
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +495 -495
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +299 -299
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +17 -17
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +26 -26
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +43 -43
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +62 -62
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +28 -28
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +29 -29
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +55 -55
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +28 -28
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +64 -64
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +77 -77
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +65 -65
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/index.js +1 -1
- package/esm/jodit-pro.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
- package/esm/plugins/backup/backup.js +1 -1
- package/esm/plugins/backup/modules/store.js +1 -1
- package/esm/plugins/backup/ui/list.js +1 -1
- package/esm/plugins/button-generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/button/button.js +1 -1
- package/esm/plugins/button-generator/ui/form/form.js +1 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/preview/preview.js +1 -1
- package/esm/plugins/change-case/change-case.js +1 -1
- package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/emoji/emoji.js +1 -1
- package/esm/plugins/emoji/ui/emoji.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/finder.js +1 -1
- package/esm/plugins/finder/helpers/context-menu.js +1 -1
- package/esm/plugins/finder/helpers/helpers.js +1 -1
- package/esm/plugins/finder/helpers/loading-manager.js +1 -1
- package/esm/plugins/finder/helpers/persistent-store.js +1 -1
- package/esm/plugins/finder/helpers/state-manager.js +1 -1
- package/esm/plugins/finder/ui/folder/folder.js +1 -1
- package/esm/plugins/finder/ui/header/header.js +1 -1
- package/esm/plugins/finder/ui/item/item.js +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
- package/esm/plugins/finder/ui/panel/panel.js +1 -1
- package/esm/plugins/finder/ui/preview/preview.js +1 -1
- package/esm/plugins/finder/ui/progress/progress.js +1 -1
- package/esm/plugins/finder/ui/settings/settings.js +1 -1
- package/esm/plugins/finder/ui/source/source.js +1 -1
- package/esm/plugins/finder/ui/sources/sources.js +1 -1
- package/esm/plugins/finder/ui/tree/tree.js +1 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
- package/esm/plugins/google-maps/google-maps.js +1 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
- package/esm/plugins/google-maps/helpers/helpers.js +1 -1
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
- package/esm/plugins/google-maps/ui/editors/base.js +1 -1
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
- package/esm/plugins/google-maps/ui/map/map.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
- package/esm/plugins/license/helpers/helpers.js +1 -1
- package/esm/plugins/license/license.js +1 -1
- package/esm/plugins/mobile-view/mobile-view.js +1 -1
- package/esm/plugins/page-break/page-break.js +1 -1
- package/esm/plugins/paste-code/paste-code.js +1 -1
- package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
- package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
- package/esm/plugins/paste-from-word/element/checkers.js +1 -1
- package/esm/plugins/paste-from-word/element/element.js +1 -1
- package/esm/plugins/paste-from-word/element/render.js +1 -1
- package/esm/plugins/paste-from-word/element/style.js +1 -1
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
- package/esm/plugins/paste-from-word/helpers/helpers.js +1 -1
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
- package/esm/plugins/show-blocks/show-blocks.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/todo-list/todo-list.js +1 -1
- package/esm/plugins/translate/providers/google/google.js +1 -1
- package/esm/plugins/translate/translate.js +1 -1
- package/esm/plugins/translate/ui/list/list.js +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -25,15 +25,15 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
25
25
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26
26
|
/* harmony export */ A: function() { return /* binding */ ColorInput; }
|
|
27
27
|
/* harmony export */ });
|
|
28
|
-
/* harmony import */ var
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
31
|
-
/* harmony import */ var
|
|
32
|
-
/* harmony import */ var
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
36
|
-
/* harmony import */ var
|
|
28
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
29
|
+
/* harmony import */ var a_color_picker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46146);
|
|
30
|
+
/* harmony import */ var a_color_picker__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(a_color_picker__WEBPACK_IMPORTED_MODULE_1__);
|
|
31
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
32
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65478);
|
|
33
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
34
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38837);
|
|
35
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67510);
|
|
36
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41409);
|
|
37
37
|
/*!
|
|
38
38
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
39
39
|
* See LICENSE.md in the project root for license information.
|
|
@@ -49,13 +49,13 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
var ColorInput = /** @class */ (function (_super) {
|
|
52
|
-
(0,
|
|
52
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(ColorInput, _super);
|
|
53
53
|
/** @override */
|
|
54
54
|
function ColorInput(jodit, options) {
|
|
55
55
|
var _this = _super.call(this, jodit, options) || this;
|
|
56
|
-
var popup = new
|
|
56
|
+
var popup = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .Popup */ .zD(jodit), parse = function (c) { return a_color_picker__WEBPACK_IMPORTED_MODULE_1__.parseColor(c, 'hex'); };
|
|
57
57
|
_this.popup = popup;
|
|
58
|
-
_this.trigger = (0,
|
|
58
|
+
_this.trigger = (0,jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .Button */ .$n)(_this.j, 'ok');
|
|
59
59
|
var wrapper = _this.getElm('wrapper');
|
|
60
60
|
void 0;
|
|
61
61
|
wrapper.appendChild(_this.trigger.container);
|
|
@@ -67,13 +67,13 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
67
67
|
});
|
|
68
68
|
popup.setMod('padding', false).setMod('max-height', false);
|
|
69
69
|
var pickerElement = _this.j.create.div(_this.getFullElName('picker'));
|
|
70
|
-
var picker =
|
|
70
|
+
var picker = a_color_picker__WEBPACK_IMPORTED_MODULE_1__.createPicker(pickerElement, {
|
|
71
71
|
paletteEditable: true,
|
|
72
72
|
showAlpha: true,
|
|
73
73
|
palette: 'PALETTE_MATERIAL_CHROME'
|
|
74
74
|
}).on('change', function (picker, color) {
|
|
75
75
|
if (!_this.isFocused) {
|
|
76
|
-
_this.value =
|
|
76
|
+
_this.value = a_color_picker__WEBPACK_IMPORTED_MODULE_1__.parseColor(color || '', 'hex');
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
79
|
_this.j.e.on(_this, 'change', function () {
|
|
@@ -84,10 +84,10 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
84
84
|
popup.setContent(pickerElement);
|
|
85
85
|
_this.j.e.on(_this.nativeInput, 'click', function () {
|
|
86
86
|
popup.parentElement = _this;
|
|
87
|
-
if (_this.jodit instanceof
|
|
87
|
+
if (_this.jodit instanceof jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__.Dialog) {
|
|
88
88
|
popup.setZIndex(_this.jodit.getZIndex() + 1);
|
|
89
89
|
}
|
|
90
|
-
popup.open(function () { return (0,
|
|
90
|
+
popup.open(function () { return (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_4__.position)(_this.container); });
|
|
91
91
|
});
|
|
92
92
|
_this.onChangeValue();
|
|
93
93
|
_this.onChangeSelfValue();
|
|
@@ -107,21 +107,21 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
107
107
|
};
|
|
108
108
|
ColorInput.prototype.onEscKeyDown = function (e) {
|
|
109
109
|
var _a;
|
|
110
|
-
if (e.key ===
|
|
110
|
+
if (e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC) {
|
|
111
111
|
(_a = this.popup) === null || _a === void 0 ? void 0 : _a.close();
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
|
-
(0,
|
|
115
|
-
(0,
|
|
114
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
115
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':change')
|
|
116
116
|
], ColorInput.prototype, "onChangeSelfValue", null);
|
|
117
|
-
(0,
|
|
118
|
-
(0,
|
|
117
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
118
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)('nativeInput:keydown')
|
|
119
119
|
], ColorInput.prototype, "onEscKeyDown", null);
|
|
120
|
-
ColorInput = (0,
|
|
121
|
-
|
|
120
|
+
ColorInput = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
121
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.component
|
|
122
122
|
], ColorInput);
|
|
123
123
|
return ColorInput;
|
|
124
|
-
}(
|
|
124
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIInput */ .tS));
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
@@ -134,12 +134,12 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
134
134
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
135
135
|
/* harmony export */ c: function() { return /* binding */ UIGButton; }
|
|
136
136
|
/* harmony export */ });
|
|
137
|
-
/* harmony import */ var
|
|
138
|
-
/* harmony import */ var
|
|
139
|
-
/* harmony import */ var
|
|
140
|
-
/* harmony import */ var
|
|
141
|
-
/* harmony import */ var
|
|
142
|
-
/* harmony import */ var
|
|
137
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
138
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
139
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21537);
|
|
140
|
+
/* harmony import */ var jodit_esm_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27613);
|
|
141
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38837);
|
|
142
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67510);
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
@@ -148,7 +148,7 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
var UIGButton = /** @class */ (function (_super) {
|
|
151
|
-
(0,
|
|
151
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIGButton, _super);
|
|
152
152
|
/** @override */
|
|
153
153
|
function UIGButton(jodit, style) {
|
|
154
154
|
var _this = _super.call(this, jodit) || this;
|
|
@@ -171,10 +171,10 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
171
171
|
UIGButton_1.applyStyle(style, btn);
|
|
172
172
|
};
|
|
173
173
|
UIGButton.applyStyle = function (style, btn) {
|
|
174
|
-
var _ = function (v) { return ((0,
|
|
174
|
+
var _ = function (v) { return ((0,jodit_esm_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__/* .isString */ .Kg)(v) ? v : v + 'px'); };
|
|
175
175
|
btn.innerText = style.text || 'css';
|
|
176
176
|
btn.setAttribute('href', style.href);
|
|
177
|
-
(0,
|
|
177
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(btn, {
|
|
178
178
|
background: !style.solid
|
|
179
179
|
? "linear-gradient(to bottom, ".concat(style.bgStart, " 5%, ").concat(style.bgEnd, " 100%)")
|
|
180
180
|
: null,
|
|
@@ -191,7 +191,7 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
191
191
|
padding: "".concat(_(style.paddingY), " ").concat(_(style.paddingX)),
|
|
192
192
|
textDecoration: 'none'
|
|
193
193
|
});
|
|
194
|
-
(0,
|
|
194
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(btn, {
|
|
195
195
|
textShadow: style.textShadow
|
|
196
196
|
? [
|
|
197
197
|
style.textShadowOffsetX,
|
|
@@ -203,7 +203,7 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
203
203
|
.join(' ')
|
|
204
204
|
: null
|
|
205
205
|
});
|
|
206
|
-
(0,
|
|
206
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(btn, {
|
|
207
207
|
boxShadow: style.boxShadow
|
|
208
208
|
? [
|
|
209
209
|
style.boxShadowInset ? 'inset' : '',
|
|
@@ -274,7 +274,7 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
274
274
|
result[keyEnable] = true;
|
|
275
275
|
return result;
|
|
276
276
|
};
|
|
277
|
-
Object.assign(state, (0,
|
|
277
|
+
Object.assign(state, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({ text: target.innerText, className: target.className, href: target.getAttribute('href') || '' }, extractColors()), { borderColor: (_b = style === null || style === void 0 ? void 0 : style.borderColor) !== null && _b !== void 0 ? _b : '#18ab29', borderRadius: (_c = style === null || style === void 0 ? void 0 : style.borderRadius) !== null && _c !== void 0 ? _c : 0, borderSize: (_d = style === null || style === void 0 ? void 0 : style.borderWidth) !== null && _d !== void 0 ? _d : 1 }), extractShadow([
|
|
278
278
|
'boxShadowOffsetX',
|
|
279
279
|
'boxShadowOffsetY',
|
|
280
280
|
'boxShadowBlurRadius',
|
|
@@ -298,14 +298,14 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
298
298
|
}, 'textShadow', 'textShadowColor')));
|
|
299
299
|
};
|
|
300
300
|
var UIGButton_1;
|
|
301
|
-
(0,
|
|
302
|
-
(0,
|
|
301
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
302
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('style')
|
|
303
303
|
], UIGButton.prototype, "__updateStyles", null);
|
|
304
|
-
UIGButton = UIGButton_1 = (0,
|
|
305
|
-
|
|
304
|
+
UIGButton = UIGButton_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
305
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
306
306
|
], UIGButton);
|
|
307
307
|
return UIGButton;
|
|
308
|
-
}(
|
|
308
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D$));
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
|
|
@@ -318,12 +318,12 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
318
318
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319
319
|
/* harmony export */ m: function() { return /* binding */ UIPreviewButtonGenerator; }
|
|
320
320
|
/* harmony export */ });
|
|
321
|
-
/* harmony import */ var
|
|
322
|
-
/* harmony import */ var
|
|
323
|
-
/* harmony import */ var
|
|
324
|
-
/* harmony import */ var
|
|
325
|
-
/* harmony import */ var
|
|
326
|
-
/* harmony import */ var
|
|
321
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
322
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
323
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
324
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
325
|
+
/* harmony import */ var jodit_pro_plugins_button_generator_ui_button_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14705);
|
|
326
|
+
/* harmony import */ var jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5693);
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
|
|
@@ -332,13 +332,13 @@ var UIGButton = /** @class */ (function (_super) {
|
|
|
332
332
|
|
|
333
333
|
|
|
334
334
|
var UIPreviewButtonGenerator = /** @class */ (function (_super) {
|
|
335
|
-
(0,
|
|
335
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIPreviewButtonGenerator, _super);
|
|
336
336
|
/** @override */
|
|
337
337
|
function UIPreviewButtonGenerator(jodit, state, updateState) {
|
|
338
338
|
var _this = _super.call(this, jodit) || this;
|
|
339
339
|
_this.state = state;
|
|
340
340
|
_this.updateState = updateState;
|
|
341
|
-
_this.button = new
|
|
341
|
+
_this.button = new jodit_pro_plugins_button_generator_ui_button_button__WEBPACK_IMPORTED_MODULE_4__/* .UIGButton */ .c(_this.j, _this.state);
|
|
342
342
|
_this.lockUpdate = false;
|
|
343
343
|
_this.colors = [
|
|
344
344
|
'bgStart',
|
|
@@ -349,7 +349,7 @@ var UIPreviewButtonGenerator = /** @class */ (function (_super) {
|
|
|
349
349
|
'textShadowColor',
|
|
350
350
|
'previewBgColor'
|
|
351
351
|
].map(function (key) {
|
|
352
|
-
return new
|
|
352
|
+
return new jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_5__/* .ColorInput */ .A(_this.j, {
|
|
353
353
|
name: key,
|
|
354
354
|
onChange: function (value) {
|
|
355
355
|
if (!_this.lockUpdate) {
|
|
@@ -392,11 +392,11 @@ var UIPreviewButtonGenerator = /** @class */ (function (_super) {
|
|
|
392
392
|
});
|
|
393
393
|
this.lockUpdate = false;
|
|
394
394
|
};
|
|
395
|
-
UIPreviewButtonGenerator = (0,
|
|
396
|
-
|
|
395
|
+
UIPreviewButtonGenerator = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
396
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
397
397
|
], UIPreviewButtonGenerator);
|
|
398
398
|
return UIPreviewButtonGenerator;
|
|
399
|
-
}(
|
|
399
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D$));
|
|
400
400
|
|
|
401
401
|
|
|
402
402
|
|
|
@@ -424,14 +424,14 @@ module.exports = /*#__PURE__*/JSON.parse('[{"be":"#5cbf2a","bs":"#44c767","bc":"
|
|
|
424
424
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
425
425
|
/* harmony export */ W: function() { return /* binding */ UIButtonGenerator; }
|
|
426
426
|
/* harmony export */ });
|
|
427
|
-
/* harmony import */ var
|
|
428
|
-
/* harmony import */ var
|
|
429
|
-
/* harmony import */ var
|
|
430
|
-
/* harmony import */ var
|
|
431
|
-
/* harmony import */ var
|
|
432
|
-
/* harmony import */ var
|
|
433
|
-
/* harmony import */ var
|
|
434
|
-
/* harmony import */ var
|
|
427
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
428
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
429
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
430
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
431
|
+
/* harmony import */ var jodit_pro_plugins_button_generator_assets_styles_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43039);
|
|
432
|
+
/* harmony import */ var jodit_pro_plugins_button_generator_ui_button_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14705);
|
|
433
|
+
/* harmony import */ var jodit_pro_plugins_button_generator_ui_form_form__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(84117);
|
|
434
|
+
/* harmony import */ var jodit_pro_plugins_button_generator_ui_preview_preview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28323);
|
|
435
435
|
/*!
|
|
436
436
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
437
437
|
* See LICENSE.md in the project root for license information.
|
|
@@ -447,7 +447,7 @@ module.exports = /*#__PURE__*/JSON.parse('[{"be":"#5cbf2a","bs":"#44c767","bc":"
|
|
|
447
447
|
|
|
448
448
|
|
|
449
449
|
var UIButtonGenerator = /** @class */ (function (_super) {
|
|
450
|
-
(0,
|
|
450
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIButtonGenerator, _super);
|
|
451
451
|
function UIButtonGenerator(jodit) {
|
|
452
452
|
var _this = _super.call(this, jodit) || this;
|
|
453
453
|
_this.state = {
|
|
@@ -482,8 +482,8 @@ var UIButtonGenerator = /** @class */ (function (_super) {
|
|
|
482
482
|
textShadowOffsetX: 0,
|
|
483
483
|
textShadowOffsetY: 1
|
|
484
484
|
};
|
|
485
|
-
_this.preview = new
|
|
486
|
-
_this.form = new
|
|
485
|
+
_this.preview = new jodit_pro_plugins_button_generator_ui_preview_preview__WEBPACK_IMPORTED_MODULE_7__/* .UIPreviewButtonGenerator */ .m(_this.j, _this.state, _this.updateState);
|
|
486
|
+
_this.form = new jodit_pro_plugins_button_generator_ui_form_form__WEBPACK_IMPORTED_MODULE_6__/* .UIFormButtonGenerator */ .A(_this.j, _this.state, _this.updateState);
|
|
487
487
|
_this.generateLibrary();
|
|
488
488
|
var preview = _this.getElm('preview');
|
|
489
489
|
void 0;
|
|
@@ -503,9 +503,9 @@ var UIButtonGenerator = /** @class */ (function (_super) {
|
|
|
503
503
|
};
|
|
504
504
|
UIButtonGenerator.prototype.generateLibrary = function () {
|
|
505
505
|
var _this = this;
|
|
506
|
-
var group = new
|
|
507
|
-
|
|
508
|
-
var button = new
|
|
506
|
+
var group = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIGroup */ .Ue(this.j);
|
|
507
|
+
jodit_pro_plugins_button_generator_assets_styles_json__WEBPACK_IMPORTED_MODULE_4__.map(UIButtonGenerator_1.mapKey).forEach(function (style) {
|
|
508
|
+
var button = new jodit_pro_plugins_button_generator_ui_button_button__WEBPACK_IMPORTED_MODULE_5__/* .UIGButton */ .c(_this.j, style);
|
|
509
509
|
button.setMod('mode', 'library');
|
|
510
510
|
group.append(button);
|
|
511
511
|
_this.j.e.on(button.container, 'click', function () {
|
|
@@ -564,14 +564,14 @@ var UIButtonGenerator = /** @class */ (function (_super) {
|
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
var UIButtonGenerator_1;
|
|
567
|
-
(0,
|
|
568
|
-
|
|
567
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
568
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
569
569
|
], UIButtonGenerator.prototype, "updateState", null);
|
|
570
|
-
UIButtonGenerator = UIButtonGenerator_1 = (0,
|
|
571
|
-
|
|
570
|
+
UIButtonGenerator = UIButtonGenerator_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
571
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
572
572
|
], UIButtonGenerator);
|
|
573
573
|
return UIButtonGenerator;
|
|
574
|
-
}(
|
|
574
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D$));
|
|
575
575
|
|
|
576
576
|
|
|
577
577
|
|
|
@@ -1906,10 +1906,10 @@ function _type_of(obj) {
|
|
|
1906
1906
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1907
1907
|
/* harmony export */ Q: function() { return /* binding */ UIRange; }
|
|
1908
1908
|
/* harmony export */ });
|
|
1909
|
-
/* harmony import */ var
|
|
1910
|
-
/* harmony import */ var
|
|
1911
|
-
/* harmony import */ var
|
|
1912
|
-
/* harmony import */ var
|
|
1909
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
1910
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
1911
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21537);
|
|
1912
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
1913
1913
|
/*!
|
|
1914
1914
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1915
1915
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1921,10 +1921,10 @@ function _type_of(obj) {
|
|
|
1921
1921
|
|
|
1922
1922
|
|
|
1923
1923
|
var UIRange = /** @class */ (function (_super) {
|
|
1924
|
-
(0,
|
|
1924
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIRange, _super);
|
|
1925
1925
|
function UIRange(jodit, options) {
|
|
1926
|
-
var _this = _super.call(this, jodit, (0,
|
|
1927
|
-
_this.state = (0,
|
|
1926
|
+
var _this = _super.call(this, jodit, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, options), { type: 'hidden' })) || this;
|
|
1927
|
+
_this.state = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS.defaultState), { min: 0, max: 100 });
|
|
1928
1928
|
_this.startValue = 0;
|
|
1929
1929
|
_this.startX = 0;
|
|
1930
1930
|
_this.width = 100;
|
|
@@ -1974,7 +1974,7 @@ var UIRange = /** @class */ (function (_super) {
|
|
|
1974
1974
|
UIRange.prototype.onChangeSelfValue = function () {
|
|
1975
1975
|
var handle = this.getElm('handle'), value = parseFloat(this.value) || 0;
|
|
1976
1976
|
void 0;
|
|
1977
|
-
(0,
|
|
1977
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(handle, {
|
|
1978
1978
|
left: ((value - this.state.min) / (this.state.max - this.state.min)) *
|
|
1979
1979
|
100 +
|
|
1980
1980
|
'%'
|
|
@@ -1987,23 +1987,23 @@ var UIRange = /** @class */ (function (_super) {
|
|
|
1987
1987
|
this.onDragEnd();
|
|
1988
1988
|
return _super.prototype.destruct.call(this);
|
|
1989
1989
|
};
|
|
1990
|
-
(0,
|
|
1991
|
-
(0,
|
|
1990
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1991
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['handle:mousedown', 'handle:touchstart'])
|
|
1992
1992
|
], UIRange.prototype, "onDragStart", null);
|
|
1993
|
-
(0,
|
|
1994
|
-
|
|
1993
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1994
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
1995
1995
|
], UIRange.prototype, "onDrag", null);
|
|
1996
|
-
(0,
|
|
1997
|
-
(0,
|
|
1996
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1997
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['j.ow:mouseup', 'j.ow:touchend'])
|
|
1998
1998
|
], UIRange.prototype, "onDragEnd", null);
|
|
1999
|
-
(0,
|
|
2000
|
-
(0,
|
|
1999
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2000
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
2001
2001
|
], UIRange.prototype, "onChangeSelfValue", null);
|
|
2002
|
-
UIRange = (0,
|
|
2003
|
-
|
|
2002
|
+
UIRange = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2003
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2004
2004
|
], UIRange);
|
|
2005
2005
|
return UIRange;
|
|
2006
|
-
}(
|
|
2006
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS));
|
|
2007
2007
|
|
|
2008
2008
|
|
|
2009
2009
|
|
|
@@ -2053,12 +2053,12 @@ if ((0,jodit_esm_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_2__/* .i
|
|
|
2053
2053
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2054
2054
|
/* harmony export */ A: function() { return /* binding */ UIFormButtonGenerator; }
|
|
2055
2055
|
/* harmony export */ });
|
|
2056
|
-
/* harmony import */ var
|
|
2057
|
-
/* harmony import */ var
|
|
2058
|
-
/* harmony import */ var
|
|
2059
|
-
/* harmony import */ var
|
|
2060
|
-
/* harmony import */ var
|
|
2061
|
-
/* harmony import */ var
|
|
2056
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2057
|
+
/* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
|
|
2058
|
+
/* harmony import */ var jodit_esm_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4510);
|
|
2059
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38837);
|
|
2060
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67510);
|
|
2061
|
+
/* harmony import */ var jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(57066);
|
|
2062
2062
|
|
|
2063
2063
|
|
|
2064
2064
|
|
|
@@ -2067,7 +2067,7 @@ if ((0,jodit_esm_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_2__/* .i
|
|
|
2067
2067
|
|
|
2068
2068
|
|
|
2069
2069
|
var UIFormButtonGenerator = /** @class */ (function (_super) {
|
|
2070
|
-
(0,
|
|
2070
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIFormButtonGenerator, _super);
|
|
2071
2071
|
/** @override */
|
|
2072
2072
|
function UIFormButtonGenerator(jodit, state, updateState) {
|
|
2073
2073
|
var _this = _super.call(this, jodit) || this;
|
|
@@ -2085,10 +2085,10 @@ var UIFormButtonGenerator = /** @class */ (function (_super) {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
};
|
|
2087
2087
|
};
|
|
2088
|
-
(0,
|
|
2089
|
-
if (
|
|
2090
|
-
var uiInput = new
|
|
2091
|
-
options: (0,
|
|
2088
|
+
(0,jodit_esm_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__/* .toArray */ .$)(_this.container.querySelectorAll('input,select')).forEach(function (input) {
|
|
2089
|
+
if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(input, 'select')) {
|
|
2090
|
+
var uiInput = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__/* .UISelect */ .$6(_this.j, {
|
|
2091
|
+
options: (0,jodit_esm_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__/* .toArray */ .$)(input.options).map(function (opt) { return ({
|
|
2092
2092
|
text: opt.innerText,
|
|
2093
2093
|
value: opt.value
|
|
2094
2094
|
}); }),
|
|
@@ -2096,14 +2096,14 @@ var UIFormButtonGenerator = /** @class */ (function (_super) {
|
|
|
2096
2096
|
_this.updateState(input.name, value);
|
|
2097
2097
|
}
|
|
2098
2098
|
});
|
|
2099
|
-
|
|
2099
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.replace(input, uiInput.container, _this.j.create, false, true);
|
|
2100
2100
|
_this.onUpdates.push(getOnUpdate(uiInput, input));
|
|
2101
2101
|
return;
|
|
2102
2102
|
}
|
|
2103
|
-
if (
|
|
2103
|
+
if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(input, 'input')) {
|
|
2104
2104
|
switch (input.type) {
|
|
2105
2105
|
case 'range': {
|
|
2106
|
-
var uiInput = new
|
|
2106
|
+
var uiInput = new jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_5__/* .UIRange */ .Q(_this.j, {
|
|
2107
2107
|
label: input.placeholder,
|
|
2108
2108
|
name: input.name,
|
|
2109
2109
|
min: parseInt(input.min, 0) || 0,
|
|
@@ -2112,19 +2112,19 @@ var UIFormButtonGenerator = /** @class */ (function (_super) {
|
|
|
2112
2112
|
_this.updateState(input.name, parseInt(value, 10));
|
|
2113
2113
|
}
|
|
2114
2114
|
});
|
|
2115
|
-
|
|
2115
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.replace(input, uiInput.container, _this.j.create);
|
|
2116
2116
|
_this.onUpdates.push(getOnUpdate(uiInput, input));
|
|
2117
2117
|
return;
|
|
2118
2118
|
}
|
|
2119
2119
|
case 'text': {
|
|
2120
|
-
var uiInput = new
|
|
2120
|
+
var uiInput = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__/* .UIInput */ .tS(_this.j, {
|
|
2121
2121
|
placeholder: input.placeholder,
|
|
2122
2122
|
name: input.name,
|
|
2123
2123
|
onChange: function (value) {
|
|
2124
2124
|
_this.updateState(input.name, value);
|
|
2125
2125
|
}
|
|
2126
2126
|
});
|
|
2127
|
-
|
|
2127
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.replace(input, uiInput.container, _this.j.create);
|
|
2128
2128
|
_this.onUpdates.push(getOnUpdate(uiInput, input));
|
|
2129
2129
|
return;
|
|
2130
2130
|
}
|
|
@@ -2160,7 +2160,7 @@ var UIFormButtonGenerator = /** @class */ (function (_super) {
|
|
|
2160
2160
|
return "<div>\n\t\t\t<div class='&__group &__text'>\n\t\t\t\t<div class='&__title'>Text</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='text' name='text'/>\n\t\t\t\t\t\t<input type='text' name='className' placeholder='~Class name~'/>\n\t\t\t\t\t\t<input type='text' name='href' placeholder='~URL~'/>\n\t\t\t\t\t\t<select name='fontFamily'>\n \t\t\t\t\t\t\t<option value='Arial'>Arial</option>\n \t\t\t\t\t\t\t<option value='Courier New'>Courier New</option>\n \t\t\t\t\t\t\t<option value='Georgia'>Georgia</option>\n \t\t\t\t\t\t\t<option value='Impact'>Impact</option>\n \t\t\t\t\t\t\t<option value='Times New Roman'>Times New Roman</option>\n \t\t\t\t\t\t\t<option value='Trebuchet MS'>Trebuchet MS</option>\n \t\t\t\t\t\t\t<option value='Verdana'>Verdana</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' min='8' max='28' name='fontSize' placeholder='~Font Size~'/>\n\t\t\t\t\t\t<div class='&__checkboxes'>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontWeight'/> bold\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontItalic'/> italic\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__sizes'>\n\t\t\t\t<div class='&__title'>~Size~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingX' min='0' max='32' placeholder='~Vertical size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingY' min='0' max='76' placeholder='~Horizontal size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__borders'>\n\t\t\t\t<div class='&__title'>~Border~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderRadius' min='0' max='42' placeholder='~Border Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderSize' min='0' max='12' placeholder='~Border Size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Box Shadow~ <input type='checkbox' name='boxShadow'/></div>\n\t\t\t\t<div class='&__row &__box-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowSpreadRadius' min='-50' max='50' placeholder='~Spread Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Text Shadow~ <input type='checkbox' name='textShadow'/></div>\n\t\t\t\t<div class='&__row &__text-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='textShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>";
|
|
2161
2161
|
};
|
|
2162
2162
|
return UIFormButtonGenerator;
|
|
2163
|
-
}(
|
|
2163
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_4__/* .UIElement */ .D$));
|
|
2164
2164
|
|
|
2165
2165
|
|
|
2166
2166
|
|
|
@@ -2174,16 +2174,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2174
2174
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2175
2175
|
/* harmony export */ buttonGenerator: function() { return /* binding */ buttonGenerator; }
|
|
2176
2176
|
/* harmony export */ });
|
|
2177
|
-
/* harmony import */ var
|
|
2178
|
-
/* harmony import */ var
|
|
2179
|
-
/* harmony import */ var
|
|
2180
|
-
/* harmony import */ var
|
|
2181
|
-
/* harmony import */ var
|
|
2182
|
-
/* harmony import */ var
|
|
2183
|
-
/* harmony import */ var
|
|
2184
|
-
/* harmony import */ var
|
|
2185
|
-
/* harmony import */ var
|
|
2186
|
-
/* harmony import */ var
|
|
2177
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2178
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(69219);
|
|
2179
|
+
/* harmony import */ var _ui_button_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14705);
|
|
2180
|
+
/* harmony import */ var _ui_generator_button_generator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(46024);
|
|
2181
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65478);
|
|
2182
|
+
/* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2748);
|
|
2183
|
+
/* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
2184
|
+
/* harmony import */ var jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(62843);
|
|
2185
|
+
/* harmony import */ var jodit_esm_modules_dialog_dialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(78584);
|
|
2186
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34013);
|
|
2187
2187
|
|
|
2188
2188
|
|
|
2189
2189
|
|
|
@@ -2195,11 +2195,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2195
2195
|
|
|
2196
2196
|
|
|
2197
2197
|
var buttonGenerator = /** @class */ (function (_super) {
|
|
2198
|
-
(0,
|
|
2198
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(buttonGenerator, _super);
|
|
2199
2199
|
function buttonGenerator() {
|
|
2200
|
-
var _this = _super.apply(this, (0,
|
|
2200
|
+
var _this = _super.apply(this, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(arguments), false)) || this;
|
|
2201
2201
|
/** @override */
|
|
2202
|
-
_this.hasStyle = !
|
|
2202
|
+
_this.hasStyle = !jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__/* .JoditPro */ .A.fatMode;
|
|
2203
2203
|
/** @override */
|
|
2204
2204
|
_this.buttons = [
|
|
2205
2205
|
{
|
|
@@ -2218,17 +2218,17 @@ var buttonGenerator = /** @class */ (function (_super) {
|
|
|
2218
2218
|
buttonGenerator.prototype.toggleButtonGenerator = function (target) {
|
|
2219
2219
|
var _this = this;
|
|
2220
2220
|
if (!this.__dialog) {
|
|
2221
|
-
this.__dialog = new
|
|
2221
|
+
this.__dialog = new jodit_esm_modules_dialog_dialog__WEBPACK_IMPORTED_MODULE_8__/* .Dialog */ .l({
|
|
2222
2222
|
language: this.j.o.language,
|
|
2223
2223
|
theme: this.j.o.theme
|
|
2224
2224
|
});
|
|
2225
|
-
this.__ui = new
|
|
2225
|
+
this.__ui = new _ui_generator_button_generator__WEBPACK_IMPORTED_MODULE_3__/* .UIButtonGenerator */ .W(this.__dialog);
|
|
2226
2226
|
this.__dialog
|
|
2227
2227
|
.setHeader('Button Generator')
|
|
2228
2228
|
.setContent(this.__ui)
|
|
2229
2229
|
.setSize(730, 700);
|
|
2230
2230
|
}
|
|
2231
|
-
if (target && !
|
|
2231
|
+
if (target && !jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_5__/* .Dom */ .J.isTag(target, new Set(['button', 'a']))) {
|
|
2232
2232
|
target = undefined;
|
|
2233
2233
|
}
|
|
2234
2234
|
var ui = this.__ui;
|
|
@@ -2237,19 +2237,19 @@ var buttonGenerator = /** @class */ (function (_super) {
|
|
|
2237
2237
|
dlg.close();
|
|
2238
2238
|
}
|
|
2239
2239
|
else {
|
|
2240
|
-
target &&
|
|
2240
|
+
target && _ui_button_button__WEBPACK_IMPORTED_MODULE_2__/* .UIGButton */ .c.extractStyle(ui.state, target);
|
|
2241
2241
|
ui.target = target;
|
|
2242
2242
|
ui.update();
|
|
2243
2243
|
dlg.setFooter([
|
|
2244
|
-
(0,
|
|
2244
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__/* .Button */ .$n)(dlg, 'cancel', 'Cancel', 'default').onAction(function () {
|
|
2245
2245
|
return dlg.close();
|
|
2246
2246
|
}),
|
|
2247
|
-
(0,
|
|
2247
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__/* .Button */ .$n)(dlg, 'ok', target ? 'Update' : 'Insert', 'primary').onAction(function () {
|
|
2248
2248
|
if (!target) {
|
|
2249
2249
|
target = _this.j.createInside.element(ui.state.href ? 'a' : 'button');
|
|
2250
2250
|
_this.j.s.insertNode(target, true, false);
|
|
2251
2251
|
}
|
|
2252
|
-
|
|
2252
|
+
_ui_button_button__WEBPACK_IMPORTED_MODULE_2__/* .UIGButton */ .c.applyStyle(ui.state, target);
|
|
2253
2253
|
target.className = ui.state.className || '';
|
|
2254
2254
|
_this.jodit.e.fire('synchro');
|
|
2255
2255
|
dlg.close();
|
|
@@ -2261,7 +2261,7 @@ var buttonGenerator = /** @class */ (function (_super) {
|
|
|
2261
2261
|
* DBLClick handler
|
|
2262
2262
|
*/
|
|
2263
2263
|
buttonGenerator.prototype.onDblClick = function (e) {
|
|
2264
|
-
if (
|
|
2264
|
+
if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_5__/* .Dom */ .J.isTag(e.target, 'button')) {
|
|
2265
2265
|
this.toggleButtonGenerator(e.target);
|
|
2266
2266
|
}
|
|
2267
2267
|
};
|
|
@@ -2271,16 +2271,16 @@ var buttonGenerator = /** @class */ (function (_super) {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
/** @override */
|
|
2273
2273
|
buttonGenerator.requires = ['license', 'color-picker'];
|
|
2274
|
-
(0,
|
|
2275
|
-
|
|
2274
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2275
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
2276
2276
|
], buttonGenerator.prototype, "toggleButtonGenerator", null);
|
|
2277
|
-
(0,
|
|
2278
|
-
(0,
|
|
2277
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2278
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':dblclick')
|
|
2279
2279
|
], buttonGenerator.prototype, "onDblClick", null);
|
|
2280
2280
|
return buttonGenerator;
|
|
2281
|
-
}(
|
|
2281
|
+
}(jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__/* .Plugin */ .k));
|
|
2282
2282
|
|
|
2283
|
-
|
|
2283
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__/* .JoditPro */ .A.plugins.add('button-generator', buttonGenerator);
|
|
2284
2284
|
|
|
2285
2285
|
|
|
2286
2286
|
/***/ })
|