jodit 4.0.0-beta.69 → 4.0.0-beta.74
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/README.md +4 -4
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2 -2
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2 -2
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2 -2
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2 -2
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2 -2
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/config.d.ts +1 -1
- package/esm/config.js +2 -2
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/async.js +8 -8
- package/esm/core/async/index.d.ts +1 -1
- package/esm/core/component/component.d.ts +1 -1
- package/esm/core/component/component.js +4 -4
- package/esm/core/component/index.d.ts +3 -3
- package/esm/core/component/view-component.d.ts +2 -2
- package/esm/core/constants.d.ts +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +5 -2
- package/esm/core/create/create.js +4 -4
- package/esm/core/create/index.d.ts +1 -1
- package/esm/core/decorators/cache/cache.d.ts +1 -1
- package/esm/core/decorators/cache/cache.js +4 -4
- package/esm/core/decorators/debounce/debounce.d.ts +1 -1
- package/esm/core/decorators/debounce/debounce.js +4 -4
- package/esm/core/decorators/derive/derive.js +1 -1
- package/esm/core/decorators/hook/hook.d.ts +2 -2
- package/esm/core/decorators/hook/hook.js +2 -2
- package/esm/core/decorators/idle/idle.d.ts +1 -1
- package/esm/core/decorators/idle/idle.js +3 -3
- package/esm/core/decorators/index.d.ts +11 -11
- package/esm/core/decorators/persistent/persistent.d.ts +1 -1
- package/esm/core/decorators/persistent/persistent.js +2 -2
- package/esm/core/decorators/wait/wait.d.ts +1 -1
- package/esm/core/decorators/wait/wait.js +3 -3
- package/esm/core/decorators/watch/watch.d.ts +1 -1
- package/esm/core/decorators/watch/watch.js +7 -7
- package/esm/core/dom/dom.d.ts +1 -1
- package/esm/core/dom/dom.js +6 -6
- package/esm/core/dom/index.d.ts +2 -2
- package/esm/core/dom/lazy-walker.d.ts +2 -2
- package/esm/core/dom/lazy-walker.js +3 -3
- package/esm/core/event-emitter/event-emitter.d.ts +1 -1
- package/esm/core/event-emitter/event-emitter.js +6 -6
- package/esm/core/event-emitter/eventify.d.ts +1 -1
- package/esm/core/event-emitter/index.d.ts +4 -4
- package/esm/core/event-emitter/observable.d.ts +1 -1
- package/esm/core/event-emitter/observable.js +4 -4
- package/esm/core/event-emitter/store.d.ts +1 -1
- package/esm/core/event-emitter/store.js +2 -2
- package/esm/core/global.d.ts +3 -3
- package/esm/core/global.js +1 -1
- package/esm/core/helpers/array/as-array.js +1 -1
- package/esm/core/helpers/array/index.d.ts +3 -3
- package/esm/core/helpers/array/to-array.js +2 -2
- package/esm/core/helpers/async/index.d.ts +1 -1
- package/esm/core/helpers/checker/index.d.ts +24 -24
- package/esm/core/helpers/checker/is-equal.js +1 -1
- package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
- package/esm/core/helpers/checker/is-imp-interface.js +1 -1
- package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-marker.d.ts +1 -1
- package/esm/core/helpers/checker/is-marker.js +2 -2
- package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-string.js +1 -1
- package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
- package/esm/core/helpers/color/index.d.ts +1 -1
- package/esm/core/helpers/html/apply-styles.js +4 -4
- package/esm/core/helpers/html/clean-from-word.js +3 -3
- package/esm/core/helpers/html/index.d.ts +6 -6
- package/esm/core/helpers/html/safe-html.js +2 -2
- package/esm/core/helpers/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/html/strip-tags.js +4 -4
- package/esm/core/helpers/index.d.ts +9 -9
- package/esm/core/helpers/normalize/index.d.ts +8 -8
- package/esm/core/helpers/normalize/normalize-color.js +2 -2
- package/esm/core/helpers/normalize/normalize-css-value.js +4 -4
- package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -2
- package/esm/core/helpers/normalize/normalize-path.js +1 -1
- package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/esm/core/helpers/size/get-scroll-parent.js +2 -2
- package/esm/core/helpers/size/index.d.ts +6 -6
- package/esm/core/helpers/size/object-size.d.ts +1 -1
- package/esm/core/helpers/size/object-size.js +1 -1
- package/esm/core/helpers/size/offset.d.ts +1 -1
- package/esm/core/helpers/size/position.d.ts +1 -1
- package/esm/core/helpers/size/position.js +1 -1
- package/esm/core/helpers/string/fuzzy-search-index.d.ts +4 -1
- package/esm/core/helpers/string/fuzzy-search-index.js +1 -1
- package/esm/core/helpers/string/i18n.d.ts +1 -1
- package/esm/core/helpers/string/i18n.js +5 -5
- package/esm/core/helpers/string/index.d.ts +7 -7
- package/esm/core/helpers/string/trim.js +1 -1
- package/esm/core/helpers/utils/align.d.ts +1 -1
- package/esm/core/helpers/utils/align.js +2 -2
- package/esm/core/helpers/utils/append-script.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.js +2 -2
- package/esm/core/helpers/utils/attr.d.ts +1 -1
- package/esm/core/helpers/utils/attr.js +2 -2
- package/esm/core/helpers/utils/build-query.d.ts +1 -1
- package/esm/core/helpers/utils/build-query.js +1 -1
- package/esm/core/helpers/utils/config-proto.d.ts +1 -1
- package/esm/core/helpers/utils/config-proto.js +5 -5
- package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +1 -1
- package/esm/core/helpers/utils/css.d.ts +1 -1
- package/esm/core/helpers/utils/css.js +5 -5
- package/esm/core/helpers/utils/data-bind.d.ts +1 -1
- package/esm/core/helpers/utils/data-bind.js +1 -1
- package/esm/core/helpers/utils/default-language.js +1 -1
- package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
- package/esm/core/helpers/utils/error/index.d.ts +2 -2
- package/esm/core/helpers/utils/extend.js +1 -1
- package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
- package/esm/core/helpers/utils/get-class-name.js +1 -1
- package/esm/core/helpers/utils/get.d.ts +1 -1
- package/esm/core/helpers/utils/get.js +2 -2
- package/esm/core/helpers/utils/index.d.ts +28 -28
- package/esm/core/helpers/utils/parse-query.d.ts +1 -1
- package/esm/core/helpers/utils/print.d.ts +5 -2
- package/esm/core/helpers/utils/print.js +2 -2
- package/esm/core/helpers/utils/reset.d.ts +1 -1
- package/esm/core/helpers/utils/reset.js +2 -2
- package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/esm/core/helpers/utils/scroll-into-view.js +1 -1
- package/esm/core/helpers/utils/selector.d.ts +1 -1
- package/esm/core/helpers/utils/selector.js +8 -8
- package/esm/core/helpers/utils/set.d.ts +1 -1
- package/esm/core/helpers/utils/set.js +4 -4
- package/esm/core/helpers/utils/stack.d.ts +1 -1
- package/esm/core/helpers/utils/utils.d.ts +2 -2
- package/esm/core/helpers/utils/utils.js +2 -2
- package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/init-instance.js +3 -3
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/load.js +4 -4
- package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/make-instance.js +2 -2
- package/esm/core/plugin/helpers/utils.js +1 -1
- package/esm/core/plugin/index.d.ts +2 -2
- package/esm/core/plugin/plugin-system.d.ts +2 -2
- package/esm/core/plugin/plugin-system.js +8 -8
- package/esm/core/plugin/plugin.d.ts +2 -2
- package/esm/core/plugin/plugin.js +3 -3
- package/esm/core/request/ajax.d.ts +2 -2
- package/esm/core/request/ajax.js +5 -5
- package/esm/core/request/config.d.ts +1 -1
- package/esm/core/request/config.js +1 -1
- package/esm/core/request/index.d.ts +2 -2
- package/esm/core/request/response.d.ts +1 -1
- package/esm/core/selection/helpers/index.d.ts +2 -2
- package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/esm/core/selection/helpers/move-node-inside-start.js +2 -2
- package/esm/core/selection/helpers/move-the-node-along-the-edge-outward.js +1 -1
- package/esm/core/selection/index.d.ts +2 -2
- package/esm/core/selection/selection.d.ts +16 -4
- package/esm/core/selection/selection.js +8 -8
- package/esm/core/selection/style/api/extract.d.ts +1 -1
- package/esm/core/selection/style/api/extract.js +4 -4
- package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/esm/core/selection/style/api/finite-state-machine.js +3 -3
- package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-child.js +1 -1
- package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-parent.js +1 -1
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.js +5 -5
- package/esm/core/selection/style/api/index.d.ts +15 -15
- package/esm/core/selection/style/api/is-inside-invisible-element.js +1 -1
- package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/esm/core/selection/style/api/is-normal-node.js +2 -2
- package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/is-same-attributes.js +3 -3
- package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/esm/core/selection/style/api/is-suit-element.js +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.js +5 -5
- package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/wrap-list.js +3 -3
- package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/toggle-attributes.js +10 -10
- package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/esm/core/selection/style/api/unwrap-children.js +3 -3
- package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/esm/core/selection/style/api/wrap-unwrapped-text.js +2 -2
- package/esm/core/selection/style/api/wrap.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.js +2 -2
- package/esm/core/selection/style/apply-style.d.ts +1 -1
- package/esm/core/selection/style/commit-style.d.ts +1 -1
- package/esm/core/selection/style/commit-style.js +2 -2
- package/esm/core/selection/style/transactions.d.ts +1 -1
- package/esm/core/selection/style/transactions.js +6 -6
- package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/esm/core/storage/index.d.ts +3 -3
- package/esm/core/storage/storage.d.ts +1 -1
- package/esm/core/storage/storage.js +1 -1
- package/esm/core/traits/dlgs.d.ts +1 -1
- package/esm/core/traits/dlgs.js +3 -3
- package/esm/core/traits/elms.d.ts +1 -1
- package/esm/core/traits/elms.js +1 -1
- package/esm/core/traits/mods.d.ts +1 -1
- package/esm/core/traits/mods.js +1 -1
- package/esm/core/ui/button/button/button.d.ts +2 -2
- package/esm/core/ui/button/button/button.js +9 -9
- package/esm/core/ui/button/group/group.d.ts +2 -2
- package/esm/core/ui/button/group/group.js +4 -4
- package/esm/core/ui/button/index.d.ts +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/esm/core/ui/button/tooltip/tooltip.js +7 -7
- package/esm/core/ui/element.d.ts +4 -4
- package/esm/core/ui/element.js +7 -7
- package/esm/core/ui/form/block/block.d.ts +2 -2
- package/esm/core/ui/form/block/block.js +3 -3
- package/esm/core/ui/form/form.d.ts +2 -2
- package/esm/core/ui/form/form.js +6 -6
- package/esm/core/ui/form/index.d.ts +3 -3
- package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
- package/esm/core/ui/form/inputs/area/area.js +2 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.js +3 -3
- package/esm/core/ui/form/inputs/file/file.d.ts +2 -2
- package/esm/core/ui/form/inputs/file/file.js +3 -3
- package/esm/core/ui/form/inputs/index.d.ts +5 -5
- package/esm/core/ui/form/inputs/input/input.d.ts +2 -2
- package/esm/core/ui/form/inputs/input/input.js +7 -7
- package/esm/core/ui/form/inputs/select/select.d.ts +2 -2
- package/esm/core/ui/form/inputs/select/select.js +4 -4
- package/esm/core/ui/form/validators/index.d.ts +2 -2
- package/esm/core/ui/form/validators/input.d.ts +1 -1
- package/esm/core/ui/form/validators/input.js +2 -2
- package/esm/core/ui/form/validators/select.d.ts +2 -2
- package/esm/core/ui/form/validators/select.js +1 -1
- package/esm/core/ui/group/group.d.ts +3 -3
- package/esm/core/ui/group/group.js +6 -6
- package/esm/core/ui/group/index.d.ts +4 -4
- package/esm/core/ui/group/list.d.ts +2 -2
- package/esm/core/ui/group/list.js +10 -10
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/separator.js +2 -2
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/group/spacer.js +2 -2
- package/esm/core/ui/helpers/buttons.d.ts +1 -1
- package/esm/core/ui/helpers/buttons.js +1 -1
- package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
- package/esm/core/ui/helpers/get-control-type.js +2 -2
- package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.js +3 -3
- package/esm/core/ui/icon.d.ts +1 -1
- package/esm/core/ui/icon.js +3 -3
- package/esm/core/ui/index.d.ts +7 -7
- package/esm/core/ui/popup/index.d.ts +1 -1
- package/esm/core/ui/popup/popup.d.ts +2 -2
- package/esm/core/ui/popup/popup.js +7 -7
- package/esm/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/esm/core/ui/progress-bar/progress-bar.js +2 -2
- package/esm/core/view/view-with-toolbar.d.ts +2 -2
- package/esm/core/view/view-with-toolbar.js +9 -9
- package/esm/core/view/view.d.ts +4 -4
- package/esm/core/view/view.js +10 -10
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/esm/jodit.d.ts +6 -6
- package/esm/jodit.js +9 -9
- package/esm/languages.d.ts +1 -1
- package/esm/languages.js +22 -22
- package/esm/modules/context-menu/context-menu.d.ts +2 -2
- package/esm/modules/context-menu/context-menu.js +4 -4
- package/esm/modules/dialog/alert.d.ts +1 -1
- package/esm/modules/dialog/alert.js +4 -4
- package/esm/modules/dialog/confirm.d.ts +1 -1
- package/esm/modules/dialog/confirm.js +3 -3
- package/esm/modules/dialog/dialog.d.ts +2 -2
- package/esm/modules/dialog/dialog.js +13 -13
- package/esm/modules/dialog/index.d.ts +4 -4
- package/esm/modules/dialog/prompt.d.ts +1 -1
- package/esm/modules/dialog/prompt.js +3 -3
- package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/esm/modules/file-browser/builders/context-menu.js +9 -9
- package/esm/modules/file-browser/builders/elements-map.d.ts +1 -1
- package/esm/modules/file-browser/builders/item.d.ts +1 -1
- package/esm/modules/file-browser/builders/item.js +1 -1
- package/esm/modules/file-browser/config.d.ts +1 -1
- package/esm/modules/file-browser/config.js +4 -4
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.js +5 -5
- package/esm/modules/file-browser/factories.d.ts +1 -1
- package/esm/modules/file-browser/factories.js +1 -1
- package/esm/modules/file-browser/fetch/delete-file.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-items.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-tree.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-tree.js +2 -2
- package/esm/modules/file-browser/file-browser.d.ts +6 -6
- package/esm/modules/file-browser/file-browser.js +11 -11
- package/esm/modules/file-browser/index.d.ts +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.js +5 -5
- package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/self-listeners.js +7 -7
- package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/state-listeners.js +5 -5
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.js +1 -1
- package/esm/modules/file-browser/ui/index.d.ts +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/file-browser/ui/tree/tree.js +1 -1
- package/esm/modules/history/command.d.ts +2 -2
- package/esm/modules/history/history.d.ts +4 -4
- package/esm/modules/history/history.js +3 -3
- package/esm/modules/history/snapshot.d.ts +2 -2
- package/esm/modules/history/snapshot.js +3 -3
- package/esm/modules/history/stack.d.ts +2 -2
- package/esm/modules/image-editor/config.d.ts +1 -1
- package/esm/modules/image-editor/config.js +2 -2
- package/esm/modules/image-editor/image-editor.d.ts +3 -3
- package/esm/modules/image-editor/image-editor.js +6 -6
- package/esm/modules/image-editor/templates/form.d.ts +1 -1
- package/esm/modules/image-editor/templates/form.js +1 -1
- package/esm/modules/index.d.ts +26 -26
- package/esm/modules/index.js +13 -13
- package/esm/modules/messages/message.d.ts +2 -2
- package/esm/modules/messages/message.js +2 -2
- package/esm/modules/messages/messages.d.ts +2 -2
- package/esm/modules/messages/messages.js +4 -4
- package/esm/modules/status-bar/status-bar.d.ts +4 -4
- package/esm/modules/status-bar/status-bar.js +5 -5
- package/esm/modules/table/table.d.ts +2 -2
- package/esm/modules/table/table.js +6 -6
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/button.js +10 -10
- package/esm/modules/toolbar/button/content.d.ts +2 -2
- package/esm/modules/toolbar/button/content.js +4 -4
- package/esm/modules/toolbar/button/index.d.ts +2 -2
- package/esm/modules/toolbar/collection/collection.d.ts +3 -3
- package/esm/modules/toolbar/collection/collection.js +4 -4
- package/esm/modules/toolbar/collection/editor-collection.d.ts +2 -2
- package/esm/modules/toolbar/collection/editor-collection.js +4 -4
- package/esm/modules/toolbar/factory.d.ts +1 -1
- package/esm/modules/toolbar/factory.js +1 -1
- package/esm/modules/uploader/config.d.ts +1 -1
- package/esm/modules/uploader/config.js +3 -3
- package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
- package/esm/modules/uploader/helpers/build-data.js +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +6 -6
- package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/esm/modules/uploader/helpers/process-old-browser-drag.js +4 -4
- package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
- package/esm/modules/uploader/helpers/send-files.js +2 -2
- package/esm/modules/uploader/helpers/send.d.ts +2 -2
- package/esm/modules/uploader/helpers/send.js +3 -3
- package/esm/modules/uploader/uploader.d.ts +3 -3
- package/esm/modules/uploader/uploader.js +5 -5
- package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/esm/modules/widget/color-picker/color-picker.js +3 -3
- package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/esm/modules/widget/file-selector/file-selector.js +4 -4
- package/esm/modules/widget/index.d.ts +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +2 -2
- package/esm/modules/widget/tabs/tabs.js +5 -5
- package/esm/plugins/about/about.js +6 -6
- package/esm/plugins/add-new-line/add-new-line.d.ts +3 -3
- package/esm/plugins/add-new-line/add-new-line.js +4 -4
- package/esm/plugins/add-new-line/config.d.ts +1 -1
- package/esm/plugins/add-new-line/config.js +2 -2
- package/esm/plugins/backspace/backspace.d.ts +3 -3
- package/esm/plugins/backspace/backspace.js +6 -6
- package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-neighbors.js +3 -3
- package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-two-lists.js +3 -3
- package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +2 -2
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -4
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.js +2 -2
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +2 -2
- package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-table-cell.js +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +2 -2
- package/esm/plugins/backspace/cases/index.d.ts +2 -2
- package/esm/plugins/backspace/config.js +1 -1
- package/esm/plugins/backspace/helpers.d.ts +1 -1
- package/esm/plugins/backspace/helpers.js +1 -1
- package/esm/plugins/bold/bold.d.ts +3 -3
- package/esm/plugins/bold/bold.js +4 -4
- package/esm/plugins/bold/config.js +1 -1
- package/esm/plugins/class-span/class-span.d.ts +2 -2
- package/esm/plugins/class-span/class-span.js +6 -6
- package/esm/plugins/clean-html/clean-html.d.ts +3 -3
- package/esm/plugins/clean-html/clean-html.js +6 -6
- package/esm/plugins/clean-html/config.d.ts +1 -1
- package/esm/plugins/clean-html/config.js +2 -2
- package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/get-hash.js +2 -2
- package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js +2 -2
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +3 -3
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +1 -1
- package/esm/plugins/clipboard/clipboard.d.ts +3 -3
- package/esm/plugins/clipboard/clipboard.js +3 -3
- package/esm/plugins/clipboard/config.js +2 -2
- package/esm/plugins/color/color.d.ts +2 -2
- package/esm/plugins/color/color.js +2 -2
- package/esm/plugins/color/config.js +5 -5
- package/esm/plugins/copy-format/copy-format.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.js +5 -5
- package/esm/plugins/copy-format/langs/index.d.ts +20 -20
- package/esm/plugins/debug/debug.d.ts +2 -2
- package/esm/plugins/delete/delete.d.ts +3 -3
- package/esm/plugins/delete/delete.js +5 -5
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/esm/plugins/drag-and-drop/drag-and-drop.js +7 -7
- package/esm/plugins/drag-and-drop-element/config.js +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +2 -2
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +5 -5
- package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.js +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.js +1 -1
- package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
- package/esm/plugins/dtd/config.d.ts +1 -1
- package/esm/plugins/dtd/config.js +1 -1
- package/esm/plugins/dtd/dtd.d.ts +1 -1
- package/esm/plugins/dtd/dtd.js +3 -3
- package/esm/plugins/enter/enter.d.ts +3 -3
- package/esm/plugins/enter/enter.js +6 -6
- package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-br.js +3 -3
- package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-unsplittable-box.js +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.js +2 -2
- package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/esm/plugins/enter/helpers/has-previous-block.js +1 -1
- package/esm/plugins/enter/helpers/index.d.ts +9 -9
- package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/esm/plugins/enter/helpers/insert-paragraph.js +2 -2
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.js +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.js +2 -2
- package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/esm/plugins/enter/helpers/split-fragment.js +2 -2
- package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/esm/plugins/enter/helpers/wrap-text.js +1 -1
- package/esm/plugins/file/file.d.ts +1 -1
- package/esm/plugins/file/file.js +4 -4
- package/esm/plugins/focus/focus.d.ts +1 -1
- package/esm/plugins/focus/focus.js +3 -3
- package/esm/plugins/font/config.js +4 -4
- package/esm/plugins/font/font.d.ts +2 -2
- package/esm/plugins/font/font.js +2 -2
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/format-block/format-block.js +5 -5
- package/esm/plugins/fullsize/config.js +3 -3
- package/esm/plugins/fullsize/fullsize.d.ts +2 -2
- package/esm/plugins/fullsize/fullsize.js +3 -3
- package/esm/plugins/hotkeys/config.d.ts +1 -1
- package/esm/plugins/hotkeys/config.js +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +3 -3
- package/esm/plugins/hotkeys/hotkeys.js +4 -4
- package/esm/plugins/hr/hr.d.ts +1 -1
- package/esm/plugins/hr/hr.js +4 -4
- package/esm/plugins/iframe/config.js +1 -1
- package/esm/plugins/iframe/iframe.d.ts +2 -2
- package/esm/plugins/iframe/iframe.js +4 -4
- package/esm/plugins/image/image.d.ts +1 -1
- package/esm/plugins/image/image.js +6 -6
- package/esm/plugins/image-processor/config.js +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +3 -3
- package/esm/plugins/image-processor/image-processor.js +5 -5
- package/esm/plugins/image-properties/config.d.ts +4 -1
- package/esm/plugins/image-properties/config.js +1 -1
- package/esm/plugins/image-properties/image-properties.d.ts +3 -3
- package/esm/plugins/image-properties/image-properties.js +7 -7
- package/esm/plugins/image-properties/templates/form.d.ts +1 -1
- package/esm/plugins/image-properties/templates/form.js +1 -1
- package/esm/plugins/image-properties/templates/main-tab.d.ts +1 -1
- package/esm/plugins/image-properties/templates/main-tab.js +1 -1
- package/esm/plugins/image-properties/templates/position-tab.d.ts +1 -1
- package/esm/plugins/image-properties/templates/position-tab.js +1 -1
- package/esm/plugins/indent/config.js +3 -3
- package/esm/plugins/indent/helpers.js +1 -1
- package/esm/plugins/indent/indent.d.ts +2 -2
- package/esm/plugins/indent/indent.js +4 -4
- package/esm/plugins/index.d.ts +61 -61
- package/esm/plugins/index.js +17 -17
- package/esm/plugins/inline-popup/config/config.d.ts +1 -1
- package/esm/plugins/inline-popup/config/config.js +9 -9
- package/esm/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/a.js +1 -1
- package/esm/plugins/inline-popup/config/items/cells.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/cells.js +3 -3
- package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/img.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/img.js +4 -4
- package/esm/plugins/inline-popup/inline-popup.d.ts +3 -3
- package/esm/plugins/inline-popup/inline-popup.js +8 -8
- package/esm/plugins/justify/justify.d.ts +1 -1
- package/esm/plugins/justify/justify.js +6 -6
- package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +5 -5
- package/esm/plugins/limit/config.js +1 -1
- package/esm/plugins/limit/limit.d.ts +3 -3
- package/esm/plugins/limit/limit.js +4 -4
- package/esm/plugins/line-height/config.js +3 -3
- package/esm/plugins/line-height/langs/index.d.ts +20 -20
- package/esm/plugins/line-height/line-height.d.ts +3 -3
- package/esm/plugins/line-height/line-height.js +5 -5
- package/esm/plugins/link/config.d.ts +1 -1
- package/esm/plugins/link/config.js +3 -3
- package/esm/plugins/link/link.d.ts +3 -3
- package/esm/plugins/link/link.js +5 -5
- package/esm/plugins/link/template.d.ts +1 -1
- package/esm/plugins/link/template.js +2 -2
- package/esm/plugins/media/config.js +1 -1
- package/esm/plugins/media/media.d.ts +2 -2
- package/esm/plugins/media/media.js +3 -3
- package/esm/plugins/mobile/config.js +5 -5
- package/esm/plugins/mobile/mobile.d.ts +2 -2
- package/esm/plugins/mobile/mobile.js +3 -3
- package/esm/plugins/ordered-list/config.js +3 -3
- package/esm/plugins/ordered-list/ordered-list.d.ts +3 -3
- package/esm/plugins/ordered-list/ordered-list.js +3 -3
- package/esm/plugins/paste/config.d.ts +1 -1
- package/esm/plugins/paste/config.js +2 -2
- package/esm/plugins/paste/helpers.d.ts +2 -2
- package/esm/plugins/paste/helpers.js +4 -4
- package/esm/plugins/paste/interface.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +4 -4
- package/esm/plugins/paste/paste.js +6 -6
- package/esm/plugins/paste-from-word/config.d.ts +1 -1
- package/esm/plugins/paste-from-word/config.js +2 -2
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +4 -4
- package/esm/plugins/paste-from-word/paste-from-word.js +6 -6
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/esm/plugins/paste-storage/paste-storage.js +6 -6
- package/esm/plugins/placeholder/config.js +1 -1
- package/esm/plugins/placeholder/placeholder.d.ts +3 -3
- package/esm/plugins/placeholder/placeholder.js +9 -9
- package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/esm/plugins/powered-by-jodit/powered-by-jodit.js +1 -1
- package/esm/plugins/preview/preview.d.ts +1 -1
- package/esm/plugins/preview/preview.js +4 -4
- package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/esm/plugins/print/lib/generate-critical-css.js +1 -1
- package/esm/plugins/print/print.d.ts +1 -1
- package/esm/plugins/print/print.js +8 -8
- package/esm/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/esm/plugins/redo-undo/redo-undo.js +5 -5
- package/esm/plugins/resize-cells/config.js +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +3 -3
- package/esm/plugins/resize-cells/resize-cells.js +6 -6
- package/esm/plugins/resize-handler/config.js +1 -1
- package/esm/plugins/resize-handler/resize-handler.d.ts +3 -3
- package/esm/plugins/resize-handler/resize-handler.js +5 -5
- package/esm/plugins/resizer/config.d.ts +1 -1
- package/esm/plugins/resizer/config.js +1 -1
- package/esm/plugins/resizer/resizer.d.ts +3 -3
- package/esm/plugins/resizer/resizer.js +8 -8
- package/esm/plugins/search/config.d.ts +2 -2
- package/esm/plugins/search/config.js +2 -2
- package/esm/plugins/search/helpers/index.d.ts +2 -2
- package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/esm/plugins/search/helpers/sentence-finder.js +1 -1
- package/esm/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.d.ts +1 -1
- package/esm/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.js +2 -2
- package/esm/plugins/search/search.d.ts +4 -4
- package/esm/plugins/search/search.js +7 -7
- package/esm/plugins/search/ui/search.d.ts +2 -2
- package/esm/plugins/search/ui/search.js +6 -6
- package/esm/plugins/select/config.js +1 -1
- package/esm/plugins/select/select.d.ts +3 -3
- package/esm/plugins/select/select.js +6 -6
- package/esm/plugins/select-cells/config.js +1 -1
- package/esm/plugins/select-cells/select-cells.d.ts +3 -3
- package/esm/plugins/select-cells/select-cells.js +7 -7
- package/esm/plugins/size/config.js +1 -1
- package/esm/plugins/size/size.d.ts +3 -3
- package/esm/plugins/size/size.js +5 -5
- package/esm/plugins/source/config.d.ts +1 -1
- package/esm/plugins/source/config.js +3 -3
- package/esm/plugins/source/editor/engines/ace.d.ts +3 -3
- package/esm/plugins/source/editor/engines/ace.js +3 -3
- package/esm/plugins/source/editor/engines/area.d.ts +2 -2
- package/esm/plugins/source/editor/engines/area.js +3 -3
- package/esm/plugins/source/editor/engines/index.d.ts +2 -2
- package/esm/plugins/source/editor/factory.d.ts +1 -1
- package/esm/plugins/source/editor/factory.js +1 -1
- package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/esm/plugins/source/source.d.ts +3 -3
- package/esm/plugins/source/source.js +7 -7
- package/esm/plugins/speech-recognize/config.d.ts +2 -2
- package/esm/plugins/speech-recognize/config.js +4 -4
- package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
- package/esm/plugins/speech-recognize/helpers/recognize-manager.js +3 -3
- package/esm/plugins/speech-recognize/helpers/sound.js +1 -1
- package/esm/plugins/speech-recognize/langs/index.d.ts +20 -20
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +3 -3
- package/esm/plugins/speech-recognize/speech-recognize.js +6 -6
- package/esm/plugins/spellcheck/config.js +2 -2
- package/esm/plugins/spellcheck/langs/index.d.ts +20 -20
- package/esm/plugins/spellcheck/spellcheck.d.ts +3 -3
- package/esm/plugins/spellcheck/spellcheck.js +4 -4
- package/esm/plugins/stat/config.js +1 -1
- package/esm/plugins/stat/stat.d.ts +2 -2
- package/esm/plugins/stat/stat.js +4 -4
- package/esm/plugins/sticky/config.js +1 -1
- package/esm/plugins/sticky/sticky.d.ts +3 -3
- package/esm/plugins/sticky/sticky.js +6 -6
- package/esm/plugins/symbols/config.js +2 -2
- package/esm/plugins/symbols/langs/index.d.ts +20 -20
- package/esm/plugins/symbols/symbols.d.ts +3 -3
- package/esm/plugins/symbols/symbols.js +5 -5
- package/esm/plugins/tab/cases/index.d.ts +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.js +2 -2
- package/esm/plugins/tab/config.js +1 -1
- package/esm/plugins/tab/tab.d.ts +1 -1
- package/esm/plugins/tab/tab.js +4 -4
- package/esm/plugins/table/config.js +5 -5
- package/esm/plugins/table/table.d.ts +2 -2
- package/esm/plugins/table/table.js +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +4 -4
- package/esm/plugins/video/config.js +6 -6
- package/esm/plugins/video/video.d.ts +1 -1
- package/esm/plugins/video/video.js +1 -1
- package/esm/plugins/wrap-nodes/config.d.ts +1 -1
- package/esm/plugins/wrap-nodes/config.js +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.js +5 -5
- package/esm/plugins/xpath/config.js +1 -1
- package/esm/plugins/xpath/xpath.d.ts +1 -1
- package/esm/plugins/xpath/xpath.js +7 -7
- package/esm/types/ajax.d.ts +51 -83
- package/esm/types/async.d.ts +34 -74
- package/esm/types/context.d.ts +7 -15
- package/esm/types/core.d.ts +2 -8
- package/esm/types/create.d.ts +38 -89
- package/esm/types/dialog.d.ts +23 -40
- package/esm/types/events.d.ts +117 -168
- package/esm/types/file-browser.d.ts +180 -305
- package/esm/types/form.d.ts +2 -4
- package/esm/types/history.d.ts +25 -40
- package/esm/types/index.d.ts +23 -25
- package/esm/types/jodit.d.ts +96 -159
- package/esm/types/messages.d.ts +5 -7
- package/esm/types/plugin.d.ts +35 -50
- package/esm/types/popup.d.ts +13 -30
- package/esm/types/select.d.ts +57 -83
- package/esm/types/source.d.ts +15 -23
- package/esm/types/storage.d.ts +6 -14
- package/esm/types/style.d.ts +31 -77
- package/esm/types/toolbar.d.ts +238 -352
- package/esm/types/traits.d.ts +15 -44
- package/esm/types/types.d.ts +150 -238
- package/esm/types/ui.d.ts +99 -159
- package/esm/types/uploader.d.ts +93 -140
- package/esm/types/view.d.ts +86 -146
- package/esm/typings.d.ts +2 -4
- package/package.json +1 -1
- package/types/config.d.ts +1 -1
- package/types/core/async/async.d.ts +1 -1
- package/types/core/async/index.d.ts +1 -1
- package/types/core/component/component.d.ts +1 -1
- package/types/core/component/index.d.ts +3 -3
- package/types/core/component/view-component.d.ts +2 -2
- package/types/core/constants.d.ts +1 -1
- package/types/core/create/create.d.ts +5 -2
- package/types/core/create/index.d.ts +1 -1
- package/types/core/decorators/cache/cache.d.ts +1 -1
- package/types/core/decorators/debounce/debounce.d.ts +1 -1
- package/types/core/decorators/hook/hook.d.ts +2 -2
- package/types/core/decorators/idle/idle.d.ts +1 -1
- package/types/core/decorators/index.d.ts +11 -11
- package/types/core/decorators/persistent/persistent.d.ts +1 -1
- package/types/core/decorators/wait/wait.d.ts +1 -1
- package/types/core/decorators/watch/watch.d.ts +1 -1
- package/types/core/dom/dom.d.ts +1 -1
- package/types/core/dom/index.d.ts +2 -2
- package/types/core/dom/lazy-walker.d.ts +2 -2
- package/types/core/event-emitter/event-emitter.d.ts +1 -1
- package/types/core/event-emitter/eventify.d.ts +1 -1
- package/types/core/event-emitter/index.d.ts +4 -4
- package/types/core/event-emitter/observable.d.ts +1 -1
- package/types/core/event-emitter/store.d.ts +1 -1
- package/types/core/global.d.ts +3 -3
- package/types/core/helpers/array/index.d.ts +3 -3
- package/types/core/helpers/async/index.d.ts +1 -1
- package/types/core/helpers/checker/index.d.ts +24 -24
- package/types/core/helpers/checker/is-imp-interface.d.ts +1 -1
- package/types/core/helpers/checker/is-jodit-object.d.ts +1 -1
- package/types/core/helpers/checker/is-marker.d.ts +1 -1
- package/types/core/helpers/checker/is-plain-object.d.ts +1 -1
- package/types/core/helpers/checker/is-view-object.d.ts +1 -1
- package/types/core/helpers/color/index.d.ts +1 -1
- package/types/core/helpers/html/index.d.ts +6 -6
- package/types/core/helpers/html/strip-tags.d.ts +1 -1
- package/types/core/helpers/index.d.ts +9 -9
- package/types/core/helpers/normalize/index.d.ts +8 -8
- package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/types/core/helpers/size/index.d.ts +6 -6
- package/types/core/helpers/size/object-size.d.ts +1 -1
- package/types/core/helpers/size/offset.d.ts +1 -1
- package/types/core/helpers/size/position.d.ts +1 -1
- package/types/core/helpers/string/fuzzy-search-index.d.ts +4 -1
- package/types/core/helpers/string/i18n.d.ts +1 -1
- package/types/core/helpers/string/index.d.ts +7 -7
- package/types/core/helpers/utils/align.d.ts +1 -1
- package/types/core/helpers/utils/append-script.d.ts +1 -1
- package/types/core/helpers/utils/attr.d.ts +1 -1
- package/types/core/helpers/utils/build-query.d.ts +1 -1
- package/types/core/helpers/utils/config-proto.d.ts +1 -1
- package/types/core/helpers/utils/css.d.ts +1 -1
- package/types/core/helpers/utils/data-bind.d.ts +1 -1
- package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
- package/types/core/helpers/utils/error/index.d.ts +2 -2
- package/types/core/helpers/utils/get-class-name.d.ts +1 -1
- package/types/core/helpers/utils/get.d.ts +1 -1
- package/types/core/helpers/utils/index.d.ts +28 -28
- package/types/core/helpers/utils/parse-query.d.ts +1 -1
- package/types/core/helpers/utils/print.d.ts +5 -2
- package/types/core/helpers/utils/reset.d.ts +1 -1
- package/types/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/types/core/helpers/utils/selector.d.ts +1 -1
- package/types/core/helpers/utils/set.d.ts +1 -1
- package/types/core/helpers/utils/stack.d.ts +1 -1
- package/types/core/helpers/utils/utils.d.ts +2 -2
- package/types/core/plugin/helpers/init-instance.d.ts +1 -1
- package/types/core/plugin/helpers/load.d.ts +1 -1
- package/types/core/plugin/helpers/make-instance.d.ts +1 -1
- package/types/core/plugin/index.d.ts +2 -2
- package/types/core/plugin/plugin-system.d.ts +2 -2
- package/types/core/plugin/plugin.d.ts +2 -2
- package/types/core/request/ajax.d.ts +2 -2
- package/types/core/request/config.d.ts +1 -1
- package/types/core/request/index.d.ts +2 -2
- package/types/core/request/response.d.ts +1 -1
- package/types/core/selection/helpers/index.d.ts +2 -2
- package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/types/core/selection/index.d.ts +2 -2
- package/types/core/selection/selection.d.ts +16 -4
- package/types/core/selection/style/api/extract.d.ts +1 -1
- package/types/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/types/core/selection/style/api/has-same-style.d.ts +1 -1
- package/types/core/selection/style/api/index.d.ts +15 -15
- package/types/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/types/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/types/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/types/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/types/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/types/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/types/core/selection/style/api/wrap.d.ts +1 -1
- package/types/core/selection/style/apply-style.d.ts +1 -1
- package/types/core/selection/style/commit-style.d.ts +1 -1
- package/types/core/selection/style/transactions.d.ts +1 -1
- package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/types/core/storage/index.d.ts +3 -3
- package/types/core/storage/storage.d.ts +1 -1
- package/types/core/traits/dlgs.d.ts +1 -1
- package/types/core/traits/elms.d.ts +1 -1
- package/types/core/traits/mods.d.ts +1 -1
- package/types/core/ui/button/button/button.d.ts +2 -2
- package/types/core/ui/button/group/group.d.ts +2 -2
- package/types/core/ui/button/index.d.ts +3 -3
- package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/types/core/ui/element.d.ts +4 -4
- package/types/core/ui/form/block/block.d.ts +2 -2
- package/types/core/ui/form/form.d.ts +2 -2
- package/types/core/ui/form/index.d.ts +3 -3
- package/types/core/ui/form/inputs/area/area.d.ts +2 -2
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/types/core/ui/form/inputs/file/file.d.ts +2 -2
- package/types/core/ui/form/inputs/index.d.ts +5 -5
- package/types/core/ui/form/inputs/input/input.d.ts +2 -2
- package/types/core/ui/form/inputs/select/select.d.ts +2 -2
- package/types/core/ui/form/validators/index.d.ts +2 -2
- package/types/core/ui/form/validators/input.d.ts +1 -1
- package/types/core/ui/form/validators/select.d.ts +2 -2
- package/types/core/ui/group/group.d.ts +3 -3
- package/types/core/ui/group/index.d.ts +4 -4
- package/types/core/ui/group/list.d.ts +2 -2
- package/types/core/ui/group/separator.d.ts +1 -1
- package/types/core/ui/group/spacer.d.ts +1 -1
- package/types/core/ui/helpers/buttons.d.ts +1 -1
- package/types/core/ui/helpers/get-control-type.d.ts +1 -1
- package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/types/core/ui/icon.d.ts +1 -1
- package/types/core/ui/index.d.ts +7 -7
- package/types/core/ui/popup/index.d.ts +1 -1
- package/types/core/ui/popup/popup.d.ts +2 -2
- package/types/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/types/core/view/view-with-toolbar.d.ts +2 -2
- package/types/core/view/view.d.ts +4 -4
- package/types/index.d.ts +2 -2
- package/types/jodit.d.ts +6 -6
- package/types/languages.d.ts +1 -1
- package/types/modules/context-menu/context-menu.d.ts +2 -2
- package/types/modules/dialog/alert.d.ts +1 -1
- package/types/modules/dialog/confirm.d.ts +1 -1
- package/types/modules/dialog/dialog.d.ts +2 -2
- package/types/modules/dialog/index.d.ts +4 -4
- package/types/modules/dialog/prompt.d.ts +1 -1
- package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/types/modules/file-browser/builders/elements-map.d.ts +1 -1
- package/types/modules/file-browser/builders/item.d.ts +1 -1
- package/types/modules/file-browser/config.d.ts +1 -1
- package/types/modules/file-browser/data-provider.d.ts +1 -1
- package/types/modules/file-browser/factories.d.ts +1 -1
- package/types/modules/file-browser/fetch/delete-file.d.ts +1 -1
- package/types/modules/file-browser/fetch/load-items.d.ts +1 -1
- package/types/modules/file-browser/fetch/load-tree.d.ts +1 -1
- package/types/modules/file-browser/file-browser.d.ts +6 -6
- package/types/modules/file-browser/index.d.ts +1 -1
- package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/types/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/types/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/types/modules/file-browser/ui/files/files.d.ts +1 -1
- package/types/modules/file-browser/ui/index.d.ts +2 -2
- package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/types/modules/history/command.d.ts +2 -2
- package/types/modules/history/history.d.ts +4 -4
- package/types/modules/history/snapshot.d.ts +2 -2
- package/types/modules/history/stack.d.ts +2 -2
- package/types/modules/image-editor/config.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +3 -3
- package/types/modules/image-editor/templates/form.d.ts +1 -1
- package/types/modules/index.d.ts +26 -26
- package/types/modules/messages/message.d.ts +2 -2
- package/types/modules/messages/messages.d.ts +2 -2
- package/types/modules/status-bar/status-bar.d.ts +4 -4
- package/types/modules/table/table.d.ts +2 -2
- package/types/modules/toolbar/button/button.d.ts +5 -5
- package/types/modules/toolbar/button/content.d.ts +2 -2
- package/types/modules/toolbar/button/index.d.ts +2 -2
- package/types/modules/toolbar/collection/collection.d.ts +3 -3
- package/types/modules/toolbar/collection/editor-collection.d.ts +2 -2
- package/types/modules/toolbar/factory.d.ts +1 -1
- package/types/modules/uploader/config.d.ts +1 -1
- package/types/modules/uploader/helpers/build-data.d.ts +1 -1
- package/types/modules/uploader/helpers/index.d.ts +6 -6
- package/types/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/types/modules/uploader/helpers/send-files.d.ts +1 -1
- package/types/modules/uploader/helpers/send.d.ts +2 -2
- package/types/modules/uploader/uploader.d.ts +3 -3
- package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/types/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/types/modules/widget/index.d.ts +3 -3
- package/types/modules/widget/tabs/tabs.d.ts +2 -2
- package/types/plugins/add-new-line/add-new-line.d.ts +3 -3
- package/types/plugins/add-new-line/config.d.ts +1 -1
- package/types/plugins/backspace/backspace.d.ts +3 -3
- package/types/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/types/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/types/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-char.d.ts +2 -2
- package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/types/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/types/plugins/backspace/cases/index.d.ts +2 -2
- package/types/plugins/backspace/helpers.d.ts +1 -1
- package/types/plugins/bold/bold.d.ts +3 -3
- package/types/plugins/class-span/class-span.d.ts +2 -2
- package/types/plugins/clean-html/clean-html.d.ts +3 -3
- package/types/plugins/clean-html/config.d.ts +1 -1
- package/types/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- package/types/plugins/clean-html/helpers/index.d.ts +4 -4
- package/types/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
- package/types/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
- package/types/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/types/plugins/clipboard/clipboard.d.ts +3 -3
- package/types/plugins/color/color.d.ts +2 -2
- package/types/plugins/copy-format/copy-format.d.ts +1 -1
- package/types/plugins/copy-format/langs/index.d.ts +20 -20
- package/types/plugins/debug/debug.d.ts +2 -2
- package/types/plugins/delete/delete.d.ts +3 -3
- package/types/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +2 -2
- package/types/plugins/dtd/after-insert/index.d.ts +1 -1
- package/types/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/types/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/types/plugins/dtd/before-insert/index.d.ts +1 -1
- package/types/plugins/dtd/config.d.ts +1 -1
- package/types/plugins/dtd/dtd.d.ts +1 -1
- package/types/plugins/enter/enter.d.ts +3 -3
- package/types/plugins/enter/helpers/check-br.d.ts +1 -1
- package/types/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/types/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/types/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/types/plugins/enter/helpers/index.d.ts +9 -9
- package/types/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/types/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/types/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/types/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/types/plugins/file/file.d.ts +1 -1
- package/types/plugins/focus/focus.d.ts +1 -1
- package/types/plugins/font/font.d.ts +2 -2
- package/types/plugins/format-block/format-block.d.ts +1 -1
- package/types/plugins/fullsize/fullsize.d.ts +2 -2
- package/types/plugins/hotkeys/config.d.ts +1 -1
- package/types/plugins/hotkeys/hotkeys.d.ts +3 -3
- package/types/plugins/hr/hr.d.ts +1 -1
- package/types/plugins/iframe/iframe.d.ts +2 -2
- package/types/plugins/image/image.d.ts +1 -1
- package/types/plugins/image-processor/image-processor.d.ts +3 -3
- package/types/plugins/image-properties/config.d.ts +4 -1
- package/types/plugins/image-properties/image-properties.d.ts +3 -3
- package/types/plugins/image-properties/templates/form.d.ts +1 -1
- package/types/plugins/image-properties/templates/main-tab.d.ts +1 -1
- package/types/plugins/image-properties/templates/position-tab.d.ts +1 -1
- package/types/plugins/indent/indent.d.ts +2 -2
- package/types/plugins/index.d.ts +61 -61
- package/types/plugins/inline-popup/config/config.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/cells.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/img.d.ts +2 -2
- package/types/plugins/inline-popup/inline-popup.d.ts +3 -3
- package/types/plugins/justify/justify.d.ts +1 -1
- package/types/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/types/plugins/limit/limit.d.ts +3 -3
- package/types/plugins/line-height/langs/index.d.ts +20 -20
- package/types/plugins/line-height/line-height.d.ts +3 -3
- package/types/plugins/link/config.d.ts +1 -1
- package/types/plugins/link/link.d.ts +3 -3
- package/types/plugins/link/template.d.ts +1 -1
- package/types/plugins/media/media.d.ts +2 -2
- package/types/plugins/mobile/mobile.d.ts +2 -2
- package/types/plugins/ordered-list/ordered-list.d.ts +3 -3
- package/types/plugins/paste/config.d.ts +1 -1
- package/types/plugins/paste/helpers.d.ts +2 -2
- package/types/plugins/paste/interface.d.ts +1 -1
- package/types/plugins/paste/paste.d.ts +4 -4
- package/types/plugins/paste-from-word/config.d.ts +1 -1
- package/types/plugins/paste-from-word/paste-from-word.d.ts +4 -4
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/types/plugins/placeholder/placeholder.d.ts +3 -3
- package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/types/plugins/preview/preview.d.ts +1 -1
- package/types/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/types/plugins/print/print.d.ts +1 -1
- package/types/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/types/plugins/resize-cells/resize-cells.d.ts +3 -3
- package/types/plugins/resize-handler/resize-handler.d.ts +3 -3
- package/types/plugins/resizer/config.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +3 -3
- package/types/plugins/search/config.d.ts +2 -2
- package/types/plugins/search/helpers/index.d.ts +2 -2
- package/types/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/types/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.d.ts +1 -1
- package/types/plugins/search/search.d.ts +4 -4
- package/types/plugins/search/ui/search.d.ts +2 -2
- package/types/plugins/select/select.d.ts +3 -3
- package/types/plugins/select-cells/select-cells.d.ts +3 -3
- package/types/plugins/size/size.d.ts +3 -3
- package/types/plugins/source/config.d.ts +1 -1
- package/types/plugins/source/editor/engines/ace.d.ts +3 -3
- package/types/plugins/source/editor/engines/area.d.ts +2 -2
- package/types/plugins/source/editor/engines/index.d.ts +2 -2
- package/types/plugins/source/editor/factory.d.ts +1 -1
- package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/types/plugins/source/source.d.ts +3 -3
- package/types/plugins/speech-recognize/config.d.ts +2 -2
- package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
- package/types/plugins/speech-recognize/langs/index.d.ts +20 -20
- package/types/plugins/speech-recognize/speech-recognize.d.ts +3 -3
- package/types/plugins/spellcheck/langs/index.d.ts +20 -20
- package/types/plugins/spellcheck/spellcheck.d.ts +3 -3
- package/types/plugins/stat/stat.d.ts +2 -2
- package/types/plugins/sticky/sticky.d.ts +3 -3
- package/types/plugins/symbols/langs/index.d.ts +20 -20
- package/types/plugins/symbols/symbols.d.ts +3 -3
- package/types/plugins/tab/cases/index.d.ts +1 -1
- package/types/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/types/plugins/tab/tab.d.ts +1 -1
- package/types/plugins/table/table.d.ts +2 -2
- package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/types/plugins/video/video.d.ts +1 -1
- package/types/plugins/wrap-nodes/config.d.ts +1 -1
- package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
- package/types/plugins/xpath/xpath.d.ts +1 -1
- package/types/types/ajax.d.ts +51 -83
- package/types/types/async.d.ts +34 -74
- package/types/types/context.d.ts +7 -15
- package/types/types/core.d.ts +2 -8
- package/types/types/create.d.ts +38 -89
- package/types/types/dialog.d.ts +23 -40
- package/types/types/events.d.ts +117 -168
- package/types/types/file-browser.d.ts +180 -305
- package/types/types/form.d.ts +2 -4
- package/types/types/history.d.ts +25 -40
- package/types/types/index.d.ts +23 -25
- package/types/types/jodit.d.ts +96 -159
- package/types/types/messages.d.ts +5 -7
- package/types/types/plugin.d.ts +35 -50
- package/types/types/popup.d.ts +13 -30
- package/types/types/select.d.ts +57 -83
- package/types/types/source.d.ts +15 -23
- package/types/types/storage.d.ts +6 -14
- package/types/types/style.d.ts +31 -77
- package/types/types/toolbar.d.ts +238 -352
- package/types/types/traits.d.ts +15 -44
- package/types/types/types.d.ts +150 -238
- package/types/types/ui.d.ts +99 -159
- package/types/types/uploader.d.ts +93 -140
- package/types/types/view.d.ts +86 -146
- package/types/typings.d.ts +2 -4
package/esm/types/jodit.d.ts
CHANGED
|
@@ -3,169 +3,106 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* @module types
|
|
9
8
|
*/
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
ICreate,
|
|
17
|
-
IDestructible,
|
|
18
|
-
IDlgs,
|
|
19
|
-
IHistory,
|
|
20
|
-
IResponse,
|
|
21
|
-
IStatusBar,
|
|
22
|
-
Modes
|
|
23
|
-
} from './';
|
|
24
|
-
import type { IUploader } from './uploader';
|
|
25
|
-
import type { IFileBrowser } from './file-browser';
|
|
26
|
-
import type { ISelect } from './select';
|
|
27
|
-
|
|
9
|
+
import { IViewOptions, IViewWithToolbar } from "./view";
|
|
10
|
+
import type { Config } from "jodit/esm/config";
|
|
11
|
+
import type { AjaxOptions, CustomCommand, ICreate, IDestructible, IDlgs, IHistory, IResponse, IStatusBar, Modes } from "./";
|
|
12
|
+
import type { IUploader } from "./uploader";
|
|
13
|
+
import type { IFileBrowser } from "./file-browser";
|
|
14
|
+
import type { ISelect } from "./select";
|
|
28
15
|
interface IWorkPlace {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
16
|
+
editor: HTMLDivElement | HTMLBodyElement;
|
|
17
|
+
element: HTMLElement;
|
|
18
|
+
container: HTMLDivElement;
|
|
19
|
+
workplace: HTMLDivElement;
|
|
20
|
+
statusbar: IStatusBar;
|
|
21
|
+
iframe?: HTMLIFrameElement | void;
|
|
22
|
+
editorWindow: Window;
|
|
23
|
+
history: IHistory & IDestructible;
|
|
24
|
+
options: IViewOptions;
|
|
38
25
|
}
|
|
39
|
-
|
|
40
26
|
interface IJodit extends IViewWithToolbar, IDlgs {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
toggleMode(): void;
|
|
123
|
-
|
|
124
|
-
readonly editorIsActive: boolean;
|
|
125
|
-
|
|
126
|
-
focus(): void;
|
|
127
|
-
readonly isFocused: boolean;
|
|
128
|
-
|
|
129
|
-
fetch<Response extends object = any>(
|
|
130
|
-
url: string,
|
|
131
|
-
options?: Partial<AjaxOptions>
|
|
132
|
-
): Promise<IResponse<Response>>;
|
|
133
|
-
|
|
134
|
-
execCommand(
|
|
135
|
-
command: string,
|
|
136
|
-
showUI?: any,
|
|
137
|
-
value?: null | any,
|
|
138
|
-
...args: unknown[]
|
|
139
|
-
): any;
|
|
140
|
-
nativeExecCommand(
|
|
141
|
-
command: string,
|
|
142
|
-
showUI?: any,
|
|
143
|
-
value?: null | any
|
|
144
|
-
): boolean;
|
|
145
|
-
|
|
146
|
-
registerCommand<C extends string>(
|
|
147
|
-
commandNameOriginal: C,
|
|
148
|
-
command: CustomCommand<IJodit, C>,
|
|
149
|
-
options?: {
|
|
150
|
-
stopPropagation: boolean;
|
|
151
|
-
}
|
|
152
|
-
): IJodit;
|
|
153
|
-
|
|
154
|
-
registerHotkeyToCommand(
|
|
155
|
-
hotkeys: string | string[],
|
|
156
|
-
commandName: string,
|
|
157
|
-
shouldStop?: boolean
|
|
158
|
-
): void;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* workplace It contains source and wysiwyg editors
|
|
162
|
-
*/
|
|
163
|
-
readonly workplace: HTMLDivElement;
|
|
164
|
-
|
|
165
|
-
readonly statusbar: IStatusBar;
|
|
166
|
-
|
|
167
|
-
readonly uploader: IUploader;
|
|
168
|
-
readonly filebrowser: IFileBrowser;
|
|
169
|
-
|
|
170
|
-
iframe?: HTMLIFrameElement | void;
|
|
27
|
+
readonly isJodit: true;
|
|
28
|
+
readonly options: Config;
|
|
29
|
+
readonly history: IHistory;
|
|
30
|
+
editor: HTMLElement;
|
|
31
|
+
readonly element: HTMLElement;
|
|
32
|
+
getNativeEditorValue(): string;
|
|
33
|
+
getEditorValue(removeSelectionMarkers?: boolean, consumer?: string): string;
|
|
34
|
+
setEditorValue(value?: string): void;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* @private
|
|
38
|
+
*/
|
|
39
|
+
synchronizeValues(): void;
|
|
40
|
+
/**
|
|
41
|
+
* This is an internal method, do not use it in your applications.
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
__imdSynchronizeValues(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Only getter
|
|
47
|
+
*/
|
|
48
|
+
getElementValue(): string;
|
|
49
|
+
getReadOnly(): boolean;
|
|
50
|
+
setReadOnly(enable: boolean): void;
|
|
51
|
+
readonly places: IWorkPlace[];
|
|
52
|
+
readonly currentPlace: IWorkPlace;
|
|
53
|
+
addPlace(source: HTMLElement | string, options?: IViewOptions): void;
|
|
54
|
+
setCurrentPlace(place: IWorkPlace): void;
|
|
55
|
+
value: string;
|
|
56
|
+
readonly text: string;
|
|
57
|
+
readonly editorDocument: HTMLDocument;
|
|
58
|
+
waitForReady(): Promise<IJodit>;
|
|
59
|
+
/**
|
|
60
|
+
* Alias for this.ed
|
|
61
|
+
*/
|
|
62
|
+
readonly ed: this['editorDocument'];
|
|
63
|
+
editorWindow: Window;
|
|
64
|
+
/**
|
|
65
|
+
* Alias for this.ed
|
|
66
|
+
*/
|
|
67
|
+
readonly ew: this['editorWindow'];
|
|
68
|
+
readonly createInside: ICreate;
|
|
69
|
+
readonly selection: ISelect;
|
|
70
|
+
/**
|
|
71
|
+
* Alias for this.selection
|
|
72
|
+
*/
|
|
73
|
+
readonly s: this['selection'];
|
|
74
|
+
/**
|
|
75
|
+
* Return current real work mode. When editor in MODE_SOURCE or MODE_WYSIWYG it will
|
|
76
|
+
* return them, but then editor in MODE_SPLIT it will return MODE_SOURCE if
|
|
77
|
+
* Textarea(CodeMirror) focused or MODE_WYSIWYG otherwise
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```javascript
|
|
81
|
+
* var editor = Jodit.make('#editor');
|
|
82
|
+
* console.log(editor.getRealMode());
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
getRealMode(): Modes;
|
|
86
|
+
getMode(): Modes;
|
|
87
|
+
readonly mode: Modes;
|
|
88
|
+
isEditorMode(): boolean;
|
|
89
|
+
toggleMode(): void;
|
|
90
|
+
readonly editorIsActive: boolean;
|
|
91
|
+
focus(): void;
|
|
92
|
+
readonly isFocused: boolean;
|
|
93
|
+
fetch<Response extends object = any>(url: string, options?: Partial<AjaxOptions>): Promise<IResponse<Response>>;
|
|
94
|
+
execCommand(command: string, showUI?: any, value?: null | any, ...args: unknown[]): any;
|
|
95
|
+
nativeExecCommand(command: string, showUI?: any, value?: null | any): boolean;
|
|
96
|
+
registerCommand<C extends string>(commandNameOriginal: C, command: CustomCommand<IJodit, C>, options?: {
|
|
97
|
+
stopPropagation: boolean;
|
|
98
|
+
}): IJodit;
|
|
99
|
+
registerHotkeyToCommand(hotkeys: string | string[], commandName: string, shouldStop?: boolean): void;
|
|
100
|
+
/**
|
|
101
|
+
* workplace It contains source and wysiwyg editors
|
|
102
|
+
*/
|
|
103
|
+
readonly workplace: HTMLDivElement;
|
|
104
|
+
readonly statusbar: IStatusBar;
|
|
105
|
+
readonly uploader: IUploader;
|
|
106
|
+
readonly filebrowser: IFileBrowser;
|
|
107
|
+
iframe?: HTMLIFrameElement | void;
|
|
171
108
|
}
|
package/esm/types/messages.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type { IDestructible } from
|
|
2
|
-
|
|
1
|
+
import type { IDestructible } from "./types";
|
|
3
2
|
export type MessageVariant = 'info' | 'error' | 'success';
|
|
4
|
-
|
|
5
3
|
export interface IMessages extends IDestructible {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
info(text: string, timeout?: number): void;
|
|
5
|
+
success(text: string, timeout?: number): void;
|
|
6
|
+
error(text: string, timeout?: number): void;
|
|
7
|
+
message(text: string, variant?: MessageVariant, timeout?: number): void;
|
|
10
8
|
}
|
package/esm/types/plugin.d.ts
CHANGED
|
@@ -3,67 +3,52 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* @module types
|
|
9
8
|
*/
|
|
10
|
-
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type { ButtonGroup, IControlType } from './toolbar';
|
|
14
|
-
|
|
9
|
+
import type { IDestructible, IInitable } from "./types";
|
|
10
|
+
import type { IViewBased } from "./view";
|
|
11
|
+
import type { ButtonGroup, IControlType } from "./toolbar";
|
|
15
12
|
export interface IPluginButton {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
name: string;
|
|
14
|
+
group?: ButtonGroup;
|
|
15
|
+
position?: number;
|
|
16
|
+
options?: IControlType;
|
|
20
17
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* Plugin buttons
|
|
42
|
-
*/
|
|
43
|
-
buttons?: IPluginButton[];
|
|
44
|
-
|
|
45
|
-
init(jodit: T): void;
|
|
46
|
-
destruct(jodit?: T): void;
|
|
47
|
-
|
|
48
|
-
constructor(jodit?: T);
|
|
18
|
+
export class IPlugin<T extends IViewBased = IViewBased> implements IDestructible, IInitable {
|
|
19
|
+
static requires?: string[];
|
|
20
|
+
hasStyle?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Additional plugin styles can be written simply as inline styles
|
|
23
|
+
* ```js
|
|
24
|
+
* class A extends Jodit.modules.Plugin {
|
|
25
|
+
* styles = 'h1{color: red}';
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
* Will only be applied if the plugin is activated
|
|
29
|
+
*/
|
|
30
|
+
styles?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Plugin buttons
|
|
33
|
+
*/
|
|
34
|
+
buttons?: IPluginButton[];
|
|
35
|
+
init(jodit: T): void;
|
|
36
|
+
destruct(jodit?: T): void;
|
|
37
|
+
constructor(jodit?: T);
|
|
49
38
|
}
|
|
50
|
-
|
|
51
39
|
interface PluginFunction {
|
|
52
|
-
|
|
53
|
-
|
|
40
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-new
|
|
41
|
+
constructor(jodit: IViewBased): void;
|
|
54
42
|
}
|
|
55
|
-
|
|
56
43
|
export type PluginType = typeof IPlugin | IPlugin | PluginFunction | Function;
|
|
57
44
|
export type PluginInstance = IPlugin | object;
|
|
58
|
-
|
|
59
45
|
export interface IExtraPlugin {
|
|
60
|
-
|
|
61
|
-
|
|
46
|
+
name: string;
|
|
47
|
+
url?: string;
|
|
62
48
|
}
|
|
63
|
-
|
|
64
49
|
export interface IPluginSystem {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
50
|
+
add(name: string, plugin: any): void;
|
|
51
|
+
wait(name: string): Promise<void>;
|
|
52
|
+
get(name: string): PluginType | void;
|
|
53
|
+
remove(name: string): void;
|
|
69
54
|
}
|
package/esm/types/popup.d.ts
CHANGED
|
@@ -3,38 +3,21 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* @module types
|
|
9
8
|
*/
|
|
10
|
-
|
|
11
|
-
import type {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export type PopupStrategy =
|
|
15
|
-
| 'leftBottom'
|
|
16
|
-
| 'rightBottom'
|
|
17
|
-
| 'leftTop'
|
|
18
|
-
| 'rightTop';
|
|
19
|
-
|
|
9
|
+
import type { IBound, IDestructible } from "./types";
|
|
10
|
+
import type { IUIElement } from "./ui";
|
|
11
|
+
export type PopupStrategy = 'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop';
|
|
20
12
|
export interface IPopup extends IUIElement, IDestructible {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
): this;
|
|
32
|
-
|
|
33
|
-
setContent(content: IUIElement | HTMLElement | string): this;
|
|
34
|
-
updatePosition(): this;
|
|
35
|
-
|
|
36
|
-
close(): this;
|
|
37
|
-
isOwnClick(e: MouseEvent): boolean;
|
|
38
|
-
|
|
39
|
-
setZIndex(index: number): void;
|
|
13
|
+
container: HTMLElement;
|
|
14
|
+
isOpened: boolean;
|
|
15
|
+
strategy: PopupStrategy;
|
|
16
|
+
viewBound: () => IBound;
|
|
17
|
+
open(getBound: () => IBound, keepPosition?: boolean, parentContainer?: HTMLElement): this;
|
|
18
|
+
setContent(content: IUIElement | HTMLElement | string): this;
|
|
19
|
+
updatePosition(): this;
|
|
20
|
+
close(): this;
|
|
21
|
+
isOwnClick(e: MouseEvent): boolean;
|
|
22
|
+
setZIndex(index: number): void;
|
|
40
23
|
}
|
package/esm/types/select.d.ts
CHANGED
|
@@ -3,94 +3,68 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* @module types
|
|
9
8
|
*/
|
|
10
|
-
|
|
11
|
-
import type {
|
|
12
|
-
import type { IStyle, IStyleOptions } from './style';
|
|
13
|
-
|
|
9
|
+
import type { CanUndef, HTMLTagNames, IDictionary, Nullable } from "./types";
|
|
10
|
+
import type { IStyle, IStyleOptions } from "./style";
|
|
14
11
|
export interface MarkerInfo {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
startId: string;
|
|
13
|
+
endId?: string;
|
|
14
|
+
collapsed: boolean;
|
|
15
|
+
startMarker: string;
|
|
16
|
+
endMarker?: string;
|
|
20
17
|
}
|
|
21
|
-
|
|
22
18
|
export type WindowSelection = Selection;
|
|
23
|
-
|
|
24
19
|
export interface ISelect {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
expandSelection(): ISelect;
|
|
77
|
-
insertCursorAtPoint(x: number, y: number): boolean;
|
|
78
|
-
setCursorAfter(node: Node): Nullable<Text>;
|
|
79
|
-
setCursorBefore(node: Node): Nullable<Text>;
|
|
80
|
-
setCursorIn(node: Node, inStart?: boolean): Node;
|
|
81
|
-
selectRange(range: Range, focus?: boolean): ISelect;
|
|
82
|
-
select(
|
|
83
|
-
node: Node | HTMLElement | HTMLTableElement | HTMLTableCellElement,
|
|
84
|
-
inward?: boolean
|
|
85
|
-
): ISelect;
|
|
86
|
-
|
|
87
|
-
wrapInTagGen(fakes?: Node[]): Generator<HTMLElement, undefined>;
|
|
88
|
-
wrapInTag(
|
|
89
|
-
tagOrCallback: HTMLTagNames | ((font: HTMLElement) => any)
|
|
90
|
-
): HTMLElement[];
|
|
91
|
-
|
|
92
|
-
commitStyle(options: IStyleOptions): void;
|
|
93
|
-
|
|
94
|
-
eachSelection(callback: (current: Node) => void): void;
|
|
95
|
-
splitSelection(currentBox: HTMLElement, edge?: Node): Nullable<Element>;
|
|
20
|
+
readonly sel: WindowSelection | null;
|
|
21
|
+
readonly range: Range;
|
|
22
|
+
readonly isInsideArea: boolean;
|
|
23
|
+
readonly html: string;
|
|
24
|
+
createRange(select?: boolean): Range;
|
|
25
|
+
clear(): void;
|
|
26
|
+
current(checkChild?: boolean): Nullable<Node>;
|
|
27
|
+
focus(options?: FocusOptions): boolean;
|
|
28
|
+
isFocused(): boolean;
|
|
29
|
+
remove(): void;
|
|
30
|
+
removeNode(node: Node): void;
|
|
31
|
+
fakes(): [
|
|
32
|
+
] | [
|
|
33
|
+
Node
|
|
34
|
+
] | [
|
|
35
|
+
Node,
|
|
36
|
+
Node
|
|
37
|
+
];
|
|
38
|
+
restoreFakes(fakes: [
|
|
39
|
+
] | [
|
|
40
|
+
Node
|
|
41
|
+
] | [
|
|
42
|
+
Node,
|
|
43
|
+
Node
|
|
44
|
+
]): void;
|
|
45
|
+
save(silent?: boolean): MarkerInfo[];
|
|
46
|
+
restore(): void;
|
|
47
|
+
readonly hasMarkers: boolean;
|
|
48
|
+
readonly markers: HTMLElement[];
|
|
49
|
+
removeMarkers(): void;
|
|
50
|
+
marker(atStart?: boolean, range?: Range): HTMLSpanElement;
|
|
51
|
+
insertNode(node: Node, insertCursorAfter?: boolean, fireChange?: boolean): void;
|
|
52
|
+
insertHTML(html: number | string | Node, insertCursorAfter?: boolean): void;
|
|
53
|
+
insertImage(url: string | HTMLImageElement, styles?: Nullable<IDictionary<string>>, defaultWidth?: Nullable<number | string>): void;
|
|
54
|
+
isCollapsed(): boolean;
|
|
55
|
+
cursorInTheEdge(start: boolean, parentBlock: HTMLElement, fake?: Node | null): Nullable<boolean>;
|
|
56
|
+
cursorOnTheLeft(parentBlock: HTMLElement, fake?: Node | null): Nullable<boolean>;
|
|
57
|
+
cursorOnTheRight(parentBlock: HTMLElement, fake?: Node | null): Nullable<boolean>;
|
|
58
|
+
expandSelection(): ISelect;
|
|
59
|
+
insertCursorAtPoint(x: number, y: number): boolean;
|
|
60
|
+
setCursorAfter(node: Node): Nullable<Text>;
|
|
61
|
+
setCursorBefore(node: Node): Nullable<Text>;
|
|
62
|
+
setCursorIn(node: Node, inStart?: boolean): Node;
|
|
63
|
+
selectRange(range: Range, focus?: boolean): ISelect;
|
|
64
|
+
select(node: Node | HTMLElement | HTMLTableElement | HTMLTableCellElement, inward?: boolean): ISelect;
|
|
65
|
+
wrapInTagGen(fakes?: Node[]): Generator<HTMLElement, undefined>;
|
|
66
|
+
wrapInTag(tagOrCallback: HTMLTagNames | ((font: HTMLElement) => any)): HTMLElement[];
|
|
67
|
+
commitStyle(options: IStyleOptions): void;
|
|
68
|
+
eachSelection(callback: (current: Node) => void): void;
|
|
69
|
+
splitSelection(currentBox: HTMLElement, edge?: Node): Nullable<Element>;
|
|
96
70
|
}
|
package/esm/types/source.d.ts
CHANGED
|
@@ -3,31 +3,23 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* @module types
|
|
9
8
|
*/
|
|
10
|
-
|
|
11
|
-
import type { IDestructible, IInitable } from './types';
|
|
12
|
-
|
|
9
|
+
import type { IDestructible, IInitable } from "./types";
|
|
13
10
|
export interface ISourceEditor extends IDestructible, IInitable {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
selectAll(): void;
|
|
30
|
-
|
|
31
|
-
isReady: boolean;
|
|
32
|
-
onReadyAlways(callback: Function): void;
|
|
11
|
+
getValue(): string;
|
|
12
|
+
setValue(raw: string): void;
|
|
13
|
+
insertRaw(raw: string): void;
|
|
14
|
+
getSelectionEnd(): number;
|
|
15
|
+
getSelectionStart(): number;
|
|
16
|
+
setSelectionRange(start: number, end: number): void;
|
|
17
|
+
setPlaceHolder(title: string): void;
|
|
18
|
+
readonly isFocused: boolean;
|
|
19
|
+
focus(): void;
|
|
20
|
+
blur(): void;
|
|
21
|
+
setReadOnly(isReadOnly: boolean): void;
|
|
22
|
+
selectAll(): void;
|
|
23
|
+
isReady: boolean;
|
|
24
|
+
onReadyAlways(callback: Function): void;
|
|
33
25
|
}
|
package/esm/types/storage.d.ts
CHANGED
|
@@ -3,22 +3,14 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* @module types
|
|
9
8
|
*/
|
|
10
|
-
|
|
11
|
-
export type StorageValueType =
|
|
12
|
-
| string
|
|
13
|
-
| number
|
|
14
|
-
| boolean
|
|
15
|
-
| object
|
|
16
|
-
| StorageValueType[];
|
|
17
|
-
|
|
9
|
+
export type StorageValueType = string | number | boolean | object | StorageValueType[];
|
|
18
10
|
export interface IStorage<T = StorageValueType> {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
set(key: string, value: T): IStorage<T>;
|
|
12
|
+
delete(key: string): IStorage<T>;
|
|
13
|
+
get<R = T>(key: string): R | void;
|
|
14
|
+
exists(key: string): boolean;
|
|
15
|
+
clear(): IStorage<T>;
|
|
24
16
|
}
|