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(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[10],{77842:function(e,t,r){r.r(t),r.d(t,{highlightSignature:function(){return
|
|
10
|
+
"use strict";!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[10],{77842:function(e,t,r){r.r(t),r.d(t,{highlightSignature:function(){return c}});var i=r(97582),o=r(35618),n=r(50526),a=r(44913),s=r(77233),l=r(77628),h=r(53852);l.D.prototype.highlightSignature={schema:{},excludeTags:["pre"]};var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.idleId=0,t}return(0,i.ZT)(t,e),t.prototype.afterInit=function(e){Object.keys(e.o.highlightSignature.schema).length&&e.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",t.removeUtilWrappers)},t.prototype.beforeDestruct=function(e){e.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",t.removeUtilWrappers)},t.prototype.walkNodes=function(){if(this.j.isEditorMode()){this.checkUtilsBoxToSchema();var e=this.j,t=e.ed.createNodeIterator(e.editor,NodeFilter.SHOW_TEXT);this.j.async.cancelIdleCallback(this.idleId),this.workLoop(t)}},t.prototype.runWorker=function(e,t){var r;this.j.e.mute();try{do{if(!(r=t.nextNode()))return;if(this.checkNormalizing(r))return;this.checkReplaceSchemas(r)}while(r&&e.timeRemaining()>0)}finally{this.j.e.unmute()}this.workLoop(t)},t.prototype.workLoop=function(e){var t=this;this.idleId=this.j.async.requestIdleCallback((function(r){t.runWorker(r,e)}),{timeout:this.j.defaultTimeout})},t.prototype.checkNormalizing=function(e){return!!a.i.isText(e.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)},t.prototype.checkReplaceSchemas=function(e){if(!t.hasUtilWrapper(e)){var r=e.nodeValue;if(null!=r){var i=this.j.o.highlightSignature;for(var o in i.schema){var n=RegExp(o);if(n.test(r)){var s=r.match(n);if(!s||void 0===s.index)continue;var l=i.schema[o](this.j,s);if(l)return a.i.markTemporary(l,{dataHighlightSchema:o}),void this.replaceMatchedTextToElm(e,r,s,l)}}}}},t.prototype.replaceMatchedTextToElm=function(e,t,r,i){var o,n=this.j,s=n.s.range,l=s.startContainer===e,h=s.startOffset,c=null!==(o=r.index)&&void 0!==o?o:0;e.nodeValue=t.substring(0,c);var u=t.substring(c+r[0].length);if(u.length){var f=n.createInside.text(u);a.i.after(e,f)}i.innerText=r[0],a.i.after(e,i),l&&this.restoreCursorPosition(h,e,i.firstChild,i.nextSibling)},t.hasUtilWrapper=function(e){return a.i.isTemporary(e.parentElement)},t.removeUtilWrappers=function(e){e.value=a.i.replaceTemporaryFromString(e.value)},t.prototype.restoreCursorPosition=function(e){for(var t,r,o=[],n=1;arguments.length>n;n++)o[n-1]=arguments[n];try{for(var a=(0,i.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(l&&l.nodeValue){var h=l.nodeValue;if(h.length>=e){var c=this.j.s.createRange();c.setStart(l,e),this.j.s.selectRange(c,!1);break}e-=h.length}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},t.prototype.checkUtilsBoxToSchema=function(){var e=this;a.i.temporaryList(this.j.editor).forEach((function(t){var r,i=(0,s.L)(t,"dataHighlightSchema");if(i){var o=RegExp(i),n=null!==(r=t.innerText)&&void 0!==r?r:"";o.test(n)&&!n.replace(o,"").length||(e.j.s.save(),a.i.unwrap(t),e.j.s.restore())}}))},t.requires=["license"],(0,i.gn)([(0,n.debounce)()],t.prototype,"walkNodes",null),(0,i.gn)([n.autobind],t.prototype,"runWorker",null),t}(o.S);h.y.plugins.add("highlight-signature",c)}},function(e){return e(e.s=77842)}])}));
|
|
@@ -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
|
*/
|
|
@@ -30,8 +30,10 @@ module.exports = "<svg viewBox=\"0 0 32 32\" xml:space=\"preserve\" xmlns=\"http
|
|
|
30
30
|
|
|
31
31
|
"use strict";
|
|
32
32
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
33
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44913);
|
|
34
|
+
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(57728);
|
|
35
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11192);
|
|
36
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
35
37
|
/*!
|
|
36
38
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
37
39
|
* See LICENSE.md in the project root for license information.
|
|
@@ -40,19 +42,20 @@ module.exports = "<svg viewBox=\"0 0 32 32\" xml:space=\"preserve\" xmlns=\"http
|
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
|
|
45
|
+
|
|
43
46
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.iframeEditor */ .D.prototype.controls.iframeEditor = {
|
|
44
|
-
icon:
|
|
47
|
+
icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
45
48
|
tooltip: 'Iframe Editor',
|
|
46
49
|
exec: function (editor, iframe) {
|
|
47
|
-
if (
|
|
48
|
-
|
|
50
|
+
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom.isTag */ .i.isTag(iframe, 'jodit') &&
|
|
51
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom.isTag */ .i.isTag(iframe.firstElementChild, 'iframe')) {
|
|
49
52
|
iframe = iframe.firstElementChild;
|
|
50
53
|
}
|
|
51
|
-
editor.e.fire('toggleIframeEditor',
|
|
54
|
+
editor.e.fire('toggleIframeEditor', jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom.isTag */ .i.isTag(iframe, 'iframe') ? iframe : null);
|
|
52
55
|
}
|
|
53
56
|
};
|
|
54
57
|
// @ts-ignore
|
|
55
|
-
if ((0,
|
|
58
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__/* .isArray */ .k)(jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.popup.iframe */ .D.prototype.popup.iframe)) {
|
|
56
59
|
// @ts-ignore
|
|
57
60
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.popup.iframe.push */ .D.prototype.popup.iframe.push('iframeEditor');
|
|
58
61
|
}
|
|
@@ -74,7 +77,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74
77
|
/* harmony import */ var _ui_iframe_editor_iframe_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1161);
|
|
75
78
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50526);
|
|
76
79
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8138);
|
|
77
|
-
/* harmony import */ var
|
|
80
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53852);
|
|
78
81
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(29788);
|
|
79
82
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(95582);
|
|
80
83
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8633);
|
|
@@ -197,7 +200,7 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
197
200
|
], IframeEditor.prototype, "onDblClick", null);
|
|
198
201
|
return IframeEditor;
|
|
199
202
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
200
|
-
|
|
203
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.plugins.add */ .y.plugins.add('iframe-editor', IframeEditor);
|
|
201
204
|
|
|
202
205
|
|
|
203
206
|
/***/ }),
|
|
@@ -209,9 +212,9 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
209
212
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
210
213
|
/* harmony export */ "w": function() { return /* binding */ UIIframeEditor; }
|
|
211
214
|
/* harmony export */ });
|
|
212
|
-
/* harmony import */ var
|
|
215
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97582);
|
|
213
216
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
214
|
-
/* harmony import */ var
|
|
217
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94707);
|
|
215
218
|
/*!
|
|
216
219
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
217
220
|
* See LICENSE.md in the project root for license information.
|
|
@@ -222,7 +225,7 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
222
225
|
|
|
223
226
|
|
|
224
227
|
var UIIframeEditor = /** @class */ (function (_super) {
|
|
225
|
-
(0,
|
|
228
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_1__/* .__extends */ .ZT)(UIIframeEditor, _super);
|
|
226
229
|
function UIIframeEditor(jodit, opt) {
|
|
227
230
|
var _this = _super.call(this, jodit) || this;
|
|
228
231
|
_this.state = {
|
|
@@ -300,8 +303,8 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
300
303
|
UIIframeEditor.prototype.className = function () {
|
|
301
304
|
return 'UIIframeEditor';
|
|
302
305
|
};
|
|
303
|
-
UIIframeEditor = (0,
|
|
304
|
-
|
|
306
|
+
UIIframeEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_1__/* .__decorate */ .gn)([
|
|
307
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_2__/* .component */ .w
|
|
305
308
|
], UIIframeEditor);
|
|
306
309
|
return UIIframeEditor;
|
|
307
310
|
}(jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .qe));
|
|
@@ -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(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[382],{11192:function(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},8633:function(e,t,i){"use strict";var o=i(77628),n=i(
|
|
10
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[382],{11192:function(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},8633:function(e,t,i){"use strict";var o=i(77628),n=i(44913),r=i(57728),a=i(11192);o.D.prototype.controls.iframeEditor={icon:i.n(a)(),tooltip:"Iframe Editor",exec:function(e,t){n.i.isTag(t,"jodit")&&n.i.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",n.i.isTag(t,"iframe")?t:null)}},(0,r.k)(o.D.prototype.popup.iframe)&&o.D.prototype.popup.iframe.push("iframeEditor")},54521:function(e,t,i){"use strict";i.r(t),i.d(t,{IframeEditor:function(){return f}});var o=i(97582),n=i(7324),r=i(8079),a=i(1161),l=i(50526),s=i(8138),u=i(53852),d=i(29788),c=i(95582),f=(i(8633),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{group:"form",name:"iframeEditor"}],t}return(0,o.ZT)(t,e),t.prototype.afterInit=function(e){e.e.on("toggleIframeEditor",this.toggleEditor)},t.prototype.toggleEditor=function(e){var t,i,o,n,l,u=this;this.__dialog||(this.__dialog=new r.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!s.i.isTag(e,"iframe")&&(e=void 0);var f=new a.w(this.__dialog,{src:null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"",name:null!==(i=null==e?void 0:e.name)&&void 0!==i?i:"",title:null!==(o=null==e?void 0:e.title)&&void 0!==o?o:"",frameBorder:"1"===(null==e?void 0:e.frameBorder)||"yes"===(null==e?void 0:e.frameBorder),width:null!==(n=null==e?void 0:e.offsetWidth)&&void 0!==n?n:700,height:null!==(l=null==e?void 0:e.offsetHeight)&&void 0!==l?l:400});this.__dialog.setContent(f);var h=this.__dialog;h.isOpened?h.close():(h.setFooter([(0,d.zx)(h,"cancel","Cancel","default").onAction((function(){return h.close()})),(0,d.zx)(h,"ok",e?"Update":"Insert","primary").onAction((function(){if(!f.srcField.value)return f.srcField.validate(),void f.srcField.focus();e||(e=u.j.createInside.element("iframe"),u.j.s.insertNode(e,!0,!1)),e.className=f.state.className||"",(0,c.attr)(e,{src:f.state.src,title:f.state.title,name:f.state.name,frameborder:f.state.frameBorder?"1":"0",width:f.state.width,height:f.state.height}),s.i.isTag(e.parentElement,"jodit")&&(0,c.css)(e.parentElement,{width:f.state.width,height:f.state.height}),u.jodit.e.fire("synchro"),h.close()}))]).open(),this.jodit.async.requestIdleCallback((function(){f.srcField.focus()})))},t.prototype.onDblClick=function(e){s.i.isTag(e.target,"iframe")&&this.toggleEditor(e.target)},t.prototype.beforeDestruct=function(e){var t;null===(t=this.__dialog)||void 0===t||t.destruct()},t.requires=["license","color-picker"],(0,o.gn)([l.autobind],t.prototype,"toggleEditor",null),(0,o.gn)([(0,l.watch)(":dblclick")],t.prototype,"onDblClick",null),t}(n.S));u.y.plugins.add("iframe-editor",f)},1161:function(e,t,i){"use strict";i.d(t,{w:function(){return a}});var o=i(97582),n=i(75004),r=i(94707),a=function(e){function t(t,i){var o=e.call(this,t)||this;return o.state={src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""},Object.assign(o.state,i),o.srcField=new n.u3(t,{label:"URL",type:"url",required:!0,value:o.state.src,onChange:function(e){o.state.src=e}}),o.append([o.srcField,new n.eC(t,[new n.u3(t,{label:"Width",type:"number",value:o.state.width,onChange:function(e){o.state.width=parseInt(e,10)||0}}),new n.u3(t,{label:"Height",type:"number",value:o.state.height,onChange:function(e){o.state.height=parseInt(e,10)||0}})],{className:o.getFullElName("block"),align:"center"}),new n.eC(t,[new n.mA(t,{label:"Show frame border",checked:Boolean(i.frameBorder),onChange:function(e){o.state.frameBorder="true"===e}})]),new n.u3(t,{label:"Name",value:o.state.name,type:"text",onChange:function(e){o.state.name=e}}),new n.u3(t,{label:"Title",value:o.state.title,type:"text",onChange:function(e){o.state.title=e}})]),o}return(0,o.ZT)(t,e),t.prototype.className=function(){return"UIIframeEditor"},(0,o.gn)([r.w],t)}(n.qe)}},function(e){return e(e.s=54521)}])}));
|
|
@@ -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
|
*/
|
|
@@ -65,6 +65,9 @@ module.exports = "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
65
65
|
|
|
66
66
|
"use strict";
|
|
67
67
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
68
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(48326);
|
|
69
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
|
|
70
|
+
|
|
68
71
|
|
|
69
72
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.keyboard */ .D.prototype.keyboard = {
|
|
70
73
|
defaultLayoutSet: 'en',
|
|
@@ -173,7 +176,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.keyboard */ .D.pro
|
|
|
173
176
|
};
|
|
174
177
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.keyboard */ .D.prototype.controls.keyboard = {
|
|
175
178
|
tooltip: 'Keyboard',
|
|
176
|
-
icon:
|
|
179
|
+
icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
|
|
177
180
|
isActive: function (editor) {
|
|
178
181
|
return Boolean(editor.e.fire('isKeyboardOpened'));
|
|
179
182
|
},
|
|
@@ -194,7 +197,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
194
197
|
/* harmony export */ });
|
|
195
198
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97582);
|
|
196
199
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
197
|
-
/* harmony import */ var
|
|
200
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53852);
|
|
198
201
|
/* harmony import */ var _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21295);
|
|
199
202
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50526);
|
|
200
203
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72257);
|
|
@@ -218,7 +221,7 @@ var keyboard = /** @class */ (function (_super) {
|
|
|
218
221
|
var _a;
|
|
219
222
|
var _this = _super.call(this, jodit) || this;
|
|
220
223
|
/** @override */
|
|
221
|
-
_this.hasStyle = !
|
|
224
|
+
_this.hasStyle = !jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.fatMode */ .y.fatMode;
|
|
222
225
|
/** @override */
|
|
223
226
|
_this.buttons = [
|
|
224
227
|
{
|
|
@@ -318,7 +321,7 @@ var keyboard = /** @class */ (function (_super) {
|
|
|
318
321
|
], keyboard.prototype, "toggleKeyboard", null);
|
|
319
322
|
return keyboard;
|
|
320
323
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
321
|
-
|
|
324
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add('keyboard', keyboard);
|
|
322
325
|
|
|
323
326
|
|
|
324
327
|
/***/ }),
|
|
@@ -330,12 +333,21 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
330
333
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
331
334
|
/* harmony export */ "r": function() { return /* binding */ UIKeyboard; }
|
|
332
335
|
/* harmony export */ });
|
|
333
|
-
/* harmony import */ var
|
|
336
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97582);
|
|
334
337
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
335
338
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
336
339
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98478);
|
|
337
340
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11612);
|
|
338
|
-
/* harmony import */ var
|
|
341
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31169);
|
|
342
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
343
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(44660);
|
|
344
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
345
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(37967);
|
|
346
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
347
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92100);
|
|
348
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
349
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(82333);
|
|
350
|
+
/* harmony import */ var jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
339
351
|
/*!
|
|
340
352
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
341
353
|
* See LICENSE.md in the project root for license information.
|
|
@@ -348,8 +360,13 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
348
360
|
|
|
349
361
|
|
|
350
362
|
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
351
368
|
var UIKeyboard = /** @class */ (function (_super) {
|
|
352
|
-
(0,
|
|
369
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__extends */ .ZT)(UIKeyboard, _super);
|
|
353
370
|
function UIKeyboard(jodit) {
|
|
354
371
|
var _this = _super.call(this, jodit) || this;
|
|
355
372
|
_this.state = {
|
|
@@ -503,21 +520,21 @@ var UIKeyboard = /** @class */ (function (_super) {
|
|
|
503
520
|
case 'Enter':
|
|
504
521
|
return jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .Icon.get */ .JO.get('enter');
|
|
505
522
|
case 'Backspace':
|
|
506
|
-
return
|
|
523
|
+
return (jodit_pro_plugins_keyboard_ui_assets_backspace_svg__WEBPACK_IMPORTED_MODULE_4___default());
|
|
507
524
|
case 'Shift':
|
|
508
|
-
return
|
|
525
|
+
return (jodit_pro_plugins_keyboard_ui_assets_shift_svg__WEBPACK_IMPORTED_MODULE_5___default());
|
|
509
526
|
case 'Caps':
|
|
510
|
-
return
|
|
527
|
+
return (jodit_pro_plugins_keyboard_ui_assets_caps_svg__WEBPACK_IMPORTED_MODULE_6___default());
|
|
511
528
|
case 'Options':
|
|
512
|
-
return
|
|
529
|
+
return (jodit_pro_plugins_keyboard_ui_assets_dots_svg__WEBPACK_IMPORTED_MODULE_7___default());
|
|
513
530
|
case 'Tab':
|
|
514
|
-
return
|
|
531
|
+
return (jodit_pro_plugins_keyboard_ui_assets_tab_svg__WEBPACK_IMPORTED_MODULE_8___default());
|
|
515
532
|
default:
|
|
516
533
|
return value;
|
|
517
534
|
}
|
|
518
535
|
};
|
|
519
536
|
var UIKeyboard_1;
|
|
520
|
-
(0,
|
|
537
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
521
538
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
522
539
|
'state.currentLayout',
|
|
523
540
|
'state.options',
|
|
@@ -525,19 +542,19 @@ var UIKeyboard = /** @class */ (function (_super) {
|
|
|
525
542
|
'state.caps'
|
|
526
543
|
])
|
|
527
544
|
], UIKeyboard.prototype, "onStateChange", null);
|
|
528
|
-
(0,
|
|
545
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
529
546
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['ow:mouseup'])
|
|
530
547
|
], UIKeyboard.prototype, "onKeyUp", null);
|
|
531
|
-
(0,
|
|
548
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
532
549
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
533
550
|
], UIKeyboard.prototype, "onReady", null);
|
|
534
|
-
(0,
|
|
535
|
-
|
|
551
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
552
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
536
553
|
], UIKeyboard.prototype, "stopPress", null);
|
|
537
|
-
(0,
|
|
554
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
538
555
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['container:mousedown', 'container:touchstart'])
|
|
539
556
|
], UIKeyboard.prototype, "onKeyDown", null);
|
|
540
|
-
UIKeyboard = UIKeyboard_1 = (0,
|
|
557
|
+
UIKeyboard = UIKeyboard_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
541
558
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
542
559
|
], UIKeyboard);
|
|
543
560
|
return UIKeyboard;
|
|
@@ -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 s in o)("object"==typeof exports?exports:t)[s]=o[s]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[283],{48326:function(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},31169:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},37967:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},92100:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},44660:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},82333:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},72257:function(t,e,o){"use strict";var s=o(77628);s.D.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},s.D.prototype.controls.keyboard={tooltip:"Keyboard",icon:o(48326),isActive:function(t){return Boolean(t.e.fire("isKeyboardOpened"))},command:"toggleKeyboard"},s.D.prototype.controls.extraKeyboardButtons={}},34295:function(t,e,o){"use strict";o.r(e),o.d(e,{keyboard:function(){return y}});var s=o(97582),r=o(7324),a=o(88292),n=o(21295),i=o(50526),c=(o(72257),o(8079)),p=o(75004),h=o(71350),u=o(77628),y=function(t){function e(e){var o,s=t.call(this,e)||this;s.hasStyle=!a.y.fatMode,s.buttons=[{group:"insert",name:"keyboard"}];var r=(o=e.o.keyboard).extraKeyButtons,n=o.extraKeyGroup;return r.length&&r.forEach((function(t,o){var s=(0,h.HD)(t)?t:t.key,r=(0,h.HD)(t)||!t.hotkeys?["ctrl+".concat(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons.".concat(s),group:n}),u.D.defaultOptions.controls.extraKeyboardButtons[s]={name:s,tooltip:s,args:[s],hotkeys:r,command:"insertChar"}})),s}return(0,s.ZT)(e,t),e.prototype.afterInit=function(t){var e=this;t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(function(){var t;return null===(t=e.__keyboard)||void 0===t?void 0:t.isOpened}))},e.prototype.insertChar=function(t,e,o){this.j.s.insertNode(this.j.createInside.text(o))},e.prototype.toggleKeyboard=function(){var t;if(!this.__keyboard){this.__keyboard=new c.Dialog({toolbarButtonSize:"tiny"});var e=new n.r(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(e);var o=(t=this.j.o.keyboard).showLayoutSwitcher,s=t.layoutList;if(o){var r=new p.Cj(this.__keyboard,{value:e.state.currentLayout,options:t.layoutSwitchList.map((function(t){var e,o;return{text:null!==(o=null===(e=s[t])||void 0===e?void 0:e.title)&&void 0!==o?o:t,value:t}})),onChange:function(t){e.state.currentLayout=t}});r.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(r)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()},e.prototype.beforeDestruct=function(t){var e;null===(e=this.__keyboard)||void 0===e||e.destruct()},e.requires=["license"],(0,s.gn)([i.autobind],e.prototype,"insertChar",null),(0,s.gn)([i.autobind],e.prototype,"toggleKeyboard",null),e}(r.S);a.y.plugins.add("keyboard",y)},21295:function(t,e,o){"use strict";o.d(e,{r:function(){return p}});var s=o(97582),r=o(75004),a=o(50526),n=o(98478),i=o(11612),c=o(23185),p=function(t){function e(e){var o=t.call(this,e)||this;return o.state={caps:!1,shift:!1,options:!1,currentLayout:o.j.o.keyboard.defaultLayoutSet},o._keys=o.getElms("key"),o.pressed=!1,o.reKeyDownTimeout=0,o.onStateChange(),o}var p;return(0,s.ZT)(e,t),p=e,e.prototype.className=function(){return"UIKeyboard"},e.prototype.render=function(){var t,e=(t=this.j.options.keyboard).layout,o=t.keySize,s=e.length;return"<div>".concat(function(){for(var t=[],r=0;s>r;r+=1){for(var a=[],n=0;e[r].length>n;n+=1)a.push('<div style="width:'.concat(o*e[r][n],"px;height:").concat(o,'px;" class="&__key"></div>'));t.push("<div class='&__row'>".concat(a.join("\n"),"</div>"))}return t.join("\n")}(),"</div>")},e.prototype.onStateChange=function(){for(var t,e=(t=this.state).currentLayout,o=t.options,s=t.shift,r=t.caps,a=this.j.o.keyboard.layoutList[e].keys,n=0,i=0;a.length>i;i+=1)for(var c=0;a[i].length>c;c+=1){var h=a[i][c].split(" "),u=h[0];s&&(u=h[1]),!s&&r&&h[1]&&p.isLetter(h[0])&&(u=h[1]),o&&(u=h[2]),this.setKeyValue(n,null!=u?u:h[0]),n+=1}},e.isLetter=function(t){return t.toLowerCase()!==t.toUpperCase()},e.prototype.setKeyValue=function(t,e){var o,s=this._keys[t];if(s){var r=!1,a=(o=this.state).options,i=o.shift,c=o.caps;switch(e){case"Caps":r=c;break;case"Options":r=a;break;case"Shift":r=i}s.innerHTML=p.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),r),(0,n.attr)(s,"-key",e)}},e.prototype.onKeyUp=function(){this.pressed&&this.stopPress()},e.prototype.onReady=function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)},e.prototype.stopPress=function(){var t=this;this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((function(e){e.classList.remove(t.getFullElName("key","pressed",!0))})))},e.prototype.onKeyDown=function(t,e){var o,s=this;void 0===e&&(e=0);var r=t.target;if(!r||!r.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,r.classList.add(this.getFullElName("key","pressed",!0));var a=(0,n.attr)(r,"-key");switch(a){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:a,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(i.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),a&&this.j.s.insertNode(this.j.createInside.text(a))}var c=(o=this.j.o.keyboard).periodKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout((function(){return s.onKeyDown(t,c)}),e||o.delayKeyRepeat),!1},e.decorate=function(t){switch(t){case"Space":return"";case"Enter":return r.JO.get("enter");case"Backspace":return o(31169);case"Shift":return o(44660);case"Caps":return o(37967);case"Options":return o(92100);case"Tab":return o(82333);default:return t}},(0,s.gn)([(0,a.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],e.prototype,"onStateChange",null),(0,s.gn)([(0,a.watch)(["ow:mouseup"])],e.prototype,"onKeyUp",null),(0,s.gn)([(0,a.hook)("ready")],e.prototype,"onReady",null),(0,s.gn)([c.ZP],e.prototype,"stopPress",null),(0,s.gn)([(0,a.watch)(["container:mousedown","container:touchstart"])],e.prototype,"onKeyDown",null),p=(0,s.gn)([a.component],e)}(r.u1)}},function(t){return t(t.s=34295)}])}));
|
|
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 s in o)("object"==typeof exports?exports:t)[s]=o[s]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[283],{48326:function(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},31169:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},37967:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},92100:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},44660:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},82333:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},72257:function(t,e,o){"use strict";var s=o(77628),n=o(48326),r=o.n(n);s.D.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},s.D.prototype.controls.keyboard={tooltip:"Keyboard",icon:r(),isActive:function(t){return Boolean(t.e.fire("isKeyboardOpened"))},command:"toggleKeyboard"},s.D.prototype.controls.extraKeyboardButtons={}},34295:function(t,e,o){"use strict";o.r(e),o.d(e,{keyboard:function(){return y}});var s=o(97582),n=o(7324),r=o(53852),a=o(21295),i=o(50526),c=(o(72257),o(8079)),p=o(75004),h=o(71350),u=o(77628),y=function(t){function e(e){var o,s=t.call(this,e)||this;s.hasStyle=!r.y.fatMode,s.buttons=[{group:"insert",name:"keyboard"}];var n=(o=e.o.keyboard).extraKeyButtons,a=o.extraKeyGroup;return n.length&&n.forEach((function(t,o){var s=(0,h.HD)(t)?t:t.key,n=(0,h.HD)(t)||!t.hotkeys?["ctrl+".concat(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons.".concat(s),group:a}),u.D.defaultOptions.controls.extraKeyboardButtons[s]={name:s,tooltip:s,args:[s],hotkeys:n,command:"insertChar"}})),s}return(0,s.ZT)(e,t),e.prototype.afterInit=function(t){var e=this;t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(function(){var t;return null===(t=e.__keyboard)||void 0===t?void 0:t.isOpened}))},e.prototype.insertChar=function(t,e,o){this.j.s.insertNode(this.j.createInside.text(o))},e.prototype.toggleKeyboard=function(){var t;if(!this.__keyboard){this.__keyboard=new c.Dialog({toolbarButtonSize:"tiny"});var e=new a.r(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(e);var o=(t=this.j.o.keyboard).showLayoutSwitcher,s=t.layoutList;if(o){var n=new p.Cj(this.__keyboard,{value:e.state.currentLayout,options:t.layoutSwitchList.map((function(t){var e,o;return{text:null!==(o=null===(e=s[t])||void 0===e?void 0:e.title)&&void 0!==o?o:t,value:t}})),onChange:function(t){e.state.currentLayout=t}});n.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(n)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()},e.prototype.beforeDestruct=function(t){var e;null===(e=this.__keyboard)||void 0===e||e.destruct()},e.requires=["license"],(0,s.gn)([i.autobind],e.prototype,"insertChar",null),(0,s.gn)([i.autobind],e.prototype,"toggleKeyboard",null),e}(n.S);r.y.plugins.add("keyboard",y)},21295:function(t,e,o){"use strict";o.d(e,{r:function(){return k}});var s=o(97582),n=o(75004),r=o(50526),a=o(98478),i=o(11612),c=o(31169),p=o.n(c),h=o(44660),u=o.n(h),y=o(37967),l=o.n(y),d=o(92100),f=o.n(d),v=o(82333),g=o.n(v),k=function(t){function e(e){var o=t.call(this,e)||this;return o.state={caps:!1,shift:!1,options:!1,currentLayout:o.j.o.keyboard.defaultLayoutSet},o._keys=o.getElms("key"),o.pressed=!1,o.reKeyDownTimeout=0,o.onStateChange(),o}var o;return(0,s.ZT)(e,t),o=e,e.prototype.className=function(){return"UIKeyboard"},e.prototype.render=function(){var t,e=(t=this.j.options.keyboard).layout,o=t.keySize,s=e.length;return"<div>".concat(function(){for(var t=[],n=0;s>n;n+=1){for(var r=[],a=0;e[n].length>a;a+=1)r.push('<div style="width:'.concat(o*e[n][a],"px;height:").concat(o,'px;" class="&__key"></div>'));t.push("<div class='&__row'>".concat(r.join("\n"),"</div>"))}return t.join("\n")}(),"</div>")},e.prototype.onStateChange=function(){for(var t,e=(t=this.state).currentLayout,s=t.options,n=t.shift,r=t.caps,a=this.j.o.keyboard.layoutList[e].keys,i=0,c=0;a.length>c;c+=1)for(var p=0;a[c].length>p;p+=1){var h=a[c][p].split(" "),u=h[0];n&&(u=h[1]),!n&&r&&h[1]&&o.isLetter(h[0])&&(u=h[1]),s&&(u=h[2]),this.setKeyValue(i,null!=u?u:h[0]),i+=1}},e.isLetter=function(t){return t.toLowerCase()!==t.toUpperCase()},e.prototype.setKeyValue=function(t,e){var s,n=this._keys[t];if(n){var r=!1,i=(s=this.state).options,c=s.shift,p=s.caps;switch(e){case"Caps":r=p;break;case"Options":r=i;break;case"Shift":r=c}n.innerHTML=o.decorate(e),n.classList.toggle(this.getFullElName("key","active",!0),r),(0,a.attr)(n,"-key",e)}},e.prototype.onKeyUp=function(){this.pressed&&this.stopPress()},e.prototype.onReady=function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)},e.prototype.stopPress=function(){var t=this;this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((function(e){e.classList.remove(t.getFullElName("key","pressed",!0))})))},e.prototype.onKeyDown=function(t,e){var o,s=this;void 0===e&&(e=0);var n=t.target;if(!n||!n.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,n.classList.add(this.getFullElName("key","pressed",!0));var r=(0,a.attr)(n,"-key");switch(r){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:r,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(i.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),r&&this.j.s.insertNode(this.j.createInside.text(r))}var c=(o=this.j.o.keyboard).periodKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout((function(){return s.onKeyDown(t,c)}),e||o.delayKeyRepeat),!1},e.decorate=function(t){switch(t){case"Space":return"";case"Enter":return n.JO.get("enter");case"Backspace":return p();case"Shift":return u();case"Caps":return l();case"Options":return f();case"Tab":return g();default:return t}},(0,s.gn)([(0,r.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],e.prototype,"onStateChange",null),(0,s.gn)([(0,r.watch)(["ow:mouseup"])],e.prototype,"onKeyUp",null),(0,s.gn)([(0,r.hook)("ready")],e.prototype,"onReady",null),(0,s.gn)([r.autobind],e.prototype,"stopPress",null),(0,s.gn)([(0,r.watch)(["container:mousedown","container:touchstart"])],e.prototype,"onKeyDown",null),o=(0,s.gn)([r.component],e)}(n.u1)}},function(t){return t(t.s=34295)}])}));
|
|
@@ -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
|
*/
|
|
@@ -34,7 +34,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
34
34
|
/* harmony export */ "d": function() { return /* binding */ dataBindStoredKey; }
|
|
35
35
|
/* harmony export */ });
|
|
36
36
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
37
|
-
/* harmony import */ var
|
|
37
|
+
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16992);
|
|
38
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74937);
|
|
39
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38
40
|
/*!
|
|
39
41
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
40
42
|
* See LICENSE.md in the project root for license information.
|
|
@@ -42,6 +44,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
42
44
|
*/
|
|
43
45
|
|
|
44
46
|
|
|
47
|
+
|
|
45
48
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.mobileView */ .D.prototype.mobileView = {
|
|
46
49
|
mode: 'default'
|
|
47
50
|
};
|
|
@@ -49,19 +52,19 @@ var dataBindStoredKey = 'buttonmobileSView';
|
|
|
49
52
|
var dataBindCurrentKey = 'buttonmobileCView';
|
|
50
53
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.mobileView */ .D.prototype.controls.mobileView = {
|
|
51
54
|
tooltip: 'Mobile View',
|
|
52
|
-
icon:
|
|
55
|
+
icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
53
56
|
command: 'mobileView',
|
|
54
57
|
isActive: function (editor, control) {
|
|
55
|
-
return (0,
|
|
56
|
-
(0,
|
|
58
|
+
return (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .q)(editor, dataBindCurrentKey) &&
|
|
59
|
+
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .q)(editor, dataBindCurrentKey) !== 'default';
|
|
57
60
|
},
|
|
58
61
|
isChildActive: function (editor, control) {
|
|
59
62
|
var _a;
|
|
60
|
-
return (0,
|
|
63
|
+
return (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .q)(editor, dataBindCurrentKey) === ((_a = control.args) === null || _a === void 0 ? void 0 : _a[1]);
|
|
61
64
|
},
|
|
62
65
|
exec: function (editor) {
|
|
63
|
-
if ((0,
|
|
64
|
-
editor.execCommand('mobileView', false, (0,
|
|
66
|
+
if ((0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .q)(editor, dataBindStoredKey)) {
|
|
67
|
+
editor.execCommand('mobileView', false, (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .q)(editor, dataBindStoredKey));
|
|
65
68
|
return;
|
|
66
69
|
}
|
|
67
70
|
return false;
|
|
@@ -90,7 +93,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.mobileVie
|
|
|
90
93
|
__webpack_require__.r(__webpack_exports__);
|
|
91
94
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97582);
|
|
92
95
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
93
|
-
/* harmony import */ var
|
|
96
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53852);
|
|
94
97
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50526);
|
|
95
98
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98478);
|
|
96
99
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74404);
|
|
@@ -161,7 +164,7 @@ var MobileView = /** @class */ (function (_super) {
|
|
|
161
164
|
], MobileView);
|
|
162
165
|
return MobileView;
|
|
163
166
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
164
|
-
|
|
167
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add('mobileView', MobileView);
|
|
165
168
|
|
|
166
169
|
|
|
167
170
|
/***/ })
|
|
@@ -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(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[906],{74937:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},74404:function(e,t,o){"use strict";o.d(t,{D:function(){return a},d:function(){return
|
|
10
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[906],{74937:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},74404:function(e,t,o){"use strict";o.d(t,{D:function(){return a},d:function(){return l}});var i=o(77628),n=o(16992),r=o(74937),u=o.n(r);i.D.prototype.mobileView={mode:"default"};var l="buttonmobileSView",a="buttonmobileCView";i.D.prototype.controls.mobileView={tooltip:"Mobile View",icon:u(),command:"mobileView",isActive:function(e,t){return(0,n.q)(e,a)&&"default"!==(0,n.q)(e,a)},isChildActive:function(e,t){var o;return(0,n.q)(e,a)===(null===(o=t.args)||void 0===o?void 0:o[1])},exec:function(e){if(!(0,n.q)(e,l))return!1;e.execCommand("mobileView",!1,(0,n.q)(e,l))},childExec:function(e,t,o){var i,n;e.execCommand("mobileView",!1,null===(n=null===(i=o.control)||void 0===i?void 0:i.args)||void 0===n?void 0:n[1])},list:[{value:"default",title:"Default"},{value:375,title:"iPhone SE"},{value:414,title:"iPhone XR"},{value:390,title:"iPhone 12 Pro"},{value:393,title:"Pixel 5"},{value:820,title:"iPad Air"}]}},34115:function(e,t,o){"use strict";o.r(t);var i=o(97582),n=o(7324),r=o(53852),u=o(50526),l=o(98478),a=o(74404),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"mobileView",group:"state"}],t.__currentMode="default",t}return(0,i.ZT)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("mobileView",{exec:function(o,i,n){t.__currentMode===n&&(n="default"),t.__currentMode=n,(0,l.dataBind)(e,a.D,n),"default"!==t.__currentMode&&(0,l.dataBind)(e,a.d,n),"default"===n?(0,l.css)(t.jodit.workplace,{width:null,margin:null}):(0,l.css)(t.j.workplace,{width:n,margin:"0 auto"})}}),e.events.on("beforeSetMode",(function(){}))},t.prototype.__beforeSetMode=function(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")},t.prototype.beforeDestruct=function(e){},t.requires=["license"],(0,i.gn)([(0,u.watch)(":beforeSetMode.mobileView")],t.prototype,"__beforeSetMode",null),(0,i.gn)([u.component],t)}(n.S);r.y.plugins.add("mobileView",d)}},function(e){return e(e.s=34115)}])}));
|
|
@@ -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
|
*/
|
|
@@ -30,7 +30,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
30
30
|
|
|
31
31
|
"use strict";
|
|
32
32
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
33
|
-
/* harmony import */ var
|
|
33
|
+
/* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95819);
|
|
34
|
+
/* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1__);
|
|
35
|
+
/* harmony import */ var _page_break_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73440);
|
|
34
36
|
/*!
|
|
35
37
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
36
38
|
* See LICENSE.md in the project root for license information.
|
|
@@ -38,15 +40,16 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
38
40
|
*/
|
|
39
41
|
|
|
40
42
|
|
|
43
|
+
|
|
41
44
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.pageBreak */ .D.prototype.pageBreak = {
|
|
42
45
|
separator: '<div style="page-break-before: always"></div>'
|
|
43
46
|
};
|
|
44
47
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.pageBreak */ .D.prototype.controls.pageBreak = {
|
|
45
48
|
tooltip: 'Insert page break',
|
|
46
|
-
icon:
|
|
49
|
+
icon: (_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1___default()),
|
|
47
50
|
command: 'insertPageBreak'
|
|
48
51
|
};
|
|
49
|
-
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.iframeStyle */ .D.prototype.iframeStyle = "".concat(jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.iframeStyle */ .D.prototype.iframeStyle, ";").concat(
|
|
52
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.iframeStyle */ .D.prototype.iframeStyle = "".concat(jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.iframeStyle */ .D.prototype.iframeStyle, ";").concat(_page_break_css_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"].replace */ .Z.replace(/[\n\t]/g, ''));
|
|
50
53
|
|
|
51
54
|
|
|
52
55
|
/***/ }),
|
|
@@ -75,7 +78,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75
78
|
/* harmony export */ });
|
|
76
79
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97582);
|
|
77
80
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
78
|
-
/* harmony import */ var
|
|
81
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53852);
|
|
79
82
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(96960);
|
|
80
83
|
/* harmony import */ var _page_break_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73440);
|
|
81
84
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8138);
|
|
@@ -154,7 +157,7 @@ var PageBreak = /** @class */ (function (_super) {
|
|
|
154
157
|
], PageBreak.prototype, "onAfterGetValueFromEditor", null);
|
|
155
158
|
return PageBreak;
|
|
156
159
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
157
|
-
|
|
160
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add('pageBreak', PageBreak);
|
|
158
161
|
|
|
159
162
|
|
|
160
163
|
/***/ })
|
|
@@ -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(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[790],{95819:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},96960:function(e,t,r){"use strict";var a=r(77628),o=r(73440);a.D.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},a.D.prototype.controls.pageBreak={tooltip:"Insert page break",icon:
|
|
10
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[790],{95819:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},96960:function(e,t,r){"use strict";var a=r(77628),o=r(95819),n=r.n(o),i=r(73440);a.D.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},a.D.prototype.controls.pageBreak={tooltip:"Insert page break",icon:n(),command:"insertPageBreak"},a.D.prototype.iframeStyle="".concat(a.D.prototype.iframeStyle,";").concat(i.Z.replace(/[\n\t]/g,""))},73440:function(e,t){"use strict";t.Z="[data-jodit-page-break] {\n\tdisplay: flex;\n\theight: 24px;\n\tbox-sizing: border-box;\n\n\talign-items: center;\n\tjustify-content: center;\n\n\tborder: 1px dashed #ccc;\n\n\tfont-size: 12px;\n\tpage-break-before: always;\n\ttext-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n\tborder-color: #818181;\n}"},69135:function(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak:function(){return d}});var a=r(97582),o=r(7324),n=r(53852),i=(r(96960),r(73440)),p=r(8138),s=r(50526),c=r(95582),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.styles=i.Z,t.buttons=[{name:"pageBreak",group:"insert"}],t}return(0,a.ZT)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("insertPageBreak",(function(){var r=e.createInside.div("",{});t.decoratePageBreak(r),e.s.insertNode(r,!1,!1);for(var a=r.parentNode;a&&a!==e.editor&&(p.i.after(a,r),!p.i.isBlock(a));)a=r.parentNode;e.s.setCursorAfter(r),e.setEditorValue()}))},t.prototype.decoratePageBreak=function(e){(0,c.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")},t.prototype.beforeDestruct=function(){},t.prototype.onChange=function(){var e=this;(0,c.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach((function(t){p.i.isEmpty(t)&&!(0,c.attr)(t,"data-jodit-page-break")&&e.decoratePageBreak(t)}))},t.prototype.onAfterGetValueFromEditor=function(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)},t.requires=["license"],(0,a.gn)([(0,s.watch)([":change",":afterSetMode"]),(0,s.debounce)()],t.prototype,"onChange",null),(0,a.gn)([(0,s.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(o.S);n.y.plugins.add("pageBreak",d)}},function(e){return e(e.s=69135)}])}));
|