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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (844) hide show
  1. package/es2015/jodit.css +19 -1
  2. package/es2015/jodit.fat.min.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +2121 -105
  5. package/es2015/jodit.min.css +1 -1
  6. package/es2015/jodit.min.js +2 -2
  7. package/es2015/plugins/autocomplete/autocomplete.js +2 -448
  8. package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
  9. package/es2015/plugins/backup/backup.css +1 -1
  10. package/es2015/plugins/backup/backup.js +24 -19
  11. package/es2015/plugins/backup/backup.min.js +2 -2
  12. package/es2015/plugins/button-generator/button-generator.css +1 -1
  13. package/es2015/plugins/button-generator/button-generator.js +55 -46
  14. package/es2015/plugins/button-generator/button-generator.min.js +2 -2
  15. package/es2015/plugins/change-case/change-case.js +10 -7
  16. package/es2015/plugins/change-case/change-case.min.js +2 -2
  17. package/es2015/plugins/color-picker/color-picker.css +1 -1
  18. package/es2015/plugins/color-picker/color-picker.js +10 -8
  19. package/es2015/plugins/color-picker/color-picker.min.js +2 -2
  20. package/es2015/plugins/emoji/emoji.css +1 -1
  21. package/es2015/plugins/emoji/emoji.js +20 -15
  22. package/es2015/plugins/emoji/emoji.min.js +2 -2
  23. package/es2015/plugins/export-docs/export-docs.js +9 -6
  24. package/es2015/plugins/export-docs/export-docs.min.js +2 -2
  25. package/es2015/plugins/finder/finder.css +6 -6
  26. package/es2015/plugins/finder/finder.js +215 -199
  27. package/es2015/plugins/finder/finder.min.css +1 -1
  28. package/es2015/plugins/finder/finder.min.js +2 -2
  29. package/es2015/plugins/google-maps/google-maps.css +1 -1
  30. package/es2015/plugins/google-maps/google-maps.js +149 -116
  31. package/es2015/plugins/google-maps/google-maps.min.js +2 -2
  32. package/es2015/plugins/google-search/google-search.js +7 -4
  33. package/es2015/plugins/google-search/google-search.min.js +2 -2
  34. package/es2015/plugins/highlight-signature/highlight-signature.js +9 -9
  35. package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
  36. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  37. package/es2015/plugins/iframe-editor/iframe-editor.js +17 -14
  38. package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
  39. package/es2015/plugins/keyboard/keyboard.css +1 -1
  40. package/es2015/plugins/keyboard/keyboard.js +36 -19
  41. package/es2015/plugins/keyboard/keyboard.min.js +2 -2
  42. package/es2015/plugins/mobile-view/mobile-view.js +13 -10
  43. package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
  44. package/es2015/plugins/page-break/page-break.js +9 -6
  45. package/es2015/plugins/page-break/page-break.min.js +2 -2
  46. package/es2015/plugins/paste-code/paste-code.css +1 -1
  47. package/es2015/plugins/paste-code/paste-code.js +9 -6
  48. package/es2015/plugins/paste-code/paste-code.min.js +2 -2
  49. package/es2015/plugins/paste-from-word/paste-from-word.js +2 -1516
  50. package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
  51. package/es2015/plugins/show-blocks/show-blocks.js +15 -10
  52. package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
  53. package/es2015/plugins/todo-list/todo-list.css +1 -1
  54. package/es2015/plugins/todo-list/todo-list.js +7 -4
  55. package/es2015/plugins/todo-list/todo-list.min.js +2 -2
  56. package/es2015/plugins/translate/translate.css +1 -1
  57. package/es2015/plugins/translate/translate.js +16 -10
  58. package/es2015/plugins/translate/translate.min.js +2 -2
  59. package/es2015/plugins/tune-block/tune-block.css +1 -1
  60. package/es2015/plugins/tune-block/tune-block.js +3 -3
  61. package/es2015/plugins/tune-block/tune-block.min.js +2 -2
  62. package/es2018/jodit.css +19 -1
  63. package/es2018/jodit.fat.min.css +1 -1
  64. package/es2018/jodit.fat.min.js +2 -2
  65. package/es2018/jodit.js +2119 -105
  66. package/es2018/jodit.min.css +1 -1
  67. package/es2018/jodit.min.js +2 -2
  68. package/es2018/plugins/autocomplete/autocomplete.js +2 -446
  69. package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
  70. package/es2018/plugins/backup/backup.css +1 -1
  71. package/es2018/plugins/backup/backup.js +24 -19
  72. package/es2018/plugins/backup/backup.min.js +2 -2
  73. package/es2018/plugins/button-generator/button-generator.css +1 -1
  74. package/es2018/plugins/button-generator/button-generator.js +55 -46
  75. package/es2018/plugins/button-generator/button-generator.min.js +2 -2
  76. package/es2018/plugins/change-case/change-case.js +10 -7
  77. package/es2018/plugins/change-case/change-case.min.js +2 -2
  78. package/es2018/plugins/color-picker/color-picker.css +1 -1
  79. package/es2018/plugins/color-picker/color-picker.js +10 -8
  80. package/es2018/plugins/color-picker/color-picker.min.js +2 -2
  81. package/es2018/plugins/emoji/emoji.css +1 -1
  82. package/es2018/plugins/emoji/emoji.js +20 -15
  83. package/es2018/plugins/emoji/emoji.min.js +2 -2
  84. package/es2018/plugins/export-docs/export-docs.js +9 -6
  85. package/es2018/plugins/export-docs/export-docs.min.js +2 -2
  86. package/es2018/plugins/finder/finder.css +6 -6
  87. package/es2018/plugins/finder/finder.js +214 -198
  88. package/es2018/plugins/finder/finder.min.css +1 -1
  89. package/es2018/plugins/finder/finder.min.js +2 -2
  90. package/es2018/plugins/google-maps/google-maps.css +1 -1
  91. package/es2018/plugins/google-maps/google-maps.js +131 -98
  92. package/es2018/plugins/google-maps/google-maps.min.js +2 -2
  93. package/es2018/plugins/google-search/google-search.js +7 -4
  94. package/es2018/plugins/google-search/google-search.min.js +2 -2
  95. package/es2018/plugins/highlight-signature/highlight-signature.js +9 -9
  96. package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
  97. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  98. package/es2018/plugins/iframe-editor/iframe-editor.js +17 -14
  99. package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
  100. package/es2018/plugins/keyboard/keyboard.css +1 -1
  101. package/es2018/plugins/keyboard/keyboard.js +36 -19
  102. package/es2018/plugins/keyboard/keyboard.min.js +2 -2
  103. package/es2018/plugins/mobile-view/mobile-view.js +13 -10
  104. package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
  105. package/es2018/plugins/page-break/page-break.js +9 -6
  106. package/es2018/plugins/page-break/page-break.min.js +2 -2
  107. package/es2018/plugins/paste-code/paste-code.css +1 -1
  108. package/es2018/plugins/paste-code/paste-code.js +9 -6
  109. package/es2018/plugins/paste-code/paste-code.min.js +2 -2
  110. package/es2018/plugins/paste-from-word/paste-from-word.js +2 -1516
  111. package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
  112. package/es2018/plugins/show-blocks/show-blocks.js +15 -10
  113. package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
  114. package/es2018/plugins/todo-list/todo-list.css +1 -1
  115. package/es2018/plugins/todo-list/todo-list.js +7 -4
  116. package/es2018/plugins/todo-list/todo-list.min.js +2 -2
  117. package/es2018/plugins/translate/translate.css +1 -1
  118. package/es2018/plugins/translate/translate.js +16 -10
  119. package/es2018/plugins/translate/translate.min.js +2 -2
  120. package/es2018/plugins/tune-block/tune-block.css +1 -1
  121. package/es2018/plugins/tune-block/tune-block.js +3 -3
  122. package/es2018/plugins/tune-block/tune-block.min.js +2 -2
  123. package/es2021/jodit.css +19 -1
  124. package/es2021/jodit.fat.min.css +1 -1
  125. package/es2021/jodit.fat.min.js +2 -2
  126. package/es2021/jodit.js +2098 -104
  127. package/es2021/jodit.min.css +1 -1
  128. package/es2021/jodit.min.js +2 -2
  129. package/es2021/plugins/autocomplete/autocomplete.js +2 -438
  130. package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
  131. package/es2021/plugins/backup/backup.css +1 -1
  132. package/es2021/plugins/backup/backup.js +24 -19
  133. package/es2021/plugins/backup/backup.min.js +2 -2
  134. package/es2021/plugins/button-generator/button-generator.css +1 -1
  135. package/es2021/plugins/button-generator/button-generator.js +55 -46
  136. package/es2021/plugins/button-generator/button-generator.min.js +2 -2
  137. package/es2021/plugins/change-case/change-case.js +10 -7
  138. package/es2021/plugins/change-case/change-case.min.js +2 -2
  139. package/es2021/plugins/color-picker/color-picker.css +1 -1
  140. package/es2021/plugins/color-picker/color-picker.js +10 -8
  141. package/es2021/plugins/color-picker/color-picker.min.js +2 -2
  142. package/es2021/plugins/emoji/emoji.css +1 -1
  143. package/es2021/plugins/emoji/emoji.js +20 -15
  144. package/es2021/plugins/emoji/emoji.min.js +2 -2
  145. package/es2021/plugins/export-docs/export-docs.js +9 -6
  146. package/es2021/plugins/export-docs/export-docs.min.js +2 -2
  147. package/es2021/plugins/finder/finder.css +6 -6
  148. package/es2021/plugins/finder/finder.js +214 -198
  149. package/es2021/plugins/finder/finder.min.css +1 -1
  150. package/es2021/plugins/finder/finder.min.js +2 -2
  151. package/es2021/plugins/google-maps/google-maps.css +1 -1
  152. package/es2021/plugins/google-maps/google-maps.js +131 -98
  153. package/es2021/plugins/google-maps/google-maps.min.js +2 -2
  154. package/es2021/plugins/google-search/google-search.js +7 -4
  155. package/es2021/plugins/google-search/google-search.min.js +2 -2
  156. package/es2021/plugins/highlight-signature/highlight-signature.js +9 -9
  157. package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
  158. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  159. package/es2021/plugins/iframe-editor/iframe-editor.js +17 -14
  160. package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
  161. package/es2021/plugins/keyboard/keyboard.css +1 -1
  162. package/es2021/plugins/keyboard/keyboard.js +36 -19
  163. package/es2021/plugins/keyboard/keyboard.min.js +2 -2
  164. package/es2021/plugins/mobile-view/mobile-view.js +13 -10
  165. package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
  166. package/es2021/plugins/page-break/page-break.js +9 -6
  167. package/es2021/plugins/page-break/page-break.min.js +2 -2
  168. package/es2021/plugins/paste-code/paste-code.css +1 -1
  169. package/es2021/plugins/paste-code/paste-code.js +9 -6
  170. package/es2021/plugins/paste-code/paste-code.min.js +2 -2
  171. package/es2021/plugins/paste-from-word/paste-from-word.js +2 -1503
  172. package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
  173. package/es2021/plugins/show-blocks/show-blocks.js +15 -10
  174. package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
  175. package/es2021/plugins/todo-list/todo-list.css +1 -1
  176. package/es2021/plugins/todo-list/todo-list.js +7 -4
  177. package/es2021/plugins/todo-list/todo-list.min.js +2 -2
  178. package/es2021/plugins/translate/translate.css +1 -1
  179. package/es2021/plugins/translate/translate.js +16 -10
  180. package/es2021/plugins/translate/translate.min.js +2 -2
  181. package/es2021/plugins/tune-block/tune-block.css +1 -1
  182. package/es2021/plugins/tune-block/tune-block.js +3 -3
  183. package/es2021/plugins/tune-block/tune-block.min.js +2 -2
  184. package/es2021.en/jodit.css +19 -1
  185. package/es2021.en/jodit.fat.min.css +1 -1
  186. package/es2021.en/jodit.fat.min.js +2 -2
  187. package/es2021.en/jodit.js +2098 -104
  188. package/es2021.en/jodit.min.css +1 -1
  189. package/es2021.en/jodit.min.js +2 -2
  190. package/es2021.en/plugins/autocomplete/autocomplete.js +2 -438
  191. package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
  192. package/es2021.en/plugins/backup/backup.css +1 -1
  193. package/es2021.en/plugins/backup/backup.js +24 -19
  194. package/es2021.en/plugins/backup/backup.min.js +2 -2
  195. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  196. package/es2021.en/plugins/button-generator/button-generator.js +55 -46
  197. package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
  198. package/es2021.en/plugins/change-case/change-case.js +10 -7
  199. package/es2021.en/plugins/change-case/change-case.min.js +2 -2
  200. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  201. package/es2021.en/plugins/color-picker/color-picker.js +10 -8
  202. package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
  203. package/es2021.en/plugins/emoji/emoji.css +1 -1
  204. package/es2021.en/plugins/emoji/emoji.js +20 -15
  205. package/es2021.en/plugins/emoji/emoji.min.js +2 -2
  206. package/es2021.en/plugins/export-docs/export-docs.js +9 -6
  207. package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
  208. package/es2021.en/plugins/finder/finder.css +6 -6
  209. package/es2021.en/plugins/finder/finder.js +214 -198
  210. package/es2021.en/plugins/finder/finder.min.css +1 -1
  211. package/es2021.en/plugins/finder/finder.min.js +2 -2
  212. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  213. package/es2021.en/plugins/google-maps/google-maps.js +131 -98
  214. package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
  215. package/es2021.en/plugins/google-search/google-search.js +7 -4
  216. package/es2021.en/plugins/google-search/google-search.min.js +2 -2
  217. package/es2021.en/plugins/highlight-signature/highlight-signature.js +9 -9
  218. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
  219. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  220. package/es2021.en/plugins/iframe-editor/iframe-editor.js +17 -14
  221. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
  222. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  223. package/es2021.en/plugins/keyboard/keyboard.js +36 -19
  224. package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
  225. package/es2021.en/plugins/mobile-view/mobile-view.js +13 -10
  226. package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
  227. package/es2021.en/plugins/page-break/page-break.js +9 -6
  228. package/es2021.en/plugins/page-break/page-break.min.js +2 -2
  229. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  230. package/es2021.en/plugins/paste-code/paste-code.js +9 -6
  231. package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
  232. package/es2021.en/plugins/paste-from-word/paste-from-word.js +2 -1503
  233. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +2 -2
  234. package/es2021.en/plugins/show-blocks/show-blocks.js +15 -10
  235. package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
  236. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  237. package/es2021.en/plugins/todo-list/todo-list.js +7 -4
  238. package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
  239. package/es2021.en/plugins/translate/translate.css +1 -1
  240. package/es2021.en/plugins/translate/translate.js +16 -10
  241. package/es2021.en/plugins/translate/translate.min.js +2 -2
  242. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  243. package/es2021.en/plugins/tune-block/tune-block.js +3 -3
  244. package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
  245. package/es5/jodit.css +30 -51
  246. package/es5/jodit.fat.min.css +1 -1
  247. package/es5/jodit.fat.min.js +2 -2
  248. package/es5/jodit.js +2320 -108
  249. package/es5/jodit.min.css +3 -3
  250. package/es5/jodit.min.js +2 -2
  251. package/es5/plugins/autocomplete/autocomplete.js +2 -511
  252. package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
  253. package/es5/plugins/backup/backup.css +1 -1
  254. package/es5/plugins/backup/backup.js +26 -21
  255. package/es5/plugins/backup/backup.min.js +2 -2
  256. package/es5/plugins/button-generator/button-generator.css +1 -1
  257. package/es5/plugins/button-generator/button-generator.js +59 -50
  258. package/es5/plugins/button-generator/button-generator.min.js +2 -2
  259. package/es5/plugins/change-case/change-case.js +10 -7
  260. package/es5/plugins/change-case/change-case.min.js +2 -2
  261. package/es5/plugins/color-picker/color-picker.css +1 -1
  262. package/es5/plugins/color-picker/color-picker.js +11 -9
  263. package/es5/plugins/color-picker/color-picker.min.js +2 -2
  264. package/es5/plugins/emoji/emoji.css +1 -1
  265. package/es5/plugins/emoji/emoji.js +20 -15
  266. package/es5/plugins/emoji/emoji.min.js +2 -2
  267. package/es5/plugins/export-docs/export-docs.js +9 -6
  268. package/es5/plugins/export-docs/export-docs.min.js +2 -2
  269. package/es5/plugins/finder/finder.css +6 -6
  270. package/es5/plugins/finder/finder.js +238 -222
  271. package/es5/plugins/finder/finder.min.css +1 -1
  272. package/es5/plugins/finder/finder.min.js +2 -2
  273. package/es5/plugins/google-maps/google-maps.css +1 -1
  274. package/es5/plugins/google-maps/google-maps.js +164 -131
  275. package/es5/plugins/google-maps/google-maps.min.js +2 -2
  276. package/es5/plugins/google-search/google-search.js +9 -6
  277. package/es5/plugins/google-search/google-search.min.js +2 -2
  278. package/es5/plugins/highlight-signature/highlight-signature.js +9 -9
  279. package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
  280. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  281. package/es5/plugins/iframe-editor/iframe-editor.js +18 -15
  282. package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
  283. package/es5/plugins/keyboard/keyboard.css +1 -1
  284. package/es5/plugins/keyboard/keyboard.js +37 -20
  285. package/es5/plugins/keyboard/keyboard.min.js +2 -2
  286. package/es5/plugins/mobile-view/mobile-view.js +13 -10
  287. package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
  288. package/es5/plugins/page-break/page-break.js +9 -6
  289. package/es5/plugins/page-break/page-break.min.js +2 -2
  290. package/es5/plugins/paste-code/paste-code.css +1 -1
  291. package/es5/plugins/paste-code/paste-code.js +9 -6
  292. package/es5/plugins/paste-code/paste-code.min.js +2 -2
  293. package/es5/plugins/paste-from-word/paste-from-word.js +2 -1645
  294. package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
  295. package/es5/plugins/show-blocks/show-blocks.js +16 -11
  296. package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
  297. package/es5/plugins/todo-list/todo-list.css +1 -1
  298. package/es5/plugins/todo-list/todo-list.js +7 -4
  299. package/es5/plugins/todo-list/todo-list.min.js +2 -2
  300. package/es5/plugins/translate/translate.css +1 -1
  301. package/es5/plugins/translate/translate.js +17 -11
  302. package/es5/plugins/translate/translate.min.js +2 -2
  303. package/es5/plugins/tune-block/tune-block.css +1 -1
  304. package/es5/plugins/tune-block/tune-block.js +3 -3
  305. package/es5/plugins/tune-block/tune-block.min.js +2 -2
  306. package/esm/config.d.ts +11 -0
  307. package/esm/config.js +6 -0
  308. package/esm/core/ui/form/range/range.d.ts +23 -0
  309. package/esm/core/ui/form/range/range.js +6 -0
  310. package/esm/index.d.ts +7 -0
  311. package/esm/index.js +6 -0
  312. package/esm/jodit-pro.d.ts +14 -0
  313. package/esm/jodit-pro.js +6 -0
  314. package/esm/plugins/autocomplete/autocomplete.d.ts +40 -0
  315. package/esm/plugins/autocomplete/autocomplete.js +6 -0
  316. package/esm/plugins/autocomplete/helpers.d.ts +25 -0
  317. package/esm/plugins/autocomplete/helpers.js +6 -0
  318. package/esm/plugins/autocomplete/interface.d.ts +19 -0
  319. package/esm/plugins/autocomplete/interface.js +6 -0
  320. package/esm/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
  321. package/esm/plugins/autocomplete/ui/autocomplete.js +6 -0
  322. package/esm/plugins/autocomplete/ui/item.d.ts +14 -0
  323. package/esm/plugins/autocomplete/ui/item.js +6 -0
  324. package/esm/plugins/backup/assets/restore.svg.js +1 -0
  325. package/esm/plugins/backup/backup.d.ts +29 -0
  326. package/esm/plugins/backup/backup.js +6 -0
  327. package/esm/plugins/backup/config.d.ts +18 -0
  328. package/esm/plugins/backup/config.js +6 -0
  329. package/esm/plugins/backup/interface.d.ts +14 -0
  330. package/esm/plugins/backup/interface.js +6 -0
  331. package/esm/plugins/backup/langs/index.d.ts +6 -0
  332. package/esm/plugins/backup/langs/index.js +6 -0
  333. package/esm/plugins/backup/modules/store.d.ts +15 -0
  334. package/esm/plugins/backup/modules/store.js +6 -0
  335. package/esm/plugins/backup/ui/box.d.ts +29 -0
  336. package/esm/plugins/backup/ui/box.js +6 -0
  337. package/esm/plugins/backup/ui/item.d.ts +17 -0
  338. package/esm/plugins/backup/ui/item.js +6 -0
  339. package/esm/plugins/backup/ui/list.d.ts +24 -0
  340. package/esm/plugins/backup/ui/list.js +6 -0
  341. package/esm/plugins/button-generator/assets/check.svg.js +1 -0
  342. package/esm/plugins/button-generator/assets/styles.json +1162 -0
  343. package/esm/plugins/button-generator/assets/styles.json.js +1 -0
  344. package/esm/plugins/button-generator/button-generator.d.ts +25 -0
  345. package/esm/plugins/button-generator/button-generator.js +1 -0
  346. package/esm/plugins/button-generator/config.d.ts +6 -0
  347. package/esm/plugins/button-generator/config.js +6 -0
  348. package/esm/plugins/button-generator/icon.svg.js +1 -0
  349. package/esm/plugins/button-generator/ui/button/button.d.ts +21 -0
  350. package/esm/plugins/button-generator/ui/button/button.js +7 -0
  351. package/esm/plugins/button-generator/ui/form/form.d.ts +20 -0
  352. package/esm/plugins/button-generator/ui/form/form.js +6 -0
  353. package/esm/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
  354. package/esm/plugins/button-generator/ui/generator/button-generator.js +6 -0
  355. package/esm/plugins/button-generator/ui/preview/preview.d.ts +22 -0
  356. package/esm/plugins/button-generator/ui/preview/preview.js +6 -0
  357. package/esm/plugins/change-case/change-case.d.ts +22 -0
  358. package/esm/plugins/change-case/change-case.js +6 -0
  359. package/esm/plugins/change-case/config.d.ts +6 -0
  360. package/esm/plugins/change-case/config.js +6 -0
  361. package/esm/plugins/change-case/icon.svg.js +1 -0
  362. package/esm/plugins/color-picker/color-picker.d.ts +18 -0
  363. package/esm/plugins/color-picker/color-picker.js +6 -0
  364. package/esm/plugins/color-picker/ui/input/color-input.d.ts +19 -0
  365. package/esm/plugins/color-picker/ui/input/color-input.js +6 -0
  366. package/esm/plugins/emoji/config.d.ts +10 -0
  367. package/esm/plugins/emoji/config.js +1 -0
  368. package/esm/plugins/emoji/emoji.d.ts +22 -0
  369. package/esm/plugins/emoji/emoji.js +6 -0
  370. package/esm/plugins/emoji/emoji.json +5667 -0
  371. package/esm/plugins/emoji/emoji.json.js +1 -0
  372. package/esm/plugins/emoji/emoji.svg.js +1 -0
  373. package/esm/plugins/emoji/interface.d.ts +24 -0
  374. package/esm/plugins/emoji/interface.js +6 -0
  375. package/esm/plugins/emoji/ui/emoji.d.ts +54 -0
  376. package/esm/plugins/emoji/ui/emoji.js +6 -0
  377. package/esm/plugins/export-docs/assets/export.svg.js +1 -0
  378. package/esm/plugins/export-docs/config.d.ts +21 -0
  379. package/esm/plugins/export-docs/config.js +6 -0
  380. package/esm/plugins/export-docs/export-docs.d.ts +18 -0
  381. package/esm/plugins/export-docs/export-docs.js +6 -0
  382. package/esm/plugins/finder/browser.d.ts +70 -0
  383. package/esm/plugins/finder/browser.js +6 -0
  384. package/esm/plugins/finder/config.d.ts +6 -0
  385. package/esm/plugins/finder/config.js +6 -0
  386. package/esm/plugins/finder/finder.d.ts +19 -0
  387. package/esm/plugins/finder/finder.js +6 -0
  388. package/esm/plugins/finder/helpers/context-menu.d.ts +19 -0
  389. package/esm/plugins/finder/helpers/context-menu.js +6 -0
  390. package/esm/plugins/finder/helpers/helpers.d.ts +6 -0
  391. package/esm/plugins/finder/helpers/helpers.js +6 -0
  392. package/esm/plugins/finder/helpers/history-manager.d.ts +24 -0
  393. package/esm/plugins/finder/helpers/history-manager.js +6 -0
  394. package/esm/plugins/finder/helpers/loading-manager.d.ts +25 -0
  395. package/esm/plugins/finder/helpers/loading-manager.js +6 -0
  396. package/esm/plugins/finder/helpers/persistent-store.d.ts +32 -0
  397. package/esm/plugins/finder/helpers/persistent-store.js +6 -0
  398. package/esm/plugins/finder/helpers/state-manager.d.ts +21 -0
  399. package/esm/plugins/finder/helpers/state-manager.js +6 -0
  400. package/esm/plugins/finder/langs/index.d.ts +7 -0
  401. package/esm/plugins/finder/langs/ru.d.ts +22 -0
  402. package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -0
  403. package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -0
  404. package/esm/plugins/finder/ui/assets/icons/index.d.ts +1 -0
  405. package/esm/plugins/finder/ui/assets/icons/index.js +6 -0
  406. package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -0
  407. package/esm/plugins/finder/ui/folder/folder.d.ts +18 -0
  408. package/esm/plugins/finder/ui/folder/folder.js +6 -0
  409. package/esm/plugins/finder/ui/header/header.d.ts +21 -0
  410. package/esm/plugins/finder/ui/header/header.js +6 -0
  411. package/esm/plugins/finder/ui/item/item.d.ts +24 -0
  412. package/esm/plugins/finder/ui/item/item.js +6 -0
  413. package/esm/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
  414. package/esm/plugins/finder/ui/lightboox/lightbox.js +6 -0
  415. package/esm/plugins/finder/ui/panel/panel.d.ts +60 -0
  416. package/esm/plugins/finder/ui/panel/panel.js +6 -0
  417. package/esm/plugins/finder/ui/preview/preview.d.ts +25 -0
  418. package/esm/plugins/finder/ui/preview/preview.js +6 -0
  419. package/esm/plugins/finder/ui/progress/progress.d.ts +19 -0
  420. package/esm/plugins/finder/ui/progress/progress.js +6 -0
  421. package/esm/plugins/finder/ui/settings/settings.d.ts +25 -0
  422. package/esm/plugins/finder/ui/settings/settings.js +6 -0
  423. package/esm/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
  424. package/esm/plugins/finder/ui/sidebar/sidebar.js +6 -0
  425. package/esm/plugins/finder/ui/source/source.d.ts +19 -0
  426. package/esm/plugins/finder/ui/source/source.js +6 -0
  427. package/esm/plugins/finder/ui/sources/sources.d.ts +15 -0
  428. package/esm/plugins/finder/ui/sources/sources.js +6 -0
  429. package/esm/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
  430. package/esm/plugins/finder/ui/statusbar/statusbar.js +6 -0
  431. package/esm/plugins/finder/ui/tree/tree.d.ts +16 -0
  432. package/esm/plugins/finder/ui/tree/tree.js +6 -0
  433. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
  434. package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +6 -0
  435. package/esm/plugins/google-maps/assets/circle.svg.js +1 -0
  436. package/esm/plugins/google-maps/assets/hand.svg.js +1 -0
  437. package/esm/plugins/google-maps/assets/icon.svg.js +1 -0
  438. package/esm/plugins/google-maps/assets/index.d.ts +6 -0
  439. package/esm/plugins/google-maps/assets/index.js +6 -0
  440. package/esm/plugins/google-maps/assets/marker.svg.js +1 -0
  441. package/esm/plugins/google-maps/assets/polygon.svg.js +1 -0
  442. package/esm/plugins/google-maps/assets/polyline.svg.js +1 -0
  443. package/esm/plugins/google-maps/assets/text.svg.js +1 -0
  444. package/esm/plugins/google-maps/config.d.ts +45 -0
  445. package/esm/plugins/google-maps/config.js +6 -0
  446. package/esm/plugins/google-maps/google-maps.d.ts +29 -0
  447. package/esm/plugins/google-maps/google-maps.js +6 -0
  448. package/esm/plugins/google-maps/helpers/const.d.ts +7 -0
  449. package/esm/plugins/google-maps/helpers/const.js +6 -0
  450. package/esm/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
  451. package/esm/plugins/google-maps/helpers/generate-js-script.js +1 -0
  452. package/esm/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
  453. package/esm/plugins/google-maps/helpers/generate-static-elements.js +6 -0
  454. package/esm/plugins/google-maps/helpers/helpers.d.ts +14 -0
  455. package/esm/plugins/google-maps/helpers/helpers.js +6 -0
  456. package/esm/plugins/google-maps/helpers/static-url.d.ts +7 -0
  457. package/esm/plugins/google-maps/helpers/static-url.js +6 -0
  458. package/esm/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
  459. package/esm/plugins/google-maps/ui/combo-box/combo-box.js +6 -0
  460. package/esm/plugins/google-maps/ui/editors/base.d.ts +15 -0
  461. package/esm/plugins/google-maps/ui/editors/base.js +6 -0
  462. package/esm/plugins/google-maps/ui/editors/index.d.ts +8 -0
  463. package/esm/plugins/google-maps/ui/editors/index.js +6 -0
  464. package/esm/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
  465. package/esm/plugins/google-maps/ui/editors/marker/marker.js +6 -0
  466. package/esm/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
  467. package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +6 -0
  468. package/esm/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
  469. package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +6 -0
  470. package/esm/plugins/google-maps/ui/index.d.ts +10 -0
  471. package/esm/plugins/google-maps/ui/index.js +6 -0
  472. package/esm/plugins/google-maps/ui/map/map.d.ts +39 -0
  473. package/esm/plugins/google-maps/ui/map/map.js +6 -0
  474. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
  475. package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +6 -0
  476. package/esm/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
  477. package/esm/plugins/google-maps/ui/map/modules/index.js +6 -0
  478. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
  479. package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +6 -0
  480. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
  481. package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +6 -0
  482. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
  483. package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +6 -0
  484. package/esm/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
  485. package/esm/plugins/google-maps/ui/map/modules/remove-element.js +6 -0
  486. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
  487. package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +6 -0
  488. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
  489. package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +6 -0
  490. package/esm/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
  491. package/esm/plugins/google-maps/ui/maps-props/maps-props.js +6 -0
  492. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
  493. package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +6 -0
  494. package/esm/plugins/google-search/google-search.d.ts +17 -0
  495. package/esm/plugins/google-search/google-search.js +6 -0
  496. package/esm/plugins/google-search/icon.svg.js +1 -0
  497. package/esm/plugins/highlight-signature/highlight-signature.d.ts +54 -0
  498. package/esm/plugins/highlight-signature/highlight-signature.js +6 -0
  499. package/esm/plugins/iframe-editor/config.d.ts +6 -0
  500. package/esm/plugins/iframe-editor/config.js +6 -0
  501. package/esm/plugins/iframe-editor/icon.svg.js +1 -0
  502. package/esm/plugins/iframe-editor/iframe-editor.d.ts +22 -0
  503. package/esm/plugins/iframe-editor/iframe-editor.js +6 -0
  504. package/esm/plugins/iframe-editor/interface.d.ts +15 -0
  505. package/esm/plugins/iframe-editor/interface.js +6 -0
  506. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
  507. package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +6 -0
  508. package/esm/plugins/index.d.ts +8 -0
  509. package/esm/plugins/index.js +6 -0
  510. package/esm/plugins/keyboard/config.d.ts +23 -0
  511. package/esm/plugins/keyboard/config.js +1 -0
  512. package/esm/plugins/keyboard/icon.svg.js +1 -0
  513. package/esm/plugins/keyboard/interface.d.ts +13 -0
  514. package/esm/plugins/keyboard/interface.js +6 -0
  515. package/esm/plugins/keyboard/keyboard.d.ts +27 -0
  516. package/esm/plugins/keyboard/keyboard.js +1 -0
  517. package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -0
  518. package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -0
  519. package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -0
  520. package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -0
  521. package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -0
  522. package/esm/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
  523. package/esm/plugins/keyboard/ui/keyboard/keyboard.js +6 -0
  524. package/esm/plugins/license/helpers/helpers.d.ts +14 -0
  525. package/esm/plugins/license/helpers/helpers.js +7 -0
  526. package/esm/plugins/license/license.d.ts +16 -0
  527. package/esm/plugins/license/license.js +6 -0
  528. package/esm/plugins/mobile-view/config.d.ts +14 -0
  529. package/esm/plugins/mobile-view/config.js +6 -0
  530. package/esm/plugins/mobile-view/icon.svg.js +1 -0
  531. package/esm/plugins/mobile-view/mobile-view.d.ts +6 -0
  532. package/esm/plugins/mobile-view/mobile-view.js +6 -0
  533. package/esm/plugins/page-break/assets/page-break.svg.js +1 -0
  534. package/esm/plugins/page-break/config.d.ts +13 -0
  535. package/esm/plugins/page-break/config.js +6 -0
  536. package/esm/plugins/page-break/page-break.css.d.ts +2 -0
  537. package/esm/plugins/page-break/page-break.css.js +6 -0
  538. package/esm/plugins/page-break/page-break.d.ts +23 -0
  539. package/esm/plugins/page-break/page-break.js +6 -0
  540. package/esm/plugins/paste-code/config.d.ts +36 -0
  541. package/esm/plugins/paste-code/config.js +6 -0
  542. package/esm/plugins/paste-code/icon.svg.js +1 -0
  543. package/esm/plugins/paste-code/paste-code.d.ts +30 -0
  544. package/esm/plugins/paste-code/paste-code.js +6 -0
  545. package/esm/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
  546. package/esm/plugins/paste-from-word/cases/clean-styles.js +6 -0
  547. package/esm/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
  548. package/esm/plugins/paste-from-word/cases/clear-attributes.js +6 -0
  549. package/esm/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
  550. package/esm/plugins/paste-from-word/cases/clear-class-name.js +6 -0
  551. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
  552. package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +6 -0
  553. package/esm/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
  554. package/esm/plugins/paste-from-word/cases/convert-to-list.js +6 -0
  555. package/esm/plugins/paste-from-word/cases/index.d.ts +7 -0
  556. package/esm/plugins/paste-from-word/cases/index.js +6 -0
  557. package/esm/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
  558. package/esm/plugins/paste-from-word/cases/mark-page-break.js +6 -0
  559. package/esm/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
  560. package/esm/plugins/paste-from-word/cases/normalize-image-props.js +6 -0
  561. package/esm/plugins/paste-from-word/cases/process-image.d.ts +7 -0
  562. package/esm/plugins/paste-from-word/cases/process-image.js +6 -0
  563. package/esm/plugins/paste-from-word/cases/process-links.d.ts +7 -0
  564. package/esm/plugins/paste-from-word/cases/process-links.js +6 -0
  565. package/esm/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
  566. package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +6 -0
  567. package/esm/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
  568. package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +6 -0
  569. package/esm/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
  570. package/esm/plugins/paste-from-word/cases/replace-old-tags.js +6 -0
  571. package/esm/plugins/paste-from-word/cases/table.d.ts +7 -0
  572. package/esm/plugins/paste-from-word/cases/table.js +6 -0
  573. package/esm/plugins/paste-from-word/config.d.ts +24 -0
  574. package/esm/plugins/paste-from-word/config.js +6 -0
  575. package/esm/plugins/paste-from-word/constants.d.ts +20 -0
  576. package/esm/plugins/paste-from-word/constants.js +6 -0
  577. package/esm/plugins/paste-from-word/element/checkers.d.ts +14 -0
  578. package/esm/plugins/paste-from-word/element/checkers.js +6 -0
  579. package/esm/plugins/paste-from-word/element/element.d.ts +34 -0
  580. package/esm/plugins/paste-from-word/element/element.js +6 -0
  581. package/esm/plugins/paste-from-word/element/index.d.ts +8 -0
  582. package/esm/plugins/paste-from-word/element/index.js +6 -0
  583. package/esm/plugins/paste-from-word/element/render.d.ts +9 -0
  584. package/esm/plugins/paste-from-word/element/render.js +6 -0
  585. package/esm/plugins/paste-from-word/element/style.d.ts +20 -0
  586. package/esm/plugins/paste-from-word/element/style.js +6 -0
  587. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
  588. package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +6 -0
  589. package/esm/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
  590. package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +6 -0
  591. package/esm/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
  592. package/esm/plugins/paste-from-word/helpers/helpers.js +6 -0
  593. package/esm/plugins/paste-from-word/helpers/index.d.ts +9 -0
  594. package/esm/plugins/paste-from-word/helpers/index.js +6 -0
  595. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
  596. package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +6 -0
  597. package/esm/plugins/paste-from-word/interface.d.ts +17 -0
  598. package/esm/plugins/paste-from-word/interface.js +6 -0
  599. package/esm/plugins/paste-from-word/paste-from-word.d.ts +14 -0
  600. package/esm/plugins/paste-from-word/paste-from-word.js +6 -0
  601. package/esm/plugins/show-blocks/config.d.ts +15 -0
  602. package/esm/plugins/show-blocks/config.js +6 -0
  603. package/esm/plugins/show-blocks/langs/ar.d.ts +4 -0
  604. package/esm/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
  605. package/esm/plugins/show-blocks/langs/de.d.ts +4 -0
  606. package/esm/plugins/show-blocks/langs/es.d.ts +4 -0
  607. package/esm/plugins/show-blocks/langs/fa.d.ts +4 -0
  608. package/esm/plugins/show-blocks/langs/fr.d.ts +4 -0
  609. package/esm/plugins/show-blocks/langs/he.d.ts +4 -0
  610. package/esm/plugins/show-blocks/langs/hu.d.ts +4 -0
  611. package/esm/plugins/show-blocks/langs/id.d.ts +4 -0
  612. package/esm/plugins/show-blocks/langs/index.d.ts +25 -0
  613. package/esm/plugins/show-blocks/langs/index.js +6 -0
  614. package/esm/plugins/show-blocks/langs/it.d.ts +4 -0
  615. package/esm/plugins/show-blocks/langs/ja.d.ts +4 -0
  616. package/esm/plugins/show-blocks/langs/ko.d.ts +4 -0
  617. package/esm/plugins/show-blocks/langs/nl.d.ts +4 -0
  618. package/esm/plugins/show-blocks/langs/pl.d.ts +4 -0
  619. package/esm/plugins/show-blocks/langs/pt_br.d.ts +4 -0
  620. package/esm/plugins/show-blocks/langs/ru.d.ts +4 -0
  621. package/esm/plugins/show-blocks/langs/tr.d.ts +4 -0
  622. package/esm/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
  623. package/esm/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
  624. package/esm/plugins/show-blocks/show-blocks.d.ts +39 -0
  625. package/esm/plugins/show-blocks/show-blocks.js +6 -0
  626. package/esm/plugins/show-blocks/show-blocks.svg.js +1 -0
  627. package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -0
  628. package/esm/plugins/todo-list/config.d.ts +15 -0
  629. package/esm/plugins/todo-list/config.js +6 -0
  630. package/esm/plugins/todo-list/todo-list.d.ts +41 -0
  631. package/esm/plugins/todo-list/todo-list.js +6 -0
  632. package/esm/plugins/translate/assets/swap.svg.js +1 -0
  633. package/esm/plugins/translate/assets/translate.svg.js +1 -0
  634. package/esm/plugins/translate/config.d.ts +20 -0
  635. package/esm/plugins/translate/config.js +6 -0
  636. package/esm/plugins/translate/interface.d.ts +50 -0
  637. package/esm/plugins/translate/interface.js +6 -0
  638. package/esm/plugins/translate/providers/google/google.d.ts +14 -0
  639. package/esm/plugins/translate/providers/google/google.js +6 -0
  640. package/esm/plugins/translate/providers/languages.d.ts +140 -0
  641. package/esm/plugins/translate/providers/languages.js +6 -0
  642. package/esm/plugins/translate/translate.d.ts +20 -0
  643. package/esm/plugins/translate/translate.js +6 -0
  644. package/esm/plugins/translate/ui/list/list.d.ts +34 -0
  645. package/esm/plugins/translate/ui/list/list.js +6 -0
  646. package/esm/plugins/translate/ui/settings/settings.d.ts +35 -0
  647. package/esm/plugins/translate/ui/settings/settings.js +6 -0
  648. package/esm/plugins/tune-block/config.d.ts +13 -0
  649. package/esm/plugins/tune-block/config.js +6 -0
  650. package/esm/plugins/tune-block/tune-block.d.ts +30 -0
  651. package/esm/plugins/tune-block/tune-block.js +6 -0
  652. package/esm/plugins/tune-block/ui/tuner/icon.svg.js +1 -0
  653. package/esm/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
  654. package/esm/plugins/tune-block/ui/tuner/tuner.js +6 -0
  655. package/esm/traits/resize/resize.d.ts +17 -0
  656. package/esm/traits/resize/resize.js +6 -0
  657. package/esm/traits/select-items/select-items.d.ts +16 -0
  658. package/esm/traits/select-items/select-items.js +6 -0
  659. package/esm/tsconfig.json +19 -0
  660. package/esm/types/view.d.ts +9 -0
  661. package/esm/typings.d.ts +5 -0
  662. package/package.json +3 -2
  663. package/types/config.d.ts +11 -0
  664. package/types/core/ui/form/range/range.d.ts +23 -0
  665. package/types/index.d.ts +7 -0
  666. package/types/jodit-pro.d.ts +14 -0
  667. package/types/plugins/autocomplete/autocomplete.d.ts +40 -0
  668. package/types/plugins/autocomplete/helpers.d.ts +25 -0
  669. package/types/plugins/autocomplete/interface.d.ts +19 -0
  670. package/types/plugins/autocomplete/ui/autocomplete.d.ts +20 -0
  671. package/types/plugins/autocomplete/ui/item.d.ts +14 -0
  672. package/types/plugins/backup/backup.d.ts +29 -0
  673. package/types/plugins/backup/config.d.ts +18 -0
  674. package/types/plugins/backup/interface.d.ts +14 -0
  675. package/types/plugins/backup/langs/index.d.ts +6 -0
  676. package/types/plugins/backup/modules/store.d.ts +15 -0
  677. package/types/plugins/backup/ui/box.d.ts +29 -0
  678. package/types/plugins/backup/ui/item.d.ts +17 -0
  679. package/types/plugins/backup/ui/list.d.ts +24 -0
  680. package/types/plugins/button-generator/button-generator.d.ts +25 -0
  681. package/types/plugins/button-generator/config.d.ts +6 -0
  682. package/types/plugins/button-generator/ui/button/button.d.ts +21 -0
  683. package/types/plugins/button-generator/ui/form/form.d.ts +20 -0
  684. package/types/plugins/button-generator/ui/generator/button-generator.d.ts +22 -0
  685. package/types/plugins/button-generator/ui/preview/preview.d.ts +22 -0
  686. package/types/plugins/change-case/change-case.d.ts +22 -0
  687. package/types/plugins/change-case/config.d.ts +6 -0
  688. package/types/plugins/color-picker/color-picker.d.ts +18 -0
  689. package/types/plugins/color-picker/ui/input/color-input.d.ts +19 -0
  690. package/types/plugins/emoji/config.d.ts +10 -0
  691. package/types/plugins/emoji/emoji.d.ts +22 -0
  692. package/types/plugins/emoji/interface.d.ts +24 -0
  693. package/types/plugins/emoji/ui/emoji.d.ts +54 -0
  694. package/types/plugins/export-docs/config.d.ts +21 -0
  695. package/types/plugins/export-docs/export-docs.d.ts +18 -0
  696. package/types/plugins/finder/browser.d.ts +70 -0
  697. package/types/plugins/finder/config.d.ts +6 -0
  698. package/types/plugins/finder/finder.d.ts +19 -0
  699. package/types/plugins/finder/helpers/context-menu.d.ts +19 -0
  700. package/types/plugins/finder/helpers/helpers.d.ts +6 -0
  701. package/types/plugins/finder/helpers/history-manager.d.ts +24 -0
  702. package/types/plugins/finder/helpers/loading-manager.d.ts +25 -0
  703. package/types/plugins/finder/helpers/persistent-store.d.ts +32 -0
  704. package/types/plugins/finder/helpers/state-manager.d.ts +21 -0
  705. package/types/plugins/finder/langs/index.d.ts +7 -0
  706. package/types/plugins/finder/langs/ru.d.ts +22 -0
  707. package/types/plugins/finder/ui/assets/icons/index.d.ts +1 -0
  708. package/types/plugins/finder/ui/folder/folder.d.ts +18 -0
  709. package/types/plugins/finder/ui/header/header.d.ts +21 -0
  710. package/types/plugins/finder/ui/item/item.d.ts +24 -0
  711. package/types/plugins/finder/ui/lightboox/lightbox.d.ts +27 -0
  712. package/types/plugins/finder/ui/panel/panel.d.ts +60 -0
  713. package/types/plugins/finder/ui/preview/preview.d.ts +25 -0
  714. package/types/plugins/finder/ui/progress/progress.d.ts +19 -0
  715. package/types/plugins/finder/ui/settings/settings.d.ts +25 -0
  716. package/types/plugins/finder/ui/sidebar/sidebar.d.ts +27 -0
  717. package/types/plugins/finder/ui/source/source.d.ts +19 -0
  718. package/types/plugins/finder/ui/sources/sources.d.ts +15 -0
  719. package/types/plugins/finder/ui/statusbar/statusbar.d.ts +14 -0
  720. package/types/plugins/finder/ui/tree/tree.d.ts +16 -0
  721. package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +32 -0
  722. package/types/plugins/google-maps/assets/index.d.ts +6 -0
  723. package/types/plugins/google-maps/config.d.ts +45 -0
  724. package/types/plugins/google-maps/google-maps.d.ts +29 -0
  725. package/types/plugins/google-maps/helpers/const.d.ts +7 -0
  726. package/types/plugins/google-maps/helpers/generate-js-script.d.ts +8 -0
  727. package/types/plugins/google-maps/helpers/generate-static-elements.d.ts +7 -0
  728. package/types/plugins/google-maps/helpers/helpers.d.ts +14 -0
  729. package/types/plugins/google-maps/helpers/static-url.d.ts +7 -0
  730. package/types/plugins/google-maps/ui/combo-box/combo-box.d.ts +12 -0
  731. package/types/plugins/google-maps/ui/editors/base.d.ts +15 -0
  732. package/types/plugins/google-maps/ui/editors/index.d.ts +8 -0
  733. package/types/plugins/google-maps/ui/editors/marker/marker.d.ts +10 -0
  734. package/types/plugins/google-maps/ui/editors/polygon/polygon.d.ts +10 -0
  735. package/types/plugins/google-maps/ui/editors/polyline/polyline.d.ts +10 -0
  736. package/types/plugins/google-maps/ui/index.d.ts +10 -0
  737. package/types/plugins/google-maps/ui/map/map.d.ts +39 -0
  738. package/types/plugins/google-maps/ui/map/modules/add-new-in-state.d.ts +8 -0
  739. package/types/plugins/google-maps/ui/map/modules/index.d.ts +10 -0
  740. package/types/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.d.ts +8 -0
  741. package/types/plugins/google-maps/ui/map/modules/on-change-geometries.d.ts +8 -0
  742. package/types/plugins/google-maps/ui/map/modules/open-props-dialog.d.ts +8 -0
  743. package/types/plugins/google-maps/ui/map/modules/remove-element.d.ts +8 -0
  744. package/types/plugins/google-maps/ui/map/modules/update-state-and-gme.d.ts +8 -0
  745. package/types/plugins/google-maps/ui/maps-controls/maps-controls.d.ts +14 -0
  746. package/types/plugins/google-maps/ui/maps-props/maps-props.d.ts +19 -0
  747. package/types/plugins/google-maps/ui/wysiwyg/wysiwyg.d.ts +13 -0
  748. package/types/plugins/google-search/google-search.d.ts +17 -0
  749. package/types/plugins/highlight-signature/highlight-signature.d.ts +54 -0
  750. package/types/plugins/iframe-editor/config.d.ts +6 -0
  751. package/types/plugins/iframe-editor/iframe-editor.d.ts +22 -0
  752. package/types/plugins/iframe-editor/interface.d.ts +15 -0
  753. package/types/plugins/iframe-editor/ui/iframe-editor/iframe-editor.d.ts +14 -0
  754. package/types/plugins/index.d.ts +8 -0
  755. package/types/plugins/keyboard/config.d.ts +23 -0
  756. package/types/plugins/keyboard/interface.d.ts +13 -0
  757. package/types/plugins/keyboard/keyboard.d.ts +27 -0
  758. package/types/plugins/keyboard/ui/keyboard/keyboard.d.ts +32 -0
  759. package/types/plugins/license/helpers/helpers.d.ts +14 -0
  760. package/types/plugins/license/license.d.ts +16 -0
  761. package/types/plugins/mobile-view/config.d.ts +14 -0
  762. package/types/plugins/mobile-view/mobile-view.d.ts +6 -0
  763. package/types/plugins/page-break/config.d.ts +13 -0
  764. package/types/plugins/page-break/page-break.css.d.ts +2 -0
  765. package/types/plugins/page-break/page-break.d.ts +23 -0
  766. package/types/plugins/paste-code/config.d.ts +36 -0
  767. package/types/plugins/paste-code/paste-code.d.ts +30 -0
  768. package/types/plugins/paste-from-word/cases/clean-styles.d.ts +7 -0
  769. package/types/plugins/paste-from-word/cases/clear-attributes.d.ts +7 -0
  770. package/types/plugins/paste-from-word/cases/clear-class-name.d.ts +7 -0
  771. package/types/plugins/paste-from-word/cases/convert-style-unit-to-pixels.d.ts +7 -0
  772. package/types/plugins/paste-from-word/cases/convert-to-list.d.ts +11 -0
  773. package/types/plugins/paste-from-word/cases/index.d.ts +7 -0
  774. package/types/plugins/paste-from-word/cases/mark-page-break.d.ts +7 -0
  775. package/types/plugins/paste-from-word/cases/normalize-image-props.d.ts +7 -0
  776. package/types/plugins/paste-from-word/cases/process-image.d.ts +7 -0
  777. package/types/plugins/paste-from-word/cases/process-links.d.ts +7 -0
  778. package/types/plugins/paste-from-word/cases/remove-extra-tags.d.ts +7 -0
  779. package/types/plugins/paste-from-word/cases/remove-inside-comment.d.ts +7 -0
  780. package/types/plugins/paste-from-word/cases/replace-old-tags.d.ts +7 -0
  781. package/types/plugins/paste-from-word/cases/table.d.ts +7 -0
  782. package/types/plugins/paste-from-word/config.d.ts +24 -0
  783. package/types/plugins/paste-from-word/constants.d.ts +20 -0
  784. package/types/plugins/paste-from-word/element/checkers.d.ts +14 -0
  785. package/types/plugins/paste-from-word/element/element.d.ts +34 -0
  786. package/types/plugins/paste-from-word/element/index.d.ts +8 -0
  787. package/types/plugins/paste-from-word/element/render.d.ts +9 -0
  788. package/types/plugins/paste-from-word/element/style.d.ts +20 -0
  789. package/types/plugins/paste-from-word/helpers/apply-styles-pro.d.ts +7 -0
  790. package/types/plugins/paste-from-word/helpers/calc-list-levels.d.ts +7 -0
  791. package/types/plugins/paste-from-word/helpers/helpers.d.ts +19 -0
  792. package/types/plugins/paste-from-word/helpers/index.d.ts +9 -0
  793. package/types/plugins/paste-from-word/helpers/transform-word-to-html.d.ts +8 -0
  794. package/types/plugins/paste-from-word/interface.d.ts +17 -0
  795. package/types/plugins/paste-from-word/paste-from-word.d.ts +14 -0
  796. package/types/plugins/show-blocks/config.d.ts +15 -0
  797. package/types/plugins/show-blocks/langs/ar.d.ts +4 -0
  798. package/types/plugins/show-blocks/langs/cs_cz.d.ts +4 -0
  799. package/types/plugins/show-blocks/langs/de.d.ts +4 -0
  800. package/types/plugins/show-blocks/langs/es.d.ts +4 -0
  801. package/types/plugins/show-blocks/langs/fa.d.ts +4 -0
  802. package/types/plugins/show-blocks/langs/fr.d.ts +4 -0
  803. package/types/plugins/show-blocks/langs/he.d.ts +4 -0
  804. package/types/plugins/show-blocks/langs/hu.d.ts +4 -0
  805. package/types/plugins/show-blocks/langs/id.d.ts +4 -0
  806. package/types/plugins/show-blocks/langs/index.d.ts +25 -0
  807. package/types/plugins/show-blocks/langs/it.d.ts +4 -0
  808. package/types/plugins/show-blocks/langs/ja.d.ts +4 -0
  809. package/types/plugins/show-blocks/langs/ko.d.ts +4 -0
  810. package/types/plugins/show-blocks/langs/nl.d.ts +4 -0
  811. package/types/plugins/show-blocks/langs/pl.d.ts +4 -0
  812. package/types/plugins/show-blocks/langs/pt_br.d.ts +4 -0
  813. package/types/plugins/show-blocks/langs/ru.d.ts +4 -0
  814. package/types/plugins/show-blocks/langs/tr.d.ts +4 -0
  815. package/types/plugins/show-blocks/langs/zh_cn.d.ts +4 -0
  816. package/types/plugins/show-blocks/langs/zh_tw.d.ts +4 -0
  817. package/types/plugins/show-blocks/show-blocks.d.ts +39 -0
  818. package/types/plugins/todo-list/config.d.ts +15 -0
  819. package/types/plugins/todo-list/todo-list.d.ts +41 -0
  820. package/types/plugins/translate/config.d.ts +20 -0
  821. package/types/plugins/translate/interface.d.ts +50 -0
  822. package/types/plugins/translate/providers/google/google.d.ts +14 -0
  823. package/types/plugins/translate/providers/languages.d.ts +140 -0
  824. package/types/plugins/translate/translate.d.ts +20 -0
  825. package/types/plugins/translate/ui/list/list.d.ts +34 -0
  826. package/types/plugins/translate/ui/settings/settings.d.ts +35 -0
  827. package/types/plugins/tune-block/config.d.ts +13 -0
  828. package/types/plugins/tune-block/tune-block.d.ts +30 -0
  829. package/types/plugins/tune-block/ui/tuner/tuner.d.ts +53 -0
  830. package/types/traits/resize/resize.d.ts +17 -0
  831. package/types/traits/select-items/select-items.d.ts +16 -0
  832. package/types/tsconfig.json +19 -0
  833. package/types/types/view.d.ts +9 -0
  834. package/types/typings.d.ts +5 -0
  835. package/es2015/plugins/autocomplete/autocomplete.css +0 -26
  836. package/es2015/plugins/autocomplete/autocomplete.min.css +0 -1
  837. package/es2018/plugins/autocomplete/autocomplete.css +0 -26
  838. package/es2018/plugins/autocomplete/autocomplete.min.css +0 -1
  839. package/es2021/plugins/autocomplete/autocomplete.css +0 -26
  840. package/es2021/plugins/autocomplete/autocomplete.min.css +0 -1
  841. package/es2021.en/plugins/autocomplete/autocomplete.css +0 -26
  842. package/es2021.en/plugins/autocomplete/autocomplete.min.css +0 -1
  843. package/es5/plugins/autocomplete/autocomplete.css +0 -26
  844. package/es5/plugins/autocomplete/autocomplete.min.css +0 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -17,443 +17,7 @@
