jodit-pro 4.8.14 → 4.9.3

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 (378) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/es2015/jodit.css +2 -2
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +38 -38
  5. package/es2015/jodit.js +531 -448
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +17 -17
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +376 -406
  9. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +2282 -2279
  10. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  11. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +11 -11
  12. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  13. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  14. package/es2015/plugins/backup/backup.css +1 -1
  15. package/es2015/plugins/backup/backup.js +1 -1
  16. package/es2015/plugins/backup/backup.min.js +1 -1
  17. package/es2015/plugins/button-generator/button-generator.css +1 -1
  18. package/es2015/plugins/button-generator/button-generator.js +1 -1
  19. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  20. package/es2015/plugins/change-case/change-case.js +1 -1
  21. package/es2015/plugins/change-case/change-case.min.js +1 -1
  22. package/es2015/plugins/color-picker/color-picker.css +1 -1
  23. package/es2015/plugins/color-picker/color-picker.js +1 -1
  24. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  25. package/es2015/plugins/emoji/emoji.css +1 -1
  26. package/es2015/plugins/emoji/emoji.js +1 -1
  27. package/es2015/plugins/emoji/emoji.min.js +1 -1
  28. package/es2015/plugins/export-docs/export-docs.js +1 -1
  29. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  30. package/es2015/plugins/finder/finder.css +1 -1
  31. package/es2015/plugins/finder/finder.js +2 -2
  32. package/es2015/plugins/finder/finder.min.js +2 -2
  33. package/es2015/plugins/google-maps/google-maps.css +1 -1
  34. package/es2015/plugins/google-maps/google-maps.js +52 -59
  35. package/es2015/plugins/google-maps/google-maps.min.js +6 -6
  36. package/es2015/plugins/google-search/google-search.js +1 -1
  37. package/es2015/plugins/google-search/google-search.min.js +1 -1
  38. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  39. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  41. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  42. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  43. package/es2015/plugins/keyboard/keyboard.css +1 -1
  44. package/es2015/plugins/keyboard/keyboard.js +1 -1
  45. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  46. package/es2015/plugins/mobile-view/mobile-view.js +4 -1
  47. package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
  48. package/es2015/plugins/page-break/page-break.js +4 -1
  49. package/es2015/plugins/page-break/page-break.min.js +3 -3
  50. package/es2015/plugins/paste-code/paste-code.css +1 -1
  51. package/es2015/plugins/paste-code/paste-code.js +4 -1
  52. package/es2015/plugins/paste-code/paste-code.min.js +2 -2
  53. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  54. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  55. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  56. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  57. package/es2015/plugins/todo-list/todo-list.css +1 -1
  58. package/es2015/plugins/todo-list/todo-list.js +1 -1
  59. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  60. package/es2015/plugins/translate/translate.css +1 -1
  61. package/es2015/plugins/translate/translate.js +1 -1
  62. package/es2015/plugins/translate/translate.min.js +1 -1
  63. package/es2015/plugins/tune-block/tune-block.css +1 -1
  64. package/es2015/plugins/tune-block/tune-block.js +1 -1
  65. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  66. package/es2018/jodit.fat.min.css +1 -1
  67. package/es2018/jodit.fat.min.js +32 -32
  68. package/es2018/jodit.min.css +1 -1
  69. package/es2018/jodit.min.js +17 -17
  70. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  71. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +6 -6
  72. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  73. package/es2018/plugins/backup/backup.min.js +1 -1
  74. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  75. package/es2018/plugins/change-case/change-case.min.js +1 -1
  76. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  77. package/es2018/plugins/emoji/emoji.min.js +1 -1
  78. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  79. package/es2018/plugins/finder/finder.min.js +2 -2
  80. package/es2018/plugins/google-maps/google-maps.min.js +6 -6
  81. package/es2018/plugins/google-search/google-search.min.js +1 -1
  82. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  83. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  84. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  85. package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
  86. package/es2018/plugins/page-break/page-break.min.js +3 -3
  87. package/es2018/plugins/paste-code/paste-code.min.js +2 -2
  88. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  89. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  90. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  91. package/es2018/plugins/translate/translate.min.js +1 -1
  92. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  93. package/es2021/jodit.css +2 -2
  94. package/es2021/jodit.fat.min.css +1 -1
  95. package/es2021/jodit.fat.min.js +36 -36
  96. package/es2021/jodit.js +531 -448
  97. package/es2021/jodit.min.css +1 -1
  98. package/es2021/jodit.min.js +21 -21
  99. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +376 -406
  100. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +4901 -4898
  101. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  102. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +28 -28
  103. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  104. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  105. package/es2021/plugins/backup/backup.css +1 -1
  106. package/es2021/plugins/backup/backup.js +1 -1
  107. package/es2021/plugins/backup/backup.min.js +1 -1
  108. package/es2021/plugins/button-generator/button-generator.css +1 -1
  109. package/es2021/plugins/button-generator/button-generator.js +1 -1
  110. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  111. package/es2021/plugins/change-case/change-case.js +1 -1
  112. package/es2021/plugins/change-case/change-case.min.js +1 -1
  113. package/es2021/plugins/color-picker/color-picker.css +1 -1
  114. package/es2021/plugins/color-picker/color-picker.js +1 -1
  115. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  116. package/es2021/plugins/emoji/emoji.css +1 -1
  117. package/es2021/plugins/emoji/emoji.js +1 -1
  118. package/es2021/plugins/emoji/emoji.min.js +1 -1
  119. package/es2021/plugins/export-docs/export-docs.js +1 -1
  120. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  121. package/es2021/plugins/finder/finder.css +1 -1
  122. package/es2021/plugins/finder/finder.js +2 -2
  123. package/es2021/plugins/finder/finder.min.js +2 -2
  124. package/es2021/plugins/google-maps/google-maps.css +1 -1
  125. package/es2021/plugins/google-maps/google-maps.js +52 -59
  126. package/es2021/plugins/google-maps/google-maps.min.js +7 -7
  127. package/es2021/plugins/google-search/google-search.js +1 -1
  128. package/es2021/plugins/google-search/google-search.min.js +1 -1
  129. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  130. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  131. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  132. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  133. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  134. package/es2021/plugins/keyboard/keyboard.css +1 -1
  135. package/es2021/plugins/keyboard/keyboard.js +1 -1
  136. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  137. package/es2021/plugins/mobile-view/mobile-view.js +4 -1
  138. package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
  139. package/es2021/plugins/page-break/page-break.js +4 -1
  140. package/es2021/plugins/page-break/page-break.min.js +3 -3
  141. package/es2021/plugins/paste-code/paste-code.css +1 -1
  142. package/es2021/plugins/paste-code/paste-code.js +4 -1
  143. package/es2021/plugins/paste-code/paste-code.min.js +2 -2
  144. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  145. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  146. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  147. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  148. package/es2021/plugins/todo-list/todo-list.css +1 -1
  149. package/es2021/plugins/todo-list/todo-list.js +1 -1
  150. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  151. package/es2021/plugins/translate/translate.css +1 -1
  152. package/es2021/plugins/translate/translate.js +1 -1
  153. package/es2021/plugins/translate/translate.min.js +1 -1
  154. package/es2021/plugins/tune-block/tune-block.css +1 -1
  155. package/es2021/plugins/tune-block/tune-block.js +1 -1
  156. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  157. package/es2021.en/jodit.css +2 -2
  158. package/es2021.en/jodit.fat.min.css +1 -1
  159. package/es2021.en/jodit.fat.min.js +36 -36
  160. package/es2021.en/jodit.js +531 -448
  161. package/es2021.en/jodit.min.css +1 -1
  162. package/es2021.en/jodit.min.js +21 -21
  163. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +376 -406
  164. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +4779 -4776
  165. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  166. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +6 -6
  167. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  168. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  169. package/es2021.en/plugins/backup/backup.css +1 -1
  170. package/es2021.en/plugins/backup/backup.js +1 -1
  171. package/es2021.en/plugins/backup/backup.min.js +1 -1
  172. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  173. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  174. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  175. package/es2021.en/plugins/change-case/change-case.js +1 -1
  176. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  177. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  178. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  179. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  180. package/es2021.en/plugins/emoji/emoji.css +1 -1
  181. package/es2021.en/plugins/emoji/emoji.js +1 -1
  182. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  183. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  184. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  185. package/es2021.en/plugins/finder/finder.css +1 -1
  186. package/es2021.en/plugins/finder/finder.js +2 -2
  187. package/es2021.en/plugins/finder/finder.min.js +2 -2
  188. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  189. package/es2021.en/plugins/google-maps/google-maps.js +52 -59
  190. package/es2021.en/plugins/google-maps/google-maps.min.js +7 -7
  191. package/es2021.en/plugins/google-search/google-search.js +1 -1
  192. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  193. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  194. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  195. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  196. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  197. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  198. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  199. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  200. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  201. package/es2021.en/plugins/mobile-view/mobile-view.js +4 -1
  202. package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
  203. package/es2021.en/plugins/page-break/page-break.js +4 -1
  204. package/es2021.en/plugins/page-break/page-break.min.js +3 -3
  205. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  206. package/es2021.en/plugins/paste-code/paste-code.js +4 -1
  207. package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
  208. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  209. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  210. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  211. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  212. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  213. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  214. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  215. package/es2021.en/plugins/translate/translate.css +1 -1
  216. package/es2021.en/plugins/translate/translate.js +1 -1
  217. package/es2021.en/plugins/translate/translate.min.js +1 -1
  218. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  219. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  220. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  221. package/es5/jodit.css +3 -3
  222. package/es5/jodit.fat.min.css +1 -1
  223. package/es5/jodit.fat.min.js +2 -2
  224. package/es5/jodit.js +546 -458
  225. package/es5/jodit.min.css +3 -3
  226. package/es5/jodit.min.js +2 -2
  227. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +376 -406
  228. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +2121 -2121
  229. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  230. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
  231. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  232. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  233. package/es5/plugins/backup/backup.css +1 -1
  234. package/es5/plugins/backup/backup.js +1 -1
  235. package/es5/plugins/backup/backup.min.js +1 -1
  236. package/es5/plugins/button-generator/button-generator.css +1 -1
  237. package/es5/plugins/button-generator/button-generator.js +1 -1
  238. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  239. package/es5/plugins/change-case/change-case.js +1 -1
  240. package/es5/plugins/change-case/change-case.min.js +1 -1
  241. package/es5/plugins/color-picker/color-picker.css +1 -1
  242. package/es5/plugins/color-picker/color-picker.js +1 -1
  243. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  244. package/es5/plugins/emoji/emoji.css +1 -1
  245. package/es5/plugins/emoji/emoji.js +1 -1
  246. package/es5/plugins/emoji/emoji.min.js +1 -1
  247. package/es5/plugins/export-docs/export-docs.js +1 -1
  248. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  249. package/es5/plugins/finder/finder.css +1 -1
  250. package/es5/plugins/finder/finder.js +2 -2
  251. package/es5/plugins/finder/finder.min.js +2 -2
  252. package/es5/plugins/google-maps/google-maps.css +1 -1
  253. package/es5/plugins/google-maps/google-maps.js +61 -59
  254. package/es5/plugins/google-maps/google-maps.min.js +2 -2
  255. package/es5/plugins/google-search/google-search.js +1 -1
  256. package/es5/plugins/google-search/google-search.min.js +1 -1
  257. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  258. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  259. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  260. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  261. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  262. package/es5/plugins/keyboard/keyboard.css +1 -1
  263. package/es5/plugins/keyboard/keyboard.js +1 -1
  264. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  265. package/es5/plugins/mobile-view/mobile-view.js +7 -1
  266. package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
  267. package/es5/plugins/page-break/page-break.js +7 -1
  268. package/es5/plugins/page-break/page-break.min.js +2 -2
  269. package/es5/plugins/paste-code/paste-code.css +1 -1
  270. package/es5/plugins/paste-code/paste-code.js +7 -1
  271. package/es5/plugins/paste-code/paste-code.min.js +2 -2
  272. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  273. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  274. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  275. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  276. package/es5/plugins/todo-list/todo-list.css +1 -1
  277. package/es5/plugins/todo-list/todo-list.js +1 -1
  278. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  279. package/es5/plugins/translate/translate.css +1 -1
  280. package/es5/plugins/translate/translate.js +1 -1
  281. package/es5/plugins/translate/translate.min.js +1 -1
  282. package/es5/plugins/tune-block/tune-block.css +1 -1
  283. package/es5/plugins/tune-block/tune-block.js +1 -1
  284. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  285. package/es5/polyfills.fat.min.js +1 -1
  286. package/es5/polyfills.js +1 -1
  287. package/es5/polyfills.min.js +1 -1
  288. package/esm/config.d.ts +1 -6
  289. package/esm/config.js +1 -1
  290. package/esm/jodit-pro.d.ts +3 -1
  291. package/esm/jodit-pro.js +1 -1
  292. package/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list-item.js +1 -1
  293. package/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.js +2 -2
  294. package/esm/plugins/ai-assistant-pro/ui/message-list/artifact.d.ts +0 -1
  295. package/esm/plugins/ai-assistant-pro/ui/message-list/artifact.js +1 -1
  296. package/esm/plugins/ai-assistant-pro/ui/message-list/{message-list-item.d.ts → item/message-list-item.d.ts} +1 -1
  297. package/esm/plugins/ai-assistant-pro/ui/message-list/item/message-list-item.js +1 -0
  298. package/esm/plugins/ai-assistant-pro/ui/message-list/message-list.d.ts +1 -1
  299. package/esm/plugins/ai-assistant-pro/ui/message-list/message-list.js +1 -1
  300. package/esm/plugins/ai-assistant-pro/ui/settings-button/settings-button.d.ts +4 -2
  301. package/esm/plugins/ai-assistant-pro/ui/settings-button/settings-button.js +1 -1
  302. package/esm/plugins/finder/browser.js +1 -1
  303. package/esm/plugins/google-maps/interface.d.ts +8 -0
  304. package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +1 -0
  305. package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
  306. package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +1 -0
  307. package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +1 -1
  308. package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +1 -0
  309. package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +1 -1
  310. package/esm/plugins/google-maps/ui/map/map.d.ts +3 -3
  311. package/esm/plugins/google-maps/ui/map/map.js +2 -2
  312. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +2 -3
  313. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +2 -3
  314. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +2 -3
  315. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +2 -3
  316. package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +2 -3
  317. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +2 -3
  318. package/esm/plugins/mobile-view/mobile-view.js +1 -1
  319. package/esm/plugins/page-break/page-break.d.ts +1 -0
  320. package/esm/plugins/page-break/page-break.js +1 -1
  321. package/esm/plugins/paste-code/paste-code.d.ts +1 -0
  322. package/esm/plugins/paste-code/paste-code.js +1 -1
  323. package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +2 -2
  324. package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +2 -2
  325. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
  326. package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +3 -3
  327. package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
  328. package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +2 -2
  329. package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +2 -2
  330. package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +2 -2
  331. package/esm/plugins/paste-from-word/element/checkers.d.ts +5 -5
  332. package/esm/plugins/paste-from-word/element/element.d.ts +2 -1
  333. package/esm/plugins/paste-from-word/element/element.js +1 -1
  334. package/esm/plugins/paste-from-word/element/render.d.ts +3 -3
  335. package/esm/plugins/paste-from-word/element/style.js +1 -1
  336. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
  337. package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +2 -2
  338. package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
  339. package/esm/plugins/paste-from-word/helpers/helpers.d.ts +2 -2
  340. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +2 -2
  341. package/esm/plugins/paste-from-word/interface.d.ts +25 -3
  342. package/package.json +1 -1
  343. package/types/config.d.ts +1 -6
  344. package/types/jodit-pro.d.ts +3 -1
  345. package/types/plugins/ai-assistant-pro/ui/message-list/artifact.d.ts +0 -1
  346. package/types/plugins/ai-assistant-pro/ui/message-list/{message-list-item.d.ts → item/message-list-item.d.ts} +1 -1
  347. package/types/plugins/ai-assistant-pro/ui/message-list/message-list.d.ts +1 -1
  348. package/types/plugins/ai-assistant-pro/ui/settings-button/settings-button.d.ts +4 -2
  349. package/types/plugins/google-maps/interface.d.ts +8 -0
  350. package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +1 -0
  351. package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +1 -0
  352. package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +1 -0
  353. package/types/plugins/google-maps/ui/map/map.d.ts +3 -3
  354. package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +2 -3
  355. package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +2 -3
  356. package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +2 -3
  357. package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +2 -3
  358. package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +2 -3
  359. package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +2 -3
  360. package/types/plugins/page-break/page-break.d.ts +1 -0
  361. package/types/plugins/paste-code/paste-code.d.ts +1 -0
  362. package/types/plugins/paste-from-word/cases/clean-styles.d.ts +2 -2
  363. package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +2 -2
  364. package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +3 -3
  365. package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +2 -2
  366. package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +2 -2
  367. package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +2 -2
  368. package/types/plugins/paste-from-word/element/checkers.d.ts +5 -5
  369. package/types/plugins/paste-from-word/element/element.d.ts +2 -1
  370. package/types/plugins/paste-from-word/element/render.d.ts +3 -3
  371. package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +2 -2
  372. package/types/plugins/paste-from-word/helpers/helpers.d.ts +2 -2
  373. package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +2 -2
  374. package/types/plugins/paste-from-word/interface.d.ts +25 -3
  375. package/esm/plugins/ai-assistant-pro/ui/message-list/message-list-item.js +0 -1
  376. package/esm/plugins/google-maps/ui/map/modules/index.d.ts +0 -10
  377. package/esm/plugins/google-maps/ui/map/modules/index.js +0 -1
  378. package/types/plugins/google-maps/ui/map/modules/index.d.ts +0 -10
package/es2015/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.8.14
4
+ * Version: v4.9.3
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -381,16 +381,16 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('enter', enter);
381
381
  /* harmony export */ pluginSystem: function() { return /* binding */ pluginSystem; },
382
382
  /* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
383
383
  /* harmony export */ });
384
- /* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21537);
385
- /* harmony import */ var _helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19306);
386
- /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
387
- /* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39955);
388
- /* harmony import */ var _helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12475);
384
+ /* harmony import */ var _helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19306);
385
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70799);
386
+ /* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39955);
387
+ /* harmony import */ var _helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12475);
388
+ /* harmony import */ var _helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41180);
389
389
  /* harmony import */ var _helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80568);
390
390
  /* harmony import */ var _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41876);
