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
|
*/
|
|
@@ -72,25 +72,25 @@ module.exports = "<svg viewBox=\"0 0 252 252\" xmlns=\"http://www.w3.org/2000/sv
|
|
|
72
72
|
/* harmony export */ });
|
|
73
73
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(97582);
|
|
74
74
|
/* harmony import */ var _ui_assets_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68349);
|
|
75
|
-
/* harmony import */ var
|
|
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
|
|
75
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95582);
|
|
76
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8079);
|
|
77
|
+
/* harmony import */ var jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2932);
|
|
78
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50526);
|
|
79
|
+
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(11612);
|
|
80
|
+
/* harmony import */ var jodit_modules_image_editor_image_editor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92803);
|
|
81
|
+
/* harmony import */ var jodit_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3028);
|
|
82
|
+
/* harmony import */ var jodit_core_traits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46567);
|
|
83
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77628);
|
|
84
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(53852);
|
|
85
|
+
/* harmony import */ var jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19564);
|
|
86
|
+
/* harmony import */ var _ui_panel_panel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(96123);
|
|
87
|
+
/* harmony import */ var _helpers_state_manager__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(83568);
|
|
88
|
+
/* harmony import */ var _ui_header_header__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(65669);
|
|
89
|
+
/* harmony import */ var _ui_progress_progress__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(22840);
|
|
90
|
+
/* harmony import */ var _helpers_persistent_store__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(93469);
|
|
91
|
+
/* harmony import */ var _helpers_history_manager__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(9581);
|
|
92
|
+
/* harmony import */ var _helpers_context_menu__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(63052);
|
|
91
93
|
/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(70467);
|
|
92
|
-
/* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(88292);
|
|
93
|
-
/* harmony import */ var _license_license__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(19564);
|
|
94
94
|
/* harmony import */ var _ui_lightboox_lightbox__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(41424);
|
|
95
95
|
/* harmony import */ var _helpers_loading_manager__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(48086);
|
|
96
96
|
/*!
|
|
@@ -122,7 +122,7 @@ module.exports = "<svg viewBox=\"0 0 252 252\" xmlns=\"http://www.w3.org/2000/sv
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
let FileBrowserPro = class FileBrowserPro extends
|
|
125
|
+
let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_3__/* .Dialog */ .Vq {
|
|
126
126
|
/** @override */
|
|
127
127
|
className() {
|
|
128
128
|
return 'FileBrowserPro';
|
|
@@ -137,31 +137,31 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
137
137
|
return super.unlock();
|
|
138
138
|
}
|
|
139
139
|
status(message, success = !(message instanceof Error)) {
|
|
140
|
-
if ((0,
|
|
140
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isAbort)(message)) {
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
|
-
if (!
|
|
143
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.IS_PROD && !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(message)) {
|
|
144
144
|
console.error(message);
|
|
145
145
|
}
|
|
146
|
-
this.message.message((0,
|
|
146
|
+
this.message.message((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(message) ? message : message.message, success ? 'success' : 'error', this.options.howLongShowMsg);
|
|
147
147
|
}
|
|
148
148
|
get progressbar() {
|
|
149
|
-
return new
|
|
149
|
+
return new _ui_progress_progress__WEBPACK_IMPORTED_MODULE_15__/* .UIProgress */ .u(this, this.stateManager.state);
|
|
150
150
|
}
|
|
151
151
|
constructor(options) {
|
|
152
|
-
super((0,
|
|
152
|
+
super((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(Object.assign(options || {}, {
|
|
153
153
|
resizable: true,
|
|
154
154
|
draggable: true,
|
|
155
155
|
toolbarButtons: options?.toolbarButtons ||
|
|
156
|
-
|
|
157
|
-
buttons:
|
|
156
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_9__.Config.defaultOptions.filebrowser.buttons,
|
|
157
|
+
buttons: jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__/* .JoditPro.atom */ .y.atom([
|
|
158
158
|
'filebrowser.settings',
|
|
159
159
|
'fullsize',
|
|
160
160
|
'dialog.close'
|
|
161
161
|
])
|
|
162
|
-
}),
|
|
163
|
-
this.dataProvider = (0,
|
|
164
|
-
this.state = (0,
|
|
162
|
+
}), jodit_config__WEBPACK_IMPORTED_MODULE_9__.Config.defaultOptions.filebrowser));
|
|
163
|
+
this.dataProvider = (0,jodit_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_7__/* .makeDataProvider */ .S)(this, this.options);
|
|
164
|
+
this.state = (0,jodit_modules__WEBPACK_IMPORTED_MODULE_2__.observable)({
|
|
165
165
|
onSelectCallBack: null,
|
|
166
166
|
theme: 'default',
|
|
167
167
|
showSideBar: true,
|
|
@@ -189,16 +189,16 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
189
189
|
filterWord: '',
|
|
190
190
|
onlyImages: false
|
|
191
191
|
});
|
|
192
|
-
this.persistent = new
|
|
192
|
+
this.persistent = new _helpers_persistent_store__WEBPACK_IMPORTED_MODULE_16__/* .PersistentStore */ .h(this, this.state);
|
|
193
193
|
this.loadingManager = new _helpers_loading_manager__WEBPACK_IMPORTED_MODULE_20__/* .LoadingManager */ .l(this, this.state);
|
|
194
|
-
this.stateManager = new
|
|
195
|
-
this.historyManager = new
|
|
196
|
-
this.contextMenuManager = new
|
|
197
|
-
this.header = new
|
|
198
|
-
this.panel = new
|
|
194
|
+
this.stateManager = new _helpers_state_manager__WEBPACK_IMPORTED_MODULE_13__/* .StateManager */ .O(this.state);
|
|
195
|
+
this.historyManager = new _helpers_history_manager__WEBPACK_IMPORTED_MODULE_17__/* .HistoryManager */ .E(this, this.state);
|
|
196
|
+
this.contextMenuManager = new _helpers_context_menu__WEBPACK_IMPORTED_MODULE_18__/* .ContextMenuManager */ .z(this);
|
|
197
|
+
this.header = new _ui_header_header__WEBPACK_IMPORTED_MODULE_14__/* .UIBrowserHeader */ .C(this, this.options, this.stateManager);
|
|
198
|
+
this.panel = new _ui_panel_panel__WEBPACK_IMPORTED_MODULE_12__/* .UIBrowserPanel */ .G(this, this.stateManager);
|
|
199
199
|
this.files = this.panel;
|
|
200
200
|
this.tree = this.panel;
|
|
201
|
-
|
|
201
|
+
jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_11__/* .license.make */ .V.make(this);
|
|
202
202
|
if (!this.persistent.theme && this.options.theme) {
|
|
203
203
|
this.persistent.theme = this.options.theme;
|
|
204
204
|
}
|
|
@@ -217,7 +217,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
217
217
|
});
|
|
218
218
|
this.e.on('beforeClose', this.removeGlobalListeners);
|
|
219
219
|
this.e.fire('afterInit');
|
|
220
|
-
|
|
220
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__/* .JoditPro.prototype.afterInitHook.call */ .y.prototype.afterInitHook.call(this);
|
|
221
221
|
}
|
|
222
222
|
/** @override */
|
|
223
223
|
addDisclaimer(elm) {
|
|
@@ -235,7 +235,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
235
235
|
* Resize handler
|
|
236
236
|
*/
|
|
237
237
|
onResizeWindow() {
|
|
238
|
-
(0,
|
|
238
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.css)(this.dialog, {
|
|
239
239
|
maxWidth: screen.width,
|
|
240
240
|
minHeight: Math.min(this.options.height, screen.height),
|
|
241
241
|
minWidth: Math.min(this.options.width, screen.width)
|
|
@@ -272,24 +272,24 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
272
272
|
const { activeElement } = this.od;
|
|
273
273
|
if (!this.state.activeElements.length ||
|
|
274
274
|
!activeElement ||
|
|
275
|
-
!
|
|
275
|
+
!jodit_modules__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(this.panel.items.container, activeElement)) {
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
278
278
|
const elms = this.state.elements;
|
|
279
279
|
switch (e.key) {
|
|
280
|
-
case
|
|
280
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_ENTER: {
|
|
281
281
|
return this.onChooseItems();
|
|
282
282
|
}
|
|
283
|
-
case
|
|
283
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_DELETE: {
|
|
284
284
|
return this.onFileRemove();
|
|
285
285
|
}
|
|
286
|
-
case
|
|
287
|
-
case
|
|
288
|
-
case
|
|
289
|
-
case
|
|
290
|
-
const next = e.key ===
|
|
286
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_RIGHT:
|
|
287
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_LEFT:
|
|
288
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_DOWN:
|
|
289
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_UP: {
|
|
290
|
+
const 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;
|
|
291
291
|
let nextIndex;
|
|
292
|
-
if ([
|
|
292
|
+
if ([jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_RIGHT, jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.KEY_LEFT].includes(e.key)) {
|
|
293
293
|
if (next) {
|
|
294
294
|
nextIndex = !elms[index + 1] ? 0 : index + 1;
|
|
295
295
|
}
|
|
@@ -364,12 +364,12 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
364
364
|
onFileEdit() {
|
|
365
365
|
if (this.state.activeElements.length === 1) {
|
|
366
366
|
const [file] = this.state.activeElements;
|
|
367
|
-
|
|
367
|
+
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);
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
onFolderRename(data) {
|
|
371
371
|
this.prompt('Enter new name', 'Rename', (newName) => {
|
|
372
|
-
if (!(0,
|
|
372
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isValidName)(newName) || newName === data.name) {
|
|
373
373
|
this.status(this.i18n('Enter new name'));
|
|
374
374
|
return false;
|
|
375
375
|
}
|
|
@@ -423,7 +423,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
423
423
|
const name = item.file || item.name || '';
|
|
424
424
|
if (this.state.activeElements.length === 1 && name) {
|
|
425
425
|
this.prompt('Enter new name', 'Rename', (newName) => {
|
|
426
|
-
if (!(0,
|
|
426
|
+
if (!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isValidName)(newName)) {
|
|
427
427
|
this.status(this.i18n('Enter new name'));
|
|
428
428
|
return false;
|
|
429
429
|
}
|
|
@@ -461,7 +461,7 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
461
461
|
_ui_lightboox_lightbox__WEBPACK_IMPORTED_MODULE_19__/* .UILightBox.open */ .m.open(this, item, this.state.elements);
|
|
462
462
|
}
|
|
463
463
|
initUploader() {
|
|
464
|
-
const self = this, uploaderOptions = (0,
|
|
464
|
+
const self = this, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(self.o.uploader || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__.Config.defaultOptions.uploader);
|
|
465
465
|
const uploadHandler = () => this.loadingManager.loadItems();
|
|
466
466
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
467
467
|
self.uploader.bind(self.panel.container, uploadHandler, self.status);
|
|
@@ -494,64 +494,64 @@ let FileBrowserPro = class FileBrowserPro extends jodit_modules_dialog__WEBPACK_
|
|
|
494
494
|
];
|
|
495
495
|
keys.forEach((key) => {
|
|
496
496
|
if (this.options[key] != null) {
|
|
497
|
-
this.options[key] = (0,
|
|
497
|
+
this.options[key] = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(this.options[key], this.o.ajax);
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
501
|
};
|
|
502
502
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
503
|
-
|
|
503
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
504
504
|
], FileBrowserPro.prototype, "status", null);
|
|
505
505
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
506
|
-
|
|
506
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.cache
|
|
507
507
|
], FileBrowserPro.prototype, "progressbar", null);
|
|
508
508
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
509
|
-
(0,
|
|
509
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':resize', { context: window })
|
|
510
510
|
], FileBrowserPro.prototype, "onResizeWindow", null);
|
|
511
511
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
512
|
-
(0,
|
|
512
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(['state.currentPath', 'state.currentSource'])
|
|
513
513
|
], FileBrowserPro.prototype, "onChangePath", null);
|
|
514
514
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
515
|
-
(0,
|
|
515
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.theme')
|
|
516
516
|
], FileBrowserPro.prototype, "onChangeTheme", null);
|
|
517
517
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
518
|
-
(0,
|
|
518
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':toggleSettings.filebrowser')
|
|
519
519
|
], FileBrowserPro.prototype, "onToggleSettings", null);
|
|
520
520
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
521
|
-
|
|
521
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
522
522
|
], FileBrowserPro.prototype, "onKeyPress", null);
|
|
523
523
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
524
|
-
|
|
524
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
|
|
525
525
|
], FileBrowserPro.prototype, "removeGlobalListeners", null);
|
|
526
526
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
527
|
-
(0,
|
|
527
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':fileRemove.filebrowser')
|
|
528
528
|
], FileBrowserPro.prototype, "onFileRemove", null);
|
|
529
529
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
530
|
-
(0,
|
|
530
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':edit.filebrowser')
|
|
531
531
|
], FileBrowserPro.prototype, "onFileEdit", null);
|
|
532
532
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
533
|
-
(0,
|
|
533
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':folderRename.filebrowser')
|
|
534
534
|
], FileBrowserPro.prototype, "onFolderRename", null);
|
|
535
535
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
536
|
-
(0,
|
|
536
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':folderRemove.filebrowser')
|
|
537
537
|
], FileBrowserPro.prototype, "onFolderRemove", null);
|
|
538
538
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
539
|
-
(0,
|
|
539
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':folderCreate.filebrowser')
|
|
540
540
|
], FileBrowserPro.prototype, "onFolderCreate", null);
|
|
541
541
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
542
|
-
(0,
|
|
542
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':fileRename.filebrowser')
|
|
543
543
|
], FileBrowserPro.prototype, "onFileRename", null);
|
|
544
544
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
545
|
-
(0,
|
|
545
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':select.filebrowser')
|
|
546
546
|
], FileBrowserPro.prototype, "onChooseItems", null);
|
|
547
547
|
(0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
548
|
-
(0,
|
|
548
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)(':openLightBox.filebrowser')
|
|
549
549
|
], FileBrowserPro.prototype, "onOpenLightBox", null);
|
|
550
550
|
FileBrowserPro = (0,tslib__WEBPACK_IMPORTED_MODULE_22__/* .__decorate */ .gn)([
|
|
551
|
-
|
|
552
|
-
(0,
|
|
551
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.component,
|
|
552
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.derive)(jodit_core_traits__WEBPACK_IMPORTED_MODULE_8__/* .Dlgs */ .lf)
|
|
553
553
|
], FileBrowserPro);
|
|
554
|
-
Object.defineProperty(
|
|
554
|
+
Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_10__/* .JoditPro.modules */ .y.modules, 'FileBrowserPro', {
|
|
555
555
|
value: FileBrowserPro,
|
|
556
556
|
writable: false,
|
|
557
557
|
enumerable: true,
|
|
@@ -663,7 +663,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
663
663
|
/* harmony export */ });
|
|
664
664
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
665
665
|
/* harmony import */ var _browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68813);
|
|
666
|
-
/* harmony import */ var
|
|
666
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53852);
|
|
667
667
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99993);
|
|
668
668
|
/*!
|
|
669
669
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -678,7 +678,7 @@ class finder extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */
|
|
|
678
678
|
constructor() {
|
|
679
679
|
super(...arguments);
|
|
680
680
|
/** @override */
|
|
681
|
-
this.hasStyle = !
|
|
681
|
+
this.hasStyle = !jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.fatMode */ .y.fatMode;
|
|
682
682
|
}
|
|
683
683
|
/** @override */
|
|
684
684
|
afterInit(jodit) {
|
|
@@ -697,7 +697,7 @@ class finder extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */
|
|
|
697
697
|
}
|
|
698
698
|
/** @override */
|
|
699
699
|
finder.requires = ['license'];
|
|
700
|
-
|
|
700
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add('finder', finder);
|
|
701
701
|
|
|
702
702
|
|
|
703
703
|
/***/ }),
|
|
@@ -711,7 +711,7 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
711
711
|
/* harmony export */ });
|
|
712
712
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
713
713
|
/* harmony import */ var jodit_modules_file_browser_factories__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3028);
|
|
714
|
-
/* harmony import */ var
|
|
714
|
+
/* harmony import */ var jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28702);
|
|
715
715
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50526);
|
|
716
716
|
/*!
|
|
717
717
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -722,7 +722,7 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add
|
|
|
722
722
|
|
|
723
723
|
|
|
724
724
|
|
|
725
|
-
let ContextMenuManager = class ContextMenuManager extends
|
|
725
|
+
let ContextMenuManager = class ContextMenuManager extends jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_1__/* .ViewComponent */ .H {
|
|
726
726
|
/** @override */
|
|
727
727
|
className() {
|
|
728
728
|
return 'ContextMenuManager';
|
|
@@ -895,9 +895,9 @@ const parentPath = (path) => {
|
|
|
895
895
|
/* harmony export */ "E": function() { return /* binding */ HistoryManager; }
|
|
896
896
|
/* harmony export */ });
|
|
897
897
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
898
|
-
/* harmony import */ var
|
|
899
|
-
/* harmony import */ var
|
|
900
|
-
/* harmony import */ var
|
|
898
|
+
/* harmony import */ var jodit_core_helpers_utils_extend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16479);
|
|
899
|
+
/* harmony import */ var jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28702);
|
|
900
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
901
901
|
/*!
|
|
902
902
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
903
903
|
* See LICENSE.md in the project root for license information.
|
|
@@ -907,7 +907,7 @@ const parentPath = (path) => {
|
|
|
907
907
|
|
|
908
908
|
|
|
909
909
|
|
|
910
|
-
let HistoryManager = class HistoryManager extends
|
|
910
|
+
let HistoryManager = class HistoryManager extends jodit_core_component_view_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewComponent */ .H {
|
|
911
911
|
/** @override */
|
|
912
912
|
className() {
|
|
913
913
|
return 'HistoryManager';
|
|
@@ -959,7 +959,7 @@ let HistoryManager = class HistoryManager extends jodit_core_component__WEBPACK_
|
|
|
959
959
|
this.history[this.historyIndex] = {
|
|
960
960
|
currentSource: this.state.currentSource,
|
|
961
961
|
currentPath: this.state.currentPath,
|
|
962
|
-
tree: (0,
|
|
962
|
+
tree: (0,jodit_core_helpers_utils_extend__WEBPACK_IMPORTED_MODULE_2__/* .fastClone */ .V8)(this.state.tree),
|
|
963
963
|
elements: [...this.state.elements]
|
|
964
964
|
};
|
|
965
965
|
}
|
|
@@ -988,16 +988,16 @@ let HistoryManager = class HistoryManager extends jodit_core_component__WEBPACK_
|
|
|
988
988
|
}
|
|
989
989
|
};
|
|
990
990
|
(0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
991
|
-
(0,
|
|
991
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.elements', 'state.tree'])
|
|
992
992
|
], HistoryManager.prototype, "updateCurrent", null);
|
|
993
993
|
(0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
994
|
-
(0,
|
|
994
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':goHome.filebrowser')
|
|
995
995
|
], HistoryManager.prototype, "onHome", null);
|
|
996
996
|
(0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
997
|
-
(0,
|
|
997
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterOpenFolder.filebrowser')
|
|
998
998
|
], HistoryManager.prototype, "onOpenFolder", null);
|
|
999
999
|
HistoryManager = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
1000
|
-
|
|
1000
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1001
1001
|
], HistoryManager);
|
|
1002
1002
|
|
|
1003
1003
|
|
|
@@ -1188,6 +1188,11 @@ function loadPartItems(state, dataProvider, offset, limit) {
|
|
|
1188
1188
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1189
1189
|
/* harmony import */ var jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45545);
|
|
1190
1190
|
|
|
1191
|
+
/*!
|
|
1192
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1193
|
+
* See LICENSE.md in the project root for license information.
|
|
1194
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
1195
|
+
*/
|
|
1191
1196
|
|
|
1192
1197
|
|
|
1193
1198
|
|
|
@@ -1500,10 +1505,11 @@ jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .Icon.set */ .JO.set('new-folder',
|
|
|
1500
1505
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1501
1506
|
/* harmony export */ "D": function() { return /* binding */ UIBrowserFolder; }
|
|
1502
1507
|
/* harmony export */ });
|
|
1503
|
-
/* harmony import */ var
|
|
1508
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
1504
1509
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
1505
|
-
/* harmony import */ var
|
|
1506
|
-
/* harmony import */ var
|
|
1510
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94707);
|
|
1511
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(52378);
|
|
1512
|
+
/* 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__);
|
|
1507
1513
|
/*!
|
|
1508
1514
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1509
1515
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1552,8 +1558,8 @@ let UIBrowserFolder = class UIBrowserFolder extends jodit_core_ui__WEBPACK_IMPOR
|
|
|
1552
1558
|
});
|
|
1553
1559
|
}
|
|
1554
1560
|
};
|
|
1555
|
-
UIBrowserFolder = (0,
|
|
1556
|
-
|
|
1561
|
+
UIBrowserFolder = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
1562
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__/* .component */ .w
|
|
1557
1563
|
], UIBrowserFolder);
|
|
1558
1564
|
|
|
1559
1565
|
|
|
@@ -1641,12 +1647,14 @@ UIBrowserHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .gn)([
|
|
|
1641
1647
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1642
1648
|
/* harmony export */ "u": function() { return /* binding */ UIBrowserItem; }
|
|
1643
1649
|
/* harmony export */ });
|
|
1644
|
-
/* harmony import */ var
|
|
1650
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97582);
|
|
1645
1651
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
1646
1652
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1647
1653
|
/* harmony import */ var jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45545);
|
|
1648
1654
|
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8079);
|
|
1649
1655
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(95582);
|
|
1656
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52378);
|
|
1657
|
+
/* 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__);
|
|
1650
1658
|
/*!
|
|
1651
1659
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1652
1660
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1725,13 +1733,13 @@ let UIBrowserItem = class UIBrowserItem extends jodit_core_ui__WEBPACK_IMPORTED_
|
|
|
1725
1733
|
return this;
|
|
1726
1734
|
}
|
|
1727
1735
|
};
|
|
1728
|
-
(0,
|
|
1736
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
1729
1737
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('heart:click')
|
|
1730
1738
|
], UIBrowserItem.prototype, "onClickFavorite", null);
|
|
1731
|
-
(0,
|
|
1739
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
1732
1740
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['container:click', 'container:contextmenu', 'container:dblclick'])
|
|
1733
1741
|
], UIBrowserItem.prototype, "onAction", null);
|
|
1734
|
-
UIBrowserItem = (0,
|
|
1742
|
+
UIBrowserItem = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
1735
1743
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1736
1744
|
], UIBrowserItem);
|
|
1737
1745
|
|
|
@@ -1745,11 +1753,13 @@ UIBrowserItem = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
|
1745
1753
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1746
1754
|
/* harmony export */ "m": function() { return /* binding */ UILightBox; }
|
|
1747
1755
|
/* harmony export */ });
|
|
1748
|
-
/* harmony import */ var
|
|
1756
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97582);
|
|
1749
1757
|
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8079);
|
|
1750
1758
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1751
1759
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(95582);
|
|
1752
1760
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11612);
|
|
1761
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52378);
|
|
1762
|
+
/* 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__);
|
|
1753
1763
|
/*!
|
|
1754
1764
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1755
1765
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1881,19 +1891,19 @@ let UILightBox = UILightBox_1 = class UILightBox extends jodit_modules__WEBPACK_
|
|
|
1881
1891
|
return super.destruct();
|
|
1882
1892
|
}
|
|
1883
1893
|
};
|
|
1884
|
-
(0,
|
|
1894
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
1885
1895
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('current')
|
|
1886
1896
|
], UILightBox.prototype, "onChangeCurrent", null);
|
|
1887
|
-
(0,
|
|
1897
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
1888
1898
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('previous:click')
|
|
1889
1899
|
], UILightBox.prototype, "onPreviousClick", null);
|
|
1890
|
-
(0,
|
|
1900
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
1891
1901
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('next:click')
|
|
1892
1902
|
], UILightBox.prototype, "onNextClick", null);
|
|
1893
|
-
(0,
|
|
1903
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
1894
1904
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
1895
1905
|
], UILightBox.prototype, "onKeyPress", null);
|
|
1896
|
-
UILightBox = UILightBox_1 = (0,
|
|
1906
|
+
UILightBox = UILightBox_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
1897
1907
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
1898
1908
|
], UILightBox);
|
|
1899
1909
|
|
|
@@ -1909,14 +1919,14 @@ UILightBox = UILightBox_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate
|
|
|
1909
1919
|
/* harmony export */ });
|
|
1910
1920
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97582);
|
|
1911
1921
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
1912
|
-
/* harmony import */ var
|
|
1913
|
-
/* harmony import */ var
|
|
1914
|
-
/* harmony import */ var
|
|
1915
|
-
/* harmony import */ var
|
|
1916
|
-
/* harmony import */ var
|
|
1917
|
-
/* harmony import */ var
|
|
1918
|
-
/* harmony import */ var
|
|
1919
|
-
/* harmony import */ var
|
|
1922
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
1923
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(95582);
|
|
1924
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_virtual_scroll_virtual_scroll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72618);
|
|
1925
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_sidebar_sidebar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68787);
|
|
1926
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_settings_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62983);
|
|
1927
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_sources_sources__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93582);
|
|
1928
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_statusbar_statusbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67775);
|
|
1929
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_preview_preview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(96945);
|
|
1920
1930
|
/*!
|
|
1921
1931
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1922
1932
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1948,9 +1958,9 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_core_ui__WEBPACK_IMPORTE
|
|
|
1948
1958
|
if (!this.items.elements.length) {
|
|
1949
1959
|
return 1;
|
|
1950
1960
|
}
|
|
1951
|
-
const { container } = this.items.elements[0], margin = (0,
|
|
1961
|
+
const { container } = this.items.elements[0], margin = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(container, 'marginLeft');
|
|
1952
1962
|
return Math.floor(this.items.container.offsetWidth /
|
|
1953
|
-
(container.offsetWidth + ((0,
|
|
1963
|
+
(container.offsetWidth + ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isNumber)(margin) ? margin : 0)));
|
|
1954
1964
|
}
|
|
1955
1965
|
/**
|
|
1956
1966
|
* Count elements in one column for calculate navigation
|
|
@@ -1959,9 +1969,9 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_core_ui__WEBPACK_IMPORTE
|
|
|
1959
1969
|
if (!this.items.elements.length) {
|
|
1960
1970
|
return 1;
|
|
1961
1971
|
}
|
|
1962
|
-
const { container } = this.items.elements[0], margin = (0,
|
|
1972
|
+
const { container } = this.items.elements[0], margin = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(container, 'marginTop');
|
|
1963
1973
|
return Math.floor(this.items.container.offsetHeight /
|
|
1964
|
-
(container.offsetHeight + ((0,
|
|
1974
|
+
(container.offsetHeight + ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isNumber)(margin) ? margin : 0)));
|
|
1965
1975
|
}
|
|
1966
1976
|
/** @override */
|
|
1967
1977
|
render() {
|
|
@@ -1975,12 +1985,12 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_core_ui__WEBPACK_IMPORTE
|
|
|
1975
1985
|
this.stateManager = stateManager;
|
|
1976
1986
|
/** @override */
|
|
1977
1987
|
this.syncMod = true;
|
|
1978
|
-
this.sources = new
|
|
1979
|
-
this.sidebar = new
|
|
1980
|
-
this.preview = new
|
|
1981
|
-
this.statusbar = new
|
|
1982
|
-
this.items = new
|
|
1983
|
-
this.settings = new
|
|
1988
|
+
this.sources = new jodit_pro_plugins_finder_ui_sources_sources__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserSources */ .L(this.j);
|
|
1989
|
+
this.sidebar = new jodit_pro_plugins_finder_ui_sidebar_sidebar__WEBPACK_IMPORTED_MODULE_4__/* .UISidebar */ .o(this.jodit, [this.sources], this.stateManager.state);
|
|
1990
|
+
this.preview = new jodit_pro_plugins_finder_ui_preview_preview__WEBPACK_IMPORTED_MODULE_8__/* .UIPreview */ .o(this.jodit, this.stateManager.state);
|
|
1991
|
+
this.statusbar = new jodit_pro_plugins_finder_ui_statusbar_statusbar__WEBPACK_IMPORTED_MODULE_7__/* .UIBrowserStatusBar */ .s(this.j);
|
|
1992
|
+
this.items = new jodit_pro_plugins_finder_ui_virtual_scroll_virtual_scroll__WEBPACK_IMPORTED_MODULE_3__/* .UIVirtualScroll */ .d(this.j, this.stateManager);
|
|
1993
|
+
this.settings = new jodit_pro_plugins_finder_ui_settings_settings__WEBPACK_IMPORTED_MODULE_5__/* .UIBrowserSettings */ .r(this.jodit, this.stateManager.state);
|
|
1984
1994
|
this.state = stateManager.state;
|
|
1985
1995
|
this.append(this.sidebar, 'content');
|
|
1986
1996
|
this.append(this.items, 'content');
|
|
@@ -2027,7 +2037,7 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_core_ui__WEBPACK_IMPORTE
|
|
|
2027
2037
|
const container = this.items.elements[this.stateManager.state.lastSelectedIndex]
|
|
2028
2038
|
?.container;
|
|
2029
2039
|
if (container) {
|
|
2030
|
-
(0,
|
|
2040
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(container, this.items.container, this.j.od);
|
|
2031
2041
|
container.focus();
|
|
2032
2042
|
}
|
|
2033
2043
|
}
|
|
@@ -2079,64 +2089,64 @@ let UIBrowserPanel = class UIBrowserPanel extends jodit_core_ui__WEBPACK_IMPORTE
|
|
|
2079
2089
|
}
|
|
2080
2090
|
};
|
|
2081
2091
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2082
|
-
(0,
|
|
2092
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.theme')
|
|
2083
2093
|
], UIBrowserPanel.prototype, "onChangeTheme", null);
|
|
2084
2094
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2085
|
-
(0,
|
|
2095
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.elements')
|
|
2086
2096
|
], UIBrowserPanel.prototype, "onChangeElements", null);
|
|
2087
2097
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2088
|
-
(0,
|
|
2098
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.activeElements')
|
|
2089
2099
|
], UIBrowserPanel.prototype, "onChangeActiveElements", null);
|
|
2090
2100
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2091
|
-
(0,
|
|
2101
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.favorites', 'state.elements'])
|
|
2092
2102
|
], UIBrowserPanel.prototype, "onChangeFavorites", null);
|
|
2093
2103
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2094
|
-
(0,
|
|
2104
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.sources')
|
|
2095
2105
|
], UIBrowserPanel.prototype, "onChangeSources", null);
|
|
2096
2106
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2097
|
-
(0,
|
|
2107
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.lastSelectedIndex')
|
|
2098
2108
|
], UIBrowserPanel.prototype, "onChangeLastSelectedIndex", null);
|
|
2099
2109
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2100
|
-
(0,
|
|
2110
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.info')
|
|
2101
2111
|
], UIBrowserPanel.prototype, "onChangeInfo", null);
|
|
2102
2112
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2103
|
-
(0,
|
|
2113
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.currentPath', 'state.currentSource'])
|
|
2104
2114
|
], UIBrowserPanel.prototype, "onChangePathOrSource", null);
|
|
2105
2115
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2106
|
-
(0,
|
|
2116
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showSettings')
|
|
2107
2117
|
], UIBrowserPanel.prototype, "onChangeShowSettings", null);
|
|
2108
2118
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2109
|
-
(0,
|
|
2119
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showPreview')
|
|
2110
2120
|
], UIBrowserPanel.prototype, "onChangeShowPreview", null);
|
|
2111
2121
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2112
|
-
(0,
|
|
2122
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showSideBar')
|
|
2113
2123
|
], UIBrowserPanel.prototype, "onChangeShowSideBar", null);
|
|
2114
2124
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2115
|
-
(0,
|
|
2125
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.view')
|
|
2116
2126
|
], UIBrowserPanel.prototype, "onChangeView", null);
|
|
2117
2127
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2118
|
-
(0,
|
|
2128
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tileSize')
|
|
2119
2129
|
], UIBrowserPanel.prototype, "onChangeTileSize", null);
|
|
2120
2130
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2121
|
-
(0,
|
|
2131
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.showFavorites')
|
|
2122
2132
|
], UIBrowserPanel.prototype, "onChangeShowFavorites", null);
|
|
2123
2133
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2124
|
-
(0,
|
|
2134
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':dblclickItem.filebrowser')
|
|
2125
2135
|
], UIBrowserPanel.prototype, "onItemDblClick", null);
|
|
2126
2136
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2127
|
-
(0,
|
|
2137
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':clickItem.filebrowser')
|
|
2128
2138
|
], UIBrowserPanel.prototype, "onItemClick", null);
|
|
2129
2139
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2130
|
-
(0,
|
|
2140
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':togglePreview.filebrowser')
|
|
2131
2141
|
], UIBrowserPanel.prototype, "onTogglePreview", null);
|
|
2132
2142
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2133
|
-
(0,
|
|
2143
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':toggleFavoriteItem')
|
|
2134
2144
|
], UIBrowserPanel.prototype, "onToggleFavoriteItem", null);
|
|
2135
2145
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2136
|
-
(0,
|
|
2146
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':openFolder')
|
|
2137
2147
|
], UIBrowserPanel.prototype, "onFolderClick", null);
|
|
2138
2148
|
UIBrowserPanel = (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
2139
|
-
|
|
2149
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2140
2150
|
], UIBrowserPanel);
|
|
2141
2151
|
|
|
2142
2152
|
|
|
@@ -2149,13 +2159,15 @@ UIBrowserPanel = (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
|
2149
2159
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2150
2160
|
/* harmony export */ "o": function() { return /* binding */ UIPreview; }
|
|
2151
2161
|
/* harmony export */ });
|
|
2152
|
-
/* harmony import */ var
|
|
2153
|
-
/* harmony import */ var
|
|
2162
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(97582);
|
|
2163
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
2154
2164
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2155
|
-
/* harmony import */ var
|
|
2156
|
-
/* harmony import */ var
|
|
2157
|
-
/* harmony import */ var
|
|
2158
|
-
/* harmony import */ var
|
|
2165
|
+
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98478);
|
|
2166
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(44913);
|
|
2167
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52378);
|
|
2168
|
+
/* 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__);
|
|
2169
|
+
/* harmony import */ var jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62499);
|
|
2170
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(87695);
|
|
2159
2171
|
|
|
2160
2172
|
/*!
|
|
2161
2173
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -2170,7 +2182,7 @@ UIBrowserPanel = (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
|
2170
2182
|
|
|
2171
2183
|
|
|
2172
2184
|
|
|
2173
|
-
let UIPreview = class UIPreview extends
|
|
2185
|
+
let UIPreview = class UIPreview extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q {
|
|
2174
2186
|
/** @override */
|
|
2175
2187
|
className() {
|
|
2176
2188
|
return 'UIPreview';
|
|
@@ -2179,8 +2191,8 @@ let UIPreview = class UIPreview extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_0
|
|
|
2179
2191
|
* Add handle resizer
|
|
2180
2192
|
*/
|
|
2181
2193
|
addResize() {
|
|
2182
|
-
|
|
2183
|
-
|
|
2194
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_5__/* .UIResize.remove */ .c.remove(this);
|
|
2195
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_5__/* .UIResize.install */ .c.install(this, screen.width > 450 ? 'left' : 'top');
|
|
2184
2196
|
}
|
|
2185
2197
|
/** @override */
|
|
2186
2198
|
render() {
|
|
@@ -2211,28 +2223,28 @@ let UIPreview = class UIPreview extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_0
|
|
|
2211
2223
|
this.setMod('empty', !metaInfo);
|
|
2212
2224
|
const info = this.getElm('info');
|
|
2213
2225
|
void 0;
|
|
2214
|
-
|
|
2226
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom.detach */ .i.detach(info);
|
|
2215
2227
|
const image = this.getElm('image');
|
|
2216
2228
|
void 0;
|
|
2217
|
-
(0,
|
|
2229
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.css)(image, {
|
|
2218
2230
|
backgroundImage: null
|
|
2219
2231
|
});
|
|
2220
2232
|
if (!metaInfo) {
|
|
2221
2233
|
return;
|
|
2222
2234
|
}
|
|
2223
2235
|
this.setMod('is-file', metaInfo.isImage === false).setMod('type', metaInfo.type ?? 'file');
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2236
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem.prototype.setElementValue.call */ .u.prototype.setElementValue.call(this, 'name', metaInfo.file);
|
|
2237
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem.prototype.setElementValue.call */ .u.prototype.setElementValue.call(this, 'time', metaInfo.time);
|
|
2238
|
+
jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_6__/* .UIBrowserItem.prototype.setElementValue.call */ .u.prototype.setElementValue.call(this, 'filesize', metaInfo.size);
|
|
2227
2239
|
this.setMod('loading', true);
|
|
2228
2240
|
this.lastLoadPromise?.rejectCallback();
|
|
2229
|
-
this.lastLoadPromise = (0,
|
|
2241
|
+
this.lastLoadPromise = (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.loadImage)(metaInfo.isImage ? metaInfo.fileURL : metaInfo.imageURL, this.j);
|
|
2230
2242
|
this.lastLoadPromise
|
|
2231
2243
|
.then((image) => {
|
|
2232
2244
|
const elm = this.getElm('image');
|
|
2233
2245
|
void 0;
|
|
2234
2246
|
image &&
|
|
2235
|
-
(0,
|
|
2247
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.css)(elm, {
|
|
2236
2248
|
backgroundImage: `url(${image.src})`
|
|
2237
2249
|
});
|
|
2238
2250
|
})
|
|
@@ -2242,15 +2254,15 @@ let UIPreview = class UIPreview extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_0
|
|
|
2242
2254
|
.catch(() => { });
|
|
2243
2255
|
}
|
|
2244
2256
|
};
|
|
2245
|
-
(0,
|
|
2257
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
2246
2258
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready'),
|
|
2247
2259
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':resize', { context: window }),
|
|
2248
2260
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
2249
2261
|
], UIPreview.prototype, "addResize", null);
|
|
2250
|
-
(0,
|
|
2262
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
2251
2263
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.metaInfo')
|
|
2252
2264
|
], UIPreview.prototype, "onChangeMetaInfo", null);
|
|
2253
|
-
UIPreview = (0,
|
|
2265
|
+
UIPreview = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
2254
2266
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2255
2267
|
], UIPreview);
|
|
2256
2268
|
|
|
@@ -2265,7 +2277,7 @@ UIPreview = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
|
2265
2277
|
/* harmony export */ "u": function() { return /* binding */ UIProgress; }
|
|
2266
2278
|
/* harmony export */ });
|
|
2267
2279
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
2268
|
-
/* harmony import */ var
|
|
2280
|
+
/* harmony import */ var jodit_core_ui_progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51273);
|
|
2269
2281
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2270
2282
|
|
|
2271
2283
|
/*!
|
|
@@ -2276,7 +2288,7 @@ UIPreview = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn)([
|
|
|
2276
2288
|
|
|
2277
2289
|
|
|
2278
2290
|
|
|
2279
|
-
let UIProgress = class UIProgress extends
|
|
2291
|
+
let UIProgress = class UIProgress extends jodit_core_ui_progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_0__/* .ProgressBar */ .k {
|
|
2280
2292
|
/** @override */
|
|
2281
2293
|
className() {
|
|
2282
2294
|
return 'UIProgress';
|
|
@@ -2336,7 +2348,8 @@ UIProgress = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
|
2336
2348
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2337
2349
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2338
2350
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2339
|
-
/* harmony import */ var
|
|
2351
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
2352
|
+
/* 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__);
|
|
2340
2353
|
/*!
|
|
2341
2354
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2342
2355
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2541,10 +2554,11 @@ UIBrowserSettings = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)(
|
|
|
2541
2554
|
/* harmony export */ "o": function() { return /* binding */ UISidebar; }
|
|
2542
2555
|
/* harmony export */ });
|
|
2543
2556
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97582);
|
|
2544
|
-
/* harmony import */ var
|
|
2557
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
2545
2558
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2546
|
-
/* harmony import */ var
|
|
2547
|
-
/* harmony import */ var
|
|
2559
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
2560
|
+
/* 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__);
|
|
2561
|
+
/* harmony import */ var jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(62499);
|
|
2548
2562
|
|
|
2549
2563
|
/*!
|
|
2550
2564
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -2556,7 +2570,7 @@ UIBrowserSettings = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)(
|
|
|
2556
2570
|
|
|
2557
2571
|
|
|
2558
2572
|
|
|
2559
|
-
let UISidebar = class UISidebar extends
|
|
2573
|
+
let UISidebar = class UISidebar extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q {
|
|
2560
2574
|
/** @override */
|
|
2561
2575
|
className() {
|
|
2562
2576
|
return 'UISidebar';
|
|
@@ -2579,8 +2593,8 @@ let UISidebar = class UISidebar extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_0
|
|
|
2579
2593
|
* Add handle resizer
|
|
2580
2594
|
*/
|
|
2581
2595
|
addResize() {
|
|
2582
|
-
|
|
2583
|
-
|
|
2596
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_3__/* .UIResize.remove */ .c.remove(this);
|
|
2597
|
+
jodit_pro_traits_resize_resize__WEBPACK_IMPORTED_MODULE_3__/* .UIResize.install */ .c.install(this, screen.width > 450 ? 'right' : 'bottom');
|
|
2584
2598
|
}
|
|
2585
2599
|
constructor(jodit, elements, state) {
|
|
2586
2600
|
super(jodit, elements);
|
|
@@ -2627,11 +2641,12 @@ UISidebar = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .gn)([
|
|
|
2627
2641
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2628
2642
|
/* harmony export */ "f": function() { return /* binding */ UIBrowserSource; }
|
|
2629
2643
|
/* harmony export */ });
|
|
2630
|
-
/* harmony import */ var
|
|
2631
|
-
/* harmony import */ var
|
|
2632
|
-
/* harmony import */ var
|
|
2633
|
-
/* harmony import */ var
|
|
2634
|
-
/* harmony import */ var
|
|
2644
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2645
|
+
/* harmony import */ var jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84789);
|
|
2646
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94707);
|
|
2647
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(52378);
|
|
2648
|
+
/* 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__);
|
|
2649
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_tree_tree__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91919);
|
|
2635
2650
|
/*!
|
|
2636
2651
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2637
2652
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2643,7 +2658,7 @@ UISidebar = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .gn)([
|
|
|
2643
2658
|
|
|
2644
2659
|
|
|
2645
2660
|
|
|
2646
|
-
let UIBrowserSource = class UIBrowserSource extends
|
|
2661
|
+
let UIBrowserSource = class UIBrowserSource extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_0__/* .UIElement */ .u {
|
|
2647
2662
|
/** @override */
|
|
2648
2663
|
className() {
|
|
2649
2664
|
return 'UIBrowserSource';
|
|
@@ -2658,7 +2673,7 @@ let UIBrowserSource = class UIBrowserSource extends jodit_core_ui__WEBPACK_IMPOR
|
|
|
2658
2673
|
constructor(jodit, data) {
|
|
2659
2674
|
super(jodit, data);
|
|
2660
2675
|
this.data = data;
|
|
2661
|
-
this.tree = new
|
|
2676
|
+
this.tree = new jodit_pro_plugins_finder_ui_tree_tree__WEBPACK_IMPORTED_MODULE_2__/* .UITree */ .v(this.j, this.data.children);
|
|
2662
2677
|
/** @override */
|
|
2663
2678
|
this.syncMod = true;
|
|
2664
2679
|
const name = this.getElm('name');
|
|
@@ -2672,8 +2687,8 @@ let UIBrowserSource = class UIBrowserSource extends jodit_core_ui__WEBPACK_IMPOR
|
|
|
2672
2687
|
});
|
|
2673
2688
|
}
|
|
2674
2689
|
};
|
|
2675
|
-
UIBrowserSource = (0,
|
|
2676
|
-
|
|
2690
|
+
UIBrowserSource = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
2691
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_4__/* .component */ .w
|
|
2677
2692
|
], UIBrowserSource);
|
|
2678
2693
|
|
|
2679
2694
|
|
|
@@ -2689,7 +2704,7 @@ UIBrowserSource = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .gn)([
|
|
|
2689
2704
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2690
2705
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2691
2706
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2692
|
-
/* harmony import */ var
|
|
2707
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_source_source__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21596);
|
|
2693
2708
|
/*!
|
|
2694
2709
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2695
2710
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2713,7 +2728,7 @@ let UIBrowserSources = class UIBrowserSources extends jodit_core_ui__WEBPACK_IMP
|
|
|
2713
2728
|
build(items) {
|
|
2714
2729
|
this.clear();
|
|
2715
2730
|
items.forEach((item) => {
|
|
2716
|
-
this.append(new
|
|
2731
|
+
this.append(new jodit_pro_plugins_finder_ui_source_source__WEBPACK_IMPORTED_MODULE_2__/* .UIBrowserSource */ .f(this.jodit, item));
|
|
2717
2732
|
});
|
|
2718
2733
|
}
|
|
2719
2734
|
};
|
|
@@ -2734,7 +2749,8 @@ UIBrowserSources = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
|
2734
2749
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
2735
2750
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
2736
2751
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2737
|
-
/* harmony import */ var
|
|
2752
|
+
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
|
|
2753
|
+
/* 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__);
|
|
2738
2754
|
/*!
|
|
2739
2755
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2740
2756
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2779,10 +2795,10 @@ UIBrowserStatusBar = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)
|
|
|
2779
2795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2780
2796
|
/* harmony export */ "v": function() { return /* binding */ UITree; }
|
|
2781
2797
|
/* harmony export */ });
|
|
2782
|
-
/* harmony import */ var
|
|
2783
|
-
/* harmony import */ var
|
|
2784
|
-
/* harmony import */ var
|
|
2785
|
-
/* harmony import */ var
|
|
2798
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
2799
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
2800
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94707);
|
|
2801
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_folder_folder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9890);
|
|
2786
2802
|
/*!
|
|
2787
2803
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2788
2804
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2794,7 +2810,7 @@ var UITree_1;
|
|
|
2794
2810
|
|
|
2795
2811
|
|
|
2796
2812
|
|
|
2797
|
-
let UITree = UITree_1 = class UITree extends
|
|
2813
|
+
let UITree = UITree_1 = class UITree extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q {
|
|
2798
2814
|
/** @override */
|
|
2799
2815
|
className() {
|
|
2800
2816
|
return 'UITree';
|
|
@@ -2808,7 +2824,7 @@ let UITree = UITree_1 = class UITree extends jodit_core_ui__WEBPACK_IMPORTED_MOD
|
|
|
2808
2824
|
build(items) {
|
|
2809
2825
|
this.clear();
|
|
2810
2826
|
items.forEach((item) => {
|
|
2811
|
-
const folder = new
|
|
2827
|
+
const folder = new jodit_pro_plugins_finder_ui_folder_folder__WEBPACK_IMPORTED_MODULE_1__/* .UIBrowserFolder */ .D(this.jodit, item);
|
|
2812
2828
|
this.append(folder);
|
|
2813
2829
|
if (item.isActive) {
|
|
2814
2830
|
folder.setMod('active', true);
|
|
@@ -2819,8 +2835,8 @@ let UITree = UITree_1 = class UITree extends jodit_core_ui__WEBPACK_IMPORTED_MOD
|
|
|
2819
2835
|
});
|
|
2820
2836
|
}
|
|
2821
2837
|
};
|
|
2822
|
-
UITree = UITree_1 = (0,
|
|
2823
|
-
|
|
2838
|
+
UITree = UITree_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
2839
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__/* .component */ .w
|
|
2824
2840
|
], UITree);
|
|
2825
2841
|
|
|
2826
2842
|
|
|
@@ -2834,12 +2850,12 @@ UITree = UITree_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)(
|
|
|
2834
2850
|
/* harmony export */ "d": function() { return /* binding */ UIVirtualScroll; }
|
|
2835
2851
|
/* harmony export */ });
|
|
2836
2852
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97582);
|
|
2837
|
-
/* harmony import */ var
|
|
2853
|
+
/* harmony import */ var jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91630);
|
|
2838
2854
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
2839
|
-
/* harmony import */ var
|
|
2840
|
-
/* harmony import */ var
|
|
2841
|
-
/* harmony import */ var
|
|
2842
|
-
/* harmony import */ var
|
|
2855
|
+
/* harmony import */ var jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45545);
|
|
2856
|
+
/* harmony import */ var jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(90174);
|
|
2857
|
+
/* harmony import */ var jodit_pro_traits_select_items_select_items__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(81766);
|
|
2858
|
+
/* harmony import */ var jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(87695);
|
|
2843
2859
|
/*!
|
|
2844
2860
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2845
2861
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2854,7 +2870,7 @@ var UIVirtualScroll_1;
|
|
|
2854
2870
|
|
|
2855
2871
|
|
|
2856
2872
|
|
|
2857
|
-
let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends
|
|
2873
|
+
let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_0__/* .UIGroup */ .q {
|
|
2858
2874
|
/** @override */
|
|
2859
2875
|
className() {
|
|
2860
2876
|
return 'UIVirtualScroll';
|
|
@@ -2878,7 +2894,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_co
|
|
|
2878
2894
|
const clearIndex = this.elements.findIndex((elm, index) => {
|
|
2879
2895
|
return (!items[index] ||
|
|
2880
2896
|
elm.item.uniqueHashKey !==
|
|
2881
|
-
|
|
2897
|
+
jodit_modules_file_browser_builders_item__WEBPACK_IMPORTED_MODULE_2__/* .FileBrowserItem.create */ .Z.create(items[index]).uniqueHashKey);
|
|
2882
2898
|
});
|
|
2883
2899
|
if (clearIndex > -1) {
|
|
2884
2900
|
for (let i = clearIndex; i < this.elements.length; i += 1) {
|
|
@@ -2893,7 +2909,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_co
|
|
|
2893
2909
|
items
|
|
2894
2910
|
.slice(clearIndex > -1 ? clearIndex : this.elements.length)
|
|
2895
2911
|
.forEach((item) => {
|
|
2896
|
-
const elm = new
|
|
2912
|
+
const elm = new jodit_pro_plugins_finder_ui_item_item__WEBPACK_IMPORTED_MODULE_4__/* .UIBrowserItem */ .u(this.jodit, item);
|
|
2897
2913
|
Object.keys(this.mods).forEach((mod) => {
|
|
2898
2914
|
elm.setMod(mod, this.mods[mod]);
|
|
2899
2915
|
});
|
|
@@ -2918,7 +2934,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_co
|
|
|
2918
2934
|
this.setMod('dragover', false);
|
|
2919
2935
|
}
|
|
2920
2936
|
addItemsSelector() {
|
|
2921
|
-
|
|
2937
|
+
jodit_pro_traits_select_items_select_items__WEBPACK_IMPORTED_MODULE_3__/* .UISelectItems.install */ .r.install(this);
|
|
2922
2938
|
}
|
|
2923
2939
|
static intersectRect(r1, r2) {
|
|
2924
2940
|
return !(r2.left > r1.left + r1.width ||
|
|
@@ -2929,7 +2945,7 @@ let UIVirtualScroll = UIVirtualScroll_1 = class UIVirtualScroll extends jodit_co
|
|
|
2929
2945
|
onSelectItems(bound) {
|
|
2930
2946
|
const selected = [];
|
|
2931
2947
|
this.elements.forEach((elm) => {
|
|
2932
|
-
const pos = (0,
|
|
2948
|
+
const pos = (0,jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_5__/* .position */ .F)(elm.container);
|
|
2933
2949
|
if (UIVirtualScroll_1.intersectRect(pos, bound)) {
|
|
2934
2950
|
selected.push(elm.item);
|
|
2935
2951
|
}
|