jodit-pro 4.2.13 → 4.2.19

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 (322) hide show
  1. package/es2015/jodit.css +47 -1
  2. package/es2015/jodit.fat.min.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +489 -464
  5. package/es2015/jodit.min.css +1 -1
  6. package/es2015/jodit.min.js +2 -2
  7. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  8. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  9. package/es2015/plugins/backup/backup.css +1 -1
  10. package/es2015/plugins/backup/backup.js +7 -7
  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 +9 -9
  14. package/es2015/plugins/button-generator/button-generator.min.js +2 -2
  15. package/es2015/plugins/change-case/change-case.js +6 -6
  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 +1 -1
  19. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  20. package/es2015/plugins/emoji/emoji.css +1 -1
  21. package/es2015/plugins/emoji/emoji.js +11 -11
  22. package/es2015/plugins/emoji/emoji.min.js +2 -2
  23. package/es2015/plugins/export-docs/export-docs.js +7 -7
  24. package/es2015/plugins/export-docs/export-docs.min.js +2 -2
  25. package/es2015/plugins/finder/finder.css +1 -1
  26. package/es2015/plugins/finder/finder.js +33 -33
  27. package/es2015/plugins/finder/finder.min.js +2 -2
  28. package/es2015/plugins/google-maps/google-maps.css +1 -1
  29. package/es2015/plugins/google-maps/google-maps.js +2 -2
  30. package/es2015/plugins/google-maps/google-maps.min.js +2 -2
  31. package/es2015/plugins/google-search/google-search.js +6 -6
  32. package/es2015/plugins/google-search/google-search.min.js +2 -2
  33. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  34. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  35. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  36. package/es2015/plugins/iframe-editor/iframe-editor.js +8 -8
  37. package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
  38. package/es2015/plugins/keyboard/keyboard.css +1 -1
  39. package/es2015/plugins/keyboard/keyboard.js +15 -15
  40. package/es2015/plugins/keyboard/keyboard.min.js +2 -2
  41. package/es2015/plugins/mobile-view/mobile-view.js +20 -9
  42. package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
  43. package/es2015/plugins/page-break/page-break.js +8 -8
  44. package/es2015/plugins/page-break/page-break.min.js +2 -2
  45. package/es2015/plugins/paste-code/paste-code.css +1 -1
  46. package/es2015/plugins/paste-code/paste-code.js +7 -7
  47. package/es2015/plugins/paste-code/paste-code.min.js +2 -2
  48. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  49. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  50. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  51. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  52. package/es2015/plugins/todo-list/todo-list.css +1 -1
  53. package/es2015/plugins/todo-list/todo-list.js +7 -7
  54. package/es2015/plugins/todo-list/todo-list.min.js +2 -2
  55. package/es2015/plugins/translate/translate.css +1 -1
  56. package/es2015/plugins/translate/translate.js +9 -9
  57. package/es2015/plugins/translate/translate.min.js +2 -2
  58. package/es2015/plugins/tune-block/tune-block.css +1 -1
  59. package/es2015/plugins/tune-block/tune-block.js +1 -1
  60. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  61. package/es2018/jodit.css +47 -1
  62. package/es2018/jodit.fat.min.css +1 -1
  63. package/es2018/jodit.fat.min.js +2 -2
  64. package/es2018/jodit.js +489 -466
  65. package/es2018/jodit.min.css +1 -1
  66. package/es2018/jodit.min.js +2 -2
  67. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  68. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  69. package/es2018/plugins/backup/backup.css +1 -1
  70. package/es2018/plugins/backup/backup.js +7 -7
  71. package/es2018/plugins/backup/backup.min.js +2 -2
  72. package/es2018/plugins/button-generator/button-generator.css +1 -1
  73. package/es2018/plugins/button-generator/button-generator.js +9 -9
  74. package/es2018/plugins/button-generator/button-generator.min.js +2 -2
  75. package/es2018/plugins/change-case/change-case.js +6 -6
  76. package/es2018/plugins/change-case/change-case.min.js +2 -2
  77. package/es2018/plugins/color-picker/color-picker.css +1 -1
  78. package/es2018/plugins/color-picker/color-picker.js +1 -1
  79. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  80. package/es2018/plugins/emoji/emoji.css +1 -1
  81. package/es2018/plugins/emoji/emoji.js +11 -11
  82. package/es2018/plugins/emoji/emoji.min.js +2 -2
  83. package/es2018/plugins/export-docs/export-docs.js +7 -7
  84. package/es2018/plugins/export-docs/export-docs.min.js +2 -2
  85. package/es2018/plugins/finder/finder.css +1 -1
  86. package/es2018/plugins/finder/finder.js +33 -33
  87. package/es2018/plugins/finder/finder.min.js +2 -2
  88. package/es2018/plugins/google-maps/google-maps.css +1 -1
  89. package/es2018/plugins/google-maps/google-maps.js +2 -2
  90. package/es2018/plugins/google-maps/google-maps.min.js +2 -2
  91. package/es2018/plugins/google-search/google-search.js +6 -6
  92. package/es2018/plugins/google-search/google-search.min.js +2 -2
  93. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  94. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  95. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  96. package/es2018/plugins/iframe-editor/iframe-editor.js +8 -8
  97. package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
  98. package/es2018/plugins/keyboard/keyboard.css +1 -1
  99. package/es2018/plugins/keyboard/keyboard.js +15 -15
  100. package/es2018/plugins/keyboard/keyboard.min.js +2 -2
  101. package/es2018/plugins/mobile-view/mobile-view.js +20 -9
  102. package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
  103. package/es2018/plugins/page-break/page-break.js +8 -8
  104. package/es2018/plugins/page-break/page-break.min.js +2 -2
  105. package/es2018/plugins/paste-code/paste-code.css +1 -1
  106. package/es2018/plugins/paste-code/paste-code.js +7 -7
  107. package/es2018/plugins/paste-code/paste-code.min.js +2 -2
  108. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  109. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  110. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  111. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  112. package/es2018/plugins/todo-list/todo-list.css +1 -1
  113. package/es2018/plugins/todo-list/todo-list.js +7 -7
  114. package/es2018/plugins/todo-list/todo-list.min.js +2 -2
  115. package/es2018/plugins/translate/translate.css +1 -1
  116. package/es2018/plugins/translate/translate.js +9 -9
  117. package/es2018/plugins/translate/translate.min.js +2 -2
  118. package/es2018/plugins/tune-block/tune-block.css +1 -1
  119. package/es2018/plugins/tune-block/tune-block.js +1 -1
  120. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  121. package/es2021/jodit.css +47 -1
  122. package/es2021/jodit.fat.min.css +1 -1
  123. package/es2021/jodit.fat.min.js +2 -2
  124. package/es2021/jodit.js +489 -464
  125. package/es2021/jodit.min.css +1 -1
  126. package/es2021/jodit.min.js +2 -2
  127. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  128. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  129. package/es2021/plugins/backup/backup.css +1 -1
  130. package/es2021/plugins/backup/backup.js +7 -7
  131. package/es2021/plugins/backup/backup.min.js +2 -2
  132. package/es2021/plugins/button-generator/button-generator.css +1 -1
  133. package/es2021/plugins/button-generator/button-generator.js +9 -9
  134. package/es2021/plugins/button-generator/button-generator.min.js +2 -2
  135. package/es2021/plugins/change-case/change-case.js +6 -6
  136. package/es2021/plugins/change-case/change-case.min.js +2 -2
  137. package/es2021/plugins/color-picker/color-picker.css +1 -1
  138. package/es2021/plugins/color-picker/color-picker.js +1 -1
  139. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  140. package/es2021/plugins/emoji/emoji.css +1 -1
  141. package/es2021/plugins/emoji/emoji.js +11 -11
  142. package/es2021/plugins/emoji/emoji.min.js +2 -2
  143. package/es2021/plugins/export-docs/export-docs.js +7 -7
  144. package/es2021/plugins/export-docs/export-docs.min.js +2 -2
  145. package/es2021/plugins/finder/finder.css +1 -1
  146. package/es2021/plugins/finder/finder.js +33 -33
  147. package/es2021/plugins/finder/finder.min.js +2 -2
  148. package/es2021/plugins/google-maps/google-maps.css +1 -1
  149. package/es2021/plugins/google-maps/google-maps.js +2 -2
  150. package/es2021/plugins/google-maps/google-maps.min.js +2 -2
  151. package/es2021/plugins/google-search/google-search.js +6 -6
  152. package/es2021/plugins/google-search/google-search.min.js +2 -2
  153. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  154. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  155. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  156. package/es2021/plugins/iframe-editor/iframe-editor.js +8 -8
  157. package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
  158. package/es2021/plugins/keyboard/keyboard.css +1 -1
  159. package/es2021/plugins/keyboard/keyboard.js +15 -15
  160. package/es2021/plugins/keyboard/keyboard.min.js +2 -2
  161. package/es2021/plugins/mobile-view/mobile-view.js +19 -9
  162. package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
  163. package/es2021/plugins/page-break/page-break.js +8 -8
  164. package/es2021/plugins/page-break/page-break.min.js +2 -2
  165. package/es2021/plugins/paste-code/paste-code.css +1 -1
  166. package/es2021/plugins/paste-code/paste-code.js +7 -7
  167. package/es2021/plugins/paste-code/paste-code.min.js +2 -2
  168. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  169. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  170. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  171. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  172. package/es2021/plugins/todo-list/todo-list.css +1 -1
  173. package/es2021/plugins/todo-list/todo-list.js +7 -7
  174. package/es2021/plugins/todo-list/todo-list.min.js +2 -2
  175. package/es2021/plugins/translate/translate.css +1 -1
  176. package/es2021/plugins/translate/translate.js +9 -9
  177. package/es2021/plugins/translate/translate.min.js +2 -2
  178. package/es2021/plugins/tune-block/tune-block.css +1 -1
  179. package/es2021/plugins/tune-block/tune-block.js +1 -1
  180. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  181. package/es2021.en/jodit.css +47 -1
  182. package/es2021.en/jodit.fat.min.css +1 -1
  183. package/es2021.en/jodit.fat.min.js +2 -2
  184. package/es2021.en/jodit.js +489 -464
  185. package/es2021.en/jodit.min.css +1 -1
  186. package/es2021.en/jodit.min.js +2 -2
  187. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  188. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  189. package/es2021.en/plugins/backup/backup.css +1 -1
  190. package/es2021.en/plugins/backup/backup.js +7 -7
  191. package/es2021.en/plugins/backup/backup.min.js +2 -2
  192. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  193. package/es2021.en/plugins/button-generator/button-generator.js +9 -9
  194. package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
  195. package/es2021.en/plugins/change-case/change-case.js +6 -6
  196. package/es2021.en/plugins/change-case/change-case.min.js +2 -2
  197. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  198. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  199. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  200. package/es2021.en/plugins/emoji/emoji.css +1 -1
  201. package/es2021.en/plugins/emoji/emoji.js +11 -11
  202. package/es2021.en/plugins/emoji/emoji.min.js +2 -2
  203. package/es2021.en/plugins/export-docs/export-docs.js +7 -7
  204. package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
  205. package/es2021.en/plugins/finder/finder.css +1 -1
  206. package/es2021.en/plugins/finder/finder.js +33 -33
  207. package/es2021.en/plugins/finder/finder.min.js +2 -2
  208. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  209. package/es2021.en/plugins/google-maps/google-maps.js +2 -2
  210. package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
  211. package/es2021.en/plugins/google-search/google-search.js +6 -6
  212. package/es2021.en/plugins/google-search/google-search.min.js +2 -2
  213. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  214. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  215. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  216. package/es2021.en/plugins/iframe-editor/iframe-editor.js +8 -8
  217. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
  218. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  219. package/es2021.en/plugins/keyboard/keyboard.js +15 -15
  220. package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
  221. package/es2021.en/plugins/mobile-view/mobile-view.js +19 -9
  222. package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
  223. package/es2021.en/plugins/page-break/page-break.js +8 -8
  224. package/es2021.en/plugins/page-break/page-break.min.js +2 -2
  225. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  226. package/es2021.en/plugins/paste-code/paste-code.js +7 -7
  227. package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
  228. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  229. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  230. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  231. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  232. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  233. package/es2021.en/plugins/todo-list/todo-list.js +7 -7
  234. package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
  235. package/es2021.en/plugins/translate/translate.css +1 -1
  236. package/es2021.en/plugins/translate/translate.js +9 -9
  237. package/es2021.en/plugins/translate/translate.min.js +2 -2
  238. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  239. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  240. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  241. package/es5/jodit.css +77 -2
  242. package/es5/jodit.fat.min.css +1 -1
  243. package/es5/jodit.fat.min.js +2 -2
  244. package/es5/jodit.js +493 -466
  245. package/es5/jodit.min.css +3 -3
  246. package/es5/jodit.min.js +2 -2
  247. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  248. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  249. package/es5/plugins/backup/backup.css +1 -1
  250. package/es5/plugins/backup/backup.js +7 -7
  251. package/es5/plugins/backup/backup.min.js +2 -2
  252. package/es5/plugins/button-generator/button-generator.css +1 -1
  253. package/es5/plugins/button-generator/button-generator.js +9 -9
  254. package/es5/plugins/button-generator/button-generator.min.js +2 -2
  255. package/es5/plugins/change-case/change-case.js +6 -6
  256. package/es5/plugins/change-case/change-case.min.js +2 -2
  257. package/es5/plugins/color-picker/color-picker.css +1 -1
  258. package/es5/plugins/color-picker/color-picker.js +1 -1
  259. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  260. package/es5/plugins/emoji/emoji.css +1 -1
  261. package/es5/plugins/emoji/emoji.js +11 -11
  262. package/es5/plugins/emoji/emoji.min.js +2 -2
  263. package/es5/plugins/export-docs/export-docs.js +7 -7
  264. package/es5/plugins/export-docs/export-docs.min.js +2 -2
  265. package/es5/plugins/finder/finder.css +1 -1
  266. package/es5/plugins/finder/finder.js +33 -33
  267. package/es5/plugins/finder/finder.min.js +2 -2
  268. package/es5/plugins/google-maps/google-maps.css +1 -1
  269. package/es5/plugins/google-maps/google-maps.js +2 -2
  270. package/es5/plugins/google-maps/google-maps.min.js +2 -2
  271. package/es5/plugins/google-search/google-search.js +6 -6
  272. package/es5/plugins/google-search/google-search.min.js +2 -2
  273. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  274. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  275. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  276. package/es5/plugins/iframe-editor/iframe-editor.js +8 -8
  277. package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
  278. package/es5/plugins/keyboard/keyboard.css +1 -1
  279. package/es5/plugins/keyboard/keyboard.js +15 -15
  280. package/es5/plugins/keyboard/keyboard.min.js +2 -2
  281. package/es5/plugins/mobile-view/mobile-view.js +20 -9
  282. package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
  283. package/es5/plugins/page-break/page-break.js +8 -8
  284. package/es5/plugins/page-break/page-break.min.js +2 -2
  285. package/es5/plugins/paste-code/paste-code.css +1 -1
  286. package/es5/plugins/paste-code/paste-code.js +7 -7
  287. package/es5/plugins/paste-code/paste-code.min.js +2 -2
  288. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  289. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  290. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  291. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  292. package/es5/plugins/todo-list/todo-list.css +1 -1
  293. package/es5/plugins/todo-list/todo-list.js +7 -7
  294. package/es5/plugins/todo-list/todo-list.min.js +2 -2
  295. package/es5/plugins/translate/translate.css +1 -1
  296. package/es5/plugins/translate/translate.js +9 -9
  297. package/es5/plugins/translate/translate.min.js +2 -2
  298. package/es5/plugins/tune-block/tune-block.css +1 -1
  299. package/es5/plugins/tune-block/tune-block.js +1 -1
  300. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  301. package/esm/plugins/autocomplete/autocomplete.js +1 -1
  302. package/esm/plugins/backup/config.js +1 -1
  303. package/esm/plugins/button-generator/config.js +1 -1
  304. package/esm/plugins/change-case/config.js +1 -1
  305. package/esm/plugins/emoji/config.js +1 -1
  306. package/esm/plugins/export-docs/config.js +1 -1
  307. package/esm/plugins/finder/browser.js +1 -1
  308. package/esm/plugins/finder/interface.d.ts +69 -0
  309. package/esm/plugins/google-maps/config.js +1 -1
  310. package/esm/plugins/google-maps/interface.d.ts +109 -0
  311. package/esm/plugins/google-search/google-search.js +1 -1
  312. package/esm/plugins/iframe-editor/config.js +1 -1
  313. package/esm/plugins/keyboard/config.js +1 -1
  314. package/esm/plugins/keyboard/keyboard.js +1 -1
  315. package/esm/plugins/mobile-view/config.js +1 -1
  316. package/esm/plugins/page-break/config.js +1 -1
  317. package/esm/plugins/paste-code/config.js +1 -1
  318. package/esm/plugins/todo-list/config.js +1 -1
  319. package/esm/plugins/translate/config.js +1 -1
  320. package/package.json +1 -1
  321. package/types/plugins/finder/interface.d.ts +69 -0
  322. package/types/plugins/google-maps/interface.d.ts +109 -0
