jodit-pro 4.18.9 → 4.18.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/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +13 -13
- package/es2015/jodit.js +286 -48
- package/es2015/jodit.min.js +14 -14
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +19 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- 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 +14 -7
- 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 +26 -19
- package/es2015/plugins/button-generator/button-generator.min.js +3 -3
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/chart/chart.css +1 -1
- package/es2015/plugins/chart/chart.js +1 -1
- package/es2015/plugins/chart/chart.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.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- 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 +1 -1
- 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/math/math.css +1 -1
- package/es2015/plugins/math/math.js +1 -1
- package/es2015/plugins/math/math.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.js +16 -16
- package/es2018/jodit.min.js +8 -8
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.min.js +3 -3
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/chart/chart.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.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- 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/math/math.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.js +19 -19
- package/es2021/jodit.js +286 -48
- package/es2021/jodit.min.js +8 -8
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +19 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- 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 +14 -7
- 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 +26 -19
- package/es2021/plugins/button-generator/button-generator.min.js +3 -3
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/chart/chart.css +1 -1
- package/es2021/plugins/chart/chart.js +1 -1
- package/es2021/plugins/chart/chart.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.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- 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 +1 -1
- 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/math/math.css +1 -1
- package/es2021/plugins/math/math.js +1 -1
- package/es2021/plugins/math/math.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.js +17 -17
- package/es2021.en/jodit.js +286 -48
- package/es2021.en/jodit.min.js +8 -8
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +19 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +26 -26
- 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 +14 -7
- 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 +26 -19
- package/es2021.en/plugins/button-generator/button-generator.min.js +3 -3
- 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/chart/chart.css +1 -1
- package/es2021.en/plugins/chart/chart.js +1 -1
- package/es2021.en/plugins/chart/chart.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.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- 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 +1 -1
- 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/math/math.css +1 -1
- package/es2021.en/plugins/math/math.js +1 -1
- package/es2021.en/plugins/math/math.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.js +2 -2
- package/es5/jodit.js +298 -44
- package/es5/jodit.min.css +2 -2
- 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 +19 -1
- 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 +14 -7
- 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 +26 -19
- 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/chart/chart.css +1 -1
- package/es5/plugins/chart/chart.js +1 -1
- package/es5/plugins/chart/chart.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- 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 +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/math/math.css +1 -1
- package/es5/plugins/math/math.js +1 -1
- package/es5/plugins/math/math.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- 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 +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/plugins/ai-assistant-pro/ai-assistant-pro.js +2 -2
- package/esm/plugins/ai-assistant-pro/core/panel-resize.d.ts +4 -0
- package/esm/plugins/ai-assistant-pro/core/panel-resize.js +1 -1
- package/esm/plugins/backup/ui/item.js +1 -1
- package/esm/plugins/button-generator/ui/form/form.js +2 -2
- package/package.json +1 -1
- package/types/plugins/ai-assistant-pro/core/panel-resize.d.ts +4 -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.18.
|
|
4
|
+
* Version: v4.18.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -529,8 +529,10 @@ UIBackupBox = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorat
|
|
|
529
529
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67709);
|
|
530
530
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82749);
|
|
531
531
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18766);
|
|
532
|
-
/* harmony import */ var
|
|
533
|
-
/* harmony import */ var
|
|
532
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
533
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(87325);
|
|
534
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21537);
|
|
535
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(67510);
|
|
534
536
|
/*!
|
|
535
537
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
536
538
|
* See LICENSE.md in the project root for license information.
|
|
@@ -543,6 +545,8 @@ UIBackupBox = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorat
|
|
|
543
545
|
|
|
544
546
|
|
|
545
547
|
|
|
548
|
+
|
|
549
|
+
|
|
546
550
|
var UIBackupItem = /*#__PURE__*/ function(UIElement) {
|
|
547
551
|
"use strict";
|
|
548
552
|
(0,_swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__._)(UIBackupItem, UIElement);
|
|
@@ -553,7 +557,7 @@ var UIBackupItem = /*#__PURE__*/ function(UIElement) {
|
|
|
553
557
|
jodit
|
|
554
558
|
]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "data", void 0), _this.data = data;
|
|
555
559
|
_this.container.innerHTML = _this.formatDate(data.created);
|
|
556
|
-
(0,
|
|
560
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_7__.attr)(_this.container, 'tabIndex', 0);
|
|
557
561
|
return _this;
|
|
558
562
|
}
|
|
559
563
|
;(0,_swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__._)(UIBackupItem, [
|
|
@@ -567,8 +571,8 @@ var UIBackupItem = /*#__PURE__*/ function(UIElement) {
|
|
|
567
571
|
key: "formatDate",
|
|
568
572
|
value: function formatDate(timestamp) {
|
|
569
573
|
var now = new Date();
|
|
570
|
-
var date = (0,
|
|
571
|
-
if ((0,
|
|
574
|
+
var date = (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_7__.isString)(timestamp) ? new Date(timestamp) : timestamp, diff = (now.getTime() - date.getTime()) / 1000;
|
|
575
|
+
if ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_7__.isFunction)(this.j.o.backup.formatDate)) {
|
|
572
576
|
return this.j.o.backup.formatDate(date);
|
|
573
577
|
}
|
|
574
578
|
if (diff < 0.2) {
|
|
@@ -594,7 +598,10 @@ var UIBackupItem = /*#__PURE__*/ function(UIElement) {
|
|
|
594
598
|
}
|
|
595
599
|
]);
|
|
596
600
|
return UIBackupItem;
|
|
597
|
-
}(
|
|
601
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_8__.UIElement);
|
|
602
|
+
UIBackupItem = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
603
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__.component
|
|
604
|
+
], UIBackupItem);
|
|
598
605
|
|
|
599
606
|
|
|
600
607
|
/***/ }),
|
|
@@ -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.18.
|
|
4
|
+
* Version: v4.18.12
|
|
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='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M3 4v6h6M3 10l4-4a8 8 0 1 1-1 12M12 8v5l3 2"/> </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),
|
|
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='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M3 4v6h6M3 10l4-4a8 8 0 1 1-1 12M12 8v5l3 2"/> </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),c=n(82749),s=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,c._)(t,"hasStyle",!m.JoditPro.fatMode),(0,c._)(t,"buttons",[{name:"backup.restore",group:"history"}]),(0,c._)(t,"__box",new p.UIBackupBox(t.j)),(0,c._)(t,"__dialog",null),(0,c._)(t,"__storage",null!=(n=t.jodit.o.backup.remoteStore)?n:new f.DefaultStorage(t.jodit)),(0,c._)(t,"timeout",0),t}return(0,s._)(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,c._)(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),c=n(580),s=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")}}},s.Icon.set("restore",i()),(0,c.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 s}});var o=n(77688),i=n(20616),a=n(67709),r=n(82749),c=n(62361),s=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,c._)(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),c=n(54816),s=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,c._)((0,s._)(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 h}});var o=n(80294),i=n(20616),a=n(67709),r=n(82749),c=n(18766),s=n(31635),u=n(87325),l=n(21537),h=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,l.attr)(a.container,"tabIndex",0),a}return(0,c._)(e,t),(0,a._)(e,[{key:"className",value:function(){return"UIBackupItem"}},{key:"formatDate",value:function(t){var e=new Date,n=(0,l.isString)(t)?new Date(t):t,o=(e.getTime()-n.getTime())/1e3;return(0,l.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);h=(0,s.__decorate)([u.component],h)},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),c=n(54816),s=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,c._)((0,s._)(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(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.18.
|
|
4
|
+
* Version: v4.18.12
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1941,11 +1941,13 @@ UIGButton = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)
|
|
|
1941
1941
|
/* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67709);
|
|
1942
1942
|
/* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82749);
|
|
1943
1943
|
/* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18766);
|
|
1944
|
-
/* harmony import */ var
|
|
1945
|
-
/* harmony import */ var
|
|
1946
|
-
/* harmony import */ var
|
|
1947
|
-
/* harmony import */ var
|
|
1948
|
-
/* harmony import */ var
|
|
1944
|
+
/* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31635);
|
|
1945
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(87325);
|
|
1946
|
+
/* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2748);
|
|
1947
|
+
/* harmony import */ var jodit_esm_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4510);
|
|
1948
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38837);
|
|
1949
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67510);
|
|
1950
|
+
/* harmony import */ var jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(62357);
|
|
1949
1951
|
/*!
|
|
1950
1952
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1951
1953
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1961,6 +1963,8 @@ UIGButton = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)
|
|
|
1961
1963
|
|
|
1962
1964
|
|
|
1963
1965
|
|
|
1966
|
+
|
|
1967
|
+
|
|
1964
1968
|
var UIFormButtonGenerator = /*#__PURE__*/ function(UIElement) {
|
|
1965
1969
|
"use strict";
|
|
1966
1970
|
(0,_swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__._)(UIFormButtonGenerator, UIElement);
|
|
@@ -1981,10 +1985,10 @@ var UIFormButtonGenerator = /*#__PURE__*/ function(UIElement) {
|
|
|
1981
1985
|
}
|
|
1982
1986
|
};
|
|
1983
1987
|
};
|
|
1984
|
-
(0,
|
|
1985
|
-
if (
|
|
1986
|
-
var uiInput = new
|
|
1987
|
-
options: (0,
|
|
1988
|
+
(0,jodit_esm_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_8__.toArray)(_this.container.querySelectorAll('input,select')).forEach(function(input) {
|
|
1989
|
+
if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(input, 'select')) {
|
|
1990
|
+
var uiInput = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_10__.UISelect(_this.j, {
|
|
1991
|
+
options: (0,jodit_esm_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_8__.toArray)(input.options).map(function(opt) {
|
|
1988
1992
|
return {
|
|
1989
1993
|
text: opt.innerText,
|
|
1990
1994
|
value: opt.value
|
|
@@ -1994,15 +1998,15 @@ var UIFormButtonGenerator = /*#__PURE__*/ function(UIElement) {
|
|
|
1994
1998
|
_this.updateState(input.name, value);
|
|
1995
1999
|
}
|
|
1996
2000
|
});
|
|
1997
|
-
|
|
2001
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_7__.Dom.replace(input, uiInput.container, _this.j.create, false, true);
|
|
1998
2002
|
_this.onUpdates.push(getOnUpdate(uiInput, input));
|
|
1999
2003
|
return;
|
|
2000
2004
|
}
|
|
2001
|
-
if (
|
|
2005
|
+
if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(input, 'input')) {
|
|
2002
2006
|
switch(input.type){
|
|
2003
2007
|
case 'range':
|
|
2004
2008
|
{
|
|
2005
|
-
var uiInput1 = new
|
|
2009
|
+
var uiInput1 = new jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_11__.UIRange(_this.j, {
|
|
2006
2010
|
label: input.placeholder,
|
|
2007
2011
|
name: input.name,
|
|
2008
2012
|
min: parseInt(input.min, 0) || 0,
|
|
@@ -2011,20 +2015,20 @@ var UIFormButtonGenerator = /*#__PURE__*/ function(UIElement) {
|
|
|
2011
2015
|
_this.updateState(input.name, parseInt(value, 10));
|
|
2012
2016
|
}
|
|
2013
2017
|
});
|
|
2014
|
-
|
|
2018
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_7__.Dom.replace(input, uiInput1.container, _this.j.create);
|
|
2015
2019
|
_this.onUpdates.push(getOnUpdate(uiInput1, input));
|
|
2016
2020
|
return;
|
|
2017
2021
|
}
|
|
2018
2022
|
case 'text':
|
|
2019
2023
|
{
|
|
2020
|
-
var uiInput2 = new
|
|
2024
|
+
var uiInput2 = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_10__.UIInput(_this.j, {
|
|
2021
2025
|
placeholder: input.placeholder,
|
|
2022
2026
|
name: input.name,
|
|
2023
2027
|
onChange: function onChange(value) {
|
|
2024
2028
|
_this.updateState(input.name, value);
|
|
2025
2029
|
}
|
|
2026
2030
|
});
|
|
2027
|
-
|
|
2031
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_7__.Dom.replace(input, uiInput2.container, _this.j.create);
|
|
2028
2032
|
_this.onUpdates.push(getOnUpdate(uiInput2, input));
|
|
2029
2033
|
return;
|
|
2030
2034
|
}
|
|
@@ -2056,9 +2060,9 @@ var UIFormButtonGenerator = /*#__PURE__*/ function(UIElement) {
|
|
|
2056
2060
|
return cb();
|
|
2057
2061
|
});
|
|
2058
2062
|
var boxShadow = this.getElm('box-shadow');
|
|
2059
|
-
(0,
|
|
2063
|
+
(0,jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_9__.assert)(boxShadow != null, 'box-shadow does not exists');
|
|
2060
2064
|
var textShadow = this.getElm('text-shadow');
|
|
2061
|
-
(0,
|
|
2065
|
+
(0,jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_9__.assert)(textShadow != null, 'text-shadow does not exists');
|
|
2062
2066
|
boxShadow.style.display = this.state.boxShadow ? '' : 'none';
|
|
2063
2067
|
textShadow.style.display = this.state.textShadow ? '' : 'none';
|
|
2064
2068
|
}
|
|
@@ -2071,7 +2075,10 @@ var UIFormButtonGenerator = /*#__PURE__*/ function(UIElement) {
|
|
|
2071
2075
|
}
|
|
2072
2076
|
]);
|
|
2073
2077
|
return UIFormButtonGenerator;
|
|
2074
|
-
}(
|
|
2078
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_10__.UIElement);
|
|
2079
|
+
UIFormButtonGenerator = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
|
|
2080
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_6__.component
|
|
2081
|
+
], UIFormButtonGenerator);
|
|
2075
2082
|
|
|
2076
2083
|
|
|
2077
2084
|
/***/ }),
|