jodit-pro 4.6.10 → 4.6.13
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/.nvmrc +1 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +1278 -1328
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +65 -65
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +110 -110
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +7 -7
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +37 -37
- package/es2015/plugins/color-picker/color-picker.min.js +2 -2
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +47 -47
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +18 -18
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +452 -452
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +265 -265
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +60 -60
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +26 -26
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +27 -27
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +51 -51
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +27 -27
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +62 -62
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +62 -62
- package/es2015/plugins/translate/translate.min.js +2 -2
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +50 -50
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +1123 -1118
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +64 -64
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +110 -110
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +7 -7
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +37 -37
- package/es2018/plugins/color-picker/color-picker.min.js +2 -2
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +45 -45
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +446 -446
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +262 -262
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +60 -60
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +26 -26
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +27 -27
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +49 -49
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +27 -27
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +62 -62
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +61 -61
- package/es2018/plugins/translate/translate.min.js +2 -2
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +50 -50
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +1123 -1118
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +64 -64
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +110 -110
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +7 -7
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +37 -37
- package/es2021/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +45 -45
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +446 -446
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +262 -262
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +60 -60
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +27 -27
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +49 -49
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +62 -62
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +61 -61
- package/es2021/plugins/translate/translate.min.js +2 -2
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +50 -50
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +1123 -1118
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +64 -64
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +110 -110
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +7 -7
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +37 -37
- package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +45 -45
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +446 -446
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +262 -262
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +60 -60
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +27 -27
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +49 -49
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- 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 +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +62 -62
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +61 -61
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +50 -50
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1461 -1568
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +80 -80
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +137 -137
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +17 -17
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +40 -40
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +54 -54
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +21 -21
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +495 -495
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +299 -299
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +17 -17
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +26 -26
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +43 -43
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +62 -62
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +28 -28
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +29 -29
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +55 -55
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +28 -28
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +64 -64
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +77 -77
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +65 -65
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/index.js +1 -1
- package/esm/jodit-pro.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
- package/esm/plugins/backup/backup.js +1 -1
- package/esm/plugins/backup/modules/store.js +1 -1
- package/esm/plugins/backup/ui/list.js +1 -1
- package/esm/plugins/button-generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/button/button.js +1 -1
- package/esm/plugins/button-generator/ui/form/form.js +1 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/preview/preview.js +1 -1
- package/esm/plugins/change-case/change-case.js +1 -1
- package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/emoji/emoji.js +1 -1
- package/esm/plugins/emoji/ui/emoji.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/finder.js +1 -1
- package/esm/plugins/finder/helpers/context-menu.js +1 -1
- package/esm/plugins/finder/helpers/helpers.js +1 -1
- package/esm/plugins/finder/helpers/loading-manager.js +1 -1
- package/esm/plugins/finder/helpers/persistent-store.js +1 -1
- package/esm/plugins/finder/helpers/state-manager.js +1 -1
- package/esm/plugins/finder/ui/folder/folder.js +1 -1
- package/esm/plugins/finder/ui/header/header.js +1 -1
- package/esm/plugins/finder/ui/item/item.js +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
- package/esm/plugins/finder/ui/panel/panel.js +1 -1
- package/esm/plugins/finder/ui/preview/preview.js +1 -1
- package/esm/plugins/finder/ui/progress/progress.js +1 -1
- package/esm/plugins/finder/ui/settings/settings.js +1 -1
- package/esm/plugins/finder/ui/source/source.js +1 -1
- package/esm/plugins/finder/ui/sources/sources.js +1 -1
- package/esm/plugins/finder/ui/tree/tree.js +1 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
- package/esm/plugins/google-maps/google-maps.js +1 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
- package/esm/plugins/google-maps/helpers/helpers.js +1 -1
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
- package/esm/plugins/google-maps/ui/editors/base.js +1 -1
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
- package/esm/plugins/google-maps/ui/map/map.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
- package/esm/plugins/license/helpers/helpers.js +1 -1
- package/esm/plugins/license/license.js +1 -1
- package/esm/plugins/mobile-view/mobile-view.js +1 -1
- package/esm/plugins/page-break/page-break.js +1 -1
- package/esm/plugins/paste-code/paste-code.js +1 -1
- package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
- package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
- package/esm/plugins/paste-from-word/element/checkers.js +1 -1
- package/esm/plugins/paste-from-word/element/element.js +1 -1
- package/esm/plugins/paste-from-word/element/render.js +1 -1
- package/esm/plugins/paste-from-word/element/style.js +1 -1
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
- package/esm/plugins/paste-from-word/helpers/helpers.js +1 -1
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
- package/esm/plugins/show-blocks/show-blocks.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/todo-list/todo-list.js +1 -1
- package/esm/plugins/translate/providers/google/google.js +1 -1
- package/esm/plugins/translate/translate.js +1 -1
- package/esm/plugins/translate/ui/list/list.js +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -25,17 +25,17 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
25
25
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26
26
|
/* harmony export */ L: function() { return /* binding */ UIMap; }
|
|
27
27
|
/* harmony export */ });
|
|
28
|
-
/* harmony import */ var
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
31
|
-
/* harmony import */ var
|
|
32
|
-
/* harmony import */ var
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
36
|
-
/* harmony import */ var
|
|
37
|
-
/* harmony import */ var
|
|
38
|
-
/* harmony import */ var
|
|
28
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
29
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44434);
|
|
30
|
+
/* harmony import */ var _modules_init_or_update_element_from_state__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97796);
|
|
31
|
+
/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14686);
|
|
32
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65478);
|
|
33
|
+
/* harmony import */ var jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(580);
|
|
34
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38837);
|
|
35
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41180);
|
|
36
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(67510);
|
|
37
|
+
/* harmony import */ var jodit_esm_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(11676);
|
|
38
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_helpers_const__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(45751);
|
|
39
39
|
/*!
|
|
40
40
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
41
41
|
* See LICENSE.md in the project root for license information.
|
|
@@ -54,13 +54,13 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
var UIMap = /** @class */ (function (_super) {
|
|
57
|
-
(0,
|
|
57
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIMap, _super);
|
|
58
58
|
function UIMap(jodit, state, options) {
|
|
59
59
|
var _this = _super.call(this, jodit) || this;
|
|
60
60
|
_this.options = options;
|
|
61
|
-
_this.toolbar = new
|
|
61
|
+
_this.toolbar = new jodit_esm_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_9__/* .ToolbarCollection */ .Q(_this.jodit);
|
|
62
62
|
_this.state = {
|
|
63
|
-
uid: 'jd' + (0,
|
|
63
|
+
uid: 'jd' + (0,jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_5__/* .uniqueUid */ .w9)() + new Date().toString().replace(/[^0-9]/g, ''),
|
|
64
64
|
layer: _this.options.googleMaps.map.layer,
|
|
65
65
|
center: _this.options.googleMaps.map.defaultCenter,
|
|
66
66
|
zoom: _this.options.googleMaps.map.defaultZoom,
|
|
@@ -99,13 +99,13 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
99
99
|
return 'UIMap';
|
|
100
100
|
};
|
|
101
101
|
UIMap.prototype.json = function () {
|
|
102
|
-
return JSON.stringify((0,
|
|
102
|
+
return JSON.stringify((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, this.state), { mode: 'hand' }));
|
|
103
103
|
};
|
|
104
104
|
UIMap.prototype.onReady = function () {
|
|
105
|
-
return (0,
|
|
105
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__awaiter */ .sH)(this, void 0, Promise, function () {
|
|
106
106
|
var container;
|
|
107
107
|
var _this = this;
|
|
108
|
-
return (0,
|
|
108
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__generator */ .YH)(this, function (_a) {
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0: return [4 /*yield*/, this.apiLoaded];
|
|
111
111
|
case 1:
|
|
@@ -157,15 +157,15 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
157
157
|
drawingManager.setMap(this.map);
|
|
158
158
|
drawingManager.setOptions({
|
|
159
159
|
drawingControl: false,
|
|
160
|
-
polygonOptions: (0,
|
|
161
|
-
polylineOptions: (0,
|
|
162
|
-
markerOptions: (0,
|
|
163
|
-
circleOptions: (0,
|
|
160
|
+
polygonOptions: (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, this.options.googleMaps.map.defaultStates.polygon), { clickable: true, editable: true }),
|
|
161
|
+
polylineOptions: (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, this.options.googleMaps.map.defaultStates.polyline), { clickable: true, editable: true }),
|
|
162
|
+
markerOptions: (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, this.options.googleMaps.map.defaultStates.marker), { clickable: true }),
|
|
163
|
+
circleOptions: (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, this.options.googleMaps.map.defaultStates.circle), { clickable: true, editable: true })
|
|
164
164
|
});
|
|
165
165
|
this.drawingManager = drawingManager;
|
|
166
166
|
google.maps.event.addListener(drawingManager, 'overlaycomplete', function (event) {
|
|
167
167
|
if (event.overlay) {
|
|
168
|
-
|
|
168
|
+
_modules__WEBPACK_IMPORTED_MODULE_3__/* .addNewInState */ .ST.call(_this, event.overlay);
|
|
169
169
|
event.overlay.setMap(null);
|
|
170
170
|
}
|
|
171
171
|
});
|
|
@@ -193,7 +193,7 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
193
193
|
}
|
|
194
194
|
mapElements.length = elements.length;
|
|
195
195
|
elements.forEach(function (state, index) {
|
|
196
|
-
return
|
|
196
|
+
return _modules_init_or_update_element_from_state__WEBPACK_IMPORTED_MODULE_2__/* .initOrUpdateElementFromState */ .O.call(_this, state, index);
|
|
197
197
|
});
|
|
198
198
|
};
|
|
199
199
|
UIMap.prototype.onChangeCenter = function () {
|
|
@@ -219,7 +219,7 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
219
219
|
};
|
|
220
220
|
UIMap.prototype.onChangeBound = function () {
|
|
221
221
|
this.options.googleMaps.saveStateInStorage &&
|
|
222
|
-
this.j.storage.set(
|
|
222
|
+
this.j.storage.set(jodit_pro_plugins_google_maps_helpers_const__WEBPACK_IMPORTED_MODULE_10__/* .STORAGE_KEY */ .A, {
|
|
223
223
|
center: this.state.center,
|
|
224
224
|
size: this.state.size,
|
|
225
225
|
zoom: this.state.zoom,
|
|
@@ -231,7 +231,7 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
231
231
|
UIMap.prototype.onChangeSize = function () {
|
|
232
232
|
var mapSize = this.getElm('map-size');
|
|
233
233
|
void 0;
|
|
234
|
-
(0,
|
|
234
|
+
(0,jodit_esm_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(mapSize, {
|
|
235
235
|
width: this.state.size[0],
|
|
236
236
|
height: this.state.size[1]
|
|
237
237
|
});
|
|
@@ -260,32 +260,32 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
260
260
|
return "<div>\n\t\t\t<div class='&__map-root'></div>\n\t\t\t<div class='&__map-size'></div>\n\t\t\t<div class='&__map-palette'></div>\n\t\t</div>";
|
|
261
261
|
};
|
|
262
262
|
UIMap.prototype.appendChildToContainer = function () { };
|
|
263
|
-
(0,
|
|
264
|
-
(0,
|
|
263
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
264
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.hook)('ready')
|
|
265
265
|
], UIMap.prototype, "onReady", null);
|
|
266
|
-
(0,
|
|
267
|
-
(0,
|
|
266
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
267
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('?:changeCreateMode.gm')
|
|
268
268
|
], UIMap.prototype, "changeCreateMode", null);
|
|
269
|
-
(0,
|
|
270
|
-
(0,
|
|
269
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
270
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.mode')
|
|
271
271
|
], UIMap.prototype, "onChangeMode", null);
|
|
272
|
-
(0,
|
|
273
|
-
(0,
|
|
272
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
273
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.elements')
|
|
274
274
|
], UIMap.prototype, "onChangeElementsList", null);
|
|
275
|
-
(0,
|
|
276
|
-
(0,
|
|
277
|
-
(0,
|
|
278
|
-
(0,
|
|
275
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
276
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.center'),
|
|
277
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.wait)(function (ctx) { return ctx.mapInitialized; }),
|
|
278
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
279
279
|
], UIMap.prototype, "onChangeCenter", null);
|
|
280
|
-
(0,
|
|
281
|
-
(0,
|
|
282
|
-
(0,
|
|
280
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
281
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.zoom'),
|
|
282
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
283
283
|
], UIMap.prototype, "onChangeZoom", null);
|
|
284
|
-
(0,
|
|
285
|
-
(0,
|
|
284
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
285
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.controls')
|
|
286
286
|
], UIMap.prototype, "onChangeControls", null);
|
|
287
|
-
(0,
|
|
288
|
-
(0,
|
|
287
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
288
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)([
|
|
289
289
|
'state.center',
|
|
290
290
|
'state.zoom',
|
|
291
291
|
'state.controls',
|
|
@@ -293,21 +293,21 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
293
293
|
'state.type',
|
|
294
294
|
'state.layer'
|
|
295
295
|
]),
|
|
296
|
-
(0,
|
|
297
|
-
(0,
|
|
296
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.wait)(function (ctx) { return ctx.mapInitialized; }),
|
|
297
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
298
298
|
], UIMap.prototype, "onChangeBound", null);
|
|
299
|
-
(0,
|
|
300
|
-
(0,
|
|
301
|
-
(0,
|
|
299
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
300
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.size'),
|
|
301
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
302
302
|
], UIMap.prototype, "onChangeSize", null);
|
|
303
|
-
(0,
|
|
304
|
-
(0,
|
|
303
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
304
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.type')
|
|
305
305
|
], UIMap.prototype, "onChangeMapType", null);
|
|
306
|
-
(0,
|
|
307
|
-
(0,
|
|
306
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
307
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.layer')
|
|
308
308
|
], UIMap.prototype, "onChangeLayer", null);
|
|
309
309
|
return UIMap;
|
|
310
|
-
}(
|
|
310
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_8__/* .UIGroup */ .Ue));
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
|
|
@@ -320,15 +320,15 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
320
320
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321
321
|
/* harmony export */ A: function() { return /* binding */ ColorInput; }
|
|
322
322
|
/* harmony export */ });
|
|
323
|
-
/* harmony import */ var
|
|
324
|
-
/* harmony import */ var
|
|
325
|
-
/* harmony import */ var
|
|
326
|
-
/* harmony import */ var
|
|
327
|
-
/* harmony import */ var
|
|
328
|
-
/* harmony import */ var
|
|
329
|
-
/* harmony import */ var
|
|
330
|
-
/* harmony import */ var
|
|
331
|
-
/* harmony import */ var
|
|
323
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
324
|
+
/* harmony import */ var a_color_picker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46146);
|
|
325
|
+
/* harmony import */ var a_color_picker__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(a_color_picker__WEBPACK_IMPORTED_MODULE_1__);
|
|
326
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
327
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65478);
|
|
328
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
329
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38837);
|
|
330
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67510);
|
|
331
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41409);
|
|
332
332
|
/*!
|
|
333
333
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
334
334
|
* See LICENSE.md in the project root for license information.
|
|
@@ -344,13 +344,13 @@ var UIMap = /** @class */ (function (_super) {
|
|
|
344
344
|
|
|
345
345
|
|
|
346
346
|
var ColorInput = /** @class */ (function (_super) {
|
|
347
|
-
(0,
|
|
347
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(ColorInput, _super);
|
|
348
348
|
/** @override */
|
|
349
349
|
function ColorInput(jodit, options) {
|
|
350
350
|
var _this = _super.call(this, jodit, options) || this;
|
|
351
|
-
var popup = new
|
|
351
|
+
var popup = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .Popup */ .zD(jodit), parse = function (c) { return a_color_picker__WEBPACK_IMPORTED_MODULE_1__.parseColor(c, 'hex'); };
|
|
352
352
|
_this.popup = popup;
|
|
353
|
-
_this.trigger = (0,
|
|
353
|
+
_this.trigger = (0,jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .Button */ .$n)(_this.j, 'ok');
|
|
354
354
|
var wrapper = _this.getElm('wrapper');
|
|
355
355
|
void 0;
|
|
356
356
|
wrapper.appendChild(_this.trigger.container);
|
|
@@ -362,13 +362,13 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
362
362
|
});
|
|
363
363
|
popup.setMod('padding', false).setMod('max-height', false);
|
|
364
364
|
var pickerElement = _this.j.create.div(_this.getFullElName('picker'));
|
|
365
|
-
var picker =
|
|
365
|
+
var picker = a_color_picker__WEBPACK_IMPORTED_MODULE_1__.createPicker(pickerElement, {
|
|
366
366
|
paletteEditable: true,
|
|
367
367
|
showAlpha: true,
|
|
368
368
|
palette: 'PALETTE_MATERIAL_CHROME'
|
|
369
369
|
}).on('change', function (picker, color) {
|
|
370
370
|
if (!_this.isFocused) {
|
|
371
|
-
_this.value =
|
|
371
|
+
_this.value = a_color_picker__WEBPACK_IMPORTED_MODULE_1__.parseColor(color || '', 'hex');
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
_this.j.e.on(_this, 'change', function () {
|
|
@@ -379,10 +379,10 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
379
379
|
popup.setContent(pickerElement);
|
|
380
380
|
_this.j.e.on(_this.nativeInput, 'click', function () {
|
|
381
381
|
popup.parentElement = _this;
|
|
382
|
-
if (_this.jodit instanceof
|
|
382
|
+
if (_this.jodit instanceof jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__.Dialog) {
|
|
383
383
|
popup.setZIndex(_this.jodit.getZIndex() + 1);
|
|
384
384
|
}
|
|
385
|
-
popup.open(function () { return (0,
|
|
385
|
+
popup.open(function () { return (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_4__.position)(_this.container); });
|
|
386
386
|
});
|
|
387
387
|
_this.onChangeValue();
|
|
388
388
|
_this.onChangeSelfValue();
|
|
@@ -402,21 +402,21 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
402
402
|
};
|
|
403
403
|
ColorInput.prototype.onEscKeyDown = function (e) {
|
|
404
404
|
var _a;
|
|
405
|
-
if (e.key ===
|
|
405
|
+
if (e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC) {
|
|
406
406
|
(_a = this.popup) === null || _a === void 0 ? void 0 : _a.close();
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
|
-
(0,
|
|
410
|
-
(0,
|
|
409
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
410
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':change')
|
|
411
411
|
], ColorInput.prototype, "onChangeSelfValue", null);
|
|
412
|
-
(0,
|
|
413
|
-
(0,
|
|
412
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
413
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)('nativeInput:keydown')
|
|
414
414
|
], ColorInput.prototype, "onEscKeyDown", null);
|
|
415
|
-
ColorInput = (0,
|
|
416
|
-
|
|
415
|
+
ColorInput = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
416
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.component
|
|
417
417
|
], ColorInput);
|
|
418
418
|
return ColorInput;
|
|
419
|
-
}(
|
|
419
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIInput */ .tS));
|
|
420
420
|
|
|
421
421
|
|
|
422
422
|
|
|
@@ -429,10 +429,10 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
429
429
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
430
430
|
/* harmony export */ A: function() { return /* binding */ UIMarkerEditor; }
|
|
431
431
|
/* harmony export */ });
|
|
432
|
-
/* harmony import */ var
|
|
433
|
-
/* harmony import */ var
|
|
434
|
-
/* harmony import */ var
|
|
435
|
-
/* harmony import */ var
|
|
432
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
433
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
434
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8367);
|
|
435
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_wysiwyg_wysiwyg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12046);
|
|
436
436
|
/*!
|
|
437
437
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
438
438
|
* See LICENSE.md in the project root for license information.
|
|
@@ -443,7 +443,7 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
443
443
|
|
|
444
444
|
|
|
445
445
|
var UIMarkerEditor = /** @class */ (function (_super) {
|
|
446
|
-
(0,
|
|
446
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIMarkerEditor, _super);
|
|
447
447
|
function UIMarkerEditor() {
|
|
448
448
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
449
449
|
}
|
|
@@ -451,17 +451,17 @@ var UIMarkerEditor = /** @class */ (function (_super) {
|
|
|
451
451
|
var _this = this;
|
|
452
452
|
var _a;
|
|
453
453
|
_super.prototype.onReady.call(this);
|
|
454
|
-
var editor = new
|
|
454
|
+
var editor = new jodit_pro_plugins_google_maps_ui_wysiwyg_wysiwyg__WEBPACK_IMPORTED_MODULE_3__/* .UIWysiwyg */ .W(this.j, this.options.googleMaps.inlineEditorOptions, (_a = this.state.text) !== null && _a !== void 0 ? _a : '', function (value) { return _this.j.e.fire(_this, 'change', 'text', value); });
|
|
455
455
|
this.append(editor, 'form');
|
|
456
456
|
};
|
|
457
|
-
(0,
|
|
458
|
-
(0,
|
|
457
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
458
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
459
459
|
], UIMarkerEditor.prototype, "onReady", null);
|
|
460
|
-
UIMarkerEditor = (0,
|
|
461
|
-
|
|
460
|
+
UIMarkerEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
461
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
462
462
|
], UIMarkerEditor);
|
|
463
463
|
return UIMarkerEditor;
|
|
464
|
-
}(
|
|
464
|
+
}(jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_2__/* .UIBaseEditor */ .R));
|
|
465
465
|
|
|
466
466
|
|
|
467
467
|
|
|
@@ -474,8 +474,8 @@ var UIMarkerEditor = /** @class */ (function (_super) {
|
|
|
474
474
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
475
475
|
/* harmony export */ R: function() { return /* binding */ UIBaseEditor; }
|
|
476
476
|
/* harmony export */ });
|
|
477
|
-
/* harmony import */ var
|
|
478
|
-
/* harmony import */ var
|
|
477
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
478
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67510);
|
|
479
479
|
/*!
|
|
480
480
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
481
481
|
* See LICENSE.md in the project root for license information.
|
|
@@ -484,7 +484,7 @@ var UIMarkerEditor = /** @class */ (function (_super) {
|
|
|
484
484
|
|
|
485
485
|
|
|
486
486
|
var UIBaseEditor = /** @class */ (function (_super) {
|
|
487
|
-
(0,
|
|
487
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIBaseEditor, _super);
|
|
488
488
|
function UIBaseEditor(jodit, state, options) {
|
|
489
489
|
var _this = _super.call(this, jodit) || this;
|
|
490
490
|
_this.state = state;
|
|
@@ -499,13 +499,13 @@ var UIBaseEditor = /** @class */ (function (_super) {
|
|
|
499
499
|
};
|
|
500
500
|
UIBaseEditor.prototype.onReady = function () {
|
|
501
501
|
var _this = this;
|
|
502
|
-
var remove = (0,
|
|
502
|
+
var remove = (0,jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(this.j, 'bin').onAction(function () {
|
|
503
503
|
return _this.j.e.fire(_this, 'bin');
|
|
504
504
|
});
|
|
505
505
|
this.append(remove, 'buttons');
|
|
506
506
|
};
|
|
507
507
|
return UIBaseEditor;
|
|
508
|
-
}(
|
|
508
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIGroup */ .Ue));
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
|
|
@@ -518,11 +518,11 @@ var UIBaseEditor = /** @class */ (function (_super) {
|
|
|
518
518
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
519
519
|
/* harmony export */ W: function() { return /* binding */ UIWysiwyg; }
|
|
520
520
|
/* harmony export */ });
|
|
521
|
-
/* harmony import */ var
|
|
522
|
-
/* harmony import */ var
|
|
523
|
-
/* harmony import */ var
|
|
524
|
-
/* harmony import */ var
|
|
525
|
-
/* harmony import */ var
|
|
521
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
522
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
523
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
524
|
+
/* harmony import */ var jodit_esm_core_ui_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48538);
|
|
525
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34013);
|
|
526
526
|
/*!
|
|
527
527
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
528
528
|
* See LICENSE.md in the project root for license information.
|
|
@@ -535,12 +535,12 @@ var UIBaseEditor = /** @class */ (function (_super) {
|
|
|
535
535
|
|
|
536
536
|
|
|
537
537
|
var UIWysiwyg = /** @class */ (function (_super) {
|
|
538
|
-
(0,
|
|
538
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIWysiwyg, _super);
|
|
539
539
|
function UIWysiwyg(jodit, options, value, onChange) {
|
|
540
540
|
var _this = _super.call(this, jodit) || this;
|
|
541
541
|
var wysiwyg = _this.getElm('editor');
|
|
542
542
|
void 0;
|
|
543
|
-
var editor =
|
|
543
|
+
var editor = jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__/* .JoditPro */ .A.make(wysiwyg, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({ buttons: ['bold', 'italic', 'image'], height: 100, minHeight: 100, allowResizeY: false, allowResizeX: false, disablePlugins: [
|
|
544
544
|
'mobile',
|
|
545
545
|
'backup',
|
|
546
546
|
'highlight-signature',
|
|
@@ -557,11 +557,11 @@ var UIWysiwyg = /** @class */ (function (_super) {
|
|
|
557
557
|
UIWysiwyg.prototype.render = function () {
|
|
558
558
|
return "<div>\n\t\t\t<div class='&__label'>~Info~</div>\n\t\t\t<div class='&__editor'></div>\n\t\t</div>";
|
|
559
559
|
};
|
|
560
|
-
UIWysiwyg = (0,
|
|
561
|
-
|
|
560
|
+
UIWysiwyg = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
561
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
562
562
|
], UIWysiwyg);
|
|
563
563
|
return UIWysiwyg;
|
|
564
|
-
}(
|
|
564
|
+
}(jodit_esm_core_ui_element__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D));
|
|
565
565
|
|
|
566
566
|
|
|
567
567
|
|
|
@@ -621,11 +621,11 @@ var UIWysiwyg = /** @class */ (function (_super) {
|
|
|
621
621
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
622
622
|
/* harmony export */ C: function() { return /* binding */ UIPolylineEditor; }
|
|
623
623
|
/* harmony export */ });
|
|
624
|
-
/* harmony import */ var
|
|
625
|
-
/* harmony import */ var
|
|
626
|
-
/* harmony import */ var
|
|
627
|
-
/* harmony import */ var
|
|
628
|
-
/* harmony import */ var
|
|
624
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
625
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
626
|
+
/* harmony import */ var jodit_esm_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80256);
|
|
627
|
+
/* harmony import */ var jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5693);
|
|
628
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8367);
|
|
629
629
|
/*!
|
|
630
630
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
631
631
|
* See LICENSE.md in the project root for license information.
|
|
@@ -637,7 +637,7 @@ var UIWysiwyg = /** @class */ (function (_super) {
|
|
|
637
637
|
|
|
638
638
|
|
|
639
639
|
var UIPolylineEditor = /** @class */ (function (_super) {
|
|
640
|
-
(0,
|
|
640
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIPolylineEditor, _super);
|
|
641
641
|
function UIPolylineEditor() {
|
|
642
642
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
643
643
|
}
|
|
@@ -646,7 +646,7 @@ var UIPolylineEditor = /** @class */ (function (_super) {
|
|
|
646
646
|
var _a, _b;
|
|
647
647
|
_super.prototype.onReady.call(this);
|
|
648
648
|
this.append([
|
|
649
|
-
new
|
|
649
|
+
new jodit_esm_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .t(this.j, {
|
|
650
650
|
label: 'Stroke weight',
|
|
651
651
|
value: (_a = this.state.strokeWeight) !== null && _a !== void 0 ? _a : 1,
|
|
652
652
|
type: 'number',
|
|
@@ -654,7 +654,7 @@ var UIPolylineEditor = /** @class */ (function (_super) {
|
|
|
654
654
|
return _this.j.e.fire(_this, 'change', 'strokeWeight', value);
|
|
655
655
|
}
|
|
656
656
|
}),
|
|
657
|
-
new
|
|
657
|
+
new jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__/* .ColorInput */ .A(this.j, {
|
|
658
658
|
label: 'Stroke color',
|
|
659
659
|
value: (_b = this.state.strokeColor) !== null && _b !== void 0 ? _b : '#000',
|
|
660
660
|
onChange: function (value) {
|
|
@@ -663,14 +663,14 @@ var UIPolylineEditor = /** @class */ (function (_super) {
|
|
|
663
663
|
}).setMod('trigger', false)
|
|
664
664
|
], 'form');
|
|
665
665
|
};
|
|
666
|
-
(0,
|
|
667
|
-
(0,
|
|
666
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
667
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
668
668
|
], UIPolylineEditor.prototype, "onReady", null);
|
|
669
|
-
UIPolylineEditor = (0,
|
|
670
|
-
|
|
669
|
+
UIPolylineEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
670
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
671
671
|
], UIPolylineEditor);
|
|
672
672
|
return UIPolylineEditor;
|
|
673
|
-
}(
|
|
673
|
+
}(jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_4__/* .UIBaseEditor */ .R));
|
|
674
674
|
|
|
675
675
|
|
|
676
676
|
|
|
@@ -690,10 +690,10 @@ module.exports = "<svg width=\"72\" height=\"86\" viewBox=\"0 0 72 86\" fill=\"n
|
|
|
690
690
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
691
691
|
/* harmony export */ T: function() { return /* binding */ openPropsDialog; }
|
|
692
692
|
/* harmony export */ });
|
|
693
|
-
/* harmony import */ var
|
|
693
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
694
694
|
/* harmony import */ var _remove_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75197);
|
|
695
695
|
/* harmony import */ var _update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93636);
|
|
696
|
-
/* harmony import */ var
|
|
696
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12936);
|
|
697
697
|
/*!
|
|
698
698
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
699
699
|
* See LICENSE.md in the project root for license information.
|
|
@@ -722,14 +722,14 @@ function openPropsDialog(newElm, index) {
|
|
|
722
722
|
this.state.mode = 'hand';
|
|
723
723
|
switch (newElm.type) {
|
|
724
724
|
case 'polyline':
|
|
725
|
-
editor = new
|
|
725
|
+
editor = new jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_3__/* .UIPolylineEditor */ .C1(this.jodit, newElm.state, this.options);
|
|
726
726
|
break;
|
|
727
727
|
case 'marker':
|
|
728
|
-
editor = new
|
|
728
|
+
editor = new jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_3__/* .UIMarkerEditor */ .Ax(this.jodit, newElm.state, this.options);
|
|
729
729
|
break;
|
|
730
730
|
case 'circle':
|
|
731
731
|
case 'polygon':
|
|
732
|
-
editor = new
|
|
732
|
+
editor = new jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_3__/* .UIPolygonEditor */ .E6(this.jodit, newElm.state, this.options);
|
|
733
733
|
break;
|
|
734
734
|
}
|
|
735
735
|
if (!editor) {
|
|
@@ -742,7 +742,7 @@ function openPropsDialog(newElm, index) {
|
|
|
742
742
|
})
|
|
743
743
|
.on(editor, 'change', function (key, value) {
|
|
744
744
|
var _a;
|
|
745
|
-
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__/* .updateStateAndGme */ .B.call(_this, (0,
|
|
745
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__/* .updateStateAndGme */ .B.call(_this, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, newElm.state), (_a = {}, _a[key] = value, _a)), index);
|
|
746
746
|
});
|
|
747
747
|
var w = getInfoWindow.call(this);
|
|
748
748
|
if (newElm.type === 'polygon' || newElm.type === 'polyline') {
|
|
@@ -772,8 +772,8 @@ function openPropsDialog(newElm, index) {
|
|
|
772
772
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
773
773
|
/* harmony export */ H: function() { return /* binding */ generateStaticElements; }
|
|
774
774
|
/* harmony export */ });
|
|
775
|
-
/* harmony import */ var
|
|
776
|
-
/* harmony import */ var
|
|
775
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65533);
|
|
776
|
+
/* harmony import */ var jodit_esm_core_helpers_html_strip_tags__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91003);
|
|
777
777
|
/*!
|
|
778
778
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
779
779
|
* See LICENSE.md in the project root for license information.
|
|
@@ -787,11 +787,11 @@ function generateStaticElements(uiMap) {
|
|
|
787
787
|
var _a, _b, _c, _d, _e, _f;
|
|
788
788
|
switch (elm.type) {
|
|
789
789
|
case 'polygon':
|
|
790
|
-
return "&path=fillcolor:".concat((0,
|
|
790
|
+
return "&path=fillcolor:".concat((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .specialColor */ .Zt)((_a = elm.fillColor) !== null && _a !== void 0 ? _a : '#fff'), "%7Cweight:").concat((_b = elm.strokeWeight) !== null && _b !== void 0 ? _b : 1, "%7Ccolor:").concat((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .specialColor */ .Zt)((_c = elm.strokeColor) !== null && _c !== void 0 ? _c : '#fff'), "%7Cenc:").concat(google.maps.geometry.encoding.encodePath((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .arrayToPath */ .A3)(elm.coordinates)));
|
|
791
791
|
case 'polyline':
|
|
792
|
-
return "&path=weight:".concat((_d = elm.strokeWeight) !== null && _d !== void 0 ? _d : 1, "%7Ccolor:").concat((0,
|
|
792
|
+
return "&path=weight:".concat((_d = elm.strokeWeight) !== null && _d !== void 0 ? _d : 1, "%7Ccolor:").concat((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .specialColor */ .Zt)((_e = elm.strokeColor) !== null && _e !== void 0 ? _e : '#fff'), "%7Cenc:").concat(google.maps.geometry.encoding.encodePath((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .arrayToPath */ .A3)(elm.coordinates)));
|
|
793
793
|
case 'marker':
|
|
794
|
-
return "&markers=color:blue%7Clabel:".concat(encodeURIComponent((0,
|
|
794
|
+
return "&markers=color:blue%7Clabel:".concat(encodeURIComponent((0,jodit_esm_core_helpers_html_strip_tags__WEBPACK_IMPORTED_MODULE_1__/* .stripTags */ .K)((_f = elm.text) !== null && _f !== void 0 ? _f : '')
|
|
795
795
|
.charAt(0)
|
|
796
796
|
.toUpperCase()), "%7C").concat(elm.coordinates);
|
|
797
797
|
}
|
|
@@ -810,10 +810,10 @@ function generateStaticElements(uiMap) {
|
|
|
810
810
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
811
811
|
/* harmony export */ m: function() { return /* binding */ UIMapsPropsForm; }
|
|
812
812
|
/* harmony export */ });
|
|
813
|
-
/* harmony import */ var
|
|
814
|
-
/* harmony import */ var
|
|
815
|
-
/* harmony import */ var
|
|
816
|
-
/* harmony import */ var
|
|
813
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
814
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
815
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76078);
|
|
816
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
817
817
|
/*!
|
|
818
818
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
819
819
|
* See LICENSE.md in the project root for license information.
|
|
@@ -825,41 +825,41 @@ function generateStaticElements(uiMap) {
|
|
|
825
825
|
|
|
826
826
|
|
|
827
827
|
var UIMapsPropsForm = /** @class */ (function (_super) {
|
|
828
|
-
(0,
|
|
828
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIMapsPropsForm, _super);
|
|
829
829
|
function UIMapsPropsForm(jodit, state) {
|
|
830
830
|
var _a;
|
|
831
831
|
var _this = _super.call(this, jodit) || this;
|
|
832
832
|
_this.state = state;
|
|
833
|
-
var _b = (0,
|
|
834
|
-
var _c = (0,
|
|
833
|
+
var _b = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(state.size, 2), w = _b[0], h = _b[1];
|
|
834
|
+
var _c = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(state.center, 2), x = _c[0], y = _c[1];
|
|
835
835
|
_this.append([
|
|
836
|
-
new
|
|
836
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
837
837
|
label: 'Width',
|
|
838
838
|
name: 'width',
|
|
839
839
|
value: w,
|
|
840
840
|
type: 'number',
|
|
841
841
|
onChange: _this.onChangeSize
|
|
842
842
|
}),
|
|
843
|
-
new
|
|
843
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
844
844
|
label: 'Height',
|
|
845
845
|
name: 'height',
|
|
846
846
|
value: h,
|
|
847
847
|
type: 'number',
|
|
848
848
|
onChange: _this.onChangeSize
|
|
849
849
|
}),
|
|
850
|
-
new
|
|
850
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
851
851
|
label: 'Latitude',
|
|
852
852
|
name: 'lat',
|
|
853
853
|
value: x,
|
|
854
854
|
onChange: _this.onChangeCenter
|
|
855
855
|
}),
|
|
856
|
-
new
|
|
856
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
857
857
|
label: 'Longitude',
|
|
858
858
|
name: 'lng',
|
|
859
859
|
value: y,
|
|
860
860
|
onChange: _this.onChangeCenter
|
|
861
861
|
}),
|
|
862
|
-
new
|
|
862
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UISelect */ .$6(jodit, {
|
|
863
863
|
label: 'Map type',
|
|
864
864
|
value: state.type,
|
|
865
865
|
name: 'mapType',
|
|
@@ -873,7 +873,7 @@ var UIMapsPropsForm = /** @class */ (function (_super) {
|
|
|
873
873
|
state.type = value;
|
|
874
874
|
}
|
|
875
875
|
}),
|
|
876
|
-
new
|
|
876
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UISelect */ .$6(jodit, {
|
|
877
877
|
label: 'Layer',
|
|
878
878
|
value: (_a = state.layer) !== null && _a !== void 0 ? _a : 'default',
|
|
879
879
|
name: 'layer',
|
|
@@ -894,15 +894,15 @@ var UIMapsPropsForm = /** @class */ (function (_super) {
|
|
|
894
894
|
return 'UIMapsPropsForm';
|
|
895
895
|
};
|
|
896
896
|
UIMapsPropsForm.prototype.onChangeSize = function () {
|
|
897
|
-
var _a = (0,
|
|
897
|
+
var _a = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container), width = _a.width, height = _a.height;
|
|
898
898
|
this.state.size = [
|
|
899
899
|
parseInt(width === null || width === void 0 ? void 0 : width.value, 10) || 0,
|
|
900
900
|
parseInt(height === null || height === void 0 ? void 0 : height.value, 10) || 0
|
|
901
901
|
];
|
|
902
902
|
};
|
|
903
903
|
UIMapsPropsForm.prototype.onExternalChangeSize = function () {
|
|
904
|
-
var _a = (0,
|
|
905
|
-
var _b = (0,
|
|
904
|
+
var _a = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container), width = _a.width, height = _a.height;
|
|
905
|
+
var _b = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(this.state.size, 2), w = _b[0], h = _b[1];
|
|
906
906
|
if (w.toString() !== width.value) {
|
|
907
907
|
width.value = w.toString();
|
|
908
908
|
}
|
|
@@ -911,15 +911,15 @@ var UIMapsPropsForm = /** @class */ (function (_super) {
|
|
|
911
911
|
}
|
|
912
912
|
};
|
|
913
913
|
UIMapsPropsForm.prototype.onChangeCenter = function () {
|
|
914
|
-
var _a = (0,
|
|
914
|
+
var _a = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container), lat = _a.lat, lng = _a.lng;
|
|
915
915
|
this.state.center = [
|
|
916
916
|
parseFloat(lat === null || lat === void 0 ? void 0 : lat.value) || 0,
|
|
917
917
|
parseFloat(lng === null || lng === void 0 ? void 0 : lng.value) || 0
|
|
918
918
|
];
|
|
919
919
|
};
|
|
920
920
|
UIMapsPropsForm.prototype.onExternalChangeCenter = function () {
|
|
921
|
-
var _a = (0,
|
|
922
|
-
var _b = (0,
|
|
921
|
+
var _a = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container), lat = _a.lat, lng = _a.lng;
|
|
922
|
+
var _b = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(this.state.center, 2), x = _b[0], y = _b[1];
|
|
923
923
|
if (x.toString() !== lat.value) {
|
|
924
924
|
lat.value = x.toString();
|
|
925
925
|
}
|
|
@@ -928,40 +928,40 @@ var UIMapsPropsForm = /** @class */ (function (_super) {
|
|
|
928
928
|
}
|
|
929
929
|
};
|
|
930
930
|
UIMapsPropsForm.prototype.onExternalChangeType = function () {
|
|
931
|
-
var mapType = (0,
|
|
931
|
+
var mapType = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container).mapType;
|
|
932
932
|
if (this.state.type !== mapType.value) {
|
|
933
933
|
mapType.value = this.state.type;
|
|
934
934
|
}
|
|
935
935
|
};
|
|
936
936
|
UIMapsPropsForm.prototype.onExternalChangeLayer = function () {
|
|
937
|
-
var layer = (0,
|
|
937
|
+
var layer = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container).layer;
|
|
938
938
|
if (this.state.layer !== layer.value) {
|
|
939
939
|
layer.value = this.state.layer;
|
|
940
940
|
}
|
|
941
941
|
};
|
|
942
|
-
(0,
|
|
943
|
-
|
|
942
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
943
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
944
944
|
], UIMapsPropsForm.prototype, "onChangeSize", null);
|
|
945
|
-
(0,
|
|
946
|
-
(0,
|
|
945
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
946
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.size')
|
|
947
947
|
], UIMapsPropsForm.prototype, "onExternalChangeSize", null);
|
|
948
|
-
(0,
|
|
949
|
-
|
|
948
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
949
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
950
950
|
], UIMapsPropsForm.prototype, "onChangeCenter", null);
|
|
951
|
-
(0,
|
|
952
|
-
(0,
|
|
951
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
952
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.center'])
|
|
953
953
|
], UIMapsPropsForm.prototype, "onExternalChangeCenter", null);
|
|
954
|
-
(0,
|
|
955
|
-
(0,
|
|
954
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
955
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.type'])
|
|
956
956
|
], UIMapsPropsForm.prototype, "onExternalChangeType", null);
|
|
957
|
-
(0,
|
|
958
|
-
(0,
|
|
957
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
958
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.layer'])
|
|
959
959
|
], UIMapsPropsForm.prototype, "onExternalChangeLayer", null);
|
|
960
|
-
UIMapsPropsForm = (0,
|
|
961
|
-
|
|
960
|
+
UIMapsPropsForm = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
961
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
962
962
|
], UIMapsPropsForm);
|
|
963
963
|
return UIMapsPropsForm;
|
|
964
|
-
}(
|
|
964
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIForm */ .XV));
|
|
965
965
|
|
|
966
966
|
|
|
967
967
|
|
|
@@ -981,9 +981,9 @@ module.exports = "<svg viewBox=\"0 0 77 86\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
981
981
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
982
982
|
/* harmony export */ A: function() { return /* binding */ UIComboBox; }
|
|
983
983
|
/* harmony export */ });
|
|
984
|
-
/* harmony import */ var
|
|
985
|
-
/* harmony import */ var
|
|
986
|
-
/* harmony import */ var
|
|
984
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
985
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
986
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
987
987
|
/*!
|
|
988
988
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
989
989
|
* See LICENSE.md in the project root for license information.
|
|
@@ -994,7 +994,7 @@ module.exports = "<svg viewBox=\"0 0 77 86\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
994
994
|
|
|
995
995
|
|
|
996
996
|
var UIComboBox = /** @class */ (function (_super) {
|
|
997
|
-
(0,
|
|
997
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIComboBox, _super);
|
|
998
998
|
function UIComboBox() {
|
|
999
999
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1000
1000
|
}
|
|
@@ -1014,21 +1014,21 @@ var UIComboBox = /** @class */ (function (_super) {
|
|
|
1014
1014
|
});
|
|
1015
1015
|
};
|
|
1016
1016
|
UIComboBox.prototype.onInput = function () {
|
|
1017
|
-
return (0,
|
|
1018
|
-
return (0,
|
|
1017
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__awaiter */ .sH)(this, void 0, Promise, function () {
|
|
1018
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__generator */ .YH)(this, function (_a) {
|
|
1019
1019
|
return [2 /*return*/];
|
|
1020
1020
|
});
|
|
1021
1021
|
});
|
|
1022
1022
|
};
|
|
1023
|
-
(0,
|
|
1024
|
-
(0,
|
|
1023
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1024
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
1025
1025
|
], UIComboBox.prototype, "onReady", null);
|
|
1026
|
-
(0,
|
|
1027
|
-
(0,
|
|
1028
|
-
(0,
|
|
1026
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1027
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('nativeInput:input'),
|
|
1028
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
1029
1029
|
], UIComboBox.prototype, "onInput", null);
|
|
1030
1030
|
return UIComboBox;
|
|
1031
|
-
}(
|
|
1031
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS));
|
|
1032
1032
|
|
|
1033
1033
|
|
|
1034
1034
|
|
|
@@ -1038,8 +1038,8 @@ var UIComboBox = /** @class */ (function (_super) {
|
|
|
1038
1038
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
1039
1039
|
|
|
1040
1040
|
"use strict";
|
|
1041
|
-
/* harmony import */ var
|
|
1042
|
-
/* harmony import */ var
|
|
1041
|
+
/* harmony import */ var _helpers_const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45751);
|
|
1042
|
+
/* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6441);
|
|
1043
1043
|
/*!
|
|
1044
1044
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1045
1045
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1047,7 +1047,7 @@ var UIComboBox = /** @class */ (function (_super) {
|
|
|
1047
1047
|
*/
|
|
1048
1048
|
|
|
1049
1049
|
|
|
1050
|
-
|
|
1050
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.googleMaps = {
|
|
1051
1051
|
saveStateInStorage: true,
|
|
1052
1052
|
useStaticImage: false,
|
|
1053
1053
|
apiUrl: 'https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler',
|
|
@@ -1088,10 +1088,10 @@ jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.googleMa
|
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
};
|
|
1091
|
-
|
|
1091
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.googleMaps = {
|
|
1092
1092
|
tooltip: 'Google Maps',
|
|
1093
1093
|
icon: 'map',
|
|
1094
|
-
command:
|
|
1094
|
+
command: _helpers_const__WEBPACK_IMPORTED_MODULE_0__/* .COMMAND_OPEN_DIALOG */ .C
|
|
1095
1095
|
};
|
|
1096
1096
|
var gmButton = function (name) { return ({
|
|
1097
1097
|
icon: "edit-".concat(name),
|
|
@@ -1102,7 +1102,7 @@ var gmButton = function (name) { return ({
|
|
|
1102
1102
|
editor.e.fire('changeCreateMode.gm', name);
|
|
1103
1103
|
}
|
|
1104
1104
|
}); };
|
|
1105
|
-
|
|
1105
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.gm = {
|
|
1106
1106
|
hand: gmButton('hand'),
|
|
1107
1107
|
marker: gmButton('marker'),
|
|
1108
1108
|
polyline: gmButton('polyline'),
|
|
@@ -2504,9 +2504,9 @@ module.exports = "<svg viewBox=\"0 0 76 76\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
2504
2504
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2505
2505
|
/* harmony export */ S: function() { return /* binding */ UIMapsControlsForm; }
|
|
2506
2506
|
/* harmony export */ });
|
|
2507
|
-
/* harmony import */ var
|
|
2508
|
-
/* harmony import */ var
|
|
2509
|
-
/* harmony import */ var
|
|
2507
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2508
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
2509
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
2510
2510
|
/*!
|
|
2511
2511
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2512
2512
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2517,7 +2517,7 @@ module.exports = "<svg viewBox=\"0 0 76 76\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
2517
2517
|
|
|
2518
2518
|
|
|
2519
2519
|
var UIMapsControlsForm = /** @class */ (function (_super) {
|
|
2520
|
-
(0,
|
|
2520
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIMapsControlsForm, _super);
|
|
2521
2521
|
function UIMapsControlsForm(jodit, state) {
|
|
2522
2522
|
var _this = _super.call(this, jodit) || this;
|
|
2523
2523
|
_this.state = state;
|
|
@@ -2531,7 +2531,7 @@ var UIMapsControlsForm = /** @class */ (function (_super) {
|
|
|
2531
2531
|
};
|
|
2532
2532
|
var controls = Object.keys(controlsNames);
|
|
2533
2533
|
_this.append(controls.map(function (key) {
|
|
2534
|
-
return new
|
|
2534
|
+
return new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UICheckbox */ .cY(jodit, {
|
|
2535
2535
|
label: controlsNames[key],
|
|
2536
2536
|
name: key,
|
|
2537
2537
|
checked: _this.state.controls[key],
|
|
@@ -2547,13 +2547,13 @@ var UIMapsControlsForm = /** @class */ (function (_super) {
|
|
|
2547
2547
|
};
|
|
2548
2548
|
UIMapsControlsForm.prototype.onChangeSize = function (key, value) {
|
|
2549
2549
|
var _a;
|
|
2550
|
-
this.state.controls = (0,
|
|
2550
|
+
this.state.controls = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, this.state.controls), (_a = {}, _a[key] = value === 'true', _a));
|
|
2551
2551
|
};
|
|
2552
|
-
UIMapsControlsForm = (0,
|
|
2553
|
-
|
|
2552
|
+
UIMapsControlsForm = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2553
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
2554
2554
|
], UIMapsControlsForm);
|
|
2555
2555
|
return UIMapsControlsForm;
|
|
2556
|
-
}(
|
|
2556
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV));
|
|
2557
2557
|
|
|
2558
2558
|
|
|
2559
2559
|
|
|
@@ -2566,10 +2566,10 @@ var UIMapsControlsForm = /** @class */ (function (_super) {
|
|
|
2566
2566
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2567
2567
|
/* harmony export */ Q: function() { return /* binding */ UIRange; }
|
|
2568
2568
|
/* harmony export */ });
|
|
2569
|
-
/* harmony import */ var
|
|
2570
|
-
/* harmony import */ var
|
|
2571
|
-
/* harmony import */ var
|
|
2572
|
-
/* harmony import */ var
|
|
2569
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2570
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2571
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21537);
|
|
2572
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
2573
2573
|
/*!
|
|
2574
2574
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2575
2575
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2581,10 +2581,10 @@ var UIMapsControlsForm = /** @class */ (function (_super) {
|
|
|
2581
2581
|
|
|
2582
2582
|
|
|
2583
2583
|
var UIRange = /** @class */ (function (_super) {
|
|
2584
|
-
(0,
|
|
2584
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIRange, _super);
|
|
2585
2585
|
function UIRange(jodit, options) {
|
|
2586
|
-
var _this = _super.call(this, jodit, (0,
|
|
2587
|
-
_this.state = (0,
|
|
2586
|
+
var _this = _super.call(this, jodit, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, options), { type: 'hidden' })) || this;
|
|
2587
|
+
_this.state = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS.defaultState), { min: 0, max: 100 });
|
|
2588
2588
|
_this.startValue = 0;
|
|
2589
2589
|
_this.startX = 0;
|
|
2590
2590
|
_this.width = 100;
|
|
@@ -2634,7 +2634,7 @@ var UIRange = /** @class */ (function (_super) {
|
|
|
2634
2634
|
UIRange.prototype.onChangeSelfValue = function () {
|
|
2635
2635
|
var handle = this.getElm('handle'), value = parseFloat(this.value) || 0;
|
|
2636
2636
|
void 0;
|
|
2637
|
-
(0,
|
|
2637
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(handle, {
|
|
2638
2638
|
left: ((value - this.state.min) / (this.state.max - this.state.min)) *
|
|
2639
2639
|
100 +
|
|
2640
2640
|
'%'
|
|
@@ -2647,23 +2647,23 @@ var UIRange = /** @class */ (function (_super) {
|
|
|
2647
2647
|
this.onDragEnd();
|
|
2648
2648
|
return _super.prototype.destruct.call(this);
|
|
2649
2649
|
};
|
|
2650
|
-
(0,
|
|
2651
|
-
(0,
|
|
2650
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2651
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['handle:mousedown', 'handle:touchstart'])
|
|
2652
2652
|
], UIRange.prototype, "onDragStart", null);
|
|
2653
|
-
(0,
|
|
2654
|
-
|
|
2653
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2654
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
2655
2655
|
], UIRange.prototype, "onDrag", null);
|
|
2656
|
-
(0,
|
|
2657
|
-
(0,
|
|
2656
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2657
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['j.ow:mouseup', 'j.ow:touchend'])
|
|
2658
2658
|
], UIRange.prototype, "onDragEnd", null);
|
|
2659
|
-
(0,
|
|
2660
|
-
(0,
|
|
2659
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2660
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
2661
2661
|
], UIRange.prototype, "onChangeSelfValue", null);
|
|
2662
|
-
UIRange = (0,
|
|
2663
|
-
|
|
2662
|
+
UIRange = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2663
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2664
2664
|
], UIRange);
|
|
2665
2665
|
return UIRange;
|
|
2666
|
-
}(
|
|
2666
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS));
|
|
2667
2667
|
|
|
2668
2668
|
|
|
2669
2669
|
|
|
@@ -2676,9 +2676,9 @@ var UIRange = /** @class */ (function (_super) {
|
|
|
2676
2676
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2677
2677
|
/* harmony export */ Q: function() { return /* binding */ onChangeGeometries; }
|
|
2678
2678
|
/* harmony export */ });
|
|
2679
|
-
/* harmony import */ var
|
|
2680
|
-
/* harmony import */ var
|
|
2681
|
-
/* harmony import */ var
|
|
2679
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2680
|
+
/* harmony import */ var _update_state_and_gme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93636);
|
|
2681
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65533);
|
|
2682
2682
|
/*!
|
|
2683
2683
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2684
2684
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2692,18 +2692,18 @@ function onChangeGeometries(newElm, index) {
|
|
|
2692
2692
|
switch (newElm.type) {
|
|
2693
2693
|
case 'polyline':
|
|
2694
2694
|
case 'polygon': {
|
|
2695
|
-
var coordinates = (0,
|
|
2696
|
-
|
|
2695
|
+
var coordinates = (0,jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pathToArray */ .AH)(newElm.gme.getPath()), newState = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, newElm.state), { coordinates: coordinates });
|
|
2696
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_1__/* .updateStateAndGme */ .B.call(this, newState, index, true);
|
|
2697
2697
|
break;
|
|
2698
2698
|
}
|
|
2699
2699
|
case 'marker': {
|
|
2700
|
-
var pos = newElm.gme.getPosition(), newState = (0,
|
|
2701
|
-
|
|
2700
|
+
var pos = newElm.gme.getPosition(), newState = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, newElm.state), { coordinates: [(_a = pos === null || pos === void 0 ? void 0 : pos.lat()) !== null && _a !== void 0 ? _a : 0, (_b = pos === null || pos === void 0 ? void 0 : pos.lng()) !== null && _b !== void 0 ? _b : 0] });
|
|
2701
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_1__/* .updateStateAndGme */ .B.call(this, newState, index, true);
|
|
2702
2702
|
break;
|
|
2703
2703
|
}
|
|
2704
2704
|
case 'circle': {
|
|
2705
|
-
var pos = newElm.gme.getCenter(), newState = (0,
|
|
2706
|
-
|
|
2705
|
+
var pos = newElm.gme.getCenter(), newState = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({}, newElm.state), { radius: newElm.gme.getRadius(), coordinates: [(_c = pos === null || pos === void 0 ? void 0 : pos.lat()) !== null && _c !== void 0 ? _c : 0, (_d = pos === null || pos === void 0 ? void 0 : pos.lng()) !== null && _d !== void 0 ? _d : 0] });
|
|
2706
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_1__/* .updateStateAndGme */ .B.call(this, newState, index, true);
|
|
2707
2707
|
break;
|
|
2708
2708
|
}
|
|
2709
2709
|
}
|
|
@@ -2788,11 +2788,11 @@ function isApiAvailable() {
|
|
|
2788
2788
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2789
2789
|
/* harmony export */ E: function() { return /* binding */ UIPolygonEditor; }
|
|
2790
2790
|
/* harmony export */ });
|
|
2791
|
-
/* harmony import */ var
|
|
2792
|
-
/* harmony import */ var
|
|
2793
|
-
/* harmony import */ var
|
|
2794
|
-
/* harmony import */ var
|
|
2795
|
-
/* harmony import */ var
|
|
2791
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2792
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2793
|
+
/* harmony import */ var jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57066);
|
|
2794
|
+
/* harmony import */ var jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5693);
|
|
2795
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors_polyline_polyline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15833);
|
|
2796
2796
|
/*!
|
|
2797
2797
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2798
2798
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2804,7 +2804,7 @@ function isApiAvailable() {
|
|
|
2804
2804
|
|
|
2805
2805
|
|
|
2806
2806
|
var UIPolygonEditor = /** @class */ (function (_super) {
|
|
2807
|
-
(0,
|
|
2807
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIPolygonEditor, _super);
|
|
2808
2808
|
function UIPolygonEditor() {
|
|
2809
2809
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2810
2810
|
}
|
|
@@ -2812,14 +2812,14 @@ var UIPolygonEditor = /** @class */ (function (_super) {
|
|
|
2812
2812
|
var _this = this;
|
|
2813
2813
|
var _a, _b;
|
|
2814
2814
|
this.append([
|
|
2815
|
-
new
|
|
2815
|
+
new jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__/* .ColorInput */ .A(this.j, {
|
|
2816
2816
|
label: 'Fill color',
|
|
2817
2817
|
value: (_a = this.state.fillColor) !== null && _a !== void 0 ? _a : '#000',
|
|
2818
2818
|
onChange: function (value) {
|
|
2819
2819
|
return _this.j.e.fire(_this, 'change', 'fillColor', value);
|
|
2820
2820
|
}
|
|
2821
2821
|
}).setMod('trigger', false),
|
|
2822
|
-
new
|
|
2822
|
+
new jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_2__/* .UIRange */ .Q(this.j, {
|
|
2823
2823
|
label: 'Opacity',
|
|
2824
2824
|
min: 0,
|
|
2825
2825
|
max: 1,
|
|
@@ -2830,14 +2830,14 @@ var UIPolygonEditor = /** @class */ (function (_super) {
|
|
|
2830
2830
|
}).setMod('log', false)
|
|
2831
2831
|
], 'form');
|
|
2832
2832
|
};
|
|
2833
|
-
(0,
|
|
2834
|
-
(0,
|
|
2833
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2834
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
2835
2835
|
], UIPolygonEditor.prototype, "onReady", null);
|
|
2836
|
-
UIPolygonEditor = (0,
|
|
2837
|
-
|
|
2836
|
+
UIPolygonEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2837
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2838
2838
|
], UIPolygonEditor);
|
|
2839
2839
|
return UIPolygonEditor;
|
|
2840
|
-
}(
|
|
2840
|
+
}(jodit_pro_plugins_google_maps_ui_editors_polyline_polyline__WEBPACK_IMPORTED_MODULE_4__/* .UIPolylineEditor */ .C));
|
|
2841
2841
|
|
|
2842
2842
|
|
|
2843
2843
|
|
|
@@ -3038,23 +3038,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3038
3038
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3039
3039
|
/* harmony export */ googleMaps: function() { return /* binding */ googleMaps; }
|
|
3040
3040
|
/* harmony export */ });
|
|
3041
|
-
/* harmony import */ var
|
|
3042
|
-
/* harmony import */ var
|
|
3043
|
-
/* harmony import */ var
|
|
3044
|
-
/* harmony import */ var
|
|
3045
|
-
/* harmony import */ var
|
|
3046
|
-
/* harmony import */ var
|
|
3047
|
-
/* harmony import */ var
|
|
3048
|
-
/* harmony import */ var
|
|
3049
|
-
/* harmony import */ var
|
|
3050
|
-
/* harmony import */ var
|
|
3051
|
-
/* harmony import */ var
|
|
3052
|
-
/* harmony import */ var
|
|
3053
|
-
/* harmony import */ var
|
|
3054
|
-
/* harmony import */ var
|
|
3055
|
-
/* harmony import */ var
|
|
3056
|
-
/* harmony import */ var
|
|
3057
|
-
/* harmony import */ var
|
|
3041
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
3042
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44434);
|
|
3043
|
+
/* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98742);
|
|
3044
|
+
/* harmony import */ var _helpers_const__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45751);
|
|
3045
|
+
/* harmony import */ var _helpers_generate_js_script__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71593);
|
|
3046
|
+
/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(65533);
|
|
3047
|
+
/* harmony import */ var _helpers_static_url__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(98652);
|
|
3048
|
+
/* harmony import */ var _ui_combo_box_combo_box__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43502);
|
|
3049
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50133);
|
|
3050
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(82758);
|
|
3051
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(65478);
|
|
3052
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(21537);
|
|
3053
|
+
/* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50911);
|
|
3054
|
+
/* harmony import */ var jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(62843);
|
|
3055
|
+
/* harmony import */ var jodit_esm_modules_dialog_dialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(78584);
|
|
3056
|
+
/* harmony import */ var jodit_esm_modules_widget__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(92762);
|
|
3057
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(34013);
|
|
3058
3058
|
/*!
|
|
3059
3059
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3060
3060
|
* See LICENSE.md in the project root for license information.
|
|
@@ -3079,11 +3079,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3079
3079
|
|
|
3080
3080
|
|
|
3081
3081
|
// @ts-ignore
|
|
3082
|
-
window['JoditGoogleReadyHandler'] =
|
|
3082
|
+
window['JoditGoogleReadyHandler'] = _helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .GoogleReadyHandler */ .hR;
|
|
3083
3083
|
var googleMaps = /** @class */ (function (_super) {
|
|
3084
|
-
(0,
|
|
3084
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(googleMaps, _super);
|
|
3085
3085
|
function googleMaps() {
|
|
3086
|
-
var _this = _super.apply(this, (0,
|
|
3086
|
+
var _this = _super.apply(this, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(arguments), false)) || this;
|
|
3087
3087
|
_this.buttons = [
|
|
3088
3088
|
{ group: 'media', name: 'googleMaps' }
|
|
3089
3089
|
];
|
|
@@ -3095,7 +3095,7 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3095
3095
|
};
|
|
3096
3096
|
googleMaps.prototype.afterInit = function (jodit) {
|
|
3097
3097
|
var _this = this;
|
|
3098
|
-
jodit.registerCommand(
|
|
3098
|
+
jodit.registerCommand(_helpers_const__WEBPACK_IMPORTED_MODULE_3__/* .COMMAND_OPEN_DIALOG */ .C, function () {
|
|
3099
3099
|
void _this.openMapEditor(null, {});
|
|
3100
3100
|
});
|
|
3101
3101
|
};
|
|
@@ -3112,23 +3112,23 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3112
3112
|
}
|
|
3113
3113
|
};
|
|
3114
3114
|
googleMaps.prototype.openMapEditor = function (target, initialState) {
|
|
3115
|
-
return (0,
|
|
3115
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__awaiter */ .sH)(this, void 0, Promise, function () {
|
|
3116
3116
|
var jodit, dialog, state, apiUrl, openState, uiMap, search, onCLose;
|
|
3117
3117
|
var _this = this;
|
|
3118
|
-
return (0,
|
|
3118
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__generator */ .YH)(this, function (_a) {
|
|
3119
3119
|
jodit = this.j;
|
|
3120
3120
|
dialog = this.getDialog();
|
|
3121
3121
|
state = this.j.o.googleMaps.saveStateInStorage
|
|
3122
|
-
? dialog.storage.get(
|
|
3122
|
+
? dialog.storage.get(_helpers_const__WEBPACK_IMPORTED_MODULE_3__/* .STORAGE_KEY */ .A)
|
|
3123
3123
|
: undefined;
|
|
3124
3124
|
apiUrl = this.jodit.o.googleMaps.apiUrl;
|
|
3125
|
-
if (!(0,
|
|
3126
|
-
void (0,
|
|
3125
|
+
if (!(0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .isApiAvailable */ .uv)()) {
|
|
3126
|
+
void (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_11__.appendScriptAsync)(this.jodit, apiUrl.replace(/\${([^}]+)}/g, function (_, key) { var _a; return (_a = _this.get(key)) !== null && _a !== void 0 ? _a : ''; }));
|
|
3127
3127
|
}
|
|
3128
|
-
openState = (0,
|
|
3129
|
-
uiMap = new
|
|
3128
|
+
openState = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__assign */ .Cl)({ type: this.j.o.googleMaps.map.type, layer: this.j.o.googleMaps.map.layer, size: this.j.o.googleMaps.map.size }, state), initialState);
|
|
3129
|
+
uiMap = new _ui__WEBPACK_IMPORTED_MODULE_8__/* .UIMap */ .L6(dialog, openState, this.j.options);
|
|
3130
3130
|
uiMap.container.classList.add(dialog.getFullElName('map'));
|
|
3131
|
-
search = new
|
|
3131
|
+
search = new _ui_combo_box_combo_box__WEBPACK_IMPORTED_MODULE_7__/* .UIComboBox */ .A(jodit, {
|
|
3132
3132
|
icon: 'search',
|
|
3133
3133
|
placeholder: 'Search',
|
|
3134
3134
|
clearButton: true
|
|
@@ -3136,13 +3136,13 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3136
3136
|
search.container.classList.add(dialog.getFullElName('search'));
|
|
3137
3137
|
this.j.async
|
|
3138
3138
|
.promise(function (resolve) {
|
|
3139
|
-
if ((0,
|
|
3139
|
+
if ((0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .isApiAvailable */ .uv)()) {
|
|
3140
3140
|
resolve(0);
|
|
3141
3141
|
return;
|
|
3142
3142
|
}
|
|
3143
3143
|
// TODO - Need check googleReady
|
|
3144
3144
|
var intervalChecker = function () {
|
|
3145
|
-
if ((0,
|
|
3145
|
+
if ((0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .isApiAvailable */ .uv)()) {
|
|
3146
3146
|
resolve(0);
|
|
3147
3147
|
}
|
|
3148
3148
|
else {
|
|
@@ -3150,7 +3150,7 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
};
|
|
3152
3152
|
intervalChecker();
|
|
3153
|
-
(0,
|
|
3153
|
+
(0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .googleReady */ .Lp)(resolve);
|
|
3154
3154
|
})
|
|
3155
3155
|
.then(function () {
|
|
3156
3156
|
uiMap.setStatus('ready');
|
|
@@ -3182,19 +3182,19 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
}
|
|
3184
3184
|
dialog
|
|
3185
|
-
.setSize.apply(dialog, (0,
|
|
3185
|
+
.setSize.apply(dialog, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(jodit.o.googleMaps.dialog.size), false)).setHeader([
|
|
3186
3186
|
search,
|
|
3187
3187
|
' ',
|
|
3188
|
-
(0,
|
|
3188
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__/* .Button */ .$n)(jodit, 'eye').onAction(function () {
|
|
3189
3189
|
var image = _this.jodit.createInside.element('img');
|
|
3190
|
-
image.src = (0,
|
|
3190
|
+
image.src = (0,_helpers_static_url__WEBPACK_IMPORTED_MODULE_6__/* .staticUrl */ .o)(uiMap);
|
|
3191
3191
|
image.dataset.googleMaps = btoa(uiMap.json());
|
|
3192
3192
|
var data = { value: image.outerHTML };
|
|
3193
3193
|
_this.onAfterGetValueFromEditor(data);
|
|
3194
3194
|
jodit.execCommand('preview', null, data.value);
|
|
3195
3195
|
})
|
|
3196
3196
|
])
|
|
3197
|
-
.setContent((0,
|
|
3197
|
+
.setContent((0,jodit_esm_modules_widget__WEBPACK_IMPORTED_MODULE_15__/* .TabsWidget */ .Zg)(jodit, [
|
|
3198
3198
|
{
|
|
3199
3199
|
name: 'Map',
|
|
3200
3200
|
icon: 'map',
|
|
@@ -3202,19 +3202,19 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3202
3202
|
},
|
|
3203
3203
|
{
|
|
3204
3204
|
name: 'Settings',
|
|
3205
|
-
content: new
|
|
3205
|
+
content: new _ui__WEBPACK_IMPORTED_MODULE_8__/* .UIMapsPropsForm */ .mk(jodit, uiMap.state)
|
|
3206
3206
|
},
|
|
3207
3207
|
{
|
|
3208
3208
|
name: 'Controls',
|
|
3209
3209
|
icon: 'menu',
|
|
3210
|
-
content: new
|
|
3210
|
+
content: new _ui__WEBPACK_IMPORTED_MODULE_8__/* .UIMapsControlsForm */ .S0(jodit, uiMap.state)
|
|
3211
3211
|
}
|
|
3212
3212
|
]))
|
|
3213
3213
|
.setFooter([
|
|
3214
|
-
(0,
|
|
3214
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__/* .Button */ .$n)(jodit, 'cancel', 'Cancel', 'default').onAction(function () {
|
|
3215
3215
|
return dialog.close();
|
|
3216
3216
|
}),
|
|
3217
|
-
(0,
|
|
3217
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__/* .Button */ .$n)(jodit, 'ok', target ? 'Save' : 'Insert', 'primary').onAction(function () {
|
|
3218
3218
|
uiMap.destruct();
|
|
3219
3219
|
search.destruct();
|
|
3220
3220
|
dialog.e.off('beforeClose', onCLose);
|
|
@@ -3227,7 +3227,7 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3227
3227
|
if (uiMap.state.elements.length &&
|
|
3228
3228
|
JSON.stringify(uiMap.state.elements) !==
|
|
3229
3229
|
JSON.stringify(openState.elements)) {
|
|
3230
|
-
if (!
|
|
3230
|
+
if (!jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_9__.IS_TEST && !confirm(_this.i18n('Are you sure?'))) {
|
|
3231
3231
|
return false;
|
|
3232
3232
|
}
|
|
3233
3233
|
}
|
|
@@ -3242,7 +3242,7 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3242
3242
|
};
|
|
3243
3243
|
googleMaps.prototype.getDialog = function () {
|
|
3244
3244
|
if (!this.dialog) {
|
|
3245
|
-
var dialog = new
|
|
3245
|
+
var dialog = new jodit_esm_modules_dialog_dialog__WEBPACK_IMPORTED_MODULE_14__/* .Dialog */ .l({
|
|
3246
3246
|
language: this.j.o.language
|
|
3247
3247
|
});
|
|
3248
3248
|
dialog.container.classList.add(this.getFullElName(''));
|
|
@@ -3252,7 +3252,7 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3252
3252
|
};
|
|
3253
3253
|
googleMaps.prototype.insertMap = function (target, uiMap) {
|
|
3254
3254
|
var image = target !== null && target !== void 0 ? target : this.jodit.createInside.element('img');
|
|
3255
|
-
image.src = (0,
|
|
3255
|
+
image.src = (0,_helpers_static_url__WEBPACK_IMPORTED_MODULE_6__/* .staticUrl */ .o)(uiMap);
|
|
3256
3256
|
image.dataset.googleMaps = btoa(uiMap.json());
|
|
3257
3257
|
target || this.jodit.s.insertImage(image);
|
|
3258
3258
|
};
|
|
@@ -3264,7 +3264,7 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3264
3264
|
googleMaps.prototype.onAfterGetValueFromEditor = function (data, consumer) {
|
|
3265
3265
|
var _this = this;
|
|
3266
3266
|
if (this.j.o.googleMaps.useStaticImage ||
|
|
3267
|
-
consumer ===
|
|
3267
|
+
consumer === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_9__.SOURCE_CONSUMER) {
|
|
3268
3268
|
return;
|
|
3269
3269
|
}
|
|
3270
3270
|
data.value = data.value.replace(
|
|
@@ -3275,23 +3275,23 @@ var googleMaps = /** @class */ (function (_super) {
|
|
|
3275
3275
|
json = JSON.parse(_this.j.ow.atob(jsonB64));
|
|
3276
3276
|
}
|
|
3277
3277
|
catch (_a) { }
|
|
3278
|
-
return "".concat(_1, " id=\"").concat(json.uid, "\" ").concat(q, "data-google-maps").concat(q, "=").concat(q2).concat(jsonB64).concat(q2).concat(rest).concat((0,
|
|
3278
|
+
return "".concat(_1, " id=\"").concat(json.uid, "\" ").concat(q, "data-google-maps").concat(q, "=").concat(q2).concat(jsonB64).concat(q2).concat(rest).concat((0,_helpers_generate_js_script__WEBPACK_IMPORTED_MODULE_4__/* .generateJSScript */ .M)(_this.j, json));
|
|
3279
3279
|
});
|
|
3280
3280
|
};
|
|
3281
3281
|
googleMaps.requires = ['license', 'color-picker'];
|
|
3282
|
-
(0,
|
|
3283
|
-
(0,
|
|
3282
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3283
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)('?:openOnDblClick')
|
|
3284
3284
|
], googleMaps.prototype, "onOpenOnDblClick", null);
|
|
3285
|
-
(0,
|
|
3286
|
-
(0,
|
|
3285
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3286
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)(':beforeSetNativeEditorValue')
|
|
3287
3287
|
], googleMaps.prototype, "onBeforeSetNativeEditorValue", null);
|
|
3288
|
-
(0,
|
|
3289
|
-
(0,
|
|
3288
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3289
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)(':afterGetValueFromEditor')
|
|
3290
3290
|
], googleMaps.prototype, "onAfterGetValueFromEditor", null);
|
|
3291
3291
|
return googleMaps;
|
|
3292
|
-
}(
|
|
3292
|
+
}(jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_12__/* .Plugin */ .k));
|
|
3293
3293
|
|
|
3294
|
-
|
|
3294
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_16__/* .JoditPro */ .A.plugins.add('google-maps', googleMaps);
|
|
3295
3295
|
|
|
3296
3296
|
|
|
3297
3297
|
/***/ }),
|
|
@@ -3303,12 +3303,12 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_12__/* .JoditPro */ .A.plugins.add(
|
|
|
3303
3303
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3304
3304
|
/* harmony export */ O: function() { return /* binding */ initOrUpdateElementFromState; }
|
|
3305
3305
|
/* harmony export */ });
|
|
3306
|
-
/* harmony import */ var
|
|
3307
|
-
/* harmony import */ var
|
|
3308
|
-
/* harmony import */ var
|
|
3309
|
-
/* harmony import */ var
|
|
3310
|
-
/* harmony import */ var
|
|
3311
|
-
/* harmony import */ var
|
|
3306
|
+
/* harmony import */ var _on_change_geometries__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62187);
|
|
3307
|
+
/* harmony import */ var _open_props_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32332);
|
|
3308
|
+
/* harmony import */ var _update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93636);
|
|
3309
|
+
/* harmony import */ var jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
3310
|
+
/* harmony import */ var jodit_esm_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12153);
|
|
3311
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(65533);
|
|
3312
3312
|
/*!
|
|
3313
3313
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3314
3314
|
* See LICENSE.md in the project root for license information.
|
|
@@ -3326,7 +3326,7 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3326
3326
|
var elm = this.mapElements[index];
|
|
3327
3327
|
if (elm) {
|
|
3328
3328
|
if (elm.state.type === state.type) {
|
|
3329
|
-
return
|
|
3329
|
+
return _update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__/* .updateStateAndGme */ .B.call(this, state, index);
|
|
3330
3330
|
}
|
|
3331
3331
|
elm.gme.setMap(null);
|
|
3332
3332
|
}
|
|
@@ -3346,14 +3346,14 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3346
3346
|
draggable: true,
|
|
3347
3347
|
label: state.showCaption ? state.title : '',
|
|
3348
3348
|
title: state.title,
|
|
3349
|
-
icon: state.icon ?
|
|
3349
|
+
icon: state.icon ? jodit_esm_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.get(state.icon) : undefined,
|
|
3350
3350
|
map: this.map
|
|
3351
3351
|
});
|
|
3352
3352
|
break;
|
|
3353
3353
|
case 'polyline':
|
|
3354
3354
|
case 'polygon':
|
|
3355
3355
|
{
|
|
3356
|
-
var coordinates = (0,
|
|
3356
|
+
var coordinates = (0,jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .arrayToPath */ .A3)(state.coordinates);
|
|
3357
3357
|
gme = new google.maps[state.type === 'polygon' ? 'Polygon' : 'Polyline']({
|
|
3358
3358
|
path: coordinates,
|
|
3359
3359
|
strokeColor: state.strokeColor,
|
|
@@ -3382,7 +3382,7 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3382
3382
|
}
|
|
3383
3383
|
var newElm = {
|
|
3384
3384
|
type: state.type,
|
|
3385
|
-
uid: (0,
|
|
3385
|
+
uid: (0,jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_3__/* .uniqueUid */ .w9)(),
|
|
3386
3386
|
state: state,
|
|
3387
3387
|
gme: gme
|
|
3388
3388
|
};
|
|
@@ -3390,7 +3390,7 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3390
3390
|
.split(' ')
|
|
3391
3391
|
.forEach(function (event) {
|
|
3392
3392
|
return gme.addListener(event, function () {
|
|
3393
|
-
return
|
|
3393
|
+
return _on_change_geometries__WEBPACK_IMPORTED_MODULE_0__/* .onChangeGeometries */ .Q.call(_this, newElm, index);
|
|
3394
3394
|
});
|
|
3395
3395
|
});
|
|
3396
3396
|
if (newElm.type === 'polygon' || newElm.type === 'polyline') {
|
|
@@ -3400,11 +3400,11 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3400
3400
|
return newElm.gme
|
|
3401
3401
|
.getPath()
|
|
3402
3402
|
.addListener(event, function () {
|
|
3403
|
-
return
|
|
3403
|
+
return _on_change_geometries__WEBPACK_IMPORTED_MODULE_0__/* .onChangeGeometries */ .Q.call(_this, newElm, index);
|
|
3404
3404
|
});
|
|
3405
3405
|
});
|
|
3406
3406
|
}
|
|
3407
|
-
gme.addListener('click', function () { return
|
|
3407
|
+
gme.addListener('click', function () { return _open_props_dialog__WEBPACK_IMPORTED_MODULE_1__/* .openPropsDialog */ .T.call(_this, newElm, index); });
|
|
3408
3408
|
this.mapElements[index] = newElm;
|
|
3409
3409
|
}
|
|
3410
3410
|
|