@@ -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: v4.2.13
4
+ * Version: v4.2.19
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -64,12 +64,12 @@ module.exports = "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\
64
64
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
65
65
 
66
66
  "use strict";
67
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75541);
68
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_0__);
69
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
67
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
68
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75541);
69
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
70
70
 
71
71
 
72
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.keyboard = {
72
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.keyboard = {
73
73
  defaultLayoutSet: 'en',
74
74
  showLayoutSwitcher: true,
75
75
  extraKeyGroup: 'other',
@@ -174,15 +174,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.keyboard = {
174
174
  ]
175
175
  // prettier-ignore-end
176
176
  };
177
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.keyboard = {
177
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.keyboard = {
178
178
  tooltip: 'Keyboard',
179
- icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_0___default()),
179
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
180
180
  isActive(editor) {
181
181
  return Boolean(editor.e.fire('isKeyboardOpened'));
182
182
  },
183
183
  command: 'toggleKeyboard'
184
184
  };
185
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.extraKeyboardButtons = {};
185
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.extraKeyboardButtons = {};
186
186
 
187
187
 
188
188
  /***/ }),
@@ -200,10 +200,10 @@ __webpack_require__.r(__webpack_exports__);
200
200
  /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
201
201
  /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65564);
202
202
  /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76185);
