jodit-pro 4.19.13 → 4.20.2
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 +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +12 -12
- package/es2015/jodit.js +1586 -554
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +37 -37
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.css +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/chart/chart.css +1 -1
- package/es2015/plugins/chart/chart.js +1 -1
- package/es2015/plugins/chart/chart.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/math/math.css +1 -1
- package/es2015/plugins/math/math.js +1 -1
- package/es2015/plugins/math/math.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +1 -1
- package/es2015/plugins/templates/templates.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +12 -12
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +43 -43
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/chart/chart.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/math/math.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/templates/templates.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +2 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +17 -17
- package/es2021/jodit.js +1540 -554
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +58 -58
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/chart/chart.css +1 -1
- package/es2021/plugins/chart/chart.js +1 -1
- package/es2021/plugins/chart/chart.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/math/math.css +1 -1
- package/es2021/plugins/math/math.js +1 -1
- package/es2021/plugins/math/math.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +1 -1
- package/es2021/plugins/templates/templates.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +2 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +17 -17
- package/es2021.en/jodit.js +1540 -554
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +58 -58
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/chart/chart.css +1 -1
- package/es2021.en/plugins/chart/chart.js +1 -1
- package/es2021.en/plugins/chart/chart.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/math/math.css +1 -1
- package/es2021.en/plugins/math/math.js +1 -1
- package/es2021.en/plugins/math/math.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +1 -1
- package/es2021.en/plugins/templates/templates.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1945 -619
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.css +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/chart/chart.css +1 -1
- package/es5/plugins/chart/chart.js +1 -1
- package/es5/plugins/chart/chart.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/math/math.css +1 -1
- package/es5/plugins/math/math.js +1 -1
- package/es5/plugins/math/math.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +1 -1
- package/es5/plugins/templates/templates.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/package.json +1 -1
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.20.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2334,7 +2334,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
2334
2334
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2335
2335
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2336
2336
|
}
|
|
2337
|
-
var APP_VERSION = "4.
|
|
2337
|
+
var APP_VERSION = "4.20.2";
|
|
2338
2338
|
// prettier-ignore
|
|
2339
2339
|
var ES = "es5";
|
|
2340
2340
|
var IS_ES_MODERN = false;
|
|
@@ -8982,6 +8982,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8982
8982
|
/* harmony export */ fuzzySearchIndex: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.fuzzySearchIndex; },
|
|
8983
8983
|
/* harmony export */ get: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.get; },
|
|
8984
8984
|
/* harmony export */ getAlignClasses: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAlignClasses; },
|
|
8985
|
+
/* harmony export */ getAnchorName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAnchorName; },
|
|
8986
|
+
/* harmony export */ getAnchors: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAnchors; },
|
|
8985
8987
|
/* harmony export */ getCaptionWrapper: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getCaptionWrapper; },
|
|
8986
8988
|
/* harmony export */ getCaptionedImage: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getCaptionedImage; },
|
|
8987
8989
|
/* harmony export */ getClassName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getClassName; },
|
|
@@ -9006,6 +9008,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9006
9008
|
/* harmony export */ indexOfOpenTag: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.indexOfOpenTag; },
|
|
9007
9009
|
/* harmony export */ innerWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.innerWidth; },
|
|
9008
9010
|
/* harmony export */ isAbortError: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isAbortError; },
|
|
9011
|
+
/* harmony export */ isAnchor: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAnchor; },
|
|
9009
9012
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray; },
|
|
9010
9013
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAtom; },
|
|
9011
9014
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isBoolean; },
|
|
@@ -10344,6 +10347,42 @@ function alignElement(command, box) {
|
|
|
10344
10347
|
}
|
|
10345
10348
|
|
|
10346
10349
|
|
|
10350
|
+
/***/ }),
|
|
10351
|
+
|
|
10352
|
+
/***/ 70442:
|
|
10353
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10354
|
+
|
|
10355
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10356
|
+
/* harmony export */ getAnchorName: function() { return /* binding */ getAnchorName; },
|
|
10357
|
+
/* harmony export */ getAnchors: function() { return /* binding */ getAnchors; },
|
|
10358
|
+
/* harmony export */ isAnchor: function() { return /* binding */ isAnchor; }
|
|
10359
|
+
/* harmony export */ });
|
|
10360
|
+
/* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
10361
|
+
/* harmony import */ var _array_to_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4510);
|
|
10362
|
+
/*!
|
|
10363
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10364
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
10365
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
10366
|
+
*/
|
|
10367
|
+
|
|
10368
|
+
/**
|
|
10369
|
+
* The name a link reaches an anchor by: its `id`, or in older content its
|
|
10370
|
+
* `name`
|
|
10371
|
+
*/ function getAnchorName(anchor) {
|
|
10372
|
+
return anchor.id || anchor.getAttribute('name') || '';
|
|
10373
|
+
}
|
|
10374
|
+
/**
|
|
10375
|
+
* An anchor: an `<a>` with a name, no `href` and nothing in it
|
|
10376
|
+
*/ function isAnchor(node) {
|
|
10377
|
+
return _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(node, 'a') && !node.hasAttribute('href') && !node.hasChildNodes() && getAnchorName(node) !== '';
|
|
10378
|
+
}
|
|
10379
|
+
/**
|
|
10380
|
+
* The anchors in `root`, in the order they come
|
|
10381
|
+
*/ function getAnchors(root) {
|
|
10382
|
+
return (0,_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(root.querySelectorAll('a')).filter(isAnchor);
|
|
10383
|
+
}
|
|
10384
|
+
|
|
10385
|
+
|
|
10347
10386
|
/***/ }),
|
|
10348
10387
|
|
|
10349
10388
|
/***/ 63799:
|
|
@@ -11958,115 +11997,119 @@ var isPart = function isPart(node, part) {
|
|
|
11958
11997
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
11959
11998
|
|
|
11960
11999
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11961
|
-
/* harmony export */ $$: function() { return /* reexport safe */
|
|
11962
|
-
/* harmony export */ AnswerError: function() { return /* reexport safe */
|
|
11963
|
-
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */
|
|
11964
|
-
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */
|
|
11965
|
-
/* harmony export */ ConfigMerge: function() { return /* reexport safe */
|
|
11966
|
-
/* harmony export */ ConfigProto: function() { return /* reexport safe */
|
|
11967
|
-
/* harmony export */ ConnectionError: function() { return /* reexport safe */
|
|
11968
|
-
/* harmony export */ LimitedStack: function() { return /* reexport safe */
|
|
11969
|
-
/* harmony export */ OptionsError: function() { return /* reexport safe */
|
|
11970
|
-
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */
|
|
11971
|
-
/* harmony export */ abort: function() { return /* reexport safe */
|
|
12000
|
+
/* harmony export */ $$: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.$$; },
|
|
12001
|
+
/* harmony export */ AnswerError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.AnswerError; },
|
|
12002
|
+
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigDeepFlatten; },
|
|
12003
|
+
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigFlatten; },
|
|
12004
|
+
/* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigMerge; },
|
|
12005
|
+
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigProto; },
|
|
12006
|
+
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.ConnectionError; },
|
|
12007
|
+
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_30__.LimitedStack; },
|
|
12008
|
+
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.OptionsError; },
|
|
12009
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__.UNSAFE_PROTO_KEYS; },
|
|
12010
|
+
/* harmony export */ abort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.abort; },
|
|
11972
12011
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
|
|
11973
|
-
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */
|
|
11974
|
-
/* harmony export */ answer: function() { return /* reexport safe */
|
|
11975
|
-
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */
|
|
11976
|
-
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */
|
|
11977
|
-
/* harmony export */ assert: function() { return /* reexport safe */
|
|
11978
|
-
/* harmony export */ attr: function() { return /* reexport safe */
|
|
11979
|
-
/* harmony export */ attrRaw: function() { return /* reexport safe */
|
|
11980
|
-
/* harmony export */ browser: function() { return /* reexport safe */
|
|
11981
|
-
/* harmony export */ buildQuery: function() { return /* reexport safe */
|
|
11982
|
-
/* harmony export */ call: function() { return /* reexport safe */
|
|
11983
|
-
/* harmony export */ callPromise: function() { return /* reexport safe */
|
|
11984
|
-
/* harmony export */ callThis: function() { return /* reexport safe */
|
|
12012
|
+
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.alreadyLoadedList; },
|
|
12013
|
+
/* harmony export */ answer: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.answer; },
|
|
12014
|
+
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.appendScriptAsync; },
|
|
12015
|
+
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.appendStyleAsync; },
|
|
12016
|
+
/* harmony export */ assert: function() { return /* reexport safe */ _assert_js__WEBPACK_IMPORTED_MODULE_3__.assert; },
|
|
12017
|
+
/* harmony export */ attr: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_4__.attr; },
|
|
12018
|
+
/* harmony export */ attrRaw: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_4__.attrRaw; },
|
|
12019
|
+
/* harmony export */ browser: function() { return /* reexport safe */ _browser_js__WEBPACK_IMPORTED_MODULE_5__.browser; },
|
|
12020
|
+
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_6__.buildQuery; },
|
|
12021
|
+
/* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.call; },
|
|
12022
|
+
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.callPromise; },
|
|
12023
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.callThis; },
|
|
11985
12024
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
11986
|
-
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */
|
|
12025
|
+
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.clearCenterAlign; },
|
|
11987
12026
|
/* harmony export */ clearHAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearHAlign; },
|
|
11988
|
-
/* harmony export */ cns: function() { return /* reexport safe */
|
|
11989
|
-
/* harmony export */ completeUrl: function() { return /* reexport safe */
|
|
11990
|
-
/* harmony export */ connection: function() { return /* reexport safe */
|
|
11991
|
-
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */
|
|
11992
|
-
/* harmony export */ createMediaWrapper: function() { return /* reexport safe */
|
|
11993
|
-
/* harmony export */ css: function() { return /* reexport safe */
|
|
11994
|
-
/* harmony export */ cssInline: function() { return /* reexport safe */
|
|
11995
|
-
/* harmony export */ cssPath: function() { return /* reexport safe */
|
|
11996
|
-
/* harmony export */ ctrlKey: function() { return /* reexport safe */
|
|
11997
|
-
/* harmony export */ dataBind: function() { return /* reexport safe */
|
|
11998
|
-
/* harmony export */ defaultLanguage: function() { return /* reexport safe */
|
|
11999
|
-
/* harmony export */ error: function() { return /* reexport safe */
|
|
12000
|
-
/* harmony export */ fastClone: function() { return /* reexport safe */
|
|
12001
|
-
/* harmony export */ get: function() { return /* reexport safe */
|
|
12027
|
+
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__.cns; },
|
|
12028
|
+
/* harmony export */ completeUrl: function() { return /* reexport safe */ _complete_url_js__WEBPACK_IMPORTED_MODULE_7__.completeUrl; },
|
|
12029
|
+
/* harmony export */ connection: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.connection; },
|
|
12030
|
+
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */ _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_9__.convertMediaUrlToVideoEmbed; },
|
|
12031
|
+
/* harmony export */ createMediaWrapper: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.createMediaWrapper; },
|
|
12032
|
+
/* harmony export */ css: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.css; },
|
|
12033
|
+
/* harmony export */ cssInline: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.cssInline; },
|
|
12034
|
+
/* harmony export */ cssPath: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.cssPath; },
|
|
12035
|
+
/* harmony export */ ctrlKey: function() { return /* reexport safe */ _ctrl_key_js__WEBPACK_IMPORTED_MODULE_11__.ctrlKey; },
|
|
12036
|
+
/* harmony export */ dataBind: function() { return /* reexport safe */ _data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind; },
|
|
12037
|
+
/* harmony export */ defaultLanguage: function() { return /* reexport safe */ _default_language_js__WEBPACK_IMPORTED_MODULE_13__.defaultLanguage; },
|
|
12038
|
+
/* harmony export */ error: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.error; },
|
|
12039
|
+
/* harmony export */ fastClone: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.fastClone; },
|
|
12040
|
+
/* harmony export */ get: function() { return /* reexport safe */ _get_js__WEBPACK_IMPORTED_MODULE_16__.get; },
|
|
12002
12041
|
/* harmony export */ getAlignClasses: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.getAlignClasses; },
|
|
12003
|
-
/* harmony export */
|
|
12004
|
-
/* harmony export */
|
|
12005
|
-
/* harmony export */
|
|
12006
|
-
/* harmony export */
|
|
12042
|
+
/* harmony export */ getAnchorName: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.getAnchorName; },
|
|
12043
|
+
/* harmony export */ getAnchors: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.getAnchors; },
|
|
12044
|
+
/* harmony export */ getCaptionWrapper: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getCaptionWrapper; },
|
|
12045
|
+
/* harmony export */ getCaptionedImage: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getCaptionedImage; },
|
|
12046
|
+
/* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__.getClassName; },
|
|
12047
|
+
/* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.getDataTransfer; },
|
|
12007
12048
|
/* harmony export */ getHAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.getHAlign; },
|
|
12008
|
-
/* harmony export */ getImageCaption: function() { return /* reexport safe */
|
|
12009
|
-
/* harmony export */ getMediaWrapper: function() { return /* reexport safe */
|
|
12010
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */
|
|
12011
|
-
/* harmony export */ getWrappedMedia: function() { return /* reexport safe */
|
|
12012
|
-
/* harmony export */ getXPathByElement: function() { return /* reexport safe */
|
|
12049
|
+
/* harmony export */ getImageCaption: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getImageCaption; },
|
|
12050
|
+
/* harmony export */ getMediaWrapper: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.getMediaWrapper; },
|
|
12051
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.getPropertyDescriptor; },
|
|
12052
|
+
/* harmony export */ getWrappedMedia: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.getWrappedMedia; },
|
|
12053
|
+
/* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.getXPathByElement; },
|
|
12013
12054
|
/* harmony export */ hAlignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
|
|
12014
|
-
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */
|
|
12015
|
-
/* harmony export */ inView: function() { return /* reexport safe */
|
|
12016
|
-
/* harmony export */
|
|
12017
|
-
/* harmony export */
|
|
12018
|
-
/* harmony export */
|
|
12019
|
-
/* harmony export */
|
|
12020
|
-
/* harmony export */
|
|
12021
|
-
/* harmony export */
|
|
12022
|
-
/* harmony export */
|
|
12023
|
-
/* harmony export */
|
|
12024
|
-
/* harmony export */
|
|
12025
|
-
/* harmony export */
|
|
12026
|
-
/* harmony export */
|
|
12027
|
-
/* harmony export */
|
|
12028
|
-
/* harmony export */
|
|
12029
|
-
/* harmony export */
|
|
12030
|
-
/* harmony export */
|
|
12031
|
-
/* harmony export */
|
|
12032
|
-
/* harmony export */
|
|
12033
|
-
/* harmony export */
|
|
12034
|
-
/* harmony export */
|
|
12035
|
-
/* harmony export */
|
|
12036
|
-
/* harmony export */
|
|
12037
|
-
/* harmony export */
|
|
12055
|
+
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_18__.humanSizeToBytes; },
|
|
12056
|
+
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__.inView; },
|
|
12057
|
+
/* harmony export */ isAnchor: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.isAnchor; },
|
|
12058
|
+
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.isAtom; },
|
|
12059
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__.isUnsafeProtoKey; },
|
|
12060
|
+
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__.keepNames; },
|
|
12061
|
+
/* harmony export */ keys: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.keys; },
|
|
12062
|
+
/* harmony export */ loadImage: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.loadImage; },
|
|
12063
|
+
/* harmony export */ loadNext: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.loadNext; },
|
|
12064
|
+
/* harmony export */ loadNextStyle: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.loadNextStyle; },
|
|
12065
|
+
/* harmony export */ markAsAtomic: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.markAsAtomic; },
|
|
12066
|
+
/* harmony export */ markDeprecated: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__.markDeprecated; },
|
|
12067
|
+
/* harmony export */ markOwner: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.markOwner; },
|
|
12068
|
+
/* harmony export */ memorizeExec: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.memorizeExec; },
|
|
12069
|
+
/* harmony export */ options: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.options; },
|
|
12070
|
+
/* harmony export */ parseQuery: function() { return /* reexport safe */ _parse_query_js__WEBPACK_IMPORTED_MODULE_23__.parseQuery; },
|
|
12071
|
+
/* harmony export */ prepareEmbedCode: function() { return /* reexport safe */ _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__.prepareEmbedCode; },
|
|
12072
|
+
/* harmony export */ prepareMedia: function() { return /* reexport safe */ _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__.prepareMedia; },
|
|
12073
|
+
/* harmony export */ previewBox: function() { return /* reexport safe */ _print_js__WEBPACK_IMPORTED_MODULE_25__.previewBox; },
|
|
12074
|
+
/* harmony export */ refs: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.refs; },
|
|
12075
|
+
/* harmony export */ reset: function() { return /* reexport safe */ _reset_js__WEBPACK_IMPORTED_MODULE_26__.reset; },
|
|
12076
|
+
/* harmony export */ resolveElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.resolveElement; },
|
|
12077
|
+
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__.scrollIntoViewIfNeeded; },
|
|
12078
|
+
/* harmony export */ set: function() { return /* reexport safe */ _set_js__WEBPACK_IMPORTED_MODULE_29__.set; },
|
|
12079
|
+
/* harmony export */ wrapMedia: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.wrapMedia; }
|
|
12038
12080
|
/* harmony export */ });
|
|
12039
12081
|
/* harmony import */ var _align_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25726);
|
|
12040
|
-
/* harmony import */ var
|
|
12041
|
-
/* harmony import */ var
|
|
12042
|
-
/* harmony import */ var
|
|
12043
|
-
/* harmony import */ var
|
|
12044
|
-
/* harmony import */ var
|
|
12045
|
-
/* harmony import */ var
|
|
12046
|
-
/* harmony import */ var
|
|
12047
|
-
/* harmony import */ var
|
|
12048
|
-
/* harmony import */ var
|
|
12049
|
-
/* harmony import */ var
|
|
12050
|
-
/* harmony import */ var
|
|
12051
|
-
/* harmony import */ var
|
|
12052
|
-
/* harmony import */ var
|
|
12053
|
-
/* harmony import */ var
|
|
12054
|
-
/* harmony import */ var
|
|
12055
|
-
/* harmony import */ var
|
|
12056
|
-
/* harmony import */ var
|
|
12057
|
-
/* harmony import */ var
|
|
12058
|
-
/* harmony import */ var
|
|
12059
|
-
/* harmony import */ var
|
|
12060
|
-
/* harmony import */ var
|
|
12061
|
-
/* harmony import */ var
|
|
12062
|
-
/* harmony import */ var
|
|
12063
|
-
/* harmony import */ var
|
|
12064
|
-
/* harmony import */ var
|
|
12065
|
-
/* harmony import */ var
|
|
12066
|
-
/* harmony import */ var
|
|
12067
|
-
/* harmony import */ var
|
|
12068
|
-
/* harmony import */ var
|
|
12069
|
-
/* harmony import */ var
|
|
12082
|
+
/* harmony import */ var _anchor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70442);
|
|
12083
|
+
/* harmony import */ var _append_script_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(63799);
|
|
12084
|
+
/* harmony import */ var _assert_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38837);
|
|
12085
|
+
/* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29960);
|
|
12086
|
+
/* harmony import */ var _browser_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97639);
|
|
12087
|
+
/* harmony import */ var _build_query_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(44710);
|
|
12088
|
+
/* harmony import */ var _complete_url_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(66292);
|
|
12089
|
+
/* harmony import */ var _config_proto_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68934);
|
|
12090
|
+
/* harmony import */ var _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55877);
|
|
12091
|
+
/* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(41180);
|
|
12092
|
+
/* harmony import */ var _ctrl_key_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(15456);
|
|
12093
|
+
/* harmony import */ var _data_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(86583);
|
|
12094
|
+
/* harmony import */ var _default_language_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(96325);
|
|
12095
|
+
/* harmony import */ var _error_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(89890);
|
|
12096
|
+
/* harmony import */ var _extend_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(97735);
|
|
12097
|
+
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(94643);
|
|
12098
|
+
/* harmony import */ var _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(80568);
|
|
12099
|
+
/* harmony import */ var _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(38420);
|
|
12100
|
+
/* harmony import */ var _image_caption_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(68645);
|
|
12101
|
+
/* harmony import */ var _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(69175);
|
|
12102
|
+
/* harmony import */ var _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(95942);
|
|
12103
|
+
/* harmony import */ var _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(61477);
|
|
12104
|
+
/* harmony import */ var _parse_query_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(82501);
|
|
12105
|
+
/* harmony import */ var _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(96437);
|
|
12106
|
+
/* harmony import */ var _print_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(11628);
|
|
12107
|
+
/* harmony import */ var _reset_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(58844);
|
|
12108
|
+
/* harmony import */ var _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(26395);
|
|
12109
|
+
/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(76078);
|
|
12110
|
+
/* harmony import */ var _set_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(3703);
|
|
12111
|
+
/* harmony import */ var _stack_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(50535);
|
|
12112
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(37790);
|
|
12070
12113
|
/*!
|
|
12071
12114
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
12072
12115
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -12104,6 +12147,7 @@ var isPart = function isPart(node, part) {
|
|
|
12104
12147
|
|
|
12105
12148
|
|
|
12106
12149
|
|
|
12150
|
+
|
|
12107
12151
|
|
|
12108
12152
|
|
|
12109
12153
|
/***/ }),
|
|
@@ -23495,6 +23539,8 @@ var UIInput = UIInput_1 = /*#__PURE__*/ function(UIElement) {
|
|
|
23495
23539
|
if (label) {
|
|
23496
23540
|
_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.before(this.wrapper, this.label);
|
|
23497
23541
|
this.label.innerText = this.j.i18n(label);
|
|
23542
|
+
// The label is a span, so it names the input only this way
|
|
23543
|
+
(0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(input, 'aria-label', this.j.i18n(label));
|
|
23498
23544
|
} else {
|
|
23499
23545
|
_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(this.label);
|
|
23500
23546
|
}
|
|
@@ -25616,6 +25662,10 @@ var Popup = Popup_1 = /*#__PURE__*/ function(UIGroup) {
|
|
|
25616
25662
|
_this.smart = smart;
|
|
25617
25663
|
_this.isOpened = false;
|
|
25618
25664
|
_this.strategy = 'leftBottom';
|
|
25665
|
+
/**
|
|
25666
|
+
* The popup stays open after one of its buttons runs: the button closes
|
|
25667
|
+
* only the lists it opened. See #1741
|
|
25668
|
+
*/ _this.keepOpen = false;
|
|
25619
25669
|
_this.viewBound = function() {
|
|
25620
25670
|
return {
|
|
25621
25671
|
left: 0,
|
|
@@ -27159,6 +27209,7 @@ var CommitMode = function CommitMode() {
|
|
|
27159
27209
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(70231);
|
|
27160
27210
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6441);
|
|
27161
27211
|
/* harmony import */ var _modules_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41409);
|
|
27212
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2073);
|
|
27162
27213
|
function _array_like_to_array(arr, len) {
|
|
27163
27214
|
if (len == null || len > arr.length) len = arr.length;
|
|
27164
27215
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -27327,6 +27378,7 @@ var Jodit_1;
|
|
|
27327
27378
|
|
|
27328
27379
|
|
|
27329
27380
|
|
|
27381
|
+
|
|
27330
27382
|
var FOCUS_EVENTS = new Set([
|
|
27331
27383
|
'focus',
|
|
27332
27384
|
'blur',
|
|
@@ -27665,17 +27717,16 @@ var Jodit = Jodit_1 = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
27665
27717
|
theme: jodit.o.theme,
|
|
27666
27718
|
shadowRoot: jodit.o.shadowRoot,
|
|
27667
27719
|
defaultCallback: function defaultCallback(data) {
|
|
27668
|
-
|
|
27669
|
-
|
|
27670
|
-
|
|
27671
|
-
|
|
27672
|
-
|
|
27673
|
-
|
|
27674
|
-
|
|
27675
|
-
|
|
27676
|
-
|
|
27677
|
-
|
|
27678
|
-
}
|
|
27720
|
+
var baseurl = data.baseurl;
|
|
27721
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__.getItems)(data).forEach(function(param) {
|
|
27722
|
+
var file = param.file, isImage = param.isImage;
|
|
27723
|
+
var url = baseurl + file;
|
|
27724
|
+
if (isImage) {
|
|
27725
|
+
jodit.s.insertImage(url, null, jodit.o.imageDefaultWidth);
|
|
27726
|
+
} else {
|
|
27727
|
+
jodit.s.insertNode(jodit.createInside.fromHTML("<a href='".concat(url, "' title='").concat(url, "'>").concat(url, "</a>")));
|
|
27728
|
+
}
|
|
27729
|
+
});
|
|
27679
27730
|
}
|
|
27680
27731
|
}, this.o.filebrowser);
|
|
27681
27732
|
return jodit.getInstance('FileBrowser', options);
|
|
@@ -28953,6 +29004,11 @@ function addClassNames(className, elm) {
|
|
|
28953
29004
|
'Insert file': 'ادخال الملف',
|
|
28954
29005
|
'Insert youtube/vimeo video': 'إدراج فيديو يوتيوب/فيميو ',
|
|
28955
29006
|
'Insert link': 'إدراج رابط',
|
|
29007
|
+
'Insert anchor': 'إدراج مرساة',
|
|
29008
|
+
'Link to an anchor': 'ربط بمرساة',
|
|
29009
|
+
'On this page': 'في هذه الصفحة',
|
|
29010
|
+
'The name cannot contain spaces': 'لا يمكن أن يحتوي الاسم على مسافات',
|
|
29011
|
+
'This name is already in use': 'هذا الاسم مستخدم بالفعل',
|
|
28956
29012
|
'Font size': 'حجم الخط',
|
|
28957
29013
|
'Font family': 'نوع الخط',
|
|
28958
29014
|
'Insert format block': 'إدراج كتلة تنسيق',
|
|
@@ -29195,6 +29251,11 @@ function addClassNames(className, elm) {
|
|
|
29195
29251
|
'Insert file': 'Fayl əlavə et',
|
|
29196
29252
|
'Insert youtube/vimeo video': 'Youtube/vimeo video əlavə et',
|
|
29197
29253
|
'Insert link': 'Keçid əlavə et',
|
|
29254
|
+
'Insert anchor': 'Lövbər əlavə et',
|
|
29255
|
+
'Link to an anchor': 'Lövbərə keçid',
|
|
29256
|
+
'On this page': 'Bu səhifədə',
|
|
29257
|
+
'The name cannot contain spaces': 'Adda boşluq ola bilməz',
|
|
29258
|
+
'This name is already in use': 'Bu ad artıq istifadə olunur',
|
|
29198
29259
|
'Font size': 'Şrift ölçüsü',
|
|
29199
29260
|
'Font family': 'Şrift ailəsi',
|
|
29200
29261
|
'Line height': 'Sətir hündürlüyü',
|
|
@@ -29422,7 +29483,7 @@ function addClassNames(className, elm) {
|
|
|
29422
29483
|
'For information about the license, please go to our website:': 'Pro informace o licenci, prosím, přejděte na naši stránku:',
|
|
29423
29484
|
'Buy full version': 'Koupit plnou verzi',
|
|
29424
29485
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.',
|
|
29425
|
-
Anchor: '
|
|
29486
|
+
Anchor: 'Kotva',
|
|
29426
29487
|
'Open in new tab': 'Otevřít v nové záložce',
|
|
29427
29488
|
'Open in fullsize': 'Otevřít v celoobrazovkovém režimu',
|
|
29428
29489
|
'Clear Formatting': 'Vyčistit formátování',
|
|
@@ -29442,6 +29503,11 @@ function addClassNames(className, elm) {
|
|
|
29442
29503
|
'Insert file': 'Vložit soubor',
|
|
29443
29504
|
'Insert youtube/vimeo video': 'Vložit video (YT/Vimeo)',
|
|
29444
29505
|
'Insert link': 'Vložit odkaz',
|
|
29506
|
+
'Insert anchor': 'Vložit kotvu',
|
|
29507
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
29508
|
+
'On this page': 'Na této stránce',
|
|
29509
|
+
'The name cannot contain spaces': 'Název nesmí obsahovat mezery',
|
|
29510
|
+
'This name is already in use': 'Tento název se již používá',
|
|
29445
29511
|
'Font size': 'Velikost písma',
|
|
29446
29512
|
'Font family': 'Typ písma',
|
|
29447
29513
|
'Insert format block': 'Formátovat blok',
|
|
@@ -29681,6 +29747,11 @@ function addClassNames(className, elm) {
|
|
|
29681
29747
|
'Insert file': 'Datei einfügen',
|
|
29682
29748
|
'Insert youtube/vimeo video': 'Youtube/vimeo Video einfügen',
|
|
29683
29749
|
'Insert link': 'Link einfügen',
|
|
29750
|
+
'Insert anchor': 'Anker einfügen',
|
|
29751
|
+
'Link to an anchor': 'Mit einem Anker verlinken',
|
|
29752
|
+
'On this page': 'Auf dieser Seite',
|
|
29753
|
+
'The name cannot contain spaces': 'Der Name darf keine Leerzeichen enthalten',
|
|
29754
|
+
'This name is already in use': 'Dieser Name wird bereits verwendet',
|
|
29684
29755
|
'Font size': 'Schriftgröße',
|
|
29685
29756
|
'Font family': 'Schriftfamilie',
|
|
29686
29757
|
'Insert format block': 'Formatblock einfügen',
|
|
@@ -29921,7 +29992,7 @@ function addClassNames(className, elm) {
|
|
|
29921
29992
|
'For information about the license, please go to our website:': 'Para información sobre la licencia, por favor visite nuestro sitio:',
|
|
29922
29993
|
'Buy full version': 'Compre la versión completa',
|
|
29923
29994
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.',
|
|
29924
|
-
Anchor: '
|
|
29995
|
+
Anchor: 'Ancla',
|
|
29925
29996
|
'Open in new tab': 'Abrir en nueva pestaña',
|
|
29926
29997
|
'Open in fullsize': 'Abrir editor en pantalla completa',
|
|
29927
29998
|
'Clear Formatting': 'Limpiar formato',
|
|
@@ -29941,6 +30012,11 @@ function addClassNames(className, elm) {
|
|
|
29941
30012
|
'Insert file': 'Insertar archivo',
|
|
29942
30013
|
'Insert youtube/vimeo video': 'Insertar video de Youtube/vimeo',
|
|
29943
30014
|
'Insert link': 'Insertar vínculo',
|
|
30015
|
+
'Insert anchor': 'Insertar ancla',
|
|
30016
|
+
'Link to an anchor': 'Enlazar a un ancla',
|
|
30017
|
+
'On this page': 'En esta página',
|
|
30018
|
+
'The name cannot contain spaces': 'El nombre no puede contener espacios',
|
|
30019
|
+
'This name is already in use': 'Este nombre ya está en uso',
|
|
29944
30020
|
'Font size': 'Tamaño de letra',
|
|
29945
30021
|
'Font family': 'Familia de letra',
|
|
29946
30022
|
'Insert format block': 'Insertar bloque',
|
|
@@ -30164,7 +30240,7 @@ function addClassNames(className, elm) {
|
|
|
30164
30240
|
'For information about the license, please go to our website:': 'برای کسب اطلاعات در رابطه با لایسنس لطفا به وب سایت مراجعه کنید:',
|
|
30165
30241
|
'Buy full version': 'خرید نسخه کامل',
|
|
30166
30242
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.',
|
|
30167
|
-
Anchor: '
|
|
30243
|
+
Anchor: 'لنگر',
|
|
30168
30244
|
'Open in new tab': 'بازکردن در تب جدید',
|
|
30169
30245
|
'Open in fullsize': 'تمام صفحه کردن ویرایشگر',
|
|
30170
30246
|
'Clear Formatting': 'پاک کردن قالب ها',
|
|
@@ -30184,6 +30260,11 @@ function addClassNames(className, elm) {
|
|
|
30184
30260
|
'Insert file': 'افزودن فایل',
|
|
30185
30261
|
'Insert youtube/vimeo video': 'افزودن ویدیو از یوتیوب و وایمو',
|
|
30186
30262
|
'Insert link': 'افزودن لینک',
|
|
30263
|
+
'Insert anchor': 'افزودن لنگر',
|
|
30264
|
+
'Link to an anchor': 'پیوند به لنگر',
|
|
30265
|
+
'On this page': 'در این صفحه',
|
|
30266
|
+
'The name cannot contain spaces': 'نام نمیتواند فاصله داشته باشد',
|
|
30267
|
+
'This name is already in use': 'این نام قبلاً استفاده شده است',
|
|
30187
30268
|
'Font size': 'اندازه فونت',
|
|
30188
30269
|
'Font family': 'فونت',
|
|
30189
30270
|
'Insert format block': 'افزودن بلاک',
|
|
@@ -30422,6 +30503,11 @@ function addClassNames(className, elm) {
|
|
|
30422
30503
|
'Insert file': 'Lisää tiedosto',
|
|
30423
30504
|
'Insert youtube/vimeo video': 'Lisää Youtube-/vimeo- video',
|
|
30424
30505
|
'Insert link': 'Lisää linkki',
|
|
30506
|
+
'Insert anchor': 'Lisää ankkuri',
|
|
30507
|
+
'Link to an anchor': 'Linkitä ankkuriin',
|
|
30508
|
+
'On this page': 'Tällä sivulla',
|
|
30509
|
+
'The name cannot contain spaces': 'Nimessä ei voi olla välilyöntejä',
|
|
30510
|
+
'This name is already in use': 'Tämä nimi on jo käytössä',
|
|
30425
30511
|
'Font size': 'Kirjasimen koko',
|
|
30426
30512
|
'Font family': 'Kirjasimen nimi',
|
|
30427
30513
|
'Insert format block': 'Lisää muotoilualue',
|
|
@@ -30665,6 +30751,11 @@ function addClassNames(className, elm) {
|
|
|
30665
30751
|
'Insert file': 'Insérer un fichier',
|
|
30666
30752
|
'Insert youtube/vimeo video': 'Insérer une vidéo',
|
|
30667
30753
|
'Insert link': 'Insérer un lien',
|
|
30754
|
+
'Insert anchor': 'Insérer une ancre',
|
|
30755
|
+
'Link to an anchor': 'Lier à une ancre',
|
|
30756
|
+
'On this page': 'Sur cette page',
|
|
30757
|
+
'The name cannot contain spaces': "Le nom ne peut pas contenir d'espaces",
|
|
30758
|
+
'This name is already in use': 'Ce nom est déjà utilisé',
|
|
30668
30759
|
'Font size': 'Taille des caractères',
|
|
30669
30760
|
'Font family': 'Famille des caractères',
|
|
30670
30761
|
'Insert format block': 'Bloc formatté',
|
|
@@ -30884,7 +30975,7 @@ function addClassNames(className, elm) {
|
|
|
30884
30975
|
'For information about the license, please go to our website:': 'For information about the license, please go to our website:',
|
|
30885
30976
|
'Buy full version': 'Buy full version',
|
|
30886
30977
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
30887
|
-
Anchor: '
|
|
30978
|
+
Anchor: 'עוגן',
|
|
30888
30979
|
'Open in new tab': 'פתח בכרטיסיה חדשה',
|
|
30889
30980
|
'Open in fullsize': 'פתח את העורך בחלון חדש',
|
|
30890
30981
|
'Clear Formatting': 'נקה עיצוב',
|
|
@@ -30904,6 +30995,11 @@ function addClassNames(className, elm) {
|
|
|
30904
30995
|
'Insert file': 'הכנס קובץ',
|
|
30905
30996
|
'Insert youtube/vimeo video': 'הכנס סרטון וידאו מYouTube/Vimeo',
|
|
30906
30997
|
'Insert link': 'הכנס קישור',
|
|
30998
|
+
'Insert anchor': 'הכנס עוגן',
|
|
30999
|
+
'Link to an anchor': 'קישור לעוגן',
|
|
31000
|
+
'On this page': 'בדף זה',
|
|
31001
|
+
'The name cannot contain spaces': 'השם לא יכול להכיל רווחים',
|
|
31002
|
+
'This name is already in use': 'השם הזה כבר בשימוש',
|
|
30907
31003
|
'Font size': 'גודל גופן',
|
|
30908
31004
|
'Font family': 'גופן',
|
|
30909
31005
|
'Insert format block': 'מעוצב מראש',
|
|
@@ -31143,6 +31239,11 @@ function addClassNames(className, elm) {
|
|
|
31143
31239
|
'Insert file': 'Fájl beszúrás',
|
|
31144
31240
|
'Insert youtube/vimeo video': 'Youtube videó beszúrása',
|
|
31145
31241
|
'Insert link': 'Link beszúrás',
|
|
31242
|
+
'Insert anchor': 'Horgony beszúrás',
|
|
31243
|
+
'Link to an anchor': 'Hivatkozás horgonyra',
|
|
31244
|
+
'On this page': 'Ezen az oldalon',
|
|
31245
|
+
'The name cannot contain spaces': 'A név nem tartalmazhat szóközt',
|
|
31246
|
+
'This name is already in use': 'Ez a név már foglalt',
|
|
31146
31247
|
'Font size': 'Betűméret',
|
|
31147
31248
|
'Font family': 'Betűtípus',
|
|
31148
31249
|
'Insert format block': 'Formázott blokk beszúrása',
|
|
@@ -31362,7 +31463,7 @@ function addClassNames(className, elm) {
|
|
|
31362
31463
|
'For information about the license, please go to our website:': 'Untuk informasi tentang lisensi, silakan kunjungi website:',
|
|
31363
31464
|
'Buy full version': 'Beli versi lengkap',
|
|
31364
31465
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.',
|
|
31365
|
-
Anchor: '
|
|
31466
|
+
Anchor: 'Jangkar',
|
|
31366
31467
|
'Open in new tab': 'Buka di tab baru',
|
|
31367
31468
|
'Open in fullsize': 'Buka editor dalam ukuran penuh',
|
|
31368
31469
|
'Clear Formatting': 'Hapus Pemformatan',
|
|
@@ -31382,6 +31483,11 @@ function addClassNames(className, elm) {
|
|
|
31382
31483
|
'Insert file': 'Sisipkan Berkas',
|
|
31383
31484
|
'Insert youtube/vimeo video': 'Sisipkan video youtube/vimeo',
|
|
31384
31485
|
'Insert link': 'Sisipkan tautan',
|
|
31486
|
+
'Insert anchor': 'Sisipkan jangkar',
|
|
31487
|
+
'Link to an anchor': 'Tautkan ke jangkar',
|
|
31488
|
+
'On this page': 'Di halaman ini',
|
|
31489
|
+
'The name cannot contain spaces': 'Nama tidak boleh mengandung spasi',
|
|
31490
|
+
'This name is already in use': 'Nama ini sudah digunakan',
|
|
31385
31491
|
'Font size': 'Ukuran font',
|
|
31386
31492
|
'Font family': 'Keluarga font',
|
|
31387
31493
|
'Insert format block': 'Sisipkan blok format',
|
|
@@ -31601,7 +31707,7 @@ function addClassNames(className, elm) {
|
|
|
31601
31707
|
'For information about the license, please go to our website:': 'Per informazioni sulla licenza, si prega di visitare il nostro sito web:',
|
|
31602
31708
|
'Buy full version': 'Acquista la versione completa',
|
|
31603
31709
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.',
|
|
31604
|
-
Anchor: '
|
|
31710
|
+
Anchor: 'Ancora',
|
|
31605
31711
|
'Open in new tab': 'Apri in una nuova scheda',
|
|
31606
31712
|
'Open in fullsize': "Apri l'editor a schermo intero",
|
|
31607
31713
|
'Clear Formatting': 'Pulisci Formattazione',
|
|
@@ -31621,6 +31727,11 @@ function addClassNames(className, elm) {
|
|
|
31621
31727
|
'Insert file': 'Inserisci un file',
|
|
31622
31728
|
'Insert youtube/vimeo video': 'Inserisci video Youtube/Vimeo',
|
|
31623
31729
|
'Insert link': 'Inserisci link',
|
|
31730
|
+
'Insert anchor': 'Inserisci ancora',
|
|
31731
|
+
'Link to an anchor': "Collega a un'ancora",
|
|
31732
|
+
'On this page': 'In questa pagina',
|
|
31733
|
+
'The name cannot contain spaces': 'Il nome non può contenere spazi',
|
|
31734
|
+
'This name is already in use': 'Questo nome è già in uso',
|
|
31624
31735
|
'Font size': 'Dimensione carattere',
|
|
31625
31736
|
'Font family': 'Tipo di font',
|
|
31626
31737
|
'Insert format block': 'Inserisci blocco',
|
|
@@ -31844,7 +31955,7 @@ function addClassNames(className, elm) {
|
|
|
31844
31955
|
'For information about the license, please go to our website:': 'ライセンス詳細についてはJodit Webサイトを確認ください:',
|
|
31845
31956
|
'Buy full version': 'フルバージョンを購入',
|
|
31846
31957
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
31847
|
-
Anchor: '
|
|
31958
|
+
Anchor: 'アンカー',
|
|
31848
31959
|
'Open in new tab': '新しいタブで開く',
|
|
31849
31960
|
'Open in fullsize': 'エディターのサイズ(フル/ノーマル)',
|
|
31850
31961
|
'Clear Formatting': '書式をクリア',
|
|
@@ -31864,6 +31975,11 @@ function addClassNames(className, elm) {
|
|
|
31864
31975
|
'Insert file': 'ファイルを挿入',
|
|
31865
31976
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 動画',
|
|
31866
31977
|
'Insert link': 'リンクを挿入',
|
|
31978
|
+
'Insert anchor': 'アンカーを挿入',
|
|
31979
|
+
'Link to an anchor': 'アンカーにリンク',
|
|
31980
|
+
'On this page': 'このページ内',
|
|
31981
|
+
'The name cannot contain spaces': '名前にスペースは使えません',
|
|
31982
|
+
'This name is already in use': 'この名前はすでに使われています',
|
|
31867
31983
|
'Font size': 'フォントサイズ',
|
|
31868
31984
|
'Font family': 'フォント',
|
|
31869
31985
|
'Insert format block': 'テキストのスタイル',
|
|
@@ -32098,7 +32214,7 @@ function addClassNames(className, elm) {
|
|
|
32098
32214
|
'For information about the license, please go to our website:': '라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:',
|
|
32099
32215
|
'Buy full version': '풀 버전 구입하기',
|
|
32100
32216
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': '© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.',
|
|
32101
|
-
Anchor: '
|
|
32217
|
+
Anchor: '앵커',
|
|
32102
32218
|
'Open in new tab': '새 탭에서 열기',
|
|
32103
32219
|
'Open in fullsize': '전체 크기로 보기',
|
|
32104
32220
|
'Clear Formatting': '서식 지우기',
|
|
@@ -32118,6 +32234,11 @@ function addClassNames(className, elm) {
|
|
|
32118
32234
|
'Insert file': '파일 넣기',
|
|
32119
32235
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 동영상',
|
|
32120
32236
|
'Insert link': '링크 넣기',
|
|
32237
|
+
'Insert anchor': '앵커 넣기',
|
|
32238
|
+
'Link to an anchor': '앵커에 연결',
|
|
32239
|
+
'On this page': '이 페이지에서',
|
|
32240
|
+
'The name cannot contain spaces': '이름에 공백을 넣을 수 없습니다',
|
|
32241
|
+
'This name is already in use': '이미 사용 중인 이름입니다',
|
|
32121
32242
|
'Font size': '글꼴 크기',
|
|
32122
32243
|
'Font family': '글꼴',
|
|
32123
32244
|
'Insert format block': '블록 요소 넣기',
|
|
@@ -32336,7 +32457,7 @@ function addClassNames(className, elm) {
|
|
|
32336
32457
|
'For information about the license, please go to our website:': 'Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:',
|
|
32337
32458
|
'Buy full version': 'Бүрэн хувилбар худалдан авах',
|
|
32338
32459
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.',
|
|
32339
|
-
Anchor: '
|
|
32460
|
+
Anchor: 'Зангуу',
|
|
32340
32461
|
'Open in new tab': 'Шинэ табаар нээх',
|
|
32341
32462
|
'Open in fullsize': 'Бүтэн дэлгэцээр нээх',
|
|
32342
32463
|
'Clear Formatting': 'Форматыг арилгах',
|
|
@@ -32356,6 +32477,11 @@ function addClassNames(className, elm) {
|
|
|
32356
32477
|
'Insert file': 'Файл нэмэх',
|
|
32357
32478
|
'Insert youtube/vimeo video': 'Youtube/Vimeo видео нэмэх',
|
|
32358
32479
|
'Insert link': 'Холбоос нэмэх',
|
|
32480
|
+
'Insert anchor': 'Зангуу нэмэх',
|
|
32481
|
+
'Link to an anchor': 'Зангуу руу холбох',
|
|
32482
|
+
'On this page': 'Энэ хуудсанд',
|
|
32483
|
+
'The name cannot contain spaces': 'Нэрэнд хоосон зай байж болохгүй',
|
|
32484
|
+
'This name is already in use': 'Энэ нэр аль хэдийн ашиглагдаж байна',
|
|
32359
32485
|
'Font size': 'Фонтын хэмжээ',
|
|
32360
32486
|
'Font family': 'Фонтын бүл',
|
|
32361
32487
|
'Insert format block': 'Блок нэмэх',
|
|
@@ -32595,6 +32721,11 @@ function addClassNames(className, elm) {
|
|
|
32595
32721
|
'Insert file': 'Bestand invoegen',
|
|
32596
32722
|
'Insert youtube/vimeo video': 'Youtube/Vimeo video invoegen',
|
|
32597
32723
|
'Insert link': 'Link toevoegen',
|
|
32724
|
+
'Insert anchor': 'Anker toevoegen',
|
|
32725
|
+
'Link to an anchor': 'Naar een anker linken',
|
|
32726
|
+
'On this page': 'Op deze pagina',
|
|
32727
|
+
'The name cannot contain spaces': 'De naam mag geen spaties bevatten',
|
|
32728
|
+
'This name is already in use': 'Deze naam is al in gebruik',
|
|
32598
32729
|
'Font size': 'Tekstgrootte',
|
|
32599
32730
|
'Font family': 'Lettertype',
|
|
32600
32731
|
'Insert format block': 'Format blok invoegen',
|
|
@@ -32832,6 +32963,11 @@ function addClassNames(className, elm) {
|
|
|
32832
32963
|
'Insert file': 'Sett inn fil',
|
|
32833
32964
|
'Insert youtube/vimeo video': 'Sett inn YouTube/Vimeo-video',
|
|
32834
32965
|
'Insert link': 'Sett inn lenke',
|
|
32966
|
+
'Insert anchor': 'Sett inn anker',
|
|
32967
|
+
'Link to an anchor': 'Lenke til et anker',
|
|
32968
|
+
'On this page': 'På denne siden',
|
|
32969
|
+
'The name cannot contain spaces': 'Navnet kan ikke inneholde mellomrom',
|
|
32970
|
+
'This name is already in use': 'Dette navnet er allerede i bruk',
|
|
32835
32971
|
'Font size': 'Skriftstørrelse',
|
|
32836
32972
|
'Font family': 'Skriftfamilie',
|
|
32837
32973
|
'Insert format block': 'Sett inn formateringsblokk',
|
|
@@ -33080,6 +33216,11 @@ function addClassNames(className, elm) {
|
|
|
33080
33216
|
'Insert file': 'Wstaw plik',
|
|
33081
33217
|
'Insert youtube/vimeo video': 'Wstaw film Youtube/vimeo',
|
|
33082
33218
|
'Insert link': 'Wstaw link',
|
|
33219
|
+
'Insert anchor': 'Wstaw kotwicę',
|
|
33220
|
+
'Link to an anchor': 'Link do kotwicy',
|
|
33221
|
+
'On this page': 'Na tej stronie',
|
|
33222
|
+
'The name cannot contain spaces': 'Nazwa nie może zawierać spacji',
|
|
33223
|
+
'This name is already in use': 'Ta nazwa jest już używana',
|
|
33083
33224
|
'Font size': 'Rozmiar tekstu',
|
|
33084
33225
|
'Font family': 'Krój czcionki',
|
|
33085
33226
|
'Insert format block': 'Wstaw formatowanie',
|
|
@@ -33298,7 +33439,7 @@ function addClassNames(className, elm) {
|
|
|
33298
33439
|
'For information about the license, please go to our website:': 'Para informação sobre a licença, por favor visite nosso site:',
|
|
33299
33440
|
'Buy full version': 'Compre a versão completa',
|
|
33300
33441
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.',
|
|
33301
|
-
Anchor: '
|
|
33442
|
+
Anchor: 'Âncora',
|
|
33302
33443
|
'Open in new tab': 'Abrir em nova aba',
|
|
33303
33444
|
'Open in fullsize': 'Abrir editor em tela cheia',
|
|
33304
33445
|
'Clear Formatting': 'Limpar formatação',
|
|
@@ -33318,6 +33459,11 @@ function addClassNames(className, elm) {
|
|
|
33318
33459
|
'Insert file': 'Inserir arquivo',
|
|
33319
33460
|
'Insert youtube/vimeo video': 'Inserir vídeo do Youtube/vimeo',
|
|
33320
33461
|
'Insert link': 'Inserir link',
|
|
33462
|
+
'Insert anchor': 'Inserir âncora',
|
|
33463
|
+
'Link to an anchor': 'Vincular a uma âncora',
|
|
33464
|
+
'On this page': 'Nesta página',
|
|
33465
|
+
'The name cannot contain spaces': 'O nome não pode conter espaços',
|
|
33466
|
+
'This name is already in use': 'Este nome já está em uso',
|
|
33321
33467
|
'Font size': 'Tamanho da letra',
|
|
33322
33468
|
'Font family': 'Fonte',
|
|
33323
33469
|
'Insert format block': 'Inserir bloco',
|
|
@@ -33540,7 +33686,7 @@ function addClassNames(className, elm) {
|
|
|
33540
33686
|
'For information about the license, please go to our website:': 'Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:',
|
|
33541
33687
|
'Buy full version': 'Купить полную версию',
|
|
33542
33688
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.',
|
|
33543
|
-
Anchor: '
|
|
33689
|
+
Anchor: 'Якорь',
|
|
33544
33690
|
'Open in new tab': 'Открывать ссылку в новой вкладке',
|
|
33545
33691
|
'Open in fullsize': 'Открыть редактор в полном размере',
|
|
33546
33692
|
'Clear Formatting': 'Очистить форматирование',
|
|
@@ -33560,6 +33706,11 @@ function addClassNames(className, elm) {
|
|
|
33560
33706
|
'Insert file': 'Вставить файл',
|
|
33561
33707
|
'Insert youtube/vimeo video': 'Вставьте видео',
|
|
33562
33708
|
'Insert link': 'Вставить ссылку',
|
|
33709
|
+
'Insert anchor': 'Вставить якорь',
|
|
33710
|
+
'Link to an anchor': 'Ссылка на якорь',
|
|
33711
|
+
'On this page': 'На этой странице',
|
|
33712
|
+
'The name cannot contain spaces': 'Имя не может содержать пробелы',
|
|
33713
|
+
'This name is already in use': 'Это имя уже используется',
|
|
33563
33714
|
'Font size': 'Размер шрифта',
|
|
33564
33715
|
'Font family': 'Шрифт',
|
|
33565
33716
|
'Insert format block': 'Вставить блочный элемент',
|
|
@@ -33798,6 +33949,11 @@ function addClassNames(className, elm) {
|
|
|
33798
33949
|
'Insert file': 'Vložiť súbor',
|
|
33799
33950
|
'Insert youtube/vimeo video': 'Vložiť video YouTube/Vimeo',
|
|
33800
33951
|
'Insert link': 'Vložiť odkaz',
|
|
33952
|
+
'Insert anchor': 'Vložiť kotvu',
|
|
33953
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
33954
|
+
'On this page': 'Na tejto stránke',
|
|
33955
|
+
'The name cannot contain spaces': 'Názov nesmie obsahovať medzery',
|
|
33956
|
+
'This name is already in use': 'Tento názov sa už používa',
|
|
33801
33957
|
'Font size': 'Veľkosť písma',
|
|
33802
33958
|
'Font family': 'Typ písma',
|
|
33803
33959
|
'Insert format block': 'Vložiť formátovaný blok',
|
|
@@ -34042,6 +34198,11 @@ function addClassNames(className, elm) {
|
|
|
34042
34198
|
'Insert file': 'Infoga fil',
|
|
34043
34199
|
'Insert youtube/vimeo video': 'Infoga YouTube/Vimeo-video',
|
|
34044
34200
|
'Insert link': 'Infoga länk',
|
|
34201
|
+
'Insert anchor': 'Infoga ankare',
|
|
34202
|
+
'Link to an anchor': 'Länka till ett ankare',
|
|
34203
|
+
'On this page': 'På den här sidan',
|
|
34204
|
+
'The name cannot contain spaces': 'Namnet får inte innehålla mellanslag',
|
|
34205
|
+
'This name is already in use': 'Det här namnet används redan',
|
|
34045
34206
|
'Font size': 'Teckenstorlek',
|
|
34046
34207
|
'Font family': 'Teckensnitt',
|
|
34047
34208
|
'Insert format block': 'Infoga formateringsblock',
|
|
@@ -34269,7 +34430,7 @@ function addClassNames(className, elm) {
|
|
|
34269
34430
|
'For information about the license, please go to our website:': 'Lisans hakkında bilgi için lütfen web sitemize gidin:',
|
|
34270
34431
|
'Buy full version': 'Tam versiyonunu satın al',
|
|
34271
34432
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.',
|
|
34272
|
-
Anchor: '
|
|
34433
|
+
Anchor: 'Çapa',
|
|
34273
34434
|
'Open in new tab': 'Yeni sekmede aç',
|
|
34274
34435
|
'Open in fullsize': 'Editörü tam ekranda aç',
|
|
34275
34436
|
'Clear Formatting': 'Stili temizle',
|
|
@@ -34289,6 +34450,11 @@ function addClassNames(className, elm) {
|
|
|
34289
34450
|
'Insert file': 'Dosya Ekle',
|
|
34290
34451
|
'Insert youtube/vimeo video': 'Youtube/Vimeo Videosu Ekle',
|
|
34291
34452
|
'Insert link': 'Bağlantı Ekle',
|
|
34453
|
+
'Insert anchor': 'Çapa Ekle',
|
|
34454
|
+
'Link to an anchor': 'Çapaya bağlantı',
|
|
34455
|
+
'On this page': 'Bu sayfada',
|
|
34456
|
+
'The name cannot contain spaces': 'Ad boşluk içeremez',
|
|
34457
|
+
'This name is already in use': 'Bu ad zaten kullanılıyor',
|
|
34292
34458
|
'Font size': 'Font Boyutu',
|
|
34293
34459
|
'Font family': 'Font Ailesi',
|
|
34294
34460
|
'Insert format block': 'Blok Ekle',
|
|
@@ -34506,7 +34672,7 @@ function addClassNames(className, elm) {
|
|
|
34506
34672
|
'For information about the license, please go to our website:': 'Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:',
|
|
34507
34673
|
'Buy full version': 'Купити повну версію',
|
|
34508
34674
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторські права © XDSoft.net - Чупурнов Валерій. Всі права захищені.',
|
|
34509
|
-
Anchor: '
|
|
34675
|
+
Anchor: 'Якір',
|
|
34510
34676
|
'Open in new tab': 'Відкрити у новій вкладці',
|
|
34511
34677
|
'Open in fullsize': 'Відкрити редактор в повному розмірі',
|
|
34512
34678
|
'Clear Formatting': 'Очистити форматування',
|
|
@@ -34526,6 +34692,11 @@ function addClassNames(className, elm) {
|
|
|
34526
34692
|
'Insert file': 'Вставити файл',
|
|
34527
34693
|
'Insert youtube/vimeo video': 'Вставити відео',
|
|
34528
34694
|
'Insert link': 'Вставити посилання',
|
|
34695
|
+
'Insert anchor': 'Вставити якір',
|
|
34696
|
+
'Link to an anchor': 'Посилання на якір',
|
|
34697
|
+
'On this page': 'На цій сторінці',
|
|
34698
|
+
'The name cannot contain spaces': "Ім'я не може містити пробілів",
|
|
34699
|
+
'This name is already in use': "Це ім'я вже використовується",
|
|
34529
34700
|
'Font size': 'Розмір шрифту',
|
|
34530
34701
|
'Font family': 'Шрифт',
|
|
34531
34702
|
'Insert format block': 'Вставити блочний елемент',
|
|
@@ -34745,7 +34916,7 @@ function addClassNames(className, elm) {
|
|
|
34745
34916
|
'For information about the license, please go to our website:': '有关许可证的信息,请访问我们的网站:',
|
|
34746
34917
|
'Buy full version': '购买完整版本',
|
|
34747
34918
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有',
|
|
34748
|
-
Anchor: '
|
|
34919
|
+
Anchor: '锚点',
|
|
34749
34920
|
'Open in new tab': '在新窗口打开',
|
|
34750
34921
|
'Open in fullsize': '全屏编辑',
|
|
34751
34922
|
'Clear Formatting': '清除样式',
|
|
@@ -34765,6 +34936,11 @@ function addClassNames(className, elm) {
|
|
|
34765
34936
|
'Insert file': '文件',
|
|
34766
34937
|
'Insert youtube/vimeo video': '视频',
|
|
34767
34938
|
'Insert link': '链接',
|
|
34939
|
+
'Insert anchor': '插入锚点',
|
|
34940
|
+
'Link to an anchor': '链接到锚点',
|
|
34941
|
+
'On this page': '在本页',
|
|
34942
|
+
'The name cannot contain spaces': '名称不能包含空格',
|
|
34943
|
+
'This name is already in use': '此名称已被使用',
|
|
34768
34944
|
'Font size': '字号',
|
|
34769
34945
|
'Font family': '字体',
|
|
34770
34946
|
'Insert format block': '格式块',
|
|
@@ -35003,6 +35179,11 @@ function addClassNames(className, elm) {
|
|
|
35003
35179
|
'Insert file': '檔案',
|
|
35004
35180
|
'Insert youtube/vimeo video': '插入 youtube/vimeo 影片',
|
|
35005
35181
|
'Insert link': '插入連結',
|
|
35182
|
+
'Insert anchor': '插入錨點',
|
|
35183
|
+
'Link to an anchor': '連結到錨點',
|
|
35184
|
+
'On this page': '在本頁',
|
|
35185
|
+
'The name cannot contain spaces': '名稱不能包含空格',
|
|
35186
|
+
'This name is already in use': '此名稱已被使用',
|
|
35006
35187
|
'Font size': '文字大小',
|
|
35007
35188
|
'Font family': '字型',
|
|
35008
35189
|
'Insert format block': '格式化區塊',
|
|
@@ -38705,15 +38886,16 @@ function _ts_generator(thisArg, body) {
|
|
|
38705
38886
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(70231);
|
|
38706
38887
|
/* harmony import */ var _core_view_view_with_toolbar_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84075);
|
|
38707
38888
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6441);
|
|
38708
|
-
/* harmony import */ var
|
|
38709
|
-
/* harmony import */ var
|
|
38710
|
-
/* harmony import */ var
|
|
38711
|
-
/* harmony import */ var
|
|
38712
|
-
/* harmony import */ var
|
|
38713
|
-
/* harmony import */ var
|
|
38714
|
-
/* harmony import */ var
|
|
38715
|
-
/* harmony import */ var
|
|
38716
|
-
/* harmony import */ var
|
|
38889
|
+
/* harmony import */ var _uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2073);
|
|
38890
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(61251);
|
|
38891
|
+
/* harmony import */ var _fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(30465);
|
|
38892
|
+
/* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(20201);
|
|
38893
|
+
/* harmony import */ var _listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(73948);
|
|
38894
|
+
/* harmony import */ var _listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33281);
|
|
38895
|
+
/* harmony import */ var _listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(94538);
|
|
38896
|
+
/* harmony import */ var _data_provider_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(11787);
|
|
38897
|
+
/* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(63399);
|
|
38898
|
+
/* harmony import */ var _ui_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8172);
|
|
38717
38899
|
function _assert_this_initialized(self) {
|
|
38718
38900
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38719
38901
|
return self;
|
|
@@ -38837,6 +39019,7 @@ function _type_of(obj) {
|
|
|
38837
39019
|
|
|
38838
39020
|
|
|
38839
39021
|
|
|
39022
|
+
|
|
38840
39023
|
|
|
38841
39024
|
|
|
38842
39025
|
var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
@@ -38850,11 +39033,11 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38850
39033
|
]);
|
|
38851
39034
|
_this.browser = _this.c.div(_this.componentName);
|
|
38852
39035
|
_this.status_line = _this.c.div(_this.getFullElName('status'));
|
|
38853
|
-
_this.tree = new
|
|
38854
|
-
_this.files = new
|
|
39036
|
+
_this.tree = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserTree(_this);
|
|
39037
|
+
_this.files = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserFiles(_this);
|
|
38855
39038
|
_this.state = (0,_core_event_emitter_index_js__WEBPACK_IMPORTED_MODULE_5__.observable)({
|
|
38856
39039
|
currentPath: '',
|
|
38857
|
-
currentSource:
|
|
39040
|
+
currentSource: _data_provider_js__WEBPACK_IMPORTED_MODULE_19__.DEFAULT_SOURCE_NAME,
|
|
38858
39041
|
currentBaseUrl: '',
|
|
38859
39042
|
activeElements: [],
|
|
38860
39043
|
elements: [],
|
|
@@ -38890,9 +39073,9 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38890
39073
|
}
|
|
38891
39074
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.files.container);
|
|
38892
39075
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.status_line);
|
|
38893
|
-
|
|
38894
|
-
|
|
38895
|
-
|
|
39076
|
+
_listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__.selfListeners.call(self);
|
|
39077
|
+
_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__.nativeListeners.call(self);
|
|
39078
|
+
_listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__.stateListeners.call(self);
|
|
38896
39079
|
var keys = [
|
|
38897
39080
|
'getLocalFileByUrl',
|
|
38898
39081
|
'crop',
|
|
@@ -38955,7 +39138,7 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38955
39138
|
{
|
|
38956
39139
|
key: "dataProvider",
|
|
38957
39140
|
get: function get() {
|
|
38958
|
-
return (0,
|
|
39141
|
+
return (0,_factories_js__WEBPACK_IMPORTED_MODULE_20__.makeDataProvider)(this, this.options);
|
|
38959
39142
|
}
|
|
38960
39143
|
},
|
|
38961
39144
|
{
|
|
@@ -38964,21 +39147,21 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38964
39147
|
var _this = this;
|
|
38965
39148
|
return function() {
|
|
38966
39149
|
if (_this.state.activeElements.length) {
|
|
38967
|
-
var
|
|
38968
|
-
var isImages = [];
|
|
39150
|
+
var items = [];
|
|
38969
39151
|
_this.state.activeElements.forEach(function(elm) {
|
|
38970
39152
|
var url = elm.fileURL;
|
|
38971
39153
|
if (url) {
|
|
38972
|
-
|
|
38973
|
-
|
|
39154
|
+
items.push({
|
|
39155
|
+
file: url,
|
|
39156
|
+
isImage: elm.isImage || false
|
|
39157
|
+
});
|
|
38974
39158
|
}
|
|
38975
39159
|
});
|
|
38976
39160
|
_this.close();
|
|
38977
|
-
var data = {
|
|
39161
|
+
var data = (0,_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__.normalizeUploaderData)({
|
|
38978
39162
|
baseurl: '',
|
|
38979
|
-
|
|
38980
|
-
|
|
38981
|
-
};
|
|
39163
|
+
items: items
|
|
39164
|
+
});
|
|
38982
39165
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.isFunction)(callback)) {
|
|
38983
39166
|
callback(data);
|
|
38984
39167
|
}
|
|
@@ -39063,10 +39246,9 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
39063
39246
|
* ```javascript
|
|
39064
39247
|
* var fb = new Jodit.modules.FileBrowser(parent);
|
|
39065
39248
|
* fb.open(function (data) {
|
|
39066
|
-
*
|
|
39067
|
-
*
|
|
39068
|
-
*
|
|
39069
|
-
* }
|
|
39249
|
+
* data.items.forEach(function (item) {
|
|
39250
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
39251
|
+
* });
|
|
39070
39252
|
* });
|
|
39071
39253
|
* ```
|
|
39072
39254
|
*/ key: "open",
|
|
@@ -39092,7 +39274,7 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
39092
39274
|
_this.__updateToolbarButtons();
|
|
39093
39275
|
_this._dialog.open(_this.browser, header);
|
|
39094
39276
|
_this.e.fire('sort.filebrowser', _this.state.sortBy);
|
|
39095
|
-
(0,
|
|
39277
|
+
(0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__.loadTree)(_this).then(resolve, reject).finally(function() {
|
|
39096
39278
|
var _a;
|
|
39097
39279
|
if (_this.isInDestruct) {
|
|
39098
39280
|
return;
|
|
@@ -39135,7 +39317,7 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
39135
39317
|
var _a;
|
|
39136
39318
|
var self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.ConfigProto)(options || {}, _config_js__WEBPACK_IMPORTED_MODULE_11__.Config.defaultOptions.uploader);
|
|
39137
39319
|
var uploadHandler = function uploadHandler() {
|
|
39138
|
-
return (0,
|
|
39320
|
+
return (0,_fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__.loadItems)(_this);
|
|
39139
39321
|
};
|
|
39140
39322
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
39141
39323
|
self.uploader.setPath(self.state.currentPath).setSource(self.state.currentSource).bind(self.browser, uploadHandler, self.errorHandler);
|
|
@@ -43437,29 +43619,30 @@ var instance = function instance(j) {
|
|
|
43437
43619
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43438
43620
|
/* harmony export */ ToolbarButton: function() { return /* binding */ ToolbarButton; }
|
|
43439
43621
|
/* harmony export */ });
|
|
43440
|
-
/* harmony import */ var
|
|
43441
|
-
/* harmony import */ var
|
|
43442
|
-
/* harmony import */ var
|
|
43443
|
-
/* harmony import */ var
|
|
43444
|
-
/* harmony import */ var
|
|
43445
|
-
/* harmony import */ var
|
|
43446
|
-
/* harmony import */ var
|
|
43447
|
-
/* harmony import */ var
|
|
43448
|
-
/* harmony import */ var
|
|
43449
|
-
/* harmony import */ var
|
|
43450
|
-
/* harmony import */ var
|
|
43451
|
-
/* harmony import */ var
|
|
43452
|
-
/* harmony import */ var
|
|
43453
|
-
/* harmony import */ var
|
|
43454
|
-
/* harmony import */ var
|
|
43455
|
-
/* harmony import */ var
|
|
43456
|
-
/* harmony import */ var
|
|
43457
|
-
/* harmony import */ var
|
|
43458
|
-
/* harmony import */ var
|
|
43459
|
-
/* harmony import */ var
|
|
43460
|
-
/* harmony import */ var
|
|
43461
|
-
/* harmony import */ var
|
|
43462
|
-
/* harmony import */ var
|
|
43622
|
+
/* harmony import */ var _core_component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4012);
|
|
43623
|
+
/* harmony import */ var _core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78213);
|
|
43624
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
43625
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45219);
|
|
43626
|
+
/* harmony import */ var _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33433);
|
|
43627
|
+
/* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87325);
|
|
43628
|
+
/* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(37133);
|
|
43629
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2748);
|
|
43630
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68345);
|
|
43631
|
+
/* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23282);
|
|
43632
|
+
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(19306);
|
|
43633
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72430);
|
|
43634
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(70799);
|
|
43635
|
+
/* harmony import */ var _core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(56175);
|
|
43636
|
+
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(87058);
|
|
43637
|
+
/* harmony import */ var _core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(38837);
|
|
43638
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(29960);
|
|
43639
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37790);
|
|
43640
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(62843);
|
|
43641
|
+
/* harmony import */ var _core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(20014);
|
|
43642
|
+
/* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(72157);
|
|
43643
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(12153);
|
|
43644
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(56917);
|
|
43645
|
+
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(21491);
|
|
43463
43646
|
function _array_like_to_array(arr, len) {
|
|
43464
43647
|
if (len == null || len > arr.length) len = arr.length;
|
|
43465
43648
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -43633,6 +43816,8 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
43633
43816
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
43634
43817
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
43635
43818
|
};
|
|
43819
|
+
var ToolbarButton_1;
|
|
43820
|
+
|
|
43636
43821
|
|
|
43637
43822
|
|
|
43638
43823
|
|
|
@@ -43670,7 +43855,7 @@ var FOCUSABLE_SELECTOR = [
|
|
|
43670
43855
|
'textarea:not([disabled])',
|
|
43671
43856
|
'[tabindex]:not([tabindex="-1"])'
|
|
43672
43857
|
].join(',');
|
|
43673
|
-
var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
43858
|
+
var ToolbarButton = ToolbarButton_1 = /*#__PURE__*/ function(UIButton) {
|
|
43674
43859
|
"use strict";
|
|
43675
43860
|
_inherits(ToolbarButton, UIButton);
|
|
43676
43861
|
function ToolbarButton(jodit, control) {
|
|
@@ -43682,7 +43867,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43682
43867
|
]);
|
|
43683
43868
|
_this.control = control;
|
|
43684
43869
|
_this.target = target;
|
|
43685
|
-
_this.state = _object_spread_props(_object_spread({}, (0,
|
|
43870
|
+
_this.state = _object_spread_props(_object_spread({}, (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)()), {
|
|
43686
43871
|
theme: 'toolbar',
|
|
43687
43872
|
currentValue: '',
|
|
43688
43873
|
hasTrigger: false
|
|
@@ -43692,14 +43877,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43692
43877
|
_this.__typedTo = null;
|
|
43693
43878
|
_this.openedPopup = null;
|
|
43694
43879
|
var button = _this.getElm('button');
|
|
43695
|
-
(0,
|
|
43880
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(button, 'Element button should exists');
|
|
43696
43881
|
_this.button = button;
|
|
43697
43882
|
Object.defineProperty(button, 'component', {
|
|
43698
43883
|
value: _this,
|
|
43699
43884
|
configurable: true
|
|
43700
43885
|
});
|
|
43701
43886
|
var trigger = _this.getElm('trigger');
|
|
43702
|
-
(0,
|
|
43887
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(trigger, 'Element trigger should exists');
|
|
43703
43888
|
_this.trigger = trigger;
|
|
43704
43889
|
trigger.remove();
|
|
43705
43890
|
// Prevent lost focus
|
|
@@ -43710,7 +43895,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43710
43895
|
return e.preventDefault();
|
|
43711
43896
|
});
|
|
43712
43897
|
_this.onAction(_this.onClick);
|
|
43713
|
-
_this.hookStatus(
|
|
43898
|
+
_this.hookStatus(_core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__.STATUSES.ready, function() {
|
|
43714
43899
|
_this.__initFromControl();
|
|
43715
43900
|
_this.update();
|
|
43716
43901
|
});
|
|
@@ -43740,7 +43925,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43740
43925
|
_get(_get_prototype_of(ToolbarButton.prototype), "updateAriaLabel", this).call(this);
|
|
43741
43926
|
if (this.trigger) {
|
|
43742
43927
|
var i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
43743
|
-
(0,
|
|
43928
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
43744
43929
|
}
|
|
43745
43930
|
}
|
|
43746
43931
|
},
|
|
@@ -43749,7 +43934,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43749
43934
|
get: /**
|
|
43750
43935
|
* Get parent toolbar
|
|
43751
43936
|
*/ function get() {
|
|
43752
|
-
var ToolbarCollection = (0,
|
|
43937
|
+
var ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.getComponentClass)('ToolbarCollection');
|
|
43753
43938
|
return this.closest(ToolbarCollection);
|
|
43754
43939
|
}
|
|
43755
43940
|
},
|
|
@@ -43777,7 +43962,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43777
43962
|
*/ key: "__calculateActivatedStatus",
|
|
43778
43963
|
value: function __calculateActivatedStatus(tc) {
|
|
43779
43964
|
var _a, _b;
|
|
43780
|
-
if ((0,
|
|
43965
|
+
if ((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j) && !this.j.editorIsActive) {
|
|
43781
43966
|
return false;
|
|
43782
43967
|
}
|
|
43783
43968
|
if ((_b = (_a = this.control).isActive) === null || _b === void 0 ? void 0 : _b.call(_a, this.j, this)) {
|
|
@@ -43807,15 +43992,17 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43807
43992
|
{
|
|
43808
43993
|
key: "onChangeActivated",
|
|
43809
43994
|
value: function onChangeActivated() {
|
|
43810
|
-
;(0,
|
|
43995
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
43811
43996
|
_get(_get_prototype_of(ToolbarButton.prototype), "onChangeActivated", this).call(this);
|
|
43812
43997
|
}
|
|
43813
43998
|
},
|
|
43814
43999
|
{
|
|
43815
44000
|
key: "onChangeText",
|
|
43816
44001
|
value: function onChangeText() {
|
|
43817
|
-
if ((0,
|
|
44002
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(this.control.template)) {
|
|
43818
44003
|
this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
|
|
44004
|
+
// The name given before the text came would otherwise stay
|
|
44005
|
+
this.updateAriaLabel();
|
|
43819
44006
|
} else {
|
|
43820
44007
|
_get(_get_prototype_of(ToolbarButton.prototype), "onChangeText", this).call(this);
|
|
43821
44008
|
}
|
|
@@ -43825,8 +44012,8 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43825
44012
|
{
|
|
43826
44013
|
key: "onChangeTabIndex",
|
|
43827
44014
|
value: function onChangeTabIndex() {
|
|
43828
|
-
;(0,
|
|
43829
|
-
(0,
|
|
44015
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
44016
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'tabindex', this.state.tabIndex);
|
|
43830
44017
|
}
|
|
43831
44018
|
},
|
|
43832
44019
|
{
|
|
@@ -43841,10 +44028,10 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43841
44028
|
value: this,
|
|
43842
44029
|
configurable: true
|
|
43843
44030
|
});
|
|
43844
|
-
|
|
43845
|
-
var trigger = this.j.c.fromHTML('<span role="button" aria-haspopup="true" aria-expanded="false" class="'.concat(cn, '__trigger">').concat(
|
|
44031
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(container, button);
|
|
44032
|
+
var trigger = this.j.c.fromHTML('<span role="button" aria-haspopup="true" aria-expanded="false" class="'.concat(cn, '__trigger">').concat(_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__.Icon.get('chevron'), "</span>"));
|
|
43846
44033
|
// For caching
|
|
43847
|
-
|
|
44034
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(button, trigger);
|
|
43848
44035
|
return container;
|
|
43849
44036
|
}
|
|
43850
44037
|
},
|
|
@@ -43852,8 +44039,8 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43852
44039
|
/** @override */ key: "focus",
|
|
43853
44040
|
value: function focus() {
|
|
43854
44041
|
var _a;
|
|
43855
|
-
(_a =
|
|
43856
|
-
return
|
|
44042
|
+
(_a = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.first(this.container, function(node) {
|
|
44043
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(node, 'button');
|
|
43857
44044
|
})) === null || _a === void 0 ? void 0 : _a.focus();
|
|
43858
44045
|
}
|
|
43859
44046
|
},
|
|
@@ -43861,9 +44048,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43861
44048
|
key: "onChangeHasTrigger",
|
|
43862
44049
|
value: function onChangeHasTrigger() {
|
|
43863
44050
|
if (this.state.hasTrigger) {
|
|
43864
|
-
|
|
44051
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(this.container, this.trigger);
|
|
43865
44052
|
} else {
|
|
43866
|
-
|
|
44053
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(this.trigger);
|
|
43867
44054
|
}
|
|
43868
44055
|
this.setMod('with-trigger', this.state.hasTrigger || null);
|
|
43869
44056
|
}
|
|
@@ -43872,9 +44059,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43872
44059
|
/** @override */ key: "onChangeDisabled",
|
|
43873
44060
|
value: function onChangeDisabled() {
|
|
43874
44061
|
var disabled = this.state.disabled ? 'disabled' : null;
|
|
43875
|
-
(0,
|
|
43876
|
-
(0,
|
|
43877
|
-
(0,
|
|
44062
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'disabled', disabled);
|
|
44063
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'disabled', disabled);
|
|
44064
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.container, 'disabled', disabled);
|
|
43878
44065
|
}
|
|
43879
44066
|
},
|
|
43880
44067
|
{
|
|
@@ -43887,7 +44074,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43887
44074
|
state.name = ctr.name;
|
|
43888
44075
|
this.__initIconFromControl();
|
|
43889
44076
|
if (ctr.tooltip) {
|
|
43890
|
-
state.tooltip = (0,
|
|
44077
|
+
state.tooltip = (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
|
|
43891
44078
|
}
|
|
43892
44079
|
state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
|
|
43893
44080
|
}
|
|
@@ -43898,12 +44085,12 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43898
44085
|
var _a;
|
|
43899
44086
|
var _this = this, ctr = _this.control, state = _this.state;
|
|
43900
44087
|
var textIcons = this.j.o.textIcons;
|
|
43901
|
-
if (textIcons === true || (0,
|
|
43902
|
-
state.icon = (0,
|
|
44088
|
+
if (textIcons === true || (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
|
|
44089
|
+
state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)().icon;
|
|
43903
44090
|
state.text = ctr.text || ctr.name;
|
|
43904
44091
|
return;
|
|
43905
44092
|
}
|
|
43906
|
-
if (!(0,
|
|
44093
|
+
if (!(0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(ctr.icon) && ctr.icon != null) {
|
|
43907
44094
|
state.icon = {
|
|
43908
44095
|
name: ctr.icon.name || ctr.name,
|
|
43909
44096
|
iconURL: ctr.icon.iconURL || '',
|
|
@@ -43916,7 +44103,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43916
44103
|
state.icon.iconURL = ctr.iconURL;
|
|
43917
44104
|
} else {
|
|
43918
44105
|
var name = ctr.icon || ctr.name;
|
|
43919
|
-
state.icon.name =
|
|
44106
|
+
state.icon.name = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__.Icon.exists(name) || ((_a = this.j.o.extraIcons) === null || _a === void 0 ? void 0 : _a[name]) ? name : '';
|
|
43920
44107
|
}
|
|
43921
44108
|
if (!ctr.iconURL && !state.icon.name) {
|
|
43922
44109
|
state.text = ctr.text || ctr.name;
|
|
@@ -43935,27 +44122,27 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43935
44122
|
return;
|
|
43936
44123
|
}
|
|
43937
44124
|
var _this1 = this, ctr = _this1.control;
|
|
43938
|
-
(0,
|
|
44125
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', true);
|
|
43939
44126
|
e.buffer = {
|
|
43940
44127
|
actionTrigger: this
|
|
43941
44128
|
};
|
|
43942
44129
|
if (ctr.list) {
|
|
43943
44130
|
return this.__openControlList(ctr);
|
|
43944
44131
|
}
|
|
43945
|
-
if ((0,
|
|
44132
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
43946
44133
|
var popup = this.openPopup();
|
|
43947
44134
|
popup.parentElement = this;
|
|
43948
44135
|
try {
|
|
43949
|
-
if (this.j.e.fire((0,
|
|
44136
|
+
if (this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__.camelCase)("before-".concat(ctr.name, "-open-popup")), this.target, ctr, popup) !== false) {
|
|
43950
44137
|
var target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
|
|
43951
44138
|
var elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
43952
44139
|
if (elm) {
|
|
43953
|
-
popup.setContent((0,
|
|
43954
|
-
return (0,
|
|
44140
|
+
popup.setContent((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(elm) ? this.j.c.fromHTML(elm) : elm).open(function() {
|
|
44141
|
+
return (0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__.position)(_this.container);
|
|
43955
44142
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
43956
44143
|
// The focus stays in the content for a list, which
|
|
43957
44144
|
// typing searches, but goes to a form, as in a dialog
|
|
43958
|
-
(0,
|
|
44145
|
+
(0,_core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__.focusFormField)(popup.container);
|
|
43959
44146
|
} else {
|
|
43960
44147
|
this.__closePopup();
|
|
43961
44148
|
}
|
|
@@ -43968,7 +44155,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43968
44155
|
* Fired after the popup was opened for some control button
|
|
43969
44156
|
*/ /**
|
|
43970
44157
|
* Close all opened popups
|
|
43971
|
-
*/ this.j.e.fire((0,
|
|
44158
|
+
*/ this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__.camelCase)("after-".concat(ctr.name, "-open-popup")), popup.container);
|
|
43972
44159
|
}
|
|
43973
44160
|
}
|
|
43974
44161
|
},
|
|
@@ -43978,13 +44165,13 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43978
44165
|
if (this.state.disabled) {
|
|
43979
44166
|
return;
|
|
43980
44167
|
}
|
|
43981
|
-
if (e.key ===
|
|
44168
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN) {
|
|
43982
44169
|
this.onButtonKeyDown(e);
|
|
43983
44170
|
return;
|
|
43984
44171
|
}
|
|
43985
44172
|
if (![
|
|
43986
|
-
|
|
43987
|
-
|
|
44173
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ENTER,
|
|
44174
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_SPACE,
|
|
43988
44175
|
' '
|
|
43989
44176
|
].includes(e.key)) {
|
|
43990
44177
|
return;
|
|
@@ -44000,7 +44187,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44000
44187
|
*/ key: "onButtonKeyDown",
|
|
44001
44188
|
value: function onButtonKeyDown(e) {
|
|
44002
44189
|
var _a;
|
|
44003
|
-
if (e.key !==
|
|
44190
|
+
if (e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN || this.state.disabled || !this.state.hasTrigger || e.altKey || e.ctrlKey || e.metaKey) {
|
|
44004
44191
|
return;
|
|
44005
44192
|
}
|
|
44006
44193
|
e.preventDefault();
|
|
@@ -44022,22 +44209,22 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44022
44209
|
}
|
|
44023
44210
|
var target = e.target;
|
|
44024
44211
|
// A text field keeps the arrow keys for itself
|
|
44025
|
-
if (
|
|
44212
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(target, INPUT_TAGS) && e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC) {
|
|
44026
44213
|
return;
|
|
44027
44214
|
}
|
|
44028
44215
|
var items = this.__popupFocusables(), index = items.indexOf(target);
|
|
44029
44216
|
switch(e.key){
|
|
44030
|
-
case
|
|
44217
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC:
|
|
44031
44218
|
this.__closePopup();
|
|
44032
44219
|
break;
|
|
44033
|
-
case
|
|
44220
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_UP:
|
|
44034
44221
|
if (index <= 0) {
|
|
44035
44222
|
this.__closePopup();
|
|
44036
44223
|
} else {
|
|
44037
44224
|
items[index - 1].focus();
|
|
44038
44225
|
}
|
|
44039
44226
|
break;
|
|
44040
|
-
case
|
|
44227
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN:
|
|
44041
44228
|
if (!items.length) {
|
|
44042
44229
|
return;
|
|
44043
44230
|
}
|
|
@@ -44125,7 +44312,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44125
44312
|
var _this = this;
|
|
44126
44313
|
var _a, _b, _c, _d, _e;
|
|
44127
44314
|
var controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = function getControl(key) {
|
|
44128
|
-
return (0,
|
|
44315
|
+
return (0,_core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__.findControlType)(key, controls);
|
|
44129
44316
|
};
|
|
44130
44317
|
var list = control.list;
|
|
44131
44318
|
var menu = this.openPopup();
|
|
@@ -44134,19 +44321,19 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44134
44321
|
if (content) {
|
|
44135
44322
|
return this.__openMenu(menu, content);
|
|
44136
44323
|
}
|
|
44137
|
-
var toolbar = (0,
|
|
44324
|
+
var toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_23__.makeCollection)(this.j);
|
|
44138
44325
|
toolbar.parentElement = menu;
|
|
44139
44326
|
toolbar.mode = 'vertical';
|
|
44140
44327
|
var isListItem = function isListItem(key) {
|
|
44141
|
-
return (0,
|
|
44328
|
+
return (0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__.isPlainObject)(key) && 'title' in key && 'value' in key;
|
|
44142
44329
|
};
|
|
44143
44330
|
var getButton = function getButton(key, value) {
|
|
44144
|
-
if ((0,
|
|
44331
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value) && getControl(value)) {
|
|
44145
44332
|
return _object_spread({
|
|
44146
44333
|
name: value.toString()
|
|
44147
44334
|
}, getControl(value));
|
|
44148
44335
|
}
|
|
44149
|
-
if ((0,
|
|
44336
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(key) && getControl(key)) {
|
|
44150
44337
|
return _object_spread({
|
|
44151
44338
|
name: key.toString()
|
|
44152
44339
|
}, getControl(key), (typeof value === "undefined" ? "undefined" : _type_of(value)) === 'object' ? value : {});
|
|
@@ -44178,12 +44365,12 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44178
44365
|
value
|
|
44179
44366
|
])
|
|
44180
44367
|
};
|
|
44181
|
-
if ((0,
|
|
44368
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value)) {
|
|
44182
44369
|
childControl.text = value;
|
|
44183
44370
|
}
|
|
44184
44371
|
return childControl;
|
|
44185
44372
|
};
|
|
44186
|
-
toolbar.build((0,
|
|
44373
|
+
toolbar.build((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_8__.isArray)(list) ? list.map(getButton) : (0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__.keys)(list, false).map(function(key) {
|
|
44187
44374
|
return getButton(key, list[key]);
|
|
44188
44375
|
}), this.target);
|
|
44189
44376
|
this.__openMenu(menu, toolbar);
|
|
@@ -44194,7 +44381,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44194
44381
|
value: function __openMenu(menu, content) {
|
|
44195
44382
|
var _this = this;
|
|
44196
44383
|
menu.setContent(content).open(function() {
|
|
44197
|
-
return (0,
|
|
44384
|
+
return (0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__.position)(_this.container);
|
|
44198
44385
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
44199
44386
|
this.state.activated = true;
|
|
44200
44387
|
}
|
|
@@ -44205,7 +44392,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44205
44392
|
if (!this.openedPopup) {
|
|
44206
44393
|
return;
|
|
44207
44394
|
}
|
|
44208
|
-
if (!e || !
|
|
44395
|
+
if (!e || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isNode(e.target) || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.container, e.target) && !this.openedPopup.isOwnClick(e)) {
|
|
44209
44396
|
this.__closePopup();
|
|
44210
44397
|
}
|
|
44211
44398
|
}
|
|
@@ -44214,7 +44401,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44214
44401
|
key: "openPopup",
|
|
44215
44402
|
value: function openPopup() {
|
|
44216
44403
|
this.__closePopup();
|
|
44217
|
-
this.openedPopup = new
|
|
44404
|
+
this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__.Popup(this.j, false);
|
|
44218
44405
|
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick).on('keydown', this.__onEditorKeyDown).on(this.openedPopup.container, 'keydown', this.__onPopupKeyDown);
|
|
44219
44406
|
return this.openedPopup;
|
|
44220
44407
|
}
|
|
@@ -44237,14 +44424,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44237
44424
|
// The keyboard brought the focus into the dropdown: give it back to
|
|
44238
44425
|
// the button, otherwise it would fall out to the document. A form
|
|
44239
44426
|
// gives it back to the content, with the selection it was opened for
|
|
44240
|
-
var activeElement = this.od.activeElement, hadFocus = activeElement &&
|
|
44427
|
+
var activeElement = this.od.activeElement, hadFocus = activeElement && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(popup.container, activeElement), inForm = hadFocus && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.closest(activeElement, 'form', popup.container);
|
|
44241
44428
|
this.state.activated = false;
|
|
44242
44429
|
popup.close();
|
|
44243
44430
|
popup.destruct();
|
|
44244
44431
|
if (this.trigger) {
|
|
44245
|
-
(0,
|
|
44432
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', false);
|
|
44246
44433
|
}
|
|
44247
|
-
if (inForm && (0,
|
|
44434
|
+
if (inForm && (0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j)) {
|
|
44248
44435
|
this.j.s.focus();
|
|
44249
44436
|
} else if (hadFocus) {
|
|
44250
44437
|
this.focus();
|
|
@@ -44258,7 +44445,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44258
44445
|
value: function onClick(originalEvent) {
|
|
44259
44446
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
44260
44447
|
var _this = this, ctr = _this.control;
|
|
44261
|
-
if ((0,
|
|
44448
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.exec)) {
|
|
44262
44449
|
var target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
|
|
44263
44450
|
var result = ctr.exec(this.j, target, {
|
|
44264
44451
|
control: ctr,
|
|
@@ -44271,9 +44458,10 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44271
44458
|
if (this.parentElement) {
|
|
44272
44459
|
this.parentElement.update();
|
|
44273
44460
|
}
|
|
44461
|
+
this.__closePopups();
|
|
44274
44462
|
/**
|
|
44275
44463
|
* Fired after calling `button.exec` function
|
|
44276
|
-
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('
|
|
44464
|
+
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('afterExec');
|
|
44277
44465
|
}
|
|
44278
44466
|
if (result !== false) {
|
|
44279
44467
|
return;
|
|
@@ -44282,15 +44470,42 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44282
44470
|
if (ctr.list) {
|
|
44283
44471
|
return this.__openControlList(ctr);
|
|
44284
44472
|
}
|
|
44285
|
-
if ((0,
|
|
44473
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
44286
44474
|
return this.onTriggerClick(originalEvent);
|
|
44287
44475
|
}
|
|
44288
44476
|
if (ctr.command || ctr.name) {
|
|
44289
|
-
(0,
|
|
44290
|
-
this.
|
|
44477
|
+
(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__.call)((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j) ? this.j.execCommand.bind(this.j) : this.j.od.execCommand.bind(this.j.od), ctr.command || ctr.name, false, ctr.args && ctr.args[0]);
|
|
44478
|
+
this.__closePopups();
|
|
44291
44479
|
}
|
|
44292
44480
|
}
|
|
44293
44481
|
},
|
|
44482
|
+
{
|
|
44483
|
+
/**
|
|
44484
|
+
* After the button's action, a popup that stays open (an element's)
|
|
44485
|
+
* keeps its place beside the element, and only the lists the button is
|
|
44486
|
+
* in close. Otherwise, as when the action removed the element, every
|
|
44487
|
+
* popup closes
|
|
44488
|
+
*/ key: "__closePopups",
|
|
44489
|
+
value: function __closePopups() {
|
|
44490
|
+
var _a, _b;
|
|
44491
|
+
var openers = [
|
|
44492
|
+
this
|
|
44493
|
+
];
|
|
44494
|
+
for(var pe = this.parentElement; pe; pe = pe.parentElement){
|
|
44495
|
+
if (_core_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(pe, _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__.Popup) && pe.keepOpen && (!this.target || this.target.isConnected)) {
|
|
44496
|
+
openers.forEach(function(button) {
|
|
44497
|
+
return button.__closePopup();
|
|
44498
|
+
});
|
|
44499
|
+
pe.updatePosition();
|
|
44500
|
+
return;
|
|
44501
|
+
}
|
|
44502
|
+
if (_core_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(pe, ToolbarButton_1)) {
|
|
44503
|
+
openers.push(pe);
|
|
44504
|
+
}
|
|
44505
|
+
}
|
|
44506
|
+
(_b = (_a = this.j) === null || _a === void 0 ? void 0 : _a.e) === null || _b === void 0 ? void 0 : _b.fire('closeAllPopups');
|
|
44507
|
+
}
|
|
44508
|
+
},
|
|
44294
44509
|
{
|
|
44295
44510
|
key: "destruct",
|
|
44296
44511
|
value: function destruct() {
|
|
@@ -44300,38 +44515,38 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44300
44515
|
}
|
|
44301
44516
|
]);
|
|
44302
44517
|
return ToolbarButton;
|
|
44303
|
-
}(
|
|
44518
|
+
}(_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButton);
|
|
44304
44519
|
__decorate([
|
|
44305
|
-
|
|
44520
|
+
_core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__.cacheHTML
|
|
44306
44521
|
], ToolbarButton.prototype, "createContainer", null);
|
|
44307
44522
|
__decorate([
|
|
44308
|
-
(0,
|
|
44523
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('state.hasTrigger', {
|
|
44309
44524
|
immediately: false
|
|
44310
44525
|
})
|
|
44311
44526
|
], ToolbarButton.prototype, "onChangeHasTrigger", null);
|
|
44312
44527
|
__decorate([
|
|
44313
|
-
(0,
|
|
44528
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:click')
|
|
44314
44529
|
], ToolbarButton.prototype, "onTriggerClick", null);
|
|
44315
44530
|
__decorate([
|
|
44316
|
-
(0,
|
|
44531
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:keydown')
|
|
44317
44532
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
44318
44533
|
__decorate([
|
|
44319
|
-
(0,
|
|
44534
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('button:keydown')
|
|
44320
44535
|
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
44321
44536
|
__decorate([
|
|
44322
|
-
|
|
44537
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44323
44538
|
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
44324
44539
|
__decorate([
|
|
44325
|
-
|
|
44540
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44326
44541
|
], ToolbarButton.prototype, "__onEditorKeyDown", null);
|
|
44327
44542
|
__decorate([
|
|
44328
|
-
|
|
44543
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44329
44544
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
44330
44545
|
__decorate([
|
|
44331
|
-
|
|
44546
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44332
44547
|
], ToolbarButton.prototype, "__closePopup", null);
|
|
44333
|
-
ToolbarButton = __decorate([
|
|
44334
|
-
|
|
44548
|
+
ToolbarButton = ToolbarButton_1 = __decorate([
|
|
44549
|
+
_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.component
|
|
44335
44550
|
], ToolbarButton);
|
|
44336
44551
|
|
|
44337
44552
|
|
|
@@ -45383,6 +45598,7 @@ function makeSelect(view, control) {
|
|
|
45383
45598
|
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19306);
|
|
45384
45599
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
45385
45600
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
45601
|
+
/* harmony import */ var _helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
45386
45602
|
function _array_like_to_array(arr, len) {
|
|
45387
45603
|
if (len == null || len > arr.length) len = arr.length;
|
|
45388
45604
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -45437,6 +45653,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45437
45653
|
|
|
45438
45654
|
|
|
45439
45655
|
|
|
45656
|
+
|
|
45440
45657
|
/**
|
|
45441
45658
|
* Module for processing download documents and images by Drag and Drop
|
|
45442
45659
|
* Drag and Drop files
|
|
@@ -45498,27 +45715,27 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.uploader = {
|
|
|
45498
45715
|
if (!(0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__.isJoditObject)(j)) {
|
|
45499
45716
|
return;
|
|
45500
45717
|
}
|
|
45501
|
-
|
|
45502
|
-
|
|
45503
|
-
|
|
45504
|
-
|
|
45505
|
-
|
|
45506
|
-
|
|
45507
|
-
|
|
45508
|
-
|
|
45509
|
-
|
|
45510
|
-
|
|
45511
|
-
|
|
45512
|
-
|
|
45513
|
-
|
|
45514
|
-
|
|
45515
|
-
|
|
45516
|
-
|
|
45517
|
-
|
|
45518
|
-
|
|
45519
|
-
|
|
45520
|
-
}
|
|
45521
|
-
}
|
|
45718
|
+
var baseurl = resp.baseurl;
|
|
45719
|
+
(0,_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(resp).forEach(function(param) {
|
|
45720
|
+
var file = param.file, isImage = param.isImage;
|
|
45721
|
+
var _ref = _sliced_to_array(isImage ? [
|
|
45722
|
+
'img',
|
|
45723
|
+
'src'
|
|
45724
|
+
] : [
|
|
45725
|
+
'a',
|
|
45726
|
+
'href'
|
|
45727
|
+
], 2), tagName = _ref[0], attrName = _ref[1];
|
|
45728
|
+
var elm = j.createInside.element(tagName);
|
|
45729
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, attrName, baseurl + file);
|
|
45730
|
+
if (tagName === 'a') {
|
|
45731
|
+
elm.textContent = j.o.uploader.getDisplayName.call(_this, baseurl, file);
|
|
45732
|
+
}
|
|
45733
|
+
if (tagName === 'img') {
|
|
45734
|
+
j.s.insertImage(elm, null, j.o.imageDefaultWidth);
|
|
45735
|
+
} else {
|
|
45736
|
+
j.s.insertNode(elm);
|
|
45737
|
+
}
|
|
45738
|
+
});
|
|
45522
45739
|
},
|
|
45523
45740
|
defaultHandlerError: function defaultHandlerError(e) {
|
|
45524
45741
|
this.j.message.error(e.message);
|
|
@@ -45641,17 +45858,19 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45641
45858
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
45642
45859
|
|
|
45643
45860
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45644
|
-
/* harmony export */ ajaxInstances: function() { return /* reexport safe */
|
|
45861
|
+
/* harmony export */ ajaxInstances: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.ajaxInstances; },
|
|
45645
45862
|
/* harmony export */ hasFiles: function() { return /* binding */ hasFiles; },
|
|
45646
45863
|
/* harmony export */ hasItems: function() { return /* binding */ hasItems; },
|
|
45647
|
-
/* harmony export */
|
|
45648
|
-
/* harmony export */
|
|
45649
|
-
/* harmony export */
|
|
45864
|
+
/* harmony export */ normalizeUploaderData: function() { return /* reexport safe */ _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__.normalizeUploaderData; },
|
|
45865
|
+
/* harmony export */ processOldBrowserDrag: function() { return /* reexport safe */ _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__.processOldBrowserDrag; },
|
|
45866
|
+
/* harmony export */ send: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.send; },
|
|
45867
|
+
/* harmony export */ sendFiles: function() { return /* reexport safe */ _send_files_js__WEBPACK_IMPORTED_MODULE_4__.sendFiles; }
|
|
45650
45868
|
/* harmony export */ });
|
|
45651
45869
|
/* harmony import */ var _build_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(83987);
|
|
45652
|
-
/* harmony import */ var
|
|
45653
|
-
/* harmony import */ var
|
|
45654
|
-
/* harmony import */ var
|
|
45870
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2073);
|
|
45871
|
+
/* harmony import */ var _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50373);
|
|
45872
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71686);
|
|
45873
|
+
/* harmony import */ var _send_files_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80020);
|
|
45655
45874
|
/*!
|
|
45656
45875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45657
45876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45661,6 +45880,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45661
45880
|
|
|
45662
45881
|
|
|
45663
45882
|
|
|
45883
|
+
|
|
45664
45884
|
function hasFiles(data) {
|
|
45665
45885
|
return Boolean(data && data.files && data.files.length > 0);
|
|
45666
45886
|
}
|
|
@@ -45669,6 +45889,136 @@ function hasItems(data) {
|
|
|
45669
45889
|
}
|
|
45670
45890
|
|
|
45671
45891
|
|
|
45892
|
+
/***/ }),
|
|
45893
|
+
|
|
45894
|
+
/***/ 2073:
|
|
45895
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
45896
|
+
|
|
45897
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45898
|
+
/* harmony export */ getItems: function() { return /* binding */ getItems; },
|
|
45899
|
+
/* harmony export */ normalizeUploaderData: function() { return /* binding */ normalizeUploaderData; }
|
|
45900
|
+
/* harmony export */ });
|
|
45901
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
45902
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70799);
|
|
45903
|
+
function _define_property(obj, key, value) {
|
|
45904
|
+
if (key in obj) {
|
|
45905
|
+
Object.defineProperty(obj, key, {
|
|
45906
|
+
value: value,
|
|
45907
|
+
enumerable: true,
|
|
45908
|
+
configurable: true,
|
|
45909
|
+
writable: true
|
|
45910
|
+
});
|
|
45911
|
+
} else obj[key] = value;
|
|
45912
|
+
return obj;
|
|
45913
|
+
}
|
|
45914
|
+
function _object_spread(target) {
|
|
45915
|
+
for(var i = 1; i < arguments.length; i++){
|
|
45916
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
45917
|
+
var ownKeys = Object.keys(source);
|
|
45918
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
45919
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
45920
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
45921
|
+
}));
|
|
45922
|
+
}
|
|
45923
|
+
ownKeys.forEach(function(key) {
|
|
45924
|
+
_define_property(target, key, source[key]);
|
|
45925
|
+
});
|
|
45926
|
+
}
|
|
45927
|
+
return target;
|
|
45928
|
+
}
|
|
45929
|
+
function ownKeys(object, enumerableOnly) {
|
|
45930
|
+
var keys = Object.keys(object);
|
|
45931
|
+
if (Object.getOwnPropertySymbols) {
|
|
45932
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
45933
|
+
if (enumerableOnly) {
|
|
45934
|
+
symbols = symbols.filter(function(sym) {
|
|
45935
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
45936
|
+
});
|
|
45937
|
+
}
|
|
45938
|
+
keys.push.apply(keys, symbols);
|
|
45939
|
+
}
|
|
45940
|
+
return keys;
|
|
45941
|
+
}
|
|
45942
|
+
function _object_spread_props(target, source) {
|
|
45943
|
+
source = source != null ? source : {};
|
|
45944
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
45945
|
+
else {
|
|
45946
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
45947
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45948
|
+
});
|
|
45949
|
+
}
|
|
45950
|
+
return target;
|
|
45951
|
+
}
|
|
45952
|
+
function _type_of(obj) {
|
|
45953
|
+
"@swc/helpers - typeof";
|
|
45954
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
45955
|
+
}
|
|
45956
|
+
/*!
|
|
45957
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45958
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
45959
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
45960
|
+
*/ ;
|
|
45961
|
+
|
|
45962
|
+
/**
|
|
45963
|
+
* The files in upload or file browser data, one object each. While the
|
|
45964
|
+
* deprecated `files` array is set, it and `isImages` and `fileNames` win
|
|
45965
|
+
* over `items`, so a handler that edits them and passes the data on to a
|
|
45966
|
+
* default handler still gets its edits inserted. A file browser that
|
|
45967
|
+
* passes only the arrays works too.
|
|
45968
|
+
*/ function getItems(data) {
|
|
45969
|
+
var files = data.files, isImages = data.isImages, fileNames = data.fileNames, items = data.items;
|
|
45970
|
+
if (!(0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files)) {
|
|
45971
|
+
return items !== null && items !== void 0 ? items : [];
|
|
45972
|
+
}
|
|
45973
|
+
return files.map(function(file, i) {
|
|
45974
|
+
var name = fileNames === null || fileNames === void 0 ? void 0 : fileNames[i];
|
|
45975
|
+
return _object_spread({
|
|
45976
|
+
file: file,
|
|
45977
|
+
isImage: Boolean(isImages === null || isImages === void 0 ? void 0 : isImages[i])
|
|
45978
|
+
}, name !== undefined ? {
|
|
45979
|
+
name: name
|
|
45980
|
+
} : {});
|
|
45981
|
+
});
|
|
45982
|
+
}
|
|
45983
|
+
/**
|
|
45984
|
+
* Gives the data both `items` and the deprecated `files`, `isImages` and
|
|
45985
|
+
* `fileNames` arrays, building whichever is missing, so a handler can read
|
|
45986
|
+
* either. When both are given, `items` is rebuilt from the arrays, as in
|
|
45987
|
+
* [[getItems]], unless `files` is empty and `items` isn't, as from a
|
|
45988
|
+
* `process` that spreads the server's answer and adds `items`. Anything but
|
|
45989
|
+
* an object, such as the `null` a custom `process` may return, is passed on
|
|
45990
|
+
* as it is.
|
|
45991
|
+
*/ function normalizeUploaderData(data) {
|
|
45992
|
+
if (!data || (typeof data === "undefined" ? "undefined" : _type_of(data)) !== 'object') {
|
|
45993
|
+
return data;
|
|
45994
|
+
}
|
|
45995
|
+
var files = data.files, items = data.items;
|
|
45996
|
+
if (!items || (0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files) && (files.length || !items.length)) {
|
|
45997
|
+
return _object_spread_props(_object_spread({}, data), {
|
|
45998
|
+
items: getItems(data)
|
|
45999
|
+
});
|
|
46000
|
+
}
|
|
46001
|
+
var names = items.map(function(param) {
|
|
46002
|
+
var name = param.name;
|
|
46003
|
+
return name;
|
|
46004
|
+
});
|
|
46005
|
+
return _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, data), {
|
|
46006
|
+
files: items.map(function(param) {
|
|
46007
|
+
var file = param.file;
|
|
46008
|
+
return file;
|
|
46009
|
+
}),
|
|
46010
|
+
isImages: items.map(function(param) {
|
|
46011
|
+
var isImage = param.isImage;
|
|
46012
|
+
return isImage;
|
|
46013
|
+
})
|
|
46014
|
+
}), names.every(_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__.isString) ? {
|
|
46015
|
+
fileNames: names
|
|
46016
|
+
} : {}), {
|
|
46017
|
+
items: items
|
|
46018
|
+
});
|
|
46019
|
+
}
|
|
46020
|
+
|
|
46021
|
+
|
|
45672
46022
|
/***/ }),
|
|
45673
46023
|
|
|
45674
46024
|
/***/ 50373:
|
|
@@ -45732,8 +46082,9 @@ function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFina
|
|
|
45732
46082
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
|
|
45733
46083
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70231);
|
|
45734
46084
|
/* harmony import */ var _dialog_prompt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36806);
|
|
45735
|
-
/* harmony import */ var
|
|
45736
|
-
/* harmony import */ var
|
|
46085
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
46086
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71686);
|
|
46087
|
+
/* harmony import */ var _upload_error_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76198);
|
|
45737
46088
|
function _array_like_to_array(arr, len) {
|
|
45738
46089
|
if (len == null || len > arr.length) len = arr.length;
|
|
45739
46090
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -45941,6 +46292,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45941
46292
|
|
|
45942
46293
|
|
|
45943
46294
|
|
|
46295
|
+
|
|
45944
46296
|
/**
|
|
45945
46297
|
* Send files to server
|
|
45946
46298
|
*/ function sendFiles(uploader, files, handlerSuccess, handlerError, process, // Set when a refused upload is sent again: `beforeUpload` already had its say
|
|
@@ -46055,13 +46407,13 @@ retryOf) {
|
|
|
46055
46407
|
});
|
|
46056
46408
|
}
|
|
46057
46409
|
o.prepareData.call(uploader, form);
|
|
46058
|
-
promises.push((0,
|
|
46410
|
+
promises.push((0,_send_js__WEBPACK_IMPORTED_MODULE_5__.send)(uploader, form).then(function(resp) {
|
|
46059
46411
|
if (o.isSuccess.call(uploader, resp)) {
|
|
46060
46412
|
var handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
|
|
46061
|
-
handler.call(uploader, o.process.call(uploader, resp));
|
|
46413
|
+
handler.call(uploader, (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
46062
46414
|
return resp;
|
|
46063
46415
|
}
|
|
46064
|
-
var err = new
|
|
46416
|
+
var err = new _upload_error_js__WEBPACK_IMPORTED_MODULE_6__.UploadError(o.getMessage.call(uploader, resp), resp, fileList, function(plan) {
|
|
46065
46417
|
var _a;
|
|
46066
46418
|
return sendFiles(uploader, (_a = plan === null || plan === void 0 ? void 0 : plan.files) !== null && _a !== void 0 ? _a : fileList, handlerSuccess, handlerError, process, {
|
|
46067
46419
|
data: _object_spread({}, extraData, plan === null || plan === void 0 ? void 0 : plan.data)
|
|
@@ -46143,18 +46495,16 @@ function readImagesWithReader(fileList, imagesExtensions, promises, uploader, ha
|
|
|
46143
46495
|
var readerPromise = uploader.j.async.promise(function(resolve, reject) {
|
|
46144
46496
|
reader.onerror = reject;
|
|
46145
46497
|
reader.onloadend = function() {
|
|
46146
|
-
var resp = {
|
|
46498
|
+
var resp = (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)({
|
|
46147
46499
|
baseurl: '',
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
fileNames: [
|
|
46155
|
-
name
|
|
46500
|
+
items: [
|
|
46501
|
+
{
|
|
46502
|
+
file: reader.result,
|
|
46503
|
+
isImage: true,
|
|
46504
|
+
name: name
|
|
46505
|
+
}
|
|
46156
46506
|
]
|
|
46157
|
-
};
|
|
46507
|
+
});
|
|
46158
46508
|
var handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : defaultHandlerSuccess;
|
|
46159
46509
|
handler.call(uploader, resp);
|
|
46160
46510
|
resolve(resp);
|
|
@@ -46540,11 +46890,10 @@ var Uploader = /*#__PURE__*/ function(ViewComponent) {
|
|
|
46540
46890
|
* ```javascript
|
|
46541
46891
|
* var $form = jQuery('<form><input type="text" typpe="file"></form>');
|
|
46542
46892
|
* jQuery('body').append($form);
|
|
46543
|
-
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (
|
|
46544
|
-
*
|
|
46545
|
-
*
|
|
46546
|
-
*
|
|
46547
|
-
* }
|
|
46893
|
+
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (data) {
|
|
46894
|
+
* data.items.forEach(function (item) {
|
|
46895
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
46896
|
+
* });
|
|
46548
46897
|
* });
|
|
46549
46898
|
* ```
|
|
46550
46899
|
*/ key: "bind",
|
|
@@ -46650,7 +46999,7 @@ var Uploader = /*#__PURE__*/ function(ViewComponent) {
|
|
|
46650
46999
|
var _a;
|
|
46651
47000
|
if (o.isSuccess.call(uploader, resp)) {
|
|
46652
47001
|
var handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
|
|
46653
|
-
handler.call(uploader, o.process.call(uploader, resp));
|
|
47002
|
+
handler.call(uploader, (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
46654
47003
|
return;
|
|
46655
47004
|
}
|
|
46656
47005
|
handlerE.call(uploader, (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__.answer)(o.getMessage.call(uploader, resp), resp, (_a = resp.data) === null || _a === void 0 ? void 0 : _a.code));
|
|
@@ -46676,6 +47025,7 @@ var Uploader = /*#__PURE__*/ function(ViewComponent) {
|
|
|
46676
47025
|
if (!settled) {
|
|
46677
47026
|
resolve({
|
|
46678
47027
|
baseurl: '',
|
|
47028
|
+
items: [],
|
|
46679
47029
|
files: [],
|
|
46680
47030
|
isImages: []
|
|
46681
47031
|
});
|
|
@@ -48620,40 +48970,41 @@ UiAiAssistant = __decorate([
|
|
|
48620
48970
|
/* harmony import */ var _limit_limit_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(91071);
|
|
48621
48971
|
/* harmony import */ var _line_height_line_height_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(61019);
|
|
48622
48972
|
/* harmony import */ var _link_link_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(65517);
|
|
48623
|
-
/* harmony import */ var
|
|
48624
|
-
/* harmony import */ var
|
|
48625
|
-
/* harmony import */ var
|
|
48626
|
-
/* harmony import */ var
|
|
48627
|
-
/* harmony import */ var
|
|
48628
|
-
/* harmony import */ var
|
|
48629
|
-
/* harmony import */ var
|
|
48630
|
-
/* harmony import */ var
|
|
48631
|
-
/* harmony import */ var
|
|
48632
|
-
/* harmony import */ var
|
|
48633
|
-
/* harmony import */ var
|
|
48634
|
-
/* harmony import */ var
|
|
48635
|
-
/* harmony import */ var
|
|
48636
|
-
/* harmony import */ var
|
|
48637
|
-
/* harmony import */ var
|
|
48638
|
-
/* harmony import */ var
|
|
48639
|
-
/* harmony import */ var
|
|
48640
|
-
/* harmony import */ var
|
|
48641
|
-
/* harmony import */ var
|
|
48642
|
-
/* harmony import */ var
|
|
48643
|
-
/* harmony import */ var
|
|
48644
|
-
/* harmony import */ var
|
|
48645
|
-
/* harmony import */ var
|
|
48646
|
-
/* harmony import */ var
|
|
48647
|
-
/* harmony import */ var
|
|
48648
|
-
/* harmony import */ var
|
|
48649
|
-
/* harmony import */ var
|
|
48650
|
-
/* harmony import */ var
|
|
48651
|
-
/* harmony import */ var
|
|
48652
|
-
/* harmony import */ var
|
|
48653
|
-
/* harmony import */ var
|
|
48654
|
-
/* harmony import */ var
|
|
48655
|
-
/* harmony import */ var
|
|
48656
|
-
/* harmony import */ var
|
|
48973
|
+
/* harmony import */ var _anchor_anchor_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(36911);
|
|
48974
|
+
/* harmony import */ var _media_media_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(20071);
|
|
48975
|
+
/* harmony import */ var _mobile_mobile_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(32309);
|
|
48976
|
+
/* harmony import */ var _ordered_list_ordered_list_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(64837);
|
|
48977
|
+
/* harmony import */ var _paste_paste_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(79799);
|
|
48978
|
+
/* harmony import */ var _paste_from_word_paste_from_word_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(31571);
|
|
48979
|
+
/* harmony import */ var _paste_storage_paste_storage_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(85407);
|
|
48980
|
+
/* harmony import */ var _placeholder_placeholder_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(59451);
|
|
48981
|
+
/* harmony import */ var _powered_by_jodit_powered_by_jodit_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(18363);
|
|
48982
|
+
/* harmony import */ var _preview_preview_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(8355);
|
|
48983
|
+
/* harmony import */ var _print_print_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(58519);
|
|
48984
|
+
/* harmony import */ var _redo_undo_redo_undo_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(6687);
|
|
48985
|
+
/* harmony import */ var _resize_cells_resize_cells_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(56113);
|
|
48986
|
+
/* harmony import */ var _resize_handler_resize_handler_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(9159);
|
|
48987
|
+
/* harmony import */ var _resizer_resizer_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(12019);
|
|
48988
|
+
/* harmony import */ var _search_search_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(36125);
|
|
48989
|
+
/* harmony import */ var _select_select_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(9881);
|
|
48990
|
+
/* harmony import */ var _select_cells_select_cells_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(28545);
|
|
48991
|
+
/* harmony import */ var _size_size_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(45927);
|
|
48992
|
+
/* harmony import */ var _source_source_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(52951);
|
|
48993
|
+
/* harmony import */ var _spellcheck_spellcheck_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(43809);
|
|
48994
|
+
/* harmony import */ var _stat_stat_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(7309);
|
|
48995
|
+
/* harmony import */ var _sticky_sticky_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(68687);
|
|
48996
|
+
/* harmony import */ var _symbols_symbols_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(59495);
|
|
48997
|
+
/* harmony import */ var _ai_assistant_ai_assistant_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(39627);
|
|
48998
|
+
/* harmony import */ var _tab_tab_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(767);
|
|
48999
|
+
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(43003);
|
|
49000
|
+
/* harmony import */ var _table_keyboard_navigation_table_keyboard_navigation_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(72439);
|
|
49001
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(94529);
|
|
49002
|
+
/* harmony import */ var _video_video_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(26551);
|
|
49003
|
+
/* harmony import */ var _video_properties_video_properties_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(96139);
|
|
49004
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(72253);
|
|
49005
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(65735);
|
|
49006
|
+
/* harmony import */ var _xpath_xpath_js__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(83671);
|
|
49007
|
+
/* harmony import */ var _speech_recognize_speech_recognize_js__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(3115);
|
|
48657
49008
|
/*!
|
|
48658
49009
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
48659
49010
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -48726,12 +49077,494 @@ UiAiAssistant = __decorate([
|
|
|
48726
49077
|
|
|
48727
49078
|
|
|
48728
49079
|
|
|
49080
|
+
|
|
48729
49081
|
|
|
48730
49082
|
|
|
48731
49083
|
// JODIT-START:FAT
|
|
48732
49084
|
// JODIT-END:FAT
|
|
48733
49085
|
|
|
48734
49086
|
|
|
49087
|
+
/***/ }),
|
|
49088
|
+
|
|
49089
|
+
/***/ 36911:
|
|
49090
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
49091
|
+
|
|
49092
|
+
/* unused harmony export anchor */
|
|
49093
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
49094
|
+
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
49095
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
|
|
49096
|
+
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
49097
|
+
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
49098
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
49099
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
49100
|
+
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2525);
|
|
49101
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50712);
|
|
49102
|
+
function _assert_this_initialized(self) {
|
|
49103
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
49104
|
+
return self;
|
|
49105
|
+
}
|
|
49106
|
+
function _call_super(_this, derived, args) {
|
|
49107
|
+
derived = _get_prototype_of(derived);
|
|
49108
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
49109
|
+
}
|
|
49110
|
+
function _class_call_check(instance, Constructor) {
|
|
49111
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
49112
|
+
}
|
|
49113
|
+
function _construct(Parent, args, Class) {
|
|
49114
|
+
if (_is_native_reflect_construct()) _construct = Reflect.construct;
|
|
49115
|
+
else {
|
|
49116
|
+
_construct = function construct(Parent, args, Class) {
|
|
49117
|
+
var a = [
|
|
49118
|
+
null
|
|
49119
|
+
];
|
|
49120
|
+
a.push.apply(a, args);
|
|
49121
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
49122
|
+
var instance = new Constructor();
|
|
49123
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
49124
|
+
return instance;
|
|
49125
|
+
};
|
|
49126
|
+
}
|
|
49127
|
+
return _construct.apply(null, arguments);
|
|
49128
|
+
}
|
|
49129
|
+
function _defineProperties(target, props) {
|
|
49130
|
+
for(var i = 0; i < props.length; i++){
|
|
49131
|
+
var descriptor = props[i];
|
|
49132
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
49133
|
+
descriptor.configurable = true;
|
|
49134
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
49135
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
49136
|
+
}
|
|
49137
|
+
}
|
|
49138
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
49139
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
49140
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
49141
|
+
return Constructor;
|
|
49142
|
+
}
|
|
49143
|
+
function _get_prototype_of(o) {
|
|
49144
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
49145
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
49146
|
+
};
|
|
49147
|
+
return _get_prototype_of(o);
|
|
49148
|
+
}
|
|
49149
|
+
function _inherits(subClass, superClass) {
|
|
49150
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
49151
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
49152
|
+
}
|
|
49153
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
49154
|
+
constructor: {
|
|
49155
|
+
value: subClass,
|
|
49156
|
+
writable: true,
|
|
49157
|
+
configurable: true
|
|
49158
|
+
}
|
|
49159
|
+
});
|
|
49160
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
49161
|
+
}
|
|
49162
|
+
function _is_native_function(fn) {
|
|
49163
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
49164
|
+
}
|
|
49165
|
+
function _is_native_reflect_construct() {
|
|
49166
|
+
try {
|
|
49167
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
49168
|
+
} catch (_) {}
|
|
49169
|
+
return (_is_native_reflect_construct = function() {
|
|
49170
|
+
return !!result;
|
|
49171
|
+
})();
|
|
49172
|
+
}
|
|
49173
|
+
function _possible_constructor_return(self, call) {
|
|
49174
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
49175
|
+
return _assert_this_initialized(self);
|
|
49176
|
+
}
|
|
49177
|
+
function _set_prototype_of(o, p) {
|
|
49178
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
49179
|
+
o.__proto__ = p;
|
|
49180
|
+
return o;
|
|
49181
|
+
};
|
|
49182
|
+
return _set_prototype_of(o, p);
|
|
49183
|
+
}
|
|
49184
|
+
function _type_of(obj) {
|
|
49185
|
+
"@swc/helpers - typeof";
|
|
49186
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
49187
|
+
}
|
|
49188
|
+
function _wrap_native_super(Class) {
|
|
49189
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
49190
|
+
_wrap_native_super = function(Class) {
|
|
49191
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
49192
|
+
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
49193
|
+
if (typeof _cache !== "undefined") {
|
|
49194
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
49195
|
+
_cache.set(Class, Wrapper);
|
|
49196
|
+
}
|
|
49197
|
+
function Wrapper() {
|
|
49198
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
49199
|
+
}
|
|
49200
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
49201
|
+
constructor: {
|
|
49202
|
+
value: Wrapper,
|
|
49203
|
+
enumerable: false,
|
|
49204
|
+
writable: true,
|
|
49205
|
+
configurable: true
|
|
49206
|
+
}
|
|
49207
|
+
});
|
|
49208
|
+
return _set_prototype_of(Wrapper, Class);
|
|
49209
|
+
};
|
|
49210
|
+
return _wrap_native_super(Class);
|
|
49211
|
+
}
|
|
49212
|
+
/*!
|
|
49213
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
49214
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
49215
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
49216
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
49217
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
49218
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
49219
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
49220
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
49221
|
+
};
|
|
49222
|
+
|
|
49223
|
+
|
|
49224
|
+
|
|
49225
|
+
|
|
49226
|
+
|
|
49227
|
+
|
|
49228
|
+
|
|
49229
|
+
|
|
49230
|
+
|
|
49231
|
+
var ICON = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e88e5' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E\")";
|
|
49232
|
+
var MARKER = [
|
|
49233
|
+
'id',
|
|
49234
|
+
'name'
|
|
49235
|
+
].map(function(key) {
|
|
49236
|
+
return ".jodit-wysiwyg a[".concat(key, "]:not([href]):empty::before");
|
|
49237
|
+
}).join(',');
|
|
49238
|
+
/**
|
|
49239
|
+
* Each anchor's marker, in the editing area only
|
|
49240
|
+
*/ var MARKER_STYLE = "".concat(MARKER, "{display:inline-block;width:.75em;height:1em;margin:0 .1em;vertical-align:-.15em;background:").concat(ICON, " center/contain no-repeat;cursor:pointer;content:''}");
|
|
49241
|
+
/**
|
|
49242
|
+
* The attribute `markAnchor` gives an anchor: an empty `<a>` with no `href`
|
|
49243
|
+
*/ var MARK = ' contenteditable="false"';
|
|
49244
|
+
/**
|
|
49245
|
+
* Inserts anchors, empty `<a id>` that links in the document reach as
|
|
49246
|
+
* `#name`, and renames and removes them
|
|
49247
|
+
*/ var anchor = /*#__PURE__*/ function(Plugin) {
|
|
49248
|
+
"use strict";
|
|
49249
|
+
_inherits(anchor, Plugin);
|
|
49250
|
+
function anchor() {
|
|
49251
|
+
_class_call_check(this, anchor);
|
|
49252
|
+
var _this;
|
|
49253
|
+
_this = _call_super(this, anchor, arguments);
|
|
49254
|
+
/** @override */ _this.buttons = [
|
|
49255
|
+
{
|
|
49256
|
+
name: 'anchor',
|
|
49257
|
+
group: 'insert'
|
|
49258
|
+
}
|
|
49259
|
+
];
|
|
49260
|
+
/**
|
|
49261
|
+
* The form in the anchor's own popup. The popup takes it out without
|
|
49262
|
+
* destructing it when it shows something else, so it goes when the next
|
|
49263
|
+
* one is made
|
|
49264
|
+
*/ _this.__form = null;
|
|
49265
|
+
return _this;
|
|
49266
|
+
}
|
|
49267
|
+
_create_class(anchor, [
|
|
49268
|
+
{
|
|
49269
|
+
/** @override */ key: "afterInit",
|
|
49270
|
+
value: function afterInit(jodit) {
|
|
49271
|
+
// It goes in the editing document, so iframe mode has it whatever `iframeStyle` holds
|
|
49272
|
+
;(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(jodit, 'anchor', 'style', true).textContent = MARKER_STYLE;
|
|
49273
|
+
jodit.e.on('generateAnchorForm.anchor', this.__generateForm).on('clickA touchstartA', this.__onClickA, {
|
|
49274
|
+
top: true
|
|
49275
|
+
});
|
|
49276
|
+
}
|
|
49277
|
+
},
|
|
49278
|
+
{
|
|
49279
|
+
/**
|
|
49280
|
+
* An anchor gets its own popup, in place of the link's
|
|
49281
|
+
*/ key: "__onClickA",
|
|
49282
|
+
value: function __onClickA(target, e) {
|
|
49283
|
+
var _a;
|
|
49284
|
+
var j = this.j;
|
|
49285
|
+
if (j.o.readonly || !(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target)) {
|
|
49286
|
+
return;
|
|
49287
|
+
}
|
|
49288
|
+
j.e.stopPropagation((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.camelCase)(((_a = e === null || e === void 0 ? void 0 : e.type) !== null && _a !== void 0 ? _a : 'click') + '_a'));
|
|
49289
|
+
// Afresh, so a form left with a change unsaved shows the name it has
|
|
49290
|
+
j.e.fire('showPopup', target, function() {
|
|
49291
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(target, j);
|
|
49292
|
+
}, 'anchor', true);
|
|
49293
|
+
return false;
|
|
49294
|
+
}
|
|
49295
|
+
},
|
|
49296
|
+
{
|
|
49297
|
+
/**
|
|
49298
|
+
* Anchors are uneditable in the editor, so typing beside one never goes
|
|
49299
|
+
* into it and it's deleted as a whole
|
|
49300
|
+
*/ key: "onChange",
|
|
49301
|
+
value: function onChange() {
|
|
49302
|
+
var j = this.j;
|
|
49303
|
+
if (j.isInDestruct || j.getMode() === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE) {
|
|
49304
|
+
return;
|
|
49305
|
+
}
|
|
49306
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(j.editor).forEach(markAnchor);
|
|
49307
|
+
}
|
|
49308
|
+
},
|
|
49309
|
+
{
|
|
49310
|
+
/**
|
|
49311
|
+
* The editor's own attribute stays out of the value
|
|
49312
|
+
*/ key: "onAfterGetValueFromEditor",
|
|
49313
|
+
value: function onAfterGetValueFromEditor(data) {
|
|
49314
|
+
data.value = unmarkAnchors(data.value);
|
|
49315
|
+
}
|
|
49316
|
+
},
|
|
49317
|
+
{
|
|
49318
|
+
/**
|
|
49319
|
+
* The form that names a new anchor, or renames or removes `target`
|
|
49320
|
+
*/ key: "__generateForm",
|
|
49321
|
+
value: function __generateForm(target, close) {
|
|
49322
|
+
var _this = this;
|
|
49323
|
+
var j = this.j;
|
|
49324
|
+
var current = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target) ? target : null;
|
|
49325
|
+
var input = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIInput(j, {
|
|
49326
|
+
name: 'name',
|
|
49327
|
+
ref: 'name_input',
|
|
49328
|
+
label: 'Anchor',
|
|
49329
|
+
required: true
|
|
49330
|
+
});
|
|
49331
|
+
var buttons = [
|
|
49332
|
+
new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
49333
|
+
name: 'insert',
|
|
49334
|
+
type: 'submit',
|
|
49335
|
+
variant: 'primary',
|
|
49336
|
+
text: current ? 'Update' : 'Insert'
|
|
49337
|
+
})
|
|
49338
|
+
];
|
|
49339
|
+
if (current) {
|
|
49340
|
+
input.value = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
49341
|
+
buttons.unshift(new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
49342
|
+
name: 'remove',
|
|
49343
|
+
variant: 'default',
|
|
49344
|
+
text: 'Remove'
|
|
49345
|
+
}).onAction(function() {
|
|
49346
|
+
if (!j.o.readonly) {
|
|
49347
|
+
j.s.restore();
|
|
49348
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(current);
|
|
49349
|
+
j.synchronizeValues();
|
|
49350
|
+
}
|
|
49351
|
+
close();
|
|
49352
|
+
}));
|
|
49353
|
+
}
|
|
49354
|
+
var form = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIForm(j, [
|
|
49355
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, [
|
|
49356
|
+
input
|
|
49357
|
+
]),
|
|
49358
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, buttons, {
|
|
49359
|
+
align: 'full'
|
|
49360
|
+
})
|
|
49361
|
+
]);
|
|
49362
|
+
if (current) {
|
|
49363
|
+
this.__dropForm();
|
|
49364
|
+
this.__form = form;
|
|
49365
|
+
// The toolbar's popup closes on Escape by itself; the anchor's own doesn't
|
|
49366
|
+
j.e.on(form.container, 'keydown', function(e) {
|
|
49367
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
49368
|
+
close();
|
|
49369
|
+
j.s.restore();
|
|
49370
|
+
}
|
|
49371
|
+
});
|
|
49372
|
+
}
|
|
49373
|
+
form.onSubmit(function() {
|
|
49374
|
+
// The editor can turn readonly while the form is open
|
|
49375
|
+
if (j.o.readonly) {
|
|
49376
|
+
close();
|
|
49377
|
+
return false;
|
|
49378
|
+
}
|
|
49379
|
+
var name = input.value.trim().replace(/^#/, '');
|
|
49380
|
+
var error = !name ? 'Please fill out this field' : /\s/.test(name) ? 'The name cannot contain spaces' : _this.__isTaken(name, current) ? 'This name is already in use' : '';
|
|
49381
|
+
if (error) {
|
|
49382
|
+
input.error = error;
|
|
49383
|
+
input.focus();
|
|
49384
|
+
return false;
|
|
49385
|
+
}
|
|
49386
|
+
j.s.restore();
|
|
49387
|
+
if (current) {
|
|
49388
|
+
_this.__rename(current, name);
|
|
49389
|
+
} else {
|
|
49390
|
+
_this.__insert(name);
|
|
49391
|
+
}
|
|
49392
|
+
j.synchronizeValues();
|
|
49393
|
+
close();
|
|
49394
|
+
return false;
|
|
49395
|
+
});
|
|
49396
|
+
j.async.requestIdleCallback(function() {
|
|
49397
|
+
return input.focus();
|
|
49398
|
+
});
|
|
49399
|
+
return form;
|
|
49400
|
+
}
|
|
49401
|
+
},
|
|
49402
|
+
{
|
|
49403
|
+
key: "__dropForm",
|
|
49404
|
+
value: function __dropForm() {
|
|
49405
|
+
var form = this.__form;
|
|
49406
|
+
this.__form = null;
|
|
49407
|
+
if (form && !form.isInDestruct) {
|
|
49408
|
+
this.j.e.off(form.container, 'keydown');
|
|
49409
|
+
form.destruct();
|
|
49410
|
+
}
|
|
49411
|
+
}
|
|
49412
|
+
},
|
|
49413
|
+
{
|
|
49414
|
+
/**
|
|
49415
|
+
* Another element in the document has the name as its `id`, or another
|
|
49416
|
+
* anchor as its `name`
|
|
49417
|
+
*/ key: "__isTaken",
|
|
49418
|
+
value: function __isTaken(name, current) {
|
|
49419
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('[id], a[name]')).some(function(elm) {
|
|
49420
|
+
return elm !== current && (elm.id === name || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(elm) && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, 'name') === name);
|
|
49421
|
+
});
|
|
49422
|
+
}
|
|
49423
|
+
},
|
|
49424
|
+
{
|
|
49425
|
+
/**
|
|
49426
|
+
* At the caret, or at the start of the selection. An anchor can't go in
|
|
49427
|
+
* a link, so in one it goes just before it
|
|
49428
|
+
*/ key: "__insert",
|
|
49429
|
+
value: function __insert(name) {
|
|
49430
|
+
var j = this.j;
|
|
49431
|
+
var _$anchor = j.createInside.element('a', {
|
|
49432
|
+
id: name
|
|
49433
|
+
});
|
|
49434
|
+
var range = j.s.range;
|
|
49435
|
+
markAnchor(_$anchor);
|
|
49436
|
+
if (!range.collapsed) {
|
|
49437
|
+
range.collapse(true);
|
|
49438
|
+
j.s.selectRange(range);
|
|
49439
|
+
}
|
|
49440
|
+
var link = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(range.startContainer, 'a', j.editor);
|
|
49441
|
+
if (link) {
|
|
49442
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.before(link, _$anchor);
|
|
49443
|
+
j.s.setCursorAfter(_$anchor);
|
|
49444
|
+
} else {
|
|
49445
|
+
j.s.insertNode(_$anchor, true, false);
|
|
49446
|
+
}
|
|
49447
|
+
}
|
|
49448
|
+
},
|
|
49449
|
+
{
|
|
49450
|
+
/**
|
|
49451
|
+
* Gives the anchor the new name in whichever of `id` and `name` it has,
|
|
49452
|
+
* and the links to it the new `#name`, unless they still reach
|
|
49453
|
+
* something else by the old one, as they do after a copy is pasted
|
|
49454
|
+
*/ key: "__rename",
|
|
49455
|
+
value: function __rename(current, name) {
|
|
49456
|
+
var old = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
49457
|
+
var shared = this.__isTaken(old, current);
|
|
49458
|
+
[
|
|
49459
|
+
'id',
|
|
49460
|
+
'name'
|
|
49461
|
+
].forEach(function(key) {
|
|
49462
|
+
if (current.hasAttribute(key)) {
|
|
49463
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(current, key, name);
|
|
49464
|
+
}
|
|
49465
|
+
});
|
|
49466
|
+
if (shared) {
|
|
49467
|
+
return;
|
|
49468
|
+
}
|
|
49469
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('a[href]')).forEach(function(link) {
|
|
49470
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href') === '#' + old) {
|
|
49471
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href', '#' + name);
|
|
49472
|
+
}
|
|
49473
|
+
});
|
|
49474
|
+
}
|
|
49475
|
+
},
|
|
49476
|
+
{
|
|
49477
|
+
/** @override */ key: "beforeDestruct",
|
|
49478
|
+
value: function beforeDestruct(jodit) {
|
|
49479
|
+
this.__dropForm();
|
|
49480
|
+
jodit.e.off('generateAnchorForm.anchor', this.__generateForm).off('clickA touchstartA', this.__onClickA);
|
|
49481
|
+
}
|
|
49482
|
+
}
|
|
49483
|
+
]);
|
|
49484
|
+
return anchor;
|
|
49485
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin));
|
|
49486
|
+
__decorate([
|
|
49487
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
49488
|
+
], anchor.prototype, "__onClickA", null);
|
|
49489
|
+
__decorate([
|
|
49490
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
49491
|
+
':change',
|
|
49492
|
+
':afterInit',
|
|
49493
|
+
':afterSetMode'
|
|
49494
|
+
]),
|
|
49495
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
49496
|
+
], anchor.prototype, "onChange", null);
|
|
49497
|
+
__decorate([
|
|
49498
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterGetValueFromEditor')
|
|
49499
|
+
], anchor.prototype, "onAfterGetValueFromEditor", null);
|
|
49500
|
+
__decorate([
|
|
49501
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
49502
|
+
], anchor.prototype, "__generateForm", null);
|
|
49503
|
+
function markAnchor(anchor) {
|
|
49504
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable') !== 'false') {
|
|
49505
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable', false);
|
|
49506
|
+
}
|
|
49507
|
+
}
|
|
49508
|
+
/**
|
|
49509
|
+
* Takes `MARK` off each anchor in one pass over the tags, as a regex with
|
|
49510
|
+
* `[^>]*` backtracks quadratically on a long run of `<a` (CWE-1333)
|
|
49511
|
+
*/ function unmarkAnchors(html) {
|
|
49512
|
+
if (!html.includes(MARK)) {
|
|
49513
|
+
return html;
|
|
49514
|
+
}
|
|
49515
|
+
var result = '';
|
|
49516
|
+
var copied = 0;
|
|
49517
|
+
var cursor = 0;
|
|
49518
|
+
for(;;){
|
|
49519
|
+
var start = html.indexOf('<', cursor);
|
|
49520
|
+
if (start === -1) {
|
|
49521
|
+
break;
|
|
49522
|
+
}
|
|
49523
|
+
var end = html.indexOf('>', start);
|
|
49524
|
+
if (end === -1) {
|
|
49525
|
+
break;
|
|
49526
|
+
}
|
|
49527
|
+
if (html.startsWith('<a', start) && /\s/.test(html.charAt(start + 2)) && html.startsWith('</a>', end + 1)) {
|
|
49528
|
+
var tag = html.slice(start, end);
|
|
49529
|
+
var at = tag.indexOf(MARK);
|
|
49530
|
+
if (at !== -1 && !/\shref=/.test(tag)) {
|
|
49531
|
+
result += html.slice(copied, start + at);
|
|
49532
|
+
copied = start + at + MARK.length;
|
|
49533
|
+
}
|
|
49534
|
+
}
|
|
49535
|
+
// Past the whole tag, so an `<a` inside one of its attributes is never read as a tag
|
|
49536
|
+
cursor = end + 1;
|
|
49537
|
+
}
|
|
49538
|
+
return copied === 0 ? html : result + html.slice(copied);
|
|
49539
|
+
}
|
|
49540
|
+
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('anchor', anchor);
|
|
49541
|
+
|
|
49542
|
+
|
|
49543
|
+
/***/ }),
|
|
49544
|
+
|
|
49545
|
+
/***/ 50712:
|
|
49546
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
49547
|
+
|
|
49548
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6441);
|
|
49549
|
+
/* harmony import */ var _inline_popup_config_config_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24526);
|
|
49550
|
+
/*!
|
|
49551
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
49552
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
49553
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
49554
|
+
*/
|
|
49555
|
+
// The anchor's popup goes in its list
|
|
49556
|
+
|
|
49557
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.anchor = {
|
|
49558
|
+
popup: function popup(editor, current, close) {
|
|
49559
|
+
return editor.e.fire('generateAnchorForm.anchor', null, close);
|
|
49560
|
+
},
|
|
49561
|
+
tooltip: 'Insert anchor'
|
|
49562
|
+
};
|
|
49563
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.popup.anchor = function(editor, target, close) {
|
|
49564
|
+
return editor.e.fire('generateAnchorForm.anchor', target, close);
|
|
49565
|
+
};
|
|
49566
|
+
|
|
49567
|
+
|
|
48735
49568
|
/***/ }),
|
|
48736
49569
|
|
|
48737
49570
|
/***/ 93183:
|
|
@@ -56078,7 +56911,8 @@ function brBefore(start) {
|
|
|
56078
56911
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
|
|
56079
56912
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
56080
56913
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
56081
|
-
/* harmony import */ var
|
|
56914
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
56915
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92762);
|
|
56082
56916
|
/*!
|
|
56083
56917
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
56084
56918
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -56088,6 +56922,7 @@ function brBefore(start) {
|
|
|
56088
56922
|
|
|
56089
56923
|
|
|
56090
56924
|
|
|
56925
|
+
|
|
56091
56926
|
/**
|
|
56092
56927
|
* Selected text becomes the link's text, as the Link button does, instead
|
|
56093
56928
|
* of being replaced by the file's name. Returns false with nothing selected
|
|
@@ -56111,16 +56946,17 @@ function brBefore(start) {
|
|
|
56111
56946
|
}
|
|
56112
56947
|
function insertLinks(data) {
|
|
56113
56948
|
var _this = this;
|
|
56114
|
-
var
|
|
56115
|
-
(
|
|
56116
|
-
var
|
|
56949
|
+
var baseurl = data.baseurl;
|
|
56950
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(function(param) {
|
|
56951
|
+
var _$file = param.file;
|
|
56952
|
+
var href = baseurl + _$file;
|
|
56117
56953
|
if (wrapSelectionInLink(_this, href)) {
|
|
56118
56954
|
return;
|
|
56119
56955
|
}
|
|
56120
56956
|
var link = _this.createInside.element('a', {
|
|
56121
56957
|
href: href
|
|
56122
56958
|
});
|
|
56123
|
-
link.textContent = _this.o.uploader.getDisplayName.call(_this.uploader,
|
|
56959
|
+
link.textContent = _this.o.uploader.getDisplayName.call(_this.uploader, baseurl, _$file);
|
|
56124
56960
|
_this.s.insertNode(link);
|
|
56125
56961
|
});
|
|
56126
56962
|
}
|
|
@@ -56149,10 +56985,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.file = {
|
|
|
56149
56985
|
if (current && (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(current, 'a') || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(current, 'a', editor.editor))) {
|
|
56150
56986
|
sourceAnchor = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(current, 'a') ? current : _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(current, 'a', editor.editor);
|
|
56151
56987
|
}
|
|
56152
|
-
return (0,
|
|
56988
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__.FileSelectorWidget)(editor, {
|
|
56153
56989
|
filebrowser: function filebrowser(data) {
|
|
56154
|
-
|
|
56155
|
-
|
|
56990
|
+
;(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(function(param) {
|
|
56991
|
+
var _$file = param.file;
|
|
56992
|
+
return insert(data.baseurl + _$file);
|
|
56156
56993
|
});
|
|
56157
56994
|
close();
|
|
56158
56995
|
},
|
|
@@ -59365,10 +60202,9 @@ var PLACEHOLDER = 'data-jodit-placeholder';
|
|
|
59365
60202
|
return fresh ? _this.__restore(fresh) : _this.__uncaption(wrapper, image);
|
|
59366
60203
|
});
|
|
59367
60204
|
// The click opened the image's popup below the caption, so it
|
|
59368
|
-
//
|
|
60205
|
+
// moves below the image, as after the popup's Caption button
|
|
59369
60206
|
if (clicked) {
|
|
59370
60207
|
j.e.fire('recalcPositionPopup');
|
|
59371
|
-
j.e.fire('closeAllPopups');
|
|
59372
60208
|
}
|
|
59373
60209
|
}, 1);
|
|
59374
60210
|
}
|
|
@@ -62836,10 +63672,18 @@ UIImagePositionTab = __decorate([
|
|
|
62836
63672
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
62837
63673
|
/* harmony export */ openImagePopup: function() { return /* binding */ openImagePopup; }
|
|
62838
63674
|
/* harmony export */ });
|
|
62839
|
-
/* harmony import */ var
|
|
62840
|
-
/* harmony import */ var
|
|
62841
|
-
/* harmony import */ var
|
|
63675
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5700);
|
|
63676
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56917);
|
|
63677
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2073);
|
|
62842
63678
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34793);
|
|
63679
|
+
function _array_like_to_array(arr, len) {
|
|
63680
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
63681
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
63682
|
+
return arr2;
|
|
63683
|
+
}
|
|
63684
|
+
function _array_with_holes(arr) {
|
|
63685
|
+
if (Array.isArray(arr)) return arr;
|
|
63686
|
+
}
|
|
62843
63687
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
62844
63688
|
try {
|
|
62845
63689
|
var info = gen[key](arg);
|
|
@@ -62866,6 +63710,36 @@ function _async_to_generator(fn) {
|
|
|
62866
63710
|
});
|
|
62867
63711
|
};
|
|
62868
63712
|
}
|
|
63713
|
+
function _iterable_to_array_limit(arr, i) {
|
|
63714
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
63715
|
+
if (_i == null) return;
|
|
63716
|
+
var _arr = [];
|
|
63717
|
+
var _n = true;
|
|
63718
|
+
var _d = false;
|
|
63719
|
+
var _s, _e;
|
|
63720
|
+
try {
|
|
63721
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
63722
|
+
_arr.push(_s.value);
|
|
63723
|
+
if (i && _arr.length === i) break;
|
|
63724
|
+
}
|
|
63725
|
+
} catch (err) {
|
|
63726
|
+
_d = true;
|
|
63727
|
+
_e = err;
|
|
63728
|
+
} finally{
|
|
63729
|
+
try {
|
|
63730
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
63731
|
+
} finally{
|
|
63732
|
+
if (_d) throw _e;
|
|
63733
|
+
}
|
|
63734
|
+
}
|
|
63735
|
+
return _arr;
|
|
63736
|
+
}
|
|
63737
|
+
function _non_iterable_rest() {
|
|
63738
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
63739
|
+
}
|
|
63740
|
+
function _sliced_to_array(arr, i) {
|
|
63741
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
63742
|
+
}
|
|
62869
63743
|
function _ts_generator(thisArg, body) {
|
|
62870
63744
|
var f, y, t, _ = {
|
|
62871
63745
|
label: 0,
|
|
@@ -62965,6 +63839,14 @@ function _ts_generator(thisArg, body) {
|
|
|
62965
63839
|
};
|
|
62966
63840
|
}
|
|
62967
63841
|
}
|
|
63842
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
63843
|
+
if (!o) return;
|
|
63844
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
63845
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
63846
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
63847
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
63848
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
63849
|
+
}
|
|
62968
63850
|
/*!
|
|
62969
63851
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
62970
63852
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -62974,23 +63856,26 @@ function _ts_generator(thisArg, body) {
|
|
|
62974
63856
|
|
|
62975
63857
|
|
|
62976
63858
|
/** @private */ function openImagePopup(j, dialog, state, button) {
|
|
62977
|
-
var popup = new
|
|
63859
|
+
var popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__.Popup(dialog);
|
|
62978
63860
|
var closePopup = function closePopup() {
|
|
62979
63861
|
popup.close();
|
|
62980
63862
|
popup.destruct();
|
|
62981
63863
|
};
|
|
62982
63864
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__.FileSelectorWidget)(j, {
|
|
62983
63865
|
upload: function upload(data) {
|
|
62984
|
-
|
|
62985
|
-
|
|
63866
|
+
var _getItems = _sliced_to_array((0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data), 1), item = _getItems[0];
|
|
63867
|
+
if (item) {
|
|
63868
|
+
state.values.imageSrc = data.baseurl + item.file;
|
|
62986
63869
|
}
|
|
62987
63870
|
closePopup();
|
|
62988
63871
|
},
|
|
62989
63872
|
filebrowser: function filebrowser(data) {
|
|
62990
63873
|
return _async_to_generator(function() {
|
|
63874
|
+
var _ref, item;
|
|
62991
63875
|
return _ts_generator(this, function(_state) {
|
|
62992
|
-
|
|
62993
|
-
|
|
63876
|
+
_ref = _sliced_to_array(data ? (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data) : [], 1), item = _ref[0];
|
|
63877
|
+
if (item) {
|
|
63878
|
+
state.values.imageSrc = item.file;
|
|
62994
63879
|
closePopup();
|
|
62995
63880
|
}
|
|
62996
63881
|
return [
|
|
@@ -63000,7 +63885,7 @@ function _ts_generator(thisArg, body) {
|
|
|
63000
63885
|
})();
|
|
63001
63886
|
}
|
|
63002
63887
|
}, state.image, closePopup)).open(function() {
|
|
63003
|
-
return (0,
|
|
63888
|
+
return (0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__.position)(button);
|
|
63004
63889
|
});
|
|
63005
63890
|
}
|
|
63006
63891
|
|
|
@@ -63294,8 +64179,9 @@ function _ts_generator(thisArg, body) {
|
|
|
63294
64179
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29960);
|
|
63295
64180
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12153);
|
|
63296
64181
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
|
|
63297
|
-
/* harmony import */ var
|
|
63298
|
-
/* harmony import */ var
|
|
64182
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2073);
|
|
64183
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92762);
|
|
64184
|
+
/* harmony import */ var _image_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25179);
|
|
63299
64185
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
63300
64186
|
try {
|
|
63301
64187
|
var info = gen[key](arg);
|
|
@@ -63433,7 +64319,8 @@ function _ts_generator(thisArg, body) {
|
|
|
63433
64319
|
|
|
63434
64320
|
|
|
63435
64321
|
|
|
63436
|
-
|
|
64322
|
+
|
|
64323
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__.Icon.set('image', _image_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
|
|
63437
64324
|
_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
63438
64325
|
popup: function popup(editor, current, close) {
|
|
63439
64326
|
var sourceImage = null;
|
|
@@ -63441,10 +64328,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
|
63441
64328
|
sourceImage = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(current, 'img') ? current : (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
63442
64329
|
}
|
|
63443
64330
|
editor.s.save();
|
|
63444
|
-
return (0,
|
|
64331
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__.FileSelectorWidget)(editor, {
|
|
63445
64332
|
filebrowser: function filebrowser(data) {
|
|
63446
64333
|
editor.s.restore();
|
|
63447
|
-
|
|
64334
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__.getItems)(data).forEach(function(param) {
|
|
64335
|
+
var file = param.file;
|
|
63448
64336
|
return editor.s.insertImage(data.baseurl + file, null, editor.o.imageDefaultWidth);
|
|
63449
64337
|
});
|
|
63450
64338
|
close();
|
|
@@ -63817,6 +64705,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
63817
64705
|
|
|
63818
64706
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInline = true;
|
|
63819
64707
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineForSelection = false;
|
|
64708
|
+
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineKeepOpen = true;
|
|
63820
64709
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisableFor = [];
|
|
63821
64710
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisabledButtons = [
|
|
63822
64711
|
'source'
|
|
@@ -63902,60 +64791,12 @@ var isSafeHref = function isSafeHref(href) {
|
|
|
63902
64791
|
|
|
63903
64792
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
63904
64793
|
/* harmony import */ var _core_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27613);
|
|
63905
|
-
/* harmony import */ var
|
|
63906
|
-
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41180);
|
|
63907
|
-
function _array_like_to_array(arr, len) {
|
|
63908
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
63909
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
63910
|
-
return arr2;
|
|
63911
|
-
}
|
|
63912
|
-
function _array_with_holes(arr) {
|
|
63913
|
-
if (Array.isArray(arr)) return arr;
|
|
63914
|
-
}
|
|
63915
|
-
function _iterable_to_array_limit(arr, i) {
|
|
63916
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
63917
|
-
if (_i == null) return;
|
|
63918
|
-
var _arr = [];
|
|
63919
|
-
var _n = true;
|
|
63920
|
-
var _d = false;
|
|
63921
|
-
var _s, _e;
|
|
63922
|
-
try {
|
|
63923
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
63924
|
-
_arr.push(_s.value);
|
|
63925
|
-
if (i && _arr.length === i) break;
|
|
63926
|
-
}
|
|
63927
|
-
} catch (err) {
|
|
63928
|
-
_d = true;
|
|
63929
|
-
_e = err;
|
|
63930
|
-
} finally{
|
|
63931
|
-
try {
|
|
63932
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
63933
|
-
} finally{
|
|
63934
|
-
if (_d) throw _e;
|
|
63935
|
-
}
|
|
63936
|
-
}
|
|
63937
|
-
return _arr;
|
|
63938
|
-
}
|
|
63939
|
-
function _non_iterable_rest() {
|
|
63940
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
63941
|
-
}
|
|
63942
|
-
function _sliced_to_array(arr, i) {
|
|
63943
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
63944
|
-
}
|
|
63945
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
63946
|
-
if (!o) return;
|
|
63947
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
63948
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
63949
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
63950
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
63951
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
63952
|
-
}
|
|
64794
|
+
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
|
|
63953
64795
|
/*!
|
|
63954
64796
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
63955
64797
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
63956
64798
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
63957
|
-
*/
|
|
63958
|
-
|
|
64799
|
+
*/
|
|
63959
64800
|
|
|
63960
64801
|
|
|
63961
64802
|
var cmd = function cmd(control) {
|
|
@@ -63978,7 +64819,7 @@ var cmd = function cmd(control) {
|
|
|
63978
64819
|
var control = param.control;
|
|
63979
64820
|
var command = cmd(control);
|
|
63980
64821
|
editor.getInstance('Table', editor.o).getAllSelectedCells().forEach(function(cell) {
|
|
63981
|
-
(0,
|
|
64822
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(cell, 'vertical-align', command === 'normal' ? '' : command);
|
|
63982
64823
|
});
|
|
63983
64824
|
},
|
|
63984
64825
|
tooltip: 'Vertical align'
|
|
@@ -64046,15 +64887,6 @@ var cmd = function cmd(control) {
|
|
|
64046
64887
|
return;
|
|
64047
64888
|
}
|
|
64048
64889
|
editor.execCommand('tableheaderrow', false, table);
|
|
64049
|
-
var _editor_getInstance_getAllSelectedCells = _sliced_to_array(editor.getInstance('Table', editor.o).getAllSelectedCells(), 1), cell = _editor_getInstance_getAllSelectedCells[0];
|
|
64050
|
-
// Beside the cell that replaced the one it opened for
|
|
64051
|
-
if (cell) {
|
|
64052
|
-
editor.e.fire('showPopup', table, function() {
|
|
64053
|
-
return (0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_2__.position)(cell, editor);
|
|
64054
|
-
}, 'cells');
|
|
64055
|
-
}
|
|
64056
|
-
// The popup stays open, so the button shows the new state
|
|
64057
|
-
return true;
|
|
64058
64890
|
},
|
|
64059
64891
|
isActive: function isActive(editor, button) {
|
|
64060
64892
|
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(button.target, 'table') && editor.getInstance('Table', editor.o).hasHeaderRow(button.target);
|
|
@@ -64307,7 +65139,7 @@ var align = {
|
|
|
64307
65139
|
var caption = editor.e.fire('toggleImageCaption', image);
|
|
64308
65140
|
editor.synchronizeValues();
|
|
64309
65141
|
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(caption)) {
|
|
64310
|
-
editor.e.fire('hideResizer');
|
|
65142
|
+
editor.e.fire('hidePopup hideResizer');
|
|
64311
65143
|
editor.s.setCursorIn(caption);
|
|
64312
65144
|
} else {
|
|
64313
65145
|
editor.e.fire('recalcPositionPopup');
|
|
@@ -64697,16 +65529,6 @@ function _wrap_native_super(Class) {
|
|
|
64697
65529
|
var _this;
|
|
64698
65530
|
_this = _call_super(this, inlinePopup, arguments);
|
|
64699
65531
|
_this.type = null;
|
|
64700
|
-
/**
|
|
64701
|
-
* The user pressed a button inside the selection toolbar — after the
|
|
64702
|
-
* command fires `closeAllPopups`, the toolbar should be shown again
|
|
64703
|
-
* while the selection is still there. See #1238
|
|
64704
|
-
*/ _this.__reopenSelectionPopup = false;
|
|
64705
|
-
/**
|
|
64706
|
-
* The alignment controls fire `recalcPositionPopup` once they have moved
|
|
64707
|
-
* the element, and their button then fires `closeAllPopups`. The popup
|
|
64708
|
-
* opens again beside the element, as the selection toolbar does
|
|
64709
|
-
*/ _this.__reopenFor = null;
|
|
64710
65532
|
_this.snapRange = null;
|
|
64711
65533
|
_this.__keyDownElement = null;
|
|
64712
65534
|
_this.elmsList = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.keys)(_this.j.o.popup, false).filter(function(s) {
|
|
@@ -64718,7 +65540,9 @@ function _wrap_native_super(Class) {
|
|
|
64718
65540
|
{
|
|
64719
65541
|
key: "popup",
|
|
64720
65542
|
get: function get() {
|
|
64721
|
-
|
|
65543
|
+
var popup = new _core_ui_popup_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.jodit, false);
|
|
65544
|
+
popup.keepOpen = this.j.o.toolbarInlineKeepOpen;
|
|
65545
|
+
return popup;
|
|
64722
65546
|
}
|
|
64723
65547
|
},
|
|
64724
65548
|
{
|
|
@@ -64738,9 +65562,11 @@ function _wrap_native_super(Class) {
|
|
|
64738
65562
|
var isMedia = type === 'jodit-media';
|
|
64739
65563
|
// Beside the media in a wrapper kept in the content, which can fill
|
|
64740
65564
|
// the line, and below a captioned image's caption, so it stays in view
|
|
64741
|
-
var bound =
|
|
65565
|
+
var bound = function bound() {
|
|
65566
|
+
return mediaWrapper && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.getWrappedMedia)(_this.j, mediaWrapper) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.getCaptionWrapper)(_this.j, target) || target;
|
|
65567
|
+
};
|
|
64742
65568
|
this.showPopup(function() {
|
|
64743
|
-
return _this.__bound(bound, isMedia);
|
|
65569
|
+
return _this.__bound(bound(), isMedia);
|
|
64744
65570
|
}, type, target);
|
|
64745
65571
|
return false;
|
|
64746
65572
|
}
|
|
@@ -64769,14 +65595,23 @@ function _wrap_native_super(Class) {
|
|
|
64769
65595
|
* Show inline popup with some toolbar
|
|
64770
65596
|
*
|
|
64771
65597
|
* @param type - selection, img, a etc.
|
|
65598
|
+
* @param force - make the popup again for the same target
|
|
64772
65599
|
*/ key: "showPopup",
|
|
64773
65600
|
value: function showPopup(rect, type, target) {
|
|
65601
|
+
var _this = this;
|
|
65602
|
+
var force = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
|
|
64774
65603
|
type = type.toLowerCase();
|
|
64775
65604
|
if (!this.canShowPopupForType(type)) {
|
|
64776
65605
|
return false;
|
|
64777
65606
|
}
|
|
64778
|
-
if (this.type !== type || target !== this.previousTarget) {
|
|
65607
|
+
if (force || this.type !== type || target !== this.previousTarget) {
|
|
64779
65608
|
this.previousTarget = target;
|
|
65609
|
+
// What it showed is taken out, not destructed: an element a
|
|
65610
|
+
// function returns is its own, and may be shown again
|
|
65611
|
+
this.popup.elements.slice().forEach(function(elm) {
|
|
65612
|
+
return _this.popup.remove(elm);
|
|
65613
|
+
});
|
|
65614
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.detach(this.popup.getElm('content'));
|
|
64780
65615
|
var data = this.j.o.popup[type];
|
|
64781
65616
|
var content;
|
|
64782
65617
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(data)) {
|
|
@@ -64888,71 +65723,31 @@ function _wrap_native_super(Class) {
|
|
|
64888
65723
|
return name && name !== '|' && name !== '\n' && !names.includes(name);
|
|
64889
65724
|
});
|
|
64890
65725
|
}
|
|
64891
|
-
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', function(elm, rect, type) {
|
|
64892
|
-
_this.showPopup(rect, type || ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? elm : elm.nodeName), (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? undefined : elm);
|
|
65726
|
+
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', function(elm, rect, type, force) {
|
|
65727
|
+
_this.showPopup(rect, type || ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? elm : elm.nodeName), (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? undefined : elm, force);
|
|
64893
65728
|
}).on('mousedown keydown', this.onSelectionStart).on('change', function() {
|
|
64894
|
-
if (_this.popup.isOpened
|
|
65729
|
+
if (!_this.popup.isOpened) {
|
|
65730
|
+
return;
|
|
65731
|
+
}
|
|
65732
|
+
if (_this.previousTarget && !_this.previousTarget.parentNode) {
|
|
64895
65733
|
_this.hidePopup();
|
|
64896
65734
|
_this.previousTarget = undefined;
|
|
65735
|
+
} else if (_this.type === 'selection' && !_this.__hasSelectedContent()) {
|
|
65736
|
+
_this.hidePopup();
|
|
64897
65737
|
}
|
|
64898
65738
|
}).on([
|
|
64899
65739
|
this.j.ew,
|
|
64900
65740
|
this.j.ow
|
|
64901
|
-
], 'mouseup keyup', this.onSelectionEnd)
|
|
64902
|
-
this.j.ew,
|
|
64903
|
-
this.j.ow
|
|
64904
|
-
], 'mousedown touchstart', this.__onDocumentMouseDown).on('closeAllPopups', this.__onCloseAllPopups);
|
|
65741
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
64905
65742
|
this.addListenersForElements();
|
|
64906
65743
|
}
|
|
64907
65744
|
},
|
|
64908
65745
|
{
|
|
64909
|
-
|
|
65746
|
+
/**
|
|
65747
|
+
* Follow the element once a control has moved it, as the alignments do
|
|
65748
|
+
*/ key: "onRecalcPositionPopup",
|
|
64910
65749
|
value: function onRecalcPositionPopup() {
|
|
64911
|
-
|
|
64912
|
-
this.__reopenFor = this.previousTarget;
|
|
64913
|
-
}
|
|
64914
|
-
}
|
|
64915
|
-
},
|
|
64916
|
-
{
|
|
64917
|
-
key: "__onDocumentMouseDown",
|
|
64918
|
-
value: function __onDocumentMouseDown(e) {
|
|
64919
|
-
this.__reopenFor = null;
|
|
64920
|
-
if (this.popup.isOpened && this.type === 'selection' && e.target && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_6__.UIElement.closestElement(e.target, _core_ui_popup_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup)) {
|
|
64921
|
-
this.__reopenSelectionPopup = true;
|
|
64922
|
-
}
|
|
64923
|
-
}
|
|
64924
|
-
},
|
|
64925
|
-
{
|
|
64926
|
-
key: "__onCloseAllPopups",
|
|
64927
|
-
value: function __onCloseAllPopups() {
|
|
64928
|
-
var _this = this;
|
|
64929
|
-
var target = this.__reopenFor;
|
|
64930
|
-
if (target) {
|
|
64931
|
-
this.__reopenFor = null;
|
|
64932
|
-
// After the popup's own `closeAllPopups` handler, as below
|
|
64933
|
-
this.j.async.setTimeout(function() {
|
|
64934
|
-
if (_this.j.editor.contains(target)) {
|
|
64935
|
-
_this.onClick(target);
|
|
64936
|
-
}
|
|
64937
|
-
}, 1);
|
|
64938
|
-
}
|
|
64939
|
-
if (!this.__reopenSelectionPopup) {
|
|
64940
|
-
return;
|
|
64941
|
-
}
|
|
64942
|
-
this.__reopenSelectionPopup = false;
|
|
64943
|
-
if (!this.j.o.toolbarInlineForSelection) {
|
|
64944
|
-
return;
|
|
64945
|
-
}
|
|
64946
|
-
// a zero timeout would run synchronously — before the popup's own
|
|
64947
|
-
// `closeAllPopups` handler closes it; defer to the next macrotask
|
|
64948
|
-
this.j.async.setTimeout(function() {
|
|
64949
|
-
var sel = _this.j.s.sel;
|
|
64950
|
-
if (sel && !sel.isCollapsed) {
|
|
64951
|
-
_this.showPopup(function() {
|
|
64952
|
-
return _this.__selectionBound();
|
|
64953
|
-
}, 'selection');
|
|
64954
|
-
}
|
|
64955
|
-
}, 1);
|
|
65750
|
+
this.popup.updatePosition();
|
|
64956
65751
|
}
|
|
64957
65752
|
},
|
|
64958
65753
|
{
|
|
@@ -65011,9 +65806,8 @@ function _wrap_native_super(Class) {
|
|
|
65011
65806
|
return;
|
|
65012
65807
|
}
|
|
65013
65808
|
var type = 'selection';
|
|
65014
|
-
var sel = this.j.s.sel;
|
|
65015
65809
|
var range = this.j.s.range;
|
|
65016
|
-
if ((
|
|
65810
|
+
if (!this.__hasSelectedContent() || this.isSelectedTarget(range)) {
|
|
65017
65811
|
if (this.type === type && this.popup.isOpened) {
|
|
65018
65812
|
this.hidePopup();
|
|
65019
65813
|
}
|
|
@@ -65030,6 +65824,35 @@ function _wrap_native_super(Class) {
|
|
|
65030
65824
|
},
|
|
65031
65825
|
{
|
|
65032
65826
|
/**
|
|
65827
|
+
* The selection holds more than a line break. A double click past the end
|
|
65828
|
+
* of a line, or a drag from there into the next, selects only the break,
|
|
65829
|
+
* with any rule, video or empty line it crosses: it starts at the end of a
|
|
65830
|
+
* line, after everything in it, and holds no text that shows
|
|
65831
|
+
*/ key: "__hasSelectedContent",
|
|
65832
|
+
value: function __hasSelectedContent() {
|
|
65833
|
+
var _this_j_s = this.j.s, sel = _this_j_s.sel, range = _this_j_s.range;
|
|
65834
|
+
if (!sel || sel.isCollapsed) {
|
|
65835
|
+
return false;
|
|
65836
|
+
}
|
|
65837
|
+
// HTML collapses ASCII white space, but not
|
|
65838
|
+
var showsText = function showsText(r) {
|
|
65839
|
+
return /[^\t\n\f\r \uFEFF\u200B]/.test(r.toString());
|
|
65840
|
+
};
|
|
65841
|
+
var line = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.closest(range.startContainer, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isBlock, this.j.editor);
|
|
65842
|
+
if (!line || line === this.j.editor || showsText(range)) {
|
|
65843
|
+
return true;
|
|
65844
|
+
}
|
|
65845
|
+
// The rest of the line after the selection's start
|
|
65846
|
+
var rest = this.j.s.createRange();
|
|
65847
|
+
rest.setStart(range.startContainer, range.startOffset);
|
|
65848
|
+
rest.setEnd(line, line.childNodes.length);
|
|
65849
|
+
return showsText(rest) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(line.querySelectorAll(':not(br):empty')).some(function(elm) {
|
|
65850
|
+
return rest.intersectsNode(elm);
|
|
65851
|
+
});
|
|
65852
|
+
}
|
|
65853
|
+
},
|
|
65854
|
+
{
|
|
65855
|
+
/**
|
|
65033
65856
|
* In not collapsed selection - only one image
|
|
65034
65857
|
*/ key: "isSelectedTarget",
|
|
65035
65858
|
value: function isSelectedTarget(r) {
|
|
@@ -65048,10 +65871,7 @@ function _wrap_native_super(Class) {
|
|
|
65048
65871
|
jodit.e.off('showPopup').off([
|
|
65049
65872
|
this.j.ew,
|
|
65050
65873
|
this.j.ow
|
|
65051
|
-
], 'mouseup keyup', this.onSelectionEnd)
|
|
65052
|
-
this.j.ew,
|
|
65053
|
-
this.j.ow
|
|
65054
|
-
], 'mousedown touchstart', this.__onDocumentMouseDown).off('closeAllPopups', this.__onCloseAllPopups);
|
|
65874
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
65055
65875
|
this.removeListenersForElements();
|
|
65056
65876
|
}
|
|
65057
65877
|
},
|
|
@@ -65136,12 +65956,6 @@ __decorate([
|
|
|
65136
65956
|
__decorate([
|
|
65137
65957
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':recalcPositionPopup')
|
|
65138
65958
|
], inlinePopup.prototype, "onRecalcPositionPopup", null);
|
|
65139
|
-
__decorate([
|
|
65140
|
-
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
65141
|
-
], inlinePopup.prototype, "__onDocumentMouseDown", null);
|
|
65142
|
-
__decorate([
|
|
65143
|
-
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
65144
|
-
], inlinePopup.prototype, "__onCloseAllPopups", null);
|
|
65145
65959
|
__decorate([
|
|
65146
65960
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
65147
65961
|
], inlinePopup.prototype, "onSelectionStart", null);
|
|
@@ -66575,8 +67389,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
66575
67389
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
66576
67390
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
66577
67391
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
66578
|
-
/* harmony import */ var
|
|
66579
|
-
/* harmony import */ var
|
|
67392
|
+
/* harmony import */ var _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48538);
|
|
67393
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12153);
|
|
67394
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56917);
|
|
67395
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5827);
|
|
67396
|
+
/* harmony import */ var _typed_link_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58970);
|
|
66580
67397
|
function _array_like_to_array(arr, len) {
|
|
66581
67398
|
if (len == null || len > arr.length) len = arr.length;
|
|
66582
67399
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -66765,6 +67582,9 @@ function _wrap_native_super(Class) {
|
|
|
66765
67582
|
|
|
66766
67583
|
|
|
66767
67584
|
|
|
67585
|
+
|
|
67586
|
+
|
|
67587
|
+
|
|
66768
67588
|
/**
|
|
66769
67589
|
* Process link. Insert, dblclick or remove format
|
|
66770
67590
|
*/ var link = /*#__PURE__*/ function(Plugin) {
|
|
@@ -66948,6 +67768,7 @@ function _wrap_native_super(Class) {
|
|
|
66948
67768
|
target_checkbox.checked = openInNewTabCheckboxDefaultChecked;
|
|
66949
67769
|
}
|
|
66950
67770
|
}
|
|
67771
|
+
addAnchorList(jodit, url_input, content_input, isImageContent);
|
|
66951
67772
|
jodit.editor.normalize();
|
|
66952
67773
|
var snapshot = jodit.history.snapshot.make();
|
|
66953
67774
|
if (unlink) {
|
|
@@ -67133,7 +67954,7 @@ function _wrap_native_super(Class) {
|
|
|
67133
67954
|
if (!_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) || !node.isConnected || end < 0 || end > node.length || _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, NO_TYPED_LINKS, jodit.editor)) {
|
|
67134
67955
|
return;
|
|
67135
67956
|
}
|
|
67136
|
-
var found = (0,
|
|
67957
|
+
var found = (0,_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.findTypedLink)(node.data, end, jodit.o.link.typedLinkTlds, jodit.o.link.typedLinkFileEndings);
|
|
67137
67958
|
if (!found) {
|
|
67138
67959
|
return;
|
|
67139
67960
|
}
|
|
@@ -67218,6 +68039,149 @@ var MODIFIER_KEYS = new Set([
|
|
|
67218
68039
|
'CapsLock'
|
|
67219
68040
|
]);
|
|
67220
68041
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
68042
|
+
/**
|
|
68043
|
+
* A dropdown arrow in the URL field that lists the document's anchors by the
|
|
68044
|
+
* words after them, and fills in the one picked. The list opens in a popup of
|
|
68045
|
+
* its own, from the arrow or the down arrow key, and closes once an address is
|
|
68046
|
+
* typed
|
|
68047
|
+
*/ function addAnchorList(jodit, url, content, isImage) {
|
|
68048
|
+
var anchors = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(jodit.editor);
|
|
68049
|
+
var field = url === null || url === void 0 ? void 0 : url.closest('.jodit-ui-input__wrapper');
|
|
68050
|
+
var input = field && _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement.closestElement(field, _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement);
|
|
68051
|
+
if (!field || !input || !anchors.length) {
|
|
68052
|
+
return;
|
|
68053
|
+
}
|
|
68054
|
+
var c = jodit.c;
|
|
68055
|
+
var label = jodit.i18n('Link to an anchor');
|
|
68056
|
+
var toggle = c.element('button', {
|
|
68057
|
+
type: 'button',
|
|
68058
|
+
class: 'jodit-link-anchors__toggle',
|
|
68059
|
+
title: label,
|
|
68060
|
+
'aria-label': label
|
|
68061
|
+
});
|
|
68062
|
+
var heading = c.div('jodit-link-anchors__heading', {
|
|
68063
|
+
id: 'jodit-link-anchors-' + (0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.uniqueUid)()
|
|
68064
|
+
});
|
|
68065
|
+
var list = c.div('jodit-link-anchors', {
|
|
68066
|
+
role: 'group',
|
|
68067
|
+
'aria-labelledby': heading.id
|
|
68068
|
+
});
|
|
68069
|
+
var icon = function icon(name) {
|
|
68070
|
+
var _a;
|
|
68071
|
+
return (_a = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__.Icon.makeIcon(jodit, {
|
|
68072
|
+
name: name,
|
|
68073
|
+
iconURL: '',
|
|
68074
|
+
fill: '',
|
|
68075
|
+
scale: undefined
|
|
68076
|
+
})) !== null && _a !== void 0 ? _a : c.span();
|
|
68077
|
+
};
|
|
68078
|
+
var dropdown = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__.Popup(jodit).setMod('padding', false);
|
|
68079
|
+
var items = [];
|
|
68080
|
+
var filled = '';
|
|
68081
|
+
var open = function open() {
|
|
68082
|
+
var _a;
|
|
68083
|
+
if (dropdown.isOpened) {
|
|
68084
|
+
return;
|
|
68085
|
+
}
|
|
68086
|
+
// Clicks in the list then count as the form's, which stays open
|
|
68087
|
+
dropdown.parentElement || (dropdown.parentElement = input);
|
|
68088
|
+
list.style.minWidth = field.offsetWidth + 'px';
|
|
68089
|
+
dropdown.open(function() {
|
|
68090
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(field);
|
|
68091
|
+
});
|
|
68092
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', true);
|
|
68093
|
+
items.forEach(function(item, index) {
|
|
68094
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(item, 'aria-current', url.value === '#' + (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(anchors[index]));
|
|
68095
|
+
});
|
|
68096
|
+
(_a = list.querySelector('[aria-current=true]')) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
68097
|
+
block: 'nearest'
|
|
68098
|
+
});
|
|
68099
|
+
};
|
|
68100
|
+
toggle.append(icon('chevron'));
|
|
68101
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false);
|
|
68102
|
+
heading.textContent = jodit.i18n('On this page');
|
|
68103
|
+
list.appendChild(heading);
|
|
68104
|
+
dropdown.setContent(list);
|
|
68105
|
+
anchors.forEach(function(anchor) {
|
|
68106
|
+
var name = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(anchor);
|
|
68107
|
+
var text = textAfter(jodit, anchor) || name;
|
|
68108
|
+
var item = c.element('button', {
|
|
68109
|
+
type: 'button',
|
|
68110
|
+
tabindex: -1,
|
|
68111
|
+
class: 'jodit-link-anchors__item'
|
|
68112
|
+
});
|
|
68113
|
+
items.push(item);
|
|
68114
|
+
var textBox = c.span('jodit-link-anchors__text');
|
|
68115
|
+
textBox.textContent = text;
|
|
68116
|
+
var nameBox = c.span('jodit-link-anchors__name');
|
|
68117
|
+
nameBox.textContent = '#' + name;
|
|
68118
|
+
item.append(icon('anchor'), textBox, nameBox);
|
|
68119
|
+
list.appendChild(item);
|
|
68120
|
+
jodit.e.on(item, 'click', function() {
|
|
68121
|
+
dropdown.close();
|
|
68122
|
+
url.value = '#' + name;
|
|
68123
|
+
if (!isImage && (!content.value.trim() || content.value === filled)) {
|
|
68124
|
+
content.value = filled = text;
|
|
68125
|
+
}
|
|
68126
|
+
url.focus();
|
|
68127
|
+
});
|
|
68128
|
+
});
|
|
68129
|
+
// A press on the arrow closes the open list before the click
|
|
68130
|
+
var wasOpen = false;
|
|
68131
|
+
jodit.e.on(dropdown, 'beforeClose', function() {
|
|
68132
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false);
|
|
68133
|
+
}).on(toggle, 'mousedown', function() {
|
|
68134
|
+
return wasOpen = dropdown.isOpened;
|
|
68135
|
+
}).on(toggle, 'click', function() {
|
|
68136
|
+
wasOpen || dropdown.isOpened ? dropdown.close() : open();
|
|
68137
|
+
wasOpen = false;
|
|
68138
|
+
}).on(url, 'input.anchors', function() {
|
|
68139
|
+
if (url.value && !url.value.startsWith('#')) {
|
|
68140
|
+
dropdown.close();
|
|
68141
|
+
}
|
|
68142
|
+
}).on(url, 'keydown.anchors', function(e) {
|
|
68143
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
|
|
68144
|
+
e.preventDefault();
|
|
68145
|
+
open();
|
|
68146
|
+
items[0].focus();
|
|
68147
|
+
}
|
|
68148
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC && dropdown.isOpened) {
|
|
68149
|
+
e.stopPropagation();
|
|
68150
|
+
dropdown.close();
|
|
68151
|
+
}
|
|
68152
|
+
}).on(list, 'keydown', function(e) {
|
|
68153
|
+
var _a;
|
|
68154
|
+
var index = items.indexOf(e.target);
|
|
68155
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
68156
|
+
e.preventDefault();
|
|
68157
|
+
(_a = items[index + (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN ? 1 : -1)]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
68158
|
+
}
|
|
68159
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
68160
|
+
e.stopPropagation();
|
|
68161
|
+
dropdown.close();
|
|
68162
|
+
url.focus();
|
|
68163
|
+
}
|
|
68164
|
+
});
|
|
68165
|
+
// The URL input is destructed when the form closes
|
|
68166
|
+
input.hookStatus('destructed', function() {
|
|
68167
|
+
dropdown.destruct();
|
|
68168
|
+
jodit.e.off([
|
|
68169
|
+
toggle,
|
|
68170
|
+
list
|
|
68171
|
+
].concat(_to_consumable_array(items))).off(url, '.anchors');
|
|
68172
|
+
});
|
|
68173
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.after(url, toggle);
|
|
68174
|
+
}
|
|
68175
|
+
/**
|
|
68176
|
+
* The words after an anchor in its block, which say where it is
|
|
68177
|
+
*/ function textAfter(jodit, anchor) {
|
|
68178
|
+
var _a;
|
|
68179
|
+
var range = jodit.ed.createRange();
|
|
68180
|
+
range.selectNodeContents((_a = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.up(anchor, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, jodit.editor)) !== null && _a !== void 0 ? _a : jodit.editor);
|
|
68181
|
+
range.setStartAfter(anchor);
|
|
68182
|
+
var text = range.toString().replace(/\s+/g, ' ').trim();
|
|
68183
|
+
return text.length > 50 ? text.slice(0, 50).replace(/\s+\S*$/, '') + '…' : text;
|
|
68184
|
+
}
|
|
67221
68185
|
/**
|
|
67222
68186
|
* Guess a usable `href` from the selected text for the link dialog.
|
|
67223
68187
|
* Returns an empty string when the text is not a plausible URL/email,
|
|
@@ -67232,7 +68196,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
|
67232
68196
|
return value;
|
|
67233
68197
|
}
|
|
67234
68198
|
// email address -> mailto:
|
|
67235
|
-
if (
|
|
68199
|
+
if (_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.EMAIL.test(value)) {
|
|
67236
68200
|
return "mailto:".concat(value);
|
|
67237
68201
|
}
|
|
67238
68202
|
// bare domain like example.com or www.example.com/path -> https://
|
|
@@ -67340,7 +68304,9 @@ var formTemplate = function formTemplate(editor) {
|
|
|
67340
68304
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIBlock(editor, [
|
|
67341
68305
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIInput(editor, {
|
|
67342
68306
|
name: 'url',
|
|
67343
|
-
|
|
68307
|
+
// Touch keyboards leave a URL field as typed, with no capital or
|
|
68308
|
+
// correction. The form is `novalidate`, so any address still goes in
|
|
68309
|
+
type: 'url',
|
|
67344
68310
|
ref: 'url_input',
|
|
67345
68311
|
label: 'URL',
|
|
67346
68312
|
placeholder: 'http://',
|
|
@@ -72256,6 +73222,19 @@ var IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
72256
73222
|
},
|
|
72257
73223
|
{
|
|
72258
73224
|
/**
|
|
73225
|
+
* A tap that selects an image sends no `click` (iPadOS), so `touchend`
|
|
73226
|
+
* stands in for it. A tick later, after `onClickOutside` has had the same
|
|
73227
|
+
* `touchend`, as `click` comes after `mouseup`
|
|
73228
|
+
*/ key: "onEditorTouchEnd",
|
|
73229
|
+
value: function onEditorTouchEnd(e) {
|
|
73230
|
+
var _this = this;
|
|
73231
|
+
this.j.async.setTimeout(function() {
|
|
73232
|
+
return _this.onEditorClick(e);
|
|
73233
|
+
}, 1);
|
|
73234
|
+
}
|
|
73235
|
+
},
|
|
73236
|
+
{
|
|
73237
|
+
/**
|
|
72259
73238
|
* Click in the editor area
|
|
72260
73239
|
*/ key: "onEditorClick",
|
|
72261
73240
|
value: function onEditorClick(e) {
|
|
@@ -72707,6 +73686,9 @@ var IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
72707
73686
|
]);
|
|
72708
73687
|
return resizer;
|
|
72709
73688
|
}(_wrap_native_super(_core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_7__.Plugin));
|
|
73689
|
+
__decorate([
|
|
73690
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':touchend')
|
|
73691
|
+
], resizer.prototype, "onEditorTouchEnd", null);
|
|
72710
73692
|
__decorate([
|
|
72711
73693
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':click')
|
|
72712
73694
|
], resizer.prototype, "onEditorClick", null);
|
|
@@ -74589,8 +75571,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelection
|
|
|
74589
75571
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
74590
75572
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
74591
75573
|
/* harmony import */ var _core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45124);
|
|
74592
|
-
/* harmony import */ var
|
|
74593
|
-
/* harmony import */ var
|
|
75574
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67510);
|
|
75575
|
+
/* harmony import */ var _modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(76014);
|
|
75576
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55311);
|
|
74594
75577
|
function _array_like_to_array(arr, len) {
|
|
74595
75578
|
if (len == null || len > arr.length) len = arr.length;
|
|
74596
75579
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -74599,6 +75582,9 @@ function _array_like_to_array(arr, len) {
|
|
|
74599
75582
|
function _array_with_holes(arr) {
|
|
74600
75583
|
if (Array.isArray(arr)) return arr;
|
|
74601
75584
|
}
|
|
75585
|
+
function _array_without_holes(arr) {
|
|
75586
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
75587
|
+
}
|
|
74602
75588
|
function _assert_this_initialized(self) {
|
|
74603
75589
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
74604
75590
|
return self;
|
|
@@ -74670,6 +75656,11 @@ function _is_native_reflect_construct() {
|
|
|
74670
75656
|
return !!result;
|
|
74671
75657
|
})();
|
|
74672
75658
|
}
|
|
75659
|
+
function _iterable_to_array(iter) {
|
|
75660
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
75661
|
+
return Array.from(iter);
|
|
75662
|
+
}
|
|
75663
|
+
}
|
|
74673
75664
|
function _iterable_to_array_limit(arr, i) {
|
|
74674
75665
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
74675
75666
|
if (_i == null) return;
|
|
@@ -74697,6 +75688,9 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
74697
75688
|
function _non_iterable_rest() {
|
|
74698
75689
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
74699
75690
|
}
|
|
75691
|
+
function _non_iterable_spread() {
|
|
75692
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
75693
|
+
}
|
|
74700
75694
|
function _possible_constructor_return(self, call) {
|
|
74701
75695
|
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
74702
75696
|
return _assert_this_initialized(self);
|
|
@@ -74711,6 +75705,9 @@ function _set_prototype_of(o, p) {
|
|
|
74711
75705
|
function _sliced_to_array(arr, i) {
|
|
74712
75706
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
74713
75707
|
}
|
|
75708
|
+
function _to_consumable_array(arr) {
|
|
75709
|
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
75710
|
+
}
|
|
74714
75711
|
function _type_of(obj) {
|
|
74715
75712
|
"@swc/helpers - typeof";
|
|
74716
75713
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
@@ -74766,6 +75763,7 @@ function _wrap_native_super(Class) {
|
|
|
74766
75763
|
|
|
74767
75764
|
|
|
74768
75765
|
|
|
75766
|
+
|
|
74769
75767
|
var key = 'table_processor_observer';
|
|
74770
75768
|
var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
74771
75769
|
"use strict";
|
|
@@ -74794,6 +75792,10 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74794
75792
|
* A drag let go outside the table ends in a click on the editor, which
|
|
74795
75793
|
* would unmark its cells
|
|
74796
75794
|
*/ _this.__keepMarks = false;
|
|
75795
|
+
/**
|
|
75796
|
+
* The last press or key went to a popup, as to the cell popup's own
|
|
75797
|
+
* controls, whose changes keep the cells marked
|
|
75798
|
+
*/ _this.__inPopup = false;
|
|
74797
75799
|
return _this;
|
|
74798
75800
|
}
|
|
74799
75801
|
_create_class(selectCells, [
|
|
@@ -74802,7 +75804,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74802
75804
|
get: /**
|
|
74803
75805
|
* Shortcut for Jodit.modules.Table
|
|
74804
75806
|
*/ function get() {
|
|
74805
|
-
return this.j.getInstance(
|
|
75807
|
+
return this.j.getInstance(_modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__.Table, this.j.o);
|
|
74806
75808
|
}
|
|
74807
75809
|
},
|
|
74808
75810
|
{
|
|
@@ -74886,7 +75888,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74886
75888
|
{
|
|
74887
75889
|
key: "__followCaret",
|
|
74888
75890
|
value: function __followCaret() {
|
|
74889
|
-
var _this = this;
|
|
74890
75891
|
var before = this.__keyDownRange;
|
|
74891
75892
|
this.__keyDownRange = null;
|
|
74892
75893
|
if (this.j.o.readonly || !(0,_core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.isMoved)(this.j, before)) {
|
|
@@ -74912,9 +75913,45 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74912
75913
|
// As after a click, the first change to the cell keeps the mark
|
|
74913
75914
|
this.__selectedCell = cell;
|
|
74914
75915
|
this.__tableModule.addSelection(cell);
|
|
74915
|
-
this.j.e.fire('showPopup', table,
|
|
75916
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
75917
|
+
}
|
|
75918
|
+
},
|
|
75919
|
+
{
|
|
75920
|
+
/**
|
|
75921
|
+
* The box round the marked cells, which their popup opens beside and
|
|
75922
|
+
* follows when its commands add, merge or replace cells
|
|
75923
|
+
*/ key: "__markedBound",
|
|
75924
|
+
value: function __markedBound() {
|
|
75925
|
+
var _this = this;
|
|
75926
|
+
var _Math, _Math1, _Math2, _Math3;
|
|
75927
|
+
var bounds = this.__tableModule.getAllSelectedCells().filter(function(cell) {
|
|
75928
|
+
return cell.isConnected;
|
|
75929
|
+
}).map(function(cell) {
|
|
74916
75930
|
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(cell, _this.j);
|
|
74917
|
-
}
|
|
75931
|
+
});
|
|
75932
|
+
if (!bounds.length) {
|
|
75933
|
+
return {
|
|
75934
|
+
left: 0,
|
|
75935
|
+
top: 0,
|
|
75936
|
+
width: 0,
|
|
75937
|
+
height: 0
|
|
75938
|
+
};
|
|
75939
|
+
}
|
|
75940
|
+
var left = (_Math = Math).min.apply(_Math, _to_consumable_array(bounds.map(function(b) {
|
|
75941
|
+
return b.left;
|
|
75942
|
+
}))), top = (_Math1 = Math).min.apply(_Math1, _to_consumable_array(bounds.map(function(b) {
|
|
75943
|
+
return b.top;
|
|
75944
|
+
}))), right = (_Math2 = Math).max.apply(_Math2, _to_consumable_array(bounds.map(function(b) {
|
|
75945
|
+
return b.left + b.width;
|
|
75946
|
+
}))), bottom = (_Math3 = Math).max.apply(_Math3, _to_consumable_array(bounds.map(function(b) {
|
|
75947
|
+
return b.top + b.height;
|
|
75948
|
+
})));
|
|
75949
|
+
return {
|
|
75950
|
+
left: left,
|
|
75951
|
+
top: top,
|
|
75952
|
+
width: right - left,
|
|
75953
|
+
height: bottom - top
|
|
75954
|
+
};
|
|
74918
75955
|
}
|
|
74919
75956
|
},
|
|
74920
75957
|
{
|
|
@@ -74943,9 +75980,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74943
75980
|
this.__selectedCell = cell;
|
|
74944
75981
|
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
74945
75982
|
if (this.__tableModule.getAllSelectedCells().length) {
|
|
74946
|
-
this.j.e.fire('showPopup', table,
|
|
74947
|
-
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(cell, _this.j);
|
|
74948
|
-
}, 'cells');
|
|
75983
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
74949
75984
|
} else {
|
|
74950
75985
|
this.j.e.fire('hidePopup', 'cells');
|
|
74951
75986
|
}
|
|
@@ -75005,10 +76040,16 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75005
76040
|
}
|
|
75006
76041
|
}
|
|
75007
76042
|
},
|
|
76043
|
+
{
|
|
76044
|
+
key: "onPress",
|
|
76045
|
+
value: function onPress(e) {
|
|
76046
|
+
this.__inPopup = Boolean(e && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(e.target) && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__.UIElement.closestElement(e.target, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup));
|
|
76047
|
+
}
|
|
76048
|
+
},
|
|
75008
76049
|
{
|
|
75009
76050
|
key: "onChange",
|
|
75010
76051
|
value: function onChange() {
|
|
75011
|
-
if (!this.j.isLocked && !this.__isSelectionMode) {
|
|
76052
|
+
if (!this.j.isLocked && !this.__isSelectionMode && !this.__inPopup) {
|
|
75012
76053
|
this.__onRemoveSelection();
|
|
75013
76054
|
}
|
|
75014
76055
|
}
|
|
@@ -75131,7 +76172,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75131
76172
|
{
|
|
75132
76173
|
key: "__showCellsPopup",
|
|
75133
76174
|
value: function __showCellsPopup(table, cells) {
|
|
75134
|
-
var _this = this;
|
|
75135
76175
|
var _a, _b;
|
|
75136
76176
|
var bound = this.__tableModule.getSelectedBound(table, cells), box = this.__tableModule.formalMatrix(table);
|
|
75137
76177
|
var max = (_a = box[bound[1][0]]) === null || _a === void 0 ? void 0 : _a[bound[1][1]], min = (_b = box[bound[0][0]]) === null || _b === void 0 ? void 0 : _b[bound[0][1]];
|
|
@@ -75144,15 +76184,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75144
76184
|
if (!min || !max) {
|
|
75145
76185
|
return;
|
|
75146
76186
|
}
|
|
75147
|
-
this.j.e.fire('showPopup', table,
|
|
75148
|
-
var minOffset = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(min, _this.j), maxOffset = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(max, _this.j);
|
|
75149
|
-
return {
|
|
75150
|
-
left: minOffset.left,
|
|
75151
|
-
top: minOffset.top,
|
|
75152
|
-
width: maxOffset.left - minOffset.left + maxOffset.width,
|
|
75153
|
-
height: maxOffset.top - minOffset.top + maxOffset.height
|
|
75154
|
-
};
|
|
75155
|
-
}, 'cells');
|
|
76187
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
75156
76188
|
}
|
|
75157
76189
|
},
|
|
75158
76190
|
{
|
|
@@ -75284,6 +76316,13 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75284
76316
|
this.__toggleHeaderRow(table, cells1);
|
|
75285
76317
|
break;
|
|
75286
76318
|
}
|
|
76319
|
+
// A split unmarks the cells. They stay marked, as after the
|
|
76320
|
+
// other commands, so their popup stays beside them
|
|
76321
|
+
if (/^split/.test(command)) {
|
|
76322
|
+
cells1.forEach(function(cell) {
|
|
76323
|
+
return _this.__tableModule.addSelection(cell);
|
|
76324
|
+
});
|
|
76325
|
+
}
|
|
75287
76326
|
if (/^bin(row|column)$/.test(command) && !this.__tableModule.getColumnsCount(table)) {
|
|
75288
76327
|
this.__removeTable(table);
|
|
75289
76328
|
}
|
|
@@ -75298,7 +76337,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75298
76337
|
* move to the cells that replace them
|
|
75299
76338
|
*/ key: "__toggleHeaderRow",
|
|
75300
76339
|
value: function __toggleHeaderRow(table, cells) {
|
|
75301
|
-
var _a, _b;
|
|
75302
76340
|
var module = this.__tableModule;
|
|
75303
76341
|
this.j.s.save();
|
|
75304
76342
|
var replaced = module.toggleHeaderRow(table);
|
|
@@ -75310,10 +76348,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75310
76348
|
module.addSelection(next);
|
|
75311
76349
|
}
|
|
75312
76350
|
});
|
|
75313
|
-
// As after the click that marked it, the command's own change keeps
|
|
75314
|
-
// the marks, so the popup can stay open for another toggle
|
|
75315
|
-
var anchor = (_a = this.__selectedCell) !== null && _a !== void 0 ? _a : cells[0];
|
|
75316
|
-
this.__selectedCell = (_b = replaced.get(anchor)) !== null && _b !== void 0 ? _b : anchor;
|
|
75317
76351
|
}
|
|
75318
76352
|
},
|
|
75319
76353
|
{
|
|
@@ -75387,6 +76421,9 @@ __decorate([
|
|
|
75387
76421
|
__decorate([
|
|
75388
76422
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':keyup')
|
|
75389
76423
|
], selectCells.prototype, "onKeyUp", null);
|
|
76424
|
+
__decorate([
|
|
76425
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
76426
|
+
], selectCells.prototype, "__markedBound", null);
|
|
75390
76427
|
__decorate([
|
|
75391
76428
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
75392
76429
|
], selectCells.prototype, "onStartSelection", null);
|
|
@@ -75402,6 +76439,16 @@ __decorate([
|
|
|
75402
76439
|
__decorate([
|
|
75403
76440
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
75404
76441
|
], selectCells.prototype, "__onClickAfterDrag", null);
|
|
76442
|
+
__decorate([
|
|
76443
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
76444
|
+
'ow:mousedown',
|
|
76445
|
+
'ow:touchstart',
|
|
76446
|
+
'ow:keydown',
|
|
76447
|
+
':mousedown',
|
|
76448
|
+
':touchstart',
|
|
76449
|
+
':keydown'
|
|
76450
|
+
])
|
|
76451
|
+
], selectCells.prototype, "onPress", null);
|
|
75405
76452
|
__decorate([
|
|
75406
76453
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
75407
76454
|
], selectCells.prototype, "onChange", null);
|
|
@@ -75451,9 +76498,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
75451
76498
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
75452
76499
|
/* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4510);
|
|
75453
76500
|
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87058);
|
|
75454
|
-
/* harmony import */ var
|
|
75455
|
-
/* harmony import */ var
|
|
75456
|
-
/* harmony import */ var
|
|
76501
|
+
/* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49055);
|
|
76502
|
+
/* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
|
|
76503
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50911);
|
|
76504
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(67510);
|
|
76505
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67215);
|
|
75457
76506
|
function _assert_this_initialized(self) {
|
|
75458
76507
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
75459
76508
|
return self;
|
|
@@ -75583,6 +76632,11 @@ function _wrap_native_super(Class) {
|
|
|
75583
76632
|
|
|
75584
76633
|
|
|
75585
76634
|
|
|
76635
|
+
|
|
76636
|
+
|
|
76637
|
+
var MEDIA = 'video, iframe, audio, object, embed';
|
|
76638
|
+
// The shade the browsers lay over a selected image: #b5d6fd on white
|
|
76639
|
+
var SHADE = 'url("data:image/svg+xml,'.concat(encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg'>" + "<filter id='s' x='0' y='0' width='1' height='1' color-interpolation-filters='sRGB'>" + "<feFlood flood-color='#84bbfc' flood-opacity='.6'/><feComposite in2='SourceGraphic'/>" + '</filter></svg>'), '#s")');
|
|
75586
76640
|
/**
|
|
75587
76641
|
* A utility plugin that allows you to subscribe to a click/mousedown/touchstart/mouseup on an element in DOM order
|
|
75588
76642
|
*
|
|
@@ -75607,6 +76661,7 @@ function _wrap_native_super(Class) {
|
|
|
75607
76661
|
'mouseup',
|
|
75608
76662
|
'touchend'
|
|
75609
76663
|
];
|
|
76664
|
+
_this.__selectedMediaStyle = '';
|
|
75610
76665
|
/**
|
|
75611
76666
|
* Where the last press started. Chrome reports a drag that begins in one
|
|
75612
76667
|
* element and ends in another as a `click` on their common ancestor, so a
|
|
@@ -75629,6 +76684,7 @@ function _wrap_native_super(Class) {
|
|
|
75629
76684
|
jodit.e.on('dblclick', this.__onDblClickBesideRow, {
|
|
75630
76685
|
top: true
|
|
75631
76686
|
});
|
|
76687
|
+
jodit.e.on(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
75632
76688
|
}
|
|
75633
76689
|
},
|
|
75634
76690
|
{
|
|
@@ -75640,6 +76696,42 @@ function _wrap_native_super(Class) {
|
|
|
75640
76696
|
});
|
|
75641
76697
|
this.__endPressBesideRow();
|
|
75642
76698
|
jodit.e.off('dblclick', this.__onDblClickBesideRow);
|
|
76699
|
+
jodit.e.off(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
76700
|
+
}
|
|
76701
|
+
},
|
|
76702
|
+
{
|
|
76703
|
+
/**
|
|
76704
|
+
* The browsers shade an image in the selection, but Chrome doesn't shade
|
|
76705
|
+
* a video with controls, or one in a `jodit-media` wrapper, so a selection
|
|
76706
|
+
* that took one in didn't show it, and typing deleted it unseen (#1768).
|
|
76707
|
+
* The media gets the same shade from a filter, in place of the tint Safari
|
|
76708
|
+
* gives a block wrapper's whole line. It's a style in the editing
|
|
76709
|
+
* document, as selected cells get their border, so the content, and with
|
|
76710
|
+
* it the value, the history and a copy, doesn't change. Media a click
|
|
76711
|
+
* selected whole is left alone, as its resize frame shows it (#1528). A
|
|
76712
|
+
* change, read-only and the source mode redo or drop the style, as the
|
|
76713
|
+
* selection may not change with them, and the style's paths could then
|
|
76714
|
+
* fit other elements
|
|
76715
|
+
*/ key: "__markSelectedMedia",
|
|
76716
|
+
value: function __markSelectedMedia() {
|
|
76717
|
+
var _a;
|
|
76718
|
+
var _this_j = this.j, s = _this_j.s, editor = _this_j.editor, o = _this_j.o;
|
|
76719
|
+
var range = ((_a = s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount) ? s.sel.getRangeAt(0) : null;
|
|
76720
|
+
var rules = [];
|
|
76721
|
+
if (range && !range.collapsed && !o.readonly && this.j.getMode() !== _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE && !isElementSelection(range) && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(editor, range.commonAncestorContainer)) {
|
|
76722
|
+
uneditableIn(range, editor).forEach(function(elm) {
|
|
76723
|
+
var media = elm.querySelector(MEDIA);
|
|
76724
|
+
var wrapper = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(elm);
|
|
76725
|
+
if (media && wrapper) {
|
|
76726
|
+
rules.push("".concat(wrapper, "::selection,").concat(wrapper, " ::selection{background:transparent}"), "".concat((0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(media), "{filter:").concat(SHADE, "}"));
|
|
76727
|
+
}
|
|
76728
|
+
});
|
|
76729
|
+
}
|
|
76730
|
+
var style = rules.join('');
|
|
76731
|
+
if (style !== this.__selectedMediaStyle) {
|
|
76732
|
+
this.__selectedMediaStyle = style;
|
|
76733
|
+
(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(this.j, select, 'style', true).textContent = style;
|
|
76734
|
+
}
|
|
75643
76735
|
}
|
|
75644
76736
|
},
|
|
75645
76737
|
{
|
|
@@ -75677,10 +76769,14 @@ function _wrap_native_super(Class) {
|
|
|
75677
76769
|
}
|
|
75678
76770
|
// Selecting the text of a popup input with the mouse and releasing
|
|
75679
76771
|
// the button past the popup's edge is not a click outside of it.
|
|
75680
|
-
if (pressed &&
|
|
76772
|
+
if (pressed && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(pressed, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup)) {
|
|
76773
|
+
return;
|
|
76774
|
+
}
|
|
76775
|
+
// An item of a list that closed once it was chosen was in a popup
|
|
76776
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(node) && !node.isConnected) {
|
|
75681
76777
|
return;
|
|
75682
76778
|
}
|
|
75683
|
-
var box =
|
|
76779
|
+
var box = _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(node, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup);
|
|
75684
76780
|
if (!box) {
|
|
75685
76781
|
this.j.e.fire('outsideClick', e);
|
|
75686
76782
|
}
|
|
@@ -75939,6 +77035,89 @@ function _wrap_native_super(Class) {
|
|
|
75939
77035
|
}
|
|
75940
77036
|
}
|
|
75941
77037
|
},
|
|
77038
|
+
{
|
|
77039
|
+
/**
|
|
77040
|
+
* A double click past the end of a line selects only its line break, up
|
|
77041
|
+
* to the start of the next line a caret can go on. The browsers show no
|
|
77042
|
+
* caret for it, and typing replaces the break, joining the lines and
|
|
77043
|
+
* taking any video in between with it (#1768). Put the caret at the end
|
|
77044
|
+
* of the line instead
|
|
77045
|
+
*/ key: "onDblClickPastLineEnd",
|
|
77046
|
+
value: function onDblClickPastLineEnd() {
|
|
77047
|
+
var _this_j = this.j, s = _this_j.s, editor = _this_j.editor, o = _this_j.o;
|
|
77048
|
+
var range = s.range;
|
|
77049
|
+
if (o.readonly || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(editor, range.commonAncestorContainer) || !isLineBreak(range, editor)) {
|
|
77050
|
+
return;
|
|
77051
|
+
}
|
|
77052
|
+
range.collapse(true);
|
|
77053
|
+
s.selectRange(range);
|
|
77054
|
+
}
|
|
77055
|
+
},
|
|
77056
|
+
{
|
|
77057
|
+
/**
|
|
77058
|
+
* The browsers have no caret position beside an uneditable block alone
|
|
77059
|
+
* on its line, such as a video, so a drag that ends on its line runs on
|
|
77060
|
+
* past it, and typing deletes it (#1768). Until the pointer has passed
|
|
77061
|
+
* the block, the selection stops at the last caret place in the block
|
|
77062
|
+
* before its line, or for a drag upwards at the first in the block after
|
|
77063
|
+
*/ key: "onMouseUpOnUneditableLine",
|
|
77064
|
+
value: function onMouseUpOnUneditableLine(e) {
|
|
77065
|
+
var _a, _b;
|
|
77066
|
+
var _this_j = this.j, s = _this_j.s, editor = _this_j.editor, o = _this_j.o;
|
|
77067
|
+
var sel = s.sel;
|
|
77068
|
+
if (o.readonly || !(sel === null || sel === void 0 ? void 0 : sel.rangeCount) || sel.isCollapsed) {
|
|
77069
|
+
return;
|
|
77070
|
+
}
|
|
77071
|
+
var range = sel.getRangeAt(0).cloneRange();
|
|
77072
|
+
// A video or image Jodit selected itself on the press
|
|
77073
|
+
if (isElementSelection(range)) {
|
|
77074
|
+
return;
|
|
77075
|
+
}
|
|
77076
|
+
var forward = sel.anchorNode === range.startContainer && sel.anchorOffset === range.startOffset;
|
|
77077
|
+
var lines = uneditableIn(range, editor).map(function(elm) {
|
|
77078
|
+
var _a;
|
|
77079
|
+
return (_a = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(elm, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, editor)) !== null && _a !== void 0 ? _a : elm;
|
|
77080
|
+
}).filter(function(line) {
|
|
77081
|
+
return !(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(ownText(line));
|
|
77082
|
+
});
|
|
77083
|
+
var isAhead = function isAhead(line) {
|
|
77084
|
+
var box = line.getBoundingClientRect();
|
|
77085
|
+
return forward ? e.clientY < box.bottom : e.clientY > box.top;
|
|
77086
|
+
};
|
|
77087
|
+
var line = forward ? lines.find(isAhead) : lines.reverse().find(isAhead);
|
|
77088
|
+
if (!line) {
|
|
77089
|
+
return;
|
|
77090
|
+
}
|
|
77091
|
+
// Where a caret can go: in text, or before a <br>
|
|
77092
|
+
var isCaretPlace = function isCaretPlace(node) {
|
|
77093
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) && !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isEmptyTextNode(node) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isTag(node, 'br');
|
|
77094
|
+
};
|
|
77095
|
+
// Only the block beside the line, not one further on
|
|
77096
|
+
var beside = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.findNotEmptySibling(line, forward);
|
|
77097
|
+
var place = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock(beside) ? forward ? _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.last(beside, isCaretPlace) : _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.first(beside, isCaretPlace) : null;
|
|
77098
|
+
if (!place) {
|
|
77099
|
+
return;
|
|
77100
|
+
}
|
|
77101
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(place)) {
|
|
77102
|
+
if (forward) {
|
|
77103
|
+
range.setEnd(place, (_b = (_a = place.nodeValue) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
|
|
77104
|
+
} else {
|
|
77105
|
+
range.setStart(place, 0);
|
|
77106
|
+
}
|
|
77107
|
+
} else if (forward) {
|
|
77108
|
+
range.setEndBefore(place);
|
|
77109
|
+
} else {
|
|
77110
|
+
range.setStartBefore(place);
|
|
77111
|
+
}
|
|
77112
|
+
// The drag's start stays the anchor
|
|
77113
|
+
var startContainer = range.startContainer, startOffset = range.startOffset, endContainer = range.endContainer, endOffset = range.endOffset;
|
|
77114
|
+
if (forward) {
|
|
77115
|
+
sel.setBaseAndExtent(startContainer, startOffset, endContainer, endOffset);
|
|
77116
|
+
} else {
|
|
77117
|
+
sel.setBaseAndExtent(endContainer, endOffset, startContainer, startOffset);
|
|
77118
|
+
}
|
|
77119
|
+
}
|
|
77120
|
+
},
|
|
75942
77121
|
{
|
|
75943
77122
|
key: "onCopyNormalizeSelectionBound",
|
|
75944
77123
|
value: function onCopyNormalizeSelectionBound(e) {
|
|
@@ -75954,7 +77133,15 @@ function _wrap_native_super(Class) {
|
|
|
75954
77133
|
}
|
|
75955
77134
|
]);
|
|
75956
77135
|
return select;
|
|
75957
|
-
}(_wrap_native_super(
|
|
77136
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__.Plugin));
|
|
77137
|
+
__decorate([
|
|
77138
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
77139
|
+
':change',
|
|
77140
|
+
':readonly',
|
|
77141
|
+
':afterSetMode'
|
|
77142
|
+
]),
|
|
77143
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
77144
|
+
], select.prototype, "__markSelectedMedia", null);
|
|
75958
77145
|
__decorate([
|
|
75959
77146
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
75960
77147
|
], select.prototype, "onStartSelection", null);
|
|
@@ -76004,12 +77191,89 @@ __decorate([
|
|
|
76004
77191
|
':click'
|
|
76005
77192
|
])
|
|
76006
77193
|
], select.prototype, "onTripleClickNormalizeSelection", null);
|
|
77194
|
+
__decorate([
|
|
77195
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
77196
|
+
':dblclick'
|
|
77197
|
+
])
|
|
77198
|
+
], select.prototype, "onDblClickPastLineEnd", null);
|
|
77199
|
+
__decorate([
|
|
77200
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
77201
|
+
':mouseup'
|
|
77202
|
+
])
|
|
77203
|
+
], select.prototype, "onMouseUpOnUneditableLine", null);
|
|
76007
77204
|
__decorate([
|
|
76008
77205
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
76009
77206
|
':copy',
|
|
76010
77207
|
':cut'
|
|
76011
77208
|
])
|
|
76012
77209
|
], select.prototype, "onCopyNormalizeSelectionBound", null);
|
|
77210
|
+
var isUneditable = function isUneditable(node) {
|
|
77211
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(node) && node.getAttribute('contenteditable') === 'false';
|
|
77212
|
+
};
|
|
77213
|
+
/**
|
|
77214
|
+
* The text a node shows outside its uneditable elements, whose own text, as
|
|
77215
|
+
* a video's fallback text, isn't on the line
|
|
77216
|
+
*/ var ownText = function ownText1(node) {
|
|
77217
|
+
var _a;
|
|
77218
|
+
return isUneditable(node) ? '' : _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) ? (_a = node.nodeValue) !== null && _a !== void 0 ? _a : '' : (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes).map(ownText).join('');
|
|
77219
|
+
};
|
|
77220
|
+
/**
|
|
77221
|
+
* The uneditable elements the range holds whole, without those inside
|
|
77222
|
+
* another. Only those under the range's common ancestor can be, and none
|
|
77223
|
+
* when that's a text node, as along one line of a drag
|
|
77224
|
+
*/ function uneditableIn(range, root) {
|
|
77225
|
+
var box = range.commonAncestorContainer;
|
|
77226
|
+
if (!_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(box)) {
|
|
77227
|
+
return [];
|
|
77228
|
+
}
|
|
77229
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(box.querySelectorAll('[contenteditable="false"]')).filter(function(elm) {
|
|
77230
|
+
if (!range.intersectsNode(elm)) {
|
|
77231
|
+
return false;
|
|
77232
|
+
}
|
|
77233
|
+
var own = elm.ownerDocument.createRange();
|
|
77234
|
+
own.selectNode(elm);
|
|
77235
|
+
return range.compareBoundaryPoints(Range.START_TO_START, own) <= 0 && range.compareBoundaryPoints(Range.END_TO_END, own) >= 0 && !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(elm.parentNode, isUneditable, root);
|
|
77236
|
+
});
|
|
77237
|
+
}
|
|
77238
|
+
/**
|
|
77239
|
+
* The range holds one element and nothing else, as a selected image does
|
|
77240
|
+
*/ function isElementSelection(range) {
|
|
77241
|
+
var startContainer = range.startContainer, startOffset = range.startOffset, endContainer = range.endContainer, endOffset = range.endOffset;
|
|
77242
|
+
return startContainer === endContainer && endOffset - startOffset === 1 && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(startContainer.childNodes[startOffset]);
|
|
77243
|
+
}
|
|
77244
|
+
/**
|
|
77245
|
+
* The range holds a line end and nothing else: no characters but
|
|
77246
|
+
* whitespace, and no element whole but a `<br>` or a line a caret can't go
|
|
77247
|
+
* on, as a video's. It ends in another block, or holds the `<br>`
|
|
77248
|
+
*/ function isLineBreak(range, root) {
|
|
77249
|
+
var startContainer = range.startContainer, endContainer = range.endContainer;
|
|
77250
|
+
if (range.collapsed || (0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(range.toString()) && (0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(ownText(range.cloneContents()))) {
|
|
77251
|
+
return false;
|
|
77252
|
+
}
|
|
77253
|
+
var crossesLineEnd = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(startContainer, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, root) !== _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(endContainer, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, root);
|
|
77254
|
+
var holdsBreaksOnly = function holdsBreaksOnly1(node) {
|
|
77255
|
+
if (!range.intersectsNode(node)) {
|
|
77256
|
+
return true;
|
|
77257
|
+
}
|
|
77258
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(node, startContainer) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(node, endContainer)) {
|
|
77259
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes).every(holdsBreaksOnly);
|
|
77260
|
+
}
|
|
77261
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isTag(node, 'br')) {
|
|
77262
|
+
crossesLineEnd = true;
|
|
77263
|
+
return true;
|
|
77264
|
+
}
|
|
77265
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) || isCaretless(node);
|
|
77266
|
+
};
|
|
77267
|
+
return holdsBreaksOnly(range.commonAncestorContainer) && crossesLineEnd;
|
|
77268
|
+
}
|
|
77269
|
+
/**
|
|
77270
|
+
* An uneditable element, or a block holding one and nothing else
|
|
77271
|
+
*/ function isCaretless(node) {
|
|
77272
|
+
var children = (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes);
|
|
77273
|
+
return isUneditable(node) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock(node) && children.some(isCaretless) && children.every(function(child) {
|
|
77274
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isEmptyTextNode(child) || isCaretless(child);
|
|
77275
|
+
});
|
|
77276
|
+
}
|
|
76013
77277
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('select', select);
|
|
76014
77278
|
|
|
76015
77279
|
|
|
@@ -83673,18 +84937,26 @@ UIVideoPropertiesForm = __decorate([
|
|
|
83673
84937
|
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
|
|
83674
84938
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
|
|
83675
84939
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(580);
|
|
83676
|
-
/* harmony import */ var
|
|
83677
|
-
/* harmony import */ var
|
|
83678
|
-
/* harmony import */ var
|
|
83679
|
-
/* harmony import */ var
|
|
83680
|
-
/* harmony import */ var
|
|
83681
|
-
/* harmony import */ var
|
|
84940
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5700);
|
|
84941
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37790);
|
|
84942
|
+
/* harmony import */ var _core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20356);
|
|
84943
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
84944
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(56917);
|
|
84945
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2073);
|
|
83682
84946
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34793);
|
|
83683
84947
|
/* harmony import */ var _ui_ui_video_form_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27828);
|
|
83684
84948
|
/* harmony import */ var _readers_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54426);
|
|
83685
84949
|
/* harmony import */ var _replace_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(96170);
|
|
83686
84950
|
/* harmony import */ var _writers_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(44909);
|
|
83687
84951
|
/* harmony import */ var _video_config_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(14984);
|
|
84952
|
+
function _array_like_to_array(arr, len) {
|
|
84953
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
84954
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
84955
|
+
return arr2;
|
|
84956
|
+
}
|
|
84957
|
+
function _array_with_holes(arr) {
|
|
84958
|
+
if (Array.isArray(arr)) return arr;
|
|
84959
|
+
}
|
|
83688
84960
|
function _assert_this_initialized(self) {
|
|
83689
84961
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
83690
84962
|
return self;
|
|
@@ -83756,6 +85028,33 @@ function _is_native_reflect_construct() {
|
|
|
83756
85028
|
return !!result;
|
|
83757
85029
|
})();
|
|
83758
85030
|
}
|
|
85031
|
+
function _iterable_to_array_limit(arr, i) {
|
|
85032
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
85033
|
+
if (_i == null) return;
|
|
85034
|
+
var _arr = [];
|
|
85035
|
+
var _n = true;
|
|
85036
|
+
var _d = false;
|
|
85037
|
+
var _s, _e;
|
|
85038
|
+
try {
|
|
85039
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
85040
|
+
_arr.push(_s.value);
|
|
85041
|
+
if (i && _arr.length === i) break;
|
|
85042
|
+
}
|
|
85043
|
+
} catch (err) {
|
|
85044
|
+
_d = true;
|
|
85045
|
+
_e = err;
|
|
85046
|
+
} finally{
|
|
85047
|
+
try {
|
|
85048
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
85049
|
+
} finally{
|
|
85050
|
+
if (_d) throw _e;
|
|
85051
|
+
}
|
|
85052
|
+
}
|
|
85053
|
+
return _arr;
|
|
85054
|
+
}
|
|
85055
|
+
function _non_iterable_rest() {
|
|
85056
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
85057
|
+
}
|
|
83759
85058
|
function _possible_constructor_return(self, call) {
|
|
83760
85059
|
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
83761
85060
|
return _assert_this_initialized(self);
|
|
@@ -83767,10 +85066,21 @@ function _set_prototype_of(o, p) {
|
|
|
83767
85066
|
};
|
|
83768
85067
|
return _set_prototype_of(o, p);
|
|
83769
85068
|
}
|
|
85069
|
+
function _sliced_to_array(arr, i) {
|
|
85070
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
85071
|
+
}
|
|
83770
85072
|
function _type_of(obj) {
|
|
83771
85073
|
"@swc/helpers - typeof";
|
|
83772
85074
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
83773
85075
|
}
|
|
85076
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
85077
|
+
if (!o) return;
|
|
85078
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
85079
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
85080
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
85081
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
85082
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
85083
|
+
}
|
|
83774
85084
|
function _wrap_native_super(Class) {
|
|
83775
85085
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
83776
85086
|
_wrap_native_super = function(Class) {
|
|
@@ -83904,7 +85214,7 @@ function _wrap_native_super(Class) {
|
|
|
83904
85214
|
],
|
|
83905
85215
|
buttons.check
|
|
83906
85216
|
]);
|
|
83907
|
-
(0,
|
|
85217
|
+
(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__.markOwner)(j, dialog.container);
|
|
83908
85218
|
return dialog;
|
|
83909
85219
|
}
|
|
83910
85220
|
},
|
|
@@ -83913,9 +85223,9 @@ function _wrap_native_super(Class) {
|
|
|
83913
85223
|
get: function get() {
|
|
83914
85224
|
var j = this.j;
|
|
83915
85225
|
return {
|
|
83916
|
-
check: (0,
|
|
83917
|
-
remove: (0,
|
|
83918
|
-
cancel: (0,
|
|
85226
|
+
check: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'ok', 'Apply', 'primary'),
|
|
85227
|
+
remove: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'bin', 'Delete'),
|
|
85228
|
+
cancel: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'cancel', 'Cancel')
|
|
83919
85229
|
};
|
|
83920
85230
|
}
|
|
83921
85231
|
},
|
|
@@ -83952,26 +85262,28 @@ function _wrap_native_super(Class) {
|
|
|
83952
85262
|
key: "__openPosterPopup",
|
|
83953
85263
|
value: function __openPosterPopup(button) {
|
|
83954
85264
|
var _this = this, j = _this.j, state = _this.state;
|
|
83955
|
-
var popup = new
|
|
85265
|
+
var popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.dialog);
|
|
83956
85266
|
var close = function close() {
|
|
83957
85267
|
popup.close();
|
|
83958
85268
|
popup.destruct();
|
|
83959
85269
|
};
|
|
83960
85270
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__.FileSelectorWidget)(j, {
|
|
83961
85271
|
upload: function upload(data) {
|
|
83962
|
-
|
|
83963
|
-
|
|
85272
|
+
var _getItems = _sliced_to_array((0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data), 1), item = _getItems[0];
|
|
85273
|
+
if (item) {
|
|
85274
|
+
state.values.poster = data.baseurl + item.file;
|
|
83964
85275
|
}
|
|
83965
85276
|
close();
|
|
83966
85277
|
},
|
|
83967
85278
|
filebrowser: function filebrowser(data) {
|
|
83968
|
-
|
|
83969
|
-
|
|
85279
|
+
var _getItems = _sliced_to_array((0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data), 1), item = _getItems[0];
|
|
85280
|
+
if (item) {
|
|
85281
|
+
state.values.poster = item.file;
|
|
83970
85282
|
close();
|
|
83971
85283
|
}
|
|
83972
85284
|
}
|
|
83973
85285
|
}, null, close)).open(function() {
|
|
83974
|
-
return (0,
|
|
85286
|
+
return (0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__.position)(button);
|
|
83975
85287
|
});
|
|
83976
85288
|
}
|
|
83977
85289
|
},
|
|
@@ -83992,7 +85304,7 @@ function _wrap_native_super(Class) {
|
|
|
83992
85304
|
}
|
|
83993
85305
|
]);
|
|
83994
85306
|
return videoProperties;
|
|
83995
|
-
}(_wrap_native_super(
|
|
85307
|
+
}(_wrap_native_super(_core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__.Plugin));
|
|
83996
85308
|
__decorate([
|
|
83997
85309
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.cache
|
|
83998
85310
|
], videoProperties.prototype, "form", null);
|
|
@@ -84115,8 +85427,9 @@ function setFlag(media, name, on) {
|
|
|
84115
85427
|
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2525);
|
|
84116
85428
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12153);
|
|
84117
85429
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6441);
|
|
84118
|
-
/* harmony import */ var
|
|
84119
|
-
/* harmony import */ var
|
|
85430
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2073);
|
|
85431
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92762);
|
|
85432
|
+
/* harmony import */ var _video_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37775);
|
|
84120
85433
|
/*!
|
|
84121
85434
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
84122
85435
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -84128,13 +85441,15 @@ function setFlag(media, name, on) {
|
|
|
84128
85441
|
|
|
84129
85442
|
|
|
84130
85443
|
|
|
85444
|
+
|
|
84131
85445
|
function insertVideos(data) {
|
|
84132
85446
|
var _this = this;
|
|
84133
|
-
var
|
|
84134
|
-
(
|
|
85447
|
+
var baseurl = data.baseurl;
|
|
85448
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__.getItems)(data).forEach(function(param) {
|
|
85449
|
+
var file = param.file;
|
|
84135
85450
|
_this.s.insertNode((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.prepareMedia)(_this, _this.createInside.element('video', {
|
|
84136
85451
|
controls: '',
|
|
84137
|
-
src:
|
|
85452
|
+
src: baseurl + file
|
|
84138
85453
|
})));
|
|
84139
85454
|
});
|
|
84140
85455
|
}
|
|
@@ -84144,7 +85459,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.video = {
|
|
|
84144
85459
|
defaultHeight: 345,
|
|
84145
85460
|
defaultHandlerSuccess: insertVideos
|
|
84146
85461
|
};
|
|
84147
|
-
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video',
|
|
85462
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]);
|
|
84148
85463
|
/**
|
|
84149
85464
|
* The video popup's tabs: Upload, when the uploader is configured, then Link
|
|
84150
85465
|
* and Code. `insert` runs what a tab inserts, which by default goes in at the
|
|
@@ -84196,7 +85511,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
84196
85511
|
var uploader = jodit.o.uploader;
|
|
84197
85512
|
// Base64 alone would put whole video files into the content
|
|
84198
85513
|
if (uploader.showTabInFileSelector !== false && (uploader.url || uploader.customUploadFunction)) {
|
|
84199
|
-
tabs.push((0,
|
|
85514
|
+
tabs.push((0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.UploadTab)(jodit, function(data) {
|
|
84200
85515
|
run(function() {
|
|
84201
85516
|
var _a, _b;
|
|
84202
85517
|
return ((_b = (_a = jodit.o.video) === null || _a === void 0 ? void 0 : _a.defaultHandlerSuccess) !== null && _b !== void 0 ? _b : insertVideos).call(jodit, data);
|
|
@@ -84225,7 +85540,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
84225
85540
|
formCode.onSubmit(function(data) {
|
|
84226
85541
|
insertCode(data.code);
|
|
84227
85542
|
});
|
|
84228
|
-
var box = (0,
|
|
85543
|
+
var box = (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.TabsWidget)(jodit, tabs);
|
|
84229
85544
|
// Its tabs are sized to their labels, as the file selector's are, since
|
|
84230
85545
|
// "Upload" doesn't fit a third of the popup
|
|
84231
85546
|
box.classList.add('jodit-file-selector');
|
|
@@ -84918,6 +86233,14 @@ function _wrap_native_super(Class) {
|
|
|
84918
86233
|
_core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
84919
86234
|
|
|
84920
86235
|
|
|
86236
|
+
/***/ }),
|
|
86237
|
+
|
|
86238
|
+
/***/ 25850:
|
|
86239
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
86240
|
+
|
|
86241
|
+
/* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M6 3h12v18l-6-4-6 4z\"/> </g> </svg> ");
|
|
86242
|
+
|
|
86243
|
+
|
|
84921
86244
|
/***/ }),
|
|
84922
86245
|
|
|
84923
86246
|
/***/ 78173:
|
|
@@ -85045,65 +86368,67 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
|
85045
86368
|
|
|
85046
86369
|
__webpack_require__.r(__webpack_exports__);
|
|
85047
86370
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
85048
|
-
/* harmony export */
|
|
85049
|
-
/* harmony export */
|
|
85050
|
-
/* harmony export */
|
|
85051
|
-
/* harmony export */
|
|
85052
|
-
/* harmony export */
|
|
85053
|
-
/* harmony export */
|
|
85054
|
-
/* harmony export */
|
|
85055
|
-
/* harmony export */
|
|
85056
|
-
/* harmony export */
|
|
85057
|
-
/* harmony export */
|
|
85058
|
-
/* harmony export */
|
|
85059
|
-
/* harmony export */
|
|
85060
|
-
/* harmony export */
|
|
85061
|
-
/* harmony export */
|
|
85062
|
-
/* harmony export */
|
|
85063
|
-
/* harmony export */
|
|
85064
|
-
/* harmony export */
|
|
85065
|
-
/* harmony export */
|
|
85066
|
-
/* harmony export */
|
|
85067
|
-
/* harmony export */
|
|
85068
|
-
/* harmony export */
|
|
85069
|
-
/* harmony export */
|
|
85070
|
-
/* harmony export */
|
|
85071
|
-
/* harmony export */
|
|
85072
|
-
/* harmony export */
|
|
85073
|
-
/* harmony export */
|
|
85074
|
-
/* harmony export */
|
|
85075
|
-
/* harmony export */
|
|
85076
|
-
/* harmony export */
|
|
86371
|
+
/* harmony export */ anchor: function() { return /* reexport safe */ _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__["default"]; },
|
|
86372
|
+
/* harmony export */ angle_down: function() { return /* reexport safe */ _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__["default"]; },
|
|
86373
|
+
/* harmony export */ angle_left: function() { return /* reexport safe */ _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__["default"]; },
|
|
86374
|
+
/* harmony export */ angle_right: function() { return /* reexport safe */ _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__["default"]; },
|
|
86375
|
+
/* harmony export */ angle_up: function() { return /* reexport safe */ _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__["default"]; },
|
|
86376
|
+
/* harmony export */ bin: function() { return /* reexport safe */ _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__["default"]; },
|
|
86377
|
+
/* harmony export */ cancel: function() { return /* reexport safe */ _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__["default"]; },
|
|
86378
|
+
/* harmony export */ center: function() { return /* reexport safe */ _center_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]; },
|
|
86379
|
+
/* harmony export */ check: function() { return /* reexport safe */ _check_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
86380
|
+
/* harmony export */ chevron: function() { return /* reexport safe */ _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
86381
|
+
/* harmony export */ dots: function() { return /* reexport safe */ _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
86382
|
+
/* harmony export */ download: function() { return /* reexport safe */ _download_svg_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
86383
|
+
/* harmony export */ eraser: function() { return /* reexport safe */ _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
86384
|
+
/* harmony export */ eye: function() { return /* reexport safe */ _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
86385
|
+
/* harmony export */ file: function() { return /* reexport safe */ _file_svg_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
86386
|
+
/* harmony export */ folder: function() { return /* reexport safe */ _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
86387
|
+
/* harmony export */ info_circle: function() { return /* reexport safe */ _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
86388
|
+
/* harmony export */ left: function() { return /* reexport safe */ _left_svg_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
86389
|
+
/* harmony export */ lock: function() { return /* reexport safe */ _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
86390
|
+
/* harmony export */ ok: function() { return /* reexport safe */ _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
86391
|
+
/* harmony export */ pencil: function() { return /* reexport safe */ _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
86392
|
+
/* harmony export */ plus: function() { return /* reexport safe */ _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
86393
|
+
/* harmony export */ resize_handler: function() { return /* reexport safe */ _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
86394
|
+
/* harmony export */ right: function() { return /* reexport safe */ _right_svg_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
86395
|
+
/* harmony export */ save: function() { return /* reexport safe */ _save_svg_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
86396
|
+
/* harmony export */ settings: function() { return /* reexport safe */ _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__["default"]; },
|
|
86397
|
+
/* harmony export */ unlock: function() { return /* reexport safe */ _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
86398
|
+
/* harmony export */ update: function() { return /* reexport safe */ _update_svg_js__WEBPACK_IMPORTED_MODULE_27__["default"]; },
|
|
86399
|
+
/* harmony export */ upload: function() { return /* reexport safe */ _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__["default"]; },
|
|
86400
|
+
/* harmony export */ valign: function() { return /* reexport safe */ _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__["default"]; }
|
|
85077
86401
|
/* harmony export */ });
|
|
85078
|
-
/* harmony import */ var
|
|
85079
|
-
/* harmony import */ var
|
|
85080
|
-
/* harmony import */ var
|
|
85081
|
-
/* harmony import */ var
|
|
85082
|
-
/* harmony import */ var
|
|
85083
|
-
/* harmony import */ var
|
|
85084
|
-
/* harmony import */ var
|
|
85085
|
-
/* harmony import */ var
|
|
85086
|
-
/* harmony import */ var
|
|
85087
|
-
/* harmony import */ var
|
|
85088
|
-
/* harmony import */ var
|
|
85089
|
-
/* harmony import */ var
|
|
85090
|
-
/* harmony import */ var
|
|
85091
|
-
/* harmony import */ var
|
|
85092
|
-
/* harmony import */ var
|
|
85093
|
-
/* harmony import */ var
|
|
85094
|
-
/* harmony import */ var
|
|
85095
|
-
/* harmony import */ var
|
|
85096
|
-
/* harmony import */ var
|
|
85097
|
-
/* harmony import */ var
|
|
85098
|
-
/* harmony import */ var
|
|
85099
|
-
/* harmony import */ var
|
|
85100
|
-
/* harmony import */ var
|
|
85101
|
-
/* harmony import */ var
|
|
85102
|
-
/* harmony import */ var
|
|
85103
|
-
/* harmony import */ var
|
|
85104
|
-
/* harmony import */ var
|
|
85105
|
-
/* harmony import */ var
|
|
85106
|
-
/* harmony import */ var
|
|
86402
|
+
/* harmony import */ var _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25850);
|
|
86403
|
+
/* harmony import */ var _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78173);
|
|
86404
|
+
/* harmony import */ var _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16260);
|
|
86405
|
+
/* harmony import */ var _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37663);
|
|
86406
|
+
/* harmony import */ var _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51036);
|
|
86407
|
+
/* harmony import */ var _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31554);
|
|
86408
|
+
/* harmony import */ var _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(18309);
|
|
86409
|
+
/* harmony import */ var _center_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99762);
|
|
86410
|
+
/* harmony import */ var _check_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7903);
|
|
86411
|
+
/* harmony import */ var _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(58032);
|
|
86412
|
+
/* harmony import */ var _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(52507);
|
|
86413
|
+
/* harmony import */ var _download_svg_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1647);
|
|
86414
|
+
/* harmony import */ var _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98535);
|
|
86415
|
+
/* harmony import */ var _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(43478);
|
|
86416
|
+
/* harmony import */ var _file_svg_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(60097);
|
|
86417
|
+
/* harmony import */ var _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(49155);
|
|
86418
|
+
/* harmony import */ var _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(17176);
|
|
86419
|
+
/* harmony import */ var _left_svg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(57882);
|
|
86420
|
+
/* harmony import */ var _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(58908);
|
|
86421
|
+
/* harmony import */ var _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(24829);
|
|
86422
|
+
/* harmony import */ var _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(4038);
|
|
86423
|
+
/* harmony import */ var _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(45575);
|
|
86424
|
+
/* harmony import */ var _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(84858);
|
|
86425
|
+
/* harmony import */ var _right_svg_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(445);
|
|
86426
|
+
/* harmony import */ var _save_svg_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(36886);
|
|
86427
|
+
/* harmony import */ var _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(10766);
|
|
86428
|
+
/* harmony import */ var _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(33651);
|
|
86429
|
+
/* harmony import */ var _update_svg_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(20362);
|
|
86430
|
+
/* harmony import */ var _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(12202);
|
|
86431
|
+
/* harmony import */ var _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(80152);
|
|
85107
86432
|
/*!
|
|
85108
86433
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
85109
86434
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -85142,6 +86467,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
85142
86467
|
|
|
85143
86468
|
|
|
85144
86469
|
|
|
86470
|
+
|
|
85145
86471
|
|
|
85146
86472
|
|
|
85147
86473
|
/***/ }),
|