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.
Files changed (308) hide show
  1. package/README.md +4 -4
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +2 -2
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +2 -2
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.js +1 -1
  16. package/es2018/plugins/debug/debug.min.js +1 -1
  17. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +1 -1
  21. package/es2021/jodit.fat.min.js +2 -2
  22. package/es2021/jodit.js +2 -2
  23. package/es2021/jodit.min.js +2 -2
  24. package/es2021/plugins/debug/debug.js +1 -1
  25. package/es2021/plugins/debug/debug.min.js +1 -1
  26. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  29. package/es2021.en/jodit.css +1 -1
  30. package/es2021.en/jodit.fat.min.js +2 -2
  31. package/es2021.en/jodit.js +2 -2
  32. package/es2021.en/jodit.min.js +2 -2
  33. package/es2021.en/plugins/debug/debug.js +1 -1
  34. package/es2021.en/plugins/debug/debug.min.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  38. package/es5/jodit.css +2 -2
  39. package/es5/jodit.fat.min.js +2 -2
  40. package/es5/jodit.js +2 -2
  41. package/es5/jodit.min.css +2 -2
  42. package/es5/jodit.min.js +2 -2
  43. package/es5/plugins/debug/debug.js +1 -1
  44. package/es5/plugins/debug/debug.min.js +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  48. package/esm/core/async/async.js +1 -1
  49. package/esm/core/async/index.js +1 -1
  50. package/esm/core/component/component.js +2 -2
  51. package/esm/core/component/index.js +3 -3
  52. package/esm/core/component/view-component.js +1 -1
  53. package/esm/core/constants.js +1 -1
  54. package/esm/core/create/create.js +1 -1
  55. package/esm/core/create/index.js +1 -1
  56. package/esm/core/decorators/cache/cache.js +1 -1
  57. package/esm/core/decorators/debounce/debounce.js +3 -3
  58. package/esm/core/decorators/hook/hook.js +1 -1
  59. package/esm/core/decorators/idle/idle.js +2 -2
  60. package/esm/core/decorators/index.js +10 -10
  61. package/esm/core/decorators/wait/wait.js +1 -1
  62. package/esm/core/decorators/watch/watch.js +1 -1
  63. package/esm/core/dom/dom.js +4 -4
  64. package/esm/core/dom/index.js +2 -2
  65. package/esm/core/dom/lazy-walker.js +1 -1
  66. package/esm/core/event-emitter/event-emitter.js +2 -2
  67. package/esm/core/event-emitter/index.js +4 -4
  68. package/esm/core/global.js +8 -8
  69. package/esm/core/helpers/array/index.js +3 -3
  70. package/esm/core/helpers/async/index.js +1 -1
  71. package/esm/core/helpers/checker/index.js +24 -24
  72. package/esm/core/helpers/checker/is-html.js +1 -1
  73. package/esm/core/helpers/checker/is-imp-interface.js +2 -2
  74. package/esm/core/helpers/checker/is-int.js +2 -2
  75. package/esm/core/helpers/checker/is-jodit-object.js +1 -1
  76. package/esm/core/helpers/checker/is-license.js +1 -1
  77. package/esm/core/helpers/checker/is-numeric.js +1 -1
  78. package/esm/core/helpers/checker/is-plain-object.js +1 -1
  79. package/esm/core/helpers/checker/is-set.js +1 -1
  80. package/esm/core/helpers/checker/is-view-object.js +1 -1
  81. package/esm/core/helpers/color/index.js +1 -1
  82. package/esm/core/helpers/html/index.js +6 -6
  83. package/esm/core/helpers/html/safe-html.js +1 -1
  84. package/esm/core/helpers/html/strip-tags.js +1 -1
  85. package/esm/core/helpers/index.js +9 -9
  86. package/esm/core/helpers/normalize/index.js +8 -8
  87. package/esm/core/helpers/size/get-scroll-parent.js +1 -1
  88. package/esm/core/helpers/size/index.js +6 -6
  89. package/esm/core/helpers/size/object-size.js +1 -1
  90. package/esm/core/helpers/string/i18n.js +1 -1
  91. package/esm/core/helpers/string/index.js +7 -7
  92. package/esm/core/helpers/utils/align.js +1 -1
  93. package/esm/core/helpers/utils/append-script.js +1 -1
  94. package/esm/core/helpers/utils/attr.js +2 -2
  95. package/esm/core/helpers/utils/config-proto.js +2 -2
  96. package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +1 -1
  97. package/esm/core/helpers/utils/error/error.js +1 -1
  98. package/esm/core/helpers/utils/error/errors/index.js +3 -3
  99. package/esm/core/helpers/utils/error/index.js +2 -2
  100. package/esm/core/helpers/utils/index.js +28 -28
  101. package/esm/core/helpers/utils/print.js +3 -3
  102. package/esm/core/helpers/utils/reset.js +1 -1
  103. package/esm/core/helpers/utils/selector.js +1 -1
  104. package/esm/core/helpers/utils/utils.js +2 -2
  105. package/esm/core/plugin/helpers/init-instance.js +2 -2
  106. package/esm/core/plugin/index.js +2 -2
  107. package/esm/core/plugin/plugin-system.js +3 -3
  108. package/esm/core/plugin/plugin.js +2 -2
  109. package/esm/core/request/ajax.js +6 -6
  110. package/esm/core/request/index.js +2 -2
  111. package/esm/core/selection/helpers/index.js +2 -2
  112. package/esm/core/selection/index.js +2 -2
  113. package/esm/core/selection/selection.js +5 -5
  114. package/esm/core/selection/style/api/get-suit-child.js +2 -2
  115. package/esm/core/selection/style/api/get-suit-parent.js +2 -2
  116. package/esm/core/selection/style/api/index.js +15 -15
  117. package/esm/core/selection/style/api/is-same-attributes.js +2 -2
  118. package/esm/core/selection/style/api/is-suit-element.js +2 -2
  119. package/esm/core/selection/style/api/list/toggle-ordered-list.js +1 -1
  120. package/esm/core/selection/style/api/list/wrap-list.js +2 -2
  121. package/esm/core/selection/style/api/toggle-attributes.js +2 -2
  122. package/esm/core/selection/style/api/unwrap-children.js +2 -2
  123. package/esm/core/selection/style/api/wrap.js +3 -3
  124. package/esm/core/selection/style/apply-style.js +3 -3
  125. package/esm/core/selection/style/commit-style.js +1 -1
  126. package/esm/core/selection/style/transactions.js +3 -3
  127. package/esm/core/storage/index.js +3 -3
  128. package/esm/core/storage/storage.js +2 -2
  129. package/esm/core/traits/dlgs.js +2 -2
  130. package/esm/core/ui/button/button/button.js +2 -2
  131. package/esm/core/ui/button/index.js +3 -3
  132. package/esm/core/ui/button/tooltip/tooltip.js +4 -4
  133. package/esm/core/ui/element.js +1 -1
  134. package/esm/core/ui/form/block/block.js +1 -1
  135. package/esm/core/ui/form/form.js +1 -1
  136. package/esm/core/ui/form/index.js +3 -3
  137. package/esm/core/ui/form/inputs/checkbox/checkbox.js +1 -1
  138. package/esm/core/ui/form/inputs/index.js +5 -5
  139. package/esm/core/ui/form/inputs/input/input.js +3 -3
  140. package/esm/core/ui/form/inputs/select/select.js +1 -1
  141. package/esm/core/ui/form/validators/index.js +2 -2
  142. package/esm/core/ui/group/group.js +2 -2
  143. package/esm/core/ui/group/index.js +4 -4
  144. package/esm/core/ui/group/list.js +1 -1
  145. package/esm/core/ui/helpers/get-control-type.js +1 -1
  146. package/esm/core/ui/helpers/get-strong-control-types.js +2 -2
  147. package/esm/core/ui/icon.js +1 -1
  148. package/esm/core/ui/index.js +7 -7
  149. package/esm/core/ui/popup/index.js +1 -1
  150. package/esm/core/ui/popup/popup.js +2 -2
  151. package/esm/core/view/view-with-toolbar.js +6 -6
  152. package/esm/core/view/view.js +5 -5
  153. package/esm/index.js +6 -6
  154. package/esm/jodit.js +4 -4
  155. package/esm/modules/context-menu/context-menu.js +3 -3
  156. package/esm/modules/dialog/alert.js +1 -1
  157. package/esm/modules/dialog/dialog.js +6 -6
  158. package/esm/modules/dialog/index.js +4 -4
  159. package/esm/modules/dialog/prompt.js +1 -1
  160. package/esm/modules/file-browser/builders/context-menu.js +2 -2
  161. package/esm/modules/file-browser/builders/item.js +1 -1
  162. package/esm/modules/file-browser/config.js +1 -1
  163. package/esm/modules/file-browser/data-provider.js +3 -3
  164. package/esm/modules/file-browser/factories.js +1 -1
  165. package/esm/modules/file-browser/fetch/load-tree.js +1 -1
  166. package/esm/modules/file-browser/file-browser.js +15 -15
  167. package/esm/modules/file-browser/index.js +1 -1
  168. package/esm/modules/file-browser/listeners/native-listeners.js +2 -2
  169. package/esm/modules/file-browser/listeners/self-listeners.js +2 -2
  170. package/esm/modules/file-browser/listeners/state-listeners.js +2 -2
  171. package/esm/modules/file-browser/ui/files/files.js +1 -1
  172. package/esm/modules/file-browser/ui/index.js +2 -2
  173. package/esm/modules/file-browser/ui/tree/tree.js +1 -1
  174. package/esm/modules/history/history.js +5 -5
  175. package/esm/modules/history/snapshot.js +2 -2
  176. package/esm/modules/image-editor/config.js +2 -2
  177. package/esm/modules/image-editor/image-editor.js +7 -7
  178. package/esm/modules/image-editor/templates/form.js +1 -1
  179. package/esm/modules/index.js +23 -23
  180. package/esm/modules/messages/message.js +1 -1
  181. package/esm/modules/status-bar/status-bar.js +2 -2
  182. package/esm/modules/table/table.js +4 -4
  183. package/esm/modules/toolbar/button/button.js +4 -4
  184. package/esm/modules/toolbar/button/content.js +4 -4
  185. package/esm/modules/toolbar/button/index.js +2 -2
  186. package/esm/modules/toolbar/collection/collection.js +2 -2
  187. package/esm/modules/toolbar/collection/editor-collection.js +4 -4
  188. package/esm/modules/toolbar/factory.js +5 -5
  189. package/esm/modules/uploader/helpers/build-data.js +1 -1
  190. package/esm/modules/uploader/helpers/index.js +5 -5
  191. package/esm/modules/uploader/helpers/process-old-browser-drag.js +3 -3
  192. package/esm/modules/uploader/helpers/send-files.js +1 -1
  193. package/esm/modules/uploader/helpers/send.js +2 -2
  194. package/esm/modules/uploader/uploader.js +4 -4
  195. package/esm/modules/widget/color-picker/color-picker.js +4 -4
  196. package/esm/modules/widget/file-selector/file-selector.js +2 -2
  197. package/esm/modules/widget/index.js +3 -3
  198. package/esm/modules/widget/tabs/tabs.js +3 -3
  199. package/esm/plugins/about/about.js +2 -2
  200. package/esm/plugins/add-new-line/add-new-line.js +4 -4
  201. package/esm/plugins/add-new-line/config.js +1 -1
  202. package/esm/plugins/backspace/backspace.js +6 -6
  203. package/esm/plugins/backspace/cases/check-remove-char.js +2 -2
  204. package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
  205. package/esm/plugins/backspace/cases/check-remove-empty-parent.js +2 -2
  206. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +1 -1
  207. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +1 -1
  208. package/esm/plugins/backspace/cases/index.js +9 -9
  209. package/esm/plugins/backspace/helpers.js +1 -1
  210. package/esm/plugins/bold/bold.js +9 -9
  211. package/esm/plugins/class-span/class-span.js +2 -2
  212. package/esm/plugins/clean-html/clean-html.js +3 -3
  213. package/esm/plugins/clean-html/config.js +1 -1
  214. package/esm/plugins/clean-html/helpers/index.js +4 -4
  215. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +2 -2
  216. package/esm/plugins/clean-html/helpers/visitor/filters/index.js +7 -7
  217. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +1 -1
  218. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +1 -1
  219. package/esm/plugins/clipboard/clipboard.js +2 -2
  220. package/esm/plugins/clipboard/config.js +4 -4
  221. package/esm/plugins/color/color.js +2 -2
  222. package/esm/plugins/color/config.js +3 -3
  223. package/esm/plugins/copy-format/copy-format.js +2 -2
  224. package/esm/plugins/delete/delete.js +4 -4
  225. package/esm/plugins/drag-and-drop/drag-and-drop.js +4 -4
  226. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +5 -5
  227. package/esm/plugins/dtd/after-insert/index.js +1 -1
  228. package/esm/plugins/dtd/before-insert/index.js +1 -1
  229. package/esm/plugins/dtd/dtd.js +4 -4
  230. package/esm/plugins/enter/enter.js +3 -3
  231. package/esm/plugins/enter/helpers/index.js +9 -9
  232. package/esm/plugins/enter/helpers/process-empty-li-leaf.js +1 -1
  233. package/esm/plugins/enter/helpers/split-fragment.js +1 -1
  234. package/esm/plugins/file/file.js +1 -1
  235. package/esm/plugins/focus/focus.js +1 -1
  236. package/esm/plugins/font/config.js +3 -3
  237. package/esm/plugins/font/font.js +2 -2
  238. package/esm/plugins/format-block/format-block.js +3 -3
  239. package/esm/plugins/fullsize/config.js +2 -2
  240. package/esm/plugins/fullsize/fullsize.js +1 -1
  241. package/esm/plugins/hotkeys/hotkeys.js +3 -3
  242. package/esm/plugins/hr/hr.js +2 -2
  243. package/esm/plugins/iframe/iframe.js +3 -3
  244. package/esm/plugins/image/image.js +4 -4
  245. package/esm/plugins/image-processor/image-processor.js +4 -4
  246. package/esm/plugins/image-properties/image-properties.js +9 -9
  247. package/esm/plugins/indent/config.js +4 -4
  248. package/esm/plugins/indent/indent.js +4 -4
  249. package/esm/plugins/inline-popup/config/config.js +7 -7
  250. package/esm/plugins/inline-popup/config/items/cells.js +2 -2
  251. package/esm/plugins/inline-popup/config/items/iframe.js +1 -1
  252. package/esm/plugins/inline-popup/config/items/img.js +1 -1
  253. package/esm/plugins/inline-popup/inline-popup.js +7 -7
  254. package/esm/plugins/justify/justify.js +1 -1
  255. package/esm/plugins/key-arrow-outside/key-arrow-outside.js +2 -2
  256. package/esm/plugins/limit/limit.js +3 -3
  257. package/esm/plugins/line-height/config.js +2 -2
  258. package/esm/plugins/line-height/line-height.js +5 -5
  259. package/esm/plugins/link/config.js +3 -3
  260. package/esm/plugins/link/link.js +5 -5
  261. package/esm/plugins/link/template.js +2 -2
  262. package/esm/plugins/media/media.js +2 -2
  263. package/esm/plugins/mobile/config.js +1 -1
  264. package/esm/plugins/mobile/mobile.js +2 -2
  265. package/esm/plugins/ordered-list/config.js +2 -2
  266. package/esm/plugins/ordered-list/ordered-list.js +3 -3
  267. package/esm/plugins/paste/config.js +1 -1
  268. package/esm/plugins/paste/helpers.js +1 -1
  269. package/esm/plugins/paste/paste.js +4 -4
  270. package/esm/plugins/paste-from-word/paste-from-word.js +4 -4
  271. package/esm/plugins/paste-storage/paste-storage.js +1 -1
  272. package/esm/plugins/placeholder/placeholder.js +2 -2
  273. package/esm/plugins/print/print.js +3 -3
  274. package/esm/plugins/redo-undo/redo-undo.js +2 -2
  275. package/esm/plugins/resize-cells/resize-cells.js +4 -4
  276. package/esm/plugins/resize-handler/resize-handler.js +5 -5
  277. package/esm/plugins/resizer/resizer.js +3 -3
  278. package/esm/plugins/search/config.js +2 -2
  279. package/esm/plugins/search/helpers/index.js +2 -2
  280. package/esm/plugins/search/search.js +6 -6
  281. package/esm/plugins/search/ui/search.js +4 -4
  282. package/esm/plugins/select/select.js +4 -4
  283. package/esm/plugins/select-cells/select-cells.js +5 -5
  284. package/esm/plugins/size/size.js +2 -2
  285. package/esm/plugins/source/config.js +1 -1
  286. package/esm/plugins/source/editor/engines/ace.js +1 -1
  287. package/esm/plugins/source/editor/engines/index.js +2 -2
  288. package/esm/plugins/source/editor/factory.js +2 -2
  289. package/esm/plugins/source/source.js +5 -5
  290. package/esm/plugins/speech-recognize/config.js +3 -3
  291. package/esm/plugins/speech-recognize/helpers/recognize-manager.js +2 -2
  292. package/esm/plugins/speech-recognize/speech-recognize.js +5 -5
  293. package/esm/plugins/spellcheck/config.js +1 -1
  294. package/esm/plugins/spellcheck/spellcheck.js +4 -4
  295. package/esm/plugins/stat/stat.js +1 -1
  296. package/esm/plugins/sticky/sticky.js +3 -3
  297. package/esm/plugins/symbols/config.js +1 -1
  298. package/esm/plugins/symbols/symbols.js +3 -3
  299. package/esm/plugins/tab/cases/index.js +1 -1
  300. package/esm/plugins/tab/tab.js +4 -4
  301. package/esm/plugins/table/config.js +4 -4
  302. package/esm/plugins/table/table.js +1 -1
  303. package/esm/plugins/video/config.js +5 -5
  304. package/esm/plugins/video/video.js +1 -1
  305. package/esm/plugins/wrap-nodes/wrap-nodes.js +4 -4
  306. package/esm/plugins/xpath/xpath.js +4 -4
  307. package/esm/styles/icons/index.js +27 -27
  308. package/package.json +1 -1
