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