jodit-pro 2.0.0-beta.12 → 2.0.0-beta.21

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 (844) hide show
  1. package/es2015/jodit.css +19 -1
  2. package/es2015/jodit.fat.min.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +2121 -105
  5. package/es2015/jodit.min.css +1 -1
  6. package/es2015/jodit.min.js +2 -2
  7. package/es2015/plugins/autocomplete/autocomplete.js +2 -448
  8. package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
  9. package/es2015/plugins/backup/backup.css +1 -1
  10. package/es2015/plugins/backup/backup.js +24 -19
  11. package/es2015/plugins/backup/backup.min.js +2 -2
  12. package/es2015/plugins/button-generator/button-generator.css +1 -1
  13. package/es2015/plugins/button-generator/button-generator.js +55 -46
  14. package/es2015/plugins/button-generator/button-generator.min.js +2 -2
  15. package/es2015/plugins/change-case/change-case.js +10 -7
  16. package/es2015/plugins/change-case/change-case.min.js +2 -2
  17. package/es2015/plugins/color-picker/color-picker.css +1 -1
  18. package/es2015/plugins/color-picker/color-picker.js +10 -8
  19. package/es2015/plugins/color-picker/color-picker.min.js +2 -2
  20. package/es2015/plugins/emoji/emoji.css +1 -1
  21. package/es2015/plugins/emoji/emoji.js +20 -15
  22. package/es2015/plugins/emoji/emoji.min.js +2 -2
  23. package/es2015/plugins/export-docs/export-docs.js +9 -6
  24. package/es2015/plugins/export-docs/export-docs.min.js +2 -2
  25. package/es2015/plugins/finder/finder.css +6 -6
  26. package/es2015/plugins/finder/finder.js +215 -199
  27. package/es2015/plugins/finder/finder.min.css +1 -1
  28. package/es2015/plugins/finder/finder.min.js +2 -2
  29. package/es2015/plugins/google-maps/google-maps.css +1 -1
  30. package/es2015/plugins/google-maps/google-maps.js +149 -116
  31. package/es2015/plugins/google-maps/google-maps.min.js +2 -2
  32. package/es2015/plugins/google-search/google-search.js +7 -4
  33. package/es2015/plugins/google-search/google-search.min.js +2 -2
  34. package/es2015/plugins/highlight-signature/highlight-signature.js +9 -9
  35. package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
  36. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  37. package/es2015/plugins/iframe-editor/iframe-editor.js +17 -14
  38. package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
  39. package/es2015/plugins/keyboard/keyboard.css +1 -1
  40. package/es2015/plugins/keyboard/keyboard.js +36 -19
  41. package/es2015/plugins/keyboard/keyboard.min.js +2 -2
  42. package/es2015/plugins/mobile-view/mobile-view.js +13 -10
  43. package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
  44. package/es2015/plugins/page-break/page-break.js +9 -6
  45. package/es2015/plugins/page-break/page-break.min.js +2 -2
  46. package/es2015/plugins/paste-code/paste-code.css +1 -1
  47. package/es2015/plugins/paste-code/paste-code.js +9 -6
  48. package/es2015/plugins/paste-code/paste-code.min.js +2 -2
  49. package/es2015/plugins/paste-from-word/paste-from-word.js +2 -1516
  50. package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
  51. package/es2015/plugins/show-blocks/show-blocks.js +15 -10
  52. package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
  53. package/es2015/plugins/todo-list/todo-list.css +1 -1
  54. package/es2015/plugins/todo-list/todo-list.js +7 -4
  55. package/es2015/plugins/todo-list/todo-list.min.js +2 -2
  56. package/es2015/plugins/translate/translate.css +1 -1
  57. package/es2015/plugins/translate/translate.js +16 -10
  58. package/es2015/plugins/translate/translate.min.js +2 -2
  59. package/es2015/plugins/tune-block/tune-block.css +1 -1
  60. package/es2015/plugins/tune-block/tune-block.js +3 -3
  61. package/es2015/plugins/tune-block/tune-block.min.js +2 -2
  62. package/es2018/jodit.css +19 -1
  63. package/es2018/jodit.fat.min.css +1 -1
  64. package/es2018/jodit.fat.min.js +2 -2
  65. package/es2018/jodit.js +2119 -105
  66. package/es2018/jodit.min.css +1 -1
  67. package/es2018/jodit.min.js +2 -2
  68. package/es2018/plugins/autocomplete/autocomplete.js +2 -446
  69. package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
  70. package/es2018/plugins/backup/backup.css +1 -1
  71. package/es2018/plugins/backup/backup.js +24 -19
  72. package/es2018/plugins/backup/backup.min.js +2 -2
  73. package/es2018/plugins/button-generator/button-generator.css +1 -1
  74. package/es2018/plugins/button-generator/button-generator.js +55 -46
  75. package/es2018/plugins/button-generator/button-generator.min.js +2 -2
  76. package/es2018/plugins/change-case/change-case.js +10 -7
  77. package/es2018/plugins/change-case/change-case.min.js +2 -2
  78. package/es2018/plugins/color-picker/color-picker.css +1 -1
  79. package/es2018/plugins/color-picker/color-picker.js +10 -8
  80. package/es2018/plugins/color-picker/color-picker.min.js +2 -2
  81. package/es2018/plugins/emoji/emoji.css +1 -1
  82. package/es2018/plugins/emoji/emoji.js +20 -15
  83. package/es2018/plugins/emoji/emoji.min.js +2 -2
  84. package/es2018/plugins/export-docs/export-docs.js +9 -6
  85. package/es2018/plugins/export-docs/export-docs.min.js +2 -2
  86. package/es2018/plugins/finder/finder.css +6 -6
  87. package/es2018/plugins/finder/finder.js +214 -198
  88. package/es2018/plugins/finder/finder.min.css +1 -1
  89. package/es2018/plugins/finder/finder.min.js +2 -2
  90. package/es2018/plugins/google-maps/google-maps.css +1 -1
  91. package/es2018/plugins/google-maps/google-maps.js +131 -98
  92. package/es2018/plugins/google-maps/google-maps.min.js +2 -2
  93. package/es2018/plugins/google-search/google-search.js +7 -4
  94. package/es2018/plugins/google-search/google-search.min.js +2 -2
  95. package/es2018/plugins/highlight-signature/highlight-signature.js +9 -9
  96. package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
  97. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  98. package/es2018/plugins/iframe-editor/iframe-editor.js +17 -14
  99. package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
  100. package/es2018/plugins/keyboard/keyboard.css +1 -1
  101. package/es2018/plugins/keyboard/keyboard.js +36 -19
  102. package/es2018/plugins/keyboard/keyboard.min.js +2 -2
  103. package/es2018/plugins/mobile-view/mobile-view.js +13 -10
  104. package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
  105. package/es2018/plugins/page-break/page-break.js +9 -6
  106. package/es2018/plugins/page-break/page-break.min.js +2 -2
  107. package/es2018/plugins/paste-code/paste-code.css +1 -1
  108. package/es2018/plugins/paste-code/paste-code.js +9 -6
  109. package/es2018/plugins/paste-code/paste-code.min.js +2 -2
  110. package/es2018/plugins/paste-from-word/paste-from-word.js +2 -1516
  111. package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
  112. package/es2018/plugins/show-blocks/show-blocks.js +15 -10
  113. package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
  114. package/es2018/plugins/todo-list/todo-list.css +1 -1
  115. package/es2018/plugins/todo-list/todo-list.js +7 -4
  116. package/es2018/plugins/todo-list/todo-list.min.js +2 -2
  117. package/es2018/plugins/translate/translate.css +1 -1
  118. package/es2018/plugins/translate/translate.js +16 -10
  119. package/es2018/plugins/translate/translate.min.js +2 -2
  120. package/es2018/plugins/tune-block/tune-block.css +1 -1
  121. package/es2018/plugins/tune-block/tune-block.js +3 -3
  122. package/es2018/plugins/tune-block/tune-block.min.js +2 -2
  123. package/es2021/jodit.css +19 -1
  124. package/es2021/jodit.fat.min.css +1 -1
  125. package/es2021/jodit.fat.min.js +2 -2
  126. package/es2021/jodit.js +2098 -104
  127. package/es2021/jodit.min.css +1 -1
  128. package/es2021/jodit.min.js +2 -2
  129. package/es2021/plugins/autocomplete/autocomplete.js +2 -438
  130. package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
  131. package/es2021/plugins/backup/backup.css +1 -1
  132. package/es2021/plugins/backup/backup.js +24 -19
  133. package/es2021/plugins/backup/backup.min.js +2 -2
  134. package/es2021/plugins/button-generator/button-generator.css +1 -1
  135. package/es2021/plugins/button-generator/button-generator.js +55 -46
  136. package/es2021/plugins/button-generator/button-generator.min.js +2 -2
  137. package/es2021/plugins/change-case/change-case.js +10 -7
  138. package/es2021/plugins/change-case/change-case.min.js +2 -2
  139. package/es2021/plugins/color-picker/color-picker.css +1 -1
  140. package/es2021/plugins/color-picker/color-picker.js +10 -8
  141. package/es2021/plugins/color-picker/color-picker.min.js +2 -2
  142. package/es2021/plugins/emoji/emoji.css +1 -1
  143. package/es2021/plugins/emoji/emoji.js +20 -15
  144. package/es2021/plugins/emoji/emoji.min.js +2 -2
  145. package/es2021/plugins/export-docs/export-docs.js +9 -6
  146. package/es2021/plugins/export-docs/export-docs.min.js +2 -2
  147. package/es2021/plugins/finder/finder.css +6 -6
  148. package/es2021/plugins/finder/finder.js +214 -198
  149. package/es2021/plugins/finder/finder.min.css +1 -1
  150. package/es2021/plugins/finder/finder.min.js +2 -2
  151. package/es2021/plugins/google-maps/google-maps.css +1 -1
  152. package/es2021/plugins/google-maps/google-maps.js +131 -98
  153. package/es2021/plugins/google-maps/google-maps.min.js +2 -2
  154. package/es2021/plugins/google-search/google-search.js +7 -4
  155. package/es2021/plugins/google-search/google-search.min.js +2 -2
  156. package/es2021/plugins/highlight-signature/highlight-signature.js +9 -9
  157. package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
  158. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  159. package/es2021/plugins/iframe-editor/iframe-editor.js +17 -14
  160. package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
  161. package/es2021/plugins/keyboard/keyboard.css +1 -1
  162. package/es2021/plugins/keyboard/keyboard.js +36 -19
  163. package/es2021/plugins/keyboard/keyboard.min.js +2 -2
  164. package/es2021/plugins/mobile-view/mobile-view.js +13 -10
  165. package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
  166. package/es2021/plugins/page-break/page-break.js +9 -6
  167. package/es2021/plugins/page-break/page-break.min.js +2 -2
  168. package/es2021/plugins/paste-code/paste-code.css +1 -1
  169. package/es2021/plugins/paste-code/paste-code.js +9 -6
  170. package/es2021/plugins/paste-code/paste-code.min.js +2 -2
  171. package/es2021/plugins/paste-from-word/paste-from-word.js +2 -1503
  172. package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
  173. package/es2021/plugins/show-blocks/show-blocks.js +15 -10
  174. package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
  175. package/es2021/plugins/todo-list/todo-list.css +1 -1
  176. package/es2021/plugins/todo-list/todo-list.js +7 -4
  177. package/es2021/plugins/todo-list/todo-list.min.js +2 -2
  178. package/es2021/plugins/translate/translate.css +1 -1
  179. package/es2021/plugins/translate/translate.js +16 -10
  180. package/es2021/plugins/translate/translate.min.js +2 -2
  181. package/es2021/plugins/tune-block/tune-block.css +1 -1
  182. package/es2021/plugins/tune-block/tune-block.js +3 -3
  183. package/es2021/plugins/tune-block/tune-block.min.js +2 -2
  184. package/es2021.en/jodit.css +19 -1
  185. package/es2021.en/jodit.fat.min.css +1 -1
  186. package/es2021.en/jodit.fat.min.js +2 -2
  187. package/es2021.en/jodit.js +2098 -104
  188. package/es2021.en/jodit.min.css +1 -1
  189. package/es2021.en/jodit.min.js +2 -2
  190. package/es2021.en/plugins/autocomplete/autocomplete.js +2 -438
  191. package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
  192. package/es2021.en/plugins/backup/backup.css +1 -1
  193. package/es2021.en/plugins/backup/backup.js +24 -19
  194. package/es2021.en/plugins/backup/backup.min.js +2 -2
  195. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  196. package/es2021.en/plugins/button-generator/button-generator.js +55 -46
  197. package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
  198. package/es2021.en/plugins/change-case/change-case.js +10 -7
  199. package/es2021.en/plugins/change-case/change-case.min.js +2 -2
  200. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  201. package/es2021.en/plugins/color-picker/color-picker.js +10 -8
  202. package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
  203. package/es2021.en/plugins/emoji/emoji.css +1 -1
  204. package/es2021.en/plugins/emoji/emoji.js +20 -15
  205. package/es2021.en/plugins/emoji/emoji.min.js +2 -2
  206. package/es2021.en/plugins/export-docs/export-docs.js +9 -6
  207. package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
  208. package/es2021.en/plugins/finder/finder.css +6 -6
  209. package/es2021.en/plugins/finder/finder.js +214 -198
  210. package/es2021.en/plugins/finder/finder.min.css +1 -1
  211. package/es2021.en/plugins/finder/finder.min.js +2 -2
  212. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  213. package/es2021.en/plugins/google-maps/google-maps.js +131 -98
  214. package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
  215. package/es2021.en/plugins/google-search/google-search.js +7 -4
  216. package/es2021.en/plugins/google-search/google-search.min.js +2 -2
  217. package/es2021.en/plugins/highlight-signature/highlight-signature.js +9 -9
  218. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
  219. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  220. package/es2021.en/plugins/iframe-editor/iframe-editor.js +17 -14
  221. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
  222. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  223. package/es2021.en/plugins/keyboard/keyboard.js +36 -19
  224. package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
  225. package/es2021.en/plugins/mobile-view/mobile-view.js +13 -10
  226. package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
  227. package/es2021.en/plugins/page-break/page-break.js +9 -6
  228. package/es2021.en/plugins/page-break/page-break.min.js +2 -2
  229. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  230. package/es2021.en/plugins/paste-code/paste-code.js +9 -6
  231. package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
  232. package/es2021.en/plugins/paste-from-word/paste-from-word.js +2 -1503
  233. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +2 -2
  234. package/es2021.en/plugins/show-blocks/show-blocks.js +15 -10
  235. package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
  236. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  237. package/es2021.en/plugins/todo-list/todo-list.js +7 -4
  238. package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
  239. package/es2021.en/plugins/translate/translate.css +1 -1
  240. package/es2021.en/plugins/translate/translate.js +16 -10
  241. package/es2021.en/plugins/translate/translate.min.js +2 -2
  242. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  243. package/es2021.en/plugins/tune-block/tune-block.js +3 -3
  244. package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
  245. package/es5/jodit.css +30 -51
  246. package/es5/jodit.fat.min.css +1 -1
  247. package/es5/jodit.fat.min.js +2 -2
  248. package/es5/jodit.js +2320 -108
  249. package/es5/jodit.min.css +3 -3
  250. package/es5/jodit.min.js +2 -2
  251. package/es5/plugins/autocomplete/autocomplete.js +2 -511
  252. package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
  253. package/es5/plugins/backup/backup.css +1 -1
  254. package/es5/plugins/backup/backup.js +26 -21
  255. package/es5/plugins/backup/backup.min.js +2 -2
  256. package/es5/plugins/button-generator/button-generator.css +1 -1
  257. package/es5/plugins/button-generator/button-generator.js +59 -50
  258. package/es5/plugins/button-generator/button-generator.min.js +2 -2
  259. package/es5/plugins/change-case/change-case.js +10 -7
  260. package/es5/plugins/change-case/change-case.min.js +2 -2
  261. package/es5/plugins/color-picker/color-picker.css +1 -1
  262. package/es5/plugins/color-picker/color-picker.js +11 -9
  263. package/es5/plugins/color-picker/color-picker.min.js +2 -2
  264. package/es5/plugins/emoji/emoji.css +1 -1
  265. package/es5/plugins/emoji/emoji.js +20 -15
  266. package/es5/plugins/emoji/emoji.min.js +2 -2
  267. package/es5/plugins/export-docs/export-docs.js +9 -6
  268. package/es5/plugins/export-docs/export-docs.min.js +2 -2
  269. package/es5/plugins/finder/finder.css +6 -6
  270. package/es5/plugins/finder/finder.js +238 -222
  271. package/es5/plugins/finder/finder.min.css +1 -1
  272. package/es5/plugins/finder/finder.min.js +2 -2
  273. package/es5/plugins/google-maps/google-maps.css +1 -1
  274. package/es5/plugins/google-maps/google-maps.js +164 -131
  275. package/es5/plugins/google-maps/google-maps.min.js +2 -2
  276. package/es5/plugins/google-search/google-search.js +9 -6
  277. package/es5/plugins/google-search/google-search.min.js +2 -2
  278. package/es5/plugins/highlight-signature/highlight-signature.js +9 -9
  279. package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
  280. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  281. package/es5/plugins/iframe-editor/iframe-editor.js +18 -15
  282. package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
  283. package/es5/plugins/keyboard/keyboard.css +1 -1
  284. package/es5/plugins/keyboard/keyboard.js +37 -20
  285. package/es5/plugins/keyboard/keyboard.min.js +2 -2
  286. package/es5/plugins/mobile-view/mobile-view.js +13 -10
  287. package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
  288. package/es5/plugins/page-break/page-break.js +9 -6
  289. package/es5/plugins/page-break/page-break.min.js +2 -2
  290. package/es5/plugins/paste-code/paste-code.css +1 -1
  291. package/es5/plugins/paste-code/paste-code.js +9 -6
  292. package/es5/plugins/paste-code/paste-code.min.js +2 -2
  293. package/es5/plugins/paste-from-word/paste-from-word.js +2 -1645
  294. package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
  295. package/es5/plugins/show-blocks/show-blocks.js +16 -11
  296. package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
  297. package/es5/plugins/todo-list/todo-list.css +1 -1
  298. package/es5/plugins/todo-list/todo-list.js +7 -4
  299. package/es5/plugins/todo-list/todo-list.min.js +2 -2
  300. package/es5/plugins/translate/translate.css +1 -1
  301. package/es5/plugins/translate/translate.js +17 -11
  302. package/es5/plugins/translate/translate.min.js +2 -2
  303. package/es5/plugins/tune-block/tune-block.css +1 -1
  304. package/es5/plugins/tune-block/tune-block.js +3 -3
  305. package/es5/plugins/tune-block/tune-block.min.js +2 -2
  306. package/esm/config.d.ts +11 -0
  307. package/esm/config.js +6 -0
  308. package/esm/core/ui/form/range/range.d.ts +23 -0
  309. package/esm/core/ui/form/range/range.js +6 -0
  310. package/esm/index.d.ts +7 -0
  311. package/esm/index.js +6 -0
  312. package/esm/jodit-pro.d.ts +14 -0
  313. package/esm/jodit-pro.js +6 -0
  314. package/esm/plugins/autocomplete/autocomplete.d.ts +40 -0
  315. package/esm/plugins/autocomplete/autocomplete.js +6 -0
  316. package/esm/plugins/autocomplete/helpers.d.ts +25 -0
  317. package/esm/plugins/autocomplete/helpers.js +6 -0
  318. package/esm/plugins/autocomplete/interface.d.ts +19 -0
  319. package/esm/plugins/autocomplete/interface.js +6 -0
  320. package/esm/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
  321. package/esm/plugins/autocomplete/ui/autocomplete.js +6 -0
  322. package/esm/plugins/autocomplete/ui/item.d.ts +14 -0
  323. package/esm/plugins/autocomplete/ui/item.js +6 -0
  324. package/esm/plugins/backup/assets/restore.svg.js +1 -0
  325. package/esm/plugins/backup/backup.d.ts +29 -0
  326. package/esm/plugins/backup/backup.js +6 -0
  327. package/esm/plugins/backup/config.d.ts +18 -0
  328. package/esm/plugins/backup/config.js +6 -0
  329. package/esm/plugins/backup/interface.d.ts +14 -0
  330. package/esm/plugins/backup/interface.js +6 -0
  331. package/esm/plugins/backup/langs/index.d.ts +6 -0
  332. package/esm/plugins/backup/langs/index.js +6 -0
  333. package/esm/plugins/backup/modules/store.d.ts +15 -0
  334. package/esm/plugins/backup/modules/store.js +6 -0
  335. package/esm/plugins/backup/ui/box.d.ts +29 -0
  336. package/esm/plugins/backup/ui/box.js +6 -0
  337. package/esm/plugins/backup/ui/item.d.ts +17 -0
  338. package/esm/plugins/backup/ui/item.js +6 -0
  339. package/esm/plugins/backup/ui/list.d.ts +24 -0
  340. package/esm/plugins/backup/ui/list.js +6 -0
  341. package/esm/plugins/button-generator/assets/check.svg.js +1 -0
  342. package/esm/plugins/button-generator/assets/styles.json +1162 -0
  343. package/esm/plugins/button-generator/assets/styles.json.js +1 -0
  344. package/esm/plugins/button-generator/button-generator.d.ts +25 -0
  345. package/esm/plugins/button-generator/button-generator.js +1 -0
  346. package/esm/plugins/button-generator/config.d.ts +6 -0
  347. package/esm/plugins/button-generator/config.js +6 -0
  348. package/esm/plugins/button-generator/icon.svg.js +1 -0
  349. package/esm/plugins/button-generator/ui/button/button.d.ts +21 -0
  350. package/esm/plugins/button-generator/ui/button/button.js +7 -0
  351. package/esm/plugins/button-generator/ui/form/form.d.ts +20 -0
  352. package/esm/plugins/button-generator/ui/form/form.js +6 -0
  353. package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
  354. package/esm/plugins/button-generator/ui/generator/button-generator.js +6 -0
  355. package/esm/plugins/button-generator/ui/preview/preview.d.ts +22 -0
  356. package/esm/plugins/button-generator/ui/preview/preview.js +6 -0
  357. package/esm/plugins/change-case/change-case.d.ts +22 -0
  358. package/esm/plugins/change-case/change-case.js +6 -0
  359. package/esm/plugins/change-case/config.d.ts +6 -0
  360. package/esm/plugins/change-case/config.js +6 -0
  361. package/esm/plugins/change-case/icon.svg.js +1 -0
  362. package/esm/plugins/color-picker/color-picker.d.ts +18 -0
  363. package/esm/plugins/color-picker/color-picker.js +6 -0
  364. package/esm/plugins/color-picker/ui/input/color-input.d.ts +19 -0
  365. package/esm/plugins/color-picker/ui/input/color-input.js +6 -0
  366. package/esm/plugins/emoji/config.d.ts +10 -0
  367. package/esm/plugins/emoji/config.js +1 -0
  368. package/esm/plugins/emoji/emoji.d.ts +22 -0
  369. package/esm/plugins/emoji/emoji.js +6 -0
  370. package/esm/plugins/emoji/emoji.json +5667 -0
  371. package/esm/plugins/emoji/emoji.json.js +1 -0
  372. package/esm/plugins/emoji/emoji.svg.js +1 -0
  373. package/esm/plugins/emoji/interface.d.ts +24 -0
  374. package/esm/plugins/emoji/interface.js +6 -0
  375. package/esm/plugins/emoji/ui/emoji.d.ts +54 -0
  376. package/esm/plugins/emoji/ui/emoji.js +6 -0
  377. package/esm/plugins/export-docs/assets/export.svg.js +1 -0
  378. package/esm/plugins/export-docs/config.d.ts +21 -0
  379. package/esm/plugins/export-docs/config.js +6 -0
  380. package/esm/plugins/export-docs/export-docs.d.ts +18 -0
  381. package/esm/plugins/export-docs/export-docs.js +6 -0
  382. package/esm/plugins/finder/browser.d.ts +70 -0
  383. package/esm/plugins/finder/browser.js +6 -0
  384. package/esm/plugins/finder/config.d.ts +6 -0
  385. package/esm/plugins/finder/config.js +6 -0
  386. package/esm/plugins/finder/finder.d.ts +19 -0
  387. package/esm/plugins/finder/finder.js +6 -0
  388. package/esm/plugins/finder/helpers/context-menu.d.ts +19 -0
  389. package/esm/plugins/finder/helpers/context-menu.js +6 -0
  390. package/esm/plugins/finder/helpers/helpers.d.ts +6 -0
  391. package/esm/plugins/finder/helpers/helpers.js +6 -0
  392. package/esm/plugins/finder/helpers/history-manager.d.ts +24 -0
  393. package/esm/plugins/finder/helpers/history-manager.js +6 -0
  394. package/esm/plugins/finder/helpers/loading-manager.d.ts +25 -0
  395. package/esm/plugins/finder/helpers/loading-manager.js +6 -0
  396. package/esm/plugins/finder/helpers/persistent-store.d.ts +32 -0
  397. package/esm/plugins/finder/helpers/persistent-store.js +6 -0
  398. package/esm/plugins/finder/helpers/state-manager.d.ts +21 -0
  399. package/esm/plugins/finder/helpers/state-manager.js +6 -0
  400. package/esm/plugins/finder/langs/index.d.ts +7 -0
  401. package/esm/plugins/finder/langs/ru.d.ts +22 -0
  402. package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -0
  403. package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -0
  404. package/esm/plugins/finder/ui/assets/icons/index.d.ts +1 -0
  405. package/esm/plugins/finder/ui/assets/icons/index.js +6 -0
  406. package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -0
  407. package/esm/plugins/finder/ui/folder/folder.d.ts +18 -0
  408. package/esm/plugins/finder/ui/folder/folder.js +6 -0
  409. package/esm/plugins/finder/ui/header/header.d.ts +21 -0
  410. package/esm/plugins/finder/ui/header/header.js +6 -0
  411. package/esm/plugins/finder/ui/item/item.d.ts +24 -0
  412. package/esm/plugins/finder/ui/item/item.js +6 -0
  413. package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
  414. package/esm/plugins/finder/ui/lightboox/lightbox.js +6 -0
  415. package/esm/plugins/finder/ui/panel/panel.d.ts +60 -0
  416. package/esm/plugins/finder/ui/panel/panel.js +6 -0
  417. package/esm/plugins/finder/ui/preview/preview.d.ts +25 -0
  418. package/esm/plugins/finder/ui/preview/preview.js +6 -0
  419. package/esm/plugins/finder/ui/progress/progress.d.ts +19 -0
  420. package/esm/plugins/finder/ui/progress/progress.js +6 -0
  421. package/esm/plugins/finder/ui/settings/settings.d.ts +25 -0
  422. package/esm/plugins/finder/ui/settings/settings.js +6 -0
  423. package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
  424. package/esm/plugins/finder/ui/sidebar/sidebar.js +6 -0
  425. package/esm/plugins/finder/ui/source/source.d.ts +19 -0
  426. package/esm/plugins/finder/ui/source/source.js +6 -0
  427. package/esm/plugins/finder/ui/sources/sources.d.ts +15 -0
  428. package/esm/plugins/finder/ui/sources/sources.js +6 -0
  429. package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
  430. package/esm/plugins/finder/ui/statusbar/statusbar.js +6 -0
  431. package/esm/plugins/finder/ui/tree/tree.d.ts +16 -0
  432. package/esm/plugins/finder/ui/tree/tree.js +6 -0
  433. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
  434. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +6 -0
  435. package/esm/plugins/google-maps/assets/circle.svg.js +1 -0
  436. package/esm/plugins/google-maps/assets/hand.svg.js +1 -0
  437. package/esm/plugins/google-maps/assets/icon.svg.js +1 -0
  438. package/esm/plugins/google-maps/assets/index.d.ts +6 -0
  439. package/esm/plugins/google-maps/assets/index.js +6 -0
  440. package/esm/plugins/google-maps/assets/marker.svg.js +1 -0
  441. package/esm/plugins/google-maps/assets/polygon.svg.js +1 -0
  442. package/esm/plugins/google-maps/assets/polyline.svg.js +1 -0
  443. package/esm/plugins/google-maps/assets/text.svg.js +1 -0
  444. package/esm/plugins/google-maps/config.d.ts +45 -0
  445. package/esm/plugins/google-maps/config.js +6 -0
  446. package/esm/plugins/google-maps/google-maps.d.ts +29 -0
  447. package/esm/plugins/google-maps/google-maps.js +6 -0
  448. package/esm/plugins/google-maps/helpers/const.d.ts +7 -0
  449. package/esm/plugins/google-maps/helpers/const.js +6 -0
  450. package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
  451. package/esm/plugins/google-maps/helpers/generate-js-script.js +1 -0
  452. package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
  453. package/esm/plugins/google-maps/helpers/generate-static-elements.js +6 -0
  454. package/esm/plugins/google-maps/helpers/helpers.d.ts +14 -0
  455. package/esm/plugins/google-maps/helpers/helpers.js +6 -0
  456. package/esm/plugins/google-maps/helpers/static-url.d.ts +7 -0
  457. package/esm/plugins/google-maps/helpers/static-url.js +6 -0
  458. package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
  459. package/esm/plugins/google-maps/ui/combo-box/combo-box.js +6 -0
  460. package/esm/plugins/google-maps/ui/editors/base.d.ts +15 -0
  461. package/esm/plugins/google-maps/ui/editors/base.js +6 -0
  462. package/esm/plugins/google-maps/ui/editors/index.d.ts +8 -0
  463. package/esm/plugins/google-maps/ui/editors/index.js +6 -0
  464. package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
  465. package/esm/plugins/google-maps/ui/editors/marker/marker.js +6 -0
  466. package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
  467. package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +6 -0
  468. package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
  469. package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +6 -0
  470. package/esm/plugins/google-maps/ui/index.d.ts +10 -0
  471. package/esm/plugins/google-maps/ui/index.js +6 -0
  472. package/esm/plugins/google-maps/ui/map/map.d.ts +39 -0
  473. package/esm/plugins/google-maps/ui/map/map.js +6 -0
  474. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
  475. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +6 -0
  476. package/esm/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
  477. package/esm/plugins/google-maps/ui/map/modules/index.js +6 -0
  478. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
  479. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +6 -0
  480. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
  481. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +6 -0
  482. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
  483. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +6 -0
  484. package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
  485. package/esm/plugins/google-maps/ui/map/modules/remove-element.js +6 -0
  486. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
  487. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +6 -0
  488. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
  489. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +6 -0
  490. package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
  491. package/esm/plugins/google-maps/ui/maps-props/maps-props.js +6 -0
  492. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
  493. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +6 -0
  494. package/esm/plugins/google-search/google-search.d.ts +17 -0
  495. package/esm/plugins/google-search/google-search.js +6 -0
  496. package/esm/plugins/google-search/icon.svg.js +1 -0
  497. package/esm/plugins/highlight-signature/highlight-signature.d.ts +54 -0
  498. package/esm/plugins/highlight-signature/highlight-signature.js +6 -0
  499. package/esm/plugins/iframe-editor/config.d.ts +6 -0
  500. package/esm/plugins/iframe-editor/config.js +6 -0
  501. package/esm/plugins/iframe-editor/icon.svg.js +1 -0
  502. package/esm/plugins/iframe-editor/iframe-editor.d.ts +22 -0
  503. package/esm/plugins/iframe-editor/iframe-editor.js +6 -0
  504. package/esm/plugins/iframe-editor/interface.d.ts +15 -0
  505. package/esm/plugins/iframe-editor/interface.js +6 -0
  506. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
  507. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +6 -0
  508. package/esm/plugins/index.d.ts +8 -0
  509. package/esm/plugins/index.js +6 -0
  510. package/esm/plugins/keyboard/config.d.ts +23 -0
  511. package/esm/plugins/keyboard/config.js +1 -0
  512. package/esm/plugins/keyboard/icon.svg.js +1 -0
  513. package/esm/plugins/keyboard/interface.d.ts +13 -0
  514. package/esm/plugins/keyboard/interface.js +6 -0
  515. package/esm/plugins/keyboard/keyboard.d.ts +27 -0
  516. package/esm/plugins/keyboard/keyboard.js +1 -0
  517. package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -0
  518. package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -0
  519. package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -0
  520. package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -0
  521. package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -0
  522. package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
  523. package/esm/plugins/keyboard/ui/keyboard/keyboard.js +6 -0
  524. package/esm/plugins/license/helpers/helpers.d.ts +14 -0
  525. package/esm/plugins/license/helpers/helpers.js +7 -0
  526. package/esm/plugins/license/license.d.ts +16 -0
  527. package/esm/plugins/license/license.js +6 -0
  528. package/esm/plugins/mobile-view/config.d.ts +14 -0
  529. package/esm/plugins/mobile-view/config.js +6 -0
  530. package/esm/plugins/mobile-view/icon.svg.js +1 -0
  531. package/esm/plugins/mobile-view/mobile-view.d.ts +6 -0
  532. package/esm/plugins/mobile-view/mobile-view.js +6 -0
  533. package/esm/plugins/page-break/assets/page-break.svg.js +1 -0
  534. package/esm/plugins/page-break/config.d.ts +13 -0
  535. package/esm/plugins/page-break/config.js +6 -0
  536. package/esm/plugins/page-break/page-break.css.d.ts +2 -0
  537. package/esm/plugins/page-break/page-break.css.js +6 -0
  538. package/esm/plugins/page-break/page-break.d.ts +23 -0
  539. package/esm/plugins/page-break/page-break.js +6 -0
  540. package/esm/plugins/paste-code/config.d.ts +36 -0
  541. package/esm/plugins/paste-code/config.js +6 -0
  542. package/esm/plugins/paste-code/icon.svg.js +1 -0
  543. package/esm/plugins/paste-code/paste-code.d.ts +30 -0
  544. package/esm/plugins/paste-code/paste-code.js +6 -0
  545. package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
  546. package/esm/plugins/paste-from-word/cases/clean-styles.js +6 -0
  547. package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
  548. package/esm/plugins/paste-from-word/cases/clear-attributes.js +6 -0
  549. package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
  550. package/esm/plugins/paste-from-word/cases/clear-class-name.js +6 -0
  551. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
  552. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +6 -0
  553. package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
  554. package/esm/plugins/paste-from-word/cases/convert-to-list.js +6 -0
  555. package/esm/plugins/paste-from-word/cases/index.d.ts +7 -0
  556. package/esm/plugins/paste-from-word/cases/index.js +6 -0
  557. package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
  558. package/esm/plugins/paste-from-word/cases/mark-page-break.js +6 -0
  559. package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
  560. package/esm/plugins/paste-from-word/cases/normalize-image-props.js +6 -0
  561. package/esm/plugins/paste-from-word/cases/process-image.d.ts +7 -0
  562. package/esm/plugins/paste-from-word/cases/process-image.js +6 -0
  563. package/esm/plugins/paste-from-word/cases/process-links.d.ts +7 -0
  564. package/esm/plugins/paste-from-word/cases/process-links.js +6 -0
  565. package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
  566. package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +6 -0
  567. package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
  568. package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +6 -0
  569. package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
  570. package/esm/plugins/paste-from-word/cases/replace-old-tags.js +6 -0
  571. package/esm/plugins/paste-from-word/cases/table.d.ts +7 -0
  572. package/esm/plugins/paste-from-word/cases/table.js +6 -0
  573. package/esm/plugins/paste-from-word/config.d.ts +24 -0
  574. package/esm/plugins/paste-from-word/config.js +6 -0
  575. package/esm/plugins/paste-from-word/constants.d.ts +20 -0
  576. package/esm/plugins/paste-from-word/constants.js +6 -0
  577. package/esm/plugins/paste-from-word/element/checkers.d.ts +14 -0
  578. package/esm/plugins/paste-from-word/element/checkers.js +6 -0
  579. package/esm/plugins/paste-from-word/element/element.d.ts +34 -0
  580. package/esm/plugins/paste-from-word/element/element.js +6 -0
  581. package/esm/plugins/paste-from-word/element/index.d.ts +8 -0
  582. package/esm/plugins/paste-from-word/element/index.js +6 -0
  583. package/esm/plugins/paste-from-word/element/render.d.ts +9 -0
  584. package/esm/plugins/paste-from-word/element/render.js +6 -0
  585. package/esm/plugins/paste-from-word/element/style.d.ts +20 -0
  586. package/esm/plugins/paste-from-word/element/style.js +6 -0
  587. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
  588. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +6 -0
  589. package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
  590. package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +6 -0
  591. package/esm/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
  592. package/esm/plugins/paste-from-word/helpers/helpers.js +6 -0
  593. package/esm/plugins/paste-from-word/helpers/index.d.ts +9 -0
  594. package/esm/plugins/paste-from-word/helpers/index.js +6 -0
  595. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
  596. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +6 -0
  597. package/esm/plugins/paste-from-word/interface.d.ts +17 -0
  598. package/esm/plugins/paste-from-word/interface.js +6 -0
  599. package/esm/plugins/paste-from-word/paste-from-word.d.ts +14 -0
  600. package/esm/plugins/paste-from-word/paste-from-word.js +6 -0
  601. package/esm/plugins/show-blocks/config.d.ts +15 -0
  602. package/esm/plugins/show-blocks/config.js +6 -0
  603. package/esm/plugins/show-blocks/langs/ar.d.ts +4 -0
  604. package/esm/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
  605. package/esm/plugins/show-blocks/langs/de.d.ts +4 -0
  606. package/esm/plugins/show-blocks/langs/es.d.ts +4 -0
  607. package/esm/plugins/show-blocks/langs/fa.d.ts +4 -0
  608. package/esm/plugins/show-blocks/langs/fr.d.ts +4 -0
  609. package/esm/plugins/show-blocks/langs/he.d.ts +4 -0
  610. package/esm/plugins/show-blocks/langs/hu.d.ts +4 -0
  611. package/esm/plugins/show-blocks/langs/id.d.ts +4 -0
  612. package/esm/plugins/show-blocks/langs/index.d.ts +25 -0
  613. package/esm/plugins/show-blocks/langs/index.js +6 -0
  614. package/esm/plugins/show-blocks/langs/it.d.ts +4 -0
  615. package/esm/plugins/show-blocks/langs/ja.d.ts +4 -0
  616. package/esm/plugins/show-blocks/langs/ko.d.ts +4 -0
  617. package/esm/plugins/show-blocks/langs/nl.d.ts +4 -0
  618. package/esm/plugins/show-blocks/langs/pl.d.ts +4 -0
  619. package/esm/plugins/show-blocks/langs/pt_br.d.ts +4 -0
  620. package/esm/plugins/show-blocks/langs/ru.d.ts +4 -0
  621. package/esm/plugins/show-blocks/langs/tr.d.ts +4 -0
  622. package/esm/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
  623. package/esm/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
  624. package/esm/plugins/show-blocks/show-blocks.d.ts +39 -0
  625. package/esm/plugins/show-blocks/show-blocks.js +6 -0
  626. package/esm/plugins/show-blocks/show-blocks.svg.js +1 -0
  627. package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -0
  628. package/esm/plugins/todo-list/config.d.ts +15 -0
  629. package/esm/plugins/todo-list/config.js +6 -0
  630. package/esm/plugins/todo-list/todo-list.d.ts +41 -0
  631. package/esm/plugins/todo-list/todo-list.js +6 -0
  632. package/esm/plugins/translate/assets/swap.svg.js +1 -0
  633. package/esm/plugins/translate/assets/translate.svg.js +1 -0
  634. package/esm/plugins/translate/config.d.ts +20 -0
  635. package/esm/plugins/translate/config.js +6 -0
  636. package/esm/plugins/translate/interface.d.ts +50 -0
  637. package/esm/plugins/translate/interface.js +6 -0
  638. package/esm/plugins/translate/providers/google/google.d.ts +14 -0
  639. package/esm/plugins/translate/providers/google/google.js +6 -0
  640. package/esm/plugins/translate/providers/languages.d.ts +140 -0
  641. package/esm/plugins/translate/providers/languages.js +6 -0
  642. package/esm/plugins/translate/translate.d.ts +20 -0
  643. package/esm/plugins/translate/translate.js +6 -0
  644. package/esm/plugins/translate/ui/list/list.d.ts +34 -0
  645. package/esm/plugins/translate/ui/list/list.js +6 -0
  646. package/esm/plugins/translate/ui/settings/settings.d.ts +35 -0
  647. package/esm/plugins/translate/ui/settings/settings.js +6 -0
  648. package/esm/plugins/tune-block/config.d.ts +13 -0
  649. package/esm/plugins/tune-block/config.js +6 -0
  650. package/esm/plugins/tune-block/tune-block.d.ts +30 -0
  651. package/esm/plugins/tune-block/tune-block.js +6 -0
  652. package/esm/plugins/tune-block/ui/tuner/icon.svg.js +1 -0
  653. package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
  654. package/esm/plugins/tune-block/ui/tuner/tuner.js +6 -0
  655. package/esm/traits/resize/resize.d.ts +17 -0
  656. package/esm/traits/resize/resize.js +6 -0
  657. package/esm/traits/select-items/select-items.d.ts +16 -0
  658. package/esm/traits/select-items/select-items.js +6 -0
  659. package/esm/tsconfig.json +19 -0
  660. package/esm/types/view.d.ts +9 -0
  661. package/esm/typings.d.ts +5 -0
  662. package/package.json +3 -2
  663. package/types/config.d.ts +11 -0
  664. package/types/core/ui/form/range/range.d.ts +23 -0
  665. package/types/index.d.ts +7 -0
  666. package/types/jodit-pro.d.ts +14 -0
  667. package/types/plugins/autocomplete/autocomplete.d.ts +40 -0
  668. package/types/plugins/autocomplete/helpers.d.ts +25 -0
  669. package/types/plugins/autocomplete/interface.d.ts +19 -0
  670. package/types/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
  671. package/types/plugins/autocomplete/ui/item.d.ts +14 -0
  672. package/types/plugins/backup/backup.d.ts +29 -0
  673. package/types/plugins/backup/config.d.ts +18 -0
  674. package/types/plugins/backup/interface.d.ts +14 -0
  675. package/types/plugins/backup/langs/index.d.ts +6 -0
  676. package/types/plugins/backup/modules/store.d.ts +15 -0
  677. package/types/plugins/backup/ui/box.d.ts +29 -0
  678. package/types/plugins/backup/ui/item.d.ts +17 -0
  679. package/types/plugins/backup/ui/list.d.ts +24 -0
  680. package/types/plugins/button-generator/button-generator.d.ts +25 -0
  681. package/types/plugins/button-generator/config.d.ts +6 -0
  682. package/types/plugins/button-generator/ui/button/button.d.ts +21 -0
  683. package/types/plugins/button-generator/ui/form/form.d.ts +20 -0
  684. package/types/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
  685. package/types/plugins/button-generator/ui/preview/preview.d.ts +22 -0
  686. package/types/plugins/change-case/change-case.d.ts +22 -0
  687. package/types/plugins/change-case/config.d.ts +6 -0
  688. package/types/plugins/color-picker/color-picker.d.ts +18 -0
  689. package/types/plugins/color-picker/ui/input/color-input.d.ts +19 -0
  690. package/types/plugins/emoji/config.d.ts +10 -0
  691. package/types/plugins/emoji/emoji.d.ts +22 -0
  692. package/types/plugins/emoji/interface.d.ts +24 -0
  693. package/types/plugins/emoji/ui/emoji.d.ts +54 -0
  694. package/types/plugins/export-docs/config.d.ts +21 -0
  695. package/types/plugins/export-docs/export-docs.d.ts +18 -0
  696. package/types/plugins/finder/browser.d.ts +70 -0
  697. package/types/plugins/finder/config.d.ts +6 -0
  698. package/types/plugins/finder/finder.d.ts +19 -0
  699. package/types/plugins/finder/helpers/context-menu.d.ts +19 -0
  700. package/types/plugins/finder/helpers/helpers.d.ts +6 -0
  701. package/types/plugins/finder/helpers/history-manager.d.ts +24 -0
  702. package/types/plugins/finder/helpers/loading-manager.d.ts +25 -0
  703. package/types/plugins/finder/helpers/persistent-store.d.ts +32 -0
  704. package/types/plugins/finder/helpers/state-manager.d.ts +21 -0
  705. package/types/plugins/finder/langs/index.d.ts +7 -0
  706. package/types/plugins/finder/langs/ru.d.ts +22 -0
  707. package/types/plugins/finder/ui/assets/icons/index.d.ts +1 -0
  708. package/types/plugins/finder/ui/folder/folder.d.ts +18 -0
  709. package/types/plugins/finder/ui/header/header.d.ts +21 -0
  710. package/types/plugins/finder/ui/item/item.d.ts +24 -0
  711. package/types/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
  712. package/types/plugins/finder/ui/panel/panel.d.ts +60 -0
  713. package/types/plugins/finder/ui/preview/preview.d.ts +25 -0
  714. package/types/plugins/finder/ui/progress/progress.d.ts +19 -0
  715. package/types/plugins/finder/ui/settings/settings.d.ts +25 -0
  716. package/types/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
  717. package/types/plugins/finder/ui/source/source.d.ts +19 -0
  718. package/types/plugins/finder/ui/sources/sources.d.ts +15 -0
  719. package/types/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
  720. package/types/plugins/finder/ui/tree/tree.d.ts +16 -0
  721. package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
  722. package/types/plugins/google-maps/assets/index.d.ts +6 -0
  723. package/types/plugins/google-maps/config.d.ts +45 -0
  724. package/types/plugins/google-maps/google-maps.d.ts +29 -0
  725. package/types/plugins/google-maps/helpers/const.d.ts +7 -0
  726. package/types/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
  727. package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
  728. package/types/plugins/google-maps/helpers/helpers.d.ts +14 -0
  729. package/types/plugins/google-maps/helpers/static-url.d.ts +7 -0
  730. package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
  731. package/types/plugins/google-maps/ui/editors/base.d.ts +15 -0
  732. package/types/plugins/google-maps/ui/editors/index.d.ts +8 -0
  733. package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
  734. package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
  735. package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
  736. package/types/plugins/google-maps/ui/index.d.ts +10 -0
  737. package/types/plugins/google-maps/ui/map/map.d.ts +39 -0
  738. package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
  739. package/types/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
  740. package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
  741. package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
  742. package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
  743. package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
  744. package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
  745. package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
  746. package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
  747. package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
  748. package/types/plugins/google-search/google-search.d.ts +17 -0
  749. package/types/plugins/highlight-signature/highlight-signature.d.ts +54 -0
  750. package/types/plugins/iframe-editor/config.d.ts +6 -0
  751. package/types/plugins/iframe-editor/iframe-editor.d.ts +22 -0
  752. package/types/plugins/iframe-editor/interface.d.ts +15 -0
  753. package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
  754. package/types/plugins/index.d.ts +8 -0
  755. package/types/plugins/keyboard/config.d.ts +23 -0
  756. package/types/plugins/keyboard/interface.d.ts +13 -0
  757. package/types/plugins/keyboard/keyboard.d.ts +27 -0
  758. package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
  759. package/types/plugins/license/helpers/helpers.d.ts +14 -0
  760. package/types/plugins/license/license.d.ts +16 -0
  761. package/types/plugins/mobile-view/config.d.ts +14 -0
  762. package/types/plugins/mobile-view/mobile-view.d.ts +6 -0
  763. package/types/plugins/page-break/config.d.ts +13 -0
  764. package/types/plugins/page-break/page-break.css.d.ts +2 -0
  765. package/types/plugins/page-break/page-break.d.ts +23 -0
  766. package/types/plugins/paste-code/config.d.ts +36 -0
  767. package/types/plugins/paste-code/paste-code.d.ts +30 -0
  768. package/types/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
  769. package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
  770. package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
  771. package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
  772. package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
  773. package/types/plugins/paste-from-word/cases/index.d.ts +7 -0
  774. package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
  775. package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
  776. package/types/plugins/paste-from-word/cases/process-image.d.ts +7 -0
  777. package/types/plugins/paste-from-word/cases/process-links.d.ts +7 -0
  778. package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
  779. package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
  780. package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
  781. package/types/plugins/paste-from-word/cases/table.d.ts +7 -0
  782. package/types/plugins/paste-from-word/config.d.ts +24 -0
  783. package/types/plugins/paste-from-word/constants.d.ts +20 -0
  784. package/types/plugins/paste-from-word/element/checkers.d.ts +14 -0
  785. package/types/plugins/paste-from-word/element/element.d.ts +34 -0
  786. package/types/plugins/paste-from-word/element/index.d.ts +8 -0
  787. package/types/plugins/paste-from-word/element/render.d.ts +9 -0
  788. package/types/plugins/paste-from-word/element/style.d.ts +20 -0
  789. package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
  790. package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
  791. package/types/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
  792. package/types/plugins/paste-from-word/helpers/index.d.ts +9 -0
  793. package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
  794. package/types/plugins/paste-from-word/interface.d.ts +17 -0
  795. package/types/plugins/paste-from-word/paste-from-word.d.ts +14 -0
  796. package/types/plugins/show-blocks/config.d.ts +15 -0
  797. package/types/plugins/show-blocks/langs/ar.d.ts +4 -0
  798. package/types/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
  799. package/types/plugins/show-blocks/langs/de.d.ts +4 -0
  800. package/types/plugins/show-blocks/langs/es.d.ts +4 -0
  801. package/types/plugins/show-blocks/langs/fa.d.ts +4 -0
  802. package/types/plugins/show-blocks/langs/fr.d.ts +4 -0
  803. package/types/plugins/show-blocks/langs/he.d.ts +4 -0
  804. package/types/plugins/show-blocks/langs/hu.d.ts +4 -0
  805. package/types/plugins/show-blocks/langs/id.d.ts +4 -0
  806. package/types/plugins/show-blocks/langs/index.d.ts +25 -0
  807. package/types/plugins/show-blocks/langs/it.d.ts +4 -0
  808. package/types/plugins/show-blocks/langs/ja.d.ts +4 -0
  809. package/types/plugins/show-blocks/langs/ko.d.ts +4 -0
  810. package/types/plugins/show-blocks/langs/nl.d.ts +4 -0
  811. package/types/plugins/show-blocks/langs/pl.d.ts +4 -0
  812. package/types/plugins/show-blocks/langs/pt_br.d.ts +4 -0
  813. package/types/plugins/show-blocks/langs/ru.d.ts +4 -0
  814. package/types/plugins/show-blocks/langs/tr.d.ts +4 -0
  815. package/types/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
  816. package/types/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
  817. package/types/plugins/show-blocks/show-blocks.d.ts +39 -0
  818. package/types/plugins/todo-list/config.d.ts +15 -0
  819. package/types/plugins/todo-list/todo-list.d.ts +41 -0
  820. package/types/plugins/translate/config.d.ts +20 -0
  821. package/types/plugins/translate/interface.d.ts +50 -0
  822. package/types/plugins/translate/providers/google/google.d.ts +14 -0
  823. package/types/plugins/translate/providers/languages.d.ts +140 -0
  824. package/types/plugins/translate/translate.d.ts +20 -0
  825. package/types/plugins/translate/ui/list/list.d.ts +34 -0
  826. package/types/plugins/translate/ui/settings/settings.d.ts +35 -0
  827. package/types/plugins/tune-block/config.d.ts +13 -0
  828. package/types/plugins/tune-block/tune-block.d.ts +30 -0
  829. package/types/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
  830. package/types/traits/resize/resize.d.ts +17 -0
  831. package/types/traits/select-items/select-items.d.ts +16 -0
  832. package/types/tsconfig.json +19 -0
  833. package/types/types/view.d.ts +9 -0
  834. package/types/typings.d.ts +5 -0
  835. package/es2015/plugins/autocomplete/autocomplete.css +0 -26
  836. package/es2015/plugins/autocomplete/autocomplete.min.css +0 -1
  837. package/es2018/plugins/autocomplete/autocomplete.css +0 -26
  838. package/es2018/plugins/autocomplete/autocomplete.min.css +0 -1
  839. package/es2021/plugins/autocomplete/autocomplete.css +0 -26
  840. package/es2021/plugins/autocomplete/autocomplete.min.css +0 -1
  841. package/es2021.en/plugins/autocomplete/autocomplete.css +0 -26
  842. package/es2021.en/plugins/autocomplete/autocomplete.min.css +0 -1
  843. package/es5/plugins/autocomplete/autocomplete.css +0 -26
  844. package/es5/plugins/autocomplete/autocomplete.min.css +0 -1
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- "use strict";((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{12750(t,e,r){r.d(e,{C(){return s}});const n={"text-justify":["inter-ideograph"]};function s(t){return t.isElement&&t.attributes.style&&Object.keys(n).forEach((e=>{const r=n[e];t.style.has(e)&&r.includes(""+t.style.get(e))&&t.style.set(e,null)})),t}},76995(t,e,r){r.d(e,{i(){return s}});const n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function s(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;"_GoBack"===t.attributes.name&&(t.attributes.name=null);for(const e of n)t.attributes[e]&&(t.attributes[e]=null);return t}},53614(t,e,r){r.d(e,{a(){return s}});var n=r(73076);const s=t=>(t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,n.f)(t.attributes.class)||(t.attributes.class=null)),t)},50353(t,e,r){r.d(e,{b(){return s}});var n=r(18352);const s=(t,{jodit:e})=>{if(!e.o.pasteFromWord.convertUnitsToPixel)return t;const{style:r}=t;return r.forEach((t=>{const e=r.get(t);e&&r.set(t,(""+e).replace(/\d+(\.\d+)?(pt|cm)/g,(t=>(0,n.Lp)(t)+"px")))})),t}},45054(t,e,r){r.d(e,{S(){return o}});var n=r(18352),s=r(93310),i=r(11612),a=r(19438);function o(t){if((0,s.Hh)(t)){t.name="li",t.style.set("text-indent",null);const e=l(t),r=/[\da-np-zA-NP-Z].?/.test(e)?"ol":"ul",i=((t,e)=>{for(const e in a.Y1)if(RegExp(e).test(t))return a.Y1[e];return"ol"===e?"decimal":"disc"})(e,r);t.attributes[a.YJ]=r,t.attributes[a.Jf]=i,(0,n.rd)(t),(t=>{for(;t;){const e=t.previousElement;if(!(0,s.Be)(e)&&!(0,s.nq)(e))break;if((0,s.Be)(e)){if(e.attributes[a.Ki]>t.attributes[a.Ki])break;if(t.attributes[a.Ki]===e.attributes[a.Ki]&&t.parent&&(0,s.Y4)(t,t.parent))break;e.append(t);continue}const r=e;if(r.attributes[a.Ki]>t.attributes[a.Ki])break;if(t.attributes[a.Ki]===r.attributes[a.Ki]&&!(0,s.Y4)(t,r))break;r.append(t)}})(t);const{parent:o}=t;if(!(0,s.nq)(o)||!(0,s.Y4)(t,o)){const l=((t,e,r,i)=>{const o=t.wrap(e);return o.attributes.start=(0,n.Sg)(r),o.attributes[a.Ki]=t.attributes[a.Ki],o.attributes[a.Jf]=t.attributes[a.Jf],o.attributes[a.m3]=t.attributes[a.Jf],o.style.set(a.zQ,i),(t=>{!(0,s.nq)(t)||"li"===t.parent?.name||"disc"!==t.style.get(a.zQ)&&"decimal"!==t.style.get(a.zQ)||t.style.set(a.zQ,null)})(o),o})(t,r,e,i);return(0,s.nq)(o)&&(l.remove(),o.lastElement?.append(l)),t}}return t}const l=t=>t.textBetween((t=>t.isComment&&/\[if.*supportLists.*]/.test((0,s.dy)(t))),(t=>t.isComment&&/\[endif]/.test((0,s.dy)(t)))).replace(/&nbsp;/g,"").replace((0,i.SPACE_REG_EXP)(),"")},44669(t,e,r){r.d(e,{c(){return g}});var n=r(45054),s=r(76995),i=r(76148),a=r(38450),o=r(33135),l=r(50353),u=r(53614),c=r(62094),d=r(83432),p=r(38933),f=r(50374),h=r(38535),m=r(12750);const g=[h.F,f.a,i.p,a.G,s.i,n.S,c.z,o.m,l.b,u.a,d.r,p.Y,m.C]},50374(t,e,r){r.d(e,{a(){return n}});const n=t=>((t.isElement&&"always"===t.style.get("page-break-before")||"page"===t.style.get("break-before"))&&(t.attributes["jd-safe"]=!0,t.style.add("page-break-before","always"),t.isSingle&&(t.name="div")),t)},83432(t,e,r){r.d(e,{r(){return n}});const n=t=>t.isElement?("img"===t.name&&(t.attributes.align&&(t.style.add("float",t.attributes.align),t.attributes.align=null),t.attributes.hspace&&(t.style.add("marginLeft",t.attributes.hspace+"px"),t.style.add("marginRight",t.attributes.hspace+"px"),t.attributes.hspace=null)),t):t},38535(t,e,r){r.d(e,{F(){return s}});var n=r(95582);const s=(t,e)=>{if(e.rtf&&"#comment"===t.name&&t.attributes.nodeValue&&-1!==t.attributes.nodeValue.indexOf("<v:shape")){e.shapes||(e.shapes={});const r=e.jodit.create.fromHTML(t.attributes.nodeValue);return(0,n.toArray)(r.getElementsByTagName("v:shape")).forEach((t=>{e.shapes[t.id]=t.getAttribute("o:spid")})),t}if("img"!==t.name)return t;if(e.rtf&&t.attributes["v:shapes"]){const r=e.shapes?.[t.attributes["v:shapes"]];if(r){const n=e.imageMap??{};e.imageMap||(e.imageMap=n,i(e.rtf,"i","\\shppict",e.imageMap),i(e.rtf,"s","\\shp{",e.imageMap));const s=n[r.substring(7)];if(s){const e=[],r=s.hex.match(/[0-9a-f]{2}/gi);if(r){for(let t=0;r.length>t;t++)e.push(String.fromCharCode(parseInt(r[t],16)));t.attributes.src="data:"+s.type+";base64,"+btoa(e.join(""))}}}}return t};function i(t,e,r,n){const s=t.split(r);for(const t of s){const r=t.split("shplid");if(r.length>1){const t=r[1];let s="";for(let e=0;t.length>e&&!/[{ \r\n\\]/.test(t[e]);e++)s+=t[e];const i=t.split("bliptag");if(i&&2>i.length)continue;let a=null;if(i[0].indexOf("pngblip")?a="image/png":-1!==i[0].indexOf("jpegblip")&&(a="image/jpeg"),!a)continue;const o=i[1].split("}");if(o&&2>o.length)continue;let l;if(o.length>2&&o[0].includes("blipuid"))l=o[1].split(" ");else{if(l=o[0].split(" "),l&&2>l.length)continue;l.shift()}n[e+s]={hex:l.join(""),type:a}}}}},62094(t,e,r){r.d(e,{z(){return n}});const n=(t,e)=>{const r=e.links??{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(r[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&r[t.attributes.name]){const e=r[t.attributes.name];e.attributes.href=e.attributes.href.replace(/.*#(.*)$/,"#$1")}return e.links=r,t}},76148(t,e,r){r.d(e,{p(){return s}});const n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function s(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||n.has(t.name)?(t.remove(),null):t}},33135(t,e,r){r.d(e,{m(){return i}});var n=r(93310);let s=0;function i(t){return t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,n.dy)(t))&&(s++,t.remove()),t.isComment&&s>0&&(0,n.dy)(t).includes("[endif]")&&(s=s>0?s-1:0,t.remove()),s&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src)))?(t.remove(),null):t}},38450(t,e,r){r.d(e,{G(){return s}});const n={i:"em",b:"strong"};function s(t){const{name:e}=t;return e in n&&(t.name=n[e]),t}},38933(t,e,r){r.d(e,{Y(){return n}});const n=t=>(!t.attributes.width||"th"!==t.name&&"td"!==t.name||(t.attributes.width=null),t)},48077(t,e,r){r(77628).Config.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},19438(t,e,r){r.d(e,{Jf(){return i},Ki(){return n},Y1(){return l},YJ(){return s},m3(){return a},zQ(){return o}});const n="jd-list-level",s="jd-list-type",i="jd-list-style-type",a="data-list-style-type",o="list-style-type",l={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},69111(t,e,r){r.d(e,{Be(){return a},Hh(){return o},Y4(){return l},nq(){return i}});var n=r(12787),s=r(19438);function i(t){return!(!t||"ol"!==t.name&&"ul"!==t.name)}function a(t){return!(!t||"li"!==t.name)}function o(t){return"li"!==t.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&!!t.find((t=>t.isComment&&(0,n.d)(t).includes("supportLists"))).length}function l(t,e){return!(e.name!==t.attributes[s.YJ]||e.attributes[s.Jf]!==t.attributes[s.Jf]||t.attributes[s.Ki]!==e.attributes[s.Ki])}},84300(t,e,r){r.d(e,{n(){return l}});var n=r(8138),s=r(11612),i=(r(95582),r(12787)),a=r(12481);const o=new Set(s.INSEPARABLE_TAGS);class l{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return o.has(this.name)}get length(){return this.children.length}constructor(t,e){this.parent=e,this.name=t.nodeName.toLowerCase(),this.type=t.nodeType,this.attributes=(t=>{const e={};if(n.i.isElement(t))for(let r=0,n=t.attributes;n.length>r;r+=1)e[n[r].name]=n[r].value;else e.nodeValue=t.nodeValue;return e})(t),this.style=new a.b(this.attributes.style),this.children=[],t.childNodes.forEach((t=>this.children.push(l.make(t,this))))}static make(t,e=null){return new l(t,e)}wrap(t){const e=l.make(document.createElement(t),this.parent),r=this.parent.children.indexOf(this)??-1;return-1===r?this.parent.append(e):this.parent.children[r]=e,e.append(this),e}append(t){return t.remove(),this.children.push(t),t.parent=this,this}get previousElement(){if(!this.parent)return null;const{children:t}=this.parent,e=t.indexOf(this);if(-1!==e)for(let r=e-1;r>=0;r-=1)if(t[r].isElement)return t[r];return null}get lastElement(){const{children:t}=this;for(let e=t.length-1;e>=0;e-=1)if(t[e].isElement)return t[e];return null}get previous(){return this.sibling(!1)??this.parent?.previous??null}get next(){return this.sibling(!0)??this.parent?.next??null}sibling(t){if(!this.parent)return null;const{children:e}=this.parent,r=e.indexOf(this);return-1!==r&&e[r+(t?1:-1)]?e[r+(t?1:-1)]:null}forEach(t,e=!1){const r=[...this.children];for(const n of r){if(!1===t(n))return!1;if(e&&!1===n.forEach(t,!0))return!1}}find(t,e=!0){const r=[];return this.forEach((e=>{t(e)&&r.push(e)}),e),r}map(t){return this.children.map(t)}remove(){const t=this.parent?.children.indexOf(this);return null!=t&&-1!==t&&this.parent?.children.splice(t,1),this}textBetween(t,e){let r=!1;const n=[];return this.forEach((s=>{if(!r&&t(s)&&(r=!0),r&&s.isText&&n.push((0,i.d)(s)),r&&e(s))return!1}),!0),n.join("")}}},93310(t,e,r){r.d(e,{Be(){return n.Be},C7(){return i.C},Hh(){return n.Hh},Y4(){return n.Y4},dy(){return i.d},nK(){return s.n},nq(){return n.nq}});var n=r(69111),s=r(84300),i=r(12787)},12787(t,e,r){r.d(e,{C(){return l},d(){return a}});var n=r(11612),s=r(46232),i=r(73076);function a(t,e=(()=>!0),r=!0,s){switch(!0){case t.isComment:case t.isText:{if(!e(t))return"";const{nodeValue:r}=t.attributes;return t.isComment?`\x3c!--${r}--\x3e`:r}case t.isElement:{const{attributes:n}=t,i=l(t,e,r,s);if(!t.attributes["jd-safe"]&&r&&0===i.replace(/[\n\t]/g,"").length&&!t.isSingle)return"";const a=Object.keys(n).map((t=>"style"===t||null==n[t]||/^jd-/.test(t)?"":`${t}="${u(n[t])}"`)).filter(Boolean),{str:c}=t.style,d=u(c((t=>o(t,s))));if(d&&a.push(`style="${d}"`),r&&0===a.length&&["span","a"].includes(t.name))return i;const p=a.length?" "+a.join(" "):"";return e(t)?t.isSingle?`<${t.name}${p}/>`:`<${t.name}${p}>${i}</${t.name}>`:i}default:if(!n.IS_PROD)throw Error("Need implementation for this type")}return""}function o(t,e){if(!e)return!0;if(o.cache.has(e)){const r=o.cache.get(e)?.get(t);if((0,s.j)(r))return r}const r=e.some((e=>RegExp(e).test(t))),n=o.cache.get(e)||new Map;return n.set(t,r),o.cache.set(e,n),r}function l(t,e=(()=>!0),r=!0,n){let s=t.map((t=>a(t,e,r,n))).join("");return"p"===t.name&&0===(0,i.f)(s).length&&(s="&nbsp;"),s}function u(t){return(""+t).replace(/"/g,"&quot;")}o.cache=new WeakMap},12481(t,e,r){r.d(e,{b(){return o}});var n=r(97582),s=r(95582),i=r(50526),a=r(18352);let o=class t{constructor(t){this._data=l(t)}get keys(){return Object.keys(this._data)}forEach(t){this.keys.forEach((e=>t(e)))}clear(){this._data={}}set(t,e){this._data[t]=e}get(t){return this._data[t]??null}has(t){return void 0!==this._data[t]}add(t,e){return this._data=l(this.str()+";"+`${t}:${e}`),this}str(t=(t=>!0)){const e=Object.keys(this._data).filter((e=>e&&!/^mso-/.test(e)&&t(e)&&null!=this.get(e))),r=t=>(0,s.isString)(t)?/^0[a-z]+$/i.test(t)?"0":t:""+t;return["padding","margin"].forEach((t=>{if(this._data[t]){const n=e.indexOf(t),s=(0,a.Wb)(this._data[t]);["top","right","bottom","left"].forEach(((i,a)=>{const o=`${t}-${i}`,l=this._data[o];null==l||e.indexOf(o)>=n&&r(s[a])!==r(l)||-1!==e.indexOf(o)&&e.splice(e.indexOf(o),1)}))}})),e.length?e.map((t=>`${(0,s.kebabCase)(t)}:${this.get(t)}`)).join(";"):""}};function l(t){return(t=>{const e={},r=[];for(let n=t.length-1;n>=0;n-=1){const s=t[n][0];e[s]||(e[s]=!0,r.unshift(t[n]))}return r})((t??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map((t=>(0,s.trim)(t).split(":").map(s.trim)))).reduce(((t,[e,r])=>(e&&r&&(t[e]=r),t)),{})}o=(0,n.gn)([i.autobind],o)},12049(t,e,r){r.d(e,{x(){return o}});var n=r(95582),s=r(44913),i=r(79374),a=r(93310);function o(t,e,r,o=""){const l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l);try{const s=l.contentDocument??l.contentWindow?.document;if(!s)return e;s.open(),s.write(e),s.close();const u="jd-style";for(let t=0;s.styleSheets.length>t;t+=1)try{const e=s.styleSheets[t].cssRules;for(let t=0;e.length>t;t+=1)e[t].selectorText&&(0,n.$$)(e[t].selectorText,s.body).forEach((r=>{(0,n.attr)(r,u)||((0,n.attr)(r,u,(0,n.attr)(r,"style")||""),(0,n.attr)(r,"style","")),(0,n.attr)(r,"style",`${(0,n.attr)(r,"style")};${e[t].style.cssText}`)}))}catch(t){}return(0,n.$$)(`[${u}]`,s.body).forEach((t=>{(0,n.attr)(t,"style",`${(0,n.attr)(t,"style")};${(0,n.attr)(t,u)}`)})),(0,i.W)(t,a.nK.make(s.body),r,o)}finally{s.i.safeRemove(l)}return e}},45394(t,e,r){r.d(e,{r(){return a}});var n=r(93310),s=r(19438),i=r(81723);function a(t){if(void 0!==t.attributes[s.Ki])return;const e=[(0,i.D4)(t)],r=[t];let a=t.next;for(;a;){if(a.isElement&&!a.attributes[s.Ki]&&(0,n.Hh)(a)){const t=(0,i.D4)(a);t&&(e.push(t),r.push(a))}a=a.next}const o=Math.min(...e.filter((t=>t>0)));let l=e.map((t=>Math.ceil(t/10)));-1!==l.indexOf(0)&&(l=l.map((t=>t+1))),r.forEach(((t,e)=>{t.attributes[s.Ki]=l[e],t.style.add("margin-left",Math.max((0,i.D4)(t)-10*l[e]/o*40,0)+"px")}))}},81723(t,e,r){function n(t){if(!t)return[0,0,0,0];const e=t.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(e.length){case 2:return[0,1,0,1].map((t=>e[t]));case 3:return[0,1,2,1].map((t=>e[t]));case 4:return[0,1,2,3].map((t=>e[t]));default:return[0,0,0,0].map((t=>e[t]))}}let s;function i(t){if("number"==typeof t)return t;if(/%$/.test(t))return 0;s||(s=document.createElement("div"),Object.assign(s.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(s),setTimeout((()=>{s?.remove(),s=null})));const e=0>parseFloat(t);e&&(t=t.replace("-","")),s.style.width=t;const r=s.clientWidth;return e?-r:r}function a(t){const{style:e}=t;let r=[0,0,0,0];const s=e.keys.filter((t=>/margin/.test(t))),a=Math.max(s.indexOf("margin-left"),s.indexOf("margin")),o=a>0?s[a]:"margin-left";let l;return"margin"===o?(r=n(e.get("margin")),l=r[3]||0):l=e.get(o)||0,i(l)}function o(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?""+(parseInt(t,10)||1):null}r.d(e,{D4(){return a},Lp(){return i},Sg(){return o},Wb(){return n}})},18352(t,e,r){r.d(e,{Lp(){return n.Lp},Sg(){return n.Sg},Wb(){return n.Wb},rd(){return i.r},xk(){return s.x}});var n=r(81723),s=r(12049),i=(r(79374),r(45394))},79374(t,e,r){r.d(e,{W(){return a}});var n=r(44669),s=r(73076),i=r(93310);function a(t,e,r,a){const o={jodit:t,rtf:a};return e.forEach((function t(e){if(e){for(const t of n.c)if(null==(e=t(e,o)))break;e?.forEach(t)}})),r&&e.forEach((t=>{t.style.clear()}),!0),(0,s.f)((0,i.C7)(e,(t=>!t.isComment),!0,t.o.pasteFromWord.allowedStyleProps))}},70322(t,e,r){r.r(e),r.d(e,{PasteFromWordPro(){return u}});var n=r(88292),s=r(11612),i=r(4682),a=r(79501),o=r(18352),l=(r(48077),r(54625));class u extends a.L{insertFromWordByType(t,e,r,n){if(!this.j.o.pasteFromWord.enable||r!==s.INSERT_AS_HTML&&r!==s.INSERT_AS_TEXT)return super.insertFromWordByType(t,e,r,n);if(e=(0,o.xk)(this.j,e,r===s.INSERT_AS_TEXT,n.rtf),this.j.o.beautifyHTML){const t=this.j.events?.fire("beautifyHTML",e);(0,i.H)(t)&&(e=t)}(0,l.kU)(t,this.j,e)}}u.requires=["license"],n.y.plugins.remove("pasteFromWord"),n.y.plugins.add("pasteFromWordPro",u)}},t=>t(t.s=70322)])}));
10
+ "use strict";((e,o)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var f in t)("object"==typeof exports?exports:e)[f]=t[f]}})(self,(()=>(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{},e=>e(e.s=70322)])));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -192,14 +192,17 @@ __webpack_require__.r(__webpack_exports__);
192
192
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
193
193
  /* harmony export */ "showBlocks": function() { return /* binding */ showBlocks; }
194
194
  /* harmony export */ });
195
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(97582);
195
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97582);
196
196
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56766);
197
197
  /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7324);
