jodit-pro 4.8.13 → 4.9.2

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/es2021/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.13
4
+ * Version: v4.9.2
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
  /***/ }),
@@ -2663,7 +2666,6 @@ function clearUseIndexedDBCache() {
2663
2666
  /* harmony import */ var jodit_esm_core_helpers_utils_append_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63799);
2664
2667
  /* harmony import */ var jodit_esm_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
2665
2668
  /* harmony import */ var jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(86019);
2666
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33730);
2667
2669
  /*!
2668
2670
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
2669
2671
  * See LICENSE.md in the project root for license information.
@@ -2674,8 +2676,10 @@ function clearUseIndexedDBCache() {
2674
2676
 
2675
2677
 
2676
2678
 
2677
-
2678
2679
  class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2680
+ static make(element, options) {
2681
+ return new this(element, options);
2682
+ }
2679
2683
  beforeInitHook() {
2680
2684
  if (jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_PROD && !jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_TEST && this.o.loadExternalConfig) {
2681
2685
  return (0,jodit_esm_core_helpers_utils_append_script__WEBPACK_IMPORTED_MODULE_1__.appendScriptAsync)(this, this.basePath + 'config.js');
@@ -2720,9 +2724,19 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2720
2724
  /* harmony export */ });
2721
2725
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
2722
2726
  /* harmony import */ var _helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4510);
2723
- /* harmony import */ var _helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27613);
2724
- /* harmony import */ var _helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49055);
2725
- /* harmony import */ var _helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43555);
2727
+ /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68345);
2728
+ /* harmony import */ var _helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23282);
2729
+ /* harmony import */ var _helpers_checker_is_html_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58487);
2730
+ /* harmony import */ var _helpers_checker_is_set_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(42320);
2731
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(70799);
2732
+ /* harmony import */ var _helpers_checker_is_void_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(86068);
2733
+ /* harmony import */ var _helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49055);
2734
+ /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38837);
2735
+ /* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(29960);
2736
+ /* harmony import */ var _helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(41180);
2737
+ /* harmony import */ var _helpers_utils_data_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(86583);
2738
+ /* harmony import */ var _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(89890);
2739
+ /* harmony import */ var _helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(37790);
2726
2740
  /*!
2727
2741
  * Jodit Editor (https://xdsoft.net/jodit/)
2728
2742
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -2733,6 +2747,16 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2733
2747
 
2734
2748
 
2735
2749
 
2750
+
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+
2736
2760
  /**
2737
2761
  * Module for working with DOM
2738
2762
  */ class Dom {
@@ -2762,7 +2786,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2762
2786
  return Dom.__wrapElements(tag, editor, first, last);
2763
2787
  }
2764
2788
  static __wrapElements(tag, editor, first, last) {
2765
- const wrapper = (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(tag) ? editor.createInside.element(tag) : tag;
2789
+ const wrapper = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(tag) ? editor.createInside.element(tag) : tag;
2766
2790
  if (first.parentNode) {
2767
2791
  first.parentNode.insertBefore(wrapper, first);
2768
2792
  }
@@ -2807,10 +2831,10 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2807
2831
  /**
2808
2832
  * Wrap node inside another node
2809
2833
  */ static wrap(current, tag, create) {
2810
- const wrapper = (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(tag) ? create.element(tag) : tag;
2834
+ const wrapper = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(tag) ? create.element(tag) : tag;
2811
2835
  if (Dom.isNode(current)) {
2812
2836
  if (!current.parentNode) {
2813
- throw (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.error)('Element should be in DOM');
2837
+ throw (0,_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_13__.error)('Element should be in DOM');
2814
2838
  }
2815
2839
  current.parentNode.insertBefore(wrapper, current);
2816
2840
  wrapper.appendChild(current);
@@ -2851,13 +2875,13 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2851
2875
  }
2852
2876
  }
2853
2877
  static replace(elm, newTagName, create, withAttributes = false, notMoveContent = false) {
2854
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isHTML)(newTagName)) {
2855
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.assert)(create, 'Need create instance for new tag');
2878
+ if ((0,_helpers_checker_is_html_js__WEBPACK_IMPORTED_MODULE_4__.isHTML)(newTagName)) {
2879
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_9__.assert)(create, 'Need create instance for new tag');
2856
2880
  newTagName = create.fromHTML(newTagName);
2857
2881
  }
2858
2882
  let tag;
2859
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString)(newTagName)) {
2860
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.assert)(create, 'Need create instance for new tag');
2883
+ if ((0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(newTagName)) {
2884
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_9__.assert)(create, 'Need create instance for new tag');
2861
2885
  tag = create.element(newTagName);
2862
2886
  } else {
2863
2887
  tag = newTagName;
@@ -2898,12 +2922,12 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2898
2922
  return true;
2899
2923
  }
2900
2924
  let cond;
2901
- if (!(0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(condNoEmptyElement)) {
2925
+ if (!(0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(condNoEmptyElement)) {
2902
2926
  cond = (elm)=>condNoEmptyElement.has(elm.nodeName.toLowerCase());
2903
2927
  } else {
2904
2928
  cond = condNoEmptyElement;
2905
2929
  }
2906
- const emptyText = (node)=>node.nodeValue == null || (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(node.nodeValue).length === 0;
2930
+ const emptyText = (node)=>node.nodeValue == null || (0,_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_8__.trim)(node.nodeValue).length === 0;
2907
2931
  if (Dom.isText(node)) {
2908
2932
  return emptyText(node);
2909
2933
  }
@@ -2917,7 +2941,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2917
2941
  * Returns true if it is a DOM node
2918
2942
  */ static isNode(object) {
2919
2943
  // Duck-typing
2920
- 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));
2944
+ 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));
2921
2945
  }
2922
2946
  /**
2923
2947
  * Check if element is table cell
@@ -2943,7 +2967,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2943
2967
  * Check the `node` is a block element
2944
2968
  * @param node - Object to check
2945
2969
  */ static isBlock(node) {
2946
- 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);
2970
+ 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);
2947
2971
  }
2948
2972
  /**
2949
2973
  * Check if element is text node
@@ -2991,12 +3015,12 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
2991
3015
  return Dom.isElement(node) && !/^(BR|HR)$/i.test(node.tagName) && [
2992
3016
  'inline',
2993
3017
  'inline-block'
2994
- ].indexOf((0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(node, 'display').toString()) !== -1;
3018
+ ].indexOf((0,_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_11__.css)(node, 'display').toString()) !== -1;
2995
3019
  }
2996
3020
  /**
2997
3021
  * It's block and it can be split
2998
3022
  */ static canSplitBlock(node) {
2999
- 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);
3023
+ 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);
3000
3024
  }
3001
3025
  /**
3002
3026
  * Get last matched node inside root
@@ -3151,13 +3175,13 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3151
3175
  */ static findNotEmptySibling(node, left) {
3152
3176
  return Dom.findSibling(node, left, (n)=>{
3153
3177
  var _a;
3154
- 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));
3178
+ 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));
3155
3179
  });
3156
3180
  }
3157
3181
  /**
3158
3182
  * Returns the nearest non-empty neighbor
3159
3183
  */ static findNotEmptyNeighbor(node, left, root) {
3160
- 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);
3184
+ 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);
3161
3185
  }
3162
3186
  static sibling(node, left) {
3163
3187
  return left ? node.previousSibling : node.nextSibling;
@@ -3186,10 +3210,10 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3186
3210
  static closest(node, tagsOrCondition, root) {
3187
3211
  let condition;
3188
3212
  const lc = (s)=>s.toLowerCase();
3189
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(tagsOrCondition)) {
3213
+ if ((0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(tagsOrCondition)) {
3190
3214
  condition = tagsOrCondition;
3191
- } else if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(tagsOrCondition) || (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isSet)(tagsOrCondition)) {
3192
- const set = (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isSet)(tagsOrCondition) ? tagsOrCondition : new Set(tagsOrCondition.map(lc));
3215
+ } 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)) {
3216
+ const set = (0,_helpers_checker_is_set_js__WEBPACK_IMPORTED_MODULE_5__.isSet)(tagsOrCondition) ? tagsOrCondition : new Set(tagsOrCondition.map(lc));
3193
3217
  condition = (tag)=>Boolean(tag && set.has(lc(tag.nodeName)));
3194
3218
  } else {
3195
3219
  condition = (tag)=>Boolean(tag && lc(tagsOrCondition) === lc(tag.nodeName));
@@ -3248,7 +3272,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3248
3272
  root.insertBefore(newElement, root.firstChild);
3249
3273
  }
3250
3274
  static append(root, newElement) {
3251
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(newElement)) {
3275
+ if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(newElement)) {
3252
3276
  newElement.forEach((node)=>{
3253
3277
  this.append(root, node);
3254
3278
  });
@@ -3312,7 +3336,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3312
3336
  if (!node) {
3313
3337
  return;
3314
3338
  }
3315
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.dataBind)(node, '__old_display', node.style.display);
3339
+ (0,_helpers_utils_data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind)(node, '__old_display', node.style.display);
3316
3340
  node.style.display = 'none';
3317
3341
  }
3318
3342
  /**
@@ -3321,7 +3345,7 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3321
3345
  if (!node) {
3322
3346
  return;
3323
3347
  }
3324
- const display = (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.dataBind)(node, '__old_display');
3348
+ const display = (0,_helpers_utils_data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind)(node, '__old_display');
3325
3349
  if (node.style.display === 'none') {
3326
3350
  node.style.display = display || '';
3327
3351
  }
@@ -3347,8 +3371,8 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3347
3371
  /**
3348
3372
  * Marks an item as temporary
3349
3373
  */ static markTemporary(element, attributes) {
3350
- attributes && (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(element, attributes);
3351
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR, true);
3374
+ attributes && (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__.attr)(element, attributes);
3375
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR, true);
3352
3376
  return element;
3353
3377
  }
3354
3378
  /**
@@ -3357,7 +3381,12 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3357
3381
  if (!Dom.isElement(element)) {
3358
3382
  return false;
3359
3383
  }
3360
- 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';
3384
+ return Dom.isMarker(element) || (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_10__.attr)(element, _constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR) === 'true';
3385
+ }
3386
+ /**
3387
+ * Define element is selection helper
3388
+ */ static isMarker(elm) {
3389
+ return Dom.isNode(elm) && Dom.isTag(elm, 'span') && elm.hasAttribute('data-' + _constants_js__WEBPACK_IMPORTED_MODULE_0__.MARKER_CLASS);
3361
3390
  }
3362
3391
  /**
3363
3392
  * Replace temporary elements from string
@@ -3366,8 +3395,9 @@ class JoditPro extends jodit_esm_index__WEBPACK_IMPORTED_MODULE_3__.Jodit {
3366
3395
  }
3367
3396
  /**
3368
3397
  * Get temporary list
3398
+ * @deprecated
3369
3399
  */ static temporaryList(root) {
3370
- return (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.$$)(`[${_constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR}]`, root);
3400
+ return (0,_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(root.querySelectorAll(`[${_constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR}]`));
3371
3401
  }
3372
3402
  constructor(){
3373
3403
  throw new Error('Dom is static module');
@@ -6683,14 +6713,16 @@ const formTemplate = (editor)=>{
6683
6713
  /* harmony export */ UIButtonState: function() { return /* binding */ UIButtonState; }
6684
6714
  /* harmony export */ });
6685
6715
  /* harmony import */ var _component_statuses_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78213);
6686
- /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
6687
- /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
6688
- /* harmony import */ var _helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23282);
6689
- /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(70799);
6690
- /* harmony import */ var _helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43555);
6691
- /* harmony import */ var _element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48538);
6692
- /* harmony import */ var _group_list_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24536);
6693
- /* harmony import */ var _icon_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12153);
6716
+ /* harmony import */ var _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33433);
6717
+ /* harmony import */ var _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(87325);
6718
+ /* harmony import */ var _decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37133);
6719
+ /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2748);
6720
+ /* harmony import */ var _helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23282);
6721
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(70799);
6722
+ /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38837);
6723
+ /* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(29960);
6724
+ /* harmony import */ var _element_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48538);
6725
+ /* harmony import */ var _icon_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(12153);
6694
6726
  /*!
6695
6727
  * Jodit Editor (https://xdsoft.net/jodit/)
6696
6728
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -6710,6 +6742,8 @@ const formTemplate = (editor)=>{
6710
6742
 
6711
6743
 
6712
6744
 
6745
+
6746
+
6713
6747
  const UIButtonState = ()=>({
6714
6748
  size: 'middle',
6715
6749
  type: 'button',
@@ -6728,7 +6762,7 @@ const UIButtonState = ()=>({
6728
6762
  text: '',
6729
6763
  tabIndex: undefined
6730
6764
  });
6731
- let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement {
6765
+ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_9__.UIElement {
6732
6766
  /** @override */ className() {
6733
6767
  return 'UIButton';
6734
6768
  }
@@ -6742,29 +6776,30 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
6742
6776
  * DOM container for text content
6743
6777
  */ get text() {
6744
6778
  const text = this.getElm('text');
6745
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.assert)(text, 'Text element not found');
6779
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_7__.assert)(text, 'Text element not found');
6746
6780
  return text;
6747
6781
  }
6748
6782
  /**
6749
6783
  * DOM container for icon
6750
6784
  */ get icon() {
6751
6785
  const icon = this.getElm('icon');
6752
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.assert)(icon, 'Icon element not found');
6786
+ (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_7__.assert)(icon, 'Icon element not found');
6753
6787
  return icon;
6754
6788
  }
6755
6789
  onChangeSize() {
6756
6790
  this.setMod('size', this.state.size);
6757
6791
  }
6758
6792
  onChangeType() {
6759
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'type', this.state.type);
6793
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'type', this.state.type);
6760
6794
  }
6761
6795
  onChangeRole() {
6762
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'role', this.state.role);
6796
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'role', this.state.role);
6763
6797
  }
6764
6798
  /**
6765
6799
  * Set size from a parent list
6766
6800
  */ updateSize() {
6767
- const pe = this.closest(_group_list_js__WEBPACK_IMPORTED_MODULE_7__.UIList);
6801
+ const UIList = (0,_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__.getComponentClass)('UIList');
6802
+ const pe = this.closest(UIList);
6768
6803
  if (pe) {
6769
6804
  this.state.size = pe.buttonSize;
6770
6805
  return;
@@ -6780,34 +6815,34 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
6780
6815
  this.setMod('text-icons', Boolean(this.state.text.trim().length));
6781
6816
  }
6782
6817
  onChangeDisabled() {
6783
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'disabled', this.state.disabled || null);
6818
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'disabled', this.state.disabled || null);
6784
6819
  }