391
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(82758);
392
- /* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22732);
393
- /* harmony import */ var _event_emitter_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(3827);
391
+ /* harmony import */ var _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57012);
392
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(82758);
393
+ /* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(22732);
394
394
  /*!
395
395
  * Jodit Editor (https://xdsoft.net/jodit/)
396
396
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -422,14 +422,16 @@ const uuids = new Set();
422
422
  uuids.add(uid);
423
423
  return uid;
424
424
  }
425
- const pluginSystem = new _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_6__.PluginSystem();
425
+ const pluginSystem = new _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_6__.PluginSystem({
426
+ getContainer
427
+ });
426
428
  const modules = {};
427
429
  const extendLang = (langs)=>{
428
430
  Object.keys(langs).forEach((key)=>{
429
- if (_constants_js__WEBPACK_IMPORTED_MODULE_7__.lang[key]) {
430
- Object.assign(_constants_js__WEBPACK_IMPORTED_MODULE_7__.lang[key], langs[key]);
431
+ if (_constants_js__WEBPACK_IMPORTED_MODULE_8__.lang[key]) {
432
+ Object.assign(_constants_js__WEBPACK_IMPORTED_MODULE_8__.lang[key], langs[key]);
431
433
  } else {
432
- _constants_js__WEBPACK_IMPORTED_MODULE_7__.lang[key] = langs[key];
434
+ _constants_js__WEBPACK_IMPORTED_MODULE_8__.lang[key] = langs[key];
433
435
  }
434
436
  });
435
437
  };
@@ -437,27 +439,27 @@ const boxes = new WeakMap();
437
439
  /**
438
440
  * Create unique box(HTMLCotainer) and remove it after destroy
439
441
  */ function getContainer(jodit, classFunc, tag = 'div', createInsideEditor = false) {
440
- const name = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__.isString)(classFunc) ? classFunc : classFunc ? (0,_helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_5__.getClassName)(classFunc.prototype) : 'jodit-utils';
442
+ const name = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__.isString)(classFunc) ? classFunc : classFunc ? (0,_helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_5__.getClassName)(classFunc.prototype) : 'jodit-utils';
441
443
  const data = boxes.get(jodit) || {}, key = name + tag;
442
- const view = (0,_helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__.isViewObject)(jodit) ? jodit : jodit.j;
444
+ const view = (0,_helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_2__.isViewObject)(jodit) ? jodit : jodit.j;
443
445
  let body = null;
444
446
  if (!data[key]) {
445
447
  let c = view.c;
446
448
  body = getPopupViewRoot(view.o, view.container, jodit.od.body);
447
- if (createInsideEditor && (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__.isJoditObject)(jodit) && jodit.od !== jodit.ed) {
449
+ if (createInsideEditor && (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.od !== jodit.ed) {
448
450
  c = jodit.createInside;
449
451
  const place = tag === 'style' ? jodit.ed.head : jodit.ed.body;
450
- body = (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
452
+ body = (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
451
453
  }
452
454
  const box = c.element(tag, {
453
- className: `jodit jodit-${(0,_helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(name)}-container jodit-box`
455
+ className: `jodit jodit-${(0,_helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_3__.kebabCase)(name)}-container jodit-box`
454
456
  });
455
457
  box.classList.add(`jodit_theme_${view.o.theme || 'default'}`);
456
458
  body.appendChild(box);
457
459
  data[key] = box;
458
460
  jodit.hookStatus('beforeDestruct', ()=>{
459
461
  view.events.off(box);
460
- _dom_index_js__WEBPACK_IMPORTED_MODULE_8__.Dom.safeRemove(box);
462
+ _dom_index_js__WEBPACK_IMPORTED_MODULE_9__.Dom.safeRemove(box);
461
463
  delete data[key];
462
464
  if (Object.keys(data).length) {
463
465
  boxes.delete(jodit);
@@ -475,14 +477,15 @@ const boxes = new WeakMap();
475
477
  * @internal
476
478
  */ function getPopupViewRoot(o, container, defaultRoot) {
477
479
  var _a, _b, _c;
478
- return (_c = (_b = (_a = o.popupRoot) !== null && _a !== void 0 ? _a : o.shadowRoot) !== null && _b !== void 0 ? _b : _dom_index_js__WEBPACK_IMPORTED_MODULE_8__.Dom.closest(container, (parentElement)=>_dom_index_js__WEBPACK_IMPORTED_MODULE_8__.Dom.isHTMLElement(parentElement) && (_dom_index_js__WEBPACK_IMPORTED_MODULE_8__.Dom.isTag(parentElement, 'dialog') || [
480
+ return (_c = (_b = (_a = o.popupRoot) !== null && _a !== void 0 ? _a : o.shadowRoot) !== null && _b !== void 0 ? _b : _dom_index_js__WEBPACK_IMPORTED_MODULE_9__.Dom.closest(container, (parentElement)=>_dom_index_js__WEBPACK_IMPORTED_MODULE_9__.Dom.isHTMLElement(parentElement) && (_dom_index_js__WEBPACK_IMPORTED_MODULE_9__.Dom.isTag(parentElement, 'dialog') || [
479
481
  'fixed',
480
482
  'absolute'
481
- ].includes((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.css)(parentElement, 'position'))), defaultRoot)) !== null && _c !== void 0 ? _c : defaultRoot;
483
+ ].includes((0,_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_4__.css)(parentElement, 'position'))), defaultRoot)) !== null && _c !== void 0 ? _c : defaultRoot;
482
484
  }
483
485
  /**
484
486
  * Global event emitter
485
- */ const eventEmitter = new _event_emitter_index_js__WEBPACK_IMPORTED_MODULE_9__.EventEmitter();
487
+ * @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
488
+ */ const eventEmitter = _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_7__.eventEmitter;
486
489
 
487
490
 
488
491
  /***/ }),
@@ -2744,7 +2747,6 @@ function clearUseIndexedDBCache() {
2744
2747
  /* harmony import */ var jodit_esm_core_helpers_utils_append_script__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(63799);
2745
2748
  /* harmony import */ var jodit_esm_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41180);
2746
2749
  /* harmony import */ var jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86019);
2747
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(33730);
2748
2750
 
2749
2751
  /*!
2750
2752
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
@@ -2756,8 +2758,10 @@ function clearUseIndexedDBCache() {
2756
2758
 
2757
2759
 
2758
2760
 
2759
-
2760
2761
  class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2762
+ static make(element, options) {
2763
+ return new this(element, options);
2764
+ }
2761
2765
  beforeInitHook() {
2762
2766
  if (jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_PROD && !jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_TEST && this.o.loadExternalConfig) {
2763
2767
  return (0,jodit_esm_core_helpers_utils_append_script__WEBPACK_IMPORTED_MODULE_2__.appendScriptAsync)(this, this.basePath + 'config.js');
@@ -2802,9 +2806,19 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2802
2806
  /* harmony export */ });
2803
2807
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
2804
2808
  /* harmony import */ var _helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4510);
2805
- /* harmony import */ var _helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27613);
2806
- /* harmony import */ var _helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49055);
2807
- /* harmony import */ var _helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43555);
2809
+ /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68345);
2810
+ /* harmony import */ var _helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23282);
2811
+ /* harmony import */ var _helpers_checker_is_html_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58487);
2812
+ /* harmony import */ var _helpers_checker_is_set_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(42320);
2813
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(70799);
2814
+ /* harmony import */ var _helpers_checker_is_void_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(86068);
2815
+ /* harmony import */ var _helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49055);
2816
+ /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38837);
2817
+ /* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(29960);
2818
+ /* harmony import */ var _helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(41180);
2819
+ /* harmony import */ var _helpers_utils_data_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(86583);
2820
+ /* harmony import */ var _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(89890);
2821
+ /* harmony import */ var _helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(37790);
2808
2822
  /*!
2809
2823
  * Jodit Editor (https://xdsoft.net/jodit/)
2810
2824
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -2815,6 +2829,16 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2815
2829
 
2816
2830
 
2817
2831
 
2832
+
2833
+
2834
+
2835
+
2836
+
2837
+
2838
+
2839
+
2840
+
2841
+
2818
2842
  /**
2819
2843
  * Module for working with DOM
2820
2844
  */ class Dom {
@@ -2844,7 +2868,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2844
2868
  return Dom.__wrapElements(tag, editor, first, last);
2845
2869
  }
2846
2870
  static __wrapElements(tag, editor, first, last) {
2847
- const wrapper = (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(tag) ? editor.createInside.element(tag) : tag;
2871
+ const wrapper = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(tag) ? editor.createInside.element(tag) : tag;
2848
2872
  if (first.parentNode) {
2849
2873
  first.parentNode.insertBefore(wrapper, first);
2850
2874
  }
@@ -2889,10 +2913,10 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2889
2913
  /**
2890
2914
  * Wrap node inside another node
2891
2915
  */ static wrap(current, tag, create) {
2892
- const wrapper = (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(tag) ? create.element(tag) : tag;
2916
+ const wrapper = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(tag) ? create.element(tag) : tag;
2893
2917
  if (Dom.isNode(current)) {
2894
2918
  if (!current.parentNode) {
2895
- throw (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.error)('Element should be in DOM');
2919
+ throw (0,_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_13__.error)('Element should be in DOM');
2896
2920
  }
2897
2921
  current.parentNode.insertBefore(wrapper, current);
2898
2922
  wrapper.appendChild(current);
@@ -2933,13 +2957,13 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2933
2957
  }
2934
2958
  }
2935
2959
  static replace(elm, newTagName, create, withAttributes = false, notMoveContent = false) {
2936
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isHTML)(newTagName)) {
2937
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.assert)(create, 'Need create instance for new tag');
2960
+ if ((0,_helpers_checker_is_html_js__WEBPACK_IMPORTED_MODULE_4__.isHTML)(newTagName)) {
2961
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_9__.assert)(create, 'Need create instance for new tag');
2938
2962
  newTagName = create.fromHTML(newTagName);
2939
2963
  }
2940
2964
  let tag;
2941
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(newTagName)) {
2942
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.assert)(create, 'Need create instance for new tag');
2965
+ if ((0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(newTagName)) {
2966
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_9__.assert)(create, 'Need create instance for new tag');
2943
2967
  tag = create.element(newTagName);
2944
2968
  } else {
2945
2969
  tag = newTagName;
@@ -2980,12 +3004,12 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2980
3004
  return true;
2981
3005
  }
2982
3006
  let cond;
2983
- if (!(0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(condNoEmptyElement)) {
3007
+ if (!(0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(condNoEmptyElement)) {
2984
3008
  cond = (elm)=>condNoEmptyElement.has(elm.nodeName.toLowerCase());
2985
3009
  } else {
2986
3010
  cond = condNoEmptyElement;
2987
3011
  }
2988
- const emptyText = (node)=>node.nodeValue == null || (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(node.nodeValue).length === 0;
3012
+ const emptyText = (node)=>node.nodeValue == null || (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_8__.trim)(node.nodeValue).length === 0;
2989
3013
  if (Dom.isText(node)) {
2990
3014
  return emptyText(node);
2991
3015
  }
@@ -2999,7 +3023,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
2999
3023
  * Returns true if it is a DOM node
3000
3024
  */ static isNode(object) {
3001
3025
  // Duck-typing
3002
- return Boolean(object && (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(object.nodeName) && typeof object.nodeType === 'number' && object.childNodes && (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(object.appendChild));
3026
+ return Boolean(object && (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(object.nodeName) && typeof object.nodeType === 'number' && object.childNodes && (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(object.appendChild));
3003
3027
  }
3004
3028
  /**
3005
3029
  * Check if element is table cell
@@ -3025,7 +3049,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3025
3049
  * Check the `node` is a block element
3026
3050
  * @param node - Object to check
3027
3051
  */ static isBlock(node) {
3028
- return !(0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isVoid)(node) && typeof node === 'object' && Dom.isNode(node) && _constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_BLOCK.test(node.nodeName);
3052
+ return !(0,_helpers_checker_is_void_js__WEBPACK_IMPORTED_MODULE_7__.isVoid)(node) && typeof node === 'object' && Dom.isNode(node) && _constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_BLOCK.test(node.nodeName);
3029
3053
  }
3030
3054
  /**
3031
3055
  * Check if element is text node
@@ -3073,12 +3097,12 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3073
3097
  return Dom.isElement(node) && !/^(BR|HR)$/i.test(node.tagName) && [
3074
3098
  'inline',
3075
3099
  'inline-block'
3076
- ].indexOf((0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(node, 'display').toString()) !== -1;
3100
+ ].indexOf((0,_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_11__.css)(node, 'display').toString()) !== -1;
3077
3101
  }
3078
3102
  /**
3079
3103
  * It's block and it can be split
3080
3104
  */ static canSplitBlock(node) {
3081
- return !(0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isVoid)(node) && Dom.isHTMLElement(node) && Dom.isBlock(node) && !/^(TD|TH|CAPTION|FORM)$/.test(node.nodeName) && node.style !== undefined && !/^(fixed|absolute)/i.test(node.style.position);
3105
+ return !(0,_helpers_checker_is_void_js__WEBPACK_IMPORTED_MODULE_7__.isVoid)(node) && Dom.isHTMLElement(node) && Dom.isBlock(node) && !/^(TD|TH|CAPTION|FORM)$/.test(node.nodeName) && node.style !== undefined && !/^(fixed|absolute)/i.test(node.style.position);
3082
3106
  }
3083
3107
  /**
3084
3108
  * Get last matched node inside root
@@ -3233,13 +3257,13 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3233
3257
  */ static findNotEmptySibling(node, left) {
3234
3258
  return Dom.findSibling(node, left, (n)=>{
3235
3259
  var _a;
3236
- return !Dom.isEmptyTextNode(n) && Boolean(!Dom.isText(n) || ((_a = n.nodeValue) === null || _a === void 0 ? void 0 : _a.length) && (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(n.nodeValue));
3260
+ return !Dom.isEmptyTextNode(n) && Boolean(!Dom.isText(n) || ((_a = n.nodeValue) === null || _a === void 0 ? void 0 : _a.length) && (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_8__.trim)(n.nodeValue));
3237
3261
  });
3238
3262
  }
3239
3263
  /**
3240
3264
  * Returns the nearest non-empty neighbor
3241
3265
  */ static findNotEmptyNeighbor(node, left, root) {
3242
- return (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.call)(left ? Dom.prev : Dom.next, node, (n)=>Boolean(n && (!(Dom.isText(n) || Dom.isComment(n)) || (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)((n === null || n === void 0 ? void 0 : n.nodeValue) || '').length)), root);
3266
+ return (0,_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_14__.call)(left ? Dom.prev : Dom.next, node, (n)=>Boolean(n && (!(Dom.isText(n) || Dom.isComment(n)) || (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_8__.trim)((n === null || n === void 0 ? void 0 : n.nodeValue) || '').length)), root);
3243
3267
  }
3244
3268
  static sibling(node, left) {
3245
3269
  return left ? node.previousSibling : node.nextSibling;
@@ -3268,10 +3292,10 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3268
3292
  static closest(node, tagsOrCondition, root) {
3269
3293
  let condition;
3270
3294
  const lc = (s)=>s.toLowerCase();
3271
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(tagsOrCondition)) {
3295
+ if ((0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(tagsOrCondition)) {
3272
3296
  condition = tagsOrCondition;
3273
- } else if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(tagsOrCondition) || (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isSet)(tagsOrCondition)) {
3274
- const set = (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isSet)(tagsOrCondition) ? tagsOrCondition : new Set(tagsOrCondition.map(lc));
3297
+ } else if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(tagsOrCondition) || (0,_helpers_checker_is_set_js__WEBPACK_IMPORTED_MODULE_5__.isSet)(tagsOrCondition)) {
3298
+ const set = (0,_helpers_checker_is_set_js__WEBPACK_IMPORTED_MODULE_5__.isSet)(tagsOrCondition) ? tagsOrCondition : new Set(tagsOrCondition.map(lc));
3275
3299
  condition = (tag)=>Boolean(tag && set.has(lc(tag.nodeName)));
3276
3300
  } else {
3277
3301
  condition = (tag)=>Boolean(tag && lc(tagsOrCondition) === lc(tag.nodeName));
@@ -3330,7 +3354,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3330
3354
  root.insertBefore(newElement, root.firstChild);
3331
3355
  }
3332
3356
  static append(root, newElement) {
3333
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(newElement)) {
3357
+ if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(newElement)) {
3334
3358
  newElement.forEach((node)=>{
3335
3359
  this.append(root, node);
3336
3360
  });
@@ -3394,7 +3418,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3394
3418
  if (!node) {
3395
3419
  return;
3396
3420
  }
3397
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.dataBind)(node, '__old_display', node.style.display);
3421
+ (0,_helpers_utils_data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind)(node, '__old_display', node.style.display);
3398
3422
  node.style.display = 'none';
3399
3423
  }
3400
3424
  /**
@@ -3403,7 +3427,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3403
3427
  if (!node) {
3404
3428
  return;
3405
3429
  }
3406
- const display = (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.dataBind)(node, '__old_display');
3430
+ const display = (0,_helpers_utils_data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind)(node, '__old_display');
3407
3431
  if (node.style.display === 'none') {
3408
3432
  node.style.display = display || '';
3409
3433
  }
@@ -3429,8 +3453,8 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3429
3453
  /**
3430
3454
  * Marks an item as temporary
3431
3455
  */ static markTemporary(element, attributes) {
3432
- attributes && (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(element, attributes);
3433
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR, true);
3456
+ attributes && (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__.attr)(element, attributes);
3457
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR, true);
3434
3458
  return element;
3435
3459
  }
3436
3460
  /**
@@ -3439,7 +3463,12 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3439
3463
  if (!Dom.isElement(element)) {
3440
3464
  return false;
3441
3465
  }
3442
- return (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isMarker)(element) || (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR) === 'true';
3466
+ return Dom.isMarker(element) || (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR) === 'true';
3467
+ }
3468
+ /**
3469
+ * Define element is selection helper
3470
+ */ static isMarker(elm) {
3471
+ return Dom.isNode(elm) && Dom.isTag(elm, 'span') && elm.hasAttribute('data-' + _constants_js__WEBPACK_IMPORTED_MODULE_0__.MARKER_CLASS);
3443
3472
  }
3444
3473
  /**
3445
3474
  * Replace temporary elements from string
@@ -3448,8 +3477,9 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_4__.Jodit {
3448
3477
  }
3449
3478
  /**
3450
3479
  * Get temporary list
3480
+ * @deprecated
3451
3481
  */ static temporaryList(root) {
3452
- return (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.$$)(`[${_constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR}]`, root);
3482
+ return (0,_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(root.querySelectorAll(`[${_constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR}]`));
3453
3483
  }
3454
3484
  constructor(){
3455
3485
  throw new Error('Dom is static module');
@@ -6875,14 +6905,16 @@ const formTemplate = (editor)=>{
6875
6905
  /* harmony export */ UIButtonState: function() { return /* binding */ UIButtonState; }
6876
6906
  /* harmony export */ });
6877
6907
  /* harmony import */ var _component_statuses_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78213);
6878
- /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
6879
- /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
6880
- /* harmony import */ var _helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23282);
6881
- /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(70799);
6882
- /* harmony import */ var _helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43555);
6883
- /* harmony import */ var _element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48538);
6884
- /* harmony import */ var _group_list_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24536);
6885
- /* harmony import */ var _icon_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12153);
6908
+ /* harmony import */ var _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33433);
6909
+ /* harmony import */ var _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(87325);
6910
+ /* harmony import */ var _decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37133);
6911
+ /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2748);
6912
+ /* harmony import */ var _helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23282);
6913
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(70799);
6914
+ /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38837);
6915
+ /* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(29960);
6916
+ /* harmony import */ var _element_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48538);
6917
+ /* harmony import */ var _icon_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(12153);
6886
6918
  /*!
6887
6919
  * Jodit Editor (https://xdsoft.net/jodit/)
6888
6920
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -6902,6 +6934,8 @@ const formTemplate = (editor)=>{
6902
6934
 
6903
6935
 
6904
6936
 
6937
+
6938
+
6905
6939
  const UIButtonState = ()=>({
6906
6940
  size: 'middle',
6907
6941
  type: 'button',
@@ -6920,7 +6954,7 @@ const UIButtonState = ()=>({
6920
6954
  text: '',
6921
6955
  tabIndex: undefined
6922
6956
  });
6923
- let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement {
6957
+ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_9__.UIElement {
6924
6958
  /** @override */ className() {
6925
6959
  return 'UIButton';
6926
6960
  }