198
198
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44913);
199
199
  /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10503);
200
200
  /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81160);
201
201
  /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50526);
202
- /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(88292);
202
+ /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53852);
203
+ /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(60841);
204
+ /* harmony import */ var _show_blocks_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23530);
205
+ /* harmony import */ var _show_blocks_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_show_blocks_svg__WEBPACK_IMPORTED_MODULE_8__);
203
206
  /*!
204
207
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
205
208
  * See LICENSE.md in the project root for license information.
@@ -213,6 +216,8 @@ __webpack_require__.r(__webpack_exports__);
213
216
 
214
217
 
215
218
 
219
+
220
+
216
221
  function svgToUrl(svg) {
217
222
  return `data:image/svg+xml;utf8,${escape(svg)}`;
218
223
  }
@@ -273,8 +278,8 @@ class showBlocks extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugi
273
278
  * Show block is enabled
274
279
  */
275
280
  this.isEnabled = false;
276
- (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .extendLang */ .xl)(__webpack_require__(60841));
277
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.set */ .J.set('showBlocks', __webpack_require__(23530));
281
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .extendLang */ .xl)(_langs__WEBPACK_IMPORTED_MODULE_7__);
282
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.set */ .J.set('showBlocks', (_show_blocks_svg__WEBPACK_IMPORTED_MODULE_8___default()));
278
283
  }