6785
6820
  onChangeActivated() {
6786
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'aria-pressed', this.state.activated);
6821
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'aria-pressed', this.state.activated);
6787
6822
  }
6788
6823
  onChangeName() {
6789
6824
  this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`);
6790
6825
  this.name = this.state.name;
6791
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'data-ref', this.state.name);
6792
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'ref', this.state.name);
6826
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'data-ref', this.state.name);
6827
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'ref', this.state.name);
6793
6828
  }
6794
6829
  onChangeTooltip() {
6795
6830
  const i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
6796
6831
  if (this.get('j.o.useNativeTooltip')) {
6797
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'title', i8nTooltip);
6832
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'title', i8nTooltip);
6798
6833
  }
6799
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'aria-label', i8nTooltip);
6834
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'aria-label', i8nTooltip);
6800
6835
  }
6801
6836
  onChangeTabIndex() {
6802
- (0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.container, 'tabindex', this.state.tabIndex);
6837
+ (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'tabindex', this.state.tabIndex);
6803
6838
  }
6804
6839
  onChangeIcon() {
6805
6840
  const textIcons = this.get('j.o.textIcons');
6806
- if (textIcons === true || (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(textIcons) && textIcons(this.state.name)) {
6841
+ if (textIcons === true || (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_5__.isFunction)(textIcons) && textIcons(this.state.name)) {
6807
6842
  return;
6808
6843
  }
6809
- _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.detach(this.icon);
6810
- const iconElement = _icon_js__WEBPACK_IMPORTED_MODULE_8__.Icon.makeIcon(this.j, this.state.icon);
6844
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.detach(this.icon);
6845
+ const iconElement = _icon_js__WEBPACK_IMPORTED_MODULE_10__.Icon.makeIcon(this.j, this.state.icon);
6811
6846
  iconElement && this.icon.appendChild(iconElement);
6812
6847
  }
6813
6848
  /**
@@ -6819,7 +6854,7 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
6819
6854
  * Element has focus
6820
6855
  */ isFocused() {
6821
6856
  const { activeElement } = this.od;
6822
- return Boolean(activeElement && _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(this.container, activeElement));
6857
+ return Boolean(activeElement && _dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.isOrContains(this.container, activeElement));
6823
6858
  }
6824
6859
  /** @override */ createContainer() {
6825
6860
  const cn = this.componentName;
@@ -6874,84 +6909,84 @@ let UIButton = class UIButton extends _element_js__WEBPACK_IMPORTED_MODULE_6__.U
6874
6909
  }
6875
6910
  };
6876
6911
  __decorate([
6877
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cache
6912
+ _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__.cache
6878
6913
  ], UIButton.prototype, "text", null);
6879
6914
  __decorate([
6880
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cache
6915
+ _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__.cache
6881
6916
  ], UIButton.prototype, "icon", null);
6882
6917
  __decorate([
6883
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.size', {
6918
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.size', {
6884
6919
  immediately: false
6885
6920
  })
6886
6921
  ], UIButton.prototype, "onChangeSize", null);
6887
6922
  __decorate([
6888
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.type', {
6923
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.type', {
6889
6924
  immediately: false
6890
6925
  })
6891
6926
  ], UIButton.prototype, "onChangeType", null);
6892
6927
  __decorate([
6893
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.role', {
6928
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.role', {
6894
6929
  immediately: false
6895
6930
  })
6896
6931
  ], UIButton.prototype, "onChangeRole", null);
6897
6932
  __decorate([
6898
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('parentElement')
6933
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('parentElement')
6899
6934
  ], UIButton.prototype, "updateSize", null);
6900
6935
  __decorate([
6901
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.variant', {
6936
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.variant', {
6902
6937
  immediately: false
6903
6938
  })
6904
6939
  ], UIButton.prototype, "onChangeStatus", null);
6905
6940
  __decorate([
6906
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.text', {
6941
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.text', {
6907
6942
  immediately: false
6908
6943
  })
6909
6944
  ], UIButton.prototype, "onChangeText", null);
6910
6945
  __decorate([
6911
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.text', {
6946
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.text', {
6912
6947
  immediately: false
6913
6948
  })
6914
6949
  ], UIButton.prototype, "onChangeTextSetMode", null);
6915
6950
  __decorate([
6916
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.disabled')
6951
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.disabled')
6917
6952
  ], UIButton.prototype, "onChangeDisabled", null);
6918
6953
  __decorate([
6919
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.activated')
6954
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.activated')
6920
6955
  ], UIButton.prototype, "onChangeActivated", null);
6921
6956
  __decorate([
6922
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.name', {
6957
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.name', {
6923
6958
  immediately: false
6924
6959
  })
6925
6960
  ], UIButton.prototype, "onChangeName", null);
6926
6961
  __decorate([
6927
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tooltip', {
6962
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.tooltip', {
6928
6963
  immediately: false
6929
6964
  })
6930
6965
  ], UIButton.prototype, "onChangeTooltip", null);
6931
6966
  __decorate([
6932
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.tabIndex', {
6967
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.tabIndex', {
6933
6968
  immediately: false
6934
6969
  })
6935
6970
  ], UIButton.prototype, "onChangeTabIndex", null);
6936
6971
  __decorate([
6937
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.icon', {
6972
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('state.icon', {
6938
6973
  immediately: false
6939
6974
  })
6940
6975
  ], UIButton.prototype, "onChangeIcon", null);
6941
6976
  __decorate([
6942
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cacheHTML
6977
+ _decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_1__.cacheHTML
6943
6978
  ], UIButton.prototype, "createContainer", null);
6944
6979
  __decorate([
6945
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('button:click')
6980
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('button:click')
6946
6981
  ], UIButton.prototype, "__onActionFire", null);
6947
6982
  UIButton = __decorate([
6948
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.component
6983
+ _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__.component
6949
6984
  ], UIButton);
6950
6985
 
6951
6986
  function Button(jodit, stateOrText, text, variant) {
6952
6987
  const button = new UIButton(jodit);
6953
6988
  button.state.tabIndex = jodit.o.allowTabNavigation ? 0 : -1;
6954
- if ((0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_4__.isString)(stateOrText)) {
6989
+ if ((0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_6__.isString)(stateOrText)) {
6955
6990
  button.state.icon.name = stateOrText;
6956
6991
  button.state.name = stateOrText;
6957
6992
  if (variant) {
@@ -7246,9 +7281,13 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('file', file);
7246
7281
  /* harmony export */ ToolbarCollection: function() { return /* binding */ ToolbarCollection; }
7247
7282
  /* harmony export */ });
7248
7283
  /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
7249
- /* harmony import */ var _core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82760);
7250
- /* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
7251
- /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21491);
7284
+ /* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
7285
+ /* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(87325);
7286
+ /* harmony import */ var _core_decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97357);
7287
+ /* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37133);
7288
+ /* harmony import */ var _core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(82760);
7289
+ /* harmony import */ var _core_ui_group_list_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(24536);
7290
+ /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21491);
7252
7291
  /*!
7253
7292
  * Jodit Editor (https://xdsoft.net/jodit/)
7254
7293
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -7263,8 +7302,12 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('file', file);
7263
7302
 
7264
7303
 
7265
7304
 
7266
- let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPACK_IMPORTED_MODULE_2__.UIList {
7267
- /** @override */ className() {
7305
+
7306
+
7307
+
7308
+
7309
+ let ToolbarCollection = class ToolbarCollection extends _core_ui_group_list_js__WEBPACK_IMPORTED_MODULE_6__.UIList {
7310
+ className() {
7268
7311
  return 'ToolbarCollection';
7269
7312
  }
7270
7313
  /**
@@ -7274,10 +7317,10 @@ let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPA
7274
7317
  return button || null;
7275
7318
  }
7276
7319
  makeButton(control, target = null) {
7277
- return (0,_factory_js__WEBPACK_IMPORTED_MODULE_3__.makeButton)(this.j, control, target);
7320
+ return (0,_factory_js__WEBPACK_IMPORTED_MODULE_7__.makeButton)(this.j, control, target);
7278
7321
  }
7279
7322
  makeSelect(control, target = null) {
7280
- return (0,_factory_js__WEBPACK_IMPORTED_MODULE_3__.makeSelect)(this.j, control, target);
7323
+ return (0,_factory_js__WEBPACK_IMPORTED_MODULE_7__.makeSelect)(this.j, control, target);
7281
7324
  }
7282
7325
  /**
7283
7326
  * Button should be active
@@ -7320,7 +7363,7 @@ let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPA
7320
7363
  this.appendTo(this.j.toolbarContainer);
7321
7364
  }
7322
7365
  showInline(bound) {
7323
- throw (0,_core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_1__.error)('The method is not implemented for this class.');
7366
+ throw (0,_core_helpers_utils_error_error_js__WEBPACK_IMPORTED_MODULE_5__.error)('The method is not implemented for this class.');
7324
7367
  }
7325
7368
  /** @override **/ build(items, target = null) {
7326
7369
  const itemsWithGroupps = this.j.e.fire('beforeToolbarBuild', items);
@@ -7343,17 +7386,17 @@ let ToolbarCollection = class ToolbarCollection extends _core_ui_index_js__WEBPA
7343
7386
  }
7344
7387
  };
7345
7388
  __decorate([
7346
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':afterInit'),
7347
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
7389
+ (0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__.watch)(':afterInit'),
7390
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
7348
7391
  ], ToolbarCollection.prototype, "__immediateUpdate", null);
7349
7392
  __decorate([
7350
7393
  (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.debounce)((ctx)=>ctx.j.defaultTimeout, true)
7351
7394
  ], ToolbarCollection.prototype, "update", null);
7352
7395
  __decorate([
7353
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
7396
+ (0,_core_decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_3__.hook)('ready')
7354
7397
  ], ToolbarCollection.prototype, "__initEvents", null);
7355
7398
  ToolbarCollection = __decorate([
7356
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.component
7399
+ _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_2__.component
7357
7400
  ], ToolbarCollection);
7358
7401
 
7359
7402
 
@@ -11841,12 +11884,9 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__.JoditPro.plugins.add('license',
11841
11884
  /* harmony export */ makeCollection: function() { return /* binding */ makeCollection; },
11842
11885
  /* harmony export */ makeSelect: function() { return /* binding */ makeSelect; }
11843
11886
  /* harmony export */ });
11844
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21537);
11845
- /* harmony import */ var _button_button_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78644);
11846
- /* harmony import */ var _button_content_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80319);
11847
- /* harmony import */ var _button_select_select_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(83111);
11848
- /* harmony import */ var _collection_collection_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11676);
11849
- /* harmony import */ var _collection_editor_collection_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37426);
11887
+ /* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87325);
11888
+ /* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23282);
11889
+ /* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19306);
11850
11890
  /*!
11851
11891
  * Jodit Editor (https://xdsoft.net/jodit/)
11852
11892
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -11854,13 +11894,12 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__.JoditPro.plugins.add('license',
11854
11894
  */
11855
11895
 
11856
11896
 
11857
-
11858
-
11859
-
11860
11897
  /**
11861
11898
  * Collection factory
11862
11899
  */ function makeCollection(jodit, parentElement) {
11863
- 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);
11900
+ const ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarCollection');
11901
+ const ToolbarEditorCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarEditorCollection');
11902
+ const collection = (0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(jodit) ? new ToolbarEditorCollection(jodit) : new ToolbarCollection(jodit);
11864
11903
  if (jodit.o.textIcons) {
11865
11904
  collection.container.classList.add('jodit_text_icons');
11866
11905
  }
@@ -11875,15 +11914,18 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__.JoditPro.plugins.add('license',
11875
11914
  /**
11876
11915
  * Button factory
11877
11916
  */ function makeButton(jodit, control, target = null) {
11878
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(control.getContent)) {
11879
- return new _button_content_js__WEBPACK_IMPORTED_MODULE_2__.ToolbarContent(jodit, control, target);
11917
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(control.getContent)) {
11918
+ const ToolbarContent = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarContent');
11919
+ return new ToolbarContent(jodit, control, target);
11880
11920
  }
11881
- const button = new _button_button_js__WEBPACK_IMPORTED_MODULE_1__.ToolbarButton(jodit, control, target);
11921
+ const ToolbarButton = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarButton');
11922
+ const button = new ToolbarButton(jodit, control, target);
11882
11923
  button.state.tabIndex = jodit.o.allowTabNavigation ? 0 : -1;
11883
11924
  return button;
11884
11925
  }
11885
11926
  function makeSelect(view, control, target = null) {
11886
- return new _button_select_select_js__WEBPACK_IMPORTED_MODULE_3__.ToolbarSelect(view, control, target);
11927
+ const ToolbarSelect = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_0__.getComponentClass)('ToolbarSelect');
11928
+ return new ToolbarSelect(view, control, target);
11887
11929
  }
11888
11930
 
11889
11931
 
@@ -11963,6 +12005,7 @@ __webpack_require__.r(__webpack_exports__);
11963
12005
  /* harmony export */ getClassName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getClassName; },
11964
12006
  /* harmony export */ getContentWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.getContentWidth; },
11965
12007
  /* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getDataTransfer; },
12008
+ /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getPropertyDescriptor; },
11966
12009
  /* harmony export */ getScrollParent: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.getScrollParent; },
11967
12010
  /* harmony export */ getXPathByElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getXPathByElement; },
11968
12011
  /* harmony export */ hAlignElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.hAlignElement; },
@@ -11973,7 +12016,6 @@ __webpack_require__.r(__webpack_exports__);
11973
12016
  /* harmony export */ i18n: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.i18n; },
11974
12017
  /* harmony export */ inView: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.inView; },
11975
12018
  /* harmony export */ innerWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.innerWidth; },
11976
- /* harmony export */ isAbort: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAbort; },
11977
12019
  /* harmony export */ isAbortError: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isAbortError; },
11978
12020
  /* harmony export */ isArray: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray; },
11979
12021
  /* harmony export */ isAtom: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAtom; },
@@ -12082,6 +12124,28 @@ __webpack_require__.r(__webpack_exports__);
12082
12124
  /* 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> ");
12083
12125
 
12084
12126
 
12127
+ /***/ }),
12128
+
12129
+ /***/ 21735:
12130
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12131
+
12132
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12133
+ /* harmony export */ elementToItem: function() { return /* binding */ elementToItem; },
12134
+ /* harmony export */ getItem: function() { return /* binding */ getItem; }
12135
+ /* harmony export */ });
12136
+ /* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
12137
+
12138
+ /**
12139
+ * @private
12140
+ */ 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);
12141
+ /**
12142
+ * @private
12143
+ */ const elementToItem = (elm, elementsMap)=>{
12144
+ const { key } = elm.dataset, { item } = elementsMap[key || ''];
12145
+ return item;
12146
+ };
12147
+
12148
+
12085
12149
  /***/ }),
12086
12150
 
12087
12151
  /***/ 21988:
@@ -13148,15 +13212,17 @@ _config_js__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.popup = {
13148
13212
  /* harmony export */ UIList: function() { return /* binding */ UIList; }
13149
13213
  /* harmony export */ });
13150
13214
  /* harmony import */ var _component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4012);
13151
- /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
13152
- /* harmony import */ var _helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46559);
13153
- /* harmony import */ var _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10830);
13154
- /* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62405);
13155
- /* harmony import */ var _separator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92113);
13156
- /* harmony import */ var _spacer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34244);
13157
- /* harmony import */ var _helpers_buttons_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43649);
13158
- /* harmony import */ var _helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(72157);
13159
- /* harmony import */ var _helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(71262);
13215
+ /* harmony import */ var _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
13216
+ /* harmony import */ var _decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97357);
13217
+ /* harmony import */ var _decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37133);
13218
+ /* harmony import */ var _helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(46559);
13219
+ /* harmony import */ var _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(10830);
13220
+ /* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62405);
13221
+ /* harmony import */ var _separator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92113);
13222
+ /* harmony import */ var _spacer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(34244);
13223
+ /* harmony import */ var _helpers_buttons_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(43649);
13224
+ /* harmony import */ var _helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(72157);
13225
+ /* harmony import */ var _helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(71262);
13160
13226
  /*!
13161
13227
  * Jodit Editor (https://xdsoft.net/jodit/)
13162
13228
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -13177,7 +13243,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.popup = {
13177
13243
 
13178
13244
 
13179
13245
 
13180
- let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup {
13246
+
13247
+
13248
+ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_6__.UIGroup {
13181
13249
  /** @override */ className() {
13182
13250
  return 'UIList';
13183
13251
  }
@@ -13187,24 +13255,24 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13187
13255
  /**
13188
13256
  * Make new group and append it in list of elements
13189
13257
  */ makeGroup() {
13190
- return new _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup(this.jodit);
13258
+ return new _group_js__WEBPACK_IMPORTED_MODULE_6__.UIGroup(this.jodit);
13191
13259
  }
13192
13260
  /**
13193
13261
  * All buttons from list
13194
13262
  */ get buttons() {
13195
- return this.allChildren.filter((elm)=>_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(elm, _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__.UIButton));
13263
+ return this.allChildren.filter((elm)=>_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(elm, _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__.UIButton));
13196
13264
  }
13197
13265
  /**
13198
13266
  * Helper for getting full plain button list
13199
13267
  */ getButtonsNames() {
13200
- return this.buttons.map((a)=>a instanceof _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__.UIButton && a.state.name || '').filter((a)=>a !== '');
13268
+ return this.buttons.map((a)=>a instanceof _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__.UIButton && a.state.name || '').filter((a)=>a !== '');
13201
13269
  }
13202
13270
  setRemoveButtons(removeButtons) {
13203
13271
  this.removeButtons = removeButtons || [];
13204
13272
  return this;
13205
13273
  }
13206
13274
  build(items, target = null) {
13207
- items = (0,_helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__.splitArray)(items);
13275
+ items = (0,_helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_4__.splitArray)(items);
13208
13276
  this.clear();
13209
13277
  let lastBtnSeparator = false;
13210
13278
  let line = this.makeGroup();
@@ -13224,13 +13292,13 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13224
13292
  case '|':
13225
13293
  if (!lastBtnSeparator) {
13226
13294
  lastBtnSeparator = true;
13227
- elm = new _separator_js__WEBPACK_IMPORTED_MODULE_5__.UISeparator(this.j);
13295
+ elm = new _separator_js__WEBPACK_IMPORTED_MODULE_7__.UISeparator(this.j);
13228
13296
  }
13229
13297
  break;
13230
13298
  case '---':
13231
13299
  {
13232
13300
  group.setMod('before-spacer', true);
13233
- const space = new _spacer_js__WEBPACK_IMPORTED_MODULE_6__.UISpacer(this.j);
13301
+ const space = new _spacer_js__WEBPACK_IMPORTED_MODULE_8__.UISpacer(this.j);
13234
13302
  line.append(space);
13235
13303
  group = this.makeGroup();
13236
13304
  line.append(group);
@@ -13261,20 +13329,20 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13261
13329
  return !this.removeButtons.includes(b.name) && (!b.isVisible || ((_a = b.isVisible) === null || _a === void 0 ? void 0 : _a.call(b, this.j, b)));
13262
13330
  };
13263
13331
  items.forEach((item)=>{
13264
- if ((0,_helpers_buttons_js__WEBPACK_IMPORTED_MODULE_7__.isButtonGroup)(item)) {
13332
+ if ((0,_helpers_buttons_js__WEBPACK_IMPORTED_MODULE_9__.isButtonGroup)(item)) {
13265
13333
  const buttons = item.buttons.filter((b)=>b);
13266
13334
  if (buttons.length) {
13267
13335
  group = this.makeGroup();
13268
13336
  group.setMod('separated', true).setMod('group', item.group);
13269
13337
  line.append(group);
13270
- (0,_helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_9__.getStrongControlTypes)(buttons, this.j.o.controls).filter(isNotRemoved).forEach(addButton);
13338
+ (0,_helpers_get_strong_control_types_js__WEBPACK_IMPORTED_MODULE_11__.getStrongControlTypes)(buttons, this.j.o.controls).filter(isNotRemoved).forEach(addButton);
13271
13339
  }
13272
13340
  } else {
13273
13341
  if (!group) {
13274
13342
  group = this.makeGroup();
13275
13343
  line.append(group);
13276
13344
  }
13277
- const control = (0,_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_8__.getControlType)(item, this.j.o.controls);
13345
+ const control = (0,_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_10__.getControlType)(item, this.j.o.controls);
13278
13346
  isNotRemoved(control) && addButton(control);
13279
13347
  }
13280
13348
  });
@@ -13287,22 +13355,22 @@ let UIList = class UIList extends _group_js__WEBPACK_IMPORTED_MODULE_4__.UIGroup
13287
13355
  /**
13288
13356
  * Create button instance
13289
13357
  */ makeButton(control, target) {
13290
- return new _button_button_button_js__WEBPACK_IMPORTED_MODULE_3__.UIButton(this.j, {
13358
+ return new _button_button_button_js__WEBPACK_IMPORTED_MODULE_5__.UIButton(this.j, {
13291
13359
  name: control.name
13292
13360
  });
13293
13361
  }
13294
- constructor(jodit){
13295
- super(jodit);
13362
+ constructor(){
13363
+ super(...arguments);
13296
13364
  this.mode = 'horizontal';
13297
13365
  this.removeButtons = [];
13298
13366
  }
13299
13367
  };
13300
13368
  __decorate([
13301
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('mode'),
13302
- (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.hook)('ready')
13369
+ (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_3__.watch)('mode'),
13370
+ (0,_decorators_hook_hook_js__WEBPACK_IMPORTED_MODULE_2__.hook)('ready')
13303
13371
  ], UIList.prototype, "__onChangeMode", null);
13304
13372
  UIList = __decorate([
13305
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.component
13373
+ _decorators_component_component_js__WEBPACK_IMPORTED_MODULE_1__.component
13306
13374
  ], UIList);
13307
13375
 
13308
13376
 
@@ -16142,9 +16210,11 @@ UIImagePositionTab = __decorate([
16142
16210
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16143
16211
  /* harmony export */ attr: function() { return /* binding */ attr; }
16144
16212
  /* harmony export */ });
16145
- /* harmony import */ var _checker_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27613);
16146
- /* harmony import */ var _string_kebab_case_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12475);
16147
- /* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
16213
+ /* harmony import */ var _checker_is_function_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23282);
16214
+ /* harmony import */ var _checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
16215
+ /* harmony import */ var _checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
16216
+ /* harmony import */ var _string_kebab_case_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12475);
16217
+ /* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41180);
16148
16218
  /*!
16149
16219
  * Jodit Editor (https://xdsoft.net/jodit/)
16150
16220
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -16152,19 +16222,21 @@ UIImagePositionTab = __decorate([
16152
16222
  */
16153
16223
 
16154
16224
 
16225
+
16226
+
16155
16227
  /**
16156
16228
  * Alias for `elm.getAttribute` but if set second argument `-{key}`
16157
16229
  * it will also check `data-{key}` attribute
16158
16230
  * if set `value` it is alias for setAttribute with the same logic
16159
16231
  */ function attr(elm, keyOrAttributes, value) {
16160
- if (!elm || !(0,_checker_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(elm.getAttribute)) {
16232
+ if (!elm || !(0,_checker_is_function_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(elm.getAttribute)) {
16161
16233
  return null;
16162
16234
  }
16163
- if (!(0,_checker_index_js__WEBPACK_IMPORTED_MODULE_0__.isString)(keyOrAttributes)) {
16235
+ if (!(0,_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__.isString)(keyOrAttributes)) {
16164
16236
  Object.keys(keyOrAttributes).forEach((key)=>{
16165
16237
  const value = keyOrAttributes[key];
16166
- if ((0,_checker_index_js__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(value) && key === 'style') {
16167
- (0,_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(elm, value);
16238
+ if ((0,_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(value) && key === 'style') {
16239
+ (0,_css_js__WEBPACK_IMPORTED_MODULE_4__.css)(elm, value);
16168
16240
  } else {
16169
16241
  if (key === 'className') {
16170
16242
  key = 'class';
@@ -16174,7 +16246,7 @@ UIImagePositionTab = __decorate([
16174
16246
  });
16175
16247
  return null;
16176
16248
  }
16177
- let key = (0,_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_1__.CamelCaseToKebabCase)(keyOrAttributes);
16249
+ let key = (0,_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_3__.CamelCaseToKebabCase)(keyOrAttributes);
16178
16250
  if (/^-/.test(key)) {
16179
16251
  const res = attr(elm, `data${key}`);
16180
16252
  if (res) {
@@ -16300,16 +16372,11 @@ __webpack_require__.r(__webpack_exports__);
16300
16372
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16301
16373
 
16302
16374
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16303
- /* harmony export */ applyStylesPro: function() { return /* reexport safe */ _apply_styles_pro__WEBPACK_IMPORTED_MODULE_0__.applyStylesPro; },
16304
- /* harmony export */ calcListLevels: function() { return /* reexport safe */ _calc_list_levels__WEBPACK_IMPORTED_MODULE_1__.calcListLevels; },
16305
- /* harmony export */ calcMarginParts: function() { return /* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.calcMarginParts; },
16306
- /* harmony export */ calcStartBySymbol: function() { return /* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.calcStartBySymbol; },
16307
- /* harmony export */ convertUnitToPx: function() { return /* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.convertUnitToPx; }
16375
+ /* harmony export */ applyStylesPro: function() { return /* reexport safe */ _apply_styles_pro__WEBPACK_IMPORTED_MODULE_0__.applyStylesPro; }
16308
16376
  /* harmony export */ });
16309
16377
  /* harmony import */ var _apply_styles_pro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51586);
16310
16378
  /* harmony import */ var _calc_list_levels__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31269);
16311
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43712);
16312
- /* harmony import */ var _transform_word_to_html__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19606);
16379
+ /* harmony import */ var _transform_word_to_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19606);
16313
16380
  /*!
16314
16381
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
16315
16382
  * See LICENSE.md in the project root for license information.
@@ -16373,7 +16440,8 @@ function calcListLevels(item) {
16373
16440
  }
16374
16441
  const indents = [
16375
16442
  (0,_helpers__WEBPACK_IMPORTED_MODULE_0__.realPixelIndent)(item)
16376
- ], items = [
16443
+ ];
16444
+ const items = [
16377
16445
  item
16378
16446
  ];
16379
16447
  let next = item.next;
@@ -16515,9 +16583,8 @@ function calcListLevels(item) {
16515
16583
  /* harmony export */ init: function() { return /* binding */ init; }
16516
16584
  /* harmony export */ });
16517
16585
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
16518
- /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
16519
- /* harmony import */ var _helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27613);
16520
- /* harmony import */ var _load_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14041);
16586
+ /* harmony import */ var _helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(60132);
16587
+ /* harmony import */ var _load_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14041);
16521
16588
  /*!
16522
16589
  * Jodit Editor (https://xdsoft.net/jodit/)
16523
16590
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -16525,12 +16592,11 @@ function calcListLevels(item) {
16525
16592
  */
16526
16593
 
16527
16594
 
16528
-
16529
16595
  /**
16530
16596
  * Init plugin if it has no dependencies, in another case wait requires plugins will be init
16531
16597
  * @private
16532
- */ function init(jodit, pluginName, plugin, instance, doneList, waitingList) {
16533
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isInitable)(instance)) {
16598
+ */ function init(jodit, pluginName, plugin, instance, doneList, waitingList, getContainer) {
16599
+ if ((0,_helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_1__.isInitable)(instance)) {
16534
16600
  try {
16535
16601
  instance.init(jodit);
16536
16602
  } catch (e) {
@@ -16543,12 +16609,12 @@ function calcListLevels(item) {
16543
16609
  doneList.set(pluginName, instance);
16544
16610
  waitingList.delete(pluginName);
16545
16611
  if (instance.hasStyle) {
16546
- (0,_load_js__WEBPACK_IMPORTED_MODULE_3__.loadStyle)(jodit, pluginName).catch((e)=>{
16612
+ (0,_load_js__WEBPACK_IMPORTED_MODULE_2__.loadStyle)(jodit, pluginName).catch((e)=>{
16547
16613
  !_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD && console.error(e);
16548
16614
  });
16549
16615
  }
16550
16616
  if (instance.styles) {
16551
- const style = (0,_global_js__WEBPACK_IMPORTED_MODULE_1__.getContainer)(jodit, pluginName, 'style');
16617
+ const style = getContainer(jodit, pluginName, 'style');
16552
16618
  style.innerHTML = instance.styles;
16553
16619
  }
16554
16620
  }
@@ -18066,8 +18132,7 @@ __webpack_require__.r(__webpack_exports__);
18066
18132
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18067
18133
  /* harmony export */ ConnectionError: function() { return /* reexport safe */ _connection_error_js__WEBPACK_IMPORTED_MODULE_1__.ConnectionError; },
18068
18134
  /* harmony export */ OptionsError: function() { return /* reexport safe */ _options_error_js__WEBPACK_IMPORTED_MODULE_2__.OptionsError; },
18069
- /* harmony export */ abort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.abort; },
18070
- /* harmony export */ isAbort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.isAbort; }
18135
+ /* harmony export */ abort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.abort; }
18071
18136
  /* harmony export */ });
18072
18137
  /* harmony import */ var _abort_error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93661);
18073
18138
  /* harmony import */ var _connection_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(86397);
@@ -18434,39 +18499,6 @@ function cacheHTML(target, _, descriptor) {
18434
18499
  /* 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> ");
18435
18500
 
18436
18501
 
18437
- /***/ }),
18438
-
18439
- /***/ 33730:
18440
- /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
18441
-
18442
- /* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6441);
18443
- /*!
18444
- * Jodit Editor PRO (https://xdsoft.net/jodit/)
18445
- * See LICENSE.md in the project root for license information.
18446
- * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
18447
- */
18448
- jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.font.list = {
18449
- "'Andale mono', monospace'": 'Andale Mono',
18450
- 'Arial, Helvetica, sans-serif': 'Arial',
18451
- "'Arial black', sans-serif": 'Arial Black',
18452
- "'Book antiqua', palatino, serif": 'Book Antiqua',
18453
- "'Comic Sans MS', sans-serif": 'Comic Sans MS',
18454
- "'Courier new', Courier, monospace": 'Courier New',
18455
- 'Georgia, Palatino, serif': 'Georgia',
18456
- 'Helvetica, Arial, sans-serif': 'Helvetica',
18457
- 'Impact, Charcoal, sans-serif': 'Impact',
18458
- 'Symbol, sans-serif': 'Symbol',
18459
- 'Tahoma, Arial, Helvetica, sans-serif': 'Tahoma',
18460
- 'Terminal, Monaco, monospace': 'Terminal',
18461
- "'Times new roman', Times, serif": 'Times New Roman',
18462
- "'Trebuchet ms', Geneva, sans-serif": 'Trebuchet MS',
18463
- 'Verdana, Geneva, sans-serif': 'Verdana',
18464
- Webdings: 'Webdings',
18465
- "Wingdings, 'Zapf dingbats'": 'Wingdings'
18466
- };
18467
- jodit_esm_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.loadExternalConfig = true;
18468
-
18469
-
18470
18502
  /***/ }),
18471
18503
 
18472
18504
  /***/ 34176:
@@ -20070,7 +20102,6 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('focus', focus);
20070
20102
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20071
20103
 
20072
20104
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20073
- /* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
20074
20105
  /* harmony export */ watch: function() { return /* binding */ watch; }
20075
20106
  /* harmony export */ });
20076
20107
  /* harmony import */ var _component_statuses_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78213);
@@ -20080,6 +20111,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('focus', focus);
20080
20111
  /* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72430);
20081
20112
  /* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39955);
20082
20113
  /* harmony import */ var _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89890);
20114
+ /* harmony import */ var _helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37790);
20083
20115
  /*!
20084
20116
  * Jodit Editor (https://xdsoft.net/jodit/)
20085
20117
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -20091,14 +20123,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_1__.pluginSystem.add('focus', focus);
20091
20123
 
20092
20124
 
20093
20125
 
20094
- function getPropertyDescriptor(obj, prop) {
20095
- let desc;
20096
- do {
20097
- desc = Object.getOwnPropertyDescriptor(obj, prop);
20098
- obj = Object.getPrototypeOf(obj);
20099
- }while (!desc && obj)
20100
- return desc;
20101
- }
20126
+
20102
20127
  /**
20103
20128
  * Watch decorator. Added observer for some change in field value
20104
20129
  */ function watch(observeFields, opts) {
@@ -20145,7 +20170,7 @@ function getPropertyDescriptor(obj, prop) {
20145
20170
  const observableValue = (0,_event_emitter_observable_js__WEBPACK_IMPORTED_MODULE_1__.observable)(value);
20146
20171
  observableValue.on(`change.${teil.join('.')}`, callback);
20147
20172
  }
20148
- const descriptor = getPropertyDescriptor(target, key);
20173
+ const descriptor = (0,_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_7__.getPropertyDescriptor)(target, key);
20149
20174
  Object.defineProperty(component, key, {
20150
20175
  configurable: true,
20151
20176
  set (v) {
@@ -20611,6 +20636,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.dots = {
20611
20636
  /* harmony export */ call: function() { return /* binding */ call; },
20612
20637
  /* harmony export */ callPromise: function() { return /* binding */ callPromise; },
20613
20638
  /* harmony export */ getDataTransfer: function() { return /* binding */ getDataTransfer; },
20639
+ /* harmony export */ getPropertyDescriptor: function() { return /* binding */ getPropertyDescriptor; },
20614
20640
  /* harmony export */ keys: function() { return /* binding */ keys; },
20615
20641
  /* harmony export */ loadImage: function() { return /* binding */ loadImage; },
20616
20642
  /* harmony export */ markOwner: function() { return /* binding */ markOwner; },
@@ -20706,6 +20732,14 @@ const keys = (obj, own = true)=>{
20706
20732
  return null;
20707
20733
  }
20708
20734
  };
20735
+ function getPropertyDescriptor(obj, prop) {
20736
+ let desc;
20737
+ do {
20738
+ desc = Object.getOwnPropertyDescriptor(obj, prop);
20739
+ obj = Object.getPrototypeOf(obj);
20740
+ }while (!desc && obj)
20741
+ return desc;
20742
+ }
20709
20743
 
20710
20744
 
20711
20745
  /***/ }),
@@ -21236,9 +21270,11 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('ai-assistant', ai
21236
21270
  /* harmony export */ });
21237
21271
  /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82749);
21238
21272
  /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
21239
- /* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
21240
- /* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
21241
- /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30717);
21273
+ /* harmony import */ var jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45219);
21274
+ /* harmony import */ var jodit_esm_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70799);
21275
+ /* harmony import */ var jodit_esm_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12475);
21276
+ /* harmony import */ var jodit_esm_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49055);
21277
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(43712);
21242
21278
  /*!
21243
21279
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
21244
21280
  * See LICENSE.md in the project root for license information.
@@ -21248,6 +21284,8 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('ai-assistant', ai
21248
21284
 
21249
21285
 
21250
21286
 
21287
+
21288
+
21251
21289
  class Style {
21252
21290
  get keys() {
21253
21291
  return Object.keys(this._data);
@@ -21274,7 +21312,7 @@ class Style {
21274
21312
  str(filter = (k)=>true) {
21275
21313
  const styleKeys = Object.keys(this._data).filter((key)=>key && !/^mso-/.test(key) && filter(key) && this.get(key) != null);
21276
21314
  const n = (v)=>{
21277
- if ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(v)) {
21315
+ if ((0,jodit_esm_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__.isString)(v)) {
21278
21316
  return /^0[a-z]+$/i.test(v) ? '0' : v;
21279
21317
  }
21280
21318
  return v.toString();
@@ -21285,7 +21323,7 @@ class Style {
21285
21323
  ].forEach((key)=>{
21286
21324
  if (this._data[key]) {
21287
21325
  const indexMain = styleKeys.indexOf(key);
21288
- const margins = (0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_4__.calcMarginParts)(this._data[key]);
21326
+ const margins = (0,jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_6__.calcMarginParts)(this._data[key]);
21289
21327
  [
21290
21328
  'top',
21291
21329
  'right',
@@ -21300,7 +21338,7 @@ class Style {
21300
21338
  }
21301
21339
  });
21302
21340
  if (styleKeys.length) {
21303
- return styleKeys.map((key)=>`${(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_3__.kebabCase)(key)}:${this.get(key)}`).join(';');
21341
+ return styleKeys.map((key)=>`${(0,jodit_esm_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(key)}:${this.get(key)}`).join(';');
21304
21342
  }
21305
21343
  return '';
21306
21344
  }
@@ -21310,28 +21348,28 @@ class Style {
21310
21348
  }
21311
21349
  }
21312
21350
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21313
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21351
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21314
21352
  ], Style.prototype, "forEach", null);
21315
21353
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21316
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21354
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21317
21355
  ], Style.prototype, "clear", null);
21318
21356
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21319
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21357
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21320
21358
  ], Style.prototype, "set", null);
21321
21359
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21322
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21360
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21323
21361
  ], Style.prototype, "get", null);
21324
21362
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21325
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21363
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21326
21364
  ], Style.prototype, "has", null);
21327
21365
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21328
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21366
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21329
21367
  ], Style.prototype, "add", null);
21330
21368
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
21331
- jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
21369
+ jodit_esm_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_2__.autobind
21332
21370
  ], Style.prototype, "str", null);
21333
21371
  function readStyles(style) {
21334
- return uniqueMax((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])=>{
21372
+ return uniqueMax((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])=>{
21335
21373
  if (key && value) {
21336
21374
  acc[key] = value;
21337
21375
  }
@@ -22139,14 +22177,15 @@ __webpack_require__.r(__webpack_exports__);
22139
22177
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22140
22178
 
22141
22179
  /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22732);
22142
- /* harmony import */ var _core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43555);
22143
- /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12153);
22144
- /* harmony import */ var _elements_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32118);
22145
- /* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63399);
22146
- /* harmony import */ var _fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(44450);
22147
- /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(20201);
22148
- /* harmony import */ var _listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73948);
22149
- /* harmony import */ var _image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50050);
22180
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29960);
22181
+ /* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89890);
22182
+ /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12153);
22183
+ /* harmony import */ var _elements_map_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32118);
22184
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21735);
22185
+ /* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63399);
22186
+ /* harmony import */ var _fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(44450);
22187
+ /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20201);
22188
+ /* harmony import */ var _image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(50050);
22150
22189
  /*!
22151
22190
  * Jodit Editor (https://xdsoft.net/jodit/)
22152
22191
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -22160,21 +22199,22 @@ __webpack_require__.r(__webpack_exports__);
22160
22199
 
22161
22200
 
22162
22201
 
22163
- 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>';
22202
+
22203
+ 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>';
22164
22204
  /* harmony default export */ __webpack_exports__["default"] = ((self)=>{
22165
22205
  if (!self.o.contextMenu) {
22166
22206
  return ()=>{};
22167
22207
  }
22168
- const contextmenu = (0,_factories_js__WEBPACK_IMPORTED_MODULE_4__.makeContextMenu)(self);
22208
+ const contextmenu = (0,_factories_js__WEBPACK_IMPORTED_MODULE_6__.makeContextMenu)(self);
22169
22209
  return (e)=>{
22170
- const a = (0,_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_7__.getItem)(e.target, self.container);
22210
+ const a = (0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.getItem)(e.target, self.container);
22171
22211
  if (!a) {
22172
22212
  return;
22173
22213
  }
22174
22214
  let item = a;
22175
- const opt = self.options, ga = (key)=>(0,_core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(item, key) || '';
22215
+ const opt = self.options, ga = (key)=>(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_1__.attr)(item, key) || '';
22176
22216
  self.async.setTimeout(()=>{
22177
- const selectedItem = (0,_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_7__.elementToItem)(a, (0,_elements_map_js__WEBPACK_IMPORTED_MODULE_3__.elementsMap)(self));
22217
+ const selectedItem = (0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.elementToItem)(a, (0,_elements_map_js__WEBPACK_IMPORTED_MODULE_4__.elementsMap)(self));
22178
22218
  if (!selectedItem) {
22179
22219
  return;
22180
22220
  }
@@ -22185,7 +22225,7 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
22185
22225
  ga('data-is-file') !== '1' && opt.editImage && (self.dataProvider.canI('ImageResize') || self.dataProvider.canI('ImageCrop')) ? {
22186
22226
  icon: 'pencil',
22187
22227
  title: 'Edit',
22188
- exec: ()=>_image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_8__.openImageEditor.call(self, ga('href'), ga('data-name'), ga('data-path'), ga('data-source'))
22228
+ exec: ()=>_image_editor_image_editor_js__WEBPACK_IMPORTED_MODULE_9__.openImageEditor.call(self, ga('href'), ga('data-name'), ga('data-path'), ga('data-source'))
22189
22229
  } : false,
22190
22230
  self.dataProvider.canI('FileRename') ? {
22191
22231
  icon: 'italic',
@@ -22199,12 +22239,12 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
22199
22239
  title: 'Delete',
22200
22240
  exec: async ()=>{
22201
22241
  try {
22202
- await (0,_fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_5__.deleteFile)(self, ga('data-name'), ga('data-source'));
22242
+ await (0,_fetch_delete_file_js__WEBPACK_IMPORTED_MODULE_7__.deleteFile)(self, ga('data-name'), ga('data-source'));
22203
22243
  } catch (e) {
22204
22244
  return self.status(e);
22205
22245
  }
22206
22246
  self.state.activeElements = [];
22207
- return (0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_6__.loadTree)(self).catch(self.status);
22247
+ return (0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_8__.loadTree)(self).catch(self.status);
22208
22248
  }
22209
22249
  } : false,
22210
22250
  opt.preview ? {
@@ -22254,7 +22294,7 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
22254
22294
  item = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.prevWithClass(item, self.files.getFullElName('item'));
22255
22295
  }
22256
22296
  if (!item) {
22257
- throw (0,_core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Need element');
22297
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_2__.error)('Need element');
22258
22298
  }
22259
22299
  _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.detach(temp_content);
22260
22300
  _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.detach(preview_box);
@@ -22413,13 +22453,15 @@ function brBefore(start) {
22413
22453
  /* harmony export */ PluginSystem: function() { return /* binding */ PluginSystem; }
22414
22454
  /* harmony export */ });
22415
22455
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
22416
- /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
22417
- /* harmony import */ var _helpers_array_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76855);
22418
- /* harmony import */ var _helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27613);
22419
- /* harmony import */ var _helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31359);
22420
- /* harmony import */ var _helpers_load_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14041);
22421
- /* harmony import */ var _helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48591);
22422
- /* harmony import */ var _helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(89672);
22456
+ /* harmony import */ var _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(57012);
22457
+ /* harmony import */ var _helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46559);
22458
+ /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(68345);
22459
+ /* harmony import */ var _helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(60132);
22460
+ /* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70799);
22461
+ /* harmony import */ var _helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31359);
22462
+ /* harmony import */ var _helpers_load_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(14041);
22463
+ /* harmony import */ var _helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(48591);
22464
+ /* harmony import */ var _helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(89672);
22423
22465
  /*!
22424
22466
  * Jodit Editor (https://xdsoft.net/jodit/)
22425
22467
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -22433,6 +22475,8 @@ function brBefore(start) {
22433
22475
 
22434
22476
 
22435
22477
 
22478
+
22479
+
22436
22480
  /**
22437
22481
  * Jodit plugin system
22438
22482
  * @example
@@ -22451,18 +22495,18 @@ function brBefore(start) {
22451
22495
  /**
22452
22496
  * Add plugin in store
22453
22497
  */ add(name, plugin) {
22454
- this.__items.set((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName)(name), plugin);
22455
- _global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.fire(`plugin:${name}:ready`);
22498
+ this.__items.set((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName)(name), plugin);
22499
+ _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.fire(`plugin:${name}:ready`);
22456
22500
  }
22457
22501
  /**
22458
22502
  * Get plugin from store
22459
22503
  */ get(name) {
22460
- return this.__items.get((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName)(name));
22504
+ return this.__items.get((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName)(name));
22461
22505
  }
22462
22506
  /**
22463
22507
  * Remove plugin from store
22464
22508
  */ remove(name) {
22465
- this.__items.delete((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeName)(name));
22509
+ this.__items.delete((0,_helpers_utils_js__WEBPACK_IMPORTED_MODULE_9__.normalizeName)(name));
22466
22510
  }
22467
22511
  __getFullPluginsList(filter) {
22468
22512
  const results = [];
@@ -22494,7 +22538,7 @@ function brBefore(start) {
22494
22538
  return;
22495
22539
  }
22496
22540
  const requires = plugin === null || plugin === void 0 ? void 0 : plugin.requires;
22497
- if (requires && (0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(requires) && requires.length) {
22541
+ if (requires && (0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(requires) && requires.length) {
22498
22542
  if (requires.some((req)=>disableList.has(req))) {
22499
22543
  return;
22500
22544
  }
@@ -22504,13 +22548,13 @@ function brBefore(start) {
22504
22548
  }
22505
22549
  }
22506
22550
  commit = true;
22507
- const instance = (0,_helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_6__.makeInstance)(jodit, plugin);
22551
+ const instance = (0,_helpers_make_instance_js__WEBPACK_IMPORTED_MODULE_8__.makeInstance)(jodit, plugin);
22508
22552
  if (!instance) {
22509
22553
  doneList.set(name, null);
22510
22554
  waitingList.delete(name);
22511
22555
  return;
22512
22556
  }
22513
- (0,_helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_4__.init)(jodit, name, plugin, instance, doneList, waitingList);
22557
+ (0,_helpers_init_instance_js__WEBPACK_IMPORTED_MODULE_6__.init)(jodit, name, plugin, instance, doneList, waitingList, this.opts.getContainer);
22514
22558
  pluginsMap[name] = instance;
22515
22559
  });
22516
22560
  if (commit) {
@@ -22519,7 +22563,7 @@ function brBefore(start) {
22519
22563
  }
22520
22564
  };
22521
22565
  if (extraList && extraList.length) {
22522
- (0,_helpers_load_js__WEBPACK_IMPORTED_MODULE_5__.loadExtras)(this.__items, jodit, extraList, initPlugins);
22566
+ (0,_helpers_load_js__WEBPACK_IMPORTED_MODULE_7__.loadExtras)(this.__items, jodit, extraList, initPlugins);
22523
22567
  }
22524
22568
  initPlugins();
22525
22569
  bindOnBeforeDestruct(jodit, pluginsMap);
@@ -22536,12 +22580,13 @@ function brBefore(start) {
22536
22580
  }
22537
22581
  const onReady = ()=>{
22538
22582
  resolve();
22539
- _global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.off(`plugin:${name}:ready`, onReady);
22583
+ _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.off(`plugin:${name}:ready`, onReady);
22540
22584
  };
22541
- _global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.on(`plugin:${name}:ready`, onReady);
22585
+ _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_1__.eventEmitter.on(`plugin:${name}:ready`, onReady);
22542
22586
  });
22543
22587
  }
22544
- constructor(){
22588
+ constructor(opts){
22589
+ this.opts = opts;
22545
22590
  this.__items = new Map();
22546
22591
  }
22547
22592
  }
@@ -22551,7 +22596,7 @@ function brBefore(start) {
22551
22596
  jodit.e.on('beforeDestruct', ()=>{
22552
22597
  Object.keys(plugins).forEach((name)=>{
22553
22598
  const instance = plugins[name];
22554
- if ((0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__.isDestructable)(instance)) {
22599
+ if ((0,_helpers_checker_is_imp_interface_js__WEBPACK_IMPORTED_MODULE_4__.isDestructable)(instance)) {
22555
22600
  instance.destruct(jodit);
22556
22601
  }
22557
22602
  delete plugins[name];
@@ -22560,10 +22605,10 @@ function brBefore(start) {
22560
22605
  });
22561
22606
  }
22562
22607
  function getSpecialLists(jodit) {
22563
- const extraList = jodit.o.extraPlugins.map((s)=>(0,_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(s) ? {
22608
+ const extraList = jodit.o.extraPlugins.map((s)=>(0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_5__.isString)(s) ? {
22564
22609
  name: s
22565
22610
  } : s);
22566
- 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));
22611
+ 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));
22567
22612
  const filter = jodit.o.safeMode ? new Set(jodit.o.safePluginsList) : null;
22568
22613
  return {
22569
22614
  extraList,
@@ -22906,7 +22951,7 @@ __webpack_require__.r(__webpack_exports__);
22906
22951
  /* harmony import */ var _render__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99658);
22907
22952
  /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(40273);
22908
22953
  /* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82758);
22909
- /* harmony import */ var jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22732);
22954
+ /* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2748);
22910
22955
  /* harmony import */ var jodit_esm_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38837);
22911
22956
  /*!
22912
22957
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
@@ -23062,7 +23107,7 @@ class JElement {
23062
23107
  }
23063
23108
  function readAttributes(node) {
23064
23109
  const result = {};
23065
- if (jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isElement(node)) {
23110
+ if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isElement(node)) {
23066
23111
  for(let i = 0, attrs = node.attributes; i < attrs.length; i += 1){
23067
23112
  result[attrs[i].name] = attrs[i].value;
23068
23113
  }
@@ -23200,11 +23245,11 @@ __webpack_require__.r(__webpack_exports__);
23200
23245
  /* harmony export */ get: function() { return /* reexport safe */ _get_js__WEBPACK_IMPORTED_MODULE_15__.get; },
23201
23246
  /* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__.getClassName; },
23202
23247
  /* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.getDataTransfer; },
23248
+ /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.getPropertyDescriptor; },
23203
23249
  /* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_23__.getXPathByElement; },
23204
23250
  /* harmony export */ hAlignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
23205
23251
  /* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_17__.humanSizeToBytes; },
23206
23252
  /* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_22__.inView; },
23207
- /* harmony export */ isAbort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.isAbort; },
23208
23253
  /* harmony export */ isAtom: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_14__.isAtom; },
23209
23254
  /* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__.keepNames; },
23210
23255
  /* harmony export */ keys: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_26__.keys; },
@@ -26104,8 +26149,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
26104
26149
  /* harmony export */ });
26105
26150
  /* harmony import */ var _transform_word_to_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19606);
26106
26151
  /* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
26107
- /* harmony import */ var jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43555);
26108
- /* harmony import */ var jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97420);
26152
+ /* harmony import */ var jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
26153
+ /* harmony import */ var jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76078);
26154
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97420);
26109
26155
  /*!
26110
26156
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
26111
26157
  * See LICENSE.md in the project root for license information.
@@ -26114,6 +26160,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
26114
26160
 
26115
26161
 
26116
26162
 
26163
+
26117
26164
  function applyStylesPro(jodit, html, removeStyles, rtf = '') {
26118
26165
  const iframe = document.createElement('iframe');
26119
26166
  iframe.style.display = 'none';
@@ -26134,20 +26181,20 @@ function applyStylesPro(jodit, html, removeStyles, rtf = '') {
26134
26181
  if (!rules[idx].selectorText) {
26135
26182
  continue;
26136
26183
  }
26137
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.$$)(rules[idx].selectorText, doc.body).forEach((elm)=>{
26138
- if (!(0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS)) {
26139
- (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') || '');
26140
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', '');
26184
+ (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_3__.$$)(rules[idx].selectorText, doc.body).forEach((elm)=>{
26185
+ if (!(0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, JDS)) {
26186
+ (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') || '');
26187
+ (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, 'style', '');
26141
26188
  }
26142
- (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}`);
26189
+ (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}`);
26143
26190
  });
26144
26191
  }
26145
26192
  } catch (e) {}
26146
26193
  }
26147
- (0,jodit_esm_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.$$)(`[${JDS}]`, doc.body).forEach((elm)=>{
26148
- (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)}`);
26194
+ (0,jodit_esm_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_3__.$$)(`[${JDS}]`, doc.body).forEach((elm)=>{
26195
+ (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)}`);
26149
26196
  });
26150
- 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);
26197
+ 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);
26151
26198
  } finally{
26152
26199
  jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(iframe);
26153
26200
  }
@@ -27271,7 +27318,7 @@ __webpack_require__.r(__webpack_exports__);
27271
27318
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27272
27319
  /* harmony export */ convertStyleUnitToPixels: function() { return /* binding */ convertStyleUnitToPixels; }
27273
27320
  /* harmony export */ });
27274
- /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30717);
27321
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43712);
27275
27322
  /*!
27276
27323
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
27277
27324
  * See LICENSE.md in the project root for license information.
@@ -27285,7 +27332,7 @@ const convertStyleUnitToPixels = (elm, { jodit })=>{
27285
27332
  style.forEach((key)=>{
27286
27333
  const v = style.get(key);
27287
27334
  if (v) {
27288
- 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'));
27335
+ 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'));
27289
27336
  }
27290
27337
  });
27291
27338
  return elm;
@@ -27879,8 +27926,8 @@ function derive(...traits) {
27879
27926
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
27880
27927
  /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
27881
27928
  /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38837);
27882
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(59242);
27883
- /* harmony import */ var _api_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63687);
27929
+ /* harmony import */ var _api_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(63687);
27930
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(77361);
27884
27931
  /*!
27885
27932
  * Jodit Editor (https://xdsoft.net/jodit/)
27886
27933
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -27907,13 +27954,13 @@ const transactions = {
27907
27954
  [states.START]: {
27908
27955
  exec (value) {
27909
27956
  const { element, jodit, style, mode, collapsed } = value;
27910
- if ((0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.isInsideInvisibleElement)(element, jodit.editor) || !collapsed && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmptyContent(element)) {
27957
+ if ((0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.isInsideInvisibleElement)(element, jodit.editor) || !collapsed && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmptyContent(element)) {
27911
27958
  return {
27912
27959
  ...value,
27913
27960
  next: states.END
27914
27961
  };
27915
27962
  }
27916
- 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);
27963
+ 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);
27917
27964
  if (elm) {
27918
27965
  return {
27919
27966
  ...value,
@@ -27921,7 +27968,7 @@ const transactions = {
27921
27968
  element: elm
27922
27969
  };
27923
27970
  }
27924
- const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.suitableClosest)(style, element, jodit.editor);
27971
+ const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.suitableClosest)(style, element, jodit.editor);
27925
27972
  if (style.elementIsList && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isList(suit)) {
27926
27973
  return {
27927
27974
  ...value,
@@ -27936,14 +27983,14 @@ const transactions = {
27936
27983
  }
27937
27984
  return {
27938
27985
  ...value,
27939
- next: mode !== _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP ? states.UNWRAP_CHILDREN : states.END
27986
+ next: mode !== _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP ? states.UNWRAP_CHILDREN : states.END
27940
27987
  };
27941
27988
  }
27942
27989
  },
27943
27990
  [states.LIST]: {
27944
27991
  exec (value) {
27945
27992
  const { element, jodit, mode } = value;
27946
- 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) {
27993
+ 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) {
27947
27994
  return {
27948
27995
  ...value,
27949
27996
  next: states.END
@@ -27974,7 +28021,7 @@ const transactions = {
27974
28021
  exec (value) {
27975
28022
  return {
27976
28023
  ...value,
27977
- mode: (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.toggleOrderedList)(value.style, value.element, value.jodit, value.mode),
28024
+ mode: (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.toggleOrderedList)(value.style, value.element, value.jodit, value.mode),
27978
28025
  next: states.END
27979
28026
  };
27980
28027
  }
@@ -27983,14 +28030,14 @@ const transactions = {
27983
28030
  exec (value) {
27984
28031
  var _a;
27985
28032
  const { element, jodit, style } = value;
27986
- const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.suitableClosest)(style, element, jodit.editor);
28033
+ const suit = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.suitableClosest)(style, element, jodit.editor);
27987
28034
  (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_2__.assert)(suit, 'This place should have an element');
27988
28035
  // If we're applying inline styles to a block element, don't split the block
27989
28036
  const isApplyingInlineStyle = !style.elementIsBlock && ((_a = style.options.attributes) === null || _a === void 0 ? void 0 : _a.style);
27990
28037
  const shouldNotSplitBlock = isApplyingInlineStyle && _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isBlock(suit);
27991
28038
  if (!shouldNotSplitBlock) {
27992
28039
  if (!style.elementIsBlock) {
27993
- (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.extractSelectedPart)(suit, element, jodit);
28040
+ (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.extractSelectedPart)(suit, element, jodit);
27994
28041
  }
27995
28042
  return {
27996
28043
  ...value,
@@ -28008,7 +28055,7 @@ const transactions = {
28008
28055
  [states.UNWRAP_CHILDREN]: {
28009
28056
  exec (value) {
28010
28057
  const { element, style } = value;
28011
- if (!(0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.unwrapChildren)(style, element)) {
28058
+ if (!(0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.unwrapChildren)(style, element)) {
28012
28059
  return {
28013
28060
  ...value,
28014
28061
  next: states.WRAP
@@ -28016,7 +28063,7 @@ const transactions = {
28016
28063
  }
28017
28064
  return {
28018
28065
  ...value,
28019
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP,
28066
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP,
28020
28067
  next: states.END
28021
28068
  };
28022
28069
  }
@@ -28024,11 +28071,11 @@ const transactions = {
28024
28071
  [states.WRAP]: {
28025
28072
  exec (value) {
28026
28073
  const { element, jodit, style } = value;
28027
- const wrapper = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.wrap)(style, element, jodit);
28074
+ const wrapper = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.wrap)(style, element, jodit);
28028
28075
  return {
28029
28076
  ...value,
28030
28077
  next: style.elementIsList ? states.END : states.CHANGE,
28031
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.WRAP,
28078
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.WRAP,
28032
28079
  element: wrapper
28033
28080
  };
28034
28081
  }
@@ -28036,7 +28083,7 @@ const transactions = {
28036
28083
  [states.ELEMENT]: {
28037
28084
  exec (value) {
28038
28085
  const { style, element, jodit } = value;
28039
- 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) {
28086
+ 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) {
28040
28087
  return {
28041
28088
  ...value,
28042
28089
  next: states.CHANGE
@@ -28058,8 +28105,8 @@ const transactions = {
28058
28105
  [states.CHANGE]: {
28059
28106
  exec (value) {
28060
28107
  const { style, element, jodit, mode } = value;
28061
- const newMode = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__.toggleAttributes)(style, element, jodit, value.mode);
28062
- 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)) {
28108
+ const newMode = (0,_api_index_js__WEBPACK_IMPORTED_MODULE_3__.toggleAttributes)(style, element, jodit, value.mode);
28109
+ 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)) {
28063
28110
  return {
28064
28111
  ...value,
28065
28112
  next: states.UNWRAP
@@ -28083,7 +28130,7 @@ const transactions = {
28083
28130
  _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.unwrap(value.element);
28084
28131
  return {
28085
28132
  ...value,
28086
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.UNWRAP,
28133
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.UNWRAP,
28087
28134
  next: states.END
28088
28135
  };
28089
28136
  }
@@ -28093,7 +28140,7 @@ const transactions = {
28093
28140
  _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.replace(value.element, value.style.defaultTag, value.jodit.createInside, true);
28094
28141
  return {
28095
28142
  ...value,
28096
- mode: _index_js__WEBPACK_IMPORTED_MODULE_3__.REPLACE,
28143
+ mode: _constants_js__WEBPACK_IMPORTED_MODULE_4__.REPLACE,
28097
28144
  next: states.END
28098
28145
  };
28099
28146
  }
@@ -29047,6 +29094,19 @@ __decorate([
29047
29094
  }
29048
29095
 
29049
29096
 
29097
+ /***/ }),
29098
+
29099
+ /***/ 57012:
29100
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
29101
+
29102
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
29103
+ /* harmony export */ eventEmitter: function() { return /* binding */ eventEmitter; }
29104
+ /* harmony export */ });
29105
+ /* harmony import */ var _event_emitter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(98220);
29106
+
29107
+ const eventEmitter = new _event_emitter_js__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
29108
+
29109
+
29050
29110
  /***/ }),
29051
29111
 
29052
29112
  /***/ 57034:
@@ -30035,10 +30095,8 @@ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_7__.JoditPro.plugins.add('pasteFrom
30035
30095
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30036
30096
  /* harmony export */ CHANGE: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.CHANGE; },
30037
30097
  /* harmony export */ CommitStyle: function() { return /* reexport safe */ _style_commit_style_js__WEBPACK_IMPORTED_MODULE_1__.CommitStyle; },
30038
- /* harmony export */ INITIAL: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.INITIAL; },
30039
30098
  /* harmony export */ REPLACE: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.REPLACE; },
30040
30099
  /* harmony export */ Selection: function() { return /* reexport safe */ _selection_js__WEBPACK_IMPORTED_MODULE_0__.Selection; },
30041
- /* harmony export */ UNSET: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.UNSET; },
30042
30100
  /* harmony export */ UNWRAP: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.UNWRAP; },
30043
30101
  /* harmony export */ WRAP: function() { return /* reexport safe */ _style_constants_js__WEBPACK_IMPORTED_MODULE_2__.WRAP; }
30044
30102
  /* harmony export */ });
@@ -33228,12 +33286,10 @@ function makeContextMenu(parent) {
33228
33286
 
33229
33287
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
33230
33288
  /* harmony export */ FiniteStateMachine: function() { return /* reexport safe */ _finite_state_machine_js__WEBPACK_IMPORTED_MODULE_1__.FiniteStateMachine; },
33231
- /* harmony export */ elementsEqualAttributes: function() { return /* reexport safe */ _is_same_attributes_js__WEBPACK_IMPORTED_MODULE_7__.elementsEqualAttributes; },
33232
33289
  /* harmony export */ extractSelectedPart: function() { return /* reexport safe */ _extract_js__WEBPACK_IMPORTED_MODULE_0__.extractSelectedPart; },
33233
33290
  /* harmony export */ getSuitChild: function() { return /* reexport safe */ _get_suit_child_js__WEBPACK_IMPORTED_MODULE_2__.getSuitChild; },
33234
33291
  /* harmony export */ getSuitParent: function() { return /* reexport safe */ _get_suit_parent_js__WEBPACK_IMPORTED_MODULE_3__.getSuitParent; },
33235
33292
  /* harmony export */ isInsideInvisibleElement: function() { return /* reexport safe */ _is_inside_invisible_element_js__WEBPACK_IMPORTED_MODULE_5__.isInsideInvisibleElement; },
33236
- /* harmony export */ isSameAttributes: function() { return /* reexport safe */ _is_same_attributes_js__WEBPACK_IMPORTED_MODULE_7__.isSameAttributes; },
33237
33293
  /* harmony export */ suitableClosest: function() { return /* reexport safe */ _is_suit_element_js__WEBPACK_IMPORTED_MODULE_8__.suitableClosest; },
33238
33294
  /* harmony export */ toggleAttributes: function() { return /* reexport safe */ _toggle_attributes_js__WEBPACK_IMPORTED_MODULE_11__.toggleAttributes; },
33239
33295
  /* harmony export */ toggleOrderedList: function() { return /* reexport safe */ _list_toggle_ordered_list_js__WEBPACK_IMPORTED_MODULE_9__.toggleOrderedList; },
@@ -33730,7 +33786,7 @@ __webpack_require__.r(__webpack_exports__);
33730
33786
  /* harmony export */ component: function() { return /* reexport safe */ _component_component_js__WEBPACK_IMPORTED_MODULE_2__.component; },
33731
33787
  /* harmony export */ debounce: function() { return /* reexport safe */ _debounce_debounce_js__WEBPACK_IMPORTED_MODULE_3__.debounce; },
33732
33788
  /* harmony export */ derive: function() { return /* reexport safe */ _derive_derive_js__WEBPACK_IMPORTED_MODULE_4__.derive; },
33733
- /* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _watch_watch_js__WEBPACK_IMPORTED_MODULE_10__.getPropertyDescriptor; },
33789
+ /* harmony export */ getComponentClass: function() { return /* reexport safe */ _component_component_js__WEBPACK_IMPORTED_MODULE_2__.getComponentClass; },
33734
33790
  /* harmony export */ hook: function() { return /* reexport safe */ _hook_hook_js__WEBPACK_IMPORTED_MODULE_5__.hook; },
33735
33791
  /* harmony export */ idle: function() { return /* reexport safe */ _idle_idle_js__WEBPACK_IMPORTED_MODULE_6__.idle; },
33736
33792
  /* harmony export */ nonenumerable: function() { return /* reexport safe */ _nonenumerable_nonenumerable_js__WEBPACK_IMPORTED_MODULE_7__.nonenumerable; },
@@ -35763,7 +35819,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
35763
35819
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
35764
35820
  /* harmony export */ LazyWalker: function() { return /* binding */ LazyWalker; }
35765
35821
  /* harmony export */ });
35766
- /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
35822
+ /* harmony import */ var _decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45219);
35767
35823
  /* harmony import */ var _dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
35768
35824
  /* harmony import */ var _event_emitter_eventify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72757);
35769
35825
  /*!
@@ -35863,7 +35919,7 @@ class LazyWalker extends _event_emitter_eventify_js__WEBPACK_IMPORTED_MODULE_2__
35863
35919
  }
35864
35920
  }
35865
35921
  __decorate([
35866
- _decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
35922
+ _decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_0__.autobind
35867
35923
  ], LazyWalker.prototype, "__workPerform", null);
35868
35924
 
35869
35925
 
@@ -37099,10 +37155,10 @@ function findCell(editor, key) {
37099
37155
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
37100
37156
  /* harmony export */ observable: function() { return /* binding */ observable; }
37101
37157
  /* harmony export */ });
37102
- /* harmony import */ var _decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(37133);
37103
- /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68345);
37104
- /* harmony import */ var _helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(59292);
37105
- /* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72430);
37158
+ /* harmony import */ var _helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
37159
+ /* harmony import */ var _helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59292);
37160
+ /* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72430);
37161
+ /* harmony import */ var _helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37790);
37106
37162
  /*!
37107
37163
  * Jodit Editor (https://xdsoft.net/jodit/)
37108
37164
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -37156,7 +37212,7 @@ function isObservableObject(obj) {
37156
37212
  const __lockEvent = {};
37157
37213
  const __onEvents = {};
37158
37214
  const on = (event, callback)=>{
37159
- if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(event)) {
37215
+ if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(event)) {
37160
37216
  event.map((e)=>on(e, callback));
37161
37217
  return obj;
37162
37218
  }
@@ -37167,7 +37223,7 @@ function isObservableObject(obj) {
37167
37223
  return obj;
37168
37224
  };
37169
37225
  const fire = (event, ...attr)=>{
37170
- if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(event)) {
37226
+ if ((0,_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(event)) {
37171
37227
  event.map((e)=>fire(e, ...attr));
37172
37228
  return;
37173
37229
  }
@@ -37193,16 +37249,16 @@ function isObservableObject(obj) {
37193
37249
  const key = _key;
37194
37250
  const prefix = prefixes.concat(key).filter((a)=>a.length);
37195
37251
  store[key] = dict[key];
37196
- const descriptor = (0,_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_0__.getPropertyDescriptor)(dict, key);
37252
+ const descriptor = (0,_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_3__.getPropertyDescriptor)(dict, key);
37197
37253
  Object.defineProperty(dict, key, {
37198
37254
  set: (value)=>{
37199
37255
  const oldValue = store[key];
37200
- if (!(0,_helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_2__.isFastEqual)(store[key], value)) {
37256
+ if (!(0,_helpers_checker_is_equal_js__WEBPACK_IMPORTED_MODULE_1__.isFastEqual)(store[key], value)) {
37201
37257
  fire([
37202
37258
  'beforeChange',
37203
37259
  `beforeChange.${prefix.join('.')}`
37204
37260
  ], key, value);
37205
- if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(value)) {
37261
+ if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(value)) {
37206
37262
  initAccessors(value, prefix);
37207
37263
  }
37208
37264
  if (descriptor && descriptor.set) {
@@ -37230,7 +37286,7 @@ function isObservableObject(obj) {
37230
37286
  enumerable: true,
37231
37287
  configurable: true
37232
37288
  });
37233
- if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(store[key])) {
37289
+ if ((0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(store[key])) {
37234
37290
  initAccessors(store[key], prefix);
37235
37291
  }
37236
37292
  });
@@ -37288,7 +37344,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.about = {
37288
37344
  }), i = editor.i18n.bind(editor);
37289
37345
  dialog.setMod('theme', editor.o.theme).setHeader(i('About Jodit')).setContent(`<div class="jodit-about">
37290
37346
  <div>${i('Jodit Editor')} v.${editor.getVersion()}</div>
37291
- <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>
37347
+ <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>
37292
37348
  <div>
37293
37349
  <a href="${_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.HOMEPAGE}" target="_blank">${_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.HOMEPAGE}</a>
37294
37350
  </div>
@@ -37296,7 +37352,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.about = {
37296
37352
  <a href="https://xdsoft.net/jodit/docs/" target="_blank">${i("Jodit User's Guide")}</a>
37297
37353
  ${i('contains detailed help for using')}
37298
37354
  </div>
37299
- <div>${i('Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.')}</div>
37355
+ <div>${i('Copyright © XDSoft.net - Chupurnov Valerii. All rights reserved.')}</div>
37300
37356
  </div>`);
37301
37357
  (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.css)(dialog.dialog, {
37302
37358
  minHeight: 200,
@@ -37553,15 +37609,14 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
37553
37609
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
37554
37610
 
37555
37611
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
37556
- /* harmony export */ elementToItem: function() { return /* binding */ elementToItem; },
37557
- /* harmony export */ getItem: function() { return /* binding */ getItem; },
37558
37612
  /* harmony export */ nativeListeners: function() { return /* binding */ nativeListeners; }
37559
37613
  /* harmony export */ });
37560
- /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22732);
37561
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
37614
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29960);
37615
+ /* harmony import */ var _core_helpers_utils_ctrl_key_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15456);
37562
37616
  /* harmony import */ var _builders_context_menu_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41457);
37563
37617
  /* harmony import */ var _builders_elements_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32118);
37564
- /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20201);
37618
+ /* harmony import */ var _builders_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21735);
37619
+ /* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20201);
37565
37620
  /*!
37566
37621
  * Jodit Editor (https://xdsoft.net/jodit/)
37567
37622
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -37571,15 +37626,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
37571
37626
 
37572
37627
 
37573
37628
 
37574
- /**
37575
- * @private
37576
- */ 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);
37577
- /**
37578
- * @private
37579
- */ const elementToItem = (elm, elementsMap)=>{
37580
- const { key } = elm.dataset, { item } = elementsMap[key || ''];
37581
- return item;
37582
- };
37629
+
37583
37630
  /**
37584
37631
  * @private
37585
37632
  */ function nativeListeners() {
@@ -37587,7 +37634,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
37587
37634
  const elmMap = (0,_builders_elements_map_js__WEBPACK_IMPORTED_MODULE_3__.elementsMap)(this);
37588
37635
  const self = this;
37589
37636
  self.e.on(self.tree.container, 'dragstart', (e)=>{
37590
- const a = getItem(e.target, self.container);
37637
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
37591
37638
  if (!a) {
37592
37639
  return;
37593
37640
  }
@@ -37596,39 +37643,39 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
37596
37643
  }
37597
37644
  }).on(self.tree.container, 'drop', (e)=>{
37598
37645
  if ((self.o.moveFile || self.o.moveFolder) && dragElement) {
37599
- let path = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(dragElement, '-path') || '';
37646
+ let path = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__.attr)(dragElement, '-path') || '';
37600
37647
  // move folder
37601
37648
  if (!self.o.moveFolder && dragElement.classList.contains(this.tree.getFullElName('item'))) {
37602
37649
  return false;
37603
37650
  }
37604
37651
  // move file
37605
37652
  if (dragElement.classList.contains(this.files.getFullElName('item'))) {
37606
- path += (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(dragElement, '-name');
37653
+ path += (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_0__.attr)(dragElement, '-name');
37607
37654
  if (!self.o.moveFile) {
37608
37655
  return false;
37609
37656
  }
37610
37657
  }
37611
- const a = getItem(e.target, self.container);
37658
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
37612
37659
  if (!a) {
37613
37660
  return;
37614
37661
  }
37615
- 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);
37662
+ 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);
37616
37663
  dragElement = false;
37617
37664
  }
37618
37665
  }).on(self.files.container, 'contextmenu', (0,_builders_context_menu_js__WEBPACK_IMPORTED_MODULE_2__["default"])(self)).on(self.files.container, 'click', (e)=>{
37619
- if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
37666
+ if (!(0,_core_helpers_utils_ctrl_key_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
37620
37667
  this.state.activeElements = [];
37621
37668
  }
37622
37669
  }).on(self.files.container, 'click', (e)=>{
37623
- const a = getItem(e.target, self.container);
37670
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
37624
37671
  if (!a) {
37625
37672
  return;
37626
37673
  }
37627
- const item = elementToItem(a, elmMap);
37674
+ const item = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.elementToItem)(a, elmMap);
37628
37675
  if (!item) {
37629
37676
  return;
37630
37677
  }
37631
- if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
37678
+ if (!(0,_core_helpers_utils_ctrl_key_js__WEBPACK_IMPORTED_MODULE_1__.ctrlKey)(e)) {
37632
37679
  self.state.activeElements = [
37633
37680
  item
37634
37681
  ];
@@ -37642,7 +37689,7 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
37642
37689
  return false;
37643
37690
  }).on(self.files.container, 'dragstart', (e)=>{
37644
37691
  if (self.o.moveFile) {
37645
- const a = getItem(e.target, self.container);
37692
+ const a = (0,_builders_utils_js__WEBPACK_IMPORTED_MODULE_4__.getItem)(e.target, self.container);
37646
37693
  if (!a) {
37647
37694
  return;
37648
37695
  }
@@ -38949,7 +38996,8 @@ function replaceOldTags(elm) {
38949
38996
  /* harmony import */ var _array_to_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4510);
38950
38997
  /* harmony import */ var _checker_is_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70799);
38951
38998
  /* harmony import */ var _string_camel_case_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(87058);
38952
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43555);
38999
+ /* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
39000
+ /* harmony import */ var _error_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89890);
38953
39001
  /*!
38954
39002
  * Jodit Editor (https://xdsoft.net/jodit/)
38955
39003
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -38960,6 +39008,7 @@ function replaceOldTags(elm) {
38960
39008
 
38961
39009
 
38962
39010
 
39011
+
38963
39012
  let temp = 1;
38964
39013
  const $$temp = ()=>{
38965
39014
  temp++;
@@ -39004,7 +39053,7 @@ const $$temp = ()=>{
39004
39053
  root = root.container;
39005
39054
  }
39006
39055
  return $$('[ref],[data-ref]', root).reduce((def, child)=>{
39007
- const key = (0,_index_js__WEBPACK_IMPORTED_MODULE_5__.attr)(child, '-ref');
39056
+ const key = (0,_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(child, '-ref');
39008
39057
  if (key && (0,_checker_is_string_js__WEBPACK_IMPORTED_MODULE_3__.isString)(key)) {
39009
39058
  def[(0,_string_camel_case_js__WEBPACK_IMPORTED_MODULE_4__.camelCase)(key)] = child;
39010
39059
  def[key] = child;
@@ -39049,12 +39098,12 @@ const $$temp = ()=>{
39049
39098
  try {
39050
39099
  resolved = od.querySelector(element);
39051
39100
  } catch (_a) {
39052
- throw (0,_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('String "' + element + '" should be valid HTML selector');
39101
+ throw (0,_error_index_js__WEBPACK_IMPORTED_MODULE_6__.error)('String "' + element + '" should be valid HTML selector');
39053
39102
  }
39054
39103
  }
39055
39104
  // Duck checking
39056
39105
  if (!resolved || typeof resolved !== 'object' || !_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isElement(resolved) || !resolved.cloneNode) {
39057
- throw (0,_index_js__WEBPACK_IMPORTED_MODULE_5__.error)('Element "' + element + '" should be string or HTMLElement instance');
39106
+ throw (0,_error_index_js__WEBPACK_IMPORTED_MODULE_6__.error)('Element "' + element + '" should be string or HTMLElement instance');
39058
39107
  }
39059
39108
  return resolved;
39060
39109
  }
@@ -39439,18 +39488,17 @@ __webpack_require__.r(__webpack_exports__);
39439
39488
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
39440
39489
  /* harmony export */ isMarker: function() { return /* binding */ isMarker; }
39441
39490
  /* harmony export */ });
39442
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
39443
- /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
39491
+ /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
39444
39492
  /*!
39445
39493
  * Jodit Editor (https://xdsoft.net/jodit/)
39446
39494
  * Released under MIT see LICENSE.txt in the project root for license information.
39447
39495
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
39448
39496
  */
39449
-
39450
39497
  /**
39451
39498
  * Define element is selection helper
39499
+ * @deprecated use Dom.isMarker instead
39452
39500
  */ function isMarker(elm) {
39453
- 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);
39501
+ return _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isMarker(elm);
39454
39502
  }
39455
39503
 
39456
39504
 
@@ -40145,15 +40193,26 @@ Dialog = Dialog_1 = __decorate([
40145
40193
  /* harmony export */ ToolbarButton: function() { return /* binding */ ToolbarButton; }
40146
40194
  /* harmony export */ });
40147
40195
  /* harmony import */ var _core_component_statuses_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78213);
40148
- /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
40149
- /* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22732);
40150
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
40151
- /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62843);
40152
- /* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(72157);
40153
- /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12153);
40154
- /* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(56917);
40155
- /* harmony import */ var _collection_collection_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(11676);
40156
- /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(21491);
40196
+ /* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
40197
+ /* harmony import */ var _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33433);
40198
+ /* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87325);
40199
+ /* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37133);
40200
+ /* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2748);
40201
+ /* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(68345);
40202
+ /* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23282);
40203
+ /* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(19306);
40204
+ /* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(72430);
40205
+ /* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70799);
40206
+ /* harmony import */ var _core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(56175);
40207
+ /* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(87058);
40208
+ /* harmony import */ var _core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38837);
40209
+ /* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(29960);
40210
+ /* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(37790);
40211
+ /* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(62843);
40212
+ /* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(72157);
40213
+ /* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(12153);
40214
+ /* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(56917);
40215
+ /* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(21491);
40157
40216
  /*!
40158
40217
  * Jodit Editor (https://xdsoft.net/jodit/)
40159
40218
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -40174,18 +40233,31 @@ Dialog = Dialog_1 = __decorate([
40174
40233
 
40175
40234
 
40176
40235
 
40177
- let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.UIButton {
40178
- /** @override */ className() {
40236
+
40237
+
40238
+
40239
+
40240
+
40241
+
40242
+
40243
+
40244
+
40245
+
40246
+
40247
+ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__.UIButton {
40248
+ className() {
40179
40249
  return 'ToolbarButton';
40180
40250
  }
40181
40251
  /**
40182
40252
  * Get parent toolbar
40183
40253
  */ get toolbar() {
40184
- return this.closest(_collection_collection_js__WEBPACK_IMPORTED_MODULE_8__.ToolbarCollection);
40254
+ const ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_3__.getComponentClass)('ToolbarCollection');
40255
+ return this.closest(ToolbarCollection);
40185
40256
  }
40186
- /** @override **/ update() {
40257
+ update() {
40187
40258
  var _a, _b;
40188
- const { control, state } = this, tc = this.closest(_collection_collection_js__WEBPACK_IMPORTED_MODULE_8__.ToolbarCollection);
40259
+ const { control, state } = this;
40260
+ const tc = this.toolbar;
40189
40261
  if (!tc) {
40190
40262
  return;
40191
40263
  }
@@ -40201,7 +40273,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40201
40273
  * Calculates whether the button is active
40202
40274
  */ __calculateActivatedStatus(tc) {
40203
40275
  var _a, _b;
40204
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isJoditObject)(this.j) && !this.j.editorIsActive) {
40276
+ if ((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_8__.isJoditObject)(this.j) && !this.j.editorIsActive) {
40205
40277
  return false;
40206
40278
  }
40207
40279
  if ((_b = (_a = this.control).isActive) === null || _b === void 0 ? void 0 : _b.call(_a, this.j, this)) {
@@ -40224,33 +40296,33 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40224
40296
  }
40225
40297
  return Boolean(tc && tc.shouldBeDisabled(this));
40226
40298
  }
40227
- /** @override */ onChangeActivated() {
40228
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.button, 'aria-pressed', this.state.activated);
40299
+ onChangeActivated() {
40300
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.button, 'aria-pressed', this.state.activated);
40229
40301
  super.onChangeActivated();
40230
40302
  }
40231
- /** @override */ onChangeText() {
40232
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(this.control.template)) {
40303
+ onChangeText() {
40304
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(this.control.template)) {
40233
40305
  this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
40234
40306
  } else {
40235
40307
  super.onChangeText();
40236
40308
  }
40237
40309
  this.setMod('text-icons', Boolean(this.text.innerText.trim().length));
40238
40310
  }
40239
- /** @override */ onChangeTabIndex() {
40240
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.button, 'tabindex', this.state.tabIndex);
40311
+ onChangeTabIndex() {
40312
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.button, 'tabindex', this.state.tabIndex);
40241
40313
  }
40242
40314
  createContainer() {
40243
40315
  const cn = this.componentName;
40244
40316
  const container = this.j.c.span(cn);
40245
40317
  const button = super.createContainer();
40246
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
40318
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(container, 'role', 'listitem');
40247
40319
  button.classList.remove(cn);
40248
40320
  button.classList.add(cn + '__button');
40249
40321
  Object.defineProperty(button, 'component', {
40250
40322
  value: this
40251
40323
  });
40252
40324
  container.appendChild(button);
40253
- const trigger = this.j.c.fromHTML(`<span role="trigger" class="${cn}__trigger">${_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_6__.Icon.get('chevron')}</span>`);
40325
+ const trigger = this.j.c.fromHTML(`<span role="trigger" class="${cn}__trigger">${_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_18__.Icon.get('chevron')}</span>`);
40254
40326
  // For caching
40255
40327
  button.appendChild(trigger);
40256
40328
  return container;
@@ -40263,15 +40335,15 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40263
40335
  if (this.state.hasTrigger) {
40264
40336
  this.container.appendChild(this.trigger);
40265
40337
  } else {
40266
- _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(this.trigger);
40338
+ _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_5__.Dom.safeRemove(this.trigger);
40267
40339
  }
40268
40340
  this.setMod('with-trigger', this.state.hasTrigger || null);
40269
40341
  }
40270
40342
  /** @override */ onChangeDisabled() {
40271
40343
  const disabled = this.state.disabled ? 'disabled' : null;
40272
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.trigger, 'disabled', disabled);
40273
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.button, 'disabled', disabled);
40274
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'disabled', disabled);
40344
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.trigger, 'disabled', disabled);
40345
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.button, 'disabled', disabled);
40346
+ (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.container, 'disabled', disabled);
40275
40347
  }
40276
40348
  /**
40277
40349
  * Init constant data from control
@@ -40281,22 +40353,22 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40281
40353
  this.updateSize();
40282
40354
  state.name = ctr.name;
40283
40355
  const { textIcons } = this.j.o;
40284
- if (textIcons === true || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
40285
- state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.UIButtonState)().icon;
40356
+ if (textIcons === true || (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
40357
+ state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__.UIButtonState)().icon;
40286
40358
  state.text = ctr.text || ctr.name;
40287
40359
  } else {
40288
40360
  if (ctr.iconURL) {
40289
40361
  state.icon.iconURL = ctr.iconURL;
40290
40362
  } else {
40291
40363
  const name = ctr.icon || ctr.name;
40292
- 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 : '';
40364
+ 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 : '';
40293
40365
  }
40294
40366
  if (!ctr.iconURL && !state.icon.name) {
40295
40367
  state.text = ctr.text || ctr.name;
40296
40368
  }
40297
40369
  }
40298
40370
  if (ctr.tooltip) {
40299
- state.tooltip = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
40371
+ state.tooltip = (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
40300
40372
  }
40301
40373
  state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
40302
40374
  }
@@ -40315,15 +40387,15 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40315
40387
  if (ctr.list) {
40316
40388
  return this.__openControlList(ctr);
40317
40389
  }
40318
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
40390
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.popup)) {
40319
40391
  const popup = this.openPopup();
40320
40392
  popup.parentElement = this;
40321
40393
  try {
40322
- 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) {
40394
+ 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) {
40323
40395
  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;
40324
40396
  const elm = ctr.popup(this.j, target, this.__closePopup, this);
40325
40397
  if (elm) {
40326
- 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);
40398
+ 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);
40327
40399
  } else {
40328
40400
  this.__closePopup();
40329
40401
  }
@@ -40336,27 +40408,29 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40336
40408
  * Fired after the popup was opened for some control button
40337
40409
  */ /**
40338
40410
  * Close all opened popups
40339
- */ this.j.e.fire((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`after-${ctr.name}-open-popup`), popup.container);
40411
+ */ this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_12__.camelCase)(`after-${ctr.name}-open-popup`), popup.container);
40340
40412
  }
40341
40413
  }
40342
40414
  /**
40343
40415
  * Create an open popup list
40344
40416
  */ __openControlList(control) {
40345
40417
  var _a;
40346
- 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);
40347
- const list = control.list, menu = this.openPopup(), toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_9__.makeCollection)(this.j);
40418
+ 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);
40419
+ const list = control.list;
40420
+ const menu = this.openPopup();
40421
+ const toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_20__.makeCollection)(this.j);
40348
40422
  menu.parentElement = this;
40349
40423
  toolbar.parentElement = menu;
40350
40424
  toolbar.mode = 'vertical';
40351
- const isListItem = (key)=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(key) && 'title' in key && 'value' in key;
40425
+ const isListItem = (key)=>(0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_9__.isPlainObject)(key) && 'title' in key && 'value' in key;
40352
40426
  const getButton = (key, value)=>{
40353
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(value) && getControl(value)) {
40427
+ if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(value) && getControl(value)) {
40354
40428
  return {
40355
40429
  name: value.toString(),
40356
40430
  ...getControl(value)
40357
40431
  };
40358
40432
  }
40359
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(key) && getControl(key)) {
40433
+ if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(key) && getControl(key)) {
40360
40434
  return {
40361
40435
  name: key.toString(),
40362
40436
  ...getControl(key),
@@ -40390,26 +40464,26 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40390
40464
  value
40391
40465
  ]
40392
40466
  };
40393
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(value)) {
40467
+ if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_10__.isString)(value)) {
40394
40468
  childControl.text = value;
40395
40469
  }
40396
40470
  return childControl;
40397
40471
  };
40398
- 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);
40399
- menu.setContent(toolbar).open(()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
40472
+ 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);
40473
+ 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);
40400
40474
  this.state.activated = true;
40401
40475
  }
40402
40476
  onOutsideClick(e) {
40403
40477
  if (!this.openedPopup) {
40404
40478
  return;
40405
40479
  }
40406
- 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)) {
40480
+ 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)) {
40407
40481
  this.__closePopup();
40408
40482
  }
40409
40483
  }
40410
40484
  openPopup() {
40411
40485
  this.__closePopup();
40412
- this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.j, false);
40486
+ this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_19__.Popup(this.j, false);
40413
40487
  this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick);
40414
40488
  return this.openedPopup;
40415
40489
  }
@@ -40427,7 +40501,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40427
40501
  */ onClick(originalEvent) {
40428
40502
  var _a, _b, _c, _d, _e, _f, _g;
40429
40503
  const { control: ctr } = this;
40430
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.exec)) {
40504
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.exec)) {
40431
40505
  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;
40432
40506
  const result = ctr.exec(this.j, target, {
40433
40507
  control: ctr,
@@ -40451,11 +40525,11 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40451
40525
  if (ctr.list) {
40452
40526
  return this.__openControlList(ctr);
40453
40527
  }
40454
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
40528
+ if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_7__.isFunction)(ctr.popup)) {
40455
40529
  return this.onTriggerClick(originalEvent);
40456
40530
  }
40457
40531
  if (ctr.command || ctr.name) {
40458
- (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]);
40532
+ (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]);
40459
40533
  this.j.e.fire('closeAllPopups');
40460
40534
  }
40461
40535
  }
@@ -40468,21 +40542,21 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40468
40542
  this.control = control;
40469
40543
  this.target = target;
40470
40544
  this.state = {
40471
- ...(0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_4__.UIButtonState)(),
40545
+ ...(0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_16__.UIButtonState)(),
40472
40546
  theme: 'toolbar',
40473
40547
  currentValue: '',
40474
40548
  hasTrigger: false
40475
40549
  };
40476
40550
  this.openedPopup = null;
40477
40551
  const button = this.getElm('button');
40478
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.assert)(button, 'Element button should exists');
40552
+ (0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_13__.assert)(button, 'Element button should exists');
40479
40553
  this.button = button;
40480
40554
  Object.defineProperty(button, 'component', {
40481
40555
  value: this,
40482
40556
  configurable: true
40483
40557
  });
40484
40558
  const trigger = this.getElm('trigger');
40485
- (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.assert)(trigger, 'Element trigger should exists');
40559
+ (0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_13__.assert)(trigger, 'Element trigger should exists');
40486
40560
  this.trigger = trigger;
40487
40561
  trigger.remove();
40488
40562
  // Prevent lost focus
@@ -40503,24 +40577,24 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
40503
40577
  }
40504
40578
  };
40505
40579
  __decorate([
40506
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.cacheHTML
40580
+ _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_2__.cacheHTML
40507
40581
  ], ToolbarButton.prototype, "createContainer", null);
40508
40582
  __decorate([
40509
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('state.hasTrigger', {
40583
+ (0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__.watch)('state.hasTrigger', {
40510
40584
  immediately: false
40511
40585
  })
40512
40586
  ], ToolbarButton.prototype, "onChangeHasTrigger", null);
40513
40587
  __decorate([
40514
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('trigger:click')
40588
+ (0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_4__.watch)('trigger:click')
40515
40589
  ], ToolbarButton.prototype, "onTriggerClick", null);
40516
40590
  __decorate([
40517
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
40591
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
40518
40592
  ], ToolbarButton.prototype, "onOutsideClick", null);
40519
40593
  __decorate([
40520
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
40594
+ _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
40521
40595
  ], ToolbarButton.prototype, "__closePopup", null);
40522
40596
  ToolbarButton = __decorate([
40523
- _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.component
40597
+ _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_3__.component
40524
40598
  ], ToolbarButton);
40525
40599
 
40526
40600
 
@@ -40567,8 +40641,8 @@ ToolbarButton = __decorate([
40567
40641
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
40568
40642
  /* harmony export */ History: function() { return /* binding */ History; }
40569
40643
  /* harmony export */ });
40570
- /* harmony import */ var _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91907);
40571
- /* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
40644
+ /* harmony import */ var _core_component_view_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80480);
40645
+ /* harmony import */ var _core_decorators_debounce_debounce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81577);
40572
40646
  /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6441);
40573
40647
  /* harmony import */ var _command_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(92643);
40574
40648
  /* harmony import */ var _snapshot_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52604);
@@ -40596,7 +40670,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.history = {
40596
40670
  };
40597
40671
  /**
40598
40672
  * The module monitors the status of the editor and creates / deletes the required number of Undo / Redo shots .
40599
- */ class History extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.ViewComponent {
40673
+ */ class History extends _core_component_view_component_js__WEBPACK_IMPORTED_MODULE_0__.ViewComponent {
40600
40674
  /** @override */ className() {
40601
40675
  return 'History';
40602
40676
  }
@@ -40719,7 +40793,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.history = {
40719
40793
  }
40720
40794
  }
40721
40795
  __decorate([
40722
- (0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
40796
+ (0,_core_decorators_debounce_debounce_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
40723
40797
  ], History.prototype, "onChange", null);
40724
40798
 
40725
40799
 
@@ -42900,7 +42974,8 @@ const getClassName = (obj)=>{
42900
42974
  /* harmony import */ var jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
42901
42975
  /* harmony import */ var jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10058);
42902
42976
  /* harmony import */ var jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97420);
42903
- /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30717);
42977
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_calc_list_levels__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31269);
42978
+ /* harmony import */ var jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43712);
42904
42979
  /*!
42905
42980
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
42906
42981
  * See LICENSE.md in the project root for license information.
@@ -42909,6 +42984,7 @@ const getClassName = (obj)=>{
42909
42984
 
42910
42985
 
42911
42986
 
42987
+
42912
42988
  function convertToList(elm) {
42913
42989
  if ((0,jodit_pro_plugins_paste_from_word_element__WEBPACK_IMPORTED_MODULE_2__.isPseudoLeaf)(elm)) {
42914
42990
  elm.name = 'li';
@@ -42916,7 +42992,7 @@ function convertToList(elm) {
42916
42992
  const symbol = getSymbol(elm), listType = /[\da-np-zA-NP-Z].?/.test(symbol) ? 'ol' : 'ul', listStyle = defineOrderedListStyle(symbol, listType);
42917
42993
  elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.TYPE_KEY] = listType;
42918
42994
  elm.attributes[jodit_pro_plugins_paste_from_word_constants__WEBPACK_IMPORTED_MODULE_1__.STYLE_KEY] = listStyle;
42919
- (0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_3__.calcListLevels)(elm);
42995
+ (0,jodit_pro_plugins_paste_from_word_helpers_calc_list_levels__WEBPACK_IMPORTED_MODULE_3__.calcListLevels)(elm);
42920
42996
  moveUp(elm);
42921
42997
  const { parent } = elm;
42922
42998
  // After move up we inside List or Leaf
@@ -42979,7 +43055,7 @@ function defineOrderedListStyle(symbol, listType) {
42979
43055
  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)(), '');
42980
43056
  function wrapInNewList(elm, listType, symbol, listStyle) {
42981
43057
  const newList = elm.wrap(listType);
42982
- newList.attributes['start'] = (0,jodit_pro_plugins_paste_from_word_helpers__WEBPACK_IMPORTED_MODULE_3__.calcStartBySymbol)(symbol);
43058
+ newList.attributes['start'] = (0,jodit_pro_plugins_paste_from_word_helpers_helpers__WEBPACK_IMPORTED_MODULE_4__.calcStartBySymbol)(symbol);
42983
43059
  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];
42984
43060
  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];
42985
43061
  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];
@@ -44046,9 +44122,10 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('cleanHtml', clean
44046
44122
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
44047
44123
  /* harmony export */ wrapList: function() { return /* binding */ wrapList; }
44048
44124
  /* harmony export */ });
44049
- /* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22732);
44050
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63687);
44051
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(77361);
44125
+ /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
44126
+ /* harmony import */ var _is_same_attributes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94466);
44127
+ /* harmony import */ var _toggle_attributes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44253);
44128
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(77361);
44052
44129
  /*!
44053
44130
  * Jodit Editor (https://xdsoft.net/jodit/)
44054
44131
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -44056,32 +44133,33 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('cleanHtml', clean
44056
44133
  */
44057
44134
 
44058
44135
 
44136
+
44059
44137
  /**
44060
44138
  * Replaces non-leaf items with leaf items and either creates a new list or
44061
44139
  * adds a new item to the nearest old list
44062
44140
  * @private
44063
44141
  */ function wrapList(commitStyle, wrapper, jodit) {
44064
- const result = jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_2__._PREFIX}BeforeWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_2__.REPLACE, wrapper, commitStyle);
44065
- const newWrapper = result !== null && result !== void 0 ? result : _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.replace(wrapper, 'li', jodit.createInside);
44142
+ const result = jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_3__._PREFIX}BeforeWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_3__.REPLACE, wrapper, commitStyle);
44143
+ const newWrapper = result !== null && result !== void 0 ? result : _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.replace(wrapper, 'li', jodit.createInside);
44066
44144
  const prev = newWrapper.previousElementSibling;
44067
44145
  const next = newWrapper.nextElementSibling;
44068
- let list = _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(prev, commitStyle.element) ? prev : null;
44069
- list !== null && list !== void 0 ? list : list = _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(next, commitStyle.element) ? next : null;
44070
- if (!_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isList(list) || !(0,_index_js__WEBPACK_IMPORTED_MODULE_1__.isSameAttributes)(list, commitStyle.options.attributes)) {
44146
+ let list = _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(prev, commitStyle.element) ? prev : null;
44147
+ list !== null && list !== void 0 ? list : list = _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(next, commitStyle.element) ? next : null;
44148
+ 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)) {
44071
44149
  list = jodit.createInside.element(commitStyle.element);
44072
- (0,_index_js__WEBPACK_IMPORTED_MODULE_1__.toggleAttributes)(commitStyle, list, jodit, _constants_js__WEBPACK_IMPORTED_MODULE_2__.INITIAL);
44073
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.before(newWrapper, list);
44150
+ (0,_toggle_attributes_js__WEBPACK_IMPORTED_MODULE_2__.toggleAttributes)(commitStyle, list, jodit, _constants_js__WEBPACK_IMPORTED_MODULE_3__.INITIAL);
44151
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.before(newWrapper, list);
44074
44152
  }
44075
44153
  if (prev === list) {
44076
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, newWrapper);
44154
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, newWrapper);
44077
44155
  } else {
44078
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(list, newWrapper);
44156
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(list, newWrapper);
44079
44157
  }
44080
- 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)) {
44081
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, Array.from(list.nextElementSibling.childNodes));
44082
- _dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(list.nextElementSibling);
44158
+ 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)) {
44159
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(list, Array.from(list.nextElementSibling.childNodes));
44160
+ _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(list.nextElementSibling);
44083
44161
  }
44084
- jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_2__._PREFIX}AfterWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_2__.WRAP, list, commitStyle);
44162
+ jodit.e.fire(`${_constants_js__WEBPACK_IMPORTED_MODULE_3__._PREFIX}AfterWrapList`, _constants_js__WEBPACK_IMPORTED_MODULE_3__.WRAP, list, commitStyle);
44085
44163
  return list;
44086
44164
  }
44087
44165
 
@@ -44234,7 +44312,7 @@ __webpack_require__.r(__webpack_exports__);
44234
44312
  * ```
44235
44313
  * @packageDocumentation
44236
44314
  * @module constants
44237
- */ const APP_VERSION = "4.8.13";
44315
+ */ const APP_VERSION = "4.9.2";
44238
44316
  // prettier-ignore
44239
44317
  const ES = "es2021";
44240
44318
  const IS_ES_MODERN = true;
@@ -46693,13 +46771,19 @@ const dataBind = (elm, key, value)=>{
46693
46771
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
46694
46772
 
46695
46773
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
46696
- /* harmony export */ component: function() { return /* binding */ component; }
46774
+ /* harmony export */ component: function() { return /* binding */ component; },
46775
+ /* harmony export */ getComponentClass: function() { return /* binding */ getComponentClass; }
46697
46776
  /* harmony export */ });
46777
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
46778
+ /* harmony import */ var _helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80568);
46698
46779
  /*!
46699
46780
  * Jodit Editor (https://xdsoft.net/jodit/)
46700
46781
  * Released under MIT see LICENSE.txt in the project root for license information.
46701
46782
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
46702
- */ /**
46783
+ */
46784
+
46785
+ const componentRegistry = new Map();
46786
+ /**
46703
46787
  * Decorate components and set status isReady after constructor
46704
46788
  * @param constructorFunction - Component constructor class
46705
46789
  */ function component(constructorFunction) {
@@ -46718,8 +46802,16 @@ const dataBind = (elm, key, value)=>{
46718
46802
  }
46719
46803
  }