203
- /* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35102);
204
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(32338);
205
- /* harmony import */ var _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78498);
206
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(91288);
203
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
204
+ /* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35102);
205
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(32338);
206
+ /* harmony import */ var _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78498);
207
207
  /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25511);
208
208
 
209
209
 
@@ -237,7 +237,7 @@ class keyboard extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
237
237
  name: `extraKeyboardButtons.${id}`,
238
238
  group: extraKeyGroup
239
239
  });
240
- const { extraKeyboardButtons } = jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.defaultOptions
240
+ const { extraKeyboardButtons } = jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.defaultOptions
241
241
  .controls;
242
242
  extraKeyboardButtons[id] = {
243
243
  name: id,
@@ -264,10 +264,10 @@ class keyboard extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
264
264
  */
265
265
  toggleKeyboard() {
266
266
  if (!this.__keyboard) {
267
- this.__keyboard = new jodit_modules__WEBPACK_IMPORTED_MODULE_4__.Dialog({
267
+ this.__keyboard = new jodit_modules__WEBPACK_IMPORTED_MODULE_5__.Dialog({
268
268
  toolbarButtonSize: 'tiny'
269
269
  });
270
- const ui = new _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_6__/* .UIKeyboard */ .u(this.j);
270
+ const ui = new _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_7__/* .UIKeyboard */ .u(this.j);
271
271
  this.__keyboard
272
272
  .setMod('slim', true)
273
273
  .setMod('adaptive', false)
@@ -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: v4.2.13
4
+ * Version: v4.2.19
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([[702],{75541(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},1523(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},19836(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},66431(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},2721(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},9456(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},32338(t,e,s){"use strict";var o=s(75541),a=s.n(o),r=s(91288);r.T.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},r.T.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},r.T.prototype.controls.extraKeyboardButtons={}},7713(t,e,s){"use strict";s.r(e),s.d(e,{keyboard(){return y}});var o=s(31635),a=s(53557),r=s(58588),i=s(65564),n=s(76185),h=s(35102),p=(s(32338),s(78498)),c=s(91288),l=s(25511);class y extends i.k{constructor(t){super(t),this.hasStyle=!l.A.fatMode,this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach(((e,o)=>{const a=(0,r.Kg)(e)?e:e.key,i=(0,r.Kg)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+a,group:s});const{extraKeyboardButtons:n}=c.T.defaultOptions.controls;n[a]={name:a,tooltip:a,args:[a],hotkeys:i,command:"insertChar"}}))}afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(()=>this.__keyboard?.isOpened))}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new h.Dialog({toolbarButtonSize:"tiny"});const t=new p.u(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);const{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){const e=new n.$6(this.__keyboard,{value:t.state.currentLayout,options:s.map((t=>({text:o[t]?.title??t,value:t}))),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}}y.requires=["license"],(0,o.Cg)([a.autobind],y.prototype,"insertChar",null),(0,o.Cg)([a.autobind],y.prototype,"toggleKeyboard",null),l.A.plugins.add("keyboard",y)},78498(t,e,s){"use strict";s.d(e,{u(){return b}});var o,a=s(31635),r=s(67259),i=s(53557),n=s(71122),h=s(76185),p=s(1523),c=s.n(p),l=s(19836),y=s.n(l),d=s(66431),u=s.n(d),g=s(2721),k=s.n(g),v=s(9456),w=s.n(v);let b=o=class t extends h.D${className(){return"UIKeyboard"}render(){const{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{const o=[];for(let a=0;s>a;a+=1){const s=[];for(let o=0;t[a].length>o;o+=1)s.push(`<div style="width:${e*t[a][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){const{currentLayout:t,options:e,shift:s,caps:a}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t];let i=0;for(let t=0;r.length>t;t+=1)for(let n=0;r[t].length>n;n+=1){const h=r[t][n].split(" ");let p=h[0];s&&(p=h[1]),!s&&a&&h[1]&&o.isLetter(h[0])&&(p=h[1]),e&&(p=h[2]),this.setKeyValue(i,p??h[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){const s=this._keys[t];if(!s)return;let a=!1;const{options:r,shift:i,caps:h}=this.state;switch(e){case"Caps":a=h;break;case"Options":a=r;break;case"Shift":a=i}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,n.attr)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((t=>{t.classList.remove(this.getFullElName("key","pressed",!0))})))}onKeyDown(t,e=0){const s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));const o=(0,n.attr)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(r.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:a,delayKeyRepeat:i}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(t,a)),e||i),!1}constructor(t){super(t),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.In.get("enter");case"Backspace":return c();case"Shift":return k();case"Caps":return y();case"Options":return u();case"Tab":return w();default:return t}}};(0,a.Cg)([(0,i.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,a.Cg)([(0,i.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,a.Cg)([(0,i.hook)("ready")],b.prototype,"onReady",null),(0,a.Cg)([i.autobind],b.prototype,"stopPress",null),(0,a.Cg)([(0,i.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=o=(0,a.Cg)([i.component],b)}},t=>t(t.s=7713)])}));
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([[702],{75541(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},1523(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},19836(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},66431(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},2721(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},9456(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},32338(t,e,s){"use strict";var o=s(91288),a=s(75541),r=s.n(a);o.T.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},o.T.prototype.controls.keyboard={tooltip:"Keyboard",icon:r(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},o.T.prototype.controls.extraKeyboardButtons={}},7713(t,e,s){"use strict";s.r(e),s.d(e,{keyboard(){return y}});var o=s(31635),a=s(53557),r=s(58588),i=s(65564),n=s(76185),h=s(91288),p=s(35102),c=(s(32338),s(78498)),l=s(25511);class y extends i.k{constructor(t){super(t),this.hasStyle=!l.A.fatMode,this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach(((e,o)=>{const a=(0,r.Kg)(e)?e:e.key,i=(0,r.Kg)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+a,group:s});const{extraKeyboardButtons:n}=h.T.defaultOptions.controls;n[a]={name:a,tooltip:a,args:[a],hotkeys:i,command:"insertChar"}}))}afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(()=>this.__keyboard?.isOpened))}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new p.Dialog({toolbarButtonSize:"tiny"});const t=new c.u(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);const{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){const e=new n.$6(this.__keyboard,{value:t.state.currentLayout,options:s.map((t=>({text:o[t]?.title??t,value:t}))),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}}y.requires=["license"],(0,o.Cg)([a.autobind],y.prototype,"insertChar",null),(0,o.Cg)([a.autobind],y.prototype,"toggleKeyboard",null),l.A.plugins.add("keyboard",y)},78498(t,e,s){"use strict";s.d(e,{u(){return b}});var o,a=s(31635),r=s(67259),i=s(53557),n=s(71122),h=s(76185),p=s(1523),c=s.n(p),l=s(19836),y=s.n(l),d=s(66431),u=s.n(d),g=s(2721),k=s.n(g),v=s(9456),w=s.n(v);let b=o=class t extends h.D${className(){return"UIKeyboard"}render(){const{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{const o=[];for(let a=0;s>a;a+=1){const s=[];for(let o=0;t[a].length>o;o+=1)s.push(`<div style="width:${e*t[a][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){const{currentLayout:t,options:e,shift:s,caps:a}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t];let i=0;for(let t=0;r.length>t;t+=1)for(let n=0;r[t].length>n;n+=1){const h=r[t][n].split(" ");let p=h[0];s&&(p=h[1]),!s&&a&&h[1]&&o.isLetter(h[0])&&(p=h[1]),e&&(p=h[2]),this.setKeyValue(i,p??h[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){const s=this._keys[t];if(!s)return;let a=!1;const{options:r,shift:i,caps:h}=this.state;switch(e){case"Caps":a=h;break;case"Options":a=r;break;case"Shift":a=i}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,n.attr)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((t=>{t.classList.remove(this.getFullElName("key","pressed",!0))})))}onKeyDown(t,e=0){const s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));const o=(0,n.attr)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(r.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:a,delayKeyRepeat:i}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(t,a)),e||i),!1}constructor(t){super(t),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.In.get("enter");case"Backspace":return c();case"Shift":return k();case"Caps":return y();case"Options":return u();case"Tab":return w();default:return t}}};(0,a.Cg)([(0,i.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,a.Cg)([(0,i.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,a.Cg)([(0,i.hook)("ready")],b.prototype,"onReady",null),(0,a.Cg)([i.autobind],b.prototype,"stopPress",null),(0,a.Cg)([(0,i.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=o=(0,a.Cg)([i.component],b)}},t=>t(t.s=7713)])}));
@@ -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: v4.2.13
4
+ * Version: v4.2.19
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -33,10 +33,11 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
33
33
  /* harmony export */ G: function() { return /* binding */ dataBindStoredKey; },
34
34
  /* harmony export */ m: function() { return /* binding */ dataBindCurrentKey; }
35
35
  /* harmony export */ });
36
+ /* harmony import */ var jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(59372);
36
37
  /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
37
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8132);
38
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
39
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
38
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
39
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8132);
40
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_2__);
40
41
  /*!
41
42
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
42
43
  * See LICENSE.md in the project root for license information.
@@ -45,18 +46,26 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
45
46
 
46
47
 
47
48
 
48
- jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileView = {
49
+
50
+ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.mobileView = {
49
51
  mode: 'default'
50
52
  };
51
53
  const dataBindStoredKey = 'buttonmobileSView';
52
54
  const dataBindCurrentKey = 'buttonmobileCView';
53
- jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.mobileView = {
55
+ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.mobileView = {
54
56
  tooltip: 'Mobile View',
55
- icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
57
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_2___default()),
56
58
  command: 'mobileView',
57
59
  isActive: (editor) => (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) &&
58
60
  (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) !== 'default',
59
- isChildActive: (editor, btn) => (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) === btn.control.args?.[1],
61
+ isChildActive: (editor, button) => {
62
+ let value = button.control?.args?.[0];
63
+ if ((0,jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_3__/* .isNumeric */ .k)(value)) {
64
+ value = Number(value);
65
+ }
66
+ const currentValue = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) || 'default';
67
+ return currentValue === value;
68
+ },
60
69
  exec: (editor) => {
61
70
  if ((0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindStoredKey)) {
62
71
  editor.execCommand('mobileView', false, (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindStoredKey));
@@ -65,7 +74,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.mob
65
74
  return false;
66
75
  },
67
76
  childExec: (editor, node, { button }) => {
68
- editor.execCommand('mobileView', false, Number(button.control?.args?.[0]));
77
+ const value = button.control?.args?.[0];
78
+ editor.execCommand('mobileView', false, (0,jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_3__/* .isNumeric */ .k)(value) ? Number(value) : value);
69
79
  },
70
80
  list: {
71
81
  default: 'Default',
@@ -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: v4.2.13
4
+ * Version: v4.2.19
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 i in o)("object"==typeof exports?exports:e)[i]=o[i]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{8132(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},63807(e,t,o){"use strict";o.d(t,{G(){return a},m(){return l}});var i=o(49382),r=o(8132),n=o.n(r),s=o(91288);s.T.prototype.mobileView={mode:"default"};const a="buttonmobileSView",l="buttonmobileCView";s.T.prototype.controls.mobileView={tooltip:"Mobile View",icon:n(),command:"mobileView",isActive(e){return(0,i.m)(e,l)&&"default"!==(0,i.m)(e,l)},isChildActive(e,t){return(0,i.m)(e,l)===t.control.args?.[1]},exec(e){if(!(0,i.m)(e,a))return!1;e.execCommand("mobileView",!1,(0,i.m)(e,a))},childExec(e,t,{button:o}){e.execCommand("mobileView",!1,Number(o.control?.args?.[0]))},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}}},11713(e,t,o){"use strict";o.r(t);var i=o(31635),r=o(53557),n=o(71122),s=o(65564),a=o(63807),l=o(25511);let d=class e extends s.k{constructor(){super(...arguments),this.buttons=[{name:"mobileView",group:"state"}],this.__currentMode="default"}afterInit(e){e.registerCommand("mobileView",{exec:(t,o,i)=>{this.__currentMode===i&&(i="default"),this.__currentMode=i,(0,n.dataBind)(e,a.m,i),"default"!==this.__currentMode&&(0,n.dataBind)(e,a.G,i),"default"===i?(0,n.css)(this.jodit.workplace,{width:null,margin:null}):(0,n.css)(this.j.workplace,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",(()=>{}))}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(e){}};d.requires=["license"],(0,i.Cg)([(0,r.watch)(":beforeSetMode.mobileView")],d.prototype,"__beforeSetMode",null),d=(0,i.Cg)([r.component],d),l.A.plugins.add("mobileView",d)}},e=>e(e.s=11713)])}));
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 i in o)("object"==typeof exports?exports:e)[i]=o[i]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{8132(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},63807(e,t,o){"use strict";o.d(t,{G(){return l},m(){return d}});var i=o(59372),r=o(49382),n=o(91288),s=o(8132),a=o.n(s);n.T.prototype.mobileView={mode:"default"};const l="buttonmobileSView",d="buttonmobileCView";n.T.prototype.controls.mobileView={tooltip:"Mobile View",icon:a(),command:"mobileView",isActive(e){return(0,r.m)(e,d)&&"default"!==(0,r.m)(e,d)},isChildActive(e,t){let o=t.control?.args?.[0];return(0,i.k)(o)&&(o=Number(o)),((0,r.m)(e,d)||"default")===o},exec(e){if(!(0,r.m)(e,l))return!1;e.execCommand("mobileView",!1,(0,r.m)(e,l))},childExec(e,t,{button:o}){const r=o.control?.args?.[0];e.execCommand("mobileView",!1,(0,i.k)(r)?Number(r):r)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}}},11713(e,t,o){"use strict";o.r(t);var i=o(31635),r=o(53557),n=o(71122),s=o(65564),a=o(63807),l=o(25511);let d=class e extends s.k{constructor(){super(...arguments),this.buttons=[{name:"mobileView",group:"state"}],this.__currentMode="default"}afterInit(e){e.registerCommand("mobileView",{exec:(t,o,i)=>{this.__currentMode===i&&(i="default"),this.__currentMode=i,(0,n.dataBind)(e,a.m,i),"default"!==this.__currentMode&&(0,n.dataBind)(e,a.G,i),"default"===i?(0,n.css)(this.jodit.workplace,{width:null,margin:null}):(0,n.css)(this.j.workplace,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",(()=>{}))}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(e){}};d.requires=["license"],(0,i.Cg)([(0,r.watch)(":beforeSetMode.mobileView")],d.prototype,"__beforeSetMode",null),d=(0,i.Cg)([r.component],d),l.A.plugins.add("mobileView",d)}},e=>e(e.s=11713)])}));
@@ -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: v4.2.13
4
+ * Version: v4.2.19
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -29,10 +29,10 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
29
29
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
30
30
 
31
31
  "use strict";
32
- /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92271);
33
- /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0__);
32
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
33
+ /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92271);
34
+ /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1__);
34
35
  /* harmony import */ var _page_break_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48526);
35
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
36
36
  /*!
37
37
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
38
38
  * See LICENSE.md in the project root for license information.
@@ -41,15 +41,15 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
41
41
 
42
42
 
43
43
 
44
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pageBreak = {
44
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.pageBreak = {
45
45
  separator: '<div style="page-break-before: always"></div>'
46
46
  };
47
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.pageBreak = {
47
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.pageBreak = {
48
48
  tooltip: 'Insert page break',
49
- icon: (_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0___default()),
49
+ icon: (_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1___default()),
50
50
  command: 'insertPageBreak'
51
51
  };
52
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.iframeStyle = `${jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.iframeStyle};${_page_break_css_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.replace(/[\n\t]/g, '')}`;
52
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeStyle = `${jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeStyle};${_page_break_css_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.replace(/[\n\t]/g, '')}`;
53
53
 
54
54
 
55
55
  /***/ }),
@@ -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: v4.2.13
4
+ * Version: v4.2.19
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 r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[398],{92271(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},71378(e,t,r){"use strict";var a=r(92271),o=r.n(a),n=r(48526),s=r(91288);s.T.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},s.T.prototype.controls.pageBreak={tooltip:"Insert page break",icon:o(),command:"insertPageBreak"},s.T.prototype.iframeStyle=`${s.T.prototype.iframeStyle};${n.A.replace(/[\n\t]/g,"")}`},48526(e,t){"use strict";t.A="[data-jodit-page-break] {\n\tdisplay: flex;\n\theight: 24px;\n\tbox-sizing: border-box;\n\n\talign-items: center;\n\tjustify-content: center;\n\n\tborder: 1px dashed #ccc;\n\n\tfont-size: 12px;\n\tpage-break-before: always;\n\ttext-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n\tborder-color: #818181;\n}"},15753(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak(){return C}});var a=r(31635),o=r(53557),n=r(33465),s=r(9596),i=r(65564),p=(r(71378),r(48526)),d=r(25511);class C extends i.k{constructor(){super(...arguments),this.styles=p.A,this.buttons=[{name:"pageBreak",group:"insert"}]}afterInit(e){e.registerCommand("insertPageBreak",(()=>{const t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let r=t.parentNode;for(;r&&r!==e.editor&&(n.J.after(r,t),!n.J.isBlock(r));)r=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()}))}decoratePageBreak(e){(0,s.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,s.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach((e=>{n.J.isEmpty(e)&&!(0,s.attr)(e,"data-jodit-page-break")&&this.decoratePageBreak(e)}))}onAfterGetValueFromEditor(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}}C.requires=["license"],(0,a.Cg)([(0,o.watch)([":change",":afterSetMode"]),(0,o.debounce)()],C.prototype,"onChange",null),(0,a.Cg)([(0,o.watch)(":afterGetValueFromEditor")],C.prototype,"onAfterGetValueFromEditor",null),d.A.plugins.add("pageBreak",C)}},e=>e(e.s=15753)])}));
10
+ ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[398],{92271(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},71378(e,t,r){"use strict";var a=r(91288),o=r(92271),n=r.n(o),s=r(48526);a.T.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},a.T.prototype.controls.pageBreak={tooltip:"Insert page break",icon:n(),command:"insertPageBreak"},a.T.prototype.iframeStyle=`${a.T.prototype.iframeStyle};${s.A.replace(/[\n\t]/g,"")}`},48526(e,t){"use strict";t.A="[data-jodit-page-break] {\n\tdisplay: flex;\n\theight: 24px;\n\tbox-sizing: border-box;\n\n\talign-items: center;\n\tjustify-content: center;\n\n\tborder: 1px dashed #ccc;\n\n\tfont-size: 12px;\n\tpage-break-before: always;\n\ttext-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n\tborder-color: #818181;\n}"},15753(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak(){return C}});var a=r(31635),o=r(53557),n=r(33465),s=r(9596),i=r(65564),p=(r(71378),r(48526)),d=r(25511);class C extends i.k{constructor(){super(...arguments),this.styles=p.A,this.buttons=[{name:"pageBreak",group:"insert"}]}afterInit(e){e.registerCommand("insertPageBreak",(()=>{const t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let r=t.parentNode;for(;r&&r!==e.editor&&(n.J.after(r,t),!n.J.isBlock(r));)r=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()}))}decoratePageBreak(e){(0,s.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,s.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach((e=>{n.J.isEmpty(e)&&!(0,s.attr)(e,"data-jodit-page-break")&&this.decoratePageBreak(e)}))}onAfterGetValueFromEditor(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}}C.requires=["license"],(0,a.Cg)([(0,o.watch)([":change",":afterSetMode"]),(0,o.debounce)()],C.prototype,"onChange",null),(0,a.Cg)([(0,o.watch)(":afterGetValueFromEditor")],C.prototype,"onAfterGetValueFromEditor",null),d.A.plugins.add("pageBreak",C)}},e=>e(e.s=15753)])}));
@@ -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: v4.2.13
4
+ * Version: v4.2.19
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: v4.2.13
4
+ * Version: v4.2.19
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -30,9 +30,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http
30
30
 