279
284
  /** @override */
280
285
  afterInit(jodit) {
@@ -295,19 +300,19 @@ class showBlocks extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugi
295
300
  }
296
301
  /** @override */
297
302
  showBlocks.requires = ['license'];
298
- (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
303
+ (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
299
304
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
300
305
  ], showBlocks.prototype, "style", null);
301
- (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
306
+ (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
302
307
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
303
308
  ], showBlocks.prototype, "enable", null);
304
- (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
309
+ (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
305
310
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
306
311
  ], showBlocks.prototype, "disable", null);
307
- (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
312
+ (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
308
313
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
309
314
  ], showBlocks.prototype, "toggle", null);
310
- _JoditPro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('show-blocks', showBlocks);
315
+ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('show-blocks', showBlocks);
311
316
 
312
317
 
313
318
  /***/ })
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[876],{23530(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},56766(t,e,s){"use strict";var o=s(77628);o.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},o.Config.prototype.controls.showBlocks={isActive:t=>!!t.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},60841(t,e,s){"use strict";s.r(e),s.d(e,{ar(){return o},cs_cz(){return r},de(){return n},es(){return i},fa(){return l},fr(){return a},he(){return d},hu(){return u},id(){return h},it(){return c},ja(){return p},ko(){return g},nl(){return b},pl(){return f},pt_br(){return m},ru(){return w},tr(){return k},zh_cn(){return y},zh_tw(){return x}});const o=s(45143),r=s(45143),n=s(45143),i=s(45143),l=s(45143),a=s(45143),d=s(45143),u=s(45143),h=s(45143),c=s(45143),p=s(45143),g=s(45143),b=s(45143),f=s(45143),m=s(45143),w=s(45143),k=s(45143),y=s(45143),x=s(45143)},87998(t,e,s){"use strict";s.r(e),s.d(e,{showBlocks(){return u}});var o=s(97582),r=(s(56766),s(7324)),n=s(44913),i=s(10503),l=s(81160),a=s(50526),d=s(88292);class u extends r.S{get style(){return(0,l.ZO)(this.jodit,u,"style",!0)}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:e,color:s}=this.j.o.showBlocks;this.style.innerHTML=e.map((e=>{return`${t} ${e}{\n\t\t\t\t\toutline: 1px dashed ${s};\n\t\t\t\t\tbackground-image: url("${o='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+s+';font: 10px sans-serif" x="50px" y="0">'+e+"</text></svg>","data:image/svg+xml;utf8,"+escape(o)}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`;var o})).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(t){super(t),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,l.xl)(s(60841)),i.J.set("showBlocks",s(23530))}afterInit(t){t.e.on("showBlocksEnabled",(()=>this.isEnabled)),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),n.i.safeRemove(this.style)}}u.requires=["license"],(0,o.gn)([a.cache],u.prototype,"style",null),(0,o.gn)([a.autobind],u.prototype,"enable",null),(0,o.gn)([a.autobind],u.prototype,"disable",null),(0,o.gn)([a.autobind],u.prototype,"toggle",null),d.y.plugins.add("show-blocks",u)}},t=>t(t.s=87998)])}));
10
+ ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[876],{23530(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},56766(t,e,s){"use strict";var o=s(77628);o.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},o.Config.prototype.controls.showBlocks={isActive:t=>!!t.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},60841(t,e,s){"use strict";s.r(e),s.d(e,{ar(){return o},cs_cz(){return r},de(){return n},es(){return i},fa(){return l},fr(){return a},he(){return d},hu(){return u},id(){return h},it(){return c},ja(){return p},ko(){return g},nl(){return b},pl(){return f},pt_br(){return m},ru(){return w},tr(){return k},zh_cn(){return y},zh_tw(){return x}});const o=s(45143),r=s(45143),n=s(45143),i=s(45143),l=s(45143),a=s(45143),d=s(45143),u=s(45143),h=s(45143),c=s(45143),p=s(45143),g=s(45143),b=s(45143),f=s(45143),m=s(45143),w=s(45143),k=s(45143),y=s(45143),x=s(45143)},87998(t,e,s){"use strict";s.r(e),s.d(e,{showBlocks(){return p}});var o=s(97582),r=(s(56766),s(7324)),n=s(44913),i=s(10503),l=s(81160),a=s(50526),d=s(53852),u=s(60841),h=s(23530),c=s.n(h);class p extends r.S{get style(){return(0,l.ZO)(this.jodit,p,"style",!0)}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:e,color:s}=this.j.o.showBlocks;this.style.innerHTML=e.map((e=>{return`${t} ${e}{\n\t\t\t\t\toutline: 1px dashed ${s};\n\t\t\t\t\tbackground-image: url("${o='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+s+';font: 10px sans-serif" x="50px" y="0">'+e+"</text></svg>","data:image/svg+xml;utf8,"+escape(o)}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`;var o})).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(t){super(t),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,l.xl)(u),i.J.set("showBlocks",c())}afterInit(t){t.e.on("showBlocksEnabled",(()=>this.isEnabled)),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),n.i.safeRemove(this.style)}}p.requires=["license"],(0,o.gn)([a.cache],p.prototype,"style",null),(0,o.gn)([a.autobind],p.prototype,"enable",null),(0,o.gn)([a.autobind],p.prototype,"disable",null),(0,o.gn)([a.autobind],p.prototype,"toggle",null),d.y.plugins.add("show-blocks",p)}},t=>t(t.s=87998)])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -32,6 +32,8 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
32
32
  /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
