jodit 4.2.10 → 4.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +115 -96
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +115 -96
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +115 -96
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +115 -96
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +115 -96
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/config.js +2 -2
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/async.js +11 -11
- package/esm/core/async/index.js +1 -1
- package/esm/core/component/component.d.ts +1 -1
- package/esm/core/component/component.js +4 -4
- package/esm/core/component/index.js +3 -3
- package/esm/core/component/view-component.d.ts +1 -1
- package/esm/core/component/view-component.js +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/create/create.js +4 -4
- package/esm/core/create/index.js +1 -1
- package/esm/core/decorators/cache/cache.d.ts +1 -1
- package/esm/core/decorators/cache/cache.js +4 -4
- package/esm/core/decorators/debounce/debounce.d.ts +1 -1
- package/esm/core/decorators/debounce/debounce.js +4 -4
- package/esm/core/decorators/derive/derive.js +1 -1
- package/esm/core/decorators/hook/hook.d.ts +2 -2
- package/esm/core/decorators/hook/hook.js +2 -2
- package/esm/core/decorators/idle/idle.d.ts +1 -1
- package/esm/core/decorators/idle/idle.js +3 -3
- package/esm/core/decorators/index.js +11 -11
- package/esm/core/decorators/persistent/persistent.d.ts +1 -1
- package/esm/core/decorators/persistent/persistent.js +2 -2
- package/esm/core/decorators/wait/wait.d.ts +1 -1
- package/esm/core/decorators/wait/wait.js +3 -3
- package/esm/core/decorators/watch/watch.d.ts +1 -1
- package/esm/core/decorators/watch/watch.js +7 -7
- package/esm/core/dom/dom.d.ts +1 -1
- package/esm/core/dom/dom.js +6 -6
- package/esm/core/dom/index.js +2 -2
- package/esm/core/dom/lazy-walker.d.ts +2 -2
- package/esm/core/dom/lazy-walker.js +3 -3
- package/esm/core/event-emitter/event-emitter.d.ts +1 -1
- package/esm/core/event-emitter/event-emitter.js +7 -7
- package/esm/core/event-emitter/eventify.d.ts +1 -1
- package/esm/core/event-emitter/index.js +4 -4
- package/esm/core/event-emitter/observable.d.ts +1 -1
- package/esm/core/event-emitter/observable.js +4 -4
- package/esm/core/event-emitter/store.d.ts +1 -1
- package/esm/core/event-emitter/store.js +2 -2
- package/esm/core/global.d.ts +2 -2
- package/esm/core/global.js +9 -9
- package/esm/core/helpers/array/as-array.js +1 -1
- package/esm/core/helpers/array/index.js +3 -3
- package/esm/core/helpers/array/to-array.js +2 -2
- package/esm/core/helpers/async/index.js +1 -1
- package/esm/core/helpers/checker/index.js +25 -25
- package/esm/core/helpers/checker/is-equal.js +1 -1
- package/esm/core/helpers/checker/is-html.js +1 -1
- package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
- package/esm/core/helpers/checker/is-imp-interface.js +3 -3
- package/esm/core/helpers/checker/is-int.js +2 -2
- package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-jodit-object.js +1 -1
- package/esm/core/helpers/checker/is-license.js +1 -1
- package/esm/core/helpers/checker/is-marker.d.ts +1 -1
- package/esm/core/helpers/checker/is-marker.js +2 -2
- package/esm/core/helpers/checker/is-numeric.js +1 -1
- package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-plain-object.js +1 -1
- package/esm/core/helpers/checker/is-set.js +1 -1
- package/esm/core/helpers/checker/is-string.js +1 -1
- package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-view-object.js +1 -1
- package/esm/core/helpers/color/index.js +1 -1
- package/esm/core/helpers/html/apply-styles.js +4 -4
- package/esm/core/helpers/html/clean-from-word.js +3 -3
- package/esm/core/helpers/html/index.js +6 -6
- package/esm/core/helpers/html/safe-html.js +2 -2
- package/esm/core/helpers/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/html/strip-tags.js +4 -4
- package/esm/core/helpers/index.js +9 -9
- package/esm/core/helpers/normalize/index.js +8 -8
- package/esm/core/helpers/normalize/normalize-color.js +2 -2
- package/esm/core/helpers/normalize/normalize-css-value.js +4 -4
- package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -2
- package/esm/core/helpers/normalize/normalize-path.js +1 -1
- package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/esm/core/helpers/size/get-scroll-parent.js +2 -2
- package/esm/core/helpers/size/index.js +6 -6
- package/esm/core/helpers/size/object-size.d.ts +1 -1
- package/esm/core/helpers/size/object-size.js +1 -1
- package/esm/core/helpers/size/offset.d.ts +1 -1
- package/esm/core/helpers/size/position.d.ts +1 -1
- package/esm/core/helpers/size/position.js +1 -1
- package/esm/core/helpers/string/fuzzy-search-index.js +1 -1
- package/esm/core/helpers/string/i18n.d.ts +1 -1
- package/esm/core/helpers/string/i18n.js +5 -5
- package/esm/core/helpers/string/index.js +7 -7
- package/esm/core/helpers/string/trim.js +1 -1
- package/esm/core/helpers/utils/align.d.ts +1 -1
- package/esm/core/helpers/utils/align.js +2 -2
- package/esm/core/helpers/utils/append-script.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.js +2 -2
- package/esm/core/helpers/utils/attr.d.ts +1 -1
- package/esm/core/helpers/utils/attr.js +3 -3
- package/esm/core/helpers/utils/build-query.d.ts +1 -1
- package/esm/core/helpers/utils/build-query.js +1 -1
- package/esm/core/helpers/utils/config-proto.d.ts +1 -1
- package/esm/core/helpers/utils/config-proto.js +7 -7
- package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +2 -2
- package/esm/core/helpers/utils/css.d.ts +1 -1
- package/esm/core/helpers/utils/css.js +5 -5
- package/esm/core/helpers/utils/data-bind.d.ts +1 -1
- package/esm/core/helpers/utils/data-bind.js +1 -1
- package/esm/core/helpers/utils/default-language.js +1 -1
- package/esm/core/helpers/utils/error/error.js +1 -1
- package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/esm/core/helpers/utils/error/errors/abort-error.js +1 -1
- package/esm/core/helpers/utils/error/errors/index.js +3 -3
- package/esm/core/helpers/utils/error/index.js +2 -2
- package/esm/core/helpers/utils/extend.js +1 -1
- package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
- package/esm/core/helpers/utils/get-class-name.js +1 -1
- package/esm/core/helpers/utils/get.d.ts +1 -1
- package/esm/core/helpers/utils/get.js +2 -2
- package/esm/core/helpers/utils/index.js +27 -27
- 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/print.js +5 -5
- package/esm/core/helpers/utils/reset.d.ts +1 -1
- package/esm/core/helpers/utils/reset.js +3 -3
- package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/esm/core/helpers/utils/scroll-into-view.js +1 -1
- package/esm/core/helpers/utils/selector.d.ts +1 -1
- package/esm/core/helpers/utils/selector.js +6 -6
- package/esm/core/helpers/utils/set.d.ts +1 -1
- package/esm/core/helpers/utils/set.js +4 -4
- package/esm/core/helpers/utils/stack.d.ts +1 -1
- package/esm/core/helpers/utils/utils.d.ts +1 -1
- package/esm/core/helpers/utils/utils.js +4 -4
- package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/init-instance.js +4 -4
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/load.js +4 -4
- package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/make-instance.js +2 -2
- package/esm/core/plugin/helpers/utils.js +1 -1
- package/esm/core/plugin/index.js +2 -2
- package/esm/core/plugin/plugin-system.d.ts +1 -1
- package/esm/core/plugin/plugin-system.js +9 -9
- package/esm/core/plugin/plugin.d.ts +2 -2
- package/esm/core/plugin/plugin.js +3 -3
- package/esm/core/request/ajax.d.ts +1 -1
- package/esm/core/request/ajax.js +7 -7
- package/esm/core/request/config.d.ts +1 -1
- package/esm/core/request/config.js +1 -1
- package/esm/core/request/index.js +2 -2
- package/esm/core/request/response.d.ts +1 -1
- package/esm/core/selection/helpers/index.js +2 -2
- package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/esm/core/selection/helpers/move-node-inside-start.js +2 -2
- package/esm/core/selection/helpers/move-the-node-along-the-edge-outward.js +1 -1
- package/esm/core/selection/index.d.ts +1 -0
- package/esm/core/selection/index.js +3 -2
- package/esm/core/selection/interface.d.ts +1 -1
- package/esm/core/selection/selection.d.ts +1 -1
- package/esm/core/selection/selection.js +10 -10
- package/esm/core/selection/style/api/extract.d.ts +1 -1
- package/esm/core/selection/style/api/extract.js +4 -4
- package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/esm/core/selection/style/api/finite-state-machine.js +3 -3
- package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-child.js +3 -3
- package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-parent.js +3 -3
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.js +5 -5
- package/esm/core/selection/style/api/index.js +15 -15
- package/esm/core/selection/style/api/is-inside-invisible-element.js +1 -1
- package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/esm/core/selection/style/api/is-normal-node.js +2 -2
- package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/is-same-attributes.js +4 -4
- package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/esm/core/selection/style/api/is-suit-element.js +3 -3
- package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.js +6 -6
- package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/wrap-list.js +3 -3
- package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/toggle-attributes.js +10 -10
- package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/esm/core/selection/style/api/unwrap-children.js +4 -4
- package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/esm/core/selection/style/api/wrap-unwrapped-text.js +2 -2
- package/esm/core/selection/style/api/wrap.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.js +4 -4
- package/esm/core/selection/style/apply-style.d.ts +1 -1
- package/esm/core/selection/style/apply-style.js +3 -3
- package/esm/core/selection/style/commit-style.d.ts +1 -15
- package/esm/core/selection/style/commit-style.js +11 -27
- package/esm/core/selection/style/constants.d.ts +22 -0
- package/esm/core/selection/style/constants.js +22 -0
- package/esm/core/selection/style/transactions.d.ts +1 -1
- package/esm/core/selection/style/transactions.js +5 -5
- package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/esm/core/storage/index.js +3 -3
- package/esm/core/storage/storage.d.ts +1 -1
- package/esm/core/storage/storage.js +3 -3
- package/esm/core/traits/dlgs.d.ts +1 -1
- package/esm/core/traits/dlgs.js +3 -3
- package/esm/core/traits/elms.d.ts +1 -1
- package/esm/core/traits/elms.js +1 -1
- package/esm/core/traits/mods.d.ts +1 -1
- package/esm/core/traits/mods.js +1 -1
- package/esm/core/ui/button/button/button.d.ts +2 -2
- package/esm/core/ui/button/button/button.js +9 -9
- package/esm/core/ui/button/group/group.d.ts +2 -2
- package/esm/core/ui/button/group/group.js +4 -4
- package/esm/core/ui/button/index.js +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/esm/core/ui/button/tooltip/tooltip.js +7 -7
- package/esm/core/ui/element.d.ts +4 -4
- package/esm/core/ui/element.js +7 -7
- package/esm/core/ui/form/block/block.d.ts +2 -2
- package/esm/core/ui/form/block/block.js +3 -3
- package/esm/core/ui/form/form.d.ts +2 -2
- package/esm/core/ui/form/form.js +6 -6
- package/esm/core/ui/form/index.js +3 -3
- package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
- package/esm/core/ui/form/inputs/area/area.js +3 -3
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.js +3 -3
- package/esm/core/ui/form/inputs/file/file.d.ts +2 -2
- package/esm/core/ui/form/inputs/file/file.js +3 -3
- package/esm/core/ui/form/inputs/index.js +5 -5
- package/esm/core/ui/form/inputs/input/input.d.ts +2 -2
- package/esm/core/ui/form/inputs/input/input.js +7 -7
- package/esm/core/ui/form/inputs/select/select.d.ts +2 -2
- package/esm/core/ui/form/inputs/select/select.js +4 -4
- package/esm/core/ui/form/validators/index.js +2 -2
- package/esm/core/ui/form/validators/input.d.ts +1 -1
- package/esm/core/ui/form/validators/input.js +2 -2
- package/esm/core/ui/form/validators/select.d.ts +2 -2
- package/esm/core/ui/form/validators/select.js +1 -1
- package/esm/core/ui/group/group.d.ts +2 -2
- package/esm/core/ui/group/group.js +6 -6
- package/esm/core/ui/group/index.js +4 -4
- package/esm/core/ui/group/list.d.ts +2 -2
- package/esm/core/ui/group/list.js +10 -10
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/separator.js +2 -2
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/group/spacer.js +2 -2
- package/esm/core/ui/helpers/buttons.d.ts +1 -1
- package/esm/core/ui/helpers/buttons.js +1 -1
- package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
- package/esm/core/ui/helpers/get-control-type.js +2 -2
- package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.js +4 -4
- package/esm/core/ui/icon.d.ts +1 -1
- package/esm/core/ui/icon.js +3 -3
- package/esm/core/ui/index.js +7 -7
- package/esm/core/ui/popup/index.js +1 -1
- package/esm/core/ui/popup/popup.d.ts +2 -2
- package/esm/core/ui/popup/popup.js +8 -8
- package/esm/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/esm/core/ui/progress-bar/progress-bar.js +2 -2
- package/esm/core/view/view-with-toolbar.d.ts +2 -2
- package/esm/core/view/view-with-toolbar.js +10 -10
- package/esm/core/view/view.d.ts +4 -4
- package/esm/core/view/view.js +17 -17
- package/esm/index.d.ts +1 -1
- package/esm/index.js +8 -8
- package/esm/jodit.d.ts +6 -6
- package/esm/jodit.js +9 -9
- package/esm/languages.d.ts +1 -1
- package/esm/languages.js +23 -23
- package/esm/modules/context-menu/context-menu.d.ts +2 -2
- package/esm/modules/context-menu/context-menu.js +4 -4
- package/esm/modules/dialog/alert.d.ts +1 -1
- package/esm/modules/dialog/alert.js +5 -5
- package/esm/modules/dialog/confirm.d.ts +1 -1
- package/esm/modules/dialog/confirm.js +3 -3
- package/esm/modules/dialog/dialog.d.ts +2 -2
- package/esm/modules/dialog/dialog.js +13 -13
- package/esm/modules/dialog/index.js +4 -4
- package/esm/modules/dialog/prompt.d.ts +1 -1
- package/esm/modules/dialog/prompt.js +4 -4
- package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/esm/modules/file-browser/builders/context-menu.js +9 -9
- package/esm/modules/file-browser/builders/elements-map.d.ts +1 -1
- package/esm/modules/file-browser/builders/item.d.ts +1 -1
- package/esm/modules/file-browser/builders/item.js +1 -1
- package/esm/modules/file-browser/config.d.ts +2 -2
- package/esm/modules/file-browser/config.js +5 -5
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.js +5 -5
- package/esm/modules/file-browser/factories.d.ts +1 -1
- package/esm/modules/file-browser/factories.js +2 -2
- package/esm/modules/file-browser/fetch/delete-file.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-items.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-tree.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-tree.js +2 -2
- package/esm/modules/file-browser/file-browser.d.ts +4 -4
- package/esm/modules/file-browser/file-browser.js +20 -20
- package/esm/modules/file-browser/index.js +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.js +5 -5
- package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/self-listeners.js +7 -7
- package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/state-listeners.js +5 -5
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.js +1 -1
- package/esm/modules/file-browser/ui/index.js +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/file-browser/ui/tree/tree.js +1 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +2 -2
- package/esm/modules/history/history.js +6 -6
- package/esm/modules/history/snapshot.d.ts +2 -2
- package/esm/modules/history/snapshot.js +3 -3
- package/esm/modules/history/stack.d.ts +1 -1
- package/esm/modules/image-editor/config.d.ts +1 -1
- package/esm/modules/image-editor/config.js +2 -2
- package/esm/modules/image-editor/image-editor.d.ts +2 -2
- package/esm/modules/image-editor/image-editor.js +8 -8
- package/esm/modules/image-editor/templates/form.d.ts +1 -1
- package/esm/modules/image-editor/templates/form.js +1 -1
- package/esm/modules/index.d.ts +13 -13
- package/esm/modules/index.js +26 -26
- package/esm/modules/messages/message.d.ts +2 -2
- package/esm/modules/messages/message.js +2 -2
- package/esm/modules/messages/messages.d.ts +2 -2
- package/esm/modules/messages/messages.js +4 -4
- package/esm/modules/status-bar/status-bar.d.ts +4 -4
- package/esm/modules/status-bar/status-bar.js +5 -5
- package/esm/modules/table/table.d.ts +2 -2
- package/esm/modules/table/table.js +6 -6
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/button.js +10 -10
- package/esm/modules/toolbar/button/content.d.ts +2 -2
- package/esm/modules/toolbar/button/content.js +4 -4
- package/esm/modules/toolbar/button/index.js +3 -3
- package/esm/modules/toolbar/button/select/select.d.ts +1 -1
- package/esm/modules/toolbar/button/select/select.js +3 -3
- package/esm/modules/toolbar/collection/collection.d.ts +2 -2
- package/esm/modules/toolbar/collection/collection.js +4 -4
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/esm/modules/toolbar/collection/editor-collection.js +5 -5
- package/esm/modules/toolbar/factory.d.ts +1 -1
- package/esm/modules/toolbar/factory.js +6 -6
- package/esm/modules/uploader/config.d.ts +1 -1
- package/esm/modules/uploader/config.js +3 -3
- package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
- package/esm/modules/uploader/helpers/build-data.js +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +1 -1
- package/esm/modules/uploader/helpers/index.js +5 -5
- package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/esm/modules/uploader/helpers/process-old-browser-drag.js +6 -5
- package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
- package/esm/modules/uploader/helpers/send-files.js +2 -2
- package/esm/modules/uploader/helpers/send.d.ts +2 -2
- package/esm/modules/uploader/helpers/send.js +3 -3
- package/esm/modules/uploader/uploader.d.ts +2 -2
- package/esm/modules/uploader/uploader.js +6 -6
- package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/esm/modules/widget/color-picker/color-picker.js +3 -3
- package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/esm/modules/widget/file-selector/file-selector.js +4 -4
- package/esm/modules/widget/index.js +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +2 -2
- package/esm/modules/widget/tabs/tabs.js +5 -5
- package/esm/plugins/about/about.js +6 -6
- package/esm/plugins/add-new-line/add-new-line.d.ts +2 -2
- package/esm/plugins/add-new-line/add-new-line.js +5 -5
- package/esm/plugins/add-new-line/config.d.ts +1 -1
- package/esm/plugins/add-new-line/config.js +2 -2
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/esm/plugins/ai-assistant/ai-assistant.js +8 -8
- package/esm/plugins/ai-assistant/config.js +2 -2
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +6 -6
- package/esm/plugins/backspace/backspace.d.ts +2 -2
- package/esm/plugins/backspace/backspace.js +9 -9
- package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-neighbors.js +3 -3
- package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-two-lists.js +3 -3
- package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +2 -2
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -4
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.js +3 -3
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +3 -3
- package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-table-cell.js +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +2 -2
- package/esm/plugins/backspace/cases/index.js +9 -9
- package/esm/plugins/backspace/config.js +1 -1
- package/esm/plugins/backspace/helpers.d.ts +1 -1
- package/esm/plugins/backspace/helpers.js +1 -1
- package/esm/plugins/bold/bold.d.ts +1 -1
- package/esm/plugins/bold/bold.js +6 -6
- package/esm/plugins/bold/config.js +1 -1
- package/esm/plugins/class-span/class-span.d.ts +2 -2
- package/esm/plugins/class-span/class-span.js +6 -6
- package/esm/plugins/clean-html/clean-html.d.ts +2 -2
- package/esm/plugins/clean-html/clean-html.js +8 -8
- package/esm/plugins/clean-html/config.d.ts +1 -1
- package/esm/plugins/clean-html/config.js +2 -2
- package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/get-hash.js +2 -2
- package/esm/plugins/clean-html/helpers/index.js +4 -4
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js +2 -2
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +3 -3
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/index.js +7 -7
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +3 -3
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +2 -2
- package/esm/plugins/clipboard/clipboard.d.ts +2 -2
- package/esm/plugins/clipboard/clipboard.js +4 -4
- package/esm/plugins/clipboard/config.js +2 -2
- package/esm/plugins/color/color.d.ts +1 -1
- package/esm/plugins/color/color.js +3 -3
- package/esm/plugins/color/config.js +5 -5
- package/esm/plugins/copy-format/copy-format.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.js +6 -6
- package/esm/plugins/debug/debug.d.ts +2 -2
- package/esm/plugins/delete/delete.d.ts +2 -2
- package/esm/plugins/delete/delete.js +6 -6
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/esm/plugins/drag-and-drop/drag-and-drop.js +7 -7
- package/esm/plugins/drag-and-drop-element/config.js +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +6 -6
- package/esm/plugins/dtd/after-insert/index.js +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.js +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.js +1 -1
- package/esm/plugins/dtd/before-insert/index.js +1 -1
- package/esm/plugins/dtd/config.d.ts +1 -1
- package/esm/plugins/dtd/config.js +1 -1
- package/esm/plugins/dtd/dtd.js +6 -6
- package/esm/plugins/enter/enter.d.ts +2 -2
- package/esm/plugins/enter/enter.js +8 -8
- package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-br.js +3 -3
- package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-unsplittable-box.js +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.js +2 -2
- package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/esm/plugins/enter/helpers/has-previous-block.js +1 -1
- package/esm/plugins/enter/helpers/index.js +9 -9
- package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/esm/plugins/enter/helpers/insert-paragraph.js +2 -2
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.js +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.js +3 -3
- package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/esm/plugins/enter/helpers/split-fragment.js +3 -3
- package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/esm/plugins/enter/helpers/wrap-text.js +1 -1
- package/esm/plugins/file/file.d.ts +1 -1
- package/esm/plugins/file/file.js +4 -4
- package/esm/plugins/focus/focus.d.ts +1 -1
- package/esm/plugins/focus/focus.js +3 -3
- package/esm/plugins/font/config.js +5 -5
- package/esm/plugins/font/font.d.ts +1 -1
- package/esm/plugins/font/font.js +3 -3
- package/esm/plugins/format-block/config.js +3 -3
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/format-block/format-block.js +2 -2
- package/esm/plugins/fullsize/config.js +3 -3
- package/esm/plugins/fullsize/fullsize.d.ts +1 -1
- package/esm/plugins/fullsize/fullsize.js +4 -4
- package/esm/plugins/hotkeys/config.d.ts +1 -1
- package/esm/plugins/hotkeys/config.js +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +2 -2
- package/esm/plugins/hotkeys/hotkeys.js +5 -5
- package/esm/plugins/hr/hr.d.ts +1 -1
- package/esm/plugins/hr/hr.js +4 -4
- package/esm/plugins/iframe/config.js +1 -1
- package/esm/plugins/iframe/iframe.d.ts +1 -1
- package/esm/plugins/iframe/iframe.js +5 -5
- package/esm/plugins/image/image.d.ts +1 -1
- package/esm/plugins/image/image.js +6 -6
- package/esm/plugins/image-processor/config.js +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +2 -2
- package/esm/plugins/image-processor/image-processor.js +6 -6
- package/esm/plugins/image-properties/config.js +1 -1
- package/esm/plugins/image-properties/image-properties.d.ts +2 -2
- package/esm/plugins/image-properties/image-properties.js +12 -12
- package/esm/plugins/image-properties/readers/align.js +1 -1
- package/esm/plugins/image-properties/readers/index.d.ts +1 -1
- package/esm/plugins/image-properties/readers/index.js +5 -5
- package/esm/plugins/image-properties/readers/link.d.ts +1 -1
- package/esm/plugins/image-properties/readers/link.js +2 -2
- package/esm/plugins/image-properties/readers/margin.js +1 -1
- package/esm/plugins/image-properties/readers/size.js +4 -4
- package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-form.js +8 -8
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-main-tab.js +5 -5
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-position-tab.js +9 -9
- package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-editor.js +3 -3
- package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-popup.js +4 -4
- package/esm/plugins/image-properties/utils/utils.js +2 -2
- package/esm/plugins/image-properties/writers/index.d.ts +1 -1
- package/esm/plugins/image-properties/writers/index.js +5 -5
- package/esm/plugins/image-properties/writers/link.d.ts +1 -1
- package/esm/plugins/image-properties/writers/link.js +2 -2
- package/esm/plugins/image-properties/writers/margin.d.ts +1 -1
- package/esm/plugins/image-properties/writers/margin.js +2 -2
- package/esm/plugins/image-properties/writers/size.js +4 -4
- package/esm/plugins/indent/config.js +4 -4
- package/esm/plugins/indent/helpers.js +1 -1
- package/esm/plugins/indent/indent.d.ts +1 -1
- package/esm/plugins/indent/indent.js +6 -6
- package/esm/plugins/index.d.ts +62 -62
- package/esm/plugins/index.js +22 -22
- package/esm/plugins/inline-popup/config/config.d.ts +1 -1
- package/esm/plugins/inline-popup/config/config.js +14 -14
- package/esm/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/a.js +1 -1
- package/esm/plugins/inline-popup/config/items/cells.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/cells.js +2 -2
- package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/iframe.js +1 -1
- package/esm/plugins/inline-popup/config/items/img.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/img.js +4 -4
- package/esm/plugins/inline-popup/inline-popup.d.ts +2 -2
- package/esm/plugins/inline-popup/inline-popup.js +9 -9
- package/esm/plugins/justify/justify.d.ts +1 -1
- package/esm/plugins/justify/justify.js +6 -6
- package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +5 -5
- package/esm/plugins/limit/config.js +1 -1
- package/esm/plugins/limit/limit.d.ts +2 -2
- package/esm/plugins/limit/limit.js +5 -5
- package/esm/plugins/line-height/config.js +3 -3
- package/esm/plugins/line-height/line-height.d.ts +2 -2
- package/esm/plugins/line-height/line-height.js +7 -7
- package/esm/plugins/link/config.d.ts +1 -1
- package/esm/plugins/link/config.js +4 -4
- package/esm/plugins/link/link.d.ts +2 -2
- package/esm/plugins/link/link.js +6 -6
- package/esm/plugins/link/template.d.ts +1 -1
- package/esm/plugins/link/template.js +2 -2
- package/esm/plugins/media/config.js +1 -1
- package/esm/plugins/media/media.d.ts +1 -1
- package/esm/plugins/media/media.js +4 -4
- package/esm/plugins/mobile/config.d.ts +1 -1
- package/esm/plugins/mobile/config.js +5 -5
- package/esm/plugins/mobile/mobile.d.ts +1 -1
- package/esm/plugins/mobile/mobile.js +4 -4
- package/esm/plugins/ordered-list/config.js +3 -3
- package/esm/plugins/ordered-list/ordered-list.d.ts +2 -2
- package/esm/plugins/ordered-list/ordered-list.js +4 -4
- package/esm/plugins/paste/config.d.ts +1 -1
- package/esm/plugins/paste/config.js +3 -3
- package/esm/plugins/paste/helpers.d.ts +1 -1
- package/esm/plugins/paste/helpers.js +4 -4
- package/esm/plugins/paste/interface.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +2 -2
- package/esm/plugins/paste/paste.js +8 -8
- package/esm/plugins/paste-from-word/config.d.ts +1 -1
- package/esm/plugins/paste-from-word/config.js +2 -2
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +3 -3
- package/esm/plugins/paste-from-word/paste-from-word.js +7 -7
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/esm/plugins/paste-storage/paste-storage.js +6 -6
- package/esm/plugins/placeholder/config.js +1 -1
- package/esm/plugins/placeholder/placeholder.d.ts +2 -2
- package/esm/plugins/placeholder/placeholder.js +10 -10
- package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/esm/plugins/powered-by-jodit/powered-by-jodit.js +1 -1
- package/esm/plugins/preview/preview.d.ts +1 -1
- package/esm/plugins/preview/preview.js +4 -4
- package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/esm/plugins/print/lib/generate-critical-css.js +1 -1
- package/esm/plugins/print/print.d.ts +1 -1
- package/esm/plugins/print/print.js +8 -8
- package/esm/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/esm/plugins/redo-undo/redo-undo.js +5 -5
- package/esm/plugins/resize-cells/config.js +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +2 -2
- package/esm/plugins/resize-cells/resize-cells.js +7 -7
- package/esm/plugins/resize-handler/config.js +1 -1
- package/esm/plugins/resize-handler/resize-handler.d.ts +2 -2
- package/esm/plugins/resize-handler/resize-handler.js +6 -6
- package/esm/plugins/resizer/config.d.ts +1 -1
- package/esm/plugins/resizer/config.js +1 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -2
- package/esm/plugins/resizer/resizer.js +8 -8
- package/esm/plugins/search/config.d.ts +1 -1
- package/esm/plugins/search/config.js +3 -3
- package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
- package/esm/plugins/search/helpers/highlight-text-ranges.js +2 -2
- package/esm/plugins/search/helpers/index.js +2 -2
- package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/esm/plugins/search/helpers/sentence-finder.js +1 -1
- package/esm/plugins/search/search.d.ts +3 -3
- package/esm/plugins/search/search.js +9 -9
- package/esm/plugins/search/ui/search.d.ts +2 -2
- package/esm/plugins/search/ui/search.js +6 -6
- package/esm/plugins/select/config.js +1 -1
- package/esm/plugins/select/select.d.ts +2 -2
- package/esm/plugins/select/select.js +7 -7
- package/esm/plugins/select-cells/config.js +1 -1
- package/esm/plugins/select-cells/select-cells.d.ts +2 -2
- package/esm/plugins/select-cells/select-cells.js +8 -8
- package/esm/plugins/size/config.js +1 -1
- package/esm/plugins/size/size.d.ts +2 -2
- package/esm/plugins/size/size.js +6 -6
- package/esm/plugins/source/config.d.ts +1 -1
- package/esm/plugins/source/config.js +3 -3
- package/esm/plugins/source/editor/engines/ace.d.ts +2 -2
- package/esm/plugins/source/editor/engines/ace.js +3 -3
- package/esm/plugins/source/editor/engines/area.d.ts +2 -2
- package/esm/plugins/source/editor/engines/area.js +3 -3
- package/esm/plugins/source/editor/engines/index.js +2 -2
- package/esm/plugins/source/editor/factory.d.ts +1 -1
- package/esm/plugins/source/editor/factory.js +2 -2
- package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/esm/plugins/source/source.d.ts +2 -2
- package/esm/plugins/source/source.js +9 -9
- package/esm/plugins/speech-recognize/config.d.ts +1 -1
- package/esm/plugins/speech-recognize/config.js +6 -6
- package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
- package/esm/plugins/speech-recognize/helpers/recognize-manager.js +4 -4
- package/esm/plugins/speech-recognize/helpers/sound.js +1 -1
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/esm/plugins/speech-recognize/speech-recognize.js +10 -10
- package/esm/plugins/spellcheck/config.js +2 -2
- package/esm/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/esm/plugins/spellcheck/spellcheck.js +6 -6
- package/esm/plugins/stat/config.js +1 -1
- package/esm/plugins/stat/stat.d.ts +1 -1
- package/esm/plugins/stat/stat.js +5 -5
- package/esm/plugins/sticky/config.js +1 -1
- package/esm/plugins/sticky/sticky.d.ts +2 -2
- package/esm/plugins/sticky/sticky.js +7 -7
- package/esm/plugins/symbols/config.js +2 -2
- package/esm/plugins/symbols/symbols.d.ts +2 -2
- package/esm/plugins/symbols/symbols.js +7 -7
- package/esm/plugins/tab/cases/index.js +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.js +2 -2
- package/esm/plugins/tab/config.js +1 -1
- package/esm/plugins/tab/tab.js +6 -6
- package/esm/plugins/table/config.js +5 -5
- package/esm/plugins/table/table.d.ts +1 -1
- package/esm/plugins/table/table.js +2 -2
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +5 -5
- package/esm/plugins/video/config.js +6 -6
- package/esm/plugins/video/video.js +2 -2
- package/esm/plugins/wrap-nodes/config.d.ts +1 -1
- package/esm/plugins/wrap-nodes/config.js +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.js +6 -6
- package/esm/plugins/xpath/config.js +1 -1
- package/esm/plugins/xpath/xpath.js +8 -8
- package/esm/types/jodit.d.ts +1 -1
- package/package.json +1 -1
- 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 +2 -2
- package/types/core/event-emitter/event-emitter.d.ts +1 -1
- package/types/core/event-emitter/eventify.d.ts +1 -1
- package/types/core/event-emitter/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/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/errors/abort-error.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/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/index.d.ts +1 -0
- 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 -15
- package/types/core/selection/style/constants.d.ts +22 -0
- 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 +2 -2
- package/types/core/ui/button/group/group.d.ts +2 -2
- package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/types/core/ui/element.d.ts +4 -4
- package/types/core/ui/form/block/block.d.ts +2 -2
- package/types/core/ui/form/form.d.ts +2 -2
- package/types/core/ui/form/inputs/area/area.d.ts +2 -2
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/types/core/ui/form/inputs/file/file.d.ts +2 -2
- package/types/core/ui/form/inputs/input/input.d.ts +2 -2
- package/types/core/ui/form/inputs/select/select.d.ts +2 -2
- package/types/core/ui/form/validators/input.d.ts +1 -1
- package/types/core/ui/form/validators/select.d.ts +2 -2
- package/types/core/ui/group/group.d.ts +2 -2
- package/types/core/ui/group/list.d.ts +2 -2
- package/types/core/ui/group/separator.d.ts +1 -1
- package/types/core/ui/group/spacer.d.ts +1 -1
- package/types/core/ui/helpers/buttons.d.ts +1 -1
- package/types/core/ui/helpers/get-control-type.d.ts +1 -1
- package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/types/core/ui/icon.d.ts +1 -1
- package/types/core/ui/popup/popup.d.ts +2 -2
- package/types/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/types/core/view/view-with-toolbar.d.ts +2 -2
- package/types/core/view/view.d.ts +4 -4
- package/types/index.d.ts +1 -1
- package/types/jodit.d.ts +6 -6
- package/types/languages.d.ts +1 -1
- package/types/modules/context-menu/context-menu.d.ts +2 -2
- package/types/modules/dialog/alert.d.ts +1 -1
- package/types/modules/dialog/confirm.d.ts +1 -1
- package/types/modules/dialog/dialog.d.ts +2 -2
- package/types/modules/dialog/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 +2 -2
- 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 +4 -4
- 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 +2 -2
- package/types/modules/status-bar/status-bar.d.ts +4 -4
- package/types/modules/table/table.d.ts +2 -2
- package/types/modules/toolbar/button/button.d.ts +5 -5
- package/types/modules/toolbar/button/content.d.ts +2 -2
- package/types/modules/toolbar/button/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 +2 -2
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
- 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 +2 -2
- package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/types/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/types/plugins/backspace/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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/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/index.d.ts +62 -62
- package/types/plugins/inline-popup/config/config.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/cells.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/img.d.ts +2 -2
- package/types/plugins/inline-popup/inline-popup.d.ts +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 +2 -2
- package/types/plugins/paste-from-word/config.d.ts +1 -1
- package/types/plugins/paste-from-word/paste-from-word.d.ts +3 -3
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/types/plugins/placeholder/placeholder.d.ts +2 -2
- package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/types/plugins/preview/preview.d.ts +1 -1
- package/types/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/types/plugins/print/print.d.ts +1 -1
- package/types/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/types/plugins/resize-cells/resize-cells.d.ts +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 +2 -2
- 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 +2 -2
- package/types/plugins/source/config.d.ts +1 -1
- package/types/plugins/source/editor/engines/ace.d.ts +2 -2
- package/types/plugins/source/editor/engines/area.d.ts +2 -2
- package/types/plugins/source/editor/factory.d.ts +1 -1
- package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/types/plugins/source/source.d.ts +2 -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/exec-spell-command.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
- package/types/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/types/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/types/plugins/stat/stat.d.ts +1 -1
- package/types/plugins/sticky/sticky.d.ts +2 -2
- package/types/plugins/symbols/symbols.d.ts +2 -2
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import type { ICommitStyle } from "
|
|
6
|
+
import type { ICommitStyle } from "../../../../types";
|
|
7
7
|
/**
|
|
8
8
|
* Unwrap all suit elements inside
|
|
9
9
|
* @private
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "
|
|
7
|
-
import { attr, css } from "
|
|
8
|
-
import { hasSameStyleKeys } from "
|
|
9
|
-
import { isSameStyleChild, isSuitElement } from "./is-suit-element";
|
|
6
|
+
import { Dom } from "../../../dom/dom.js";
|
|
7
|
+
import { attr, css } from "../../../helpers/utils/index.js";
|
|
8
|
+
import { hasSameStyleKeys } from "./has-same-style.js";
|
|
9
|
+
import { isSameStyleChild, isSuitElement } from "./is-suit-element.js";
|
|
10
10
|
/**
|
|
11
11
|
* Unwrap all suit elements inside
|
|
12
12
|
* @private
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import type { ICommitStyle, IJodit } from "
|
|
6
|
+
import type { ICommitStyle, IJodit } from "../../../../types";
|
|
7
7
|
/**
|
|
8
8
|
* Wrap text or inline elements inside Block element
|
|
9
9
|
* @private
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "
|
|
7
|
-
import { isMarker } from "
|
|
6
|
+
import { Dom } from "../../../dom/dom.js";
|
|
7
|
+
import { isMarker } from "../../../helpers/checker/is-marker.js";
|
|
8
8
|
/**
|
|
9
9
|
* Wrap text or inline elements inside Block element
|
|
10
10
|
* @private
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import type { ICommitStyle, IJodit } from "
|
|
6
|
+
import type { ICommitStyle, IJodit } from "../../../../types";
|
|
7
7
|
/**
|
|
8
8
|
* Replaces the parent tag with the applicable one, or wraps the text and also replaces the tag
|
|
9
9
|
* @private
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "
|
|
7
|
-
import { attr } from "
|
|
8
|
-
import { wrapList } from "./list/wrap-list";
|
|
9
|
-
import { wrapUnwrappedText } from "./wrap-unwrapped-text";
|
|
6
|
+
import { Dom } from "../../../dom/index.js";
|
|
7
|
+
import { attr } from "../../../helpers/utils/attr.js";
|
|
8
|
+
import { wrapList } from "./list/wrap-list.js";
|
|
9
|
+
import { wrapUnwrappedText } from "./wrap-unwrapped-text.js";
|
|
10
10
|
/**
|
|
11
11
|
* Replaces the parent tag with the applicable one, or wraps the text and also replaces the tag
|
|
12
12
|
* @private
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { FiniteStateMachine } from "./api";
|
|
7
|
-
import { INITIAL } from "./
|
|
8
|
-
import { states, transactions } from "./transactions";
|
|
6
|
+
import { FiniteStateMachine } from "./api/index.js";
|
|
7
|
+
import { INITIAL } from "./constants.js";
|
|
8
|
+
import { states, transactions } from "./transactions.js";
|
|
9
9
|
/** @internal */
|
|
10
10
|
export function ApplyStyle(jodit, cs) {
|
|
11
11
|
const { s: sel, editor } = jodit;
|
|
@@ -6,21 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module selection
|
|
8
8
|
*/
|
|
9
|
-
import type { HTMLTagNames, ICommitStyle, IJodit, IStyleOptions } from "
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const WRAP = "wrap";
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const UNWRAP = "unwrap";
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const CHANGE = "change";
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const UNSET = "unset";
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const INITIAL = "initial";
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const REPLACE = "replace";
|
|
22
|
-
/** @internal */
|
|
23
|
-
export declare const _PREFIX = "commitStyle";
|
|
9
|
+
import type { HTMLTagNames, ICommitStyle, IJodit, IStyleOptions } from "../../../types";
|
|
24
10
|
export declare class CommitStyle implements ICommitStyle {
|
|
25
11
|
readonly options: IStyleOptions;
|
|
26
12
|
private __applyMap;
|
|
@@ -3,23 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { IS_BLOCK, LIST_TAGS } from "
|
|
7
|
-
import { camelCase } from "
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
export const WRAP = 'wrap';
|
|
11
|
-
/** @internal */
|
|
12
|
-
export const UNWRAP = 'unwrap';
|
|
13
|
-
/** @internal */
|
|
14
|
-
export const CHANGE = 'change';
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const UNSET = 'unset';
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const INITIAL = 'initial';
|
|
19
|
-
/** @internal */
|
|
20
|
-
export const REPLACE = 'replace';
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const _PREFIX = 'commitStyle';
|
|
6
|
+
import { IS_BLOCK, LIST_TAGS } from "../../constants.js";
|
|
7
|
+
import { camelCase } from "../../helpers/string/camel-case.js";
|
|
8
|
+
import { _PREFIX } from "./constants.js";
|
|
9
|
+
import { ApplyStyle } from "./apply-style.js";
|
|
23
10
|
export class CommitStyle {
|
|
24
11
|
isApplied(elm, key) {
|
|
25
12
|
const data = this.__applyMap.get(elm);
|
|
@@ -67,20 +54,17 @@ export class CommitStyle {
|
|
|
67
54
|
}
|
|
68
55
|
apply(jodit) {
|
|
69
56
|
const { hooks } = this.options;
|
|
57
|
+
const keys = (hooks ? Object.keys(hooks) : []);
|
|
70
58
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
jodit.e.on(camelCase(_PREFIX + '_' + key), hooks[key]);
|
|
75
|
-
});
|
|
59
|
+
keys.forEach(key => {
|
|
60
|
+
jodit.e.on(camelCase(_PREFIX + '_' + key), hooks[key]);
|
|
61
|
+
});
|
|
76
62
|
ApplyStyle(jodit, this);
|
|
77
63
|
}
|
|
78
64
|
finally {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
jodit.e.off(camelCase(_PREFIX + '_' + key), hooks[key]);
|
|
83
|
-
});
|
|
65
|
+
keys.forEach(key => {
|
|
66
|
+
jodit.e.off(camelCase(_PREFIX + '_' + key), hooks[key]);
|
|
67
|
+
});
|
|
84
68
|
this.__applyMap = new WeakMap();
|
|
85
69
|
}
|
|
86
70
|
jodit.synchronizeValues();
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @module selection
|
|
8
|
+
*/
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const WRAP = "wrap";
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const UNWRAP = "unwrap";
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const CHANGE = "change";
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const UNSET = "unset";
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const INITIAL = "initial";
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const REPLACE = "replace";
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const _PREFIX = "commitStyle";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @module selection
|
|
8
|
+
*/
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const WRAP = 'wrap';
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const UNWRAP = 'unwrap';
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const CHANGE = 'change';
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const UNSET = 'unset';
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const INITIAL = 'initial';
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const REPLACE = 'replace';
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const _PREFIX = 'commitStyle';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module selection
|
|
8
8
|
*/
|
|
9
|
-
import type { CommitMode, ICommitStyle, IDictionary, IJodit } from "
|
|
9
|
+
import type { CommitMode, ICommitStyle, IDictionary, IJodit } from "../../../types";
|
|
10
10
|
export declare const states: {
|
|
11
11
|
readonly START: "START";
|
|
12
12
|
readonly ELEMENT: "ELEMENT";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { LIST_TAGS } from "
|
|
7
|
-
import { Dom } from "
|
|
8
|
-
import { assert } from "
|
|
9
|
-
import { INITIAL, REPLACE, UNSET, UNWRAP, WRAP } from "
|
|
10
|
-
import { extractSelectedPart, getSuitChild, getSuitParent, isInsideInvisibleElement, suitableClosest, toggleAttributes, toggleOrderedList, unwrapChildren, wrap } from "
|
|
6
|
+
import { LIST_TAGS } from "../../constants.js";
|
|
7
|
+
import { Dom } from "../../dom/dom.js";
|
|
8
|
+
import { assert } from "../../helpers/utils/assert.js";
|
|
9
|
+
import { INITIAL, REPLACE, UNSET, UNWRAP, WRAP } from "../index.js";
|
|
10
|
+
import { extractSelectedPart, getSuitChild, getSuitParent, isInsideInvisibleElement, suitableClosest, toggleAttributes, toggleOrderedList, unwrapChildren, wrap } from "./api/index.js";
|
|
11
11
|
export const states = {
|
|
12
12
|
START: 'START',
|
|
13
13
|
ELEMENT: 'ELEMENT',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module storage
|
|
8
8
|
*/
|
|
9
|
-
import type { BooleanFunction, IStorage, StorageValueType } from "
|
|
9
|
+
import type { BooleanFunction, IStorage, StorageValueType } from "../../../types";
|
|
10
10
|
/**
|
|
11
11
|
* Check if user disable local storages/cookie etc.
|
|
12
12
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module storage
|
|
8
8
|
*/
|
|
9
|
-
import type { IStorage, StorageValueType } from "
|
|
9
|
+
import type { IStorage, StorageValueType } from "../../../types";
|
|
10
10
|
export declare class MemoryStorageProvider<T = StorageValueType> implements IStorage<T> {
|
|
11
11
|
private data;
|
|
12
12
|
set(key: string, value: T): IStorage<T>;
|
|
@@ -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.js";
|
|
10
|
+
export * from "./engines/memory-storage-provider.js";
|
|
11
|
+
export * from "./storage.js";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module storage
|
|
10
10
|
*/
|
|
11
|
-
import type { IStorage, StorageValueType } from "
|
|
11
|
+
import type { IStorage, StorageValueType } from "../../types";
|
|
12
12
|
export declare const StorageKey: string;
|
|
13
13
|
export declare class Storage<T = StorageValueType> implements IStorage<T> {
|
|
14
14
|
readonly provider: IStorage<T>;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { camelCase } from "
|
|
7
|
-
import { canUsePersistentStorage, LocalStorageProvider } from "./engines/local-storage-provider";
|
|
8
|
-
import { MemoryStorageProvider } from "./engines/memory-storage-provider";
|
|
6
|
+
import { camelCase } from "../helpers/string/camel-case.js";
|
|
7
|
+
import { canUsePersistentStorage, LocalStorageProvider } from "./engines/local-storage-provider.js";
|
|
8
|
+
import { MemoryStorageProvider } from "./engines/memory-storage-provider.js";
|
|
9
9
|
export const StorageKey = 'Jodit_';
|
|
10
10
|
export class Storage {
|
|
11
11
|
set(key, value) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module traits
|
|
8
8
|
*/
|
|
9
|
-
import type { IDialog, IDialogOptions, IDlgs, IViewBased } from "
|
|
9
|
+
import type { IDialog, IDialogOptions, IDlgs, IViewBased } from "../../types";
|
|
10
10
|
export declare abstract class Dlgs implements IDlgs {
|
|
11
11
|
dlg(this: IViewBased & IDlgs, options?: IDialogOptions): IDialog;
|
|
12
12
|
confirm(this: IViewBased & IDlgs, msg: string, title: string | ((yes: boolean) => void) | undefined, callback?: (yes: boolean) => void | false): IDialog;
|
package/esm/core/traits/dlgs.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isHTML, isString } from "
|
|
7
|
-
import { markOwner } from "
|
|
8
|
-
import { Alert, Confirm, Dialog, Prompt } from "
|
|
6
|
+
import { isHTML, isString } from "../helpers/checker/index.js";
|
|
7
|
+
import { markOwner } from "../helpers/utils/utils.js";
|
|
8
|
+
import { Alert, Confirm, Dialog, Prompt } from "../../modules/dialog/index.js";
|
|
9
9
|
export class Dlgs {
|
|
10
10
|
dlg(options) {
|
|
11
11
|
const dialog = new Dialog({
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module traits
|
|
8
8
|
*/
|
|
9
|
-
import type { IComponent, IContainer, IElms, Nullable } from "
|
|
9
|
+
import type { IComponent, IContainer, IElms, Nullable } from "../../types";
|
|
10
10
|
export declare abstract class Elms implements IElms {
|
|
11
11
|
/**
|
|
12
12
|
* Return element with BEM class name
|
package/esm/core/traits/elms.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-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { toArray } from "
|
|
6
|
+
import { toArray } from "../helpers/array/to-array.js";
|
|
7
7
|
export class Elms {
|
|
8
8
|
/**
|
|
9
9
|
* Return element with BEM class name
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module traits
|
|
8
8
|
*/
|
|
9
|
-
import type { IComponent, IContainer, IDictionary, IMods, ModType } from "
|
|
9
|
+
import type { IComponent, IContainer, IDictionary, IMods, ModType } from "../../types";
|
|
10
10
|
export declare abstract class Mods implements IMods {
|
|
11
11
|
abstract mods: IDictionary;
|
|
12
12
|
afterSetMod(name: string, value: ModType): void;
|
package/esm/core/traits/mods.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-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isVoid } from "
|
|
6
|
+
import { isVoid } from "../helpers/checker/is-void.js";
|
|
7
7
|
export class Mods {
|
|
8
8
|
afterSetMod(name, value) { }
|
|
9
9
|
/**
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/button
|
|
8
8
|
*/
|
|
9
|
-
import type { ButtonVariant, IUIButton, IUIButtonState, IUIButtonStatePartial, IViewBased } from "
|
|
10
|
-
import { UIElement } from "
|
|
9
|
+
import type { ButtonVariant, IUIButton, IUIButtonState, IUIButtonStatePartial, IViewBased } from "../../../../types";
|
|
10
|
+
import { UIElement } from "../../element";
|
|
11
11
|
|
|
12
12
|
export declare const UIButtonState: () => IUIButtonState;
|
|
13
13
|
export declare class UIButton extends UIElement implements IUIButton {
|
|
@@ -13,15 +13,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { STATUSES } from "
|
|
17
|
-
import { cache, cacheHTML, component, watch } from "
|
|
18
|
-
import { Dom } from "
|
|
19
|
-
import { isFunction } from "
|
|
20
|
-
import { isString } from "
|
|
21
|
-
import { assert, attr } from "
|
|
22
|
-
import { UIElement } from "
|
|
23
|
-
import { UIList } from "
|
|
24
|
-
import { Icon } from "
|
|
16
|
+
import { STATUSES } from "../../../component/statuses.js";
|
|
17
|
+
import { cache, cacheHTML, component, watch } from "../../../decorators/index.js";
|
|
18
|
+
import { Dom } from "../../../dom/dom.js";
|
|
19
|
+
import { isFunction } from "../../../helpers/checker/is-function.js";
|
|
20
|
+
import { isString } from "../../../helpers/checker/is-string.js";
|
|
21
|
+
import { assert, attr } from "../../../helpers/utils/index.js";
|
|
22
|
+
import { UIElement } from "../../element.js";
|
|
23
|
+
import { UIList } from "../../group/list.js";
|
|
24
|
+
import { Icon } from "../../icon.js";
|
|
25
25
|
export const UIButtonState = () => ({
|
|
26
26
|
size: 'middle',
|
|
27
27
|
type: 'button',
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/button
|
|
8
8
|
*/
|
|
9
|
-
import type { IDictionary, IUIButton, IUIOption, IViewBased } from "
|
|
10
|
-
import { UIGroup } from "
|
|
9
|
+
import type { IDictionary, IUIButton, IUIOption, IViewBased } from "../../../../types";
|
|
10
|
+
import { UIGroup } from "../../group/group";
|
|
11
11
|
|
|
12
12
|
export declare class UIButtonGroup extends UIGroup {
|
|
13
13
|
readonly options: {
|
|
@@ -13,10 +13,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { component } from "
|
|
17
|
-
import { assert } from "
|
|
18
|
-
import { UIButton } from "
|
|
19
|
-
import { UIGroup } from "
|
|
16
|
+
import { component } from "../../../decorators/component/component.js";
|
|
17
|
+
import { assert } from "../../../helpers/utils/assert.js";
|
|
18
|
+
import { UIButton } from "../button/button.js";
|
|
19
|
+
import { UIGroup } from "../../group/group.js";
|
|
20
20
|
let UIButtonGroup = class UIButtonGroup extends UIGroup {
|
|
21
21
|
/** @override */
|
|
22
22
|
className() {
|
|
@@ -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.js";
|
|
12
|
+
export * from "./group/group.js";
|
|
13
|
+
export * from "./tooltip/tooltip.js";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module ui/button
|
|
10
10
|
*/
|
|
11
|
-
import type { IViewBased } from "
|
|
12
|
-
import { UIElement } from "
|
|
11
|
+
import type { IViewBased } from "../../../../types";
|
|
12
|
+
import { UIElement } from "../../element";
|
|
13
13
|
|
|
14
14
|
export declare class UITooltip extends UIElement {
|
|
15
15
|
private __isOpened;
|
|
@@ -14,13 +14,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
16
|
var UITooltip_1;
|
|
17
|
-
import { STATUSES } from "
|
|
18
|
-
import { autobind, component } from "
|
|
19
|
-
import { Dom } from "
|
|
20
|
-
import { getContainer } from "
|
|
21
|
-
import { position } from "
|
|
22
|
-
import { attr, css } from "
|
|
23
|
-
import { UIElement } from "
|
|
17
|
+
import { STATUSES } from "../../../component/index.js";
|
|
18
|
+
import { autobind, component } from "../../../decorators/index.js";
|
|
19
|
+
import { Dom } from "../../../dom/index.js";
|
|
20
|
+
import { getContainer } from "../../../global.js";
|
|
21
|
+
import { position } from "../../../helpers/size/position.js";
|
|
22
|
+
import { attr, css } from "../../../helpers/utils/index.js";
|
|
23
|
+
import { UIElement } from "../../element.js";
|
|
24
24
|
let UITooltip = UITooltip_1 = class UITooltip extends UIElement {
|
|
25
25
|
className() {
|
|
26
26
|
return 'UITooltip';
|
package/esm/core/ui/element.d.ts
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui
|
|
8
8
|
*/
|
|
9
|
-
import type { IDictionary, IUIElement, IViewBased, Nullable } from "
|
|
10
|
-
import { ViewComponent } from "
|
|
11
|
-
import { Elms } from "
|
|
12
|
-
import { Mods } from "
|
|
9
|
+
import type { IDictionary, IUIElement, IViewBased, Nullable } from "../../types";
|
|
10
|
+
import { ViewComponent } from "../component";
|
|
11
|
+
import { Elms } from "../traits/elms";
|
|
12
|
+
import { Mods } from "../traits/mods";
|
|
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 {
|
package/esm/core/ui/element.js
CHANGED
|
@@ -14,13 +14,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
16
|
var UIElement_1;
|
|
17
|
-
import { Component, ViewComponent } from "
|
|
18
|
-
import { derive } from "
|
|
19
|
-
import { Dom } from "
|
|
20
|
-
import { isString } from "
|
|
21
|
-
import { Elms } from "
|
|
22
|
-
import { Mods } from "
|
|
23
|
-
import { Icon } from "
|
|
17
|
+
import { Component, ViewComponent } from "../component/index.js";
|
|
18
|
+
import { derive } from "../decorators/derive/derive.js";
|
|
19
|
+
import { Dom } from "../dom/dom.js";
|
|
20
|
+
import { isString } from "../helpers/checker/is-string.js";
|
|
21
|
+
import { Elms } from "../traits/elms.js";
|
|
22
|
+
import { Mods } from "../traits/mods.js";
|
|
23
|
+
import { Icon } from "./icon.js";
|
|
24
24
|
let UIElement = UIElement_1 = class UIElement extends ViewComponent {
|
|
25
25
|
get parentElement() {
|
|
26
26
|
return this.__parentElement;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
|
-
import type { IUIElement, IViewBased } from "
|
|
10
|
-
import { UIGroup } from "
|
|
9
|
+
import type { IUIElement, IViewBased } from "../../../../types";
|
|
10
|
+
import { UIGroup } from "../../group/group";
|
|
11
11
|
|
|
12
12
|
export declare class UIBlock extends UIGroup {
|
|
13
13
|
readonly options: {
|
|
@@ -13,9 +13,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { component } from "
|
|
17
|
-
import { attr } from "
|
|
18
|
-
import { UIGroup } from "
|
|
16
|
+
import { component } from "../../../decorators/component/component.js";
|
|
17
|
+
import { attr } from "../../../helpers/utils/index.js";
|
|
18
|
+
import { UIGroup } from "../../group/group.js";
|
|
19
19
|
let UIBlock = class UIBlock extends UIGroup {
|
|
20
20
|
/** @override */
|
|
21
21
|
className() {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module ui/form
|
|
10
10
|
*/
|
|
11
|
-
import type { IDictionary, IUIForm } from "
|
|
12
|
-
import { UIGroup } from "
|
|
11
|
+
import type { IDictionary, IUIForm } from "../../../types";
|
|
12
|
+
import { UIGroup } from "../group/group";
|
|
13
13
|
export declare class UIForm extends UIGroup implements IUIForm {
|
|
14
14
|
/** @override */
|
|
15
15
|
className(): string;
|
package/esm/core/ui/form/form.js
CHANGED
|
@@ -13,12 +13,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { Component } from "
|
|
17
|
-
import { component } from "
|
|
18
|
-
import { attr } from "
|
|
19
|
-
import { UIInput } from "
|
|
20
|
-
import { UISelect } from "
|
|
21
|
-
import { UIGroup } from "
|
|
16
|
+
import { Component } from "../../component/component.js";
|
|
17
|
+
import { component } from "../../decorators/component/component.js";
|
|
18
|
+
import { attr } from "../../helpers/utils/index.js";
|
|
19
|
+
import { UIInput } from "./inputs/input/input.js";
|
|
20
|
+
import { UISelect } from "./inputs/select/select.js";
|
|
21
|
+
import { UIGroup } from "../group/group.js";
|
|
22
22
|
let UIForm = class UIForm extends UIGroup {
|
|
23
23
|
/** @override */
|
|
24
24
|
className() {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/form
|
|
8
8
|
*/
|
|
9
|
-
import type { IUIInput, IUITextArea, IViewBased } from "
|
|
10
|
-
import { UIInput } from "
|
|
9
|
+
import type { IUIInput, IUITextArea, IViewBased } from "../../../../../types";
|
|
10
|
+
import { UIInput } from "../input/input";
|
|
11
11
|
|
|
12
12
|
export declare class UITextArea extends UIInput implements IUITextArea {
|
|
13
13
|
/** @override */
|