argous 1.2.132 → 1.2.136

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 (554) hide show
  1. package/dist/api/index.d.ts +1 -0
  2. package/dist/api/index.js +18 -1
  3. package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +21 -0
  4. package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.js +331 -0
  5. package/dist/components/Compartilhar/Compartilhar.js +1 -1
  6. package/lib/actions/index.ts +57 -0
  7. package/lib/api/WebSocket.js +148 -0
  8. package/lib/api/index.js +402 -0
  9. package/lib/api/ws.js +27 -0
  10. package/lib/components/Alert/Alert.d.ts +8 -0
  11. package/lib/components/Alert/Alert.js +49 -0
  12. package/lib/components/Alert/index.d.ts +2 -0
  13. package/lib/components/Alert/index.js +1 -0
  14. package/lib/components/ArgousAction/ArgousAction.d.ts +8 -0
  15. package/lib/components/ArgousAction/ArgousAction.js +78 -0
  16. package/lib/components/ArgousAction/index.d.ts +2 -0
  17. package/lib/components/ArgousAction/index.js +1 -0
  18. package/lib/components/ArgousAvatar/ArgousAvatar.d.ts +14 -0
  19. package/lib/components/ArgousAvatar/ArgousAvatar.js +79 -0
  20. package/lib/components/ArgousAvatar/index.d.ts +2 -0
  21. package/lib/components/ArgousAvatar/index.js +1 -0
  22. package/lib/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +76 -0
  23. package/lib/components/ArgousComplexPagination/ArgousComplexPagination.js +182 -0
  24. package/lib/components/ArgousComplexPagination/index.d.ts +2 -0
  25. package/lib/components/ArgousComplexPagination/index.js +1 -0
  26. package/lib/components/ArgousComplexTable/ArgousComplexTable.d.ts +131 -0
  27. package/lib/components/ArgousComplexTable/ArgousComplexTable.js +360 -0
  28. package/lib/components/ArgousComplexTable/index.d.ts +2 -0
  29. package/lib/components/ArgousComplexTable/index.js +1 -0
  30. package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +177 -0
  31. package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.js +162 -0
  32. package/lib/components/ArgousComplexTableBody/index.d.ts +2 -0
  33. package/lib/components/ArgousComplexTableBody/index.js +1 -0
  34. package/lib/components/ArgousComplexTableHead/ArgousComplexTableHead.d.ts +73 -0
  35. package/lib/components/ArgousComplexTableHead/ArgousComplexTableHead.js +98 -0
  36. package/lib/components/ArgousComplexTableHead/index.d.ts +2 -0
  37. package/lib/components/ArgousComplexTableHead/index.js +1 -0
  38. package/lib/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.d.ts +58 -0
  39. package/lib/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +66 -0
  40. package/lib/components/ArgousComplexTableToolbar/index.d.ts +2 -0
  41. package/lib/components/ArgousComplexTableToolbar/index.js +1 -0
  42. package/lib/components/ArgousInput/ArgousInput.d.ts +8 -0
  43. package/lib/components/ArgousInput/ArgousInput.js +616 -0
  44. package/lib/components/ArgousInput/index.d.ts +2 -0
  45. package/lib/components/ArgousInput/index.js +1 -0
  46. package/lib/components/ArgousPagination/ArgousPagination.d.ts +8 -0
  47. package/lib/components/ArgousPagination/ArgousPagination.js +43 -0
  48. package/lib/components/ArgousPagination/index.d.ts +2 -0
  49. package/lib/components/ArgousPagination/index.js +1 -0
  50. package/lib/components/ArgousProgressBar/ArgousProgressBar.d.ts +22 -0
  51. package/lib/components/ArgousProgressBar/ArgousProgressBar.js +167 -0
  52. package/lib/components/ArgousProgressBar/index.d.ts +2 -0
  53. package/lib/components/ArgousProgressBar/index.js +1 -0
  54. package/lib/components/ArgousSimpleTable/ArgousSimpleTable.d.ts +8 -0
  55. package/lib/components/ArgousSimpleTable/ArgousSimpleTable.js +241 -0
  56. package/lib/components/ArgousSimpleTable/index.d.ts +2 -0
  57. package/lib/components/ArgousSimpleTable/index.js +1 -0
  58. package/lib/components/AutoComplete/AutoComplete.d.ts +8 -0
  59. package/lib/components/AutoComplete/AutoComplete.js +189 -0
  60. package/lib/components/AutoComplete/index.d.ts +2 -0
  61. package/lib/components/AutoComplete/index.js +1 -0
  62. package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.js +298 -0
  63. package/lib/components/BarChart/BarChart.d.ts +8 -0
  64. package/lib/components/BarChart/BarChart.js +92 -0
  65. package/lib/components/BarChart/index.d.ts +2 -0
  66. package/lib/components/BarChart/index.js +1 -0
  67. package/lib/components/BarraFerramentas/BarraFerramentas.d.ts +21 -0
  68. package/lib/components/BarraFerramentas/BarraFerramentas.js +277 -0
  69. package/lib/components/BarraFerramentas/index.d.ts +2 -0
  70. package/lib/components/BarraFerramentas/index.js +1 -0
  71. package/lib/components/Button/Button.d.ts +8 -0
  72. package/lib/components/Button/Button.js +135 -0
  73. package/lib/components/Button/index.d.ts +2 -0
  74. package/lib/components/Button/index.js +1 -0
  75. package/lib/components/Cabecalho/Cabecalho.d.ts +8 -0
  76. package/lib/components/Cabecalho/Cabecalho.js +245 -0
  77. package/lib/components/Cabecalho/index.d.ts +2 -0
  78. package/lib/components/Cabecalho/index.js +1 -0
  79. package/lib/components/Calendar/Calendar.d.ts +8 -0
  80. package/lib/components/Calendar/Calendar.js +156 -0
  81. package/lib/components/Calendar/index.d.ts +2 -0
  82. package/lib/components/Calendar/index.js +1 -0
  83. package/lib/components/CartaoUsuario/CartaoUsuario.d.ts +9 -0
  84. package/lib/components/CartaoUsuario/CartaoUsuario.js +108 -0
  85. package/lib/components/CartaoUsuario/index.d.ts +2 -0
  86. package/lib/components/CartaoUsuario/index.js +1 -0
  87. package/lib/components/Collapse/Collapse.d.ts +60 -0
  88. package/lib/components/Collapse/Collapse.js +317 -0
  89. package/lib/components/Collapse/index.d.ts +3 -0
  90. package/lib/components/Collapse/index.js +1 -0
  91. package/lib/components/Compartilhar/Compartilhar.d.ts +7 -0
  92. package/lib/components/Compartilhar/Compartilhar.js +314 -0
  93. package/lib/components/Compartilhar/index.d.ts +2 -0
  94. package/lib/components/Compartilhar/index.js +1 -0
  95. package/lib/components/ConfirmModal/BasicModal.tsx +63 -0
  96. package/lib/components/ConfirmModal/ModalProvider.tsx +81 -0
  97. package/lib/components/ConfirmModal/WrapperModal.tsx +33 -0
  98. package/lib/components/ConfirmModal/index.d.ts +20 -0
  99. package/lib/components/ConfirmModal/index.js +8 -0
  100. package/lib/components/DropArea/DropArea.d.ts +21 -0
  101. package/lib/components/DropArea/DropArea.js +90 -0
  102. package/lib/components/DropArea/Html5FileSelector.js +164 -0
  103. package/lib/components/DropArea/index.d.ts +2 -0
  104. package/lib/components/DropArea/index.js +1 -0
  105. package/lib/components/Editor/Events.ts +83 -0
  106. package/lib/components/Editor/ScriptLoader.ts +96 -0
  107. package/lib/components/Editor/TinyMCE.ts +19 -0
  108. package/lib/components/Editor/Utils.ts +95 -0
  109. package/lib/components/Editor/components/Editor.tsx +375 -0
  110. package/lib/components/Editor/components/EditorPropTypes.ts +106 -0
  111. package/lib/components/Editor/index.tsx +11 -0
  112. package/lib/components/Editor/skins/content/dark/content.css +72 -0
  113. package/lib/components/Editor/skins/content/dark/content.min.css +8 -0
  114. package/lib/components/Editor/skins/content/dark/content.min.css.map +1 -0
  115. package/lib/components/Editor/skins/content/default/content.css +67 -0
  116. package/lib/components/Editor/skins/content/default/content.min.css +8 -0
  117. package/lib/components/Editor/skins/content/default/content.min.css.map +1 -0
  118. package/lib/components/Editor/skins/content/document/content.css +72 -0
  119. package/lib/components/Editor/skins/content/document/content.min.css +8 -0
  120. package/lib/components/Editor/skins/content/document/content.min.css.map +1 -0
  121. package/lib/components/Editor/skins/content/writer/content.css +68 -0
  122. package/lib/components/Editor/skins/content/writer/content.min.css +8 -0
  123. package/lib/components/Editor/skins/content/writer/content.min.css.map +1 -0
  124. package/lib/components/Editor/skins/ui/dark/content.css +714 -0
  125. package/lib/components/Editor/skins/ui/dark/content.inline.css +726 -0
  126. package/lib/components/Editor/skins/ui/dark/content.inline.min.css +8 -0
  127. package/lib/components/Editor/skins/ui/dark/content.inline.min.css.map +1 -0
  128. package/lib/components/Editor/skins/ui/dark/content.min.css +8 -0
  129. package/lib/components/Editor/skins/ui/dark/content.min.css.map +1 -0
  130. package/lib/components/Editor/skins/ui/dark/content.mobile.css +29 -0
  131. package/lib/components/Editor/skins/ui/dark/content.mobile.min.css +8 -0
  132. package/lib/components/Editor/skins/ui/dark/content.mobile.min.css.map +1 -0
  133. package/lib/components/Editor/skins/ui/dark/fonts/tinymce-mobile.woff +0 -0
  134. package/lib/components/Editor/skins/ui/dark/skin.css +3034 -0
  135. package/lib/components/Editor/skins/ui/dark/skin.min.css +8 -0
  136. package/lib/components/Editor/skins/ui/dark/skin.min.css.map +1 -0
  137. package/lib/components/Editor/skins/ui/dark/skin.mobile.css +673 -0
  138. package/lib/components/Editor/skins/ui/dark/skin.mobile.min.css +8 -0
  139. package/lib/components/Editor/skins/ui/dark/skin.mobile.min.css.map +1 -0
  140. package/lib/components/Editor/skins/ui/dark/skin.shadowdom.css +37 -0
  141. package/lib/components/Editor/skins/ui/dark/skin.shadowdom.min.css +8 -0
  142. package/lib/components/Editor/skins/ui/dark/skin.shadowdom.min.css.map +1 -0
  143. package/lib/components/Editor/skins/ui/default/content.css +732 -0
  144. package/lib/components/Editor/skins/ui/default/content.inline.css +726 -0
  145. package/lib/components/Editor/skins/ui/default/content.inline.min.css +8 -0
  146. package/lib/components/Editor/skins/ui/default/content.inline.min.css.map +1 -0
  147. package/lib/components/Editor/skins/ui/default/content.min.css +8 -0
  148. package/lib/components/Editor/skins/ui/default/content.min.css.map +1 -0
  149. package/lib/components/Editor/skins/ui/default/content.mobile.css +29 -0
  150. package/lib/components/Editor/skins/ui/default/content.mobile.min.css +8 -0
  151. package/lib/components/Editor/skins/ui/default/content.mobile.min.css.map +1 -0
  152. package/lib/components/Editor/skins/ui/default/fonts/tinymce-mobile.woff +0 -0
  153. package/lib/components/Editor/skins/ui/default/skin.css +3034 -0
  154. package/lib/components/Editor/skins/ui/default/skin.min.css +8 -0
  155. package/lib/components/Editor/skins/ui/default/skin.min.css.map +1 -0
  156. package/lib/components/Editor/skins/ui/default/skin.mobile.css +673 -0
  157. package/lib/components/Editor/skins/ui/default/skin.mobile.min.css +8 -0
  158. package/lib/components/Editor/skins/ui/default/skin.mobile.min.css.map +1 -0
  159. package/lib/components/Editor/skins/ui/default/skin.shadowdom.css +37 -0
  160. package/lib/components/Editor/skins/ui/default/skin.shadowdom.min.css +8 -0
  161. package/lib/components/Editor/skins/ui/default/skin.shadowdom.min.css.map +1 -0
  162. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/fonts/tinymce-mobile.woff +0 -0
  163. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.css +1641 -0
  164. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.min.css +8 -0
  165. package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.min.css.map +1 -0
  166. package/lib/components/Editor/tinymce/README.md +63 -0
  167. package/lib/components/Editor/tinymce/icons/default/icons.js +172 -0
  168. package/lib/components/Editor/tinymce/icons/default/icons.min.js +1 -0
  169. package/lib/components/Editor/tinymce/jquery.tinymce.min.js +92 -0
  170. package/lib/components/Editor/tinymce/langs/README.md +3 -0
  171. package/lib/components/Editor/tinymce/langs/pt_BR.js +419 -0
  172. package/lib/components/Editor/tinymce/license.txt +504 -0
  173. package/lib/components/Editor/tinymce/plugins/advlist/plugin.js +280 -0
  174. package/lib/components/Editor/tinymce/plugins/advlist/plugin.min.js +9 -0
  175. package/lib/components/Editor/tinymce/plugins/anchor/plugin.js +216 -0
  176. package/lib/components/Editor/tinymce/plugins/anchor/plugin.min.js +9 -0
  177. package/lib/components/Editor/tinymce/plugins/autolink/plugin.js +185 -0
  178. package/lib/components/Editor/tinymce/plugins/autolink/plugin.min.js +9 -0
  179. package/lib/components/Editor/tinymce/plugins/autoresize/plugin.js +171 -0
  180. package/lib/components/Editor/tinymce/plugins/autoresize/plugin.min.js +9 -0
  181. package/lib/components/Editor/tinymce/plugins/autosave/plugin.js +212 -0
  182. package/lib/components/Editor/tinymce/plugins/autosave/plugin.min.js +9 -0
  183. package/lib/components/Editor/tinymce/plugins/bbcode/plugin.js +99 -0
  184. package/lib/components/Editor/tinymce/plugins/bbcode/plugin.min.js +9 -0
  185. package/lib/components/Editor/tinymce/plugins/charmap/plugin.js +1706 -0
  186. package/lib/components/Editor/tinymce/plugins/charmap/plugin.min.js +9 -0
  187. package/lib/components/Editor/tinymce/plugins/code/plugin.js +92 -0
  188. package/lib/components/Editor/tinymce/plugins/code/plugin.min.js +9 -0
  189. package/lib/components/Editor/tinymce/plugins/codesample/plugin.js +2332 -0
  190. package/lib/components/Editor/tinymce/plugins/codesample/plugin.min.js +9 -0
  191. package/{dist/components/Editor/tinymce/plugins/textcolor → lib/components/Editor/tinymce/plugins/colorpicker}/plugin.js +8 -5
  192. package/lib/components/Editor/tinymce/plugins/colorpicker/plugin.min.js +9 -0
  193. package/{dist/components/Editor/tinymce/plugins/colorpicker → lib/components/Editor/tinymce/plugins/contextmenu}/plugin.js +8 -5
  194. package/lib/components/Editor/tinymce/plugins/contextmenu/plugin.min.js +9 -0
  195. package/lib/components/Editor/tinymce/plugins/directionality/plugin.js +320 -0
  196. package/lib/components/Editor/tinymce/plugins/directionality/plugin.min.js +9 -0
  197. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojiimages.js +9424 -0
  198. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
  199. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojis.js +9423 -0
  200. package/lib/components/Editor/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
  201. package/lib/components/Editor/tinymce/plugins/emoticons/plugin.js +605 -0
  202. package/lib/components/Editor/tinymce/plugins/emoticons/plugin.min.js +9 -0
  203. package/lib/components/Editor/tinymce/plugins/fullpage/plugin.js +544 -0
  204. package/lib/components/Editor/tinymce/plugins/fullpage/plugin.min.js +9 -0
  205. package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.js +979 -0
  206. package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.min.js +9 -0
  207. package/lib/components/Editor/tinymce/plugins/help/plugin.js +873 -0
  208. package/lib/components/Editor/tinymce/plugins/help/plugin.min.js +9 -0
  209. package/lib/components/Editor/tinymce/plugins/hr/plugin.js +46 -0
  210. package/lib/components/Editor/tinymce/plugins/hr/plugin.min.js +9 -0
  211. package/lib/components/Editor/tinymce/plugins/image/plugin.js +1661 -0
  212. package/lib/components/Editor/tinymce/plugins/image/plugin.min.js +9 -0
  213. package/lib/components/Editor/tinymce/plugins/imagetools/plugin.js +1354 -0
  214. package/lib/components/Editor/tinymce/plugins/imagetools/plugin.min.js +9 -0
  215. package/lib/components/Editor/tinymce/plugins/importcss/plugin.js +343 -0
  216. package/lib/components/Editor/tinymce/plugins/importcss/plugin.min.js +9 -0
  217. package/lib/components/Editor/tinymce/plugins/insertdatetime/plugin.js +177 -0
  218. package/lib/components/Editor/tinymce/plugins/insertdatetime/plugin.min.js +9 -0
  219. package/lib/components/Editor/tinymce/plugins/legacyoutput/plugin.js +199 -0
  220. package/lib/components/Editor/tinymce/plugins/legacyoutput/plugin.min.js +9 -0
  221. package/lib/components/Editor/tinymce/plugins/link/plugin.js +1287 -0
  222. package/lib/components/Editor/tinymce/plugins/link/plugin.min.js +9 -0
  223. package/lib/components/Editor/tinymce/plugins/lists/plugin.js +2286 -0
  224. package/lib/components/Editor/tinymce/plugins/lists/plugin.min.js +9 -0
  225. package/lib/components/Editor/tinymce/plugins/media/plugin.js +1382 -0
  226. package/lib/components/Editor/tinymce/plugins/media/plugin.min.js +9 -0
  227. package/lib/components/Editor/tinymce/plugins/nonbreaking/plugin.js +101 -0
  228. package/lib/components/Editor/tinymce/plugins/nonbreaking/plugin.min.js +9 -0
  229. package/lib/components/Editor/tinymce/plugins/noneditable/plugin.js +117 -0
  230. package/lib/components/Editor/tinymce/plugins/noneditable/plugin.min.js +9 -0
  231. package/lib/components/Editor/tinymce/plugins/pagebreak/plugin.js +105 -0
  232. package/lib/components/Editor/tinymce/plugins/pagebreak/plugin.min.js +9 -0
  233. package/lib/components/Editor/tinymce/plugins/paste/plugin.js +1764 -0
  234. package/lib/components/Editor/tinymce/plugins/paste/plugin.min.js +9 -0
  235. package/lib/components/Editor/tinymce/plugins/preview/plugin.js +127 -0
  236. package/lib/components/Editor/tinymce/plugins/preview/plugin.min.js +9 -0
  237. package/lib/components/Editor/tinymce/plugins/print/plugin.js +53 -0
  238. package/lib/components/Editor/tinymce/plugins/print/plugin.min.js +9 -0
  239. package/lib/components/Editor/tinymce/plugins/quickbars/plugin.js +489 -0
  240. package/lib/components/Editor/tinymce/plugins/quickbars/plugin.min.js +9 -0
  241. package/lib/components/Editor/tinymce/plugins/save/plugin.js +119 -0
  242. package/lib/components/Editor/tinymce/plugins/save/plugin.min.js +9 -0
  243. package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.js +1163 -0
  244. package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.min.js +9 -0
  245. package/lib/components/Editor/tinymce/plugins/spellchecker/plugin.js +731 -0
  246. package/lib/components/Editor/tinymce/plugins/spellchecker/plugin.min.js +9 -0
  247. package/lib/components/Editor/tinymce/plugins/tabfocus/plugin.js +129 -0
  248. package/lib/components/Editor/tinymce/plugins/tabfocus/plugin.min.js +9 -0
  249. package/lib/components/Editor/tinymce/plugins/table/plugin.js +10938 -0
  250. package/lib/components/Editor/tinymce/plugins/table/plugin.min.js +9 -0
  251. package/lib/components/Editor/tinymce/plugins/template/plugin.js +577 -0
  252. package/lib/components/Editor/tinymce/plugins/template/plugin.min.js +9 -0
  253. package/{dist/components/Editor/tinymce/plugins/contextmenu → lib/components/Editor/tinymce/plugins/textcolor}/plugin.js +8 -5
  254. package/lib/components/Editor/tinymce/plugins/textcolor/plugin.min.js +9 -0
  255. package/lib/components/Editor/tinymce/plugins/textpattern/plugin.js +1394 -0
  256. package/lib/components/Editor/tinymce/plugins/textpattern/plugin.min.js +9 -0
  257. package/lib/components/Editor/tinymce/plugins/toc/plugin.js +236 -0
  258. package/lib/components/Editor/tinymce/plugins/toc/plugin.min.js +9 -0
  259. package/lib/components/Editor/tinymce/plugins/visualblocks/plugin.js +104 -0
  260. package/lib/components/Editor/tinymce/plugins/visualblocks/plugin.min.js +9 -0
  261. package/lib/components/Editor/tinymce/plugins/visualchars/plugin.js +541 -0
  262. package/lib/components/Editor/tinymce/plugins/visualchars/plugin.min.js +9 -0
  263. package/lib/components/Editor/tinymce/plugins/wordcount/plugin.js +416 -0
  264. package/lib/components/Editor/tinymce/plugins/wordcount/plugin.min.js +9 -0
  265. package/lib/components/Editor/tinymce/skins/content/dark/content.css +72 -0
  266. package/lib/components/Editor/tinymce/skins/content/dark/content.min.css +8 -0
  267. package/lib/components/Editor/tinymce/skins/content/dark/content.min.css.map +1 -0
  268. package/lib/components/Editor/tinymce/skins/content/default/content.css +67 -0
  269. package/lib/components/Editor/tinymce/skins/content/default/content.min.css +8 -0
  270. package/lib/components/Editor/tinymce/skins/content/default/content.min.css.map +1 -0
  271. package/lib/components/Editor/tinymce/skins/content/document/content.css +72 -0
  272. package/lib/components/Editor/tinymce/skins/content/document/content.min.css +8 -0
  273. package/lib/components/Editor/tinymce/skins/content/document/content.min.css.map +1 -0
  274. package/lib/components/Editor/tinymce/skins/content/writer/content.css +68 -0
  275. package/lib/components/Editor/tinymce/skins/content/writer/content.min.css +8 -0
  276. package/lib/components/Editor/tinymce/skins/content/writer/content.min.css.map +1 -0
  277. package/lib/components/Editor/tinymce/skins/ui/oxide/content.css +732 -0
  278. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.css +726 -0
  279. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css +8 -0
  280. package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css.map +1 -0
  281. package/lib/components/Editor/tinymce/skins/ui/oxide/content.min.css +8 -0
  282. package/lib/components/Editor/tinymce/skins/ui/oxide/content.min.css.map +1 -0
  283. package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.css +29 -0
  284. package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.min.css +8 -0
  285. package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.min.css.map +1 -0
  286. package/lib/components/Editor/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
  287. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.css +3034 -0
  288. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.min.css +8 -0
  289. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.min.css.map +1 -0
  290. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.css +673 -0
  291. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.min.css +8 -0
  292. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.min.css.map +1 -0
  293. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.css +37 -0
  294. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +8 -0
  295. package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css.map +1 -0
  296. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.css +714 -0
  297. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.css +726 -0
  298. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +8 -0
  299. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css.map +1 -0
  300. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css +8 -0
  301. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css.map +1 -0
  302. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.css +29 -0
  303. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.min.css +8 -0
  304. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.min.css.map +1 -0
  305. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
  306. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.css +3034 -0
  307. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css +8 -0
  308. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css.map +1 -0
  309. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.css +673 -0
  310. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +8 -0
  311. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.min.css.map +1 -0
  312. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +37 -0
  313. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +8 -0
  314. package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.map +1 -0
  315. package/lib/components/Editor/tinymce/themes/mobile/theme.js +13587 -0
  316. package/lib/components/Editor/tinymce/themes/mobile/theme.min.js +9 -0
  317. package/lib/components/Editor/tinymce/themes/silver/theme.js +32480 -0
  318. package/lib/components/Editor/tinymce/themes/silver/theme.min.js +9 -0
  319. package/lib/components/Editor/tinymce/tinymce.d.ts +2963 -0
  320. package/lib/components/Editor/tinymce/tinymce.js +30106 -0
  321. package/lib/components/Editor/tinymce/tinymce.min.js +30106 -0
  322. package/lib/components/FilePreparer/FilePreparer.d.ts +26 -0
  323. package/lib/components/FilePreparer/FilePreparer.js +247 -0
  324. package/lib/components/FilePreparer/index.d.ts +2 -0
  325. package/lib/components/FilePreparer/index.js +1 -0
  326. package/lib/components/FileUploader/FileUploader.d.ts +9 -0
  327. package/lib/components/FileUploader/FileUploader.js +318 -0
  328. package/lib/components/FileUploader/index.d.ts +2 -0
  329. package/lib/components/FileUploader/index.js +1 -0
  330. package/lib/components/FormVisualizer/FormVisualizer.d.ts +92 -0
  331. package/lib/components/FormVisualizer/FormVisualizer.js +289 -0
  332. package/lib/components/FormVisualizer/index.d.ts +2 -0
  333. package/lib/components/FormVisualizer/index.js +1 -0
  334. package/lib/components/Highlight/Highlight.d.ts +7 -0
  335. package/lib/components/Highlight/Highlight.js +51 -0
  336. package/lib/components/Highlight/index.d.ts +2 -0
  337. package/lib/components/Highlight/index.js +1 -0
  338. package/lib/components/ImageResize/ImageResize.d.ts +28 -0
  339. package/lib/components/ImageResize/ImageResize.js +479 -0
  340. package/lib/components/ImageResize/index.d.ts +2 -0
  341. package/lib/components/ImageResize/index.js +1 -0
  342. package/lib/components/ImageResizeButton/ImageResizeButton.d.ts +26 -0
  343. package/lib/components/ImageResizeButton/ImageResizeButton.js +65 -0
  344. package/lib/components/ImageResizeButton/index.d.ts +2 -0
  345. package/lib/components/ImageResizeButton/index.js +1 -0
  346. package/lib/components/Input/Input.d.ts +8 -0
  347. package/lib/components/Input/Input.js +353 -0
  348. package/lib/components/Input/index.d.ts +2 -0
  349. package/lib/components/Input/index.js +1 -0
  350. package/lib/components/InputTags/InputTags.d.ts +8 -0
  351. package/lib/components/InputTags/InputTags.js +94 -0
  352. package/lib/components/InputTags/index.d.ts +2 -0
  353. package/lib/components/InputTags/index.js +1 -0
  354. package/lib/components/ListSelect/ListSelect.d.ts +8 -0
  355. package/lib/components/ListSelect/ListSelect.js +94 -0
  356. package/lib/components/ListSelect/index.d.ts +2 -0
  357. package/lib/components/ListSelect/index.js +1 -0
  358. package/lib/components/MaterialButton/MaterialButton.d.ts +13 -0
  359. package/lib/components/MaterialButton/MaterialButton.js +177 -0
  360. package/lib/components/MaterialButton/index.d.ts +2 -0
  361. package/lib/components/MaterialButton/index.js +1 -0
  362. package/lib/components/MenuBar/MenuBar.d.ts +8 -0
  363. package/lib/components/MenuBar/MenuBar.js +139 -0
  364. package/lib/components/MenuBar/index.d.ts +2 -0
  365. package/lib/components/MenuBar/index.js +1 -0
  366. package/lib/components/MonthPicker/MonthPicker.d.ts +8 -0
  367. package/lib/components/MonthPicker/MonthPicker.js +313 -0
  368. package/lib/components/MonthPicker/index.d.ts +2 -0
  369. package/lib/components/MonthPicker/index.js +1 -0
  370. package/lib/components/MultipleSelect/MultipleSelect.d.ts +8 -0
  371. package/lib/components/MultipleSelect/MultipleSelect.js +106 -0
  372. package/lib/components/MultipleSelect/index.d.ts +2 -0
  373. package/lib/components/MultipleSelect/index.js +1 -0
  374. package/lib/components/OtpInput/OtpInput.tsx +244 -0
  375. package/lib/components/OtpInput/index.d.ts +2 -0
  376. package/lib/components/OtpInput/index.js +1 -0
  377. package/lib/components/OutputText/OutputText.d.ts +8 -0
  378. package/lib/components/OutputText/OutputText.js +57 -0
  379. package/lib/components/OutputText/index.d.ts +2 -0
  380. package/lib/components/OutputText/index.js +1 -0
  381. package/lib/components/Pagination/Pagination.d.ts +8 -0
  382. package/lib/components/Pagination/Pagination.js +32 -0
  383. package/lib/components/Pagination/index.d.ts +2 -0
  384. package/lib/components/Pagination/index.js +1 -0
  385. package/lib/components/Programa/Programa.d.ts +31 -0
  386. package/lib/components/Programa/Programa.js +172 -0
  387. package/lib/components/Programa/index.d.ts +2 -0
  388. package/lib/components/Programa/index.js +1 -0
  389. package/lib/components/ProgressBar/ProgressBar.d.ts +8 -0
  390. package/lib/components/ProgressBar/ProgressBar.js +71 -0
  391. package/lib/components/ProgressBar/index.d.ts +2 -0
  392. package/lib/components/ProgressBar/index.js +1 -0
  393. package/lib/components/Select/Select.d.ts +8 -0
  394. package/lib/components/Select/Select.js +117 -0
  395. package/lib/components/Select/index.d.ts +2 -0
  396. package/lib/components/Select/index.js +1 -0
  397. package/lib/components/SimpleTable/SimpleTable.d.ts +13 -0
  398. package/lib/components/SimpleTable/SimpleTable.js +504 -0
  399. package/lib/components/SimpleTable/index.d.ts +2 -0
  400. package/lib/components/SimpleTable/index.js +2 -0
  401. package/lib/components/Stepper/Stepper.d.ts +54 -0
  402. package/lib/components/Stepper/Stepper.js +222 -0
  403. package/lib/components/Stepper/index.d.ts +2 -0
  404. package/lib/components/Stepper/index.js +1 -0
  405. package/lib/components/TablePicker/TablePicker.d.ts +8 -0
  406. package/lib/components/TablePicker/TablePicker.js +238 -0
  407. package/lib/components/TablePicker/index.d.ts +2 -0
  408. package/lib/components/TablePicker/index.js +1 -0
  409. package/lib/components/Tabs/Tabs.d.ts +8 -0
  410. package/lib/components/Tabs/Tabs.js +59 -0
  411. package/lib/components/Tabs/index.d.ts +2 -0
  412. package/lib/components/Tabs/index.js +1 -0
  413. package/lib/components/TextArea/TextArea.d.ts +8 -0
  414. package/lib/components/TextArea/TextArea.js +123 -0
  415. package/lib/components/TextArea/index.d.ts +2 -0
  416. package/lib/components/TextArea/index.js +1 -0
  417. package/lib/components/ThreadLog/ThreadLog.d.ts +8 -0
  418. package/lib/components/ThreadLog/ThreadLog.js +189 -0
  419. package/lib/components/ThreadLog/index.d.ts +2 -0
  420. package/lib/components/ThreadLog/index.js +1 -0
  421. package/lib/components/UtilAutoComplete/UtilAutoComplete.d.ts +93 -0
  422. package/lib/components/UtilAutoComplete/UtilAutoComplete.js +130 -0
  423. package/lib/components/UtilAutoComplete/index.d.ts +2 -0
  424. package/lib/components/UtilAutoComplete/index.js +1 -0
  425. package/lib/components/index.d.ts +148 -0
  426. package/lib/components/index.js +146 -0
  427. package/lib/fieldsRedux/createField.d.ts +8 -0
  428. package/lib/fieldsRedux/createField.js +120 -0
  429. package/lib/fieldsRedux/fieldsRedux.d.ts +71 -0
  430. package/lib/fieldsRedux/fieldsRedux.js +391 -0
  431. package/lib/fieldsRedux/index.d.ts +4 -0
  432. package/lib/fieldsRedux/index.js +5 -0
  433. package/lib/fieldsRedux/passFields.d.ts +5 -0
  434. package/lib/fieldsRedux/passFields.js +76 -0
  435. package/lib/reducers/argous.ts +103 -0
  436. package/lib/reducers/index.ts +6 -0
  437. package/lib/types.d.ts +144 -0
  438. package/lib/utils/api.ts +153 -0
  439. package/lib/utils/config.ts +12 -0
  440. package/lib/utils/date.ts +63 -0
  441. package/lib/utils/index.ts +314 -0
  442. package/lib/utils/rippleEffect.js +211 -0
  443. package/lib/utils/store.ts +11 -0
  444. package/lib/utils/xmlToJson.js +117 -0
  445. package/package.json +1 -1
  446. package/dist/components/ArgousComplexTableBody/dnd/Container.d.ts +0 -55
  447. package/dist/components/ArgousComplexTableBody/dnd/Container.js +0 -173
  448. package/dist/components/ArgousComplexTableBody/dnd/Draggable.d.ts +0 -14
  449. package/dist/components/ArgousComplexTableBody/dnd/Draggable.js +0 -73
  450. package/dist/components/ArgousComplexTableBody/dnd/index.d.ts +0 -2
  451. package/dist/components/ArgousComplexTableBody/dnd/index.js +0 -10
  452. package/dist/components/ConfirmModal/useModal.d.ts +0 -2
  453. package/dist/components/ConfirmModal/useModal.js +0 -9
  454. package/dist/components/DropArea/worker.d.ts +0 -1
  455. package/dist/components/DropArea/worker.js +0 -55
  456. package/dist/components/Editor/tinymce/icons/default/icons.d.ts +0 -0
  457. package/dist/components/Editor/tinymce/icons/default/icons.js +0 -173
  458. package/dist/components/Editor/tinymce/plugins/advlist/plugin.d.ts +0 -0
  459. package/dist/components/Editor/tinymce/plugins/advlist/plugin.js +0 -271
  460. package/dist/components/Editor/tinymce/plugins/anchor/plugin.d.ts +0 -0
  461. package/dist/components/Editor/tinymce/plugins/anchor/plugin.js +0 -207
  462. package/dist/components/Editor/tinymce/plugins/autolink/plugin.d.ts +0 -0
  463. package/dist/components/Editor/tinymce/plugins/autolink/plugin.js +0 -187
  464. package/dist/components/Editor/tinymce/plugins/autoresize/plugin.d.ts +0 -0
  465. package/dist/components/Editor/tinymce/plugins/autoresize/plugin.js +0 -163
  466. package/dist/components/Editor/tinymce/plugins/autosave/plugin.d.ts +0 -0
  467. package/dist/components/Editor/tinymce/plugins/autosave/plugin.js +0 -199
  468. package/dist/components/Editor/tinymce/plugins/bbcode/plugin.d.ts +0 -0
  469. package/dist/components/Editor/tinymce/plugins/bbcode/plugin.js +0 -94
  470. package/dist/components/Editor/tinymce/plugins/charmap/plugin.d.ts +0 -0
  471. package/dist/components/Editor/tinymce/plugins/charmap/plugin.js +0 -1691
  472. package/dist/components/Editor/tinymce/plugins/code/plugin.d.ts +0 -0
  473. package/dist/components/Editor/tinymce/plugins/code/plugin.js +0 -85
  474. package/dist/components/Editor/tinymce/plugins/codesample/plugin.js +0 -2331
  475. package/dist/components/Editor/tinymce/plugins/colorpicker/plugin.d.ts +0 -0
  476. package/dist/components/Editor/tinymce/plugins/contextmenu/plugin.d.ts +0 -0
  477. package/dist/components/Editor/tinymce/plugins/directionality/plugin.d.ts +0 -0
  478. package/dist/components/Editor/tinymce/plugins/directionality/plugin.js +0 -300
  479. package/dist/components/Editor/tinymce/plugins/emoticons/js/emojiimages.d.ts +0 -0
  480. package/dist/components/Editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -9425
  481. package/dist/components/Editor/tinymce/plugins/emoticons/js/emojis.d.ts +0 -0
  482. package/dist/components/Editor/tinymce/plugins/emoticons/js/emojis.js +0 -9424
  483. package/dist/components/Editor/tinymce/plugins/emoticons/plugin.d.ts +0 -0
  484. package/dist/components/Editor/tinymce/plugins/emoticons/plugin.js +0 -585
  485. package/dist/components/Editor/tinymce/plugins/fullpage/plugin.d.ts +0 -0
  486. package/dist/components/Editor/tinymce/plugins/fullpage/plugin.js +0 -539
  487. package/dist/components/Editor/tinymce/plugins/fullscreen/plugin.d.ts +0 -0
  488. package/dist/components/Editor/tinymce/plugins/fullscreen/plugin.js +0 -962
  489. package/dist/components/Editor/tinymce/plugins/help/plugin.d.ts +0 -0
  490. package/dist/components/Editor/tinymce/plugins/help/plugin.js +0 -850
  491. package/dist/components/Editor/tinymce/plugins/hr/plugin.d.ts +0 -0
  492. package/dist/components/Editor/tinymce/plugins/hr/plugin.js +0 -41
  493. package/dist/components/Editor/tinymce/plugins/image/plugin.d.ts +0 -0
  494. package/dist/components/Editor/tinymce/plugins/image/plugin.js +0 -1673
  495. package/dist/components/Editor/tinymce/plugins/imagetools/plugin.d.ts +0 -0
  496. package/dist/components/Editor/tinymce/plugins/imagetools/plugin.js +0 -1335
  497. package/dist/components/Editor/tinymce/plugins/importcss/plugin.d.ts +0 -0
  498. package/dist/components/Editor/tinymce/plugins/importcss/plugin.js +0 -346
  499. package/dist/components/Editor/tinymce/plugins/insertdatetime/plugin.d.ts +0 -0
  500. package/dist/components/Editor/tinymce/plugins/insertdatetime/plugin.js +0 -171
  501. package/dist/components/Editor/tinymce/plugins/legacyoutput/plugin.d.ts +0 -0
  502. package/dist/components/Editor/tinymce/plugins/legacyoutput/plugin.js +0 -193
  503. package/dist/components/Editor/tinymce/plugins/link/plugin.d.ts +0 -0
  504. package/dist/components/Editor/tinymce/plugins/link/plugin.js +0 -1282
  505. package/dist/components/Editor/tinymce/plugins/lists/plugin.d.ts +0 -0
  506. package/dist/components/Editor/tinymce/plugins/lists/plugin.js +0 -2256
  507. package/dist/components/Editor/tinymce/plugins/media/plugin.d.ts +0 -0
  508. package/dist/components/Editor/tinymce/plugins/media/plugin.js +0 -1374
  509. package/dist/components/Editor/tinymce/plugins/nonbreaking/plugin.d.ts +0 -0
  510. package/dist/components/Editor/tinymce/plugins/nonbreaking/plugin.js +0 -93
  511. package/dist/components/Editor/tinymce/plugins/noneditable/plugin.d.ts +0 -0
  512. package/dist/components/Editor/tinymce/plugins/noneditable/plugin.js +0 -114
  513. package/dist/components/Editor/tinymce/plugins/pagebreak/plugin.d.ts +0 -0
  514. package/dist/components/Editor/tinymce/plugins/pagebreak/plugin.js +0 -96
  515. package/dist/components/Editor/tinymce/plugins/paste/plugin.d.ts +0 -0
  516. package/dist/components/Editor/tinymce/plugins/paste/plugin.js +0 -1747
  517. package/dist/components/Editor/tinymce/plugins/preview/plugin.d.ts +0 -0
  518. package/dist/components/Editor/tinymce/plugins/preview/plugin.js +0 -119
  519. package/dist/components/Editor/tinymce/plugins/print/plugin.d.ts +0 -0
  520. package/dist/components/Editor/tinymce/plugins/print/plugin.js +0 -48
  521. package/dist/components/Editor/tinymce/plugins/quickbars/plugin.d.ts +0 -0
  522. package/dist/components/Editor/tinymce/plugins/quickbars/plugin.js +0 -475
  523. package/dist/components/Editor/tinymce/plugins/save/plugin.d.ts +0 -0
  524. package/dist/components/Editor/tinymce/plugins/save/plugin.js +0 -112
  525. package/dist/components/Editor/tinymce/plugins/searchreplace/plugin.d.ts +0 -0
  526. package/dist/components/Editor/tinymce/plugins/searchreplace/plugin.js +0 -1149
  527. package/dist/components/Editor/tinymce/plugins/spellchecker/plugin.d.ts +0 -0
  528. package/dist/components/Editor/tinymce/plugins/spellchecker/plugin.js +0 -723
  529. package/dist/components/Editor/tinymce/plugins/tabfocus/plugin.d.ts +0 -0
  530. package/dist/components/Editor/tinymce/plugins/tabfocus/plugin.js +0 -124
  531. package/dist/components/Editor/tinymce/plugins/table/plugin.d.ts +0 -0
  532. package/dist/components/Editor/tinymce/plugins/table/plugin.js +0 -10853
  533. package/dist/components/Editor/tinymce/plugins/template/plugin.d.ts +0 -0
  534. package/dist/components/Editor/tinymce/plugins/template/plugin.js +0 -561
  535. package/dist/components/Editor/tinymce/plugins/textcolor/plugin.d.ts +0 -0
  536. package/dist/components/Editor/tinymce/plugins/textpattern/plugin.d.ts +0 -0
  537. package/dist/components/Editor/tinymce/plugins/textpattern/plugin.js +0 -1393
  538. package/dist/components/Editor/tinymce/plugins/toc/plugin.d.ts +0 -0
  539. package/dist/components/Editor/tinymce/plugins/toc/plugin.js +0 -227
  540. package/dist/components/Editor/tinymce/plugins/visualblocks/plugin.d.ts +0 -0
  541. package/dist/components/Editor/tinymce/plugins/visualblocks/plugin.js +0 -94
  542. package/dist/components/Editor/tinymce/plugins/visualchars/plugin.d.ts +0 -0
  543. package/dist/components/Editor/tinymce/plugins/visualchars/plugin.js +0 -521
  544. package/dist/components/Editor/tinymce/plugins/wordcount/plugin.d.ts +0 -0
  545. package/dist/components/Editor/tinymce/plugins/wordcount/plugin.js +0 -397
  546. package/dist/components/Editor/tinymce/themes/mobile/theme.js +0 -13348
  547. package/dist/components/Editor/tinymce/themes/silver/theme.js +0 -32028
  548. package/dist/components/Editor/tinymce/tinymce.js +0 -30486
  549. package/dist/components/FilePreparer/worker.d.ts +0 -2
  550. package/dist/components/FilePreparer/worker.js +0 -31
  551. package/dist/convertReacticons.d.ts +0 -1
  552. package/dist/convertReacticons.js +0 -62
  553. package/dist/utils/Fields.d.ts +0 -0
  554. package/dist/utils/Fields.js +0 -1