33
33
  /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10503);
34
34
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44913);
35
+ /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78263);
36
+ /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__);
35
37
  /*!
36
38
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
37
39
  * See LICENSE.md in the project root for license information.
@@ -40,6 +42,7 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
40
42
 
41
43
 
42
44
 
45
+
43
46
  jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.todoList = {
44
47
  className: 'todo-list',
45
48
  labelClassName: 'todo-list__label',
@@ -60,7 +63,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.todoList = {
60
63
  n.classList.contains('todo-list'), e.editor));
61
64
  }
62
65
  };
63
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('todo-list', __webpack_require__(78263));
66
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('todo-list', (_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default()));
64
67
 
65
68
 
66
69
  /***/ }),
@@ -80,7 +83,7 @@ __webpack_require__.r(__webpack_exports__);
80
83
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(44913);
81
84
  /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11612);
82
85
  /* harmony import */ var jodit_core_selection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(60593);
83
- /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(88292);
86
+ /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53852);
84
87
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(39991);
85
88
  /*!
86
89
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
@@ -298,7 +301,7 @@ TodoList.requires = ['license'];
298
301
  (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
299
302
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
300
303
  ], TodoList.prototype, "isTodoLeafLabel", null);
301
- _JoditPro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('todo-list', TodoList);
304
+ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('todo-list', TodoList);
302
305
 
303
306
 
304
307
  /***/ })
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var s in o)("object"==typeof exports?exports:e)[s]=o[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[588],{78263(e){e.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},39991(e,t,o){"use strict";var s=o(77628),i=o(10503),n=o(44913);s.Config.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory(e){return e.createInside.element("input",{type:"checkbox",tabindex:-1})}},s.Config.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(e){const t=e.s.current();return!(!t||!n.i.closest(t,(e=>n.i.isElement(e)&&n.i.isTag(e,"ul")&&e.classList.contains("todo-list")),e.editor))}},i.J.set("todo-list",o(78263))},45268(e,t,o){"use strict";o.r(t),o.d(t,{TodoList(){return d}});var s=o(97582),i=o(7324),n=o(50526),l=o(98478),a=o(44913),r=o(11612),p=o(60593),c=o(88292);o(39991);class d extends i.S{constructor(){super(...arguments),this.buttons=[{name:"todoList",group:"list"}],this.__isOwnCommand=!1}afterInit(e){e.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(e){const{jodit:t}=this,{labelClassName:o,inputFactory:s}=this.j.o.todoList;if(e.querySelector("label."+o))return;const i=t.createInside.element("label",{contenteditable:"false",class:o}),n=s(t);i.appendChild(n),a.i.prepend(e,i)}__afterToggleList(e,t){return e!==p.Ve&&e!==p.J5||!this.__isOwnCommand?e===p.Nc||e===p.J5||e===p.Ve?this.__removeInputs(t):void 0:this.__appendInputs(t)}__appendInputs(e){e.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(e){const{labelClassName:t}=this.j.o.todoList;e.querySelectorAll("label."+t).forEach(a.i.safeRemove)}__beforeToggleOrderedList(e,t,o){const s="__beforeToggleOrderedList";if(e!==p.J5&&(t.classList.contains(this.j.o.todoList.className)||o.isApplied(t,s))&&("ul"===o.element||"ol"===o.element)&&o.options.attributes?.class!==this.j.o.todoList.className){const e=a.i.replace(t,o.element,this.jodit.createInside);return o.setApplied(e,s),this.__removeInputs(e),e}}__afterEnter(){(0,l.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,l.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(a.i.safeRemove)}__changeSelection(e){const t=this.j.s.current();this.isTodoLeafLabel(t)&&(e.preventDefault(),e.stopPropagation(),this.j.s.setCursorAfter(t))}__isEmptyListLeaf(e){return a.i.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&r.NO_EMPTY_TAGS.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=a.i.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&a.i.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;(0,l.$$)("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&a.i.prepend(e.parentElement,e):a.i.safeRemove(e)}))}__afterWrapList(e,t){e===p.Qu&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&a.i.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&(0,l.attr)(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return a.i.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}d.requires=["license"],(0,s.gn)([n.autobind],d.prototype,"onCommand",null),(0,s.gn)([n.autobind],d.prototype,"__prependInputLabel",null),(0,s.gn)([(0,n.watch)(":commitStyleAfterToggleList")],d.prototype,"__afterToggleList",null),(0,s.gn)([(0,n.watch)(":commitStyleBeforeUnwrapList")],d.prototype,"__beforeToggleOrderedList",null),(0,s.gn)([(0,n.watch)(":afterEnter")],d.prototype,"__afterEnter",null),(0,s.gn)([(0,n.watch)(":afterTab")],d.prototype,"__afterTab",null),(0,s.gn)([(0,n.watch)("j.ed:selectionchange"),(0,n.watch)(":afterEnter")],d.prototype,"__changeSelection",null),(0,s.gn)([(0,n.watch)(":enterIsEmptyListLeaf")],d.prototype,"__isEmptyListLeaf",null),(0,s.gn)([(0,n.watch)(":backSpaceBeforeCases")],d.prototype,"__backSpaceBeforeCases",null),(0,s.gn)([(0,n.watch)(":backSpaceIsMovedIgnore"),(0,n.watch)(":isInvisibleForCursor")],d.prototype,"__isInvisibleForCursor",null),(0,s.gn)([(0,n.watch)(":backSpaceAfterDelete")],d.prototype,"__backSpaceAfterDelete",null),(0,s.gn)([n.autobind],d.prototype,"__afterWrapList",null),(0,s.gn)([(0,n.watch)(":click")],d.prototype,"__onClickInput",null),(0,s.gn)([n.autobind],d.prototype,"isTodoLeafLabel",null),c.y.plugins.add("todo-list",d)}},e=>e(e.s=45268)])}));
10
+ ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var s in o)("object"==typeof exports?exports:e)[s]=o[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[588],{78263(e){e.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},39991(e,t,o){"use strict";var s=o(77628),i=o(10503),n=o(44913),l=o(78263),a=o.n(l);s.Config.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory(e){return e.createInside.element("input",{type:"checkbox",tabindex:-1})}},s.Config.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(e){const t=e.s.current();return!(!t||!n.i.closest(t,(e=>n.i.isElement(e)&&n.i.isTag(e,"ul")&&e.classList.contains("todo-list")),e.editor))}},i.J.set("todo-list",a())},45268(e,t,o){"use strict";o.r(t),o.d(t,{TodoList(){return d}});var s=o(97582),i=o(7324),n=o(50526),l=o(98478),a=o(44913),r=o(11612),p=o(60593),c=o(53852);o(39991);class d extends i.S{constructor(){super(...arguments),this.buttons=[{name:"todoList",group:"list"}],this.__isOwnCommand=!1}afterInit(e){e.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(e){const{jodit:t}=this,{labelClassName:o,inputFactory:s}=this.j.o.todoList;if(e.querySelector("label."+o))return;const i=t.createInside.element("label",{contenteditable:"false",class:o}),n=s(t);i.appendChild(n),a.i.prepend(e,i)}__afterToggleList(e,t){return e!==p.Ve&&e!==p.J5||!this.__isOwnCommand?e===p.Nc||e===p.J5||e===p.Ve?this.__removeInputs(t):void 0:this.__appendInputs(t)}__appendInputs(e){e.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(e){const{labelClassName:t}=this.j.o.todoList;e.querySelectorAll("label."+t).forEach(a.i.safeRemove)}__beforeToggleOrderedList(e,t,o){const s="__beforeToggleOrderedList";if(e!==p.J5&&(t.classList.contains(this.j.o.todoList.className)||o.isApplied(t,s))&&("ul"===o.element||"ol"===o.element)&&o.options.attributes?.class!==this.j.o.todoList.className){const e=a.i.replace(t,o.element,this.jodit.createInside);return o.setApplied(e,s),this.__removeInputs(e),e}}__afterEnter(){(0,l.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,l.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(a.i.safeRemove)}__changeSelection(e){const t=this.j.s.current();this.isTodoLeafLabel(t)&&(e.preventDefault(),e.stopPropagation(),this.j.s.setCursorAfter(t))}__isEmptyListLeaf(e){return a.i.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&r.NO_EMPTY_TAGS.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=a.i.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&a.i.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;(0,l.$$)("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&a.i.prepend(e.parentElement,e):a.i.safeRemove(e)}))}__afterWrapList(e,t){e===p.Qu&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&a.i.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&(0,l.attr)(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return a.i.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}d.requires=["license"],(0,s.gn)([n.autobind],d.prototype,"onCommand",null),(0,s.gn)([n.autobind],d.prototype,"__prependInputLabel",null),(0,s.gn)([(0,n.watch)(":commitStyleAfterToggleList")],d.prototype,"__afterToggleList",null),(0,s.gn)([(0,n.watch)(":commitStyleBeforeUnwrapList")],d.prototype,"__beforeToggleOrderedList",null),(0,s.gn)([(0,n.watch)(":afterEnter")],d.prototype,"__afterEnter",null),(0,s.gn)([(0,n.watch)(":afterTab")],d.prototype,"__afterTab",null),(0,s.gn)([(0,n.watch)("j.ed:selectionchange"),(0,n.watch)(":afterEnter")],d.prototype,"__changeSelection",null),(0,s.gn)([(0,n.watch)(":enterIsEmptyListLeaf")],d.prototype,"__isEmptyListLeaf",null),(0,s.gn)([(0,n.watch)(":backSpaceBeforeCases")],d.prototype,"__backSpaceBeforeCases",null),(0,s.gn)([(0,n.watch)(":backSpaceIsMovedIgnore"),(0,n.watch)(":isInvisibleForCursor")],d.prototype,"__isInvisibleForCursor",null),(0,s.gn)([(0,n.watch)(":backSpaceAfterDelete")],d.prototype,"__backSpaceAfterDelete",null),(0,s.gn)([n.autobind],d.prototype,"__afterWrapList",null),(0,s.gn)([(0,n.watch)(":click")],d.prototype,"__onClickInput",null),(0,s.gn)([n.autobind],d.prototype,"isTodoLeafLabel",null),c.y.plugins.add("todo-list",d)}},e=>e(e.s=45268)])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -38,6 +38,10 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
38
38
  "use strict";
39
39
  /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
40
40
  /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10503);
41
+ /* harmony import */ var _assets_translate_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70134);
42
+ /* harmony import */ var _assets_translate_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_assets_translate_svg__WEBPACK_IMPORTED_MODULE_2__);
43
+ /* harmony import */ var _assets_swap_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9026);
44
+ /* harmony import */ var _assets_swap_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assets_swap_svg__WEBPACK_IMPORTED_MODULE_3__);
41
45
  /*!
42
46
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
43
47
  * See LICENSE.md in the project root for license information.
@@ -45,6 +49,8 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
45
49
  */
46
50
 
47
51
 
52
+
53
+
48
54
  jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.translate = {
49
55
  hotkeys: {
50
56
  translateSelection: ['ctrl+shift+o', 'cmd+shift+o'],
@@ -75,7 +81,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.translate =
75
81
  }
76
82
  }
77
83
  };
78
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate', __webpack_require__(70134)).set('translate-swap', __webpack_require__(9026));
84
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate', (_assets_translate_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('translate-swap', (_assets_swap_svg__WEBPACK_IMPORTED_MODULE_3___default()));
79
85
 
80
86
 
81
87
  /***/ }),
@@ -90,7 +96,7 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('translate
90
96
  /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52378);
91
97
  /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_0__);
92
98
  /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11612);
93
- /* harmony import */ var _languages__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89569);
99
+ /* harmony import */ var jodit_pro_plugins_translate_providers_languages__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89569);
94
100
  /*!
95
101
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
96
102
  * See LICENSE.md in the project root for license information.
@@ -140,7 +146,7 @@ class GoogleTranslateProvider {
140
146
  }
141
147
  supportedLanguages() {
142
148
  return Promise.resolve({
143
- langs: _languages__WEBPACK_IMPORTED_MODULE_2__/* .languages */ .M
149
+ langs: jodit_pro_plugins_translate_providers_languages__WEBPACK_IMPORTED_MODULE_2__/* .languages */ .M
144
150
  });