46720
46804
  }
46805
+ const name = (0,_helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_1__.getClassName)(constructorFunction.prototype);
46806
+ if (componentRegistry.has(name) && !_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
46807
+ throw new Error(`Component with name "${name}" is already registered`);
46808
+ }
46809
+ componentRegistry.set(name, newConstructorFunction);
46721
46810
  return newConstructorFunction;
46722
46811
  }
46812
+ function getComponentClass(name) {
46813
+ return componentRegistry.get(name);
46814
+ }
46723
46815
 
46724
46816
 
46725
46817
  /***/ }),
@@ -47175,7 +47267,6 @@ __webpack_require__.r(__webpack_exports__);
47175
47267
  /* harmony export */ abort: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.abort; },
47176
47268
  /* harmony export */ connection: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.connection; },
47177
47269
  /* harmony export */ error: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.error; },
47178
- /* harmony export */ isAbort: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.isAbort; },
47179
47270
  /* harmony export */ options: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.options; }
47180
47271
  /* harmony export */ });
47181
47272
  /* harmony import */ var _error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82760);
@@ -48904,23 +48995,15 @@ __webpack_require__.r(__webpack_exports__);
48904
48995
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
48905
48996
 
48906
48997
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
48907
- /* harmony export */ abort: function() { return /* binding */ abort; },
48908
- /* harmony export */ isAbort: function() { return /* binding */ isAbort; }
48998
+ /* harmony export */ abort: function() { return /* binding */ abort; }
48909
48999
  /* harmony export */ });
48910
- /* harmony import */ var _checker_is_abort_error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12045);
48911
49000
  /*!
48912
49001
  * Jodit Editor (https://xdsoft.net/jodit/)
48913
49002
  * Released under MIT see LICENSE.txt in the project root for license information.
48914
49003
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
48915
- */ /**
48916
- * @module helpers/utils
48917
- */
48918
- function abort(message = 'Aborted') {
49004
+ */ function abort(message = 'Aborted') {
48919
49005
  return new DOMException(message, 'AbortError');
48920
49006
  }
48921
- /**
48922
- * @deprecated use `isAbortError` instead
48923
- */ const isAbort = _checker_is_abort_error_js__WEBPACK_IMPORTED_MODULE_0__.isAbortError;
48924
49007
 
48925
49008
 
48926
49009
  /***/ }),