@@ -0,0 +1,1706 @@
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)
8
+ */
9
+ (function () {
10
+ 'use strict';
11
+
12
+ var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13
+
14
+ var fireInsertCustomChar = function (editor, chr) {
15
+ return editor.fire('insertCustomChar', { chr: chr });
16
+ };
17
+
18
+ var insertChar = function (editor, chr) {
19
+ var evtChr = fireInsertCustomChar(editor, chr).chr;
20
+ editor.execCommand('mceInsertContent', false, evtChr);
21
+ };
22
+
23
+ var typeOf = function (x) {
24
+ var t = typeof x;
25
+ if (x === null) {
26
+ return 'null';
27
+ } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
28
+ return 'array';
29
+ } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
30
+ return 'string';
31
+ } else {
32
+ return t;
33
+ }
34
+ };
35
+ var isType = function (type) {
36
+ return function (value) {
37
+ return typeOf(value) === type;
38
+ };
39
+ };
40
+ var isArray = isType('array');
41
+
42
+ var noop = function () {
43
+ };
44
+ var constant = function (value) {
45
+ return function () {
46
+ return value;
47
+ };
48
+ };
49
+ var never = constant(false);
50
+ var always = constant(true);
51
+
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
+ });
145
+ }
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
+ };
157
+
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];
164
+ r[i] = f(x, i);
165
+ }
166
+ return r;
167
+ };
168
+ var each = function (xs, f) {
169
+ for (var i = 0, len = xs.length; i < len; i++) {
170
+ var x = xs[i];
171
+ f(x, i);
172
+ }
173
+ };
174
+ var findUntil = function (xs, pred, until) {
175
+ for (var i = 0, len = xs.length; i < len; i++) {
176
+ var x = xs[i];
177
+ if (pred(x, i)) {
178
+ return Optional.some(x);
179
+ } else if (until(x, i)) {
180
+ break;
181
+ }
182
+ }
183
+ return Optional.none();
184
+ };
185
+ var find = function (xs, pred) {
186
+ return findUntil(xs, pred, never);
187
+ };
188
+ var flatten = function (xs) {
189
+ var r = [];
190
+ for (var i = 0, len = xs.length; i < len; ++i) {
191
+ if (!isArray(xs[i])) {
192
+ throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
193
+ }
194
+ nativePush.apply(r, xs[i]);
195
+ }
196
+ return r;
197
+ };
198
+ var bind = function (xs, f) {
199
+ return flatten(map(xs, f));
200
+ };
201
+
202
+ var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
203
+
204
+ var getCharMap = function (editor) {
205
+ return editor.getParam('charmap');
206
+ };
207
+ var getCharMapAppend = function (editor) {
208
+ return editor.getParam('charmap_append');
209
+ };
210
+
211
+ var isArray$1 = global$1.isArray;
212
+ var UserDefined = 'User Defined';
213
+ var getDefaultCharMap = function () {
214
+ return [
215
+ {
216
+ name: 'Currency',
217
+ characters: [
218
+ [
219
+ 36,
220
+ 'dollar sign'
221
+ ],
222
+ [
223
+ 162,
224
+ 'cent sign'
225
+ ],
226
+ [
227
+ 8364,
228
+ 'euro sign'
229
+ ],
230
+ [
231
+ 163,
232
+ 'pound sign'
233
+ ],
234
+ [
235
+ 165,
236
+ 'yen sign'
237
+ ],
238
+ [
239
+ 164,
240
+ 'currency sign'
241
+ ],
242
+ [
243
+ 8352,
244
+ 'euro-currency sign'
245
+ ],
246
+ [
247
+ 8353,
248
+ 'colon sign'
249
+ ],
250
+ [
251
+ 8354,
252
+ 'cruzeiro sign'
253
+ ],
254
+ [
255
+ 8355,
256
+ 'french franc sign'
257
+ ],
258
+ [
259
+ 8356,
260
+ 'lira sign'
261
+ ],
262
+ [
263
+ 8357,
264
+ 'mill sign'
265
+ ],
266
+ [
267
+ 8358,
268
+ 'naira sign'
269
+ ],
270
+ [
271
+ 8359,
272
+ 'peseta sign'
273
+ ],
274
+ [
275
+ 8360,
276
+ 'rupee sign'
277
+ ],
278
+ [
279
+ 8361,
280
+ 'won sign'
281
+ ],
282
+ [
283
+ 8362,
284
+ 'new sheqel sign'
285
+ ],
286
+ [
287
+ 8363,
288
+ 'dong sign'
289
+ ],
290
+ [
291
+ 8365,
292
+ 'kip sign'
293
+ ],
294
+ [
295
+ 8366,
296
+ 'tugrik sign'
297
+ ],
298
+ [
299
+ 8367,
300
+ 'drachma sign'
301
+ ],
302
+ [
303
+ 8368,
304
+ 'german penny symbol'
305
+ ],
306
+ [
307
+ 8369,
308
+ 'peso sign'
309
+ ],
310
+ [
311
+ 8370,
312
+ 'guarani sign'
313
+ ],
314
+ [
315
+ 8371,
316
+ 'austral sign'
317
+ ],
318
+ [
319
+ 8372,
320
+ 'hryvnia sign'
321
+ ],
322
+ [
323
+ 8373,
324
+ 'cedi sign'
325
+ ],
326
+ [
327
+ 8374,
328
+ 'livre tournois sign'
329
+ ],
330
+ [
331
+ 8375,
332
+ 'spesmilo sign'
333
+ ],
334
+ [
335
+ 8376,
336
+ 'tenge sign'
337
+ ],
338
+ [
339
+ 8377,
340
+ 'indian rupee sign'
341
+ ],
342
+ [
343
+ 8378,
344
+ 'turkish lira sign'
345
+ ],
346
+ [
347
+ 8379,
348
+ 'nordic mark sign'
349
+ ],
350
+ [
351
+ 8380,
352
+ 'manat sign'
353
+ ],
354
+ [
355
+ 8381,
356
+ 'ruble sign'
357
+ ],
358
+ [
359
+ 20870,
360
+ 'yen character'
361
+ ],
362
+ [
363
+ 20803,
364
+ 'yuan character'
365
+ ],
366
+ [
367
+ 22291,
368
+ 'yuan character, in hong kong and taiwan'
369
+ ],
370
+ [
371
+ 22278,
372
+ 'yen/yuan character variant one'
373
+ ]
374
+ ]
375
+ },
376
+ {
377
+ name: 'Text',
378
+ characters: [
379
+ [
380
+ 169,
381
+ 'copyright sign'
382
+ ],
383
+ [
384
+ 174,
385
+ 'registered sign'
386
+ ],
387
+ [
388
+ 8482,
389
+ 'trade mark sign'
390
+ ],
391
+ [
392
+ 8240,
393
+ 'per mille sign'
394
+ ],
395
+ [
396
+ 181,
397
+ 'micro sign'
398
+ ],
399
+ [
400
+ 183,
401
+ 'middle dot'
402
+ ],
403
+ [
404
+ 8226,
405
+ 'bullet'
406
+ ],
407
+ [
408
+ 8230,
409
+ 'three dot leader'
410
+ ],
411
+ [
412
+ 8242,
413
+ 'minutes / feet'
414
+ ],
415
+ [
416
+ 8243,
417
+ 'seconds / inches'
418
+ ],
419
+ [
420
+ 167,
421
+ 'section sign'
422
+ ],
423
+ [
424
+ 182,
425
+ 'paragraph sign'
426
+ ],
427
+ [
428
+ 223,
429
+ 'sharp s / ess-zed'
430
+ ]
431
+ ]
432
+ },
433
+ {
434
+ name: 'Quotations',
435
+ characters: [
436
+ [
437
+ 8249,
438
+ 'single left-pointing angle quotation mark'
439
+ ],
440
+ [
441
+ 8250,
442
+ 'single right-pointing angle quotation mark'
443
+ ],
444
+ [
445
+ 171,
446
+ 'left pointing guillemet'
447
+ ],
448
+ [
449
+ 187,
450
+ 'right pointing guillemet'
451
+ ],
452
+ [
453
+ 8216,
454
+ 'left single quotation mark'
455
+ ],
456
+ [
457
+ 8217,
458
+ 'right single quotation mark'
459
+ ],
460
+ [
461
+ 8220,
462
+ 'left double quotation mark'
463
+ ],
464
+ [
465
+ 8221,
466
+ 'right double quotation mark'
467
+ ],
468
+ [
469
+ 8218,
470
+ 'single low-9 quotation mark'
471
+ ],
472
+ [
473
+ 8222,
474
+ 'double low-9 quotation mark'
475
+ ],
476
+ [
477
+ 60,
478
+ 'less-than sign'
479
+ ],
480
+ [
481
+ 62,
482
+ 'greater-than sign'
483
+ ],
484
+ [
485
+ 8804,
486
+ 'less-than or equal to'
487
+ ],
488
+ [
489
+ 8805,
490
+ 'greater-than or equal to'
491
+ ],
492
+ [
493
+ 8211,
494
+ 'en dash'
495
+ ],
496
+ [
497
+ 8212,
498
+ 'em dash'
499
+ ],
500
+ [
501
+ 175,
502
+ 'macron'
503
+ ],
504
+ [
505
+ 8254,
506
+ 'overline'
507
+ ],
508
+ [
509
+ 164,
510
+ 'currency sign'
511
+ ],
512
+ [
513
+ 166,
514
+ 'broken bar'
515
+ ],
516
+ [
517
+ 168,
518
+ 'diaeresis'
519
+ ],
520
+ [
521
+ 161,
522
+ 'inverted exclamation mark'
523
+ ],
524
+ [
525
+ 191,
526
+ 'turned question mark'
527
+ ],
528
+ [
529
+ 710,
530
+ 'circumflex accent'
531
+ ],
532
+ [
533
+ 732,
534
+ 'small tilde'
535
+ ],
536
+ [
537
+ 176,
538
+ 'degree sign'
539
+ ],
540
+ [
541
+ 8722,
542
+ 'minus sign'
543
+ ],
544
+ [
545
+ 177,
546
+ 'plus-minus sign'
547
+ ],
548
+ [
549
+ 247,
550
+ 'division sign'
551
+ ],
552
+ [
553
+ 8260,
554
+ 'fraction slash'
555
+ ],
556
+ [
557
+ 215,
558
+ 'multiplication sign'
559
+ ],
560
+ [
561
+ 185,
562
+ 'superscript one'
563
+ ],
564
+ [
565
+ 178,
566
+ 'superscript two'
567
+ ],
568
+ [
569
+ 179,
570
+ 'superscript three'
571
+ ],
572
+ [
573
+ 188,
574
+ 'fraction one quarter'
575
+ ],
576
+ [
577
+ 189,
578
+ 'fraction one half'
579
+ ],
580
+ [
581
+ 190,
582
+ 'fraction three quarters'
583
+ ]
584
+ ]
585
+ },
586
+ {
587
+ name: 'Mathematical',
588
+ characters: [
589
+ [
590
+ 402,
591
+ 'function / florin'
592
+ ],
593
+ [
594
+ 8747,
595
+ 'integral'
596
+ ],
597
+ [
598
+ 8721,
599
+ 'n-ary sumation'
600
+ ],
601
+ [
602
+ 8734,
603
+ 'infinity'
604
+ ],
605
+ [
606
+ 8730,
607
+ 'square root'
608
+ ],
609
+ [
610
+ 8764,
611
+ 'similar to'
612
+ ],
613
+ [
614
+ 8773,
615
+ 'approximately equal to'
616
+ ],
617
+ [
618
+ 8776,
619
+ 'almost equal to'
620
+ ],
621
+ [
622
+ 8800,
623
+ 'not equal to'
624
+ ],
625
+ [
626
+ 8801,
627
+ 'identical to'
628
+ ],
629
+ [
630
+ 8712,
631
+ 'element of'
632
+ ],
633
+ [
634
+ 8713,
635
+ 'not an element of'
636
+ ],
637
+ [
638
+ 8715,
639
+ 'contains as member'
640
+ ],
641
+ [
642
+ 8719,
643
+ 'n-ary product'
644
+ ],
645
+ [
646
+ 8743,
647
+ 'logical and'
648
+ ],
649
+ [
650
+ 8744,
651
+ 'logical or'
652
+ ],
653
+ [
654
+ 172,
655
+ 'not sign'
656
+ ],
657
+ [
658
+ 8745,
659
+ 'intersection'
660
+ ],
661
+ [
662
+ 8746,
663
+ 'union'
664
+ ],
665
+ [
666
+ 8706,
667
+ 'partial differential'
668
+ ],
669
+ [
670
+ 8704,
671
+ 'for all'
672
+ ],
673
+ [
674
+ 8707,
675
+ 'there exists'
676
+ ],
677
+ [
678
+ 8709,
679
+ 'diameter'
680
+ ],
681
+ [
682
+ 8711,
683
+ 'backward difference'
684
+ ],
685
+ [
686
+ 8727,
687
+ 'asterisk operator'
688
+ ],
689
+ [
690
+ 8733,
691
+ 'proportional to'
692
+ ],
693
+ [
694
+ 8736,
695
+ 'angle'
696
+ ]
697
+ ]
698
+ },
699
+ {
700
+ name: 'Extended Latin',
701
+ characters: [
702
+ [
703
+ 192,
704
+ 'A - grave'
705
+ ],
706
+ [
707
+ 193,
708
+ 'A - acute'
709
+ ],
710
+ [
711
+ 194,
712
+ 'A - circumflex'
713
+ ],
714
+ [
715
+ 195,
716
+ 'A - tilde'
717
+ ],
718
+ [
719
+ 196,
720
+ 'A - diaeresis'
721
+ ],
722
+ [
723
+ 197,
724
+ 'A - ring above'
725
+ ],
726
+ [
727
+ 256,
728
+ 'A - macron'
729
+ ],
730
+ [
731
+ 198,
732
+ 'ligature AE'
733
+ ],
734
+ [
735
+ 199,
736
+ 'C - cedilla'
737
+ ],
738
+ [
739
+ 200,
740
+ 'E - grave'
741
+ ],
742
+ [
743
+ 201,
744
+ 'E - acute'
745
+ ],
746
+ [
747
+ 202,
748
+ 'E - circumflex'
749
+ ],
750
+ [
751
+ 203,
752
+ 'E - diaeresis'
753
+ ],
754
+ [
755
+ 274,
756
+ 'E - macron'
757
+ ],
758
+ [
759
+ 204,
760
+ 'I - grave'
761
+ ],
762
+ [
763
+ 205,
764
+ 'I - acute'
765
+ ],
766
+ [
767
+ 206,
768
+ 'I - circumflex'
769
+ ],
770
+ [
771
+ 207,
772
+ 'I - diaeresis'
773
+ ],
774
+ [
775
+ 298,
776
+ 'I - macron'
777
+ ],
778
+ [
779
+ 208,
780
+ 'ETH'
781
+ ],
782
+ [
783
+ 209,
784
+ 'N - tilde'
785
+ ],
786
+ [
787
+ 210,
788
+ 'O - grave'
789
+ ],
790
+ [
791
+ 211,
792
+ 'O - acute'
793
+ ],
794
+ [
795
+ 212,
796
+ 'O - circumflex'
797
+ ],
798
+ [
799
+ 213,
800
+ 'O - tilde'
801
+ ],
802
+ [
803
+ 214,
804
+ 'O - diaeresis'
805
+ ],
806
+ [
807
+ 216,
808
+ 'O - slash'
809
+ ],
810
+ [
811
+ 332,
812
+ 'O - macron'
813
+ ],
814
+ [
815
+ 338,
816
+ 'ligature OE'
817
+ ],
818
+ [
819
+ 352,
820
+ 'S - caron'
821
+ ],
822
+ [
823
+ 217,
824
+ 'U - grave'
825
+ ],
826
+ [
827
+ 218,
828
+ 'U - acute'
829
+ ],
830
+ [
831
+ 219,
832
+ 'U - circumflex'
833
+ ],
834
+ [
835
+ 220,
836
+ 'U - diaeresis'
837
+ ],
838
+ [
839
+ 362,
840
+ 'U - macron'
841
+ ],
842
+ [
843
+ 221,
844
+ 'Y - acute'
845
+ ],
846
+ [
847
+ 376,
848
+ 'Y - diaeresis'
849
+ ],
850
+ [
851
+ 562,
852
+ 'Y - macron'
853
+ ],
854
+ [
855
+ 222,
856
+ 'THORN'
857
+ ],
858
+ [
859
+ 224,
860
+ 'a - grave'
861
+ ],
862
+ [
863
+ 225,
864
+ 'a - acute'
865
+ ],
866
+ [
867
+ 226,
868
+ 'a - circumflex'
869
+ ],
870
+ [
871
+ 227,
872
+ 'a - tilde'
873
+ ],
874
+ [
875
+ 228,
876
+ 'a - diaeresis'
877
+ ],
878
+ [
879
+ 229,
880
+ 'a - ring above'
881
+ ],
882
+ [
883
+ 257,
884
+ 'a - macron'
885
+ ],
886
+ [
887
+ 230,
888
+ 'ligature ae'
889
+ ],
890
+ [
891
+ 231,
892
+ 'c - cedilla'
893
+ ],
894
+ [
895
+ 232,
896
+ 'e - grave'
897
+ ],
898
+ [
899
+ 233,
900
+ 'e - acute'
901
+ ],
902
+ [
903
+ 234,
904
+ 'e - circumflex'
905
+ ],
906
+ [
907
+ 235,
908
+ 'e - diaeresis'
909
+ ],
910
+ [
911
+ 275,
912
+ 'e - macron'
913
+ ],
914
+ [
915
+ 236,
916
+ 'i - grave'
917
+ ],
918
+ [
919
+ 237,
920
+ 'i - acute'
921
+ ],
922
+ [
923
+ 238,
924
+ 'i - circumflex'
925
+ ],
926
+ [
927
+ 239,
928
+ 'i - diaeresis'
929
+ ],
930
+ [
931
+ 299,
932
+ 'i - macron'
933
+ ],
934
+ [
935
+ 240,
936
+ 'eth'
937
+ ],
938
+ [
939
+ 241,
940
+ 'n - tilde'
941
+ ],
942
+ [
943
+ 242,
944
+ 'o - grave'
945
+ ],
946
+ [
947
+ 243,
948
+ 'o - acute'
949
+ ],
950
+ [
951
+ 244,
952
+ 'o - circumflex'
953
+ ],
954
+ [
955
+ 245,
956
+ 'o - tilde'
957
+ ],
958
+ [
959
+ 246,
960
+ 'o - diaeresis'
961
+ ],
962
+ [
963
+ 248,
964
+ 'o slash'
965
+ ],
966
+ [
967
+ 333,
968
+ 'o macron'
969
+ ],
970
+ [
971
+ 339,
972
+ 'ligature oe'
973
+ ],
974
+ [
975
+ 353,
976
+ 's - caron'
977
+ ],
978
+ [
979
+ 249,
980
+ 'u - grave'
981
+ ],
982
+ [
983
+ 250,
984
+ 'u - acute'
985
+ ],
986
+ [
987
+ 251,
988
+ 'u - circumflex'
989
+ ],
990
+ [
991
+ 252,
992
+ 'u - diaeresis'
993
+ ],
994
+ [
995
+ 363,
996
+ 'u - macron'
997
+ ],
998
+ [
999
+ 253,
1000
+ 'y - acute'
1001
+ ],
1002
+ [
1003
+ 254,
1004
+ 'thorn'
1005
+ ],
1006
+ [
1007
+ 255,
1008
+ 'y - diaeresis'
1009
+ ],
1010
+ [
1011
+ 563,
1012
+ 'y - macron'
1013
+ ],
1014
+ [
1015
+ 913,
1016
+ 'Alpha'
1017
+ ],
1018
+ [
1019
+ 914,
1020
+ 'Beta'
1021
+ ],
1022
+ [
1023
+ 915,
1024
+ 'Gamma'
1025
+ ],
1026
+ [
1027
+ 916,
1028
+ 'Delta'
1029
+ ],
1030
+ [
1031
+ 917,
1032
+ 'Epsilon'
1033
+ ],
1034
+ [
1035
+ 918,
1036
+ 'Zeta'
1037
+ ],
1038
+ [
1039
+ 919,
1040
+ 'Eta'
1041
+ ],
1042
+ [
1043
+ 920,
1044
+ 'Theta'
1045
+ ],
1046
+ [
1047
+ 921,
1048
+ 'Iota'
1049
+ ],
1050
+ [
1051
+ 922,
1052
+ 'Kappa'
1053
+ ],
1054
+ [
1055
+ 923,
1056
+ 'Lambda'
1057
+ ],
1058
+ [
1059
+ 924,
1060
+ 'Mu'
1061
+ ],
1062
+ [
1063
+ 925,
1064
+ 'Nu'
1065
+ ],
1066
+ [
1067
+ 926,
1068
+ 'Xi'
1069
+ ],
1070
+ [
1071
+ 927,
1072
+ 'Omicron'
1073
+ ],
1074
+ [
1075
+ 928,
1076
+ 'Pi'
1077
+ ],
1078
+ [
1079
+ 929,
1080
+ 'Rho'
1081
+ ],
1082
+ [
1083
+ 931,
1084
+ 'Sigma'
1085
+ ],
1086
+ [
1087
+ 932,
1088
+ 'Tau'
1089
+ ],
1090
+ [
1091
+ 933,
1092
+ 'Upsilon'
1093
+ ],
1094
+ [
1095
+ 934,
1096
+ 'Phi'
1097
+ ],
1098
+ [
1099
+ 935,
1100
+ 'Chi'
1101
+ ],
1102
+ [
1103
+ 936,
1104
+ 'Psi'
1105
+ ],
1106
+ [
1107
+ 937,
1108
+ 'Omega'
1109
+ ],
1110
+ [
1111
+ 945,
1112
+ 'alpha'
1113
+ ],
1114
+ [
1115
+ 946,
1116
+ 'beta'
1117
+ ],
1118
+ [
1119
+ 947,
1120
+ 'gamma'
1121
+ ],
1122
+ [
1123
+ 948,
1124
+ 'delta'
1125
+ ],
1126
+ [
1127
+ 949,
1128
+ 'epsilon'
1129
+ ],
1130
+ [
1131
+ 950,
1132
+ 'zeta'
1133
+ ],
1134
+ [
1135
+ 951,
1136
+ 'eta'
1137
+ ],
1138
+ [
1139
+ 952,
1140
+ 'theta'
1141
+ ],
1142
+ [
1143
+ 953,
1144
+ 'iota'
1145
+ ],
1146
+ [
1147
+ 954,
1148
+ 'kappa'
1149
+ ],
1150
+ [
1151
+ 955,
1152
+ 'lambda'
1153
+ ],
1154
+ [
1155
+ 956,
1156
+ 'mu'
1157
+ ],
1158
+ [
1159
+ 957,
1160
+ 'nu'
1161
+ ],
1162
+ [
1163
+ 958,
1164
+ 'xi'
1165
+ ],
1166
+ [
1167
+ 959,
1168
+ 'omicron'
1169
+ ],
1170
+ [
1171
+ 960,
1172
+ 'pi'
1173
+ ],
1174
+ [
1175
+ 961,
1176
+ 'rho'
1177
+ ],
1178
+ [
1179
+ 962,
1180
+ 'final sigma'
1181
+ ],
1182
+ [
1183
+ 963,
1184
+ 'sigma'
1185
+ ],
1186
+ [
1187
+ 964,
1188
+ 'tau'
1189
+ ],
1190
+ [
1191
+ 965,
1192
+ 'upsilon'
1193
+ ],
1194
+ [
1195
+ 966,
1196
+ 'phi'
1197
+ ],
1198
+ [
1199
+ 967,
1200
+ 'chi'
1201
+ ],
1202
+ [
1203
+ 968,
1204
+ 'psi'
1205
+ ],
1206
+ [
1207
+ 969,
1208
+ 'omega'
1209
+ ]
1210
+ ]
1211
+ },
1212
+ {
1213
+ name: 'Symbols',
1214
+ characters: [
1215
+ [
1216
+ 8501,
1217
+ 'alef symbol'
1218
+ ],
1219
+ [
1220
+ 982,
1221
+ 'pi symbol'
1222
+ ],
1223
+ [
1224
+ 8476,
1225
+ 'real part symbol'
1226
+ ],
1227
+ [
1228
+ 978,
1229
+ 'upsilon - hook symbol'
1230
+ ],
1231
+ [
1232
+ 8472,
1233
+ 'Weierstrass p'
1234
+ ],
1235
+ [
1236
+ 8465,
1237
+ 'imaginary part'
1238
+ ]
1239
+ ]
1240
+ },
1241
+ {
1242
+ name: 'Arrows',
1243
+ characters: [
1244
+ [
1245
+ 8592,
1246
+ 'leftwards arrow'
1247
+ ],
1248
+ [
1249
+ 8593,
1250
+ 'upwards arrow'
1251
+ ],
1252
+ [
1253
+ 8594,
1254
+ 'rightwards arrow'
1255
+ ],
1256
+ [
1257
+ 8595,
1258
+ 'downwards arrow'
1259
+ ],
1260
+ [
1261
+ 8596,
1262
+ 'left right arrow'
1263
+ ],
1264
+ [
1265
+ 8629,
1266
+ 'carriage return'
1267
+ ],
1268
+ [
1269
+ 8656,
1270
+ 'leftwards double arrow'
1271
+ ],
1272
+ [
1273
+ 8657,
1274
+ 'upwards double arrow'
1275
+ ],
1276
+ [
1277
+ 8658,
1278
+ 'rightwards double arrow'
1279
+ ],
1280
+ [
1281
+ 8659,
1282
+ 'downwards double arrow'
1283
+ ],
1284
+ [
1285
+ 8660,
1286
+ 'left right double arrow'
1287
+ ],
1288
+ [
1289
+ 8756,
1290
+ 'therefore'
1291
+ ],
1292
+ [
1293
+ 8834,
1294
+ 'subset of'
1295
+ ],
1296
+ [
1297
+ 8835,
1298
+ 'superset of'
1299
+ ],
1300
+ [
1301
+ 8836,
1302
+ 'not a subset of'
1303
+ ],
1304
+ [
1305
+ 8838,
1306
+ 'subset of or equal to'
1307
+ ],
1308
+ [
1309
+ 8839,
1310
+ 'superset of or equal to'
1311
+ ],
1312
+ [
1313
+ 8853,
1314
+ 'circled plus'
1315
+ ],
1316
+ [
1317
+ 8855,
1318
+ 'circled times'
1319
+ ],
1320
+ [
1321
+ 8869,
1322
+ 'perpendicular'
1323
+ ],
1324
+ [
1325
+ 8901,
1326
+ 'dot operator'
1327
+ ],
1328
+ [
1329
+ 8968,
1330
+ 'left ceiling'
1331
+ ],
1332
+ [
1333
+ 8969,
1334
+ 'right ceiling'
1335
+ ],
1336
+ [
1337
+ 8970,
1338
+ 'left floor'
1339
+ ],
1340
+ [
1341
+ 8971,
1342
+ 'right floor'
1343
+ ],
1344
+ [
1345
+ 9001,
1346
+ 'left-pointing angle bracket'
1347
+ ],
1348
+ [
1349
+ 9002,
1350
+ 'right-pointing angle bracket'
1351
+ ],
1352
+ [
1353
+ 9674,
1354
+ 'lozenge'
1355
+ ],
1356
+ [
1357
+ 9824,
1358
+ 'black spade suit'
1359
+ ],
1360
+ [
1361
+ 9827,
1362
+ 'black club suit'
1363
+ ],
1364
+ [
1365
+ 9829,
1366
+ 'black heart suit'
1367
+ ],
1368
+ [
1369
+ 9830,
1370
+ 'black diamond suit'
1371
+ ],
1372
+ [
1373
+ 8194,
1374
+ 'en space'
1375
+ ],
1376
+ [
1377
+ 8195,
1378
+ 'em space'
1379
+ ],
1380
+ [
1381
+ 8201,
1382
+ 'thin space'
1383
+ ],
1384
+ [
1385
+ 8204,
1386
+ 'zero width non-joiner'
1387
+ ],
1388
+ [
1389
+ 8205,
1390
+ 'zero width joiner'
1391
+ ],
1392
+ [
1393
+ 8206,
1394
+ 'left-to-right mark'
1395
+ ],
1396
+ [
1397
+ 8207,
1398
+ 'right-to-left mark'
1399
+ ]
1400
+ ]
1401
+ }
1402
+ ];
1403
+ };
1404
+ var charmapFilter = function (charmap) {
1405
+ return global$1.grep(charmap, function (item) {
1406
+ return isArray$1(item) && item.length === 2;
1407
+ });
1408
+ };
1409
+ var getCharsFromSetting = function (settingValue) {
1410
+ if (isArray$1(settingValue)) {
1411
+ return [].concat(charmapFilter(settingValue));
1412
+ }
1413
+ if (typeof settingValue === 'function') {
1414
+ return settingValue();
1415
+ }
1416
+ return [];
1417
+ };
1418
+ var extendCharMap = function (editor, charmap) {
1419
+ var userCharMap = getCharMap(editor);
1420
+ if (userCharMap) {
1421
+ charmap = [{
1422
+ name: UserDefined,
1423
+ characters: getCharsFromSetting(userCharMap)
1424
+ }];
1425
+ }
1426
+ var userCharMapAppend = getCharMapAppend(editor);
1427
+ if (userCharMapAppend) {
1428
+ var userDefinedGroup = global$1.grep(charmap, function (cg) {
1429
+ return cg.name === UserDefined;
1430
+ });
1431
+ if (userDefinedGroup.length) {
1432
+ userDefinedGroup[0].characters = [].concat(userDefinedGroup[0].characters).concat(getCharsFromSetting(userCharMapAppend));
1433
+ return charmap;
1434
+ }
1435
+ return [].concat(charmap).concat({
1436
+ name: UserDefined,
1437
+ characters: getCharsFromSetting(userCharMapAppend)
1438
+ });
1439
+ }
1440
+ return charmap;
1441
+ };
1442
+ var getCharMap$1 = function (editor) {
1443
+ var groups = extendCharMap(editor, getDefaultCharMap());
1444
+ return groups.length > 1 ? [{
1445
+ name: 'All',
1446
+ characters: bind(groups, function (g) {
1447
+ return g.characters;
1448
+ })
1449
+ }].concat(groups) : groups;
1450
+ };
1451
+
1452
+ var get = function (editor) {
1453
+ var getCharMap = function () {
1454
+ return getCharMap$1(editor);
1455
+ };
1456
+ var insertChar$1 = function (chr) {
1457
+ insertChar(editor, chr);
1458
+ };
1459
+ return {
1460
+ getCharMap: getCharMap,
1461
+ insertChar: insertChar$1
1462
+ };
1463
+ };
1464
+
1465
+ var Cell = function (initial) {
1466
+ var value = initial;
1467
+ var get = function () {
1468
+ return value;
1469
+ };
1470
+ var set = function (v) {
1471
+ value = v;
1472
+ };
1473
+ return {
1474
+ get: get,
1475
+ set: set
1476
+ };
1477
+ };
1478
+
1479
+ var last = function (fn, rate) {
1480
+ var timer = null;
1481
+ var cancel = function () {
1482
+ if (timer !== null) {
1483
+ clearTimeout(timer);
1484
+ timer = null;
1485
+ }
1486
+ };
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);
1497
+ timer = null;
1498
+ }, rate);
1499
+ };
1500
+ return {
1501
+ cancel: cancel,
1502
+ throttle: throttle
1503
+ };
1504
+ };
1505
+
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);
1517
+ } 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);
1538
+ }
1539
+ };
1540
+
1541
+ var charMatches = function (charCode, name, lowerCasePattern) {
1542
+ if (contains(fromCodePoint(charCode).toLowerCase(), lowerCasePattern)) {
1543
+ return true;
1544
+ } else {
1545
+ return contains(name.toLowerCase(), lowerCasePattern) || contains(name.toLowerCase().replace(/\s+/g, ''), lowerCasePattern);
1546
+ }
1547
+ };
1548
+ var scan = function (group, pattern) {
1549
+ var matches = [];
1550
+ var lowerCasePattern = pattern.toLowerCase();
1551
+ each(group.characters, function (g) {
1552
+ if (charMatches(g[0], g[1], lowerCasePattern)) {
1553
+ matches.push(g);
1554
+ }
1555
+ });
1556
+ return map(matches, function (m) {
1557
+ return {
1558
+ text: m[1],
1559
+ value: fromCodePoint(m[0]),
1560
+ icon: fromCodePoint(m[0])
1561
+ };
1562
+ });
1563
+ };
1564
+
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);
1607
+ dialogApi.setData({ results: items });
1608
+ });
1609
+ };
1610
+ var SEARCH_DELAY = 40;
1611
+ var updateFilter = last(function (dialogApi) {
1612
+ var pattern = dialogApi.getData().pattern;
1613
+ scanAndSet(dialogApi, pattern);
1614
+ }, SEARCH_DELAY);
1615
+ var body = charMap.length === 1 ? makePanel() : makeTabPanel();
1616
+ var initialData = {
1617
+ pattern: '',
1618
+ results: scan(charMap[0], '')
1619
+ };
1620
+ var bridgeSpec = {
1621
+ title: 'Special Character',
1622
+ size: 'normal',
1623
+ body: body,
1624
+ buttons: [{
1625
+ type: 'cancel',
1626
+ name: 'close',
1627
+ text: 'Close',
1628
+ primary: true
1629
+ }],
1630
+ initialData: initialData,
1631
+ onAction: function (api, details) {
1632
+ if (details.name === 'results') {
1633
+ insertChar(editor, details.value);
1634
+ api.close();
1635
+ }
1636
+ },
1637
+ onTabChange: function (dialogApi, details) {
1638
+ currentTab.set(details.newTabName);
1639
+ updateFilter.throttle(dialogApi);
1640
+ },
1641
+ onChange: function (dialogApi, changeData) {
1642
+ if (changeData.name === patternName) {
1643
+ updateFilter.throttle(dialogApi);
1644
+ }
1645
+ }
1646
+ };
1647
+ var dialogApi = editor.windowManager.open(bridgeSpec);
1648
+ dialogApi.focus(patternName);
1649
+ };
1650
+
1651
+ var register = function (editor, charMap) {
1652
+ editor.addCommand('mceShowCharmap', function () {
1653
+ open(editor, charMap);
1654
+ });
1655
+ };
1656
+
1657
+ var global$2 = tinymce.util.Tools.resolve('tinymce.util.Promise');
1658
+
1659
+ var init = function (editor, all) {
1660
+ editor.ui.registry.addAutocompleter('charmap', {
1661
+ ch: ':',
1662
+ columns: 'auto',
1663
+ 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) {
1670
+ editor.selection.setRng(rng);
1671
+ editor.insertContent(value);
1672
+ autocompleteApi.hide();
1673
+ }
1674
+ });
1675
+ };
1676
+
1677
+ var register$1 = function (editor) {
1678
+ editor.ui.registry.addButton('charmap', {
1679
+ icon: 'insert-character',
1680
+ tooltip: 'Special character',
1681
+ onAction: function () {
1682
+ return editor.execCommand('mceShowCharmap');
1683
+ }
1684
+ });
1685
+ editor.ui.registry.addMenuItem('charmap', {
1686
+ icon: 'insert-character',
1687
+ text: 'Special character...',
1688
+ onAction: function () {
1689
+ return editor.execCommand('mceShowCharmap');
1690
+ }
1691
+ });
1692
+ };
1693
+
1694
+ function Plugin () {
1695
+ global.add('charmap', function (editor) {
1696
+ var charMap = getCharMap$1(editor);
1697
+ register(editor, charMap);
1698
+ register$1(editor);
1699
+ init(editor, charMap[0]);
1700
+ return get(editor);
1701
+ });
1702
+ }
1703
+
1704
+ Plugin();
1705
+
1706
+ }());