jodit 4.0.0-beta.74 → 4.0.0-beta.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2 -2
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2 -2
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2 -2
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2 -2
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2 -2
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/async/async.js +1 -1
- package/esm/core/async/index.js +1 -1
- package/esm/core/component/component.js +2 -2
- package/esm/core/component/index.js +3 -3
- package/esm/core/component/view-component.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.js +1 -1
- package/esm/core/create/index.js +1 -1
- package/esm/core/decorators/cache/cache.js +1 -1
- package/esm/core/decorators/debounce/debounce.js +3 -3
- package/esm/core/decorators/hook/hook.js +1 -1
- package/esm/core/decorators/idle/idle.js +2 -2
- package/esm/core/decorators/index.js +10 -10
- package/esm/core/decorators/wait/wait.js +1 -1
- package/esm/core/decorators/watch/watch.js +1 -1
- package/esm/core/dom/dom.js +4 -4
- package/esm/core/dom/index.js +2 -2
- package/esm/core/dom/lazy-walker.js +1 -1
- package/esm/core/event-emitter/event-emitter.js +2 -2
- package/esm/core/event-emitter/index.js +4 -4
- package/esm/core/global.js +8 -8
- package/esm/core/helpers/array/index.js +3 -3
- package/esm/core/helpers/async/index.js +1 -1
- package/esm/core/helpers/checker/index.js +24 -24
- package/esm/core/helpers/checker/is-html.js +1 -1
- package/esm/core/helpers/checker/is-imp-interface.js +2 -2
- package/esm/core/helpers/checker/is-int.js +2 -2
- 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-numeric.js +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-view-object.js +1 -1
- package/esm/core/helpers/color/index.js +1 -1
- package/esm/core/helpers/html/index.js +6 -6
- package/esm/core/helpers/html/safe-html.js +1 -1
- package/esm/core/helpers/html/strip-tags.js +1 -1
- package/esm/core/helpers/index.js +9 -9
- package/esm/core/helpers/normalize/index.js +8 -8
- package/esm/core/helpers/size/get-scroll-parent.js +1 -1
- package/esm/core/helpers/size/index.js +6 -6
- package/esm/core/helpers/size/object-size.js +1 -1
- package/esm/core/helpers/string/i18n.js +1 -1
- package/esm/core/helpers/string/index.js +7 -7
- package/esm/core/helpers/utils/align.js +1 -1
- package/esm/core/helpers/utils/append-script.js +1 -1
- package/esm/core/helpers/utils/attr.js +2 -2
- package/esm/core/helpers/utils/config-proto.js +2 -2
- package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +1 -1
- package/esm/core/helpers/utils/error/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/index.js +28 -28
- package/esm/core/helpers/utils/print.js +3 -3
- package/esm/core/helpers/utils/reset.js +1 -1
- package/esm/core/helpers/utils/selector.js +1 -1
- package/esm/core/helpers/utils/utils.js +2 -2
- package/esm/core/plugin/helpers/init-instance.js +2 -2
- package/esm/core/plugin/index.js +2 -2
- package/esm/core/plugin/plugin-system.js +3 -3
- package/esm/core/plugin/plugin.js +2 -2
- package/esm/core/request/ajax.js +6 -6
- package/esm/core/request/index.js +2 -2
- package/esm/core/selection/helpers/index.js +2 -2
- package/esm/core/selection/index.js +2 -2
- package/esm/core/selection/selection.js +5 -5
- package/esm/core/selection/style/api/get-suit-child.js +2 -2
- package/esm/core/selection/style/api/get-suit-parent.js +2 -2
- package/esm/core/selection/style/api/index.js +15 -15
- package/esm/core/selection/style/api/is-same-attributes.js +2 -2
- package/esm/core/selection/style/api/is-suit-element.js +2 -2
- package/esm/core/selection/style/api/list/toggle-ordered-list.js +1 -1
- package/esm/core/selection/style/api/list/wrap-list.js +2 -2
- package/esm/core/selection/style/api/toggle-attributes.js +2 -2
- package/esm/core/selection/style/api/unwrap-children.js +2 -2
- package/esm/core/selection/style/api/wrap.js +3 -3
- package/esm/core/selection/style/apply-style.js +3 -3
- package/esm/core/selection/style/commit-style.js +1 -1
- package/esm/core/selection/style/transactions.js +3 -3
- package/esm/core/storage/index.js +3 -3
- package/esm/core/storage/storage.js +2 -2
- package/esm/core/traits/dlgs.js +2 -2
- package/esm/core/ui/button/button/button.js +2 -2
- package/esm/core/ui/button/index.js +3 -3
- package/esm/core/ui/button/tooltip/tooltip.js +4 -4
- package/esm/core/ui/element.js +1 -1
- package/esm/core/ui/form/block/block.js +1 -1
- package/esm/core/ui/form/form.js +1 -1
- package/esm/core/ui/form/index.js +3 -3
- package/esm/core/ui/form/inputs/checkbox/checkbox.js +1 -1
- package/esm/core/ui/form/inputs/index.js +5 -5
- package/esm/core/ui/form/inputs/input/input.js +3 -3
- package/esm/core/ui/form/inputs/select/select.js +1 -1
- package/esm/core/ui/form/validators/index.js +2 -2
- package/esm/core/ui/group/group.js +2 -2
- package/esm/core/ui/group/index.js +4 -4
- package/esm/core/ui/group/list.js +1 -1
- package/esm/core/ui/helpers/get-control-type.js +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.js +2 -2
- package/esm/core/ui/icon.js +1 -1
- package/esm/core/ui/index.js +7 -7
- package/esm/core/ui/popup/index.js +1 -1
- package/esm/core/ui/popup/popup.js +2 -2
- package/esm/core/view/view-with-toolbar.js +6 -6
- package/esm/core/view/view.js +5 -5
- package/esm/index.js +6 -6
- package/esm/jodit.js +4 -4
- package/esm/modules/context-menu/context-menu.js +3 -3
- package/esm/modules/dialog/alert.js +1 -1
- package/esm/modules/dialog/dialog.js +6 -6
- package/esm/modules/dialog/index.js +4 -4
- package/esm/modules/dialog/prompt.js +1 -1
- package/esm/modules/file-browser/builders/context-menu.js +2 -2
- package/esm/modules/file-browser/builders/item.js +1 -1
- package/esm/modules/file-browser/config.js +1 -1
- package/esm/modules/file-browser/data-provider.js +3 -3
- package/esm/modules/file-browser/factories.js +1 -1
- package/esm/modules/file-browser/fetch/load-tree.js +1 -1
- package/esm/modules/file-browser/file-browser.js +15 -15
- package/esm/modules/file-browser/index.js +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.js +2 -2
- package/esm/modules/file-browser/listeners/self-listeners.js +2 -2
- package/esm/modules/file-browser/listeners/state-listeners.js +2 -2
- 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.js +1 -1
- package/esm/modules/history/history.js +5 -5
- package/esm/modules/history/snapshot.js +2 -2
- package/esm/modules/image-editor/config.js +2 -2
- package/esm/modules/image-editor/image-editor.js +7 -7
- package/esm/modules/image-editor/templates/form.js +1 -1
- package/esm/modules/index.js +23 -23
- package/esm/modules/messages/message.js +1 -1
- package/esm/modules/status-bar/status-bar.js +2 -2
- package/esm/modules/table/table.js +4 -4
- package/esm/modules/toolbar/button/button.js +4 -4
- package/esm/modules/toolbar/button/content.js +4 -4
- package/esm/modules/toolbar/button/index.js +2 -2
- package/esm/modules/toolbar/collection/collection.js +2 -2
- package/esm/modules/toolbar/collection/editor-collection.js +4 -4
- package/esm/modules/toolbar/factory.js +5 -5
- package/esm/modules/uploader/helpers/build-data.js +1 -1
- package/esm/modules/uploader/helpers/index.js +5 -5
- package/esm/modules/uploader/helpers/process-old-browser-drag.js +3 -3
- package/esm/modules/uploader/helpers/send-files.js +1 -1
- package/esm/modules/uploader/helpers/send.js +2 -2
- package/esm/modules/uploader/uploader.js +4 -4
- package/esm/modules/widget/color-picker/color-picker.js +4 -4
- package/esm/modules/widget/file-selector/file-selector.js +2 -2
- package/esm/modules/widget/index.js +3 -3
- package/esm/modules/widget/tabs/tabs.js +3 -3
- package/esm/plugins/about/about.js +2 -2
- package/esm/plugins/add-new-line/add-new-line.js +4 -4
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/backspace/backspace.js +6 -6
- package/esm/plugins/backspace/cases/check-remove-char.js +2 -2
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
- package/esm/plugins/backspace/cases/check-remove-empty-parent.js +2 -2
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +1 -1
- package/esm/plugins/backspace/cases/index.js +9 -9
- package/esm/plugins/backspace/helpers.js +1 -1
- package/esm/plugins/bold/bold.js +9 -9
- package/esm/plugins/class-span/class-span.js +2 -2
- package/esm/plugins/clean-html/clean-html.js +3 -3
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clean-html/helpers/index.js +4 -4
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/index.js +7 -7
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +1 -1
- package/esm/plugins/clipboard/clipboard.js +2 -2
- package/esm/plugins/clipboard/config.js +4 -4
- package/esm/plugins/color/color.js +2 -2
- package/esm/plugins/color/config.js +3 -3
- package/esm/plugins/copy-format/copy-format.js +2 -2
- package/esm/plugins/delete/delete.js +4 -4
- package/esm/plugins/drag-and-drop/drag-and-drop.js +4 -4
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +5 -5
- package/esm/plugins/dtd/after-insert/index.js +1 -1
- package/esm/plugins/dtd/before-insert/index.js +1 -1
- package/esm/plugins/dtd/dtd.js +4 -4
- package/esm/plugins/enter/enter.js +3 -3
- package/esm/plugins/enter/helpers/index.js +9 -9
- package/esm/plugins/enter/helpers/process-empty-li-leaf.js +1 -1
- package/esm/plugins/enter/helpers/split-fragment.js +1 -1
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/focus/focus.js +1 -1
- package/esm/plugins/font/config.js +3 -3
- package/esm/plugins/font/font.js +2 -2
- package/esm/plugins/format-block/format-block.js +3 -3
- package/esm/plugins/fullsize/config.js +2 -2
- package/esm/plugins/fullsize/fullsize.js +1 -1
- package/esm/plugins/hotkeys/hotkeys.js +3 -3
- package/esm/plugins/hr/hr.js +2 -2
- package/esm/plugins/iframe/iframe.js +3 -3
- package/esm/plugins/image/image.js +4 -4
- package/esm/plugins/image-processor/image-processor.js +4 -4
- package/esm/plugins/image-properties/image-properties.js +9 -9
- package/esm/plugins/indent/config.js +4 -4
- package/esm/plugins/indent/indent.js +4 -4
- package/esm/plugins/inline-popup/config/config.js +7 -7
- package/esm/plugins/inline-popup/config/items/cells.js +2 -2
- package/esm/plugins/inline-popup/config/items/iframe.js +1 -1
- package/esm/plugins/inline-popup/config/items/img.js +1 -1
- package/esm/plugins/inline-popup/inline-popup.js +7 -7
- package/esm/plugins/justify/justify.js +1 -1
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +2 -2
- package/esm/plugins/limit/limit.js +3 -3
- package/esm/plugins/line-height/config.js +2 -2
- package/esm/plugins/line-height/line-height.js +5 -5
- package/esm/plugins/link/config.js +3 -3
- package/esm/plugins/link/link.js +5 -5
- package/esm/plugins/link/template.js +2 -2
- package/esm/plugins/media/media.js +2 -2
- package/esm/plugins/mobile/config.js +1 -1
- package/esm/plugins/mobile/mobile.js +2 -2
- package/esm/plugins/ordered-list/config.js +2 -2
- package/esm/plugins/ordered-list/ordered-list.js +3 -3
- package/esm/plugins/paste/config.js +1 -1
- package/esm/plugins/paste/helpers.js +1 -1
- package/esm/plugins/paste/paste.js +4 -4
- package/esm/plugins/paste-from-word/paste-from-word.js +4 -4
- package/esm/plugins/paste-storage/paste-storage.js +1 -1
- package/esm/plugins/placeholder/placeholder.js +2 -2
- package/esm/plugins/print/print.js +3 -3
- package/esm/plugins/redo-undo/redo-undo.js +2 -2
- package/esm/plugins/resize-cells/resize-cells.js +4 -4
- package/esm/plugins/resize-handler/resize-handler.js +5 -5
- package/esm/plugins/resizer/resizer.js +3 -3
- package/esm/plugins/search/config.js +2 -2
- package/esm/plugins/search/helpers/index.js +2 -2
- package/esm/plugins/search/search.js +6 -6
- package/esm/plugins/search/ui/search.js +4 -4
- package/esm/plugins/select/select.js +4 -4
- package/esm/plugins/select-cells/select-cells.js +5 -5
- package/esm/plugins/size/size.js +2 -2
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/source/editor/engines/ace.js +1 -1
- package/esm/plugins/source/editor/engines/index.js +2 -2
- package/esm/plugins/source/editor/factory.js +2 -2
- package/esm/plugins/source/source.js +5 -5
- package/esm/plugins/speech-recognize/config.js +3 -3
- package/esm/plugins/speech-recognize/helpers/recognize-manager.js +2 -2
- package/esm/plugins/speech-recognize/speech-recognize.js +5 -5
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/spellcheck/spellcheck.js +4 -4
- package/esm/plugins/stat/stat.js +1 -1
- package/esm/plugins/sticky/sticky.js +3 -3
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/symbols/symbols.js +3 -3
- package/esm/plugins/tab/cases/index.js +1 -1
- package/esm/plugins/tab/tab.js +4 -4
- package/esm/plugins/table/config.js +4 -4
- package/esm/plugins/table/table.js +1 -1
- package/esm/plugins/video/config.js +5 -5
- package/esm/plugins/video/video.js +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.js +4 -4
- package/esm/plugins/xpath/xpath.js +4 -4
- package/esm/styles/icons/index.js +27 -27
- package/package.json +1 -1
|
@@ -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";
|
|
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";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
6
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
7
7
|
import { clearCenterAlign, css } from "jodit/esm/core/helpers/utils/css.js";
|
|
8
8
|
/**
|
|
9
9
|
* Align image
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { completeUrl } from "./complete-url
|
|
6
|
+
import { completeUrl } from "./complete-url";
|
|
7
7
|
import { isFunction } from "jodit/esm/core/helpers/checker/is-function.js";
|
|
8
8
|
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
9
9
|
const alreadyLoadedList = new Map();
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isFunction, isPlainObject, isString } from "jodit/esm/core/helpers/checker.js";
|
|
6
|
+
import { isFunction, isPlainObject, isString } from "jodit/esm/core/helpers/checker/index.js";
|
|
7
7
|
import { CamelCaseToKebabCase } from "jodit/esm/core/helpers/string/kebab-case.js";
|
|
8
|
-
import { css } from "./css
|
|
8
|
+
import { css } from "./css";
|
|
9
9
|
/**
|
|
10
10
|
* Alias for `elm.getAttribute` but if set second argument `-{key}`
|
|
11
11
|
* it will also check `data-{key}` attribute
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isAtom } from "./extend
|
|
6
|
+
import { isAtom } from "./extend";
|
|
7
7
|
import { isArray } from "jodit/esm/core/helpers/checker/is-array.js";
|
|
8
8
|
import { isPlainObject } from "jodit/esm/core/helpers/checker/is-plain-object.js";
|
|
9
9
|
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
10
10
|
import { isVoid } from "jodit/esm/core/helpers/checker/is-void.js";
|
|
11
11
|
import { Config } from "jodit/esm/config.js";
|
|
12
|
-
import { keys } from "./utils
|
|
12
|
+
import { keys } from "./utils";
|
|
13
13
|
/**
|
|
14
14
|
* @example
|
|
15
15
|
* ```js
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
9
|
import { isURL } from "jodit/esm/core/helpers/checker/is-url.js";
|
|
10
|
-
import { parseQuery } from "./parse-query
|
|
10
|
+
import { parseQuery } from "./parse-query";
|
|
11
11
|
/**
|
|
12
12
|
* Javascript url pattern converter replace youtube/vimeo url in embed code.
|
|
13
13
|
*/
|
|
@@ -6,31 +6,31 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module helpers/utils
|
|
8
8
|
*/
|
|
9
|
-
export * from "./align
|
|
10
|
-
export * from "./attr
|
|
11
|
-
export * from "./append-script
|
|
12
|
-
export * from "./assert
|
|
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
|
|
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
|
|
36
|
-
export * from "./val
|
|
9
|
+
export * from "./align";
|
|
10
|
+
export * from "./attr";
|
|
11
|
+
export * from "./append-script";
|
|
12
|
+
export * from "./assert";
|
|
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";
|
|
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";
|
|
36
|
+
export * from "./val";
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
7
7
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
8
|
-
import { css } from "./css
|
|
9
|
-
import { attr } from "./attr
|
|
10
|
-
import { $$ } from "./selector
|
|
8
|
+
import { css } from "./css";
|
|
9
|
+
import { attr } from "./attr";
|
|
10
|
+
import { $$ } from "./selector";
|
|
11
11
|
/**
|
|
12
12
|
* Fixes image sizes and sets absolute paths to images
|
|
13
13
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { get } from "./get
|
|
6
|
+
import { get } from "./get";
|
|
7
7
|
import { isFunction } from "jodit/esm/core/helpers/checker/is-function.js";
|
|
8
8
|
import { IS_PROD } from "jodit/esm/core/constants.js";
|
|
9
9
|
const map = {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { IS_ES_NEXT, IS_IE } from "jodit/esm/core/constants.js";
|
|
7
7
|
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
8
|
-
import { attr, error } from "jodit/esm/core/helpers/utils.js";
|
|
8
|
+
import { attr, error } from "jodit/esm/core/helpers/utils/index.js";
|
|
9
9
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
10
10
|
import { camelCase } from "jodit/esm/core/helpers/string/camel-case.js";
|
|
11
11
|
import { toArray } from "jodit/esm/core/helpers/array/to-array.js";
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { isPromise } from "jodit/esm/core/helpers/checker/is-promise.js";
|
|
7
7
|
import { isVoid } from "jodit/esm/core/helpers/checker/is-void.js";
|
|
8
|
-
import { dataBind } from "./data-bind
|
|
9
|
-
import { attr } from "./attr
|
|
8
|
+
import { dataBind } from "./data-bind";
|
|
9
|
+
import { attr } from "./attr";
|
|
10
10
|
/**
|
|
11
11
|
* Call function with parameters
|
|
12
12
|
*
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isInitable } from "jodit/esm/core/helpers/checker.js";
|
|
7
|
-
import { loadStyle } from "./load
|
|
6
|
+
import { isInitable } from "jodit/esm/core/helpers/checker/index.js";
|
|
7
|
+
import { loadStyle } from "./load";
|
|
8
8
|
import { IS_PROD } from "jodit/esm/core/constants.js";
|
|
9
9
|
import { getContainer } from "jodit/esm/core/global.js";
|
|
10
10
|
/**
|
package/esm/core/plugin/index.js
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isDestructable, isString, isArray } from "jodit/esm/core/helpers/checker.js";
|
|
7
|
-
import { splitArray } from "jodit/esm/core/helpers/array.js";
|
|
6
|
+
import { isDestructable, isString, isArray } from "jodit/esm/core/helpers/checker/index.js";
|
|
7
|
+
import { splitArray } from "jodit/esm/core/helpers/array/index.js";
|
|
8
8
|
import { eventEmitter } from "jodit/esm/core/global.js";
|
|
9
9
|
import { loadExtras } from "jodit/esm/core/plugin/helpers/load.js";
|
|
10
10
|
import { normalizeName } from "jodit/esm/core/plugin/helpers/utils.js";
|
|
11
11
|
import { makeInstance } from "jodit/esm/core/plugin/helpers/make-instance.js";
|
|
12
12
|
import { init } from "jodit/esm/core/plugin/helpers/init-instance.js";
|
|
13
13
|
import { IS_PROD } from "jodit/esm/core/constants.js";
|
|
14
|
-
import "./interface
|
|
14
|
+
import "./interface";
|
|
15
15
|
/**
|
|
16
16
|
* Jodit plugin system
|
|
17
17
|
* @example
|
|
@@ -13,8 +13,8 @@ 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 { ViewComponent, STATUSES } from "jodit/esm/core/component.js";
|
|
17
|
-
import { autobind } from "jodit/esm/core/decorators.js";
|
|
16
|
+
import { ViewComponent, STATUSES } from "jodit/esm/core/component/index.js";
|
|
17
|
+
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
18
18
|
import { isJoditObject } from "jodit/esm/core/helpers/checker/is-jodit-object.js";
|
|
19
19
|
export class Plugin extends ViewComponent {
|
|
20
20
|
/** @override */
|
package/esm/core/request/ajax.js
CHANGED
|
@@ -14,12 +14,12 @@ 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
|
import { Config } from "jodit/esm/config.js";
|
|
17
|
-
import { isPlainObject, parseQuery, buildQuery, isString, isFunction, ConfigProto } from "jodit/esm/core/helpers.js";
|
|
18
|
-
import * as error from "jodit/esm/core/helpers/utils/error.js";
|
|
19
|
-
import { Async } from "jodit/esm/core/async.js";
|
|
20
|
-
import { autobind } from "jodit/esm/core/decorators.js";
|
|
21
|
-
import { Response } from "./response
|
|
22
|
-
import "./config
|
|
17
|
+
import { isPlainObject, parseQuery, buildQuery, isString, isFunction, ConfigProto } from "jodit/esm/core/helpers/index.js";
|
|
18
|
+
import * as error from "jodit/esm/core/helpers/utils/error/index.js";
|
|
19
|
+
import { Async } from "jodit/esm/core/async/index.js";
|
|
20
|
+
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
21
|
+
import { Response } from "./response";
|
|
22
|
+
import "./config";
|
|
23
23
|
export class Ajax {
|
|
24
24
|
constructor(options, defaultAjaxOptions = Config.prototype.defaultAjaxOptions) {
|
|
25
25
|
this.__async = new Async();
|
|
@@ -16,13 +16,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
import * as consts from "jodit/esm/core/constants.js";
|
|
17
17
|
import { INSEPARABLE_TAGS, INVISIBLE_SPACE, INVISIBLE_SPACE_REG_EXP_END as INV_END, INVISIBLE_SPACE_REG_EXP_START as INV_START, IS_PROD } from "jodit/esm/core/constants.js";
|
|
18
18
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
19
|
-
import { size, attr, error, $$, css, call, toArray, getScrollParent } from "jodit/esm/core/helpers.js";
|
|
20
|
-
import { autobind } from "jodit/esm/core/decorators.js";
|
|
19
|
+
import { size, attr, error, $$, css, call, toArray, getScrollParent } from "jodit/esm/core/helpers/index.js";
|
|
20
|
+
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
21
21
|
import { moveTheNodeAlongTheEdgeOutward } from "jodit/esm/core/selection/helpers/move-the-node-along-the-edge-outward.js";
|
|
22
22
|
import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
23
|
-
import { isMarker, isFunction, isString } from "jodit/esm/core/helpers/checker.js";
|
|
24
|
-
import { CommitStyle } from "./style/commit-style
|
|
25
|
-
import "./interface
|
|
23
|
+
import { isMarker, isFunction, isString } from "jodit/esm/core/helpers/checker/index.js";
|
|
24
|
+
import { CommitStyle } from "./style/commit-style";
|
|
25
|
+
import "./interface";
|
|
26
26
|
export class Selection {
|
|
27
27
|
constructor(jodit) {
|
|
28
28
|
this.jodit = jodit;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
7
|
-
import { isNormalNode } from "./is-normal-node
|
|
8
|
-
import { isSuitElement } from "./is-suit-element
|
|
7
|
+
import { isNormalNode } from "./is-normal-node";
|
|
8
|
+
import { isSuitElement } from "./is-suit-element";
|
|
9
9
|
/**
|
|
10
10
|
* Checks if child elements are suitable for applying styles.
|
|
11
11
|
* An element is suitable for us only if it is the only significant child.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
7
|
-
import { isNormalNode } from "./is-normal-node
|
|
8
|
-
import { isSuitElement } from "./is-suit-element
|
|
7
|
+
import { isNormalNode } from "./is-normal-node";
|
|
8
|
+
import { isSuitElement } from "./is-suit-element";
|
|
9
9
|
/**
|
|
10
10
|
* Checks if the parent of an element is suitable for applying styles, if applicable, then returns the parent *
|
|
11
11
|
*
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export * from "./toggle-attributes
|
|
7
|
-
export * from "./list/toggle-ordered-list
|
|
8
|
-
export * from "./list/wrap-list
|
|
9
|
-
export * from "./has-same-style
|
|
10
|
-
export * from "./extract
|
|
11
|
-
export * from "./finite-state-machine
|
|
12
|
-
export * from "./get-suit-child
|
|
13
|
-
export * from "./get-suit-parent
|
|
14
|
-
export * from "./is-inside-invisible-element
|
|
15
|
-
export * from "./is-same-attributes
|
|
16
|
-
export * from "./is-normal-node
|
|
17
|
-
export * from "./is-suit-element
|
|
18
|
-
export * from "./unwrap-children
|
|
19
|
-
export * from "./wrap
|
|
20
|
-
export * from "./wrap-unwrapped-text
|
|
6
|
+
export * from "./toggle-attributes";
|
|
7
|
+
export * from "./list/toggle-ordered-list";
|
|
8
|
+
export * from "./list/wrap-list";
|
|
9
|
+
export * from "./has-same-style";
|
|
10
|
+
export * from "./extract";
|
|
11
|
+
export * from "./finite-state-machine";
|
|
12
|
+
export * from "./get-suit-child";
|
|
13
|
+
export * from "./get-suit-parent";
|
|
14
|
+
export * from "./is-inside-invisible-element";
|
|
15
|
+
export * from "./is-same-attributes";
|
|
16
|
+
export * from "./is-normal-node";
|
|
17
|
+
export * from "./is-suit-element";
|
|
18
|
+
export * from "./unwrap-children";
|
|
19
|
+
export * from "./wrap";
|
|
20
|
+
export * from "./wrap-unwrapped-text";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { attr } from "jodit/esm/core/helpers/utils.js";
|
|
6
|
+
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
7
7
|
import { size } from "jodit/esm/core/helpers/size/object-size.js";
|
|
8
8
|
import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
9
|
-
import { hasSameStyle } from "./has-same-style
|
|
9
|
+
import { hasSameStyle } from "./has-same-style";
|
|
10
10
|
/**
|
|
11
11
|
* Compares whether the given attributes match the element's own attributes
|
|
12
12
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
2
|
-
import { isNormalNode } from "./is-normal-node
|
|
3
|
-
import { hasSameStyle, hasSameStyleKeys } from "./has-same-style
|
|
2
|
+
import { isNormalNode } from "./is-normal-node";
|
|
3
|
+
import { hasSameStyle, hasSameStyleKeys } from "./has-same-style";
|
|
4
4
|
/**
|
|
5
5
|
* Checks if an item is suitable for applying a commit. The element suits us if it
|
|
6
6
|
* - has the same styles as in the commit (commitStyle.options.style)
|
|
@@ -8,7 +8,7 @@ import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
|
8
8
|
import { extractSelectedPart } from "jodit/esm/core/selection/style/api/extract.js";
|
|
9
9
|
import { _PREFIX, CHANGE, INITIAL, UNWRAP, REPLACE } from "jodit/esm/core/selection/style/commit-style.js";
|
|
10
10
|
import { toggleAttributes } from "jodit/esm/core/selection/style/api/toggle-attributes.js";
|
|
11
|
-
import { wrapList } from "./wrap-list
|
|
11
|
+
import { wrapList } from "./wrap-list";
|
|
12
12
|
/**
|
|
13
13
|
* Replaces `ul->ol` or `ol->ul`, apply styles to the list, or remove a list item from it
|
|
14
14
|
* @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-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
6
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
7
7
|
import { _PREFIX, REPLACE, WRAP, INITIAL } from "jodit/esm/core/selection/style/commit-style.js";
|
|
8
|
-
import { elementsEqualAttributes, isSameAttributes, toggleAttributes } from "jodit/esm/core/selection/style/api.js";
|
|
8
|
+
import { elementsEqualAttributes, isSameAttributes, toggleAttributes } from "jodit/esm/core/selection/style/api/index.js";
|
|
9
9
|
/**
|
|
10
10
|
* Replaces non-leaf items with leaf items and either creates a new list or
|
|
11
11
|
* adds a new item to the nearest old list
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { assert, attr } from "jodit/esm/core/helpers/utils.js";
|
|
6
|
+
import { assert, attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
7
7
|
import { css } from "jodit/esm/core/helpers/utils/css.js";
|
|
8
8
|
import { dataBind } from "jodit/esm/core/helpers/utils/data-bind.js";
|
|
9
9
|
import { kebabCase } from "jodit/esm/core/helpers/string/kebab-case.js";
|
|
@@ -12,7 +12,7 @@ import { size } from "jodit/esm/core/helpers/size/object-size.js";
|
|
|
12
12
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
13
13
|
import { _PREFIX, CHANGE, UNSET, UNWRAP } from "jodit/esm/core/selection/style/commit-style.js";
|
|
14
14
|
import { getContainer } from "jodit/esm/core/global.js";
|
|
15
|
-
import { isBoolean, isNumber, isPlainObject, isString } from "jodit/esm/core/helpers/checker.js";
|
|
15
|
+
import { isBoolean, isNumber, isPlainObject, isString } from "jodit/esm/core/helpers/checker/index.js";
|
|
16
16
|
const tak = 'toggleAttributes';
|
|
17
17
|
/**
|
|
18
18
|
* Toggles attributes
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
7
|
-
import { attr, css } from "jodit/esm/core/helpers/utils.js";
|
|
7
|
+
import { attr, css } from "jodit/esm/core/helpers/utils/index.js";
|
|
8
8
|
import { hasSameStyleKeys } from "jodit/esm/core/selection/style/api/has-same-style.js";
|
|
9
|
-
import { isSameStyleChild, isSuitElement } from "./is-suit-element
|
|
9
|
+
import { isSameStyleChild, isSuitElement } from "./is-suit-element";
|
|
10
10
|
/**
|
|
11
11
|
* Unwrap all suit elements inside
|
|
12
12
|
* @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-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
6
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
7
7
|
import { attr } from "jodit/esm/core/helpers/utils/attr.js";
|
|
8
|
-
import { wrapUnwrappedText } from "./wrap-unwrapped-text
|
|
9
|
-
import { wrapList } from "./list/wrap-list
|
|
8
|
+
import { wrapUnwrappedText } from "./wrap-unwrapped-text";
|
|
9
|
+
import { wrapList } from "./list/wrap-list";
|
|
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-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { FiniteStateMachine } from "./api
|
|
7
|
-
import { states, transactions } from "./transactions
|
|
8
|
-
import { INITIAL } from "./commit-style
|
|
6
|
+
import { FiniteStateMachine } from "./api";
|
|
7
|
+
import { states, transactions } from "./transactions";
|
|
8
|
+
import { INITIAL } from "./commit-style";
|
|
9
9
|
/** @internal */
|
|
10
10
|
export function ApplyStyle(jodit, cs) {
|
|
11
11
|
const { s: sel, editor } = jodit;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { IS_BLOCK, LIST_TAGS } from "jodit/esm/core/constants.js";
|
|
7
7
|
import { camelCase } from "jodit/esm/core/helpers/string/camel-case.js";
|
|
8
|
-
import { ApplyStyle } from "./apply-style
|
|
8
|
+
import { ApplyStyle } from "./apply-style";
|
|
9
9
|
export const WRAP = 'wrap';
|
|
10
10
|
export const UNWRAP = 'unwrap';
|
|
11
11
|
export const CHANGE = 'change';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { REPLACE } from "jodit/esm/core/selection.js";
|
|
7
|
-
import { extractSelectedPart, getSuitChild, getSuitParent, findSuitClosest, toggleAttributes, unwrapChildren, isInsideInvisibleElement, wrap, toggleOrderedList } from "jodit/esm/core/selection/style/api.js";
|
|
6
|
+
import { REPLACE } from "jodit/esm/core/selection/index.js";
|
|
7
|
+
import { extractSelectedPart, getSuitChild, getSuitParent, findSuitClosest, toggleAttributes, unwrapChildren, isInsideInvisibleElement, wrap, toggleOrderedList } from "jodit/esm/core/selection/style/api/index.js";
|
|
8
8
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
9
|
-
import { INITIAL, UNSET, UNWRAP, WRAP } from "jodit/esm/core/selection.js";
|
|
9
|
+
import { INITIAL, UNSET, UNWRAP, WRAP } from "jodit/esm/core/selection/index.js";
|
|
10
10
|
import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
11
11
|
import { LIST_TAGS } from "jodit/esm/core/constants.js";
|
|
12
12
|
export const states = {
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module storage
|
|
8
8
|
*/
|
|
9
|
-
export * from "./engines/memory-storage-provider
|
|
10
|
-
export * from "./engines/local-storage-provider
|
|
11
|
-
export * from "./storage
|
|
9
|
+
export * from "./engines/memory-storage-provider";
|
|
10
|
+
export * from "./engines/local-storage-provider";
|
|
11
|
+
export * from "./storage";
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { camelCase } from "jodit/esm/core/helpers/string/camel-case.js";
|
|
7
|
-
import { canUsePersistentStorage, LocalStorageProvider } from "./engines/local-storage-provider
|
|
8
|
-
import { MemoryStorageProvider } from "./engines/memory-storage-provider
|
|
7
|
+
import { canUsePersistentStorage, LocalStorageProvider } from "./engines/local-storage-provider";
|
|
8
|
+
import { MemoryStorageProvider } from "./engines/memory-storage-provider";
|
|
9
9
|
export const StorageKey = 'Jodit_';
|
|
10
10
|
export class Storage {
|
|
11
11
|
set(key, value) {
|
package/esm/core/traits/dlgs.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Alert, Confirm, Dialog, Prompt } from "jodit/esm/modules/dialog.js";
|
|
7
|
-
import { isHTML, isString } from "jodit/esm/core/helpers/checker.js";
|
|
6
|
+
import { Alert, Confirm, Dialog, Prompt } from "jodit/esm/modules/dialog/index.js";
|
|
7
|
+
import { isHTML, isString } from "jodit/esm/core/helpers/checker/index.js";
|
|
8
8
|
import { markOwner } from "jodit/esm/core/helpers/utils/utils.js";
|
|
9
9
|
export class Dlgs {
|
|
10
10
|
dlg(options) {
|
|
@@ -18,12 +18,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
*/
|
|
19
19
|
import { UIElement } from "jodit/esm/core/ui/element.js";
|
|
20
20
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
21
|
-
import { assert, attr } from "jodit/esm/core/helpers/utils.js";
|
|
21
|
+
import { assert, attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
22
22
|
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
23
23
|
import { isFunction } from "jodit/esm/core/helpers/checker/is-function.js";
|
|
24
24
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
25
25
|
import { UIList } from "jodit/esm/core/ui/group/list.js";
|
|
26
|
-
import { cache, cacheHTML, component, watch } from "jodit/esm/core/decorators.js";
|
|
26
|
+
import { cache, cacheHTML, component, watch } from "jodit/esm/core/decorators/index.js";
|
|
27
27
|
import { STATUSES } from "jodit/esm/core/component/statuses.js";
|
|
28
28
|
export const UIButtonState = () => ({
|
|
29
29
|
size: 'middle',
|
|
@@ -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";
|
|
12
|
+
export * from "./group/group";
|
|
13
|
+
export * from "./tooltip/tooltip";
|
|
@@ -19,13 +19,13 @@ var UITooltip_1;
|
|
|
19
19
|
* @packageDocumentation
|
|
20
20
|
* @module plugins/tooltip
|
|
21
21
|
*/
|
|
22
|
-
import { attr, css } from "jodit/esm/core/helpers/utils.js";
|
|
22
|
+
import { attr, css } from "jodit/esm/core/helpers/utils/index.js";
|
|
23
23
|
import { getContainer } from "jodit/esm/core/global.js";
|
|
24
|
-
import { autobind, component } from "jodit/esm/core/decorators.js";
|
|
24
|
+
import { autobind, component } from "jodit/esm/core/decorators/index.js";
|
|
25
25
|
import { UIElement } from "jodit/esm/core/ui/element.js";
|
|
26
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
26
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
27
27
|
import { position } from "jodit/esm/core/helpers/size/position.js";
|
|
28
|
-
import { STATUSES } from "jodit/esm/core/component.js";
|
|
28
|
+
import { STATUSES } from "jodit/esm/core/component/index.js";
|
|
29
29
|
export let UITooltip = UITooltip_1 = class UITooltip extends UIElement {
|
|
30
30
|
className() {
|
|
31
31
|
return 'UITooltip';
|