jodit-pro 2.0.0-beta.12 → 2.0.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +19 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2121 -105
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +2 -448
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +24 -19
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +55 -46
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +10 -7
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +10 -8
- package/es2015/plugins/color-picker/color-picker.min.js +2 -2
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +20 -15
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +9 -6
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +6 -6
- package/es2015/plugins/finder/finder.js +215 -199
- package/es2015/plugins/finder/finder.min.css +1 -1
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +149 -116
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +7 -4
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +36 -19
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +13 -10
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +9 -6
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +9 -6
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +2 -1516
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +15 -10
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +7 -4
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +16 -10
- package/es2015/plugins/translate/translate.min.js +2 -2
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +3 -3
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +19 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2119 -105
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +2 -446
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +24 -19
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +55 -46
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +10 -7
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +10 -8
- package/es2018/plugins/color-picker/color-picker.min.js +2 -2
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +20 -15
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +9 -6
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +6 -6
- package/es2018/plugins/finder/finder.js +214 -198
- package/es2018/plugins/finder/finder.min.css +1 -1
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +131 -98
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +7 -4
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +36 -19
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +13 -10
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +9 -6
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +9 -6
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +2 -1516
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +15 -10
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +7 -4
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +16 -10
- package/es2018/plugins/translate/translate.min.js +2 -2
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +3 -3
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +19 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2098 -104
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +2 -438
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +24 -19
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +55 -46
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +10 -7
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +10 -8
- package/es2021/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +20 -15
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +9 -6
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +6 -6
- package/es2021/plugins/finder/finder.js +214 -198
- package/es2021/plugins/finder/finder.min.css +1 -1
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +131 -98
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +7 -4
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +36 -19
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +13 -10
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +9 -6
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +9 -6
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +2 -1503
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +15 -10
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +7 -4
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +16 -10
- package/es2021/plugins/translate/translate.min.js +2 -2
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +3 -3
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +19 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2098 -104
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +2 -438
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +24 -19
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +55 -46
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +10 -7
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +10 -8
- package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +20 -15
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +9 -6
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +6 -6
- package/es2021.en/plugins/finder/finder.js +214 -198
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +131 -98
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +7 -4
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +17 -14
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +36 -19
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +13 -10
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +9 -6
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +9 -6
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +2 -1503
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +15 -10
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +7 -4
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +16 -10
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +3 -3
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +30 -51
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2320 -108
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +2 -511
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +26 -21
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +59 -50
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +10 -7
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +11 -9
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +20 -15
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +9 -6
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +6 -6
- package/es5/plugins/finder/finder.js +238 -222
- package/es5/plugins/finder/finder.min.css +1 -1
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +164 -131
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +9 -6
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +9 -9
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +18 -15
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +37 -20
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +13 -10
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +9 -6
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +9 -6
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +2 -1645
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +16 -11
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +7 -4
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +17 -11
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +3 -3
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/config.d.ts +11 -0
- package/esm/config.js +6 -0
- package/esm/core/ui/form/range/range.d.ts +23 -0
- package/esm/core/ui/form/range/range.js +6 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.js +6 -0
- package/esm/jodit-pro.d.ts +14 -0
- package/esm/jodit-pro.js +6 -0
- package/esm/plugins/autocomplete/autocomplete.d.ts +40 -0
- package/esm/plugins/autocomplete/autocomplete.js +6 -0
- package/esm/plugins/autocomplete/helpers.d.ts +25 -0
- package/esm/plugins/autocomplete/helpers.js +6 -0
- package/esm/plugins/autocomplete/interface.d.ts +19 -0
- package/esm/plugins/autocomplete/interface.js +6 -0
- package/esm/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
- package/esm/plugins/autocomplete/ui/autocomplete.js +6 -0
- package/esm/plugins/autocomplete/ui/item.d.ts +14 -0
- package/esm/plugins/autocomplete/ui/item.js +6 -0
- package/esm/plugins/backup/assets/restore.svg.js +1 -0
- package/esm/plugins/backup/backup.d.ts +29 -0
- package/esm/plugins/backup/backup.js +6 -0
- package/esm/plugins/backup/config.d.ts +18 -0
- package/esm/plugins/backup/config.js +6 -0
- package/esm/plugins/backup/interface.d.ts +14 -0
- package/esm/plugins/backup/interface.js +6 -0
- package/esm/plugins/backup/langs/index.d.ts +6 -0
- package/esm/plugins/backup/langs/index.js +6 -0
- package/esm/plugins/backup/modules/store.d.ts +15 -0
- package/esm/plugins/backup/modules/store.js +6 -0
- package/esm/plugins/backup/ui/box.d.ts +29 -0
- package/esm/plugins/backup/ui/box.js +6 -0
- package/esm/plugins/backup/ui/item.d.ts +17 -0
- package/esm/plugins/backup/ui/item.js +6 -0
- package/esm/plugins/backup/ui/list.d.ts +24 -0
- package/esm/plugins/backup/ui/list.js +6 -0
- package/esm/plugins/button-generator/assets/check.svg.js +1 -0
- package/esm/plugins/button-generator/assets/styles.json +1162 -0
- package/esm/plugins/button-generator/assets/styles.json.js +1 -0
- package/esm/plugins/button-generator/button-generator.d.ts +25 -0
- package/esm/plugins/button-generator/button-generator.js +1 -0
- package/esm/plugins/button-generator/config.d.ts +6 -0
- package/esm/plugins/button-generator/config.js +6 -0
- package/esm/plugins/button-generator/icon.svg.js +1 -0
- package/esm/plugins/button-generator/ui/button/button.d.ts +21 -0
- package/esm/plugins/button-generator/ui/button/button.js +7 -0
- package/esm/plugins/button-generator/ui/form/form.d.ts +20 -0
- package/esm/plugins/button-generator/ui/form/form.js +6 -0
- package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
- package/esm/plugins/button-generator/ui/generator/button-generator.js +6 -0
- package/esm/plugins/button-generator/ui/preview/preview.d.ts +22 -0
- package/esm/plugins/button-generator/ui/preview/preview.js +6 -0
- package/esm/plugins/change-case/change-case.d.ts +22 -0
- package/esm/plugins/change-case/change-case.js +6 -0
- package/esm/plugins/change-case/config.d.ts +6 -0
- package/esm/plugins/change-case/config.js +6 -0
- package/esm/plugins/change-case/icon.svg.js +1 -0
- package/esm/plugins/color-picker/color-picker.d.ts +18 -0
- package/esm/plugins/color-picker/color-picker.js +6 -0
- package/esm/plugins/color-picker/ui/input/color-input.d.ts +19 -0
- package/esm/plugins/color-picker/ui/input/color-input.js +6 -0
- package/esm/plugins/emoji/config.d.ts +10 -0
- package/esm/plugins/emoji/config.js +1 -0
- package/esm/plugins/emoji/emoji.d.ts +22 -0
- package/esm/plugins/emoji/emoji.js +6 -0
- package/esm/plugins/emoji/emoji.json +5667 -0
- package/esm/plugins/emoji/emoji.json.js +1 -0
- package/esm/plugins/emoji/emoji.svg.js +1 -0
- package/esm/plugins/emoji/interface.d.ts +24 -0
- package/esm/plugins/emoji/interface.js +6 -0
- package/esm/plugins/emoji/ui/emoji.d.ts +54 -0
- package/esm/plugins/emoji/ui/emoji.js +6 -0
- package/esm/plugins/export-docs/assets/export.svg.js +1 -0
- package/esm/plugins/export-docs/config.d.ts +21 -0
- package/esm/plugins/export-docs/config.js +6 -0
- package/esm/plugins/export-docs/export-docs.d.ts +18 -0
- package/esm/plugins/export-docs/export-docs.js +6 -0
- package/esm/plugins/finder/browser.d.ts +70 -0
- package/esm/plugins/finder/browser.js +6 -0
- package/esm/plugins/finder/config.d.ts +6 -0
- package/esm/plugins/finder/config.js +6 -0
- package/esm/plugins/finder/finder.d.ts +19 -0
- package/esm/plugins/finder/finder.js +6 -0
- package/esm/plugins/finder/helpers/context-menu.d.ts +19 -0
- package/esm/plugins/finder/helpers/context-menu.js +6 -0
- package/esm/plugins/finder/helpers/helpers.d.ts +6 -0
- package/esm/plugins/finder/helpers/helpers.js +6 -0
- package/esm/plugins/finder/helpers/history-manager.d.ts +24 -0
- package/esm/plugins/finder/helpers/history-manager.js +6 -0
- package/esm/plugins/finder/helpers/loading-manager.d.ts +25 -0
- package/esm/plugins/finder/helpers/loading-manager.js +6 -0
- package/esm/plugins/finder/helpers/persistent-store.d.ts +32 -0
- package/esm/plugins/finder/helpers/persistent-store.js +6 -0
- package/esm/plugins/finder/helpers/state-manager.d.ts +21 -0
- package/esm/plugins/finder/helpers/state-manager.js +6 -0
- package/esm/plugins/finder/langs/index.d.ts +7 -0
- package/esm/plugins/finder/langs/ru.d.ts +22 -0
- package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -0
- package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -0
- package/esm/plugins/finder/ui/assets/icons/index.d.ts +1 -0
- package/esm/plugins/finder/ui/assets/icons/index.js +6 -0
- package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -0
- package/esm/plugins/finder/ui/folder/folder.d.ts +18 -0
- package/esm/plugins/finder/ui/folder/folder.js +6 -0
- package/esm/plugins/finder/ui/header/header.d.ts +21 -0
- package/esm/plugins/finder/ui/header/header.js +6 -0
- package/esm/plugins/finder/ui/item/item.d.ts +24 -0
- package/esm/plugins/finder/ui/item/item.js +6 -0
- package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
- package/esm/plugins/finder/ui/lightboox/lightbox.js +6 -0
- package/esm/plugins/finder/ui/panel/panel.d.ts +60 -0
- package/esm/plugins/finder/ui/panel/panel.js +6 -0
- package/esm/plugins/finder/ui/preview/preview.d.ts +25 -0
- package/esm/plugins/finder/ui/preview/preview.js +6 -0
- package/esm/plugins/finder/ui/progress/progress.d.ts +19 -0
- package/esm/plugins/finder/ui/progress/progress.js +6 -0
- package/esm/plugins/finder/ui/settings/settings.d.ts +25 -0
- package/esm/plugins/finder/ui/settings/settings.js +6 -0
- package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
- package/esm/plugins/finder/ui/sidebar/sidebar.js +6 -0
- package/esm/plugins/finder/ui/source/source.d.ts +19 -0
- package/esm/plugins/finder/ui/source/source.js +6 -0
- package/esm/plugins/finder/ui/sources/sources.d.ts +15 -0
- package/esm/plugins/finder/ui/sources/sources.js +6 -0
- package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
- package/esm/plugins/finder/ui/statusbar/statusbar.js +6 -0
- package/esm/plugins/finder/ui/tree/tree.d.ts +16 -0
- package/esm/plugins/finder/ui/tree/tree.js +6 -0
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +6 -0
- package/esm/plugins/google-maps/assets/circle.svg.js +1 -0
- package/esm/plugins/google-maps/assets/hand.svg.js +1 -0
- package/esm/plugins/google-maps/assets/icon.svg.js +1 -0
- package/esm/plugins/google-maps/assets/index.d.ts +6 -0
- package/esm/plugins/google-maps/assets/index.js +6 -0
- package/esm/plugins/google-maps/assets/marker.svg.js +1 -0
- package/esm/plugins/google-maps/assets/polygon.svg.js +1 -0
- package/esm/plugins/google-maps/assets/polyline.svg.js +1 -0
- package/esm/plugins/google-maps/assets/text.svg.js +1 -0
- package/esm/plugins/google-maps/config.d.ts +45 -0
- package/esm/plugins/google-maps/config.js +6 -0
- package/esm/plugins/google-maps/google-maps.d.ts +29 -0
- package/esm/plugins/google-maps/google-maps.js +6 -0
- package/esm/plugins/google-maps/helpers/const.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/const.js +6 -0
- package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
- package/esm/plugins/google-maps/helpers/generate-js-script.js +1 -0
- package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +6 -0
- package/esm/plugins/google-maps/helpers/helpers.d.ts +14 -0
- package/esm/plugins/google-maps/helpers/helpers.js +6 -0
- package/esm/plugins/google-maps/helpers/static-url.d.ts +7 -0
- package/esm/plugins/google-maps/helpers/static-url.js +6 -0
- package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +6 -0
- package/esm/plugins/google-maps/ui/editors/base.d.ts +15 -0
- package/esm/plugins/google-maps/ui/editors/base.js +6 -0
- package/esm/plugins/google-maps/ui/editors/index.d.ts +8 -0
- package/esm/plugins/google-maps/ui/editors/index.js +6 -0
- package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +6 -0
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +6 -0
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +6 -0
- package/esm/plugins/google-maps/ui/index.d.ts +10 -0
- package/esm/plugins/google-maps/ui/index.js +6 -0
- package/esm/plugins/google-maps/ui/map/map.d.ts +39 -0
- package/esm/plugins/google-maps/ui/map/map.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
- package/esm/plugins/google-maps/ui/map/modules/index.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/remove-element.js +6 -0
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +6 -0
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +6 -0
- package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
- package/esm/plugins/google-maps/ui/maps-props/maps-props.js +6 -0
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +6 -0
- package/esm/plugins/google-search/google-search.d.ts +17 -0
- package/esm/plugins/google-search/google-search.js +6 -0
- package/esm/plugins/google-search/icon.svg.js +1 -0
- package/esm/plugins/highlight-signature/highlight-signature.d.ts +54 -0
- package/esm/plugins/highlight-signature/highlight-signature.js +6 -0
- package/esm/plugins/iframe-editor/config.d.ts +6 -0
- package/esm/plugins/iframe-editor/config.js +6 -0
- package/esm/plugins/iframe-editor/icon.svg.js +1 -0
- package/esm/plugins/iframe-editor/iframe-editor.d.ts +22 -0
- package/esm/plugins/iframe-editor/iframe-editor.js +6 -0
- package/esm/plugins/iframe-editor/interface.d.ts +15 -0
- package/esm/plugins/iframe-editor/interface.js +6 -0
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +6 -0
- package/esm/plugins/index.d.ts +8 -0
- package/esm/plugins/index.js +6 -0
- package/esm/plugins/keyboard/config.d.ts +23 -0
- package/esm/plugins/keyboard/config.js +1 -0
- package/esm/plugins/keyboard/icon.svg.js +1 -0
- package/esm/plugins/keyboard/interface.d.ts +13 -0
- package/esm/plugins/keyboard/interface.js +6 -0
- package/esm/plugins/keyboard/keyboard.d.ts +27 -0
- package/esm/plugins/keyboard/keyboard.js +1 -0
- package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -0
- package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -0
- package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +6 -0
- package/esm/plugins/license/helpers/helpers.d.ts +14 -0
- package/esm/plugins/license/helpers/helpers.js +7 -0
- package/esm/plugins/license/license.d.ts +16 -0
- package/esm/plugins/license/license.js +6 -0
- package/esm/plugins/mobile-view/config.d.ts +14 -0
- package/esm/plugins/mobile-view/config.js +6 -0
- package/esm/plugins/mobile-view/icon.svg.js +1 -0
- package/esm/plugins/mobile-view/mobile-view.d.ts +6 -0
- package/esm/plugins/mobile-view/mobile-view.js +6 -0
- package/esm/plugins/page-break/assets/page-break.svg.js +1 -0
- package/esm/plugins/page-break/config.d.ts +13 -0
- package/esm/plugins/page-break/config.js +6 -0
- package/esm/plugins/page-break/page-break.css.d.ts +2 -0
- package/esm/plugins/page-break/page-break.css.js +6 -0
- package/esm/plugins/page-break/page-break.d.ts +23 -0
- package/esm/plugins/page-break/page-break.js +6 -0
- package/esm/plugins/paste-code/config.d.ts +36 -0
- package/esm/plugins/paste-code/config.js +6 -0
- package/esm/plugins/paste-code/icon.svg.js +1 -0
- package/esm/plugins/paste-code/paste-code.d.ts +30 -0
- package/esm/plugins/paste-code/paste-code.js +6 -0
- package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clean-styles.js +6 -0
- package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clear-attributes.js +6 -0
- package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/clear-class-name.js +6 -0
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +6 -0
- package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +6 -0
- package/esm/plugins/paste-from-word/cases/index.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/index.js +6 -0
- package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/mark-page-break.js +6 -0
- package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/normalize-image-props.js +6 -0
- package/esm/plugins/paste-from-word/cases/process-image.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/process-image.js +6 -0
- package/esm/plugins/paste-from-word/cases/process-links.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/process-links.js +6 -0
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +6 -0
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +6 -0
- package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/replace-old-tags.js +6 -0
- package/esm/plugins/paste-from-word/cases/table.d.ts +7 -0
- package/esm/plugins/paste-from-word/cases/table.js +6 -0
- package/esm/plugins/paste-from-word/config.d.ts +24 -0
- package/esm/plugins/paste-from-word/config.js +6 -0
- package/esm/plugins/paste-from-word/constants.d.ts +20 -0
- package/esm/plugins/paste-from-word/constants.js +6 -0
- package/esm/plugins/paste-from-word/element/checkers.d.ts +14 -0
- package/esm/plugins/paste-from-word/element/checkers.js +6 -0
- package/esm/plugins/paste-from-word/element/element.d.ts +34 -0
- package/esm/plugins/paste-from-word/element/element.js +6 -0
- package/esm/plugins/paste-from-word/element/index.d.ts +8 -0
- package/esm/plugins/paste-from-word/element/index.js +6 -0
- package/esm/plugins/paste-from-word/element/render.d.ts +9 -0
- package/esm/plugins/paste-from-word/element/render.js +6 -0
- package/esm/plugins/paste-from-word/element/style.d.ts +20 -0
- package/esm/plugins/paste-from-word/element/style.js +6 -0
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +6 -0
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +6 -0
- package/esm/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
- package/esm/plugins/paste-from-word/helpers/helpers.js +6 -0
- package/esm/plugins/paste-from-word/helpers/index.d.ts +9 -0
- package/esm/plugins/paste-from-word/helpers/index.js +6 -0
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +6 -0
- package/esm/plugins/paste-from-word/interface.d.ts +17 -0
- package/esm/plugins/paste-from-word/interface.js +6 -0
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +14 -0
- package/esm/plugins/paste-from-word/paste-from-word.js +6 -0
- package/esm/plugins/show-blocks/config.d.ts +15 -0
- package/esm/plugins/show-blocks/config.js +6 -0
- package/esm/plugins/show-blocks/langs/ar.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/de.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/es.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/fa.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/fr.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/he.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/hu.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/id.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/index.d.ts +25 -0
- package/esm/plugins/show-blocks/langs/index.js +6 -0
- package/esm/plugins/show-blocks/langs/it.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ja.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ko.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/nl.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/pl.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/pt_br.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/ru.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/tr.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
- package/esm/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
- package/esm/plugins/show-blocks/show-blocks.d.ts +39 -0
- package/esm/plugins/show-blocks/show-blocks.js +6 -0
- package/esm/plugins/show-blocks/show-blocks.svg.js +1 -0
- package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -0
- package/esm/plugins/todo-list/config.d.ts +15 -0
- package/esm/plugins/todo-list/config.js +6 -0
- package/esm/plugins/todo-list/todo-list.d.ts +41 -0
- package/esm/plugins/todo-list/todo-list.js +6 -0
- package/esm/plugins/translate/assets/swap.svg.js +1 -0
- package/esm/plugins/translate/assets/translate.svg.js +1 -0
- package/esm/plugins/translate/config.d.ts +20 -0
- package/esm/plugins/translate/config.js +6 -0
- package/esm/plugins/translate/interface.d.ts +50 -0
- package/esm/plugins/translate/interface.js +6 -0
- package/esm/plugins/translate/providers/google/google.d.ts +14 -0
- package/esm/plugins/translate/providers/google/google.js +6 -0
- package/esm/plugins/translate/providers/languages.d.ts +140 -0
- package/esm/plugins/translate/providers/languages.js +6 -0
- package/esm/plugins/translate/translate.d.ts +20 -0
- package/esm/plugins/translate/translate.js +6 -0
- package/esm/plugins/translate/ui/list/list.d.ts +34 -0
- package/esm/plugins/translate/ui/list/list.js +6 -0
- package/esm/plugins/translate/ui/settings/settings.d.ts +35 -0
- package/esm/plugins/translate/ui/settings/settings.js +6 -0
- package/esm/plugins/tune-block/config.d.ts +13 -0
- package/esm/plugins/tune-block/config.js +6 -0
- package/esm/plugins/tune-block/tune-block.d.ts +30 -0
- package/esm/plugins/tune-block/tune-block.js +6 -0
- package/esm/plugins/tune-block/ui/tuner/icon.svg.js +1 -0
- package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
- package/esm/plugins/tune-block/ui/tuner/tuner.js +6 -0
- package/esm/traits/resize/resize.d.ts +17 -0
- package/esm/traits/resize/resize.js +6 -0
- package/esm/traits/select-items/select-items.d.ts +16 -0
- package/esm/traits/select-items/select-items.js +6 -0
- package/esm/tsconfig.json +19 -0
- package/esm/types/view.d.ts +9 -0
- package/esm/typings.d.ts +5 -0
- package/package.json +3 -2
- package/types/config.d.ts +11 -0
- package/types/core/ui/form/range/range.d.ts +23 -0
- package/types/index.d.ts +7 -0
- package/types/jodit-pro.d.ts +14 -0
- package/types/plugins/autocomplete/autocomplete.d.ts +40 -0
- package/types/plugins/autocomplete/helpers.d.ts +25 -0
- package/types/plugins/autocomplete/interface.d.ts +19 -0
- package/types/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
- package/types/plugins/autocomplete/ui/item.d.ts +14 -0
- package/types/plugins/backup/backup.d.ts +29 -0
- package/types/plugins/backup/config.d.ts +18 -0
- package/types/plugins/backup/interface.d.ts +14 -0
- package/types/plugins/backup/langs/index.d.ts +6 -0
- package/types/plugins/backup/modules/store.d.ts +15 -0
- package/types/plugins/backup/ui/box.d.ts +29 -0
- package/types/plugins/backup/ui/item.d.ts +17 -0
- package/types/plugins/backup/ui/list.d.ts +24 -0
- package/types/plugins/button-generator/button-generator.d.ts +25 -0
- package/types/plugins/button-generator/config.d.ts +6 -0
- package/types/plugins/button-generator/ui/button/button.d.ts +21 -0
- package/types/plugins/button-generator/ui/form/form.d.ts +20 -0
- package/types/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
- package/types/plugins/button-generator/ui/preview/preview.d.ts +22 -0
- package/types/plugins/change-case/change-case.d.ts +22 -0
- package/types/plugins/change-case/config.d.ts +6 -0
- package/types/plugins/color-picker/color-picker.d.ts +18 -0
- package/types/plugins/color-picker/ui/input/color-input.d.ts +19 -0
- package/types/plugins/emoji/config.d.ts +10 -0
- package/types/plugins/emoji/emoji.d.ts +22 -0
- package/types/plugins/emoji/interface.d.ts +24 -0
- package/types/plugins/emoji/ui/emoji.d.ts +54 -0
- package/types/plugins/export-docs/config.d.ts +21 -0
- package/types/plugins/export-docs/export-docs.d.ts +18 -0
- package/types/plugins/finder/browser.d.ts +70 -0
- package/types/plugins/finder/config.d.ts +6 -0
- package/types/plugins/finder/finder.d.ts +19 -0
- package/types/plugins/finder/helpers/context-menu.d.ts +19 -0
- package/types/plugins/finder/helpers/helpers.d.ts +6 -0
- package/types/plugins/finder/helpers/history-manager.d.ts +24 -0
- package/types/plugins/finder/helpers/loading-manager.d.ts +25 -0
- package/types/plugins/finder/helpers/persistent-store.d.ts +32 -0
- package/types/plugins/finder/helpers/state-manager.d.ts +21 -0
- package/types/plugins/finder/langs/index.d.ts +7 -0
- package/types/plugins/finder/langs/ru.d.ts +22 -0
- package/types/plugins/finder/ui/assets/icons/index.d.ts +1 -0
- package/types/plugins/finder/ui/folder/folder.d.ts +18 -0
- package/types/plugins/finder/ui/header/header.d.ts +21 -0
- package/types/plugins/finder/ui/item/item.d.ts +24 -0
- package/types/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
- package/types/plugins/finder/ui/panel/panel.d.ts +60 -0
- package/types/plugins/finder/ui/preview/preview.d.ts +25 -0
- package/types/plugins/finder/ui/progress/progress.d.ts +19 -0
- package/types/plugins/finder/ui/settings/settings.d.ts +25 -0
- package/types/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
- package/types/plugins/finder/ui/source/source.d.ts +19 -0
- package/types/plugins/finder/ui/sources/sources.d.ts +15 -0
- package/types/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
- package/types/plugins/finder/ui/tree/tree.d.ts +16 -0
- package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
- package/types/plugins/google-maps/assets/index.d.ts +6 -0
- package/types/plugins/google-maps/config.d.ts +45 -0
- package/types/plugins/google-maps/google-maps.d.ts +29 -0
- package/types/plugins/google-maps/helpers/const.d.ts +7 -0
- package/types/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
- package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
- package/types/plugins/google-maps/helpers/helpers.d.ts +14 -0
- package/types/plugins/google-maps/helpers/static-url.d.ts +7 -0
- package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
- package/types/plugins/google-maps/ui/editors/base.d.ts +15 -0
- package/types/plugins/google-maps/ui/editors/index.d.ts +8 -0
- package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
- package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
- package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
- package/types/plugins/google-maps/ui/index.d.ts +10 -0
- package/types/plugins/google-maps/ui/map/map.d.ts +39 -0
- package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
- package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
- package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
- package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
- package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
- package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
- package/types/plugins/google-search/google-search.d.ts +17 -0
- package/types/plugins/highlight-signature/highlight-signature.d.ts +54 -0
- package/types/plugins/iframe-editor/config.d.ts +6 -0
- package/types/plugins/iframe-editor/iframe-editor.d.ts +22 -0
- package/types/plugins/iframe-editor/interface.d.ts +15 -0
- package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
- package/types/plugins/index.d.ts +8 -0
- package/types/plugins/keyboard/config.d.ts +23 -0
- package/types/plugins/keyboard/interface.d.ts +13 -0
- package/types/plugins/keyboard/keyboard.d.ts +27 -0
- package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
- package/types/plugins/license/helpers/helpers.d.ts +14 -0
- package/types/plugins/license/license.d.ts +16 -0
- package/types/plugins/mobile-view/config.d.ts +14 -0
- package/types/plugins/mobile-view/mobile-view.d.ts +6 -0
- package/types/plugins/page-break/config.d.ts +13 -0
- package/types/plugins/page-break/page-break.css.d.ts +2 -0
- package/types/plugins/page-break/page-break.d.ts +23 -0
- package/types/plugins/paste-code/config.d.ts +36 -0
- package/types/plugins/paste-code/paste-code.d.ts +30 -0
- package/types/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
- package/types/plugins/paste-from-word/cases/index.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/process-image.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/process-links.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
- package/types/plugins/paste-from-word/cases/table.d.ts +7 -0
- package/types/plugins/paste-from-word/config.d.ts +24 -0
- package/types/plugins/paste-from-word/constants.d.ts +20 -0
- package/types/plugins/paste-from-word/element/checkers.d.ts +14 -0
- package/types/plugins/paste-from-word/element/element.d.ts +34 -0
- package/types/plugins/paste-from-word/element/index.d.ts +8 -0
- package/types/plugins/paste-from-word/element/render.d.ts +9 -0
- package/types/plugins/paste-from-word/element/style.d.ts +20 -0
- package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
- package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
- package/types/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
- package/types/plugins/paste-from-word/helpers/index.d.ts +9 -0
- package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
- package/types/plugins/paste-from-word/interface.d.ts +17 -0
- package/types/plugins/paste-from-word/paste-from-word.d.ts +14 -0
- package/types/plugins/show-blocks/config.d.ts +15 -0
- package/types/plugins/show-blocks/langs/ar.d.ts +4 -0
- package/types/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
- package/types/plugins/show-blocks/langs/de.d.ts +4 -0
- package/types/plugins/show-blocks/langs/es.d.ts +4 -0
- package/types/plugins/show-blocks/langs/fa.d.ts +4 -0
- package/types/plugins/show-blocks/langs/fr.d.ts +4 -0
- package/types/plugins/show-blocks/langs/he.d.ts +4 -0
- package/types/plugins/show-blocks/langs/hu.d.ts +4 -0
- package/types/plugins/show-blocks/langs/id.d.ts +4 -0
- package/types/plugins/show-blocks/langs/index.d.ts +25 -0
- package/types/plugins/show-blocks/langs/it.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ja.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ko.d.ts +4 -0
- package/types/plugins/show-blocks/langs/nl.d.ts +4 -0
- package/types/plugins/show-blocks/langs/pl.d.ts +4 -0
- package/types/plugins/show-blocks/langs/pt_br.d.ts +4 -0
- package/types/plugins/show-blocks/langs/ru.d.ts +4 -0
- package/types/plugins/show-blocks/langs/tr.d.ts +4 -0
- package/types/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
- package/types/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
- package/types/plugins/show-blocks/show-blocks.d.ts +39 -0
- package/types/plugins/todo-list/config.d.ts +15 -0
- package/types/plugins/todo-list/todo-list.d.ts +41 -0
- package/types/plugins/translate/config.d.ts +20 -0
- package/types/plugins/translate/interface.d.ts +50 -0
- package/types/plugins/translate/providers/google/google.d.ts +14 -0
- package/types/plugins/translate/providers/languages.d.ts +140 -0
- package/types/plugins/translate/translate.d.ts +20 -0
- package/types/plugins/translate/ui/list/list.d.ts +34 -0
- package/types/plugins/translate/ui/settings/settings.d.ts +35 -0
- package/types/plugins/tune-block/config.d.ts +13 -0
- package/types/plugins/tune-block/tune-block.d.ts +30 -0
- package/types/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
- package/types/traits/resize/resize.d.ts +17 -0
- package/types/traits/select-items/select-items.d.ts +16 -0
- package/types/tsconfig.json +19 -0
- package/types/types/view.d.ts +9 -0
- package/types/typings.d.ts +5 -0
- package/es2015/plugins/autocomplete/autocomplete.css +0 -26
- package/es2015/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2018/plugins/autocomplete/autocomplete.css +0 -26
- package/es2018/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2021/plugins/autocomplete/autocomplete.css +0 -26
- package/es2021/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es2021.en/plugins/autocomplete/autocomplete.css +0 -26
- package/es2021.en/plugins/autocomplete/autocomplete.min.css +0 -1
- package/es5/plugins/autocomplete/autocomplete.css +0 -26
- package/es5/plugins/autocomplete/autocomplete.min.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.21
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -73,25 +73,25 @@ module.exports = "<svg viewBox=\"0 0 252 252\" xmlns=\"http://www.w3.org/2000/sv
|
|
|
73
73
|
/* harmony export */ });
|
|
74
74
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(97582);
|
|
75
75
|
/* harmony import */ var _ui_assets_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68349);
|
|
76
|
-
/* harmony import */ var
|
|
77
|
-
/* harmony import */ var
|
|
78
|
-
/* harmony import */ var
|
|
79
|
-
/* harmony import */ var
|
|
80
|
-
/* harmony import */ var
|
|
81
|
-
/* harmony import */ var
|
|
82
|
-
/* harmony import */ var
|
|
83
|
-
/* harmony import */ var
|
|
84
|
-
/* harmony import */ var
|
|
85
|
-
/* harmony import */ var
|
|
86
|
-
/* harmony import */ var
|
|
87
|
-
/* harmony import */ var
|
|
88
|
-
/* harmony import */ var
|
|
89
|
-
/* harmony import */ var
|
|
90
|
-
/* harmony import */ var
|
|
91
|
-
/* harmony import */ var
|
|
76
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95582);
|
|
77
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8079);
|
|
78
|
+
/* harmony import */ var jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2932);
|
|
79
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50526);
|
|
80
|
+
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(11612);
|
|
81
|
+
/* harmony import */ var jodit_modules_image_editor_image_editor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92803);
|
|
82
|
+
/* harmony import */ var jodit_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3028);
|
|
83
|
+
/* harmony import */ var jodit_core_traits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46567);
|
|
84
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77628);
|
|
85
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(53852);
|
|
86
|
+
/* harmony import */ var jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19564);
|
|
87
|
+
/* harmony import */ var _ui_panel_panel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(96123);
|
|
88
|
+
/* harmony import */ var _helpers_state_manager__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(83568);
|
|
89
|
+
/* harmony import */ var _ui_header_header__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(65669);
|
|
90
|
+
/* harmony import */ var _ui_progress_progress__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(22840);
|
|
91
|
+
/* harmony import */ var _helpers_persistent_store__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(93469);
|
|
92
|
+
/* harmony import */ var _helpers_history_manager__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(9581);
|
|
93
|
+
/* harmony import */ var _helpers_context_menu__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(63052);
|
|
92
94
|
/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(70467);
|
|
93
|
-
/* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(88292);
|
|
94
|
-
/* harmony import */ var _license_license__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(19564);
|
|
95
95
|
/* harmony import */ var _ui_lightboox_lightbox__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(41424);
|
|
96
96
|
/* harmony import */ var _helpers_loading_manager__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(48086);
|
|
97
97
|
/*!
|
|
@@ -126,19 +126,19 @@ module.exports = "<svg viewBox=\"0 0 252 252\" xmlns=\"http://www.w3.org/2000/sv
|
|
|
126
126
|
var FileBrowserPro = /** @class */ (function (_super) {
|
|
127
127
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__extends */ .ZT)(FileBrowserPro, _super);
|
|
128
128
|
function FileBrowserPro(options) {
|
|
129
|
-
var _this = _super.call(this, (0,
|
|
129
|
+
var _this = _super.call(this, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(Object.assign(options || {}, {
|
|
130
130
|
resizable: true,
|
|
131
131
|
draggable: true,
|
|
132
132
|
toolbarButtons: (options === null || options === void 0 ? void 0 : options.toolbarButtons) ||
|
|
133
|
-
|
|
134
|
-
buttons:
|
|
133
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config.defaultOptions.filebrowser.buttons */ .D.defaultOptions.filebrowser.buttons,
|
|
134
|
+
buttons: jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__/* .JoditPro.atom */ .y.atom([
|
|
135
135
|
'filebrowser.settings',
|
|
136
136
|
'fullsize',
|
|
137
137
|
'dialog.close'
|
|
138
138
|
])
|
|
139
|
-
}),
|
|
140
|
-
_this.dataProvider = (0,
|
|
141
|
-
_this.state = (0,
|
|
139
|
+
}), jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config.defaultOptions.filebrowser */ .D.defaultOptions.filebrowser)) || this;
|
|
140
|
+
_this.dataProvider = (0,jodit_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_7__/* .makeDataProvider */ .S)(_this, _this.options);
|
|
141
|
+
_this.state = (0,jodit_modules__WEBPACK_IMPORTED_MODULE_2__.observable)({
|
|
142
142
|
onSelectCallBack: null,
|
|
143
143
|
theme: 'default',
|
|
144
144
|
showSideBar: true,
|
|
@@ -166,16 +166,16 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
166
166
|
filterWord: '',
|
|
167
167
|
onlyImages: false
|
|
168
168
|
});
|
|
169
|
-
_this.persistent = new
|
|
169
|
+
_this.persistent = new _helpers_persistent_store__WEBPACK_IMPORTED_MODULE_16__/* .PersistentStore */ .h(_this, _this.state);
|
|
170
170
|
_this.loadingManager = new _helpers_loading_manager__WEBPACK_IMPORTED_MODULE_20__/* .LoadingManager */ .l(_this, _this.state);
|
|
171
|
-
_this.stateManager = new
|
|
172
|
-
_this.historyManager = new
|
|
173
|
-
_this.contextMenuManager = new
|
|
174
|
-
_this.header = new
|
|
175
|
-
_this.panel = new
|
|
171
|
+
_this.stateManager = new _helpers_state_manager__WEBPACK_IMPORTED_MODULE_13__/* .StateManager */ .O(_this.state);
|
|
172
|
+
_this.historyManager = new _helpers_history_manager__WEBPACK_IMPORTED_MODULE_17__/* .HistoryManager */ .E(_this, _this.state);
|
|
173
|
+
_this.contextMenuManager = new _helpers_context_menu__WEBPACK_IMPORTED_MODULE_18__/* .ContextMenuManager */ .z(_this);
|
|
174
|
+
_this.header = new _ui_header_header__WEBPACK_IMPORTED_MODULE_14__/* .UIBrowserHeader */ .C(_this, _this.options, _this.stateManager);
|
|
175
|
+
_this.panel = new _ui_panel_panel__WEBPACK_IMPORTED_MODULE_12__/* .UIBrowserPanel */ .G(_this, _this.stateManager);
|
|
176
176
|
_this.files = _this.panel;
|
|
177
177
|
_this.tree = _this.panel;
|
|
178
|
-
|
|
178
|
+
jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_11__/* .license.make */ .V.make(_this);
|
|
179
179
|
if (!_this.persistent.theme && _this.options.theme) {
|
|
180
180
|
_this.persistent.theme = _this.options.theme;
|
|
181
181
|
}
|
|
@@ -194,7 +194,7 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
194
194
|
});
|
|
195
195
|
_this.e.on('beforeClose', _this.removeGlobalListeners);
|
|
196
196
|
_this.e.fire('afterInit');
|
|
197
|
-
|
|
197
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__/* .JoditPro.prototype.afterInitHook.call */ .y.prototype.afterInitHook.call(_this);
|
|
198
198
|
return _this;
|
|
199
199
|
}
|
|
200
200
|
/** @override */
|
|
@@ -213,17 +213,17 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
213
213
|
};
|
|
214
214
|
FileBrowserPro.prototype.status = function (message, success) {
|
|
215
215
|
if (success === void 0) { success = !(message instanceof Error); }
|
|
216
|
-
if ((0,
|
|
216
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isAbort)(message)) {
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
|
-
if (!
|
|
219
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.IS_PROD && !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(message)) {
|
|
220
220
|
console.error(message);
|
|
221
221
|
}
|
|
222
|
-
this.message.message((0,
|
|
222
|
+
this.message.message((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(message) ? message : message.message, success ? 'success' : 'error', this.options.howLongShowMsg);
|
|
223
223
|
};
|
|
224
224
|
Object.defineProperty(FileBrowserPro.prototype, "progressbar", {
|
|
225
225
|
get: function () {
|
|
226
|
-
return new
|
|
226
|
+
return new _ui_progress_progress__WEBPACK_IMPORTED_MODULE_15__/* .UIProgress */ .u(this, this.stateManager.state);
|
|
227
227
|
},
|
|
228
228
|
enumerable: false,
|
|
229
229
|
configurable: true
|
|
@@ -249,7 +249,7 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
249
249
|
* Resize handler
|
|
250
250
|
*/
|
|
251
251
|
FileBrowserPro.prototype.onResizeWindow = function () {
|
|
252
|
-
(0,
|
|
252
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.css)(this.dialog, {
|
|
253
253
|
maxWidth: screen.width,
|
|
254
254
|
minHeight: Math.min(this.options.height, screen.height),
|
|
255
255
|
minWidth: Math.min(this.options.width, screen.width)
|
|
@@ -288,24 +288,24 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
288
288
|
var activeElement = this.od.activeElement;
|
|
289
289
|
if (!this.state.activeElements.length ||
|
|
290
290
|
!activeElement ||
|
|
291
|
-
!
|
|
291
|
+
!jodit_modules__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(this.panel.items.container, activeElement)) {
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
294
294
|
var elms = this.state.elements;
|
|
295
295
|
switch (e.key) {
|
|
296
|
-
case
|
|
296
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_ENTER: {
|
|
297
297
|
return this.onChooseItems();
|
|
298
298
|
}
|
|
299
|
-
case
|
|
299
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_DELETE: {
|
|
300
300
|
return this.onFileRemove();
|
|
301
301
|
}
|
|
302
|
-
case
|
|
303
|
-
case
|
|
304
|
-
case
|
|
305
|
-
case
|
|
306
|
-
var next = e.key ===
|
|
302
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_RIGHT:
|
|
303
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_LEFT:
|
|
304
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_DOWN:
|
|
305
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_UP: {
|
|
306
|
+
var next = e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_RIGHT || e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_DOWN, index = this.state.lastSelectedIndex;
|
|
307
307
|
var nextIndex = void 0;
|
|
308
|
-
if ([
|
|
308
|
+
if ([jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_RIGHT, jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_LEFT].includes(e.key)) {
|
|
309
309
|
if (next) {
|
|
310
310
|
nextIndex = !elms[index + 1] ? 0 : index + 1;
|
|
311
311
|
}
|
|
@@ -388,13 +388,13 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
388
388
|
var _a;
|
|
389
389
|
if (this.state.activeElements.length === 1) {
|
|
390
390
|
var file = (_a = (0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__read */ .CR)(this.state.activeElements, 1), _a[0]);
|
|
391
|
-
|
|
391
|
+
jodit_modules_image_editor_image_editor__WEBPACK_IMPORTED_MODULE_6__/* .openImageEditor.call */ .r.call(this, file.fileURL, file.file || '', file.path, file.sourceName, undefined, this.status);
|
|
392
392
|
}
|
|
393
393
|
};
|
|
394
394
|
FileBrowserPro.prototype.onFolderRename = function (data) {
|
|
395
395
|
var _this = this;
|
|
396
396
|
this.prompt('Enter new name', 'Rename', function (newName) {
|
|
397
|
-
if (!(0,
|
|
397
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isValidName)(newName) || newName === data.name) {
|
|
398
398
|
_this.status(_this.i18n('Enter new name'));
|
|
399
399
|
return false;
|
|
400
400
|
}
|
|
@@ -451,7 +451,7 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
451
451
|
var name = item.file || item.name || '';
|
|
452
452
|
if (this.state.activeElements.length === 1 && name) {
|
|
453
453
|
this.prompt('Enter new name', 'Rename', function (newName) {
|
|
454
|
-
if (!(0,
|
|
454
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isValidName)(newName)) {
|
|
455
455
|
_this.status(_this.i18n('Enter new name'));
|
|
456
456
|
return false;
|
|
457
457
|
}
|
|
@@ -490,7 +490,7 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
490
490
|
};
|
|
491
491
|
FileBrowserPro.prototype.initUploader = function () {
|
|
492
492
|
var _this = this;
|
|
493
|
-
var self = this, uploaderOptions = (0,
|
|
493
|
+
var self = this, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(self.o.uploader || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config.defaultOptions.uploader */ .D.defaultOptions.uploader);
|
|
494
494
|
var uploadHandler = function () {
|
|
495
495
|
return _this.loadingManager.loadItems();
|
|
496
496
|
};
|
|
@@ -526,65 +526,65 @@ var FileBrowserPro = /** @class */ (function (_super) {
|
|
|
526
526
|
];
|
|
527
527
|
keys.forEach(function (key) {
|
|
528
528
|
if (_this.options[key] != null) {
|
|
529
|
-
_this.options[key] = (0,
|
|
529
|
+
_this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(_this.options[key], _this.o.ajax);
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
532
|
};
|
|
533
533
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
534
|
-
|
|
534
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
535
535
|
], FileBrowserPro.prototype, "status", null);
|
|
536
536
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
537
|
-
|
|
537
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.cache
|
|
538
538
|
], FileBrowserPro.prototype, "progressbar", null);
|
|
539
539
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
540
|
-
(0,
|
|
540
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':resize', { context: window })
|
|
541
541
|
], FileBrowserPro.prototype, "onResizeWindow", null);
|
|
542
542
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
543
|
-
(0,
|
|
543
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(['state.currentPath', 'state.currentSource'])
|
|
544
544
|
], FileBrowserPro.prototype, "onChangePath", null);
|
|
545
545
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
546
|
-
(0,
|
|
546
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.theme')
|
|
547
547
|
], FileBrowserPro.prototype, "onChangeTheme", null);
|
|
548
548
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
549
|
-
(0,
|
|
549
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':toggleSettings.filebrowser')
|
|
550
550
|
], FileBrowserPro.prototype, "onToggleSettings", null);
|
|
551
551
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
552
|
-
|
|
552
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
553
553
|
], FileBrowserPro.prototype, "onKeyPress", null);
|
|
554
554
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
555
|
-
|
|
555
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
556
556
|
], FileBrowserPro.prototype, "removeGlobalListeners", null);
|
|
557
557
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
558
|
-
(0,
|
|
558
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':fileRemove.filebrowser')
|
|
559
559
|
], FileBrowserPro.prototype, "onFileRemove", null);
|
|
560
560
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
561
|
-
(0,
|
|
561
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':edit.filebrowser')
|
|
562
562
|
], FileBrowserPro.prototype, "onFileEdit", null);
|
|
563
563
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
564
|
-
(0,
|
|
564
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':folderRename.filebrowser')
|
|
565
565
|
], FileBrowserPro.prototype, "onFolderRename", null);
|
|
566
566
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
567
|
-
(0,
|
|
567
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':folderRemove.filebrowser')
|
|
568
568
|
], FileBrowserPro.prototype, "onFolderRemove", null);
|
|
569
569
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
570
|
-
(0,
|
|
570
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':folderCreate.filebrowser')
|
|
571
571
|
], FileBrowserPro.prototype, "onFolderCreate", null);
|
|
572
572
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
573
|
-
(0,
|
|
573
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':fileRename.filebrowser')
|
|
574
574
|
], FileBrowserPro.prototype, "onFileRename", null);
|
|
575
575
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
576
|
-
(0,
|
|
576
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':select.filebrowser')
|
|
577
577
|
], FileBrowserPro.prototype, "onChooseItems", null);
|
|
578
578
|
(0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
579
|
-
(0,
|
|
579
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':openLightBox.filebrowser')
|
|
580
580
|
], FileBrowserPro.prototype, "onOpenLightBox", null);
|
|
581
581
|
FileBrowserPro = (0,tslib__WEBPACK_IMPORTED_MODULE_21__/* .__decorate */ .gn)([
|
|
582
|
-
|
|
583
|
-
(0,
|
|
582
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.component,
|
|
583
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.derive)(jodit_core_traits__WEBPACK_IMPORTED_MODULE_8__/* .Dlgs */ .lf)
|
|
584
584
|
], FileBrowserPro);
|
|
585
585
|
return FileBrowserPro;
|
|
586
|
-
}(
|
|
587
|
-
Object.defineProperty(
|
|
586
|
+
}(jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_3__/* .Dialog */ .Vq));
|
|
587
|
+
Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__/* .JoditPro.modules */ .y.modules, 'FileBrowserPro', {
|
|
588
588
|
value: FileBrowserPro,
|
|
589
589
|
writable: false,
|
|
590
590
|
enumerable: true,
|
|
@@ -698,7 +698,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
698
698
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97582);
|
|
699
699
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
700
700
|
/* harmony import */ var _browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68813);
|
|
701
|
-
/* harmony import */ var
|
|
701
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53852);
|
|
702
702
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99993);
|
|
703
703
|
/*!
|
|
704
704
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -715,7 +715,7 @@ var finder = /** @class */ (function (_super) {
|
|
|
715
715
|
function finder() {
|
|
716
716
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
717
717
|
/** @override */
|
|
718
|
-
_this.hasStyle = !
|
|
718
|
+
_this.hasStyle = !jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.fatMode */ .y.fatMode;
|
|
719
719
|
return _this;
|
|
720
720
|
}
|
|
721
721
|
/** @override */
|
|
@@ -738,7 +738,7 @@ var finder = /** @class */ (function (_super) {
|
|
|
738
738
|
finder.requires = ['license'];
|
|
739
739
|
return finder;
|
|
740
740
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S));
|
|
741
|
-
|
|
741
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add('finder', finder);
|
|
742
742
|
|
|
743
743
|
|
|
744
744
|
/***/ }),
|
|
@@ -752,7 +752,7 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
752
752
|
/* harmony export */ });
|
|
753
753
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
754
754
|
/* harmony import */ var jodit_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3028);
|
|
755
|
-
/* harmony import */ var
|
|
755
|
+
/* harmony import */ var jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28702);
|
|
756
756
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50526);
|
|
757
757
|
/*!
|
|
758
758
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -910,7 +910,7 @@ var ContextMenuManager = /** @class */ (function (_super) {
|
|
|
910
910
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.component
|
|
911
911
|
], ContextMenuManager);
|
|
912
912
|
return ContextMenuManager;
|
|
913
|
-
}(
|
|
913
|
+
}(jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__/* .ViewComponent */ .H));
|
|
914
914
|
|
|
915
915
|
|
|
916
916
|
/***/ }),
|
|
@@ -943,10 +943,10 @@ var parentPath = function (path) {
|
|
|
943
943
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
944
944
|
/* harmony export */ "E": function() { return /* binding */ HistoryManager; }
|
|
945
945
|
/* harmony export */ });
|
|
946
|
-
/* harmony import */ var
|
|
947
|
-
/* harmony import */ var
|
|
948
|
-
/* harmony import */ var
|
|
949
|
-
/* harmony import */ var
|
|
946
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
947
|
+
/* harmony import */ var jodit_core_helpers_utils_extend__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16479);
|
|
948
|
+
/* harmony import */ var jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28702);
|
|
949
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
950
950
|
/*!
|
|
951
951
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
952
952
|
* See LICENSE.md in the project root for license information.
|
|
@@ -957,7 +957,7 @@ var parentPath = function (path) {
|
|
|
957
957
|
|
|
958
958
|
|
|
959
959
|
var HistoryManager = /** @class */ (function (_super) {
|
|
960
|
-
(0,
|
|
960
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__extends */ .ZT)(HistoryManager, _super);
|
|
961
961
|
function HistoryManager(jodit, state) {
|
|
962
962
|
var _this = _super.call(this, jodit) || this;
|
|
963
963
|
_this.state = state;
|
|
@@ -983,7 +983,7 @@ var HistoryManager = /** @class */ (function (_super) {
|
|
|
983
983
|
current.currentPath === item.currentPath) {
|
|
984
984
|
return;
|
|
985
985
|
}
|
|
986
|
-
var history = (0,
|
|
986
|
+
var history = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__spreadArray */ .ev)([], (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__read */ .CR)(this.history), false);
|
|
987
987
|
if (history.length - 1 !== historyIndex) {
|
|
988
988
|
history = history.slice(0, historyIndex + 1);
|
|
989
989
|
}
|
|
@@ -1010,8 +1010,8 @@ var HistoryManager = /** @class */ (function (_super) {
|
|
|
1010
1010
|
this.history[this.historyIndex] = {
|
|
1011
1011
|
currentSource: this.state.currentSource,
|
|
1012
1012
|
currentPath: this.state.currentPath,
|
|
1013
|
-
tree: (0,
|
|
1014
|
-
elements: (0,
|
|
1013
|
+
tree: (0,jodit_core_helpers_utils_extend__WEBPACK_IMPORTED_MODULE_3__/* .fastClone */ .V8)(this.state.tree),
|
|
1014
|
+
elements: (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__spreadArray */ .ev)([], (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__read */ .CR)(this.state.elements), false)
|
|
1015
1015
|
};
|
|
1016
1016
|
};
|
|
1017
1017
|
HistoryManager.prototype.onHome = function () {
|
|
@@ -1032,26 +1032,26 @@ var HistoryManager = /** @class */ (function (_super) {
|
|
|
1032
1032
|
var _a;
|
|
1033
1033
|
var tree = (_a = this.history[this.historyIndex], _a.tree), elements = _a.elements, currentSource = _a.currentSource, currentPath = _a.currentPath;
|
|
1034
1034
|
this.state.activeElements = [];
|
|
1035
|
-
this.state.elements = (0,
|
|
1036
|
-
this.state.tree = (0,
|
|
1035
|
+
this.state.elements = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__spreadArray */ .ev)([], (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__read */ .CR)(elements), false);
|
|
1036
|
+
this.state.tree = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__spreadArray */ .ev)([], (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__read */ .CR)(tree), false);
|
|
1037
1037
|
this.state.currentSource = currentSource;
|
|
1038
1038
|
this.state.currentPath = currentPath;
|
|
1039
1039
|
this.j.e.fire('changeSelection');
|
|
1040
1040
|
};
|
|
1041
|
-
(0,
|
|
1042
|
-
(0,
|
|
1041
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
1042
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.elements', 'state.tree'])
|
|
1043
1043
|
], HistoryManager.prototype, "updateCurrent", null);
|
|
1044
|
-
(0,
|
|
1045
|
-
(0,
|
|
1044
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
1045
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':goHome.filebrowser')
|
|
1046
1046
|
], HistoryManager.prototype, "onHome", null);
|
|
1047
|
-
(0,
|
|
1048
|
-
(0,
|
|
1047
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
1048
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterOpenFolder.filebrowser')
|
|
1049
1049
|
], HistoryManager.prototype, "onOpenFolder", null);
|
|
1050
|
-
HistoryManager = (0,
|
|
1051
|
-
|
|
1050
|
+
HistoryManager = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
1051
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1052
1052
|
], HistoryManager);
|
|
1053
1053
|
return HistoryManager;
|
|
1054
|
-
}(
|
|
1054
|
+
}(jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewComponent */ .H));
|
|
1055
1055
|
|
|
1056
1056
|
|
|
1057
1057
|
/***/ }),
|
|
@@ -1309,6 +1309,11 @@ function loadPartItems(state, dataProvider, offset, limit) {
|
|
|
1309
1309
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1310
1310
|
/* harmony import */ var jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45545);
|
|
1311
1311
|
|
|
1312
|
+
/*!
|
|
1313
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1314
|
+
* See LICENSE.md in the project root for license information.
|
|
1315
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
1316
|
+
*/
|
|
1312
1317
|
|
|
1313
1318
|
|
|
1314
1319
|
|
|
@@ -1673,10 +1678,11 @@ jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .Icon.set */ .JO.set('new-folder',
|
|
|
1673
1678
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1674
1679
|
/* harmony export */ "D": function() { return /* binding */ UIBrowserFolder; }
|
|
1675
1680
|
/* harmony export */ });
|
|
1676
|
-
/* harmony import */ var
|
|
1681
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
1677
1682
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
1678
|
-
/* harmony import */ var
|
|
1679
|
-
/* harmony import */ var
|
|
1683
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94707);
|
|
1684
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(52378);
|
|
1685
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__);
|
|
1680
1686
|
/*!
|
|
1681
1687
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1682
1688
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1688,7 +1694,7 @@ jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .Icon.set */ .JO.set('new-folder',
|
|
|
1688
1694
|
|
|
1689
1695
|
|
|
1690
1696
|
var UIBrowserFolder = /** @class */ (function (_super) {
|
|
1691
|
-
(0,
|
|
1697
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__extends */ .ZT)(UIBrowserFolder, _super);
|
|
1692
1698
|
function UIBrowserFolder(jodit, item) {
|
|
1693
1699
|
var _this = _super.call(this, jodit) || this;
|
|
1694
1700
|
_this.item = item;
|
|
@@ -1717,8 +1723,8 @@ var UIBrowserFolder = /** @class */ (function (_super) {
|
|
|
1717
1723
|
UIBrowserFolder.prototype.render = function () {
|
|
1718
1724
|
return "<div>\n\t\t\t<div class=\"&__icon\">\n\t\t\t\t<div class='&__loader'></div>\n\t\t\t\t<div class=\"&__icon-wrapper\">\n\t\t\t\t\t*folder*\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"&__name\"></div>\n\t\t\t<div class=\"&__arrow\">*angle-right*</div>\n\t\t</div>";
|
|
1719
1725
|
};
|
|
1720
|
-
UIBrowserFolder = (0,
|
|
1721
|
-
|
|
1726
|
+
UIBrowserFolder = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
1727
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__/* .component */ .w
|
|
1722
1728
|
], UIBrowserFolder);
|
|
1723
1729
|
return UIBrowserFolder;
|
|
1724
1730
|
}(jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIElement */ .u1));
|
|
@@ -1813,12 +1819,14 @@ var UIBrowserHeader = /** @class */ (function (_super) {
|
|
|
1813
1819
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1814
1820
|
/* harmony export */ "u": function() { return /* binding */ UIBrowserItem; }
|
|
1815
1821
|
/* harmony export */ });
|
|
1816
|
-
/* harmony import */ var
|
|
1822
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97582);
|
|
1817
1823
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
1818
1824
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1819
1825
|
/* harmony import */ var jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45545);
|
|
1820
1826
|
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8079);
|
|
1821
1827
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(95582);
|
|
1828
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52378);
|
|
1829
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__);
|
|
1822
1830
|
/*!
|
|
1823
1831
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1824
1832
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1833,7 +1841,7 @@ var UIBrowserHeader = /** @class */ (function (_super) {
|
|
|
1833
1841
|
|
|
1834
1842
|
|
|
1835
1843
|
var UIBrowserItem = /** @class */ (function (_super) {
|
|
1836
|
-
(0,
|
|
1844
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__extends */ .ZT)(UIBrowserItem, _super);
|
|
1837
1845
|
function UIBrowserItem(jodit, item) {
|
|
1838
1846
|
var _this = _super.call(this, jodit) || this;
|
|
1839
1847
|
_this.item = jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__/* .FileBrowserItem.create */ .Z.create(item);
|
|
@@ -1896,13 +1904,13 @@ var UIBrowserItem = /** @class */ (function (_super) {
|
|
|
1896
1904
|
element.innerText = value;
|
|
1897
1905
|
return this;
|
|
1898
1906
|
};
|
|
1899
|
-
(0,
|
|
1907
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
1900
1908
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('heart:click')
|
|
1901
1909
|
], UIBrowserItem.prototype, "onClickFavorite", null);
|
|
1902
|
-
(0,
|
|
1910
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
1903
1911
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['container:click', 'container:contextmenu', 'container:dblclick'])
|
|
1904
1912
|
], UIBrowserItem.prototype, "onAction", null);
|
|
1905
|
-
UIBrowserItem = (0,
|
|
1913
|
+
UIBrowserItem = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
1906
1914
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1907
1915
|
], UIBrowserItem);
|
|
1908
1916
|
return UIBrowserItem;
|
|
@@ -1918,11 +1926,13 @@ var UIBrowserItem = /** @class */ (function (_super) {
|
|
|
1918
1926
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1919
1927
|
/* harmony export */ "m": function() { return /* binding */ UILightBox; }
|
|
1920
1928
|
/* harmony export */ });
|
|
1921
|
-
/* harmony import */ var
|
|
1929
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97582);
|
|
1922
1930
|
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8079);
|
|
1923
1931
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1924
1932
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(95582);
|
|
1925
1933
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11612);
|
|
1934
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52378);
|
|
1935
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__);
|
|
1926
1936
|
/*!
|
|
1927
1937
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1928
1938
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1936,7 +1946,7 @@ var UIBrowserItem = /** @class */ (function (_super) {
|
|
|
1936
1946
|
|
|
1937
1947
|
|
|
1938
1948
|
var UILightBox = /** @class */ (function (_super) {
|
|
1939
|
-
(0,
|
|
1949
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__extends */ .ZT)(UILightBox, _super);
|
|
1940
1950
|
function UILightBox(jodit, current, elements) {
|
|
1941
1951
|
var _this = _super.call(this, jodit) || this;
|
|
1942
1952
|
_this.current = current;
|
|
@@ -1975,9 +1985,9 @@ var UILightBox = /** @class */ (function (_super) {
|
|
|
1975
1985
|
return "<div>\n\t\t\t<div class='&__previous'>*angle-left*</div>\n\t\t\t<div class='&__preview'></div>\n\t\t\t<div class='&__loader'></div>\n\t\t\t<div class='&__next'>*angle-right*</div>\n\t\t</div>";
|
|
1976
1986
|
};
|
|
1977
1987
|
UILightBox.prototype.onChangeCurrent = function () {
|
|
1978
|
-
return (0,
|
|
1988
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__awaiter */ .mG)(this, void 0, Promise, function () {
|
|
1979
1989
|
var current, preview, image, iframe;
|
|
1980
|
-
return (0,
|
|
1990
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__generator */ .Jh)(this, function (_a) {
|
|
1981
1991
|
switch (_a.label) {
|
|
1982
1992
|
case 0:
|
|
1983
1993
|
current = this.current;
|
|
@@ -2064,19 +2074,19 @@ var UILightBox = /** @class */ (function (_super) {
|
|
|
2064
2074
|
return _super.prototype.destruct.call(this);
|
|
2065
2075
|
};
|
|
2066
2076
|
var UILightBox_1;
|
|
2067
|
-
(0,
|
|
2077
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
2068
2078
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('current')
|
|
2069
2079
|
], UILightBox.prototype, "onChangeCurrent", null);
|
|
2070
|
-
(0,
|
|
2080
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
2071
2081
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('previous:click')
|
|
2072
2082
|
], UILightBox.prototype, "onPreviousClick", null);
|
|
2073
|
-
(0,
|
|
2083
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
2074
2084
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('next:click')
|
|
2075
2085
|
], UILightBox.prototype, "onNextClick", null);
|
|
2076
|
-
(0,
|
|
2086
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
2077
2087
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
2078
2088
|
], UILightBox.prototype, "onKeyPress", null);
|
|
2079
|
-
UILightBox = UILightBox_1 = (0,
|
|
2089
|
+
UILightBox = UILightBox_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
2080
2090
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2081
2091
|
], UILightBox);
|
|
2082
2092
|
return UILightBox;
|
|
@@ -2094,14 +2104,14 @@ var UILightBox = /** @class */ (function (_super) {
|
|
|
2094
2104
|
/* harmony export */ });
|
|
2095
2105
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97582);
|
|
2096
2106
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2097
|
-
/* harmony import */ var
|
|
2098
|
-
/* harmony import */ var
|
|
2099
|
-
/* harmony import */ var
|
|
2100
|
-
/* harmony import */ var
|
|
2101
|
-
/* harmony import */ var
|
|
2102
|
-
/* harmony import */ var
|
|
2103
|
-
/* harmony import */ var
|
|
2104
|
-
/* harmony import */ var
|
|
2107
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2108
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(95582);
|
|
2109
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_virtual_scroll_virtual_scroll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72618);
|
|
2110
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_sidebar_sidebar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68787);
|
|
2111
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_settings_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62983);
|
|
2112
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_sources_sources__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93582);
|
|
2113
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_statusbar_statusbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67775);
|
|
2114
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_preview_preview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(96945);
|
|
2105
2115
|
/*!
|
|
2106
2116
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2107
2117
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2125,12 +2135,12 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2125
2135
|
_this.stateManager = stateManager;
|
|
2126
2136
|
/** @override */
|
|
2127
2137
|
_this.syncMod = true;
|
|
2128
|
-
_this.sources = new
|
|
2129
|
-
_this.sidebar = new
|
|
2130
|
-
_this.preview = new
|
|
2131
|
-
_this.statusbar = new
|
|
2132
|
-
_this.items = new
|
|
2133
|
-
_this.settings = new
|
|
2138
|
+
_this.sources = new jodit_pro_plugins_finder_ui_sources_sources__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserSources */ .L(_this.j);
|
|
2139
|
+
_this.sidebar = new jodit_pro_plugins_finder_ui_sidebar_sidebar__WEBPACK_IMPORTED_MODULE_4__/* .UISidebar */ .o(_this.jodit, [_this.sources], _this.stateManager.state);
|
|
2140
|
+
_this.preview = new jodit_pro_plugins_finder_ui_preview_preview__WEBPACK_IMPORTED_MODULE_8__/* .UIPreview */ .o(_this.jodit, _this.stateManager.state);
|
|
2141
|
+
_this.statusbar = new jodit_pro_plugins_finder_ui_statusbar_statusbar__WEBPACK_IMPORTED_MODULE_7__/* .UIBrowserStatusBar */ .s(_this.j);
|
|
2142
|
+
_this.items = new jodit_pro_plugins_finder_ui_virtual_scroll_virtual_scroll__WEBPACK_IMPORTED_MODULE_3__/* .UIVirtualScroll */ .d(_this.j, _this.stateManager);
|
|
2143
|
+
_this.settings = new jodit_pro_plugins_finder_ui_settings_settings__WEBPACK_IMPORTED_MODULE_5__/* .UIBrowserSettings */ .r(_this.jodit, _this.stateManager.state);
|
|
2134
2144
|
_this.state = stateManager.state;
|
|
2135
2145
|
_this.append(_this.sidebar, 'content');
|
|
2136
2146
|
_this.append(_this.items, 'content');
|
|
@@ -2165,9 +2175,9 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2165
2175
|
if (!this.items.elements.length) {
|
|
2166
2176
|
return 1;
|
|
2167
2177
|
}
|
|
2168
|
-
var container = this.items.elements[0].container, margin = (0,
|
|
2178
|
+
var container = this.items.elements[0].container, margin = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(container, 'marginLeft');
|
|
2169
2179
|
return Math.floor(this.items.container.offsetWidth /
|
|
2170
|
-
(container.offsetWidth + ((0,
|
|
2180
|
+
(container.offsetWidth + ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isNumber)(margin) ? margin : 0)));
|
|
2171
2181
|
},
|
|
2172
2182
|
enumerable: false,
|
|
2173
2183
|
configurable: true
|
|
@@ -2180,9 +2190,9 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2180
2190
|
if (!this.items.elements.length) {
|
|
2181
2191
|
return 1;
|
|
2182
2192
|
}
|
|
2183
|
-
var container = this.items.elements[0].container, margin = (0,
|
|
2193
|
+
var container = this.items.elements[0].container, margin = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(container, 'marginTop');
|
|
2184
2194
|
return Math.floor(this.items.container.offsetHeight /
|
|
2185
|
-
(container.offsetHeight + ((0,
|
|
2195
|
+
(container.offsetHeight + ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isNumber)(margin) ? margin : 0)));
|
|
2186
2196
|
},
|
|
2187
2197
|
enumerable: false,
|
|
2188
2198
|
configurable: true
|
|
@@ -2221,7 +2231,7 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2221
2231
|
var _a;
|
|
2222
2232
|
var container = (_a = this.items.elements[this.stateManager.state.lastSelectedIndex]) === null || _a === void 0 ? void 0 : _a.container;
|
|
2223
2233
|
if (container) {
|
|
2224
|
-
(0,
|
|
2234
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(container, this.items.container, this.j.od);
|
|
2225
2235
|
container.focus();
|
|
2226
2236
|
}
|
|
2227
2237
|
};
|
|
@@ -2272,64 +2282,64 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2272
2282
|
this.j.e.fire('afterOpenFolder.filebrowser');
|
|
2273
2283
|
};
|
|
2274
2284
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2275
|
-
(0,
|
|
2285
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.theme')
|
|
2276
2286
|
], UIBrowserPanel.prototype, "onChangeTheme", null);
|
|
2277
2287
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2278
|
-
(0,
|
|
2288
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.elements')
|
|
2279
2289
|
], UIBrowserPanel.prototype, "onChangeElements", null);
|
|
2280
2290
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2281
|
-
(0,
|
|
2291
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.activeElements')
|
|
2282
2292
|
], UIBrowserPanel.prototype, "onChangeActiveElements", null);
|
|
2283
2293
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2284
|
-
(0,
|
|
2294
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.favorites', 'state.elements'])
|
|
2285
2295
|
], UIBrowserPanel.prototype, "onChangeFavorites", null);
|
|
2286
2296
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2287
|
-
(0,
|
|
2297
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.sources')
|
|
2288
2298
|
], UIBrowserPanel.prototype, "onChangeSources", null);
|
|
2289
2299
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2290
|
-
(0,
|
|
2300
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.lastSelectedIndex')
|
|
2291
2301
|
], UIBrowserPanel.prototype, "onChangeLastSelectedIndex", null);
|
|
2292
2302
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2293
|
-
(0,
|
|
2303
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.info')
|
|
2294
2304
|
], UIBrowserPanel.prototype, "onChangeInfo", null);
|
|
2295
2305
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2296
|
-
(0,
|
|
2306
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.currentPath', 'state.currentSource'])
|
|
2297
2307
|
], UIBrowserPanel.prototype, "onChangePathOrSource", null);
|
|
2298
2308
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2299
|
-
(0,
|
|
2309
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showSettings')
|
|
2300
2310
|
], UIBrowserPanel.prototype, "onChangeShowSettings", null);
|
|
2301
2311
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2302
|
-
(0,
|
|
2312
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showPreview')
|
|
2303
2313
|
], UIBrowserPanel.prototype, "onChangeShowPreview", null);
|
|
2304
2314
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2305
|
-
(0,
|
|
2315
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showSideBar')
|
|
2306
2316
|
], UIBrowserPanel.prototype, "onChangeShowSideBar", null);
|
|
2307
2317
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2308
|
-
(0,
|
|
2318
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.view')
|
|
2309
2319
|
], UIBrowserPanel.prototype, "onChangeView", null);
|
|
2310
2320
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2311
|
-
(0,
|
|
2321
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tileSize')
|
|
2312
2322
|
], UIBrowserPanel.prototype, "onChangeTileSize", null);
|
|
2313
2323
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2314
|
-
(0,
|
|
2324
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showFavorites')
|
|
2315
2325
|
], UIBrowserPanel.prototype, "onChangeShowFavorites", null);
|
|
2316
2326
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2317
|
-
(0,
|
|
2327
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':dblclickItem.filebrowser')
|
|
2318
2328
|
], UIBrowserPanel.prototype, "onItemDblClick", null);
|
|
2319
2329
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2320
|
-
(0,
|
|
2330
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':clickItem.filebrowser')
|
|
2321
2331
|
], UIBrowserPanel.prototype, "onItemClick", null);
|
|
2322
2332
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2323
|
-
(0,
|
|
2333
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':togglePreview.filebrowser')
|
|
2324
2334
|
], UIBrowserPanel.prototype, "onTogglePreview", null);
|
|
2325
2335
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2326
|
-
(0,
|
|
2336
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':toggleFavoriteItem')
|
|
2327
2337
|
], UIBrowserPanel.prototype, "onToggleFavoriteItem", null);
|
|
2328
2338
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2329
|
-
(0,
|
|
2339
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':openFolder')
|
|
2330
2340
|
], UIBrowserPanel.prototype, "onFolderClick", null);
|
|
2331
2341
|
UIBrowserPanel = (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2332
|
-
|
|
2342
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2333
2343
|
], UIBrowserPanel);
|
|
2334
2344
|
return UIBrowserPanel;
|
|
2335
2345
|
}(jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .qe));
|
|
@@ -2344,13 +2354,15 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2344
2354
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2345
2355
|
/* harmony export */ "o": function() { return /* binding */ UIPreview; }
|
|
2346
2356
|
/* harmony export */ });
|
|
2347
|
-
/* harmony import */ var
|
|
2348
|
-
/* harmony import */ var
|
|
2357
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(97582);
|
|
2358
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
2349
2359
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2350
|
-
/* harmony import */ var
|
|
2351
|
-
/* harmony import */ var
|
|
2352
|
-
/* harmony import */ var
|
|
2353
|
-
/* harmony import */ var
|
|
2360
|
+
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98478);
|
|
2361
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(44913);
|
|
2362
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52378);
|
|
2363
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__);
|
|
2364
|
+
/* harmony import */ var jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62499);
|
|
2365
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(87695);
|
|
2354
2366
|
|
|
2355
2367
|
/*!
|
|
2356
2368
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -2366,7 +2378,7 @@ var UIBrowserPanel = /** @class */ (function (_super) {
|
|
|
2366
2378
|
|
|
2367
2379
|
|
|
2368
2380
|
var UIPreview = /** @class */ (function (_super) {
|
|
2369
|
-
(0,
|
|
2381
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__extends */ .ZT)(UIPreview, _super);
|
|
2370
2382
|
function UIPreview(jodit, state) {
|
|
2371
2383
|
var _this = _super.call(this, jodit) || this;
|
|
2372
2384
|
_this.state = state;
|
|
@@ -2382,8 +2394,8 @@ var UIPreview = /** @class */ (function (_super) {
|
|
|
2382
2394
|
* Add handle resizer
|
|
2383
2395
|
*/
|
|
2384
2396
|
UIPreview.prototype.addResize = function () {
|
|
2385
|
-
|
|
2386
|
-
|
|
2397
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_5__/* .UIResize.remove */ .c.remove(this);
|
|
2398
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_5__/* .UIResize.install */ .c.install(this, screen.width > 450 ? 'left' : 'top');
|
|
2387
2399
|
};
|
|
2388
2400
|
/** @override */
|
|
2389
2401
|
UIPreview.prototype.render = function () {
|
|
@@ -2405,28 +2417,28 @@ var UIPreview = /** @class */ (function (_super) {
|
|
|
2405
2417
|
this.setMod('empty', !metaInfo);
|
|
2406
2418
|
var info = this.getElm('info');
|
|
2407
2419
|
void 0;
|
|
2408
|
-
|
|
2420
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom.detach */ .i.detach(info);
|
|
2409
2421
|
var image = this.getElm('image');
|
|
2410
2422
|
void 0;
|
|
2411
|
-
(0,
|
|
2423
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.css)(image, {
|
|
2412
2424
|
backgroundImage: null
|
|
2413
2425
|
});
|
|
2414
2426
|
if (!metaInfo) {
|
|
2415
2427
|
return;
|
|
2416
2428
|
}
|
|
2417
2429
|
this.setMod('is-file', metaInfo.isImage === false).setMod('type', (_a = metaInfo.type) !== null && _a !== void 0 ? _a : 'file');
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2430
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem.prototype.setElementValue.call */ .u.prototype.setElementValue.call(this, 'name', metaInfo.file);
|
|
2431
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem.prototype.setElementValue.call */ .u.prototype.setElementValue.call(this, 'time', metaInfo.time);
|
|
2432
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem.prototype.setElementValue.call */ .u.prototype.setElementValue.call(this, 'filesize', metaInfo.size);
|
|
2421
2433
|
this.setMod('loading', true);
|
|
2422
2434
|
(_b = this.lastLoadPromise) === null || _b === void 0 ? void 0 : _b.rejectCallback();
|
|
2423
|
-
this.lastLoadPromise = (0,
|
|
2435
|
+
this.lastLoadPromise = (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.loadImage)(metaInfo.isImage ? metaInfo.fileURL : metaInfo.imageURL, this.j);
|
|
2424
2436
|
this.lastLoadPromise
|
|
2425
2437
|
.then(function (image) {
|
|
2426
2438
|
var elm = _this.getElm('image');
|
|
2427
2439
|
void 0;
|
|
2428
2440
|
image &&
|
|
2429
|
-
(0,
|
|
2441
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.css)(elm, {
|
|
2430
2442
|
backgroundImage: "url(".concat(image.src, ")")
|
|
2431
2443
|
});
|
|
2432
2444
|
})
|
|
@@ -2435,19 +2447,19 @@ var UIPreview = /** @class */ (function (_super) {
|
|
|
2435
2447
|
})
|
|
2436
2448
|
.catch(function () { });
|
|
2437
2449
|
};
|
|
2438
|
-
(0,
|
|
2450
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
2439
2451
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready'),
|
|
2440
2452
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':resize', { context: window }),
|
|
2441
2453
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
2442
2454
|
], UIPreview.prototype, "addResize", null);
|
|
2443
|
-
(0,
|
|
2455
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
2444
2456
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.metaInfo')
|
|
2445
2457
|
], UIPreview.prototype, "onChangeMetaInfo", null);
|
|
2446
|
-
UIPreview = (0,
|
|
2458
|
+
UIPreview = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
2447
2459
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2448
2460
|
], UIPreview);
|
|
2449
2461
|
return UIPreview;
|
|
2450
|
-
}(
|
|
2462
|
+
}(jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q));
|
|
2451
2463
|
|
|
2452
2464
|
|
|
2453
2465
|
/***/ }),
|
|
@@ -2460,7 +2472,7 @@ var UIPreview = /** @class */ (function (_super) {
|
|
|
2460
2472
|
/* harmony export */ "u": function() { return /* binding */ UIProgress; }
|
|
2461
2473
|
/* harmony export */ });
|
|
2462
2474
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
2463
|
-
/* harmony import */ var
|
|
2475
|
+
/* harmony import */ var jodit_core_ui_progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51273);
|
|
2464
2476
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2465
2477
|
|
|
2466
2478
|
/*!
|
|
@@ -2520,7 +2532,7 @@ var UIProgress = /** @class */ (function (_super) {
|
|
|
2520
2532
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2521
2533
|
], UIProgress);
|
|
2522
2534
|
return UIProgress;
|
|
2523
|
-
}(
|
|
2535
|
+
}(jodit_core_ui_progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_0__/* .ProgressBar */ .k));
|
|
2524
2536
|
|
|
2525
2537
|
|
|
2526
2538
|
/***/ }),
|
|
@@ -2535,7 +2547,8 @@ var UIProgress = /** @class */ (function (_super) {
|
|
|
2535
2547
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2536
2548
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2537
2549
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2538
|
-
/* harmony import */ var
|
|
2550
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
2551
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
|
|
2539
2552
|
/*!
|
|
2540
2553
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2541
2554
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2740,10 +2753,11 @@ var UIBrowserSettings = /** @class */ (function (_super) {
|
|
|
2740
2753
|
/* harmony export */ "o": function() { return /* binding */ UISidebar; }
|
|
2741
2754
|
/* harmony export */ });
|
|
2742
2755
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97582);
|
|
2743
|
-
/* harmony import */ var
|
|
2756
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
2744
2757
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2745
|
-
/* harmony import */ var
|
|
2746
|
-
/* harmony import */ var
|
|
2758
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
2759
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
|
|
2760
|
+
/* harmony import */ var jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(62499);
|
|
2747
2761
|
|
|
2748
2762
|
/*!
|
|
2749
2763
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -2781,8 +2795,8 @@ var UISidebar = /** @class */ (function (_super) {
|
|
|
2781
2795
|
* Add handle resizer
|
|
2782
2796
|
*/
|
|
2783
2797
|
UISidebar.prototype.addResize = function () {
|
|
2784
|
-
|
|
2785
|
-
|
|
2798
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_3__/* .UIResize.remove */ .c.remove(this);
|
|
2799
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_3__/* .UIResize.install */ .c.install(this, screen.width > 450 ? 'right' : 'bottom');
|
|
2786
2800
|
};
|
|
2787
2801
|
UISidebar.prototype.onChangeFavorites = function () {
|
|
2788
2802
|
this.setMod('has-favorites', Boolean(this.state.favorites.length));
|
|
@@ -2813,7 +2827,7 @@ var UISidebar = /** @class */ (function (_super) {
|
|
|
2813
2827
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2814
2828
|
], UISidebar);
|
|
2815
2829
|
return UISidebar;
|
|
2816
|
-
}(
|
|
2830
|
+
}(jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q));
|
|
2817
2831
|
|
|
2818
2832
|
|
|
2819
2833
|
/***/ }),
|
|
@@ -2825,11 +2839,12 @@ var UISidebar = /** @class */ (function (_super) {
|
|
|
2825
2839
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2826
2840
|
/* harmony export */ "f": function() { return /* binding */ UIBrowserSource; }
|
|
2827
2841
|
/* harmony export */ });
|
|
2828
|
-
/* harmony import */ var
|
|
2829
|
-
/* harmony import */ var
|
|
2830
|
-
/* harmony import */ var
|
|
2831
|
-
/* harmony import */ var
|
|
2832
|
-
/* harmony import */ var
|
|
2842
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2843
|
+
/* harmony import */ var jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84789);
|
|
2844
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94707);
|
|
2845
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(52378);
|
|
2846
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__);
|
|
2847
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_tree_tree__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91919);
|
|
2833
2848
|
/*!
|
|
2834
2849
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2835
2850
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2842,11 +2857,11 @@ var UISidebar = /** @class */ (function (_super) {
|
|
|
2842
2857
|
|
|
2843
2858
|
|
|
2844
2859
|
var UIBrowserSource = /** @class */ (function (_super) {
|
|
2845
|
-
(0,
|
|
2860
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__extends */ .ZT)(UIBrowserSource, _super);
|
|
2846
2861
|
function UIBrowserSource(jodit, data) {
|
|
2847
2862
|
var _this = _super.call(this, jodit, data) || this;
|
|
2848
2863
|
_this.data = data;
|
|
2849
|
-
_this.tree = new
|
|
2864
|
+
_this.tree = new jodit_pro_plugins_finder_ui_tree_tree__WEBPACK_IMPORTED_MODULE_2__/* .UITree */ .v(_this.j, _this.data.children);
|
|
2850
2865
|
/** @override */
|
|
2851
2866
|
_this.syncMod = true;
|
|
2852
2867
|
var name = _this.getElm('name');
|
|
@@ -2868,11 +2883,11 @@ var UIBrowserSource = /** @class */ (function (_super) {
|
|
|
2868
2883
|
UIBrowserSource.prototype.render = function () {
|
|
2869
2884
|
return "<div>\n\t\t\t<div class=\"&__name\"></div>\n\t\t\t<div class=\"&__tree\"></div>\n\t\t</div>";
|
|
2870
2885
|
};
|
|
2871
|
-
UIBrowserSource = (0,
|
|
2872
|
-
|
|
2886
|
+
UIBrowserSource = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
2887
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_4__/* .component */ .w
|
|
2873
2888
|
], UIBrowserSource);
|
|
2874
2889
|
return UIBrowserSource;
|
|
2875
|
-
}(
|
|
2890
|
+
}(jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_0__/* .UIElement */ .u));
|
|
2876
2891
|
|
|
2877
2892
|
|
|
2878
2893
|
/***/ }),
|
|
@@ -2887,7 +2902,7 @@ var UIBrowserSource = /** @class */ (function (_super) {
|
|
|
2887
2902
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2888
2903
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2889
2904
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2890
|
-
/* harmony import */ var
|
|
2905
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_source_source__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21596);
|
|
2891
2906
|
/*!
|
|
2892
2907
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2893
2908
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2914,7 +2929,7 @@ var UIBrowserSources = /** @class */ (function (_super) {
|
|
|
2914
2929
|
var _this = this;
|
|
2915
2930
|
this.clear();
|
|
2916
2931
|
items.forEach(function (item) {
|
|
2917
|
-
_this.append(new
|
|
2932
|
+
_this.append(new jodit_pro_plugins_finder_ui_source_source__WEBPACK_IMPORTED_MODULE_2__/* .UIBrowserSource */ .f(_this.jodit, item));
|
|
2918
2933
|
});
|
|
2919
2934
|
};
|
|
2920
2935
|
UIBrowserSources = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
@@ -2936,7 +2951,8 @@ var UIBrowserSources = /** @class */ (function (_super) {
|
|
|
2936
2951
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2937
2952
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2938
2953
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2939
|
-
/* harmony import */ var
|
|
2954
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
2955
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
|
|
2940
2956
|
/*!
|
|
2941
2957
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2942
2958
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2983,10 +2999,10 @@ var UIBrowserStatusBar = /** @class */ (function (_super) {
|
|
|
2983
2999
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2984
3000
|
/* harmony export */ "v": function() { return /* binding */ UITree; }
|
|
2985
3001
|
/* harmony export */ });
|
|
2986
|
-
/* harmony import */ var
|
|
2987
|
-
/* harmony import */ var
|
|
2988
|
-
/* harmony import */ var
|
|
2989
|
-
/* harmony import */ var
|
|
3002
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
3003
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
3004
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94707);
|
|
3005
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_folder_folder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9890);
|
|
2990
3006
|
/*!
|
|
2991
3007
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2992
3008
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2998,7 +3014,7 @@ var UIBrowserStatusBar = /** @class */ (function (_super) {
|
|
|
2998
3014
|
|
|
2999
3015
|
|
|
3000
3016
|
var UITree = /** @class */ (function (_super) {
|
|
3001
|
-
(0,
|
|
3017
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__extends */ .ZT)(UITree, _super);
|
|
3002
3018
|
function UITree(jodit, items) {
|
|
3003
3019
|
var _this = _super.call(this, jodit) || this;
|
|
3004
3020
|
/** @override */
|
|
@@ -3015,7 +3031,7 @@ var UITree = /** @class */ (function (_super) {
|
|
|
3015
3031
|
var _this = this;
|
|
3016
3032
|
this.clear();
|
|
3017
3033
|
items.forEach(function (item) {
|
|
3018
|
-
var folder = new
|
|
3034
|
+
var folder = new jodit_pro_plugins_finder_ui_folder_folder__WEBPACK_IMPORTED_MODULE_1__/* .UIBrowserFolder */ .D(_this.jodit, item);
|
|
3019
3035
|
_this.append(folder);
|
|
3020
3036
|
if (item.isActive) {
|
|
3021
3037
|
folder.setMod('active', true);
|
|
@@ -3026,11 +3042,11 @@ var UITree = /** @class */ (function (_super) {
|
|
|
3026
3042
|
});
|
|
3027
3043
|
};
|
|
3028
3044
|
var UITree_1;
|
|
3029
|
-
UITree = UITree_1 = (0,
|
|
3030
|
-
|
|
3045
|
+
UITree = UITree_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
3046
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__/* .component */ .w
|
|
3031
3047
|
], UITree);
|
|
3032
3048
|
return UITree;
|
|
3033
|
-
}(
|
|
3049
|
+
}(jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q));
|
|
3034
3050
|
|
|
3035
3051
|
|
|
3036
3052
|
/***/ }),
|
|
@@ -3042,13 +3058,13 @@ var UITree = /** @class */ (function (_super) {
|
|
|
3042
3058
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3043
3059
|
/* harmony export */ "d": function() { return /* binding */ UIVirtualScroll; }
|
|
3044
3060
|
/* harmony export */ });
|
|
3045
|
-
/* harmony import */ var
|
|
3046
|
-
/* harmony import */ var
|
|
3061
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97582);
|
|
3062
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
3047
3063
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
3048
|
-
/* harmony import */ var
|
|
3049
|
-
/* harmony import */ var
|
|
3050
|
-
/* harmony import */ var
|
|
3051
|
-
/* harmony import */ var
|
|
3064
|
+
/* harmony import */ var jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45545);
|
|
3065
|
+
/* harmony import */ var jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(90174);
|
|
3066
|
+
/* harmony import */ var jodit_pro_traits_select_items_select_items__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(81766);
|
|
3067
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(87695);
|
|
3052
3068
|
/*!
|
|
3053
3069
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3054
3070
|
* See LICENSE.md in the project root for license information.
|
|
@@ -3063,7 +3079,7 @@ var UITree = /** @class */ (function (_super) {
|
|
|
3063
3079
|
|
|
3064
3080
|
|
|
3065
3081
|
var UIVirtualScroll = /** @class */ (function (_super) {
|
|
3066
|
-
(0,
|
|
3082
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__extends */ .ZT)(UIVirtualScroll, _super);
|
|
3067
3083
|
function UIVirtualScroll(jodit, stateManager) {
|
|
3068
3084
|
var _this = _super.call(this, jodit) || this;
|
|
3069
3085
|
_this.stateManager = stateManager;
|
|
@@ -3085,7 +3101,7 @@ var UIVirtualScroll = /** @class */ (function (_super) {
|
|
|
3085
3101
|
var clearIndex = this.elements.findIndex(function (elm, index) {
|
|
3086
3102
|
return (!items[index] ||
|
|
3087
3103
|
elm.item.uniqueHashKey !==
|
|
3088
|
-
|
|
3104
|
+
jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__/* .FileBrowserItem.create */ .Z.create(items[index]).uniqueHashKey);
|
|
3089
3105
|
});
|
|
3090
3106
|
if (clearIndex > -1) {
|
|
3091
3107
|
for (var i = clearIndex; i < this.elements.length; i += 1) {
|
|
@@ -3101,7 +3117,7 @@ var UIVirtualScroll = /** @class */ (function (_super) {
|
|
|
3101
3117
|
items
|
|
3102
3118
|
.slice(clearIndex > -1 ? clearIndex : this.elements.length)
|
|
3103
3119
|
.forEach(function (item) {
|
|
3104
|
-
var elm = new
|
|
3120
|
+
var elm = new jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_4__/* .UIBrowserItem */ .u(_this.jodit, item);
|
|
3105
3121
|
Object.keys(_this.mods).forEach(function (mod) {
|
|
3106
3122
|
elm.setMod(mod, _this.mods[mod]);
|
|
3107
3123
|
});
|
|
@@ -3126,7 +3142,7 @@ var UIVirtualScroll = /** @class */ (function (_super) {
|
|
|
3126
3142
|
this.setMod('dragover', false);
|
|
3127
3143
|
};
|
|
3128
3144
|
UIVirtualScroll.prototype.addItemsSelector = function () {
|
|
3129
|
-
|
|
3145
|
+
jodit_pro_traits_select_items_select_items__WEBPACK_IMPORTED_MODULE_3__/* .UISelectItems.install */ .r.install(this);
|
|
3130
3146
|
};
|
|
3131
3147
|
UIVirtualScroll.intersectRect = function (r1, r2) {
|
|
3132
3148
|
return !(r2.left > r1.left + r1.width ||
|
|
@@ -3137,7 +3153,7 @@ var UIVirtualScroll = /** @class */ (function (_super) {
|
|
|
3137
3153
|
UIVirtualScroll.prototype.onSelectItems = function (bound) {
|
|
3138
3154
|
var selected = [];
|
|
3139
3155
|
this.elements.forEach(function (elm) {
|
|
3140
|
-
var pos = (0,
|
|
3156
|
+
var pos = (0,jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_6__/* .position */ .F)(elm.container);
|
|
3141
3157
|
if (UIVirtualScroll_1.intersectRect(pos, bound)) {
|
|
3142
3158
|
selected.push(elm.item);
|
|
3143
3159
|
}
|
|
@@ -3145,23 +3161,23 @@ var UIVirtualScroll = /** @class */ (function (_super) {
|
|
|
3145
3161
|
this.stateManager.state.activeElements = selected;
|
|
3146
3162
|
};
|
|
3147
3163
|
var UIVirtualScroll_1;
|
|
3148
|
-
(0,
|
|
3164
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
3149
3165
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterResize'),
|
|
3150
3166
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':resize'),
|
|
3151
3167
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('container:scroll'),
|
|
3152
3168
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.throttle)()
|
|
3153
3169
|
], UIVirtualScroll.prototype, "onScrollLoadChunk", null);
|
|
3154
|
-
(0,
|
|
3170
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
3155
3171
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('container:dragover')
|
|
3156
3172
|
], UIVirtualScroll.prototype, "onDragOver", null);
|
|
3157
|
-
(0,
|
|
3173
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
3158
3174
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['container:dragleave', 'container:drop'])
|
|
3159
3175
|
], UIVirtualScroll.prototype, "onDragLeave", null);
|
|
3160
|
-
UIVirtualScroll = UIVirtualScroll_1 = (0,
|
|
3176
|
+
UIVirtualScroll = UIVirtualScroll_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
3161
3177
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
3162
3178
|
], UIVirtualScroll);
|
|
3163
3179
|
return UIVirtualScroll;
|
|
3164
|
-
}(
|
|
3180
|
+
}(jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q));
|
|
3165
3181
|
|
|
3166
3182
|
|
|
3167
3183
|
/***/ }),
|