@@ -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 */
@@ -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 {
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module ui/form
8
8
  */
9
- export * from "./form.js";
10
- export * from "./inputs/index.js";
11
- export * from "./block/block.js";
9
+ export * from "./form";
10
+ export * from "./inputs";
11
+ export * from "./block/block";
@@ -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.js";
10
- export * from "./area/area.js";
11
- export * from "./checkbox/checkbox.js";
12
- export * from "./select/select.js";
13
- export * from "./file/file.js";
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() {
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module ui/form
8
8
  */
9
- export * as inputValidators from "./input.js";
10
- export * as selectValidators from "./select.js";
9
+ export * as inputValidators from "./input";
10
+ export * as selectValidators from "./select";
@@ -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.js";
10
- export * from "./list.js";
11
- export * from "./separator.js";
12
- export * from "./spacer.js";
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.js";
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
  */
@@ -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) {
@@ -8,10 +8,10 @@
8
8
  * @packageDocumentation
9
9
  * @module ui
10
10
  */
11
- export * from "./element.js";
12
- export * from "./button/index.js";
13
- export * from "./popup/index.js";
14
- export * from "./group/index.js";
15
- export * from "./form/index.js";
16
- export * from "./icon.js";
17
- export * from "./progress-bar/progress-bar.js";
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";
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module ui/popup
8
8
  */
9
- export * from "./popup.js";
9
+ export * from "./popup";
@@ -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
@@ -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.js";
12
- import { Jodit as DefaultJodit } from "./jodit.js";
13
- import Languages from "./languages.js";
14
- import * as decorators from "./core/decorators/index.js";
15
- import * as Modules from "./modules/index.js";
16
- import * as Icons from "./styles/icons/index.js";
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.js";
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.js";
12
- export { Alert } from "./alert.js";
13
- export { Prompt } from "./prompt.js";
14
- export { Confirm } from "./confirm.js";
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.js";
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.js";
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.js";
25
- import { stateListeners } from "./listeners/state-listeners.js";
26
- import { nativeListeners } from "./listeners/native-listeners.js";
27
- import { selfListeners } from "./listeners/self-listeners.js";
28
- import { DEFAULT_SOURCE_NAME } from "./data-provider.js";
29
- import { autobind, cache, derive } from "jodit/esm/core/decorators.js";
30
- import { FileBrowserFiles, FileBrowserTree } from "./ui/index.js";
31
- import { observable } from "jodit/esm/core/event-emitter.js";
32
- import { loadTree } from "./fetch/load-tree.js";
33
- import { loadItems } from "./fetch/load-items.js";
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.js";
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 */
@@ -8,4 +8,4 @@
8
8
  * @packageDocumentation
9
9
  * @module modules/file-browser
10
10
  */
11
- export * from "./file-browser.js";
11
+ export * from "./file-browser";
@@ -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';
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module modules/file-browser
8
8
  */
9
- export * from "./files/files.js";
10
- export * from "./tree/tree.js";
9
+ export * from "./files/files";
10
+ export * from "./tree/tree";
@@ -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.js";
19
- import { Stack } from "./stack.js";
20
- import { Command } from "./command.js";
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.js";
9
- import resizeIcon from "./icons/resize.svg.js";
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,