145
151
  }
146
152
  }
@@ -309,7 +315,7 @@ __webpack_require__.r(__webpack_exports__);
309
315
  /* harmony export */ });
310
316
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(97582);
311
317
  /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
312
- /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88292);
318
+ /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53852);
313
319
  /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52378);
314
320
  /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
315
321
  /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4682);
@@ -364,7 +370,7 @@ class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin
364
370
  return provider(this.jodit);
365
371
  }
366
372
  afterInit(jodit) {
367
- const defaultLanguage = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_9__/* .defaultLanguage */ .X)(jodit.o.language, _JoditPro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.defaultOptions.language */ .y.defaultOptions.language), language = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_9__/* .defaultLanguage */ .X)(jodit.o.language, defaultLanguage);
373
+ const defaultLanguage = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_9__/* .defaultLanguage */ .X)(jodit.o.language, jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.defaultOptions.language */ .y.defaultOptions.language), language = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_9__/* .defaultLanguage */ .X)(jodit.o.language, defaultLanguage);
368
374
  const provider = this.__getProvider();
369
375
  jodit
370
376
  .registerCommand('translateOptions', {
@@ -423,7 +429,7 @@ Translate.requires = ['license'];
423
429
  (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
424
430
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.persistent
425
431
  ], Translate.prototype, "state", void 0);
426
- _JoditPro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add('translate', Translate);
432
+ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_1__/* .JoditPro.plugins.add */ .y.plugins.add('translate', Translate);
427
433
 
428
434
 
429
435
  /***/ }),
