jodit 4.2.50 → 4.3.2
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/CHANGELOG.md +27 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +238 -108
- 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 +239 -108
- 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 +237 -107
- 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 +237 -107
- 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/164.fat.min.js +1 -1
- package/es5/164.min.js +1 -1
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +241 -109
- 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 +4 -0
- package/esm/config.js +4 -0
- package/esm/core/async/index.d.ts +1 -1
- package/esm/core/component/index.d.ts +3 -3
- package/esm/core/component/view-component.d.ts +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/create/index.d.ts +1 -1
- package/esm/core/decorators/cache/cache.d.ts +100 -0
- package/esm/core/decorators/cache/cache.js +106 -0
- package/esm/core/decorators/index.d.ts +11 -11
- package/esm/core/dom/index.d.ts +2 -2
- package/esm/core/dom/lazy-walker.d.ts +1 -1
- package/esm/core/event-emitter/index.d.ts +4 -4
- package/esm/core/global.d.ts +7 -2
- package/esm/core/global.js +15 -13
- package/esm/core/helpers/array/index.d.ts +3 -3
- package/esm/core/helpers/async/index.d.ts +1 -1
- package/esm/core/helpers/checker/index.d.ts +25 -25
- package/esm/core/helpers/checker/is-abort-error.d.ts +1 -1
- package/esm/core/helpers/color/index.d.ts +1 -1
- package/esm/core/helpers/html/index.d.ts +6 -6
- package/esm/core/helpers/normalize/index.d.ts +8 -8
- package/esm/core/helpers/size/index.d.ts +6 -6
- package/esm/core/helpers/string/index.d.ts +7 -7
- package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
- package/esm/core/helpers/utils/error/index.d.ts +1 -1
- package/esm/core/helpers/utils/index.d.ts +26 -26
- package/esm/core/helpers/utils/selector.d.ts +5 -1
- package/esm/core/helpers/utils/selector.js +3 -0
- package/esm/core/plugin/index.d.ts +2 -2
- package/esm/core/plugin/plugin-system.d.ts +1 -1
- package/esm/core/request/ajax.d.ts +1 -1
- package/esm/core/request/index.d.ts +2 -2
- package/esm/core/selection/helpers/index.d.ts +2 -2
- package/esm/core/selection/index.d.ts +3 -3
- package/esm/core/selection/selection.d.ts +1 -1
- package/esm/core/selection/style/api/index.d.ts +15 -15
- package/esm/core/storage/index.d.ts +3 -3
- package/esm/core/traits/dlgs.js +3 -0
- package/esm/core/ui/button/button/button.d.ts +1 -2
- package/esm/core/ui/button/group/group.d.ts +1 -2
- package/esm/core/ui/button/index.d.ts +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -2
- package/esm/core/ui/element.d.ts +2 -2
- package/esm/core/ui/form/block/block.d.ts +1 -2
- package/esm/core/ui/form/form.d.ts +1 -1
- package/esm/core/ui/form/index.d.ts +2 -2
- package/esm/core/ui/form/inputs/area/area.d.ts +1 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
- package/esm/core/ui/form/inputs/file/file.d.ts +1 -2
- package/esm/core/ui/form/inputs/index.d.ts +5 -5
- package/esm/core/ui/form/inputs/input/input.d.ts +1 -2
- package/esm/core/ui/form/inputs/select/select.d.ts +1 -2
- package/esm/core/ui/form/validators/index.d.ts +2 -2
- package/esm/core/ui/group/group.d.ts +1 -2
- package/esm/core/ui/group/index.d.ts +4 -4
- package/esm/core/ui/group/list.d.ts +1 -2
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/index.d.ts +3 -3
- package/esm/core/ui/popup/index.d.ts +1 -1
- package/esm/core/ui/popup/popup.d.ts +1 -2
- package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -2
- package/esm/core/view/view-with-toolbar.d.ts +1 -2
- package/esm/core/view/view.d.ts +3 -3
- package/esm/core/view/view.js +4 -6
- package/esm/index.d.ts +2 -4
- package/esm/jodit.d.ts +3 -3
- package/esm/jodit.js +5 -5
- package/esm/modules/context-menu/context-menu.d.ts +1 -2
- package/esm/modules/dialog/dialog.d.ts +9 -10
- package/esm/modules/dialog/dialog.js +37 -30
- package/esm/modules/dialog/index.d.ts +4 -4
- package/esm/modules/file-browser/config.d.ts +1 -1
- package/esm/modules/file-browser/file-browser.d.ts +3 -4
- package/esm/modules/file-browser/file-browser.js +2 -2
- package/esm/modules/file-browser/index.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.d.ts +0 -1
- package/esm/modules/file-browser/ui/index.d.ts +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +0 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +2 -2
- package/esm/modules/history/stack.d.ts +1 -1
- package/esm/modules/image-editor/icons/crop.svg.js +1 -1
- package/esm/modules/image-editor/icons/resize.svg.js +1 -1
- package/esm/modules/image-editor/image-editor.d.ts +1 -2
- package/esm/modules/index.d.ts +13 -13
- package/esm/modules/messages/messages.d.ts +1 -2
- package/esm/modules/status-bar/status-bar.d.ts +2 -3
- package/esm/modules/toolbar/button/button.d.ts +0 -1
- package/esm/modules/toolbar/button/content.d.ts +0 -1
- package/esm/modules/toolbar/button/index.d.ts +3 -3
- package/esm/modules/toolbar/button/select/select.d.ts +1 -2
- package/esm/modules/toolbar/collection/collection.d.ts +0 -1
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +5 -5
- package/esm/modules/uploader/uploader.d.ts +1 -2
- package/esm/modules/widget/color-picker/color-picker.d.ts +0 -1
- package/esm/modules/widget/color-picker/palette.svg.js +1 -1
- package/esm/modules/widget/index.d.ts +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +0 -1
- package/esm/plugins/about/about.d.ts +0 -1
- package/esm/plugins/about/about.svg.js +1 -1
- package/esm/plugins/add-new-line/add-new-line.d.ts +1 -2
- package/esm/plugins/add-new-line/enter.svg.js +1 -1
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/esm/plugins/ai-assistant/ai-assistant.svg.js +1 -1
- package/esm/plugins/ai-assistant/chat-bot.svg.js +1 -1
- package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
- package/esm/plugins/backspace/backspace.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
- package/esm/plugins/backspace/cases/index.d.ts +2 -2
- package/esm/plugins/bold/bold.d.ts +2 -2
- package/esm/plugins/bold/icons/bold.svg.js +1 -1
- package/esm/plugins/bold/icons/italic.svg.js +1 -1
- package/esm/plugins/bold/icons/strikethrough.svg.js +1 -1
- package/esm/plugins/bold/icons/subscript.svg.js +1 -1
- package/esm/plugins/bold/icons/superscript.svg.js +1 -1
- package/esm/plugins/bold/icons/underline.svg.js +1 -1
- package/esm/plugins/class-span/class-span.svg.js +1 -1
- package/esm/plugins/clean-html/clean-html.d.ts +2 -2
- package/esm/plugins/clean-html/eraser.svg.js +1 -1
- package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
- package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
- package/esm/plugins/clipboard/clipboard.d.ts +1 -1
- package/esm/plugins/clipboard/clipboard.js +2 -1
- package/esm/plugins/clipboard/icons/copy.svg.js +1 -1
- package/esm/plugins/clipboard/icons/cut.svg.js +1 -1
- package/esm/plugins/clipboard/icons/paste.svg.js +1 -1
- package/esm/plugins/clipboard/icons/select-all.svg.js +1 -1
- package/esm/plugins/color/brush.svg.js +1 -1
- package/esm/plugins/color/color.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.svg.js +1 -1
- package/esm/plugins/copy-format/langs/index.d.ts +21 -21
- package/esm/plugins/debug/debug.d.ts +1 -2
- package/esm/plugins/delete/delete.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/index.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
- package/esm/plugins/dtd/dtd.d.ts +1 -1
- package/esm/plugins/enter/enter.d.ts +2 -2
- package/esm/plugins/enter/helpers/index.d.ts +9 -9
- package/esm/plugins/font/font.d.ts +1 -1
- package/esm/plugins/font/icons/font.svg.js +1 -1
- package/esm/plugins/font/icons/fontsize.svg.js +1 -1
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/format-block/paragraph.svg.js +1 -1
- package/esm/plugins/fullsize/config.d.ts +0 -1
- package/esm/plugins/fullsize/fullsize.d.ts +1 -2
- package/esm/plugins/fullsize/icons/fullsize.svg.js +1 -1
- package/esm/plugins/fullsize/icons/shrink.svg.js +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +1 -1
- package/esm/plugins/hr/hr.svg.js +1 -1
- package/esm/plugins/iframe/iframe.d.ts +1 -1
- package/esm/plugins/image/image.svg.js +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +1 -1
- package/esm/plugins/image-processor/image-processor.js +5 -4
- package/esm/plugins/image-properties/config.d.ts +1 -1
- package/esm/plugins/image-properties/image-properties.d.ts +3 -3
- package/esm/plugins/image-properties/readers/align.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/readers/margin.d.ts +1 -1
- package/esm/plugins/image-properties/readers/size.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- 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/indent/icons/indent.svg.js +1 -1
- package/esm/plugins/indent/icons/outdent.svg.js +1 -1
- package/esm/plugins/indent/indent.d.ts +1 -1
- package/esm/plugins/index.d.ts +62 -62
- package/esm/plugins/inline-popup/icons/addcolumn.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/addrow.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/merge.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/splitg.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/splitv.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/th-list.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/th.svg.js +1 -1
- package/esm/plugins/inline-popup/inline-popup.d.ts +1 -2
- package/esm/plugins/justify/justify.svg.js +1 -1
- package/esm/plugins/limit/limit.d.ts +1 -1
- package/esm/plugins/line-height/langs/index.d.ts +22 -22
- package/esm/plugins/line-height/line-height.d.ts +1 -1
- package/esm/plugins/line-height/line-height.svg.js +1 -1
- package/esm/plugins/link/icons/link.svg.js +1 -1
- package/esm/plugins/link/icons/unlink.svg.js +1 -1
- package/esm/plugins/link/link.d.ts +1 -1
- package/esm/plugins/media/media.d.ts +1 -1
- package/esm/plugins/mobile/mobile.d.ts +1 -1
- package/esm/plugins/ordered-list/icons/ol.svg.js +1 -1
- package/esm/plugins/ordered-list/icons/ul.svg.js +1 -1
- package/esm/plugins/ordered-list/ordered-list.d.ts +1 -1
- package/esm/plugins/paste/helpers.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +2 -2
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -2
- package/esm/plugins/placeholder/placeholder.d.ts +2 -3
- package/esm/plugins/preview/preview.d.ts +0 -1
- package/esm/plugins/print/print.svg.js +1 -1
- package/esm/plugins/redo-undo/icons/redo.svg.js +1 -1
- package/esm/plugins/redo-undo/icons/undo.svg.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +1 -2
- package/esm/plugins/resize-handler/resize-handler.d.ts +1 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -3
- package/esm/plugins/search/config.d.ts +1 -1
- package/esm/plugins/search/helpers/index.d.ts +2 -2
- package/esm/plugins/search/search.d.ts +1 -1
- package/esm/plugins/search/search.js +2 -2
- package/esm/plugins/search/search.svg.js +1 -1
- package/esm/plugins/search/ui/search.d.ts +0 -1
- package/esm/plugins/select/select.d.ts +1 -1
- package/esm/plugins/select-cells/select-cells.d.ts +1 -1
- package/esm/plugins/size/size.d.ts +2 -3
- 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/engines/index.d.ts +2 -2
- package/esm/plugins/source/source.d.ts +1 -2
- package/esm/plugins/source/source.svg.js +1 -1
- package/esm/plugins/speech-recognize/config.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
- package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -2
- package/esm/plugins/speech-recognize/speech-recognize.svg.js +1 -1
- package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
- package/esm/plugins/spellcheck/spellcheck.d.ts +1 -1
- package/esm/plugins/spellcheck/spellcheck.svg.js +1 -1
- package/esm/plugins/stat/stat.d.ts +2 -2
- package/esm/plugins/sticky/sticky.d.ts +2 -3
- package/esm/plugins/symbols/langs/index.d.ts +22 -22
- package/esm/plugins/symbols/symbols.d.ts +2 -3
- package/esm/plugins/symbols/symbols.svg.js +1 -1
- package/esm/plugins/tab/cases/index.d.ts +1 -1
- package/esm/plugins/tab/tab.d.ts +1 -1
- package/esm/plugins/table/table.d.ts +1 -2
- package/esm/plugins/table/table.svg.js +1 -1
- package/esm/plugins/video/video.d.ts +1 -1
- package/esm/plugins/video/video.svg.js +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
- package/esm/plugins/xpath/xpath.d.ts +1 -2
- package/esm/polyfills.js +3 -3
- package/esm/styles/icons/angle-down.svg.js +1 -1
- package/esm/styles/icons/angle-left.svg.js +1 -1
- package/esm/styles/icons/angle-right.svg.js +1 -1
- package/esm/styles/icons/angle-up.svg.js +1 -1
- package/esm/styles/icons/bin.svg.js +1 -1
- package/esm/styles/icons/cancel.svg.js +1 -1
- package/esm/styles/icons/center.svg.js +1 -1
- package/esm/styles/icons/check.svg.js +1 -1
- package/esm/styles/icons/chevron.svg.js +1 -1
- package/esm/styles/icons/dots.svg.js +1 -1
- package/esm/styles/icons/eye.svg.js +1 -1
- package/esm/styles/icons/file.svg.js +1 -1
- package/esm/styles/icons/folder.svg.js +1 -1
- package/esm/styles/icons/index.d.ts +0 -27
- package/esm/styles/icons/info-circle.svg.js +1 -1
- package/esm/styles/icons/left.svg.js +1 -1
- package/esm/styles/icons/lock.svg.js +1 -1
- package/esm/styles/icons/ok.svg.js +1 -1
- package/esm/styles/icons/pencil.svg.js +1 -1
- package/esm/styles/icons/pins.svg.js +1 -1
- package/esm/styles/icons/plus.svg.js +1 -1
- package/esm/styles/icons/resize-handler.svg.js +1 -1
- package/esm/styles/icons/right.svg.js +1 -1
- package/esm/styles/icons/save.svg.js +1 -1
- package/esm/styles/icons/settings.svg.js +1 -1
- package/esm/styles/icons/unlock.svg.js +1 -1
- package/esm/styles/icons/update.svg.js +1 -1
- package/esm/styles/icons/upload.svg.js +1 -1
- package/esm/styles/icons/valign.svg.js +1 -1
- package/esm/types/ajax.d.ts +1 -1
- package/esm/types/async.d.ts +2 -2
- package/esm/types/context.d.ts +2 -2
- package/esm/types/core.d.ts +1 -1
- package/esm/types/create.d.ts +1 -1
- package/esm/types/dialog.d.ts +3 -3
- package/esm/types/events.d.ts +1 -1
- package/esm/types/file-browser.d.ts +7 -7
- package/esm/types/history.d.ts +1 -1
- package/esm/types/index.d.ts +23 -23
- package/esm/types/jodit.d.ts +5 -5
- package/esm/types/messages.d.ts +1 -1
- package/esm/types/plugin.d.ts +3 -3
- package/esm/types/popup.d.ts +2 -2
- package/esm/types/select.d.ts +2 -2
- package/esm/types/source.d.ts +1 -1
- package/esm/types/style.d.ts +2 -2
- package/esm/types/toolbar.d.ts +6 -6
- package/esm/types/traits.d.ts +2 -2
- package/esm/types/types.d.ts +2 -2
- package/esm/types/ui.d.ts +5 -5
- package/esm/types/uploader.d.ts +3 -3
- package/esm/types/view.d.ts +10 -9
- package/package.json +1 -1
- package/types/config.d.ts +4 -0
- package/types/core/async/index.d.ts +1 -1
- package/types/core/component/index.d.ts +3 -3
- package/types/core/component/view-component.d.ts +1 -1
- package/types/core/create/index.d.ts +1 -1
- package/types/core/decorators/cache/cache.d.ts +100 -0
- package/types/core/decorators/index.d.ts +11 -11
- package/types/core/dom/index.d.ts +2 -2
- package/types/core/dom/lazy-walker.d.ts +1 -1
- package/types/core/event-emitter/index.d.ts +4 -4
- package/types/core/global.d.ts +7 -2
- 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 +25 -25
- package/types/core/helpers/checker/is-abort-error.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/normalize/index.d.ts +8 -8
- package/types/core/helpers/size/index.d.ts +6 -6
- package/types/core/helpers/string/index.d.ts +7 -7
- package/types/core/helpers/utils/error/errors/abort-error.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 +1 -1
- package/types/core/helpers/utils/index.d.ts +26 -26
- package/types/core/helpers/utils/selector.d.ts +5 -1
- package/types/core/plugin/index.d.ts +2 -2
- package/types/core/plugin/plugin-system.d.ts +1 -1
- package/types/core/request/ajax.d.ts +1 -1
- package/types/core/request/index.d.ts +2 -2
- package/types/core/selection/helpers/index.d.ts +2 -2
- package/types/core/selection/index.d.ts +3 -3
- package/types/core/selection/selection.d.ts +1 -1
- package/types/core/selection/style/api/index.d.ts +15 -15
- package/types/core/storage/index.d.ts +3 -3
- package/types/core/ui/button/button/button.d.ts +1 -2
- package/types/core/ui/button/group/group.d.ts +1 -2
- package/types/core/ui/button/index.d.ts +3 -3
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -2
- package/types/core/ui/element.d.ts +2 -2
- package/types/core/ui/form/block/block.d.ts +1 -2
- package/types/core/ui/form/form.d.ts +1 -1
- package/types/core/ui/form/index.d.ts +2 -2
- package/types/core/ui/form/inputs/area/area.d.ts +1 -2
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
- package/types/core/ui/form/inputs/file/file.d.ts +1 -2
- package/types/core/ui/form/inputs/index.d.ts +5 -5
- package/types/core/ui/form/inputs/input/input.d.ts +1 -2
- package/types/core/ui/form/inputs/select/select.d.ts +1 -2
- package/types/core/ui/form/validators/index.d.ts +2 -2
- package/types/core/ui/group/group.d.ts +1 -2
- package/types/core/ui/group/index.d.ts +4 -4
- package/types/core/ui/group/list.d.ts +1 -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/index.d.ts +3 -3
- package/types/core/ui/popup/index.d.ts +1 -1
- package/types/core/ui/popup/popup.d.ts +1 -2
- package/types/core/ui/progress-bar/progress-bar.d.ts +1 -2
- package/types/core/view/view-with-toolbar.d.ts +1 -2
- package/types/core/view/view.d.ts +3 -3
- package/types/index.d.ts +2 -4
- package/types/jodit.d.ts +3 -3
- package/types/modules/context-menu/context-menu.d.ts +1 -2
- package/types/modules/dialog/dialog.d.ts +9 -10
- package/types/modules/dialog/index.d.ts +4 -4
- package/types/modules/file-browser/config.d.ts +1 -1
- package/types/modules/file-browser/file-browser.d.ts +3 -4
- package/types/modules/file-browser/index.d.ts +1 -1
- package/types/modules/file-browser/ui/files/files.d.ts +0 -1
- package/types/modules/file-browser/ui/index.d.ts +2 -2
- package/types/modules/file-browser/ui/tree/tree.d.ts +0 -1
- package/types/modules/history/command.d.ts +1 -1
- package/types/modules/history/history.d.ts +2 -2
- package/types/modules/history/stack.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +1 -2
- package/types/modules/index.d.ts +13 -13
- package/types/modules/messages/messages.d.ts +1 -2
- package/types/modules/status-bar/status-bar.d.ts +2 -3
- package/types/modules/toolbar/button/button.d.ts +0 -1
- package/types/modules/toolbar/button/content.d.ts +0 -1
- package/types/modules/toolbar/button/index.d.ts +3 -3
- package/types/modules/toolbar/button/select/select.d.ts +1 -2
- package/types/modules/toolbar/collection/collection.d.ts +0 -1
- package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/types/modules/uploader/helpers/index.d.ts +5 -5
- package/types/modules/uploader/uploader.d.ts +1 -2
- package/types/modules/widget/color-picker/color-picker.d.ts +0 -1
- package/types/modules/widget/index.d.ts +3 -3
- package/types/modules/widget/tabs/tabs.d.ts +0 -1
- package/types/plugins/about/about.d.ts +0 -1
- package/types/plugins/add-new-line/add-new-line.d.ts +1 -2
- package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
- package/types/plugins/backspace/backspace.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-char.d.ts +1 -1
- package/types/plugins/backspace/cases/index.d.ts +2 -2
- package/types/plugins/bold/bold.d.ts +2 -2
- package/types/plugins/clean-html/clean-html.d.ts +2 -2
- package/types/plugins/clean-html/helpers/index.d.ts +4 -4
- package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
- package/types/plugins/clipboard/clipboard.d.ts +1 -1
- package/types/plugins/color/color.d.ts +1 -1
- package/types/plugins/copy-format/langs/index.d.ts +21 -21
- package/types/plugins/debug/debug.d.ts +1 -2
- package/types/plugins/delete/delete.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/index.d.ts +1 -1
- package/types/plugins/dtd/before-insert/index.d.ts +1 -1
- package/types/plugins/dtd/dtd.d.ts +1 -1
- package/types/plugins/enter/enter.d.ts +2 -2
- package/types/plugins/enter/helpers/index.d.ts +9 -9
- package/types/plugins/font/font.d.ts +1 -1
- package/types/plugins/format-block/format-block.d.ts +1 -1
- package/types/plugins/fullsize/config.d.ts +0 -1
- package/types/plugins/fullsize/fullsize.d.ts +1 -2
- package/types/plugins/hotkeys/hotkeys.d.ts +1 -1
- package/types/plugins/iframe/iframe.d.ts +1 -1
- package/types/plugins/image-processor/image-processor.d.ts +1 -1
- package/types/plugins/image-properties/config.d.ts +1 -1
- package/types/plugins/image-properties/image-properties.d.ts +3 -3
- package/types/plugins/image-properties/readers/align.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/readers/margin.d.ts +1 -1
- package/types/plugins/image-properties/readers/size.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
- package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- 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/indent/indent.d.ts +1 -1
- package/types/plugins/index.d.ts +62 -62
- package/types/plugins/inline-popup/inline-popup.d.ts +1 -2
- package/types/plugins/limit/limit.d.ts +1 -1
- package/types/plugins/line-height/langs/index.d.ts +22 -22
- package/types/plugins/line-height/line-height.d.ts +1 -1
- package/types/plugins/link/link.d.ts +1 -1
- package/types/plugins/media/media.d.ts +1 -1
- package/types/plugins/mobile/mobile.d.ts +1 -1
- package/types/plugins/ordered-list/ordered-list.d.ts +1 -1
- package/types/plugins/paste/helpers.d.ts +1 -1
- package/types/plugins/paste/paste.d.ts +2 -2
- package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -2
- package/types/plugins/placeholder/placeholder.d.ts +2 -3
- package/types/plugins/preview/preview.d.ts +0 -1
- package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/types/plugins/resize-cells/resize-cells.d.ts +1 -2
- package/types/plugins/resize-handler/resize-handler.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +2 -3
- package/types/plugins/search/config.d.ts +1 -1
- package/types/plugins/search/helpers/index.d.ts +2 -2
- package/types/plugins/search/search.d.ts +1 -1
- package/types/plugins/search/ui/search.d.ts +0 -1
- package/types/plugins/select/select.d.ts +1 -1
- package/types/plugins/select-cells/select-cells.d.ts +1 -1
- package/types/plugins/size/size.d.ts +2 -3
- 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/engines/index.d.ts +2 -2
- package/types/plugins/source/source.d.ts +1 -2
- package/types/plugins/speech-recognize/config.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
- package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/types/plugins/speech-recognize/speech-recognize.d.ts +1 -2
- package/types/plugins/spellcheck/langs/index.d.ts +22 -22
- package/types/plugins/spellcheck/spellcheck.d.ts +1 -1
- package/types/plugins/stat/stat.d.ts +2 -2
- package/types/plugins/sticky/sticky.d.ts +2 -3
- package/types/plugins/symbols/langs/index.d.ts +22 -22
- package/types/plugins/symbols/symbols.d.ts +2 -3
- package/types/plugins/tab/cases/index.d.ts +1 -1
- package/types/plugins/tab/tab.d.ts +1 -1
- package/types/plugins/table/table.d.ts +1 -2
- package/types/plugins/video/video.d.ts +1 -1
- package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
- package/types/plugins/xpath/xpath.d.ts +1 -2
- package/types/styles/icons/index.d.ts +0 -27
- package/types/types/ajax.d.ts +1 -1
- package/types/types/async.d.ts +2 -2
- package/types/types/context.d.ts +2 -2
- package/types/types/core.d.ts +1 -1
- package/types/types/create.d.ts +1 -1
- package/types/types/dialog.d.ts +3 -3
- package/types/types/events.d.ts +1 -1
- package/types/types/file-browser.d.ts +7 -7
- package/types/types/history.d.ts +1 -1
- package/types/types/index.d.ts +23 -23
- package/types/types/jodit.d.ts +5 -5
- package/types/types/messages.d.ts +1 -1
- package/types/types/plugin.d.ts +3 -3
- package/types/types/popup.d.ts +2 -2
- package/types/types/select.d.ts +2 -2
- package/types/types/source.d.ts +1 -1
- package/types/types/style.d.ts +2 -2
- package/types/types/toolbar.d.ts +6 -6
- package/types/types/traits.d.ts +2 -2
- package/types/types/types.d.ts +2 -2
- package/types/types/ui.d.ts +5 -5
- package/types/types/uploader.d.ts +3 -3
- package/types/types/view.d.ts +10 -9
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/string
|
|
8
8
|
*/
|
|
9
|
-
export * from "./camel-case";
|
|
10
|
-
export * from "./fuzzy-search-index";
|
|
11
|
-
export * from "./i18n";
|
|
12
|
-
export * from "./kebab-case";
|
|
13
|
-
export * from "./stringify";
|
|
14
|
-
export * from "./trim";
|
|
15
|
-
export * from "./ucfirst";
|
|
9
|
+
export * from "./camel-case.d.ts";
|
|
10
|
+
export * from "./fuzzy-search-index.d.ts";
|
|
11
|
+
export * from "./i18n.d.ts";
|
|
12
|
+
export * from "./kebab-case.d.ts";
|
|
13
|
+
export * from "./stringify.d.ts";
|
|
14
|
+
export * from "./trim.d.ts";
|
|
15
|
+
export * from "./ucfirst.d.ts";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
import { isAbortError } from "../../../checker/is-abort-error";
|
|
9
|
+
import { isAbortError } from "../../../checker/is-abort-error.d.ts";
|
|
10
10
|
/**
|
|
11
11
|
* `AbortError` is not a separate exception, but rather a {@link DOMException} with a special `name`.
|
|
12
12
|
* https://webidl.spec.whatwg.org/#aborterror
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
export * from "./abort-error";
|
|
10
|
-
export * from "./connection-error";
|
|
11
|
-
export * from "./options-error";
|
|
9
|
+
export * from "./abort-error.d.ts";
|
|
10
|
+
export * from "./connection-error.d.ts";
|
|
11
|
+
export * from "./options-error.d.ts";
|
|
@@ -6,30 +6,30 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
export * from "./align";
|
|
10
|
-
export * from "./append-script";
|
|
11
|
-
export * from "./assert";
|
|
12
|
-
export * from "./attr";
|
|
13
|
-
export * from "./browser";
|
|
14
|
-
export * from "./build-query";
|
|
15
|
-
export * from "./complete-url";
|
|
16
|
-
export * from "./config-proto";
|
|
17
|
-
export * from "./convert-media-url-to-video-embed";
|
|
18
|
-
export * from "./css";
|
|
19
|
-
export * from "./ctrl-key";
|
|
20
|
-
export * from "./data-bind";
|
|
21
|
-
export * from "./default-language";
|
|
9
|
+
export * from "./align.d.ts";
|
|
10
|
+
export * from "./append-script.d.ts";
|
|
11
|
+
export * from "./assert.d.ts";
|
|
12
|
+
export * from "./attr.d.ts";
|
|
13
|
+
export * from "./browser.d.ts";
|
|
14
|
+
export * from "./build-query.d.ts";
|
|
15
|
+
export * from "./complete-url.d.ts";
|
|
16
|
+
export * from "./config-proto.d.ts";
|
|
17
|
+
export * from "./convert-media-url-to-video-embed.d.ts";
|
|
18
|
+
export * from "./css.d.ts";
|
|
19
|
+
export * from "./ctrl-key.d.ts";
|
|
20
|
+
export * from "./data-bind.d.ts";
|
|
21
|
+
export * from "./default-language.d.ts";
|
|
22
22
|
export * from "./error";
|
|
23
|
-
export * from "./extend";
|
|
24
|
-
export * from "./get";
|
|
25
|
-
export * from "./get-class-name";
|
|
26
|
-
export * from "./human-size-to-bytes";
|
|
27
|
-
export * from "./mark-deprecated";
|
|
28
|
-
export * from "./parse-query";
|
|
29
|
-
export * from "./print";
|
|
30
|
-
export * from "./reset";
|
|
31
|
-
export * from "./scroll-into-view";
|
|
32
|
-
export * from "./selector";
|
|
33
|
-
export * from "./set";
|
|
34
|
-
export * from "./stack";
|
|
35
|
-
export * from "./utils";
|
|
23
|
+
export * from "./extend.d.ts";
|
|
24
|
+
export * from "./get.d.ts";
|
|
25
|
+
export * from "./get-class-name.d.ts";
|
|
26
|
+
export * from "./human-size-to-bytes.d.ts";
|
|
27
|
+
export * from "./mark-deprecated.d.ts";
|
|
28
|
+
export * from "./parse-query.d.ts";
|
|
29
|
+
export * from "./print.d.ts";
|
|
30
|
+
export * from "./reset.d.ts";
|
|
31
|
+
export * from "./scroll-into-view.d.ts";
|
|
32
|
+
export * from "./selector.d.ts";
|
|
33
|
+
export * from "./set.d.ts";
|
|
34
|
+
export * from "./stack.d.ts";
|
|
35
|
+
export * from "./utils.d.ts";
|
|
@@ -15,14 +15,18 @@ import type { HTMLTagNames, IDictionary, Nullable } from "../../../types";
|
|
|
15
15
|
* ```javascript
|
|
16
16
|
* Jodit.modules.Helpers.$$('.someselector').forEach(function (elm) {
|
|
17
17
|
* elm.addEventListener('click', function () {
|
|
18
|
-
* alert('
|
|
18
|
+
* alert('Clicked');
|
|
19
19
|
* });
|
|
20
20
|
* })
|
|
21
21
|
* ```
|
|
22
22
|
* @param selector - CSS like selector
|
|
23
23
|
* @param root - where to search
|
|
24
|
+
* @deprecated Do not use it in new code
|
|
24
25
|
*/
|
|
25
26
|
export declare function $$<K extends HTMLTagNames>(selector: K, root: HTMLElement | DocumentFragment): Array<HTMLElementTagNameMap[K]>;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Do not use it in new code
|
|
29
|
+
*/
|
|
26
30
|
export declare function $$<T extends HTMLElement>(selector: string, root: HTMLElement | DocumentFragment): T[];
|
|
27
31
|
/**
|
|
28
32
|
* Calculate XPath selector
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module request
|
|
10
10
|
*/
|
|
11
11
|
import type { AjaxOptions, IAjax, IRequest, IResponse, RejectablePromise } from "../../types";
|
|
12
|
-
import "./config";
|
|
12
|
+
import "./config.d.ts";
|
|
13
13
|
export declare class Ajax<T extends object = any> implements IAjax<T> {
|
|
14
14
|
className(): string;
|
|
15
15
|
private __async;
|
|
@@ -3,8 +3,8 @@
|
|
|
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 * from "./move-node-inside-start";
|
|
7
|
-
export * from "./move-the-node-along-the-edge-outward";
|
|
6
|
+
export * from "./move-node-inside-start.d.ts";
|
|
7
|
+
export * from "./move-the-node-along-the-edge-outward.d.ts";
|
|
8
8
|
/**
|
|
9
9
|
* Check if the cursor is at the edge of the string
|
|
10
10
|
* @private
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module selection
|
|
8
8
|
*/
|
|
9
|
-
export * from "./selection";
|
|
10
|
-
export * from "./style/commit-style";
|
|
11
|
-
export * from "./style/constants";
|
|
9
|
+
export * from "./selection.d.ts";
|
|
10
|
+
export * from "./style/commit-style.d.ts";
|
|
11
|
+
export * from "./style/constants.d.ts";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module selection
|
|
10
10
|
*/
|
|
11
11
|
import type { HTMLTagNames, IDictionary, IJodit, ISelect, IStyleOptions, MarkerInfo, Nullable } from "../../types";
|
|
12
|
-
import "./interface";
|
|
12
|
+
import "./interface.d.ts";
|
|
13
13
|
export declare class Selection implements ISelect {
|
|
14
14
|
readonly jodit: IJodit;
|
|
15
15
|
constructor(jodit: IJodit);
|
|
@@ -3,18 +3,18 @@
|
|
|
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 * from "./extract";
|
|
7
|
-
export * from "./finite-state-machine";
|
|
8
|
-
export * from "./get-suit-child";
|
|
9
|
-
export * from "./get-suit-parent";
|
|
10
|
-
export * from "./has-same-style";
|
|
11
|
-
export * from "./is-inside-invisible-element";
|
|
12
|
-
export * from "./is-normal-node";
|
|
13
|
-
export * from "./is-same-attributes";
|
|
14
|
-
export * from "./is-suit-element";
|
|
15
|
-
export * from "./list/toggle-ordered-list";
|
|
16
|
-
export * from "./list/wrap-list";
|
|
17
|
-
export * from "./toggle-attributes";
|
|
18
|
-
export * from "./unwrap-children";
|
|
19
|
-
export * from "./wrap";
|
|
20
|
-
export * from "./wrap-unwrapped-text";
|
|
6
|
+
export * from "./extract.d.ts";
|
|
7
|
+
export * from "./finite-state-machine.d.ts";
|
|
8
|
+
export * from "./get-suit-child.d.ts";
|
|
9
|
+
export * from "./get-suit-parent.d.ts";
|
|
10
|
+
export * from "./has-same-style.d.ts";
|
|
11
|
+
export * from "./is-inside-invisible-element.d.ts";
|
|
12
|
+
export * from "./is-normal-node.d.ts";
|
|
13
|
+
export * from "./is-same-attributes.d.ts";
|
|
14
|
+
export * from "./is-suit-element.d.ts";
|
|
15
|
+
export * from "./list/toggle-ordered-list.d.ts";
|
|
16
|
+
export * from "./list/wrap-list.d.ts";
|
|
17
|
+
export * from "./toggle-attributes.d.ts";
|
|
18
|
+
export * from "./unwrap-children.d.ts";
|
|
19
|
+
export * from "./wrap.d.ts";
|
|
20
|
+
export * from "./wrap-unwrapped-text.d.ts";
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module storage
|
|
8
8
|
*/
|
|
9
|
-
export * from "./engines/local-storage-provider";
|
|
10
|
-
export * from "./engines/memory-storage-provider";
|
|
11
|
-
export * from "./storage";
|
|
9
|
+
export * from "./engines/local-storage-provider.d.ts";
|
|
10
|
+
export * from "./engines/memory-storage-provider.d.ts";
|
|
11
|
+
export * from "./storage.d.ts";
|
package/esm/core/traits/dlgs.js
CHANGED
|
@@ -3,14 +3,17 @@
|
|
|
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
|
+
import { getPopupViewRoot } from "../global.js";
|
|
6
7
|
import { isHTML, isString } from "../helpers/checker/index.js";
|
|
7
8
|
import { markOwner } from "../helpers/utils/utils.js";
|
|
8
9
|
import { Alert, Confirm, Dialog, Prompt } from "../../modules/dialog/index.js";
|
|
9
10
|
export class Dlgs {
|
|
10
11
|
dlg(options) {
|
|
12
|
+
const popupRoot = getPopupViewRoot(this.o, this.container, this.od.body);
|
|
11
13
|
const dialog = new Dialog({
|
|
12
14
|
language: this.o.language,
|
|
13
15
|
shadowRoot: this.o.shadowRoot,
|
|
16
|
+
popupRoot,
|
|
14
17
|
ownerWindow: this.o.ownerWindow,
|
|
15
18
|
defaultTimeout: this.o.defaultTimeout,
|
|
16
19
|
direction: this.o.direction,
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/button
|
|
8
8
|
*/
|
|
9
9
|
import type { ButtonVariant, IUIButton, IUIButtonState, IUIButtonStatePartial, IViewBased } from "../../../../types";
|
|
10
|
-
import { UIElement } from "../../element";
|
|
11
|
-
|
|
10
|
+
import { UIElement } from "../../element.d.ts";
|
|
12
11
|
export declare const UIButtonState: () => IUIButtonState;
|
|
13
12
|
export declare class UIButton extends UIElement implements IUIButton {
|
|
14
13
|
/** @override */
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/button
|
|
8
8
|
*/
|
|
9
9
|
import type { IDictionary, IUIButton, IUIOption, IViewBased } from "../../../../types";
|
|
10
|
-
import { UIGroup } from "../../group/group";
|
|
11
|
-
|
|
10
|
+
import { UIGroup } from "../../group/group.d.ts";
|
|
12
11
|
export declare class UIButtonGroup extends UIGroup {
|
|
13
12
|
readonly options: {
|
|
14
13
|
name?: string;
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module ui/button
|
|
10
10
|
*/
|
|
11
|
-
export * from "./button/button";
|
|
12
|
-
export * from "./group/group";
|
|
13
|
-
export * from "./tooltip/tooltip";
|
|
11
|
+
export * from "./button/button.d.ts";
|
|
12
|
+
export * from "./group/group.d.ts";
|
|
13
|
+
export * from "./tooltip/tooltip.d.ts";
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* @module ui/button
|
|
10
10
|
*/
|
|
11
11
|
import type { IViewBased } from "../../../../types";
|
|
12
|
-
import { UIElement } from "../../element";
|
|
13
|
-
|
|
12
|
+
import { UIElement } from "../../element.d.ts";
|
|
14
13
|
export declare class UITooltip extends UIElement {
|
|
15
14
|
private __isOpened;
|
|
16
15
|
className(): string;
|
package/esm/core/ui/element.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { IDictionary, IUIElement, IViewBased, Nullable } from "../../types";
|
|
10
10
|
import { ViewComponent } from "../component";
|
|
11
|
-
import { Elms } from "../traits/elms";
|
|
12
|
-
import { Mods } from "../traits/mods";
|
|
11
|
+
import { Elms } from "../traits/elms.d.ts";
|
|
12
|
+
import { Mods } from "../traits/mods.d.ts";
|
|
13
13
|
export interface UIElement extends Mods, Elms {
|
|
14
14
|
}
|
|
15
15
|
export declare abstract class UIElement<T extends IViewBased = IViewBased> extends ViewComponent<T> implements IUIElement, Mods, Elms {
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
9
|
import type { IUIElement, IViewBased } from "../../../../types";
|
|
10
|
-
import { UIGroup } from "../../group/group";
|
|
11
|
-
|
|
10
|
+
import { UIGroup } from "../../group/group.d.ts";
|
|
12
11
|
export declare class UIBlock extends UIGroup {
|
|
13
12
|
readonly options: {
|
|
14
13
|
className?: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module ui/form
|
|
10
10
|
*/
|
|
11
11
|
import type { IDictionary, IUIForm } from "../../../types";
|
|
12
|
-
import { UIGroup } from "../group/group";
|
|
12
|
+
import { UIGroup } from "../group/group.d.ts";
|
|
13
13
|
export declare class UIForm extends UIGroup implements IUIForm {
|
|
14
14
|
/** @override */
|
|
15
15
|
className(): string;
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
9
|
import type { IUIInput, IUITextArea, IViewBased } from "../../../../../types";
|
|
10
|
-
import { UIInput } from "../input/input";
|
|
11
|
-
|
|
10
|
+
import { UIInput } from "../input/input.d.ts";
|
|
12
11
|
export declare class UITextArea extends UIInput implements IUITextArea {
|
|
13
12
|
/** @override */
|
|
14
13
|
className(): string;
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
9
|
import type { IUICheckBox, IViewBased } from "../../../../../types";
|
|
10
|
-
import { UIInput } from "../input/input";
|
|
11
|
-
|
|
10
|
+
import { UIInput } from "../input/input.d.ts";
|
|
12
11
|
export declare class UICheckbox extends UIInput implements IUICheckBox {
|
|
13
12
|
/** @override */
|
|
14
13
|
className(): string;
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
9
|
import type { IUIInput, IViewBased } from "../../../../../types";
|
|
10
|
-
import { UIInput } from "../input/input";
|
|
11
|
-
|
|
10
|
+
import { UIInput } from "../input/input.d.ts";
|
|
12
11
|
export declare class UIFileInput extends UIInput {
|
|
13
12
|
private button;
|
|
14
13
|
state: UIInput['state'] & {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
|
-
export * from "./area/area";
|
|
10
|
-
export * from "./checkbox/checkbox";
|
|
11
|
-
export * from "./file/file";
|
|
12
|
-
export * from "./input/input";
|
|
13
|
-
export * from "./select/select";
|
|
9
|
+
export * from "./area/area.d.ts";
|
|
10
|
+
export * from "./checkbox/checkbox.d.ts";
|
|
11
|
+
export * from "./file/file.d.ts";
|
|
12
|
+
export * from "./input/input.d.ts";
|
|
13
|
+
export * from "./select/select.d.ts";
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
9
|
import type { IUIInput, IUIInputValidator, IViewBased } from "../../../../../types";
|
|
10
|
-
import { UIElement } from "../../../element";
|
|
11
|
-
|
|
10
|
+
import { UIElement } from "../../../element.d.ts";
|
|
12
11
|
export declare class UIInput extends UIElement implements IUIInput {
|
|
13
12
|
/** @override */
|
|
14
13
|
className(): string;
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
9
|
import type { IUISelect, IViewBased } from "../../../../../types";
|
|
10
|
-
import { UIInput } from "../input/input";
|
|
11
|
-
|
|
10
|
+
import { UIInput } from "../input/input.d.ts";
|
|
12
11
|
export declare class UISelect extends UIInput implements IUISelect {
|
|
13
12
|
/** @override */
|
|
14
13
|
className(): string;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* @module ui/group
|
|
10
10
|
*/
|
|
11
11
|
import type { IDictionary, IUIButtonState, IUIElement, IUIGroup, IViewBased, ModType } from "../../../types";
|
|
12
|
-
import { UIElement } from "../element";
|
|
13
|
-
|
|
12
|
+
import { UIElement } from "../element.d.ts";
|
|
14
13
|
export declare class UIGroup<T extends IViewBased = IViewBased> extends UIElement<T> implements IUIGroup {
|
|
15
14
|
readonly options?: IDictionary | undefined;
|
|
16
15
|
className(): string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/group
|
|
8
8
|
*/
|
|
9
|
-
export * from "./group";
|
|
10
|
-
export * from "./list";
|
|
11
|
-
export * from "./separator";
|
|
12
|
-
export * from "./spacer";
|
|
9
|
+
export * from "./group.d.ts";
|
|
10
|
+
export * from "./list.d.ts";
|
|
11
|
+
export * from "./separator.d.ts";
|
|
12
|
+
export * from "./spacer.d.ts";
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module ui/group
|
|
8
8
|
*/
|
|
9
9
|
import type { ButtonsOption, IControlTypeStrong, IUIButton, IUIList, IViewBased, Nullable } from "../../../types";
|
|
10
|
-
import { UIGroup } from "./group";
|
|
11
|
-
|
|
10
|
+
import { UIGroup } from "./group.d.ts";
|
|
12
11
|
export declare class UIList<T extends IViewBased = IViewBased> extends UIGroup<T> implements IUIList {
|
|
13
12
|
/** @override */
|
|
14
13
|
className(): string;
|
|
@@ -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
|
-
import { UIElement } from "../element";
|
|
6
|
+
import { UIElement } from "../element.d.ts";
|
|
7
7
|
export declare class UISeparator extends UIElement {
|
|
8
8
|
className(): string;
|
|
9
9
|
}
|
|
@@ -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
|
-
import { UIElement } from "../element";
|
|
6
|
+
import { UIElement } from "../element.d.ts";
|
|
7
7
|
export declare class UISpacer extends UIElement {
|
|
8
8
|
className(): string;
|
|
9
9
|
}
|
package/esm/core/ui/index.d.ts
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* @module ui
|
|
10
10
|
*/
|
|
11
11
|
export * from "./button";
|
|
12
|
-
export * from "./element";
|
|
12
|
+
export * from "./element.d.ts";
|
|
13
13
|
export * from "./form";
|
|
14
14
|
export * from "./group";
|
|
15
|
-
export * from "./icon";
|
|
15
|
+
export * from "./icon.d.ts";
|
|
16
16
|
export * from "./popup";
|
|
17
|
-
export * from "./progress-bar/progress-bar";
|
|
17
|
+
export * from "./progress-bar/progress-bar.d.ts";
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* @module ui/popup
|
|
10
10
|
*/
|
|
11
11
|
import type { IBound, IPopup, IUIElement, IViewBased, PopupStrategy } from "../../../types";
|
|
12
|
-
import { UIGroup } from "../group/group";
|
|
13
|
-
|
|
12
|
+
import { UIGroup } from "../group/group.d.ts";
|
|
14
13
|
type getBoundFunc = () => IBound;
|
|
15
14
|
export declare class Popup extends UIGroup implements IPopup {
|
|
16
15
|
readonly smart: boolean;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* @module ui/progress-bar
|
|
10
10
|
*/
|
|
11
11
|
import type { IProgressBar } from "../../../types";
|
|
12
|
-
import { UIElement } from "../element";
|
|
13
|
-
|
|
12
|
+
import { UIElement } from "../element.d.ts";
|
|
14
13
|
export declare class ProgressBar extends UIElement implements IProgressBar {
|
|
15
14
|
/** @override */
|
|
16
15
|
className(): string;
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module view
|
|
8
8
|
*/
|
|
9
9
|
import type { IDictionary, IPluginButton, IToolbarCollection, IViewOptions, IViewWithToolbar } from "../../types";
|
|
10
|
-
import { View } from "./view";
|
|
11
|
-
|
|
10
|
+
import { View } from "./view.d.ts";
|
|
12
11
|
export declare abstract class ViewWithToolbar extends View implements IViewWithToolbar {
|
|
13
12
|
TOOLBAR: IToolbarCollection;
|
|
14
13
|
toolbar: this['TOOLBAR'];
|
package/esm/core/view/view.d.ts
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* @module view
|
|
10
10
|
*/
|
|
11
11
|
import type { IComponent, ICreate, IDictionary, IEventEmitter, IMessages, IProgressBar, IStorage, IViewBased, IViewOptions, Nullable } from "../../types";
|
|
12
|
-
import { Component } from "../component/component";
|
|
13
|
-
import { Elms } from "../traits/elms";
|
|
14
|
-
import { Mods } from "../traits/mods";
|
|
12
|
+
import { Component } from "../component/component.d.ts";
|
|
13
|
+
import { Elms } from "../traits/elms.d.ts";
|
|
14
|
+
import { Mods } from "../traits/mods.d.ts";
|
|
15
15
|
export interface View extends Mods, Elms {
|
|
16
16
|
}
|
|
17
17
|
export declare abstract class View extends Component implements IViewBased, Mods, Elms {
|
package/esm/core/view/view.js
CHANGED
|
@@ -19,7 +19,7 @@ import { Component } from "../component/component.js";
|
|
|
19
19
|
import { STATUSES } from "../component/statuses.js";
|
|
20
20
|
import { APP_VERSION, BASE_PATH, ES, IS_ES_MODERN, IS_ES_NEXT } from "../constants.js";
|
|
21
21
|
import { Create } from "../create/create.js";
|
|
22
|
-
import { cache } from "../decorators/cache/cache.js";
|
|
22
|
+
import { cache, cached } from "../decorators/cache/cache.js";
|
|
23
23
|
import { derive } from "../decorators/derive/derive.js";
|
|
24
24
|
import { hook } from "../decorators/hook/hook.js";
|
|
25
25
|
import { Dom } from "../dom/index.js";
|
|
@@ -246,16 +246,14 @@ let View = View_1 = class View extends Component {
|
|
|
246
246
|
if (this.isDestructed) {
|
|
247
247
|
return;
|
|
248
248
|
}
|
|
249
|
-
this
|
|
250
|
-
this
|
|
249
|
+
cached(this, 'progressbar')?.destruct();
|
|
250
|
+
cached(this, 'message')?.destruct();
|
|
251
251
|
if (this.events) {
|
|
252
252
|
this.events.destruct();
|
|
253
253
|
// @ts-ignore
|
|
254
254
|
this.events = undefined;
|
|
255
255
|
}
|
|
256
|
-
|
|
257
|
-
this.buffer.clear();
|
|
258
|
-
}
|
|
256
|
+
cached(this, 'buffer')?.clear();
|
|
259
257
|
Dom.safeRemove(this.container);
|
|
260
258
|
super.destruct();
|
|
261
259
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module jodit
|
|
10
10
|
*/
|
|
11
|
-
import { Jodit as DefaultJodit } from "./jodit";
|
|
12
|
-
import "./plugins/index";
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
import { Jodit as DefaultJodit } from "./jodit.d.ts";
|
|
12
|
+
import "./plugins/index.d.ts";
|
|
15
13
|
export { DefaultJodit as Jodit };
|
|
16
14
|
export declare class CommitMode {
|
|
17
15
|
}
|
package/esm/jodit.d.ts
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { AjaxOptions, CanPromise, CustomCommand, DeepPartial, ICreate, IDictionary, IFileBrowser, IHistory, IJodit, IMessages, IPluginSystem, IResponse, IStatusBar, IUploader, IWorkPlace, Modes } from "./types";
|
|
12
12
|
import type * as Modules from "./modules";
|
|
13
|
-
import * as constants from "./core/constants";
|
|
14
|
-
import { Dlgs } from "./core/traits/dlgs";
|
|
15
|
-
import { Config } from "./config";
|
|
13
|
+
import * as constants from "./core/constants.d.ts";
|
|
14
|
+
import { Dlgs } from "./core/traits/dlgs.d.ts";
|
|
15
|
+
import { Config } from "./config.d.ts";
|
|
16
16
|
import { Selection, ViewWithToolbar } from "./modules";
|
|
17
17
|
/**
|
|
18
18
|
* Class Jodit. Main class
|