17
17
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
18
18
  }
19
19
  })(self, function() {
20
- return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).push([[633],{
21
-
22
- /***/ 93123:
23
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
24
-
25
- __webpack_require__.r(__webpack_exports__);
26
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27
- /* harmony export */ "autocomplete": function() { return /* binding */ autocomplete; }
28
- /* harmony export */ });
29
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(97582);
30
- /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
31
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77628);
32
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50526);
33
- /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95582);
34
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44913);
35
- /* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(19797);
36
- /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11612);
37
- /* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(77325);
38
- /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(88292);
39
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(47325);
40
- /*!
41
- * Jodit Editor PRO (https://xdsoft.net/jodit/)
42
- * See LICENSE.md in the project root for license information.
43
- * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
44
- */
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
- jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.autocomplete = {
57
- sources: [],
58
- maxItems: 50,
59
- isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
60
- itemRenderer: (item) => item.title ?? item.value,
61
- insertValueRenderer: (item) => item.value + '&nbsp;'
62
- };
63
- class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S {
64
- constructor() {
65
- super(...arguments);
66
- /** @override */
67
- this.hasStyle = !_JoditPro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro.fatMode */ .y.fatMode;
68
- this.sources = [];
69
- }
70
- /** @override */
71
- afterInit(jodit) {
72
- this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .G(jodit);
73
- this.popup.setMod('padding', false);
74
- this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .F(jodit);
75
- this.popup.setContent(this.list.container);
76
- jodit.e
77
- .on('select.autocomplete', (item) => {
78
- let insertValue = item.value;
79
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(item.insertValueRenderer)) {
80
- insertValue = item.insertValueRenderer(item);
81
- }
82
- if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom.isNode */ .i.isNode(insertValue)) {
83
- insertValue = jodit.createInside.fromHTML(insertValue);
84
- }
85
- (0,_helpers__WEBPACK_IMPORTED_MODULE_9__/* .replaceTextLeftOfCursorAfterSpace */ .p)(jodit.s.range, insertValue);
86
- this.j.s.setCursorAfter(insertValue);
87
- this.j.synchronizeValues();
88
- this.popup.close();
89
- })
90
- .on('keydown.autocomplete', this.onKeyDown)
91
- .on('keydown.autocomplete', this.onKeyControlDown, {
92
- top: true
93
- })
94
- .on('beforeEnter.autocomplete', this.onEnter, { top: true })
95
- .on('autocomplete.autocomplete', this.onAutoComplete)
96
- .on('registerAutocompleteSource.autocomplete', this.registerAutocompleteSource);
97
- }
98
- registerAutocompleteSource(source) {
99
- this.sources.push(source);
100
- }
101
- static isControlKey(key) {
102
- return (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_DOWN ||
103
- key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_UP ||
104
- key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_ENTER ||
105
- key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_TAB);
106
- }
107
- async onKeyDown(e) {
108
- if (e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_ESC) {
109
- this.popup.isOpened && this.popup.close();
110
- return;
111
- }
112
- const { s } = this.j;
113
- if (autocomplete.isControlKey(e.key) ||
114
- !s.isInsideArea ||
115
- !s.isCollapsed) {
116
- return;
117
- }
118
- const range = this.j.s.sel?.rangeCount
119
- ? this.j.s.sel?.getRangeAt(0)
120
- : null;
121
- const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_9__/* .getTextLeftOfCursor */ .Y)(range).split(' ').pop();
122
- if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
123
- const result = await this.onAutoComplete(query);
124
- if (result.length) {
125
- return this.openPopup(result);
126
- }
127
- }
128
- if (this.popup.isOpened) {
129
- this.popup.close();
130
- }
131
- }
132
- onKeyControlDown(e) {
133
- if (this.popup.isOpened && autocomplete.isControlKey(e.key)) {
134
- switch (e.key) {
135
- case jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_DOWN:
136
- this.list.selectNext();
137
- break;
138
- case jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_UP:
139
- this.list.selectPrevious();
140
- break;
141
- case jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_TAB:
142
- this.list.select();
143
- break;
144
- }
145
- this.j.e.stopPropagation(e.type);
146
- return false;
147
- }
148
- }
149
- onEnter() {
150
- if (this.popup.isOpened) {
151
- this.list.select();
152
- return false;
153
- }
154
- }
155
- async onAutoComplete(query) {
156
- const result = [];
157
- await Promise.all(this.sources
158
- .concat(this.j.o.autocomplete.sources)
159
- .map(async (source) => {
160
- result.push(...(await this.resolveFeed(query, source)));
161
- }));
162
- return result;
163
- }
164
- async resolveFeed(query, feed, baseSource) {
165
- let parts;
166
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(feed)) {
167
- feed = await feed;
168
- }
169
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(feed)) {
170
- parts = await feed(query);
171
- }
172
- else if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isArray)(feed)) {
173
- const arrayFeed = feed, { isMatchedQuery } = this.j.o.autocomplete;
174
- parts = arrayFeed
175
- .filter((item) => {
176
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(item)) {
177
- return isMatchedQuery(query, item);
178
- }
179
- return isMatchedQuery(query, item.value);
180
- })
181
- .map((item) => {
182
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(item)) {
183
- return { title: item, value: item };
184
- }
185
- return item;
186
- });
187
- }
188
- else {
189
- parts = await this.resolveFeed(query, feed.feed, feed);
190
- }
191
- if (parts && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isArray)(parts)) {
192
- const { itemRenderer, insertValueRenderer, maxItems } = this.j.o.autocomplete;
193
- parts = parts.map((item) => ({
194
- itemRenderer: baseSource?.itemRenderer ?? itemRenderer,
195
- insertValueRenderer: baseSource?.insertValueRenderer ?? insertValueRenderer,
196
- ...item
197
- }));
198
- return parts.slice(0, maxItems);
199
- }
200
- return [];
201
- }
202
- openPopup(result) {
203
- this.list.build(result);
204
- this.popup.open(() => {
205
- const { j } = this;
206
- const rect = j.s.range.getBoundingClientRect();
207
- const bound = {
208
- left: rect.left,
209
- top: rect.top,
210
- height: rect.height,
211
- width: rect.width
212
- };
213
- if (j.o.iframe && j.iframe) {
214
- const pos = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(j.iframe, j);
215
- bound.top += pos.top;
216
- bound.left += pos.left;
217
- }
218
- return bound;
219
- });
220
- }
221
- /** @override */
222
- beforeDestruct(jodit) {
223
- jodit.e
224
- .off(this.list)
225
- .off('keydown.autocomplete', this.onKeyDown)
226
- .off('autocomplete.autocomplete', this.onAutoComplete)
227
- .off('.autocomplete');
228
- this.list.destruct();
229
- this.popup.destruct();
230
- }
231
- }
232
- /** @override */
233
- autocomplete.requires = ['enter', 'license'];
234
- (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
235
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
236
- ], autocomplete.prototype, "registerAutocompleteSource", null);
237
- (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
238
- (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)()
239
- ], autocomplete.prototype, "onKeyDown", null);
240
- (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
241
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
242
- ], autocomplete.prototype, "onKeyControlDown", null);
243
- (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
244
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
245
- ], autocomplete.prototype, "onEnter", null);
246
- (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
247
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
248
- ], autocomplete.prototype, "onAutoComplete", null);
249
- (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
250
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
251
- ], autocomplete.prototype, "resolveFeed", null);
252
- _JoditPro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro.plugins.add */ .y.plugins.add('autocomplete', autocomplete);
253
-
254
-
255
- /***/ }),
256
-
257
- /***/ 47325:
258
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
259
-
260
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
261
- /* harmony export */ "Y": function() { return /* binding */ getTextLeftOfCursor; },
262
- /* harmony export */ "p": function() { return /* binding */ replaceTextLeftOfCursorAfterSpace; }
263
- /* harmony export */ });
264
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44913);
265
- /*!
266
- * Jodit Editor PRO (https://xdsoft.net/jodit/)
267
- * See LICENSE.md in the project root for license information.
268
- * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
269
- */
270
-
271
- /**
272
- * For collapsed selection return left text value before cursor
273
- * @example
274
- * ```
275
- * <p><string>test</strong>pop|</p> => pop
276
- * <p><string>test|</strong>pop</p> => test
277
- * <p><string>te|st</strong>pop</p> => te
278
- * ```
279
- */
280
- function getTextLeftOfCursor(range) {
281
- const { startContainer, startOffset } = range;
282
- if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
283
- return startContainer.nodeValue?.substr(0, startOffset) ?? '';
284
- }
285
- const node = startContainer.childNodes[startOffset];
286
- if (!node) {
287
- return '';
288
- }
289
- if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(node)) {
290
- return node.nodeValue ?? '';
291
- }
292
- const previous = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.findNotEmptyNeighbor */ .i.findNotEmptyNeighbor(node, true, startContainer);
293
- if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(previous)) {
294
- return node.nodeValue ?? '';
295
- }
296
- return '';
297
- }
298
- /**
299
- * For collapsed selection replace part of left text value before cursor but started after space
300
- * @example
301
- * ```
302
- * <p><string>test</strong>pap|</p> + pappy = <p><string>test</strong>pappy|</p>
303
- * <p><string>test</strong>pap| test</p> + pappy = <p><string>test</strong>pappy| test</p>
304
- * <p><string>test</strong>stat pap| test</p> + pappy = <p><string>test</strong>stat pappy| test</p>
305
- * ```
306
- */
307
- function replaceTextLeftOfCursorAfterSpace(range, elm) {
308
- // eslint-disable-next-line prefer-const
309
- let { startContainer, startOffset } = range;
310
- if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
311
- startContainer = startContainer.childNodes[startOffset - 1];
312
- if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
313
- startOffset = startContainer.nodeValue?.length ?? 0;
314
- }
315
- }
316
- if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
317
- const value = startContainer.nodeValue ?? '', leftSide = value.substring(0, startOffset), rightSide = value.substring(startOffset);
318
- const words = leftSide.split(' ');
319
- words[words.length - 1] = '';
320
- const newLeftSide = words.join(' ');
321
- startContainer.nodeValue = newLeftSide + rightSide;
322
- range.setStart(startContainer, newLeftSide.length);
323
- range.insertNode(elm);
324
- return;
325
- }
326
- }
327
-
328
-
329
- /***/ }),
330
-
331
- /***/ 77325:
332
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
333
-
334
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
335
- /* harmony export */ "F": function() { return /* binding */ Autocomplete; }
336
- /* harmony export */ });
337
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
338
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(50526);
339
- /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75004);
340
- /* harmony import */ var _item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91381);
341
- /*!
342
- * Jodit Editor PRO (https://xdsoft.net/jodit/)
343
- * See LICENSE.md in the project root for license information.
344
- * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
345
- */
346
-
347
-
348
-
349
-
350
-
351
- let Autocomplete = class Autocomplete extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIGroup */ .qe {
352
- constructor() {
353
- super(...arguments);
354
- this.elements = [];
355
- this.currentSelection = -1;
356
- }
357
- /** @override */
358
- className() {
359
- return 'Autocomplete';
360
- }
361
- onChangeSelection(_, previous) {
362
- previous != null && this.elements[previous]?.setMod('active', false);
363
- this.elements[this.currentSelection].setMod('active', true);
364
- this.elements[this.currentSelection].container.scrollIntoView(false);
365
- }
366
- build(list) {
367
- this.clear();
368
- list.forEach((elm, index) => {
369
- const item = new _item__WEBPACK_IMPORTED_MODULE_2__/* .AutocompleteItem */ .h(this.jodit, elm);
370
- this.j.e
371
- .on(item.container, 'mousedown touchstart', (e) => {
372
- e.preventDefault();
373
- })
374
- .on(item.container, 'click', () => {
375
- this.currentSelection = index;
376
- this.select();
377
- });
378
- this.append(item);
379
- });
380
- this.currentSelection = 0;
381
- this.onChangeSelection();
382
- }
383
- selectNext() {
384
- if (this.currentSelection + 1 <= this.elements.length - 1) {
385
- this.currentSelection += 1;
386
- }
387
- else {
388
- this.currentSelection = 0;
389
- }
390
- }
391
- selectPrevious() {
392
- if (this.currentSelection - 1 >= 0) {
393
- this.currentSelection -= 1;
394
- }
395
- else {
396
- this.currentSelection = this.elements.length - 1;
397
- }
398
- }
399
- select() {
400
- this.j.e.fire('select.autocomplete', this.elements[this.currentSelection].item);
401
- }
402
- };
403
- (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
404
- (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.watch)('currentSelection')
405
- ], Autocomplete.prototype, "onChangeSelection", null);
406
- Autocomplete = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
407
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
408
- ], Autocomplete);
409
-
410
-
411
- /***/ }),
412
-
413
- /***/ 91381:
414
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
415
-
416
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
417
- /* harmony export */ "h": function() { return /* binding */ AutocompleteItem; }
418
- /* harmony export */ });
419
- /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
420
- /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95582);
421
- /*!
422
- * Jodit Editor PRO (https://xdsoft.net/jodit/)
423
- * See LICENSE.md in the project root for license information.
424
- * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
425
- */
426
-
427
-
428
-
429
- class AutocompleteItem extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIElement */ .u1 {
430
- /** @override */
431
- className() {
432
- return 'AutocompleteItem';
433
- }
434
- constructor(jodit, item) {
435
- super(jodit);
436
- this.item = item;
437
- const { container } = this;
438
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isFunction)(item.itemRenderer)) {
439
- const elm = item.itemRenderer(item);
440
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(elm)) {
441
- container.innerHTML = elm;
442
- }
443
- else {
444
- container.appendChild(elm);
445
- }
446
- }
447
- else {
448
- container.innerText = item.title ?? item.value;
449
- }
450
- }
451
- }
452
-
453
-
454
- /***/ })
455
-
456
- },
20
+ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).push([[633],{},
457
21
  /******/ function(__webpack_require__) { // webpackRuntimeModules
458
22
  /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
459
23
  /******/ var __webpack_exports__ = (__webpack_exec__(93123));
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- "use strict";((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[633],{93123(e,t,o){o.r(t),o.d(t,{autocomplete(){return m}});var n=o(97582),s=o(7324),i=o(77628),r=o(50526),l=o(95582),u=o(44913),c=o(19797),p=o(11612),a=o(77325),h=o(88292),d=o(47325);i.Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery(e,t){return 0===t.toLowerCase().indexOf(e.toLowerCase())},itemRenderer(e){return e.title??e.value},insertValueRenderer(e){return e.value+"&nbsp;"}};class m extends s.S{constructor(){super(...arguments),this.hasStyle=!h.y.fatMode,this.sources=[]}afterInit(e){this.popup=new c.G(e),this.popup.setMod("padding",!1),this.list=new a.F(e),this.popup.setContent(this.list.container),e.e.on("select.autocomplete",(t=>{let o=t.value;(0,l.isFunction)(t.insertValueRenderer)&&(o=t.insertValueRenderer(t)),u.i.isNode(o)||(o=e.createInside.fromHTML(o)),(0,d.p)(e.s.range,o),this.j.s.setCursorAfter(o),this.j.synchronizeValues(),this.popup.close()})).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,{top:!0}).on("beforeEnter.autocomplete",this.onEnter,{top:!0}).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}static isControlKey(e){return e===p.KEY_DOWN||e===p.KEY_UP||e===p.KEY_ENTER||e===p.KEY_TAB}async onKeyDown(e){if(e.key===p.KEY_ESC)return void(this.popup.isOpened&&this.popup.close());const{s:t}=this.j;if(m.isControlKey(e.key)||!t.isInsideArea||!t.isCollapsed)return;const o=this.j.s.sel?.rangeCount?this.j.s.sel?.getRangeAt(0):null,n=o&&(0,d.Y)(o).split(" ").pop();if(n&&(0,l.trim)(n).length){const e=await this.onAutoComplete(n);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&m.isControlKey(e.key)){switch(e.key){case p.KEY_DOWN:this.list.selectNext();break;case p.KEY_UP:this.list.selectPrevious();break;case p.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){const t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map((async o=>{t.push(...await this.resolveFeed(e,o))}))),t}async resolveFeed(e,t,o){let n;if((0,l.isPromise)(t)&&(t=await t),(0,l.isFunction)(t))n=await t(e);else if((0,l.isArray)(t)){const o=t,{isMatchedQuery:s}=this.j.o.autocomplete;n=o.filter((t=>(0,l.isString)(t)?s(e,t):s(e,t.value))).map((e=>(0,l.isString)(e)?{title:e,value:e}:e))}else n=await this.resolveFeed(e,t.feed,t);if(n&&(0,l.isArray)(n)){const{itemRenderer:e,insertValueRenderer:t,maxItems:s}=this.j.o.autocomplete;return n=n.map((n=>({itemRenderer:o?.itemRenderer??e,insertValueRenderer:o?.insertValueRenderer??t,...n}))),n.slice(0,s)}return[]}openPopup(e){this.list.build(e),this.popup.open((()=>{const{j:e}=this,t=e.s.range.getBoundingClientRect(),o={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){const t=(0,l.position)(e.iframe,e);o.top+=t.top,o.left+=t.left}return o}))}beforeDestruct(e){e.e.off(this.list).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}}m.requires=["enter","license"],(0,n.gn)([r.autobind],m.prototype,"registerAutocompleteSource",null),(0,n.gn)([(0,r.debounce)()],m.prototype,"onKeyDown",null),(0,n.gn)([r.autobind],m.prototype,"onKeyControlDown",null),(0,n.gn)([r.autobind],m.prototype,"onEnter",null),(0,n.gn)([r.autobind],m.prototype,"onAutoComplete",null),(0,n.gn)([r.autobind],m.prototype,"resolveFeed",null),h.y.plugins.add("autocomplete",m)},47325(e,t,o){o.d(t,{Y(){return s},p(){return i}});var n=o(44913);function s(e){const{startContainer:t,startOffset:o}=e;if(n.i.isText(t))return t.nodeValue?.substr(0,o)??"";const s=t.childNodes[o];if(!s)return"";if(n.i.isText(s))return s.nodeValue??"";const i=n.i.findNotEmptyNeighbor(s,!0,t);return n.i.isText(i)?s.nodeValue??"":""}function i(e,t){let{startContainer:o,startOffset:s}=e;if(n.i.isText(o)||(o=o.childNodes[s-1],n.i.isText(o)&&(s=o.nodeValue?.length??0)),n.i.isText(o)){const n=o.nodeValue??"",i=n.substring(0,s),r=n.substring(s),l=i.split(" ");l[l.length-1]="";const u=l.join(" ");return o.nodeValue=u+r,e.setStart(o,u.length),void e.insertNode(t)}}},77325(e,t,o){o.d(t,{F(){return l}});var n=o(97582),s=o(50526),i=o(75004),r=o(91381);let l=class e extends i.qe{constructor(){super(...arguments),this.elements=[],this.currentSelection=-1}className(){return"Autocomplete"}onChangeSelection(e,t){null!=t&&this.elements[t]?.setMod("active",!1),this.elements[this.currentSelection].setMod("active",!0),this.elements[this.currentSelection].container.scrollIntoView(!1)}build(e){this.clear(),e.forEach(((e,t)=>{const o=new r.h(this.jodit,e);this.j.e.on(o.container,"mousedown touchstart",(e=>{e.preventDefault()})).on(o.container,"click",(()=>{this.currentSelection=t,this.select()})),this.append(o)})),this.currentSelection=0,this.onChangeSelection()}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}};(0,n.gn)([(0,s.watch)("currentSelection")],l.prototype,"onChangeSelection",null),l=(0,n.gn)([s.component],l)},91381(e,t,o){o.d(t,{h(){return i}});var n=o(75004),s=o(95582);class i extends n.u1{className(){return"AutocompleteItem"}constructor(e,t){super(e),this.item=t;const{container:o}=this;if((0,s.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,s.isString)(e)?o.innerHTML=e:o.appendChild(e)}else o.innerText=t.title??t.value}}}},e=>e(e.s=93123)])}));
10
+ "use strict";((e,o)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var f in t)("object"==typeof exports?exports:e)[f]=t[f]}})(self,(()=>(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[633],{},e=>e(e.s=93123)])));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v2.0.0-beta.12
4
+ * Version: v2.0.0-beta.21
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -36,11 +36,11 @@ __webpack_require__.r(__webpack_exports__);
36
36
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(97582);
37
37
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19775);
38
38
  /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7324);
