jodit-pro 4.6.9 → 4.6.12
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 +1382 -1370
- 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 +1227 -1160
- 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 +1227 -1160
- 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 +1227 -1160
- 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 +1565 -1610
- 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.12
|
|
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.
|
|
@@ -53,7 +53,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
class UIMap extends
|
|
56
|
+
class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_8__/* .UIGroup */ .Ue {
|
|
57
57
|
className() {
|
|
58
58
|
return 'UIMap';
|
|
59
59
|
}
|
|
@@ -125,7 +125,7 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
125
125
|
this.drawingManager = drawingManager;
|
|
126
126
|
google.maps.event.addListener(drawingManager, 'overlaycomplete', (event) => {
|
|
127
127
|
if (event.overlay) {
|
|
128
|
-
|
|
128
|
+
_modules__WEBPACK_IMPORTED_MODULE_3__/* .addNewInState */ .ST.call(this, event.overlay);
|
|
129
129
|
event.overlay.setMap(null);
|
|
130
130
|
}
|
|
131
131
|
});
|
|
@@ -150,7 +150,7 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
mapElements.length = elements.length;
|
|
153
|
-
elements.forEach((state, index) =>
|
|
153
|
+
elements.forEach((state, index) => _modules_init_or_update_element_from_state__WEBPACK_IMPORTED_MODULE_2__/* .initOrUpdateElementFromState */ .O.call(this, state, index));
|
|
154
154
|
}
|
|
155
155
|
onChangeCenter() {
|
|
156
156
|
const center = this.map.getCenter();
|
|
@@ -173,7 +173,7 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
173
173
|
}
|
|
174
174
|
onChangeBound() {
|
|
175
175
|
this.options.googleMaps.saveStateInStorage &&
|
|
176
|
-
this.j.storage.set(
|
|
176
|
+
this.j.storage.set(jodit_pro_plugins_google_maps_helpers_const__WEBPACK_IMPORTED_MODULE_10__/* .STORAGE_KEY */ .A, {
|
|
177
177
|
center: this.state.center,
|
|
178
178
|
size: this.state.size,
|
|
179
179
|
zoom: this.state.zoom,
|
|
@@ -185,7 +185,7 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
185
185
|
onChangeSize() {
|
|
186
186
|
const mapSize = this.getElm('map-size');
|
|
187
187
|
void 0;
|
|
188
|
-
(0,
|
|
188
|
+
(0,jodit_esm_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(mapSize, {
|
|
189
189
|
width: this.state.size[0],
|
|
190
190
|
height: this.state.size[1]
|
|
191
191
|
});
|
|
@@ -220,9 +220,9 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
220
220
|
constructor(jodit, state, options) {
|
|
221
221
|
super(jodit);
|
|
222
222
|
this.options = options;
|
|
223
|
-
this.toolbar = new
|
|
223
|
+
this.toolbar = new jodit_esm_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_9__/* .ToolbarCollection */ .Q(this.jodit);
|
|
224
224
|
this.state = {
|
|
225
|
-
uid: 'jd' + (0,
|
|
225
|
+
uid: 'jd' + (0,jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_5__/* .uniqueUid */ .w9)() + new Date().toString().replace(/[^0-9]/g, ''),
|
|
226
226
|
layer: this.options.googleMaps.map.layer,
|
|
227
227
|
center: this.options.googleMaps.map.defaultCenter,
|
|
228
228
|
zoom: this.options.googleMaps.map.defaultZoom,
|
|
@@ -257,32 +257,32 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
257
257
|
palette.appendChild(this.toolbar.container);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
(0,
|
|
261
|
-
(0,
|
|
260
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
261
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.hook)('ready')
|
|
262
262
|
], UIMap.prototype, "onReady", null);
|
|
263
|
-
(0,
|
|
264
|
-
(0,
|
|
263
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
264
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('?:changeCreateMode.gm')
|
|
265
265
|
], UIMap.prototype, "changeCreateMode", 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)('state.mode')
|
|
268
268
|
], UIMap.prototype, "onChangeMode", 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.elements')
|
|
271
271
|
], UIMap.prototype, "onChangeElementsList", null);
|
|
272
|
-
(0,
|
|
273
|
-
(0,
|
|
274
|
-
(0,
|
|
275
|
-
(0,
|
|
272
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
273
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.center'),
|
|
274
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.wait)((ctx) => ctx.mapInitialized),
|
|
275
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
276
276
|
], UIMap.prototype, "onChangeCenter", null);
|
|
277
|
-
(0,
|
|
278
|
-
(0,
|
|
279
|
-
(0,
|
|
277
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
278
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.zoom'),
|
|
279
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
280
280
|
], UIMap.prototype, "onChangeZoom", null);
|
|
281
|
-
(0,
|
|
282
|
-
(0,
|
|
281
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
282
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.controls')
|
|
283
283
|
], UIMap.prototype, "onChangeControls", 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)([
|
|
286
286
|
'state.center',
|
|
287
287
|
'state.zoom',
|
|
288
288
|
'state.controls',
|
|
@@ -290,18 +290,18 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
290
290
|
'state.type',
|
|
291
291
|
'state.layer'
|
|
292
292
|
]),
|
|
293
|
-
(0,
|
|
294
|
-
(0,
|
|
293
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.wait)((ctx) => ctx.mapInitialized),
|
|
294
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
295
295
|
], UIMap.prototype, "onChangeBound", null);
|
|
296
|
-
(0,
|
|
297
|
-
(0,
|
|
298
|
-
(0,
|
|
296
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
297
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.size'),
|
|
298
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.debounce)()
|
|
299
299
|
], UIMap.prototype, "onChangeSize", null);
|
|
300
|
-
(0,
|
|
301
|
-
(0,
|
|
300
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
301
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_4__.watch)('state.type')
|
|
302
302
|
], UIMap.prototype, "onChangeMapType", 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.layer')
|
|
305
305
|
], UIMap.prototype, "onChangeLayer", null);
|
|
306
306
|
|
|
307
307
|
|
|
@@ -314,15 +314,15 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
314
314
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315
315
|
/* harmony export */ A: function() { return /* binding */ ColorInput; }
|
|
316
316
|
/* harmony export */ });
|
|
317
|
-
/* harmony import */ var
|
|
318
|
-
/* harmony import */ var
|
|
319
|
-
/* harmony import */ var
|
|
320
|
-
/* harmony import */ var
|
|
321
|
-
/* harmony import */ var
|
|
322
|
-
/* harmony import */ var
|
|
323
|
-
/* harmony import */ var
|
|
324
|
-
/* harmony import */ var
|
|
325
|
-
/* harmony import */ var
|
|
317
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
318
|
+
/* harmony import */ var a_color_picker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46146);
|
|
319
|
+
/* harmony import */ var a_color_picker__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(a_color_picker__WEBPACK_IMPORTED_MODULE_1__);
|
|
320
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
321
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65478);
|
|
322
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
323
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38837);
|
|
324
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67510);
|
|
325
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41409);
|
|
326
326
|
/*!
|
|
327
327
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
328
328
|
* See LICENSE.md in the project root for license information.
|
|
@@ -337,7 +337,7 @@ class UIMap extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIGroup */
|
|
|
337
337
|
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
let ColorInput = class ColorInput extends
|
|
340
|
+
let ColorInput = class ColorInput extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .UIInput */ .tS {
|
|
341
341
|
/** @override */
|
|
342
342
|
className() {
|
|
343
343
|
return 'ColorInput';
|
|
@@ -345,9 +345,9 @@ let ColorInput = class ColorInput extends jodit_esm_core_ui__WEBPACK_IMPORTED_MO
|
|
|
345
345
|
/** @override */
|
|
346
346
|
constructor(jodit, options) {
|
|
347
347
|
super(jodit, options);
|
|
348
|
-
const popup = new
|
|
348
|
+
const popup = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .Popup */ .zD(jodit), parse = (c) => a_color_picker__WEBPACK_IMPORTED_MODULE_1__.parseColor(c, 'hex');
|
|
349
349
|
this.popup = popup;
|
|
350
|
-
this.trigger = (0,
|
|
350
|
+
this.trigger = (0,jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_6__/* .Button */ .$n)(this.j, 'ok');
|
|
351
351
|
const wrapper = this.getElm('wrapper');
|
|
352
352
|
void 0;
|
|
353
353
|
wrapper.appendChild(this.trigger.container);
|
|
@@ -358,13 +358,13 @@ let ColorInput = class ColorInput extends jodit_esm_core_ui__WEBPACK_IMPORTED_MO
|
|
|
358
358
|
});
|
|
359
359
|
popup.setMod('padding', false).setMod('max-height', false);
|
|
360
360
|
const pickerElement = this.j.create.div(this.getFullElName('picker'));
|
|
361
|
-
const picker =
|
|
361
|
+
const picker = a_color_picker__WEBPACK_IMPORTED_MODULE_1__.createPicker(pickerElement, {
|
|
362
362
|
paletteEditable: true,
|
|
363
363
|
showAlpha: true,
|
|
364
364
|
palette: 'PALETTE_MATERIAL_CHROME'
|
|
365
365
|
}).on('change', (picker, color) => {
|
|
366
366
|
if (!this.isFocused) {
|
|
367
|
-
this.value =
|
|
367
|
+
this.value = a_color_picker__WEBPACK_IMPORTED_MODULE_1__.parseColor(color || '', 'hex');
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
370
|
this.j.e.on(this, 'change', () => {
|
|
@@ -375,10 +375,10 @@ let ColorInput = class ColorInput extends jodit_esm_core_ui__WEBPACK_IMPORTED_MO
|
|
|
375
375
|
popup.setContent(pickerElement);
|
|
376
376
|
this.j.e.on(this.nativeInput, 'click', () => {
|
|
377
377
|
popup.parentElement = this;
|
|
378
|
-
if (this.jodit instanceof
|
|
378
|
+
if (this.jodit instanceof jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__.Dialog) {
|
|
379
379
|
popup.setZIndex(this.jodit.getZIndex() + 1);
|
|
380
380
|
}
|
|
381
|
-
popup.open(() => (0,
|
|
381
|
+
popup.open(() => (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_4__.position)(this.container));
|
|
382
382
|
});
|
|
383
383
|
this.onChangeValue();
|
|
384
384
|
this.onChangeSelfValue();
|
|
@@ -392,19 +392,19 @@ let ColorInput = class ColorInput extends jodit_esm_core_ui__WEBPACK_IMPORTED_MO
|
|
|
392
392
|
this.nativeInput.style.backgroundColor = this.value;
|
|
393
393
|
}
|
|
394
394
|
onEscKeyDown(e) {
|
|
395
|
-
if (e.key ===
|
|
395
|
+
if (e.key === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC) {
|
|
396
396
|
this.popup?.close();
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
};
|
|
400
|
-
(0,
|
|
401
|
-
(0,
|
|
400
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
401
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':change')
|
|
402
402
|
], ColorInput.prototype, "onChangeSelfValue", null);
|
|
403
|
-
(0,
|
|
404
|
-
(0,
|
|
403
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
404
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)('nativeInput:keydown')
|
|
405
405
|
], ColorInput.prototype, "onEscKeyDown", null);
|
|
406
|
-
ColorInput = (0,
|
|
407
|
-
|
|
406
|
+
ColorInput = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
407
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.component
|
|
408
408
|
], ColorInput);
|
|
409
409
|
|
|
410
410
|
|
|
@@ -418,10 +418,10 @@ ColorInput = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
|
418
418
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
419
419
|
/* harmony export */ A: function() { return /* binding */ UIMarkerEditor; }
|
|
420
420
|
/* harmony export */ });
|
|
421
|
-
/* harmony import */ var
|
|
422
|
-
/* harmony import */ var
|
|
423
|
-
/* harmony import */ var
|
|
424
|
-
/* harmony import */ var
|
|
421
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
422
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
423
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8367);
|
|
424
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_wysiwyg_wysiwyg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12046);
|
|
425
425
|
/*!
|
|
426
426
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
427
427
|
* See LICENSE.md in the project root for license information.
|
|
@@ -431,18 +431,18 @@ ColorInput = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
|
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
|
|
434
|
-
let UIMarkerEditor = class UIMarkerEditor extends
|
|
434
|
+
let UIMarkerEditor = class UIMarkerEditor extends jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_2__/* .UIBaseEditor */ .R {
|
|
435
435
|
onReady() {
|
|
436
436
|
super.onReady();
|
|
437
|
-
const editor = new
|
|
437
|
+
const editor = new jodit_pro_plugins_google_maps_ui_wysiwyg_wysiwyg__WEBPACK_IMPORTED_MODULE_3__/* .UIWysiwyg */ .W(this.j, this.options.googleMaps.inlineEditorOptions, this.state.text ?? '', (value) => this.j.e.fire(this, 'change', 'text', value));
|
|
438
438
|
this.append(editor, 'form');
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
|
-
(0,
|
|
442
|
-
(0,
|
|
441
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
442
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
443
443
|
], UIMarkerEditor.prototype, "onReady", null);
|
|
444
|
-
UIMarkerEditor = (0,
|
|
445
|
-
|
|
444
|
+
UIMarkerEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
445
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
446
446
|
], UIMarkerEditor);
|
|
447
447
|
|
|
448
448
|
|
|
@@ -495,11 +495,11 @@ class UIBaseEditor extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIG
|
|
|
495
495
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
496
496
|
/* harmony export */ W: function() { return /* binding */ UIWysiwyg; }
|
|
497
497
|
/* harmony export */ });
|
|
498
|
-
/* harmony import */ var
|
|
499
|
-
/* harmony import */ var
|
|
500
|
-
/* harmony import */ var
|
|
501
|
-
/* harmony import */ var
|
|
502
|
-
/* harmony import */ var
|
|
498
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
499
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
500
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
|
|
501
|
+
/* harmony import */ var jodit_esm_core_ui_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48538);
|
|
502
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34013);
|
|
503
503
|
/*!
|
|
504
504
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
505
505
|
* See LICENSE.md in the project root for license information.
|
|
@@ -511,7 +511,7 @@ class UIBaseEditor extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIG
|
|
|
511
511
|
|
|
512
512
|
|
|
513
513
|
|
|
514
|
-
let UIWysiwyg = class UIWysiwyg extends
|
|
514
|
+
let UIWysiwyg = class UIWysiwyg extends jodit_esm_core_ui_element__WEBPACK_IMPORTED_MODULE_3__/* .UIElement */ .D {
|
|
515
515
|
className() {
|
|
516
516
|
return 'UIWysiwyg';
|
|
517
517
|
}
|
|
@@ -519,7 +519,7 @@ let UIWysiwyg = class UIWysiwyg extends jodit_esm_core_ui_element__WEBPACK_IMPOR
|
|
|
519
519
|
super(jodit);
|
|
520
520
|
const wysiwyg = this.getElm('editor');
|
|
521
521
|
void 0;
|
|
522
|
-
const editor =
|
|
522
|
+
const editor = jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__/* .JoditPro */ .A.make(wysiwyg, {
|
|
523
523
|
buttons: ['bold', 'italic', 'image'],
|
|
524
524
|
height: 100,
|
|
525
525
|
minHeight: 100,
|
|
@@ -549,8 +549,8 @@ let UIWysiwyg = class UIWysiwyg extends jodit_esm_core_ui_element__WEBPACK_IMPOR
|
|
|
549
549
|
</div>`;
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
|
-
UIWysiwyg = (0,
|
|
553
|
-
|
|
552
|
+
UIWysiwyg = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
553
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
554
554
|
], UIWysiwyg);
|
|
555
555
|
|
|
556
556
|
|
|
@@ -611,11 +611,11 @@ UIWysiwyg = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
611
611
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
612
612
|
/* harmony export */ C: function() { return /* binding */ UIPolylineEditor; }
|
|
613
613
|
/* harmony export */ });
|
|
614
|
-
/* harmony import */ var
|
|
615
|
-
/* harmony import */ var
|
|
616
|
-
/* harmony import */ var
|
|
617
|
-
/* harmony import */ var
|
|
618
|
-
/* harmony import */ var
|
|
614
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
615
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
616
|
+
/* harmony import */ var jodit_esm_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80256);
|
|
617
|
+
/* harmony import */ var jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5693);
|
|
618
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8367);
|
|
619
619
|
/*!
|
|
620
620
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
621
621
|
* See LICENSE.md in the project root for license information.
|
|
@@ -626,17 +626,17 @@ UIWysiwyg = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
626
626
|
|
|
627
627
|
|
|
628
628
|
|
|
629
|
-
let UIPolylineEditor = class UIPolylineEditor extends
|
|
629
|
+
let UIPolylineEditor = class UIPolylineEditor extends jodit_pro_plugins_google_maps_ui_editors_base__WEBPACK_IMPORTED_MODULE_4__/* .UIBaseEditor */ .R {
|
|
630
630
|
onReady() {
|
|
631
631
|
super.onReady();
|
|
632
632
|
this.append([
|
|
633
|
-
new
|
|
633
|
+
new jodit_esm_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .t(this.j, {
|
|
634
634
|
label: 'Stroke weight',
|
|
635
635
|
value: this.state.strokeWeight ?? 1,
|
|
636
636
|
type: 'number',
|
|
637
637
|
onChange: (value) => this.j.e.fire(this, 'change', 'strokeWeight', value)
|
|
638
638
|
}),
|
|
639
|
-
new
|
|
639
|
+
new jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__/* .ColorInput */ .A(this.j, {
|
|
640
640
|
label: 'Stroke color',
|
|
641
641
|
value: this.state.strokeColor ?? '#000',
|
|
642
642
|
onChange: (value) => this.j.e.fire(this, 'change', 'strokeColor', value)
|
|
@@ -644,11 +644,11 @@ let UIPolylineEditor = class UIPolylineEditor extends jodit_pro_plugins_google_m
|
|
|
644
644
|
], 'form');
|
|
645
645
|
}
|
|
646
646
|
};
|
|
647
|
-
(0,
|
|
648
|
-
(0,
|
|
647
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
648
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
649
649
|
], UIPolylineEditor.prototype, "onReady", null);
|
|
650
|
-
UIPolylineEditor = (0,
|
|
651
|
-
|
|
650
|
+
UIPolylineEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
651
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
652
652
|
], UIPolylineEditor);
|
|
653
653
|
|
|
654
654
|
|
|
@@ -669,9 +669,9 @@ module.exports = "<svg width=\"72\" height=\"86\" viewBox=\"0 0 72 86\" fill=\"n
|
|
|
669
669
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
670
670
|
/* harmony export */ T: function() { return /* binding */ openPropsDialog; }
|
|
671
671
|
/* harmony export */ });
|
|
672
|
-
/* harmony import */ var
|
|
673
|
-
/* harmony import */ var
|
|
674
|
-
/* harmony import */ var
|
|
672
|
+
/* harmony import */ var _remove_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75197);
|
|
673
|
+
/* harmony import */ var _update_state_and_gme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93636);
|
|
674
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12936);
|
|
675
675
|
/*!
|
|
676
676
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
677
677
|
* See LICENSE.md in the project root for license information.
|
|
@@ -697,14 +697,14 @@ function openPropsDialog(newElm, index) {
|
|
|
697
697
|
this.state.mode = 'hand';
|
|
698
698
|
switch (newElm.type) {
|
|
699
699
|
case 'polyline':
|
|
700
|
-
editor = new
|
|
700
|
+
editor = new jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_2__/* .UIPolylineEditor */ .C1(this.jodit, newElm.state, this.options);
|
|
701
701
|
break;
|
|
702
702
|
case 'marker':
|
|
703
|
-
editor = new
|
|
703
|
+
editor = new jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_2__/* .UIMarkerEditor */ .Ax(this.jodit, newElm.state, this.options);
|
|
704
704
|
break;
|
|
705
705
|
case 'circle':
|
|
706
706
|
case 'polygon':
|
|
707
|
-
editor = new
|
|
707
|
+
editor = new jodit_pro_plugins_google_maps_ui_editors__WEBPACK_IMPORTED_MODULE_2__/* .UIPolygonEditor */ .E6(this.jodit, newElm.state, this.options);
|
|
708
708
|
break;
|
|
709
709
|
}
|
|
710
710
|
if (!editor) {
|
|
@@ -713,10 +713,10 @@ function openPropsDialog(newElm, index) {
|
|
|
713
713
|
this.append(editor);
|
|
714
714
|
this.j.e
|
|
715
715
|
.on(editor, 'bin', () => {
|
|
716
|
-
|
|
716
|
+
_remove_element__WEBPACK_IMPORTED_MODULE_0__/* .removeElement */ .N.call(this, newElm);
|
|
717
717
|
})
|
|
718
718
|
.on(editor, 'change', (key, value) => {
|
|
719
|
-
|
|
719
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_1__/* .updateStateAndGme */ .B.call(this, {
|
|
720
720
|
...newElm.state,
|
|
721
721
|
[key]: value
|
|
722
722
|
}, index);
|
|
@@ -749,8 +749,8 @@ function openPropsDialog(newElm, index) {
|
|
|
749
749
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
750
750
|
/* harmony export */ H: function() { return /* binding */ generateStaticElements; }
|
|
751
751
|
/* harmony export */ });
|
|
752
|
-
/* harmony import */ var
|
|
753
|
-
/* harmony import */ var
|
|
752
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65533);
|
|
753
|
+
/* harmony import */ var jodit_esm_core_helpers_html_strip_tags__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91003);
|
|
754
754
|
/*!
|
|
755
755
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
756
756
|
* See LICENSE.md in the project root for license information.
|
|
@@ -763,11 +763,11 @@ function generateStaticElements(uiMap) {
|
|
|
763
763
|
.map((elm) => {
|
|
764
764
|
switch (elm.type) {
|
|
765
765
|
case 'polygon':
|
|
766
|
-
return `&path=fillcolor:${(0,
|
|
766
|
+
return `&path=fillcolor:${(0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .specialColor */ .Zt)(elm.fillColor ?? '#fff')}%7Cweight:${elm.strokeWeight ?? 1}%7Ccolor:${(0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .specialColor */ .Zt)(elm.strokeColor ?? '#fff')}%7Cenc:${google.maps.geometry.encoding.encodePath((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .arrayToPath */ .A3)(elm.coordinates))}`;
|
|
767
767
|
case 'polyline':
|
|
768
|
-
return `&path=weight:${elm.strokeWeight ?? 1}%7Ccolor:${(0,
|
|
768
|
+
return `&path=weight:${elm.strokeWeight ?? 1}%7Ccolor:${(0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .specialColor */ .Zt)(elm.strokeColor ?? '#fff')}%7Cenc:${google.maps.geometry.encoding.encodePath((0,_helpers__WEBPACK_IMPORTED_MODULE_0__/* .arrayToPath */ .A3)(elm.coordinates))}`;
|
|
769
769
|
case 'marker':
|
|
770
|
-
return `&markers=color:blue%7Clabel:${encodeURIComponent((0,
|
|
770
|
+
return `&markers=color:blue%7Clabel:${encodeURIComponent((0,jodit_esm_core_helpers_html_strip_tags__WEBPACK_IMPORTED_MODULE_1__/* .stripTags */ .K)(elm.text ?? '')
|
|
771
771
|
.charAt(0)
|
|
772
772
|
.toUpperCase())}%7C${elm.coordinates}`;
|
|
773
773
|
}
|
|
@@ -786,10 +786,10 @@ function generateStaticElements(uiMap) {
|
|
|
786
786
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
787
787
|
/* harmony export */ m: function() { return /* binding */ UIMapsPropsForm; }
|
|
788
788
|
/* harmony export */ });
|
|
789
|
-
/* harmony import */ var
|
|
790
|
-
/* harmony import */ var
|
|
791
|
-
/* harmony import */ var
|
|
792
|
-
/* harmony import */ var
|
|
789
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
790
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
791
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76078);
|
|
792
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
793
793
|
/*!
|
|
794
794
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
795
795
|
* See LICENSE.md in the project root for license information.
|
|
@@ -800,7 +800,7 @@ function generateStaticElements(uiMap) {
|
|
|
800
800
|
|
|
801
801
|
|
|
802
802
|
|
|
803
|
-
let UIMapsPropsForm = class UIMapsPropsForm extends
|
|
803
|
+
let UIMapsPropsForm = class UIMapsPropsForm extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIForm */ .XV {
|
|
804
804
|
className() {
|
|
805
805
|
return 'UIMapsPropsForm';
|
|
806
806
|
}
|
|
@@ -810,33 +810,33 @@ let UIMapsPropsForm = class UIMapsPropsForm extends jodit_esm_core_ui__WEBPACK_I
|
|
|
810
810
|
const [w, h] = state.size;
|
|
811
811
|
const [x, y] = state.center;
|
|
812
812
|
this.append([
|
|
813
|
-
new
|
|
813
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
814
814
|
label: 'Width',
|
|
815
815
|
name: 'width',
|
|
816
816
|
value: w,
|
|
817
817
|
type: 'number',
|
|
818
818
|
onChange: this.onChangeSize
|
|
819
819
|
}),
|
|
820
|
-
new
|
|
820
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
821
821
|
label: 'Height',
|
|
822
822
|
name: 'height',
|
|
823
823
|
value: h,
|
|
824
824
|
type: 'number',
|
|
825
825
|
onChange: this.onChangeSize
|
|
826
826
|
}),
|
|
827
|
-
new
|
|
827
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
828
828
|
label: 'Latitude',
|
|
829
829
|
name: 'lat',
|
|
830
830
|
value: x,
|
|
831
831
|
onChange: this.onChangeCenter
|
|
832
832
|
}),
|
|
833
|
-
new
|
|
833
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS(jodit, {
|
|
834
834
|
label: 'Longitude',
|
|
835
835
|
name: 'lng',
|
|
836
836
|
value: y,
|
|
837
837
|
onChange: this.onChangeCenter
|
|
838
838
|
}),
|
|
839
|
-
new
|
|
839
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UISelect */ .$6(jodit, {
|
|
840
840
|
label: 'Map type',
|
|
841
841
|
value: state.type,
|
|
842
842
|
name: 'mapType',
|
|
@@ -850,7 +850,7 @@ let UIMapsPropsForm = class UIMapsPropsForm extends jodit_esm_core_ui__WEBPACK_I
|
|
|
850
850
|
state.type = value;
|
|
851
851
|
}
|
|
852
852
|
}),
|
|
853
|
-
new
|
|
853
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UISelect */ .$6(jodit, {
|
|
854
854
|
label: 'Layer',
|
|
855
855
|
value: state.layer ?? 'default',
|
|
856
856
|
name: 'layer',
|
|
@@ -867,14 +867,14 @@ let UIMapsPropsForm = class UIMapsPropsForm extends jodit_esm_core_ui__WEBPACK_I
|
|
|
867
867
|
]);
|
|
868
868
|
}
|
|
869
869
|
onChangeSize() {
|
|
870
|
-
const { width, height } = (0,
|
|
870
|
+
const { width, height } = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container);
|
|
871
871
|
this.state.size = [
|
|
872
872
|
parseInt(width?.value, 10) || 0,
|
|
873
873
|
parseInt(height?.value, 10) || 0
|
|
874
874
|
];
|
|
875
875
|
}
|
|
876
876
|
onExternalChangeSize() {
|
|
877
|
-
const { width, height } = (0,
|
|
877
|
+
const { width, height } = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container);
|
|
878
878
|
const [w, h] = this.state.size;
|
|
879
879
|
if (w.toString() !== width.value) {
|
|
880
880
|
width.value = w.toString();
|
|
@@ -884,14 +884,14 @@ let UIMapsPropsForm = class UIMapsPropsForm extends jodit_esm_core_ui__WEBPACK_I
|
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
onChangeCenter() {
|
|
887
|
-
const { lat, lng } = (0,
|
|
887
|
+
const { lat, lng } = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container);
|
|
888
888
|
this.state.center = [
|
|
889
889
|
parseFloat(lat?.value) || 0,
|
|
890
890
|
parseFloat(lng?.value) || 0
|
|
891
891
|
];
|
|
892
892
|
}
|
|
893
893
|
onExternalChangeCenter() {
|
|
894
|
-
const { lat, lng } = (0,
|
|
894
|
+
const { lat, lng } = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container);
|
|
895
895
|
const [x, y] = this.state.center;
|
|
896
896
|
if (x.toString() !== lat.value) {
|
|
897
897
|
lat.value = x.toString();
|
|
@@ -901,38 +901,38 @@ let UIMapsPropsForm = class UIMapsPropsForm extends jodit_esm_core_ui__WEBPACK_I
|
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
onExternalChangeType() {
|
|
904
|
-
const { mapType } = (0,
|
|
904
|
+
const { mapType } = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container);
|
|
905
905
|
if (this.state.type !== mapType.value) {
|
|
906
906
|
mapType.value = this.state.type;
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
909
|
onExternalChangeLayer() {
|
|
910
|
-
const { layer } = (0,
|
|
910
|
+
const { layer } = (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__/* .refs */ .DY)(this.container);
|
|
911
911
|
if (this.state.layer !== layer.value) {
|
|
912
912
|
layer.value = this.state.layer;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
915
|
};
|
|
916
|
-
(0,
|
|
917
|
-
|
|
916
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
917
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
918
918
|
], UIMapsPropsForm.prototype, "onChangeSize", null);
|
|
919
|
-
(0,
|
|
920
|
-
(0,
|
|
919
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
920
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.size')
|
|
921
921
|
], UIMapsPropsForm.prototype, "onExternalChangeSize", null);
|
|
922
|
-
(0,
|
|
923
|
-
|
|
922
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
923
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
924
924
|
], UIMapsPropsForm.prototype, "onChangeCenter", null);
|
|
925
|
-
(0,
|
|
926
|
-
(0,
|
|
925
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
926
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.center'])
|
|
927
927
|
], UIMapsPropsForm.prototype, "onExternalChangeCenter", null);
|
|
928
|
-
(0,
|
|
929
|
-
(0,
|
|
928
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
929
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.type'])
|
|
930
930
|
], UIMapsPropsForm.prototype, "onExternalChangeType", null);
|
|
931
|
-
(0,
|
|
932
|
-
(0,
|
|
931
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
932
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.layer'])
|
|
933
933
|
], UIMapsPropsForm.prototype, "onExternalChangeLayer", null);
|
|
934
|
-
UIMapsPropsForm = (0,
|
|
935
|
-
|
|
934
|
+
UIMapsPropsForm = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
935
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
936
936
|
], UIMapsPropsForm);
|
|
937
937
|
|
|
938
938
|
|
|
@@ -953,9 +953,9 @@ module.exports = "<svg viewBox=\"0 0 77 86\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
953
953
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
954
954
|
/* harmony export */ A: function() { return /* binding */ UIComboBox; }
|
|
955
955
|
/* harmony export */ });
|
|
956
|
-
/* harmony import */ var
|
|
957
|
-
/* harmony import */ var
|
|
958
|
-
/* harmony import */ var
|
|
956
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
957
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
958
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
959
959
|
/*!
|
|
960
960
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
961
961
|
* See LICENSE.md in the project root for license information.
|
|
@@ -965,7 +965,7 @@ module.exports = "<svg viewBox=\"0 0 77 86\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
965
965
|
|
|
966
966
|
|
|
967
967
|
|
|
968
|
-
class UIComboBox extends
|
|
968
|
+
class UIComboBox extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS {
|
|
969
969
|
className() {
|
|
970
970
|
return 'UIComboBox';
|
|
971
971
|
}
|
|
@@ -997,12 +997,12 @@ class UIComboBox extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIInp
|
|
|
997
997
|
// } catch (e) {}
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
-
(0,
|
|
1001
|
-
(0,
|
|
1000
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1001
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
1002
1002
|
], UIComboBox.prototype, "onReady", null);
|
|
1003
|
-
(0,
|
|
1004
|
-
(0,
|
|
1005
|
-
(0,
|
|
1003
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
1004
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('nativeInput:input'),
|
|
1005
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
1006
1006
|
], UIComboBox.prototype, "onInput", null);
|
|
1007
1007
|
|
|
1008
1008
|
|
|
@@ -1012,8 +1012,8 @@ class UIComboBox extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIInp
|
|
|
1012
1012
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
1013
1013
|
|
|
1014
1014
|
"use strict";
|
|
1015
|
-
/* harmony import */ var
|
|
1016
|
-
/* harmony import */ var
|
|
1015
|
+
/* harmony import */ var _helpers_const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45751);
|
|
1016
|
+
/* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6441);
|
|
1017
1017
|
/*!
|
|
1018
1018
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1019
1019
|
* See LICENSE.md in the project root for license information.
|
|
@@ -1021,7 +1021,7 @@ class UIComboBox extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIInp
|
|
|
1021
1021
|
*/
|
|
1022
1022
|
|
|
1023
1023
|
|
|
1024
|
-
|
|
1024
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.googleMaps = {
|
|
1025
1025
|
saveStateInStorage: true,
|
|
1026
1026
|
useStaticImage: false,
|
|
1027
1027
|
apiUrl: 'https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler',
|
|
@@ -1062,10 +1062,10 @@ jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.googleMa
|
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
1064
|
};
|
|
1065
|
-
|
|
1065
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.googleMaps = {
|
|
1066
1066
|
tooltip: 'Google Maps',
|
|
1067
1067
|
icon: 'map',
|
|
1068
|
-
command:
|
|
1068
|
+
command: _helpers_const__WEBPACK_IMPORTED_MODULE_0__/* .COMMAND_OPEN_DIALOG */ .C
|
|
1069
1069
|
};
|
|
1070
1070
|
const gmButton = (name) => ({
|
|
1071
1071
|
icon: `edit-${name}`,
|
|
@@ -1074,7 +1074,7 @@ const gmButton = (name) => ({
|
|
|
1074
1074
|
editor.e.fire('changeCreateMode.gm', name);
|
|
1075
1075
|
}
|
|
1076
1076
|
});
|
|
1077
|
-
|
|
1077
|
+
jodit_esm_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.gm = {
|
|
1078
1078
|
hand: gmButton('hand'),
|
|
1079
1079
|
marker: gmButton('marker'),
|
|
1080
1080
|
polyline: gmButton('polyline'),
|
|
@@ -2461,9 +2461,9 @@ module.exports = "<svg viewBox=\"0 0 76 76\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
2461
2461
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2462
2462
|
/* harmony export */ S: function() { return /* binding */ UIMapsControlsForm; }
|
|
2463
2463
|
/* harmony export */ });
|
|
2464
|
-
/* harmony import */ var
|
|
2465
|
-
/* harmony import */ var
|
|
2466
|
-
/* harmony import */ var
|
|
2464
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2465
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
2466
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
2467
2467
|
/*!
|
|
2468
2468
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2469
2469
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2473,7 +2473,7 @@ module.exports = "<svg viewBox=\"0 0 76 76\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
2473
2473
|
|
|
2474
2474
|
|
|
2475
2475
|
|
|
2476
|
-
let UIMapsControlsForm = class UIMapsControlsForm extends
|
|
2476
|
+
let UIMapsControlsForm = class UIMapsControlsForm extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV {
|
|
2477
2477
|
className() {
|
|
2478
2478
|
return 'UIMapsControlsForm';
|
|
2479
2479
|
}
|
|
@@ -2489,7 +2489,7 @@ let UIMapsControlsForm = class UIMapsControlsForm extends jodit_esm_core_ui__WEB
|
|
|
2489
2489
|
fullscreenControl: 'Fullscreen control'
|
|
2490
2490
|
};
|
|
2491
2491
|
const controls = Object.keys(controlsNames);
|
|
2492
|
-
this.append(controls.map((key) => new
|
|
2492
|
+
this.append(controls.map((key) => new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UICheckbox */ .cY(jodit, {
|
|
2493
2493
|
label: controlsNames[key],
|
|
2494
2494
|
name: key,
|
|
2495
2495
|
checked: this.state.controls[key],
|
|
@@ -2505,8 +2505,8 @@ let UIMapsControlsForm = class UIMapsControlsForm extends jodit_esm_core_ui__WEB
|
|
|
2505
2505
|
};
|
|
2506
2506
|
}
|
|
2507
2507
|
};
|
|
2508
|
-
UIMapsControlsForm = (0,
|
|
2509
|
-
|
|
2508
|
+
UIMapsControlsForm = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2509
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
2510
2510
|
], UIMapsControlsForm);
|
|
2511
2511
|
|
|
2512
2512
|
|
|
@@ -2520,10 +2520,10 @@ UIMapsControlsForm = (0,tslib__WEBPACK_IMPORTED_MODULE_1__/* .__decorate */ .Cg)
|
|
|
2520
2520
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2521
2521
|
/* harmony export */ Q: function() { return /* binding */ UIRange; }
|
|
2522
2522
|
/* harmony export */ });
|
|
2523
|
-
/* harmony import */ var
|
|
2524
|
-
/* harmony import */ var
|
|
2525
|
-
/* harmony import */ var
|
|
2526
|
-
/* harmony import */ var
|
|
2523
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2524
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2525
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21537);
|
|
2526
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67510);
|
|
2527
2527
|
/*!
|
|
2528
2528
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2529
2529
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2534,7 +2534,7 @@ UIMapsControlsForm = (0,tslib__WEBPACK_IMPORTED_MODULE_1__/* .__decorate */ .Cg)
|
|
|
2534
2534
|
|
|
2535
2535
|
|
|
2536
2536
|
|
|
2537
|
-
let UIRange = class UIRange extends
|
|
2537
|
+
let UIRange = class UIRange extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS {
|
|
2538
2538
|
/** @override */
|
|
2539
2539
|
className() {
|
|
2540
2540
|
return 'UIRange';
|
|
@@ -2545,7 +2545,7 @@ let UIRange = class UIRange extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2
|
|
|
2545
2545
|
type: 'hidden'
|
|
2546
2546
|
});
|
|
2547
2547
|
this.state = {
|
|
2548
|
-
...
|
|
2548
|
+
...jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIInput */ .tS.defaultState,
|
|
2549
2549
|
min: 0,
|
|
2550
2550
|
max: 100
|
|
2551
2551
|
};
|
|
@@ -2593,7 +2593,7 @@ let UIRange = class UIRange extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2
|
|
|
2593
2593
|
onChangeSelfValue() {
|
|
2594
2594
|
const handle = this.getElm('handle'), value = parseFloat(this.value) || 0;
|
|
2595
2595
|
void 0;
|
|
2596
|
-
(0,
|
|
2596
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_2__.css)(handle, {
|
|
2597
2597
|
left: ((value - this.state.min) / (this.state.max - this.state.min)) *
|
|
2598
2598
|
100 +
|
|
2599
2599
|
'%'
|
|
@@ -2607,20 +2607,20 @@ let UIRange = class UIRange extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2
|
|
|
2607
2607
|
return super.destruct();
|
|
2608
2608
|
}
|
|
2609
2609
|
};
|
|
2610
|
-
(0,
|
|
2611
|
-
(0,
|
|
2610
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2611
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['handle:mousedown', 'handle:touchstart'])
|
|
2612
2612
|
], UIRange.prototype, "onDragStart", null);
|
|
2613
|
-
(0,
|
|
2614
|
-
|
|
2613
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2614
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
2615
2615
|
], UIRange.prototype, "onDrag", null);
|
|
2616
|
-
(0,
|
|
2617
|
-
(0,
|
|
2616
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2617
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['j.ow:mouseup', 'j.ow:touchend'])
|
|
2618
2618
|
], UIRange.prototype, "onDragEnd", null);
|
|
2619
|
-
(0,
|
|
2620
|
-
(0,
|
|
2619
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2620
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
2621
2621
|
], UIRange.prototype, "onChangeSelfValue", null);
|
|
2622
|
-
UIRange = (0,
|
|
2623
|
-
|
|
2622
|
+
UIRange = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2623
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2624
2624
|
], UIRange);
|
|
2625
2625
|
|
|
2626
2626
|
|
|
@@ -2634,8 +2634,8 @@ UIRange = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .Cg)([
|
|
|
2634
2634
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2635
2635
|
/* harmony export */ Q: function() { return /* binding */ onChangeGeometries; }
|
|
2636
2636
|
/* harmony export */ });
|
|
2637
|
-
/* harmony import */ var
|
|
2638
|
-
/* harmony import */ var
|
|
2637
|
+
/* harmony import */ var _update_state_and_gme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93636);
|
|
2638
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65533);
|
|
2639
2639
|
/*!
|
|
2640
2640
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2641
2641
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2647,11 +2647,11 @@ function onChangeGeometries(newElm, index) {
|
|
|
2647
2647
|
switch (newElm.type) {
|
|
2648
2648
|
case 'polyline':
|
|
2649
2649
|
case 'polygon': {
|
|
2650
|
-
const coordinates = (0,
|
|
2650
|
+
const coordinates = (0,jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_1__/* .pathToArray */ .AH)(newElm.gme.getPath()), newState = {
|
|
2651
2651
|
...newElm.state,
|
|
2652
2652
|
coordinates
|
|
2653
2653
|
};
|
|
2654
|
-
|
|
2654
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_0__/* .updateStateAndGme */ .B.call(this, newState, index, true);
|
|
2655
2655
|
break;
|
|
2656
2656
|
}
|
|
2657
2657
|
case 'marker': {
|
|
@@ -2659,7 +2659,7 @@ function onChangeGeometries(newElm, index) {
|
|
|
2659
2659
|
...newElm.state,
|
|
2660
2660
|
coordinates: [pos?.lat() ?? 0, pos?.lng() ?? 0]
|
|
2661
2661
|
};
|
|
2662
|
-
|
|
2662
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_0__/* .updateStateAndGme */ .B.call(this, newState, index, true);
|
|
2663
2663
|
break;
|
|
2664
2664
|
}
|
|
2665
2665
|
case 'circle': {
|
|
@@ -2668,7 +2668,7 @@ function onChangeGeometries(newElm, index) {
|
|
|
2668
2668
|
radius: newElm.gme.getRadius(),
|
|
2669
2669
|
coordinates: [pos?.lat() ?? 0, pos?.lng() ?? 0]
|
|
2670
2670
|
};
|
|
2671
|
-
|
|
2671
|
+
_update_state_and_gme__WEBPACK_IMPORTED_MODULE_0__/* .updateStateAndGme */ .B.call(this, newState, index, true);
|
|
2672
2672
|
break;
|
|
2673
2673
|
}
|
|
2674
2674
|
}
|
|
@@ -2752,11 +2752,11 @@ function isApiAvailable() {
|
|
|
2752
2752
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2753
2753
|
/* harmony export */ E: function() { return /* binding */ UIPolygonEditor; }
|
|
2754
2754
|
/* harmony export */ });
|
|
2755
|
-
/* harmony import */ var
|
|
2756
|
-
/* harmony import */ var
|
|
2757
|
-
/* harmony import */ var
|
|
2758
|
-
/* harmony import */ var
|
|
2759
|
-
/* harmony import */ var
|
|
2755
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
2756
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
2757
|
+
/* harmony import */ var jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57066);
|
|
2758
|
+
/* harmony import */ var jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5693);
|
|
2759
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_ui_editors_polyline_polyline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15833);
|
|
2760
2760
|
/*!
|
|
2761
2761
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
2762
2762
|
* See LICENSE.md in the project root for license information.
|
|
@@ -2767,15 +2767,15 @@ function isApiAvailable() {
|
|
|
2767
2767
|
|
|
2768
2768
|
|
|
2769
2769
|
|
|
2770
|
-
let UIPolygonEditor = class UIPolygonEditor extends
|
|
2770
|
+
let UIPolygonEditor = class UIPolygonEditor extends jodit_pro_plugins_google_maps_ui_editors_polyline_polyline__WEBPACK_IMPORTED_MODULE_4__/* .UIPolylineEditor */ .C {
|
|
2771
2771
|
onReady() {
|
|
2772
2772
|
this.append([
|
|
2773
|
-
new
|
|
2773
|
+
new jodit_pro_plugins_color_picker_ui_input_color_input__WEBPACK_IMPORTED_MODULE_3__/* .ColorInput */ .A(this.j, {
|
|
2774
2774
|
label: 'Fill color',
|
|
2775
2775
|
value: this.state.fillColor ?? '#000',
|
|
2776
2776
|
onChange: (value) => this.j.e.fire(this, 'change', 'fillColor', value)
|
|
2777
2777
|
}).setMod('trigger', false),
|
|
2778
|
-
new
|
|
2778
|
+
new jodit_pro_core_ui_form_range_range__WEBPACK_IMPORTED_MODULE_2__/* .UIRange */ .Q(this.j, {
|
|
2779
2779
|
label: 'Opacity',
|
|
2780
2780
|
min: 0,
|
|
2781
2781
|
max: 1,
|
|
@@ -2787,11 +2787,11 @@ let UIPolygonEditor = class UIPolygonEditor extends jodit_pro_plugins_google_map
|
|
|
2787
2787
|
], 'form');
|
|
2788
2788
|
}
|
|
2789
2789
|
};
|
|
2790
|
-
(0,
|
|
2791
|
-
(0,
|
|
2790
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2791
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
|
|
2792
2792
|
], UIPolygonEditor.prototype, "onReady", null);
|
|
2793
|
-
UIPolygonEditor = (0,
|
|
2794
|
-
|
|
2793
|
+
UIPolygonEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
2794
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_1__.component
|
|
2795
2795
|
], UIPolygonEditor);
|
|
2796
2796
|
|
|
2797
2797
|
|
|
@@ -3123,23 +3123,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3123
3123
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3124
3124
|
/* harmony export */ googleMaps: function() { return /* binding */ googleMaps; }
|
|
3125
3125
|
/* harmony export */ });
|
|
3126
|
-
/* harmony import */ var
|
|
3127
|
-
/* harmony import */ var
|
|
3128
|
-
/* harmony import */ var
|
|
3129
|
-
/* harmony import */ var
|
|
3130
|
-
/* harmony import */ var
|
|
3131
|
-
/* harmony import */ var
|
|
3132
|
-
/* harmony import */ var
|
|
3133
|
-
/* harmony import */ var
|
|
3134
|
-
/* harmony import */ var
|
|
3135
|
-
/* harmony import */ var
|
|
3136
|
-
/* harmony import */ var
|
|
3137
|
-
/* harmony import */ var
|
|
3138
|
-
/* harmony import */ var
|
|
3139
|
-
/* harmony import */ var
|
|
3140
|
-
/* harmony import */ var
|
|
3141
|
-
/* harmony import */ var
|
|
3142
|
-
/* harmony import */ var
|
|
3126
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
3127
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44434);
|
|
3128
|
+
/* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98742);
|
|
3129
|
+
/* harmony import */ var _helpers_const__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45751);
|
|
3130
|
+
/* harmony import */ var _helpers_generate_js_script__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71593);
|
|
3131
|
+
/* harmony import */ var _helpers_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(65533);
|
|
3132
|
+
/* harmony import */ var _helpers_static_url__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(98652);
|
|
3133
|
+
/* harmony import */ var _ui_combo_box_combo_box__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43502);
|
|
3134
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50133);
|
|
3135
|
+
/* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(82758);
|
|
3136
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(65478);
|
|
3137
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(21537);
|
|
3138
|
+
/* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50911);
|
|
3139
|
+
/* harmony import */ var jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(62843);
|
|
3140
|
+
/* harmony import */ var jodit_esm_modules_dialog_dialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(78584);
|
|
3141
|
+
/* harmony import */ var jodit_esm_modules_widget__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(92762);
|
|
3142
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(34013);
|
|
3143
3143
|
/*!
|
|
3144
3144
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3145
3145
|
* See LICENSE.md in the project root for license information.
|
|
@@ -3164,8 +3164,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3164
3164
|
|
|
3165
3165
|
|
|
3166
3166
|
// @ts-ignore
|
|
3167
|
-
window['JoditGoogleReadyHandler'] =
|
|
3168
|
-
class googleMaps extends
|
|
3167
|
+
window['JoditGoogleReadyHandler'] = _helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .GoogleReadyHandler */ .hR;
|
|
3168
|
+
class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_12__/* .Plugin */ .k {
|
|
3169
3169
|
constructor() {
|
|
3170
3170
|
super(...arguments);
|
|
3171
3171
|
this.buttons = [
|
|
@@ -3177,7 +3177,7 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3177
3177
|
return 'google-maps';
|
|
3178
3178
|
}
|
|
3179
3179
|
afterInit(jodit) {
|
|
3180
|
-
jodit.registerCommand(
|
|
3180
|
+
jodit.registerCommand(_helpers_const__WEBPACK_IMPORTED_MODULE_3__/* .COMMAND_OPEN_DIALOG */ .C, () => {
|
|
3181
3181
|
void this.openMapEditor(null, {});
|
|
3182
3182
|
});
|
|
3183
3183
|
}
|
|
@@ -3197,11 +3197,11 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3197
3197
|
const jodit = this.j;
|
|
3198
3198
|
const dialog = this.getDialog();
|
|
3199
3199
|
const state = this.j.o.googleMaps.saveStateInStorage
|
|
3200
|
-
? dialog.storage.get(
|
|
3200
|
+
? dialog.storage.get(_helpers_const__WEBPACK_IMPORTED_MODULE_3__/* .STORAGE_KEY */ .A)
|
|
3201
3201
|
: undefined;
|
|
3202
3202
|
const { apiUrl } = this.jodit.o.googleMaps;
|
|
3203
|
-
if (!(0,
|
|
3204
|
-
void (0,
|
|
3203
|
+
if (!(0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .isApiAvailable */ .uv)()) {
|
|
3204
|
+
void (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_11__.appendScriptAsync)(this.jodit, apiUrl.replace(/\${([^}]+)}/g, (_, key) => this.get(key) ?? ''));
|
|
3205
3205
|
}
|
|
3206
3206
|
const openState = {
|
|
3207
3207
|
type: this.j.o.googleMaps.map.type,
|
|
@@ -3210,9 +3210,9 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3210
3210
|
...state,
|
|
3211
3211
|
...initialState
|
|
3212
3212
|
};
|
|
3213
|
-
const uiMap = new
|
|
3213
|
+
const uiMap = new _ui__WEBPACK_IMPORTED_MODULE_8__/* .UIMap */ .L6(dialog, openState, this.j.options);
|
|
3214
3214
|
uiMap.container.classList.add(dialog.getFullElName('map'));
|
|
3215
|
-
const search = new
|
|
3215
|
+
const search = new _ui_combo_box_combo_box__WEBPACK_IMPORTED_MODULE_7__/* .UIComboBox */ .A(jodit, {
|
|
3216
3216
|
icon: 'search',
|
|
3217
3217
|
placeholder: 'Search',
|
|
3218
3218
|
clearButton: true
|
|
@@ -3220,13 +3220,13 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3220
3220
|
search.container.classList.add(dialog.getFullElName('search'));
|
|
3221
3221
|
this.j.async
|
|
3222
3222
|
.promise((resolve) => {
|
|
3223
|
-
if ((0,
|
|
3223
|
+
if ((0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .isApiAvailable */ .uv)()) {
|
|
3224
3224
|
resolve(0);
|
|
3225
3225
|
return;
|
|
3226
3226
|
}
|
|
3227
3227
|
// TODO - Need check googleReady
|
|
3228
3228
|
const intervalChecker = () => {
|
|
3229
|
-
if ((0,
|
|
3229
|
+
if ((0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .isApiAvailable */ .uv)()) {
|
|
3230
3230
|
resolve(0);
|
|
3231
3231
|
}
|
|
3232
3232
|
else {
|
|
@@ -3234,7 +3234,7 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3234
3234
|
}
|
|
3235
3235
|
};
|
|
3236
3236
|
intervalChecker();
|
|
3237
|
-
(0,
|
|
3237
|
+
(0,_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .googleReady */ .Lp)(resolve);
|
|
3238
3238
|
})
|
|
3239
3239
|
.then(() => {
|
|
3240
3240
|
uiMap.setStatus('ready');
|
|
@@ -3270,16 +3270,16 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3270
3270
|
.setHeader([
|
|
3271
3271
|
search,
|
|
3272
3272
|
' ',
|
|
3273
|
-
(0,
|
|
3273
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__/* .Button */ .$n)(jodit, 'eye').onAction(() => {
|
|
3274
3274
|
const image = this.jodit.createInside.element('img');
|
|
3275
|
-
image.src = (0,
|
|
3275
|
+
image.src = (0,_helpers_static_url__WEBPACK_IMPORTED_MODULE_6__/* .staticUrl */ .o)(uiMap);
|
|
3276
3276
|
image.dataset.googleMaps = btoa(uiMap.json());
|
|
3277
3277
|
const data = { value: image.outerHTML };
|
|
3278
3278
|
this.onAfterGetValueFromEditor(data);
|
|
3279
3279
|
jodit.execCommand('preview', null, data.value);
|
|
3280
3280
|
})
|
|
3281
3281
|
])
|
|
3282
|
-
.setContent((0,
|
|
3282
|
+
.setContent((0,jodit_esm_modules_widget__WEBPACK_IMPORTED_MODULE_15__/* .TabsWidget */ .Zg)(jodit, [
|
|
3283
3283
|
{
|
|
3284
3284
|
name: 'Map',
|
|
3285
3285
|
icon: 'map',
|
|
@@ -3287,17 +3287,17 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3287
3287
|
},
|
|
3288
3288
|
{
|
|
3289
3289
|
name: 'Settings',
|
|
3290
|
-
content: new
|
|
3290
|
+
content: new _ui__WEBPACK_IMPORTED_MODULE_8__/* .UIMapsPropsForm */ .mk(jodit, uiMap.state)
|
|
3291
3291
|
},
|
|
3292
3292
|
{
|
|
3293
3293
|
name: 'Controls',
|
|
3294
3294
|
icon: 'menu',
|
|
3295
|
-
content: new
|
|
3295
|
+
content: new _ui__WEBPACK_IMPORTED_MODULE_8__/* .UIMapsControlsForm */ .S0(jodit, uiMap.state)
|
|
3296
3296
|
}
|
|
3297
3297
|
]))
|
|
3298
3298
|
.setFooter([
|
|
3299
|
-
(0,
|
|
3300
|
-
(0,
|
|
3299
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__/* .Button */ .$n)(jodit, 'cancel', 'Cancel', 'default').onAction(() => dialog.close()),
|
|
3300
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_13__/* .Button */ .$n)(jodit, 'ok', target ? 'Save' : 'Insert', 'primary').onAction(() => {
|
|
3301
3301
|
uiMap.destruct();
|
|
3302
3302
|
search.destruct();
|
|
3303
3303
|
dialog.e.off('beforeClose', onCLose);
|
|
@@ -3310,7 +3310,7 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3310
3310
|
if (uiMap.state.elements.length &&
|
|
3311
3311
|
JSON.stringify(uiMap.state.elements) !==
|
|
3312
3312
|
JSON.stringify(openState.elements)) {
|
|
3313
|
-
if (!
|
|
3313
|
+
if (!jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_9__.IS_TEST && !confirm(this.i18n('Are you sure?'))) {
|
|
3314
3314
|
return false;
|
|
3315
3315
|
}
|
|
3316
3316
|
}
|
|
@@ -3322,7 +3322,7 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3322
3322
|
}
|
|
3323
3323
|
getDialog() {
|
|
3324
3324
|
if (!this.dialog) {
|
|
3325
|
-
const dialog = new
|
|
3325
|
+
const dialog = new jodit_esm_modules_dialog_dialog__WEBPACK_IMPORTED_MODULE_14__/* .Dialog */ .l({
|
|
3326
3326
|
language: this.j.o.language
|
|
3327
3327
|
});
|
|
3328
3328
|
dialog.container.classList.add(this.getFullElName(''));
|
|
@@ -3332,7 +3332,7 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3332
3332
|
}
|
|
3333
3333
|
insertMap(target, uiMap) {
|
|
3334
3334
|
const image = target ?? this.jodit.createInside.element('img');
|
|
3335
|
-
image.src = (0,
|
|
3335
|
+
image.src = (0,_helpers_static_url__WEBPACK_IMPORTED_MODULE_6__/* .staticUrl */ .o)(uiMap);
|
|
3336
3336
|
image.dataset.googleMaps = btoa(uiMap.json());
|
|
3337
3337
|
target || this.jodit.s.insertImage(image);
|
|
3338
3338
|
}
|
|
@@ -3343,7 +3343,7 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3343
3343
|
}
|
|
3344
3344
|
onAfterGetValueFromEditor(data, consumer) {
|
|
3345
3345
|
if (this.j.o.googleMaps.useStaticImage ||
|
|
3346
|
-
consumer ===
|
|
3346
|
+
consumer === jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_9__.SOURCE_CONSUMER) {
|
|
3347
3347
|
return;
|
|
3348
3348
|
}
|
|
3349
3349
|
data.value = data.value.replace(
|
|
@@ -3354,21 +3354,21 @@ class googleMaps extends jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_8__/* .P
|
|
|
3354
3354
|
json = JSON.parse(this.j.ow.atob(jsonB64));
|
|
3355
3355
|
}
|
|
3356
3356
|
catch { }
|
|
3357
|
-
return `${_1} id="${json.uid}" ${q}data-google-maps${q}=${q2}${jsonB64}${q2}${rest}${(0,
|
|
3357
|
+
return `${_1} id="${json.uid}" ${q}data-google-maps${q}=${q2}${jsonB64}${q2}${rest}${(0,_helpers_generate_js_script__WEBPACK_IMPORTED_MODULE_4__/* .generateJSScript */ .M)(this.j, json)}`;
|
|
3358
3358
|
});
|
|
3359
3359
|
}
|
|
3360
3360
|
}
|
|
3361
3361
|
googleMaps.requires = ['license', 'color-picker'];
|
|
3362
|
-
(0,
|
|
3363
|
-
(0,
|
|
3362
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3363
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)('?:openOnDblClick')
|
|
3364
3364
|
], googleMaps.prototype, "onOpenOnDblClick", null);
|
|
3365
|
-
(0,
|
|
3366
|
-
(0,
|
|
3365
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3366
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)(':beforeSetNativeEditorValue')
|
|
3367
3367
|
], googleMaps.prototype, "onBeforeSetNativeEditorValue", null);
|
|
3368
|
-
(0,
|
|
3369
|
-
(0,
|
|
3368
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
3369
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_10__.watch)(':afterGetValueFromEditor')
|
|
3370
3370
|
], googleMaps.prototype, "onAfterGetValueFromEditor", null);
|
|
3371
|
-
|
|
3371
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_16__/* .JoditPro */ .A.plugins.add('google-maps', googleMaps);
|
|
3372
3372
|
|
|
3373
3373
|
|
|
3374
3374
|
/***/ }),
|
|
@@ -3380,12 +3380,12 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_12__/* .JoditPro */ .A.plugins.add(
|
|
|
3380
3380
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3381
3381
|
/* harmony export */ O: function() { return /* binding */ initOrUpdateElementFromState; }
|
|
3382
3382
|
/* harmony export */ });
|
|
3383
|
-
/* harmony import */ var
|
|
3384
|
-
/* harmony import */ var
|
|
3385
|
-
/* harmony import */ var
|
|
3386
|
-
/* harmony import */ var
|
|
3387
|
-
/* harmony import */ var
|
|
3388
|
-
/* harmony import */ var
|
|
3383
|
+
/* harmony import */ var _on_change_geometries__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62187);
|
|
3384
|
+
/* harmony import */ var _open_props_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32332);
|
|
3385
|
+
/* harmony import */ var _update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93636);
|
|
3386
|
+
/* harmony import */ var jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
3387
|
+
/* harmony import */ var jodit_esm_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12153);
|
|
3388
|
+
/* harmony import */ var jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(65533);
|
|
3389
3389
|
/*!
|
|
3390
3390
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3391
3391
|
* See LICENSE.md in the project root for license information.
|
|
@@ -3401,7 +3401,7 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3401
3401
|
const elm = this.mapElements[index];
|
|
3402
3402
|
if (elm) {
|
|
3403
3403
|
if (elm.state.type === state.type) {
|
|
3404
|
-
return
|
|
3404
|
+
return _update_state_and_gme__WEBPACK_IMPORTED_MODULE_2__/* .updateStateAndGme */ .B.call(this, state, index);
|
|
3405
3405
|
}
|
|
3406
3406
|
elm.gme.setMap(null);
|
|
3407
3407
|
}
|
|
@@ -3421,14 +3421,14 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3421
3421
|
draggable: true,
|
|
3422
3422
|
label: state.showCaption ? state.title : '',
|
|
3423
3423
|
title: state.title,
|
|
3424
|
-
icon: state.icon ?
|
|
3424
|
+
icon: state.icon ? jodit_esm_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.get(state.icon) : undefined,
|
|
3425
3425
|
map: this.map
|
|
3426
3426
|
});
|
|
3427
3427
|
break;
|
|
3428
3428
|
case 'polyline':
|
|
3429
3429
|
case 'polygon':
|
|
3430
3430
|
{
|
|
3431
|
-
const coordinates = (0,
|
|
3431
|
+
const coordinates = (0,jodit_pro_plugins_google_maps_helpers_helpers__WEBPACK_IMPORTED_MODULE_5__/* .arrayToPath */ .A3)(state.coordinates);
|
|
3432
3432
|
gme = new google.maps[state.type === 'polygon' ? 'Polygon' : 'Polyline']({
|
|
3433
3433
|
path: coordinates,
|
|
3434
3434
|
strokeColor: state.strokeColor,
|
|
@@ -3457,21 +3457,21 @@ function initOrUpdateElementFromState(state, index) {
|
|
|
3457
3457
|
}
|
|
3458
3458
|
const newElm = {
|
|
3459
3459
|
type: state.type,
|
|
3460
|
-
uid: (0,
|
|
3460
|
+
uid: (0,jodit_esm_core_global__WEBPACK_IMPORTED_MODULE_3__/* .uniqueUid */ .w9)(),
|
|
3461
3461
|
state,
|
|
3462
3462
|
gme
|
|
3463
3463
|
};
|
|
3464
3464
|
'dragend radius_changed center_changed'
|
|
3465
3465
|
.split(' ')
|
|
3466
|
-
.forEach((event) => gme.addListener(event, () =>
|
|
3466
|
+
.forEach((event) => gme.addListener(event, () => _on_change_geometries__WEBPACK_IMPORTED_MODULE_0__/* .onChangeGeometries */ .Q.call(this, newElm, index)));
|
|
3467
3467
|
if (newElm.type === 'polygon' || newElm.type === 'polyline') {
|
|
3468
3468
|
'insert_at set_at remove_at'
|
|
3469
3469
|
.split(' ')
|
|
3470
3470
|
.forEach((event) => newElm.gme
|
|
3471
3471
|
.getPath()
|
|
3472
|
-
.addListener(event, () =>
|
|
3472
|
+
.addListener(event, () => _on_change_geometries__WEBPACK_IMPORTED_MODULE_0__/* .onChangeGeometries */ .Q.call(this, newElm, index)));
|
|
3473
3473
|
}
|
|
3474
|
-
gme.addListener('click', () =>
|
|
3474
|
+
gme.addListener('click', () => _open_props_dialog__WEBPACK_IMPORTED_MODULE_1__/* .openPropsDialog */ .T.call(this, newElm, index));
|
|
3475
3475
|
this.mapElements[index] = newElm;
|
|
3476
3476
|
}
|
|
3477
3477
|
|