argous 1.2.202 → 1.2.203

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 (407) hide show
  1. package/dist/components/ConfirmModal/ModalProvider.d.ts +1 -1
  2. package/dist/components/Editor/components/Editor.d.ts +4 -4
  3. package/dist/components/Editor/components/Editor.js +3 -3
  4. package/dist/components/Editor/skins/content/dark/content.d.ts +0 -0
  5. package/dist/components/Editor/skins/content/dark/content.js +3 -0
  6. package/dist/components/Editor/skins/content/default/content.d.ts +0 -0
  7. package/dist/components/Editor/skins/content/default/content.js +3 -0
  8. package/dist/components/Editor/skins/content/document/content.d.ts +0 -0
  9. package/dist/components/Editor/skins/content/document/content.js +3 -0
  10. package/dist/components/Editor/skins/content/tinymce-5/content.d.ts +0 -0
  11. package/dist/components/Editor/skins/content/tinymce-5/content.js +3 -0
  12. package/dist/components/Editor/skins/content/tinymce-5-dark/content.d.ts +0 -0
  13. package/dist/components/Editor/skins/content/tinymce-5-dark/content.js +3 -0
  14. package/dist/components/Editor/skins/content/writer/content.d.ts +0 -0
  15. package/dist/components/Editor/skins/content/writer/content.js +3 -0
  16. package/dist/components/Editor/skins/ui/oxide/content.d.ts +0 -0
  17. package/dist/components/Editor/skins/ui/oxide/content.inline.d.ts +0 -0
  18. package/dist/components/Editor/skins/ui/oxide/content.inline.js +3 -0
  19. package/dist/components/Editor/skins/ui/oxide/content.js +3 -0
  20. package/dist/components/Editor/skins/ui/oxide/skin.d.ts +0 -0
  21. package/dist/components/Editor/skins/ui/oxide/skin.js +3 -0
  22. package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.d.ts +0 -0
  23. package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.js +3 -0
  24. package/dist/components/Editor/skins/ui/oxide-dark/content.d.ts +0 -0
  25. package/dist/components/Editor/skins/ui/oxide-dark/content.inline.d.ts +0 -0
  26. package/dist/components/Editor/skins/ui/oxide-dark/content.inline.js +3 -0
  27. package/dist/components/Editor/skins/ui/oxide-dark/content.js +3 -0
  28. package/dist/components/Editor/skins/ui/oxide-dark/skin.d.ts +0 -0
  29. package/dist/components/Editor/skins/ui/oxide-dark/skin.js +3 -0
  30. package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.d.ts +0 -0
  31. package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.js +3 -0
  32. package/dist/components/Editor/skins/ui/tinymce-5/content.d.ts +0 -0
  33. package/dist/components/Editor/skins/ui/tinymce-5/content.inline.d.ts +0 -0
  34. package/dist/components/Editor/skins/ui/tinymce-5/content.inline.js +3 -0
  35. package/dist/components/Editor/skins/ui/tinymce-5/content.js +3 -0
  36. package/dist/components/Editor/skins/ui/tinymce-5/skin.d.ts +0 -0
  37. package/dist/components/Editor/skins/ui/tinymce-5/skin.js +3 -0
  38. package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.d.ts +0 -0
  39. package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.js +3 -0
  40. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.d.ts +0 -0
  41. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.d.ts +0 -0
  42. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.js +3 -0
  43. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.js +3 -0
  44. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.d.ts +0 -0
  45. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.js +3 -0
  46. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.d.ts +0 -0
  47. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.js +3 -0
  48. package/dist/components/Editor/tinymce/tinymce.d.ts +1722 -1447
  49. package/lib/components/Editor/components/Editor.tsx +8 -8
  50. package/lib/components/Editor/skins/content/dark/content.js +2 -0
  51. package/lib/components/Editor/skins/content/dark/content.min.css +1 -8
  52. package/lib/components/Editor/skins/content/default/content.js +2 -0
  53. package/lib/components/Editor/skins/content/default/content.min.css +0 -7
  54. package/lib/components/Editor/skins/content/document/content.js +2 -0
  55. package/lib/components/Editor/skins/content/document/content.min.css +0 -7
  56. package/lib/components/Editor/skins/content/tinymce-5/content.js +2 -0
  57. package/lib/components/Editor/skins/content/tinymce-5/content.min.css +1 -0
  58. package/lib/components/Editor/skins/content/tinymce-5-dark/content.js +2 -0
  59. package/lib/components/Editor/skins/content/tinymce-5-dark/content.min.css +1 -0
  60. package/lib/components/Editor/skins/content/writer/content.js +2 -0
  61. package/lib/components/Editor/skins/content/writer/content.min.css +0 -7
  62. package/lib/components/Editor/skins/ui/oxide/content.inline.js +2 -0
  63. package/lib/components/Editor/skins/ui/oxide/content.inline.min.css +1 -0
  64. package/lib/components/Editor/skins/ui/oxide/content.js +2 -0
  65. package/lib/components/Editor/skins/ui/oxide/content.min.css +1 -0
  66. package/lib/components/Editor/skins/ui/oxide/skin.js +2 -0
  67. package/lib/components/Editor/skins/ui/oxide/skin.min.css +1 -0
  68. package/lib/components/Editor/skins/ui/oxide/skin.shadowdom.js +2 -0
  69. package/lib/components/Editor/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  70. package/lib/components/Editor/skins/ui/oxide-dark/content.inline.js +2 -0
  71. package/lib/components/Editor/skins/ui/oxide-dark/content.inline.min.css +1 -0
  72. package/lib/components/Editor/skins/ui/oxide-dark/content.js +2 -0
  73. package/lib/components/Editor/skins/ui/oxide-dark/content.min.css +1 -0
  74. package/lib/components/Editor/skins/ui/oxide-dark/skin.js +2 -0
  75. package/lib/components/Editor/skins/ui/oxide-dark/skin.min.css +1 -0
  76. package/lib/components/Editor/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  77. package/lib/components/Editor/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  78. package/lib/components/Editor/skins/ui/tinymce-5/content.inline.js +2 -0
  79. package/lib/components/Editor/skins/ui/tinymce-5/content.inline.min.css +1 -0
  80. package/lib/components/Editor/skins/ui/tinymce-5/content.js +2 -0
  81. package/lib/components/Editor/skins/ui/tinymce-5/content.min.css +1 -0
  82. package/lib/components/Editor/skins/ui/tinymce-5/skin.js +2 -0
  83. package/lib/components/Editor/skins/ui/tinymce-5/skin.min.css +1 -0
  84. package/lib/components/Editor/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
  85. package/lib/components/Editor/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
  86. package/lib/components/Editor/skins/ui/tinymce-5-dark/content.inline.js +2 -0
  87. package/lib/components/Editor/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
  88. package/lib/components/Editor/skins/ui/tinymce-5-dark/content.js +2 -0
  89. package/lib/components/Editor/skins/ui/tinymce-5-dark/content.min.css +1 -0
  90. package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.js +2 -0
  91. package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.min.css +1 -0
  92. package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
  93. package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
  94. package/lib/components/Editor/tinymce/README.md +24 -14
  95. package/lib/components/Editor/tinymce/icons/default/icons.js +185 -163
  96. package/lib/components/Editor/tinymce/icons/default/icons.min.js +1 -1
  97. package/lib/components/Editor/tinymce/langs/README.md +1 -1
  98. package/lib/components/Editor/tinymce/license.txt +21 -504
  99. package/lib/components/Editor/tinymce/models/dom/model.js +8040 -0
  100. package/lib/components/Editor/tinymce/models/dom/model.min.js +4 -0
  101. package/lib/components/Editor/tinymce/plugins/accordion/plugin.js +1054 -0
  102. package/lib/components/Editor/tinymce/plugins/accordion/plugin.min.js +4 -0
  103. package/lib/components/Editor/tinymce/plugins/advlist/plugin.js +187 -208
  104. package/lib/components/Editor/tinymce/plugins/advlist/plugin.min.js +2 -7
  105. package/lib/components/Editor/tinymce/plugins/anchor/plugin.js +82 -84
  106. package/lib/components/Editor/tinymce/plugins/anchor/plugin.min.js +2 -7
  107. package/lib/components/Editor/tinymce/plugins/autolink/plugin.js +210 -167
  108. package/lib/components/Editor/tinymce/plugins/autolink/plugin.min.js +2 -7
  109. package/lib/components/Editor/tinymce/plugins/autoresize/plugin.js +118 -97
  110. package/lib/components/Editor/tinymce/plugins/autoresize/plugin.min.js +2 -7
  111. package/lib/components/Editor/tinymce/plugins/autosave/plugin.js +129 -108
  112. package/lib/components/Editor/tinymce/plugins/autosave/plugin.min.js +2 -7
  113. package/lib/components/Editor/tinymce/plugins/charmap/plugin.js +285 -333
  114. package/lib/components/Editor/tinymce/plugins/charmap/plugin.min.js +2 -7
  115. package/lib/components/Editor/tinymce/plugins/code/plugin.js +19 -26
  116. package/lib/components/Editor/tinymce/plugins/code/plugin.min.js +2 -7
  117. package/lib/components/Editor/tinymce/plugins/codesample/plugin.js +2225 -2094
  118. package/lib/components/Editor/tinymce/plugins/codesample/plugin.min.js +2 -7
  119. package/lib/components/Editor/tinymce/plugins/directionality/plugin.js +318 -243
  120. package/lib/components/Editor/tinymce/plugins/directionality/plugin.min.js +2 -7
  121. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojiimages.js +1 -9424
  122. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojiimages.min.js +1 -1
  123. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojis.js +1 -9423
  124. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojis.min.js +1 -1
  125. package/lib/components/Editor/tinymce/plugins/emoticons/plugin.js +406 -416
  126. package/lib/components/Editor/tinymce/plugins/emoticons/plugin.min.js +2 -7
  127. package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.js +821 -604
  128. package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.min.js +2 -7
  129. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
  130. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
  131. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
  132. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
  133. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
  134. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
  135. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
  136. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
  137. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
  138. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
  139. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
  140. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
  141. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
  142. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
  143. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
  144. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
  145. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
  146. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
  147. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
  148. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
  149. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
  150. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
  151. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
  152. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
  153. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
  154. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
  155. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
  156. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
  157. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
  158. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
  159. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
  160. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
  161. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
  162. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
  163. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
  164. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
  165. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
  166. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
  167. package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
  168. package/lib/components/Editor/tinymce/plugins/help/plugin.js +428 -403
  169. package/lib/components/Editor/tinymce/plugins/help/plugin.min.js +2 -7
  170. package/lib/components/Editor/tinymce/plugins/image/plugin.js +887 -1043
  171. package/lib/components/Editor/tinymce/plugins/image/plugin.min.js +2 -7
  172. package/lib/components/Editor/tinymce/plugins/importcss/plugin.js +163 -162
  173. package/lib/components/Editor/tinymce/plugins/importcss/plugin.min.js +2 -7
  174. package/lib/components/Editor/tinymce/plugins/insertdatetime/plugin.js +101 -91
  175. package/lib/components/Editor/tinymce/plugins/insertdatetime/plugin.min.js +2 -7
  176. package/lib/components/Editor/tinymce/plugins/link/plugin.js +739 -784
  177. package/lib/components/Editor/tinymce/plugins/link/plugin.min.js +2 -7
  178. package/lib/components/Editor/tinymce/plugins/lists/plugin.js +1282 -1396
  179. package/lib/components/Editor/tinymce/plugins/lists/plugin.min.js +2 -7
  180. package/lib/components/Editor/tinymce/plugins/media/plugin.js +641 -806
  181. package/lib/components/Editor/tinymce/plugins/media/plugin.min.js +2 -7
  182. package/lib/components/Editor/tinymce/plugins/nonbreaking/plugin.js +76 -54
  183. package/lib/components/Editor/tinymce/plugins/nonbreaking/plugin.min.js +2 -7
  184. package/lib/components/Editor/tinymce/plugins/pagebreak/plugin.js +58 -46
  185. package/lib/components/Editor/tinymce/plugins/pagebreak/plugin.min.js +2 -7
  186. package/lib/components/Editor/tinymce/plugins/preview/plugin.js +39 -69
  187. package/lib/components/Editor/tinymce/plugins/preview/plugin.min.js +2 -7
  188. package/lib/components/Editor/tinymce/plugins/quickbars/plugin.js +307 -349
  189. package/lib/components/Editor/tinymce/plugins/quickbars/plugin.min.js +2 -7
  190. package/lib/components/Editor/tinymce/plugins/save/plugin.js +50 -51
  191. package/lib/components/Editor/tinymce/plugins/save/plugin.min.js +2 -7
  192. package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.js +517 -587
  193. package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.min.js +2 -7
  194. package/lib/components/Editor/tinymce/plugins/table/plugin.js +2666 -10142
  195. package/lib/components/Editor/tinymce/plugins/table/plugin.min.js +2 -7
  196. package/lib/components/Editor/tinymce/plugins/template/plugin.js +403 -413
  197. package/lib/components/Editor/tinymce/plugins/template/plugin.min.js +2 -7
  198. package/lib/components/Editor/tinymce/plugins/visualblocks/plugin.js +42 -48
  199. package/lib/components/Editor/tinymce/plugins/visualblocks/plugin.min.js +2 -7
  200. package/lib/components/Editor/tinymce/plugins/visualchars/plugin.js +352 -333
  201. package/lib/components/Editor/tinymce/plugins/visualchars/plugin.min.js +2 -7
  202. package/lib/components/Editor/tinymce/plugins/wordcount/plugin.js +184 -195
  203. package/lib/components/Editor/tinymce/plugins/wordcount/plugin.min.js +2 -7
  204. package/lib/components/Editor/tinymce/skins/content/dark/content.css +2 -8
  205. package/lib/components/Editor/tinymce/skins/content/dark/content.js +2 -0
  206. package/lib/components/Editor/tinymce/skins/content/dark/content.js.map +1 -0
  207. package/lib/components/Editor/tinymce/skins/content/dark/content.min.css +2 -8
  208. package/lib/components/Editor/tinymce/skins/content/dark/content.min.css.map +1 -1
  209. package/lib/components/Editor/tinymce/skins/content/default/content.css +0 -6
  210. package/lib/components/Editor/tinymce/skins/content/default/content.js +2 -0
  211. package/lib/components/Editor/tinymce/skins/content/default/content.js.map +1 -0
  212. package/lib/components/Editor/tinymce/skins/content/default/content.min.css +1 -7
  213. package/lib/components/Editor/tinymce/skins/content/default/content.min.css.map +1 -1
  214. package/lib/components/Editor/tinymce/skins/content/document/content.css +0 -6
  215. package/lib/components/Editor/tinymce/skins/content/document/content.js +2 -0
  216. package/lib/components/Editor/tinymce/skins/content/document/content.js.map +1 -0
  217. package/lib/components/Editor/tinymce/skins/content/document/content.min.css +0 -6
  218. package/lib/components/Editor/tinymce/skins/content/document/content.min.css.map +1 -1
  219. package/lib/components/Editor/{skins/content/default → tinymce/skins/content/tinymce-5}/content.css +0 -6
  220. package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.js +2 -0
  221. package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.js.map +1 -0
  222. package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.min.css +2 -0
  223. package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.min.css.map +1 -0
  224. package/lib/components/Editor/{skins/content/dark → tinymce/skins/content/tinymce-5-dark}/content.css +1 -7
  225. package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
  226. package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.js.map +1 -0
  227. package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css +2 -0
  228. package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css.map +1 -0
  229. package/lib/components/Editor/tinymce/skins/content/writer/content.css +0 -6
  230. package/lib/components/Editor/tinymce/skins/content/writer/content.js +2 -0
  231. package/lib/components/Editor/tinymce/skins/content/writer/content.js.map +1 -0
  232. package/lib/components/Editor/tinymce/skins/content/writer/content.min.css +0 -6
  233. package/lib/components/Editor/tinymce/skins/content/writer/content.min.css.map +1 -1
  234. package/lib/components/Editor/tinymce/skins/ui/oxide/content.css +74 -21
  235. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.css +74 -21
  236. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.js +2 -0
  237. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.js.map +1 -0
  238. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css +1 -7
  239. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css.map +1 -1
  240. package/lib/components/Editor/tinymce/skins/ui/oxide/content.js +2 -0
  241. package/lib/components/Editor/tinymce/skins/ui/oxide/content.js.map +1 -0
  242. package/lib/components/Editor/tinymce/skins/ui/oxide/content.min.css +1 -7
  243. package/lib/components/Editor/tinymce/skins/ui/oxide/content.min.css.map +1 -1
  244. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.css +1131 -402
  245. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.js +2 -0
  246. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.js.map +1 -0
  247. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.min.css +1 -7
  248. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.min.css.map +1 -1
  249. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.css +8 -15
  250. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  251. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.js.map +1 -0
  252. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -7
  253. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css.map +1 -1
  254. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.css +72 -20
  255. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.css +74 -21
  256. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  257. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.js.map +1 -0
  258. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -7
  259. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css.map +1 -1
  260. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.js +2 -0
  261. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.js.map +1 -0
  262. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css +1 -7
  263. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css.map +1 -1
  264. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.css +1155 -423
  265. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  266. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.js.map +1 -0
  267. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css +1 -7
  268. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css.map +1 -1
  269. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +8 -15
  270. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  271. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js.map +1 -0
  272. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -7
  273. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.map +1 -1
  274. package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/content.css +75 -22
  275. package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/content.inline.css +75 -22
  276. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
  277. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.js.map +1 -0
  278. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +2 -0
  279. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css.map +1 -0
  280. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.js +2 -0
  281. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.js.map +1 -0
  282. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css +2 -0
  283. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css.map +1 -0
  284. package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/skin.css +1261 -438
  285. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.js +2 -0
  286. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.js.map +1 -0
  287. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css +2 -0
  288. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css.map +1 -0
  289. package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/skin.shadowdom.css +8 -15
  290. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
  291. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js.map +1 -0
  292. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +2 -0
  293. package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.map +1 -0
  294. package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/content.css +73 -21
  295. package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/content.inline.css +75 -22
  296. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
  297. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js.map +1 -0
  298. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +2 -0
  299. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.map +1 -0
  300. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
  301. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.js.map +1 -0
  302. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +2 -0
  303. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css.map +1 -0
  304. package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/skin.css +1244 -421
  305. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
  306. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.js.map +1 -0
  307. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +2 -0
  308. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css.map +1 -0
  309. package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/skin.shadowdom.css +8 -15
  310. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
  311. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js.map +1 -0
  312. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +2 -0
  313. package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.map +1 -0
  314. package/lib/components/Editor/tinymce/themes/silver/theme.js +23228 -24955
  315. package/lib/components/Editor/tinymce/themes/silver/theme.min.js +2 -7
  316. package/lib/components/Editor/tinymce/tinymce.d.ts +1722 -1447
  317. package/lib/components/Editor/tinymce/tinymce.js +23668 -22018
  318. package/lib/components/Editor/tinymce/tinymce.min.js +2 -30104
  319. package/package.json +1 -1
  320. package/lib/components/Editor/skins/content/dark/content.min.css.map +0 -1
  321. package/lib/components/Editor/skins/content/default/content.min.css.map +0 -1
  322. package/lib/components/Editor/skins/content/document/content.css +0 -72
  323. package/lib/components/Editor/skins/content/document/content.min.css.map +0 -1
  324. package/lib/components/Editor/skins/content/writer/content.css +0 -68
  325. package/lib/components/Editor/skins/content/writer/content.min.css.map +0 -1
  326. package/lib/components/Editor/skins/ui/dark/content.inline.min.css +0 -8
  327. package/lib/components/Editor/skins/ui/dark/content.inline.min.css.map +0 -1
  328. package/lib/components/Editor/skins/ui/dark/content.min.css +0 -8
  329. package/lib/components/Editor/skins/ui/dark/content.min.css.map +0 -1
  330. package/lib/components/Editor/skins/ui/dark/content.mobile.css +0 -29
  331. package/lib/components/Editor/skins/ui/dark/content.mobile.min.css +0 -8
  332. package/lib/components/Editor/skins/ui/dark/content.mobile.min.css.map +0 -1
  333. package/lib/components/Editor/skins/ui/dark/fonts/tinymce-mobile.woff +0 -0
  334. package/lib/components/Editor/skins/ui/dark/skin.min.css +0 -8
  335. package/lib/components/Editor/skins/ui/dark/skin.min.css.map +0 -1
  336. package/lib/components/Editor/skins/ui/dark/skin.mobile.css +0 -673
  337. package/lib/components/Editor/skins/ui/dark/skin.mobile.min.css +0 -8
  338. package/lib/components/Editor/skins/ui/dark/skin.mobile.min.css.map +0 -1
  339. package/lib/components/Editor/skins/ui/dark/skin.shadowdom.min.css +0 -8
  340. package/lib/components/Editor/skins/ui/dark/skin.shadowdom.min.css.map +0 -1
  341. package/lib/components/Editor/skins/ui/default/content.inline.min.css +0 -8
  342. package/lib/components/Editor/skins/ui/default/content.inline.min.css.map +0 -1
  343. package/lib/components/Editor/skins/ui/default/content.min.css +0 -8
  344. package/lib/components/Editor/skins/ui/default/content.min.css.map +0 -1
  345. package/lib/components/Editor/skins/ui/default/content.mobile.css +0 -29
  346. package/lib/components/Editor/skins/ui/default/content.mobile.min.css +0 -8
  347. package/lib/components/Editor/skins/ui/default/content.mobile.min.css.map +0 -1
  348. package/lib/components/Editor/skins/ui/default/fonts/tinymce-mobile.woff +0 -0
  349. package/lib/components/Editor/skins/ui/default/skin.min.css +0 -8
  350. package/lib/components/Editor/skins/ui/default/skin.min.css.map +0 -1
  351. package/lib/components/Editor/skins/ui/default/skin.mobile.css +0 -673
  352. package/lib/components/Editor/skins/ui/default/skin.mobile.min.css +0 -8
  353. package/lib/components/Editor/skins/ui/default/skin.mobile.min.css.map +0 -1
  354. package/lib/components/Editor/skins/ui/default/skin.shadowdom.min.css +0 -8
  355. package/lib/components/Editor/skins/ui/default/skin.shadowdom.min.css.map +0 -1
  356. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/fonts/tinymce-mobile.woff +0 -0
  357. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.css +0 -1641
  358. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.min.css +0 -8
  359. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.min.css.map +0 -1
  360. package/lib/components/Editor/tinymce/jquery.tinymce.min.js +0 -92
  361. package/lib/components/Editor/tinymce/langs/pt_BR.js +0 -419
  362. package/lib/components/Editor/tinymce/plugins/bbcode/plugin.js +0 -99
  363. package/lib/components/Editor/tinymce/plugins/bbcode/plugin.min.js +0 -9
  364. package/lib/components/Editor/tinymce/plugins/colorpicker/plugin.js +0 -22
  365. package/lib/components/Editor/tinymce/plugins/colorpicker/plugin.min.js +0 -9
  366. package/lib/components/Editor/tinymce/plugins/contextmenu/plugin.js +0 -22
  367. package/lib/components/Editor/tinymce/plugins/contextmenu/plugin.min.js +0 -9
  368. package/lib/components/Editor/tinymce/plugins/fullpage/plugin.js +0 -544
  369. package/lib/components/Editor/tinymce/plugins/fullpage/plugin.min.js +0 -9
  370. package/lib/components/Editor/tinymce/plugins/hr/plugin.js +0 -46
  371. package/lib/components/Editor/tinymce/plugins/hr/plugin.min.js +0 -9
  372. package/lib/components/Editor/tinymce/plugins/imagetools/plugin.js +0 -1354
  373. package/lib/components/Editor/tinymce/plugins/imagetools/plugin.min.js +0 -9
  374. package/lib/components/Editor/tinymce/plugins/legacyoutput/plugin.js +0 -199
  375. package/lib/components/Editor/tinymce/plugins/legacyoutput/plugin.min.js +0 -9
  376. package/lib/components/Editor/tinymce/plugins/noneditable/plugin.js +0 -117
  377. package/lib/components/Editor/tinymce/plugins/noneditable/plugin.min.js +0 -9
  378. package/lib/components/Editor/tinymce/plugins/paste/plugin.js +0 -1764
  379. package/lib/components/Editor/tinymce/plugins/paste/plugin.min.js +0 -9
  380. package/lib/components/Editor/tinymce/plugins/print/plugin.js +0 -53
  381. package/lib/components/Editor/tinymce/plugins/print/plugin.min.js +0 -9
  382. package/lib/components/Editor/tinymce/plugins/spellchecker/plugin.js +0 -731
  383. package/lib/components/Editor/tinymce/plugins/spellchecker/plugin.min.js +0 -9
  384. package/lib/components/Editor/tinymce/plugins/tabfocus/plugin.js +0 -129
  385. package/lib/components/Editor/tinymce/plugins/tabfocus/plugin.min.js +0 -9
  386. package/lib/components/Editor/tinymce/plugins/textcolor/plugin.js +0 -22
  387. package/lib/components/Editor/tinymce/plugins/textcolor/plugin.min.js +0 -9
  388. package/lib/components/Editor/tinymce/plugins/textpattern/plugin.js +0 -1394
  389. package/lib/components/Editor/tinymce/plugins/textpattern/plugin.min.js +0 -9
  390. package/lib/components/Editor/tinymce/plugins/toc/plugin.js +0 -236
  391. package/lib/components/Editor/tinymce/plugins/toc/plugin.min.js +0 -9
  392. package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.css +0 -29
  393. package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.min.css +0 -8
  394. package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.min.css.map +0 -1
  395. package/lib/components/Editor/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
  396. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.css +0 -673
  397. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.min.css +0 -8
  398. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.min.css.map +0 -1
  399. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.css +0 -29
  400. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.min.css +0 -8
  401. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.min.css.map +0 -1
  402. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
  403. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.css +0 -673
  404. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +0 -8
  405. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.min.css.map +0 -1
  406. package/lib/components/Editor/tinymce/themes/mobile/theme.js +0 -13587
  407. package/lib/components/Editor/tinymce/themes/mobile/theme.min.js +0 -9