39
+ /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75004);
40
+ /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50526);
41
+ /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53852);
39
42
  /* harmony import */ var _modules_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1844);
40
- /* harmony import */ var _ui_box__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71298);
41
- /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(75004);
42
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50526);
43
- /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(88292);
43
+ /* harmony import */ var _ui_box__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71298);
44
44
  /*!
45
45
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
46
46
  * See LICENSE.md in the project root for license information.
@@ -58,7 +58,7 @@ class backup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
58
58
  constructor() {
59
59
  super(...arguments);
60
60
  /** @override */
61
- this.hasStyle = !_JoditPro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.fatMode */ .y.fatMode;
61
+ this.hasStyle = !jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__/* .JoditPro.fatMode */ .y.fatMode;
62
62
  /** @override */
63
63
  this.buttons = [
64
64
  {
@@ -66,7 +66,7 @@ class backup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
66
66
  group: 'history'
67
67
  }
68
68
  ];
69
- this.__box = new _ui_box__WEBPACK_IMPORTED_MODULE_2__/* .UIBackupBox */ .j(this.j);
69
+ this.__box = new _ui_box__WEBPACK_IMPORTED_MODULE_5__/* .UIBackupBox */ .j(this.j);
70
70
  this.__dialog = null;
71
71
  this.__storage = this.jodit.o.backup.remoteStore ?? new _modules_store__WEBPACK_IMPORTED_MODULE_6__/* .DefaultStorage */ .W(this.jodit);
