jodit-pro 4.19.13 → 4.20.1
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 +9 -9
- package/es2015/jodit.js +1569 -553
- 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 +9 -9
- 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 +14 -14
- package/es2021/jodit.js +1523 -553
- 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 +14 -14
- package/es2021.en/jodit.js +1523 -553
- 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 +1922 -618
- 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.1
|
|
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.1";
|
|
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
|
/***/ }),
|
|
@@ -25616,6 +25660,10 @@ var Popup = Popup_1 = /*#__PURE__*/ function(UIGroup) {
|
|
|
25616
25660
|
_this.smart = smart;
|
|
25617
25661
|
_this.isOpened = false;
|
|
25618
25662
|
_this.strategy = 'leftBottom';
|
|
25663
|
+
/**
|
|
25664
|
+
* The popup stays open after one of its buttons runs: the button closes
|
|
25665
|
+
* only the lists it opened. See #1741
|
|
25666
|
+
*/ _this.keepOpen = false;
|
|
25619
25667
|
_this.viewBound = function() {
|
|
25620
25668
|
return {
|
|
25621
25669
|
left: 0,
|
|
@@ -27159,6 +27207,7 @@ var CommitMode = function CommitMode() {
|
|
|
27159
27207
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(70231);
|
|
27160
27208
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6441);
|
|
27161
27209
|
/* harmony import */ var _modules_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41409);
|
|
27210
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2073);
|
|
27162
27211
|
function _array_like_to_array(arr, len) {
|
|
27163
27212
|
if (len == null || len > arr.length) len = arr.length;
|
|
27164
27213
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -27327,6 +27376,7 @@ var Jodit_1;
|
|
|
27327
27376
|
|
|
27328
27377
|
|
|
27329
27378
|
|
|
27379
|
+
|
|
27330
27380
|
var FOCUS_EVENTS = new Set([
|
|
27331
27381
|
'focus',
|
|
27332
27382
|
'blur',
|
|
@@ -27665,17 +27715,16 @@ var Jodit = Jodit_1 = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
27665
27715
|
theme: jodit.o.theme,
|
|
27666
27716
|
shadowRoot: jodit.o.shadowRoot,
|
|
27667
27717
|
defaultCallback: function defaultCallback(data) {
|
|
27668
|
-
|
|
27669
|
-
|
|
27670
|
-
|
|
27671
|
-
|
|
27672
|
-
|
|
27673
|
-
|
|
27674
|
-
|
|
27675
|
-
|
|
27676
|
-
|
|
27677
|
-
|
|
27678
|
-
}
|
|
27718
|
+
var baseurl = data.baseurl;
|
|
27719
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__.getItems)(data).forEach(function(param) {
|
|
27720
|
+
var file = param.file, isImage = param.isImage;
|
|
27721
|
+
var url = baseurl + file;
|
|
27722
|
+
if (isImage) {
|
|
27723
|
+
jodit.s.insertImage(url, null, jodit.o.imageDefaultWidth);
|
|
27724
|
+
} else {
|
|
27725
|
+
jodit.s.insertNode(jodit.createInside.fromHTML("<a href='".concat(url, "' title='").concat(url, "'>").concat(url, "</a>")));
|
|
27726
|
+
}
|
|
27727
|
+
});
|
|
27679
27728
|
}
|
|
27680
27729
|
}, this.o.filebrowser);
|
|
27681
27730
|
return jodit.getInstance('FileBrowser', options);
|
|
@@ -28953,6 +29002,11 @@ function addClassNames(className, elm) {
|
|
|
28953
29002
|
'Insert file': 'ادخال الملف',
|
|
28954
29003
|
'Insert youtube/vimeo video': 'إدراج فيديو يوتيوب/فيميو ',
|
|
28955
29004
|
'Insert link': 'إدراج رابط',
|
|
29005
|
+
'Insert anchor': 'إدراج مرساة',
|
|
29006
|
+
'Link to an anchor': 'ربط بمرساة',
|
|
29007
|
+
'On this page': 'في هذه الصفحة',
|
|
29008
|
+
'The name cannot contain spaces': 'لا يمكن أن يحتوي الاسم على مسافات',
|
|
29009
|
+
'This name is already in use': 'هذا الاسم مستخدم بالفعل',
|
|
28956
29010
|
'Font size': 'حجم الخط',
|
|
28957
29011
|
'Font family': 'نوع الخط',
|
|
28958
29012
|
'Insert format block': 'إدراج كتلة تنسيق',
|
|
@@ -29195,6 +29249,11 @@ function addClassNames(className, elm) {
|
|
|
29195
29249
|
'Insert file': 'Fayl əlavə et',
|
|
29196
29250
|
'Insert youtube/vimeo video': 'Youtube/vimeo video əlavə et',
|
|
29197
29251
|
'Insert link': 'Keçid əlavə et',
|
|
29252
|
+
'Insert anchor': 'Lövbər əlavə et',
|
|
29253
|
+
'Link to an anchor': 'Lövbərə keçid',
|
|
29254
|
+
'On this page': 'Bu səhifədə',
|
|
29255
|
+
'The name cannot contain spaces': 'Adda boşluq ola bilməz',
|
|
29256
|
+
'This name is already in use': 'Bu ad artıq istifadə olunur',
|
|
29198
29257
|
'Font size': 'Şrift ölçüsü',
|
|
29199
29258
|
'Font family': 'Şrift ailəsi',
|
|
29200
29259
|
'Line height': 'Sətir hündürlüyü',
|
|
@@ -29422,7 +29481,7 @@ function addClassNames(className, elm) {
|
|
|
29422
29481
|
'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
29482
|
'Buy full version': 'Koupit plnou verzi',
|
|
29424
29483
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.',
|
|
29425
|
-
Anchor: '
|
|
29484
|
+
Anchor: 'Kotva',
|
|
29426
29485
|
'Open in new tab': 'Otevřít v nové záložce',
|
|
29427
29486
|
'Open in fullsize': 'Otevřít v celoobrazovkovém režimu',
|
|
29428
29487
|
'Clear Formatting': 'Vyčistit formátování',
|
|
@@ -29442,6 +29501,11 @@ function addClassNames(className, elm) {
|
|
|
29442
29501
|
'Insert file': 'Vložit soubor',
|
|
29443
29502
|
'Insert youtube/vimeo video': 'Vložit video (YT/Vimeo)',
|
|
29444
29503
|
'Insert link': 'Vložit odkaz',
|
|
29504
|
+
'Insert anchor': 'Vložit kotvu',
|
|
29505
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
29506
|
+
'On this page': 'Na této stránce',
|
|
29507
|
+
'The name cannot contain spaces': 'Název nesmí obsahovat mezery',
|
|
29508
|
+
'This name is already in use': 'Tento název se již používá',
|
|
29445
29509
|
'Font size': 'Velikost písma',
|
|
29446
29510
|
'Font family': 'Typ písma',
|
|
29447
29511
|
'Insert format block': 'Formátovat blok',
|
|
@@ -29681,6 +29745,11 @@ function addClassNames(className, elm) {
|
|
|
29681
29745
|
'Insert file': 'Datei einfügen',
|
|
29682
29746
|
'Insert youtube/vimeo video': 'Youtube/vimeo Video einfügen',
|
|
29683
29747
|
'Insert link': 'Link einfügen',
|
|
29748
|
+
'Insert anchor': 'Anker einfügen',
|
|
29749
|
+
'Link to an anchor': 'Mit einem Anker verlinken',
|
|
29750
|
+
'On this page': 'Auf dieser Seite',
|
|
29751
|
+
'The name cannot contain spaces': 'Der Name darf keine Leerzeichen enthalten',
|
|
29752
|
+
'This name is already in use': 'Dieser Name wird bereits verwendet',
|
|
29684
29753
|
'Font size': 'Schriftgröße',
|
|
29685
29754
|
'Font family': 'Schriftfamilie',
|
|
29686
29755
|
'Insert format block': 'Formatblock einfügen',
|
|
@@ -29921,7 +29990,7 @@ function addClassNames(className, elm) {
|
|
|
29921
29990
|
'For information about the license, please go to our website:': 'Para información sobre la licencia, por favor visite nuestro sitio:',
|
|
29922
29991
|
'Buy full version': 'Compre la versión completa',
|
|
29923
29992
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.',
|
|
29924
|
-
Anchor: '
|
|
29993
|
+
Anchor: 'Ancla',
|
|
29925
29994
|
'Open in new tab': 'Abrir en nueva pestaña',
|
|
29926
29995
|
'Open in fullsize': 'Abrir editor en pantalla completa',
|
|
29927
29996
|
'Clear Formatting': 'Limpiar formato',
|
|
@@ -29941,6 +30010,11 @@ function addClassNames(className, elm) {
|
|
|
29941
30010
|
'Insert file': 'Insertar archivo',
|
|
29942
30011
|
'Insert youtube/vimeo video': 'Insertar video de Youtube/vimeo',
|
|
29943
30012
|
'Insert link': 'Insertar vínculo',
|
|
30013
|
+
'Insert anchor': 'Insertar ancla',
|
|
30014
|
+
'Link to an anchor': 'Enlazar a un ancla',
|
|
30015
|
+
'On this page': 'En esta página',
|
|
30016
|
+
'The name cannot contain spaces': 'El nombre no puede contener espacios',
|
|
30017
|
+
'This name is already in use': 'Este nombre ya está en uso',
|
|
29944
30018
|
'Font size': 'Tamaño de letra',
|
|
29945
30019
|
'Font family': 'Familia de letra',
|
|
29946
30020
|
'Insert format block': 'Insertar bloque',
|
|
@@ -30164,7 +30238,7 @@ function addClassNames(className, elm) {
|
|
|
30164
30238
|
'For information about the license, please go to our website:': 'برای کسب اطلاعات در رابطه با لایسنس لطفا به وب سایت مراجعه کنید:',
|
|
30165
30239
|
'Buy full version': 'خرید نسخه کامل',
|
|
30166
30240
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.',
|
|
30167
|
-
Anchor: '
|
|
30241
|
+
Anchor: 'لنگر',
|
|
30168
30242
|
'Open in new tab': 'بازکردن در تب جدید',
|
|
30169
30243
|
'Open in fullsize': 'تمام صفحه کردن ویرایشگر',
|
|
30170
30244
|
'Clear Formatting': 'پاک کردن قالب ها',
|
|
@@ -30184,6 +30258,11 @@ function addClassNames(className, elm) {
|
|
|
30184
30258
|
'Insert file': 'افزودن فایل',
|
|
30185
30259
|
'Insert youtube/vimeo video': 'افزودن ویدیو از یوتیوب و وایمو',
|
|
30186
30260
|
'Insert link': 'افزودن لینک',
|
|
30261
|
+
'Insert anchor': 'افزودن لنگر',
|
|
30262
|
+
'Link to an anchor': 'پیوند به لنگر',
|
|
30263
|
+
'On this page': 'در این صفحه',
|
|
30264
|
+
'The name cannot contain spaces': 'نام نمیتواند فاصله داشته باشد',
|
|
30265
|
+
'This name is already in use': 'این نام قبلاً استفاده شده است',
|
|
30187
30266
|
'Font size': 'اندازه فونت',
|
|
30188
30267
|
'Font family': 'فونت',
|
|
30189
30268
|
'Insert format block': 'افزودن بلاک',
|
|
@@ -30422,6 +30501,11 @@ function addClassNames(className, elm) {
|
|
|
30422
30501
|
'Insert file': 'Lisää tiedosto',
|
|
30423
30502
|
'Insert youtube/vimeo video': 'Lisää Youtube-/vimeo- video',
|
|
30424
30503
|
'Insert link': 'Lisää linkki',
|
|
30504
|
+
'Insert anchor': 'Lisää ankkuri',
|
|
30505
|
+
'Link to an anchor': 'Linkitä ankkuriin',
|
|
30506
|
+
'On this page': 'Tällä sivulla',
|
|
30507
|
+
'The name cannot contain spaces': 'Nimessä ei voi olla välilyöntejä',
|
|
30508
|
+
'This name is already in use': 'Tämä nimi on jo käytössä',
|
|
30425
30509
|
'Font size': 'Kirjasimen koko',
|
|
30426
30510
|
'Font family': 'Kirjasimen nimi',
|
|
30427
30511
|
'Insert format block': 'Lisää muotoilualue',
|
|
@@ -30665,6 +30749,11 @@ function addClassNames(className, elm) {
|
|
|
30665
30749
|
'Insert file': 'Insérer un fichier',
|
|
30666
30750
|
'Insert youtube/vimeo video': 'Insérer une vidéo',
|
|
30667
30751
|
'Insert link': 'Insérer un lien',
|
|
30752
|
+
'Insert anchor': 'Insérer une ancre',
|
|
30753
|
+
'Link to an anchor': 'Lier à une ancre',
|
|
30754
|
+
'On this page': 'Sur cette page',
|
|
30755
|
+
'The name cannot contain spaces': "Le nom ne peut pas contenir d'espaces",
|
|
30756
|
+
'This name is already in use': 'Ce nom est déjà utilisé',
|
|
30668
30757
|
'Font size': 'Taille des caractères',
|
|
30669
30758
|
'Font family': 'Famille des caractères',
|
|
30670
30759
|
'Insert format block': 'Bloc formatté',
|
|
@@ -30884,7 +30973,7 @@ function addClassNames(className, elm) {
|
|
|
30884
30973
|
'For information about the license, please go to our website:': 'For information about the license, please go to our website:',
|
|
30885
30974
|
'Buy full version': 'Buy full version',
|
|
30886
30975
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
30887
|
-
Anchor: '
|
|
30976
|
+
Anchor: 'עוגן',
|
|
30888
30977
|
'Open in new tab': 'פתח בכרטיסיה חדשה',
|
|
30889
30978
|
'Open in fullsize': 'פתח את העורך בחלון חדש',
|
|
30890
30979
|
'Clear Formatting': 'נקה עיצוב',
|
|
@@ -30904,6 +30993,11 @@ function addClassNames(className, elm) {
|
|
|
30904
30993
|
'Insert file': 'הכנס קובץ',
|
|
30905
30994
|
'Insert youtube/vimeo video': 'הכנס סרטון וידאו מYouTube/Vimeo',
|
|
30906
30995
|
'Insert link': 'הכנס קישור',
|
|
30996
|
+
'Insert anchor': 'הכנס עוגן',
|
|
30997
|
+
'Link to an anchor': 'קישור לעוגן',
|
|
30998
|
+
'On this page': 'בדף זה',
|
|
30999
|
+
'The name cannot contain spaces': 'השם לא יכול להכיל רווחים',
|
|
31000
|
+
'This name is already in use': 'השם הזה כבר בשימוש',
|
|
30907
31001
|
'Font size': 'גודל גופן',
|
|
30908
31002
|
'Font family': 'גופן',
|
|
30909
31003
|
'Insert format block': 'מעוצב מראש',
|
|
@@ -31143,6 +31237,11 @@ function addClassNames(className, elm) {
|
|
|
31143
31237
|
'Insert file': 'Fájl beszúrás',
|
|
31144
31238
|
'Insert youtube/vimeo video': 'Youtube videó beszúrása',
|
|
31145
31239
|
'Insert link': 'Link beszúrás',
|
|
31240
|
+
'Insert anchor': 'Horgony beszúrás',
|
|
31241
|
+
'Link to an anchor': 'Hivatkozás horgonyra',
|
|
31242
|
+
'On this page': 'Ezen az oldalon',
|
|
31243
|
+
'The name cannot contain spaces': 'A név nem tartalmazhat szóközt',
|
|
31244
|
+
'This name is already in use': 'Ez a név már foglalt',
|
|
31146
31245
|
'Font size': 'Betűméret',
|
|
31147
31246
|
'Font family': 'Betűtípus',
|
|
31148
31247
|
'Insert format block': 'Formázott blokk beszúrása',
|
|
@@ -31362,7 +31461,7 @@ function addClassNames(className, elm) {
|
|
|
31362
31461
|
'For information about the license, please go to our website:': 'Untuk informasi tentang lisensi, silakan kunjungi website:',
|
|
31363
31462
|
'Buy full version': 'Beli versi lengkap',
|
|
31364
31463
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.',
|
|
31365
|
-
Anchor: '
|
|
31464
|
+
Anchor: 'Jangkar',
|
|
31366
31465
|
'Open in new tab': 'Buka di tab baru',
|
|
31367
31466
|
'Open in fullsize': 'Buka editor dalam ukuran penuh',
|
|
31368
31467
|
'Clear Formatting': 'Hapus Pemformatan',
|
|
@@ -31382,6 +31481,11 @@ function addClassNames(className, elm) {
|
|
|
31382
31481
|
'Insert file': 'Sisipkan Berkas',
|
|
31383
31482
|
'Insert youtube/vimeo video': 'Sisipkan video youtube/vimeo',
|
|
31384
31483
|
'Insert link': 'Sisipkan tautan',
|
|
31484
|
+
'Insert anchor': 'Sisipkan jangkar',
|
|
31485
|
+
'Link to an anchor': 'Tautkan ke jangkar',
|
|
31486
|
+
'On this page': 'Di halaman ini',
|
|
31487
|
+
'The name cannot contain spaces': 'Nama tidak boleh mengandung spasi',
|
|
31488
|
+
'This name is already in use': 'Nama ini sudah digunakan',
|
|
31385
31489
|
'Font size': 'Ukuran font',
|
|
31386
31490
|
'Font family': 'Keluarga font',
|
|
31387
31491
|
'Insert format block': 'Sisipkan blok format',
|
|
@@ -31601,7 +31705,7 @@ function addClassNames(className, elm) {
|
|
|
31601
31705
|
'For information about the license, please go to our website:': 'Per informazioni sulla licenza, si prega di visitare il nostro sito web:',
|
|
31602
31706
|
'Buy full version': 'Acquista la versione completa',
|
|
31603
31707
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.',
|
|
31604
|
-
Anchor: '
|
|
31708
|
+
Anchor: 'Ancora',
|
|
31605
31709
|
'Open in new tab': 'Apri in una nuova scheda',
|
|
31606
31710
|
'Open in fullsize': "Apri l'editor a schermo intero",
|
|
31607
31711
|
'Clear Formatting': 'Pulisci Formattazione',
|
|
@@ -31621,6 +31725,11 @@ function addClassNames(className, elm) {
|
|
|
31621
31725
|
'Insert file': 'Inserisci un file',
|
|
31622
31726
|
'Insert youtube/vimeo video': 'Inserisci video Youtube/Vimeo',
|
|
31623
31727
|
'Insert link': 'Inserisci link',
|
|
31728
|
+
'Insert anchor': 'Inserisci ancora',
|
|
31729
|
+
'Link to an anchor': "Collega a un'ancora",
|
|
31730
|
+
'On this page': 'In questa pagina',
|
|
31731
|
+
'The name cannot contain spaces': 'Il nome non può contenere spazi',
|
|
31732
|
+
'This name is already in use': 'Questo nome è già in uso',
|
|
31624
31733
|
'Font size': 'Dimensione carattere',
|
|
31625
31734
|
'Font family': 'Tipo di font',
|
|
31626
31735
|
'Insert format block': 'Inserisci blocco',
|
|
@@ -31844,7 +31953,7 @@ function addClassNames(className, elm) {
|
|
|
31844
31953
|
'For information about the license, please go to our website:': 'ライセンス詳細についてはJodit Webサイトを確認ください:',
|
|
31845
31954
|
'Buy full version': 'フルバージョンを購入',
|
|
31846
31955
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
31847
|
-
Anchor: '
|
|
31956
|
+
Anchor: 'アンカー',
|
|
31848
31957
|
'Open in new tab': '新しいタブで開く',
|
|
31849
31958
|
'Open in fullsize': 'エディターのサイズ(フル/ノーマル)',
|
|
31850
31959
|
'Clear Formatting': '書式をクリア',
|
|
@@ -31864,6 +31973,11 @@ function addClassNames(className, elm) {
|
|
|
31864
31973
|
'Insert file': 'ファイルを挿入',
|
|
31865
31974
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 動画',
|
|
31866
31975
|
'Insert link': 'リンクを挿入',
|
|
31976
|
+
'Insert anchor': 'アンカーを挿入',
|
|
31977
|
+
'Link to an anchor': 'アンカーにリンク',
|
|
31978
|
+
'On this page': 'このページ内',
|
|
31979
|
+
'The name cannot contain spaces': '名前にスペースは使えません',
|
|
31980
|
+
'This name is already in use': 'この名前はすでに使われています',
|
|
31867
31981
|
'Font size': 'フォントサイズ',
|
|
31868
31982
|
'Font family': 'フォント',
|
|
31869
31983
|
'Insert format block': 'テキストのスタイル',
|
|
@@ -32098,7 +32212,7 @@ function addClassNames(className, elm) {
|
|
|
32098
32212
|
'For information about the license, please go to our website:': '라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:',
|
|
32099
32213
|
'Buy full version': '풀 버전 구입하기',
|
|
32100
32214
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': '© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.',
|
|
32101
|
-
Anchor: '
|
|
32215
|
+
Anchor: '앵커',
|
|
32102
32216
|
'Open in new tab': '새 탭에서 열기',
|
|
32103
32217
|
'Open in fullsize': '전체 크기로 보기',
|
|
32104
32218
|
'Clear Formatting': '서식 지우기',
|
|
@@ -32118,6 +32232,11 @@ function addClassNames(className, elm) {
|
|
|
32118
32232
|
'Insert file': '파일 넣기',
|
|
32119
32233
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 동영상',
|
|
32120
32234
|
'Insert link': '링크 넣기',
|
|
32235
|
+
'Insert anchor': '앵커 넣기',
|
|
32236
|
+
'Link to an anchor': '앵커에 연결',
|
|
32237
|
+
'On this page': '이 페이지에서',
|
|
32238
|
+
'The name cannot contain spaces': '이름에 공백을 넣을 수 없습니다',
|
|
32239
|
+
'This name is already in use': '이미 사용 중인 이름입니다',
|
|
32121
32240
|
'Font size': '글꼴 크기',
|
|
32122
32241
|
'Font family': '글꼴',
|
|
32123
32242
|
'Insert format block': '블록 요소 넣기',
|
|
@@ -32336,7 +32455,7 @@ function addClassNames(className, elm) {
|
|
|
32336
32455
|
'For information about the license, please go to our website:': 'Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:',
|
|
32337
32456
|
'Buy full version': 'Бүрэн хувилбар худалдан авах',
|
|
32338
32457
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.',
|
|
32339
|
-
Anchor: '
|
|
32458
|
+
Anchor: 'Зангуу',
|
|
32340
32459
|
'Open in new tab': 'Шинэ табаар нээх',
|
|
32341
32460
|
'Open in fullsize': 'Бүтэн дэлгэцээр нээх',
|
|
32342
32461
|
'Clear Formatting': 'Форматыг арилгах',
|
|
@@ -32356,6 +32475,11 @@ function addClassNames(className, elm) {
|
|
|
32356
32475
|
'Insert file': 'Файл нэмэх',
|
|
32357
32476
|
'Insert youtube/vimeo video': 'Youtube/Vimeo видео нэмэх',
|
|
32358
32477
|
'Insert link': 'Холбоос нэмэх',
|
|
32478
|
+
'Insert anchor': 'Зангуу нэмэх',
|
|
32479
|
+
'Link to an anchor': 'Зангуу руу холбох',
|
|
32480
|
+
'On this page': 'Энэ хуудсанд',
|
|
32481
|
+
'The name cannot contain spaces': 'Нэрэнд хоосон зай байж болохгүй',
|
|
32482
|
+
'This name is already in use': 'Энэ нэр аль хэдийн ашиглагдаж байна',
|
|
32359
32483
|
'Font size': 'Фонтын хэмжээ',
|
|
32360
32484
|
'Font family': 'Фонтын бүл',
|
|
32361
32485
|
'Insert format block': 'Блок нэмэх',
|
|
@@ -32595,6 +32719,11 @@ function addClassNames(className, elm) {
|
|
|
32595
32719
|
'Insert file': 'Bestand invoegen',
|
|
32596
32720
|
'Insert youtube/vimeo video': 'Youtube/Vimeo video invoegen',
|
|
32597
32721
|
'Insert link': 'Link toevoegen',
|
|
32722
|
+
'Insert anchor': 'Anker toevoegen',
|
|
32723
|
+
'Link to an anchor': 'Naar een anker linken',
|
|
32724
|
+
'On this page': 'Op deze pagina',
|
|
32725
|
+
'The name cannot contain spaces': 'De naam mag geen spaties bevatten',
|
|
32726
|
+
'This name is already in use': 'Deze naam is al in gebruik',
|
|
32598
32727
|
'Font size': 'Tekstgrootte',
|
|
32599
32728
|
'Font family': 'Lettertype',
|
|
32600
32729
|
'Insert format block': 'Format blok invoegen',
|
|
@@ -32832,6 +32961,11 @@ function addClassNames(className, elm) {
|
|
|
32832
32961
|
'Insert file': 'Sett inn fil',
|
|
32833
32962
|
'Insert youtube/vimeo video': 'Sett inn YouTube/Vimeo-video',
|
|
32834
32963
|
'Insert link': 'Sett inn lenke',
|
|
32964
|
+
'Insert anchor': 'Sett inn anker',
|
|
32965
|
+
'Link to an anchor': 'Lenke til et anker',
|
|
32966
|
+
'On this page': 'På denne siden',
|
|
32967
|
+
'The name cannot contain spaces': 'Navnet kan ikke inneholde mellomrom',
|
|
32968
|
+
'This name is already in use': 'Dette navnet er allerede i bruk',
|
|
32835
32969
|
'Font size': 'Skriftstørrelse',
|
|
32836
32970
|
'Font family': 'Skriftfamilie',
|
|
32837
32971
|
'Insert format block': 'Sett inn formateringsblokk',
|
|
@@ -33080,6 +33214,11 @@ function addClassNames(className, elm) {
|
|
|
33080
33214
|
'Insert file': 'Wstaw plik',
|
|
33081
33215
|
'Insert youtube/vimeo video': 'Wstaw film Youtube/vimeo',
|
|
33082
33216
|
'Insert link': 'Wstaw link',
|
|
33217
|
+
'Insert anchor': 'Wstaw kotwicę',
|
|
33218
|
+
'Link to an anchor': 'Link do kotwicy',
|
|
33219
|
+
'On this page': 'Na tej stronie',
|
|
33220
|
+
'The name cannot contain spaces': 'Nazwa nie może zawierać spacji',
|
|
33221
|
+
'This name is already in use': 'Ta nazwa jest już używana',
|
|
33083
33222
|
'Font size': 'Rozmiar tekstu',
|
|
33084
33223
|
'Font family': 'Krój czcionki',
|
|
33085
33224
|
'Insert format block': 'Wstaw formatowanie',
|
|
@@ -33298,7 +33437,7 @@ function addClassNames(className, elm) {
|
|
|
33298
33437
|
'For information about the license, please go to our website:': 'Para informação sobre a licença, por favor visite nosso site:',
|
|
33299
33438
|
'Buy full version': 'Compre a versão completa',
|
|
33300
33439
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.',
|
|
33301
|
-
Anchor: '
|
|
33440
|
+
Anchor: 'Âncora',
|
|
33302
33441
|
'Open in new tab': 'Abrir em nova aba',
|
|
33303
33442
|
'Open in fullsize': 'Abrir editor em tela cheia',
|
|
33304
33443
|
'Clear Formatting': 'Limpar formatação',
|
|
@@ -33318,6 +33457,11 @@ function addClassNames(className, elm) {
|
|
|
33318
33457
|
'Insert file': 'Inserir arquivo',
|
|
33319
33458
|
'Insert youtube/vimeo video': 'Inserir vídeo do Youtube/vimeo',
|
|
33320
33459
|
'Insert link': 'Inserir link',
|
|
33460
|
+
'Insert anchor': 'Inserir âncora',
|
|
33461
|
+
'Link to an anchor': 'Vincular a uma âncora',
|
|
33462
|
+
'On this page': 'Nesta página',
|
|
33463
|
+
'The name cannot contain spaces': 'O nome não pode conter espaços',
|
|
33464
|
+
'This name is already in use': 'Este nome já está em uso',
|
|
33321
33465
|
'Font size': 'Tamanho da letra',
|
|
33322
33466
|
'Font family': 'Fonte',
|
|
33323
33467
|
'Insert format block': 'Inserir bloco',
|
|
@@ -33540,7 +33684,7 @@ function addClassNames(className, elm) {
|
|
|
33540
33684
|
'For information about the license, please go to our website:': 'Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:',
|
|
33541
33685
|
'Buy full version': 'Купить полную версию',
|
|
33542
33686
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.',
|
|
33543
|
-
Anchor: '
|
|
33687
|
+
Anchor: 'Якорь',
|
|
33544
33688
|
'Open in new tab': 'Открывать ссылку в новой вкладке',
|
|
33545
33689
|
'Open in fullsize': 'Открыть редактор в полном размере',
|
|
33546
33690
|
'Clear Formatting': 'Очистить форматирование',
|
|
@@ -33560,6 +33704,11 @@ function addClassNames(className, elm) {
|
|
|
33560
33704
|
'Insert file': 'Вставить файл',
|
|
33561
33705
|
'Insert youtube/vimeo video': 'Вставьте видео',
|
|
33562
33706
|
'Insert link': 'Вставить ссылку',
|
|
33707
|
+
'Insert anchor': 'Вставить якорь',
|
|
33708
|
+
'Link to an anchor': 'Ссылка на якорь',
|
|
33709
|
+
'On this page': 'На этой странице',
|
|
33710
|
+
'The name cannot contain spaces': 'Имя не может содержать пробелы',
|
|
33711
|
+
'This name is already in use': 'Это имя уже используется',
|
|
33563
33712
|
'Font size': 'Размер шрифта',
|
|
33564
33713
|
'Font family': 'Шрифт',
|
|
33565
33714
|
'Insert format block': 'Вставить блочный элемент',
|
|
@@ -33798,6 +33947,11 @@ function addClassNames(className, elm) {
|
|
|
33798
33947
|
'Insert file': 'Vložiť súbor',
|
|
33799
33948
|
'Insert youtube/vimeo video': 'Vložiť video YouTube/Vimeo',
|
|
33800
33949
|
'Insert link': 'Vložiť odkaz',
|
|
33950
|
+
'Insert anchor': 'Vložiť kotvu',
|
|
33951
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
33952
|
+
'On this page': 'Na tejto stránke',
|
|
33953
|
+
'The name cannot contain spaces': 'Názov nesmie obsahovať medzery',
|
|
33954
|
+
'This name is already in use': 'Tento názov sa už používa',
|
|
33801
33955
|
'Font size': 'Veľkosť písma',
|
|
33802
33956
|
'Font family': 'Typ písma',
|
|
33803
33957
|
'Insert format block': 'Vložiť formátovaný blok',
|
|
@@ -34042,6 +34196,11 @@ function addClassNames(className, elm) {
|
|
|
34042
34196
|
'Insert file': 'Infoga fil',
|
|
34043
34197
|
'Insert youtube/vimeo video': 'Infoga YouTube/Vimeo-video',
|
|
34044
34198
|
'Insert link': 'Infoga länk',
|
|
34199
|
+
'Insert anchor': 'Infoga ankare',
|
|
34200
|
+
'Link to an anchor': 'Länka till ett ankare',
|
|
34201
|
+
'On this page': 'På den här sidan',
|
|
34202
|
+
'The name cannot contain spaces': 'Namnet får inte innehålla mellanslag',
|
|
34203
|
+
'This name is already in use': 'Det här namnet används redan',
|
|
34045
34204
|
'Font size': 'Teckenstorlek',
|
|
34046
34205
|
'Font family': 'Teckensnitt',
|
|
34047
34206
|
'Insert format block': 'Infoga formateringsblock',
|
|
@@ -34269,7 +34428,7 @@ function addClassNames(className, elm) {
|
|
|
34269
34428
|
'For information about the license, please go to our website:': 'Lisans hakkında bilgi için lütfen web sitemize gidin:',
|
|
34270
34429
|
'Buy full version': 'Tam versiyonunu satın al',
|
|
34271
34430
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.',
|
|
34272
|
-
Anchor: '
|
|
34431
|
+
Anchor: 'Çapa',
|
|
34273
34432
|
'Open in new tab': 'Yeni sekmede aç',
|
|
34274
34433
|
'Open in fullsize': 'Editörü tam ekranda aç',
|
|
34275
34434
|
'Clear Formatting': 'Stili temizle',
|
|
@@ -34289,6 +34448,11 @@ function addClassNames(className, elm) {
|
|
|
34289
34448
|
'Insert file': 'Dosya Ekle',
|
|
34290
34449
|
'Insert youtube/vimeo video': 'Youtube/Vimeo Videosu Ekle',
|
|
34291
34450
|
'Insert link': 'Bağlantı Ekle',
|
|
34451
|
+
'Insert anchor': 'Çapa Ekle',
|
|
34452
|
+
'Link to an anchor': 'Çapaya bağlantı',
|
|
34453
|
+
'On this page': 'Bu sayfada',
|
|
34454
|
+
'The name cannot contain spaces': 'Ad boşluk içeremez',
|
|
34455
|
+
'This name is already in use': 'Bu ad zaten kullanılıyor',
|
|
34292
34456
|
'Font size': 'Font Boyutu',
|
|
34293
34457
|
'Font family': 'Font Ailesi',
|
|
34294
34458
|
'Insert format block': 'Blok Ekle',
|
|
@@ -34506,7 +34670,7 @@ function addClassNames(className, elm) {
|
|
|
34506
34670
|
'For information about the license, please go to our website:': 'Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:',
|
|
34507
34671
|
'Buy full version': 'Купити повну версію',
|
|
34508
34672
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторські права © XDSoft.net - Чупурнов Валерій. Всі права захищені.',
|
|
34509
|
-
Anchor: '
|
|
34673
|
+
Anchor: 'Якір',
|
|
34510
34674
|
'Open in new tab': 'Відкрити у новій вкладці',
|
|
34511
34675
|
'Open in fullsize': 'Відкрити редактор в повному розмірі',
|
|
34512
34676
|
'Clear Formatting': 'Очистити форматування',
|
|
@@ -34526,6 +34690,11 @@ function addClassNames(className, elm) {
|
|
|
34526
34690
|
'Insert file': 'Вставити файл',
|
|
34527
34691
|
'Insert youtube/vimeo video': 'Вставити відео',
|
|
34528
34692
|
'Insert link': 'Вставити посилання',
|
|
34693
|
+
'Insert anchor': 'Вставити якір',
|
|
34694
|
+
'Link to an anchor': 'Посилання на якір',
|
|
34695
|
+
'On this page': 'На цій сторінці',
|
|
34696
|
+
'The name cannot contain spaces': "Ім'я не може містити пробілів",
|
|
34697
|
+
'This name is already in use': "Це ім'я вже використовується",
|
|
34529
34698
|
'Font size': 'Розмір шрифту',
|
|
34530
34699
|
'Font family': 'Шрифт',
|
|
34531
34700
|
'Insert format block': 'Вставити блочний елемент',
|
|
@@ -34745,7 +34914,7 @@ function addClassNames(className, elm) {
|
|
|
34745
34914
|
'For information about the license, please go to our website:': '有关许可证的信息,请访问我们的网站:',
|
|
34746
34915
|
'Buy full version': '购买完整版本',
|
|
34747
34916
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有',
|
|
34748
|
-
Anchor: '
|
|
34917
|
+
Anchor: '锚点',
|
|
34749
34918
|
'Open in new tab': '在新窗口打开',
|
|
34750
34919
|
'Open in fullsize': '全屏编辑',
|
|
34751
34920
|
'Clear Formatting': '清除样式',
|
|
@@ -34765,6 +34934,11 @@ function addClassNames(className, elm) {
|
|
|
34765
34934
|
'Insert file': '文件',
|
|
34766
34935
|
'Insert youtube/vimeo video': '视频',
|
|
34767
34936
|
'Insert link': '链接',
|
|
34937
|
+
'Insert anchor': '插入锚点',
|
|
34938
|
+
'Link to an anchor': '链接到锚点',
|
|
34939
|
+
'On this page': '在本页',
|
|
34940
|
+
'The name cannot contain spaces': '名称不能包含空格',
|
|
34941
|
+
'This name is already in use': '此名称已被使用',
|
|
34768
34942
|
'Font size': '字号',
|
|
34769
34943
|
'Font family': '字体',
|
|
34770
34944
|
'Insert format block': '格式块',
|
|
@@ -35003,6 +35177,11 @@ function addClassNames(className, elm) {
|
|
|
35003
35177
|
'Insert file': '檔案',
|
|
35004
35178
|
'Insert youtube/vimeo video': '插入 youtube/vimeo 影片',
|
|
35005
35179
|
'Insert link': '插入連結',
|
|
35180
|
+
'Insert anchor': '插入錨點',
|
|
35181
|
+
'Link to an anchor': '連結到錨點',
|
|
35182
|
+
'On this page': '在本頁',
|
|
35183
|
+
'The name cannot contain spaces': '名稱不能包含空格',
|
|
35184
|
+
'This name is already in use': '此名稱已被使用',
|
|
35006
35185
|
'Font size': '文字大小',
|
|
35007
35186
|
'Font family': '字型',
|
|
35008
35187
|
'Insert format block': '格式化區塊',
|
|
@@ -38705,15 +38884,16 @@ function _ts_generator(thisArg, body) {
|
|
|
38705
38884
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(70231);
|
|
38706
38885
|
/* harmony import */ var _core_view_view_with_toolbar_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84075);
|
|
38707
38886
|
/* 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
|
|
38887
|
+
/* harmony import */ var _uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2073);
|
|
38888
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(61251);
|
|
38889
|
+
/* harmony import */ var _fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(30465);
|
|
38890
|
+
/* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(20201);
|
|
38891
|
+
/* harmony import */ var _listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(73948);
|
|
38892
|
+
/* harmony import */ var _listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33281);
|
|
38893
|
+
/* harmony import */ var _listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(94538);
|
|
38894
|
+
/* harmony import */ var _data_provider_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(11787);
|
|
38895
|
+
/* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(63399);
|
|
38896
|
+
/* harmony import */ var _ui_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8172);
|
|
38717
38897
|
function _assert_this_initialized(self) {
|
|
38718
38898
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38719
38899
|
return self;
|
|
@@ -38837,6 +39017,7 @@ function _type_of(obj) {
|
|
|
38837
39017
|
|
|
38838
39018
|
|
|
38839
39019
|
|
|
39020
|
+
|
|
38840
39021
|
|
|
38841
39022
|
|
|
38842
39023
|
var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
@@ -38850,11 +39031,11 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38850
39031
|
]);
|
|
38851
39032
|
_this.browser = _this.c.div(_this.componentName);
|
|
38852
39033
|
_this.status_line = _this.c.div(_this.getFullElName('status'));
|
|
38853
|
-
_this.tree = new
|
|
38854
|
-
_this.files = new
|
|
39034
|
+
_this.tree = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserTree(_this);
|
|
39035
|
+
_this.files = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserFiles(_this);
|
|
38855
39036
|
_this.state = (0,_core_event_emitter_index_js__WEBPACK_IMPORTED_MODULE_5__.observable)({
|
|
38856
39037
|
currentPath: '',
|
|
38857
|
-
currentSource:
|
|
39038
|
+
currentSource: _data_provider_js__WEBPACK_IMPORTED_MODULE_19__.DEFAULT_SOURCE_NAME,
|
|
38858
39039
|
currentBaseUrl: '',
|
|
38859
39040
|
activeElements: [],
|
|
38860
39041
|
elements: [],
|
|
@@ -38890,9 +39071,9 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38890
39071
|
}
|
|
38891
39072
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.files.container);
|
|
38892
39073
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.status_line);
|
|
38893
|
-
|
|
38894
|
-
|
|
38895
|
-
|
|
39074
|
+
_listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__.selfListeners.call(self);
|
|
39075
|
+
_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__.nativeListeners.call(self);
|
|
39076
|
+
_listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__.stateListeners.call(self);
|
|
38896
39077
|
var keys = [
|
|
38897
39078
|
'getLocalFileByUrl',
|
|
38898
39079
|
'crop',
|
|
@@ -38955,7 +39136,7 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38955
39136
|
{
|
|
38956
39137
|
key: "dataProvider",
|
|
38957
39138
|
get: function get() {
|
|
38958
|
-
return (0,
|
|
39139
|
+
return (0,_factories_js__WEBPACK_IMPORTED_MODULE_20__.makeDataProvider)(this, this.options);
|
|
38959
39140
|
}
|
|
38960
39141
|
},
|
|
38961
39142
|
{
|
|
@@ -38964,21 +39145,21 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
38964
39145
|
var _this = this;
|
|
38965
39146
|
return function() {
|
|
38966
39147
|
if (_this.state.activeElements.length) {
|
|
38967
|
-
var
|
|
38968
|
-
var isImages = [];
|
|
39148
|
+
var items = [];
|
|
38969
39149
|
_this.state.activeElements.forEach(function(elm) {
|
|
38970
39150
|
var url = elm.fileURL;
|
|
38971
39151
|
if (url) {
|
|
38972
|
-
|
|
38973
|
-
|
|
39152
|
+
items.push({
|
|
39153
|
+
file: url,
|
|
39154
|
+
isImage: elm.isImage || false
|
|
39155
|
+
});
|
|
38974
39156
|
}
|
|
38975
39157
|
});
|
|
38976
39158
|
_this.close();
|
|
38977
|
-
var data = {
|
|
39159
|
+
var data = (0,_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__.normalizeUploaderData)({
|
|
38978
39160
|
baseurl: '',
|
|
38979
|
-
|
|
38980
|
-
|
|
38981
|
-
};
|
|
39161
|
+
items: items
|
|
39162
|
+
});
|
|
38982
39163
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.isFunction)(callback)) {
|
|
38983
39164
|
callback(data);
|
|
38984
39165
|
}
|
|
@@ -39063,10 +39244,9 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
39063
39244
|
* ```javascript
|
|
39064
39245
|
* var fb = new Jodit.modules.FileBrowser(parent);
|
|
39065
39246
|
* fb.open(function (data) {
|
|
39066
|
-
*
|
|
39067
|
-
*
|
|
39068
|
-
*
|
|
39069
|
-
* }
|
|
39247
|
+
* data.items.forEach(function (item) {
|
|
39248
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
39249
|
+
* });
|
|
39070
39250
|
* });
|
|
39071
39251
|
* ```
|
|
39072
39252
|
*/ key: "open",
|
|
@@ -39092,7 +39272,7 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
39092
39272
|
_this.__updateToolbarButtons();
|
|
39093
39273
|
_this._dialog.open(_this.browser, header);
|
|
39094
39274
|
_this.e.fire('sort.filebrowser', _this.state.sortBy);
|
|
39095
|
-
(0,
|
|
39275
|
+
(0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__.loadTree)(_this).then(resolve, reject).finally(function() {
|
|
39096
39276
|
var _a;
|
|
39097
39277
|
if (_this.isInDestruct) {
|
|
39098
39278
|
return;
|
|
@@ -39135,7 +39315,7 @@ var FileBrowser = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
39135
39315
|
var _a;
|
|
39136
39316
|
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
39317
|
var uploadHandler = function uploadHandler() {
|
|
39138
|
-
return (0,
|
|
39318
|
+
return (0,_fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__.loadItems)(_this);
|
|
39139
39319
|
};
|
|
39140
39320
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
39141
39321
|
self.uploader.setPath(self.state.currentPath).setSource(self.state.currentSource).bind(self.browser, uploadHandler, self.errorHandler);
|
|
@@ -43437,29 +43617,30 @@ var instance = function instance(j) {
|
|
|
43437
43617
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43438
43618
|
/* harmony export */ ToolbarButton: function() { return /* binding */ ToolbarButton; }
|
|
43439
43619
|
/* 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
|
|
43620
|
+
/* harmony import */ var _core_component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4012);
|
|
43621
|
+
/* harmony import */ var _core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78213);
|
|
43622
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
43623
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45219);
|
|
43624
|
+
/* harmony import */ var _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33433);
|
|
43625
|
+
/* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87325);
|
|
43626
|
+
/* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(37133);
|
|
43627
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2748);
|
|
43628
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68345);
|
|
43629
|
+
/* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23282);
|
|
43630
|
+
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(19306);
|
|
43631
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72430);
|
|
43632
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(70799);
|
|
43633
|
+
/* harmony import */ var _core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(56175);
|
|
43634
|
+
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(87058);
|
|
43635
|
+
/* harmony import */ var _core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(38837);
|
|
43636
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(29960);
|
|
43637
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37790);
|
|
43638
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(62843);
|
|
43639
|
+
/* harmony import */ var _core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(20014);
|
|
43640
|
+
/* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(72157);
|
|
43641
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(12153);
|
|
43642
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(56917);
|
|
43643
|
+
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(21491);
|
|
43463
43644
|
function _array_like_to_array(arr, len) {
|
|
43464
43645
|
if (len == null || len > arr.length) len = arr.length;
|
|
43465
43646
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -43633,6 +43814,8 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
43633
43814
|
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
43815
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
43635
43816
|
};
|
|
43817
|
+
var ToolbarButton_1;
|
|
43818
|
+
|
|
43636
43819
|
|
|
43637
43820
|
|
|
43638
43821
|
|
|
@@ -43670,7 +43853,7 @@ var FOCUSABLE_SELECTOR = [
|
|
|
43670
43853
|
'textarea:not([disabled])',
|
|
43671
43854
|
'[tabindex]:not([tabindex="-1"])'
|
|
43672
43855
|
].join(',');
|
|
43673
|
-
var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
43856
|
+
var ToolbarButton = ToolbarButton_1 = /*#__PURE__*/ function(UIButton) {
|
|
43674
43857
|
"use strict";
|
|
43675
43858
|
_inherits(ToolbarButton, UIButton);
|
|
43676
43859
|
function ToolbarButton(jodit, control) {
|
|
@@ -43682,7 +43865,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43682
43865
|
]);
|
|
43683
43866
|
_this.control = control;
|
|
43684
43867
|
_this.target = target;
|
|
43685
|
-
_this.state = _object_spread_props(_object_spread({}, (0,
|
|
43868
|
+
_this.state = _object_spread_props(_object_spread({}, (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)()), {
|
|
43686
43869
|
theme: 'toolbar',
|
|
43687
43870
|
currentValue: '',
|
|
43688
43871
|
hasTrigger: false
|
|
@@ -43692,14 +43875,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43692
43875
|
_this.__typedTo = null;
|
|
43693
43876
|
_this.openedPopup = null;
|
|
43694
43877
|
var button = _this.getElm('button');
|
|
43695
|
-
(0,
|
|
43878
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(button, 'Element button should exists');
|
|
43696
43879
|
_this.button = button;
|
|
43697
43880
|
Object.defineProperty(button, 'component', {
|
|
43698
43881
|
value: _this,
|
|
43699
43882
|
configurable: true
|
|
43700
43883
|
});
|
|
43701
43884
|
var trigger = _this.getElm('trigger');
|
|
43702
|
-
(0,
|
|
43885
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(trigger, 'Element trigger should exists');
|
|
43703
43886
|
_this.trigger = trigger;
|
|
43704
43887
|
trigger.remove();
|
|
43705
43888
|
// Prevent lost focus
|
|
@@ -43710,7 +43893,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43710
43893
|
return e.preventDefault();
|
|
43711
43894
|
});
|
|
43712
43895
|
_this.onAction(_this.onClick);
|
|
43713
|
-
_this.hookStatus(
|
|
43896
|
+
_this.hookStatus(_core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__.STATUSES.ready, function() {
|
|
43714
43897
|
_this.__initFromControl();
|
|
43715
43898
|
_this.update();
|
|
43716
43899
|
});
|
|
@@ -43740,7 +43923,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43740
43923
|
_get(_get_prototype_of(ToolbarButton.prototype), "updateAriaLabel", this).call(this);
|
|
43741
43924
|
if (this.trigger) {
|
|
43742
43925
|
var i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
43743
|
-
(0,
|
|
43926
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
43744
43927
|
}
|
|
43745
43928
|
}
|
|
43746
43929
|
},
|
|
@@ -43749,7 +43932,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43749
43932
|
get: /**
|
|
43750
43933
|
* Get parent toolbar
|
|
43751
43934
|
*/ function get() {
|
|
43752
|
-
var ToolbarCollection = (0,
|
|
43935
|
+
var ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.getComponentClass)('ToolbarCollection');
|
|
43753
43936
|
return this.closest(ToolbarCollection);
|
|
43754
43937
|
}
|
|
43755
43938
|
},
|
|
@@ -43777,7 +43960,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43777
43960
|
*/ key: "__calculateActivatedStatus",
|
|
43778
43961
|
value: function __calculateActivatedStatus(tc) {
|
|
43779
43962
|
var _a, _b;
|
|
43780
|
-
if ((0,
|
|
43963
|
+
if ((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j) && !this.j.editorIsActive) {
|
|
43781
43964
|
return false;
|
|
43782
43965
|
}
|
|
43783
43966
|
if ((_b = (_a = this.control).isActive) === null || _b === void 0 ? void 0 : _b.call(_a, this.j, this)) {
|
|
@@ -43807,14 +43990,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43807
43990
|
{
|
|
43808
43991
|
key: "onChangeActivated",
|
|
43809
43992
|
value: function onChangeActivated() {
|
|
43810
|
-
;(0,
|
|
43993
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
43811
43994
|
_get(_get_prototype_of(ToolbarButton.prototype), "onChangeActivated", this).call(this);
|
|
43812
43995
|
}
|
|
43813
43996
|
},
|
|
43814
43997
|
{
|
|
43815
43998
|
key: "onChangeText",
|
|
43816
43999
|
value: function onChangeText() {
|
|
43817
|
-
if ((0,
|
|
44000
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(this.control.template)) {
|
|
43818
44001
|
this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
|
|
43819
44002
|
} else {
|
|
43820
44003
|
_get(_get_prototype_of(ToolbarButton.prototype), "onChangeText", this).call(this);
|
|
@@ -43825,8 +44008,8 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43825
44008
|
{
|
|
43826
44009
|
key: "onChangeTabIndex",
|
|
43827
44010
|
value: function onChangeTabIndex() {
|
|
43828
|
-
;(0,
|
|
43829
|
-
(0,
|
|
44011
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
44012
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'tabindex', this.state.tabIndex);
|
|
43830
44013
|
}
|
|
43831
44014
|
},
|
|
43832
44015
|
{
|
|
@@ -43841,10 +44024,10 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43841
44024
|
value: this,
|
|
43842
44025
|
configurable: true
|
|
43843
44026
|
});
|
|
43844
|
-
|
|
43845
|
-
var trigger = this.j.c.fromHTML('<span role="button" aria-haspopup="true" aria-expanded="false" class="'.concat(cn, '__trigger">').concat(
|
|
44027
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(container, button);
|
|
44028
|
+
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
44029
|
// For caching
|
|
43847
|
-
|
|
44030
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(button, trigger);
|
|
43848
44031
|
return container;
|
|
43849
44032
|
}
|
|
43850
44033
|
},
|
|
@@ -43852,8 +44035,8 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43852
44035
|
/** @override */ key: "focus",
|
|
43853
44036
|
value: function focus() {
|
|
43854
44037
|
var _a;
|
|
43855
|
-
(_a =
|
|
43856
|
-
return
|
|
44038
|
+
(_a = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.first(this.container, function(node) {
|
|
44039
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(node, 'button');
|
|
43857
44040
|
})) === null || _a === void 0 ? void 0 : _a.focus();
|
|
43858
44041
|
}
|
|
43859
44042
|
},
|
|
@@ -43861,9 +44044,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43861
44044
|
key: "onChangeHasTrigger",
|
|
43862
44045
|
value: function onChangeHasTrigger() {
|
|
43863
44046
|
if (this.state.hasTrigger) {
|
|
43864
|
-
|
|
44047
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(this.container, this.trigger);
|
|
43865
44048
|
} else {
|
|
43866
|
-
|
|
44049
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(this.trigger);
|
|
43867
44050
|
}
|
|
43868
44051
|
this.setMod('with-trigger', this.state.hasTrigger || null);
|
|
43869
44052
|
}
|
|
@@ -43872,9 +44055,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43872
44055
|
/** @override */ key: "onChangeDisabled",
|
|
43873
44056
|
value: function onChangeDisabled() {
|
|
43874
44057
|
var disabled = this.state.disabled ? 'disabled' : null;
|
|
43875
|
-
(0,
|
|
43876
|
-
(0,
|
|
43877
|
-
(0,
|
|
44058
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'disabled', disabled);
|
|
44059
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'disabled', disabled);
|
|
44060
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.container, 'disabled', disabled);
|
|
43878
44061
|
}
|
|
43879
44062
|
},
|
|
43880
44063
|
{
|
|
@@ -43887,7 +44070,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43887
44070
|
state.name = ctr.name;
|
|
43888
44071
|
this.__initIconFromControl();
|
|
43889
44072
|
if (ctr.tooltip) {
|
|
43890
|
-
state.tooltip = (0,
|
|
44073
|
+
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
44074
|
}
|
|
43892
44075
|
state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
|
|
43893
44076
|
}
|
|
@@ -43898,12 +44081,12 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43898
44081
|
var _a;
|
|
43899
44082
|
var _this = this, ctr = _this.control, state = _this.state;
|
|
43900
44083
|
var textIcons = this.j.o.textIcons;
|
|
43901
|
-
if (textIcons === true || (0,
|
|
43902
|
-
state.icon = (0,
|
|
44084
|
+
if (textIcons === true || (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
|
|
44085
|
+
state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)().icon;
|
|
43903
44086
|
state.text = ctr.text || ctr.name;
|
|
43904
44087
|
return;
|
|
43905
44088
|
}
|
|
43906
|
-
if (!(0,
|
|
44089
|
+
if (!(0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(ctr.icon) && ctr.icon != null) {
|
|
43907
44090
|
state.icon = {
|
|
43908
44091
|
name: ctr.icon.name || ctr.name,
|
|
43909
44092
|
iconURL: ctr.icon.iconURL || '',
|
|
@@ -43916,7 +44099,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43916
44099
|
state.icon.iconURL = ctr.iconURL;
|
|
43917
44100
|
} else {
|
|
43918
44101
|
var name = ctr.icon || ctr.name;
|
|
43919
|
-
state.icon.name =
|
|
44102
|
+
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
44103
|
}
|
|
43921
44104
|
if (!ctr.iconURL && !state.icon.name) {
|
|
43922
44105
|
state.text = ctr.text || ctr.name;
|
|
@@ -43935,27 +44118,27 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43935
44118
|
return;
|
|
43936
44119
|
}
|
|
43937
44120
|
var _this1 = this, ctr = _this1.control;
|
|
43938
|
-
(0,
|
|
44121
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', true);
|
|
43939
44122
|
e.buffer = {
|
|
43940
44123
|
actionTrigger: this
|
|
43941
44124
|
};
|
|
43942
44125
|
if (ctr.list) {
|
|
43943
44126
|
return this.__openControlList(ctr);
|
|
43944
44127
|
}
|
|
43945
|
-
if ((0,
|
|
44128
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
43946
44129
|
var popup = this.openPopup();
|
|
43947
44130
|
popup.parentElement = this;
|
|
43948
44131
|
try {
|
|
43949
|
-
if (this.j.e.fire((0,
|
|
44132
|
+
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
44133
|
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
44134
|
var elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
43952
44135
|
if (elm) {
|
|
43953
|
-
popup.setContent((0,
|
|
43954
|
-
return (0,
|
|
44136
|
+
popup.setContent((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(elm) ? this.j.c.fromHTML(elm) : elm).open(function() {
|
|
44137
|
+
return (0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__.position)(_this.container);
|
|
43955
44138
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
43956
44139
|
// The focus stays in the content for a list, which
|
|
43957
44140
|
// typing searches, but goes to a form, as in a dialog
|
|
43958
|
-
(0,
|
|
44141
|
+
(0,_core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__.focusFormField)(popup.container);
|
|
43959
44142
|
} else {
|
|
43960
44143
|
this.__closePopup();
|
|
43961
44144
|
}
|
|
@@ -43968,7 +44151,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43968
44151
|
* Fired after the popup was opened for some control button
|
|
43969
44152
|
*/ /**
|
|
43970
44153
|
* Close all opened popups
|
|
43971
|
-
*/ this.j.e.fire((0,
|
|
44154
|
+
*/ 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
44155
|
}
|
|
43973
44156
|
}
|
|
43974
44157
|
},
|
|
@@ -43978,13 +44161,13 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
43978
44161
|
if (this.state.disabled) {
|
|
43979
44162
|
return;
|
|
43980
44163
|
}
|
|
43981
|
-
if (e.key ===
|
|
44164
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN) {
|
|
43982
44165
|
this.onButtonKeyDown(e);
|
|
43983
44166
|
return;
|
|
43984
44167
|
}
|
|
43985
44168
|
if (![
|
|
43986
|
-
|
|
43987
|
-
|
|
44169
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ENTER,
|
|
44170
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_SPACE,
|
|
43988
44171
|
' '
|
|
43989
44172
|
].includes(e.key)) {
|
|
43990
44173
|
return;
|
|
@@ -44000,7 +44183,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44000
44183
|
*/ key: "onButtonKeyDown",
|
|
44001
44184
|
value: function onButtonKeyDown(e) {
|
|
44002
44185
|
var _a;
|
|
44003
|
-
if (e.key !==
|
|
44186
|
+
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
44187
|
return;
|
|
44005
44188
|
}
|
|
44006
44189
|
e.preventDefault();
|
|
@@ -44022,22 +44205,22 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44022
44205
|
}
|
|
44023
44206
|
var target = e.target;
|
|
44024
44207
|
// A text field keeps the arrow keys for itself
|
|
44025
|
-
if (
|
|
44208
|
+
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
44209
|
return;
|
|
44027
44210
|
}
|
|
44028
44211
|
var items = this.__popupFocusables(), index = items.indexOf(target);
|
|
44029
44212
|
switch(e.key){
|
|
44030
|
-
case
|
|
44213
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC:
|
|
44031
44214
|
this.__closePopup();
|
|
44032
44215
|
break;
|
|
44033
|
-
case
|
|
44216
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_UP:
|
|
44034
44217
|
if (index <= 0) {
|
|
44035
44218
|
this.__closePopup();
|
|
44036
44219
|
} else {
|
|
44037
44220
|
items[index - 1].focus();
|
|
44038
44221
|
}
|
|
44039
44222
|
break;
|
|
44040
|
-
case
|
|
44223
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN:
|
|
44041
44224
|
if (!items.length) {
|
|
44042
44225
|
return;
|
|
44043
44226
|
}
|
|
@@ -44125,7 +44308,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44125
44308
|
var _this = this;
|
|
44126
44309
|
var _a, _b, _c, _d, _e;
|
|
44127
44310
|
var controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = function getControl(key) {
|
|
44128
|
-
return (0,
|
|
44311
|
+
return (0,_core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__.findControlType)(key, controls);
|
|
44129
44312
|
};
|
|
44130
44313
|
var list = control.list;
|
|
44131
44314
|
var menu = this.openPopup();
|
|
@@ -44134,19 +44317,19 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44134
44317
|
if (content) {
|
|
44135
44318
|
return this.__openMenu(menu, content);
|
|
44136
44319
|
}
|
|
44137
|
-
var toolbar = (0,
|
|
44320
|
+
var toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_23__.makeCollection)(this.j);
|
|
44138
44321
|
toolbar.parentElement = menu;
|
|
44139
44322
|
toolbar.mode = 'vertical';
|
|
44140
44323
|
var isListItem = function isListItem(key) {
|
|
44141
|
-
return (0,
|
|
44324
|
+
return (0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__.isPlainObject)(key) && 'title' in key && 'value' in key;
|
|
44142
44325
|
};
|
|
44143
44326
|
var getButton = function getButton(key, value) {
|
|
44144
|
-
if ((0,
|
|
44327
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value) && getControl(value)) {
|
|
44145
44328
|
return _object_spread({
|
|
44146
44329
|
name: value.toString()
|
|
44147
44330
|
}, getControl(value));
|
|
44148
44331
|
}
|
|
44149
|
-
if ((0,
|
|
44332
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(key) && getControl(key)) {
|
|
44150
44333
|
return _object_spread({
|
|
44151
44334
|
name: key.toString()
|
|
44152
44335
|
}, getControl(key), (typeof value === "undefined" ? "undefined" : _type_of(value)) === 'object' ? value : {});
|
|
@@ -44178,12 +44361,12 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44178
44361
|
value
|
|
44179
44362
|
])
|
|
44180
44363
|
};
|
|
44181
|
-
if ((0,
|
|
44364
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value)) {
|
|
44182
44365
|
childControl.text = value;
|
|
44183
44366
|
}
|
|
44184
44367
|
return childControl;
|
|
44185
44368
|
};
|
|
44186
|
-
toolbar.build((0,
|
|
44369
|
+
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
44370
|
return getButton(key, list[key]);
|
|
44188
44371
|
}), this.target);
|
|
44189
44372
|
this.__openMenu(menu, toolbar);
|
|
@@ -44194,7 +44377,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44194
44377
|
value: function __openMenu(menu, content) {
|
|
44195
44378
|
var _this = this;
|
|
44196
44379
|
menu.setContent(content).open(function() {
|
|
44197
|
-
return (0,
|
|
44380
|
+
return (0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__.position)(_this.container);
|
|
44198
44381
|
}, false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
44199
44382
|
this.state.activated = true;
|
|
44200
44383
|
}
|
|
@@ -44205,7 +44388,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44205
44388
|
if (!this.openedPopup) {
|
|
44206
44389
|
return;
|
|
44207
44390
|
}
|
|
44208
|
-
if (!e || !
|
|
44391
|
+
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
44392
|
this.__closePopup();
|
|
44210
44393
|
}
|
|
44211
44394
|
}
|
|
@@ -44214,7 +44397,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44214
44397
|
key: "openPopup",
|
|
44215
44398
|
value: function openPopup() {
|
|
44216
44399
|
this.__closePopup();
|
|
44217
|
-
this.openedPopup = new
|
|
44400
|
+
this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__.Popup(this.j, false);
|
|
44218
44401
|
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
44402
|
return this.openedPopup;
|
|
44220
44403
|
}
|
|
@@ -44237,14 +44420,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44237
44420
|
// The keyboard brought the focus into the dropdown: give it back to
|
|
44238
44421
|
// the button, otherwise it would fall out to the document. A form
|
|
44239
44422
|
// gives it back to the content, with the selection it was opened for
|
|
44240
|
-
var activeElement = this.od.activeElement, hadFocus = activeElement &&
|
|
44423
|
+
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
44424
|
this.state.activated = false;
|
|
44242
44425
|
popup.close();
|
|
44243
44426
|
popup.destruct();
|
|
44244
44427
|
if (this.trigger) {
|
|
44245
|
-
(0,
|
|
44428
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', false);
|
|
44246
44429
|
}
|
|
44247
|
-
if (inForm && (0,
|
|
44430
|
+
if (inForm && (0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j)) {
|
|
44248
44431
|
this.j.s.focus();
|
|
44249
44432
|
} else if (hadFocus) {
|
|
44250
44433
|
this.focus();
|
|
@@ -44258,7 +44441,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44258
44441
|
value: function onClick(originalEvent) {
|
|
44259
44442
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
44260
44443
|
var _this = this, ctr = _this.control;
|
|
44261
|
-
if ((0,
|
|
44444
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.exec)) {
|
|
44262
44445
|
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
44446
|
var result = ctr.exec(this.j, target, {
|
|
44264
44447
|
control: ctr,
|
|
@@ -44271,9 +44454,10 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44271
44454
|
if (this.parentElement) {
|
|
44272
44455
|
this.parentElement.update();
|
|
44273
44456
|
}
|
|
44457
|
+
this.__closePopups();
|
|
44274
44458
|
/**
|
|
44275
44459
|
* 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('
|
|
44460
|
+
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('afterExec');
|
|
44277
44461
|
}
|
|
44278
44462
|
if (result !== false) {
|
|
44279
44463
|
return;
|
|
@@ -44282,15 +44466,42 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44282
44466
|
if (ctr.list) {
|
|
44283
44467
|
return this.__openControlList(ctr);
|
|
44284
44468
|
}
|
|
44285
|
-
if ((0,
|
|
44469
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
44286
44470
|
return this.onTriggerClick(originalEvent);
|
|
44287
44471
|
}
|
|
44288
44472
|
if (ctr.command || ctr.name) {
|
|
44289
|
-
(0,
|
|
44290
|
-
this.
|
|
44473
|
+
(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]);
|
|
44474
|
+
this.__closePopups();
|
|
44291
44475
|
}
|
|
44292
44476
|
}
|
|
44293
44477
|
},
|
|
44478
|
+
{
|
|
44479
|
+
/**
|
|
44480
|
+
* After the button's action, a popup that stays open (an element's)
|
|
44481
|
+
* keeps its place beside the element, and only the lists the button is
|
|
44482
|
+
* in close. Otherwise, as when the action removed the element, every
|
|
44483
|
+
* popup closes
|
|
44484
|
+
*/ key: "__closePopups",
|
|
44485
|
+
value: function __closePopups() {
|
|
44486
|
+
var _a, _b;
|
|
44487
|
+
var openers = [
|
|
44488
|
+
this
|
|
44489
|
+
];
|
|
44490
|
+
for(var pe = this.parentElement; pe; pe = pe.parentElement){
|
|
44491
|
+
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)) {
|
|
44492
|
+
openers.forEach(function(button) {
|
|
44493
|
+
return button.__closePopup();
|
|
44494
|
+
});
|
|
44495
|
+
pe.updatePosition();
|
|
44496
|
+
return;
|
|
44497
|
+
}
|
|
44498
|
+
if (_core_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(pe, ToolbarButton_1)) {
|
|
44499
|
+
openers.push(pe);
|
|
44500
|
+
}
|
|
44501
|
+
}
|
|
44502
|
+
(_b = (_a = this.j) === null || _a === void 0 ? void 0 : _a.e) === null || _b === void 0 ? void 0 : _b.fire('closeAllPopups');
|
|
44503
|
+
}
|
|
44504
|
+
},
|
|
44294
44505
|
{
|
|
44295
44506
|
key: "destruct",
|
|
44296
44507
|
value: function destruct() {
|
|
@@ -44300,38 +44511,38 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
44300
44511
|
}
|
|
44301
44512
|
]);
|
|
44302
44513
|
return ToolbarButton;
|
|
44303
|
-
}(
|
|
44514
|
+
}(_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButton);
|
|
44304
44515
|
__decorate([
|
|
44305
|
-
|
|
44516
|
+
_core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__.cacheHTML
|
|
44306
44517
|
], ToolbarButton.prototype, "createContainer", null);
|
|
44307
44518
|
__decorate([
|
|
44308
|
-
(0,
|
|
44519
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('state.hasTrigger', {
|
|
44309
44520
|
immediately: false
|
|
44310
44521
|
})
|
|
44311
44522
|
], ToolbarButton.prototype, "onChangeHasTrigger", null);
|
|
44312
44523
|
__decorate([
|
|
44313
|
-
(0,
|
|
44524
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:click')
|
|
44314
44525
|
], ToolbarButton.prototype, "onTriggerClick", null);
|
|
44315
44526
|
__decorate([
|
|
44316
|
-
(0,
|
|
44527
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:keydown')
|
|
44317
44528
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
44318
44529
|
__decorate([
|
|
44319
|
-
(0,
|
|
44530
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('button:keydown')
|
|
44320
44531
|
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
44321
44532
|
__decorate([
|
|
44322
|
-
|
|
44533
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44323
44534
|
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
44324
44535
|
__decorate([
|
|
44325
|
-
|
|
44536
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44326
44537
|
], ToolbarButton.prototype, "__onEditorKeyDown", null);
|
|
44327
44538
|
__decorate([
|
|
44328
|
-
|
|
44539
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44329
44540
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
44330
44541
|
__decorate([
|
|
44331
|
-
|
|
44542
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
44332
44543
|
], ToolbarButton.prototype, "__closePopup", null);
|
|
44333
|
-
ToolbarButton = __decorate([
|
|
44334
|
-
|
|
44544
|
+
ToolbarButton = ToolbarButton_1 = __decorate([
|
|
44545
|
+
_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.component
|
|
44335
44546
|
], ToolbarButton);
|
|
44336
44547
|
|
|
44337
44548
|
|
|
@@ -45383,6 +45594,7 @@ function makeSelect(view, control) {
|
|
|
45383
45594
|
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19306);
|
|
45384
45595
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
45385
45596
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
45597
|
+
/* harmony import */ var _helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
45386
45598
|
function _array_like_to_array(arr, len) {
|
|
45387
45599
|
if (len == null || len > arr.length) len = arr.length;
|
|
45388
45600
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -45437,6 +45649,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45437
45649
|
|
|
45438
45650
|
|
|
45439
45651
|
|
|
45652
|
+
|
|
45440
45653
|
/**
|
|
45441
45654
|
* Module for processing download documents and images by Drag and Drop
|
|
45442
45655
|
* Drag and Drop files
|
|
@@ -45498,27 +45711,27 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.uploader = {
|
|
|
45498
45711
|
if (!(0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__.isJoditObject)(j)) {
|
|
45499
45712
|
return;
|
|
45500
45713
|
}
|
|
45501
|
-
|
|
45502
|
-
|
|
45503
|
-
|
|
45504
|
-
|
|
45505
|
-
|
|
45506
|
-
|
|
45507
|
-
|
|
45508
|
-
|
|
45509
|
-
|
|
45510
|
-
|
|
45511
|
-
|
|
45512
|
-
|
|
45513
|
-
|
|
45514
|
-
|
|
45515
|
-
|
|
45516
|
-
|
|
45517
|
-
|
|
45518
|
-
|
|
45519
|
-
|
|
45520
|
-
}
|
|
45521
|
-
}
|
|
45714
|
+
var baseurl = resp.baseurl;
|
|
45715
|
+
(0,_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(resp).forEach(function(param) {
|
|
45716
|
+
var file = param.file, isImage = param.isImage;
|
|
45717
|
+
var _ref = _sliced_to_array(isImage ? [
|
|
45718
|
+
'img',
|
|
45719
|
+
'src'
|
|
45720
|
+
] : [
|
|
45721
|
+
'a',
|
|
45722
|
+
'href'
|
|
45723
|
+
], 2), tagName = _ref[0], attrName = _ref[1];
|
|
45724
|
+
var elm = j.createInside.element(tagName);
|
|
45725
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, attrName, baseurl + file);
|
|
45726
|
+
if (tagName === 'a') {
|
|
45727
|
+
elm.textContent = j.o.uploader.getDisplayName.call(_this, baseurl, file);
|
|
45728
|
+
}
|
|
45729
|
+
if (tagName === 'img') {
|
|
45730
|
+
j.s.insertImage(elm, null, j.o.imageDefaultWidth);
|
|
45731
|
+
} else {
|
|
45732
|
+
j.s.insertNode(elm);
|
|
45733
|
+
}
|
|
45734
|
+
});
|
|
45522
45735
|
},
|
|
45523
45736
|
defaultHandlerError: function defaultHandlerError(e) {
|
|
45524
45737
|
this.j.message.error(e.message);
|
|
@@ -45641,17 +45854,19 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45641
45854
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
45642
45855
|
|
|
45643
45856
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45644
|
-
/* harmony export */ ajaxInstances: function() { return /* reexport safe */
|
|
45857
|
+
/* harmony export */ ajaxInstances: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.ajaxInstances; },
|
|
45645
45858
|
/* harmony export */ hasFiles: function() { return /* binding */ hasFiles; },
|
|
45646
45859
|
/* harmony export */ hasItems: function() { return /* binding */ hasItems; },
|
|
45647
|
-
/* harmony export */
|
|
45648
|
-
/* harmony export */
|
|
45649
|
-
/* harmony export */
|
|
45860
|
+
/* harmony export */ normalizeUploaderData: function() { return /* reexport safe */ _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__.normalizeUploaderData; },
|
|
45861
|
+
/* harmony export */ processOldBrowserDrag: function() { return /* reexport safe */ _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__.processOldBrowserDrag; },
|
|
45862
|
+
/* harmony export */ send: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.send; },
|
|
45863
|
+
/* harmony export */ sendFiles: function() { return /* reexport safe */ _send_files_js__WEBPACK_IMPORTED_MODULE_4__.sendFiles; }
|
|
45650
45864
|
/* harmony export */ });
|
|
45651
45865
|
/* 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
|
|
45866
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2073);
|
|
45867
|
+
/* harmony import */ var _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50373);
|
|
45868
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71686);
|
|
45869
|
+
/* harmony import */ var _send_files_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80020);
|
|
45655
45870
|
/*!
|
|
45656
45871
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45657
45872
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45661,6 +45876,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45661
45876
|
|
|
45662
45877
|
|
|
45663
45878
|
|
|
45879
|
+
|
|
45664
45880
|
function hasFiles(data) {
|
|
45665
45881
|
return Boolean(data && data.files && data.files.length > 0);
|
|
45666
45882
|
}
|
|
@@ -45669,6 +45885,136 @@ function hasItems(data) {
|
|
|
45669
45885
|
}
|
|
45670
45886
|
|
|
45671
45887
|
|
|
45888
|
+
/***/ }),
|
|
45889
|
+
|
|
45890
|
+
/***/ 2073:
|
|
45891
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
45892
|
+
|
|
45893
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45894
|
+
/* harmony export */ getItems: function() { return /* binding */ getItems; },
|
|
45895
|
+
/* harmony export */ normalizeUploaderData: function() { return /* binding */ normalizeUploaderData; }
|
|
45896
|
+
/* harmony export */ });
|
|
45897
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
45898
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70799);
|
|
45899
|
+
function _define_property(obj, key, value) {
|
|
45900
|
+
if (key in obj) {
|
|
45901
|
+
Object.defineProperty(obj, key, {
|
|
45902
|
+
value: value,
|
|
45903
|
+
enumerable: true,
|
|
45904
|
+
configurable: true,
|
|
45905
|
+
writable: true
|
|
45906
|
+
});
|
|
45907
|
+
} else obj[key] = value;
|
|
45908
|
+
return obj;
|
|
45909
|
+
}
|
|
45910
|
+
function _object_spread(target) {
|
|
45911
|
+
for(var i = 1; i < arguments.length; i++){
|
|
45912
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
45913
|
+
var ownKeys = Object.keys(source);
|
|
45914
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
45915
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
45916
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
45917
|
+
}));
|
|
45918
|
+
}
|
|
45919
|
+
ownKeys.forEach(function(key) {
|
|
45920
|
+
_define_property(target, key, source[key]);
|
|
45921
|
+
});
|
|
45922
|
+
}
|
|
45923
|
+
return target;
|
|
45924
|
+
}
|
|
45925
|
+
function ownKeys(object, enumerableOnly) {
|
|
45926
|
+
var keys = Object.keys(object);
|
|
45927
|
+
if (Object.getOwnPropertySymbols) {
|
|
45928
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
45929
|
+
if (enumerableOnly) {
|
|
45930
|
+
symbols = symbols.filter(function(sym) {
|
|
45931
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
45932
|
+
});
|
|
45933
|
+
}
|
|
45934
|
+
keys.push.apply(keys, symbols);
|
|
45935
|
+
}
|
|
45936
|
+
return keys;
|
|
45937
|
+
}
|
|
45938
|
+
function _object_spread_props(target, source) {
|
|
45939
|
+
source = source != null ? source : {};
|
|
45940
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
45941
|
+
else {
|
|
45942
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
45943
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45944
|
+
});
|
|
45945
|
+
}
|
|
45946
|
+
return target;
|
|
45947
|
+
}
|
|
45948
|
+
function _type_of(obj) {
|
|
45949
|
+
"@swc/helpers - typeof";
|
|
45950
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
45951
|
+
}
|
|
45952
|
+
/*!
|
|
45953
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45954
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
45955
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
45956
|
+
*/ ;
|
|
45957
|
+
|
|
45958
|
+
/**
|
|
45959
|
+
* The files in upload or file browser data, one object each. While the
|
|
45960
|
+
* deprecated `files` array is set, it and `isImages` and `fileNames` win
|
|
45961
|
+
* over `items`, so a handler that edits them and passes the data on to a
|
|
45962
|
+
* default handler still gets its edits inserted. A file browser that
|
|
45963
|
+
* passes only the arrays works too.
|
|
45964
|
+
*/ function getItems(data) {
|
|
45965
|
+
var files = data.files, isImages = data.isImages, fileNames = data.fileNames, items = data.items;
|
|
45966
|
+
if (!(0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files)) {
|
|
45967
|
+
return items !== null && items !== void 0 ? items : [];
|
|
45968
|
+
}
|
|
45969
|
+
return files.map(function(file, i) {
|
|
45970
|
+
var name = fileNames === null || fileNames === void 0 ? void 0 : fileNames[i];
|
|
45971
|
+
return _object_spread({
|
|
45972
|
+
file: file,
|
|
45973
|
+
isImage: Boolean(isImages === null || isImages === void 0 ? void 0 : isImages[i])
|
|
45974
|
+
}, name !== undefined ? {
|
|
45975
|
+
name: name
|
|
45976
|
+
} : {});
|
|
45977
|
+
});
|
|
45978
|
+
}
|
|
45979
|
+
/**
|
|
45980
|
+
* Gives the data both `items` and the deprecated `files`, `isImages` and
|
|
45981
|
+
* `fileNames` arrays, building whichever is missing, so a handler can read
|
|
45982
|
+
* either. When both are given, `items` is rebuilt from the arrays, as in
|
|
45983
|
+
* [[getItems]], unless `files` is empty and `items` isn't, as from a
|
|
45984
|
+
* `process` that spreads the server's answer and adds `items`. Anything but
|
|
45985
|
+
* an object, such as the `null` a custom `process` may return, is passed on
|
|
45986
|
+
* as it is.
|
|
45987
|
+
*/ function normalizeUploaderData(data) {
|
|
45988
|
+
if (!data || (typeof data === "undefined" ? "undefined" : _type_of(data)) !== 'object') {
|
|
45989
|
+
return data;
|
|
45990
|
+
}
|
|
45991
|
+
var files = data.files, items = data.items;
|
|
45992
|
+
if (!items || (0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files) && (files.length || !items.length)) {
|
|
45993
|
+
return _object_spread_props(_object_spread({}, data), {
|
|
45994
|
+
items: getItems(data)
|
|
45995
|
+
});
|
|
45996
|
+
}
|
|
45997
|
+
var names = items.map(function(param) {
|
|
45998
|
+
var name = param.name;
|
|
45999
|
+
return name;
|
|
46000
|
+
});
|
|
46001
|
+
return _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, data), {
|
|
46002
|
+
files: items.map(function(param) {
|
|
46003
|
+
var file = param.file;
|
|
46004
|
+
return file;
|
|
46005
|
+
}),
|
|
46006
|
+
isImages: items.map(function(param) {
|
|
46007
|
+
var isImage = param.isImage;
|
|
46008
|
+
return isImage;
|
|
46009
|
+
})
|
|
46010
|
+
}), names.every(_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__.isString) ? {
|
|
46011
|
+
fileNames: names
|
|
46012
|
+
} : {}), {
|
|
46013
|
+
items: items
|
|
46014
|
+
});
|
|
46015
|
+
}
|
|
46016
|
+
|
|
46017
|
+
|
|
45672
46018
|
/***/ }),
|
|
45673
46019
|
|
|
45674
46020
|
/***/ 50373:
|
|
@@ -45732,8 +46078,9 @@ function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFina
|
|
|
45732
46078
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
|
|
45733
46079
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70231);
|
|
45734
46080
|
/* harmony import */ var _dialog_prompt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36806);
|
|
45735
|
-
/* harmony import */ var
|
|
45736
|
-
/* harmony import */ var
|
|
46081
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
46082
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71686);
|
|
46083
|
+
/* harmony import */ var _upload_error_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76198);
|
|
45737
46084
|
function _array_like_to_array(arr, len) {
|
|
45738
46085
|
if (len == null || len > arr.length) len = arr.length;
|
|
45739
46086
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -45941,6 +46288,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45941
46288
|
|
|
45942
46289
|
|
|
45943
46290
|
|
|
46291
|
+
|
|
45944
46292
|
/**
|
|
45945
46293
|
* Send files to server
|
|
45946
46294
|
*/ function sendFiles(uploader, files, handlerSuccess, handlerError, process, // Set when a refused upload is sent again: `beforeUpload` already had its say
|
|
@@ -46055,13 +46403,13 @@ retryOf) {
|
|
|
46055
46403
|
});
|
|
46056
46404
|
}
|
|
46057
46405
|
o.prepareData.call(uploader, form);
|
|
46058
|
-
promises.push((0,
|
|
46406
|
+
promises.push((0,_send_js__WEBPACK_IMPORTED_MODULE_5__.send)(uploader, form).then(function(resp) {
|
|
46059
46407
|
if (o.isSuccess.call(uploader, resp)) {
|
|
46060
46408
|
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));
|
|
46409
|
+
handler.call(uploader, (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
46062
46410
|
return resp;
|
|
46063
46411
|
}
|
|
46064
|
-
var err = new
|
|
46412
|
+
var err = new _upload_error_js__WEBPACK_IMPORTED_MODULE_6__.UploadError(o.getMessage.call(uploader, resp), resp, fileList, function(plan) {
|
|
46065
46413
|
var _a;
|
|
46066
46414
|
return sendFiles(uploader, (_a = plan === null || plan === void 0 ? void 0 : plan.files) !== null && _a !== void 0 ? _a : fileList, handlerSuccess, handlerError, process, {
|
|
46067
46415
|
data: _object_spread({}, extraData, plan === null || plan === void 0 ? void 0 : plan.data)
|
|
@@ -46143,18 +46491,16 @@ function readImagesWithReader(fileList, imagesExtensions, promises, uploader, ha
|
|
|
46143
46491
|
var readerPromise = uploader.j.async.promise(function(resolve, reject) {
|
|
46144
46492
|
reader.onerror = reject;
|
|
46145
46493
|
reader.onloadend = function() {
|
|
46146
|
-
var resp = {
|
|
46494
|
+
var resp = (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)({
|
|
46147
46495
|
baseurl: '',
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
fileNames: [
|
|
46155
|
-
name
|
|
46496
|
+
items: [
|
|
46497
|
+
{
|
|
46498
|
+
file: reader.result,
|
|
46499
|
+
isImage: true,
|
|
46500
|
+
name: name
|
|
46501
|
+
}
|
|
46156
46502
|
]
|
|
46157
|
-
};
|
|
46503
|
+
});
|
|
46158
46504
|
var handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : defaultHandlerSuccess;
|
|
46159
46505
|
handler.call(uploader, resp);
|
|
46160
46506
|
resolve(resp);
|
|
@@ -46540,11 +46886,10 @@ var Uploader = /*#__PURE__*/ function(ViewComponent) {
|
|
|
46540
46886
|
* ```javascript
|
|
46541
46887
|
* var $form = jQuery('<form><input type="text" typpe="file"></form>');
|
|
46542
46888
|
* jQuery('body').append($form);
|
|
46543
|
-
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (
|
|
46544
|
-
*
|
|
46545
|
-
*
|
|
46546
|
-
*
|
|
46547
|
-
* }
|
|
46889
|
+
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (data) {
|
|
46890
|
+
* data.items.forEach(function (item) {
|
|
46891
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
46892
|
+
* });
|
|
46548
46893
|
* });
|
|
46549
46894
|
* ```
|
|
46550
46895
|
*/ key: "bind",
|
|
@@ -46650,7 +46995,7 @@ var Uploader = /*#__PURE__*/ function(ViewComponent) {
|
|
|
46650
46995
|
var _a;
|
|
46651
46996
|
if (o.isSuccess.call(uploader, resp)) {
|
|
46652
46997
|
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));
|
|
46998
|
+
handler.call(uploader, (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
46654
46999
|
return;
|
|
46655
47000
|
}
|
|
46656
47001
|
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 +47021,7 @@ var Uploader = /*#__PURE__*/ function(ViewComponent) {
|
|
|
46676
47021
|
if (!settled) {
|
|
46677
47022
|
resolve({
|
|
46678
47023
|
baseurl: '',
|
|
47024
|
+
items: [],
|
|
46679
47025
|
files: [],
|
|
46680
47026
|
isImages: []
|
|
46681
47027
|
});
|
|
@@ -48620,40 +48966,41 @@ UiAiAssistant = __decorate([
|
|
|
48620
48966
|
/* harmony import */ var _limit_limit_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(91071);
|
|
48621
48967
|
/* harmony import */ var _line_height_line_height_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(61019);
|
|
48622
48968
|
/* 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
|
|
48969
|
+
/* harmony import */ var _anchor_anchor_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(36911);
|
|
48970
|
+
/* harmony import */ var _media_media_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(20071);
|
|
48971
|
+
/* harmony import */ var _mobile_mobile_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(32309);
|
|
48972
|
+
/* harmony import */ var _ordered_list_ordered_list_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(64837);
|
|
48973
|
+
/* harmony import */ var _paste_paste_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(79799);
|
|
48974
|
+
/* harmony import */ var _paste_from_word_paste_from_word_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(31571);
|
|
48975
|
+
/* harmony import */ var _paste_storage_paste_storage_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(85407);
|
|
48976
|
+
/* harmony import */ var _placeholder_placeholder_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(59451);
|
|
48977
|
+
/* harmony import */ var _powered_by_jodit_powered_by_jodit_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(18363);
|
|
48978
|
+
/* harmony import */ var _preview_preview_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(8355);
|
|
48979
|
+
/* harmony import */ var _print_print_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(58519);
|
|
48980
|
+
/* harmony import */ var _redo_undo_redo_undo_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(6687);
|
|
48981
|
+
/* harmony import */ var _resize_cells_resize_cells_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(56113);
|
|
48982
|
+
/* harmony import */ var _resize_handler_resize_handler_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(9159);
|
|
48983
|
+
/* harmony import */ var _resizer_resizer_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(12019);
|
|
48984
|
+
/* harmony import */ var _search_search_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(36125);
|
|
48985
|
+
/* harmony import */ var _select_select_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(9881);
|
|
48986
|
+
/* harmony import */ var _select_cells_select_cells_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(28545);
|
|
48987
|
+
/* harmony import */ var _size_size_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(45927);
|
|
48988
|
+
/* harmony import */ var _source_source_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(52951);
|
|
48989
|
+
/* harmony import */ var _spellcheck_spellcheck_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(43809);
|
|
48990
|
+
/* harmony import */ var _stat_stat_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(7309);
|
|
48991
|
+
/* harmony import */ var _sticky_sticky_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(68687);
|
|
48992
|
+
/* harmony import */ var _symbols_symbols_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(59495);
|
|
48993
|
+
/* harmony import */ var _ai_assistant_ai_assistant_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(39627);
|
|
48994
|
+
/* harmony import */ var _tab_tab_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(767);
|
|
48995
|
+
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(43003);
|
|
48996
|
+
/* harmony import */ var _table_keyboard_navigation_table_keyboard_navigation_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(72439);
|
|
48997
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(94529);
|
|
48998
|
+
/* harmony import */ var _video_video_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(26551);
|
|
48999
|
+
/* harmony import */ var _video_properties_video_properties_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(96139);
|
|
49000
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(72253);
|
|
49001
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(65735);
|
|
49002
|
+
/* harmony import */ var _xpath_xpath_js__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(83671);
|
|
49003
|
+
/* harmony import */ var _speech_recognize_speech_recognize_js__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(3115);
|
|
48657
49004
|
/*!
|
|
48658
49005
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
48659
49006
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -48726,12 +49073,494 @@ UiAiAssistant = __decorate([
|
|
|
48726
49073
|
|
|
48727
49074
|
|
|
48728
49075
|
|
|
49076
|
+
|
|
48729
49077
|
|
|
48730
49078
|
|
|
48731
49079
|
// JODIT-START:FAT
|
|
48732
49080
|
// JODIT-END:FAT
|
|
48733
49081
|
|
|
48734
49082
|
|
|
49083
|
+
/***/ }),
|
|
49084
|
+
|
|
49085
|
+
/***/ 36911:
|
|
49086
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
49087
|
+
|
|
49088
|
+
/* unused harmony export anchor */
|
|
49089
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
49090
|
+
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
49091
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
|
|
49092
|
+
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
49093
|
+
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
49094
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
49095
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
49096
|
+
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2525);
|
|
49097
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50712);
|
|
49098
|
+
function _assert_this_initialized(self) {
|
|
49099
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
49100
|
+
return self;
|
|
49101
|
+
}
|
|
49102
|
+
function _call_super(_this, derived, args) {
|
|
49103
|
+
derived = _get_prototype_of(derived);
|
|
49104
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
49105
|
+
}
|
|
49106
|
+
function _class_call_check(instance, Constructor) {
|
|
49107
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
49108
|
+
}
|
|
49109
|
+
function _construct(Parent, args, Class) {
|
|
49110
|
+
if (_is_native_reflect_construct()) _construct = Reflect.construct;
|
|
49111
|
+
else {
|
|
49112
|
+
_construct = function construct(Parent, args, Class) {
|
|
49113
|
+
var a = [
|
|
49114
|
+
null
|
|
49115
|
+
];
|
|
49116
|
+
a.push.apply(a, args);
|
|
49117
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
49118
|
+
var instance = new Constructor();
|
|
49119
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
49120
|
+
return instance;
|
|
49121
|
+
};
|
|
49122
|
+
}
|
|
49123
|
+
return _construct.apply(null, arguments);
|
|
49124
|
+
}
|
|
49125
|
+
function _defineProperties(target, props) {
|
|
49126
|
+
for(var i = 0; i < props.length; i++){
|
|
49127
|
+
var descriptor = props[i];
|
|
49128
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
49129
|
+
descriptor.configurable = true;
|
|
49130
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
49131
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
49132
|
+
}
|
|
49133
|
+
}
|
|
49134
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
49135
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
49136
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
49137
|
+
return Constructor;
|
|
49138
|
+
}
|
|
49139
|
+
function _get_prototype_of(o) {
|
|
49140
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
49141
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
49142
|
+
};
|
|
49143
|
+
return _get_prototype_of(o);
|
|
49144
|
+
}
|
|
49145
|
+
function _inherits(subClass, superClass) {
|
|
49146
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
49147
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
49148
|
+
}
|
|
49149
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
49150
|
+
constructor: {
|
|
49151
|
+
value: subClass,
|
|
49152
|
+
writable: true,
|
|
49153
|
+
configurable: true
|
|
49154
|
+
}
|
|
49155
|
+
});
|
|
49156
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
49157
|
+
}
|
|
49158
|
+
function _is_native_function(fn) {
|
|
49159
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
49160
|
+
}
|
|
49161
|
+
function _is_native_reflect_construct() {
|
|
49162
|
+
try {
|
|
49163
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
49164
|
+
} catch (_) {}
|
|
49165
|
+
return (_is_native_reflect_construct = function() {
|
|
49166
|
+
return !!result;
|
|
49167
|
+
})();
|
|
49168
|
+
}
|
|
49169
|
+
function _possible_constructor_return(self, call) {
|
|
49170
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
49171
|
+
return _assert_this_initialized(self);
|
|
49172
|
+
}
|
|
49173
|
+
function _set_prototype_of(o, p) {
|
|
49174
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
49175
|
+
o.__proto__ = p;
|
|
49176
|
+
return o;
|
|
49177
|
+
};
|
|
49178
|
+
return _set_prototype_of(o, p);
|
|
49179
|
+
}
|
|
49180
|
+
function _type_of(obj) {
|
|
49181
|
+
"@swc/helpers - typeof";
|
|
49182
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
49183
|
+
}
|
|
49184
|
+
function _wrap_native_super(Class) {
|
|
49185
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
49186
|
+
_wrap_native_super = function(Class) {
|
|
49187
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
49188
|
+
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
49189
|
+
if (typeof _cache !== "undefined") {
|
|
49190
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
49191
|
+
_cache.set(Class, Wrapper);
|
|
49192
|
+
}
|
|
49193
|
+
function Wrapper() {
|
|
49194
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
49195
|
+
}
|
|
49196
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
49197
|
+
constructor: {
|
|
49198
|
+
value: Wrapper,
|
|
49199
|
+
enumerable: false,
|
|
49200
|
+
writable: true,
|
|
49201
|
+
configurable: true
|
|
49202
|
+
}
|
|
49203
|
+
});
|
|
49204
|
+
return _set_prototype_of(Wrapper, Class);
|
|
49205
|
+
};
|
|
49206
|
+
return _wrap_native_super(Class);
|
|
49207
|
+
}
|
|
49208
|
+
/*!
|
|
49209
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
49210
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
49211
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
49212
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
49213
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
49214
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
49215
|
+
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;
|
|
49216
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
49217
|
+
};
|
|
49218
|
+
|
|
49219
|
+
|
|
49220
|
+
|
|
49221
|
+
|
|
49222
|
+
|
|
49223
|
+
|
|
49224
|
+
|
|
49225
|
+
|
|
49226
|
+
|
|
49227
|
+
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\")";
|
|
49228
|
+
var MARKER = [
|
|
49229
|
+
'id',
|
|
49230
|
+
'name'
|
|
49231
|
+
].map(function(key) {
|
|
49232
|
+
return ".jodit-wysiwyg a[".concat(key, "]:not([href]):empty::before");
|
|
49233
|
+
}).join(',');
|
|
49234
|
+
/**
|
|
49235
|
+
* Each anchor's marker, in the editing area only
|
|
49236
|
+
*/ 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:''}");
|
|
49237
|
+
/**
|
|
49238
|
+
* The attribute `markAnchor` gives an anchor: an empty `<a>` with no `href`
|
|
49239
|
+
*/ var MARK = ' contenteditable="false"';
|
|
49240
|
+
/**
|
|
49241
|
+
* Inserts anchors, empty `<a id>` that links in the document reach as
|
|
49242
|
+
* `#name`, and renames and removes them
|
|
49243
|
+
*/ var anchor = /*#__PURE__*/ function(Plugin) {
|
|
49244
|
+
"use strict";
|
|
49245
|
+
_inherits(anchor, Plugin);
|
|
49246
|
+
function anchor() {
|
|
49247
|
+
_class_call_check(this, anchor);
|
|
49248
|
+
var _this;
|
|
49249
|
+
_this = _call_super(this, anchor, arguments);
|
|
49250
|
+
/** @override */ _this.buttons = [
|
|
49251
|
+
{
|
|
49252
|
+
name: 'anchor',
|
|
49253
|
+
group: 'insert'
|
|
49254
|
+
}
|
|
49255
|
+
];
|
|
49256
|
+
/**
|
|
49257
|
+
* The form in the anchor's own popup. The popup takes it out without
|
|
49258
|
+
* destructing it when it shows something else, so it goes when the next
|
|
49259
|
+
* one is made
|
|
49260
|
+
*/ _this.__form = null;
|
|
49261
|
+
return _this;
|
|
49262
|
+
}
|
|
49263
|
+
_create_class(anchor, [
|
|
49264
|
+
{
|
|
49265
|
+
/** @override */ key: "afterInit",
|
|
49266
|
+
value: function afterInit(jodit) {
|
|
49267
|
+
// It goes in the editing document, so iframe mode has it whatever `iframeStyle` holds
|
|
49268
|
+
;(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(jodit, 'anchor', 'style', true).textContent = MARKER_STYLE;
|
|
49269
|
+
jodit.e.on('generateAnchorForm.anchor', this.__generateForm).on('clickA touchstartA', this.__onClickA, {
|
|
49270
|
+
top: true
|
|
49271
|
+
});
|
|
49272
|
+
}
|
|
49273
|
+
},
|
|
49274
|
+
{
|
|
49275
|
+
/**
|
|
49276
|
+
* An anchor gets its own popup, in place of the link's
|
|
49277
|
+
*/ key: "__onClickA",
|
|
49278
|
+
value: function __onClickA(target, e) {
|
|
49279
|
+
var _a;
|
|
49280
|
+
var j = this.j;
|
|
49281
|
+
if (j.o.readonly || !(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target)) {
|
|
49282
|
+
return;
|
|
49283
|
+
}
|
|
49284
|
+
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'));
|
|
49285
|
+
// Afresh, so a form left with a change unsaved shows the name it has
|
|
49286
|
+
j.e.fire('showPopup', target, function() {
|
|
49287
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(target, j);
|
|
49288
|
+
}, 'anchor', true);
|
|
49289
|
+
return false;
|
|
49290
|
+
}
|
|
49291
|
+
},
|
|
49292
|
+
{
|
|
49293
|
+
/**
|
|
49294
|
+
* Anchors are uneditable in the editor, so typing beside one never goes
|
|
49295
|
+
* into it and it's deleted as a whole
|
|
49296
|
+
*/ key: "onChange",
|
|
49297
|
+
value: function onChange() {
|
|
49298
|
+
var j = this.j;
|
|
49299
|
+
if (j.isInDestruct || j.getMode() === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE) {
|
|
49300
|
+
return;
|
|
49301
|
+
}
|
|
49302
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(j.editor).forEach(markAnchor);
|
|
49303
|
+
}
|
|
49304
|
+
},
|
|
49305
|
+
{
|
|
49306
|
+
/**
|
|
49307
|
+
* The editor's own attribute stays out of the value
|
|
49308
|
+
*/ key: "onAfterGetValueFromEditor",
|
|
49309
|
+
value: function onAfterGetValueFromEditor(data) {
|
|
49310
|
+
data.value = unmarkAnchors(data.value);
|
|
49311
|
+
}
|
|
49312
|
+
},
|
|
49313
|
+
{
|
|
49314
|
+
/**
|
|
49315
|
+
* The form that names a new anchor, or renames or removes `target`
|
|
49316
|
+
*/ key: "__generateForm",
|
|
49317
|
+
value: function __generateForm(target, close) {
|
|
49318
|
+
var _this = this;
|
|
49319
|
+
var j = this.j;
|
|
49320
|
+
var current = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target) ? target : null;
|
|
49321
|
+
var input = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIInput(j, {
|
|
49322
|
+
name: 'name',
|
|
49323
|
+
ref: 'name_input',
|
|
49324
|
+
label: 'Anchor',
|
|
49325
|
+
required: true
|
|
49326
|
+
});
|
|
49327
|
+
var buttons = [
|
|
49328
|
+
new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
49329
|
+
name: 'insert',
|
|
49330
|
+
type: 'submit',
|
|
49331
|
+
variant: 'primary',
|
|
49332
|
+
text: current ? 'Update' : 'Insert'
|
|
49333
|
+
})
|
|
49334
|
+
];
|
|
49335
|
+
if (current) {
|
|
49336
|
+
input.value = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
49337
|
+
buttons.unshift(new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
49338
|
+
name: 'remove',
|
|
49339
|
+
variant: 'default',
|
|
49340
|
+
text: 'Remove'
|
|
49341
|
+
}).onAction(function() {
|
|
49342
|
+
if (!j.o.readonly) {
|
|
49343
|
+
j.s.restore();
|
|
49344
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(current);
|
|
49345
|
+
j.synchronizeValues();
|
|
49346
|
+
}
|
|
49347
|
+
close();
|
|
49348
|
+
}));
|
|
49349
|
+
}
|
|
49350
|
+
var form = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIForm(j, [
|
|
49351
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, [
|
|
49352
|
+
input
|
|
49353
|
+
]),
|
|
49354
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, buttons, {
|
|
49355
|
+
align: 'full'
|
|
49356
|
+
})
|
|
49357
|
+
]);
|
|
49358
|
+
if (current) {
|
|
49359
|
+
this.__dropForm();
|
|
49360
|
+
this.__form = form;
|
|
49361
|
+
// The toolbar's popup closes on Escape by itself; the anchor's own doesn't
|
|
49362
|
+
j.e.on(form.container, 'keydown', function(e) {
|
|
49363
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
49364
|
+
close();
|
|
49365
|
+
j.s.restore();
|
|
49366
|
+
}
|
|
49367
|
+
});
|
|
49368
|
+
}
|
|
49369
|
+
form.onSubmit(function() {
|
|
49370
|
+
// The editor can turn readonly while the form is open
|
|
49371
|
+
if (j.o.readonly) {
|
|
49372
|
+
close();
|
|
49373
|
+
return false;
|
|
49374
|
+
}
|
|
49375
|
+
var name = input.value.trim().replace(/^#/, '');
|
|
49376
|
+
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' : '';
|
|
49377
|
+
if (error) {
|
|
49378
|
+
input.error = error;
|
|
49379
|
+
input.focus();
|
|
49380
|
+
return false;
|
|
49381
|
+
}
|
|
49382
|
+
j.s.restore();
|
|
49383
|
+
if (current) {
|
|
49384
|
+
_this.__rename(current, name);
|
|
49385
|
+
} else {
|
|
49386
|
+
_this.__insert(name);
|
|
49387
|
+
}
|
|
49388
|
+
j.synchronizeValues();
|
|
49389
|
+
close();
|
|
49390
|
+
return false;
|
|
49391
|
+
});
|
|
49392
|
+
j.async.requestIdleCallback(function() {
|
|
49393
|
+
return input.focus();
|
|
49394
|
+
});
|
|
49395
|
+
return form;
|
|
49396
|
+
}
|
|
49397
|
+
},
|
|
49398
|
+
{
|
|
49399
|
+
key: "__dropForm",
|
|
49400
|
+
value: function __dropForm() {
|
|
49401
|
+
var form = this.__form;
|
|
49402
|
+
this.__form = null;
|
|
49403
|
+
if (form && !form.isInDestruct) {
|
|
49404
|
+
this.j.e.off(form.container, 'keydown');
|
|
49405
|
+
form.destruct();
|
|
49406
|
+
}
|
|
49407
|
+
}
|
|
49408
|
+
},
|
|
49409
|
+
{
|
|
49410
|
+
/**
|
|
49411
|
+
* Another element in the document has the name as its `id`, or another
|
|
49412
|
+
* anchor as its `name`
|
|
49413
|
+
*/ key: "__isTaken",
|
|
49414
|
+
value: function __isTaken(name, current) {
|
|
49415
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('[id], a[name]')).some(function(elm) {
|
|
49416
|
+
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);
|
|
49417
|
+
});
|
|
49418
|
+
}
|
|
49419
|
+
},
|
|
49420
|
+
{
|
|
49421
|
+
/**
|
|
49422
|
+
* At the caret, or at the start of the selection. An anchor can't go in
|
|
49423
|
+
* a link, so in one it goes just before it
|
|
49424
|
+
*/ key: "__insert",
|
|
49425
|
+
value: function __insert(name) {
|
|
49426
|
+
var j = this.j;
|
|
49427
|
+
var _$anchor = j.createInside.element('a', {
|
|
49428
|
+
id: name
|
|
49429
|
+
});
|
|
49430
|
+
var range = j.s.range;
|
|
49431
|
+
markAnchor(_$anchor);
|
|
49432
|
+
if (!range.collapsed) {
|
|
49433
|
+
range.collapse(true);
|
|
49434
|
+
j.s.selectRange(range);
|
|
49435
|
+
}
|
|
49436
|
+
var link = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(range.startContainer, 'a', j.editor);
|
|
49437
|
+
if (link) {
|
|
49438
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.before(link, _$anchor);
|
|
49439
|
+
j.s.setCursorAfter(_$anchor);
|
|
49440
|
+
} else {
|
|
49441
|
+
j.s.insertNode(_$anchor, true, false);
|
|
49442
|
+
}
|
|
49443
|
+
}
|
|
49444
|
+
},
|
|
49445
|
+
{
|
|
49446
|
+
/**
|
|
49447
|
+
* Gives the anchor the new name in whichever of `id` and `name` it has,
|
|
49448
|
+
* and the links to it the new `#name`, unless they still reach
|
|
49449
|
+
* something else by the old one, as they do after a copy is pasted
|
|
49450
|
+
*/ key: "__rename",
|
|
49451
|
+
value: function __rename(current, name) {
|
|
49452
|
+
var old = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
49453
|
+
var shared = this.__isTaken(old, current);
|
|
49454
|
+
[
|
|
49455
|
+
'id',
|
|
49456
|
+
'name'
|
|
49457
|
+
].forEach(function(key) {
|
|
49458
|
+
if (current.hasAttribute(key)) {
|
|
49459
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(current, key, name);
|
|
49460
|
+
}
|
|
49461
|
+
});
|
|
49462
|
+
if (shared) {
|
|
49463
|
+
return;
|
|
49464
|
+
}
|
|
49465
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('a[href]')).forEach(function(link) {
|
|
49466
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href') === '#' + old) {
|
|
49467
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href', '#' + name);
|
|
49468
|
+
}
|
|
49469
|
+
});
|
|
49470
|
+
}
|
|
49471
|
+
},
|
|
49472
|
+
{
|
|
49473
|
+
/** @override */ key: "beforeDestruct",
|
|
49474
|
+
value: function beforeDestruct(jodit) {
|
|
49475
|
+
this.__dropForm();
|
|
49476
|
+
jodit.e.off('generateAnchorForm.anchor', this.__generateForm).off('clickA touchstartA', this.__onClickA);
|
|
49477
|
+
}
|
|
49478
|
+
}
|
|
49479
|
+
]);
|
|
49480
|
+
return anchor;
|
|
49481
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin));
|
|
49482
|
+
__decorate([
|
|
49483
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
49484
|
+
], anchor.prototype, "__onClickA", null);
|
|
49485
|
+
__decorate([
|
|
49486
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
49487
|
+
':change',
|
|
49488
|
+
':afterInit',
|
|
49489
|
+
':afterSetMode'
|
|
49490
|
+
]),
|
|
49491
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
49492
|
+
], anchor.prototype, "onChange", null);
|
|
49493
|
+
__decorate([
|
|
49494
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterGetValueFromEditor')
|
|
49495
|
+
], anchor.prototype, "onAfterGetValueFromEditor", null);
|
|
49496
|
+
__decorate([
|
|
49497
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
49498
|
+
], anchor.prototype, "__generateForm", null);
|
|
49499
|
+
function markAnchor(anchor) {
|
|
49500
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable') !== 'false') {
|
|
49501
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable', false);
|
|
49502
|
+
}
|
|
49503
|
+
}
|
|
49504
|
+
/**
|
|
49505
|
+
* Takes `MARK` off each anchor in one pass over the tags, as a regex with
|
|
49506
|
+
* `[^>]*` backtracks quadratically on a long run of `<a` (CWE-1333)
|
|
49507
|
+
*/ function unmarkAnchors(html) {
|
|
49508
|
+
if (!html.includes(MARK)) {
|
|
49509
|
+
return html;
|
|
49510
|
+
}
|
|
49511
|
+
var result = '';
|
|
49512
|
+
var copied = 0;
|
|
49513
|
+
var cursor = 0;
|
|
49514
|
+
for(;;){
|
|
49515
|
+
var start = html.indexOf('<', cursor);
|
|
49516
|
+
if (start === -1) {
|
|
49517
|
+
break;
|
|
49518
|
+
}
|
|
49519
|
+
var end = html.indexOf('>', start);
|
|
49520
|
+
if (end === -1) {
|
|
49521
|
+
break;
|
|
49522
|
+
}
|
|
49523
|
+
if (html.startsWith('<a', start) && /\s/.test(html.charAt(start + 2)) && html.startsWith('</a>', end + 1)) {
|
|
49524
|
+
var tag = html.slice(start, end);
|
|
49525
|
+
var at = tag.indexOf(MARK);
|
|
49526
|
+
if (at !== -1 && !/\shref=/.test(tag)) {
|
|
49527
|
+
result += html.slice(copied, start + at);
|
|
49528
|
+
copied = start + at + MARK.length;
|
|
49529
|
+
}
|
|
49530
|
+
}
|
|
49531
|
+
// Past the whole tag, so an `<a` inside one of its attributes is never read as a tag
|
|
49532
|
+
cursor = end + 1;
|
|
49533
|
+
}
|
|
49534
|
+
return copied === 0 ? html : result + html.slice(copied);
|
|
49535
|
+
}
|
|
49536
|
+
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('anchor', anchor);
|
|
49537
|
+
|
|
49538
|
+
|
|
49539
|
+
/***/ }),
|
|
49540
|
+
|
|
49541
|
+
/***/ 50712:
|
|
49542
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
49543
|
+
|
|
49544
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6441);
|
|
49545
|
+
/* harmony import */ var _inline_popup_config_config_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24526);
|
|
49546
|
+
/*!
|
|
49547
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
49548
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
49549
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
49550
|
+
*/
|
|
49551
|
+
// The anchor's popup goes in its list
|
|
49552
|
+
|
|
49553
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.anchor = {
|
|
49554
|
+
popup: function popup(editor, current, close) {
|
|
49555
|
+
return editor.e.fire('generateAnchorForm.anchor', null, close);
|
|
49556
|
+
},
|
|
49557
|
+
tooltip: 'Insert anchor'
|
|
49558
|
+
};
|
|
49559
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.popup.anchor = function(editor, target, close) {
|
|
49560
|
+
return editor.e.fire('generateAnchorForm.anchor', target, close);
|
|
49561
|
+
};
|
|
49562
|
+
|
|
49563
|
+
|
|
48735
49564
|
/***/ }),
|
|
48736
49565
|
|
|
48737
49566
|
/***/ 93183:
|
|
@@ -56078,7 +56907,8 @@ function brBefore(start) {
|
|
|
56078
56907
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
|
|
56079
56908
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
56080
56909
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
56081
|
-
/* harmony import */ var
|
|
56910
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
56911
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92762);
|
|
56082
56912
|
/*!
|
|
56083
56913
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
56084
56914
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -56088,6 +56918,7 @@ function brBefore(start) {
|
|
|
56088
56918
|
|
|
56089
56919
|
|
|
56090
56920
|
|
|
56921
|
+
|
|
56091
56922
|
/**
|
|
56092
56923
|
* Selected text becomes the link's text, as the Link button does, instead
|
|
56093
56924
|
* of being replaced by the file's name. Returns false with nothing selected
|
|
@@ -56111,16 +56942,17 @@ function brBefore(start) {
|
|
|
56111
56942
|
}
|
|
56112
56943
|
function insertLinks(data) {
|
|
56113
56944
|
var _this = this;
|
|
56114
|
-
var
|
|
56115
|
-
(
|
|
56116
|
-
var
|
|
56945
|
+
var baseurl = data.baseurl;
|
|
56946
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(function(param) {
|
|
56947
|
+
var _$file = param.file;
|
|
56948
|
+
var href = baseurl + _$file;
|
|
56117
56949
|
if (wrapSelectionInLink(_this, href)) {
|
|
56118
56950
|
return;
|
|
56119
56951
|
}
|
|
56120
56952
|
var link = _this.createInside.element('a', {
|
|
56121
56953
|
href: href
|
|
56122
56954
|
});
|
|
56123
|
-
link.textContent = _this.o.uploader.getDisplayName.call(_this.uploader,
|
|
56955
|
+
link.textContent = _this.o.uploader.getDisplayName.call(_this.uploader, baseurl, _$file);
|
|
56124
56956
|
_this.s.insertNode(link);
|
|
56125
56957
|
});
|
|
56126
56958
|
}
|
|
@@ -56149,10 +56981,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.file = {
|
|
|
56149
56981
|
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
56982
|
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
56983
|
}
|
|
56152
|
-
return (0,
|
|
56984
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__.FileSelectorWidget)(editor, {
|
|
56153
56985
|
filebrowser: function filebrowser(data) {
|
|
56154
|
-
|
|
56155
|
-
|
|
56986
|
+
;(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(function(param) {
|
|
56987
|
+
var _$file = param.file;
|
|
56988
|
+
return insert(data.baseurl + _$file);
|
|
56156
56989
|
});
|
|
56157
56990
|
close();
|
|
56158
56991
|
},
|
|
@@ -59365,10 +60198,9 @@ var PLACEHOLDER = 'data-jodit-placeholder';
|
|
|
59365
60198
|
return fresh ? _this.__restore(fresh) : _this.__uncaption(wrapper, image);
|
|
59366
60199
|
});
|
|
59367
60200
|
// The click opened the image's popup below the caption, so it
|
|
59368
|
-
//
|
|
60201
|
+
// moves below the image, as after the popup's Caption button
|
|
59369
60202
|
if (clicked) {
|
|
59370
60203
|
j.e.fire('recalcPositionPopup');
|
|
59371
|
-
j.e.fire('closeAllPopups');
|
|
59372
60204
|
}
|
|
59373
60205
|
}, 1);
|
|
59374
60206
|
}
|
|
@@ -62836,10 +63668,18 @@ UIImagePositionTab = __decorate([
|
|
|
62836
63668
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
62837
63669
|
/* harmony export */ openImagePopup: function() { return /* binding */ openImagePopup; }
|
|
62838
63670
|
/* harmony export */ });
|
|
62839
|
-
/* harmony import */ var
|
|
62840
|
-
/* harmony import */ var
|
|
62841
|
-
/* harmony import */ var
|
|
63671
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5700);
|
|
63672
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56917);
|
|
63673
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2073);
|
|
62842
63674
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34793);
|
|
63675
|
+
function _array_like_to_array(arr, len) {
|
|
63676
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
63677
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
63678
|
+
return arr2;
|
|
63679
|
+
}
|
|
63680
|
+
function _array_with_holes(arr) {
|
|
63681
|
+
if (Array.isArray(arr)) return arr;
|
|
63682
|
+
}
|
|
62843
63683
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
62844
63684
|
try {
|
|
62845
63685
|
var info = gen[key](arg);
|
|
@@ -62866,6 +63706,36 @@ function _async_to_generator(fn) {
|
|
|
62866
63706
|
});
|
|
62867
63707
|
};
|
|
62868
63708
|
}
|
|
63709
|
+
function _iterable_to_array_limit(arr, i) {
|
|
63710
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
63711
|
+
if (_i == null) return;
|
|
63712
|
+
var _arr = [];
|
|
63713
|
+
var _n = true;
|
|
63714
|
+
var _d = false;
|
|
63715
|
+
var _s, _e;
|
|
63716
|
+
try {
|
|
63717
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
63718
|
+
_arr.push(_s.value);
|
|
63719
|
+
if (i && _arr.length === i) break;
|
|
63720
|
+
}
|
|
63721
|
+
} catch (err) {
|
|
63722
|
+
_d = true;
|
|
63723
|
+
_e = err;
|
|
63724
|
+
} finally{
|
|
63725
|
+
try {
|
|
63726
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
63727
|
+
} finally{
|
|
63728
|
+
if (_d) throw _e;
|
|
63729
|
+
}
|
|
63730
|
+
}
|
|
63731
|
+
return _arr;
|
|
63732
|
+
}
|
|
63733
|
+
function _non_iterable_rest() {
|
|
63734
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
63735
|
+
}
|
|
63736
|
+
function _sliced_to_array(arr, i) {
|
|
63737
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
63738
|
+
}
|
|
62869
63739
|
function _ts_generator(thisArg, body) {
|
|
62870
63740
|
var f, y, t, _ = {
|
|
62871
63741
|
label: 0,
|
|
@@ -62965,6 +63835,14 @@ function _ts_generator(thisArg, body) {
|
|
|
62965
63835
|
};
|
|
62966
63836
|
}
|
|
62967
63837
|
}
|
|
63838
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
63839
|
+
if (!o) return;
|
|
63840
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
63841
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
63842
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
63843
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
63844
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
63845
|
+
}
|
|
62968
63846
|
/*!
|
|
62969
63847
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
62970
63848
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -62974,23 +63852,26 @@ function _ts_generator(thisArg, body) {
|
|
|
62974
63852
|
|
|
62975
63853
|
|
|
62976
63854
|
/** @private */ function openImagePopup(j, dialog, state, button) {
|
|
62977
|
-
var popup = new
|
|
63855
|
+
var popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__.Popup(dialog);
|
|
62978
63856
|
var closePopup = function closePopup() {
|
|
62979
63857
|
popup.close();
|
|
62980
63858
|
popup.destruct();
|
|
62981
63859
|
};
|
|
62982
63860
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__.FileSelectorWidget)(j, {
|
|
62983
63861
|
upload: function upload(data) {
|
|
62984
|
-
|
|
62985
|
-
|
|
63862
|
+
var _getItems = _sliced_to_array((0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data), 1), item = _getItems[0];
|
|
63863
|
+
if (item) {
|
|
63864
|
+
state.values.imageSrc = data.baseurl + item.file;
|
|
62986
63865
|
}
|
|
62987
63866
|
closePopup();
|
|
62988
63867
|
},
|
|
62989
63868
|
filebrowser: function filebrowser(data) {
|
|
62990
63869
|
return _async_to_generator(function() {
|
|
63870
|
+
var _ref, item;
|
|
62991
63871
|
return _ts_generator(this, function(_state) {
|
|
62992
|
-
|
|
62993
|
-
|
|
63872
|
+
_ref = _sliced_to_array(data ? (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data) : [], 1), item = _ref[0];
|
|
63873
|
+
if (item) {
|
|
63874
|
+
state.values.imageSrc = item.file;
|
|
62994
63875
|
closePopup();
|
|
62995
63876
|
}
|
|
62996
63877
|
return [
|
|
@@ -63000,7 +63881,7 @@ function _ts_generator(thisArg, body) {
|
|
|
63000
63881
|
})();
|
|
63001
63882
|
}
|
|
63002
63883
|
}, state.image, closePopup)).open(function() {
|
|
63003
|
-
return (0,
|
|
63884
|
+
return (0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__.position)(button);
|
|
63004
63885
|
});
|
|
63005
63886
|
}
|
|
63006
63887
|
|
|
@@ -63294,8 +64175,9 @@ function _ts_generator(thisArg, body) {
|
|
|
63294
64175
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29960);
|
|
63295
64176
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12153);
|
|
63296
64177
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
|
|
63297
|
-
/* harmony import */ var
|
|
63298
|
-
/* harmony import */ var
|
|
64178
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2073);
|
|
64179
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92762);
|
|
64180
|
+
/* harmony import */ var _image_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25179);
|
|
63299
64181
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
63300
64182
|
try {
|
|
63301
64183
|
var info = gen[key](arg);
|
|
@@ -63433,7 +64315,8 @@ function _ts_generator(thisArg, body) {
|
|
|
63433
64315
|
|
|
63434
64316
|
|
|
63435
64317
|
|
|
63436
|
-
|
|
64318
|
+
|
|
64319
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__.Icon.set('image', _image_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
|
|
63437
64320
|
_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
63438
64321
|
popup: function popup(editor, current, close) {
|
|
63439
64322
|
var sourceImage = null;
|
|
@@ -63441,10 +64324,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
|
63441
64324
|
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
64325
|
}
|
|
63443
64326
|
editor.s.save();
|
|
63444
|
-
return (0,
|
|
64327
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__.FileSelectorWidget)(editor, {
|
|
63445
64328
|
filebrowser: function filebrowser(data) {
|
|
63446
64329
|
editor.s.restore();
|
|
63447
|
-
|
|
64330
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__.getItems)(data).forEach(function(param) {
|
|
64331
|
+
var file = param.file;
|
|
63448
64332
|
return editor.s.insertImage(data.baseurl + file, null, editor.o.imageDefaultWidth);
|
|
63449
64333
|
});
|
|
63450
64334
|
close();
|
|
@@ -63817,6 +64701,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
63817
64701
|
|
|
63818
64702
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInline = true;
|
|
63819
64703
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineForSelection = false;
|
|
64704
|
+
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineKeepOpen = true;
|
|
63820
64705
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisableFor = [];
|
|
63821
64706
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisabledButtons = [
|
|
63822
64707
|
'source'
|
|
@@ -63902,60 +64787,12 @@ var isSafeHref = function isSafeHref(href) {
|
|
|
63902
64787
|
|
|
63903
64788
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
63904
64789
|
/* 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
|
-
}
|
|
64790
|
+
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
|
|
63953
64791
|
/*!
|
|
63954
64792
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
63955
64793
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
63956
64794
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
63957
|
-
*/
|
|
63958
|
-
|
|
64795
|
+
*/
|
|
63959
64796
|
|
|
63960
64797
|
|
|
63961
64798
|
var cmd = function cmd(control) {
|
|
@@ -63978,7 +64815,7 @@ var cmd = function cmd(control) {
|
|
|
63978
64815
|
var control = param.control;
|
|
63979
64816
|
var command = cmd(control);
|
|
63980
64817
|
editor.getInstance('Table', editor.o).getAllSelectedCells().forEach(function(cell) {
|
|
63981
|
-
(0,
|
|
64818
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(cell, 'vertical-align', command === 'normal' ? '' : command);
|
|
63982
64819
|
});
|
|
63983
64820
|
},
|
|
63984
64821
|
tooltip: 'Vertical align'
|
|
@@ -64046,15 +64883,6 @@ var cmd = function cmd(control) {
|
|
|
64046
64883
|
return;
|
|
64047
64884
|
}
|
|
64048
64885
|
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
64886
|
},
|
|
64059
64887
|
isActive: function isActive(editor, button) {
|
|
64060
64888
|
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(button.target, 'table') && editor.getInstance('Table', editor.o).hasHeaderRow(button.target);
|
|
@@ -64307,7 +65135,7 @@ var align = {
|
|
|
64307
65135
|
var caption = editor.e.fire('toggleImageCaption', image);
|
|
64308
65136
|
editor.synchronizeValues();
|
|
64309
65137
|
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(caption)) {
|
|
64310
|
-
editor.e.fire('hideResizer');
|
|
65138
|
+
editor.e.fire('hidePopup hideResizer');
|
|
64311
65139
|
editor.s.setCursorIn(caption);
|
|
64312
65140
|
} else {
|
|
64313
65141
|
editor.e.fire('recalcPositionPopup');
|
|
@@ -64697,16 +65525,6 @@ function _wrap_native_super(Class) {
|
|
|
64697
65525
|
var _this;
|
|
64698
65526
|
_this = _call_super(this, inlinePopup, arguments);
|
|
64699
65527
|
_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
65528
|
_this.snapRange = null;
|
|
64711
65529
|
_this.__keyDownElement = null;
|
|
64712
65530
|
_this.elmsList = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.keys)(_this.j.o.popup, false).filter(function(s) {
|
|
@@ -64718,7 +65536,9 @@ function _wrap_native_super(Class) {
|
|
|
64718
65536
|
{
|
|
64719
65537
|
key: "popup",
|
|
64720
65538
|
get: function get() {
|
|
64721
|
-
|
|
65539
|
+
var popup = new _core_ui_popup_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.jodit, false);
|
|
65540
|
+
popup.keepOpen = this.j.o.toolbarInlineKeepOpen;
|
|
65541
|
+
return popup;
|
|
64722
65542
|
}
|
|
64723
65543
|
},
|
|
64724
65544
|
{
|
|
@@ -64738,9 +65558,11 @@ function _wrap_native_super(Class) {
|
|
|
64738
65558
|
var isMedia = type === 'jodit-media';
|
|
64739
65559
|
// Beside the media in a wrapper kept in the content, which can fill
|
|
64740
65560
|
// the line, and below a captioned image's caption, so it stays in view
|
|
64741
|
-
var bound =
|
|
65561
|
+
var bound = function bound() {
|
|
65562
|
+
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;
|
|
65563
|
+
};
|
|
64742
65564
|
this.showPopup(function() {
|
|
64743
|
-
return _this.__bound(bound, isMedia);
|
|
65565
|
+
return _this.__bound(bound(), isMedia);
|
|
64744
65566
|
}, type, target);
|
|
64745
65567
|
return false;
|
|
64746
65568
|
}
|
|
@@ -64769,14 +65591,23 @@ function _wrap_native_super(Class) {
|
|
|
64769
65591
|
* Show inline popup with some toolbar
|
|
64770
65592
|
*
|
|
64771
65593
|
* @param type - selection, img, a etc.
|
|
65594
|
+
* @param force - make the popup again for the same target
|
|
64772
65595
|
*/ key: "showPopup",
|
|
64773
65596
|
value: function showPopup(rect, type, target) {
|
|
65597
|
+
var _this = this;
|
|
65598
|
+
var force = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
|
|
64774
65599
|
type = type.toLowerCase();
|
|
64775
65600
|
if (!this.canShowPopupForType(type)) {
|
|
64776
65601
|
return false;
|
|
64777
65602
|
}
|
|
64778
|
-
if (this.type !== type || target !== this.previousTarget) {
|
|
65603
|
+
if (force || this.type !== type || target !== this.previousTarget) {
|
|
64779
65604
|
this.previousTarget = target;
|
|
65605
|
+
// What it showed is taken out, not destructed: an element a
|
|
65606
|
+
// function returns is its own, and may be shown again
|
|
65607
|
+
this.popup.elements.slice().forEach(function(elm) {
|
|
65608
|
+
return _this.popup.remove(elm);
|
|
65609
|
+
});
|
|
65610
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.detach(this.popup.getElm('content'));
|
|
64780
65611
|
var data = this.j.o.popup[type];
|
|
64781
65612
|
var content;
|
|
64782
65613
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(data)) {
|
|
@@ -64888,71 +65719,31 @@ function _wrap_native_super(Class) {
|
|
|
64888
65719
|
return name && name !== '|' && name !== '\n' && !names.includes(name);
|
|
64889
65720
|
});
|
|
64890
65721
|
}
|
|
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);
|
|
65722
|
+
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', function(elm, rect, type, force) {
|
|
65723
|
+
_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
65724
|
}).on('mousedown keydown', this.onSelectionStart).on('change', function() {
|
|
64894
|
-
if (_this.popup.isOpened
|
|
65725
|
+
if (!_this.popup.isOpened) {
|
|
65726
|
+
return;
|
|
65727
|
+
}
|
|
65728
|
+
if (_this.previousTarget && !_this.previousTarget.parentNode) {
|
|
64895
65729
|
_this.hidePopup();
|
|
64896
65730
|
_this.previousTarget = undefined;
|
|
65731
|
+
} else if (_this.type === 'selection' && !_this.__hasSelectedContent()) {
|
|
65732
|
+
_this.hidePopup();
|
|
64897
65733
|
}
|
|
64898
65734
|
}).on([
|
|
64899
65735
|
this.j.ew,
|
|
64900
65736
|
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);
|
|
65737
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
64905
65738
|
this.addListenersForElements();
|
|
64906
65739
|
}
|
|
64907
65740
|
},
|
|
64908
65741
|
{
|
|
64909
|
-
|
|
65742
|
+
/**
|
|
65743
|
+
* Follow the element once a control has moved it, as the alignments do
|
|
65744
|
+
*/ key: "onRecalcPositionPopup",
|
|
64910
65745
|
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);
|
|
65746
|
+
this.popup.updatePosition();
|
|
64956
65747
|
}
|
|
64957
65748
|
},
|
|
64958
65749
|
{
|
|
@@ -65011,9 +65802,8 @@ function _wrap_native_super(Class) {
|
|
|
65011
65802
|
return;
|
|
65012
65803
|
}
|
|
65013
65804
|
var type = 'selection';
|
|
65014
|
-
var sel = this.j.s.sel;
|
|
65015
65805
|
var range = this.j.s.range;
|
|
65016
|
-
if ((
|
|
65806
|
+
if (!this.__hasSelectedContent() || this.isSelectedTarget(range)) {
|
|
65017
65807
|
if (this.type === type && this.popup.isOpened) {
|
|
65018
65808
|
this.hidePopup();
|
|
65019
65809
|
}
|
|
@@ -65030,6 +65820,35 @@ function _wrap_native_super(Class) {
|
|
|
65030
65820
|
},
|
|
65031
65821
|
{
|
|
65032
65822
|
/**
|
|
65823
|
+
* The selection holds more than a line break. A double click past the end
|
|
65824
|
+
* of a line, or a drag from there into the next, selects only the break,
|
|
65825
|
+
* with any rule, video or empty line it crosses: it starts at the end of a
|
|
65826
|
+
* line, after everything in it, and holds no text that shows
|
|
65827
|
+
*/ key: "__hasSelectedContent",
|
|
65828
|
+
value: function __hasSelectedContent() {
|
|
65829
|
+
var _this_j_s = this.j.s, sel = _this_j_s.sel, range = _this_j_s.range;
|
|
65830
|
+
if (!sel || sel.isCollapsed) {
|
|
65831
|
+
return false;
|
|
65832
|
+
}
|
|
65833
|
+
// HTML collapses ASCII white space, but not
|
|
65834
|
+
var showsText = function showsText(r) {
|
|
65835
|
+
return /[^\t\n\f\r \uFEFF\u200B]/.test(r.toString());
|
|
65836
|
+
};
|
|
65837
|
+
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);
|
|
65838
|
+
if (!line || line === this.j.editor || showsText(range)) {
|
|
65839
|
+
return true;
|
|
65840
|
+
}
|
|
65841
|
+
// The rest of the line after the selection's start
|
|
65842
|
+
var rest = this.j.s.createRange();
|
|
65843
|
+
rest.setStart(range.startContainer, range.startOffset);
|
|
65844
|
+
rest.setEnd(line, line.childNodes.length);
|
|
65845
|
+
return showsText(rest) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(line.querySelectorAll(':not(br):empty')).some(function(elm) {
|
|
65846
|
+
return rest.intersectsNode(elm);
|
|
65847
|
+
});
|
|
65848
|
+
}
|
|
65849
|
+
},
|
|
65850
|
+
{
|
|
65851
|
+
/**
|
|
65033
65852
|
* In not collapsed selection - only one image
|
|
65034
65853
|
*/ key: "isSelectedTarget",
|
|
65035
65854
|
value: function isSelectedTarget(r) {
|
|
@@ -65048,10 +65867,7 @@ function _wrap_native_super(Class) {
|
|
|
65048
65867
|
jodit.e.off('showPopup').off([
|
|
65049
65868
|
this.j.ew,
|
|
65050
65869
|
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);
|
|
65870
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
65055
65871
|
this.removeListenersForElements();
|
|
65056
65872
|
}
|
|
65057
65873
|
},
|
|
@@ -65136,12 +65952,6 @@ __decorate([
|
|
|
65136
65952
|
__decorate([
|
|
65137
65953
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':recalcPositionPopup')
|
|
65138
65954
|
], 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
65955
|
__decorate([
|
|
65146
65956
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
65147
65957
|
], inlinePopup.prototype, "onSelectionStart", null);
|
|
@@ -66575,8 +67385,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
66575
67385
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
66576
67386
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
66577
67387
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
66578
|
-
/* harmony import */ var
|
|
66579
|
-
/* harmony import */ var
|
|
67388
|
+
/* harmony import */ var _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48538);
|
|
67389
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12153);
|
|
67390
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56917);
|
|
67391
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5827);
|
|
67392
|
+
/* harmony import */ var _typed_link_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58970);
|
|
66580
67393
|
function _array_like_to_array(arr, len) {
|
|
66581
67394
|
if (len == null || len > arr.length) len = arr.length;
|
|
66582
67395
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -66765,6 +67578,9 @@ function _wrap_native_super(Class) {
|
|
|
66765
67578
|
|
|
66766
67579
|
|
|
66767
67580
|
|
|
67581
|
+
|
|
67582
|
+
|
|
67583
|
+
|
|
66768
67584
|
/**
|
|
66769
67585
|
* Process link. Insert, dblclick or remove format
|
|
66770
67586
|
*/ var link = /*#__PURE__*/ function(Plugin) {
|
|
@@ -66948,6 +67764,7 @@ function _wrap_native_super(Class) {
|
|
|
66948
67764
|
target_checkbox.checked = openInNewTabCheckboxDefaultChecked;
|
|
66949
67765
|
}
|
|
66950
67766
|
}
|
|
67767
|
+
addAnchorList(jodit, url_input, content_input, isImageContent);
|
|
66951
67768
|
jodit.editor.normalize();
|
|
66952
67769
|
var snapshot = jodit.history.snapshot.make();
|
|
66953
67770
|
if (unlink) {
|
|
@@ -67133,7 +67950,7 @@ function _wrap_native_super(Class) {
|
|
|
67133
67950
|
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
67951
|
return;
|
|
67135
67952
|
}
|
|
67136
|
-
var found = (0,
|
|
67953
|
+
var found = (0,_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.findTypedLink)(node.data, end, jodit.o.link.typedLinkTlds, jodit.o.link.typedLinkFileEndings);
|
|
67137
67954
|
if (!found) {
|
|
67138
67955
|
return;
|
|
67139
67956
|
}
|
|
@@ -67218,6 +68035,149 @@ var MODIFIER_KEYS = new Set([
|
|
|
67218
68035
|
'CapsLock'
|
|
67219
68036
|
]);
|
|
67220
68037
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
68038
|
+
/**
|
|
68039
|
+
* A dropdown arrow in the URL field that lists the document's anchors by the
|
|
68040
|
+
* words after them, and fills in the one picked. The list opens in a popup of
|
|
68041
|
+
* its own, from the arrow or the down arrow key, and closes once an address is
|
|
68042
|
+
* typed
|
|
68043
|
+
*/ function addAnchorList(jodit, url, content, isImage) {
|
|
68044
|
+
var anchors = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(jodit.editor);
|
|
68045
|
+
var field = url === null || url === void 0 ? void 0 : url.closest('.jodit-ui-input__wrapper');
|
|
68046
|
+
var input = field && _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement.closestElement(field, _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement);
|
|
68047
|
+
if (!field || !input || !anchors.length) {
|
|
68048
|
+
return;
|
|
68049
|
+
}
|
|
68050
|
+
var c = jodit.c;
|
|
68051
|
+
var label = jodit.i18n('Link to an anchor');
|
|
68052
|
+
var toggle = c.element('button', {
|
|
68053
|
+
type: 'button',
|
|
68054
|
+
class: 'jodit-link-anchors__toggle',
|
|
68055
|
+
title: label,
|
|
68056
|
+
'aria-label': label
|
|
68057
|
+
});
|
|
68058
|
+
var heading = c.div('jodit-link-anchors__heading', {
|
|
68059
|
+
id: 'jodit-link-anchors-' + (0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.uniqueUid)()
|
|
68060
|
+
});
|
|
68061
|
+
var list = c.div('jodit-link-anchors', {
|
|
68062
|
+
role: 'group',
|
|
68063
|
+
'aria-labelledby': heading.id
|
|
68064
|
+
});
|
|
68065
|
+
var icon = function icon(name) {
|
|
68066
|
+
var _a;
|
|
68067
|
+
return (_a = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__.Icon.makeIcon(jodit, {
|
|
68068
|
+
name: name,
|
|
68069
|
+
iconURL: '',
|
|
68070
|
+
fill: '',
|
|
68071
|
+
scale: undefined
|
|
68072
|
+
})) !== null && _a !== void 0 ? _a : c.span();
|
|
68073
|
+
};
|
|
68074
|
+
var dropdown = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__.Popup(jodit).setMod('padding', false);
|
|
68075
|
+
var items = [];
|
|
68076
|
+
var filled = '';
|
|
68077
|
+
var open = function open() {
|
|
68078
|
+
var _a;
|
|
68079
|
+
if (dropdown.isOpened) {
|
|
68080
|
+
return;
|
|
68081
|
+
}
|
|
68082
|
+
// Clicks in the list then count as the form's, which stays open
|
|
68083
|
+
dropdown.parentElement || (dropdown.parentElement = input);
|
|
68084
|
+
list.style.minWidth = field.offsetWidth + 'px';
|
|
68085
|
+
dropdown.open(function() {
|
|
68086
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(field);
|
|
68087
|
+
});
|
|
68088
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', true);
|
|
68089
|
+
items.forEach(function(item, index) {
|
|
68090
|
+
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]));
|
|
68091
|
+
});
|
|
68092
|
+
(_a = list.querySelector('[aria-current=true]')) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
68093
|
+
block: 'nearest'
|
|
68094
|
+
});
|
|
68095
|
+
};
|
|
68096
|
+
toggle.append(icon('chevron'));
|
|
68097
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false);
|
|
68098
|
+
heading.textContent = jodit.i18n('On this page');
|
|
68099
|
+
list.appendChild(heading);
|
|
68100
|
+
dropdown.setContent(list);
|
|
68101
|
+
anchors.forEach(function(anchor) {
|
|
68102
|
+
var name = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(anchor);
|
|
68103
|
+
var text = textAfter(jodit, anchor) || name;
|
|
68104
|
+
var item = c.element('button', {
|
|
68105
|
+
type: 'button',
|
|
68106
|
+
tabindex: -1,
|
|
68107
|
+
class: 'jodit-link-anchors__item'
|
|
68108
|
+
});
|
|
68109
|
+
items.push(item);
|
|
68110
|
+
var textBox = c.span('jodit-link-anchors__text');
|
|
68111
|
+
textBox.textContent = text;
|
|
68112
|
+
var nameBox = c.span('jodit-link-anchors__name');
|
|
68113
|
+
nameBox.textContent = '#' + name;
|
|
68114
|
+
item.append(icon('anchor'), textBox, nameBox);
|
|
68115
|
+
list.appendChild(item);
|
|
68116
|
+
jodit.e.on(item, 'click', function() {
|
|
68117
|
+
dropdown.close();
|
|
68118
|
+
url.value = '#' + name;
|
|
68119
|
+
if (!isImage && (!content.value.trim() || content.value === filled)) {
|
|
68120
|
+
content.value = filled = text;
|
|
68121
|
+
}
|
|
68122
|
+
url.focus();
|
|
68123
|
+
});
|
|
68124
|
+
});
|
|
68125
|
+
// A press on the arrow closes the open list before the click
|
|
68126
|
+
var wasOpen = false;
|
|
68127
|
+
jodit.e.on(dropdown, 'beforeClose', function() {
|
|
68128
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false);
|
|
68129
|
+
}).on(toggle, 'mousedown', function() {
|
|
68130
|
+
return wasOpen = dropdown.isOpened;
|
|
68131
|
+
}).on(toggle, 'click', function() {
|
|
68132
|
+
wasOpen || dropdown.isOpened ? dropdown.close() : open();
|
|
68133
|
+
wasOpen = false;
|
|
68134
|
+
}).on(url, 'input.anchors', function() {
|
|
68135
|
+
if (url.value && !url.value.startsWith('#')) {
|
|
68136
|
+
dropdown.close();
|
|
68137
|
+
}
|
|
68138
|
+
}).on(url, 'keydown.anchors', function(e) {
|
|
68139
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
|
|
68140
|
+
e.preventDefault();
|
|
68141
|
+
open();
|
|
68142
|
+
items[0].focus();
|
|
68143
|
+
}
|
|
68144
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC && dropdown.isOpened) {
|
|
68145
|
+
e.stopPropagation();
|
|
68146
|
+
dropdown.close();
|
|
68147
|
+
}
|
|
68148
|
+
}).on(list, 'keydown', function(e) {
|
|
68149
|
+
var _a;
|
|
68150
|
+
var index = items.indexOf(e.target);
|
|
68151
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
68152
|
+
e.preventDefault();
|
|
68153
|
+
(_a = items[index + (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN ? 1 : -1)]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
68154
|
+
}
|
|
68155
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
68156
|
+
e.stopPropagation();
|
|
68157
|
+
dropdown.close();
|
|
68158
|
+
url.focus();
|
|
68159
|
+
}
|
|
68160
|
+
});
|
|
68161
|
+
// The URL input is destructed when the form closes
|
|
68162
|
+
input.hookStatus('destructed', function() {
|
|
68163
|
+
dropdown.destruct();
|
|
68164
|
+
jodit.e.off([
|
|
68165
|
+
toggle,
|
|
68166
|
+
list
|
|
68167
|
+
].concat(_to_consumable_array(items))).off(url, '.anchors');
|
|
68168
|
+
});
|
|
68169
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.after(url, toggle);
|
|
68170
|
+
}
|
|
68171
|
+
/**
|
|
68172
|
+
* The words after an anchor in its block, which say where it is
|
|
68173
|
+
*/ function textAfter(jodit, anchor) {
|
|
68174
|
+
var _a;
|
|
68175
|
+
var range = jodit.ed.createRange();
|
|
68176
|
+
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);
|
|
68177
|
+
range.setStartAfter(anchor);
|
|
68178
|
+
var text = range.toString().replace(/\s+/g, ' ').trim();
|
|
68179
|
+
return text.length > 50 ? text.slice(0, 50).replace(/\s+\S*$/, '') + '…' : text;
|
|
68180
|
+
}
|
|
67221
68181
|
/**
|
|
67222
68182
|
* Guess a usable `href` from the selected text for the link dialog.
|
|
67223
68183
|
* Returns an empty string when the text is not a plausible URL/email,
|
|
@@ -67232,7 +68192,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
|
67232
68192
|
return value;
|
|
67233
68193
|
}
|
|
67234
68194
|
// email address -> mailto:
|
|
67235
|
-
if (
|
|
68195
|
+
if (_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.EMAIL.test(value)) {
|
|
67236
68196
|
return "mailto:".concat(value);
|
|
67237
68197
|
}
|
|
67238
68198
|
// bare domain like example.com or www.example.com/path -> https://
|
|
@@ -74589,8 +75549,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelection
|
|
|
74589
75549
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
74590
75550
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
74591
75551
|
/* harmony import */ var _core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45124);
|
|
74592
|
-
/* harmony import */ var
|
|
74593
|
-
/* harmony import */ var
|
|
75552
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67510);
|
|
75553
|
+
/* harmony import */ var _modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(76014);
|
|
75554
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55311);
|
|
74594
75555
|
function _array_like_to_array(arr, len) {
|
|
74595
75556
|
if (len == null || len > arr.length) len = arr.length;
|
|
74596
75557
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -74599,6 +75560,9 @@ function _array_like_to_array(arr, len) {
|
|
|
74599
75560
|
function _array_with_holes(arr) {
|
|
74600
75561
|
if (Array.isArray(arr)) return arr;
|
|
74601
75562
|
}
|
|
75563
|
+
function _array_without_holes(arr) {
|
|
75564
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
75565
|
+
}
|
|
74602
75566
|
function _assert_this_initialized(self) {
|
|
74603
75567
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
74604
75568
|
return self;
|
|
@@ -74670,6 +75634,11 @@ function _is_native_reflect_construct() {
|
|
|
74670
75634
|
return !!result;
|
|
74671
75635
|
})();
|
|
74672
75636
|
}
|
|
75637
|
+
function _iterable_to_array(iter) {
|
|
75638
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
75639
|
+
return Array.from(iter);
|
|
75640
|
+
}
|
|
75641
|
+
}
|
|
74673
75642
|
function _iterable_to_array_limit(arr, i) {
|
|
74674
75643
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
74675
75644
|
if (_i == null) return;
|
|
@@ -74697,6 +75666,9 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
74697
75666
|
function _non_iterable_rest() {
|
|
74698
75667
|
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
75668
|
}
|
|
75669
|
+
function _non_iterable_spread() {
|
|
75670
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
75671
|
+
}
|
|
74700
75672
|
function _possible_constructor_return(self, call) {
|
|
74701
75673
|
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
74702
75674
|
return _assert_this_initialized(self);
|
|
@@ -74711,6 +75683,9 @@ function _set_prototype_of(o, p) {
|
|
|
74711
75683
|
function _sliced_to_array(arr, i) {
|
|
74712
75684
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
74713
75685
|
}
|
|
75686
|
+
function _to_consumable_array(arr) {
|
|
75687
|
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
75688
|
+
}
|
|
74714
75689
|
function _type_of(obj) {
|
|
74715
75690
|
"@swc/helpers - typeof";
|
|
74716
75691
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
@@ -74766,6 +75741,7 @@ function _wrap_native_super(Class) {
|
|
|
74766
75741
|
|
|
74767
75742
|
|
|
74768
75743
|
|
|
75744
|
+
|
|
74769
75745
|
var key = 'table_processor_observer';
|
|
74770
75746
|
var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
74771
75747
|
"use strict";
|
|
@@ -74794,6 +75770,10 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74794
75770
|
* A drag let go outside the table ends in a click on the editor, which
|
|
74795
75771
|
* would unmark its cells
|
|
74796
75772
|
*/ _this.__keepMarks = false;
|
|
75773
|
+
/**
|
|
75774
|
+
* The last press or key went to a popup, as to the cell popup's own
|
|
75775
|
+
* controls, whose changes keep the cells marked
|
|
75776
|
+
*/ _this.__inPopup = false;
|
|
74797
75777
|
return _this;
|
|
74798
75778
|
}
|
|
74799
75779
|
_create_class(selectCells, [
|
|
@@ -74802,7 +75782,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74802
75782
|
get: /**
|
|
74803
75783
|
* Shortcut for Jodit.modules.Table
|
|
74804
75784
|
*/ function get() {
|
|
74805
|
-
return this.j.getInstance(
|
|
75785
|
+
return this.j.getInstance(_modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__.Table, this.j.o);
|
|
74806
75786
|
}
|
|
74807
75787
|
},
|
|
74808
75788
|
{
|
|
@@ -74886,7 +75866,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74886
75866
|
{
|
|
74887
75867
|
key: "__followCaret",
|
|
74888
75868
|
value: function __followCaret() {
|
|
74889
|
-
var _this = this;
|
|
74890
75869
|
var before = this.__keyDownRange;
|
|
74891
75870
|
this.__keyDownRange = null;
|
|
74892
75871
|
if (this.j.o.readonly || !(0,_core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.isMoved)(this.j, before)) {
|
|
@@ -74912,9 +75891,45 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74912
75891
|
// As after a click, the first change to the cell keeps the mark
|
|
74913
75892
|
this.__selectedCell = cell;
|
|
74914
75893
|
this.__tableModule.addSelection(cell);
|
|
74915
|
-
this.j.e.fire('showPopup', table,
|
|
75894
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
75895
|
+
}
|
|
75896
|
+
},
|
|
75897
|
+
{
|
|
75898
|
+
/**
|
|
75899
|
+
* The box round the marked cells, which their popup opens beside and
|
|
75900
|
+
* follows when its commands add, merge or replace cells
|
|
75901
|
+
*/ key: "__markedBound",
|
|
75902
|
+
value: function __markedBound() {
|
|
75903
|
+
var _this = this;
|
|
75904
|
+
var _Math, _Math1, _Math2, _Math3;
|
|
75905
|
+
var bounds = this.__tableModule.getAllSelectedCells().filter(function(cell) {
|
|
75906
|
+
return cell.isConnected;
|
|
75907
|
+
}).map(function(cell) {
|
|
74916
75908
|
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(cell, _this.j);
|
|
74917
|
-
}
|
|
75909
|
+
});
|
|
75910
|
+
if (!bounds.length) {
|
|
75911
|
+
return {
|
|
75912
|
+
left: 0,
|
|
75913
|
+
top: 0,
|
|
75914
|
+
width: 0,
|
|
75915
|
+
height: 0
|
|
75916
|
+
};
|
|
75917
|
+
}
|
|
75918
|
+
var left = (_Math = Math).min.apply(_Math, _to_consumable_array(bounds.map(function(b) {
|
|
75919
|
+
return b.left;
|
|
75920
|
+
}))), top = (_Math1 = Math).min.apply(_Math1, _to_consumable_array(bounds.map(function(b) {
|
|
75921
|
+
return b.top;
|
|
75922
|
+
}))), right = (_Math2 = Math).max.apply(_Math2, _to_consumable_array(bounds.map(function(b) {
|
|
75923
|
+
return b.left + b.width;
|
|
75924
|
+
}))), bottom = (_Math3 = Math).max.apply(_Math3, _to_consumable_array(bounds.map(function(b) {
|
|
75925
|
+
return b.top + b.height;
|
|
75926
|
+
})));
|
|
75927
|
+
return {
|
|
75928
|
+
left: left,
|
|
75929
|
+
top: top,
|
|
75930
|
+
width: right - left,
|
|
75931
|
+
height: bottom - top
|
|
75932
|
+
};
|
|
74918
75933
|
}
|
|
74919
75934
|
},
|
|
74920
75935
|
{
|
|
@@ -74943,9 +75958,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74943
75958
|
this.__selectedCell = cell;
|
|
74944
75959
|
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
74945
75960
|
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');
|
|
75961
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
74949
75962
|
} else {
|
|
74950
75963
|
this.j.e.fire('hidePopup', 'cells');
|
|
74951
75964
|
}
|
|
@@ -75005,10 +76018,16 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75005
76018
|
}
|
|
75006
76019
|
}
|
|
75007
76020
|
},
|
|
76021
|
+
{
|
|
76022
|
+
key: "onPress",
|
|
76023
|
+
value: function onPress(e) {
|
|
76024
|
+
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));
|
|
76025
|
+
}
|
|
76026
|
+
},
|
|
75008
76027
|
{
|
|
75009
76028
|
key: "onChange",
|
|
75010
76029
|
value: function onChange() {
|
|
75011
|
-
if (!this.j.isLocked && !this.__isSelectionMode) {
|
|
76030
|
+
if (!this.j.isLocked && !this.__isSelectionMode && !this.__inPopup) {
|
|
75012
76031
|
this.__onRemoveSelection();
|
|
75013
76032
|
}
|
|
75014
76033
|
}
|
|
@@ -75131,7 +76150,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75131
76150
|
{
|
|
75132
76151
|
key: "__showCellsPopup",
|
|
75133
76152
|
value: function __showCellsPopup(table, cells) {
|
|
75134
|
-
var _this = this;
|
|
75135
76153
|
var _a, _b;
|
|
75136
76154
|
var bound = this.__tableModule.getSelectedBound(table, cells), box = this.__tableModule.formalMatrix(table);
|
|
75137
76155
|
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 +76162,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75144
76162
|
if (!min || !max) {
|
|
75145
76163
|
return;
|
|
75146
76164
|
}
|
|
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');
|
|
76165
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
75156
76166
|
}
|
|
75157
76167
|
},
|
|
75158
76168
|
{
|
|
@@ -75284,6 +76294,13 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75284
76294
|
this.__toggleHeaderRow(table, cells1);
|
|
75285
76295
|
break;
|
|
75286
76296
|
}
|
|
76297
|
+
// A split unmarks the cells. They stay marked, as after the
|
|
76298
|
+
// other commands, so their popup stays beside them
|
|
76299
|
+
if (/^split/.test(command)) {
|
|
76300
|
+
cells1.forEach(function(cell) {
|
|
76301
|
+
return _this.__tableModule.addSelection(cell);
|
|
76302
|
+
});
|
|
76303
|
+
}
|
|
75287
76304
|
if (/^bin(row|column)$/.test(command) && !this.__tableModule.getColumnsCount(table)) {
|
|
75288
76305
|
this.__removeTable(table);
|
|
75289
76306
|
}
|
|
@@ -75298,7 +76315,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75298
76315
|
* move to the cells that replace them
|
|
75299
76316
|
*/ key: "__toggleHeaderRow",
|
|
75300
76317
|
value: function __toggleHeaderRow(table, cells) {
|
|
75301
|
-
var _a, _b;
|
|
75302
76318
|
var module = this.__tableModule;
|
|
75303
76319
|
this.j.s.save();
|
|
75304
76320
|
var replaced = module.toggleHeaderRow(table);
|
|
@@ -75310,10 +76326,6 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
75310
76326
|
module.addSelection(next);
|
|
75311
76327
|
}
|
|
75312
76328
|
});
|
|
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
76329
|
}
|
|
75318
76330
|
},
|
|
75319
76331
|
{
|
|
@@ -75387,6 +76399,9 @@ __decorate([
|
|
|
75387
76399
|
__decorate([
|
|
75388
76400
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':keyup')
|
|
75389
76401
|
], selectCells.prototype, "onKeyUp", null);
|
|
76402
|
+
__decorate([
|
|
76403
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
76404
|
+
], selectCells.prototype, "__markedBound", null);
|
|
75390
76405
|
__decorate([
|
|
75391
76406
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
75392
76407
|
], selectCells.prototype, "onStartSelection", null);
|
|
@@ -75402,6 +76417,16 @@ __decorate([
|
|
|
75402
76417
|
__decorate([
|
|
75403
76418
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
75404
76419
|
], selectCells.prototype, "__onClickAfterDrag", null);
|
|
76420
|
+
__decorate([
|
|
76421
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
76422
|
+
'ow:mousedown',
|
|
76423
|
+
'ow:touchstart',
|
|
76424
|
+
'ow:keydown',
|
|
76425
|
+
':mousedown',
|
|
76426
|
+
':touchstart',
|
|
76427
|
+
':keydown'
|
|
76428
|
+
])
|
|
76429
|
+
], selectCells.prototype, "onPress", null);
|
|
75405
76430
|
__decorate([
|
|
75406
76431
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
75407
76432
|
], selectCells.prototype, "onChange", null);
|
|
@@ -75451,9 +76476,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
75451
76476
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
75452
76477
|
/* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4510);
|
|
75453
76478
|
/* 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
|
|
76479
|
+
/* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49055);
|
|
76480
|
+
/* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
|
|
76481
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50911);
|
|
76482
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(67510);
|
|
76483
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67215);
|
|
75457
76484
|
function _assert_this_initialized(self) {
|
|
75458
76485
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
75459
76486
|
return self;
|
|
@@ -75583,6 +76610,11 @@ function _wrap_native_super(Class) {
|
|
|
75583
76610
|
|
|
75584
76611
|
|
|
75585
76612
|
|
|
76613
|
+
|
|
76614
|
+
|
|
76615
|
+
var MEDIA = 'video, iframe, audio, object, embed';
|
|
76616
|
+
// The shade the browsers lay over a selected image: #b5d6fd on white
|
|
76617
|
+
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
76618
|
/**
|
|
75587
76619
|
* A utility plugin that allows you to subscribe to a click/mousedown/touchstart/mouseup on an element in DOM order
|
|
75588
76620
|
*
|
|
@@ -75607,6 +76639,7 @@ function _wrap_native_super(Class) {
|
|
|
75607
76639
|
'mouseup',
|
|
75608
76640
|
'touchend'
|
|
75609
76641
|
];
|
|
76642
|
+
_this.__selectedMediaStyle = '';
|
|
75610
76643
|
/**
|
|
75611
76644
|
* Where the last press started. Chrome reports a drag that begins in one
|
|
75612
76645
|
* element and ends in another as a `click` on their common ancestor, so a
|
|
@@ -75629,6 +76662,7 @@ function _wrap_native_super(Class) {
|
|
|
75629
76662
|
jodit.e.on('dblclick', this.__onDblClickBesideRow, {
|
|
75630
76663
|
top: true
|
|
75631
76664
|
});
|
|
76665
|
+
jodit.e.on(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
75632
76666
|
}
|
|
75633
76667
|
},
|
|
75634
76668
|
{
|
|
@@ -75640,6 +76674,42 @@ function _wrap_native_super(Class) {
|
|
|
75640
76674
|
});
|
|
75641
76675
|
this.__endPressBesideRow();
|
|
75642
76676
|
jodit.e.off('dblclick', this.__onDblClickBesideRow);
|
|
76677
|
+
jodit.e.off(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
76678
|
+
}
|
|
76679
|
+
},
|
|
76680
|
+
{
|
|
76681
|
+
/**
|
|
76682
|
+
* The browsers shade an image in the selection, but Chrome doesn't shade
|
|
76683
|
+
* a video with controls, or one in a `jodit-media` wrapper, so a selection
|
|
76684
|
+
* that took one in didn't show it, and typing deleted it unseen (#1768).
|
|
76685
|
+
* The media gets the same shade from a filter, in place of the tint Safari
|
|
76686
|
+
* gives a block wrapper's whole line. It's a style in the editing
|
|
76687
|
+
* document, as selected cells get their border, so the content, and with
|
|
76688
|
+
* it the value, the history and a copy, doesn't change. Media a click
|
|
76689
|
+
* selected whole is left alone, as its resize frame shows it (#1528). A
|
|
76690
|
+
* change, read-only and the source mode redo or drop the style, as the
|
|
76691
|
+
* selection may not change with them, and the style's paths could then
|
|
76692
|
+
* fit other elements
|
|
76693
|
+
*/ key: "__markSelectedMedia",
|
|
76694
|
+
value: function __markSelectedMedia() {
|
|
76695
|
+
var _a;
|
|
76696
|
+
var _this_j = this.j, s = _this_j.s, editor = _this_j.editor, o = _this_j.o;
|
|
76697
|
+
var range = ((_a = s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount) ? s.sel.getRangeAt(0) : null;
|
|
76698
|
+
var rules = [];
|
|
76699
|
+
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)) {
|
|
76700
|
+
uneditableIn(range, editor).forEach(function(elm) {
|
|
76701
|
+
var media = elm.querySelector(MEDIA);
|
|
76702
|
+
var wrapper = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(elm);
|
|
76703
|
+
if (media && wrapper) {
|
|
76704
|
+
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, "}"));
|
|
76705
|
+
}
|
|
76706
|
+
});
|
|
76707
|
+
}
|
|
76708
|
+
var style = rules.join('');
|
|
76709
|
+
if (style !== this.__selectedMediaStyle) {
|
|
76710
|
+
this.__selectedMediaStyle = style;
|
|
76711
|
+
(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(this.j, select, 'style', true).textContent = style;
|
|
76712
|
+
}
|
|
75643
76713
|
}
|
|
75644
76714
|
},
|
|
75645
76715
|
{
|
|
@@ -75677,10 +76747,14 @@ function _wrap_native_super(Class) {
|
|
|
75677
76747
|
}
|
|
75678
76748
|
// Selecting the text of a popup input with the mouse and releasing
|
|
75679
76749
|
// the button past the popup's edge is not a click outside of it.
|
|
75680
|
-
if (pressed &&
|
|
76750
|
+
if (pressed && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(pressed, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup)) {
|
|
76751
|
+
return;
|
|
76752
|
+
}
|
|
76753
|
+
// An item of a list that closed once it was chosen was in a popup
|
|
76754
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(node) && !node.isConnected) {
|
|
75681
76755
|
return;
|
|
75682
76756
|
}
|
|
75683
|
-
var box =
|
|
76757
|
+
var box = _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(node, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup);
|
|
75684
76758
|
if (!box) {
|
|
75685
76759
|
this.j.e.fire('outsideClick', e);
|
|
75686
76760
|
}
|
|
@@ -75939,6 +77013,89 @@ function _wrap_native_super(Class) {
|
|
|
75939
77013
|
}
|
|
75940
77014
|
}
|
|
75941
77015
|
},
|
|
77016
|
+
{
|
|
77017
|
+
/**
|
|
77018
|
+
* A double click past the end of a line selects only its line break, up
|
|
77019
|
+
* to the start of the next line a caret can go on. The browsers show no
|
|
77020
|
+
* caret for it, and typing replaces the break, joining the lines and
|
|
77021
|
+
* taking any video in between with it (#1768). Put the caret at the end
|
|
77022
|
+
* of the line instead
|
|
77023
|
+
*/ key: "onDblClickPastLineEnd",
|
|
77024
|
+
value: function onDblClickPastLineEnd() {
|
|
77025
|
+
var _this_j = this.j, s = _this_j.s, editor = _this_j.editor, o = _this_j.o;
|
|
77026
|
+
var range = s.range;
|
|
77027
|
+
if (o.readonly || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(editor, range.commonAncestorContainer) || !isLineBreak(range, editor)) {
|
|
77028
|
+
return;
|
|
77029
|
+
}
|
|
77030
|
+
range.collapse(true);
|
|
77031
|
+
s.selectRange(range);
|
|
77032
|
+
}
|
|
77033
|
+
},
|
|
77034
|
+
{
|
|
77035
|
+
/**
|
|
77036
|
+
* The browsers have no caret position beside an uneditable block alone
|
|
77037
|
+
* on its line, such as a video, so a drag that ends on its line runs on
|
|
77038
|
+
* past it, and typing deletes it (#1768). Until the pointer has passed
|
|
77039
|
+
* the block, the selection stops at the last caret place in the block
|
|
77040
|
+
* before its line, or for a drag upwards at the first in the block after
|
|
77041
|
+
*/ key: "onMouseUpOnUneditableLine",
|
|
77042
|
+
value: function onMouseUpOnUneditableLine(e) {
|
|
77043
|
+
var _a, _b;
|
|
77044
|
+
var _this_j = this.j, s = _this_j.s, editor = _this_j.editor, o = _this_j.o;
|
|
77045
|
+
var sel = s.sel;
|
|
77046
|
+
if (o.readonly || !(sel === null || sel === void 0 ? void 0 : sel.rangeCount) || sel.isCollapsed) {
|
|
77047
|
+
return;
|
|
77048
|
+
}
|
|
77049
|
+
var range = sel.getRangeAt(0).cloneRange();
|
|
77050
|
+
// A video or image Jodit selected itself on the press
|
|
77051
|
+
if (isElementSelection(range)) {
|
|
77052
|
+
return;
|
|
77053
|
+
}
|
|
77054
|
+
var forward = sel.anchorNode === range.startContainer && sel.anchorOffset === range.startOffset;
|
|
77055
|
+
var lines = uneditableIn(range, editor).map(function(elm) {
|
|
77056
|
+
var _a;
|
|
77057
|
+
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;
|
|
77058
|
+
}).filter(function(line) {
|
|
77059
|
+
return !(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(ownText(line));
|
|
77060
|
+
});
|
|
77061
|
+
var isAhead = function isAhead(line) {
|
|
77062
|
+
var box = line.getBoundingClientRect();
|
|
77063
|
+
return forward ? e.clientY < box.bottom : e.clientY > box.top;
|
|
77064
|
+
};
|
|
77065
|
+
var line = forward ? lines.find(isAhead) : lines.reverse().find(isAhead);
|
|
77066
|
+
if (!line) {
|
|
77067
|
+
return;
|
|
77068
|
+
}
|
|
77069
|
+
// Where a caret can go: in text, or before a <br>
|
|
77070
|
+
var isCaretPlace = function isCaretPlace(node) {
|
|
77071
|
+
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');
|
|
77072
|
+
};
|
|
77073
|
+
// Only the block beside the line, not one further on
|
|
77074
|
+
var beside = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.findNotEmptySibling(line, forward);
|
|
77075
|
+
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;
|
|
77076
|
+
if (!place) {
|
|
77077
|
+
return;
|
|
77078
|
+
}
|
|
77079
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(place)) {
|
|
77080
|
+
if (forward) {
|
|
77081
|
+
range.setEnd(place, (_b = (_a = place.nodeValue) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
|
|
77082
|
+
} else {
|
|
77083
|
+
range.setStart(place, 0);
|
|
77084
|
+
}
|
|
77085
|
+
} else if (forward) {
|
|
77086
|
+
range.setEndBefore(place);
|
|
77087
|
+
} else {
|
|
77088
|
+
range.setStartBefore(place);
|
|
77089
|
+
}
|
|
77090
|
+
// The drag's start stays the anchor
|
|
77091
|
+
var startContainer = range.startContainer, startOffset = range.startOffset, endContainer = range.endContainer, endOffset = range.endOffset;
|
|
77092
|
+
if (forward) {
|
|
77093
|
+
sel.setBaseAndExtent(startContainer, startOffset, endContainer, endOffset);
|
|
77094
|
+
} else {
|
|
77095
|
+
sel.setBaseAndExtent(endContainer, endOffset, startContainer, startOffset);
|
|
77096
|
+
}
|
|
77097
|
+
}
|
|
77098
|
+
},
|
|
75942
77099
|
{
|
|
75943
77100
|
key: "onCopyNormalizeSelectionBound",
|
|
75944
77101
|
value: function onCopyNormalizeSelectionBound(e) {
|
|
@@ -75954,7 +77111,15 @@ function _wrap_native_super(Class) {
|
|
|
75954
77111
|
}
|
|
75955
77112
|
]);
|
|
75956
77113
|
return select;
|
|
75957
|
-
}(_wrap_native_super(
|
|
77114
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__.Plugin));
|
|
77115
|
+
__decorate([
|
|
77116
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
77117
|
+
':change',
|
|
77118
|
+
':readonly',
|
|
77119
|
+
':afterSetMode'
|
|
77120
|
+
]),
|
|
77121
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
77122
|
+
], select.prototype, "__markSelectedMedia", null);
|
|
75958
77123
|
__decorate([
|
|
75959
77124
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
75960
77125
|
], select.prototype, "onStartSelection", null);
|
|
@@ -76004,12 +77169,89 @@ __decorate([
|
|
|
76004
77169
|
':click'
|
|
76005
77170
|
])
|
|
76006
77171
|
], select.prototype, "onTripleClickNormalizeSelection", null);
|
|
77172
|
+
__decorate([
|
|
77173
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
77174
|
+
':dblclick'
|
|
77175
|
+
])
|
|
77176
|
+
], select.prototype, "onDblClickPastLineEnd", null);
|
|
77177
|
+
__decorate([
|
|
77178
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
77179
|
+
':mouseup'
|
|
77180
|
+
])
|
|
77181
|
+
], select.prototype, "onMouseUpOnUneditableLine", null);
|
|
76007
77182
|
__decorate([
|
|
76008
77183
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
76009
77184
|
':copy',
|
|
76010
77185
|
':cut'
|
|
76011
77186
|
])
|
|
76012
77187
|
], select.prototype, "onCopyNormalizeSelectionBound", null);
|
|
77188
|
+
var isUneditable = function isUneditable(node) {
|
|
77189
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(node) && node.getAttribute('contenteditable') === 'false';
|
|
77190
|
+
};
|
|
77191
|
+
/**
|
|
77192
|
+
* The text a node shows outside its uneditable elements, whose own text, as
|
|
77193
|
+
* a video's fallback text, isn't on the line
|
|
77194
|
+
*/ var ownText = function ownText1(node) {
|
|
77195
|
+
var _a;
|
|
77196
|
+
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('');
|
|
77197
|
+
};
|
|
77198
|
+
/**
|
|
77199
|
+
* The uneditable elements the range holds whole, without those inside
|
|
77200
|
+
* another. Only those under the range's common ancestor can be, and none
|
|
77201
|
+
* when that's a text node, as along one line of a drag
|
|
77202
|
+
*/ function uneditableIn(range, root) {
|
|
77203
|
+
var box = range.commonAncestorContainer;
|
|
77204
|
+
if (!_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(box)) {
|
|
77205
|
+
return [];
|
|
77206
|
+
}
|
|
77207
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(box.querySelectorAll('[contenteditable="false"]')).filter(function(elm) {
|
|
77208
|
+
if (!range.intersectsNode(elm)) {
|
|
77209
|
+
return false;
|
|
77210
|
+
}
|
|
77211
|
+
var own = elm.ownerDocument.createRange();
|
|
77212
|
+
own.selectNode(elm);
|
|
77213
|
+
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);
|
|
77214
|
+
});
|
|
77215
|
+
}
|
|
77216
|
+
/**
|
|
77217
|
+
* The range holds one element and nothing else, as a selected image does
|
|
77218
|
+
*/ function isElementSelection(range) {
|
|
77219
|
+
var startContainer = range.startContainer, startOffset = range.startOffset, endContainer = range.endContainer, endOffset = range.endOffset;
|
|
77220
|
+
return startContainer === endContainer && endOffset - startOffset === 1 && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(startContainer.childNodes[startOffset]);
|
|
77221
|
+
}
|
|
77222
|
+
/**
|
|
77223
|
+
* The range holds a line end and nothing else: no characters but
|
|
77224
|
+
* whitespace, and no element whole but a `<br>` or a line a caret can't go
|
|
77225
|
+
* on, as a video's. It ends in another block, or holds the `<br>`
|
|
77226
|
+
*/ function isLineBreak(range, root) {
|
|
77227
|
+
var startContainer = range.startContainer, endContainer = range.endContainer;
|
|
77228
|
+
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()))) {
|
|
77229
|
+
return false;
|
|
77230
|
+
}
|
|
77231
|
+
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);
|
|
77232
|
+
var holdsBreaksOnly = function holdsBreaksOnly1(node) {
|
|
77233
|
+
if (!range.intersectsNode(node)) {
|
|
77234
|
+
return true;
|
|
77235
|
+
}
|
|
77236
|
+
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)) {
|
|
77237
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes).every(holdsBreaksOnly);
|
|
77238
|
+
}
|
|
77239
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isTag(node, 'br')) {
|
|
77240
|
+
crossesLineEnd = true;
|
|
77241
|
+
return true;
|
|
77242
|
+
}
|
|
77243
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) || isCaretless(node);
|
|
77244
|
+
};
|
|
77245
|
+
return holdsBreaksOnly(range.commonAncestorContainer) && crossesLineEnd;
|
|
77246
|
+
}
|
|
77247
|
+
/**
|
|
77248
|
+
* An uneditable element, or a block holding one and nothing else
|
|
77249
|
+
*/ function isCaretless(node) {
|
|
77250
|
+
var children = (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes);
|
|
77251
|
+
return isUneditable(node) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock(node) && children.some(isCaretless) && children.every(function(child) {
|
|
77252
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isEmptyTextNode(child) || isCaretless(child);
|
|
77253
|
+
});
|
|
77254
|
+
}
|
|
76013
77255
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('select', select);
|
|
76014
77256
|
|
|
76015
77257
|
|
|
@@ -83673,18 +84915,26 @@ UIVideoPropertiesForm = __decorate([
|
|
|
83673
84915
|
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
|
|
83674
84916
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
|
|
83675
84917
|
/* 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
|
|
84918
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5700);
|
|
84919
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37790);
|
|
84920
|
+
/* harmony import */ var _core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20356);
|
|
84921
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
84922
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(56917);
|
|
84923
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2073);
|
|
83682
84924
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34793);
|
|
83683
84925
|
/* harmony import */ var _ui_ui_video_form_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27828);
|
|
83684
84926
|
/* harmony import */ var _readers_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54426);
|
|
83685
84927
|
/* harmony import */ var _replace_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(96170);
|
|
83686
84928
|
/* harmony import */ var _writers_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(44909);
|
|
83687
84929
|
/* harmony import */ var _video_config_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(14984);
|
|
84930
|
+
function _array_like_to_array(arr, len) {
|
|
84931
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
84932
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
84933
|
+
return arr2;
|
|
84934
|
+
}
|
|
84935
|
+
function _array_with_holes(arr) {
|
|
84936
|
+
if (Array.isArray(arr)) return arr;
|
|
84937
|
+
}
|
|
83688
84938
|
function _assert_this_initialized(self) {
|
|
83689
84939
|
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
83690
84940
|
return self;
|
|
@@ -83756,6 +85006,33 @@ function _is_native_reflect_construct() {
|
|
|
83756
85006
|
return !!result;
|
|
83757
85007
|
})();
|
|
83758
85008
|
}
|
|
85009
|
+
function _iterable_to_array_limit(arr, i) {
|
|
85010
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
85011
|
+
if (_i == null) return;
|
|
85012
|
+
var _arr = [];
|
|
85013
|
+
var _n = true;
|
|
85014
|
+
var _d = false;
|
|
85015
|
+
var _s, _e;
|
|
85016
|
+
try {
|
|
85017
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
85018
|
+
_arr.push(_s.value);
|
|
85019
|
+
if (i && _arr.length === i) break;
|
|
85020
|
+
}
|
|
85021
|
+
} catch (err) {
|
|
85022
|
+
_d = true;
|
|
85023
|
+
_e = err;
|
|
85024
|
+
} finally{
|
|
85025
|
+
try {
|
|
85026
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
85027
|
+
} finally{
|
|
85028
|
+
if (_d) throw _e;
|
|
85029
|
+
}
|
|
85030
|
+
}
|
|
85031
|
+
return _arr;
|
|
85032
|
+
}
|
|
85033
|
+
function _non_iterable_rest() {
|
|
85034
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
85035
|
+
}
|
|
83759
85036
|
function _possible_constructor_return(self, call) {
|
|
83760
85037
|
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
83761
85038
|
return _assert_this_initialized(self);
|
|
@@ -83767,10 +85044,21 @@ function _set_prototype_of(o, p) {
|
|
|
83767
85044
|
};
|
|
83768
85045
|
return _set_prototype_of(o, p);
|
|
83769
85046
|
}
|
|
85047
|
+
function _sliced_to_array(arr, i) {
|
|
85048
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
85049
|
+
}
|
|
83770
85050
|
function _type_of(obj) {
|
|
83771
85051
|
"@swc/helpers - typeof";
|
|
83772
85052
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
83773
85053
|
}
|
|
85054
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
85055
|
+
if (!o) return;
|
|
85056
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
85057
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
85058
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
85059
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
85060
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
85061
|
+
}
|
|
83774
85062
|
function _wrap_native_super(Class) {
|
|
83775
85063
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
83776
85064
|
_wrap_native_super = function(Class) {
|
|
@@ -83904,7 +85192,7 @@ function _wrap_native_super(Class) {
|
|
|
83904
85192
|
],
|
|
83905
85193
|
buttons.check
|
|
83906
85194
|
]);
|
|
83907
|
-
(0,
|
|
85195
|
+
(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__.markOwner)(j, dialog.container);
|
|
83908
85196
|
return dialog;
|
|
83909
85197
|
}
|
|
83910
85198
|
},
|
|
@@ -83913,9 +85201,9 @@ function _wrap_native_super(Class) {
|
|
|
83913
85201
|
get: function get() {
|
|
83914
85202
|
var j = this.j;
|
|
83915
85203
|
return {
|
|
83916
|
-
check: (0,
|
|
83917
|
-
remove: (0,
|
|
83918
|
-
cancel: (0,
|
|
85204
|
+
check: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'ok', 'Apply', 'primary'),
|
|
85205
|
+
remove: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'bin', 'Delete'),
|
|
85206
|
+
cancel: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'cancel', 'Cancel')
|
|
83919
85207
|
};
|
|
83920
85208
|
}
|
|
83921
85209
|
},
|
|
@@ -83952,26 +85240,28 @@ function _wrap_native_super(Class) {
|
|
|
83952
85240
|
key: "__openPosterPopup",
|
|
83953
85241
|
value: function __openPosterPopup(button) {
|
|
83954
85242
|
var _this = this, j = _this.j, state = _this.state;
|
|
83955
|
-
var popup = new
|
|
85243
|
+
var popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.dialog);
|
|
83956
85244
|
var close = function close() {
|
|
83957
85245
|
popup.close();
|
|
83958
85246
|
popup.destruct();
|
|
83959
85247
|
};
|
|
83960
85248
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__.FileSelectorWidget)(j, {
|
|
83961
85249
|
upload: function upload(data) {
|
|
83962
|
-
|
|
83963
|
-
|
|
85250
|
+
var _getItems = _sliced_to_array((0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data), 1), item = _getItems[0];
|
|
85251
|
+
if (item) {
|
|
85252
|
+
state.values.poster = data.baseurl + item.file;
|
|
83964
85253
|
}
|
|
83965
85254
|
close();
|
|
83966
85255
|
},
|
|
83967
85256
|
filebrowser: function filebrowser(data) {
|
|
83968
|
-
|
|
83969
|
-
|
|
85257
|
+
var _getItems = _sliced_to_array((0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data), 1), item = _getItems[0];
|
|
85258
|
+
if (item) {
|
|
85259
|
+
state.values.poster = item.file;
|
|
83970
85260
|
close();
|
|
83971
85261
|
}
|
|
83972
85262
|
}
|
|
83973
85263
|
}, null, close)).open(function() {
|
|
83974
|
-
return (0,
|
|
85264
|
+
return (0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__.position)(button);
|
|
83975
85265
|
});
|
|
83976
85266
|
}
|
|
83977
85267
|
},
|
|
@@ -83992,7 +85282,7 @@ function _wrap_native_super(Class) {
|
|
|
83992
85282
|
}
|
|
83993
85283
|
]);
|
|
83994
85284
|
return videoProperties;
|
|
83995
|
-
}(_wrap_native_super(
|
|
85285
|
+
}(_wrap_native_super(_core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__.Plugin));
|
|
83996
85286
|
__decorate([
|
|
83997
85287
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.cache
|
|
83998
85288
|
], videoProperties.prototype, "form", null);
|
|
@@ -84115,8 +85405,9 @@ function setFlag(media, name, on) {
|
|
|
84115
85405
|
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2525);
|
|
84116
85406
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12153);
|
|
84117
85407
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6441);
|
|
84118
|
-
/* harmony import */ var
|
|
84119
|
-
/* harmony import */ var
|
|
85408
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2073);
|
|
85409
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92762);
|
|
85410
|
+
/* harmony import */ var _video_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37775);
|
|
84120
85411
|
/*!
|
|
84121
85412
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
84122
85413
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -84128,13 +85419,15 @@ function setFlag(media, name, on) {
|
|
|
84128
85419
|
|
|
84129
85420
|
|
|
84130
85421
|
|
|
85422
|
+
|
|
84131
85423
|
function insertVideos(data) {
|
|
84132
85424
|
var _this = this;
|
|
84133
|
-
var
|
|
84134
|
-
(
|
|
85425
|
+
var baseurl = data.baseurl;
|
|
85426
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__.getItems)(data).forEach(function(param) {
|
|
85427
|
+
var file = param.file;
|
|
84135
85428
|
_this.s.insertNode((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.prepareMedia)(_this, _this.createInside.element('video', {
|
|
84136
85429
|
controls: '',
|
|
84137
|
-
src:
|
|
85430
|
+
src: baseurl + file
|
|
84138
85431
|
})));
|
|
84139
85432
|
});
|
|
84140
85433
|
}
|
|
@@ -84144,7 +85437,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.video = {
|
|
|
84144
85437
|
defaultHeight: 345,
|
|
84145
85438
|
defaultHandlerSuccess: insertVideos
|
|
84146
85439
|
};
|
|
84147
|
-
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video',
|
|
85440
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]);
|
|
84148
85441
|
/**
|
|
84149
85442
|
* The video popup's tabs: Upload, when the uploader is configured, then Link
|
|
84150
85443
|
* and Code. `insert` runs what a tab inserts, which by default goes in at the
|
|
@@ -84196,7 +85489,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
84196
85489
|
var uploader = jodit.o.uploader;
|
|
84197
85490
|
// Base64 alone would put whole video files into the content
|
|
84198
85491
|
if (uploader.showTabInFileSelector !== false && (uploader.url || uploader.customUploadFunction)) {
|
|
84199
|
-
tabs.push((0,
|
|
85492
|
+
tabs.push((0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.UploadTab)(jodit, function(data) {
|
|
84200
85493
|
run(function() {
|
|
84201
85494
|
var _a, _b;
|
|
84202
85495
|
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 +85518,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
84225
85518
|
formCode.onSubmit(function(data) {
|
|
84226
85519
|
insertCode(data.code);
|
|
84227
85520
|
});
|
|
84228
|
-
var box = (0,
|
|
85521
|
+
var box = (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.TabsWidget)(jodit, tabs);
|
|
84229
85522
|
// Its tabs are sized to their labels, as the file selector's are, since
|
|
84230
85523
|
// "Upload" doesn't fit a third of the popup
|
|
84231
85524
|
box.classList.add('jodit-file-selector');
|
|
@@ -84918,6 +86211,14 @@ function _wrap_native_super(Class) {
|
|
|
84918
86211
|
_core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
84919
86212
|
|
|
84920
86213
|
|
|
86214
|
+
/***/ }),
|
|
86215
|
+
|
|
86216
|
+
/***/ 25850:
|
|
86217
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
86218
|
+
|
|
86219
|
+
/* 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> ");
|
|
86220
|
+
|
|
86221
|
+
|
|
84921
86222
|
/***/ }),
|
|
84922
86223
|
|
|
84923
86224
|
/***/ 78173:
|
|
@@ -85045,65 +86346,67 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
|
85045
86346
|
|
|
85046
86347
|
__webpack_require__.r(__webpack_exports__);
|
|
85047
86348
|
/* 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 */
|
|
86349
|
+
/* harmony export */ anchor: function() { return /* reexport safe */ _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__["default"]; },
|
|
86350
|
+
/* harmony export */ angle_down: function() { return /* reexport safe */ _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__["default"]; },
|
|
86351
|
+
/* harmony export */ angle_left: function() { return /* reexport safe */ _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__["default"]; },
|
|
86352
|
+
/* harmony export */ angle_right: function() { return /* reexport safe */ _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__["default"]; },
|
|
86353
|
+
/* harmony export */ angle_up: function() { return /* reexport safe */ _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__["default"]; },
|
|
86354
|
+
/* harmony export */ bin: function() { return /* reexport safe */ _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__["default"]; },
|
|
86355
|
+
/* harmony export */ cancel: function() { return /* reexport safe */ _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__["default"]; },
|
|
86356
|
+
/* harmony export */ center: function() { return /* reexport safe */ _center_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]; },
|
|
86357
|
+
/* harmony export */ check: function() { return /* reexport safe */ _check_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
86358
|
+
/* harmony export */ chevron: function() { return /* reexport safe */ _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
86359
|
+
/* harmony export */ dots: function() { return /* reexport safe */ _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
86360
|
+
/* harmony export */ download: function() { return /* reexport safe */ _download_svg_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
86361
|
+
/* harmony export */ eraser: function() { return /* reexport safe */ _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
86362
|
+
/* harmony export */ eye: function() { return /* reexport safe */ _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
86363
|
+
/* harmony export */ file: function() { return /* reexport safe */ _file_svg_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
86364
|
+
/* harmony export */ folder: function() { return /* reexport safe */ _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
86365
|
+
/* harmony export */ info_circle: function() { return /* reexport safe */ _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
86366
|
+
/* harmony export */ left: function() { return /* reexport safe */ _left_svg_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
86367
|
+
/* harmony export */ lock: function() { return /* reexport safe */ _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
86368
|
+
/* harmony export */ ok: function() { return /* reexport safe */ _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
86369
|
+
/* harmony export */ pencil: function() { return /* reexport safe */ _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
86370
|
+
/* harmony export */ plus: function() { return /* reexport safe */ _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
86371
|
+
/* harmony export */ resize_handler: function() { return /* reexport safe */ _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
86372
|
+
/* harmony export */ right: function() { return /* reexport safe */ _right_svg_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
86373
|
+
/* harmony export */ save: function() { return /* reexport safe */ _save_svg_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
86374
|
+
/* harmony export */ settings: function() { return /* reexport safe */ _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__["default"]; },
|
|
86375
|
+
/* harmony export */ unlock: function() { return /* reexport safe */ _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
86376
|
+
/* harmony export */ update: function() { return /* reexport safe */ _update_svg_js__WEBPACK_IMPORTED_MODULE_27__["default"]; },
|
|
86377
|
+
/* harmony export */ upload: function() { return /* reexport safe */ _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__["default"]; },
|
|
86378
|
+
/* harmony export */ valign: function() { return /* reexport safe */ _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__["default"]; }
|
|
85077
86379
|
/* 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
|
|
86380
|
+
/* harmony import */ var _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25850);
|
|
86381
|
+
/* harmony import */ var _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78173);
|
|
86382
|
+
/* harmony import */ var _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16260);
|
|
86383
|
+
/* harmony import */ var _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37663);
|
|
86384
|
+
/* harmony import */ var _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51036);
|
|
86385
|
+
/* harmony import */ var _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31554);
|
|
86386
|
+
/* harmony import */ var _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(18309);
|
|
86387
|
+
/* harmony import */ var _center_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99762);
|
|
86388
|
+
/* harmony import */ var _check_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7903);
|
|
86389
|
+
/* harmony import */ var _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(58032);
|
|
86390
|
+
/* harmony import */ var _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(52507);
|
|
86391
|
+
/* harmony import */ var _download_svg_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1647);
|
|
86392
|
+
/* harmony import */ var _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98535);
|
|
86393
|
+
/* harmony import */ var _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(43478);
|
|
86394
|
+
/* harmony import */ var _file_svg_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(60097);
|
|
86395
|
+
/* harmony import */ var _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(49155);
|
|
86396
|
+
/* harmony import */ var _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(17176);
|
|
86397
|
+
/* harmony import */ var _left_svg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(57882);
|
|
86398
|
+
/* harmony import */ var _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(58908);
|
|
86399
|
+
/* harmony import */ var _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(24829);
|
|
86400
|
+
/* harmony import */ var _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(4038);
|
|
86401
|
+
/* harmony import */ var _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(45575);
|
|
86402
|
+
/* harmony import */ var _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(84858);
|
|
86403
|
+
/* harmony import */ var _right_svg_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(445);
|
|
86404
|
+
/* harmony import */ var _save_svg_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(36886);
|
|
86405
|
+
/* harmony import */ var _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(10766);
|
|
86406
|
+
/* harmony import */ var _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(33651);
|
|
86407
|
+
/* harmony import */ var _update_svg_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(20362);
|
|
86408
|
+
/* harmony import */ var _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(12202);
|
|
86409
|
+
/* harmony import */ var _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(80152);
|
|
85107
86410
|
/*!
|
|
85108
86411
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
85109
86412
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -85142,6 +86445,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
85142
86445
|
|
|
85143
86446
|
|
|
85144
86447
|
|
|
86448
|
+
|
|
85145
86449
|
|
|
85146
86450
|
|
|
85147
86451
|
/***/ }),
|