@@ -1,179 +1,170 @@
1
1
  /**
2
- * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3
- * Licensed under the LGPL or a commercial license.
4
- * For LGPL see License.txt in the project root for license information.
5
- * For commercial licenses see https://www.tiny.cloud/
6
- *
7
- * Version: 5.9.0 (TBD)
2
+ * TinyMCE version 6.8.2 (2023-12-11)
8
3
  */
4
+
9
5
  (function () {
10
6
  'use strict';
11
7
 
12
- var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
8
+ var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
13
9
 
14
- var fireInsertCustomChar = function (editor, chr) {
15
- return editor.fire('insertCustomChar', { chr: chr });
10
+ const fireInsertCustomChar = (editor, chr) => {
11
+ return editor.dispatch('insertCustomChar', { chr });
16
12
  };
17
13
 
18
- var insertChar = function (editor, chr) {
19
- var evtChr = fireInsertCustomChar(editor, chr).chr;
14
+ const insertChar = (editor, chr) => {
15
+ const evtChr = fireInsertCustomChar(editor, chr).chr;
20
16
  editor.execCommand('mceInsertContent', false, evtChr);
21
17
  };
22
18
 
23
- var typeOf = function (x) {
24
- var t = typeof x;
19
+ const hasProto = (v, constructor, predicate) => {
20
+ var _a;
21
+ if (predicate(v, constructor.prototype)) {
22
+ return true;
23
+ } else {
24
+ return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
25
+ }
26
+ };
27
+ const typeOf = x => {
28
+ const t = typeof x;
25
29
  if (x === null) {
26
30
  return 'null';
27
- } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
31
+ } else if (t === 'object' && Array.isArray(x)) {
28
32
  return 'array';
29
- } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
33
+ } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
30
34
  return 'string';
31
35
  } else {
32
36
  return t;
33
37
  }
34
38
  };
35
- var isType = function (type) {
36
- return function (value) {
37
- return typeOf(value) === type;
38
- };
39
- };
40
- var isArray = isType('array');
39
+ const isType = type => value => typeOf(value) === type;
40
+ const isSimpleType = type => value => typeof value === type;
41
+ const eq = t => a => t === a;
42
+ const isArray$1 = isType('array');
43
+ const isNull = eq(null);
44
+ const isUndefined = eq(undefined);
45
+ const isNullable = a => a === null || a === undefined;
46
+ const isNonNullable = a => !isNullable(a);
47
+ const isFunction = isSimpleType('function');
41
48
 
42
- var noop = function () {
43
- };
44
- var constant = function (value) {
45
- return function () {
49
+ const constant = value => {
50
+ return () => {
46
51
  return value;
47
52
  };
48
53
  };
49
- var never = constant(false);
50
- var always = constant(true);
54
+ const never = constant(false);
51
55
 
52
- var none = function () {
53
- return NONE;
54
- };
55
- var NONE = function () {
56
- var eq = function (o) {
57
- return o.isNone();
58
- };
59
- var call = function (thunk) {
60
- return thunk();
61
- };
62
- var id = function (n) {
63
- return n;
64
- };
65
- var me = {
66
- fold: function (n, _s) {
67
- return n();
68
- },
69
- is: never,
70
- isSome: never,
71
- isNone: always,
72
- getOr: id,
73
- getOrThunk: call,
74
- getOrDie: function (msg) {
75
- throw new Error(msg || 'error: getOrDie called on none.');
76
- },
77
- getOrNull: constant(null),
78
- getOrUndefined: constant(undefined),
79
- or: id,
80
- orThunk: call,
81
- map: none,
82
- each: noop,
83
- bind: none,
84
- exists: never,
85
- forall: always,
86
- filter: none,
87
- equals: eq,
88
- equals_: eq,
89
- toArray: function () {
90
- return [];
91
- },
92
- toString: constant('none()')
93
- };
94
- return me;
95
- }();
96
- var some = function (a) {
97
- var constant_a = constant(a);
98
- var self = function () {
99
- return me;
100
- };
101
- var bind = function (f) {
102
- return f(a);
103
- };
104
- var me = {
105
- fold: function (n, s) {
106
- return s(a);
107
- },
108
- is: function (v) {
109
- return a === v;
110
- },
111
- isSome: always,
112
- isNone: never,
113
- getOr: constant_a,
114
- getOrThunk: constant_a,
115
- getOrDie: constant_a,
116
- getOrNull: constant_a,
117
- getOrUndefined: constant_a,
118
- or: self,
119
- orThunk: self,
120
- map: function (f) {
121
- return some(f(a));
122
- },
123
- each: function (f) {
124
- f(a);
125
- },
126
- bind: bind,
127
- exists: bind,
128
- forall: bind,
129
- filter: function (f) {
130
- return f(a) ? me : NONE;
131
- },
132
- toArray: function () {
133
- return [a];
134
- },
135
- toString: function () {
136
- return 'some(' + a + ')';
137
- },
138
- equals: function (o) {
139
- return o.is(a);
140
- },
141
- equals_: function (o, elementEq) {
142
- return o.fold(never, function (b) {
143
- return elementEq(a, b);
144
- });
56
+ class Optional {
57
+ constructor(tag, value) {
58
+ this.tag = tag;
59
+ this.value = value;
60
+ }
61
+ static some(value) {
62
+ return new Optional(true, value);
63
+ }
64
+ static none() {
65
+ return Optional.singletonNone;
66
+ }
67
+ fold(onNone, onSome) {
68
+ if (this.tag) {
69
+ return onSome(this.value);
70
+ } else {
71
+ return onNone();
145
72
  }
146
- };
147
- return me;
148
- };
149
- var from = function (value) {
150
- return value === null || value === undefined ? NONE : some(value);
151
- };
152
- var Optional = {
153
- some: some,
154
- none: none,
155
- from: from
156
- };
73
+ }
74
+ isSome() {
75
+ return this.tag;
76
+ }
77
+ isNone() {
78
+ return !this.tag;
79
+ }
80
+ map(mapper) {
81
+ if (this.tag) {
82
+ return Optional.some(mapper(this.value));
83
+ } else {
84
+ return Optional.none();
85
+ }
86
+ }
87
+ bind(binder) {
88
+ if (this.tag) {
89
+ return binder(this.value);
90
+ } else {
91
+ return Optional.none();
92
+ }
93
+ }
94
+ exists(predicate) {
95
+ return this.tag && predicate(this.value);
96
+ }
97
+ forall(predicate) {
98
+ return !this.tag || predicate(this.value);
99
+ }
100
+ filter(predicate) {
101
+ if (!this.tag || predicate(this.value)) {
102
+ return this;
103
+ } else {
104
+ return Optional.none();
105
+ }
106
+ }
107
+ getOr(replacement) {
108
+ return this.tag ? this.value : replacement;
109
+ }
110
+ or(replacement) {
111
+ return this.tag ? this : replacement;
112
+ }
113
+ getOrThunk(thunk) {
114
+ return this.tag ? this.value : thunk();
115
+ }
116
+ orThunk(thunk) {
117
+ return this.tag ? this : thunk();
118
+ }
119
+ getOrDie(message) {
120
+ if (!this.tag) {
121
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
122
+ } else {
123
+ return this.value;
124
+ }
125
+ }
126
+ static from(value) {
127
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
128
+ }
129
+ getOrNull() {
130
+ return this.tag ? this.value : null;
131
+ }
132
+ getOrUndefined() {
133
+ return this.value;
134
+ }
135
+ each(worker) {
136
+ if (this.tag) {
137
+ worker(this.value);
138
+ }
139
+ }
140
+ toArray() {
141
+ return this.tag ? [this.value] : [];
142
+ }
143
+ toString() {
144
+ return this.tag ? `some(${ this.value })` : 'none()';
145
+ }
146
+ }
147
+ Optional.singletonNone = new Optional(false);
157
148
 
158
- var nativePush = Array.prototype.push;
159
- var map = function (xs, f) {
160
- var len = xs.length;
161
- var r = new Array(len);
162
- for (var i = 0; i < len; i++) {
163
- var x = xs[i];
149
+ const nativePush = Array.prototype.push;
150
+ const map = (xs, f) => {
151
+ const len = xs.length;
152
+ const r = new Array(len);
153
+ for (let i = 0; i < len; i++) {
154
+ const x = xs[i];
164
155
  r[i] = f(x, i);
165
156
  }
166
157
  return r;
167
158
  };
168
- var each = function (xs, f) {
169
- for (var i = 0, len = xs.length; i < len; i++) {
170
- var x = xs[i];
159
+ const each = (xs, f) => {
160
+ for (let i = 0, len = xs.length; i < len; i++) {
161
+ const x = xs[i];
171
162
  f(x, i);
172
163
  }
173
164
  };
174
- var findUntil = function (xs, pred, until) {
175
- for (var i = 0, len = xs.length; i < len; i++) {
176
- var x = xs[i];
165
+ const findUntil = (xs, pred, until) => {
166
+ for (let i = 0, len = xs.length; i < len; i++) {
167
+ const x = xs[i];
177
168
  if (pred(x, i)) {
178
169
  return Optional.some(x);
179
170
  } else if (until(x, i)) {
@@ -182,35 +173,36 @@
182
173
  }
183
174
  return Optional.none();
184
175
  };
185
- var find = function (xs, pred) {
176
+ const find = (xs, pred) => {
186
177
  return findUntil(xs, pred, never);
187
178
  };
188
- var flatten = function (xs) {
189
- var r = [];
190
- for (var i = 0, len = xs.length; i < len; ++i) {
191
- if (!isArray(xs[i])) {
179
+ const flatten = xs => {
180
+ const r = [];
181
+ for (let i = 0, len = xs.length; i < len; ++i) {
182
+ if (!isArray$1(xs[i])) {
192
183
  throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
193
184
  }
194
185
  nativePush.apply(r, xs[i]);
195
186
  }
196
187
  return r;
197
188
  };
198
- var bind = function (xs, f) {
199
- return flatten(map(xs, f));
200
- };
189
+ const bind = (xs, f) => flatten(map(xs, f));
201
190
 
202
- var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
191
+ var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
203
192
 
204
- var getCharMap = function (editor) {
205
- return editor.getParam('charmap');
206
- };
207
- var getCharMapAppend = function (editor) {
208
- return editor.getParam('charmap_append');
193
+ const option = name => editor => editor.options.get(name);
194
+ const register$2 = editor => {
195
+ const registerOption = editor.options.register;
196
+ const charMapProcessor = value => isFunction(value) || isArray$1(value);
197
+ registerOption('charmap', { processor: charMapProcessor });
198
+ registerOption('charmap_append', { processor: charMapProcessor });
209
199
  };
200
+ const getCharMap$1 = option('charmap');
201
+ const getCharMapAppend = option('charmap_append');
210
202
 
211
- var isArray$1 = global$1.isArray;
212
- var UserDefined = 'User Defined';
213
- var getDefaultCharMap = function () {
203
+ const isArray = global.isArray;
204
+ const UserDefined = 'User Defined';
205
+ const getDefaultCharMap = () => {
214
206
  return [
215
207
  {
216
208
  name: 'Currency',
@@ -1401,272 +1393,222 @@
1401
1393
  }
1402
1394
  ];
1403
1395
  };
1404
- var charmapFilter = function (charmap) {
1405
- return global$1.grep(charmap, function (item) {
1406
- return isArray$1(item) && item.length === 2;
1396
+ const charmapFilter = charmap => {
1397
+ return global.grep(charmap, item => {
1398
+ return isArray(item) && item.length === 2;
1407
1399
  });
1408
1400
  };
1409
- var getCharsFromSetting = function (settingValue) {
1410
- if (isArray$1(settingValue)) {
1411
- return [].concat(charmapFilter(settingValue));
1401
+ const getCharsFromOption = optionValue => {
1402
+ if (isArray(optionValue)) {
1403
+ return charmapFilter(optionValue);
1412
1404
  }
1413
- if (typeof settingValue === 'function') {
1414
- return settingValue();
1405
+ if (typeof optionValue === 'function') {
1406
+ return optionValue();
1415
1407
  }
1416
1408
  return [];
1417
1409
  };
1418
- var extendCharMap = function (editor, charmap) {
1419
- var userCharMap = getCharMap(editor);
1410
+ const extendCharMap = (editor, charmap) => {
1411
+ const userCharMap = getCharMap$1(editor);
1420
1412
  if (userCharMap) {
1421
1413
  charmap = [{
1422
1414
  name: UserDefined,
1423
- characters: getCharsFromSetting(userCharMap)
1415
+ characters: getCharsFromOption(userCharMap)
1424
1416
  }];
1425
1417
  }
1426
- var userCharMapAppend = getCharMapAppend(editor);
1418
+ const userCharMapAppend = getCharMapAppend(editor);
1427
1419
  if (userCharMapAppend) {
1428
- var userDefinedGroup = global$1.grep(charmap, function (cg) {
1429
- return cg.name === UserDefined;
1430
- });
1420
+ const userDefinedGroup = global.grep(charmap, cg => cg.name === UserDefined);
1431
1421
  if (userDefinedGroup.length) {
1432
- userDefinedGroup[0].characters = [].concat(userDefinedGroup[0].characters).concat(getCharsFromSetting(userCharMapAppend));
1422
+ userDefinedGroup[0].characters = [
1423
+ ...userDefinedGroup[0].characters,
1424
+ ...getCharsFromOption(userCharMapAppend)
1425
+ ];
1433
1426
  return charmap;
1434
1427
  }
1435
- return [].concat(charmap).concat({
1428
+ return charmap.concat({
1436
1429
  name: UserDefined,
1437
- characters: getCharsFromSetting(userCharMapAppend)
1430
+ characters: getCharsFromOption(userCharMapAppend)
1438
1431
  });
1439
1432
  }
1440
1433
  return charmap;
1441
1434
  };
1442
- var getCharMap$1 = function (editor) {
1443
- var groups = extendCharMap(editor, getDefaultCharMap());
1435
+ const getCharMap = editor => {
1436
+ const groups = extendCharMap(editor, getDefaultCharMap());
1444
1437
  return groups.length > 1 ? [{
1445
1438
  name: 'All',
1446
- characters: bind(groups, function (g) {
1447
- return g.characters;
1448
- })
1439
+ characters: bind(groups, g => g.characters)
1449
1440
  }].concat(groups) : groups;
1450
1441
  };
1451
1442
 
1452
- var get = function (editor) {
1453
- var getCharMap = function () {
1454
- return getCharMap$1(editor);
1443
+ const get = editor => {
1444
+ const getCharMap$1 = () => {
1445
+ return getCharMap(editor);
1455
1446
  };
1456
- var insertChar$1 = function (chr) {
1447
+ const insertChar$1 = chr => {
1457
1448
  insertChar(editor, chr);
1458
1449
  };
1459
1450
  return {
1460
- getCharMap: getCharMap,
1451
+ getCharMap: getCharMap$1,
1461
1452
  insertChar: insertChar$1
1462
1453
  };
1463
1454
  };
1464
1455
 
1465
- var Cell = function (initial) {
1466
- var value = initial;
1467
- var get = function () {
1456
+ const Cell = initial => {
1457
+ let value = initial;
1458
+ const get = () => {
1468
1459
  return value;
1469
1460
  };
1470
- var set = function (v) {
1461
+ const set = v => {
1471
1462
  value = v;
1472
1463
  };
1473
1464
  return {
1474
- get: get,
1475
- set: set
1465
+ get,
1466
+ set
1476
1467
  };
1477
1468
  };
1478
1469
 
1479
- var last = function (fn, rate) {
1480
- var timer = null;
1481
- var cancel = function () {
1482
- if (timer !== null) {
1470
+ const last = (fn, rate) => {
1471
+ let timer = null;
1472
+ const cancel = () => {
1473
+ if (!isNull(timer)) {
1483
1474
  clearTimeout(timer);
1484
1475
  timer = null;
1485
1476
  }
1486
1477
  };
1487
- var throttle = function () {
1488
- var args = [];
1489
- for (var _i = 0; _i < arguments.length; _i++) {
1490
- args[_i] = arguments[_i];
1491
- }
1492
- if (timer !== null) {
1493
- clearTimeout(timer);
1494
- }
1495
- timer = setTimeout(function () {
1496
- fn.apply(null, args);
1478
+ const throttle = (...args) => {
1479
+ cancel();
1480
+ timer = setTimeout(() => {
1497
1481
  timer = null;
1482
+ fn.apply(null, args);
1498
1483
  }, rate);
1499
1484
  };
1500
1485
  return {
1501
- cancel: cancel,
1502
- throttle: throttle
1486
+ cancel,
1487
+ throttle
1503
1488
  };
1504
1489
  };
1505
1490
 
1506
- var nativeFromCodePoint = String.fromCodePoint;
1507
- var contains = function (str, substr) {
1508
- return str.indexOf(substr) !== -1;
1509
- };
1510
- var fromCodePoint = function () {
1511
- var codePoints = [];
1512
- for (var _i = 0; _i < arguments.length; _i++) {
1513
- codePoints[_i] = arguments[_i];
1514
- }
1515
- if (nativeFromCodePoint) {
1516
- return nativeFromCodePoint.apply(void 0, codePoints);
1491
+ const contains = (str, substr, start = 0, end) => {
1492
+ const idx = str.indexOf(substr, start);
1493
+ if (idx !== -1) {
1494
+ return isUndefined(end) ? true : idx + substr.length <= end;
1517
1495
  } else {
1518
- var codeUnits = [];
1519
- var codeLen = 0;
1520
- var result = '';
1521
- for (var index = 0, len = codePoints.length; index !== len; ++index) {
1522
- var codePoint = +codePoints[index];
1523
- if (!(codePoint < 1114111 && codePoint >>> 0 === codePoint)) {
1524
- throw RangeError('Invalid code point: ' + codePoint);
1525
- }
1526
- if (codePoint <= 65535) {
1527
- codeLen = codeUnits.push(codePoint);
1528
- } else {
1529
- codePoint -= 65536;
1530
- codeLen = codeUnits.push((codePoint >> 10) + 55296, codePoint % 1024 + 56320);
1531
- }
1532
- if (codeLen >= 16383) {
1533
- result += String.fromCharCode.apply(null, codeUnits);
1534
- codeUnits.length = 0;
1535
- }
1536
- }
1537
- return result + String.fromCharCode.apply(null, codeUnits);
1496
+ return false;
1538
1497
  }
1539
1498
  };
1499
+ const fromCodePoint = String.fromCodePoint;
1540
1500
 
1541
- var charMatches = function (charCode, name, lowerCasePattern) {
1501
+ const charMatches = (charCode, name, lowerCasePattern) => {
1542
1502
  if (contains(fromCodePoint(charCode).toLowerCase(), lowerCasePattern)) {
1543
1503
  return true;
1544
1504
  } else {
1545
1505
  return contains(name.toLowerCase(), lowerCasePattern) || contains(name.toLowerCase().replace(/\s+/g, ''), lowerCasePattern);
1546
1506
  }
1547
1507
  };
1548
- var scan = function (group, pattern) {
1549
- var matches = [];
1550
- var lowerCasePattern = pattern.toLowerCase();
1551
- each(group.characters, function (g) {
1508
+ const scan = (group, pattern) => {
1509
+ const matches = [];
1510
+ const lowerCasePattern = pattern.toLowerCase();
1511
+ each(group.characters, g => {
1552
1512
  if (charMatches(g[0], g[1], lowerCasePattern)) {
1553
1513
  matches.push(g);
1554
1514
  }
1555
1515
  });
1556
- return map(matches, function (m) {
1557
- return {
1558
- text: m[1],
1559
- value: fromCodePoint(m[0]),
1560
- icon: fromCodePoint(m[0])
1561
- };
1562
- });
1516
+ return map(matches, m => ({
1517
+ text: m[1],
1518
+ value: fromCodePoint(m[0]),
1519
+ icon: fromCodePoint(m[0])
1520
+ }));
1563
1521
  };
1564
1522
 
1565
- var patternName = 'pattern';
1566
- var open = function (editor, charMap) {
1567
- var makeGroupItems = function () {
1568
- return [
1569
- {
1570
- label: 'Search',
1571
- type: 'input',
1572
- name: patternName
1573
- },
1574
- {
1575
- type: 'collection',
1576
- name: 'results'
1577
- }
1578
- ];
1579
- };
1580
- var makeTabs = function () {
1581
- return map(charMap, function (charGroup) {
1582
- return {
1583
- title: charGroup.name,
1584
- name: charGroup.name,
1585
- items: makeGroupItems()
1586
- };
1587
- });
1588
- };
1589
- var makePanel = function () {
1590
- return {
1591
- type: 'panel',
1592
- items: makeGroupItems()
1593
- };
1594
- };
1595
- var makeTabPanel = function () {
1596
- return {
1597
- type: 'tabpanel',
1598
- tabs: makeTabs()
1599
- };
1600
- };
1601
- var currentTab = charMap.length === 1 ? Cell(UserDefined) : Cell('All');
1602
- var scanAndSet = function (dialogApi, pattern) {
1603
- find(charMap, function (group) {
1604
- return group.name === currentTab.get();
1605
- }).each(function (f) {
1606
- var items = scan(f, pattern);
1523
+ const patternName = 'pattern';
1524
+ const open = (editor, charMap) => {
1525
+ const makeGroupItems = () => [
1526
+ {
1527
+ label: 'Search',
1528
+ type: 'input',
1529
+ name: patternName
1530
+ },
1531
+ {
1532
+ type: 'collection',
1533
+ name: 'results'
1534
+ }
1535
+ ];
1536
+ const makeTabs = () => map(charMap, charGroup => ({
1537
+ title: charGroup.name,
1538
+ name: charGroup.name,
1539
+ items: makeGroupItems()
1540
+ }));
1541
+ const makePanel = () => ({
1542
+ type: 'panel',
1543
+ items: makeGroupItems()
1544
+ });
1545
+ const makeTabPanel = () => ({
1546
+ type: 'tabpanel',
1547
+ tabs: makeTabs()
1548
+ });
1549
+ const currentTab = charMap.length === 1 ? Cell(UserDefined) : Cell('All');
1550
+ const scanAndSet = (dialogApi, pattern) => {
1551
+ find(charMap, group => group.name === currentTab.get()).each(f => {
1552
+ const items = scan(f, pattern);
1607
1553
  dialogApi.setData({ results: items });
1608
1554
  });
1609
1555
  };
1610
- var SEARCH_DELAY = 40;
1611
- var updateFilter = last(function (dialogApi) {
1612
- var pattern = dialogApi.getData().pattern;
1556
+ const SEARCH_DELAY = 40;
1557
+ const updateFilter = last(dialogApi => {
1558
+ const pattern = dialogApi.getData().pattern;
1613
1559
  scanAndSet(dialogApi, pattern);
1614
1560
  }, SEARCH_DELAY);
1615
- var body = charMap.length === 1 ? makePanel() : makeTabPanel();
1616
- var initialData = {
1561
+ const body = charMap.length === 1 ? makePanel() : makeTabPanel();
1562
+ const initialData = {
1617
1563
  pattern: '',
1618
1564
  results: scan(charMap[0], '')
1619
1565
  };
1620
- var bridgeSpec = {
1566
+ const bridgeSpec = {
1621
1567
  title: 'Special Character',
1622
1568
  size: 'normal',
1623
- body: body,
1569
+ body,
1624
1570
  buttons: [{
1625
1571
  type: 'cancel',
1626
1572
  name: 'close',
1627
1573
  text: 'Close',
1628
1574
  primary: true
1629
1575
  }],
1630
- initialData: initialData,
1631
- onAction: function (api, details) {
1576
+ initialData,
1577
+ onAction: (api, details) => {
1632
1578
  if (details.name === 'results') {
1633
1579
  insertChar(editor, details.value);
1634
1580
  api.close();
1635
1581
  }
1636
1582
  },
1637
- onTabChange: function (dialogApi, details) {
1583
+ onTabChange: (dialogApi, details) => {
1638
1584
  currentTab.set(details.newTabName);
1639
1585
  updateFilter.throttle(dialogApi);
1640
1586
  },
1641
- onChange: function (dialogApi, changeData) {
1587
+ onChange: (dialogApi, changeData) => {
1642
1588
  if (changeData.name === patternName) {
1643
1589
  updateFilter.throttle(dialogApi);
1644
1590
  }
1645
1591
  }
1646
1592
  };
1647
- var dialogApi = editor.windowManager.open(bridgeSpec);
1593
+ const dialogApi = editor.windowManager.open(bridgeSpec);
1648
1594
  dialogApi.focus(patternName);
1649
1595
  };
1650
1596
 
1651
- var register = function (editor, charMap) {
1652
- editor.addCommand('mceShowCharmap', function () {
1597
+ const register$1 = (editor, charMap) => {
1598
+ editor.addCommand('mceShowCharmap', () => {
1653
1599
  open(editor, charMap);
1654
1600
  });
1655
1601
  };
1656
1602
 
1657
- var global$2 = tinymce.util.Tools.resolve('tinymce.util.Promise');
1658
-
1659
- var init = function (editor, all) {
1603
+ const init = (editor, all) => {
1660
1604
  editor.ui.registry.addAutocompleter('charmap', {
1661
- ch: ':',
1605
+ trigger: ':',
1662
1606
  columns: 'auto',
1663
1607
  minChars: 2,
1664
- fetch: function (pattern, _maxResults) {
1665
- return new global$2(function (resolve, _reject) {
1666
- resolve(scan(all, pattern));
1667
- });
1668
- },
1669
- onAction: function (autocompleteApi, rng, value) {
1608
+ fetch: (pattern, _maxResults) => new Promise((resolve, _reject) => {
1609
+ resolve(scan(all, pattern));
1610
+ }),
1611
+ onAction: (autocompleteApi, rng, value) => {
1670
1612
  editor.selection.setRng(rng);
1671
1613
  editor.insertContent(value);
1672
1614
  autocompleteApi.hide();
@@ -1674,33 +1616,43 @@
1674
1616
  });
1675
1617
  };
1676
1618
 
1677
- var register$1 = function (editor) {
1619
+ const onSetupEditable = editor => api => {
1620
+ const nodeChanged = () => {
1621
+ api.setEnabled(editor.selection.isEditable());
1622
+ };
1623
+ editor.on('NodeChange', nodeChanged);
1624
+ nodeChanged();
1625
+ return () => {
1626
+ editor.off('NodeChange', nodeChanged);
1627
+ };
1628
+ };
1629
+ const register = editor => {
1630
+ const onAction = () => editor.execCommand('mceShowCharmap');
1678
1631
  editor.ui.registry.addButton('charmap', {
1679
1632
  icon: 'insert-character',
1680
1633
  tooltip: 'Special character',
1681
- onAction: function () {
1682
- return editor.execCommand('mceShowCharmap');
1683
- }
1634
+ onAction,
1635
+ onSetup: onSetupEditable(editor)
1684
1636
  });
1685
1637
  editor.ui.registry.addMenuItem('charmap', {
1686
1638
  icon: 'insert-character',
1687
1639
  text: 'Special character...',
1688
- onAction: function () {
1689
- return editor.execCommand('mceShowCharmap');
1690
- }
1640
+ onAction,
1641
+ onSetup: onSetupEditable(editor)
1691
1642
  });
1692
1643
  };
1693
1644
 
1694
- function Plugin () {
1695
- global.add('charmap', function (editor) {
1696
- var charMap = getCharMap$1(editor);
1697
- register(editor, charMap);
1698
- register$1(editor);
1645
+ var Plugin = () => {
1646
+ global$1.add('charmap', editor => {
1647
+ register$2(editor);
1648
+ const charMap = getCharMap(editor);
1649
+ register$1(editor, charMap);
1650
+ register(editor);
1699
1651
  init(editor, charMap[0]);
1700
1652
  return get(editor);
1701
1653
  });
1702
- }
1654
+ };
1703
1655
 
1704
1656
  Plugin();
1705
1657
 
1706
- }());
1658
+ })();