31
31
  "use strict";
32
32
  /* harmony import */ var jodit_core_helpers_html_htmlspecialchars__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(56935);
33
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80999);
34
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_0__);
35
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
33
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
34
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80999);
35
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
36
36
  /*!
37
37
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
38
38
  * See LICENSE.md in the project root for license information.
@@ -41,12 +41,12 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http
41
41
 
42
42
 
43
43
 
44
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.pasteCode = {
45
- icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_0___default()),
44
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.pasteCode = {
45
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
46
46
  tooltip: 'Paste code',
47
47
  command: 'pasteCode'
48
48
  };
49
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteCode = {
49
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.pasteCode = {
50
50
  globalHighlightLib: false,
51
51
  canonicalLanguageCode(lang) {
52
52
  switch (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: v4.2.13
4
+ * Version: v4.2.19
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 a=t();for(var s in a)("object"==typeof exports?exports:e)[s]=a[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{80999(e){e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},98544(e,t,a){"use strict";var s=a(56935),i=a(80999),o=a.n(i),l=a(91288);l.T.prototype.controls.pasteCode={icon:o(),tooltip:"Paste code",command:"pasteCode"},l.T.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{highlight:(e,t)=>"undefined"!=typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):e,isLangLoaded:e=>"undefined"!=typeof Prism&&!!Prism.languages[e],js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"],langUrl(e){return`https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-${e}.min.js`},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate(e,t,a){return`<pre class="language-${t}">${(0,s.G)(a)}</pre>`},languages:[{value:"html",text:"HTML/XML"},{value:"plaintext",text:"Plain"},{value:"bash",text:"Bash"},{value:"javascript",text:"JavaScript"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"}],dialog:{width:700,height:600}}},17865(e,t,a){"use strict";a.r(t),a.d(t,{pasteCode(){return g}});var s=a(31635),i=(a(67259),a(53557)),o=a(9596),l=a(17083),n=a(56935),r=a(65564),d=a(76185),c=a(35102),h=(a(98544),a(25511));let g=class e extends r.k{constructor(){super(...arguments),this.buttons=[{name:"pasteCode",group:"clipboard"}],this.__highlightLibJSIsLoaded=!1,this.__loadLanguage=new Map}afterInit(e){e.registerCommand("pasteCode",(()=>this.__openCodeEditDialog()))}__openCodeEditDialog(e,t,a){const s=this.j,i=this.__createForm(),{code:l,language:n}=(0,o.refs)(i.container);e&&(n.value=e),t&&(l.value=t),s.async.requestIdleCallback((()=>{l.focus()})),s.s.save(),this.__createDialog((()=>{if(!i.validate())return!1;{s.s.restore();const e=s.createInside.fromHTML(s.o.pasteCode.insertTemplate(s,n.value,l.value));if(a)c.Dom.replace(a,e,s.createInside,!1,!0);else{const t=s.s.current(),a=c.Dom.up(t,c.Dom.isBlock,s.editor);a&&!c.Dom.isCell(a)?c.Dom.after(a,e):s.s.insertNode(e)}this.__imdOnChange()}}),(()=>{s.s.restore()})).setContent(i.container).open(!0)}beforeDestruct(e){}__createForm(){const{jodit:e}=this;return new d.XV(e,[new d.$6(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new d.F0(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){const a=new c.Dialog({language:this.j.o.language});return a.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,d.$n)(a,"","Cancel","default").onAction((()=>{a.close(),t()})),(0,d.$n)(a,"save","Save","primary").onAction((()=>{a.close(),e()}))]),a}__onChange(){this.__imdOnChange()}__imdOnChange(){(0,o.$$)("pre",this.j.editor).forEach((e=>{(0,o.attr)(e,"contenteditable")||((0,o.attr)(e,"contenteditable",!1),this.__highlightCode(e))}))}async __highlightCode(e){const{globalHighlightLib:t,highlightLib:{css:a,js:s,langUrl:i,highlight:n,isLangLoaded:r}}=this.j.o.pasteCode;this.__highlightLibJSIsLoaded||t||(this.__highlightLibJSIsLoaded=p(this.async,Promise.all([(0,o.loadNextStyle)(this.jodit,a).catch((()=>null)),(0,o.loadNext)(this.jodit,s).catch((()=>null))]))),(0,l.L)(this.__highlightLibJSIsLoaded)||await this.__highlightLibJSIsLoaded;const d=this.__parseLanguage(e);r(d)||t||(this.__loadLanguage.has(d)||this.__loadLanguage.set(d,p(this.async,(0,o.appendScriptAsync)(this.jodit,i(d)).catch((()=>null)))),await this.__loadLanguage.get(d));let h=e;e.firstElementChild===e.lastElementChild&&c.Dom.isTag(e.firstElementChild,"code")&&(h=e.firstElementChild),h.innerHTML=n(h.innerText,d)}onPreEdit(e){const t=c.Dom.isNode(e)&&c.Dom.isTag(e,"pre")?e:c.Dom.closest(e.target,"pre",this.j.editor);if(t){const e=this.__parseLanguage(t);this.__openCodeEditDialog(e,t.innerText,t)}}__parseLanguage(e){let t=null;const a=e=>e.classList.forEach((e=>{if(/language-/.test(e)){const a=/language-(.*)/.exec(e);a&&a[1]&&(t=a[1])}}));return a(e),null==t&&e.firstElementChild===e.lastElementChild&&c.Dom.isTag(e.firstElementChild,"code")&&a(e.firstElementChild),this.jodit.o.pasteCode.canonicalLanguageCode(t||"html")}onAfterGetValueFromEditor(e){const t=(e,t,a,s,i,l)=>`${t.trim()}${s}${(0,n.G)((0,o.stripTags)(i,this.j.ed,new Set(["br"])))}${l}`;e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,t).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,t)}};function p(e,t){return e.promise(((e,a)=>{t.then(e).catch(a)}))}g.requires=["license"],(0,s.Cg)([i.autobind],g.prototype,"__openCodeEditDialog",null),(0,s.Cg)([(0,i.watch)("?:change"),(0,i.debounce)()],g.prototype,"__onChange",null),(0,s.Cg)([(0,i.watch)(["?:dblclick","?:editPreInPasteCode"])],g.prototype,"onPreEdit",null),(0,s.Cg)([(0,i.watch)("?:afterGetValueFromEditor")],g.prototype,"onAfterGetValueFromEditor",null),g=(0,s.Cg)([i.component],g),h.A.plugins.add("paste-code",g)}},e=>e(e.s=17865)])}));
10
+ ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var s in a)("object"==typeof exports?exports:e)[s]=a[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{80999(e){e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},98544(e,t,a){"use strict";var s=a(56935),i=a(91288),o=a(80999);i.T.prototype.controls.pasteCode={icon:a.n(o)(),tooltip:"Paste code",command:"pasteCode"},i.T.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{highlight:(e,t)=>"undefined"!=typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):e,isLangLoaded:e=>"undefined"!=typeof Prism&&!!Prism.languages[e],js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"],langUrl(e){return`https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-${e}.min.js`},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate(e,t,a){return`<pre class="language-${t}">${(0,s.G)(a)}</pre>`},languages:[{value:"html",text:"HTML/XML"},{value:"plaintext",text:"Plain"},{value:"bash",text:"Bash"},{value:"javascript",text:"JavaScript"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"}],dialog:{width:700,height:600}}},17865(e,t,a){"use strict";a.r(t),a.d(t,{pasteCode(){return g}});var s=a(31635),i=(a(67259),a(53557)),o=a(9596),l=a(17083),n=a(56935),r=a(65564),d=a(76185),c=a(35102),h=(a(98544),a(25511));let g=class e extends r.k{constructor(){super(...arguments),this.buttons=[{name:"pasteCode",group:"clipboard"}],this.__highlightLibJSIsLoaded=!1,this.__loadLanguage=new Map}afterInit(e){e.registerCommand("pasteCode",(()=>this.__openCodeEditDialog()))}__openCodeEditDialog(e,t,a){const s=this.j,i=this.__createForm(),{code:l,language:n}=(0,o.refs)(i.container);e&&(n.value=e),t&&(l.value=t),s.async.requestIdleCallback((()=>{l.focus()})),s.s.save(),this.__createDialog((()=>{if(!i.validate())return!1;{s.s.restore();const e=s.createInside.fromHTML(s.o.pasteCode.insertTemplate(s,n.value,l.value));if(a)c.Dom.replace(a,e,s.createInside,!1,!0);else{const t=s.s.current(),a=c.Dom.up(t,c.Dom.isBlock,s.editor);a&&!c.Dom.isCell(a)?c.Dom.after(a,e):s.s.insertNode(e)}this.__imdOnChange()}}),(()=>{s.s.restore()})).setContent(i.container).open(!0)}beforeDestruct(e){}__createForm(){const{jodit:e}=this;return new d.XV(e,[new d.$6(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new d.F0(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){const a=new c.Dialog({language:this.j.o.language});return a.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,d.$n)(a,"","Cancel","default").onAction((()=>{a.close(),t()})),(0,d.$n)(a,"save","Save","primary").onAction((()=>{a.close(),e()}))]),a}__onChange(){this.__imdOnChange()}__imdOnChange(){(0,o.$$)("pre",this.j.editor).forEach((e=>{(0,o.attr)(e,"contenteditable")||((0,o.attr)(e,"contenteditable",!1),this.__highlightCode(e))}))}async __highlightCode(e){const{globalHighlightLib:t,highlightLib:{css:a,js:s,langUrl:i,highlight:n,isLangLoaded:r}}=this.j.o.pasteCode;this.__highlightLibJSIsLoaded||t||(this.__highlightLibJSIsLoaded=p(this.async,Promise.all([(0,o.loadNextStyle)(this.jodit,a).catch((()=>null)),(0,o.loadNext)(this.jodit,s).catch((()=>null))]))),(0,l.L)(this.__highlightLibJSIsLoaded)||await this.__highlightLibJSIsLoaded;const d=this.__parseLanguage(e);r(d)||t||(this.__loadLanguage.has(d)||this.__loadLanguage.set(d,p(this.async,(0,o.appendScriptAsync)(this.jodit,i(d)).catch((()=>null)))),await this.__loadLanguage.get(d));let h=e;e.firstElementChild===e.lastElementChild&&c.Dom.isTag(e.firstElementChild,"code")&&(h=e.firstElementChild),h.innerHTML=n(h.innerText,d)}onPreEdit(e){const t=c.Dom.isNode(e)&&c.Dom.isTag(e,"pre")?e:c.Dom.closest(e.target,"pre",this.j.editor);if(t){const e=this.__parseLanguage(t);this.__openCodeEditDialog(e,t.innerText,t)}}__parseLanguage(e){let t=null;const a=e=>e.classList.forEach((e=>{if(/language-/.test(e)){const a=/language-(.*)/.exec(e);a&&a[1]&&(t=a[1])}}));return a(e),null==t&&e.firstElementChild===e.lastElementChild&&c.Dom.isTag(e.firstElementChild,"code")&&a(e.firstElementChild),this.jodit.o.pasteCode.canonicalLanguageCode(t||"html")}onAfterGetValueFromEditor(e){const t=(e,t,a,s,i,l)=>`${t.trim()}${s}${(0,n.G)((0,o.stripTags)(i,this.j.ed,new Set(["br"])))}${l}`;e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,t).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,t)}};function p(e,t){return e.promise(((e,a)=>{t.then(e).catch(a)}))}g.requires=["license"],(0,s.Cg)([i.autobind],g.prototype,"__openCodeEditDialog",null),(0,s.Cg)([(0,i.watch)("?:change"),(0,i.debounce)()],g.prototype,"__onChange",null),(0,s.Cg)([(0,i.watch)(["?:dblclick","?:editPreInPasteCode"])],g.prototype,"onPreEdit",null),(0,s.Cg)([(0,i.watch)("?:afterGetValueFromEditor")],g.prototype,"onAfterGetValueFromEditor",null),g=(0,s.Cg)([i.component],g),h.A.plugins.add("paste-code",g)}},e=>e(e.s=17865)])}));
@@ -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: v4.2.13
4
+ * Version: v4.2.19
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: v4.2.13
4
+ * Version: v4.2.19
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: v4.2.13
4
+ * Version: v4.2.19
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: v4.2.13
4
+ * Version: v4.2.19
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: v4.2.13
4
+ * Version: v4.2.19
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: v4.2.13
4
+ * Version: v4.2.19
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -31,9 +31,9 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
31
31
  "use strict";
32
32
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
33
33
  /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
34
- /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68903);
35
- /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2__);
36
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
34
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
35
+ /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(68903);
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__);
37
37
  /*!
38
38
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
39
39
  * See LICENSE.md in the project root for license information.
@@ -43,7 +43,7 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
43
43
 
44
44
 
45
45
 
46
- jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.todoList = {
46
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.todoList = {
47
47
  className: 'todo-list',
48
48
  labelClassName: 'todo-list__label',
49
49
  inputFactory: (jodit) => jodit.createInside.element('input', {
@@ -51,7 +51,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.todoList = {
51
51
  tabindex: -1
52
52
  })
53
53
  };
54
- jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.todoList = {
54
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.todoList = {
55
55
  tooltip: 'To-do List',
56
56
  icon: 'todo-list',
57
57
  command: 'todolist',
@@ -63,7 +63,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.tod
63
63
  n.classList.contains('todo-list'), e.editor));
64
64
  }
65
65
  };
66
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('todo-list', (_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2___default()));
66
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('todo-list', (_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default()));
67
67
 
68
68
 
69
69
  /***/ }),