72
72
  this.timeout = 0;
@@ -135,16 +135,16 @@ class backup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
135
135
  }
136
136
  addButtonsToDialog() {
137
137
  const { jodit } = this;
138
- const ok = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .zx)(jodit, {
138
+ const ok = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .Button */ .zx)(jodit, {
139
139
  name: 'ok',
140
140
  tabIndex: 0,
141
141
  variant: 'primary',
142
142
  text: 'Ok'
143
- }), cancel = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .zx)(jodit, {
143
+ }), cancel = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .Button */ .zx)(jodit, {
144
144
  variant: 'secondary',
145
145
  tabIndex: 0,
146
146
  text: 'Cancel'
147
- }), clear = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .zx)(jodit, {
147
+ }), clear = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .Button */ .zx)(jodit, {
148
148
  name: 'clear',
149
149
  tabIndex: 0,
150
150
  variant: 'secondary',
@@ -164,7 +164,7 @@ class backup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
164
164
  }
165
165
  });
166
166
  });
167
- const block = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .UIBlock */ .eC(jodit, [clear, cancel, ok]);
167
+ const block = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .eC(jodit, [clear, cancel, ok]);
168
168
  block.container.style.margin = '0';
169
169
  block.container.style.justifyContent = 'flex-end';
170
170
  block.container.style.width = '100%';