@@ -6934,29 +6968,30 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
6934
6968
  * DOM container for text content
6935
6969
  */ get text() {
6936
6970
  const text = this.getElm('text');
6937
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.assert)(text, 'Text element not found');
6971
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_7__.assert)(text, 'Text element not found');
6938
6972
  return text;
6939
6973
  }
6940
6974
  /**
6941
6975
  * DOM container for icon
6942
6976
  */ get icon() {
6943
6977
  const icon = this.getElm('icon');
6944
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.assert)(icon, 'Icon element not found');
6978
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_7__.assert)(icon, 'Icon element not found');
6945
6979
  return icon;
6946
6980
  }
6947
6981
  onChangeSize() {
6948
6982
  this.setMod('size', this.state.size);
6949
6983
  }
6950
6984
  onChangeType() {
6951
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'type', this.state.type);
6985
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'type', this.state.type);
6952
6986
  }
6953
6987
  onChangeRole() {
6954
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'role', this.state.role);
6988
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'role', this.state.role);
6955
6989
  }
6956
6990
  /**
6957
6991
  * Set size from a parent list
6958
6992
  */ updateSize() {
6959
- const pe = this.closest(_group_list_js__WEBPACK_IMPORTED_MODULE_7__.UIList);
6993
+ const UIList = (0,_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__.getComponentClass)('UIList');
6994
+ const pe = this.closest(UIList);
6960
6995
  if (pe) {
6961
6996
  this.state.size = pe.buttonSize;
6962
6997
  return;
@@ -6972,34 +7007,34 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
6972
7007
  this.setMod('text-icons', Boolean(this.state.text.trim().length));
6973
7008
  }
6974
7009
  onChangeDisabled() {
6975
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'disabled', this.state.disabled || null);
7010
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'disabled', this.state.disabled || null);
6976
7011
  }
6977
7012
  onChangeActivated() {
6978
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'aria-pressed', this.state.activated);
7013
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'aria-pressed', this.state.activated);
6979
7014
  }
