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
package/esm/core/ui/element.js
CHANGED
|
@@ -14,7 +14,7 @@ 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 "jodit/esm/core/component.js";
|
|
17
|
+
import { Component, ViewComponent } from "jodit/esm/core/component/index.js";
|
|
18
18
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
19
19
|
import { Mods } from "jodit/esm/core/traits/mods.js";
|
|
20
20
|
import { Elms } from "jodit/esm/core/traits/elms.js";
|
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
* @module ui/form/block
|
|
18
18
|
*/
|
|
19
19
|
import { UIGroup } from "jodit/esm/core/ui/group/group.js";
|
|
20
|
-
import { attr } from "jodit/esm/core/helpers/utils.js";
|
|
20
|
+
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
21
21
|
import { component } from "jodit/esm/core/decorators/component/component.js";
|
|
22
22
|
export let UIBlock = class UIBlock extends UIGroup {
|
|
23
23
|
/** @override */
|
package/esm/core/ui/form/form.js
CHANGED
|
@@ -16,7 +16,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
import { UIGroup } from "jodit/esm/core/ui/group/group.js";
|
|
17
17
|
import { UIInput } from "jodit/esm/core/ui/form/inputs/input/input.js";
|
|
18
18
|
import { UISelect } from "jodit/esm/core/ui/form/inputs/select/select.js";
|
|
19
|
-
import { attr } from "jodit/esm/core/helpers/utils.js";
|
|
19
|
+
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
20
20
|
import { component } from "jodit/esm/core/decorators/component/component.js";
|
|
21
21
|
import { Component } from "jodit/esm/core/component/component.js";
|
|
22
22
|
export let UIForm = class UIForm extends UIGroup {
|
|
@@ -18,7 +18,7 @@ var UICheckbox_1;
|
|
|
18
18
|
* @module ui/form/inputs
|
|
19
19
|
*/
|
|
20
20
|
import { UIInput } from "jodit/esm/core/ui/form/inputs/input/input.js";
|
|
21
|
-
import { component, watch, hook } from "jodit/esm/core/decorators.js";
|
|
21
|
+
import { component, watch, hook } from "jodit/esm/core/decorators/index.js";
|
|
22
22
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
23
23
|
export let UICheckbox = UICheckbox_1 = class UICheckbox extends UIInput {
|
|
24
24
|
/** @override */
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/form/inputs
|
|
8
8
|
*/
|
|
9
|
-
export * from "./input/input
|
|
10
|
-
export * from "./area/area
|
|
11
|
-
export * from "./checkbox/checkbox
|
|
12
|
-
export * from "./select/select
|
|
13
|
-
export * from "./file/file
|
|
9
|
+
export * from "./input/input";
|
|
10
|
+
export * from "./area/area";
|
|
11
|
+
export * from "./checkbox/checkbox";
|
|
12
|
+
export * from "./select/select";
|
|
13
|
+
export * from "./file/file";
|
|
@@ -18,12 +18,12 @@ var UIInput_1;
|
|
|
18
18
|
* @module ui/form/inputs
|
|
19
19
|
*/
|
|
20
20
|
import { UIElement } from "jodit/esm/core/ui/element.js";
|
|
21
|
-
import { attr } from "jodit/esm/core/helpers/utils.js";
|
|
21
|
+
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
22
22
|
import { toArray } from "jodit/esm/core/helpers/array/to-array.js";
|
|
23
23
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
24
|
-
import { autobind, component, debounce, watch } from "jodit/esm/core/decorators.js";
|
|
24
|
+
import { autobind, component, debounce, watch } from "jodit/esm/core/decorators/index.js";
|
|
25
25
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
26
|
-
import { inputValidators } from "jodit/esm/core/ui/form/validators.js";
|
|
26
|
+
import { inputValidators } from "jodit/esm/core/ui/form/validators/index.js";
|
|
27
27
|
export let UIInput = UIInput_1 = class UIInput extends UIElement {
|
|
28
28
|
/** @override */
|
|
29
29
|
className() {
|
|
@@ -20,7 +20,7 @@ var UISelect_1;
|
|
|
20
20
|
import { attr } from "jodit/esm/core/helpers/utils/attr.js";
|
|
21
21
|
import { component } from "jodit/esm/core/decorators/component/component.js";
|
|
22
22
|
import { UIInput } from "jodit/esm/core/ui/form/inputs/input/input.js";
|
|
23
|
-
import { inputValidators, selectValidators } from "jodit/esm/core/ui/form/validators.js";
|
|
23
|
+
import { inputValidators, selectValidators } from "jodit/esm/core/ui/form/validators/index.js";
|
|
24
24
|
export let UISelect = UISelect_1 = class UISelect extends UIInput {
|
|
25
25
|
/** @override */
|
|
26
26
|
className() {
|
|
@@ -20,8 +20,8 @@ var UIGroup_1;
|
|
|
20
20
|
* @module ui/group
|
|
21
21
|
*/
|
|
22
22
|
import { UIElement } from "jodit/esm/core/ui/element.js";
|
|
23
|
-
import { component, watch } from "jodit/esm/core/decorators.js";
|
|
24
|
-
import { isArray } from "jodit/esm/core/helpers.js";
|
|
23
|
+
import { component, watch } from "jodit/esm/core/decorators/index.js";
|
|
24
|
+
import { isArray } from "jodit/esm/core/helpers/index.js";
|
|
25
25
|
import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
26
26
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
27
27
|
import { Component } from "jodit/esm/core/component/component.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/group
|
|
8
8
|
*/
|
|
9
|
-
export * from "./group
|
|
10
|
-
export * from "./list
|
|
11
|
-
export * from "./separator
|
|
12
|
-
export * from "./spacer
|
|
9
|
+
export * from "./group";
|
|
10
|
+
export * from "./list";
|
|
11
|
+
export * from "./separator";
|
|
12
|
+
export * from "./spacer";
|
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
* @module ui/group
|
|
18
18
|
*/
|
|
19
19
|
import { getStrongControlTypes } from "jodit/esm/core/ui/helpers/get-strong-control-types.js";
|
|
20
|
-
import { component, watch } from "jodit/esm/core/decorators.js";
|
|
20
|
+
import { component, watch } from "jodit/esm/core/decorators/index.js";
|
|
21
21
|
import { UIGroup } from "jodit/esm/core/ui/group/group.js";
|
|
22
22
|
import { UISeparator } from "jodit/esm/core/ui/group/separator.js";
|
|
23
23
|
import { UISpacer } from "jodit/esm/core/ui/group/spacer.js";
|
|
@@ -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 { ConfigFlatten, isString } from "jodit/esm/core/helpers.js";
|
|
6
|
+
import { ConfigFlatten, isString } from "jodit/esm/core/helpers/index.js";
|
|
7
7
|
import { Config } from "jodit/esm/config.js";
|
|
8
8
|
/**
|
|
9
9
|
* Get control for button name
|
|
@@ -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 { getControlType } from "./get-control-type
|
|
6
|
+
import { getControlType } from "./get-control-type";
|
|
7
7
|
import { Config } from "jodit/esm/config.js";
|
|
8
8
|
import { isArray } from "jodit/esm/core/helpers/checker/is-array.js";
|
|
9
|
-
import { ConfigProto, keys } from "jodit/esm/core/helpers/utils.js";
|
|
9
|
+
import { ConfigProto, keys } from "jodit/esm/core/helpers/utils/index.js";
|
|
10
10
|
/**
|
|
11
11
|
* @private
|
|
12
12
|
*/
|
package/esm/core/ui/icon.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { css } from "jodit/esm/core/helpers/utils/css.js";
|
|
7
|
-
import { camelCase, kebabCase } from "jodit/esm/core/helpers.js";
|
|
7
|
+
import { camelCase, kebabCase } from "jodit/esm/core/helpers/index.js";
|
|
8
8
|
import { IS_PROD } from "jodit/esm/core/constants.js";
|
|
9
9
|
export class Icon {
|
|
10
10
|
static getIcon(name) {
|
package/esm/core/ui/index.js
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module ui
|
|
10
10
|
*/
|
|
11
|
-
export * from "./element
|
|
12
|
-
export * from "./button
|
|
13
|
-
export * from "./popup
|
|
14
|
-
export * from "./group
|
|
15
|
-
export * from "./form
|
|
16
|
-
export * from "./icon
|
|
17
|
-
export * from "./progress-bar/progress-bar
|
|
11
|
+
export * from "./element";
|
|
12
|
+
export * from "./button";
|
|
13
|
+
export * from "./popup";
|
|
14
|
+
export * from "./group";
|
|
15
|
+
export * from "./form";
|
|
16
|
+
export * from "./icon";
|
|
17
|
+
export * from "./progress-bar/progress-bar";
|
|
@@ -19,10 +19,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
* @module ui/popup
|
|
20
20
|
*/
|
|
21
21
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
22
|
-
import { attr, css, isString, kebabCase, markOwner, position, ucfirst } from "jodit/esm/core/helpers.js";
|
|
22
|
+
import { attr, css, isString, kebabCase, markOwner, position, ucfirst } from "jodit/esm/core/helpers/index.js";
|
|
23
23
|
import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
24
24
|
import { UIElement } from "jodit/esm/core/ui/element.js";
|
|
25
|
-
import { autobind, throttle } from "jodit/esm/core/decorators.js";
|
|
25
|
+
import { autobind, throttle } from "jodit/esm/core/decorators/index.js";
|
|
26
26
|
import { Component } from "jodit/esm/core/component/component.js";
|
|
27
27
|
import { eventEmitter, getContainer } from "jodit/esm/core/global.js";
|
|
28
28
|
export class Popup extends UIElement {
|
|
@@ -17,14 +17,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
* @module view
|
|
18
18
|
*/
|
|
19
19
|
import { View } from "jodit/esm/core/view/view.js";
|
|
20
|
-
import { isString } from "jodit/esm/core/helpers/checker.js";
|
|
21
|
-
import { splitArray } from "jodit/esm/core/helpers/array.js";
|
|
22
|
-
import { resolveElement } from "jodit/esm/core/helpers/utils.js";
|
|
23
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
20
|
+
import { isString } from "jodit/esm/core/helpers/checker/index.js";
|
|
21
|
+
import { splitArray } from "jodit/esm/core/helpers/array/index.js";
|
|
22
|
+
import { resolveElement } from "jodit/esm/core/helpers/utils/index.js";
|
|
23
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
24
24
|
import { makeCollection } from "jodit/esm/modules/toolbar/factory.js";
|
|
25
|
-
import { STATUSES } from "jodit/esm/core/component.js";
|
|
25
|
+
import { STATUSES } from "jodit/esm/core/component/index.js";
|
|
26
26
|
import { isButtonGroup } from "jodit/esm/core/ui/helpers/buttons.js";
|
|
27
|
-
import { autobind } from "jodit/esm/core/decorators.js";
|
|
27
|
+
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
28
28
|
export class ViewWithToolbar extends View {
|
|
29
29
|
/**
|
|
30
30
|
* Container for toolbar
|
package/esm/core/view/view.js
CHANGED
|
@@ -14,15 +14,15 @@ 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 View_1;
|
|
17
|
-
import { Storage } from "jodit/esm/core/storage.js";
|
|
18
|
-
import { camelCase, ConfigProto, error, i18n, isDestructable, isFunction, isVoid } from "jodit/esm/core/helpers.js";
|
|
17
|
+
import { Storage } from "jodit/esm/core/storage/index.js";
|
|
18
|
+
import { camelCase, ConfigProto, error, i18n, isDestructable, isFunction, isVoid } from "jodit/esm/core/helpers/index.js";
|
|
19
19
|
import { APP_VERSION, BASE_PATH, ES, IS_ES_MODERN, IS_ES_NEXT } from "jodit/esm/core/constants.js";
|
|
20
|
-
import { Component, STATUSES, ProgressBar, Create, Dom, ViewComponent } from "jodit/esm/modules.js";
|
|
20
|
+
import { Component, STATUSES, ProgressBar, Create, Dom, ViewComponent } from "jodit/esm/modules/index.js";
|
|
21
21
|
import { modules } from "jodit/esm/core/global.js";
|
|
22
|
-
import { hook, derive, cache } from "jodit/esm/core/decorators.js";
|
|
22
|
+
import { hook, derive, cache } from "jodit/esm/core/decorators/index.js";
|
|
23
23
|
import { Mods } from "jodit/esm/core/traits/mods.js";
|
|
24
24
|
import { Elms } from "jodit/esm/core/traits/elms.js";
|
|
25
|
-
import { EventEmitter } from "jodit/esm/core/event-emitter.js";
|
|
25
|
+
import { EventEmitter } from "jodit/esm/core/event-emitter/index.js";
|
|
26
26
|
import { UIMessages } from "jodit/esm/modules/messages/messages.js";
|
|
27
27
|
export let View = View_1 = class View extends Component {
|
|
28
28
|
/**
|
package/esm/index.js
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module jodit
|
|
10
10
|
*/
|
|
11
|
-
import * as constants from "./core/constants
|
|
12
|
-
import { Jodit as DefaultJodit } from "./jodit
|
|
13
|
-
import Languages from "./languages
|
|
14
|
-
import * as decorators from "./core/decorators
|
|
15
|
-
import * as Modules from "./modules/
|
|
16
|
-
import * as Icons from "./styles/icons/
|
|
11
|
+
import * as constants from "./core/constants";
|
|
12
|
+
import { Jodit as DefaultJodit } from "./jodit";
|
|
13
|
+
import Languages from "./languages";
|
|
14
|
+
import * as decorators from "./core/decorators";
|
|
15
|
+
import * as Modules from "./modules/";
|
|
16
|
+
import * as Icons from "./styles/icons/";
|
|
17
17
|
import "jodit/esm/plugins/index.js";
|
|
18
18
|
// copy constants in Jodit
|
|
19
19
|
Object.keys(constants).forEach((key) => {
|
package/esm/jodit.js
CHANGED
|
@@ -16,13 +16,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
var Jodit_1;
|
|
17
17
|
import { Config } from "jodit/esm/config.js";
|
|
18
18
|
import * as constants from "jodit/esm/core/constants.js";
|
|
19
|
-
import { Create, Dom, History, Plugin, Selection, StatusBar, STATUSES, ViewWithToolbar } from "jodit/esm/modules.js";
|
|
20
|
-
import { asArray, css, isPromise, normalizeKeyAliases, error, isString, attr, isFunction, resolveElement, isVoid, callPromise, toArray, markAsAtomic, ConfigProto, kebabCase, isJoditObject, isNumber } from "jodit/esm/core/helpers.js";
|
|
19
|
+
import { Create, Dom, History, Plugin, Selection, StatusBar, STATUSES, ViewWithToolbar } from "jodit/esm/modules/index.js";
|
|
20
|
+
import { asArray, css, isPromise, normalizeKeyAliases, error, isString, attr, isFunction, resolveElement, isVoid, callPromise, toArray, markAsAtomic, ConfigProto, kebabCase, isJoditObject, isNumber } from "jodit/esm/core/helpers/index.js";
|
|
21
21
|
import { FAT_MODE, IS_PROD, lang } from "jodit/esm/core/constants.js";
|
|
22
22
|
import { instances, pluginSystem, modules, eventEmitter } from "jodit/esm/core/global.js";
|
|
23
|
-
import { autobind, cache, throttle, watch, derive } from "jodit/esm/core/decorators.js";
|
|
23
|
+
import { autobind, cache, throttle, watch, derive } from "jodit/esm/core/decorators/index.js";
|
|
24
24
|
import { Dlgs } from "jodit/esm/core/traits/dlgs.js";
|
|
25
|
-
import { Ajax } from "jodit/esm/core/request.js";
|
|
25
|
+
import { Ajax } from "jodit/esm/core/request/index.js";
|
|
26
26
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
27
27
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
28
28
|
export let Jodit = Jodit_1 = class Jodit extends ViewWithToolbar {
|
|
@@ -18,9 +18,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
* @packageDocumentation
|
|
19
19
|
* @module modules/context-menu
|
|
20
20
|
*/
|
|
21
|
-
import { Popup } from "jodit/esm/core/ui/popup.js";
|
|
22
|
-
import { Button } from "jodit/esm/core/ui/button.js";
|
|
23
|
-
import { isArray } from "jodit/esm/core/helpers/checker.js";
|
|
21
|
+
import { Popup } from "jodit/esm/core/ui/popup/index.js";
|
|
22
|
+
import { Button } from "jodit/esm/core/ui/button/index.js";
|
|
23
|
+
import { isArray } from "jodit/esm/core/helpers/checker/index.js";
|
|
24
24
|
import { component } from "jodit/esm/core/decorators/component/component.js";
|
|
25
25
|
/**
|
|
26
26
|
* Module to generate context menu
|
|
@@ -7,7 +7,7 @@ import { isFunction } from "jodit/esm/core/helpers/checker/is-function.js";
|
|
|
7
7
|
import { asArray } from "jodit/esm/core/helpers/array/as-array.js";
|
|
8
8
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
9
9
|
import { Button } from "jodit/esm/core/ui/button/button/button.js";
|
|
10
|
-
import { Dialog } from "./dialog
|
|
10
|
+
import { Dialog } from "./dialog";
|
|
11
11
|
/**
|
|
12
12
|
* Show `alert` dialog. Work without Jodit object
|
|
13
13
|
* @example
|
|
@@ -18,17 +18,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
*/
|
|
19
19
|
import { Config } from "jodit/esm/config.js";
|
|
20
20
|
import { KEY_ESC } from "jodit/esm/core/constants.js";
|
|
21
|
-
import { isArray, isBoolean, isFunction, isString, isVoid, hasContainer } from "jodit/esm/core/helpers/checker.js";
|
|
22
|
-
import { asArray, splitArray, toArray } from "jodit/esm/core/helpers/array.js";
|
|
23
|
-
import { $$, attr, ConfigProto, css } from "jodit/esm/core/helpers/utils.js";
|
|
21
|
+
import { isArray, isBoolean, isFunction, isString, isVoid, hasContainer } from "jodit/esm/core/helpers/checker/index.js";
|
|
22
|
+
import { asArray, splitArray, toArray } from "jodit/esm/core/helpers/array/index.js";
|
|
23
|
+
import { $$, attr, ConfigProto, css } from "jodit/esm/core/helpers/utils/index.js";
|
|
24
24
|
import { assert } from "jodit/esm/core/helpers/utils/assert.js";
|
|
25
25
|
import { ViewWithToolbar } from "jodit/esm/core/view/view-with-toolbar.js";
|
|
26
26
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
27
|
-
import { STATUSES } from "jodit/esm/core/component.js";
|
|
27
|
+
import { STATUSES } from "jodit/esm/core/component/index.js";
|
|
28
28
|
import { eventEmitter, pluginSystem } from "jodit/esm/core/global.js";
|
|
29
|
-
import { component, autobind, hook } from "jodit/esm/core/decorators.js";
|
|
29
|
+
import { component, autobind, hook } from "jodit/esm/core/decorators/index.js";
|
|
30
30
|
import { View } from "jodit/esm/core/view/view.js";
|
|
31
|
-
import { Icon } from "jodit/esm/core/ui.js";
|
|
31
|
+
import { Icon } from "jodit/esm/core/ui/index.js";
|
|
32
32
|
Config.prototype.dialog = {
|
|
33
33
|
namespace: '',
|
|
34
34
|
extraButtons: [],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/dialog
|
|
10
10
|
*/
|
|
11
|
-
export { Dialog } from "./dialog
|
|
12
|
-
export { Alert } from "./alert
|
|
13
|
-
export { Prompt } from "./prompt
|
|
14
|
-
export { Confirm } from "./confirm
|
|
11
|
+
export { Dialog } from "./dialog";
|
|
12
|
+
export { Alert } from "./alert";
|
|
13
|
+
export { Prompt } from "./prompt";
|
|
14
|
+
export { Confirm } from "./confirm";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { Button } from "jodit/esm/core/ui/button/button/button.js";
|
|
7
7
|
import { isFunction } from "jodit/esm/core/helpers/checker/is-function.js";
|
|
8
8
|
import { attr } from "jodit/esm/core/helpers/utils/attr.js";
|
|
9
|
-
import { Dialog } from "./dialog
|
|
9
|
+
import { Dialog } from "./dialog";
|
|
10
10
|
/**
|
|
11
11
|
* Show `Prompt` dialog. Work without Jodit object
|
|
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 { Dom } from "jodit/esm/core/dom.js";
|
|
7
|
-
import { attr, error } from "jodit/esm/core/helpers/utils.js";
|
|
6
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
7
|
+
import { attr, error } from "jodit/esm/core/helpers/utils/index.js";
|
|
8
8
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
9
9
|
import { openImageEditor } from "jodit/esm/modules/image-editor/image-editor.js";
|
|
10
10
|
import { makeContextMenu } from "jodit/esm/modules/file-browser/factories.js";
|
|
@@ -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 { normalizePath, normalizeUrl } from "jodit/esm/core/helpers.js";
|
|
6
|
+
import { normalizePath, normalizeUrl } from "jodit/esm/core/helpers/index.js";
|
|
7
7
|
export class FileBrowserItem {
|
|
8
8
|
constructor(data) {
|
|
9
9
|
this.data = data;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/file-browser
|
|
8
8
|
*/
|
|
9
9
|
import { Config } from "jodit/esm/config.js";
|
|
10
|
-
import { isArray, isString } from "jodit/esm/core/helpers/checker.js";
|
|
10
|
+
import { isArray, isString } from "jodit/esm/core/helpers/checker/index.js";
|
|
11
11
|
import { UIFileInput } from "jodit/esm/core/ui/form/inputs/file/file.js";
|
|
12
12
|
import { humanSizeToBytes } from "jodit/esm/core/helpers/utils/human-size-to-bytes.js";
|
|
13
13
|
Config.prototype.filebrowser = {
|
|
@@ -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 { ConfigProto, error, isFunction, normalizeRelativePath, set } from "jodit/esm/core/helpers.js";
|
|
17
|
-
import { Ajax } from "jodit/esm/core/request.js";
|
|
18
|
-
import { autobind } from "jodit/esm/core/decorators.js";
|
|
16
|
+
import { ConfigProto, error, isFunction, normalizeRelativePath, set } from "jodit/esm/core/helpers/index.js";
|
|
17
|
+
import { Ajax } from "jodit/esm/core/request/index.js";
|
|
18
|
+
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
19
19
|
import { FileBrowserItem } from "jodit/esm/modules/file-browser/builders/item.js";
|
|
20
20
|
import { IS_PROD } from "jodit/esm/core/constants.js";
|
|
21
21
|
export const DEFAULT_SOURCE_NAME = 'default';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { ContextMenu } from "jodit/esm/modules/context-menu/context-menu.js";
|
|
7
|
-
import DataProvider from "./data-provider
|
|
7
|
+
import DataProvider from "./data-provider";
|
|
8
8
|
export function makeDataProvider(parent, options) {
|
|
9
9
|
return new DataProvider(parent, options);
|
|
10
10
|
}
|
|
@@ -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 { loadItems } from "jodit/esm/modules/file-browser/fetch/load-items.js";
|
|
8
8
|
/**
|
|
9
9
|
* Loads a list of directories
|
|
@@ -18,23 +18,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
*/
|
|
19
19
|
import { Config } from "jodit/esm/config.js";
|
|
20
20
|
import * as consts from "jodit/esm/core/constants.js";
|
|
21
|
-
import { Storage } from "jodit/esm/core/storage.js";
|
|
22
|
-
import { error, isFunction, isString, ConfigProto, trim, isAbort } from "jodit/esm/core/helpers.js";
|
|
23
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
24
|
-
import { makeDataProvider } from "./factories
|
|
25
|
-
import { stateListeners } from "./listeners/state-listeners
|
|
26
|
-
import { nativeListeners } from "./listeners/native-listeners
|
|
27
|
-
import { selfListeners } from "./listeners/self-listeners
|
|
28
|
-
import { DEFAULT_SOURCE_NAME } from "./data-provider
|
|
29
|
-
import { autobind, cache, derive } from "jodit/esm/core/decorators.js";
|
|
30
|
-
import { FileBrowserFiles, FileBrowserTree } from "./ui
|
|
31
|
-
import { observable } from "jodit/esm/core/event-emitter.js";
|
|
32
|
-
import { loadTree } from "./fetch/load-tree
|
|
33
|
-
import { loadItems } from "./fetch/load-items
|
|
34
|
-
import { STATUSES } from "jodit/esm/core/component.js";
|
|
21
|
+
import { Storage } from "jodit/esm/core/storage/index.js";
|
|
22
|
+
import { error, isFunction, isString, ConfigProto, trim, isAbort } from "jodit/esm/core/helpers/index.js";
|
|
23
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
24
|
+
import { makeDataProvider } from "./factories";
|
|
25
|
+
import { stateListeners } from "./listeners/state-listeners";
|
|
26
|
+
import { nativeListeners } from "./listeners/native-listeners";
|
|
27
|
+
import { selfListeners } from "./listeners/self-listeners";
|
|
28
|
+
import { DEFAULT_SOURCE_NAME } from "./data-provider";
|
|
29
|
+
import { autobind, cache, derive } from "jodit/esm/core/decorators/index.js";
|
|
30
|
+
import { FileBrowserFiles, FileBrowserTree } from "./ui";
|
|
31
|
+
import { observable } from "jodit/esm/core/event-emitter/index.js";
|
|
32
|
+
import { loadTree } from "./fetch/load-tree";
|
|
33
|
+
import { loadItems } from "./fetch/load-items";
|
|
34
|
+
import { STATUSES } from "jodit/esm/core/component/index.js";
|
|
35
35
|
import { Dlgs } from "jodit/esm/core/traits/dlgs.js";
|
|
36
36
|
import { ViewWithToolbar } from "jodit/esm/core/view/view-with-toolbar.js";
|
|
37
|
-
import "./config
|
|
37
|
+
import "./config";
|
|
38
38
|
import { IS_PROD } from "jodit/esm/core/constants.js";
|
|
39
39
|
export let FileBrowser = class FileBrowser extends ViewWithToolbar {
|
|
40
40
|
/** @override */
|
|
@@ -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 { ctrlKey, attr } from "jodit/esm/core/helpers.js";
|
|
7
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
6
|
+
import { ctrlKey, attr } from "jodit/esm/core/helpers/index.js";
|
|
7
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
8
8
|
import contextMenu from "jodit/esm/modules/file-browser/builders/context-menu.js";
|
|
9
9
|
import { elementsMap } from "jodit/esm/modules/file-browser/builders/elements-map.js";
|
|
10
10
|
import { loadTree } from "jodit/esm/modules/file-browser/fetch/load-tree.js";
|
|
@@ -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 { isValidName } from "jodit/esm/core/helpers/checker.js";
|
|
7
|
-
import { normalizePath } from "jodit/esm/core/helpers.js";
|
|
6
|
+
import { isValidName } from "jodit/esm/core/helpers/checker/index.js";
|
|
7
|
+
import { normalizePath } from "jodit/esm/core/helpers/index.js";
|
|
8
8
|
import { openImageEditor } from "jodit/esm/modules/image-editor/image-editor.js";
|
|
9
9
|
import { DEFAULT_SOURCE_NAME } from "jodit/esm/modules/file-browser/data-provider.js";
|
|
10
10
|
import { loadTree } from "jodit/esm/modules/file-browser/fetch/load-tree.js";
|
|
@@ -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 { Dom } from "jodit/esm/core/dom.js";
|
|
7
|
-
import { normalizePath } from "jodit/esm/core/helpers/normalize.js";
|
|
6
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
7
|
+
import { normalizePath } from "jodit/esm/core/helpers/normalize/index.js";
|
|
8
8
|
import { Button } from "jodit/esm/core/ui/button/button/button.js";
|
|
9
9
|
import { elementsMap } from "jodit/esm/modules/file-browser/builders/elements-map.js";
|
|
10
10
|
import { loadTree } from "jodit/esm/modules/file-browser/fetch/load-tree.js";
|
|
@@ -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 { UIGroup } from "jodit/esm/core/ui.js";
|
|
6
|
+
import { UIGroup } from "jodit/esm/core/ui/index.js";
|
|
7
7
|
export class FileBrowserFiles extends UIGroup {
|
|
8
8
|
className() {
|
|
9
9
|
return 'FilebrowserFiles';
|
|
@@ -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 { UIGroup } from "jodit/esm/core/ui.js";
|
|
6
|
+
import { UIGroup } from "jodit/esm/core/ui/index.js";
|
|
7
7
|
export class FileBrowserTree extends UIGroup {
|
|
8
8
|
className() {
|
|
9
9
|
return 'FilebrowserTree';
|
|
@@ -14,11 +14,11 @@ 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 { ViewComponent } from "jodit/esm/core/component.js";
|
|
18
|
-
import { Snapshot } from "./snapshot
|
|
19
|
-
import { Stack } from "./stack
|
|
20
|
-
import { Command } from "./command
|
|
21
|
-
import { debounce } from "jodit/esm/core/decorators.js";
|
|
17
|
+
import { ViewComponent } from "jodit/esm/core/component/index.js";
|
|
18
|
+
import { Snapshot } from "./snapshot";
|
|
19
|
+
import { Stack } from "./stack";
|
|
20
|
+
import { Command } from "./command";
|
|
21
|
+
import { debounce } from "jodit/esm/core/decorators/index.js";
|
|
22
22
|
Config.prototype.history = {
|
|
23
23
|
enable: true,
|
|
24
24
|
maxHistoryLength: Infinity,
|
|
@@ -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 { ViewComponent } from "jodit/esm/core/component.js";
|
|
7
|
-
import { Dom } from "jodit/esm/core/dom.js";
|
|
6
|
+
import { ViewComponent } from "jodit/esm/core/component/index.js";
|
|
7
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
8
8
|
import { IS_PROD, TEMP_ATTR } from "jodit/esm/core/constants.js";
|
|
9
9
|
/**
|
|
10
10
|
* Module for creating snapshot of editor which includes html content and the current selection
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { Config } from "jodit/esm/config.js";
|
|
7
7
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
8
|
-
import cropIcon from "./icons/crop.svg
|
|
9
|
-
import resizeIcon from "./icons/resize.svg
|
|
8
|
+
import cropIcon from "./icons/crop.svg";
|
|
9
|
+
import resizeIcon from "./icons/resize.svg";
|
|
10
10
|
Config.prototype.imageeditor = {
|
|
11
11
|
min_width: 20,
|
|
12
12
|
min_height: 20,
|