@@ -184,15 +184,15 @@ class backup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
184
184
  /** @override */
185
185
  backup.requires = ['license'];
186
186
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
187
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
187
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
188
188
  ], backup.prototype, "onSaveBackup", null);
189
189
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
190
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
190
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
191
191
  ], backup.prototype, "onOpenBackupDialog", null);
192
192
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
193
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_4__.autobind
193
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
194
194
  ], backup.prototype, "onSelectItem", null);
195
- _JoditPro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.plugins.add */ .y.plugins.add('backup', backup);
195
+ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_4__/* .JoditPro.plugins.add */ .y.plugins.add('backup', backup);
196
196
 
197
197
 
198
198
  /***/ }),
@@ -204,6 +204,9 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.plugins.add */ .y.plugins.add
204
204
  /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
205
205
  /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10503);
206
206
  /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81160);
207
+ /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10188);
208
+ /* harmony import */ var _assets_restore_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50722);
209
+ /* harmony import */ var _assets_restore_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assets_restore_svg__WEBPACK_IMPORTED_MODULE_3__);
207
210
  /*!
208
211
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
209
212
  * See LICENSE.md in the project root for license information.
@@ -212,6 +215,8 @@ _JoditPro__WEBPACK_IMPORTED_MODULE_5__/* .JoditPro.plugins.add */ .y.plugins.add
212
215
 
213
216
 
214
217
 
218
+
219
+
215
220
  jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.backup = {
216
221
  interval: 30,
217
222
  limit: 50,
@@ -231,8 +236,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.backup = {
231
236
  }
232
237
  }
233
238
  };
234
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('restore', __webpack_require__(50722));
235
- (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .xl)(__webpack_require__(10188));
239
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon.set */ .J.set('restore', (_assets_restore_svg__WEBPACK_IMPORTED_MODULE_3___default()));
240
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .xl)(_langs__WEBPACK_IMPORTED_MODULE_4__);
236
241
 
237
242
 
238
243
  /***/ }),
@@ -305,7 +310,7 @@ class DefaultStorage {
305
310
  /* harmony export */ });
306
311
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
307
312
  /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(50526);
308
- /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75004);
313
+ /* harmony import */ var jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84789);
309
314
  /* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75696);
310
315
  /*!
311
316
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
@@ -317,7 +322,7 @@ class DefaultStorage {
317
322
 
318
323
 
319
324
 
320
- let UIBackupBox = class UIBackupBox extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIElement */ .u1 {
325
+ let UIBackupBox = class UIBackupBox extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .UIElement */ .u {
321
326
  /** @override */
322
327
  className() {
323
328
  return 'UIBackupBox';