6980
7015
  onChangeName() {
6981
7016
  this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`);
6982
7017
  this.name = this.state.name;
6983
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'data-ref', this.state.name);
6984
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'ref', this.state.name);
7018
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'data-ref', this.state.name);
7019
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'ref', this.state.name);
6985
7020
  }
6986
7021
  onChangeTooltip() {
6987
7022
  const i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
6988
7023
  if (this.get('j.o.useNativeTooltip')) {
6989
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'title', i8nTooltip);
7024
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'title', i8nTooltip);
6990
7025
  }
6991
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'aria-label', i8nTooltip);
7026
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'aria-label', i8nTooltip);
6992
7027
  }
6993
7028
  onChangeTabIndex() {
6994
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'tabindex', this.state.tabIndex);
7029
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'tabindex', this.state.tabIndex);
6995
7030
  }
6996
7031
  onChangeIcon() {
6997
7032
  const textIcons = this.get('j.o.textIcons');
6998
- if (textIcons === true || (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(textIcons) && textIcons(this.state.name)) {
7033
+ if (textIcons === true || (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_5__.isFunction)(textIcons) && textIcons(this.state.name)) {
6999
7034
  return;
7000
7035
  }
7001
- _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.detach(this.icon);
7002
- const iconElement = _icon_js__WEBPACK_IMPORTED_MODULE_8__.Icon.makeIcon(this.j, this.state.icon);
7036
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.detach(this.icon);
7037
+ const iconElement = _icon_js__WEBPACK_IMPORTED_MODULE_10__.Icon.makeIcon(this.j, this.state.icon);
7003
7038
  iconElement && this.icon.appendChild(iconElement);
7004
7039
  }
7005
7040
  /**
@@ -7011,7 +7046,7 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
7011
7046
  * Element has focus
7012
7047
  */ isFocused() {
7013
7048
  const { activeElement } = this.od;
7014
- return Boolean(activeElement && _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(this.container, activeElement));
7049
+ return Boolean(activeElement && _dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.isOrContains(this.container, activeElement));
7015
7050
  }
7016
7051
  /** @override */ createContainer() {
7017
7052
  const cn = this.componentName;
@@ -7066,84 +7101,84 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
7066
7101
  }
7067
7102
  };
7068
7103
  __decorate([
7069
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cache
7104
+ _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__.cache
7070
7105
  ], UIButton.prototype, "text", null);
7071
7106
  __decorate([
7072
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cache
7107
+ _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__.cache
7073
7108
  ], UIButton.prototype, "icon", null);
7074
7109
  __decorate([
7075
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.size', {
7110
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.size', {
7076
7111
  immediately: false
7077
7112
  })
7078
7113
  ], UIButton.prototype, "onChangeSize", null);
7079
7114
  __decorate([
7080
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.type', {
7115
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.type', {
7081
7116
  immediately: false
7082
7117
  })
7083
7118
  ], UIButton.prototype, "onChangeType", null);
7084
7119
  __decorate([
7085
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.role', {
7120
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.role', {
7086
7121
  immediately: false
7087
7122
  })
7088
7123
  ], UIButton.prototype, "onChangeRole", null);
7089
7124
  __decorate([
7090
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('parentElement')
7125
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('parentElement')
7091
7126
  ], UIButton.prototype, "updateSize", null);
7092
7127
  __decorate([
7093
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.variant', {
7128
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.variant', {
7094
7129
  immediately: false
7095
7130
  })
7096
7131
  ], UIButton.prototype, "onChangeStatus", null);
7097
7132
  __decorate([
7098
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.text', {
7133
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.text', {
7099
7134
  immediately: false
7100
7135
  })
7101
7136
  ], UIButton.prototype, "onChangeText", null);
7102
7137
  __decorate([
7103
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.text', {
7138
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.text', {
7104
7139
  immediately: false
7105
7140
  })
7106
7141
  ], UIButton.prototype, "onChangeTextSetMode", null);
7107
7142
  __decorate([
7108
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.disabled')
7143
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.disabled')
7109
7144
  ], UIButton.prototype, "onChangeDisabled", null);
7110
7145
  __decorate([
7111
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.activated')
7146
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.activated')
7112
7147
  ], UIButton.prototype, "onChangeActivated", null);
7113
7148
  __decorate([
7114
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.name', {
7149
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.name', {
7115
7150
  immediately: false
7116
7151
  })
7117
7152
  ], UIButton.prototype, "onChangeName", null);
7118
7153
  __decorate([
7119
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tooltip', {
7154
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.tooltip', {
7120
7155
  immediately: false
7121
7156
  })
7122
7157
  ], UIButton.prototype, "onChangeTooltip", null);
7123
7158
  __decorate([
7124
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tabIndex', {
7159
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.tabIndex', {
7125
7160
  immediately: false
7126
7161
  })
7127
7162
  ], UIButton.prototype, "onChangeTabIndex", null);
7128
7163
  __decorate([
7129
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.icon', {
7164
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.icon', {
7130
7165
  immediately: false
7131
7166
  })
7132
7167
  ], UIButton.prototype, "onChangeIcon", null);
7133
7168
  __decorate([
7134
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cacheHTML
7169
+ _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__.cacheHTML
7135
7170
  ], UIButton.prototype, "createContainer", null);
7136
7171
  __decorate([
7137
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('button:click')
7172
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('button:click')
7138
7173
  ], UIButton.prototype, "__onActionFire", null);
7139
7174
  UIButton = __decorate([
7140
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.component
7175
+ _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__.component
7141
7176
  ], UIButton);
7142
7177
 
7143
7178
  function Button(jodit, stateOrText, text, variant) {
7144
7179
  const button = new UIButton(jodit);
7145
7180
  button.state.tabIndex = jodit.o.allowTabNavigation ? 0 : -1;
7146
- if ((0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_4__.isString)(stateOrText)) {
7181
+ if ((0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(stateOrText)) {
7147
7182
  button.state.icon.name = stateOrText;
7148
7183
  button.state.name = stateOrText;
7149
7184
  if (variant) {
@@ -7438,9 +7473,13 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('file', file);
7438
7473
  /* harmony export */ ToolbarCollection: function() { return /* binding */ ToolbarCollection; }
7439
7474
  /* harmony export */ });
7440
7475
  /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
7441
- /* harmony import */ var _core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82760);
7442
- /* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
7443
- /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21491);
7476
+ /* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
7477
+ /* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(87325);
7478
+ /* harmony import */ var _core_decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97357);
7479
+ /* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37133);
7480
+ /* harmony import */ var _core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(82760);
7481
+ /* harmony import */ var _core_ui_group_list_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(24536);
7482
+ /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21491);
7444
7483
  /*!
7445
7484
  * Jodit Editor (https://xdsoft.net/jodit/)
7446
7485
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -7455,8 +7494,12 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('file', file);
7455
7494
 
7456
7495
 
7457
7496
 
7458
- let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPACK_IMPORTED_MODULE_2__.UIList {
7459
- /** @override */ className() {
7497
+
7498
+
7499
+
7500
+
7501
+ let ToolbarCollection = class ToolbarCollection extends _core_ui_group_list_js__WEBPACK_IMPORTED_MODULE_6__.UIList {
7502
+ className() {
7460
7503
  return 'ToolbarCollection';
7461
7504
  }
7462
7505
  /**
@@ -7466,10 +7509,10 @@ let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPA
7466
7509
  return button || null;
7467
7510
  }
7468
7511
  makeButton(control, target = null) {
7469
- return (0,_factory_js__WEBPACK_IMPORTED_MODULE_3__.makeButton)(this.j, control, target);
7512
+ return (0,_factory_js__WEBPACK_IMPORTED_MODULE_7__.makeButton)(this.j, control, target);
7470
7513
  }
7471
7514
  makeSelect(control, target = null) {
7472
- return (0,_factory_js__WEBPACK_IMPORTED_MODULE_3__.makeSelect)(this.j, control, target);
7515
+ return (0,_factory_js__WEBPACK_IMPORTED_MODULE_7__.makeSelect)(this.j, control, target);
7473
7516
  }
7474
7517
  /**
7475
7518
  * Button should be active
@@ -7512,7 +7555,7 @@ let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPA
7512
7555
  this.appendTo(this.j.toolbarContainer);
7513
7556
  }
7514
7557
  showInline(bound) {
7515
- throw (0,_core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_1__.error)('The method is not implemented for this class.');
7558
+ throw (0,_core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_5__.error)('The method is not implemented for this class.');
7516
7559
  }
7517
7560
  /** @override **/ build(items, target = null) {
7518
7561
  const itemsWithGroupps = this.j.e.fire('beforeToolbarBuild', items);
@@ -7535,17 +7578,17 @@ let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPA
7535
7578
  }
7536
7579
  };
7537
7580
  __decorate([
7538
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':afterInit'),
7539
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
7581
+ (0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__.watch)(':afterInit'),
7582
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7540
7583
  ], ToolbarCollection.prototype, "__immediateUpdate", null);
7541
7584
  __decorate([
7542
7585
  (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.debounce)((ctx)=>ctx.j.defaultTimeout, true)
7543
7586
  ], ToolbarCollection.prototype, "update", null);
7544
7587
  __decorate([
7545
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
7588
+ (0,_core_decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_3__.hook)('ready')
7546
7589
  ], ToolbarCollection.prototype, "__initEvents", null);
7547
7590
  ToolbarCollection = __decorate([
7548
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.component
7591
+ _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__.component
7549
7592
  ], ToolbarCollection);
7550
7593
 
7551
7594
 
@@ -12282,12 +12325,9 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_7__.JoditPro.plugins.add('license',
12282
12325
  /* harmony export */ makeCollection: function() { return /* binding */ makeCollection; },
12283
12326
  /* harmony export */ makeSelect: function() { return /* binding */ makeSelect; }
12284
12327
  /* harmony export */ });
12285
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21537);
12286
- /* harmony import */ var _button_button_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78644);
12287
- /* harmony import */ var _button_content_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80319);
12288
- /* harmony import */ var _button_select_select_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(83111);
12289
- /* harmony import */ var _collection_collection_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11676);
12290
- /* harmony import */ var _collection_editor_collection_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37426);
12328
+ /* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87325);
12329
+ /* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23282);
12330
+ /* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19306);
12291
12331
  /*!
12292
12332
  * Jodit Editor (https://xdsoft.net/jodit/)
12293
12333
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -12295,13 +12335,12 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_7__.JoditPro.plugins.add('license',
12295
12335
  */
12296
12336
 
12297
12337
 
12298
-
12299
-
12300
-
12301
12338
  /**
12302
12339
  * Collection factory
12303
12340
  */ function makeCollection(jodit, parentElement) {
12304
- const collection = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) ? new _collection_editor_collection_js__WEBPACK_IMPORTED_MODULE_5__.ToolbarEditorCollection(jodit) : new _collection_collection_js__WEBPACK_IMPORTED_MODULE_4__.ToolbarCollection(jodit);
12341
+ const ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarCollection');
12342
+ const ToolbarEditorCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarEditorCollection');
12343
+ const collection = (0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(jodit) ? new ToolbarEditorCollection(jodit) : new ToolbarCollection(jodit);
12305
12344
  if (jodit.o.textIcons) {
12306
12345
  collection.container.classList.add('jodit_text_icons');
12307
12346
  }
@@ -12316,15 +12355,18 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_7__.JoditPro.plugins.add('license',
12316
12355
  /**
12317
12356
  * Button factory
12318
12357
  */ function makeButton(jodit, control, target = null) {
12319
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(control.getContent)) {
12320
- return new _button_content_js__WEBPACK_IMPORTED_MODULE_2__.ToolbarContent(jodit, control, target);
12358
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(control.getContent)) {
12359
+ const ToolbarContent = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarContent');
12360
+ return new ToolbarContent(jodit, control, target);
12321
12361
  }
12322
- const button = new _button_button_js__WEBPACK_IMPORTED_MODULE_1__.ToolbarButton(jodit, control, target);
12362
+ const ToolbarButton = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarButton');
12363
+ const button = new ToolbarButton(jodit, control, target);
12323
12364
  button.state.tabIndex = jodit.o.allowTabNavigation ? 0 : -1;
12324
12365
  return button;
12325
12366
  }
12326
12367
  function makeSelect(view, control, target = null) {
12327
- return new _button_select_select_js__WEBPACK_IMPORTED_MODULE_3__.ToolbarSelect(view, control, target);
12368
+ const ToolbarSelect = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarSelect');
12369
+ return new ToolbarSelect(view, control, target);
12328
12370
  }
12329
12371
 
12330
12372
 
@@ -12404,6 +12446,7 @@ __webpack_require__.r(__webpack_exports__);
12404
12446
  /* harmony export */ getClassName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getClassName; },
12405
12447
  /* harmony export */ getContentWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.getContentWidth; },
12406
12448
  /* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getDataTransfer; },
12449
+ /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getPropertyDescriptor; },
12407
12450
  /* harmony export */ getScrollParent: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.getScrollParent; },
12408
12451
  /* harmony export */ getXPathByElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getXPathByElement; },
12409
12452
  /* harmony export */ hAlignElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.hAlignElement; },
@@ -12414,7 +12457,6 @@ __webpack_require__.r(__webpack_exports__);
12414
12457
  /* harmony export */ i18n: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.i18n; },
12415
12458
  /* harmony export */ inView: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.inView; },
12416
12459
  /* harmony export */ innerWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.innerWidth; },
12417
- /* harmony export */ isAbort: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAbort; },
12418
12460
  /* harmony export */ isAbortError: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isAbortError; },
12419
12461
  /* harmony export */ isArray: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray; },
12420
12462
  /* harmony export */ isAtom: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAtom; },
@@ -12523,6 +12565,28 @@ __webpack_require__.r(__webpack_exports__);
12523
12565
  /* harmony default export */ __webpack_exports__["default"] = ("<svg viewBox=\"0 0 500 500\" xmlns=\"http://www.w3.org/2000/svg\"> <path clip-rule=\"evenodd\" d=\"M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z\" fill-rule=\"evenodd\"/> </svg> ");
12524
12566
 
12525
12567
 
12568
+ /***/ }),
12569
+
12570
+ /***/ 21735:
12571
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12572
+
12573
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12574
+ /* harmony export */ elementToItem: function() { return /* binding */ elementToItem; },
12575
+ /* harmony export */ getItem: function() { return /* binding */ getItem; }
12576
+ /* harmony export */ });
12577
+ /* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
12578
+
12579
+ /**
12580
+ * @private
12581
+ */ const getItem = (node, root, tag = 'a')=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(node, (elm)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(elm, tag), root);
12582
+ /**
12583
+ * @private
12584
+ */ const elementToItem = (elm, elementsMap)=>{
12585
+ const { key } = elm.dataset, { item } = elementsMap[key || ''];
12586
+ return item;
12587
+ };
12588
+
12589
+
12526
12590
  /***/ }),
12527
12591
 
12528
12592
  /***/ 21988:
@@ -13618,15 +13682,17 @@ _config_js__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.popup = {
13618
13682
  /* harmony export */ UIList: function() { return /* binding */ UIList; }
13619
13683
  /* harmony export */ });
13620
13684
  /* harmony import */ var _component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4012);
13621
- /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
13622
- /* harmony import */ var _helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46559);
13623
- /* harmony import */ var _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10830);
13624
- /* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62405);
13625
- /* harmony import */ var _separator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92113);
13626
- /* harmony import */ var _spacer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34244);
13627
- /* harmony import */ var _helpers_buttons_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43649);
13628
- /* harmony import */ var _helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(72157);
13629
- /* harmony import */ var _helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(71262);
13685
+ /* harmony import */ var _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
13686
+ /* harmony import */ var _decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97357);
13687
+ /* harmony import */ var _decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37133);
13688
+ /* harmony import */ var _helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(46559);
13689
+ /* harmony import */ var _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(10830);
13690
+ /* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62405);
13691
+ /* harmony import */ var _separator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92113);
13692
+ /* harmony import */ var _spacer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(34244);
13693
+ /* harmony import */ var _helpers_buttons_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(43649);
13694
+ /* harmony import */ var _helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(72157);
13695
+ /* harmony import */ var _helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(71262);
13630
13696
  /*!
13631
13697
  * Jodit Editor (https://xdsoft.net/jodit/)
13632
13698
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -13647,7 +13713,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.popup = {
13647
13713
 
13648
13714
 
13649
13715
 
13650
- let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup {
13716
+
13717
+
13718
+ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_6__.UIGroup {
13651
13719
  /** @override */ className() {
13652
13720
  return 'UIList';
13653
13721
  }
@@ -13657,24 +13725,24 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13657
13725
  /**
13658
13726
  * Make new group and append it in list of elements
13659
13727
  */ makeGroup() {
13660
- return new _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup(this.jodit);
13728
+ return new _group_js__WEBPACK_IMPORTED_MODULE_6__.UIGroup(this.jodit);
13661
13729
  }
13662
13730
  /**
13663
13731
  * All buttons from list
13664
13732
  */ get buttons() {
13665
- return this.allChildren.filter((elm)=>_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(elm, _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__.UIButton));
13733
+ return this.allChildren.filter((elm)=>_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(elm, _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__.UIButton));
13666
13734
  }
13667
13735
  /**
13668
13736
  * Helper for getting full plain button list
13669
13737
  */ getButtonsNames() {
13670
- return this.buttons.map((a)=>a instanceof _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__.UIButton && a.state.name || '').filter((a)=>a !== '');
13738
+ return this.buttons.map((a)=>a instanceof _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__.UIButton && a.state.name || '').filter((a)=>a !== '');
13671
13739
  }
13672
13740
  setRemoveButtons(removeButtons) {
13673
13741
  this.removeButtons = removeButtons || [];
13674
13742
  return this;
13675
13743
  }
13676
13744
  build(items, target = null) {
13677
- items = (0,_helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__.splitArray)(items);
13745
+ items = (0,_helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_4__.splitArray)(items);
13678
13746
  this.clear();
13679
13747
  let lastBtnSeparator = false;
13680
13748
  let line = this.makeGroup();
@@ -13694,13 +13762,13 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13694
13762
  case '|':
13695
13763
  if (!lastBtnSeparator) {
13696
13764
  lastBtnSeparator = true;
13697
- elm = new _separator_js__WEBPACK_IMPORTED_MODULE_5__.UISeparator(this.j);
13765
+ elm = new _separator_js__WEBPACK_IMPORTED_MODULE_7__.UISeparator(this.j);
13698
13766
  }
13699
13767
  break;
13700
13768
  case '---':
13701
13769
  {
13702
13770
  group.setMod('before-spacer', true);
13703
- const space = new _spacer_js__WEBPACK_IMPORTED_MODULE_6__.UISpacer(this.j);
13771
+ const space = new _spacer_js__WEBPACK_IMPORTED_MODULE_8__.UISpacer(this.j);
13704
13772
  line.append(space);
13705
13773
  group = this.makeGroup();
13706
13774
  line.append(group);
@@ -13731,20 +13799,20 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13731
13799
  return !this.removeButtons.includes(b.name) && (!b.isVisible || ((_a = b.isVisible) === null || _a === void 0 ? void 0 : _a.call(b, this.j, b)));
13732
13800
  };
13733
13801
  items.forEach((item)=>{
13734
- if ((0,_helpers_buttons_js__WEBPACK_IMPORTED_MODULE_7__.isButtonGroup)(item)) {
13802
+ if ((0,_helpers_buttons_js__WEBPACK_IMPORTED_MODULE_9__.isButtonGroup)(item)) {
13735
13803
  const buttons = item.buttons.filter((b)=>b);
13736
13804
  if (buttons.length) {
13737
13805
  group = this.makeGroup();
13738
13806
  group.setMod('separated', true).setMod('group', item.group);
13739
13807
  line.append(group);
13740
- (0,_helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_9__.getStrongControlTypes)(buttons, this.j.o.controls).filter(isNotRemoved).forEach(addButton);
13808
+ (0,_helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_11__.getStrongControlTypes)(buttons, this.j.o.controls).filter(isNotRemoved).forEach(addButton);
13741
13809
  }
13742
13810
  } else {
13743
13811
  if (!group) {
13744
13812
  group = this.makeGroup();
13745
13813
  line.append(group);
13746
13814
  }
13747
- const control = (0,_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_8__.getControlType)(item, this.j.o.controls);
13815
+ const control = (0,_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_10__.getControlType)(item, this.j.o.controls);
13748
13816
  isNotRemoved(control) && addButton(control);
13749
13817
  }
13750
13818
  });
@@ -13757,22 +13825,22 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13757
13825
  /**
13758
13826
  * Create button instance
13759
13827
  */ makeButton(control, target) {
13760
- return new _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__.UIButton(this.j, {
13828
+ return new _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__.UIButton(this.j, {
13761
13829
  name: control.name
13762
13830
  });
13763
13831
  }
13764
- constructor(jodit){
13765
- super(jodit);
13832
+ constructor(){
13833
+ super(...arguments);
13766
13834
  this.mode = 'horizontal';
13767
13835
  this.removeButtons = [];
13768
13836
  }
13769
13837
  };
13770
13838
  __decorate([
13771
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('mode'),
13772
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
13839
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('mode'),
13840
+ (0,_decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_2__.hook)('ready')
13773
13841
  ], UIList.prototype, "__onChangeMode", null);
13774
13842
  UIList = __decorate([
13775
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.component
13843
+ _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_1__.component
13776
13844
  ], UIList);
13777
13845
 
13778
13846
 
@@ -16714,9 +16782,11 @@ UIImagePositionTab = __decorate([
16714
16782
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16715
16783
  /* harmony export */ attr: function() { return /* binding */ attr; }
16716
16784
  /* harmony export */ });
16717
- /* harmony import */ var _checker_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27613);
16718
- /* harmony import */ var _string_kebab_case_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12475);
16719
- /* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
16785
+ /* harmony import */ var _checker_is_function_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23282);
16786
+ /* harmony import */ var _checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
16787
+ /* harmony import */ var _checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
16788
+ /* harmony import */ var _string_kebab_case_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12475);
16789
+ /* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41180);
16720
16790
  /*!
16721
16791
  * Jodit Editor (https://xdsoft.net/jodit/)
16722
16792
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -16724,19 +16794,21 @@ UIImagePositionTab = __decorate([
16724
16794
  */
16725
16795
 
16726
16796
 
16797
+
16798
+
16727
16799
  /**
16728
16800
  * Alias for `elm.getAttribute` but if set second argument `-{key}`
16729
16801
  * it will also check `data-{key}` attribute
16730
16802
  * if set `value` it is alias for setAttribute with the same logic
16731
16803
  */ function attr(elm, keyOrAttributes, value) {
16732
- if (!elm || !(0,_checker_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(elm.getAttribute)) {
16804
+ if (!elm || !(0,_checker_is_function_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(elm.getAttribute)) {
16733
16805
  return null;
16734
16806
  }
16735
- if (!(0,_checker_index_js__WEBPACK_IMPORTED_MODULE_0__.isString)(keyOrAttributes)) {
16807
+ if (!(0,_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__.isString)(keyOrAttributes)) {
16736
16808
  Object.keys(keyOrAttributes).forEach((key)=>{
16737
16809
  const value = keyOrAttributes[key];
16738
- if ((0,_checker_index_js__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(value) && key === 'style') {
16739
- (0,_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(elm, value);
16810
+ if ((0,_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(value) && key === 'style') {
16811
+ (0,_css_js__WEBPACK_IMPORTED_MODULE_4__.css)(elm, value);
16740
16812
  } else {
16741
16813
  if (key === 'className') {
16742
16814
  key = 'class';
@@ -16746,7 +16818,7 @@ UIImagePositionTab = __decorate([
16746
16818
  });
16747
16819
  return null;
16748
16820
  }
16749
- let key = (0,_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_1__.CamelCaseToKebabCase)(keyOrAttributes);
16821
+ let key = (0,_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_3__.CamelCaseToKebabCase)(keyOrAttributes);
16750
16822
  if (/^-/.test(key)) {
16751
16823
  const res = attr(elm, `data${key}`);
16752
16824
  if (res) {
@@ -16874,16 +16946,11 @@ __webpack_require__.r(__webpack_exports__);
16874
16946
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16875
16947
 
16876
16948
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16877
- /* harmony export */ applyStylesPro: function() { return /* reexport safe */ _apply_styles_pro__WEBPACK_IMPORTED_MODULE_0__.applyStylesPro; },
16878
- /* harmony export */ calcListLevels: function() { return /* reexport safe */ _calc_list_levels__WEBPACK_IMPORTED_MODULE_1__.calcListLevels; },
16879
- /* harmony export */ calcMarginParts: function() { return /* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.calcMarginParts; },
16880
- /* harmony export */ calcStartBySymbol: function() { return /* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.calcStartBySymbol; },
16881
- /* harmony export */ convertUnitToPx: function() { return /* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.convertUnitToPx; }
16949
+ /* harmony export */ applyStylesPro: function() { return /* reexport safe */ _apply_styles_pro__WEBPACK_IMPORTED_MODULE_0__.applyStylesPro; }
16882
16950
  /* harmony export */ });
16883
16951
  /* harmony import */ var _apply_styles_pro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51586);
16884
16952
  /* harmony import */ var _calc_list_levels__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31269);
16885
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43712);
16886
- /* harmony import */ var _transform_word_to_html__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19606);
16953
+ /* harmony import */ var _transform_word_to_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19606);
16887
16954
  /*!
16888
16955
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
16889
16956
  * See LICENSE.md in the project root for license information.
@@ -16947,7 +17014,8 @@ function calcListLevels(item) {
16947
17014
  }
16948
17015
  const indents = [
16949
17016
  (0,_helpers__WEBPACK_IMPORTED_MODULE_0__.realPixelIndent)(item)
16950
- ], items = [
17017
+ ];
17018
+ const items = [
16951
17019
  item
16952
17020
  ];
16953
17021
  let next = item.next;
@@ -17092,9 +17160,8 @@ function calcListLevels(item) {
17092
17160
  /* harmony export */ init: function() { return /* binding */ init; }
17093
17161
  /* harmony export */ });
17094
17162
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
17095
- /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
17096
- /* harmony import */ var _helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27613);
17097
- /* harmony import */ var _load_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14041);
17163
+ /* harmony import */ var _helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(60132);
17164
+ /* harmony import */ var _load_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14041);
17098
17165
  /*!
17099
17166
  * Jodit Editor (https://xdsoft.net/jodit/)
17100
17167
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -17102,12 +17169,11 @@ function calcListLevels(item) {
17102
17169
  */
17103
17170
 
17104
17171
 
17105
-
17106
17172
  /**
17107
17173
  * Init plugin if it has no dependencies, in another case wait requires plugins will be init
17108
17174
  * @private
17109
- */ function init(jodit, pluginName, plugin, instance, doneList, waitingList) {
17110
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isInitable)(instance)) {
17175
+ */ function init(jodit, pluginName, plugin, instance, doneList, waitingList, getContainer) {
17176
+ if ((0,_helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_1__.isInitable)(instance)) {
17111
17177
  try {
17112
17178
  instance.init(jodit);
17113
17179
  } catch (e) {
@@ -17120,12 +17186,12 @@ function calcListLevels(item) {
17120
17186
  doneList.set(pluginName, instance);
17121
17187
  waitingList.delete(pluginName);
17122
17188
  if (instance.hasStyle) {
17123
- (0,_load_js__WEBPACK_IMPORTED_MODULE_3__.loadStyle)(jodit, pluginName).catch((e)=>{
17189
+ (0,_load_js__WEBPACK_IMPORTED_MODULE_2__.loadStyle)(jodit, pluginName).catch((e)=>{
17124
17190
  !_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD && console.error(e);
17125
17191
  });
17126
17192
  }
17127
17193
  if (instance.styles) {
17128
- const style = (0,_global_js__WEBPACK_IMPORTED_MODULE_1__.getContainer)(jodit, pluginName, 'style');
17194
+ const style = getContainer(jodit, pluginName, 'style');
17129
17195
  style.innerHTML = instance.styles;
17130
17196
  }
17131
17197
  }
@@ -18674,8 +18740,7 @@ __webpack_require__.r(__webpack_exports__);
18674
18740
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18675
18741
  /* harmony export */ ConnectionError: function() { return /* reexport safe */ _connection_error_js__WEBPACK_IMPORTED_MODULE_1__.ConnectionError; },
18676
18742
  /* harmony export */ OptionsError: function() { return /* reexport safe */ _options_error_js__WEBPACK_IMPORTED_MODULE_2__.OptionsError; },
18677
- /* harmony export */ abort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.abort; },
18678
- /* harmony export */ isAbort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.isAbort; }
18743
+ /* harmony export */ abort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.abort; }
18679
18744
  /* harmony export */ });
18680
18745
  /* harmony import */ var _abort_error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93661);
18681
18746
  /* harmony import */ var _connection_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(86397);
@@ -19042,39 +19107,6 @@ function cacheHTML(target, _, descriptor) {
19042
19107
  /* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z\"/> </svg> ");
19043
19108
 
19044
19109
 
19045
- /***/ }),
19046
-
19047
- /***/ 33730:
19048
- /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
19049
-
19050
- /* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6441);
19051
- /*!
19052
- * Jodit Editor PRO (https://xdsoft.net/jodit/)
19053
- * See LICENSE.md in the project root for license information.
19054
- * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
19055
- */
19056
- jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.font.list = {
19057
- "'Andale mono', monospace'": 'Andale Mono',
19058
- 'Arial, Helvetica, sans-serif': 'Arial',
19059
- "'Arial black', sans-serif": 'Arial Black',
19060
- "'Book antiqua', palatino, serif": 'Book Antiqua',
19061
- "'Comic Sans MS', sans-serif": 'Comic Sans MS',
19062
- "'Courier new', Courier, monospace": 'Courier New',
19063
- 'Georgia, Palatino, serif': 'Georgia',
19064
- 'Helvetica, Arial, sans-serif': 'Helvetica',
19065
- 'Impact, Charcoal, sans-serif': 'Impact',
19066
- 'Symbol, sans-serif': 'Symbol',
19067
- 'Tahoma, Arial, Helvetica, sans-serif': 'Tahoma',
19068
- 'Terminal, Monaco, monospace': 'Terminal',
19069
- "'Times new roman', Times, serif": 'Times New Roman',
19070
- "'Trebuchet ms', Geneva, sans-serif": 'Trebuchet MS',
19071
- 'Verdana, Geneva, sans-serif': 'Verdana',
19072
- Webdings: 'Webdings',
19073
- "Wingdings, 'Zapf dingbats'": 'Wingdings'
19074
- };
19075
- jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.loadExternalConfig = true;
19076
-
19077
-
19078
19110
  /***/ }),
19079
19111
 
19080
19112
  /***/ 34176:
@@ -20753,7 +20785,6 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('focus', focus);
20753
20785
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20754
20786
 
20755
20787
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20756
- /* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
20757
20788
  /* harmony export */ watch: function() { return /* binding */ watch; }
20758
20789
  /* harmony export */ });
20759
20790
  /* harmony import */ var _component_statuses_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78213);
@@ -20763,6 +20794,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('focus', focus);
20763
20794
  /* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72430);
20764
20795
  /* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39955);
20765
20796
  /* harmony import */ var _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89890);
20797
+ /* harmony import */ var _helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37790);
20766
20798
  /*!
20767
20799
  * Jodit Editor (https://xdsoft.net/jodit/)
20768
20800
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -20774,14 +20806,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('focus', focus);
20774
20806
 
20775
20807
 
20776
20808
 
20777
- function getPropertyDescriptor(obj, prop) {
20778
- let desc;
20779
- do {
20780
- desc = Object.getOwnPropertyDescriptor(obj, prop);
20781
- obj = Object.getPrototypeOf(obj);
20782
- }while (!desc && obj)
20783
- return desc;
20784
- }
20809
+
20785
20810
  /**
20786
20811
  * Watch decorator. Added observer for some change in field value
20787
20812
  */ function watch(observeFields, opts) {
@@ -20828,7 +20853,7 @@ function getPropertyDescriptor(obj, prop) {
20828
20853
  const observableValue = (0,_event_emitter_observable_js__WEBPACK_IMPORTED_MODULE_1__.observable)(value);
20829
20854
  observableValue.on(`change.${teil.join('.')}`, callback);
20830
20855
  }
20831
- const descriptor = getPropertyDescriptor(target, key);
20856
+ const descriptor = (0,_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_7__.getPropertyDescriptor)(target, key);
20832
20857
  Object.defineProperty(component, key, {
20833
20858
  configurable: true,
20834
20859
  set (v) {
@@ -21294,6 +21319,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
21294
21319
  /* harmony export */ call: function() { return /* binding */ call; },
21295
21320
  /* harmony export */ callPromise: function() { return /* binding */ callPromise; },
21296
21321
  /* harmony export */ getDataTransfer: function() { return /* binding */ getDataTransfer; },
21322
+ /* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
21297
21323
  /* harmony export */ keys: function() { return /* binding */ keys; },
21298
21324
  /* harmony export */ loadImage: function() { return /* binding */ loadImage; },
21299
21325
  /* harmony export */ markOwner: function() { return /* binding */ markOwner; },
@@ -21389,6 +21415,14 @@ const keys = (obj, own = true)=>{
21389
21415
  return null;
21390
21416
  }
21391
21417
  };
21418
+ function getPropertyDescriptor(obj, prop) {
21419
+ let desc;
21420
+ do {
21421
+ desc = Object.getOwnPropertyDescriptor(obj, prop);
21422
+ obj = Object.getPrototypeOf(obj);
21423
+ }while (!desc && obj)
21424
+ return desc;
21425
+ }
21392
21426
 
21393
21427
 
21394
21428
  /***/ }),
@@ -21948,9 +21982,11 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('ai-assistant', ai
21948
21982
  /* harmony export */ });
21949
21983
  /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82749);
21950
21984
  /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
21951
- /* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
21952
- /* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
21953
- /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30717);
21985
+ /* harmony import */ var jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45219);
21986
+ /* harmony import */ var jodit_esm_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70799);
21987
+ /* harmony import */ var jodit_esm_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12475);
21988
+ /* harmony import */ var jodit_esm_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49055);
21989
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(43712);
21954
21990
  /*!
21955
21991
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
21956
21992
  * See LICENSE.md in the project root for license information.
@@ -21960,6 +21996,8 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('ai-assistant', ai
21960
21996
 
21961
21997
 
21962
21998
 
21999
+
22000
+
21963
22001
  class Style {
21964
22002
  get keys() {
21965
22003
  return Object.keys(this._data);
@@ -21987,7 +22025,7 @@ class Style {
21987
22025
  str(filter = (k)=>true) {
21988
22026
  const styleKeys = Object.keys(this._data).filter((key)=>key && !/^mso-/.test(key) && filter(key) && this.get(key) != null);
21989
22027
  const n = (v)=>{
21990
- if ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(v)) {
22028
+ if ((0,jodit_esm_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__.isString)(v)) {
21991
22029
  return /^0[a-z]+$/i.test(v) ? '0' : v;
21992
22030
  }
21993
22031
  return v.toString();
@@ -21998,7 +22036,7 @@ class Style {
21998
22036
  ].forEach((key)=>{
21999
22037
  if (this._data[key]) {
22000
22038
  const indexMain = styleKeys.indexOf(key);
22001
- const margins = (0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_4__.calcMarginParts)(this._data[key]);
22039
+ const margins = (0,jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_6__.calcMarginParts)(this._data[key]);
22002
22040
  [
22003
22041
  'top',
22004
22042
  'right',
@@ -22013,7 +22051,7 @@ class Style {
22013
22051
  }
22014
22052
  });
22015
22053
  if (styleKeys.length) {
22016
- return styleKeys.map((key)=>`${(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.kebabCase)(key)}:${this.get(key)}`).join(';');
22054
+ return styleKeys.map((key)=>`${(0,jodit_esm_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(key)}:${this.get(key)}`).join(';');
22017
22055
  }
22018
22056
  return '';
22019
22057
  }
@@ -22023,28 +22061,28 @@ class Style {
22023
22061
  }
22024
22062
  }
22025
22063
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22026
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22064
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22027
22065
  ], Style.prototype, "forEach", null);
22028
22066
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22029
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22067
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22030
22068
  ], Style.prototype, "clear", null);
22031
22069
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22032
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22070
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22033
22071
  ], Style.prototype, "set", null);
22034
22072
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22035
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22073
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22036
22074
  ], Style.prototype, "get", null);
22037
22075
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22038
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22076
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22039
22077
  ], Style.prototype, "has", null);
22040
22078
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22041
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22079
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22042
22080
  ], Style.prototype, "add", null);
22043
22081
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
22044
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
22082
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
22045
22083
  ], Style.prototype, "str", null);
22046
22084
  function readStyles(style) {
22047
- return uniqueMax((style !== null && style !== void 0 ? style : '').replace(/&quot;/g, '"').split(';').filter(Boolean).map((s)=>(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(s).split(':').map(jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim))).reduce((acc, [key, value])=>{
22085
+ return uniqueMax((style !== null && style !== void 0 ? style : '').replace(/&quot;/g, '"').split(';').filter(Boolean).map((s)=>(0,jodit_esm_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_5__.trim)(s).split(':').map(jodit_esm_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_5__.trim))).reduce((acc, [key, value])=>{
22048
22086
  if (key && value) {
22049
22087
  acc[key] = value;
22050
22088
  }
@@ -22878,14 +22916,15 @@ __webpack_require__.r(__webpack_exports__);
22878
22916
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22879
22917
 
22880
22918
  /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22732);
22881
- /* harmony import */ var _core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43555);
22882
- /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12153);
22883
- /* harmony import */ var _elements_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32118);
22884
- /* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63399);
22885
- /* harmony import */ var _fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(44450);
22886
- /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(20201);
22887
- /* harmony import */ var _listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73948);
22888
- /* harmony import */ var _image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50050);
22919
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29960);
22920
+ /* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89890);
22921
+ /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12153);
22922
+ /* harmony import */ var _elements_map_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32118);
22923
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21735);
22924
+ /* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63399);
22925
+ /* harmony import */ var _fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(44450);
22926
+ /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20201);
22927
+ /* harmony import */ var _image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(50050);
22889
22928
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
22890
22929
  try {
22891
22930
  var info = gen[key](arg);
@@ -22928,21 +22967,22 @@ function _async_to_generator(fn) {
22928
22967
 
22929
22968
 
22930
22969
 
22931
- const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = 'next', right = 'right')=>`<div class="${CLASS_PREVIEW}__navigation ${CLASS_PREVIEW}__navigation_arrow_${next}">` + '' + _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_2__.Icon.get('angle-' + right) + '</a>';
22970
+
22971
+ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = 'next', right = 'right')=>`<div class="${CLASS_PREVIEW}__navigation ${CLASS_PREVIEW}__navigation_arrow_${next}">` + '' + _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.get('angle-' + right) + '</a>';
22932
22972
  /* harmony default export */ __webpack_exports__["default"] = ((self)=>{
22933
22973
  if (!self.o.contextMenu) {
22934
22974
  return ()=>{};
22935
22975
  }
22936
- const contextmenu = (0,_factories_js__WEBPACK_IMPORTED_MODULE_4__.makeContextMenu)(self);
22976
+ const contextmenu = (0,_factories_js__WEBPACK_IMPORTED_MODULE_6__.makeContextMenu)(self);
22937
22977
  return (e)=>{
22938
- const a = (0,_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_7__.getItem)(e.target, self.container);
22978
+ const a = (0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.getItem)(e.target, self.container);
22939
22979
  if (!a) {
22940
22980
  return;
22941
22981
  }
22942
22982
  let item = a;
22943
- const opt = self.options, ga = (key)=>(0,_core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(item, key) || '';
22983
+ const opt = self.options, ga = (key)=>(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_1__.attr)(item, key) || '';
22944
22984
  self.async.setTimeout(()=>{
22945
- const selectedItem = (0,_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_7__.elementToItem)(a, (0,_elements_map_js__WEBPACK_IMPORTED_MODULE_3__.elementsMap)(self));
22985
+ const selectedItem = (0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.elementToItem)(a, (0,_elements_map_js__WEBPACK_IMPORTED_MODULE_4__.elementsMap)(self));
22946
22986
  if (!selectedItem) {
22947
22987
  return;
22948
22988
  }
@@ -22953,7 +22993,7 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
22953
22993
  ga('data-is-file') !== '1' && opt.editImage && (self.dataProvider.canI('ImageResize') || self.dataProvider.canI('ImageCrop')) ? {
22954
22994
  icon: 'pencil',
22955
22995
  title: 'Edit',
22956
- exec: ()=>_image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_8__.openImageEditor.call(self, ga('href'), ga('data-name'), ga('data-path'), ga('data-source'))
22996
+ exec: ()=>_image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_9__.openImageEditor.call(self, ga('href'), ga('data-name'), ga('data-path'), ga('data-source'))
22957
22997
  } : false,
22958
22998
  self.dataProvider.canI('FileRename') ? {
22959
22999
  icon: 'italic',
@@ -22967,12 +23007,12 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
22967
23007
  title: 'Delete',
22968
23008
  exec: ()=>_async_to_generator(function*() {
22969
23009
  try {
22970
- yield (0,_fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_5__.deleteFile)(self, ga('data-name'), ga('data-source'));
23010
+ yield (0,_fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_7__.deleteFile)(self, ga('data-name'), ga('data-source'));
22971
23011
  } catch (e) {
22972
23012
  return self.status(e);
22973
23013
  }
22974
23014
  self.state.activeElements = [];
22975
- return (0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_6__.loadTree)(self).catch(self.status);
23015
+ return (0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_8__.loadTree)(self).catch(self.status);
22976
23016
  })()
22977
23017
  } : false,
22978
23018
  opt.preview ? {
@@ -23022,7 +23062,7 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
23022
23062
  item = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.prevWithClass(item, self.files.getFullElName('item'));
23023
23063
  }
23024
23064
  if (!item) {
23025
- throw (0,_core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Need element');
23065
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_2__.error)('Need element');
23026
23066
  }
23027
23067
  _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.detach(temp_content);
23028
23068
  _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.detach(preview_box);
@@ -23181,13 +23221,15 @@ function brBefore(start) {
23181
23221
  /* harmony export */ PluginSystem: function() { return /* binding */ PluginSystem; }
23182
23222
  /* harmony export */ });
23183
23223
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
23184
- /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
23185
- /* harmony import */ var _helpers_array_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76855);
23186
- /* harmony import */ var _helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27613);
23187
- /* harmony import */ var _helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31359);
23188
- /* harmony import */ var _helpers_load_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14041);
23189
- /* harmony import */ var _helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48591);
23190
- /* harmony import */ var _helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(89672);
23224
+ /* harmony import */ var _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(57012);
23225
+ /* harmony import */ var _helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46559);
23226
+ /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(68345);
23227
+ /* harmony import */ var _helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(60132);
23228
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70799);
23229
+ /* harmony import */ var _helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31359);
23230
+ /* harmony import */ var _helpers_load_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(14041);
23231
+ /* harmony import */ var _helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(48591);
23232
+ /* harmony import */ var _helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(89672);
23191
23233
  /*!
23192
23234
  * Jodit Editor (https://xdsoft.net/jodit/)
23193
23235
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -23201,6 +23243,8 @@ function brBefore(start) {
23201
23243
 
23202
23244
 
23203
23245
 
23246
+
23247
+
23204
23248
  /**
23205
23249
  * Jodit plugin system
23206
23250
  * @example
@@ -23219,18 +23263,18 @@ function brBefore(start) {
23219
23263
  /**
23220
23264
  * Add plugin in store
23221
23265
  */ add(name, plugin) {
23222
- this.__items.set((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName)(name), plugin);
23223
- _global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.fire(`plugin:${name}:ready`);
23266
+ this.__items.set((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName)(name), plugin);
23267
+ _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.fire(`plugin:${name}:ready`);
23224
23268
  }
23225
23269
  /**
23226
23270
  * Get plugin from store
23227
23271
  */ get(name) {
23228
- return this.__items.get((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName)(name));
23272
+ return this.__items.get((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName)(name));
23229
23273
  }
23230
23274
  /**
23231
23275
  * Remove plugin from store
23232
23276
  */ remove(name) {
23233
- this.__items.delete((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName)(name));
23277
+ this.__items.delete((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName)(name));
23234
23278
  }
23235
23279
  __getFullPluginsList(filter) {
23236
23280
  const results = [];
@@ -23262,7 +23306,7 @@ function brBefore(start) {
23262
23306
  return;
23263
23307
  }
23264
23308
  const requires = plugin === null || plugin === void 0 ? void 0 : plugin.requires;
23265
- if (requires && (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(requires) && requires.length) {
23309
+ if (requires && (0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(requires) && requires.length) {
23266
23310
  if (requires.some((req)=>disableList.has(req))) {
23267
23311
  return;
23268
23312
  }
@@ -23272,13 +23316,13 @@ function brBefore(start) {
23272
23316
  }
23273
23317
  }
23274
23318
  commit = true;
23275
- const instance = (0,_helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_6__.makeInstance)(jodit, plugin);
23319
+ const instance = (0,_helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_8__.makeInstance)(jodit, plugin);
23276
23320
  if (!instance) {
23277
23321
  doneList.set(name, null);
23278
23322
  waitingList.delete(name);
23279
23323
  return;
23280
23324
  }
23281
- (0,_helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_4__.init)(jodit, name, plugin, instance, doneList, waitingList);
23325
+ (0,_helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_6__.init)(jodit, name, plugin, instance, doneList, waitingList, this.opts.getContainer);
23282
23326
  pluginsMap[name] = instance;
23283
23327
  });
23284
23328
  if (commit) {
@@ -23287,7 +23331,7 @@ function brBefore(start) {
23287
23331
  }
23288
23332
  };
23289
23333
  if (extraList && extraList.length) {
23290
- (0,_helpers_load_js__WEBPACK_IMPORTED_MODULE_5__.loadExtras)(this.__items, jodit, extraList, initPlugins);
23334
+ (0,_helpers_load_js__WEBPACK_IMPORTED_MODULE_7__.loadExtras)(this.__items, jodit, extraList, initPlugins);
23291
23335
  }
23292
23336
  initPlugins();
23293
23337
  bindOnBeforeDestruct(jodit, pluginsMap);
@@ -23304,12 +23348,13 @@ function brBefore(start) {
23304
23348
  }
23305
23349
  const onReady = ()=>{
23306
23350
  resolve();
23307
- _global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.off(`plugin:${name}:ready`, onReady);
23351
+ _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.off(`plugin:${name}:ready`, onReady);
23308
23352
  };
23309
- _global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.on(`plugin:${name}:ready`, onReady);
23353
+ _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.on(`plugin:${name}:ready`, onReady);
23310
23354
  });
23311
23355
  }
23312
- constructor(){
23356
+ constructor(opts){
23357
+ this.opts = opts;
23313
23358
  this.__items = new Map();
23314
23359
  }
23315
23360
  }
@@ -23319,7 +23364,7 @@ function brBefore(start) {
23319
23364
  jodit.e.on('beforeDestruct', ()=>{
23320
23365
  Object.keys(plugins).forEach((name)=>{
23321
23366
  const instance = plugins[name];
23322
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__.isDestructable)(instance)) {
23367
+ if ((0,_helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_4__.isDestructable)(instance)) {
23323
23368
  instance.destruct(jodit);
23324
23369
  }
23325
23370
  delete plugins[name];
@@ -23328,10 +23373,10 @@ function brBefore(start) {
23328
23373
  });
23329
23374
  }
23330
23375
  function getSpecialLists(jodit) {
23331
- const extraList = jodit.o.extraPlugins.map((s)=>(0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(s) ? {
23376
+ const extraList = jodit.o.extraPlugins.map((s)=>(0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_5__.isString)(s) ? {
23332
23377
  name: s
23333
23378
  } : s);
23334
- const disableList = new Set((0,_helpers_array_index_js__WEBPACK_IMPORTED_MODULE_2__.splitArray)(jodit.o.disablePlugins).map(_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName));
23379
+ const disableList = new Set((0,_helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__.splitArray)(jodit.o.disablePlugins).map(_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName));
23335
23380
  const filter = jodit.o.safeMode ? new Set(jodit.o.safePluginsList) : null;
23336
23381
  return {
23337
23382
  extraList,
@@ -23674,7 +23719,7 @@ __webpack_require__.r(__webpack_exports__);
23674
23719
  /* harmony import */ var _render__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99658);
23675
23720
  /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(40273);
23676
23721
  /* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82758);
23677
- /* harmony import */ var jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22732);
23722
+ /* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2748);
23678
23723
  /* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38837);
23679
23724
  /*!
23680
23725
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
@@ -23837,7 +23882,7 @@ class JElement {
23837
23882
  }
23838
23883
  function readAttributes(node) {
23839
23884
  const result = {};
23840
- if (jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isElement(node)) {
23885
+ if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isElement(node)) {
23841
23886
  for(let i = 0, attrs = node.attributes; i < attrs.length; i += 1){
23842
23887
  result[attrs[i].name] = attrs[i].value;
23843
23888
  }
@@ -23975,11 +24020,11 @@ __webpack_require__.r(__webpack_exports__);
23975
24020
  /* harmony export */ get: function() { return /* reexport safe */ _get_js__WEBPACK_IMPORTED_MODULE_15__.get; },
23976
24021
  /* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__.getClassName; },
23977
24022
  /* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.getDataTransfer; },
24023
+ /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.getPropertyDescriptor; },
23978
24024
  /* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_23__.getXPathByElement; },
23979
24025
  /* harmony export */ hAlignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
23980
24026
  /* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_17__.humanSizeToBytes; },
23981
24027
  /* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_22__.inView; },
23982
- /* harmony export */ isAbort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.isAbort; },
23983
24028
  /* harmony export */ isAtom: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_14__.isAtom; },
23984
24029
  /* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__.keepNames; },
23985
24030
  /* harmony export */ keys: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.keys; },
@@ -26892,8 +26937,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
26892
26937
  /* harmony export */ });
26893
26938
  /* harmony import */ var _transform_word_to_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19606);
26894
26939
  /* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
26895
- /* harmony import */ var jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43555);
26896
- /* harmony import */ var jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97420);
26940
+ /* harmony import */ var jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
26941
+ /* harmony import */ var jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76078);
26942
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97420);
26897
26943
  /*!
26898
26944
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
26899
26945
  * See LICENSE.md in the project root for license information.
@@ -26902,6 +26948,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
26902
26948
 
26903
26949
 
26904
26950
 
26951
+
26905
26952
  function applyStylesPro(jodit, html, removeStyles, rtf = '') {
26906
26953
  const iframe = document.createElement('iframe');
26907
26954
  iframe.style.display = 'none';
@@ -26924,20 +26971,20 @@ function applyStylesPro(jodit, html, removeStyles, rtf = '') {
26924
26971
  if (!rules[idx].selectorText) {
26925
26972
  continue;
26926
26973
  }
26927
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.$$)(rules[idx].selectorText, doc.body).forEach((elm)=>{
26928
- if (!(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS)) {
26929
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS, (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style') || '');
26930
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', '');
26974
+ (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_3__.$$)(rules[idx].selectorText, doc.body).forEach((elm)=>{
26975
+ if (!(0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS)) {
26976
+ (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS, (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style') || '');
26977
+ (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', '');
26931
26978
  }
26932
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', `${(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style')};${rules[idx].style.cssText}`);
26979
+ (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', `${(0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style')};${rules[idx].style.cssText}`);
26933
26980
  });
26934
26981
  }
26935
26982
  } catch (e) {}
26936
26983
  }
26937
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.$$)(`[${JDS}]`, doc.body).forEach((elm)=>{
26938
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', `${(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style')};${(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS)}`);
26984
+ (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_3__.$$)(`[${JDS}]`, doc.body).forEach((elm)=>{
26985
+ (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', `${(0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style')};${(0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS)}`);
26939
26986
  });
26940
- return (0,_transform_word_to_html__WEBPACK_IMPORTED_MODULE_0__.transformWordToHtml)(jodit, jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_3__.JElement.make(doc.body), removeStyles, rtf);
26987
+ return (0,_transform_word_to_html__WEBPACK_IMPORTED_MODULE_0__.transformWordToHtml)(jodit, jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_4__.JElement.make(doc.body), removeStyles, rtf);
26941
26988
  } finally{
26942
26989
  jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(iframe);
26943
26990
  }
@@ -28061,7 +28108,7 @@ __webpack_require__.r(__webpack_exports__);
28061
28108
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
28062
28109
  /* harmony export */ convertStyleUnitToPixels: function() { return /* binding */ convertStyleUnitToPixels; }
28063
28110
  /* harmony export */ });
28064
- /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30717);
28111
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43712);
28065
28112
  /*!
28066
28113
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
28067
28114
  * See LICENSE.md in the project root for license information.
@@ -28075,7 +28122,7 @@ const convertStyleUnitToPixels = (elm, { jodit })=>{
28075
28122
  style.forEach((key)=>{
28076
28123
  const v = style.get(key);
28077
28124
  if (v) {
28078
- style.set(key, v.toString().replace(/\d+(\.\d+)?(pt|cm)/g, (match)=>(0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_0__.convertUnitToPx)(match) + 'px'));
28125
+ style.set(key, v.toString().replace(/\d+(\.\d+)?(pt|cm)/g, (match)=>(0,jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_0__.convertUnitToPx)(match) + 'px'));
28079
28126
  }
28080
28127
  });
28081
28128
  return elm;
@@ -28726,8 +28773,8 @@ function derive(...traits) {
28726
28773
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
28727
28774
  /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
28728
28775
  /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
28729
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(59242);
28730
- /* harmony import */ var _api_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63687);
28776
+ /* harmony import */ var _api_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(63687);
28777
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(77361);
28731
28778
  function _define_property(obj, key, value) {
28732
28779
  if (key in obj) {
28733
28780
  Object.defineProperty(obj, key, {
@@ -28806,19 +28853,19 @@ const transactions = {
28806
28853
  [states.START]: {
28807
28854
  exec (value) {
28808
28855
  const { element, jodit, style, mode, collapsed } = value;
28809
- if ((0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.isInsideInvisibleElement)(element, jodit.editor) || !collapsed && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmptyContent(element)) {
28856
+ if ((0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.isInsideInvisibleElement)(element, jodit.editor) || !collapsed && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmptyContent(element)) {
28810
28857
  return _object_spread_props(_object_spread({}, value), {
28811
28858
  next: states.END
28812
28859
  });
28813
28860
  }
28814
- const elm = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.getSuitParent)(style, element, jodit.editor) || (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.getSuitChild)(style, element);
28861
+ const elm = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.getSuitParent)(style, element, jodit.editor) || (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.getSuitChild)(style, element);
28815
28862
  if (elm) {
28816
28863
  return _object_spread_props(_object_spread({}, value), {
28817
28864
  next: states.ELEMENT,
28818
28865
  element: elm
28819
28866
  });
28820
28867
  }
28821
- const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.suitableClosest)(style, element, jodit.editor);
28868
+ const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.suitableClosest)(style, element, jodit.editor);
28822
28869
  if (style.elementIsList && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isList(suit)) {
28823
28870
  return _object_spread_props(_object_spread({}, value), {
28824
28871
  next: states.LIST
@@ -28830,14 +28877,14 @@ const transactions = {
28830
28877
  });
28831
28878
  }
28832
28879
  return _object_spread_props(_object_spread({}, value), {
28833
- next: mode !== _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP ? states.UNWRAP_CHILDREN : states.END
28880
+ next: mode !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP ? states.UNWRAP_CHILDREN : states.END
28834
28881
  });
28835
28882
  }
28836
28883
  },
28837
28884
  [states.LIST]: {
28838
28885
  exec (value) {
28839
28886
  const { element, jodit, mode } = value;
28840
- if (mode !== _index_js__WEBPACK_IMPORTED_MODULE_3__.INITIAL && mode !== _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP && mode !== _index_js__WEBPACK_IMPORTED_MODULE_3__.REPLACE) {
28887
+ if (mode !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.INITIAL && mode !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP && mode !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.REPLACE) {
28841
28888
  return _object_spread_props(_object_spread({}, value), {
28842
28889
  next: states.END
28843
28890
  });
@@ -28863,7 +28910,7 @@ const transactions = {
28863
28910
  [states.TOGGLE_LIST]: {
28864
28911
  exec (value) {
28865
28912
  return _object_spread_props(_object_spread({}, value), {
28866
- mode: (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.toggleOrderedList)(value.style, value.element, value.jodit, value.mode),
28913
+ mode: (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.toggleOrderedList)(value.style, value.element, value.jodit, value.mode),
28867
28914
  next: states.END
28868
28915
  });
28869
28916
  }
@@ -28872,14 +28919,14 @@ const transactions = {
28872
28919
  exec (value) {
28873
28920
  var _a;
28874
28921
  const { element, jodit, style } = value;
28875
- const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.suitableClosest)(style, element, jodit.editor);
28922
+ const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.suitableClosest)(style, element, jodit.editor);
28876
28923
  (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_2__.assert)(suit, 'This place should have an element');
28877
28924
  // If we're applying inline styles to a block element, don't split the block
28878
28925
  const isApplyingInlineStyle = !style.elementIsBlock && ((_a = style.options.attributes) === null || _a === void 0 ? void 0 : _a.style);
28879
28926
  const shouldNotSplitBlock = isApplyingInlineStyle && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isBlock(suit);
28880
28927
  if (!shouldNotSplitBlock) {
28881
28928
  if (!style.elementIsBlock) {
28882
- (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.extractSelectedPart)(suit, element, jodit);
28929
+ (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.extractSelectedPart)(suit, element, jodit);
28883
28930
  }
28884
28931
  return _object_spread_props(_object_spread({}, value), {
28885
28932
  element: suit,
@@ -28895,13 +28942,13 @@ const transactions = {
28895
28942
  [states.UNWRAP_CHILDREN]: {
28896
28943
  exec (value) {
28897
28944
  const { element, style } = value;
28898
- if (!(0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.unwrapChildren)(style, element)) {
28945
+ if (!(0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.unwrapChildren)(style, element)) {
28899
28946
  return _object_spread_props(_object_spread({}, value), {
28900
28947
  next: states.WRAP
28901
28948
  });
28902
28949
  }
28903
28950
  return _object_spread_props(_object_spread({}, value), {
28904
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP,
28951
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP,
28905
28952
  next: states.END
28906
28953
  });
28907
28954
  }
@@ -28909,10 +28956,10 @@ const transactions = {
28909
28956
  [states.WRAP]: {
28910
28957
  exec (value) {
28911
28958
  const { element, jodit, style } = value;
28912
- const wrapper = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.wrap)(style, element, jodit);
28959
+ const wrapper = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.wrap)(style, element, jodit);
28913
28960
  return _object_spread_props(_object_spread({}, value), {
28914
28961
  next: style.elementIsList ? states.END : states.CHANGE,
28915
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.WRAP,
28962
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.WRAP,
28916
28963
  element: wrapper
28917
28964
  });
28918
28965
  }
@@ -28920,7 +28967,7 @@ const transactions = {
28920
28967
  [states.ELEMENT]: {
28921
28968
  exec (value) {
28922
28969
  const { style, element, jodit } = value;
28923
- if ((0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.toggleAttributes)(style, element, jodit, _index_js__WEBPACK_IMPORTED_MODULE_3__.INITIAL, true) !== _index_js__WEBPACK_IMPORTED_MODULE_3__.INITIAL) {
28970
+ if ((0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.toggleAttributes)(style, element, jodit, _constants_js__WEBPACK_IMPORTED_MODULE_4__.INITIAL, true) !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.INITIAL) {
28924
28971
  return _object_spread_props(_object_spread({}, value), {
28925
28972
  next: states.CHANGE
28926
28973
  });
@@ -28939,8 +28986,8 @@ const transactions = {
28939
28986
  [states.CHANGE]: {
28940
28987
  exec (value) {
28941
28988
  const { style, element, jodit, mode } = value;
28942
- const newMode = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.toggleAttributes)(style, element, jodit, value.mode);
28943
- if (mode !== _index_js__WEBPACK_IMPORTED_MODULE_3__.WRAP && newMode === _index_js__WEBPACK_IMPORTED_MODULE_3__.UNSET && !element.attributes.length && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(element, style.element)) {
28989
+ const newMode = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.toggleAttributes)(style, element, jodit, value.mode);
28990
+ if (mode !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.WRAP && newMode === _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNSET && !element.attributes.length && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(element, style.element)) {
28944
28991
  return _object_spread_props(_object_spread({}, value), {
28945
28992
  next: states.UNWRAP
28946
28993
  });
@@ -28960,7 +29007,7 @@ const transactions = {
28960
29007
  }
28961
29008
  _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.unwrap(value.element);
28962
29009
  return _object_spread_props(_object_spread({}, value), {
28963
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP,
29010
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP,
28964
29011
  next: states.END
28965
29012
  });
28966
29013
  }
@@ -28969,7 +29016,7 @@ const transactions = {
28969
29016
  exec (value) {
28970
29017
  _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.replace(value.element, value.style.defaultTag, value.jodit.createInside, true);
28971
29018
  return _object_spread_props(_object_spread({}, value), {
28972
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.REPLACE,
29019
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.REPLACE,
28973
29020
  next: states.END
28974
29021
  });
28975
29022
  }
@@ -30002,6 +30049,19 @@ __decorate([
30002
30049
  }
30003
30050
 
30004
30051
 
30052
+ /***/ }),
30053
+
30054
+ /***/ 57012:
30055
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
30056
+
30057
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30058
+ /* harmony export */ eventEmitter: function() { return /* binding */ eventEmitter; }
30059
+ /* harmony export */ });
30060
+ /* harmony import */ var _event_emitter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(98220);
30061
+
30062
+ const eventEmitter = new _event_emitter_js__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
30063
+
30064
+
30005
30065
  /***/ }),
30006
30066
 
30007
30067
  /***/ 57034:
@@ -30991,10 +31051,8 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_7__.JoditPro.plugins.add('pasteFrom
30991
31051
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30992
31052
  /* harmony export */ CHANGE: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.CHANGE; },
30993
31053
  /* harmony export */ CommitStyle: function() { return /* reexport safe */ _style_commit_style_js__WEBPACK_IMPORTED_MODULE_1__.CommitStyle; },
30994
- /* harmony export */ INITIAL: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.INITIAL; },
30995
31054
  /* harmony export */ REPLACE: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.REPLACE; },
30996
31055
  /* harmony export */ Selection: function() { return /* reexport safe */ _selection_js__WEBPACK_IMPORTED_MODULE_0__.Selection; },
30997
- /* harmony export */ UNSET: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.UNSET; },
30998
31056
  /* harmony export */ UNWRAP: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.UNWRAP; },
30999
31057
  /* harmony export */ WRAP: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.WRAP; }
31000
31058
  /* harmony export */ });
@@ -34235,12 +34293,10 @@ function makeContextMenu(parent) {
34235
34293
 
34236
34294
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
34237
34295
  /* harmony export */ FiniteStateMachine: function() { return /* reexport safe */ _finite_state_machine_js__WEBPACK_IMPORTED_MODULE_1__.FiniteStateMachine; },
34238
- /* harmony export */ elementsEqualAttributes: function() { return /* reexport safe */ _is_same_attributes_js__WEBPACK_IMPORTED_MODULE_7__.elementsEqualAttributes; },
34239
34296
  /* harmony export */ extractSelectedPart: function() { return /* reexport safe */ _extract_js__WEBPACK_IMPORTED_MODULE_0__.extractSelectedPart; },
34240
34297
  /* harmony export */ getSuitChild: function() { return /* reexport safe */ _get_suit_child_js__WEBPACK_IMPORTED_MODULE_2__.getSuitChild; },
34241
34298
  /* harmony export */ getSuitParent: function() { return /* reexport safe */ _get_suit_parent_js__WEBPACK_IMPORTED_MODULE_3__.getSuitParent; },
34242
34299
  /* harmony export */ isInsideInvisibleElement: function() { return /* reexport safe */ _is_inside_invisible_element_js__WEBPACK_IMPORTED_MODULE_5__.isInsideInvisibleElement; },
34243
- /* harmony export */ isSameAttributes: function() { return /* reexport safe */ _is_same_attributes_js__WEBPACK_IMPORTED_MODULE_7__.isSameAttributes; },
34244
34300
  /* harmony export */ suitableClosest: function() { return /* reexport safe */ _is_suit_element_js__WEBPACK_IMPORTED_MODULE_8__.suitableClosest; },
34245
34301
  /* harmony export */ toggleAttributes: function() { return /* reexport safe */ _toggle_attributes_js__WEBPACK_IMPORTED_MODULE_11__.toggleAttributes; },
34246
34302
  /* harmony export */ toggleOrderedList: function() { return /* reexport safe */ _list_toggle_ordered_list_js__WEBPACK_IMPORTED_MODULE_9__.toggleOrderedList; },
@@ -34744,7 +34800,7 @@ __webpack_require__.r(__webpack_exports__);
34744
34800
  /* harmony export */ component: function() { return /* reexport safe */ _component_component_js__WEBPACK_IMPORTED_MODULE_2__.component; },
34745
34801
  /* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce_js__WEBPACK_IMPORTED_MODULE_3__.debounce; },
34746
34802
  /* harmony export */ derive: function() { return /* reexport safe */ _derive_derive_js__WEBPACK_IMPORTED_MODULE_4__.derive; },
34747
- /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch_js__WEBPACK_IMPORTED_MODULE_10__.getPropertyDescriptor; },
34803
+ /* harmony export */ getComponentClass: function() { return /* reexport safe */ _component_component_js__WEBPACK_IMPORTED_MODULE_2__.getComponentClass; },
34748
34804
  /* harmony export */ hook: function() { return /* reexport safe */ _hook_hook_js__WEBPACK_IMPORTED_MODULE_5__.hook; },
34749
34805
  /* harmony export */ idle: function() { return /* reexport safe */ _idle_idle_js__WEBPACK_IMPORTED_MODULE_6__.idle; },
34750
34806
  /* harmony export */ nonenumerable: function() { return /* reexport safe */ _nonenumerable_nonenumerable_js__WEBPACK_IMPORTED_MODULE_7__.nonenumerable; },
@@ -36777,7 +36833,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
36777
36833
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36778
36834
  /* harmony export */ LazyWalker: function() { return /* binding */ LazyWalker; }
36779
36835
  /* harmony export */ });
36780
- /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
36836
+ /* harmony import */ var _decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45219);
36781
36837
  /* harmony import */ var _dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
36782
36838
  /* harmony import */ var _event_emitter_eventify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72757);
36783
36839
  /*!
@@ -36877,7 +36933,7 @@ class LazyWalker extends _event_emitter_eventify_js__WEBPACK_IMPORTED_MODULE_2__
36877
36933
  }
36878
36934
  }
36879
36935
  __decorate([
36880
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
36936
+ _decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_0__.autobind
36881
36937
  ], LazyWalker.prototype, "__workPerform", null);
36882
36938
 
36883
36939
 
@@ -38163,10 +38219,10 @@ function findCell(editor, key) {
38163
38219
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
38164
38220
  /* harmony export */ observable: function() { return /* binding */ observable; }
38165
38221
  /* harmony export */ });
38166
- /* harmony import */ var _decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(37133);
38167
- /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68345);
38168
- /* harmony import */ var _helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(59292);
38169
- /* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72430);
38222
+ /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
38223
+ /* harmony import */ var _helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59292);
38224
+ /* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72430);
38225
+ /* harmony import */ var _helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37790);
38170
38226
  /*!
38171
38227
  * Jodit Editor (https://xdsoft.net/jodit/)
38172
38228
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -38220,7 +38276,7 @@ function isObservableObject(obj) {
38220
38276
  const __lockEvent = {};
38221
38277
  const __onEvents = {};
38222
38278
  const on = (event, callback)=>{
38223
- if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(event)) {
38279
+ if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(event)) {
38224
38280
  event.map((e)=>on(e, callback));
38225
38281
  return obj;
38226
38282
  }
@@ -38231,7 +38287,7 @@ function isObservableObject(obj) {
38231
38287
  return obj;
38232
38288
  };
38233
38289
  const fire = (event, ...attr)=>{
38234
- if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(event)) {
38290
+ if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(event)) {
38235
38291
  event.map((e)=>fire(e, ...attr));
38236
38292
  return;
38237
38293
  }
@@ -38257,16 +38313,16 @@ function isObservableObject(obj) {
38257
38313
  const key = _key;
38258
38314
  const prefix = prefixes.concat(key).filter((a)=>a.length);
38259
38315
  store[key] = dict[key];
38260
- const descriptor = (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_0__.getPropertyDescriptor)(dict, key);
38316
+ const descriptor = (0,_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_3__.getPropertyDescriptor)(dict, key);
38261
38317
  Object.defineProperty(dict, key, {
38262
38318
  set: (value)=>{
38263
38319
  const oldValue = store[key];
38264
- if (!(0,_helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_2__.isFastEqual)(store[key], value)) {
38320
+ if (!(0,_helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_1__.isFastEqual)(store[key], value)) {
38265
38321
  fire([
38266
38322
  'beforeChange',
38267
38323
  `beforeChange.${prefix.join('.')}`
38268
38324
  ], key, value);
38269
- if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(value)) {
38325
+ if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(value)) {
38270
38326
  initAccessors(value, prefix);
38271
38327
  }
38272
38328
  if (descriptor && descriptor.set) {
@@ -38294,7 +38350,7 @@ function isObservableObject(obj) {
38294
38350
  enumerable: true,
38295
38351
  configurable: true
38296
38352
  });
38297
- if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(store[key])) {
38353
+ if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(store[key])) {
38298
38354
  initAccessors(store[key], prefix);
38299
38355
  }
38300
38356
  });
@@ -38352,7 +38408,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.about = {
38352
38408
  }), i = editor.i18n.bind(editor);
38353
38409
  dialog.setMod('theme', editor.o.theme).setHeader(i('About Jodit')).setContent(`<div class="jodit-about">
38354
38410
  <div>${i('Jodit Editor')} v.${editor.getVersion()}</div>
38355
- <div>${i('License: %s', !(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.isLicense)(editor.o.license) ? 'MIT' : (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.normalizeLicense)(editor.o.license))}</div>
38411
+ <div>${i('License: %s', !(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.isLicense)(editor.o.license) ? editor.o.license || 'MIT' : (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.normalizeLicense)(editor.o.license))}</div>
38356
38412
  <div>
38357
38413
  <a href="${_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.HOMEPAGE}" target="_blank">${_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.HOMEPAGE}</a>
38358
38414
  </div>
@@ -38360,7 +38416,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.about = {
38360
38416
  <a href="https://xdsoft.net/jodit/docs/" target="_blank">${i("Jodit User's Guide")}</a>
38361
38417
  ${i('contains detailed help for using')}
38362
38418
  </div>
38363
- <div>${i('Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.')}</div>
38419
+ <div>${i('Copyright © XDSoft.net - Chupurnov Valerii. All rights reserved.')}</div>
38364
38420
  </div>`);
38365
38421
  (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.css)(dialog.dialog, {
38366
38422
  minHeight: 200,
@@ -38617,15 +38673,14 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
38617
38673
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
38618
38674
 
38619
38675
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
38620
- /* harmony export */ elementToItem: function() { return /* binding */ elementToItem; },
38621
- /* harmony export */ getItem: function() { return /* binding */ getItem; },
38622
38676
  /* harmony export */ nativeListeners: function() { return /* binding */ nativeListeners; }
38623
38677
  /* harmony export */ });
38624
- /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22732);
38625
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
38678
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29960);
38679
+ /* harmony import */ var _core_helpers_utils_ctrl_key_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15456);
38626
38680
  /* harmony import */ var _builders_context_menu_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41457);
38627
38681
  /* harmony import */ var _builders_elements_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32118);
38628
- /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20201);
38682
+ /* harmony import */ var _builders_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21735);
38683
+ /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20201);
38629
38684
  /*!
38630
38685
  * Jodit Editor (https://xdsoft.net/jodit/)
38631
38686
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -38635,15 +38690,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
38635
38690
 
38636
38691
 
38637
38692
 
38638
- /**
38639
- * @private
38640
- */ const getItem = (node, root, tag = 'a')=>_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(node, (elm)=>_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(elm, tag), root);
38641
- /**
38642
- * @private
38643
- */ const elementToItem = (elm, elementsMap)=>{
38644
- const { key } = elm.dataset, { item } = elementsMap[key || ''];
38645
- return item;
38646
- };
38693
+
38647
38694
  /**
38648
38695
  * @private
38649
38696
  */ function nativeListeners() {
@@ -38651,7 +38698,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
38651
38698
  const elmMap = (0,_builders_elements_map_js__WEBPACK_IMPORTED_MODULE_3__.elementsMap)(this);
38652
38699
  const self = this;
38653
38700
  self.e.on(self.tree.container, 'dragstart', (e)=>{
38654
- const a = getItem(e.target, self.container);
38701
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
38655
38702
  if (!a) {
38656
38703
  return;
38657
38704
  }
@@ -38660,39 +38707,39 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
38660
38707
  }
38661
38708
  }).on(self.tree.container, 'drop', (e)=>{
38662
38709
  if ((self.o.moveFile || self.o.moveFolder) && dragElement) {
38663
- let path = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(dragElement, '-path') || '';
38710
+ let path = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__.attr)(dragElement, '-path') || '';
38664
38711
  // move folder
38665
38712
  if (!self.o.moveFolder && dragElement.classList.contains(this.tree.getFullElName('item'))) {
38666
38713
  return false;
38667
38714
  }
38668
38715
  // move file
38669
38716
  if (dragElement.classList.contains(this.files.getFullElName('item'))) {
38670
- path += (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(dragElement, '-name');
38717
+ path += (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__.attr)(dragElement, '-name');
38671
38718
  if (!self.o.moveFile) {
38672
38719
  return false;
38673
38720
  }
38674
38721
  }
38675
- const a = getItem(e.target, self.container);
38722
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
38676
38723
  if (!a) {
38677
38724
  return;
38678
38725
  }
38679
- self.dataProvider.move(path, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(a, '-path') || '', (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(a, '-source') || '', dragElement.classList.contains(this.files.getFullElName('item'))).then(()=>(0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_4__.loadTree)(this)).catch(self.status);
38726
+ self.dataProvider.move(path, (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__.attr)(a, '-path') || '', (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__.attr)(a, '-source') || '', dragElement.classList.contains(this.files.getFullElName('item'))).then(()=>(0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_5__.loadTree)(this)).catch(self.status);
38680
38727
  dragElement = false;
38681
38728
  }
38682
38729
  }).on(self.files.container, 'contextmenu', (0,_builders_context_menu_js__WEBPACK_IMPORTED_MODULE_2__["default"])(self)).on(self.files.container, 'click', (e)=>{
38683
- if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
38730
+ if (!(0,_core_helpers_utils_ctrl_key_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
38684
38731
  this.state.activeElements = [];
38685
38732
  }
38686
38733
  }).on(self.files.container, 'click', (e)=>{
38687
- const a = getItem(e.target, self.container);
38734
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
38688
38735
  if (!a) {
38689
38736
  return;
38690
38737
  }
38691
- const item = elementToItem(a, elmMap);
38738
+ const item = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.elementToItem)(a, elmMap);
38692
38739
  if (!item) {
38693
38740
  return;
38694
38741
  }
38695
- if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
38742
+ if (!(0,_core_helpers_utils_ctrl_key_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
38696
38743
  self.state.activeElements = [
38697
38744
  item
38698
38745
  ];
@@ -38706,7 +38753,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
38706
38753
  return false;
38707
38754
  }).on(self.files.container, 'dragstart', (e)=>{
38708
38755
  if (self.o.moveFile) {
38709
- const a = getItem(e.target, self.container);
38756
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
38710
38757
  if (!a) {
38711
38758
  return;
38712
38759
  }
@@ -40013,7 +40060,8 @@ function replaceOldTags(elm) {
40013
40060
  /* harmony import */ var _array_to_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4510);
40014
40061
  /* harmony import */ var _checker_is_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70799);
40015
40062
  /* harmony import */ var _string_camel_case_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(87058);
40016
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43555);
40063
+ /* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
40064
+ /* harmony import */ var _error_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89890);
40017
40065
  /*!
40018
40066
  * Jodit Editor (https://xdsoft.net/jodit/)
40019
40067
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -40024,6 +40072,7 @@ function replaceOldTags(elm) {
40024
40072
 
40025
40073
 
40026
40074
 
40075
+
40027
40076
  let temp = 1;
40028
40077
  const $$temp = ()=>{
40029
40078
  temp++;
@@ -40068,7 +40117,7 @@ const $$temp = ()=>{
40068
40117
  root = root.container;
40069
40118
  }
40070
40119
  return $$('[ref],[data-ref]', root).reduce((def, child)=>{
40071
- const key = (0,_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(child, '-ref');
40120
+ const key = (0,_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(child, '-ref');
40072
40121
  if (key && (0,_checker_is_string_js__WEBPACK_IMPORTED_MODULE_3__.isString)(key)) {
40073
40122
  def[(0,_string_camel_case_js__WEBPACK_IMPORTED_MODULE_4__.camelCase)(key)] = child;
40074
40123
  def[key] = child;
@@ -40113,12 +40162,12 @@ const $$temp = ()=>{
40113
40162
  try {
40114
40163
  resolved = od.querySelector(element);
40115
40164
  } catch (_a) {
40116
- throw (0,_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('String "' + element + '" should be valid HTML selector');
40165
+ throw (0,_error_index_js__WEBPACK_IMPORTED_MODULE_6__.error)('String "' + element + '" should be valid HTML selector');
40117
40166
  }
40118
40167
  }
40119
40168
  // Duck checking
40120
40169
  if (!resolved || typeof resolved !== 'object' || !_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isElement(resolved) || !resolved.cloneNode) {
40121
- throw (0,_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Element "' + element + '" should be string or HTMLElement instance');
40170
+ throw (0,_error_index_js__WEBPACK_IMPORTED_MODULE_6__.error)('Element "' + element + '" should be string or HTMLElement instance');
40122
40171
  }
40123
40172
  return resolved;
40124
40173
  }
@@ -40540,18 +40589,17 @@ __webpack_require__.r(__webpack_exports__);
40540
40589
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
40541
40590
  /* harmony export */ isMarker: function() { return /* binding */ isMarker; }
40542
40591
  /* harmony export */ });
40543
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
40544
- /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
40592
+ /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
40545
40593
  /*!
40546
40594
  * Jodit Editor (https://xdsoft.net/jodit/)
40547
40595
  * Released under MIT see LICENSE.txt in the project root for license information.
40548
40596
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
40549
40597
  */
40550
-
40551
40598
  /**
40552
40599
  * Define element is selection helper
40600
+ * @deprecated use Dom.isMarker instead
40553
40601
  */ function isMarker(elm) {
40554
- return _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isNode(elm) && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(elm, 'span') && elm.hasAttribute('data-' + _constants_js__WEBPACK_IMPORTED_MODULE_0__.MARKER_CLASS);
40602
+ return _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isMarker(elm);
40555
40603
  }
40556
40604
 
40557
40605
 
@@ -41297,15 +41345,26 @@ Dialog = Dialog_1 = __decorate([
41297
41345
  /* harmony export */ ToolbarButton: function() { return /* binding */ ToolbarButton; }
41298
41346
  /* harmony export */ });
41299
41347
  /* harmony import */ var _core_component_statuses_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78213);
41300
- /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
41301
- /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22732);
41302
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
41303
- /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62843);
41304
- /* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(72157);
41305
- /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12153);
41306
- /* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(56917);
41307
- /* harmony import */ var _collection_collection_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(11676);
41308
- /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(21491);
41348
+ /* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
41349
+ /* harmony import */ var _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33433);
41350
+ /* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87325);
41351
+ /* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37133);
41352
+ /* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2748);
41353
+ /* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(68345);
41354
+ /* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23282);
41355
+ /* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(19306);
41356
+ /* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(72430);
41357
+ /* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70799);
41358
+ /* harmony import */ var _core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(56175);
41359
+ /* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(87058);
41360
+ /* harmony import */ var _core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38837);
41361
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(29960);
41362
+ /* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(37790);
41363
+ /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(62843);
41364
+ /* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(72157);
41365
+ /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(12153);
41366
+ /* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(56917);
41367
+ /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(21491);
41309
41368
  function _define_property(obj, key, value) {
41310
41369
  if (key in obj) {
41311
41370
  Object.defineProperty(obj, key, {
@@ -41378,18 +41437,31 @@ function _object_spread_props(target, source) {
41378
41437
 
41379
41438
 
41380
41439
 
41381
- let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.UIButton {
41382
- /** @override */ className() {
41440
+
41441
+
41442
+
41443
+
41444
+
41445
+
41446
+
41447
+
41448
+
41449
+
41450
+
41451
+ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__.UIButton {
41452
+ className() {
41383
41453
  return 'ToolbarButton';
41384
41454
  }
41385
41455
  /**
41386
41456
  * Get parent toolbar
41387
41457
  */ get toolbar() {
41388
- return this.closest(_collection_collection_js__WEBPACK_IMPORTED_MODULE_8__.ToolbarCollection);
41458
+ const ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_3__.getComponentClass)('ToolbarCollection');
41459
+ return this.closest(ToolbarCollection);
41389
41460
  }
41390
- /** @override **/ update() {
41461
+ update() {
41391
41462
  var _a, _b;
41392
- const { control, state } = this, tc = this.closest(_collection_collection_js__WEBPACK_IMPORTED_MODULE_8__.ToolbarCollection);
41463
+ const { control, state } = this;
41464
+ const tc = this.toolbar;
41393
41465
  if (!tc) {
41394
41466
  return;
41395
41467
  }
@@ -41405,7 +41477,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41405
41477
  * Calculates whether the button is active
41406
41478
  */ __calculateActivatedStatus(tc) {
41407
41479
  var _a, _b;
41408
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isJoditObject)(this.j) && !this.j.editorIsActive) {
41480
+ if ((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_8__.isJoditObject)(this.j) && !this.j.editorIsActive) {
41409
41481
  return false;
41410
41482
  }
41411
41483
  if ((_b = (_a = this.control).isActive) === null || _b === void 0 ? void 0 : _b.call(_a, this.j, this)) {
@@ -41428,33 +41500,33 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41428
41500
  }
41429
41501
  return Boolean(tc && tc.shouldBeDisabled(this));
41430
41502
  }
41431
- /** @override */ onChangeActivated() {
41432
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.button, 'aria-pressed', this.state.activated);
41503
+ onChangeActivated() {
41504
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.button, 'aria-pressed', this.state.activated);
41433
41505
  super.onChangeActivated();
41434
41506
  }
41435
- /** @override */ onChangeText() {
41436
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(this.control.template)) {
41507
+ onChangeText() {
41508
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(this.control.template)) {
41437
41509
  this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
41438
41510
  } else {
41439
41511
  super.onChangeText();
41440
41512
  }
41441
41513
  this.setMod('text-icons', Boolean(this.text.innerText.trim().length));
41442
41514
  }
41443
- /** @override */ onChangeTabIndex() {
41444
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.button, 'tabindex', this.state.tabIndex);
41515
+ onChangeTabIndex() {
41516
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.button, 'tabindex', this.state.tabIndex);
41445
41517
  }
41446
41518
  createContainer() {
41447
41519
  const cn = this.componentName;
41448
41520
  const container = this.j.c.span(cn);
41449
41521
  const button = super.createContainer();
41450
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
41522
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(container, 'role', 'listitem');
41451
41523
  button.classList.remove(cn);
41452
41524
  button.classList.add(cn + '__button');
41453
41525
  Object.defineProperty(button, 'component', {
41454
41526
  value: this
41455
41527
  });
41456
41528
  container.appendChild(button);
41457
- const trigger = this.j.c.fromHTML(`<span role="trigger" class="${cn}__trigger">${_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_6__.Icon.get('chevron')}</span>`);
41529
+ const trigger = this.j.c.fromHTML(`<span role="trigger" class="${cn}__trigger">${_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_18__.Icon.get('chevron')}</span>`);
41458
41530
  // For caching
41459
41531
  button.appendChild(trigger);
41460
41532
  return container;
@@ -41467,15 +41539,15 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41467
41539
  if (this.state.hasTrigger) {
41468
41540
  this.container.appendChild(this.trigger);
41469
41541
  } else {
41470
- _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(this.trigger);
41542
+ _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_5__.Dom.safeRemove(this.trigger);
41471
41543
  }
41472
41544
  this.setMod('with-trigger', this.state.hasTrigger || null);
41473
41545
  }
41474
41546
  /** @override */ onChangeDisabled() {
41475
41547
  const disabled = this.state.disabled ? 'disabled' : null;
41476
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.trigger, 'disabled', disabled);
41477
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.button, 'disabled', disabled);
41478
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'disabled', disabled);
41548
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.trigger, 'disabled', disabled);
41549
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.button, 'disabled', disabled);
41550
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.container, 'disabled', disabled);
41479
41551
  }
41480
41552
  /**
41481
41553
  * Init constant data from control
@@ -41485,22 +41557,22 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41485
41557
  this.updateSize();
41486
41558
  state.name = ctr.name;
41487
41559
  const { textIcons } = this.j.o;
41488
- if (textIcons === true || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
41489
- state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.UIButtonState)().icon;
41560
+ if (textIcons === true || (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
41561
+ state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__.UIButtonState)().icon;
41490
41562
  state.text = ctr.text || ctr.name;
41491
41563
  } else {
41492
41564
  if (ctr.iconURL) {
41493
41565
  state.icon.iconURL = ctr.iconURL;
41494
41566
  } else {
41495
41567
  const name = ctr.icon || ctr.name;
41496
- state.icon.name = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_6__.Icon.exists(name) || ((_a = this.j.o.extraIcons) === null || _a === void 0 ? void 0 : _a[name]) ? name : '';
41568
+ state.icon.name = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_18__.Icon.exists(name) || ((_a = this.j.o.extraIcons) === null || _a === void 0 ? void 0 : _a[name]) ? name : '';
41497
41569
  }
41498
41570
  if (!ctr.iconURL && !state.icon.name) {
41499
41571
  state.text = ctr.text || ctr.name;
41500
41572
  }
41501
41573
  }
41502
41574
  if (ctr.tooltip) {
41503
- state.tooltip = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
41575
+ state.tooltip = (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
41504
41576
  }
41505
41577
  state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
41506
41578
  }
@@ -41519,15 +41591,15 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41519
41591
  if (ctr.list) {
41520
41592
  return this.__openControlList(ctr);
41521
41593
  }
41522
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
41594
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.popup)) {
41523
41595
  const popup = this.openPopup();
41524
41596
  popup.parentElement = this;
41525
41597
  try {
41526
- if (this.j.e.fire((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
41598
+ if (this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_12__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
41527
41599
  const target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
41528
41600
  const elm = ctr.popup(this.j, target, this.__closePopup, this);
41529
41601
  if (elm) {
41530
- popup.setContent((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm).open(()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
41602
+ popup.setContent((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(elm) ? this.j.c.fromHTML(elm) : elm).open(()=>(0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_11__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
41531
41603
  } else {
41532
41604
  this.__closePopup();
41533
41605
  }
@@ -41540,26 +41612,28 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41540
41612
  * Fired after the popup was opened for some control button
41541
41613
  */ /**
41542
41614
  * Close all opened popups
41543
- */ this.j.e.fire((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`after-${ctr.name}-open-popup`), popup.container);
41615
+ */ this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_12__.camelCase)(`after-${ctr.name}-open-popup`), popup.container);
41544
41616
  }
41545
41617
  }
41546
41618
  /**
41547
41619
  * Create an open popup list
41548
41620
  */ __openControlList(control) {
41549
41621
  var _a;
41550
- const controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = (key)=>(0,_core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_5__.findControlType)(key, controls);
41551
- const list = control.list, menu = this.openPopup(), toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_9__.makeCollection)(this.j);
41622
+ const controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = (key)=>(0,_core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_17__.findControlType)(key, controls);
41623
+ const list = control.list;
41624
+ const menu = this.openPopup();
41625
+ const toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_20__.makeCollection)(this.j);
41552
41626
  menu.parentElement = this;
41553
41627
  toolbar.parentElement = menu;
41554
41628
  toolbar.mode = 'vertical';
41555
- const isListItem = (key)=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(key) && 'title' in key && 'value' in key;
41629
+ const isListItem = (key)=>(0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_9__.isPlainObject)(key) && 'title' in key && 'value' in key;
41556
41630
  const getButton = (key, value)=>{
41557
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(value) && getControl(value)) {
41631
+ if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(value) && getControl(value)) {
41558
41632
  return _object_spread({
41559
41633
  name: value.toString()
41560
41634
  }, getControl(value));
41561
41635
  }
41562
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(key) && getControl(key)) {
41636
+ if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(key) && getControl(key)) {
41563
41637
  return _object_spread({
41564
41638
  name: key.toString()
41565
41639
  }, getControl(key), typeof value === 'object' ? value : {});
@@ -41590,26 +41664,26 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41590
41664
  value
41591
41665
  ]
41592
41666
  };
41593
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(value)) {
41667
+ if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(value)) {
41594
41668
  childControl.text = value;
41595
41669
  }
41596
41670
  return childControl;
41597
41671
  };
41598
- toolbar.build((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(list) ? list.map(getButton) : (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.keys)(list, false).map((key)=>getButton(key, list[key])), this.target);
41599
- menu.setContent(toolbar).open(()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
41672
+ toolbar.build((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_6__.isArray)(list) ? list.map(getButton) : (0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_15__.keys)(list, false).map((key)=>getButton(key, list[key])), this.target);
41673
+ menu.setContent(toolbar).open(()=>(0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_11__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
41600
41674
  this.state.activated = true;
41601
41675
  }
41602
41676
  onOutsideClick(e) {
41603
41677
  if (!this.openedPopup) {
41604
41678
  return;
41605
41679
  }
41606
- if (!e || !_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(e.target) || !_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(this.container, e.target) && !this.openedPopup.isOwnClick(e)) {
41680
+ if (!e || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_5__.Dom.isNode(e.target) || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_5__.Dom.isOrContains(this.container, e.target) && !this.openedPopup.isOwnClick(e)) {
41607
41681
  this.__closePopup();
41608
41682
  }
41609
41683
  }
41610
41684
  openPopup() {
41611
41685
  this.__closePopup();
41612
- this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.j, false);
41686
+ this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_19__.Popup(this.j, false);
41613
41687
  this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick);
41614
41688
  return this.openedPopup;
41615
41689
  }
@@ -41627,7 +41701,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41627
41701
  */ onClick(originalEvent) {
41628
41702
  var _a, _b, _c, _d, _e, _f, _g;
41629
41703
  const { control: ctr } = this;
41630
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.exec)) {
41704
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.exec)) {
41631
41705
  const target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
41632
41706
  const result = ctr.exec(this.j, target, {
41633
41707
  control: ctr,
@@ -41651,11 +41725,11 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41651
41725
  if (ctr.list) {
41652
41726
  return this.__openControlList(ctr);
41653
41727
  }
41654
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
41728
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.popup)) {
41655
41729
  return this.onTriggerClick(originalEvent);
41656
41730
  }
41657
41731
  if (ctr.command || ctr.name) {
41658
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.call)((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isJoditObject)(this.j) ? this.j.execCommand.bind(this.j) : this.j.od.execCommand.bind(this.j.od), ctr.command || ctr.name, false, ctr.args && ctr.args[0]);
41732
+ (0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_15__.call)((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_8__.isJoditObject)(this.j) ? this.j.execCommand.bind(this.j) : this.j.od.execCommand.bind(this.j.od), ctr.command || ctr.name, false, ctr.args && ctr.args[0]);
41659
41733
  this.j.e.fire('closeAllPopups');
41660
41734
  }
41661
41735
  }
@@ -41667,21 +41741,21 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41667
41741
  super(jodit);
41668
41742
  this.control = control;
41669
41743
  this.target = target;
41670
- this.state = _object_spread_props(_object_spread({}, (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.UIButtonState)()), {
41744
+ this.state = _object_spread_props(_object_spread({}, (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__.UIButtonState)()), {
41671
41745
  theme: 'toolbar',
41672
41746
  currentValue: '',
41673
41747
  hasTrigger: false
41674
41748
  });
41675
41749
  this.openedPopup = null;
41676
41750
  const button = this.getElm('button');
41677
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.assert)(button, 'Element button should exists');
41751
+ (0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_13__.assert)(button, 'Element button should exists');
41678
41752
  this.button = button;
41679
41753
  Object.defineProperty(button, 'component', {
41680
41754
  value: this,
41681
41755
  configurable: true
41682
41756
  });
41683
41757
  const trigger = this.getElm('trigger');
41684
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.assert)(trigger, 'Element trigger should exists');
41758
+ (0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_13__.assert)(trigger, 'Element trigger should exists');
41685
41759
  this.trigger = trigger;
41686
41760
  trigger.remove();
41687
41761
  // Prevent lost focus
@@ -41702,24 +41776,24 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
41702
41776
  }
41703
41777
  };
41704
41778
  __decorate([
41705
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cacheHTML
41779
+ _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_2__.cacheHTML
41706
41780
  ], ToolbarButton.prototype, "createContainer", null);
41707
41781
  __decorate([
41708
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.hasTrigger', {
41782
+ (0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__.watch)('state.hasTrigger', {
41709
41783
  immediately: false
41710
41784
  })
41711
41785
  ], ToolbarButton.prototype, "onChangeHasTrigger", null);
41712
41786
  __decorate([
41713
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('trigger:click')
41787
+ (0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__.watch)('trigger:click')
41714
41788
  ], ToolbarButton.prototype, "onTriggerClick", null);
41715
41789
  __decorate([
41716
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
41790
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
41717
41791
  ], ToolbarButton.prototype, "onOutsideClick", null);
41718
41792
  __decorate([
41719
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
41793
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
41720
41794
  ], ToolbarButton.prototype, "__closePopup", null);
41721
41795
  ToolbarButton = __decorate([
41722
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.component
41796
+ _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_3__.component
41723
41797
  ], ToolbarButton);
41724
41798
 
41725
41799
 
@@ -41766,8 +41840,8 @@ ToolbarButton = __decorate([
41766
41840
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
41767
41841
  /* harmony export */ History: function() { return /* binding */ History; }
41768
41842
  /* harmony export */ });
41769
- /* harmony import */ var _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91907);
41770
- /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
41843
+ /* harmony import */ var _core_component_view_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80480);
41844
+ /* harmony import */ var _core_decorators_debounce_debounce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81577);
41771
41845
  /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6441);
41772
41846
  /* harmony import */ var _command_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(92643);
41773
41847
  /* harmony import */ var _snapshot_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52604);
@@ -41795,7 +41869,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.history = {
41795
41869
  };
41796
41870
  /**
41797
41871
  * The module monitors the status of the editor and creates / deletes the required number of Undo / Redo shots .
41798
- */ class History extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.ViewComponent {
41872
+ */ class History extends _core_component_view_component_js__WEBPACK_IMPORTED_MODULE_0__.ViewComponent {
41799
41873
  /** @override */ className() {
41800
41874
  return 'History';
41801
41875
  }
@@ -41918,7 +41992,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.history = {
41918
41992
  }
41919
41993
  }
41920
41994
  __decorate([
41921
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
41995
+ (0,_core_decorators_debounce_debounce_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
41922
41996
  ], History.prototype, "onChange", null);
41923
41997
 
41924
41998
 
@@ -44125,7 +44199,8 @@ const getClassName = (obj)=>{
44125
44199
  /* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
44126
44200
  /* harmony import */ var jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10058);
44127
44201
  /* harmony import */ var jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97420);
44128
- /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30717);
44202
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_calc_list_levels__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31269);
44203
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43712);
44129
44204
  /*!
44130
44205
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
44131
44206
  * See LICENSE.md in the project root for license information.
@@ -44134,6 +44209,7 @@ const getClassName = (obj)=>{
44134
44209
 
44135
44210
 
44136
44211
 
44212
+
44137
44213
  function convertToList(elm) {
44138
44214
  if ((0,jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_2__.isPseudoLeaf)(elm)) {
44139
44215
  elm.name = 'li';
@@ -44141,7 +44217,7 @@ function convertToList(elm) {
44141
44217
  const symbol = getSymbol(elm), listType = /[\da-np-zA-NP-Z].?/.test(symbol) ? 'ol' : 'ul', listStyle = defineOrderedListStyle(symbol, listType);
44142
44218
  elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.TYPE_KEY] = listType;
44143
44219
  elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.STYLE_KEY] = listStyle;
44144
- (0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_3__.calcListLevels)(elm);
44220
+ (0,jodit_pro_plugins_paste_from_word_helpers_calc_list_levels__WEBPACK_IMPORTED_MODULE_3__.calcListLevels)(elm);
44145
44221
  moveUp(elm);
44146
44222
  const { parent } = elm;
44147
44223
  // After move up we inside List or Leaf
@@ -44206,7 +44282,7 @@ function defineOrderedListStyle(symbol, listType) {
44206
44282
  const getSymbol = (elm)=>elm.textBetween((n)=>n.isComment && /\[if.*supportLists.*]/.test((0,jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_2__.html)(n)), (n)=>n.isComment && /\[endif]/.test((0,jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_2__.html)(n))).replace(/&nbsp;/g, '').replace((0,jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_0__.SPACE_REG_EXP)(), '');
44207
44283
  function wrapInNewList(elm, listType, symbol, listStyle) {
44208
44284
  const newList = elm.wrap(listType);
44209
- newList.attributes['start'] = (0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_3__.calcStartBySymbol)(symbol);
44285
+ newList.attributes['start'] = (0,jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_4__.calcStartBySymbol)(symbol);
44210
44286
  newList.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.LEVEL_KEY] = elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.LEVEL_KEY];
44211
44287
  newList.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.STYLE_KEY] = elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.STYLE_KEY];
44212
44288
  newList.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.STYLE_VALID_KEY] = elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.STYLE_KEY];
@@ -45304,9 +45380,10 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('cleanHtml', clean
45304
45380
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45305
45381
  /* harmony export */ wrapList: function() { return /* binding */ wrapList; }
45306
45382
  /* harmony export */ });
45307
- /* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22732);
45308
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63687);
45309
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(77361);
45383
+ /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
45384
+ /* harmony import */ var _is_same_attributes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94466);
45385
+ /* harmony import */ var _toggle_attributes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44253);
45386
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(77361);
45310
45387
  /*!
45311
45388
  * Jodit Editor (https://xdsoft.net/jodit/)
45312
45389
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -45314,32 +45391,33 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('cleanHtml', clean
45314
45391
  */
45315
45392
 
45316
45393
 
45394
+
45317
45395
  /**
45318
45396
  * Replaces non-leaf items with leaf items and either creates a new list or
45319
45397
  * adds a new item to the nearest old list
45320
45398
  * @private
45321
45399
  */ function wrapList(commitStyle, wrapper, jodit) {
45322
- const result = jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_2__._PREFIX}BeforeWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_2__.REPLACE, wrapper, commitStyle);
45323
- const newWrapper = result !== null && result !== void 0 ? result : _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.replace(wrapper, 'li', jodit.createInside);
45400
+ const result = jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_3__._PREFIX}BeforeWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_3__.REPLACE, wrapper, commitStyle);
45401
+ const newWrapper = result !== null && result !== void 0 ? result : _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.replace(wrapper, 'li', jodit.createInside);
45324
45402
  const prev = newWrapper.previousElementSibling;
45325
45403
  const next = newWrapper.nextElementSibling;
45326
- let list = _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(prev, commitStyle.element) ? prev : null;
45327
- list !== null && list !== void 0 ? list : list = _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(next, commitStyle.element) ? next : null;
45328
- if (!_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isList(list) || !(0,_index_js__WEBPACK_IMPORTED_MODULE_1__.isSameAttributes)(list, commitStyle.options.attributes)) {
45404
+ let list = _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(prev, commitStyle.element) ? prev : null;
45405
+ list !== null && list !== void 0 ? list : list = _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(next, commitStyle.element) ? next : null;
45406
+ if (!_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isList(list) || !(0,_is_same_attributes_js__WEBPACK_IMPORTED_MODULE_1__.isSameAttributes)(list, commitStyle.options.attributes)) {
45329
45407
  list = jodit.createInside.element(commitStyle.element);
45330
- (0,_index_js__WEBPACK_IMPORTED_MODULE_1__.toggleAttributes)(commitStyle, list, jodit, _constants_js__WEBPACK_IMPORTED_MODULE_2__.INITIAL);
45331
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.before(newWrapper, list);
45408
+ (0,_toggle_attributes_js__WEBPACK_IMPORTED_MODULE_2__.toggleAttributes)(commitStyle, list, jodit, _constants_js__WEBPACK_IMPORTED_MODULE_3__.INITIAL);
45409
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.before(newWrapper, list);
45332
45410
  }
45333
45411
  if (prev === list) {
45334
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, newWrapper);
45412
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, newWrapper);
45335
45413
  } else {
45336
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(list, newWrapper);
45414
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(list, newWrapper);
45337
45415
  }
45338
- if (_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(list.nextElementSibling, commitStyle.element) && (0,_index_js__WEBPACK_IMPORTED_MODULE_1__.elementsEqualAttributes)(list, list.nextElementSibling)) {
45339
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, Array.from(list.nextElementSibling.childNodes));
45340
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(list.nextElementSibling);
45416
+ if (_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(list.nextElementSibling, commitStyle.element) && (0,_is_same_attributes_js__WEBPACK_IMPORTED_MODULE_1__.elementsEqualAttributes)(list, list.nextElementSibling)) {
45417
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, Array.from(list.nextElementSibling.childNodes));
45418
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(list.nextElementSibling);
45341
45419
  }
45342
- jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_2__._PREFIX}AfterWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_2__.WRAP, list, commitStyle);
45420
+ jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_3__._PREFIX}AfterWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_3__.WRAP, list, commitStyle);
45343
45421
  return list;
45344
45422
  }
45345
45423
 
@@ -45492,7 +45570,7 @@ __webpack_require__.r(__webpack_exports__);
45492
45570
  * ```
45493
45571
  * @packageDocumentation
45494
45572
  * @module constants
45495
- */ const APP_VERSION = "4.8.14";
45573
+ */ const APP_VERSION = "4.9.3";
45496
45574
  // prettier-ignore
45497
45575
  const ES = "es2015";
45498
45576
  const IS_ES_MODERN = true;
@@ -48060,13 +48138,19 @@ const dataBind = (elm, key, value)=>{
48060
48138
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
48061
48139
 
48062
48140
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
48063
- /* harmony export */ component: function() { return /* binding */ component; }
48141
+ /* harmony export */ component: function() { return /* binding */ component; },
48142
+ /* harmony export */ getComponentClass: function() { return /* binding */ getComponentClass; }
48064
48143
  /* harmony export */ });
48144
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
48145
+ /* harmony import */ var _helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80568);
48065
48146
  /*!
48066
48147
  * Jodit Editor (https://xdsoft.net/jodit/)
48067
48148
  * Released under MIT see LICENSE.txt in the project root for license information.
48068
48149
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
48069
- */ /**
48150
+ */
48151
+
48152
+ const componentRegistry = new Map();
48153
+ /**
48070
48154
  * Decorate components and set status isReady after constructor
48071
48155
  * @param constructorFunction - Component constructor class
48072
48156
  */ function component(constructorFunction) {
@@ -48085,8 +48169,16 @@ const dataBind = (elm, key, value)=>{
48085
48169
  }
48086
48170
  }
48087
48171
  }
48172
+ const name = (0,_helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_1__.getClassName)(constructorFunction.prototype);
48173
+ if (componentRegistry.has(name) && !_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
48174
+ throw new Error(`Component with name "${name}" is already registered`);
48175
+ }
48176
+ componentRegistry.set(name, newConstructorFunction);
48088
48177
  return newConstructorFunction;
48089
48178
  }
48179
+ function getComponentClass(name) {
48180
+ return componentRegistry.get(name);
48181
+ }
48090
48182
 
48091
48183
 
48092
48184
  /***/ }),
@@ -48542,7 +48634,6 @@ __webpack_require__.r(__webpack_exports__);
48542
48634
  /* harmony export */ abort: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.abort; },