@@ -554,7 +560,7 @@ UITranslateList = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
554
560
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
555
561
  /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
556
562
  /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
557
- /* harmony import */ var _list_list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48458);
563
+ /* harmony import */ var jodit_pro_plugins_translate_ui_list_list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48458);
558
564
  /*!
559
565
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
560
566
  * See LICENSE.md in the project root for license information.
@@ -582,7 +588,7 @@ let UITranslateSettings = class UITranslateSettings extends jodit_core_ui__WEBPA
582
588
  super(jodit);
583
589
  this.state = state;
584
590
  this.options = options;
585
- this.__sourceList = new _list_list__WEBPACK_IMPORTED_MODULE_2__/* .UITranslateList */ .r(jodit, {
591
+ this.__sourceList = new jodit_pro_plugins_translate_ui_list_list__WEBPACK_IMPORTED_MODULE_2__/* .UITranslateList */ .r(jodit, {
586
592
  list: options.sourceList,
587
593
  active: state.sourceLang,
588
594
  onChange: (lang) => {
@@ -593,7 +599,7 @@ let UITranslateSettings = class UITranslateSettings extends jodit_core_ui__WEBPA
593
599
  }
594
600
  });
595
601
  this.getElm('source-list')?.appendChild(this.__sourceList.container);
596
- this.__targetList = new _list_list__WEBPACK_IMPORTED_MODULE_2__/* .UITranslateList */ .r(jodit, {
602
+ this.__targetList = new jodit_pro_plugins_translate_ui_list_list__WEBPACK_IMPORTED_MODULE_2__/* .UITranslateList */ .r(jodit, {
597
603
  list: options.targetList,
598
604
  active: state.targetLang,
599
605
  onChange: (lang) => {
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var a=e();for(var s in a)("object"==typeof exports?exports:t)[s]=a[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[81],{9026(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},70134(t){t.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z"/> <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z"/> </svg>'},50461(t,e,a){"use strict";var s=a(77628),n=a(10503);s.Config.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},s.Config.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(t){t.execCommand("translate")},list:["Options"],childExec(t,e,{control:a}){t.execCommand("translate"+a.name)},mods:{stroke:!1}}},n.J.set("translate",a(70134)).set("translate-swap",a(9026))},88987(t,e,a){"use strict";a.d(e,{A(){return n}}),a(52378),a(11612);var s=a(89569);class n{constructor(t){this.jodit=t}__fetch(t,e={}){const a=this.jodit.o.translate.googleProviderOptions;return this.jodit.fetch(a.url+"?key="+a.key,{method:"POST",data:{...e,ui:this.jodit.o.language},contentType:"application/json; charset=utf-8",withCredentials:!1}).then((t=>t.json())).catch((t=>{try{this.jodit.message.error(t.json().message)}catch(t){}}))}translate(t,e,a){return this.__fetch("translate",{q:t,source:e,target:a,format:"html"}).then((t=>({text:t.data.translations[0].translatedText})))}supportedLanguages(){return Promise.resolve({langs:s.M})}}},89569(t,e,a){"use strict";a.d(e,{M(){return s}});const s={Afrikaans:"af",Albanian:"sq",Amharic:"am",Arabic:"ar",Armenian:"hy","Assamese*":"as","Aymara*":"ay",Azerbaijani:"az","Bambara*":"bm",Basque:"eu",Belarusian:"be",Bengali:"bn","Bhojpuri*":"bho",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Cebuano:"ceb","Chinese (Simplified)":"zh-CN","Chinese (Traditional)":"zh-TW",Corsican:"co",Croatian:"hr",Czech:"cs",Danish:"da","Dhivehi*":"dv","Dogri*":"doi",Dutch:"nl",English:"en",Esperanto:"eo",Estonian:"et","Ewe*":"ee","Filipino (Tagalog)":"fil",Finnish:"fi",French:"fr",Frisian:"fy",Galician:"gl",Georgian:"ka",German:"de",Greek:"el","Guarani*":"gn",Gujarati:"gu","Haitian Creole":"ht",Hausa:"ha",Hawaiian:"haw",Hebrew:"he",Hindi:"hi",Hmong:"hmn",Hungarian:"hu",Icelandic:"is",Igbo:"ig","Ilocano*":"ilo",Indonesian:"id",Irish:"ga",Italian:"it",Japanese:"ja",Kannada:"kn",Kazakh:"kk",Khmer:"km",Kinyarwanda:"rw","Konkani*":"gom",Korean:"ko","Krio*":"kri",Kurdish:"ku","Kurdish (Sorani)*":"ckb",Kyrgyz:"ky",Lao:"lo",Latin:"la",Latvian:"lv","Lingala*":"ln",Lithuanian:"lt","Luganda*":"lg",Luxembourgish:"lb",Macedonian:"mk","Maithili*":"mai",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt",Maori:"mi",Marathi:"mr","Meiteilon (Manipuri)*":"mni-Mtei",Mizo:"lus",Mongolian:"mn","Myanmar (Burmese)":"my",Nepali:"ne",Norwegian:"no","Nyanja (Chichewa)":"ny","Odia (Oriya)":"or","Oromo*":"om",Pashto:"ps",Persian:"fa",Polish:"pl",Portuguese:"pt",Punjabi:"pa","Quechua*":"qu",Romanian:"ro",Russian:"ru",Samoan:"sm","Sanskrit*":"sa","Scots Gaelic":"gd","Sepedi*":"nso",Serbian:"sr",Sesotho:"st",Shona:"sn",Sindhi:"sd","Sinhala (Sinhalese)":"si",Slovak:"sk",Slovenian:"sl",Somali:"so",Spanish:"es",Sundanese:"su",Swahili:"sw",Swedish:"sv","Tagalog (Filipino)":"tl",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th","Tigrinya*":"ti","Tsonga*":"ts",Turkish:"tr",Turkmen:"tk","Twi (Akan)*":"ak",Ukrainian:"uk",Urdu:"ur",Uyghur:"ug",Uzbek:"uz",Vietnamese:"vi",Welsh:"cy",Xhosa:"xh",Yiddish:"yi",Yoruba:"yo",Zulu:"zu"}},46753(t,e,a){"use strict";a.r(e),a.d(e,{Translate(){return u}});var s=a(97582),n=a(7324),i=a(88292),o=(a(52378),a(4682)),r=a(3262),l=a(50526),c=a(88987),h=(a(50461),a(16874)),g=a(53025);class u extends n.S{constructor(){super(...arguments),this.buttons=[{name:"translate.translate",group:"insert"}],this.state={sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang}}__getProvider(){const{provider:t}=this.jodit.options.translate;if((0,o.H)(t)){if("google"===t)return new c.A(this.j);throw Error("Unknown provider")}return t(this.jodit)}afterInit(t){const e=(0,r.X)(t.o.language,i.y.defaultOptions.language),a=(0,r.X)(t.o.language,e),s=this.__getProvider();t.registerCommand("translateOptions",{exec:async()=>{let e=this.state;const a=t.dlg();a.setHeader("Translate options");const n=await s.supportedLanguages(),i=new h.h(a,this.state,{sourceList:n.langs,targetList:n.langs,onChange(t){e=t}});a.setContent(i),a.setFooter([(0,g.zx)(t,"cancel","Cancel").onAction((()=>a.close())),(0,g.zx)(t,"ok","Save","primary").onAction((()=>{this.state=e,a.close()}))]),i.bindDestruct(a),a.setSize(500,400).open(!0)},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{const e=t.s.html;if(e)return s.translate(e,this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:a,this.state.targetLang).then((e=>{t.s.range.deleteContents(),t.s.insertNode(t.createInside.text(e.text))})).catch((e=>{t.message.error((0,o.H)(e)?e:e.message)}));t.message.error("Select text for translate")},hotkeys:t.o.translate.hotkeys.translateSelection})}beforeDestruct(t){}}u.requires=["license"],(0,s.gn)([l.persistent],u.prototype,"state",void 0),i.y.plugins.add("translate",u)},48458(t,e,a){"use strict";a.d(e,{r(){return g}});var s=a(97582),n=a(84789),i=a(50526),o=a(44913),r=a(77233),l=a(77902),c=a(95582),h=a(11612);let g=class t extends n.u{className(){return"UITranslateList"}get items(){return this.getElms("item")}render(t){const e=[];return Object.keys(t.list).sort().forEach((a=>{const s=t.list[a];e.push(`<a role='button' tabindex='0' class='&__item' data-lang='${s}'>\n\t\t\t\t\t\t<span class='&__item-key'>${s}</span>\n\t\t\t\t\t\t<span class='&__item-title'>${this.j.i18n(a)}</span>\n\t\t\t\t\t</a>`)})),`<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>${e.join("")}</div>\n\t\t</div>`}constructor(t,e){super(t,e),this.options=e,this.state={active:""},this.state.active=e.active;const a=new l.u(t,{placeholder:t.i18n("Filter"),icon:"search",onChange:this.__onChangeFilter,clearButton:!0});this.getElm("input")?.appendChild(a.container),this.__onActiveChange()}__onChangeFilter(t){this.items.forEach((e=>{const a=e.textContent?.toLowerCase()??"";(0,r.L)(e,"data-hidden","true"!==(0,r.L)(e,"data-active")&&!a.includes(t.toLowerCase()))}))}__scrollToActive(){const t=this.container.querySelector('[data-active="true"]'),e=this.getElm("list");t&&e&&(0,c.scrollIntoViewIfNeeded)(t,e,this.j.od)}onClickItem(t){if("keydown"===t.type&&"key"in t&&t.key!==h.KEY_ENTER)return;const e=t.target;if(o.i.isHTMLElement(e)&&e.getAttribute("data-lang")){const t=(0,r.L)(e,"data-lang");this.options.onChange(t),this.state.active=t}}__onActiveChange(){this.items.forEach((t=>(0,r.L)(t,"data-active",(0,r.L)(t,"data-lang")===this.state.active))),this.__scrollToActive()}};(0,s.gn)([(0,i.debounce)()],g.prototype,"__onChangeFilter",null),(0,s.gn)([(0,i.watch)(":afterOpen")],g.prototype,"__scrollToActive",null),(0,s.gn)([(0,i.watch)(["container:click","container:keydown"])],g.prototype,"onClickItem",null),(0,s.gn)([(0,i.watch)("state.active"),(0,i.debounce)()],g.prototype,"__onActiveChange",null),g=(0,s.gn)([i.component],g)},16874(t,e,a){"use strict";a.d(e,{h(){return r}});var s=a(97582),n=a(75004),i=a(50526),o=a(48458);let r=class t extends n.u1{className(){return"UITranslateSettings"}render(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"}constructor(t,e,a){super(t),this.state=e,this.options=a,this.__sourceList=new o.r(t,{list:a.sourceList,active:e.sourceLang,onChange:t=>{this.state.sourceLang=t,this.options.onChange({...this.state})}}),this.getElm("source-list")?.appendChild(this.__sourceList.container),this.__targetList=new o.r(t,{list:a.targetList,active:e.targetLang,onChange:t=>{this.state.targetLang=t,this.options.onChange({...this.state})}}),this.getElm("target-list")?.appendChild(this.__targetList.container)}__onSwap(){const t=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=t,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange({...this.state})}};(0,s.gn)([(0,i.watch)("arrow-swap:click")],r.prototype,"__onSwap",null),r=(0,s.gn)([i.component],r)}},t=>t(t.s=46753)])}));
10
+ ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var a=e();for(var s in a)("object"==typeof exports?exports:t)[s]=a[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[81],{9026(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},70134(t){t.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z"/> <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z"/> </svg>'},50461(t,e,a){"use strict";var s=a(77628),n=a(10503),i=a(70134),o=a.n(i),r=a(9026),l=a.n(r);s.Config.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},s.Config.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(t){t.execCommand("translate")},list:["Options"],childExec(t,e,{control:a}){t.execCommand("translate"+a.name)},mods:{stroke:!1}}},n.J.set("translate",o()).set("translate-swap",l())},88987(t,e,a){"use strict";a.d(e,{A(){return n}}),a(52378),a(11612);var s=a(89569);class n{constructor(t){this.jodit=t}__fetch(t,e={}){const a=this.jodit.o.translate.googleProviderOptions;return this.jodit.fetch(a.url+"?key="+a.key,{method:"POST",data:{...e,ui:this.jodit.o.language},contentType:"application/json; charset=utf-8",withCredentials:!1}).then((t=>t.json())).catch((t=>{try{this.jodit.message.error(t.json().message)}catch(t){}}))}translate(t,e,a){return this.__fetch("translate",{q:t,source:e,target:a,format:"html"}).then((t=>({text:t.data.translations[0].translatedText})))}supportedLanguages(){return Promise.resolve({langs:s.M})}}},89569(t,e,a){"use strict";a.d(e,{M(){return s}});const s={Afrikaans:"af",Albanian:"sq",Amharic:"am",Arabic:"ar",Armenian:"hy","Assamese*":"as","Aymara*":"ay",Azerbaijani:"az","Bambara*":"bm",Basque:"eu",Belarusian:"be",Bengali:"bn","Bhojpuri*":"bho",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Cebuano:"ceb","Chinese (Simplified)":"zh-CN","Chinese (Traditional)":"zh-TW",Corsican:"co",Croatian:"hr",Czech:"cs",Danish:"da","Dhivehi*":"dv","Dogri*":"doi",Dutch:"nl",English:"en",Esperanto:"eo",Estonian:"et","Ewe*":"ee","Filipino (Tagalog)":"fil",Finnish:"fi",French:"fr",Frisian:"fy",Galician:"gl",Georgian:"ka",German:"de",Greek:"el","Guarani*":"gn",Gujarati:"gu","Haitian Creole":"ht",Hausa:"ha",Hawaiian:"haw",Hebrew:"he",Hindi:"hi",Hmong:"hmn",Hungarian:"hu",Icelandic:"is",Igbo:"ig","Ilocano*":"ilo",Indonesian:"id",Irish:"ga",Italian:"it",Japanese:"ja",Kannada:"kn",Kazakh:"kk",Khmer:"km",Kinyarwanda:"rw","Konkani*":"gom",Korean:"ko","Krio*":"kri",Kurdish:"ku","Kurdish (Sorani)*":"ckb",Kyrgyz:"ky",Lao:"lo",Latin:"la",Latvian:"lv","Lingala*":"ln",Lithuanian:"lt","Luganda*":"lg",Luxembourgish:"lb",Macedonian:"mk","Maithili*":"mai",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt",Maori:"mi",Marathi:"mr","Meiteilon (Manipuri)*":"mni-Mtei",Mizo:"lus",Mongolian:"mn","Myanmar (Burmese)":"my",Nepali:"ne",Norwegian:"no","Nyanja (Chichewa)":"ny","Odia (Oriya)":"or","Oromo*":"om",Pashto:"ps",Persian:"fa",Polish:"pl",Portuguese:"pt",Punjabi:"pa","Quechua*":"qu",Romanian:"ro",Russian:"ru",Samoan:"sm","Sanskrit*":"sa","Scots Gaelic":"gd","Sepedi*":"nso",Serbian:"sr",Sesotho:"st",Shona:"sn",Sindhi:"sd","Sinhala (Sinhalese)":"si",Slovak:"sk",Slovenian:"sl",Somali:"so",Spanish:"es",Sundanese:"su",Swahili:"sw",Swedish:"sv","Tagalog (Filipino)":"tl",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th","Tigrinya*":"ti","Tsonga*":"ts",Turkish:"tr",Turkmen:"tk","Twi (Akan)*":"ak",Ukrainian:"uk",Urdu:"ur",Uyghur:"ug",Uzbek:"uz",Vietnamese:"vi",Welsh:"cy",Xhosa:"xh",Yiddish:"yi",Yoruba:"yo",Zulu:"zu"}},46753(t,e,a){"use strict";a.r(e),a.d(e,{Translate(){return u}});var s=a(97582),n=a(7324),i=a(53852),o=(a(52378),a(4682)),r=a(3262),l=a(50526),c=a(88987),h=(a(50461),a(16874)),g=a(53025);class u extends n.S{constructor(){super(...arguments),this.buttons=[{name:"translate.translate",group:"insert"}],this.state={sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang}}__getProvider(){const{provider:t}=this.jodit.options.translate;if((0,o.H)(t)){if("google"===t)return new c.A(this.j);throw Error("Unknown provider")}return t(this.jodit)}afterInit(t){const e=(0,r.X)(t.o.language,i.y.defaultOptions.language),a=(0,r.X)(t.o.language,e),s=this.__getProvider();t.registerCommand("translateOptions",{exec:async()=>{let e=this.state;const a=t.dlg();a.setHeader("Translate options");const n=await s.supportedLanguages(),i=new h.h(a,this.state,{sourceList:n.langs,targetList:n.langs,onChange(t){e=t}});a.setContent(i),a.setFooter([(0,g.zx)(t,"cancel","Cancel").onAction((()=>a.close())),(0,g.zx)(t,"ok","Save","primary").onAction((()=>{this.state=e,a.close()}))]),i.bindDestruct(a),a.setSize(500,400).open(!0)},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{const e=t.s.html;if(e)return s.translate(e,this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:a,this.state.targetLang).then((e=>{t.s.range.deleteContents(),t.s.insertNode(t.createInside.text(e.text))})).catch((e=>{t.message.error((0,o.H)(e)?e:e.message)}));t.message.error("Select text for translate")},hotkeys:t.o.translate.hotkeys.translateSelection})}beforeDestruct(t){}}u.requires=["license"],(0,s.gn)([l.persistent],u.prototype,"state",void 0),i.y.plugins.add("translate",u)},48458(t,e,a){"use strict";a.d(e,{r(){return g}});var s=a(97582),n=a(84789),i=a(50526),o=a(44913),r=a(77233),l=a(77902),c=a(95582),h=a(11612);let g=class t extends n.u{className(){return"UITranslateList"}get items(){return this.getElms("item")}render(t){const e=[];return Object.keys(t.list).sort().forEach((a=>{const s=t.list[a];e.push(`<a role='button' tabindex='0' class='&__item' data-lang='${s}'>\n\t\t\t\t\t\t<span class='&__item-key'>${s}</span>\n\t\t\t\t\t\t<span class='&__item-title'>${this.j.i18n(a)}</span>\n\t\t\t\t\t</a>`)})),`<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>${e.join("")}</div>\n\t\t</div>`}constructor(t,e){super(t,e),this.options=e,this.state={active:""},this.state.active=e.active;const a=new l.u(t,{placeholder:t.i18n("Filter"),icon:"search",onChange:this.__onChangeFilter,clearButton:!0});this.getElm("input")?.appendChild(a.container),this.__onActiveChange()}__onChangeFilter(t){this.items.forEach((e=>{const a=e.textContent?.toLowerCase()??"";(0,r.L)(e,"data-hidden","true"!==(0,r.L)(e,"data-active")&&!a.includes(t.toLowerCase()))}))}__scrollToActive(){const t=this.container.querySelector('[data-active="true"]'),e=this.getElm("list");t&&e&&(0,c.scrollIntoViewIfNeeded)(t,e,this.j.od)}onClickItem(t){if("keydown"===t.type&&"key"in t&&t.key!==h.KEY_ENTER)return;const e=t.target;if(o.i.isHTMLElement(e)&&e.getAttribute("data-lang")){const t=(0,r.L)(e,"data-lang");this.options.onChange(t),this.state.active=t}}__onActiveChange(){this.items.forEach((t=>(0,r.L)(t,"data-active",(0,r.L)(t,"data-lang")===this.state.active))),this.__scrollToActive()}};(0,s.gn)([(0,i.debounce)()],g.prototype,"__onChangeFilter",null),(0,s.gn)([(0,i.watch)(":afterOpen")],g.prototype,"__scrollToActive",null),(0,s.gn)([(0,i.watch)(["container:click","container:keydown"])],g.prototype,"onClickItem",null),(0,s.gn)([(0,i.watch)("state.active"),(0,i.debounce)()],g.prototype,"__onActiveChange",null),g=(0,s.gn)([i.component],g)},16874(t,e,a){"use strict";a.d(e,{h(){return r}});var s=a(97582),n=a(75004),i=a(50526),o=a(48458);let r=class t extends n.u1{className(){return"UITranslateSettings"}render(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"}constructor(t,e,a){super(t),this.state=e,this.options=a,this.__sourceList=new o.r(t,{list:a.sourceList,active:e.sourceLang,onChange:t=>{this.state.sourceLang=t,this.options.onChange({...this.state})}}),this.getElm("source-list")?.appendChild(this.__sourceList.container),this.__targetList=new o.r(t,{list:a.targetList,active:e.targetLang,onChange:t=>{this.state.targetLang=t,this.options.onChange({...this.state})}}),this.getElm("target-list")?.appendChild(this.__targetList.container)}__onSwap(){const t=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=t,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange({...this.state})}};(0,s.gn)([(0,i.watch)("arrow-swap:click")],r.prototype,"__onSwap",null),r=(0,s.gn)([i.component],r)}},t=>t(t.s=46753)])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -141,7 +141,7 @@ __webpack_require__.r(__webpack_exports__);
141
141
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97582);
142
142
  /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
143
143
  /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
144
- /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88292);
144
+ /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53852);
145
145
  /* harmony import */ var _ui_tuner_tuner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13027);
146
146
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82571);
147
147
  /*!
@@ -197,7 +197,7 @@ tuneBlock.requires = ['license'];
197
197
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
198
198
  (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(':click')
199
199
  ], tuneBlock.prototype, "onClickInBlock", null);
200
- _JoditPro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add('tune-block', tuneBlock);
200
+ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_2__/* .JoditPro.plugins.add */ .y.plugins.add('tune-block', tuneBlock);
201
201
 
202
202
 
203
203
  /***/ }),
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- "use strict";((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[288],{82571(e,t,o){var n=o(77628),i=o(8138),s=o(95582);const r=["tune.up","tune.remove","tune.down"],c=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...r];function l(e){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+e.toUpperCase()+"</text></svg>",isActive:(t,o,n)=>n?.target?.tagName.toLowerCase()===e,exec(t,o){if(o){t.selection.save();const n=i.i.replace(o,e,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",n)}return!0}}}function h(e){const t=e?"previousSibling":"nextSibling";return{icon:e?"angle-up":"angle-down",isDisabled:(e,o,n)=>!n?.target?.[t],exec(o,n){const r=n?.[t];return n&&r&&(o.selection.save(),(0,s.call)(e?i.i.before:i.i.after,r,n),o.selection.restore()),o.e.fire("synchro"),o.e.fire("afterExecTune.tune"),!0}}}n.Config.prototype.tuneBlock={popup:{p:r,table:r,img:r,blockquote:r,div:r,pre:["tune.editPre",...r],h1:c,h2:c,h3:c,h4:c,h5:c,h6:c}},n.Config.prototype.controls.tune={h1:l("h1"),h2:l("h2"),h3:l("h3"),h4:l("h4"),h5:l("h5"),h6:l("h6"),up:h(!0),down:h(!1),editPre:{icon:"pencil",exec(e,t){e.e.fire("editPreInPasteCode",t)}},remove:{icon:"bin",exec(e,t){i.i.safeRemove(t),e.e.fire("synchro"),e.e.fire("closeTuner.tune"),e.e.fire("hideTuner.tune")}}}},66724(e,t,o){o.r(t),o.d(t,{tuneBlock(){return l}});var n=o(97582),i=o(7324),s=o(50526),r=o(88292),c=o(13027);o(82571);class l extends i.S{afterInit(e){this.tuner=new c.x(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}l.requires=["license"],(0,n.gn)([(0,s.watch)(":outsideClick :keydown")],l.prototype,"hideTuner",null),(0,n.gn)([(0,s.watch)("j.ed:selectionchange"),(0,s.debounce)()],l.prototype,"onChangeSelection",null),(0,n.gn)([(0,s.watch)(":click")],l.prototype,"onClickInBlock",null),r.y.plugins.add("tune-block",l)},13027(e,t,o){o.d(t,{x(){return h}});var n=o(97582),i=o(75004),s=o(8138),r=o(95582),c=o(50526),l=o(45429);let h=class e extends i.u1{constructor(){super(...arguments),this.isShown=!1,this.toolbar=(0,l.R)(this.j,this),this.popup=new i.GI(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const e=this.j.s.current();if(!e)return this.hide();const t=s.i.isBlock(e)?e:s.i.closest(e,(e=>!(!e||!this.j.o.tuneBlock.popup[e.nodeName.toLowerCase()])),this.j.editor);if(!t||t===this.j.editor||!this.j.o.tuneBlock.popup[t.tagName.toLowerCase()])return this.hide();this.currentBlock=t,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,s.i.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){const e=(0,r.css)(this.j.editor,"marginLeft"),t=(0,r.css)(this.j.editor,"paddingLeft"),o=(0,r.css)(this.j.editor,"marginTop");(0,r.css)(this.container,{transform:`translate3d(${this.currentBlock.offsetWidth-15+e+t}px, ${this.currentBlock.offsetTop-this.j.editor.scrollTop+o}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(e){e&&(this.currentBlock=e),this.calcPosition(),this.openToolbar()}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){const e=this.getElm("handle");this.popup.open((()=>(0,r.position)(e)))}}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};(0,n.gn)([(0,c.watch)(":hideTuner.tune")],h.prototype,"hide",null),(0,n.gn)([(0,c.watch)("j.editor:scroll"),(0,c.throttle)(10)],h.prototype,"onEditorScroll",null),(0,n.gn)([(0,c.watch)(":afterExecTune.tune"),(0,c.idle)()],h.prototype,"onAfterExecTune",null),(0,n.gn)([(0,c.watch)("container:click container:mousedown")],h.prototype,"onClickPrevent",null),(0,n.gn)([(0,c.watch)("handle:click")],h.prototype,"onTargetClick",null),(0,n.gn)([(0,c.watch)(":closeTuner.tune")],h.prototype,"closeToolbar",null),h=(0,n.gn)([c.component],h)}},e=>e(e.s=66724)])}));
10
+ "use strict";((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[288],{82571(e,t,o){var n=o(77628),i=o(8138),s=o(95582);const r=["tune.up","tune.remove","tune.down"],c=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...r];function l(e){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+e.toUpperCase()+"</text></svg>",isActive:(t,o,n)=>n?.target?.tagName.toLowerCase()===e,exec(t,o){if(o){t.selection.save();const n=i.i.replace(o,e,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",n)}return!0}}}function h(e){const t=e?"previousSibling":"nextSibling";return{icon:e?"angle-up":"angle-down",isDisabled:(e,o,n)=>!n?.target?.[t],exec(o,n){const r=n?.[t];return n&&r&&(o.selection.save(),(0,s.call)(e?i.i.before:i.i.after,r,n),o.selection.restore()),o.e.fire("synchro"),o.e.fire("afterExecTune.tune"),!0}}}n.Config.prototype.tuneBlock={popup:{p:r,table:r,img:r,blockquote:r,div:r,pre:["tune.editPre",...r],h1:c,h2:c,h3:c,h4:c,h5:c,h6:c}},n.Config.prototype.controls.tune={h1:l("h1"),h2:l("h2"),h3:l("h3"),h4:l("h4"),h5:l("h5"),h6:l("h6"),up:h(!0),down:h(!1),editPre:{icon:"pencil",exec(e,t){e.e.fire("editPreInPasteCode",t)}},remove:{icon:"bin",exec(e,t){i.i.safeRemove(t),e.e.fire("synchro"),e.e.fire("closeTuner.tune"),e.e.fire("hideTuner.tune")}}}},66724(e,t,o){o.r(t),o.d(t,{tuneBlock(){return l}});var n=o(97582),i=o(7324),s=o(50526),r=o(53852),c=o(13027);o(82571);class l extends i.S{afterInit(e){this.tuner=new c.x(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}l.requires=["license"],(0,n.gn)([(0,s.watch)(":outsideClick :keydown")],l.prototype,"hideTuner",null),(0,n.gn)([(0,s.watch)("j.ed:selectionchange"),(0,s.debounce)()],l.prototype,"onChangeSelection",null),(0,n.gn)([(0,s.watch)(":click")],l.prototype,"onClickInBlock",null),r.y.plugins.add("tune-block",l)},13027(e,t,o){o.d(t,{x(){return h}});var n=o(97582),i=o(75004),s=o(8138),r=o(95582),c=o(50526),l=o(45429);let h=class e extends i.u1{constructor(){super(...arguments),this.isShown=!1,this.toolbar=(0,l.R)(this.j,this),this.popup=new i.GI(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const e=this.j.s.current();if(!e)return this.hide();const t=s.i.isBlock(e)?e:s.i.closest(e,(e=>!(!e||!this.j.o.tuneBlock.popup[e.nodeName.toLowerCase()])),this.j.editor);if(!t||t===this.j.editor||!this.j.o.tuneBlock.popup[t.tagName.toLowerCase()])return this.hide();this.currentBlock=t,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,s.i.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){const e=(0,r.css)(this.j.editor,"marginLeft"),t=(0,r.css)(this.j.editor,"paddingLeft"),o=(0,r.css)(this.j.editor,"marginTop");(0,r.css)(this.container,{transform:`translate3d(${this.currentBlock.offsetWidth-15+e+t}px, ${this.currentBlock.offsetTop-this.j.editor.scrollTop+o}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(e){e&&(this.currentBlock=e),this.calcPosition(),this.openToolbar()}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){const e=this.getElm("handle");this.popup.open((()=>(0,r.position)(e)))}}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};(0,n.gn)([(0,c.watch)(":hideTuner.tune")],h.prototype,"hide",null),(0,n.gn)([(0,c.watch)("j.editor:scroll"),(0,c.throttle)(10)],h.prototype,"onEditorScroll",null),(0,n.gn)([(0,c.watch)(":afterExecTune.tune"),(0,c.idle)()],h.prototype,"onAfterExecTune",null),(0,n.gn)([(0,c.watch)("container:click container:mousedown")],h.prototype,"onClickPrevent",null),(0,n.gn)([(0,c.watch)("handle:click")],h.prototype,"onTargetClick",null),(0,n.gn)([(0,c.watch)(":closeTuner.tune")],h.prototype,"closeToolbar",null),h=(0,n.gn)([c.component],h)}},e=>e(e.s=66724)])}));