jodit-pro 2.0.0-beta.12 → 2.0.0-beta.21
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 +19 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2121 -105
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +2 -448
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +24 -19
- 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 +55 -46
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +10 -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 +10 -8
- 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 +20 -15
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +9 -6
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +6 -6
- package/es2015/plugins/finder/finder.js +215 -199
- package/es2015/plugins/finder/finder.min.css +1 -1
- 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 +149 -116
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +7 -4
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +9 -9
- 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 +17 -14
- 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 +36 -19
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +13 -10
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +9 -6
- 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 +9 -6
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +2 -1516
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +15 -10
- 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 +7 -4
- 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 +16 -10
- 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 +3 -3
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +19 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2119 -105
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +2 -446
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +24 -19
- 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 +55 -46
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +10 -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 +10 -8
- 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 +20 -15
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +9 -6
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +6 -6
- package/es2018/plugins/finder/finder.js +214 -198
- package/es2018/plugins/finder/finder.min.css +1 -1
- 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 +131 -98
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +7 -4
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +9 -9
- 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 +17 -14
- 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 +36 -19
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +13 -10
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +9 -6
- 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 +9 -6
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +2 -1516
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +15 -10
- 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 +7 -4
- 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 +16 -10
- 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 +3 -3
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +19 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2098 -104
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +2 -438
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +24 -19
- 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 +55 -46
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +10 -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 +10 -8
- 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 +20 -15
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +9 -6
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +6 -6
- package/es2021/plugins/finder/finder.js +214 -198
- package/es2021/plugins/finder/finder.min.css +1 -1
- 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 +131 -98
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +7 -4
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +9 -9
- 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 +17 -14
- 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 +36 -19
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +13 -10
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +9 -6
- 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 +9 -6
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +2 -1503
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +15 -10
- 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 +7 -4
- 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 +16 -10
- 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 +3 -3
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +19 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2098 -104
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +2 -438
- 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 +24 -19
- 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 +55 -46
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +10 -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 +10 -8
- 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 +20 -15
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +9 -6
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +6 -6
- package/es2021.en/plugins/finder/finder.js +214 -198
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- 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 +131 -98
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +7 -4
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +9 -9
- 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 +17 -14
- 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 +36 -19
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +13 -10
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +9 -6
- 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 +9 -6
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +2 -1503
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +15 -10
- 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 +7 -4
- 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 +16 -10
- 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 +3 -3
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +30 -51
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2320 -108
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +2 -511
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +26 -21
- 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 +59 -50
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +10 -7
- 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 +11 -9
- 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 +20 -15
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +9 -6
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +6 -6
- package/es5/plugins/finder/finder.js +238 -222
- package/es5/plugins/finder/finder.min.css +1 -1
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +164 -131
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +9 -6
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +9 -9
- 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 +18 -15
- 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 +37 -20
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +13 -10
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +9 -6
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +9 -6
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +2 -1645
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +16 -11
- 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 +7 -4
- 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 +17 -11
- 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 +3 -3
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/config.d.ts +11 -0
- package/esm/config.js +6 -0
- package/esm/core/ui/form/range/range.d.ts +23 -0
- package/esm/core/ui/form/range/range.js +6 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.js +6 -0
- package/esm/jodit-pro.d.ts +14 -0
- package/esm/jodit-pro.js +6 -0
- package/esm/plugins/autocomplete/autocomplete.d.ts +40 -0
- package/esm/plugins/autocomplete/autocomplete.js +6 -0
- package/esm/plugins/autocomplete/helpers.d.ts +25 -0
- package/esm/plugins/autocomplete/helpers.js +6 -0
- package/esm/plugins/autocomplete/interface.d.ts +19 -0
- package/esm/plugins/autocomplete/interface.js +6 -0
- package/esm/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
- package/esm/plugins/autocomplete/ui/autocomplete.js +6 -0
- package/esm/plugins/autocomplete/ui/item.d.ts +14 -0
- package/esm/plugins/autocomplete/ui/item.js +6 -0
- package/esm/plugins/backup/assets/restore.svg.js +1 -0
- package/esm/plugins/backup/backup.d.ts +29 -0
- package/esm/plugins/backup/backup.js +6 -0
- package/esm/plugins/backup/config.d.ts +18 -0
- package/esm/plugins/backup/config.js +6 -0
- package/esm/plugins/backup/interface.d.ts +14 -0
- package/esm/plugins/backup/interface.js +6 -0
- package/esm/plugins/backup/langs/index.d.ts +6 -0
- package/esm/plugins/backup/langs/index.js +6 -0
- package/esm/plugins/backup/modules/store.d.ts +15 -0
- package/esm/plugins/backup/modules/store.js +6 -0
- package/esm/plugins/backup/ui/box.d.ts +29 -0
- package/esm/plugins/backup/ui/box.js +6 -0
- package/esm/plugins/backup/ui/item.d.ts +17 -0
- package/esm/plugins/backup/ui/item.js +6 -0
- package/esm/plugins/backup/ui/list.d.ts +24 -0
- package/esm/plugins/backup/ui/list.js +6 -0
- package/esm/plugins/button-generator/assets/check.svg.js +1 -0
- package/esm/plugins/button-generator/assets/styles.json +1162 -0
- package/esm/plugins/button-generator/assets/styles.json.js +1 -0
- package/esm/plugins/button-generator/button-generator.d.ts +25 -0
- package/esm/plugins/button-generator/button-generator.js +1 -0
- package/esm/plugins/button-generator/config.d.ts +6 -0
- package/esm/plugins/button-generator/config.js +6 -0
- package/esm/plugins/button-generator/icon.svg.js +1 -0
- package/esm/plugins/button-generator/ui/button/button.d.ts +21 -0
- package/esm/plugins/button-generator/ui/button/button.js +7 -0
- package/esm/plugins/button-generator/ui/form/form.d.ts +20 -0
- package/esm/plugins/button-generator/ui/form/form.js +6 -0
- package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
- package/esm/plugins/button-generator/ui/generator/button-generator.js +6 -0
- package/esm/plugins/button-generator/ui/preview/preview.d.ts +22 -0
- package/esm/plugins/button-generator/ui/preview/preview.js +6 -0
- package/esm/plugins/change-case/change-case.d.ts +22 -0
- package/esm/plugins/change-case/change-case.js +6 -0
- package/esm/plugins/change-case/config.d.ts +6 -0
- package/esm/plugins/change-case/config.js +6 -0
- package/esm/plugins/change-case/icon.svg.js +1 -0
- package/esm/plugins/color-picker/color-picker.d.ts +18 -0
- package/esm/plugins/color-picker/color-picker.js +6 -0
- package/esm/plugins/color-picker/ui/input/color-input.d.ts +19 -0
- package/esm/plugins/color-picker/ui/input/color-input.js +6 -0
- package/esm/plugins/emoji/config.d.ts +10 -0
- package/esm/plugins/emoji/config.js +1 -0
- package/esm/plugins/emoji/emoji.d.ts +22 -0
- package/esm/plugins/emoji/emoji.js +6 -0
- package/esm/plugins/emoji/emoji.json +5667 -0
- package/esm/plugins/emoji/emoji.json.js +1 -0
- package/esm/plugins/emoji/emoji.svg.js +1 -0
- package/esm/plugins/emoji/interface.d.ts +24 -0
- package/esm/plugins/emoji/interface.js +6 -0
- package/esm/plugins/emoji/ui/emoji.d.ts +54 -0
- package/esm/plugins/emoji/ui/emoji.js +6 -0
- package/esm/plugins/export-docs/assets/export.svg.js +1 -0
- package/esm/plugins/export-docs/config.d.ts +21 -0
- package/esm/plugins/export-docs/config.js +6 -0
- package/esm/plugins/export-docs/export-docs.d.ts +18 -0
- package/esm/plugins/export-docs/export-docs.js +6 -0
- package/esm/plugins/finder/browser.d.ts +70 -0
- package/esm/plugins/finder/browser.js +6 -0
- package/esm/plugins/finder/config.d.ts +6 -0
- package/esm/plugins/finder/config.js +6 -0
- package/esm/plugins/finder/finder.d.ts +19 -0
- package/esm/plugins/finder/finder.js +6 -0
- package/esm/plugins/finder/helpers/context-menu.d.ts +19 -0
- package/esm/plugins/finder/helpers/context-menu.js +6 -0
- package/esm/plugins/finder/helpers/helpers.d.ts +6 -0
- package/esm/plugins/finder/helpers/helpers.js +6 -0
- package/esm/plugins/finder/helpers/history-manager.d.ts +24 -0
- package/esm/plugins/finder/helpers/history-manager.js +6 -0
- package/esm/plugins/finder/helpers/loading-manager.d.ts +25 -0
- package/esm/plugins/finder/helpers/loading-manager.js +6 -0
- package/esm/plugins/finder/helpers/persistent-store.d.ts +32 -0
- package/esm/plugins/finder/helpers/persistent-store.js +6 -0
- package/esm/plugins/finder/helpers/state-manager.d.ts +21 -0
- package/esm/plugins/finder/helpers/state-manager.js +6 -0
- package/esm/plugins/finder/langs/index.d.ts +7 -0
- package/esm/plugins/finder/langs/ru.d.ts +22 -0
- package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -0
- package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -0
- package/esm/plugins/finder/ui/assets/icons/index.d.ts +1 -0
- package/esm/plugins/finder/ui/assets/icons/index.js +6 -0
- package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -0
- package/esm/plugins/finder/ui/folder/folder.d.ts +18 -0
- package/esm/plugins/finder/ui/folder/folder.js +6 -0
- package/esm/plugins/finder/ui/header/header.d.ts +21 -0
- package/esm/plugins/finder/ui/header/header.js +6 -0
- package/esm/plugins/finder/ui/item/item.d.ts +24 -0
- package/esm/plugins/finder/ui/item/item.js +6 -0
- package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
- package/esm/plugins/finder/ui/lightboox/lightbox.js +6 -0
- package/esm/plugins/finder/ui/panel/panel.d.ts +60 -0
- package/esm/plugins/finder/ui/panel/panel.js +6 -0
- package/esm/plugins/finder/ui/preview/preview.d.ts +25 -0
- package/esm/plugins/finder/ui/preview/preview.js +6 -0
- package/esm/plugins/finder/ui/progress/progress.d.ts +19 -0
- package/esm/plugins/finder/ui/progress/progress.js +6 -0
- package/esm/plugins/finder/ui/settings/settings.d.ts +25 -0
- package/esm/plugins/finder/ui/settings/settings.js +6 -0
- package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
- package/esm/plugins/finder/ui/sidebar/sidebar.js +6 -0
- package/esm/plugins/finder/ui/source/source.d.ts +19 -0
- package/esm/plugins/finder/ui/source/source.js +6 -0
- package/esm/plugins/finder/ui/sources/sources.d.ts +15 -0
- package/esm/plugins/finder/ui/sources/sources.js +6 -0
- package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
- package/esm/plugins/finder/ui/statusbar/statusbar.js +6 -0
- package/esm/plugins/finder/ui/tree/tree.d.ts +16 -0
- package/esm/plugins/finder/ui/tree/tree.js +6 -0
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +6 -0
- package/esm/plugins/google-maps/assets/circle.svg.js +1 -0
- package/esm/plugins/google-maps/assets/hand.svg.js +1 -0
- package/esm/plugins/google-maps/assets/icon.svg.js +1 -0
- package/esm/plugins/google-maps/assets/index.d.ts +6 -0
- package/esm/plugins/google-maps/assets/index.js +6 -0
- package/esm/plugins/google-maps/assets/marker.svg.js +1 -0
- package/esm/plugins/google-maps/assets/polygon.svg.js +1 -0
- package/esm/plugins/google-maps/assets/polyline.svg.js +1 -0
- package/esm/plugins/google-maps/assets/text.svg.js +1 -0
- package/esm/plugins/google-maps/config.d.ts +45 -0
- package/esm/plugins/google-maps/config.js +6 -0
- package/esm/plugins/google-maps/google-maps.d.ts +29 -0
- package/esm/plugins/google-maps/google-maps.js +6 -0
- package/esm/plugins/google-maps/helpers/const.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/const.js +6 -0
- package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
- package/esm/plugins/google-maps/helpers/generate-js-script.js +1 -0
- package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +6 -0
- package/esm/plugins/google-maps/helpers/helpers.d.ts +14 -0
- package/esm/plugins/google-maps/helpers/helpers.js +6 -0
- package/esm/plugins/google-maps/helpers/static-url.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/static-url.js +6 -0
- package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +6 -0
- package/esm/plugins/google-maps/ui/editors/base.d.ts +15 -0
- package/esm/plugins/google-maps/ui/editors/base.js +6 -0
- package/esm/plugins/google-maps/ui/editors/index.d.ts +8 -0
- package/esm/plugins/google-maps/ui/editors/index.js +6 -0
- package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +6 -0
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +6 -0
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +6 -0
- package/esm/plugins/google-maps/ui/index.d.ts +10 -0
- package/esm/plugins/google-maps/ui/index.js +6 -0
- package/esm/plugins/google-maps/ui/map/map.d.ts +39 -0
- package/esm/plugins/google-maps/ui/map/map.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
- package/esm/plugins/google-maps/ui/map/modules/index.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/remove-element.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +6 -0
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +6 -0
- package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
- package/esm/plugins/google-maps/ui/maps-props/maps-props.js +6 -0
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +6 -0
- package/esm/plugins/google-search/google-search.d.ts +17 -0
- package/esm/plugins/google-search/google-search.js +6 -0
- package/esm/plugins/google-search/icon.svg.js +1 -0
- package/esm/plugins/highlight-signature/highlight-signature.d.ts +54 -0
- package/esm/plugins/highlight-signature/highlight-signature.js +6 -0
- package/esm/plugins/iframe-editor/config.d.ts +6 -0
- package/esm/plugins/iframe-editor/config.js +6 -0
- package/esm/plugins/iframe-editor/icon.svg.js +1 -0
- package/esm/plugins/iframe-editor/iframe-editor.d.ts +22 -0
- package/esm/plugins/iframe-editor/iframe-editor.js +6 -0
- package/esm/plugins/iframe-editor/interface.d.ts +15 -0
- package/esm/plugins/iframe-editor/interface.js +6 -0
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +6 -0
- package/esm/plugins/index.d.ts +8 -0
- package/esm/plugins/index.js +6 -0
- package/esm/plugins/keyboard/config.d.ts +23 -0
- package/esm/plugins/keyboard/config.js +1 -0
- package/esm/plugins/keyboard/icon.svg.js +1 -0
- package/esm/plugins/keyboard/interface.d.ts +13 -0
- package/esm/plugins/keyboard/interface.js +6 -0
- package/esm/plugins/keyboard/keyboard.d.ts +27 -0
- package/esm/plugins/keyboard/keyboard.js +1 -0
- package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -0
- package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +6 -0
- package/esm/plugins/license/helpers/helpers.d.ts +14 -0
- package/esm/plugins/license/helpers/helpers.js +7 -0
- package/esm/plugins/license/license.d.ts +16 -0
- package/esm/plugins/license/license.js +6 -0
- package/esm/plugins/mobile-view/config.d.ts +14 -0
- package/esm/plugins/mobile-view/config.js +6 -0
- package/esm/plugins/mobile-view/icon.svg.js +1 -0
- package/esm/plugins/mobile-view/mobile-view.d.ts +6 -0
- package/esm/plugins/mobile-view/mobile-view.js +6 -0
- package/esm/plugins/page-break/assets/page-break.svg.js +1 -0
- package/esm/plugins/page-break/config.d.ts +13 -0
- package/esm/plugins/page-break/config.js +6 -0
- package/esm/plugins/page-break/page-break.css.d.ts +2 -0
- package/esm/plugins/page-break/page-break.css.js +6 -0
- package/esm/plugins/page-break/page-break.d.ts +23 -0
- package/esm/plugins/page-break/page-break.js +6 -0
- package/esm/plugins/paste-code/config.d.ts +36 -0
- package/esm/plugins/paste-code/config.js +6 -0
- package/esm/plugins/paste-code/icon.svg.js +1 -0
- package/esm/plugins/paste-code/paste-code.d.ts +30 -0
- package/esm/plugins/paste-code/paste-code.js +6 -0
- package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clean-styles.js +6 -0
- package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clear-attributes.js +6 -0
- package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clear-class-name.js +6 -0
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +6 -0
- package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +6 -0
- package/esm/plugins/paste-from-word/cases/index.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/index.js +6 -0
- package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/mark-page-break.js +6 -0
- package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/normalize-image-props.js +6 -0
- package/esm/plugins/paste-from-word/cases/process-image.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/process-image.js +6 -0
- package/esm/plugins/paste-from-word/cases/process-links.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/process-links.js +6 -0
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +6 -0
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +6 -0
- package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/replace-old-tags.js +6 -0
- package/esm/plugins/paste-from-word/cases/table.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/table.js +6 -0
- package/esm/plugins/paste-from-word/config.d.ts +24 -0
- package/esm/plugins/paste-from-word/config.js +6 -0
- package/esm/plugins/paste-from-word/constants.d.ts +20 -0
- package/esm/plugins/paste-from-word/constants.js +6 -0
- package/esm/plugins/paste-from-word/element/checkers.d.ts +14 -0
- package/esm/plugins/paste-from-word/element/checkers.js +6 -0
- package/esm/plugins/paste-from-word/element/element.d.ts +34 -0
- package/esm/plugins/paste-from-word/element/element.js +6 -0
- package/esm/plugins/paste-from-word/element/index.d.ts +8 -0
- package/esm/plugins/paste-from-word/element/index.js +6 -0
- package/esm/plugins/paste-from-word/element/render.d.ts +9 -0
- package/esm/plugins/paste-from-word/element/render.js +6 -0
- package/esm/plugins/paste-from-word/element/style.d.ts +20 -0
- package/esm/plugins/paste-from-word/element/style.js +6 -0
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +6 -0
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +6 -0
- package/esm/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
- package/esm/plugins/paste-from-word/helpers/helpers.js +6 -0
- package/esm/plugins/paste-from-word/helpers/index.d.ts +9 -0
- package/esm/plugins/paste-from-word/helpers/index.js +6 -0
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +6 -0
- package/esm/plugins/paste-from-word/interface.d.ts +17 -0
- package/esm/plugins/paste-from-word/interface.js +6 -0
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +14 -0
- package/esm/plugins/paste-from-word/paste-from-word.js +6 -0
- package/esm/plugins/show-blocks/config.d.ts +15 -0
- package/esm/plugins/show-blocks/config.js +6 -0
- package/esm/plugins/show-blocks/langs/ar.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/de.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/es.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/fa.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/fr.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/he.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/hu.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/id.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/index.d.ts +25 -0
- package/esm/plugins/show-blocks/langs/index.js +6 -0
- package/esm/plugins/show-blocks/langs/it.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ja.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ko.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/nl.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/pl.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/pt_br.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ru.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/tr.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
- package/esm/plugins/show-blocks/show-blocks.d.ts +39 -0
- package/esm/plugins/show-blocks/show-blocks.js +6 -0
- package/esm/plugins/show-blocks/show-blocks.svg.js +1 -0
- package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -0
- package/esm/plugins/todo-list/config.d.ts +15 -0
- package/esm/plugins/todo-list/config.js +6 -0
- package/esm/plugins/todo-list/todo-list.d.ts +41 -0
- package/esm/plugins/todo-list/todo-list.js +6 -0
- package/esm/plugins/translate/assets/swap.svg.js +1 -0
- package/esm/plugins/translate/assets/translate.svg.js +1 -0
- package/esm/plugins/translate/config.d.ts +20 -0
- package/esm/plugins/translate/config.js +6 -0
- package/esm/plugins/translate/interface.d.ts +50 -0
- package/esm/plugins/translate/interface.js +6 -0
- package/esm/plugins/translate/providers/google/google.d.ts +14 -0
- package/esm/plugins/translate/providers/google/google.js +6 -0
- package/esm/plugins/translate/providers/languages.d.ts +140 -0
- package/esm/plugins/translate/providers/languages.js +6 -0
- package/esm/plugins/translate/translate.d.ts +20 -0
- package/esm/plugins/translate/translate.js +6 -0
- package/esm/plugins/translate/ui/list/list.d.ts +34 -0
- package/esm/plugins/translate/ui/list/list.js +6 -0
- package/esm/plugins/translate/ui/settings/settings.d.ts +35 -0
- package/esm/plugins/translate/ui/settings/settings.js +6 -0
- package/esm/plugins/tune-block/config.d.ts +13 -0
- package/esm/plugins/tune-block/config.js +6 -0
- package/esm/plugins/tune-block/tune-block.d.ts +30 -0
- package/esm/plugins/tune-block/tune-block.js +6 -0
- package/esm/plugins/tune-block/ui/tuner/icon.svg.js +1 -0
- package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
- package/esm/plugins/tune-block/ui/tuner/tuner.js +6 -0
- package/esm/traits/resize/resize.d.ts +17 -0
- package/esm/traits/resize/resize.js +6 -0
- package/esm/traits/select-items/select-items.d.ts +16 -0
- package/esm/traits/select-items/select-items.js +6 -0
- package/esm/tsconfig.json +19 -0
- package/esm/types/view.d.ts +9 -0
- package/esm/typings.d.ts +5 -0
- package/package.json +3 -2
- package/types/config.d.ts +11 -0
- package/types/core/ui/form/range/range.d.ts +23 -0
- package/types/index.d.ts +7 -0
- package/types/jodit-pro.d.ts +14 -0
- package/types/plugins/autocomplete/autocomplete.d.ts +40 -0
- package/types/plugins/autocomplete/helpers.d.ts +25 -0
- package/types/plugins/autocomplete/interface.d.ts +19 -0
- package/types/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
- package/types/plugins/autocomplete/ui/item.d.ts +14 -0
- package/types/plugins/backup/backup.d.ts +29 -0
- package/types/plugins/backup/config.d.ts +18 -0
- package/types/plugins/backup/interface.d.ts +14 -0
- package/types/plugins/backup/langs/index.d.ts +6 -0
- package/types/plugins/backup/modules/store.d.ts +15 -0
- package/types/plugins/backup/ui/box.d.ts +29 -0
- package/types/plugins/backup/ui/item.d.ts +17 -0
- package/types/plugins/backup/ui/list.d.ts +24 -0
- package/types/plugins/button-generator/button-generator.d.ts +25 -0
- package/types/plugins/button-generator/config.d.ts +6 -0
- package/types/plugins/button-generator/ui/button/button.d.ts +21 -0
- package/types/plugins/button-generator/ui/form/form.d.ts +20 -0
- package/types/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
- package/types/plugins/button-generator/ui/preview/preview.d.ts +22 -0
- package/types/plugins/change-case/change-case.d.ts +22 -0
- package/types/plugins/change-case/config.d.ts +6 -0
- package/types/plugins/color-picker/color-picker.d.ts +18 -0
- package/types/plugins/color-picker/ui/input/color-input.d.ts +19 -0
- package/types/plugins/emoji/config.d.ts +10 -0
- package/types/plugins/emoji/emoji.d.ts +22 -0
- package/types/plugins/emoji/interface.d.ts +24 -0
- package/types/plugins/emoji/ui/emoji.d.ts +54 -0
- package/types/plugins/export-docs/config.d.ts +21 -0
- package/types/plugins/export-docs/export-docs.d.ts +18 -0
- package/types/plugins/finder/browser.d.ts +70 -0
- package/types/plugins/finder/config.d.ts +6 -0
- package/types/plugins/finder/finder.d.ts +19 -0
- package/types/plugins/finder/helpers/context-menu.d.ts +19 -0
- package/types/plugins/finder/helpers/helpers.d.ts +6 -0
- package/types/plugins/finder/helpers/history-manager.d.ts +24 -0
- package/types/plugins/finder/helpers/loading-manager.d.ts +25 -0
- package/types/plugins/finder/helpers/persistent-store.d.ts +32 -0
- package/types/plugins/finder/helpers/state-manager.d.ts +21 -0
- package/types/plugins/finder/langs/index.d.ts +7 -0
- package/types/plugins/finder/langs/ru.d.ts +22 -0
- package/types/plugins/finder/ui/assets/icons/index.d.ts +1 -0
- package/types/plugins/finder/ui/folder/folder.d.ts +18 -0
- package/types/plugins/finder/ui/header/header.d.ts +21 -0
- package/types/plugins/finder/ui/item/item.d.ts +24 -0
- package/types/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
- package/types/plugins/finder/ui/panel/panel.d.ts +60 -0
- package/types/plugins/finder/ui/preview/preview.d.ts +25 -0
- package/types/plugins/finder/ui/progress/progress.d.ts +19 -0
- package/types/plugins/finder/ui/settings/settings.d.ts +25 -0
- package/types/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
- package/types/plugins/finder/ui/source/source.d.ts +19 -0
- package/types/plugins/finder/ui/sources/sources.d.ts +15 -0
- package/types/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
- package/types/plugins/finder/ui/tree/tree.d.ts +16 -0
- package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
- package/types/plugins/google-maps/assets/index.d.ts +6 -0
- package/types/plugins/google-maps/config.d.ts +45 -0
- package/types/plugins/google-maps/google-maps.d.ts +29 -0
- package/types/plugins/google-maps/helpers/const.d.ts +7 -0
- package/types/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
- package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
- package/types/plugins/google-maps/helpers/helpers.d.ts +14 -0
- package/types/plugins/google-maps/helpers/static-url.d.ts +7 -0
- package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
- package/types/plugins/google-maps/ui/editors/base.d.ts +15 -0
- package/types/plugins/google-maps/ui/editors/index.d.ts +8 -0
- package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
- package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
- package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
- package/types/plugins/google-maps/ui/index.d.ts +10 -0
- package/types/plugins/google-maps/ui/map/map.d.ts +39 -0
- package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
- package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
- package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
- package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
- package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
- package/types/plugins/google-search/google-search.d.ts +17 -0
- package/types/plugins/highlight-signature/highlight-signature.d.ts +54 -0
- package/types/plugins/iframe-editor/config.d.ts +6 -0
- package/types/plugins/iframe-editor/iframe-editor.d.ts +22 -0
- package/types/plugins/iframe-editor/interface.d.ts +15 -0
- package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
- package/types/plugins/index.d.ts +8 -0
- package/types/plugins/keyboard/config.d.ts +23 -0
- package/types/plugins/keyboard/interface.d.ts +13 -0
- package/types/plugins/keyboard/keyboard.d.ts +27 -0
- package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
- package/types/plugins/license/helpers/helpers.d.ts +14 -0
- package/types/plugins/license/license.d.ts +16 -0
- package/types/plugins/mobile-view/config.d.ts +14 -0
- package/types/plugins/mobile-view/mobile-view.d.ts +6 -0
- package/types/plugins/page-break/config.d.ts +13 -0
- package/types/plugins/page-break/page-break.css.d.ts +2 -0
- package/types/plugins/page-break/page-break.d.ts +23 -0
- package/types/plugins/paste-code/config.d.ts +36 -0
- package/types/plugins/paste-code/paste-code.d.ts +30 -0
- package/types/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
- package/types/plugins/paste-from-word/cases/index.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/process-image.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/process-links.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/table.d.ts +7 -0
- package/types/plugins/paste-from-word/config.d.ts +24 -0
- package/types/plugins/paste-from-word/constants.d.ts +20 -0
- package/types/plugins/paste-from-word/element/checkers.d.ts +14 -0
- package/types/plugins/paste-from-word/element/element.d.ts +34 -0
- package/types/plugins/paste-from-word/element/index.d.ts +8 -0
- package/types/plugins/paste-from-word/element/render.d.ts +9 -0
- package/types/plugins/paste-from-word/element/style.d.ts +20 -0
- package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
- package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
- package/types/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
- package/types/plugins/paste-from-word/helpers/index.d.ts +9 -0
- package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
- package/types/plugins/paste-from-word/interface.d.ts +17 -0
- package/types/plugins/paste-from-word/paste-from-word.d.ts +14 -0
- package/types/plugins/show-blocks/config.d.ts +15 -0
- package/types/plugins/show-blocks/langs/ar.d.ts +4 -0
- package/types/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
- package/types/plugins/show-blocks/langs/de.d.ts +4 -0
- package/types/plugins/show-blocks/langs/es.d.ts +4 -0
- package/types/plugins/show-blocks/langs/fa.d.ts +4 -0
- package/types/plugins/show-blocks/langs/fr.d.ts +4 -0
- package/types/plugins/show-blocks/langs/he.d.ts +4 -0
- package/types/plugins/show-blocks/langs/hu.d.ts +4 -0
- package/types/plugins/show-blocks/langs/id.d.ts +4 -0
- package/types/plugins/show-blocks/langs/index.d.ts +25 -0
- package/types/plugins/show-blocks/langs/it.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ja.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ko.d.ts +4 -0
- package/types/plugins/show-blocks/langs/nl.d.ts +4 -0
- package/types/plugins/show-blocks/langs/pl.d.ts +4 -0
- package/types/plugins/show-blocks/langs/pt_br.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ru.d.ts +4 -0
- package/types/plugins/show-blocks/langs/tr.d.ts +4 -0
- package/types/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
- package/types/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
- package/types/plugins/show-blocks/show-blocks.d.ts +39 -0
- package/types/plugins/todo-list/config.d.ts +15 -0
- package/types/plugins/todo-list/todo-list.d.ts +41 -0
- package/types/plugins/translate/config.d.ts +20 -0
- package/types/plugins/translate/interface.d.ts +50 -0
- package/types/plugins/translate/providers/google/google.d.ts +14 -0
- package/types/plugins/translate/providers/languages.d.ts +140 -0
- package/types/plugins/translate/translate.d.ts +20 -0
- package/types/plugins/translate/ui/list/list.d.ts +34 -0
- package/types/plugins/translate/ui/settings/settings.d.ts +35 -0
- package/types/plugins/tune-block/config.d.ts +13 -0
- package/types/plugins/tune-block/tune-block.d.ts +30 -0
- package/types/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
- package/types/traits/resize/resize.d.ts +17 -0
- package/types/traits/select-items/select-items.d.ts +16 -0
- package/types/tsconfig.json +19 -0
- package/types/types/view.d.ts +9 -0
- package/types/typings.d.ts +5 -0
- package/es2015/plugins/autocomplete/autocomplete.css +0 -26
- package/es2015/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2018/plugins/autocomplete/autocomplete.css +0 -26
- package/es2018/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2021/plugins/autocomplete/autocomplete.css +0 -26
- package/es2021/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2021.en/plugins/autocomplete/autocomplete.css +0 -26
- package/es2021.en/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es5/plugins/autocomplete/autocomplete.css +0 -26
- package/es5/plugins/autocomplete/autocomplete.min.css +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
"use strict";!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 r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{12750:function(t,e,n){n.d(e,{C:function(){return i}});var r={"text-justify":["inter-ideograph"]};function i(t){return t.isElement&&t.attributes.style&&Object.keys(r).forEach((function(e){var n,i=r[e];t.style.has(e)&&i.includes(null===(n=t.style.get(e))||void 0===n?void 0:n.toString())&&t.style.set(e,null)})),t}},76995:function(t,e,n){n.d(e,{i:function(){return a}});var r=n(97582),i=["cellspacing","cellpadding","border","v:shapes","o:spid"];function a(t){var e,n;if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;"_GoBack"===t.attributes.name&&(t.attributes.name=null);try{for(var a=(0,r.XA)(i),o=a.next();!o.done;o=a.next()){var u=o.value;t.attributes[u]&&(t.attributes[u]=null)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return t}},53614:function(t,e,n){n.d(e,{a:function(){return i}});var r=n(73076),i=function(t){return t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,r.f)(t.attributes.class)||(t.attributes.class=null)),t}},50353:function(t,e,n){n.d(e,{b:function(){return i}});var r=n(18352),i=function(t,e){if(!e.jodit.o.pasteFromWord.convertUnitsToPixel)return t;var n=t.style;return n.forEach((function(t){var e=n.get(t);e&&n.set(t,e.toString().replace(/\d+(\.\d+)?(pt|cm)/g,(function(t){return(0,r.Lp)(t)+"px"})))})),t}},45054:function(t,e,n){n.d(e,{S:function(){return u}});var r=n(18352),i=n(93310),a=n(11612),o=n(19438);function u(t){var e;if((0,i.Hh)(t)){t.name="li",t.style.set("text-indent",null);var n=s(t),a=/[\da-np-zA-NP-Z].?/.test(n)?"ol":"ul",u=function(t,e){for(var n in o.Y1)if(RegExp(n).test(t))return o.Y1[n];return"ol"===e?"decimal":"disc"}(n,a);t.attributes[o.YJ]=a,t.attributes[o.Jf]=u,(0,r.rd)(t),function(t){for(;t;){var e=t.previousElement;if(!(0,i.Be)(e)&&!(0,i.nq)(e))break;if((0,i.Be)(e)){if(e.attributes[o.Ki]>t.attributes[o.Ki])break;if(t.attributes[o.Ki]===e.attributes[o.Ki]&&t.parent&&(0,i.Y4)(t,t.parent))break;e.append(t)}else{var n=e;if(n.attributes[o.Ki]>t.attributes[o.Ki])break;if(t.attributes[o.Ki]===n.attributes[o.Ki]&&!(0,i.Y4)(t,n))break;n.append(t)}}}(t);var l=t.parent;if(!(0,i.nq)(l)||!(0,i.Y4)(t,l)){var c=function(t,e,n,a){var u=t.wrap(e);return u.attributes.start=(0,r.Sg)(n),u.attributes[o.Ki]=t.attributes[o.Ki],u.attributes[o.Jf]=t.attributes[o.Jf],u.attributes[o.m3]=t.attributes[o.Jf],u.style.set(o.zQ,a),function(t){var e;!(0,i.nq)(t)||"li"===(null===(e=t.parent)||void 0===e?void 0:e.name)||"disc"!==t.style.get(o.zQ)&&"decimal"!==t.style.get(o.zQ)||t.style.set(o.zQ,null)}(u),u}(t,a,n,u);return(0,i.nq)(l)&&(c.remove(),null===(e=l.lastElement)||void 0===e||e.append(c)),t}}return t}var s=function(t){return t.textBetween((function(t){return t.isComment&&/\[if.*supportLists.*]/.test((0,i.dy)(t))}),(function(t){return t.isComment&&/\[endif]/.test((0,i.dy)(t))})).replace(/ /g,"").replace((0,a.SPACE_REG_EXP)(),"")}},44669:function(t,e,n){n.d(e,{c:function(){return v}});var r=n(45054),i=n(76995),a=n(76148),o=n(38450),u=n(33135),s=n(50353),l=n(53614),c=n(62094),f=n(83432),p=n(38933),d=n(50374),h=n(38535),m=n(12750),v=[h.F,d.a,a.p,o.G,i.i,r.S,c.z,u.m,s.b,l.a,f.r,p.Y,m.C]},50374:function(t,e,n){n.d(e,{a:function(){return r}});var r=function(t){return(t.isElement&&"always"===t.style.get("page-break-before")||"page"===t.style.get("break-before"))&&(t.attributes["jd-safe"]=!0,t.style.add("page-break-before","always"),t.isSingle&&(t.name="div")),t}},83432:function(t,e,n){n.d(e,{r:function(){return r}});var r=function(t){return t.isElement?("img"===t.name&&(t.attributes.align&&(t.style.add("float",t.attributes.align),t.attributes.align=null),t.attributes.hspace&&(t.style.add("marginLeft",t.attributes.hspace+"px"),t.style.add("marginRight",t.attributes.hspace+"px"),t.attributes.hspace=null)),t):t}},38535:function(t,e,n){n.d(e,{F:function(){return a}});var r=n(97582),i=n(95582),a=function(t,e){var n,r;if(e.rtf&&"#comment"===t.name&&t.attributes.nodeValue&&-1!==t.attributes.nodeValue.indexOf("<v:shape")){e.shapes||(e.shapes={});var a=e.jodit.create.fromHTML(t.attributes.nodeValue);return(0,i.toArray)(a.getElementsByTagName("v:shape")).forEach((function(t){e.shapes[t.id]=t.getAttribute("o:spid")})),t}if("img"!==t.name)return t;if(e.rtf&&t.attributes["v:shapes"]){var u=null===(n=e.shapes)||void 0===n?void 0:n[t.attributes["v:shapes"]];if(u){var s=null!==(r=e.imageMap)&&void 0!==r?r:{};e.imageMap||(e.imageMap=s,o(e.rtf,"i","\\shppict",e.imageMap),o(e.rtf,"s","\\shp{",e.imageMap));var l=s[u.substring(7)];if(l){var c=[],f=l.hex.match(/[0-9a-f]{2}/gi);if(f){for(var p=0;f.length>p;p++){var d=parseInt(f[p],16);c.push(String.fromCharCode(d))}t.attributes.src="data:"+l.type+";base64,"+btoa(c.join(""))}}}}return t};function o(t,e,n,i){var a,o,u=t.split(n);try{for(var s=(0,r.XA)(u),l=s.next();!l.done;l=s.next()){var c=l.value.split("shplid");if(c.length>1){for(var f=c[1],p="",d=0;f.length>d&&!/[{ \r\n\\]/.test(f[d]);d++)p+=f[d];var h=f.split("bliptag");if(h&&2>h.length)continue;var m=null;if(h[0].indexOf("pngblip")?m="image/png":-1!==h[0].indexOf("jpegblip")&&(m="image/jpeg"),!m)continue;var v=h[1].split("}");if(v&&2>v.length)continue;var b=void 0;if(v.length>2&&v[0].includes("blipuid"))b=v[1].split(" ");else{if((b=v[0].split(" "))&&2>b.length)continue;b.shift()}i[e+p]={hex:b.join(""),type:m}}}}catch(t){a={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}}},62094:function(t,e,n){n.d(e,{z:function(){return r}});var r=function(t,e){var n,r=null!==(n=e.links)&&void 0!==n?n:{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(r[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&r[t.attributes.name]){var i=r[t.attributes.name];i.attributes.href=i.attributes.href.replace(/.*#(.*)$/,"#$1")}return e.links=r,t}},76148:function(t,e,n){n.d(e,{p:function(){return i}});var r=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function i(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||r.has(t.name)?(t.remove(),null):t}},33135:function(t,e,n){n.d(e,{m:function(){return a}});var r=n(93310),i=0;function a(t){return t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,r.dy)(t))&&(i++,t.remove()),t.isComment&&i>0&&(0,r.dy)(t).includes("[endif]")&&(i=i>0?i-1:0,t.remove()),i&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src)))?(t.remove(),null):t}},38450:function(t,e,n){n.d(e,{G:function(){return i}});var r={i:"em",b:"strong"};function i(t){var e=t.name;return e in r&&(t.name=r[e]),t}},38933:function(t,e,n){n.d(e,{Y:function(){return r}});var r=function(t){return!t.attributes.width||"th"!==t.name&&"td"!==t.name||(t.attributes.width=null),t}},48077:function(t,e,n){n(77628).D.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},19438:function(t,e,n){n.d(e,{Jf:function(){return a},Ki:function(){return r},Y1:function(){return s},YJ:function(){return i},m3:function(){return o},zQ:function(){return u}});var r="jd-list-level",i="jd-list-type",a="jd-list-style-type",o="data-list-style-type",u="list-style-type",s={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},69111:function(t,e,n){n.d(e,{Be:function(){return o},Hh:function(){return u},Y4:function(){return s},nq:function(){return a}});var r=n(12787),i=n(19438);function a(t){return Boolean(t&&("ol"===t.name||"ul"===t.name))}function o(t){return Boolean(t&&"li"===t.name)}function u(t){return"li"!==t.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&Boolean(t.find((function(t){return t.isComment&&(0,r.d)(t).includes("supportLists")})).length)}function s(t,e){return!(e.name!==t.attributes[i.YJ]||e.attributes[i.Jf]!==t.attributes[i.Jf]||t.attributes[i.Ki]!==e.attributes[i.Ki])}},84300:function(t,e,n){n.d(e,{n:function(){return l}});var r=n(97582),i=n(8138),a=n(11612),o=(n(95582),n(12787)),u=n(12481),s=new Set(a.INSEPARABLE_TAGS),l=function(){function t(e,n){var r=this;this.parent=n,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=function(t){var e={};if(i.i.isElement(t))for(var n=0,r=t.attributes;r.length>n;n+=1)e[r[n].name]=r[n].value;else e.nodeValue=t.nodeValue;return e}(e),this.style=new u.b(this.attributes.style),this.children=[],e.childNodes.forEach((function(e){return r.children.push(t.make(e,r))}))}return Object.defineProperty(t.prototype,"isText",{get:function(){return this.type===Node.TEXT_NODE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isElement",{get:function(){return this.type===Node.ELEMENT_NODE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isComment",{get:function(){return this.type===Node.COMMENT_NODE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSingle",{get:function(){return s.has(this.name)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this.children.length},enumerable:!1,configurable:!0}),t.make=function(e,n){return void 0===n&&(n=null),new t(e,n)},t.prototype.wrap=function(e){var n,r=t.make(document.createElement(e),this.parent),i=null!==(n=this.parent.children.indexOf(this))&&void 0!==n?n:-1;return-1===i?this.parent.append(r):this.parent.children[i]=r,r.append(this),r},t.prototype.append=function(t){return t.remove(),this.children.push(t),t.parent=this,this},Object.defineProperty(t.prototype,"previousElement",{get:function(){if(!this.parent)return null;var t=this.parent.children,e=t.indexOf(this);if(-1!==e)for(var n=e-1;n>=0;n-=1)if(t[n].isElement)return t[n];return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastElement",{get:function(){for(var t=this.children,e=t.length-1;e>=0;e-=1)if(t[e].isElement)return t[e];return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previous",{get:function(){var t,e,n;return null!==(n=null!==(t=this.sibling(!1))&&void 0!==t?t:null===(e=this.parent)||void 0===e?void 0:e.previous)&&void 0!==n?n:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"next",{get:function(){var t,e,n;return null!==(n=null!==(t=this.sibling(!0))&&void 0!==t?t:null===(e=this.parent)||void 0===e?void 0:e.next)&&void 0!==n?n:null},enumerable:!1,configurable:!0}),t.prototype.sibling=function(t){if(!this.parent)return null;var e=this.parent.children,n=e.indexOf(this);return-1!==n&&e[n+(t?1:-1)]?e[n+(t?1:-1)]:null},t.prototype.forEach=function(t,e){var n,i;void 0===e&&(e=!1);var a=(0,r.ev)([],(0,r.CR)(this.children),!1);try{for(var o=(0,r.XA)(a),u=o.next();!u.done;u=o.next()){var s=u.value;if(!1===t(s))return!1;if(e&&!1===s.forEach(t,!0))return!1}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.prototype.find=function(t,e){void 0===e&&(e=!0);var n=[];return this.forEach((function(e){t(e)&&n.push(e)}),e),n},t.prototype.map=function(t){return this.children.map(t)},t.prototype.remove=function(){var t,e,n=null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this);return null!=n&&-1!==n&&(null===(e=this.parent)||void 0===e||e.children.splice(n,1)),this},t.prototype.textBetween=function(t,e){var n=!1,r=[];return this.forEach((function(i){if(!n&&t(i)&&(n=!0),n&&i.isText&&r.push((0,o.d)(i)),n&&e(i))return!1}),!0),r.join("")},t}()},93310:function(t,e,n){n.d(e,{Be:function(){return r.Be},C7:function(){return a.C},Hh:function(){return r.Hh},Y4:function(){return r.Y4},dy:function(){return a.d},nK:function(){return i.n},nq:function(){return r.nq}});var r=n(69111),i=n(84300),a=n(12787)},12787:function(t,e,n){n.d(e,{C:function(){return s},d:function(){return o}});var r=n(11612),i=n(46232),a=n(73076);function o(t,e,n,i){switch(void 0===e&&(e=function(){return!0}),void 0===n&&(n=!0),!0){case t.isComment:case t.isText:if(!e(t))return"";var a=t.attributes.nodeValue;return t.isComment?"\x3c!--".concat(a,"--\x3e"):a;case t.isElement:var o=t.attributes,c=s(t,e,n,i);if(!t.attributes["jd-safe"]&&n&&0===c.replace(/[\n\t]/g,"").length&&!t.isSingle)return"";var f=Object.keys(o).map((function(t){return"style"===t||null==o[t]||/^jd-/.test(t)?"":"".concat(t,'="').concat(l(o[t]),'"')})).filter(Boolean),p=l((0,t.style.str)((function(t){return u(t,i)})));if(p&&f.push('style="'.concat(p,'"')),n&&0===f.length&&["span","a"].includes(t.name))return c;var d=f.length?" "+f.join(" "):"";return e(t)?t.isSingle?"<".concat(t.name).concat(d,"/>"):"<".concat(t.name).concat(d,">").concat(c,"</").concat(t.name,">"):c;default:if(!r.IS_PROD)throw Error("Need implementation for this type")}return""}function u(t,e){var n;if(!e)return!0;if(u.cache.has(e)){var r=null===(n=u.cache.get(e))||void 0===n?void 0:n.get(t);if((0,i.j)(r))return r}var a=e.some((function(e){return new RegExp(e).test(t)})),o=u.cache.get(e)||new Map;return o.set(t,a),u.cache.set(e,o),a}function s(t,e,n,r){void 0===e&&(e=function(){return!0}),void 0===n&&(n=!0);var i=t.map((function(t){return o(t,e,n,r)})).join("");return"p"===t.name&&0===(0,a.f)(i).length&&(i=" "),i}function l(t){return t.toString().replace(/"/g,""")}u.cache=new WeakMap},12481:function(t,e,n){n.d(e,{b:function(){return u}});var r=n(97582),i=n(95582),a=n(50526),o=n(18352),u=function(){function t(t){this._data=s(t)}return Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this._data)},enumerable:!1,configurable:!0}),t.prototype.forEach=function(t){this.keys.forEach((function(e){return t(e)}))},t.prototype.clear=function(){this._data={}},t.prototype.set=function(t,e){this._data[t]=e},t.prototype.get=function(t){var e;return null!==(e=this._data[t])&&void 0!==e?e:null},t.prototype.has=function(t){return void 0!==this._data[t]},t.prototype.add=function(t,e){return this._data=s(this.str()+";"+"".concat(t,":").concat(e)),this},t.prototype.str=function(t){var e=this;void 0===t&&(t=function(t){return!0});var n=Object.keys(this._data).filter((function(n){return n&&!/^mso-/.test(n)&&t(n)&&null!=e.get(n)})),r=function(t){return(0,i.isString)(t)?/^0[a-z]+$/i.test(t)?"0":t:t.toString()};return["padding","margin"].forEach((function(t){if(e._data[t]){var i=n.indexOf(t),a=(0,o.Wb)(e._data[t]);["top","right","bottom","left"].forEach((function(o,u){var s="".concat(t,"-").concat(o),l=e._data[s];null==l||n.indexOf(s)>=i&&r(a[u])!==r(l)||-1!==n.indexOf(s)&&n.splice(n.indexOf(s),1)}))}})),n.length?n.map((function(t){return"".concat((0,i.kebabCase)(t),":").concat(e.get(t))})).join(";"):""},(0,r.gn)([a.autobind],t)}();function s(t){return function(t){for(var e={},n=[],r=t.length-1;r>=0;r-=1){var i=t[r][0];e[i]||(e[i]=!0,n.unshift(t[r]))}return n}((null!=t?t:"").replace(/"/g,'"').split(";").filter(Boolean).map((function(t){return(0,i.trim)(t).split(":").map(i.trim)}))).reduce((function(t,e){var n=(0,r.CR)(e,2),i=n[0],a=n[1];return i&&a&&(t[i]=a),t}),{})}},12049:function(t,e,n){n.d(e,{x:function(){return u}});var r=n(95582),i=n(44913),a=n(79374),o=n(93310);function u(t,e,n,u){var s,l;void 0===u&&(u="");var c=document.createElement("iframe");c.style.display="none",document.body.appendChild(c);try{var f=null!==(s=c.contentDocument)&&void 0!==s?s:null===(l=c.contentWindow)||void 0===l?void 0:l.document;if(!f)return e;f.open(),f.write(e),f.close();for(var p="jd-style",d=function(t){try{for(var e=f.styleSheets[t].cssRules,n=function(t){if(!e[t].selectorText)return"continue";(0,r.$$)(e[t].selectorText,f.body).forEach((function(n){(0,r.attr)(n,p)||((0,r.attr)(n,p,(0,r.attr)(n,"style")||""),(0,r.attr)(n,"style","")),(0,r.attr)(n,"style","".concat((0,r.attr)(n,"style"),";").concat(e[t].style.cssText))}))},i=0;e.length>i;i+=1)n(i)}catch(t){}},h=0;f.styleSheets.length>h;h+=1)d(h);return(0,r.$$)("[".concat(p,"]"),f.body).forEach((function(t){(0,r.attr)(t,"style","".concat((0,r.attr)(t,"style"),";").concat((0,r.attr)(t,p)))})),(0,a.W)(t,o.nK.make(f.body),n,u)}finally{i.i.safeRemove(c)}return e}},45394:function(t,e,n){n.d(e,{r:function(){return u}});var r=n(97582),i=n(93310),a=n(19438),o=n(81723);function u(t){if(void 0===t.attributes[a.Ki]){for(var e=[(0,o.D4)(t)],n=[t],u=t.next;u;){if(u.isElement&&!u.attributes[a.Ki]&&(0,i.Hh)(u)){var s=(0,o.D4)(u);s&&(e.push(s),n.push(u))}u=u.next}var l=Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(e.filter((function(t){return t>0}))),!1)),c=e.map((function(t){return Math.ceil(t/10)}));-1!==c.indexOf(0)&&(c=c.map((function(t){return t+1}))),n.forEach((function(t,e){t.attributes[a.Ki]=c[e],t.style.add("margin-left","".concat(Math.max((0,o.D4)(t)-10*c[e]/l*40,0),"px"))}))}}},81723:function(t,e,n){function r(t){if(!t)return[0,0,0,0];var e=t.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(e.length){case 2:return[0,1,0,1].map((function(t){return e[t]}));case 3:return[0,1,2,1].map((function(t){return e[t]}));case 4:return[0,1,2,3].map((function(t){return e[t]}));default:return[0,0,0,0].map((function(t){return e[t]}))}}var i;function a(t){if("number"==typeof t)return t;if(/%$/.test(t))return 0;i||(i=document.createElement("div"),Object.assign(i.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(i),setTimeout((function(){null==i||i.remove(),i=null})));var e=0>parseFloat(t);e&&(t=t.replace("-","")),i.style.width=t;var n=i.clientWidth;return e?-n:n}function o(t){var e=t.style,n=e.keys.filter((function(t){return/margin/.test(t)})),i=Math.max(n.indexOf("margin-left"),n.indexOf("margin")),o=i>0?n[i]:"margin-left";return a("margin"===o?r(e.get("margin"))[3]||0:e.get(o)||0)}function u(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?(parseInt(t,10)||1).toString():null}n.d(e,{D4:function(){return o},Lp:function(){return a},Sg:function(){return u},Wb:function(){return r}})},18352:function(t,e,n){n.d(e,{Lp:function(){return r.Lp},Sg:function(){return r.Sg},Wb:function(){return r.Wb},rd:function(){return a.r},xk:function(){return i.x}});var r=n(81723),i=n(12049),a=(n(79374),n(45394))},79374:function(t,e,n){n.d(e,{W:function(){return u}});var r=n(97582),i=n(44669),a=n(73076),o=n(93310);function u(t,e,n,u){var s={jodit:t,rtf:u};return e.forEach((function t(e){var n,a;if(e){try{for(var o=(0,r.XA)(i.c),u=o.next();!u.done&&null!=(e=(0,u.value)(e,s));u=o.next());}catch(t){n={error:t}}finally{try{u&&!u.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}null==e||e.forEach(t)}})),n&&e.forEach((function(t){t.style.clear()}),!0),(0,a.f)((0,o.C7)(e,(function(t){return!t.isComment}),!0,t.o.pasteFromWord.allowedStyleProps))}},70322:function(t,e,n){n.r(e),n.d(e,{PasteFromWordPro:function(){return c}});var r=n(97582),i=n(88292),a=n(11612),o=n(4682),u=n(79501),s=n(18352),l=(n(48077),n(54625)),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.insertFromWordByType=function(e,n,r,i){var u;if(!this.j.o.pasteFromWord.enable||r!==a.INSERT_AS_HTML&&r!==a.INSERT_AS_TEXT)return t.prototype.insertFromWordByType.call(this,e,n,r,i);if(n=(0,s.xk)(this.j,n,r===a.INSERT_AS_TEXT,i.rtf),this.j.o.beautifyHTML){var c=null===(u=this.j.events)||void 0===u?void 0:u.fire("beautifyHTML",n);(0,o.H)(c)&&(n=c)}(0,l.kU)(e,this.j,n)},e.requires=["license"],e}(u.L);i.y.plugins.remove("pasteFromWord"),i.y.plugins.add("pasteFromWordPro",c)}},function(t){return t(t.s=70322)}])}));
|
|
10
|
+
"use strict";!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var f in t)("object"==typeof exports?exports:e)[f]=t[f]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{},function(e){return e(e.s=70322)}])}));
|
|
@@ -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: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -515,14 +515,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
515
515
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
516
516
|
/* harmony export */ "showBlocks": function() { return /* binding */ showBlocks; }
|
|
517
517
|
/* harmony export */ });
|
|
518
|
-
/* harmony import */ var
|
|
518
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97582);
|
|
519
519
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56766);
|
|
520
520
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7324);
|
|
521
521
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44913);
|
|
522
522
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10503);
|
|
523
523
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81160);
|
|
524
524
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50526);
|
|
525
|
-
/* harmony import */ var
|
|
525
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53852);
|
|
526
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(60841);
|
|
527
|
+
/* harmony import */ var _show_blocks_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23530);
|
|
528
|
+
/* harmony import */ var _show_blocks_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_show_blocks_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
526
529
|
/*!
|
|
527
530
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
528
531
|
* See LICENSE.md in the project root for license information.
|
|
@@ -536,6 +539,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
536
539
|
|
|
537
540
|
|
|
538
541
|
|
|
542
|
+
|
|
543
|
+
|
|
539
544
|
function svgToUrl(svg) {
|
|
540
545
|
return "data:image/svg+xml;utf8,".concat(escape(svg));
|
|
541
546
|
}
|
|
@@ -543,7 +548,7 @@ function svgToUrl(svg) {
|
|
|
543
548
|
* Plugin for showing special markers inside every blocks
|
|
544
549
|
*/
|
|
545
550
|
var showBlocks = /** @class */ (function (_super) {
|
|
546
|
-
(0,
|
|
551
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__extends */ .ZT)(showBlocks, _super);
|
|
547
552
|
function showBlocks(jodit) {
|
|
548
553
|
var _this = _super.call(this, jodit) || this;
|
|
549
554
|
/** @override */
|
|
@@ -557,8 +562,8 @@ var showBlocks = /** @class */ (function (_super) {
|
|
|
557
562
|
* Show block is enabled
|
|
558
563
|
*/
|
|
559
564
|
_this.isEnabled = false;
|
|
560
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .extendLang */ .xl)(
|
|
561
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.set */ .J.set('showBlocks',
|
|
565
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .extendLang */ .xl)(_langs__WEBPACK_IMPORTED_MODULE_7__);
|
|
566
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.set */ .J.set('showBlocks', (_show_blocks_svg__WEBPACK_IMPORTED_MODULE_8___default()));
|
|
562
567
|
return _this;
|
|
563
568
|
}
|
|
564
569
|
Object.defineProperty(showBlocks.prototype, "style", {
|
|
@@ -620,21 +625,21 @@ var showBlocks = /** @class */ (function (_super) {
|
|
|
620
625
|
};
|
|
621
626
|
/** @override */
|
|
622
627
|
showBlocks.requires = ['license'];
|
|
623
|
-
(0,
|
|
628
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
624
629
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
625
630
|
], showBlocks.prototype, "style", null);
|
|
626
|
-
(0,
|
|
631
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
627
632
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
628
633
|
], showBlocks.prototype, "enable", null);
|
|
629
|
-
(0,
|
|
634
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
630
635
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
631
636
|
], showBlocks.prototype, "disable", null);
|
|
632
|
-
(0,
|
|
637
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
633
638
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
634
639
|
], showBlocks.prototype, "toggle", null);
|
|
635
640
|
return showBlocks;
|
|
636
641
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */ .S));
|
|
637
|
-
|
|
642
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('show-blocks', showBlocks);
|
|
638
643
|
|
|
639
644
|
|
|
640
645
|
/***/ })
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
!function(t,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var e=o();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[876],{23530:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},56766:function(t,o,e){"use strict";var n=e(77628);n.D.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},n.D.prototype.controls.showBlocks={isActive:function(t){return Boolean(t.e.fire("showBlocksEnabled"))},tooltip:"Show Blocks",command:"toggleShowBlocks"}},33548:function(t){"use strict";t.exports={"Show Blocks":"تظهر كتل"}},6974:function(t){"use strict";t.exports={"Show Blocks":"Ukázat Bloky"}},24274:function(t){"use strict";t.exports={"Show Blocks":"Zeigen Blöcke"}},82725:function(t){"use strict";t.exports={"Show Blocks":"Mostrar Bloques"}},25702:function(t){"use strict";t.exports={"Show Blocks":"نشان می دهد بلوک"}},10342:function(t){"use strict";t.exports={"Show Blocks":"Afficher Les Blocs"}},98455:function(t){"use strict";t.exports={"Show Blocks":"תראה רחובות"}},6561:function(t){"use strict";t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},44642:function(t){"use strict";t.exports={"Show Blocks":"Menunjukkan Blok"}},60841:function(t,o,e){"use strict";e.r(o),e.d(o,{ar:function(){return n},cs_cz:function(){return s},de:function(){return r},es:function(){return i},fa:function(){return c},fr:function(){return u},he:function(){return l},hu:function(){return a},id:function(){return f},it:function(){return p},ja:function(){return h},ko:function(){return d},nl:function(){return k},pl:function(){return b},pt_br:function(){return g},ru:function(){return w},tr:function(){return B},zh_cn:function(){return x},zh_tw:function(){return m}});var n=e(33548),s=e(6974),r=e(24274),i=e(82725),c=e(25702),u=e(10342),l=e(98455),a=e(6561),f=e(44642),p=e(81483),h=e(51860),d=e(90069),k=e(52044),b=e(87205),g=e(821),w=e(76539),B=e(93793),x=e(40742),m=e(70142)},81483:function(t){"use strict";t.exports={"Show Blocks":"Visualizza Blocchi"}},51860:function(t){"use strict";t.exports={"Show Blocks":"ショーのブロック"}},90069:function(t){"use strict";t.exports={"Show Blocks":"쇼 블록"}},52044:function(t){"use strict";t.exports={"Show Blocks":"Toon Blokken"}},87205:function(t){"use strict";t.exports={"Show Blocks":"Pokaż Bloki"}},821:function(t){"use strict";t.exports={"Show Blocks":"Mostrar Blocos"}},76539:function(t){"use strict";t.exports={"Show Blocks":"Показать Блоки"}},93793:function(t){"use strict";t.exports={"Show Blocks":"Haritayı Blokları"}},40742:function(t){"use strict";t.exports={"Show Blocks":"显示块"}},70142:function(t){"use strict";t.exports={"Show Blocks":"แสดงช่วงตึก"}},87998:function(t,o,e){"use strict";e.r(o),e.d(o,{showBlocks:function(){return
|
|
10
|
+
!function(t,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var e=o();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[876],{23530:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},56766:function(t,o,e){"use strict";var n=e(77628);n.D.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},n.D.prototype.controls.showBlocks={isActive:function(t){return Boolean(t.e.fire("showBlocksEnabled"))},tooltip:"Show Blocks",command:"toggleShowBlocks"}},33548:function(t){"use strict";t.exports={"Show Blocks":"تظهر كتل"}},6974:function(t){"use strict";t.exports={"Show Blocks":"Ukázat Bloky"}},24274:function(t){"use strict";t.exports={"Show Blocks":"Zeigen Blöcke"}},82725:function(t){"use strict";t.exports={"Show Blocks":"Mostrar Bloques"}},25702:function(t){"use strict";t.exports={"Show Blocks":"نشان می دهد بلوک"}},10342:function(t){"use strict";t.exports={"Show Blocks":"Afficher Les Blocs"}},98455:function(t){"use strict";t.exports={"Show Blocks":"תראה רחובות"}},6561:function(t){"use strict";t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},44642:function(t){"use strict";t.exports={"Show Blocks":"Menunjukkan Blok"}},60841:function(t,o,e){"use strict";e.r(o),e.d(o,{ar:function(){return n},cs_cz:function(){return s},de:function(){return r},es:function(){return i},fa:function(){return c},fr:function(){return u},he:function(){return l},hu:function(){return a},id:function(){return f},it:function(){return p},ja:function(){return h},ko:function(){return d},nl:function(){return k},pl:function(){return b},pt_br:function(){return g},ru:function(){return w},tr:function(){return B},zh_cn:function(){return x},zh_tw:function(){return m}});var n=e(33548),s=e(6974),r=e(24274),i=e(82725),c=e(25702),u=e(10342),l=e(98455),a=e(6561),f=e(44642),p=e(81483),h=e(51860),d=e(90069),k=e(52044),b=e(87205),g=e(821),w=e(76539),B=e(93793),x=e(40742),m=e(70142)},81483:function(t){"use strict";t.exports={"Show Blocks":"Visualizza Blocchi"}},51860:function(t){"use strict";t.exports={"Show Blocks":"ショーのブロック"}},90069:function(t){"use strict";t.exports={"Show Blocks":"쇼 블록"}},52044:function(t){"use strict";t.exports={"Show Blocks":"Toon Blokken"}},87205:function(t){"use strict";t.exports={"Show Blocks":"Pokaż Bloki"}},821:function(t){"use strict";t.exports={"Show Blocks":"Mostrar Blocos"}},76539:function(t){"use strict";t.exports={"Show Blocks":"Показать Блоки"}},93793:function(t){"use strict";t.exports={"Show Blocks":"Haritayı Blokları"}},40742:function(t){"use strict";t.exports={"Show Blocks":"显示块"}},70142:function(t){"use strict";t.exports={"Show Blocks":"แสดงช่วงตึก"}},87998:function(t,o,e){"use strict";e.r(o),e.d(o,{showBlocks:function(){return h}});var n=e(97582),s=(e(56766),e(7324)),r=e(44913),i=e(10503),c=e(81160),u=e(50526),l=e(53852),a=e(60841),f=e(23530),p=e.n(f),h=function(t){function o(o){var e=t.call(this,o)||this;return e.buttons=[{name:"showBlocks",group:"state"}],e.isEnabled=!1,(0,c.xl)(a),i.J.set("showBlocks",p()),e}return(0,n.ZT)(o,t),Object.defineProperty(o.prototype,"style",{get:function(){return(0,c.ZO)(this.jodit,o,"style",!0)},enumerable:!1,configurable:!0}),o.prototype.enable=function(){var t,o=this;this.isEnabled=!0;var e=this.j.o.iframe?"body":".jodit-wysiwyg",n=(t=this.j.o.showBlocks).tagList,s=t.color;this.style.innerHTML=n.map((function(t){return"".concat(e," ").concat(t,"{\n\t\t\t\t\toutline: 1px dashed ").concat(s,';\n\t\t\t\t\tbackground-image: url("').concat((n='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+s+';font: 10px sans-serif" x="50px" y="0">'+t+"</text></svg>","data:image/svg+xml;utf8,".concat(escape(n))),'");\n\t\t\t\t\tbackground-position: top 2px ').concat("rtl"===o.j.o.direction?"left":"right"," 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}");var n})).join("")},o.prototype.disable=function(){this.isEnabled=!1,this.style.innerHTML=""},o.prototype.toggle=function(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")},o.prototype.afterInit=function(t){var o=this;t.e.on("showBlocksEnabled",(function(){return o.isEnabled})),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()},o.prototype.beforeDestruct=function(t){this.disable(),r.i.safeRemove(this.style)},o.requires=["license"],(0,n.gn)([u.cache],o.prototype,"style",null),(0,n.gn)([u.autobind],o.prototype,"enable",null),(0,n.gn)([u.autobind],o.prototype,"disable",null),(0,n.gn)([u.autobind],o.prototype,"toggle",null),o}(s.S);l.y.plugins.add("show-blocks",h)}},function(t){return t(t.s=87998)}])}));
|
|
@@ -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: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -32,6 +32,8 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
|
|
|
32
32
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
33
33
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10503);
|
|
34
34
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44913);
|
|
35
|
+
/* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78263);
|
|
36
|
+
/* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35
37
|
/*!
|
|
36
38
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
37
39
|
* See LICENSE.md in the project root for license information.
|
|
@@ -40,6 +42,7 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
|
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
|
|
45
|
+
|
|
43
46
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.todoList */ .D.prototype.todoList = {
|
|
44
47
|
className: 'todo-list',
|
|
45
48
|
labelClassName: 'todo-list__label',
|
|
@@ -64,7 +67,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.todoList
|
|
|
64
67
|
}, e.editor));
|
|
65
68
|
}
|
|
66
69
|
};
|
|
67
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('todo-list',
|
|
70
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('todo-list', (_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
68
71
|
|
|
69
72
|
|
|
70
73
|
/***/ }),
|
|
@@ -84,7 +87,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
84
87
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(44913);
|
|
85
88
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11612);
|
|
86
89
|
/* harmony import */ var jodit_core_selection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(60593);
|
|
87
|
-
/* harmony import */ var
|
|
90
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53852);
|
|
88
91
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(39991);
|
|
89
92
|
/*!
|
|
90
93
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -309,7 +312,7 @@ var TodoList = /** @class */ (function (_super) {
|
|
|
309
312
|
], TodoList.prototype, "isTodoLeafLabel", null);
|
|
310
313
|
return TodoList;
|
|
311
314
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
312
|
-
|
|
315
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('todo-list', TodoList);
|
|
313
316
|
|
|
314
317
|
|
|
315
318
|
/***/ })
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var i in o)("object"==typeof exports?exports:t)[i]=o[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[588],{78263:function(t){t.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},39991:function(t,e,o){"use strict";var i=o(77628),n=o(10503),s=o(44913);i.D.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory:function(t){return t.createInside.element("input",{type:"checkbox",tabindex:-1})}},i.D.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive:function(t){var e=t.s.current();return Boolean(e&&s.i.closest(e,(function(t){return s.i.isElement(t)&&s.i.isTag(t,"ul")&&t.classList.contains("todo-list")}),t.editor))}},n.J.set("todo-list",
|
|
10
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var i in o)("object"==typeof exports?exports:t)[i]=o[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[588],{78263:function(t){t.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},39991:function(t,e,o){"use strict";var i=o(77628),n=o(10503),s=o(44913),r=o(78263),a=o.n(r);i.D.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory:function(t){return t.createInside.element("input",{type:"checkbox",tabindex:-1})}},i.D.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive:function(t){var e=t.s.current();return Boolean(e&&s.i.closest(e,(function(t){return s.i.isElement(t)&&s.i.isTag(t,"ul")&&t.classList.contains("todo-list")}),t.editor))}},n.J.set("todo-list",a())},45268:function(t,e,o){"use strict";o.r(e),o.d(e,{TodoList:function(){return u}});var i=o(97582),n=o(7324),s=o(50526),r=o(98478),a=o(44913),l=o(11612),p=o(60593),c=o(53852),u=(o(39991),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"todoList",group:"list"}],e.__isOwnCommand=!1,e}return(0,i.ZT)(e,t),e.prototype.afterInit=function(t){t.registerCommand("todoList",this.onCommand)},e.prototype.onCommand=function(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1},e.prototype.__prependInputLabel=function(t){var e,o=this.jodit,i=(e=this.j.o.todoList).labelClassName,n=e.inputFactory;if(!t.querySelector("label."+i)){var s=o.createInside.element("label",{contenteditable:"false",class:i}),r=n(o);s.appendChild(r),a.i.prepend(t,s)}},e.prototype.__afterToggleList=function(t,e){return t!==p.Ve&&t!==p.J5||!this.__isOwnCommand?t===p.Nc||t===p.J5||t===p.Ve?this.__removeInputs(e):void 0:this.__appendInputs(e)},e.prototype.__appendInputs=function(t){t.querySelectorAll("li").forEach(this.__prependInputLabel)},e.prototype.__removeInputs=function(t){t.querySelectorAll("label."+this.j.o.todoList.labelClassName).forEach(a.i.safeRemove)},e.prototype.__beforeToggleOrderedList=function(t,e,o){var i,n="__beforeToggleOrderedList";if(t!==p.J5&&(e.classList.contains(this.j.o.todoList.className)||o.isApplied(e,n))&&("ul"===o.element||"ol"===o.element)&&(null===(i=o.options.attributes)||void 0===i?void 0:i.class)!==this.j.o.todoList.className){var s=a.i.replace(e,o.element,this.jodit.createInside);return o.setApplied(s,n),this.__removeInputs(s),s}},e.prototype.__afterEnter=function(){(0,r.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)},e.prototype.__afterTab=function(){(0,r.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(a.i.safeRemove)},e.prototype.__changeSelection=function(t){var e=this.j.s.current();this.isTodoLeafLabel(e)&&(t.preventDefault(),t.stopPropagation(),this.j.s.setCursorAfter(e))},e.prototype.__isEmptyListLeaf=function(t){var e=this;return a.i.isEmpty(t,(function(t){return("input"!==t.nodeName.toLowerCase()||!e.isTodoLeafLabel(t.parentElement))&&l.NO_EMPTY_TAGS.has(t.tagName.toLowerCase())}))},e.prototype.__backSpaceBeforeCases=function(t,e){if(t){var o=a.i.findNotEmptySibling(e,!0);this.isTodoLeafLabel(o)&&a.i.safeRemove(o)}},e.prototype.__isInvisibleForCursor=function(t){if(this.isTodoLeafLabel(t))return!0},e.prototype.__backSpaceAfterDelete=function(){var t=this;(0,r.$$)("label."+this.j.o.todoList.labelClassName,this.jodit.editor).forEach((function(e){e.closest("ul."+t.j.o.todoList.className)?e.previousSibling&&e.parentElement&&a.i.prepend(e.parentElement,e):a.i.safeRemove(e)}))},e.prototype.__afterWrapList=function(t,e){t===p.Qu&&this.__appendInputs(e)},e.prototype.__onClickInput=function(t){var e=t.target;e&&a.i.isTag(e,"input")&&"checkbox"===e.type&&this.isTodoLeafLabel(e.parentElement)&&(0,r.attr)(e,"checked",e.checked?"checked":null)},e.prototype.isTodoLeafLabel=function(t){var e=this.j.o.todoList.labelClassName;return a.i.isHTMLElement(t)&&t.classList.contains(e)},e.prototype.beforeDestruct=function(t){},e.requires=["license"],(0,i.gn)([s.autobind],e.prototype,"onCommand",null),(0,i.gn)([s.autobind],e.prototype,"__prependInputLabel",null),(0,i.gn)([(0,s.watch)(":commitStyleAfterToggleList")],e.prototype,"__afterToggleList",null),(0,i.gn)([(0,s.watch)(":commitStyleBeforeUnwrapList")],e.prototype,"__beforeToggleOrderedList",null),(0,i.gn)([(0,s.watch)(":afterEnter")],e.prototype,"__afterEnter",null),(0,i.gn)([(0,s.watch)(":afterTab")],e.prototype,"__afterTab",null),(0,i.gn)([(0,s.watch)("j.ed:selectionchange"),(0,s.watch)(":afterEnter")],e.prototype,"__changeSelection",null),(0,i.gn)([(0,s.watch)(":enterIsEmptyListLeaf")],e.prototype,"__isEmptyListLeaf",null),(0,i.gn)([(0,s.watch)(":backSpaceBeforeCases")],e.prototype,"__backSpaceBeforeCases",null),(0,i.gn)([(0,s.watch)(":backSpaceIsMovedIgnore"),(0,s.watch)(":isInvisibleForCursor")],e.prototype,"__isInvisibleForCursor",null),(0,i.gn)([(0,s.watch)(":backSpaceAfterDelete")],e.prototype,"__backSpaceAfterDelete",null),(0,i.gn)([s.autobind],e.prototype,"__afterWrapList",null),(0,i.gn)([(0,s.watch)(":click")],e.prototype,"__onClickInput",null),(0,i.gn)([s.autobind],e.prototype,"isTodoLeafLabel",null),e}(n.S));c.y.plugins.add("todo-list",u)}},function(t){return t(t.s=45268)}])}));
|
|
@@ -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: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -38,6 +38,10 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
38
38
|
"use strict";
|
|
39
39
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
40
40
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10503);
|
|
41
|
+
/* harmony import */ var _assets_translate_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70134);
|
|
42
|
+
/* harmony import */ var _assets_translate_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_assets_translate_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
43
|
+
/* harmony import */ var _assets_swap_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9026);
|
|
44
|
+
/* harmony import */ var _assets_swap_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assets_swap_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
41
45
|
/*!
|
|
42
46
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
43
47
|
* See LICENSE.md in the project root for license information.
|
|
@@ -45,6 +49,8 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
45
49
|
*/
|
|
46
50
|
|
|
47
51
|
|
|
52
|
+
|
|
53
|
+
|
|
48
54
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.translate */ .D.prototype.translate = {
|
|
49
55
|
hotkeys: {
|
|
50
56
|
translateSelection: ['ctrl+shift+o', 'cmd+shift+o'],
|
|
@@ -76,7 +82,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.translate
|
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
};
|
|
79
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate',
|
|
85
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate', (_assets_translate_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('translate-swap', (_assets_swap_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
80
86
|
|
|
81
87
|
|
|
82
88
|
/***/ }),
|
|
@@ -92,8 +98,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate
|
|
|
92
98
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52378);
|
|
93
99
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
100
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11612);
|
|
95
|
-
/* harmony import */ var
|
|
96
|
-
|
|
101
|
+
/* harmony import */ var jodit_pro_plugins_translate_providers_languages__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89569);
|
|
97
102
|
/*!
|
|
98
103
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
99
104
|
* See LICENSE.md in the project root for license information.
|
|
@@ -102,6 +107,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate
|
|
|
102
107
|
|
|
103
108
|
|
|
104
109
|
|
|
110
|
+
|
|
105
111
|
var GoogleTranslateProvider = /** @class */ (function () {
|
|
106
112
|
function GoogleTranslateProvider(jodit) {
|
|
107
113
|
this.jodit = jodit;
|
|
@@ -142,7 +148,7 @@ var GoogleTranslateProvider = /** @class */ (function () {
|
|
|
142
148
|
};
|
|
143
149
|
GoogleTranslateProvider.prototype.supportedLanguages = function () {
|
|
144
150
|
return Promise.resolve({
|
|
145
|
-
langs:
|
|
151
|
+
langs: jodit_pro_plugins_translate_providers_languages__WEBPACK_IMPORTED_MODULE_2__/* .languages */ .M
|
|
146
152
|
});
|
|
147
153
|
};
|
|
148
154
|
return GoogleTranslateProvider;
|
|
@@ -313,7 +319,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313
319
|
/* harmony export */ });
|
|
314
320
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97582);
|
|
315
321
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
316
|
-
/* harmony import */ var
|
|
322
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53852);
|
|
317
323
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
318
324
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
|
|
319
325
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4682);
|
|
@@ -371,7 +377,7 @@ var Translate = /** @class */ (function (_super) {
|
|
|
371
377
|
};
|
|
372
378
|
Translate.prototype.afterInit = function (jodit) {
|
|
373
379
|
var _this = this;
|
|
374
|
-
var defaultLanguage = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_10__/* .defaultLanguage */ .X)(jodit.o.language,
|
|
380
|
+
var defaultLanguage = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_10__/* .defaultLanguage */ .X)(jodit.o.language, jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.defaultOptions.language */ .y.defaultOptions.language), language = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_10__/* .defaultLanguage */ .X)(jodit.o.language, defaultLanguage);
|
|
375
381
|
var provider = this.__getProvider();
|
|
376
382
|
jodit
|
|
377
383
|
.registerCommand('translateOptions', {
|
|
@@ -443,7 +449,7 @@ var Translate = /** @class */ (function (_super) {
|
|
|
443
449
|
], Translate.prototype, "state", void 0);
|
|
444
450
|
return Translate;
|
|
445
451
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
446
|
-
|
|
452
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add('translate', Translate);
|
|
447
453
|
|
|
448
454
|
|
|
449
455
|
/***/ }),
|
|
@@ -582,7 +588,7 @@ var UITranslateList = /** @class */ (function (_super) {
|
|
|
582
588
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
583
589
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
584
590
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
585
|
-
/* harmony import */ var
|
|
591
|
+
/* harmony import */ var jodit_pro_plugins_translate_ui_list_list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48458);
|
|
586
592
|
/*!
|
|
587
593
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
588
594
|
* See LICENSE.md in the project root for license information.
|
|
@@ -601,7 +607,7 @@ var UITranslateSettings = /** @class */ (function (_super) {
|
|
|
601
607
|
_this = _super.call(this, jodit) || this;
|
|
602
608
|
_this.state = state;
|
|
603
609
|
_this.options = options;
|
|
604
|
-
_this.__sourceList = new
|
|
610
|
+
_this.__sourceList = new jodit_pro_plugins_translate_ui_list_list__WEBPACK_IMPORTED_MODULE_2__/* .UITranslateList */ .r(jodit, {
|
|
605
611
|
list: options.sourceList,
|
|
606
612
|
active: state.sourceLang,
|
|
607
613
|
onChange: function (lang) {
|
|
@@ -610,7 +616,7 @@ var UITranslateSettings = /** @class */ (function (_super) {
|
|
|
610
616
|
}
|
|
611
617
|
});
|
|
612
618
|
(_a = _this.getElm('source-list')) === null || _a === void 0 ? void 0 : _a.appendChild(_this.__sourceList.container);
|
|
613
|
-
_this.__targetList = new
|
|
619
|
+
_this.__targetList = new jodit_pro_plugins_translate_ui_list_list__WEBPACK_IMPORTED_MODULE_2__/* .UITranslateList */ .r(jodit, {
|
|
614
620
|
list: options.targetList,
|
|
615
621
|
active: state.targetLang,
|
|
616
622
|
onChange: function (lang) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
!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 a in n)("object"==typeof exports?exports:t)[a]=n[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[81],{9026:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},70134:function(t){t.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z"/> <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z"/> </svg>'},50461:function(t,e,n){"use strict";var a=n(77628),i=n(10503);a.D.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},a.D.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec:function(t){t.execCommand("translate")},list:["Options"],childExec:function(t,e,n){t.execCommand("translate"+n.control.name)},mods:{stroke:!1}}},i.J.set("translate",n(70134)).set("translate-swap",n(9026))},88987:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var a=n(97582),i=(n(52378),n(11612),n(89569)),o=function(){function t(t){this.jodit=t}return t.prototype.__fetch=function(t,e){var n=this;void 0===e&&(e={});var i=this.jodit.o.translate.googleProviderOptions;return this.jodit.fetch(i.url+"?key="+i.key,{method:"POST",data:(0,a.pi)((0,a.pi)({},e),{ui:this.jodit.o.language}),contentType:"application/json; charset=utf-8",withCredentials:!1}).then((function(t){return t.json()})).catch((function(t){try{n.jodit.message.error(t.json().message)}catch(t){}}))},t.prototype.translate=function(t,e,n){return this.__fetch("translate",{q:t,source:e,target:n,format:"html"}).then((function(t){return{text:t.data.translations[0].translatedText}}))},t.prototype.supportedLanguages=function(){return Promise.resolve({langs:i.M})},t}()},89569:function(t,e,n){"use strict";n.d(e,{M:function(){return a}});var a={Afrikaans:"af",Albanian:"sq",Amharic:"am",Arabic:"ar",Armenian:"hy","Assamese*":"as","Aymara*":"ay",Azerbaijani:"az","Bambara*":"bm",Basque:"eu",Belarusian:"be",Bengali:"bn","Bhojpuri*":"bho",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Cebuano:"ceb","Chinese (Simplified)":"zh-CN","Chinese (Traditional)":"zh-TW",Corsican:"co",Croatian:"hr",Czech:"cs",Danish:"da","Dhivehi*":"dv","Dogri*":"doi",Dutch:"nl",English:"en",Esperanto:"eo",Estonian:"et","Ewe*":"ee","Filipino (Tagalog)":"fil",Finnish:"fi",French:"fr",Frisian:"fy",Galician:"gl",Georgian:"ka",German:"de",Greek:"el","Guarani*":"gn",Gujarati:"gu","Haitian Creole":"ht",Hausa:"ha",Hawaiian:"haw",Hebrew:"he",Hindi:"hi",Hmong:"hmn",Hungarian:"hu",Icelandic:"is",Igbo:"ig","Ilocano*":"ilo",Indonesian:"id",Irish:"ga",Italian:"it",Japanese:"ja",Kannada:"kn",Kazakh:"kk",Khmer:"km",Kinyarwanda:"rw","Konkani*":"gom",Korean:"ko","Krio*":"kri",Kurdish:"ku","Kurdish (Sorani)*":"ckb",Kyrgyz:"ky",Lao:"lo",Latin:"la",Latvian:"lv","Lingala*":"ln",Lithuanian:"lt","Luganda*":"lg",Luxembourgish:"lb",Macedonian:"mk","Maithili*":"mai",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt",Maori:"mi",Marathi:"mr","Meiteilon (Manipuri)*":"mni-Mtei",Mizo:"lus",Mongolian:"mn","Myanmar (Burmese)":"my",Nepali:"ne",Norwegian:"no","Nyanja (Chichewa)":"ny","Odia (Oriya)":"or","Oromo*":"om",Pashto:"ps",Persian:"fa",Polish:"pl",Portuguese:"pt",Punjabi:"pa","Quechua*":"qu",Romanian:"ro",Russian:"ru",Samoan:"sm","Sanskrit*":"sa","Scots Gaelic":"gd","Sepedi*":"nso",Serbian:"sr",Sesotho:"st",Shona:"sn",Sindhi:"sd","Sinhala (Sinhalese)":"si",Slovak:"sk",Slovenian:"sl",Somali:"so",Spanish:"es",Sundanese:"su",Swahili:"sw",Swedish:"sv","Tagalog (Filipino)":"tl",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th","Tigrinya*":"ti","Tsonga*":"ts",Turkish:"tr",Turkmen:"tk","Twi (Akan)*":"ak",Ukrainian:"uk",Urdu:"ur",Uyghur:"ug",Uzbek:"uz",Vietnamese:"vi",Welsh:"cy",Xhosa:"xh",Yiddish:"yi",Yoruba:"yo",Zulu:"zu"}},46753:function(t,e,n){"use strict";n.r(e),n.d(e,{Translate:function(){return g}});var a=n(97582),i=n(7324),o=n(88292),r=(n(52378),n(4682)),s=n(3262),l=n(50526),c=n(88987),u=(n(50461),n(16874)),h=n(53025),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"translate.translate",group:"insert"}],e.state={sourceLang:e.jodit.o.translate.defaultSourceLang||"en",targetLang:e.jodit.o.translate.defaultTargetLang},e}return(0,a.ZT)(e,t),e.prototype.__getProvider=function(){var t=this.jodit.options.translate.provider;if((0,r.H)(t)){if("google"===t)return new c.A(this.j);throw new Error("Unknown provider")}return t(this.jodit)},e.prototype.afterInit=function(t){var e=this,n=(0,s.X)(t.o.language,o.y.defaultOptions.language),i=(0,s.X)(t.o.language,n),l=this.__getProvider();t.registerCommand("translateOptions",{exec:function(){return(0,a.mG)(e,void 0,void 0,(function(){var e,n,i,o,r=this;return(0,a.Jh)(this,(function(a){switch(a.label){case 0:return e=this.state,(n=t.dlg()).setHeader("Translate options"),[4,l.supportedLanguages()];case 1:return i=a.sent(),o=new u.h(n,this.state,{sourceList:i.langs,targetList:i.langs,onChange:function(t){e=t}}),n.setContent(o),n.setFooter([(0,h.zx)(t,"cancel","Cancel").onAction((function(){return n.close()})),(0,h.zx)(t,"ok","Save","primary").onAction((function(){r.state=e,n.close()}))]),o.bindDestruct(n),n.setSize(500,400).open(!0),[2]}}))}))},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:function(){var n=t.s.html;if(n)return l.translate(n,e.state.sourceLang&&"auto"!==e.state.sourceLang?e.state.sourceLang:i,e.state.targetLang).then((function(e){t.s.range.deleteContents(),t.s.insertNode(t.createInside.text(e.text))})).catch((function(e){t.message.error((0,r.H)(e)?e:e.message)}));t.message.error("Select text for translate")},hotkeys:t.o.translate.hotkeys.translateSelection})},e.prototype.beforeDestruct=function(t){},e.requires=["license"],(0,a.gn)([l.persistent],e.prototype,"state",void 0),e}(i.S);o.y.plugins.add("translate",g)},48458:function(t,e,n){"use strict";n.d(e,{r:function(){return h}});var a=n(97582),i=n(84789),o=n(50526),r=n(44913),s=n(77233),l=n(77902),c=n(95582),u=n(11612),h=function(t){function e(e,n){var a,i=this;(i=t.call(this,e,n)||this).options=n,i.state={active:""},i.state.active=n.active;var o=new l.u(e,{placeholder:e.i18n("Filter"),icon:"search",onChange:i.__onChangeFilter,clearButton:!0});return null===(a=i.getElm("input"))||void 0===a||a.appendChild(o.container),i.__onActiveChange(),i}return(0,a.ZT)(e,t),e.prototype.className=function(){return"UITranslateList"},Object.defineProperty(e.prototype,"items",{get:function(){return this.getElms("item")},enumerable:!1,configurable:!0}),e.prototype.render=function(t){var e=this,n=[];return Object.keys(t.list).sort().forEach((function(a){var i=t.list[a];n.push("<a role='button' tabindex='0' class='&__item' data-lang='".concat(i,"'>\n\t\t\t\t\t\t<span class='&__item-key'>").concat(i,"</span>\n\t\t\t\t\t\t<span class='&__item-title'>").concat(e.j.i18n(a),"</span>\n\t\t\t\t\t</a>"))})),"<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>".concat(n.join(""),"</div>\n\t\t</div>")},e.prototype.__onChangeFilter=function(t){this.items.forEach((function(e){var n,a,i=null!==(a=null===(n=e.textContent)||void 0===n?void 0:n.toLowerCase())&&void 0!==a?a:"";(0,s.L)(e,"data-hidden","true"!==(0,s.L)(e,"data-active")&&!i.includes(t.toLowerCase()))}))},e.prototype.__scrollToActive=function(){var t=this.container.querySelector('[data-active="true"]'),e=this.getElm("list");t&&e&&(0,c.scrollIntoViewIfNeeded)(t,e,this.j.od)},e.prototype.onClickItem=function(t){if("keydown"!==t.type||!("key"in t)||t.key===u.KEY_ENTER){var e=t.target;if(r.i.isHTMLElement(e)&&e.getAttribute("data-lang")){var n=(0,s.L)(e,"data-lang");this.options.onChange(n),this.state.active=n}}},e.prototype.__onActiveChange=function(){var t=this;this.items.forEach((function(e){return(0,s.L)(e,"data-active",(0,s.L)(e,"data-lang")===t.state.active)})),this.__scrollToActive()},(0,a.gn)([(0,o.debounce)()],e.prototype,"__onChangeFilter",null),(0,a.gn)([(0,o.watch)(":afterOpen")],e.prototype,"__scrollToActive",null),(0,a.gn)([(0,o.watch)(["container:click","container:keydown"])],e.prototype,"onClickItem",null),(0,a.gn)([(0,o.watch)("state.active"),(0,o.debounce)()],e.prototype,"__onActiveChange",null),(0,a.gn)([o.component],e)}(i.u)},16874:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var a=n(97582),i=n(75004),o=n(50526),r=n(48458),s=function(t){function e(e,n,i){var o,s,l=this;return(l=t.call(this,e)||this).state=n,l.options=i,l.__sourceList=new r.r(e,{list:i.sourceList,active:n.sourceLang,onChange:function(t){l.state.sourceLang=t,l.options.onChange((0,a.pi)({},l.state))}}),null===(o=l.getElm("source-list"))||void 0===o||o.appendChild(l.__sourceList.container),l.__targetList=new r.r(e,{list:i.targetList,active:n.targetLang,onChange:function(t){l.state.targetLang=t,l.options.onChange((0,a.pi)({},l.state))}}),null===(s=l.getElm("target-list"))||void 0===s||s.appendChild(l.__targetList.container),l}return(0,a.ZT)(e,t),e.prototype.className=function(){return"UITranslateSettings"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"},e.prototype.__onSwap=function(){var t=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=t,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange((0,a.pi)({},this.state))},(0,a.gn)([(0,o.watch)("arrow-swap:click")],e.prototype,"__onSwap",null),(0,a.gn)([o.component],e)}(i.u1)}},function(t){return t(t.s=46753)}])}));
|
|
10
|
+
!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 a in n)("object"==typeof exports?exports:t)[a]=n[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[81],{9026:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},70134:function(t){t.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z"/> <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z"/> </svg>'},50461:function(t,e,n){"use strict";var a=n(77628),i=n(10503),o=n(70134),r=n.n(o),s=n(9026),l=n.n(s);a.D.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},a.D.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec:function(t){t.execCommand("translate")},list:["Options"],childExec:function(t,e,n){t.execCommand("translate"+n.control.name)},mods:{stroke:!1}}},i.J.set("translate",r()).set("translate-swap",l())},88987:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var a=n(97582),i=(n(52378),n(11612),n(89569)),o=function(){function t(t){this.jodit=t}return t.prototype.__fetch=function(t,e){var n=this;void 0===e&&(e={});var i=this.jodit.o.translate.googleProviderOptions;return this.jodit.fetch(i.url+"?key="+i.key,{method:"POST",data:(0,a.pi)((0,a.pi)({},e),{ui:this.jodit.o.language}),contentType:"application/json; charset=utf-8",withCredentials:!1}).then((function(t){return t.json()})).catch((function(t){try{n.jodit.message.error(t.json().message)}catch(t){}}))},t.prototype.translate=function(t,e,n){return this.__fetch("translate",{q:t,source:e,target:n,format:"html"}).then((function(t){return{text:t.data.translations[0].translatedText}}))},t.prototype.supportedLanguages=function(){return Promise.resolve({langs:i.M})},t}()},89569:function(t,e,n){"use strict";n.d(e,{M:function(){return a}});var a={Afrikaans:"af",Albanian:"sq",Amharic:"am",Arabic:"ar",Armenian:"hy","Assamese*":"as","Aymara*":"ay",Azerbaijani:"az","Bambara*":"bm",Basque:"eu",Belarusian:"be",Bengali:"bn","Bhojpuri*":"bho",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Cebuano:"ceb","Chinese (Simplified)":"zh-CN","Chinese (Traditional)":"zh-TW",Corsican:"co",Croatian:"hr",Czech:"cs",Danish:"da","Dhivehi*":"dv","Dogri*":"doi",Dutch:"nl",English:"en",Esperanto:"eo",Estonian:"et","Ewe*":"ee","Filipino (Tagalog)":"fil",Finnish:"fi",French:"fr",Frisian:"fy",Galician:"gl",Georgian:"ka",German:"de",Greek:"el","Guarani*":"gn",Gujarati:"gu","Haitian Creole":"ht",Hausa:"ha",Hawaiian:"haw",Hebrew:"he",Hindi:"hi",Hmong:"hmn",Hungarian:"hu",Icelandic:"is",Igbo:"ig","Ilocano*":"ilo",Indonesian:"id",Irish:"ga",Italian:"it",Japanese:"ja",Kannada:"kn",Kazakh:"kk",Khmer:"km",Kinyarwanda:"rw","Konkani*":"gom",Korean:"ko","Krio*":"kri",Kurdish:"ku","Kurdish (Sorani)*":"ckb",Kyrgyz:"ky",Lao:"lo",Latin:"la",Latvian:"lv","Lingala*":"ln",Lithuanian:"lt","Luganda*":"lg",Luxembourgish:"lb",Macedonian:"mk","Maithili*":"mai",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt",Maori:"mi",Marathi:"mr","Meiteilon (Manipuri)*":"mni-Mtei",Mizo:"lus",Mongolian:"mn","Myanmar (Burmese)":"my",Nepali:"ne",Norwegian:"no","Nyanja (Chichewa)":"ny","Odia (Oriya)":"or","Oromo*":"om",Pashto:"ps",Persian:"fa",Polish:"pl",Portuguese:"pt",Punjabi:"pa","Quechua*":"qu",Romanian:"ro",Russian:"ru",Samoan:"sm","Sanskrit*":"sa","Scots Gaelic":"gd","Sepedi*":"nso",Serbian:"sr",Sesotho:"st",Shona:"sn",Sindhi:"sd","Sinhala (Sinhalese)":"si",Slovak:"sk",Slovenian:"sl",Somali:"so",Spanish:"es",Sundanese:"su",Swahili:"sw",Swedish:"sv","Tagalog (Filipino)":"tl",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th","Tigrinya*":"ti","Tsonga*":"ts",Turkish:"tr",Turkmen:"tk","Twi (Akan)*":"ak",Ukrainian:"uk",Urdu:"ur",Uyghur:"ug",Uzbek:"uz",Vietnamese:"vi",Welsh:"cy",Xhosa:"xh",Yiddish:"yi",Yoruba:"yo",Zulu:"zu"}},46753:function(t,e,n){"use strict";n.r(e),n.d(e,{Translate:function(){return g}});var a=n(97582),i=n(7324),o=n(53852),r=(n(52378),n(4682)),s=n(3262),l=n(50526),c=n(88987),u=(n(50461),n(16874)),h=n(53025),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"translate.translate",group:"insert"}],e.state={sourceLang:e.jodit.o.translate.defaultSourceLang||"en",targetLang:e.jodit.o.translate.defaultTargetLang},e}return(0,a.ZT)(e,t),e.prototype.__getProvider=function(){var t=this.jodit.options.translate.provider;if((0,r.H)(t)){if("google"===t)return new c.A(this.j);throw new Error("Unknown provider")}return t(this.jodit)},e.prototype.afterInit=function(t){var e=this,n=(0,s.X)(t.o.language,o.y.defaultOptions.language),i=(0,s.X)(t.o.language,n),l=this.__getProvider();t.registerCommand("translateOptions",{exec:function(){return(0,a.mG)(e,void 0,void 0,(function(){var e,n,i,o,r=this;return(0,a.Jh)(this,(function(a){switch(a.label){case 0:return e=this.state,(n=t.dlg()).setHeader("Translate options"),[4,l.supportedLanguages()];case 1:return i=a.sent(),o=new u.h(n,this.state,{sourceList:i.langs,targetList:i.langs,onChange:function(t){e=t}}),n.setContent(o),n.setFooter([(0,h.zx)(t,"cancel","Cancel").onAction((function(){return n.close()})),(0,h.zx)(t,"ok","Save","primary").onAction((function(){r.state=e,n.close()}))]),o.bindDestruct(n),n.setSize(500,400).open(!0),[2]}}))}))},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:function(){var n=t.s.html;if(n)return l.translate(n,e.state.sourceLang&&"auto"!==e.state.sourceLang?e.state.sourceLang:i,e.state.targetLang).then((function(e){t.s.range.deleteContents(),t.s.insertNode(t.createInside.text(e.text))})).catch((function(e){t.message.error((0,r.H)(e)?e:e.message)}));t.message.error("Select text for translate")},hotkeys:t.o.translate.hotkeys.translateSelection})},e.prototype.beforeDestruct=function(t){},e.requires=["license"],(0,a.gn)([l.persistent],e.prototype,"state",void 0),e}(i.S);o.y.plugins.add("translate",g)},48458:function(t,e,n){"use strict";n.d(e,{r:function(){return h}});var a=n(97582),i=n(84789),o=n(50526),r=n(44913),s=n(77233),l=n(77902),c=n(95582),u=n(11612),h=function(t){function e(e,n){var a,i=this;(i=t.call(this,e,n)||this).options=n,i.state={active:""},i.state.active=n.active;var o=new l.u(e,{placeholder:e.i18n("Filter"),icon:"search",onChange:i.__onChangeFilter,clearButton:!0});return null===(a=i.getElm("input"))||void 0===a||a.appendChild(o.container),i.__onActiveChange(),i}return(0,a.ZT)(e,t),e.prototype.className=function(){return"UITranslateList"},Object.defineProperty(e.prototype,"items",{get:function(){return this.getElms("item")},enumerable:!1,configurable:!0}),e.prototype.render=function(t){var e=this,n=[];return Object.keys(t.list).sort().forEach((function(a){var i=t.list[a];n.push("<a role='button' tabindex='0' class='&__item' data-lang='".concat(i,"'>\n\t\t\t\t\t\t<span class='&__item-key'>").concat(i,"</span>\n\t\t\t\t\t\t<span class='&__item-title'>").concat(e.j.i18n(a),"</span>\n\t\t\t\t\t</a>"))})),"<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>".concat(n.join(""),"</div>\n\t\t</div>")},e.prototype.__onChangeFilter=function(t){this.items.forEach((function(e){var n,a,i=null!==(a=null===(n=e.textContent)||void 0===n?void 0:n.toLowerCase())&&void 0!==a?a:"";(0,s.L)(e,"data-hidden","true"!==(0,s.L)(e,"data-active")&&!i.includes(t.toLowerCase()))}))},e.prototype.__scrollToActive=function(){var t=this.container.querySelector('[data-active="true"]'),e=this.getElm("list");t&&e&&(0,c.scrollIntoViewIfNeeded)(t,e,this.j.od)},e.prototype.onClickItem=function(t){if("keydown"!==t.type||!("key"in t)||t.key===u.KEY_ENTER){var e=t.target;if(r.i.isHTMLElement(e)&&e.getAttribute("data-lang")){var n=(0,s.L)(e,"data-lang");this.options.onChange(n),this.state.active=n}}},e.prototype.__onActiveChange=function(){var t=this;this.items.forEach((function(e){return(0,s.L)(e,"data-active",(0,s.L)(e,"data-lang")===t.state.active)})),this.__scrollToActive()},(0,a.gn)([(0,o.debounce)()],e.prototype,"__onChangeFilter",null),(0,a.gn)([(0,o.watch)(":afterOpen")],e.prototype,"__scrollToActive",null),(0,a.gn)([(0,o.watch)(["container:click","container:keydown"])],e.prototype,"onClickItem",null),(0,a.gn)([(0,o.watch)("state.active"),(0,o.debounce)()],e.prototype,"__onActiveChange",null),(0,a.gn)([o.component],e)}(i.u)},16874:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var a=n(97582),i=n(75004),o=n(50526),r=n(48458),s=function(t){function e(e,n,i){var o,s,l=this;return(l=t.call(this,e)||this).state=n,l.options=i,l.__sourceList=new r.r(e,{list:i.sourceList,active:n.sourceLang,onChange:function(t){l.state.sourceLang=t,l.options.onChange((0,a.pi)({},l.state))}}),null===(o=l.getElm("source-list"))||void 0===o||o.appendChild(l.__sourceList.container),l.__targetList=new r.r(e,{list:i.targetList,active:n.targetLang,onChange:function(t){l.state.targetLang=t,l.options.onChange((0,a.pi)({},l.state))}}),null===(s=l.getElm("target-list"))||void 0===s||s.appendChild(l.__targetList.container),l}return(0,a.ZT)(e,t),e.prototype.className=function(){return"UITranslateSettings"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"},e.prototype.__onSwap=function(){var t=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=t,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange((0,a.pi)({},this.state))},(0,a.gn)([(0,o.watch)("arrow-swap:click")],e.prototype,"__onSwap",null),(0,a.gn)([o.component],e)}(i.u1)}},function(t){return t(t.s=46753)}])}));
|
|
@@ -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: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -144,7 +144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
144
144
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97582);
|
|
145
145
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
146
146
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
147
|
-
/* harmony import */ var
|
|
147
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53852);
|
|
148
148
|
/* harmony import */ var _ui_tuner_tuner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13027);
|
|
149
149
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82571);
|
|
150
150
|
/*!
|
|
@@ -205,7 +205,7 @@ var tuneBlock = /** @class */ (function (_super) {
|
|
|
205
205
|
], tuneBlock.prototype, "onClickInBlock", null);
|
|
206
206
|
return tuneBlock;
|
|
207
207
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
208
|
-
|
|
208
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add('tune-block', tuneBlock);
|
|
209
209
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
"use strict";!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[288],{82571:function(t,e,o){var n=o(97582),i=o(77628),r=o(8138),s=o(95582),c=["tune.up","tune.remove","tune.down"],u=(0,n.ev)(["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n"],(0,n.CR)(c),!1);function p(t){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+t.toUpperCase()+"</text></svg>",isActive:function(e,o,n){var i;return(null===(i=null==n?void 0:n.target)||void 0===i?void 0:i.tagName.toLowerCase())===t},exec:function(e,o){if(o){e.selection.save();var n=r.i.replace(o,t,e.createInside);e.selection.restore(),e.e.fire("synchro"),e.e.fire("afterExecTune.tune",n)}return!0}}}function l(t){var e=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled:function(t,o,n){var i;return!(null===(i=null==n?void 0:n.target)||void 0===i?void 0:i[e])},exec:function(o,n){var i=null==n?void 0:n[e];return n&&i&&(o.selection.save(),(0,s.call)(t?r.i.before:r.i.after,i,n),o.selection.restore()),o.e.fire("synchro"),o.e.fire("afterExecTune.tune"),!0}}}i.D.prototype.tuneBlock={popup:{p:c,table:c,img:c,blockquote:c,div:c,pre:(0,n.ev)(["tune.editPre"],(0,n.CR)(c),!1),h1:u,h2:u,h3:u,h4:u,h5:u,h6:u}},i.D.prototype.controls.tune={h1:p("h1"),h2:p("h2"),h3:p("h3"),h4:p("h4"),h5:p("h5"),h6:p("h6"),up:l(!0),down:l(!1),editPre:{icon:"pencil",exec:function(t,e){t.e.fire("editPreInPasteCode",e)}},remove:{icon:"bin",exec:function(t,e){r.i.safeRemove(e),t.e.fire("synchro"),t.e.fire("closeTuner.tune"),t.e.fire("hideTuner.tune")}}}},66724:function(t,e,o){o.r(e),o.d(e,{tuneBlock:function(){return u}});var n=o(97582),i=o(7324),r=o(50526),s=o(
|
|
10
|
+
"use strict";!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[288],{82571:function(t,e,o){var n=o(97582),i=o(77628),r=o(8138),s=o(95582),c=["tune.up","tune.remove","tune.down"],u=(0,n.ev)(["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n"],(0,n.CR)(c),!1);function p(t){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+t.toUpperCase()+"</text></svg>",isActive:function(e,o,n){var i;return(null===(i=null==n?void 0:n.target)||void 0===i?void 0:i.tagName.toLowerCase())===t},exec:function(e,o){if(o){e.selection.save();var n=r.i.replace(o,t,e.createInside);e.selection.restore(),e.e.fire("synchro"),e.e.fire("afterExecTune.tune",n)}return!0}}}function l(t){var e=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled:function(t,o,n){var i;return!(null===(i=null==n?void 0:n.target)||void 0===i?void 0:i[e])},exec:function(o,n){var i=null==n?void 0:n[e];return n&&i&&(o.selection.save(),(0,s.call)(t?r.i.before:r.i.after,i,n),o.selection.restore()),o.e.fire("synchro"),o.e.fire("afterExecTune.tune"),!0}}}i.D.prototype.tuneBlock={popup:{p:c,table:c,img:c,blockquote:c,div:c,pre:(0,n.ev)(["tune.editPre"],(0,n.CR)(c),!1),h1:u,h2:u,h3:u,h4:u,h5:u,h6:u}},i.D.prototype.controls.tune={h1:p("h1"),h2:p("h2"),h3:p("h3"),h4:p("h4"),h5:p("h5"),h6:p("h6"),up:l(!0),down:l(!1),editPre:{icon:"pencil",exec:function(t,e){t.e.fire("editPreInPasteCode",e)}},remove:{icon:"bin",exec:function(t,e){r.i.safeRemove(e),t.e.fire("synchro"),t.e.fire("closeTuner.tune"),t.e.fire("hideTuner.tune")}}}},66724:function(t,e,o){o.r(e),o.d(e,{tuneBlock:function(){return u}});var n=o(97582),i=o(7324),r=o(50526),s=o(53852),c=o(13027),u=(o(82571),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.ZT)(e,t),e.prototype.afterInit=function(t){this.tuner=new c.x(t)},e.prototype.hideTuner=function(){this.tuner.hide()},e.prototype.onChangeSelection=function(){this.j.s.isCollapsed()||this.hideTuner()},e.prototype.onClickInBlock=function(t){this.j.s.isCollapsed()&&this.tuner.show()},e.prototype.beforeDestruct=function(t){this.tuner.destruct()},e.requires=["license"],(0,n.gn)([(0,r.watch)(":outsideClick :keydown")],e.prototype,"hideTuner",null),(0,n.gn)([(0,r.watch)("j.ed:selectionchange"),(0,r.debounce)()],e.prototype,"onChangeSelection",null),(0,n.gn)([(0,r.watch)(":click")],e.prototype,"onClickInBlock",null),e}(i.S));s.y.plugins.add("tune-block",u)},13027:function(t,e,o){o.d(e,{x:function(){return p}});var n=o(97582),i=o(75004),r=o(8138),s=o(95582),c=o(50526),u=o(45429),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isShown=!1,e.toolbar=(0,u.R)(e.j,e),e.popup=new i.GI(e.j,!1),e}return(0,n.ZT)(e,t),e.prototype.className=function(){return"UITuner"},e.prototype.render=function(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"},e.prototype.show=function(){var t=this,e=this.j.s.current();if(!e)return this.hide();var o=r.i.isBlock(e)?e:r.i.closest(e,(function(e){return Boolean(e&&t.j.o.tuneBlock.popup[e.nodeName.toLowerCase()])}),this.j.editor);if(!o||o===this.j.editor||!this.j.o.tuneBlock.popup[o.tagName.toLowerCase()])return this.hide();this.currentBlock=o,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)},e.prototype.hide=function(){this.isShown&&(this.isShown=!1,r.i.safeRemove(this.container),this.closeToolbar())},e.prototype.onEditorScroll=function(){this.isShown&&this.calcPosition()},e.prototype.calcPosition=function(){var t=(0,s.css)(this.j.editor,"marginLeft"),e=(0,s.css)(this.j.editor,"paddingLeft"),o=(0,s.css)(this.j.editor,"marginTop"),n=this.currentBlock.offsetTop-this.j.editor.scrollTop+o;(0,s.css)(this.container,{transform:"translate3d(".concat(this.currentBlock.offsetWidth-15+t+e,"px, ").concat(n,"px, 0)")}),this.popup.isOpened&&this.popup.updatePosition()},e.prototype.onAfterExecTune=function(t){t&&(this.currentBlock=t),this.calcPosition(),this.openToolbar()},e.prototype.onClickPrevent=function(t){t.preventDefault(),t.stopPropagation()},e.prototype.onTargetClick=function(){this.toggleToolbar()},e.prototype.openToolbar=function(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){var t=this.getElm("handle");this.popup.open((function(){return(0,s.position)(t)}))}},e.prototype.closeToolbar=function(){this.setMod("opened",!1),this.popup.close()},e.prototype.toggleToolbar=function(){this.getMod("opened")?this.closeToolbar():this.openToolbar()},(0,n.gn)([(0,c.watch)(":hideTuner.tune")],e.prototype,"hide",null),(0,n.gn)([(0,c.watch)("j.editor:scroll"),(0,c.throttle)(10)],e.prototype,"onEditorScroll",null),(0,n.gn)([(0,c.watch)(":afterExecTune.tune"),(0,c.idle)()],e.prototype,"onAfterExecTune",null),(0,n.gn)([(0,c.watch)("container:click container:mousedown")],e.prototype,"onClickPrevent",null),(0,n.gn)([(0,c.watch)("handle:click")],e.prototype,"onTargetClick",null),(0,n.gn)([(0,c.watch)(":closeTuner.tune")],e.prototype,"closeToolbar",null),(0,n.gn)([c.component],e)}(i.u1)}},function(t){return t(t.s=66724)}])}));
|
package/esm/config.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
declare module 'jodit/config' {
|
|
7
|
+
interface Config {
|
|
8
|
+
loadExternalConfig: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {};
|
package/esm/config.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import{Config as a}from"jodit/esm/config.js";a.prototype.controls.font.list={"andale mono,monospace":"Andale Mono","arial,helvetica,sans-serif":"Arial","arial black,sans-serif":"Arial Black","book antiqua,palatino,serif":"Book Antiqua","comic sans ms,sans-serif":"Comic Sans MS","courier new,courier,monospace":"Courier New","georgia,palatino,serif":"Georgia","helvetica,arial,sans-serif":"Helvetica","impact,charcoal,sans-serif":"Impact","symbol,sans-serif":"Symbol","tahoma,arial,helvetica,sans-serif":"Tahoma","terminal,monaco,monospace":"Terminal","times new roman,times,serif":"Times New Roman","trebuchet ms,geneva,sans-serif":"Trebuchet MS","verdana,geneva,sans-serif":"Verdana",webdings:"Webdings","wingdings,zapf dingbats":"Wingdings"},a.prototype.loadExternalConfig=!0;
|