48543
48635
  /* harmony export */ connection: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.connection; },
48544
48636
  /* harmony export */ error: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.error; },
48545
- /* harmony export */ isAbort: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.isAbort; },
48546
48637
  /* harmony export */ options: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.options; }
48547
48638
  /* harmony export */ });
48548
48639
  /* harmony import */ var _error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82760);
@@ -50301,23 +50392,15 @@ __webpack_require__.r(__webpack_exports__);
50301
50392
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
50302
50393
 
50303
50394
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
50304
- /* harmony export */ abort: function() { return /* binding */ abort; },
50305
- /* harmony export */ isAbort: function() { return /* binding */ isAbort; }
50395
+ /* harmony export */ abort: function() { return /* binding */ abort; }
50306
50396
  /* harmony export */ });
50307
- /* harmony import */ var _checker_is_abort_error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12045);
50308
50397
  /*!
50309
50398
  * Jodit Editor (https://xdsoft.net/jodit/)
50310
50399
  * Released under MIT see LICENSE.txt in the project root for license information.
50311
50400
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
50312
- */ /**
50313
- * @module helpers/utils
50314
- */
50315
- function abort(message = 'Aborted') {
50401
+ */ function abort(message = 'Aborted') {
50316
50402
  return new DOMException(message, 'AbortError');
50317
50403
  }
50318
- /**
50319
- * @deprecated use `isAbortError` instead
50320
- */ const isAbort = _checker_is_abort_error_js__WEBPACK_IMPORTED_MODULE_0__.isAbortError;
50321
50404
 
50322
50405
 
50323
50406
  /***/ }),