jodit 4.4.1 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +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.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- 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/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/975.fat.min.js +1 -1
- package/es5/975.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.css +1 -1
- 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 +852 -6
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/component/component.d.ts +1 -1
- package/esm/core/component/view-component.d.ts +1 -1
- package/esm/core/constants.d.ts +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +1 -1
- package/esm/core/decorators/cache/cache.d.ts +1 -1
- package/esm/core/decorators/debounce/debounce.d.ts +1 -1
- package/esm/core/decorators/hook/hook.d.ts +2 -2
- package/esm/core/decorators/idle/idle.d.ts +1 -1
- package/esm/core/decorators/persistent/persistent.d.ts +1 -1
- package/esm/core/decorators/wait/wait.d.ts +1 -1
- package/esm/core/decorators/watch/watch.d.ts +1 -1
- package/esm/core/dom/dom.d.ts +1 -1
- package/esm/core/dom/lazy-walker.d.ts +1 -1
- package/esm/core/event-emitter/event-emitter.d.ts +1 -1
- package/esm/core/event-emitter/eventify.d.ts +1 -1
- package/esm/core/event-emitter/observable.d.ts +1 -1
- package/esm/core/event-emitter/store.d.ts +1 -1
- package/esm/core/global.d.ts +2 -2
- package/esm/core/helpers/checker/is-imp-interface.d.ts +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-plain-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
- package/esm/core/helpers/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/index.d.ts +9 -9
- package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/esm/core/helpers/size/object-size.d.ts +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/string/i18n.d.ts +1 -1
- package/esm/core/helpers/utils/align.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.d.ts +1 -1
- package/esm/core/helpers/utils/attr.d.ts +1 -1
- package/esm/core/helpers/utils/build-query.d.ts +1 -1
- package/esm/core/helpers/utils/config-proto.d.ts +1 -1
- package/esm/core/helpers/utils/css.d.ts +1 -1
- package/esm/core/helpers/utils/data-bind.d.ts +1 -1
- package/esm/core/helpers/utils/error/index.d.ts +1 -1
- package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
- package/esm/core/helpers/utils/get.d.ts +1 -1
- package/esm/core/helpers/utils/index.d.ts +1 -1
- package/esm/core/helpers/utils/parse-query.d.ts +1 -1
- package/esm/core/helpers/utils/print.d.ts +1 -1
- package/esm/core/helpers/utils/reset.d.ts +1 -1
- package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/esm/core/helpers/utils/selector.d.ts +1 -1
- package/esm/core/helpers/utils/set.d.ts +1 -1
- package/esm/core/helpers/utils/stack.d.ts +1 -1
- package/esm/core/helpers/utils/utils.d.ts +1 -1
- package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
- package/esm/core/plugin/plugin-system.d.ts +1 -1
- package/esm/core/plugin/plugin.d.ts +2 -2
- package/esm/core/request/ajax.d.ts +1 -1
- package/esm/core/request/config.d.ts +1 -1
- package/esm/core/request/response.d.ts +1 -1
- package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/esm/core/selection/interface.d.ts +1 -1
- package/esm/core/selection/selection.d.ts +1 -1
- package/esm/core/selection/style/api/extract.d.ts +1 -1
- package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.d.ts +1 -1
- 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/transactions.d.ts +1 -1
- 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/storage.d.ts +1 -1
- package/esm/core/traits/dlgs.d.ts +1 -1
- package/esm/core/traits/elms.d.ts +1 -1
- package/esm/core/traits/mods.d.ts +1 -1
- package/esm/core/ui/button/button/button.d.ts +1 -1
- package/esm/core/ui/button/group/group.d.ts +1 -1
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/esm/core/ui/element.d.ts +2 -2
- package/esm/core/ui/form/block/block.d.ts +1 -1
- package/esm/core/ui/form/form.d.ts +1 -1
- package/esm/core/ui/form/index.d.ts +1 -1
- package/esm/core/ui/form/inputs/area/area.d.ts +1 -1
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -1
- package/esm/core/ui/form/inputs/file/file.d.ts +1 -1
- package/esm/core/ui/form/inputs/input/input.d.ts +1 -1
- package/esm/core/ui/form/inputs/select/select.d.ts +1 -1
- package/esm/core/ui/form/validators/input.d.ts +1 -1
- package/esm/core/ui/form/validators/select.d.ts +1 -1
- package/esm/core/ui/group/group.d.ts +1 -1
- package/esm/core/ui/group/list.d.ts +1 -1
- package/esm/core/ui/helpers/buttons.d.ts +1 -1
- package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/esm/core/ui/icon.d.ts +1 -1
- package/esm/core/ui/index.d.ts +4 -4
- package/esm/core/ui/popup/popup.d.ts +1 -1
- package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -1
- package/esm/core/view/view-with-toolbar.d.ts +1 -1
- package/esm/core/view/view.d.ts +1 -1
- package/esm/jodit.d.ts +3 -3
- package/esm/languages.d.ts +1 -1
- package/esm/modules/context-menu/context-menu.d.ts +1 -1
- package/esm/modules/dialog/alert.d.ts +1 -1
- package/esm/modules/dialog/confirm.d.ts +1 -1
- package/esm/modules/dialog/dialog.d.ts +1 -1
- package/esm/modules/dialog/prompt.d.ts +1 -1
- package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
- 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/config.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/factories.d.ts +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/file-browser.d.ts +3 -3
- package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +2 -2
- package/esm/modules/history/snapshot.d.ts +2 -2
- package/esm/modules/history/stack.d.ts +1 -1
- package/esm/modules/image-editor/config.d.ts +1 -1
- package/esm/modules/image-editor/image-editor.d.ts +2 -2
- package/esm/modules/image-editor/templates/form.d.ts +1 -1
- package/esm/modules/index.d.ts +13 -13
- package/esm/modules/messages/message.d.ts +2 -2
- package/esm/modules/messages/messages.d.ts +1 -1
- package/esm/modules/status-bar/status-bar.d.ts +2 -2
- package/esm/modules/table/table.d.ts +2 -2
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/content.d.ts +2 -2
- package/esm/modules/toolbar/button/select/select.d.ts +1 -1
- package/esm/modules/toolbar/collection/collection.d.ts +2 -2
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/esm/modules/toolbar/factory.d.ts +1 -1
- package/esm/modules/uploader/config.d.ts +1 -1
- package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +1 -1
- package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
- package/esm/modules/uploader/helpers/send.d.ts +2 -2
- package/esm/modules/uploader/uploader.d.ts +2 -2
- package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/esm/modules/widget/tabs/tabs.d.ts +2 -2
- package/esm/plugins/add-new-line/add-new-line.d.ts +2 -2
- package/esm/plugins/add-new-line/config.d.ts +1 -1
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +1 -1
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
- package/esm/plugins/backspace/backspace.d.ts +2 -2
- package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/esm/plugins/backspace/helpers.d.ts +1 -1
- package/esm/plugins/bold/bold.d.ts +1 -1
- package/esm/plugins/class-span/class-span.d.ts +2 -2
- package/esm/plugins/clean-html/clean-html.d.ts +1 -1
- package/esm/plugins/clean-html/config.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- 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-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +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/remove-empty-text-node.d.ts +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/replace-old-tags.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/esm/plugins/clipboard/clipboard.d.ts +2 -2
- package/esm/plugins/color/color.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.d.ts +1 -1
- package/esm/plugins/debug/debug.d.ts +1 -1
- package/esm/plugins/delete/delete.d.ts +2 -2
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/esm/plugins/dtd/config.d.ts +1 -1
- package/esm/plugins/enter/enter.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/esm/plugins/file/file.d.ts +1 -1
- package/esm/plugins/focus/focus.d.ts +1 -1
- package/esm/plugins/font/font.d.ts +1 -1
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/fullsize/fullsize.d.ts +1 -1
- package/esm/plugins/hotkeys/config.d.ts +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +2 -2
- package/esm/plugins/hr/hr.d.ts +1 -1
- package/esm/plugins/iframe/iframe.d.ts +1 -1
- package/esm/plugins/image/image.d.ts +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +2 -2
- package/esm/plugins/image-properties/image-properties.d.ts +1 -1
- package/esm/plugins/image-properties/interface.d.ts +1 -1
- package/esm/plugins/image-properties/readers/index.d.ts +1 -1
- package/esm/plugins/image-properties/readers/link.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-form.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/esm/plugins/image-properties/writers/index.d.ts +1 -1
- package/esm/plugins/image-properties/writers/link.d.ts +1 -1
- package/esm/plugins/image-properties/writers/margin.d.ts +1 -1
- package/esm/plugins/indent/indent.d.ts +1 -1
- package/esm/plugins/inline-popup/config/config.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/a.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
- package/esm/plugins/inline-popup/inline-popup.d.ts +2 -2
- package/esm/plugins/justify/justify.d.ts +1 -1
- package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/esm/plugins/limit/limit.d.ts +2 -2
- package/esm/plugins/line-height/line-height.d.ts +2 -2
- package/esm/plugins/link/config.d.ts +1 -1
- package/esm/plugins/link/link.d.ts +2 -2
- package/esm/plugins/link/template.d.ts +1 -1
- package/esm/plugins/media/media.d.ts +1 -1
- package/esm/plugins/mobile/config.d.ts +1 -1
- package/esm/plugins/mobile/mobile.d.ts +1 -1
- package/esm/plugins/ordered-list/ordered-list.d.ts +2 -2
- package/esm/plugins/paste/config.d.ts +1 -1
- package/esm/plugins/paste/helpers.d.ts +1 -1
- package/esm/plugins/paste/interface.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +1 -1
- package/esm/plugins/paste-from-word/config.d.ts +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/esm/plugins/placeholder/placeholder.d.ts +1 -1
- package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/esm/plugins/preview/preview.d.ts +1 -1
- package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/esm/plugins/print/print.d.ts +1 -1
- package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +2 -2
- package/esm/plugins/resize-handler/resize-handler.d.ts +2 -2
- package/esm/plugins/resizer/config.d.ts +1 -1
- package/esm/plugins/resizer/resizer.d.ts +1 -1
- package/esm/plugins/search/config.d.ts +1 -1
- package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
- package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/esm/plugins/search/search.d.ts +3 -3
- package/esm/plugins/search/ui/search.d.ts +2 -2
- package/esm/plugins/select/select.d.ts +2 -2
- package/esm/plugins/select-cells/select-cells.d.ts +2 -2
- package/esm/plugins/size/size.d.ts +1 -1
- package/esm/plugins/source/config.d.ts +1 -1
- package/esm/plugins/source/editor/engines/ace.d.ts +1 -1
- package/esm/plugins/source/editor/engines/area.d.ts +1 -1
- package/esm/plugins/source/editor/factory.d.ts +1 -1
- package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/esm/plugins/source/source.d.ts +2 -2
- package/esm/plugins/speech-recognize/config.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 +1 -1
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/esm/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/esm/plugins/sticky/sticky.d.ts +1 -1
- package/esm/plugins/symbols/symbols.d.ts +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/esm/plugins/table/table.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/wrap-nodes/config.d.ts +1 -1
- package/esm/types/jodit.d.ts +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +852 -6
- package/types/core/async/async.d.ts +1 -1
- package/types/core/component/component.d.ts +1 -1
- package/types/core/component/view-component.d.ts +1 -1
- package/types/core/constants.d.ts +1 -1
- package/types/core/create/create.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/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/lazy-walker.d.ts +1 -1
- 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/observable.d.ts +1 -1
- package/types/core/event-emitter/store.d.ts +1 -1
- package/types/core/global.d.ts +2 -2
- 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/html/strip-tags.d.ts +1 -1
- package/types/core/helpers/index.d.ts +9 -9
- package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
- 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/i18n.d.ts +1 -1
- 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/index.d.ts +1 -1
- 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 +1 -1
- package/types/core/helpers/utils/parse-query.d.ts +1 -1
- package/types/core/helpers/utils/print.d.ts +1 -1
- 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 +1 -1
- 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/plugin-system.d.ts +1 -1
- package/types/core/plugin/plugin.d.ts +2 -2
- package/types/core/request/ajax.d.ts +1 -1
- package/types/core/request/config.d.ts +1 -1
- package/types/core/request/response.d.ts +1 -1
- package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/types/core/selection/interface.d.ts +1 -1
- package/types/core/selection/selection.d.ts +1 -1
- 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/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/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 +1 -1
- package/types/core/ui/button/group/group.d.ts +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/types/core/ui/element.d.ts +2 -2
- package/types/core/ui/form/block/block.d.ts +1 -1
- package/types/core/ui/form/form.d.ts +1 -1
- package/types/core/ui/form/index.d.ts +1 -1
- package/types/core/ui/form/inputs/area/area.d.ts +1 -1
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -1
- package/types/core/ui/form/inputs/file/file.d.ts +1 -1
- package/types/core/ui/form/inputs/input/input.d.ts +1 -1
- package/types/core/ui/form/inputs/select/select.d.ts +1 -1
- package/types/core/ui/form/validators/input.d.ts +1 -1
- package/types/core/ui/form/validators/select.d.ts +1 -1
- package/types/core/ui/group/group.d.ts +1 -1
- package/types/core/ui/group/list.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 +4 -4
- package/types/core/ui/popup/popup.d.ts +1 -1
- package/types/core/ui/progress-bar/progress-bar.d.ts +1 -1
- package/types/core/view/view-with-toolbar.d.ts +1 -1
- package/types/core/view/view.d.ts +1 -1
- package/types/jodit.d.ts +3 -3
- package/types/languages.d.ts +1 -1
- package/types/modules/context-menu/context-menu.d.ts +1 -1
- 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 +1 -1
- 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 +3 -3
- 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/tree/tree.d.ts +1 -1
- package/types/modules/history/command.d.ts +1 -1
- package/types/modules/history/history.d.ts +2 -2
- package/types/modules/history/snapshot.d.ts +2 -2
- package/types/modules/history/stack.d.ts +1 -1
- package/types/modules/image-editor/config.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +2 -2
- package/types/modules/image-editor/templates/form.d.ts +1 -1
- package/types/modules/index.d.ts +13 -13
- package/types/modules/messages/message.d.ts +2 -2
- package/types/modules/messages/messages.d.ts +1 -1
- package/types/modules/status-bar/status-bar.d.ts +2 -2
- 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/select/select.d.ts +1 -1
- package/types/modules/toolbar/collection/collection.d.ts +2 -2
- package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
- 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 +1 -1
- 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 +2 -2
- 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/tabs/tabs.d.ts +2 -2
- package/types/plugins/add-new-line/add-new-line.d.ts +2 -2
- package/types/plugins/add-new-line/config.d.ts +1 -1
- package/types/plugins/ai-assistant/ai-assistant.d.ts +1 -1
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
- package/types/plugins/backspace/backspace.d.ts +2 -2
- 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 +1 -1
- 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/helpers.d.ts +1 -1
- package/types/plugins/bold/bold.d.ts +1 -1
- package/types/plugins/class-span/class-span.d.ts +2 -2
- package/types/plugins/clean-html/clean-html.d.ts +1 -1
- 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/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/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 +2 -2
- package/types/plugins/color/color.d.ts +1 -1
- package/types/plugins/copy-format/copy-format.d.ts +1 -1
- package/types/plugins/debug/debug.d.ts +1 -1
- package/types/plugins/delete/delete.d.ts +2 -2
- 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 +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/config.d.ts +1 -1
- package/types/plugins/enter/enter.d.ts +1 -1
- 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/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 +1 -1
- package/types/plugins/format-block/format-block.d.ts +1 -1
- package/types/plugins/fullsize/fullsize.d.ts +1 -1
- package/types/plugins/hotkeys/config.d.ts +1 -1
- package/types/plugins/hotkeys/hotkeys.d.ts +2 -2
- package/types/plugins/hr/hr.d.ts +1 -1
- package/types/plugins/iframe/iframe.d.ts +1 -1
- package/types/plugins/image/image.d.ts +1 -1
- package/types/plugins/image-processor/image-processor.d.ts +2 -2
- package/types/plugins/image-properties/image-properties.d.ts +1 -1
- package/types/plugins/image-properties/interface.d.ts +1 -1
- package/types/plugins/image-properties/readers/index.d.ts +1 -1
- package/types/plugins/image-properties/readers/link.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-form.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +1 -1
- package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/types/plugins/image-properties/writers/index.d.ts +1 -1
- package/types/plugins/image-properties/writers/link.d.ts +1 -1
- package/types/plugins/image-properties/writers/margin.d.ts +1 -1
- package/types/plugins/indent/indent.d.ts +1 -1
- package/types/plugins/inline-popup/config/config.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
- package/types/plugins/inline-popup/inline-popup.d.ts +2 -2
- 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 +2 -2
- package/types/plugins/line-height/line-height.d.ts +2 -2
- package/types/plugins/link/config.d.ts +1 -1
- package/types/plugins/link/link.d.ts +2 -2
- package/types/plugins/link/template.d.ts +1 -1
- package/types/plugins/media/media.d.ts +1 -1
- package/types/plugins/mobile/config.d.ts +1 -1
- package/types/plugins/mobile/mobile.d.ts +1 -1
- package/types/plugins/ordered-list/ordered-list.d.ts +2 -2
- package/types/plugins/paste/config.d.ts +1 -1
- package/types/plugins/paste/helpers.d.ts +1 -1
- package/types/plugins/paste/interface.d.ts +1 -1
- package/types/plugins/paste/paste.d.ts +1 -1
- package/types/plugins/paste-from-word/config.d.ts +1 -1
- package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/types/plugins/placeholder/placeholder.d.ts +1 -1
- 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 +1 -1
- package/types/plugins/resize-cells/resize-cells.d.ts +2 -2
- package/types/plugins/resize-handler/resize-handler.d.ts +2 -2
- package/types/plugins/resizer/config.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +1 -1
- package/types/plugins/search/config.d.ts +1 -1
- package/types/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
- package/types/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/types/plugins/search/search.d.ts +3 -3
- package/types/plugins/search/ui/search.d.ts +2 -2
- package/types/plugins/select/select.d.ts +2 -2
- package/types/plugins/select-cells/select-cells.d.ts +2 -2
- package/types/plugins/size/size.d.ts +1 -1
- package/types/plugins/source/config.d.ts +1 -1
- package/types/plugins/source/editor/engines/ace.d.ts +1 -1
- package/types/plugins/source/editor/engines/area.d.ts +1 -1
- 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 +2 -2
- package/types/plugins/speech-recognize/config.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 +1 -1
- package/types/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/types/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/types/plugins/sticky/sticky.d.ts +1 -1
- package/types/plugins/symbols/symbols.d.ts +1 -1
- package/types/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/types/plugins/table/table.d.ts +1 -1
- package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/types/plugins/wrap-nodes/config.d.ts +1 -1
- package/types/types/jodit.d.ts +1 -1
- package/esm/config2.d.ts +0 -1632
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module async
|
|
10
10
|
*/
|
|
11
|
-
import type { CallbackFunction, IAsync, IAsyncParams, ITimeout, Nullable, RejectablePromise } from "../../types";
|
|
11
|
+
import type { CallbackFunction, IAsync, IAsyncParams, ITimeout, Nullable, RejectablePromise } from "../../types/index.d.ts";
|
|
12
12
|
type Callback = (...args: any[]) => void;
|
|
13
13
|
export declare class Async implements IAsync {
|
|
14
14
|
private timers;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module component
|
|
10
10
|
*/
|
|
11
|
-
import type { ComponentStatus, IAsync, IComponent, IDictionary, Nullable } from "../../types";
|
|
11
|
+
import type { ComponentStatus, IAsync, IComponent, IDictionary, Nullable } from "../../types/index.d.ts";
|
|
12
12
|
/**
|
|
13
13
|
* The base class of all Jodit UI components. Provides work with a life cycle.
|
|
14
14
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module component
|
|
8
8
|
*/
|
|
9
|
-
import type { IViewBased, IViewComponent } from "../../types";
|
|
9
|
+
import type { IViewBased, IViewComponent } from "../../types/index.d.ts";
|
|
10
10
|
import { Component } from "./component.d.ts";
|
|
11
11
|
export declare abstract class ViewComponent<T extends IViewBased = IViewBased> extends Component implements IViewComponent<T> {
|
|
12
12
|
/**
|
package/esm/core/constants.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
* @module constants
|
|
15
15
|
*/
|
|
16
|
-
import type { HTMLTagNames, IDictionary } from "../types";
|
|
16
|
+
import type { HTMLTagNames, IDictionary } from "../types/index.d.ts";
|
|
17
17
|
export declare const APP_VERSION: string;
|
|
18
18
|
export declare const ES: 'es5' | 'es2015' | 'es2018' | 'es2021';
|
|
19
19
|
export declare const IS_ES_MODERN: boolean;
|
package/esm/core/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export const APP_VERSION = "4.4.
|
|
6
|
+
export const APP_VERSION = "4.4.3";
|
|
7
7
|
// prettier-ignore
|
|
8
8
|
export const ES = "es2020";
|
|
9
9
|
export const IS_ES_MODERN = true;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module create
|
|
10
10
|
*/
|
|
11
|
-
import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "../../types";
|
|
11
|
+
import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "../../types/index.d.ts";
|
|
12
12
|
export declare class Create implements ICreate {
|
|
13
13
|
readonly document: Document | (() => Document);
|
|
14
14
|
readonly createAttributes?: CanUndef<IDictionary<Attributes | NodeFunction>>;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/cache
|
|
10
10
|
*/
|
|
11
|
-
import type { IDictionary, Nullable } from "../../../types";
|
|
11
|
+
import type { IDictionary, Nullable } from "../../../types/index.d.ts";
|
|
12
12
|
export interface CachePropertyDescriptor<T, R> extends PropertyDescriptor {
|
|
13
13
|
get?: (this: T) => R;
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/debounce
|
|
10
10
|
*/
|
|
11
|
-
import type { DecoratorHandler, IAsyncParams, IViewComponent } from "../../../types";
|
|
11
|
+
import type { DecoratorHandler, IAsyncParams, IViewComponent } from "../../../types/index.d.ts";
|
|
12
12
|
export declare function debounce<V extends IViewComponent = IViewComponent>(timeout?: number | ((ctx: V) => number | IAsyncParams) | IAsyncParams, firstCallImmediately?: boolean, method?: 'debounce' | 'throttle'): DecoratorHandler;
|
|
13
13
|
/**
|
|
14
14
|
* Wrap function in throttle wrapper
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/hook
|
|
10
10
|
*/
|
|
11
|
-
import type { ComponentStatus, IDictionary } from "../../../types";
|
|
12
|
-
import type { Component } from "../../component";
|
|
11
|
+
import type { ComponentStatus, IDictionary } from "../../../types/index.d.ts";
|
|
12
|
+
import type { Component } from "../../component/index.d.ts";
|
|
13
13
|
/**
|
|
14
14
|
* Call on some component status
|
|
15
15
|
*/
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/idle
|
|
10
10
|
*/
|
|
11
|
-
import type { DecoratorHandler, IComponent } from "../../../types";
|
|
11
|
+
import type { DecoratorHandler, IComponent } from "../../../types/index.d.ts";
|
|
12
12
|
export declare function idle<V extends IComponent = IComponent>(): DecoratorHandler;
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/persistent
|
|
10
10
|
*/
|
|
11
|
-
import type { IComponent } from "../../../types";
|
|
11
|
+
import type { IComponent } from "../../../types/index.d.ts";
|
|
12
12
|
export declare function persistent<T extends IComponent>(target: T, propertyKey: string): void;
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/wait
|
|
10
10
|
*/
|
|
11
|
-
import type { IViewBased, IViewComponent } from "../../../types";
|
|
11
|
+
import type { IViewBased, IViewComponent } from "../../../types/index.d.ts";
|
|
12
12
|
export declare function wait<T extends IViewBased>(condition: (ctx: T) => boolean): Function;
|
|
13
13
|
export declare function wait<T extends IViewComponent>(condition: (ctx: T) => boolean): Function;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module decorators/watch
|
|
10
10
|
*/
|
|
11
|
-
import type { CanUndef, DecoratorHandler, IDictionary } from "../../../types";
|
|
11
|
+
import type { CanUndef, DecoratorHandler, IDictionary } from "../../../types/index.d.ts";
|
|
12
12
|
export declare function getPropertyDescriptor(obj: unknown, prop: string): CanUndef<PropertyDescriptor>;
|
|
13
13
|
/**
|
|
14
14
|
* Watch decorator. Added observer for some change in field value
|
package/esm/core/dom/dom.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module dom
|
|
10
10
|
*/
|
|
11
|
-
import type { HTMLTagNames, ICreate, IDictionary, IJodit, NodeCondition, Nullable } from "../../types";
|
|
11
|
+
import type { HTMLTagNames, ICreate, IDictionary, IJodit, NodeCondition, Nullable } from "../../types/index.d.ts";
|
|
12
12
|
/**
|
|
13
13
|
* Module for working with DOM
|
|
14
14
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module dom
|
|
8
8
|
*/
|
|
9
|
-
import type { IAsync, IDestructible } from "../../types";
|
|
9
|
+
import type { IAsync, IDestructible } from "../../types/index.d.ts";
|
|
10
10
|
import { Eventify } from "../event-emitter/eventify.d.ts";
|
|
11
11
|
export declare class LazyWalker extends Eventify<{
|
|
12
12
|
visit: (node: Node) => boolean;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module event-emitter
|
|
10
10
|
*/
|
|
11
|
-
import type { CallbackFunction, CanArray, IEventEmitter, IEventEmitterOnOptions } from "../../types";
|
|
11
|
+
import type { CallbackFunction, CanArray, IEventEmitter, IEventEmitterOnOptions } from "../../types/index.d.ts";
|
|
12
12
|
/**
|
|
13
13
|
* The module editor's event manager
|
|
14
14
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module event-emitter
|
|
8
8
|
*/
|
|
9
|
-
import type { CallbackFunction, EventHandlerBlock } from "../../types";
|
|
9
|
+
import type { CallbackFunction, EventHandlerBlock } from "../../types/index.d.ts";
|
|
10
10
|
export declare const defaultNameSpace = "JoditEventDefaultNamespace";
|
|
11
11
|
export declare class EventHandlersStore {
|
|
12
12
|
private __store;
|
package/esm/core/global.d.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module global
|
|
8
8
|
*/
|
|
9
|
-
import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types";
|
|
9
|
+
import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types/index.d.ts";
|
|
10
10
|
import { PluginSystem } from "./plugin/plugin-system.d.ts";
|
|
11
|
-
import { EventEmitter } from "./event-emitter";
|
|
11
|
+
import { EventEmitter } from "./event-emitter/index.d.ts";
|
|
12
12
|
export declare const instances: IDictionary<IJodit>;
|
|
13
13
|
/**
|
|
14
14
|
* Generate global unique uid
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module helpers
|
|
10
10
|
*/
|
|
11
|
-
export * from "./array";
|
|
12
|
-
export * from "./async";
|
|
13
|
-
export * from "./checker";
|
|
14
|
-
export * from "./color";
|
|
15
|
-
export * from "./html";
|
|
16
|
-
export * from "./normalize";
|
|
17
|
-
export * from "./size";
|
|
18
|
-
export * from "./string";
|
|
19
|
-
export * from "./utils";
|
|
11
|
+
export * from "./array/index.d.ts";
|
|
12
|
+
export * from "./async/index.d.ts";
|
|
13
|
+
export * from "./checker/index.d.ts";
|
|
14
|
+
export * from "./color/index.d.ts";
|
|
15
|
+
export * from "./html/index.d.ts";
|
|
16
|
+
export * from "./normalize/index.d.ts";
|
|
17
|
+
export * from "./size/index.d.ts";
|
|
18
|
+
export * from "./string/index.d.ts";
|
|
19
|
+
export * from "./utils/index.d.ts";
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
* Calc relative offset by start editor field
|
|
11
11
|
* @returns returns an object containing the properties top and left.
|
|
12
12
|
*/
|
|
13
|
-
import type { IBound, IViewBased } from "../../../types";
|
|
13
|
+
import type { IBound, IViewBased } from "../../../types/index.d.ts";
|
|
14
14
|
export declare const offset: (elm: HTMLElement | Range, jodit: IViewBased, doc: Document, recurse?: boolean) => IBound;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/size
|
|
8
8
|
*/
|
|
9
|
-
import type { IBound, IViewBased } from "../../../types";
|
|
9
|
+
import type { IBound, IViewBased } from "../../../types/index.d.ts";
|
|
10
10
|
export declare function position(elm: HTMLElement): IBound;
|
|
11
11
|
export declare function position(elm: HTMLElement, jodit: IViewBased): IBound;
|
|
12
12
|
export declare function position(elm: HTMLElement, jodit: IViewBased, recurse: boolean): IBound;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
import type { IViewBased } from "../../../types";
|
|
9
|
+
import type { IViewBased } from "../../../types/index.d.ts";
|
|
10
10
|
export type Loader = (jodit: IViewBased, url: string) => Promise<any>;
|
|
11
11
|
export interface CallbackAndElement {
|
|
12
12
|
callback: EventListener;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
import type { IStyle, StyleValue } from "../../../types";
|
|
9
|
+
import type { IStyle, StyleValue } from "../../../types/index.d.ts";
|
|
10
10
|
export declare function css(element: HTMLElement, key: keyof CSSStyleDeclaration): string | number;
|
|
11
11
|
export declare function css(element: HTMLElement, key: string | IStyle): string | number;
|
|
12
12
|
export declare function css(element: HTMLElement, key: string | IStyle, value: StyleValue): string | number;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
import type { IDictionary } from "../../../types";
|
|
9
|
+
import type { IDictionary } from "../../../types/index.d.ts";
|
|
10
10
|
export declare const keepNames: Map<Function, string>;
|
|
11
11
|
export declare const getClassName: (obj: IDictionary) => string;
|
|
@@ -19,7 +19,7 @@ export * from "./css.d.ts";
|
|
|
19
19
|
export * from "./ctrl-key.d.ts";
|
|
20
20
|
export * from "./data-bind.d.ts";
|
|
21
21
|
export * from "./default-language.d.ts";
|
|
22
|
-
export * from "./error";
|
|
22
|
+
export * from "./error/index.d.ts";
|
|
23
23
|
export * from "./extend.d.ts";
|
|
24
24
|
export * from "./get.d.ts";
|
|
25
25
|
export * from "./get-class-name.d.ts";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
import type { HTMLTagNames, IDictionary, Nullable } from "../../../types";
|
|
9
|
+
import type { HTMLTagNames, IDictionary, Nullable } from "../../../types/index.d.ts";
|
|
10
10
|
/**
|
|
11
11
|
* Find all elements by selector and return Array. If it did not find any element, it is return empty array
|
|
12
12
|
* @internal
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
import type { CanPromise, IControlType, IJodit, IViewBased, Nullable, RejectablePromise } from "../../../types";
|
|
9
|
+
import type { CanPromise, IControlType, IJodit, IViewBased, Nullable, RejectablePromise } from "../../../types/index.d.ts";
|
|
10
10
|
/**
|
|
11
11
|
* Call function with parameters
|
|
12
12
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module plugin
|
|
8
8
|
*/
|
|
9
|
-
import type { IJodit, Nullable, PluginInstance, PluginType } from "../../../types";
|
|
9
|
+
import type { IJodit, Nullable, PluginInstance, PluginType } from "../../../types/index.d.ts";
|
|
10
10
|
/**
|
|
11
11
|
* Init plugin if it has no dependencies, in another case wait requires plugins will be init
|
|
12
12
|
* @private
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugin
|
|
10
10
|
*/
|
|
11
|
-
import type { CanUndef, IJodit, IPlugin, IViewBased } from "../../types";
|
|
12
|
-
import { ViewComponent } from "../component";
|
|
11
|
+
import type { CanUndef, IJodit, IPlugin, IViewBased } from "../../types/index.d.ts";
|
|
12
|
+
import { ViewComponent } from "../component/index.d.ts";
|
|
13
13
|
export declare abstract class Plugin<T extends IViewBased = IJodit> extends ViewComponent<T> implements IPlugin<T> {
|
|
14
14
|
static requires: string[];
|
|
15
15
|
/** @override */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module request
|
|
10
10
|
*/
|
|
11
|
-
import type { AjaxOptions, IAjax, IRequest, IResponse, RejectablePromise } from "../../types";
|
|
11
|
+
import type { AjaxOptions, IAjax, IRequest, IResponse, RejectablePromise } from "../../types/index.d.ts";
|
|
12
12
|
import "./config.d.ts";
|
|
13
13
|
export declare class Ajax<T extends object = any> implements IAjax<T> {
|
|
14
14
|
className(): string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module request
|
|
8
8
|
*/
|
|
9
|
-
import type { IRequest, IResponse } from "../../types";
|
|
9
|
+
import type { IRequest, IResponse } from "../../types/index.d.ts";
|
|
10
10
|
export declare class Response<T> implements IResponse<T> {
|
|
11
11
|
readonly status: number;
|
|
12
12
|
readonly statusText: string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module selection
|
|
8
8
|
*/
|
|
9
|
-
import type { IJodit } from "../../../types";
|
|
9
|
+
import type { IJodit } from "../../../types/index.d.ts";
|
|
10
10
|
/**
|
|
11
11
|
* Moves the fake node inside the adjacent element if it lies next to it but not inside.
|
|
12
12
|
* When the cursor is positioned in its place, it must be inside the element and not outside its border.
|