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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default[{be:"#5cbf2a",bs:"#44c767",bc:"#18ab29",br:"28px",bse:"1px",bsh:!1,bsbr:0,bsc:"#3dc21b",bsi:!1,bsox:0,bsoy:0,bssr:0,fc:"#fff",ff:"Arial",fs:"17px",fse:!1,fw:!1,px:"31px",py:"16px",pbc:"#f5f5f5",s:!0,t:"green",ts:!0,tsbr:0,tsc:"#2f6627",tsox:0,tsoy:"1px"},{be:"#476e9e",bs:"#7892c2",bc:"#4e6096",br:"10px",bse:"1px",bsh:!0,bsbr:0,bsc:"#9fb4f2",bsi:!1,bsox:0,bsoy:0,bssr:"2px",fc:"#fff",ff:"Arial",fs:"19px",fse:!1,fw:!1,px:"37px",py:"12px",pbc:"#f5f5f5",s:!1,t:"blue",ts:!0,tsbr:0,tsc:"#283966",tsox:0,tsoy:"1px"},{be:"#408c99",bs:"#599bb3",bc:"#29668f",br:"8px",bse:0,bsh:!0,bsbr:"14px",bsc:"#276873",bsi:!1,bsox:0,bsoy:"10px",bssr:"-7px",fc:"#fff",ff:"Arial",fs:"20px",fse:!1,fw:!0,px:"32px",py:"13px",pbc:"#f5f5f5",s:!1,t:"turquoise",ts:!0,tsbr:0,tsc:"#3d768a",tsox:0,tsoy:"1px"},{be:"#6c7c7c",bs:"#768d87",bc:"#566963",br:"5px",bse:"1px",bsh:!0,bsbr:"3px",bsc:"#91b8b3",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"23px",py:"11px",pbc:"#e8e7e2",s:!1,t:"dark grey",ts:!0,tsbr:0,tsc:"#2b665e",tsox:0,tsoy:"-1px"},{be:"#72b352",bs:"#77b55a",bc:"#4b8f29",br:"4px",bse:"1px",bsh:!0,bsbr:"14px",bsc:"#3e7327",bsi:!1,bsox:0,bsoy:"10px",bssr:"-7px",fc:"#fff",ff:"Arial",fs:"13px",fse:!1,fw:!0,px:"12px",py:"6px",pbc:"#f5f5f5",s:!1,t:"green",ts:!0,tsbr:0,tsc:"#5b8a3c",tsox:0,tsoy:"1px"},{be:"#eb675e",bs:"#e4685d",bc:"#fff",br:"4px",bse:"1px",bsh:!0,bsbr:0,bsc:"#e67a73",bsi:!0,bsox:0,bsoy:"39px",bssr:"-24px",fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!1,px:"15px",py:"6px",pbc:"#f2f2f2",s:!0,t:"light red",ts:!0,tsbr:0,tsc:"#b23e35",tsox:0,tsoy:"1px"},{be:"#b34332",bs:"#a73f2d",bc:"#241d13",br:0,bse:"1px",bsh:!0,bsbr:0,bsc:"#b54b3a",bsi:!0,bsox:0,bsoy:"34px",bssr:"-15px",fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"23px",py:"9px",pbc:"#2a2218",s:!0,t:"brown",ts:!0,tsbr:0,tsc:"#7a2a1d",tsox:0,tsoy:"-1px"},{be:"#0688fa",bs:"#2dabf9",bc:"#0b0e07",br:"3px",bse:"1px",bsh:!0,bsbr:"7px",bsc:"#29bbff",bsi:!0,bsox:0,bsoy:"-3px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!1,px:"23px",py:"9px",pbc:"#1c1c1e",s:!1,t:"blue",ts:!0,tsbr:0,tsc:"#263666",tsox:0,tsoy:"1px"},{be:"#415989",bs:"#2e466e",bc:"#1f2f47",br:"17px",bse:"1px",bsh:!0,bsbr:"15px",bsc:"#23395e",bsi:!0,bsox:0,bsoy:0,bssr:"3px",fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!1,px:"13px",py:"6px",pbc:"#3f5c93",s:!1,t:"blue",ts:!0,tsbr:0,tsc:"#263666",tsox:0,tsoy:"1px"},{be:"#bc3315",bs:"#d0451b",bc:"#942911",br:"3px",bse:"1px",bsh:!0,bsbr:0,bsc:"#cf866c",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"13px",fse:!1,fw:!1,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"codecanyon",ts:!0,tsbr:0,tsc:"#854629",tsox:0,tsoy:"1px"},{be:"#ccc2a6",bs:"#eae0c2",bc:"#333029",br:"15px",bse:"2px",bsh:!0,bsbr:0,bsc:"#1c1b18",bsi:!1,bsox:0,bsoy:"1px",bssr:0,fc:"#505739",ff:"Arial",fs:"14px",fse:!1,fw:!0,px:"16px",py:"12px",pbc:"#2d2e29",s:!1,t:"creme",ts:!0,tsbr:0,tsc:"#fff",tsox:0,tsoy:"1px"},{be:"#634b30",bs:"#7d5d3b",bc:"#54381e",br:"3px",bse:"1px",bsh:!0,bsbr:0,bsc:"#a6827e",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"13px",fse:!1,fw:!1,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"themeforest",ts:!0,tsbr:0,tsc:"#4d3534",tsox:0,tsoy:"1px"},{be:"#0061a7",bs:"#007dc1",bc:"#124d77",br:"3px",bse:"1px",bsh:!0,bsbr:0,bsc:"#54a3f7",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"13px",fse:!1,fw:!1,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"graphicriver",ts:!0,tsbr:0,tsc:"#154682",tsox:0,tsoy:"1px"},{be:"#019ad2",bs:"#33bdef",bc:"#057fd0",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#f0f7fa",bsi:!1,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#e2e2e2",s:!1,t:"twitter",ts:!0,tsbr:0,tsc:"#5b6178",tsox:0,tsoy:"-1px"},{be:"#ffab23",bs:"#ffec64",bc:"#ffaa22",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fff6af",bsi:!1,bsox:0,bsoy:"1px",bssr:0,fc:"#333333",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#e2e2e2",s:!1,t:"twitter",ts:!0,tsbr:0,tsc:"#ffee66",tsox:0,tsoy:"1px"},{be:"#68a54b",bs:"#74ad5a",bc:"#3b6e22",br:0,bse:"1px",bsh:!0,bsbr:0,bsc:"#9acc85",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"13px",fse:!1,fw:!0,px:"12px",py:"6px",pbc:"#f5f5f5",s:!1,t:"facebook",ts:!1,tsbr:0,tsc:"#92b879",tsox:0,tsoy:"1px"},{be:"#5972a7",bs:"#637aad",bc:"#314179",br:0,bse:"1px",bsh:!0,bsbr:0,bsc:"#7a8eb9",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"13px",fse:!1,fw:!0,px:"12px",py:"6px",pbc:"#3b5898",s:!1,t:"facebook",ts:!1,tsbr:0,tsc:"#7a8eb9",tsox:0,tsoy:"1px"},{be:"#bab1ba",bs:"#ededed",bc:"#d6bcd6",br:"15px",bse:"1px",bsh:!0,bsbr:0,bsc:"#899599",bsi:!1,bsox:"3px",bsoy:"4px",bssr:0,fc:"#3a8a9e",ff:"Arial",fs:"17px",fse:!1,fw:!1,px:"25px",py:"7px",pbc:"#f5f5f5",s:!1,t:"grey",ts:!0,tsbr:0,tsc:"#e1e2ed",tsox:0,tsoy:"1px"},{be:"#f24437",bs:"#c62d1f",bc:"#d02718",br:"18px",bse:"1px",bsh:!0,bsbr:0,bsc:"#8a2a21",bsi:!1,bsox:"3px",bsoy:"4px",bssr:0,fc:"#fff",ff:"Arial",fs:"17px",fse:!1,fw:!1,px:"25px",py:"7px",pbc:"#f5f5f5",s:!1,t:"red",ts:!0,tsbr:0,tsc:"#810e05",tsox:0,tsoy:"1px"},{be:"#378de5",bs:"#79bbff",bc:"#337bc4",br:"5px",bse:"1px",bsh:!0,bsbr:0,bsc:"#1564ad",bsi:!1,bsox:"3px",bsoy:"4px",bssr:0,fc:"#fff",ff:"Arial",fs:"17px",fse:!1,fw:!0,px:"44px",py:"12px",pbc:"#f5f5f5",s:!1,t:"blue",ts:!0,tsbr:0,tsc:"#528ecc",tsox:0,tsoy:"1px"},{be:"#9ba892",bs:"#dbe6c4",bc:"#b2b8ad",br:"6px",bse:"1px",bsh:!0,bsbr:"14px",bsc:"#f2fadc",bsi:!0,bsox:0,bsoy:0,bssr:"-3px",fc:"#757d6f",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"olive",ts:!0,tsbr:0,tsc:"#ced9bf",tsox:0,tsoy:"1px"},{be:"#bc80ea",bs:"#dfbdfa",bc:"#c584f3",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#efdcfb",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"purple",ts:!0,tsbr:0,tsc:"#9752cc",tsox:0,tsoy:"1px"},{be:"#80b5ea",bs:"#bddbfa",bc:"#84bbf3",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#dcecfb",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"light blue",ts:!0,tsbr:0,tsc:"#528ecc",tsox:0,tsoy:"1px"},{be:"#f6f6f6",bs:"#fff",bc:"#dcdcdc",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fff",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#666666",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"white",ts:!0,tsbr:0,tsc:"#fff",tsox:0,tsoy:"1px"},{be:"#e4685d",bs:"#fc8d83",bc:"#d83526",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#f7c5c0",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"light red",ts:!0,tsbr:0,tsc:"#b23e35",tsox:0,tsoy:"1px"},{be:"#468ccf",bs:"#63b8ee",bc:"#3866a3",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#bee2f9",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#14396a",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"dark blue",ts:!0,tsbr:0,tsc:"#7cacde",tsox:0,tsoy:"1px"},{be:"#ffab23",bs:"#ffec64",bc:"#ffaa22",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fff6af",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#333333",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"orange",ts:!0,tsbr:0,tsc:"#ffee66",tsox:0,tsoy:"1px"},{be:"#77a809",bs:"#89c403",bc:"#74b807",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#a4e271",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"green",ts:!0,tsbr:0,tsc:"#528009",tsox:0,tsoy:"1px"},{be:"#e9e9e9",bs:"#f9f9f9",bc:"#dcdcdc",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fff",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#666666",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"light grey",ts:!0,tsbr:0,tsc:"#fff",tsox:0,tsoy:"1px"},{be:"#a20dbd",bs:"#c123de",bc:"#a511c0",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#e184f3",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"purple",ts:!0,tsbr:0,tsc:"#9b14b3",tsox:0,tsoy:"1px"},{be:"#1e62d0",bs:"#3d94f6",bc:"#337fed",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#97c4fe",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"blue",ts:!0,tsbr:0,tsc:"#1570cd",tsox:0,tsoy:"1px"},{be:"#ef027d",bs:"#ff5bb0",bc:"#ee1eb5",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fbafe3",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"pink",ts:!0,tsbr:0,tsc:"#c70067",tsox:0,tsoy:"1px"},{be:"#f2ab1e",bs:"#f0c911",bc:"#e65f44",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#f9eca0",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#c92200",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"orange",ts:!0,tsbr:0,tsc:"#ded17c",tsox:0,tsoy:"1px"},{be:"#c62d1f",bs:"#f24537",bc:"#d02718",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#f5978e",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"red",ts:!0,tsbr:0,tsc:"#810e05",tsox:0,tsoy:"1px"},{be:"#a5cc52",bs:"#b8e356",bc:"#83c41a",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#d9fbbe",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"light green",ts:!0,tsbr:0,tsc:"#86ae47",tsox:0,tsoy:"1px"},{be:"#fb9e25",bs:"#ffc477",bc:"#eeb44f",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fce2c1",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"light orange",ts:!0,tsbr:0,tsc:"#cc9f52",tsox:0,tsoy:"1px"},{be:"#dfdfdf",bs:"#ededed",bc:"#dcdcdc",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#fff",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#777777",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"grey",ts:!0,tsbr:0,tsc:"#fff",tsox:0,tsoy:"1px"},{be:"#378de5",bs:"#79bbff",bc:"#84bbf3",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#bbdaf7",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"blue",ts:!0,tsbr:0,tsc:"#528ecc",tsox:0,tsoy:"1px"},{be:"#5cb811",bs:"#77d42a",bc:"#268a16",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#caefab",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#306108",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"green",ts:!0,tsbr:0,tsc:"#aade7c",tsox:0,tsoy:"1px"},{be:"#ce0100",bs:"#fe1a00",bc:"#d83526",br:"6px",bse:"1px",bsh:!0,bsbr:0,bsc:"#f29c93",bsi:!0,bsox:0,bsoy:"1px",bssr:0,fc:"#fff",ff:"Arial",fs:"15px",fse:!1,fw:!0,px:"24px",py:"6px",pbc:"#f5f5f5",s:!1,t:"red",ts:!0,tsbr:0,tsc:"#b23e35",tsox:0,tsoy:"1px"}];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { CanUndef, IJodit } from "jodit/esm/types";
|
|
7
|
+
import { Plugin } from "jodit/esm/core/plugin";
|
|
8
|
+
import "./config";
|
|
9
|
+
export declare class buttonGenerator extends Plugin {
|
|
10
|
+
/** @override */
|
|
11
|
+
hasStyle: boolean;
|
|
12
|
+
/** @override */
|
|
13
|
+
static requires: string[];
|
|
14
|
+
/** @override */
|
|
15
|
+
buttons: Plugin['buttons'];
|
|
16
|
+
protected afterInit(jodit: IJodit): void;
|
|
17
|
+
private __dialog;
|
|
18
|
+
private __ui;
|
|
19
|
+
toggleButtonGenerator(target: CanUndef<HTMLElement>): void;
|
|
20
|
+
/**
|
|
21
|
+
* DBLClick handler
|
|
22
|
+
*/
|
|
23
|
+
protected onDblClick(e: MouseEvent): void;
|
|
24
|
+
protected beforeDestruct(jodit: IJodit): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=this&&this.__decorate||function(t,e,o,r){var n,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,o,s):n(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};import{Plugin as e}from"jodit/esm/core/plugin/index.js";import{JoditPro as o}from"jodit-pro/esm/jodit-pro.js";import{autobind as r,watch as n}from"jodit/esm/core/decorators/index.js";import{Dialog as i}from"jodit/esm/modules/dialog/dialog.js";import{Dom as s}from"jodit/esm/core/dom/dom.js";import{Button as a}from"jodit/esm/core/ui/button/index.js";import{UIButtonGenerator as l}from"./ui/generator/button-generator";import"./config";import{UIGButton as u}from"./ui/button/button";export class buttonGenerator extends e{constructor(){super(...arguments),this.hasStyle=!o.fatMode,this.buttons=[{group:"form",name:"buttonGenerator"}]}afterInit(t){t.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",(()=>this.__dialog?.isOpened))}toggleButtonGenerator(t){this.__dialog||(this.__dialog=new i({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new l(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),t&&!s.isTag(t,new Set(["button","a"]))&&(t=void 0);const e=this.__ui,o=this.__dialog;o.isOpened?o.close():(t&&u.extractStyle(e.state,t),e.target=t,e.update(),o.setFooter([a(o,"cancel","Cancel","default").onAction((()=>o.close())),a(o,"ok",t?"Update":"Insert","primary").onAction((()=>{t||(t=this.j.createInside.element(e.state.href?"a":"button"),this.j.s.insertNode(t,!0,!1)),u.applyStyle(e.state,t),t.className=e.state.className||"",this.jodit.e.fire("synchro"),o.close()}))]).open())}onDblClick(t){s.isTag(t.target,"button")&&this.toggleButtonGenerator(t.target)}beforeDestruct(t){this.__dialog?.destruct()}}buttonGenerator.requires=["license","color-picker"],t([r],buttonGenerator.prototype,"toggleButtonGenerator",null),t([n(":dblclick")],buttonGenerator.prototype,"onDblClick",null),o.plugins.add("button-generator",buttonGenerator);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import{Config as o}from"jodit/esm/config.js";import{isArray as t}from"jodit/esm/core/helpers/checker/is-array.js";import e from"./icon.svg";o.prototype.controls.buttonGenerator={tooltip:"Button generator",icon:e,isActive:o=>Boolean(o.e.fire("isButtonGeneratorOpened")),exec:(o,t)=>{o.e.fire("toggleButtonGenerator",t)}},o.prototype.popup.button=["buttonGenerator"],t(o.prototype.popup.a)&&o.prototype.popup.a.push("buttonGenerator");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default'<svg stroke="black" viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <style type="text/css"> .st0{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} </style> <path class="st0" d="M29,23H3c-1.1,0-2-0.9-2-2V11c0-1.1,0.9-2,2-2h26c1.1,0,2,0.9,2,2v10C31,22.1,30.1,23,29,23z"/> <path class="st0" d="M13,19L13,19c-1.1,0-2-0.9-2-2v-2c0-1.1,0.9-2,2-2h0c1.1,0,2,0.9,2,2v2C15,18.1,14.1,19,13,19z"/> <line class="st0" x1="18" x2="18" y1="13" y2="19"/> <line class="st0" x1="21" x2="18" y1="13" y2="17"/> <line class="st0" x1="21" x2="19" y1="19" y2="16"/> </svg> ';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { IDictionary } from "jodit/esm/types";
|
|
8
|
+
import { UIElement } from "jodit/esm/core/ui";
|
|
9
|
+
export declare class UIGButton extends UIElement {
|
|
10
|
+
protected style: IDictionary;
|
|
11
|
+
/** @override */
|
|
12
|
+
className(): string;
|
|
13
|
+
/** @override */
|
|
14
|
+
constructor(jodit: UIElement['jodit'], style: IDictionary);
|
|
15
|
+
private __updateStyles;
|
|
16
|
+
static applyStyle(style: IDictionary, btn: HTMLElement): void;
|
|
17
|
+
update(): void;
|
|
18
|
+
/** @override */
|
|
19
|
+
protected render(): string;
|
|
20
|
+
static extractStyle(state: IDictionary, target: HTMLButtonElement | HTMLAnchorElement): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var t,o=this&&this.__decorate||function(t,o,e,r){var d,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,o,e,r);else for(var s=t.length-1;s>=0;s--)(d=t[s])&&(n=(a<3?d(n):a>3?d(o,e,n):d(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};
|
|
2
|
+
/*!
|
|
3
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
4
|
+
* See LICENSE.md in the project root for license information.
|
|
5
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
6
|
+
*/
|
|
7
|
+
import{UIElement as e}from"jodit/esm/core/ui/index.js";import{css as r}from"jodit/esm/core/helpers/index.js";import{component as d,watch as a}from"jodit/esm/core/decorators/index.js";import{isString as n}from"jodit/esm/core/helpers/checker/index.js";import{assert as s}from"jodit/esm/core/helpers/utils/assert.js";export let UIGButton=t=class UIGButton extends e{className(){return"UIGButton"}constructor(t,o){super(t),this.style=o,this.__updateStyles()}__updateStyles(){const{style:o}=this,e=this.getElm("button");s(null!=e,"button element does not exist");const r=this.getElm("wrapper");s(null!=r,"wrapper element does not exist"),r.style.backgroundColor=o.previewBgColor,t.applyStyle(o,e)}static applyStyle(t,o){const _=t=>n(t)?t:t+"px";o.innerText=t.text||"css",o.setAttribute("href",t.href),r(o,{background:t.solid?null:`linear-gradient(to bottom, ${t.bgStart} 5%, ${t.bgEnd} 100%)`,backgroundColor:t.bgStart,borderRadius:_(t.borderRadius),border:`${_(t.borderSize)} solid ${t.borderColor}`,display:"inline-block",cursor:"pointer",color:t.fontColor,fontFamily:t.fontFamily,fontSize:_(t.fontSize),fontWeight:t.fontWeight?"bold":null,fontStyle:t.fontItalic?"italic":null,padding:`${_(t.paddingY)} ${_(t.paddingX)}`,textDecoration:"none"}),r(o,{textShadow:t.textShadow?[t.textShadowOffsetX,t.textShadowOffsetY,t.textShadowBlurRadius,t.textShadowColor].map(_).join(" "):null}),r(o,{boxShadow:t.boxShadow?[t.boxShadowInset?"inset":"",t.boxShadowOffsetX,t.boxShadowOffsetY,t.boxShadowBlurRadius,t.boxShadowSpreadRadius,t.boxShadowColor].map(_).join(" "):null})}update(){this.__updateStyles()}render(){return"<div>\n\t\t\t<div class='&__wrapper'>\n\t\t\t\t<button class='&__button'>css</button>\n\t\t\t</div>\n\t\t</div>"}static extractStyle(t,o){const e=o.ownerDocument.defaultView?.getComputedStyle(o)||{},extractShadow=(t,o,r,d)=>{const a=e[r];return!a||["none","inherit","initial","unset"].includes(a)?{[r]:!1}:(a.replace(/,\s/g,",").split(/\s+/).forEach((e=>{if(/[0-9.]+(px|pt|em|%)/.test(e)){const r=t.shift();r&&(o[r]=e)}else"inset"===e?o.boxShadowInset=!0:o[d]=e})),o[r]=!0,o)};Object.assign(t,{text:o.innerText,className:o.className,href:o.getAttribute("href")||"",...(()=>{const t={solid:!0,bgStart:e.backgroundColor??"#44c767",bgEnd:e.backgroundColor??"#44c767"},o=e.backgroundImage;if(o&&/linear-gradient/.test(o)){const e=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(o);e&&(t.solid=!1,t.bgStart=e[1]||t.bgStart,t.bgEnd=e[2]||"#5cbf2a")}return t})(),borderColor:e?.borderColor??"#18ab29",borderRadius:e?.borderRadius??0,borderSize:e?.borderWidth??1,...extractShadow(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor"),fontColor:e.color,fontFamily:e.fontFamily,fontSize:e.fontSize,fontWeight:"bold"===e.fontWeight,fontItalic:"italic"===e.fontStyle,paddingX:e.paddingLeft,paddingY:e.paddingTop,...extractShadow(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")})}};o([a("style")],UIGButton.prototype,"__updateStyles",null),UIGButton=t=o([d],UIGButton);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { IDictionary } from "jodit/esm/types";
|
|
8
|
+
import { UIElement } from "jodit/esm/core/ui";
|
|
9
|
+
export declare class UIFormButtonGenerator extends UIElement {
|
|
10
|
+
readonly state: IDictionary;
|
|
11
|
+
readonly updateState: (name: string, value: boolean | string | number) => void;
|
|
12
|
+
/** @override */
|
|
13
|
+
className(): string;
|
|
14
|
+
/** @override */
|
|
15
|
+
constructor(jodit: UIElement['jodit'], state: IDictionary, updateState: (name: string, value: boolean | string | number) => void);
|
|
16
|
+
private onUpdates;
|
|
17
|
+
update(): void;
|
|
18
|
+
/** @override */
|
|
19
|
+
protected render(): string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import{UIElement as t,UIInput as e,UISelect as n}from"jodit/esm/core/ui/index.js";import{toArray as a}from"jodit/esm/core/helpers/array/to-array.js";import{Dom as i}from"jodit/esm/core/dom/dom.js";import{assert as o}from"jodit/esm/core/helpers/utils/assert.js";import{UIRange as s}from"jodit-pro/esm/core/ui/form/range/range.js";export class UIFormButtonGenerator extends t{className(){return"UIFormButtonGenerator"}constructor(t,o,r){super(t),this.state=o,this.updateState=r,this.onUpdates=[];const getOnUpdate=(t,e)=>()=>{let n=this.state[e.name];/px/.test(n.toString())&&(n=n.toString().replace(/px/,"")),n.toString()!==t.value&&(t.value=n)};a(this.container.querySelectorAll("input,select")).forEach((t=>{if(i.isTag(t,"select")){const e=new n(this.j,{options:a(t.options).map((t=>({text:t.innerText,value:t.value}))),onChange:e=>{this.updateState(t.name,e)}});return i.replace(t,e.container,this.j.create,!1,!0),void this.onUpdates.push(getOnUpdate(e,t))}if(i.isTag(t,"input"))switch(t.type){case"range":{const e=new s(this.j,{label:t.placeholder,name:t.name,min:parseInt(t.min,0)||0,max:parseInt(t.max,0)||100,onChange:e=>{this.updateState(t.name,parseInt(e,10))}});return i.replace(t,e.container,this.j.create),void this.onUpdates.push(getOnUpdate(e,t))}case"text":{const n=new e(this.j,{placeholder:t.placeholder,name:t.name,onChange:e=>{this.updateState(t.name,e)}});return i.replace(t,n.container,this.j.create),void this.onUpdates.push(getOnUpdate(n,t))}case"checkbox":return t.onchange=()=>this.updateState(t.name,t.checked),void this.onUpdates.push((()=>{t.checked=this.state[t.name]}))}})),this.update()}update(){this.onUpdates.forEach((t=>t()));const t=this.getElm("box-shadow");o(null!=t,"box-shadow does not exists");const e=this.getElm("text-shadow");o(null!=e,"text-shadow does not exists"),t.style.display=this.state.boxShadow?"":"none",e.style.display=this.state.textShadow?"":"none"}render(){return"<div>\n\t\t\t<div class='&__group &__text'>\n\t\t\t\t<div class='&__title'>Text</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='text' name='text'/>\n\t\t\t\t\t\t<input type='text' name='className' placeholder='~Class name~'/>\n\t\t\t\t\t\t<input type='text' name='href' placeholder='~URL~'/>\n\t\t\t\t\t\t<select name='fontFamily'>\n \t\t\t\t\t\t\t<option value='Arial'>Arial</option>\n \t\t\t\t\t\t\t<option value='Courier New'>Courier New</option>\n \t\t\t\t\t\t\t<option value='Georgia'>Georgia</option>\n \t\t\t\t\t\t\t<option value='Impact'>Impact</option>\n \t\t\t\t\t\t\t<option value='Times New Roman'>Times New Roman</option>\n \t\t\t\t\t\t\t<option value='Trebuchet MS'>Trebuchet MS</option>\n \t\t\t\t\t\t\t<option value='Verdana'>Verdana</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' min='8' max='28' name='fontSize' placeholder='~Font Size~'/>\n\t\t\t\t\t\t<div class='&__checkboxes'>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontWeight'/> bold\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontItalic'/> italic\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__sizes'>\n\t\t\t\t<div class='&__title'>~Size~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingX' min='0' max='32' placeholder='~Vertical size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingY' min='0' max='76' placeholder='~Horizontal size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__borders'>\n\t\t\t\t<div class='&__title'>~Border~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderRadius' min='0' max='42' placeholder='~Border Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderSize' min='0' max='12' placeholder='~Border Size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Box Shadow~ <input type='checkbox' name='boxShadow'/></div>\n\t\t\t\t<div class='&__row &__box-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowSpreadRadius' min='-50' max='50' placeholder='~Spread Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Text Shadow~ <input type='checkbox' name='textShadow'/></div>\n\t\t\t\t<div class='&__row &__text-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='textShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>"}}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { CanUndef, IDictionary } from "jodit/esm/types";
|
|
8
|
+
import { UIElement } from "jodit/esm/core/ui";
|
|
9
|
+
export declare class UIButtonGenerator extends UIElement {
|
|
10
|
+
/** @override */
|
|
11
|
+
className(): string;
|
|
12
|
+
state: IDictionary;
|
|
13
|
+
private preview;
|
|
14
|
+
private form;
|
|
15
|
+
render(): string;
|
|
16
|
+
constructor(jodit: UIElement['jodit']);
|
|
17
|
+
target: CanUndef<HTMLElement>;
|
|
18
|
+
private generateLibrary;
|
|
19
|
+
static mapKey(o: IDictionary): IDictionary;
|
|
20
|
+
private updateState;
|
|
21
|
+
update(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
var t,e=this&&this.__decorate||function(t,e,o,r){var s,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};import{UIElement as o,UIGroup as r}from"jodit/esm/core/ui/index.js";import{assert as s}from"jodit/esm/core/helpers/utils/assert.js";import{component as i,autobind as a}from"jodit/esm/core/decorators/index.js";import{UIPreviewButtonGenerator as n}from"jodit-pro/esm/plugins/button-generator/ui/preview/preview.js";import{UIGButton as d}from"jodit-pro/esm/plugins/button-generator/ui/button/button.js";import{UIFormButtonGenerator as f}from"jodit-pro/esm/plugins/button-generator/ui/form/form.js";import l from"jodit-pro/esm/plugins/button-generator/assets/styles.json.js";export let UIButtonGenerator=t=class UIButtonGenerator extends o{className(){return"UIButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__generator'>\n\t\t\t\t<div class='&__preview'></div>\n\t\t\t\t<div class='&__form'></div>\n\t\t\t</div>\n\t\t\t<div class='&__library'></div>\n\t\t</div>"}constructor(t){super(t),this.state={text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},this.preview=new n(this.j,this.state,this.updateState),this.form=new f(this.j,this.state,this.updateState),this.generateLibrary();const e=this.getElm("preview");s(null!=e,"preview element does not exists"),e.appendChild(this.preview.container);const o=this.getElm("form");s(null!=o,"form element does not exists"),o.appendChild(this.form.container)}generateLibrary(){const e=new r(this.j);l.map(t.mapKey).forEach((t=>{const o=new d(this.j,t);o.setMod("mode","library"),e.append(o),this.j.e.on(o.container,"click",(()=>{const{text:e}=this.state;Object.assign(this.state,t),Object.assign(this.state,{className:"",text:e}),this.update()}))}));const o=this.getElm("library");s(null!=o,"library element does not exists"),o.appendChild(e.container)}static mapKey(t){return{bgEnd:t.be,bgStart:t.bs,borderColor:t.bc,borderRadius:t.br,borderSize:t.bse,boxShadow:t.bsh,boxShadowBlurRadius:t.bsbr,boxShadowColor:t.bsc,boxShadowInset:t.bsi,boxShadowOffsetX:t.bsox,boxShadowOffsetY:t.bsoy,boxShadowSpreadRadius:t.bssr,fontColor:t.fc,fontFamily:t.ff,fontSize:t.fs,fontStyle:t.fse,fontWeight:t.fw,paddingX:t.px,paddingY:t.py,previewBgColor:t.pbc,solid:t.s,text:t.t,textShadow:t.ts,textShadowBlurRadius:t.tsbr,textShadowColor:t.tsc,textShadowOffsetX:t.tsox,textShadowOffsetY:t.tsoy}}updateState(t,e){this.state[t]=e,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}};e([a],UIButtonGenerator.prototype,"updateState",null),UIButtonGenerator=t=e([i],UIButtonGenerator);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { IDictionary } from "jodit/esm/types";
|
|
8
|
+
import { UIElement } from "jodit/esm/core/ui";
|
|
9
|
+
export declare class UIPreviewButtonGenerator extends UIElement {
|
|
10
|
+
readonly state: IDictionary;
|
|
11
|
+
readonly updateState: (name: string, value: boolean | string | number) => void;
|
|
12
|
+
/** @override */
|
|
13
|
+
className(): string;
|
|
14
|
+
private button;
|
|
15
|
+
private lockUpdate;
|
|
16
|
+
private colors;
|
|
17
|
+
/** @override */
|
|
18
|
+
render(): string;
|
|
19
|
+
update(): void;
|
|
20
|
+
/** @override */
|
|
21
|
+
constructor(jodit: UIElement['jodit'], state: IDictionary, updateState: (name: string, value: boolean | string | number) => void);
|
|
22
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var t=this&&this.__decorate||function(t,e,o,r){var s,i=arguments.length,n=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(i<3?s(n):i>3?s(e,o,n):s(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};
|
|
2
|
+
/*!
|
|
3
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
4
|
+
* See LICENSE.md in the project root for license information.
|
|
5
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
6
|
+
*/import{UIElement as e}from"jodit/esm/core/ui/index.js";import{component as o}from"jodit/esm/core/decorators/index.js";import{assert as r}from"jodit/esm/core/helpers/utils/assert.js";import{UIGButton as s}from"jodit-pro/esm/plugins/button-generator/ui/button/button.js";import{ColorInput as i}from"jodit-pro/esm/plugins/color-picker/ui/input/color-input.js";export let UIPreviewButtonGenerator=class UIPreviewButtonGenerator extends e{className(){return"UIPreviewButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__button'></div>\n\t\t\t<div class='&__colors'></div>\n\t\t</div>"}update(){this.button.update(),this.lockUpdate=!0,this.colors.forEach((t=>{t.value!==this.state[t.state.name]&&(t.value=this.state[t.state.name])})),this.lockUpdate=!1}constructor(t,e,o){super(t),this.state=e,this.updateState=o,this.button=new s(this.j,this.state),this.lockUpdate=!1,this.colors=["bgStart","bgEnd","fontColor","borderColor","boxShadowColor","textShadowColor","previewBgColor"].map((t=>new i(this.j,{name:t,onChange:e=>{this.lockUpdate||("bgEnd"===t&&e!==this.state.bgStart&&this.updateState("solid",!1),this.updateState(t,e))}}).setMod("slim",!0))),this.setMod("mode","default");const n=this.getElm("button");r(null!=n,"button element does not exists"),n.appendChild(this.button.container);const a=this.getElm("colors");r(null!=a,"colors element does not exists"),this.colors.forEach((t=>{a.appendChild(t.container)})),this.update()}};UIPreviewButtonGenerator=t([o],UIPreviewButtonGenerator);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import "./config";
|
|
7
|
+
import type { IJodit } from "jodit/esm/types";
|
|
8
|
+
import { Plugin } from "jodit/esm/core/plugin";
|
|
9
|
+
export declare class changeCase extends Plugin {
|
|
10
|
+
/** @override */
|
|
11
|
+
static requires: string[];
|
|
12
|
+
/** @override */
|
|
13
|
+
buttons: Plugin['buttons'];
|
|
14
|
+
/** @override */
|
|
15
|
+
protected afterInit(jodit: IJodit): void;
|
|
16
|
+
/**
|
|
17
|
+
* Change case in text nodes by mode
|
|
18
|
+
*/
|
|
19
|
+
private applyCase;
|
|
20
|
+
/** @override */
|
|
21
|
+
protected beforeDestruct(jodit: IJodit): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import"./config";import{Plugin as e}from"jodit/esm/core/plugin/index.js";import{Dom as s}from"jodit/esm/core/dom/dom.js";import{ucfirst as t}from"jodit/esm/core/helpers/string/ucfirst.js";import{JoditPro as a}from"jodit-pro/esm/jodit-pro.js";export class changeCase extends e{constructor(){super(...arguments),this.buttons=[{name:"changeCase",group:"font-style"}]}afterInit(e){e.registerCommand("changeCase",{exec:(t,a,r)=>{r=r.toLowerCase();const o=e.s.range,{startContainer:n,startOffset:c}=o;if(e.s.isCollapsed()){const s=e.s.current(!0);s&&s.parentElement&&this.applyCase(r,s.parentElement),o.setStart(n,c),e.s.selectRange(o)}else{const t=o.cloneRange(),a=o.cloneRange(),n=e.createInside.fake(),c=e.createInside.fake();t.collapse(!0),a.collapse(!1),t.insertNode(n),a.insertNode(c),s.between(n,c,(e=>{this.applyCase(r,e)})),o.setStartAfter(n),o.setEndBefore(c),e.s.selectRange(o),s.safeRemove(n),s.safeRemove(c)}}})}applyCase(e,a){if(s.isText(a)){const s=a.nodeValue;s&&(a.nodeValue=(s=>{switch(e){case"lowercase":return s.toLowerCase();case"uppercase":return s.toUpperCase();default:return s.split(" ").map(t).join(" ")}})(s))}else s.each(a,(s=>{this.applyCase(e,s)}))}beforeDestruct(e){}}changeCase.requires=["license"],a.plugins.add("change-case",changeCase);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import{Config as o}from"jodit/esm/config.js";import{dataBind as e}from"jodit/esm/core/helpers/utils/data-bind.js";import s from"./icon.svg";o.prototype.controls.changeCase={tooltip:"Change case",icon:s,list:["lowercase","UPPERCASE","Title Case"],isDisabled:o=>!o.s.current(),exec(o,s,{control:c}){const t=c.command+"Selected",a=c.args&&c.args[0]||e(o,t);if(!a||!c.command)return!1;e(o,t,a),o.execCommand(c.command,null,a)},command:"changeCase"};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default'<svg width="19" height="13" viewBox="0 0 19 13" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.799 11.449V12H7.764V11.449L8.695 11.487C9.075 11.525 9.265 11.373 9.265 11.031C9.265 10.8157 9.20167 10.5687 9.075 10.29L8.144 8.048H3.717L2.843 10.176C2.66567 10.5687 2.577 10.8853 2.577 11.126C2.577 11.392 2.71633 11.5187 2.995 11.506L3.907 11.449V12H0.62V11.449L1.114 11.487H1.19C1.44333 11.487 1.65233 11.3667 1.817 11.126C2.007 10.8473 2.197 10.48 2.387 10.024L6.358 0.466999H6.852L10.861 10.062C11.0383 10.518 11.222 10.879 11.412 11.145C11.5893 11.373 11.811 11.487 12.077 11.487H12.172L12.799 11.449ZM3.945 7.516H7.916L5.921 2.728L3.945 7.516Z" fill="black"/> <path d="M18.45 11.61V12H16.32C16.33 11.93 16.34 11.84 16.35 11.73C16.37 11.61 16.38 11.515 16.38 11.445L16.41 10.86C16.19 11.29 15.905 11.6 15.555 11.79C15.215 11.98 14.805 12.075 14.325 12.075C13.695 12.075 13.215 11.935 12.885 11.655C12.565 11.365 12.405 10.94 12.405 10.38C12.405 9.61 12.725 9.045 13.365 8.685C14.015 8.315 15.03 8.13 16.41 8.13V7.26C16.41 6.79 16.3 6.455 16.08 6.255C15.86 6.055 15.505 5.955 15.015 5.955C14.255 5.955 13.875 6.165 13.875 6.585C13.875 6.665 13.895 6.76 13.935 6.87C13.985 6.97 14.01 7.065 14.01 7.155C14.01 7.325 13.955 7.455 13.845 7.545C13.735 7.625 13.595 7.665 13.425 7.665C13.215 7.665 13.05 7.6 12.93 7.47C12.82 7.34 12.765 7.17 12.765 6.96C12.765 6.54 12.985 6.2 13.425 5.94C13.865 5.68 14.455 5.55 15.195 5.55C16.865 5.55 17.7 6.255 17.7 7.665V11.355C17.7 11.545 17.765 11.64 17.895 11.64L18.45 11.61ZM14.775 11.535C15.215 11.535 15.59 11.355 15.9 10.995C16.21 10.625 16.38 10.15 16.41 9.57V8.535C15.47 8.535 14.795 8.675 14.385 8.955C13.975 9.225 13.77 9.66 13.77 10.26C13.77 10.68 13.855 11 14.025 11.22C14.205 11.43 14.455 11.535 14.775 11.535Z" fill="black"/> </svg> ';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { IJodit } from "jodit/esm/types";
|
|
7
|
+
import { Plugin } from "jodit/esm/core/plugin";
|
|
8
|
+
export declare class colorPicker extends Plugin {
|
|
9
|
+
/** @override */
|
|
10
|
+
static requires: string[];
|
|
11
|
+
/** @override */
|
|
12
|
+
hasStyle: boolean;
|
|
13
|
+
/** @override */
|
|
14
|
+
protected afterInit(jodit: IJodit): void;
|
|
15
|
+
private onAfterGenerateColorPicker;
|
|
16
|
+
/** @override */
|
|
17
|
+
protected beforeDestruct(jodit: IJodit): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
var e=this&&this.__decorate||function(e,r,o,t){var i,c=arguments.length,n=c<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,o,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(c<3?i(n):c>3?i(r,o,n):i(r,o))||n);return c>3&&n&&Object.defineProperty(r,o,n),n};import{Plugin as r}from"jodit/esm/core/plugin/index.js";import{Dom as o}from"jodit/esm/core/dom/dom.js";import{ColorInput as t}from"./ui/input/color-input";import{autobind as i}from"jodit/esm/core/decorators/index.js";import{JoditPro as c}from"jodit-pro/esm/jodit-pro.js";export class colorPicker extends r{constructor(){super(...arguments),this.hasStyle=!c.fatMode}afterInit(e){e.e.on("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}onAfterGenerateColorPicker(e,r,i,c){o.detach(r);const n=new t(this.j,{value:c||"#000",onChange:i});r.appendChild(n.container)}beforeDestruct(e){e.e.off("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}}colorPicker.requires=["license"],e([i],colorPicker.prototype,"onAfterGenerateColorPicker",null),c.plugins.add("color-picker",colorPicker);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { IUIInput, IViewBased, ModType } from "jodit/esm/types";
|
|
8
|
+
import { UIInput } from "jodit/esm/core/ui";
|
|
9
|
+
export declare class ColorInput extends UIInput {
|
|
10
|
+
/** @override */
|
|
11
|
+
className(): string;
|
|
12
|
+
private trigger;
|
|
13
|
+
private popup;
|
|
14
|
+
/** @override */
|
|
15
|
+
constructor(jodit: IViewBased, options?: Partial<IUIInput['state']>);
|
|
16
|
+
afterSetMode(name: string, value: ModType): void;
|
|
17
|
+
protected onChangeSelfValue(): void;
|
|
18
|
+
protected onEscKeyDown(e: KeyboardEvent): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
var e=this&&this.__decorate||function(e,t,o,r){var s,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};import{Button as t,Popup as o,UIInput as r}from"jodit/esm/core/ui/index.js";import{component as s,watch as i}from"jodit/esm/core/decorators/index.js";import{position as n}from"jodit/esm/core/helpers/index.js";import*as l from"a-color-picker";import{Dialog as a}from"jodit/esm/modules/index.js";import{KEY_ESC as p}from"jodit/esm/core/constants.js";import{assert as c}from"jodit/esm/core/helpers/utils/assert.js";export let ColorInput=class ColorInput extends r{className(){return"ColorInput"}constructor(e,r){super(e,r);const s=new o(e);this.popup=s,this.trigger=t(this.j,"ok");const i=this.getElm("wrapper");c(null!=i,"wrapper element does not exist"),i.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction((()=>{this.state.onChange?.(this.value),s.close()})),s.setMod("padding",!1).setMod("max-height",!1);const p=this.j.create.div(this.getFullElName("picker")),h=l.createPicker(p,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",((e,t)=>{this.isFocused||(this.value=l.parseColor(t||"","hex"))}));this.j.e.on(this,"change",(()=>{var e;e=this.value,l.parseColor(e,"hex")!==h.color&&(h.color=this.value)})),s.setContent(p),this.j.e.on(this.nativeInput,"click",(()=>{s.parentElement=this,this.jodit instanceof a&&s.setZIndex(this.jodit.getZIndex()+1),s.open((()=>n(this.container)))})),this.onChangeValue(),this.onChangeSelfValue()}afterSetMode(e,t){"slim"===e&&t&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(e){e.key===p&&this.popup?.close()}};e([i(":change")],ColorInput.prototype,"onChangeSelfValue",null),e([i("nativeInput:keydown")],ColorInput.prototype,"onEscKeyDown",null),ColorInput=e([s],ColorInput);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Config as o}from"jodit/esm/config.js";import{Emoji as e}from"./ui/emoji";import t from"./emoji.svg";import r from"./emoji.json";o.prototype.emoji={data:()=>r,enableAutoComplete:!0,recentCountLimit:10},o.prototype.controls.emoji={tooltip:"Insert Emoji",icon:t,popup:(o,t,r,i)=>{o.s.save();const s=e.getInstance(o,(e=>{o.s.restore(),o.s.insertNode(o.createInside.text(e),!0),i()}));return o.e.one("beforePopupClose",(()=>{o.s.restore()})),s.container}};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { IJodit } from "jodit/esm/types";
|
|
7
|
+
import { Plugin } from "jodit/esm/core/plugin/plugin";
|
|
8
|
+
import "./config";
|
|
9
|
+
export declare class emoji extends Plugin {
|
|
10
|
+
/** @override */
|
|
11
|
+
static requires: string[];
|
|
12
|
+
/** @override */
|
|
13
|
+
hasStyle: boolean;
|
|
14
|
+
/** @override */
|
|
15
|
+
buttons: Plugin['buttons'];
|
|
16
|
+
private data;
|
|
17
|
+
/** @override */
|
|
18
|
+
protected afterInit(jodit: IJodit): Promise<void>;
|
|
19
|
+
private onAutoComplete;
|
|
20
|
+
/** @override */
|
|
21
|
+
protected beforeDestruct(jodit: IJodit): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
var e=this&&this.__decorate||function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var m=e.length-1;m>=0;m--)(r=e[m])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};import{Plugin as t}from"jodit/esm/core/plugin/plugin.js";import{trim as o}from"jodit/esm/core/helpers/string/trim.js";import{autobind as i}from"jodit/esm/core/decorators/index.js";import{JoditPro as r}from"jodit-pro/esm/jodit-pro.js";import{Emoji as s}from"./ui/emoji";import"./config";export class emoji extends t{constructor(){super(...arguments),this.hasStyle=!r.fatMode,this.buttons=[{name:"emoji",group:"insert"}]}async afterInit(e){const t=await e.o.emoji.data();e.isInDestruct||(this.data={...t,emoji:t.emoji.map(s.normalizeEmoji)},e.o.emoji.enableAutoComplete&&e.e.fire("registerAutocompleteSource",this.onAutoComplete),e.async.requestIdleCallback((()=>{s.getInstance(e,(()=>{}))})))}onAutoComplete(e){return e.length>2&&":"===e[0]&&(e=e.substr(1).toLowerCase(),o(e).length)?this.data.emoji.filter((t=>0===t.description?.indexOf(e))).sort(((t,o)=>t.description.indexOf(e)-o.description.indexOf(e))).map((e=>({title:`${e.emoji} ${e.description}`,value:e.emoji}))):[]}beforeDestruct(e){}}emoji.requires=["autocomplete","license"],e([i],emoji.prototype,"onAutoComplete",null),r.plugins.add("emoji",emoji);
|