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
|
File without changes
|
|
@@ -1,346 +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 global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');
|
|
14
|
-
var global$2 = tinymce.util.Tools.resolve('tinymce.EditorManager');
|
|
15
|
-
var global$3 = tinymce.util.Tools.resolve('tinymce.Env');
|
|
16
|
-
var global$4 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
17
|
-
var shouldMergeClasses = function (editor) {
|
|
18
|
-
return editor.getParam('importcss_merge_classes');
|
|
19
|
-
};
|
|
20
|
-
var shouldImportExclusive = function (editor) {
|
|
21
|
-
return editor.getParam('importcss_exclusive');
|
|
22
|
-
};
|
|
23
|
-
var getSelectorConverter = function (editor) {
|
|
24
|
-
return editor.getParam('importcss_selector_converter');
|
|
25
|
-
};
|
|
26
|
-
var getSelectorFilter = function (editor) {
|
|
27
|
-
return editor.getParam('importcss_selector_filter');
|
|
28
|
-
};
|
|
29
|
-
var getCssGroups = function (editor) {
|
|
30
|
-
return editor.getParam('importcss_groups');
|
|
31
|
-
};
|
|
32
|
-
var shouldAppend = function (editor) {
|
|
33
|
-
return editor.getParam('importcss_append');
|
|
34
|
-
};
|
|
35
|
-
var getFileFilter = function (editor) {
|
|
36
|
-
return editor.getParam('importcss_file_filter');
|
|
37
|
-
};
|
|
38
|
-
var getSkin = function (editor) {
|
|
39
|
-
var skin = editor.getParam('skin');
|
|
40
|
-
return skin !== false ? skin || 'oxide' : false;
|
|
41
|
-
};
|
|
42
|
-
var getSkinUrl = function (editor) {
|
|
43
|
-
return editor.getParam('skin_url');
|
|
44
|
-
};
|
|
45
|
-
var typeOf = function (x) {
|
|
46
|
-
var t = typeof x;
|
|
47
|
-
if (x === null) {
|
|
48
|
-
return 'null';
|
|
49
|
-
}
|
|
50
|
-
else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
51
|
-
return 'array';
|
|
52
|
-
}
|
|
53
|
-
else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
54
|
-
return 'string';
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return t;
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
var isType = function (type) {
|
|
61
|
-
return function (value) {
|
|
62
|
-
return typeOf(value) === type;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
var isArray = isType('array');
|
|
66
|
-
var nativePush = Array.prototype.push;
|
|
67
|
-
var map = function (xs, f) {
|
|
68
|
-
var len = xs.length;
|
|
69
|
-
var r = new Array(len);
|
|
70
|
-
for (var i = 0; i < len; i++) {
|
|
71
|
-
var x = xs[i];
|
|
72
|
-
r[i] = f(x, i);
|
|
73
|
-
}
|
|
74
|
-
return r;
|
|
75
|
-
};
|
|
76
|
-
var flatten = function (xs) {
|
|
77
|
-
var r = [];
|
|
78
|
-
for (var i = 0, len = xs.length; i < len; ++i) {
|
|
79
|
-
if (!isArray(xs[i])) {
|
|
80
|
-
throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
|
|
81
|
-
}
|
|
82
|
-
nativePush.apply(r, xs[i]);
|
|
83
|
-
}
|
|
84
|
-
return r;
|
|
85
|
-
};
|
|
86
|
-
var bind = function (xs, f) {
|
|
87
|
-
return flatten(map(xs, f));
|
|
88
|
-
};
|
|
89
|
-
var generate = function () {
|
|
90
|
-
var ungroupedOrder = [];
|
|
91
|
-
var groupOrder = [];
|
|
92
|
-
var groups = {};
|
|
93
|
-
var addItemToGroup = function (groupTitle, itemInfo) {
|
|
94
|
-
if (groups[groupTitle]) {
|
|
95
|
-
groups[groupTitle].push(itemInfo);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
groupOrder.push(groupTitle);
|
|
99
|
-
groups[groupTitle] = [itemInfo];
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
var addItem = function (itemInfo) {
|
|
103
|
-
ungroupedOrder.push(itemInfo);
|
|
104
|
-
};
|
|
105
|
-
var toFormats = function () {
|
|
106
|
-
var groupItems = bind(groupOrder, function (g) {
|
|
107
|
-
var items = groups[g];
|
|
108
|
-
return items.length === 0 ? [] : [{
|
|
109
|
-
title: g,
|
|
110
|
-
items: items
|
|
111
|
-
}];
|
|
112
|
-
});
|
|
113
|
-
return groupItems.concat(ungroupedOrder);
|
|
114
|
-
};
|
|
115
|
-
return {
|
|
116
|
-
addItemToGroup: addItemToGroup,
|
|
117
|
-
addItem: addItem,
|
|
118
|
-
toFormats: toFormats
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
var removeCacheSuffix = function (url) {
|
|
122
|
-
var cacheSuffix = global$3.cacheSuffix;
|
|
123
|
-
if (typeof url === 'string') {
|
|
124
|
-
url = url.replace('?' + cacheSuffix, '').replace('&' + cacheSuffix, '');
|
|
125
|
-
}
|
|
126
|
-
return url;
|
|
127
|
-
};
|
|
128
|
-
var isSkinContentCss = function (editor, href) {
|
|
129
|
-
var skin = getSkin(editor);
|
|
130
|
-
if (skin) {
|
|
131
|
-
var skinUrlBase = getSkinUrl(editor);
|
|
132
|
-
var skinUrl = skinUrlBase ? editor.documentBaseURI.toAbsolute(skinUrlBase) : global$2.baseURL + '/skins/ui/' + skin;
|
|
133
|
-
var contentSkinUrlPart = global$2.baseURL + '/skins/content/';
|
|
134
|
-
return href === skinUrl + '/content' + (editor.inline ? '.inline' : '') + '.min.css' || href.indexOf(contentSkinUrlPart) !== -1;
|
|
135
|
-
}
|
|
136
|
-
return false;
|
|
137
|
-
};
|
|
138
|
-
var compileFilter = function (filter) {
|
|
139
|
-
if (typeof filter === 'string') {
|
|
140
|
-
return function (value) {
|
|
141
|
-
return value.indexOf(filter) !== -1;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
else if (filter instanceof RegExp) {
|
|
145
|
-
return function (value) {
|
|
146
|
-
return filter.test(value);
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
return filter;
|
|
150
|
-
};
|
|
151
|
-
var isCssImportRule = function (rule) {
|
|
152
|
-
return rule.styleSheet;
|
|
153
|
-
};
|
|
154
|
-
var isCssPageRule = function (rule) {
|
|
155
|
-
return rule.selectorText;
|
|
156
|
-
};
|
|
157
|
-
var getSelectors = function (editor, doc, fileFilter) {
|
|
158
|
-
var selectors = [], contentCSSUrls = {};
|
|
159
|
-
var append = function (styleSheet, imported) {
|
|
160
|
-
var href = styleSheet.href, rules;
|
|
161
|
-
href = removeCacheSuffix(href);
|
|
162
|
-
if (!href || !fileFilter(href, imported) || isSkinContentCss(editor, href)) {
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
global$4.each(styleSheet.imports, function (styleSheet) {
|
|
166
|
-
append(styleSheet, true);
|
|
167
|
-
});
|
|
168
|
-
try {
|
|
169
|
-
rules = styleSheet.cssRules || styleSheet.rules;
|
|
170
|
-
}
|
|
171
|
-
catch (e) {
|
|
172
|
-
}
|
|
173
|
-
global$4.each(rules, function (cssRule) {
|
|
174
|
-
if (isCssImportRule(cssRule)) {
|
|
175
|
-
append(cssRule.styleSheet, true);
|
|
176
|
-
}
|
|
177
|
-
else if (isCssPageRule(cssRule)) {
|
|
178
|
-
global$4.each(cssRule.selectorText.split(','), function (selector) {
|
|
179
|
-
selectors.push(global$4.trim(selector));
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
};
|
|
184
|
-
global$4.each(editor.contentCSS, function (url) {
|
|
185
|
-
contentCSSUrls[url] = true;
|
|
186
|
-
});
|
|
187
|
-
if (!fileFilter) {
|
|
188
|
-
fileFilter = function (href, imported) {
|
|
189
|
-
return imported || contentCSSUrls[href];
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
try {
|
|
193
|
-
global$4.each(doc.styleSheets, function (styleSheet) {
|
|
194
|
-
append(styleSheet);
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
catch (e) {
|
|
198
|
-
}
|
|
199
|
-
return selectors;
|
|
200
|
-
};
|
|
201
|
-
var defaultConvertSelectorToFormat = function (editor, selectorText) {
|
|
202
|
-
var format;
|
|
203
|
-
var selector = /^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(selectorText);
|
|
204
|
-
if (!selector) {
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
var elementName = selector[1];
|
|
208
|
-
var classes = selector[2].substr(1).split('.').join(' ');
|
|
209
|
-
var inlineSelectorElements = global$4.makeMap('a,img');
|
|
210
|
-
if (selector[1]) {
|
|
211
|
-
format = { title: selectorText };
|
|
212
|
-
if (editor.schema.getTextBlockElements()[elementName]) {
|
|
213
|
-
format.block = elementName;
|
|
214
|
-
}
|
|
215
|
-
else if (editor.schema.getBlockElements()[elementName] || inlineSelectorElements[elementName.toLowerCase()]) {
|
|
216
|
-
format.selector = elementName;
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
format.inline = elementName;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
else if (selector[2]) {
|
|
223
|
-
format = {
|
|
224
|
-
inline: 'span',
|
|
225
|
-
title: selectorText.substr(1),
|
|
226
|
-
classes: classes
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
if (shouldMergeClasses(editor) !== false) {
|
|
230
|
-
format.classes = classes;
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
format.attributes = { class: classes };
|
|
234
|
-
}
|
|
235
|
-
return format;
|
|
236
|
-
};
|
|
237
|
-
var getGroupsBySelector = function (groups, selector) {
|
|
238
|
-
return global$4.grep(groups, function (group) {
|
|
239
|
-
return !group.filter || group.filter(selector);
|
|
240
|
-
});
|
|
241
|
-
};
|
|
242
|
-
var compileUserDefinedGroups = function (groups) {
|
|
243
|
-
return global$4.map(groups, function (group) {
|
|
244
|
-
return global$4.extend({}, group, {
|
|
245
|
-
original: group,
|
|
246
|
-
selectors: {},
|
|
247
|
-
filter: compileFilter(group.filter),
|
|
248
|
-
item: {
|
|
249
|
-
text: group.title,
|
|
250
|
-
menu: []
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
});
|
|
254
|
-
};
|
|
255
|
-
var isExclusiveMode = function (editor, group) {
|
|
256
|
-
return group === null || shouldImportExclusive(editor) !== false;
|
|
257
|
-
};
|
|
258
|
-
var isUniqueSelector = function (editor, selector, group, globallyUniqueSelectors) {
|
|
259
|
-
return !(isExclusiveMode(editor, group) ? selector in globallyUniqueSelectors : selector in group.selectors);
|
|
260
|
-
};
|
|
261
|
-
var markUniqueSelector = function (editor, selector, group, globallyUniqueSelectors) {
|
|
262
|
-
if (isExclusiveMode(editor, group)) {
|
|
263
|
-
globallyUniqueSelectors[selector] = true;
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
group.selectors[selector] = true;
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
var convertSelectorToFormat = function (editor, plugin, selector, group) {
|
|
270
|
-
var selectorConverter;
|
|
271
|
-
if (group && group.selector_converter) {
|
|
272
|
-
selectorConverter = group.selector_converter;
|
|
273
|
-
}
|
|
274
|
-
else if (getSelectorConverter(editor)) {
|
|
275
|
-
selectorConverter = getSelectorConverter(editor);
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
selectorConverter = function () {
|
|
279
|
-
return defaultConvertSelectorToFormat(editor, selector);
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
return selectorConverter.call(plugin, selector, group);
|
|
283
|
-
};
|
|
284
|
-
var setup = function (editor) {
|
|
285
|
-
editor.on('init', function (_e) {
|
|
286
|
-
var model = generate();
|
|
287
|
-
var globallyUniqueSelectors = {};
|
|
288
|
-
var selectorFilter = compileFilter(getSelectorFilter(editor));
|
|
289
|
-
var groups = compileUserDefinedGroups(getCssGroups(editor));
|
|
290
|
-
var processSelector = function (selector, group) {
|
|
291
|
-
if (isUniqueSelector(editor, selector, group, globallyUniqueSelectors)) {
|
|
292
|
-
markUniqueSelector(editor, selector, group, globallyUniqueSelectors);
|
|
293
|
-
var format = convertSelectorToFormat(editor, editor.plugins.importcss, selector, group);
|
|
294
|
-
if (format) {
|
|
295
|
-
var formatName = format.name || global$1.DOM.uniqueId();
|
|
296
|
-
editor.formatter.register(formatName, format);
|
|
297
|
-
return global$4.extend({}, {
|
|
298
|
-
title: format.title,
|
|
299
|
-
format: formatName
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
return null;
|
|
304
|
-
};
|
|
305
|
-
global$4.each(getSelectors(editor, editor.getDoc(), compileFilter(getFileFilter(editor))), function (selector) {
|
|
306
|
-
if (selector.indexOf('.mce-') === -1) {
|
|
307
|
-
if (!selectorFilter || selectorFilter(selector)) {
|
|
308
|
-
var selectorGroups = getGroupsBySelector(groups, selector);
|
|
309
|
-
if (selectorGroups.length > 0) {
|
|
310
|
-
global$4.each(selectorGroups, function (group) {
|
|
311
|
-
var menuItem = processSelector(selector, group);
|
|
312
|
-
if (menuItem) {
|
|
313
|
-
model.addItemToGroup(group.title, menuItem);
|
|
314
|
-
}
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
var menuItem = processSelector(selector, null);
|
|
319
|
-
if (menuItem) {
|
|
320
|
-
model.addItem(menuItem);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
});
|
|
326
|
-
var items = model.toFormats();
|
|
327
|
-
editor.fire('addStyleModifications', {
|
|
328
|
-
items: items,
|
|
329
|
-
replace: !shouldAppend(editor)
|
|
330
|
-
});
|
|
331
|
-
});
|
|
332
|
-
};
|
|
333
|
-
var get = function (editor) {
|
|
334
|
-
var convertSelectorToFormat = function (selectorText) {
|
|
335
|
-
return defaultConvertSelectorToFormat(editor, selectorText);
|
|
336
|
-
};
|
|
337
|
-
return { convertSelectorToFormat: convertSelectorToFormat };
|
|
338
|
-
};
|
|
339
|
-
function Plugin() {
|
|
340
|
-
global.add('importcss', function (editor) {
|
|
341
|
-
setup(editor);
|
|
342
|
-
return get(editor);
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
Plugin();
|
|
346
|
-
}());
|
|
File without changes
|
|
@@ -1,171 +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 getDateFormat = function (editor) {
|
|
14
|
-
return editor.getParam('insertdatetime_dateformat', editor.translate('%Y-%m-%d'));
|
|
15
|
-
};
|
|
16
|
-
var getTimeFormat = function (editor) {
|
|
17
|
-
return editor.getParam('insertdatetime_timeformat', editor.translate('%H:%M:%S'));
|
|
18
|
-
};
|
|
19
|
-
var getFormats = function (editor) {
|
|
20
|
-
return editor.getParam('insertdatetime_formats', [
|
|
21
|
-
'%H:%M:%S',
|
|
22
|
-
'%Y-%m-%d',
|
|
23
|
-
'%I:%M:%S %p',
|
|
24
|
-
'%D'
|
|
25
|
-
]);
|
|
26
|
-
};
|
|
27
|
-
var getDefaultDateTime = function (editor) {
|
|
28
|
-
var formats = getFormats(editor);
|
|
29
|
-
return formats.length > 0 ? formats[0] : getTimeFormat(editor);
|
|
30
|
-
};
|
|
31
|
-
var shouldInsertTimeElement = function (editor) {
|
|
32
|
-
return editor.getParam('insertdatetime_element', false);
|
|
33
|
-
};
|
|
34
|
-
var daysShort = 'Sun Mon Tue Wed Thu Fri Sat Sun'.split(' ');
|
|
35
|
-
var daysLong = 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday'.split(' ');
|
|
36
|
-
var monthsShort = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ');
|
|
37
|
-
var monthsLong = 'January February March April May June July August September October November December'.split(' ');
|
|
38
|
-
var addZeros = function (value, len) {
|
|
39
|
-
value = '' + value;
|
|
40
|
-
if (value.length < len) {
|
|
41
|
-
for (var i = 0; i < len - value.length; i++) {
|
|
42
|
-
value = '0' + value;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return value;
|
|
46
|
-
};
|
|
47
|
-
var getDateTime = function (editor, fmt, date) {
|
|
48
|
-
date = date || new Date();
|
|
49
|
-
fmt = fmt.replace('%D', '%m/%d/%Y');
|
|
50
|
-
fmt = fmt.replace('%r', '%I:%M:%S %p');
|
|
51
|
-
fmt = fmt.replace('%Y', '' + date.getFullYear());
|
|
52
|
-
fmt = fmt.replace('%y', '' + date.getYear());
|
|
53
|
-
fmt = fmt.replace('%m', addZeros(date.getMonth() + 1, 2));
|
|
54
|
-
fmt = fmt.replace('%d', addZeros(date.getDate(), 2));
|
|
55
|
-
fmt = fmt.replace('%H', '' + addZeros(date.getHours(), 2));
|
|
56
|
-
fmt = fmt.replace('%M', '' + addZeros(date.getMinutes(), 2));
|
|
57
|
-
fmt = fmt.replace('%S', '' + addZeros(date.getSeconds(), 2));
|
|
58
|
-
fmt = fmt.replace('%I', '' + ((date.getHours() + 11) % 12 + 1));
|
|
59
|
-
fmt = fmt.replace('%p', '' + (date.getHours() < 12 ? 'AM' : 'PM'));
|
|
60
|
-
fmt = fmt.replace('%B', '' + editor.translate(monthsLong[date.getMonth()]));
|
|
61
|
-
fmt = fmt.replace('%b', '' + editor.translate(monthsShort[date.getMonth()]));
|
|
62
|
-
fmt = fmt.replace('%A', '' + editor.translate(daysLong[date.getDay()]));
|
|
63
|
-
fmt = fmt.replace('%a', '' + editor.translate(daysShort[date.getDay()]));
|
|
64
|
-
fmt = fmt.replace('%%', '%');
|
|
65
|
-
return fmt;
|
|
66
|
-
};
|
|
67
|
-
var updateElement = function (editor, timeElm, computerTime, userTime) {
|
|
68
|
-
var newTimeElm = editor.dom.create('time', { datetime: computerTime }, userTime);
|
|
69
|
-
timeElm.parentNode.insertBefore(newTimeElm, timeElm);
|
|
70
|
-
editor.dom.remove(timeElm);
|
|
71
|
-
editor.selection.select(newTimeElm, true);
|
|
72
|
-
editor.selection.collapse(false);
|
|
73
|
-
};
|
|
74
|
-
var insertDateTime = function (editor, format) {
|
|
75
|
-
if (shouldInsertTimeElement(editor)) {
|
|
76
|
-
var userTime = getDateTime(editor, format);
|
|
77
|
-
var computerTime = void 0;
|
|
78
|
-
if (/%[HMSIp]/.test(format)) {
|
|
79
|
-
computerTime = getDateTime(editor, '%Y-%m-%dT%H:%M');
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
computerTime = getDateTime(editor, '%Y-%m-%d');
|
|
83
|
-
}
|
|
84
|
-
var timeElm = editor.dom.getParent(editor.selection.getStart(), 'time');
|
|
85
|
-
if (timeElm) {
|
|
86
|
-
updateElement(editor, timeElm, computerTime, userTime);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
editor.insertContent('<time datetime="' + computerTime + '">' + userTime + '</time>');
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
editor.insertContent(getDateTime(editor, format));
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
var register = function (editor) {
|
|
97
|
-
editor.addCommand('mceInsertDate', function () {
|
|
98
|
-
insertDateTime(editor, getDateFormat(editor));
|
|
99
|
-
});
|
|
100
|
-
editor.addCommand('mceInsertTime', function () {
|
|
101
|
-
insertDateTime(editor, getTimeFormat(editor));
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
var Cell = function (initial) {
|
|
105
|
-
var value = initial;
|
|
106
|
-
var get = function () {
|
|
107
|
-
return value;
|
|
108
|
-
};
|
|
109
|
-
var set = function (v) {
|
|
110
|
-
value = v;
|
|
111
|
-
};
|
|
112
|
-
return {
|
|
113
|
-
get: get,
|
|
114
|
-
set: set
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
118
|
-
var register$1 = function (editor) {
|
|
119
|
-
var formats = getFormats(editor);
|
|
120
|
-
var defaultFormat = Cell(getDefaultDateTime(editor));
|
|
121
|
-
editor.ui.registry.addSplitButton('insertdatetime', {
|
|
122
|
-
icon: 'insert-time',
|
|
123
|
-
tooltip: 'Insert date/time',
|
|
124
|
-
select: function (value) {
|
|
125
|
-
return value === defaultFormat.get();
|
|
126
|
-
},
|
|
127
|
-
fetch: function (done) {
|
|
128
|
-
done(global$1.map(formats, function (format) {
|
|
129
|
-
return {
|
|
130
|
-
type: 'choiceitem',
|
|
131
|
-
text: getDateTime(editor, format),
|
|
132
|
-
value: format
|
|
133
|
-
};
|
|
134
|
-
}));
|
|
135
|
-
},
|
|
136
|
-
onAction: function (_api) {
|
|
137
|
-
insertDateTime(editor, defaultFormat.get());
|
|
138
|
-
},
|
|
139
|
-
onItemAction: function (_api, value) {
|
|
140
|
-
defaultFormat.set(value);
|
|
141
|
-
insertDateTime(editor, value);
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
var makeMenuItemHandler = function (format) {
|
|
145
|
-
return function () {
|
|
146
|
-
defaultFormat.set(format);
|
|
147
|
-
insertDateTime(editor, format);
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
editor.ui.registry.addNestedMenuItem('insertdatetime', {
|
|
151
|
-
icon: 'insert-time',
|
|
152
|
-
text: 'Date/time',
|
|
153
|
-
getSubmenuItems: function () {
|
|
154
|
-
return global$1.map(formats, function (format) {
|
|
155
|
-
return {
|
|
156
|
-
type: 'menuitem',
|
|
157
|
-
text: getDateTime(editor, format),
|
|
158
|
-
onAction: makeMenuItemHandler(format)
|
|
159
|
-
};
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
};
|
|
164
|
-
function Plugin() {
|
|
165
|
-
global.add('insertdatetime', function (editor) {
|
|
166
|
-
register(editor);
|
|
167
|
-
register$1(editor);
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
Plugin();
|
|
171
|
-
}());
|
|
File without changes
|