@@ -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: v4.2.13
4
+ * Version: v4.2.19
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([[502],{68903(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>'},29190(e,t,o){"use strict";var s=o(23545),i=o(80004),l=o(68903),a=o.n(l),n=o(91288);n.T.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory(e){return e.createInside.element("input",{type:"checkbox",tabindex:-1})}},n.T.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(e){const t=e.s.current();return!(!t||!s.J.closest(t,(e=>s.J.isElement(e)&&s.J.isTag(e,"ul")&&e.classList.contains("todo-list")),e.editor))}},i.I.set("todo-list",a())},77185(e,t,o){"use strict";o.r(t),o.d(t,{TodoList(){return d}});var s=o(31635),i=o(67259),l=o(53557),a=o(23545),n=o(71122),r=o(65564),p=o(66923),c=(o(29190),o(25511));class d extends r.k{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}),l=s(t);i.appendChild(l),a.J.prepend(e,i)}__afterToggleList(e,t){return e!==p.PL&&e!==p.dj||!this.__isOwnCommand?e===p.OJ||e===p.dj||e===p.PL?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.J.safeRemove)}__beforeToggleOrderedList(e,t,o){const s="__beforeToggleOrderedList";if(e!==p.dj&&(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.J.replace(t,o.element,this.jodit.createInside);return o.setApplied(e,s),this.__removeInputs(e),e}}__afterEnter(){(0,n.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,n.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(a.J.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.J.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&i.NO_EMPTY_TAGS.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=a.J.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&a.J.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;(0,n.$$)("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&a.J.prepend(e.parentElement,e):a.J.safeRemove(e)}))}__afterWrapList(e,t){e===p.Zk&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&a.J.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&(0,n.attr)(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return a.J.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}d.requires=["license"],(0,s.Cg)([l.autobind],d.prototype,"onCommand",null),(0,s.Cg)([l.autobind],d.prototype,"__prependInputLabel",null),(0,s.Cg)([(0,l.watch)(":commitStyleAfterToggleList")],d.prototype,"__afterToggleList",null),(0,s.Cg)([(0,l.watch)(":commitStyleBeforeUnwrapList")],d.prototype,"__beforeToggleOrderedList",null),(0,s.Cg)([(0,l.watch)(":afterEnter")],d.prototype,"__afterEnter",null),(0,s.Cg)([(0,l.watch)(":afterTab")],d.prototype,"__afterTab",null),(0,s.Cg)([(0,l.watch)("j.ed:selectionchange"),(0,l.watch)(":afterEnter")],d.prototype,"__changeSelection",null),(0,s.Cg)([(0,l.watch)(":enterIsEmptyListLeaf")],d.prototype,"__isEmptyListLeaf",null),(0,s.Cg)([(0,l.watch)(":backSpaceBeforeCases")],d.prototype,"__backSpaceBeforeCases",null),(0,s.Cg)([(0,l.watch)(":backSpaceIsMovedIgnore"),(0,l.watch)(":isInvisibleForCursor")],d.prototype,"__isInvisibleForCursor",null),(0,s.Cg)([(0,l.watch)(":backSpaceAfterDelete")],d.prototype,"__backSpaceAfterDelete",null),(0,s.Cg)([l.autobind],d.prototype,"__afterWrapList",null),(0,s.Cg)([(0,l.watch)(":click")],d.prototype,"__onClickInput",null),(0,s.Cg)([l.autobind],d.prototype,"isTodoLeafLabel",null),c.A.plugins.add("todo-list",d)}},e=>e(e.s=77185)])}));
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([[502],{68903(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>'},29190(e,t,o){"use strict";var s=o(23545),i=o(80004),l=o(91288),a=o(68903),n=o.n(a);l.T.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory(e){return e.createInside.element("input",{type:"checkbox",tabindex:-1})}},l.T.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(e){const t=e.s.current();return!(!t||!s.J.closest(t,(e=>s.J.isElement(e)&&s.J.isTag(e,"ul")&&e.classList.contains("todo-list")),e.editor))}},i.I.set("todo-list",n())},77185(e,t,o){"use strict";o.r(t),o.d(t,{TodoList(){return d}});var s=o(31635),i=o(67259),l=o(53557),a=o(23545),n=o(71122),r=o(65564),p=o(66923),c=(o(29190),o(25511));class d extends r.k{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}),l=s(t);i.appendChild(l),a.J.prepend(e,i)}__afterToggleList(e,t){return e!==p.PL&&e!==p.dj||!this.__isOwnCommand?e===p.OJ||e===p.dj||e===p.PL?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.J.safeRemove)}__beforeToggleOrderedList(e,t,o){const s="__beforeToggleOrderedList";if(e!==p.dj&&(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.J.replace(t,o.element,this.jodit.createInside);return o.setApplied(e,s),this.__removeInputs(e),e}}__afterEnter(){(0,n.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,n.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(a.J.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.J.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&i.NO_EMPTY_TAGS.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=a.J.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&a.J.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;(0,n.$$)("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&a.J.prepend(e.parentElement,e):a.J.safeRemove(e)}))}__afterWrapList(e,t){e===p.Zk&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&a.J.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&(0,n.attr)(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return a.J.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}d.requires=["license"],(0,s.Cg)([l.autobind],d.prototype,"onCommand",null),(0,s.Cg)([l.autobind],d.prototype,"__prependInputLabel",null),(0,s.Cg)([(0,l.watch)(":commitStyleAfterToggleList")],d.prototype,"__afterToggleList",null),(0,s.Cg)([(0,l.watch)(":commitStyleBeforeUnwrapList")],d.prototype,"__beforeToggleOrderedList",null),(0,s.Cg)([(0,l.watch)(":afterEnter")],d.prototype,"__afterEnter",null),(0,s.Cg)([(0,l.watch)(":afterTab")],d.prototype,"__afterTab",null),(0,s.Cg)([(0,l.watch)("j.ed:selectionchange"),(0,l.watch)(":afterEnter")],d.prototype,"__changeSelection",null),(0,s.Cg)([(0,l.watch)(":enterIsEmptyListLeaf")],d.prototype,"__isEmptyListLeaf",null),(0,s.Cg)([(0,l.watch)(":backSpaceBeforeCases")],d.prototype,"__backSpaceBeforeCases",null),(0,s.Cg)([(0,l.watch)(":backSpaceIsMovedIgnore"),(0,l.watch)(":isInvisibleForCursor")],d.prototype,"__isInvisibleForCursor",null),(0,s.Cg)([(0,l.watch)(":backSpaceAfterDelete")],d.prototype,"__backSpaceAfterDelete",null),(0,s.Cg)([l.autobind],d.prototype,"__afterWrapList",null),(0,s.Cg)([(0,l.watch)(":click")],d.prototype,"__onClickInput",null),(0,s.Cg)([l.autobind],d.prototype,"isTodoLeafLabel",null),c.A.plugins.add("todo-list",d)}},e=>e(e.s=77185)])}));
@@ -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: v4.2.13
4
+ * Version: v4.2.19
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */