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
|
@@ -0,0 +1,616 @@
|
|
|
1
|
+
import { createField, getField } from '../../fieldsRedux';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React, { Component } from 'react';
|
|
4
|
+
import MaskedInput from 'react-maskedinput';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated
|
|
8
|
+
*/
|
|
9
|
+
class ArgousInput extends Component {
|
|
10
|
+
confs = '';
|
|
11
|
+
|
|
12
|
+
styleDiv1 = {
|
|
13
|
+
borderBottomColor: 'rgba(0, 0, 0, 0.87)',
|
|
14
|
+
borderBottomStyle: 'none',
|
|
15
|
+
borderBottomWidth: '0px',
|
|
16
|
+
borderImageOutset: '0px',
|
|
17
|
+
borderImageTepeat: 'stretch',
|
|
18
|
+
borderImageSlice: '100%',
|
|
19
|
+
borderImageSource: 'none',
|
|
20
|
+
borderImageWidth: 1,
|
|
21
|
+
borderLeftColor: 'rgba(0, 0, 0, 0.87)',
|
|
22
|
+
borderLeftStyle: 'none',
|
|
23
|
+
borderLeftWidth: '0px',
|
|
24
|
+
borderRightColor: 'rgba(0, 0, 0, 0.87)',
|
|
25
|
+
borderRightStyle: 'none',
|
|
26
|
+
borderRightWidth: '0px',
|
|
27
|
+
borderTopColor: 'rgba(0, 0, 0, 0.87)',
|
|
28
|
+
borderTopStyle: 'none',
|
|
29
|
+
borderTopWidth: '0px',
|
|
30
|
+
boxSizing: 'borderBox',
|
|
31
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
32
|
+
display: 'inlineFlex',
|
|
33
|
+
flexDirection: 'column',
|
|
34
|
+
fontFamily: 'Roboto, Helvetica, Arial, sansSerif',
|
|
35
|
+
fontSize: '14px',
|
|
36
|
+
fontWeight: 400,
|
|
37
|
+
height: '56px',
|
|
38
|
+
letterSpacing: '0.14994px',
|
|
39
|
+
lineHeight: '20.02px',
|
|
40
|
+
marginBottom: '8px',
|
|
41
|
+
marginLeft: '0px',
|
|
42
|
+
marginRight: '0px',
|
|
43
|
+
marginTop: '8px',
|
|
44
|
+
minWidth: '0px',
|
|
45
|
+
paddingBottom: '0px',
|
|
46
|
+
paddingLeft: '0px',
|
|
47
|
+
paddingTight: '0px',
|
|
48
|
+
paddingTop: '0px',
|
|
49
|
+
position: 'relative',
|
|
50
|
+
verticalAlign: 'top',
|
|
51
|
+
width: '100%',
|
|
52
|
+
zIndex: 0,
|
|
53
|
+
webkitFontSmoothing: 'antialiased'
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
styleDiv2 = {
|
|
57
|
+
alignItems: 'center',
|
|
58
|
+
borderBottomLeftRadius: '4px',
|
|
59
|
+
borderBottomRightRadius: '4px',
|
|
60
|
+
borderTopleftRadius: '4px',
|
|
61
|
+
borderToprightradius: '4px',
|
|
62
|
+
boxSizing: 'borderBox',
|
|
63
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
64
|
+
cursor: 'text',
|
|
65
|
+
display: 'flex',
|
|
66
|
+
fontFamily: 'Roboto, Helvetica, Arial, sansSerif',
|
|
67
|
+
fontSize: '16px',
|
|
68
|
+
fontWeight: 400,
|
|
69
|
+
height: '56px',
|
|
70
|
+
letterSpacing: '0.15008px',
|
|
71
|
+
lineHeight: '19px',
|
|
72
|
+
position: 'relative',
|
|
73
|
+
width: '100%',
|
|
74
|
+
webkitFontSmoothing: 'antialiased',
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
styleLabel = {
|
|
78
|
+
boxSizing: 'borderBox',
|
|
79
|
+
color: 'rgba(0, 0, 0, 0.54)',
|
|
80
|
+
cursor: 'default',
|
|
81
|
+
display: 'block',
|
|
82
|
+
fontFamily: 'Roboto, Helvetica, Arial, sansSerif',
|
|
83
|
+
fontSize: '11px',
|
|
84
|
+
fontWeight: 400,
|
|
85
|
+
height: '20px',
|
|
86
|
+
left: '6px',
|
|
87
|
+
letterSpacing: '0.15008px',
|
|
88
|
+
lineHeight: '16px',
|
|
89
|
+
paddingBottom: '0px',
|
|
90
|
+
paddingLeft: '0px',
|
|
91
|
+
paddingRight: '0px',
|
|
92
|
+
paddingTop: '0px',
|
|
93
|
+
pointerEvents: 'none',
|
|
94
|
+
position: 'absolute',
|
|
95
|
+
top: '3px',
|
|
96
|
+
transform: 'matrix(0.75, 0, 0, 0.75, 14, D6)',
|
|
97
|
+
transformOrigin: '0px 0px',
|
|
98
|
+
transitionDelay: '0s, 0s',
|
|
99
|
+
transitionDuration: '0.2s, 0.2s',
|
|
100
|
+
transitionProperty: 'color, transform',
|
|
101
|
+
transitionTimingFunction: 'cubicBezier(0, 0, 0.2, 1), cubicBezier(0, 0, 0.2, 1)',
|
|
102
|
+
width: '200px',
|
|
103
|
+
zIndex: 1,
|
|
104
|
+
webkitFontSmoothing: 'antialiased',
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
styleInput = {
|
|
108
|
+
backgroundAttachment: 'scroll',
|
|
109
|
+
backgroundClip: 'borderBox',
|
|
110
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
111
|
+
backgroundImage: 'none',
|
|
112
|
+
backgroundOrigin: 'paddingBox',
|
|
113
|
+
backgroundPositionX: '0%',
|
|
114
|
+
backgroundPositionY: '0%',
|
|
115
|
+
backgroundSize: 'auto',
|
|
116
|
+
borderBottomColor: 'rgba(0, 0, 0, 0.87)',
|
|
117
|
+
borderBottomStyle: 'none',
|
|
118
|
+
borderBottomWidth: '0px',
|
|
119
|
+
borderImageOutset: '0px',
|
|
120
|
+
borderImageRepeat: 'stretch',
|
|
121
|
+
borderImageSlice: '100%',
|
|
122
|
+
borderImageSource: 'none',
|
|
123
|
+
borderImageWidth: 1,
|
|
124
|
+
borderLeftColor: 'rgba(0, 0, 0, 0.87)',
|
|
125
|
+
borderLeftStyle: 'none',
|
|
126
|
+
borderLeftWidth: '0px',
|
|
127
|
+
borderRightColor: 'rgba(0, 0, 0, 0.87)',
|
|
128
|
+
borderRightStyle: 'none',
|
|
129
|
+
borderRightWidth: '0px',
|
|
130
|
+
borderTopColor: 'rgba(0, 0, 0, 0.87)',
|
|
131
|
+
borderTopStyle: 'none',
|
|
132
|
+
borderTopWidth: '0px',
|
|
133
|
+
boxSizing: 'contentBox',
|
|
134
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
135
|
+
cursor: 'text',
|
|
136
|
+
display: 'block',
|
|
137
|
+
fontFamily: 'Roboto, Helvetica, Arial, sansSerif',
|
|
138
|
+
fontSize: '16px',
|
|
139
|
+
fontStretch: '100%',
|
|
140
|
+
fontStyle: 'normal',
|
|
141
|
+
fontVariantCaps: 'normal',
|
|
142
|
+
fontVariantEastAsian: 'normal',
|
|
143
|
+
fontVariantLigatures: 'normal',
|
|
144
|
+
fontVariantNumeric: 'normal',
|
|
145
|
+
fontWeight: 400,
|
|
146
|
+
height: '56px',
|
|
147
|
+
letterSpacing: 'normal',
|
|
148
|
+
lineHeight: '19px',
|
|
149
|
+
marginBottom: '0px',
|
|
150
|
+
marginLeft: '0px',
|
|
151
|
+
marginRight: '0px',
|
|
152
|
+
marginTop: '0px',
|
|
153
|
+
minWidth: '0px',
|
|
154
|
+
paddingBottom: '1.5px',
|
|
155
|
+
paddingLeft: '14px',
|
|
156
|
+
paddingRight: '14px',
|
|
157
|
+
paddingTop: '18.5px',
|
|
158
|
+
textAlign: 'start',
|
|
159
|
+
textIndent: '0px',
|
|
160
|
+
textRendering: 'auto',
|
|
161
|
+
textShadow: 'none',
|
|
162
|
+
textTransform: 'none',
|
|
163
|
+
width: '100%',
|
|
164
|
+
wordSpacing: '0px',
|
|
165
|
+
writingMode: 'horizontalTb',
|
|
166
|
+
webkitAppearance: 'none',
|
|
167
|
+
webkitFontSmoothing: 'antialiased',
|
|
168
|
+
webkitRtlOrdering: 'logical',
|
|
169
|
+
webkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
|
|
170
|
+
webkitBorderImage: 'none',
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
stylefieldset = {
|
|
174
|
+
borderBottomColor: 'rgba(0, 0, 0, 0.23)',
|
|
175
|
+
borderBottomLeftRadius: '4px',
|
|
176
|
+
borderBottomRightRadius: '4px',
|
|
177
|
+
borderBottomStyle: 'solid',
|
|
178
|
+
borderBottomWidth: '1px',
|
|
179
|
+
borderImageOutset: '0px',
|
|
180
|
+
borderImageRepeat: 'stretch',
|
|
181
|
+
borderImageSlice: '100%',
|
|
182
|
+
borderImageSource: 'none',
|
|
183
|
+
borderImageWidth: 1,
|
|
184
|
+
borderLeftColor: 'rgba(0, 0, 0, 0.23)',
|
|
185
|
+
borderLeftStyle: 'solid',
|
|
186
|
+
borderLeftWidth: '1px',
|
|
187
|
+
borderRightColor: 'rgba(0, 0, 0, 0.23)',
|
|
188
|
+
borderRightStyle: 'solid',
|
|
189
|
+
borderRightWidth: '1px',
|
|
190
|
+
borderTopColor: 'rgba(0, 0, 0, 0.23)',
|
|
191
|
+
borderTopLeftRadius: '4px',
|
|
192
|
+
borderTopRightRadius: '4px',
|
|
193
|
+
borderTopStyle: 'solid',
|
|
194
|
+
borderTopWidth: '1px',
|
|
195
|
+
bottom: '0px',
|
|
196
|
+
boxSizing: 'borderBox',
|
|
197
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
198
|
+
cursor: 'text',
|
|
199
|
+
display: 'block',
|
|
200
|
+
fontFamily: 'Roboto, Helvetica, Arial, sansSerif',
|
|
201
|
+
fontSize: '16px',
|
|
202
|
+
fontWeight: 400,
|
|
203
|
+
height: '61px',
|
|
204
|
+
left: '0px',
|
|
205
|
+
letterSpacing: '0.15008px',
|
|
206
|
+
lineHeight: '19px',
|
|
207
|
+
marginBottom: '0px',
|
|
208
|
+
marginInlineEnd: '0px',
|
|
209
|
+
marginInlineStart: '0px',
|
|
210
|
+
marginLeft: '0px',
|
|
211
|
+
marginRight: '0px',
|
|
212
|
+
marginTop: '0px',
|
|
213
|
+
minInlineSize: 'minDcontent',
|
|
214
|
+
paddingBlockEnd: '0px',
|
|
215
|
+
paddingBlockStart: '0px',
|
|
216
|
+
paddingBottom: '0px',
|
|
217
|
+
paddingInlineEnd: '0px',
|
|
218
|
+
paddingInlineStart: '8px',
|
|
219
|
+
paddingLeft: '8px',
|
|
220
|
+
paddingTight: '0px',
|
|
221
|
+
paddingTop: '0px',
|
|
222
|
+
pointerEvents: 'none',
|
|
223
|
+
position: 'absolute',
|
|
224
|
+
right: '0px',
|
|
225
|
+
top: 'D5px',
|
|
226
|
+
width: '100%',
|
|
227
|
+
webkitGontSmoothing: 'antialiased',
|
|
228
|
+
webkitBorderImage: 'none',
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
styleLegend = {
|
|
232
|
+
borderBottomColor: 'rgba(0, 0, 0, 0.87)',
|
|
233
|
+
borderBottomStyle: 'none',
|
|
234
|
+
borderBottomWidth: '0px',
|
|
235
|
+
borderImageOutset: '0px',
|
|
236
|
+
borderImageRepeat: 'stretch',
|
|
237
|
+
borderImageSlice: '100%',
|
|
238
|
+
borderImageSource: 'none',
|
|
239
|
+
borderImageWidth: 1,
|
|
240
|
+
borderLeftDcolor: 'rgba(0, 0, 0, 0.87)',
|
|
241
|
+
borderLeftStyle: 'none',
|
|
242
|
+
borderLeftWidth: '0px',
|
|
243
|
+
borderRightColor: 'rgba(0, 0, 0, 0.87)',
|
|
244
|
+
borderRightStyle: 'none',
|
|
245
|
+
borderRightWidth: '0px',
|
|
246
|
+
borderTopColor: 'rgba(0, 0, 0, 0.87)',
|
|
247
|
+
borderTopStyle: 'none',
|
|
248
|
+
borderTopWidth: '0px',
|
|
249
|
+
boxSizing: 'borderBox',
|
|
250
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
251
|
+
cursor: 'text',
|
|
252
|
+
display: 'block',
|
|
253
|
+
fontFamily: 'Roboto, Helvetica, Arial, sansSerif',
|
|
254
|
+
fontSize: '12px',
|
|
255
|
+
fontWeight: 400,
|
|
256
|
+
height: '11px',
|
|
257
|
+
letterSpacing: '0.15008px',
|
|
258
|
+
lineHeight: '19px',
|
|
259
|
+
maxWidth: '1000px',
|
|
260
|
+
paddingBottom: '0px',
|
|
261
|
+
paddingInlineEnd: '0px',
|
|
262
|
+
paddingInlineStart: '0px',
|
|
263
|
+
paddingLeft: '0px',
|
|
264
|
+
paddingRight: '0px',
|
|
265
|
+
paddingTop: '0px',
|
|
266
|
+
pointerEvents: 'none',
|
|
267
|
+
textAlign: 'left',
|
|
268
|
+
transitionDdelay: '0.05s',
|
|
269
|
+
transitionDduration: '0.1s',
|
|
270
|
+
transitionDproperty: 'maxWidth',
|
|
271
|
+
transitionTimingFunction: 'cubicBezier(0, 0, 0.2, 1)',
|
|
272
|
+
visibility: 'hidden',
|
|
273
|
+
width: '0px',
|
|
274
|
+
WebkitFontSmoothing: 'antialiased',
|
|
275
|
+
WebkitBorderImage: 'none',
|
|
276
|
+
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
styleSpan = {
|
|
280
|
+
boxSizing: 'border-box',
|
|
281
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
282
|
+
cursor: 'text',
|
|
283
|
+
display: 'inline',
|
|
284
|
+
fontFamily: 'Roboto, Helvetica, Arial, sans-serif',
|
|
285
|
+
fontSize: '12px',
|
|
286
|
+
fontWeight: 400,
|
|
287
|
+
height: 'auto',
|
|
288
|
+
letterSpacing: '0.15008px',
|
|
289
|
+
lineHeight: '19px',
|
|
290
|
+
paddingLeft: '5px',
|
|
291
|
+
paddingRight: '5px',
|
|
292
|
+
pointerEvents: 'none',
|
|
293
|
+
textAlign: 'left',
|
|
294
|
+
visibility: 'hidden',
|
|
295
|
+
width: 'auto',
|
|
296
|
+
WebkitFontSmoothing: 'antialiased',
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
componentWillUnmount() {
|
|
300
|
+
if (this.props.stopWriting) {
|
|
301
|
+
clearTimeout(this.stopWritingTimeout);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
onChange = event => {
|
|
306
|
+
const { onChange } = this.props;
|
|
307
|
+
|
|
308
|
+
let value = this.handleValue(event.target);
|
|
309
|
+
|
|
310
|
+
value = this.handleWithTypeValues(value);
|
|
311
|
+
|
|
312
|
+
if (onChange) {
|
|
313
|
+
onChange(value);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
this.props.handleUpdates(value);
|
|
317
|
+
this.stopWritingHandler(value);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
stopWritingHandler = value => {
|
|
321
|
+
const { stopWriting, stopWritingTime = 2000 } = this.props;
|
|
322
|
+
|
|
323
|
+
if (stopWriting) {
|
|
324
|
+
clearTimeout(this.stopWritingTimeout);
|
|
325
|
+
this.stopWritingTimeout = setTimeout(() => {
|
|
326
|
+
stopWriting(value);
|
|
327
|
+
}, stopWritingTime);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
handleWithTypeValues = value => {
|
|
332
|
+
const { field, type, optionValue } = this.props;
|
|
333
|
+
|
|
334
|
+
if (type === 'checkbox') {
|
|
335
|
+
const fieldValue = getField(field, 'value') || [];
|
|
336
|
+
const index = fieldValue.indexOf(optionValue);
|
|
337
|
+
|
|
338
|
+
if (index < 0) {
|
|
339
|
+
fieldValue.push(optionValue);
|
|
340
|
+
} else {
|
|
341
|
+
fieldValue.splice(index, 1);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
value = fieldValue;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
if (type === 'radio') {
|
|
348
|
+
value = optionValue;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
return value;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
handleValue = target => {
|
|
355
|
+
const confs = this.stateOptions();
|
|
356
|
+
|
|
357
|
+
return confs.alias === 'check'
|
|
358
|
+
? target.checked
|
|
359
|
+
: target.value;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
handleClassName = () => {
|
|
363
|
+
const { className = '' } = this.props;
|
|
364
|
+
const confs = this.stateOptions();
|
|
365
|
+
|
|
366
|
+
let cn = '';
|
|
367
|
+
|
|
368
|
+
if (confs.alias === 'text' && !className) cn += ' form-control ';
|
|
369
|
+
|
|
370
|
+
cn += className;
|
|
371
|
+
|
|
372
|
+
return cn;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
checkInputProps = () => {
|
|
376
|
+
const {
|
|
377
|
+
field,
|
|
378
|
+
id,
|
|
379
|
+
type = 'text',
|
|
380
|
+
placeholder,
|
|
381
|
+
min,
|
|
382
|
+
max,
|
|
383
|
+
step,
|
|
384
|
+
maxLength,
|
|
385
|
+
minLength,
|
|
386
|
+
autoFocus,
|
|
387
|
+
disabled,
|
|
388
|
+
readOnly,
|
|
389
|
+
required,
|
|
390
|
+
} = this.props;
|
|
391
|
+
|
|
392
|
+
let value = getField(field, 'value');
|
|
393
|
+
|
|
394
|
+
let inputProps = {};
|
|
395
|
+
|
|
396
|
+
inputProps['min'] = min;
|
|
397
|
+
inputProps['max'] = max;
|
|
398
|
+
inputProps['step'] = step;
|
|
399
|
+
inputProps['maxLength'] = maxLength;
|
|
400
|
+
inputProps['minLength'] = minLength;
|
|
401
|
+
inputProps['value'] = value;
|
|
402
|
+
inputProps['placeholder'] = placeholder;
|
|
403
|
+
inputProps['readOnly'] = readOnly;
|
|
404
|
+
inputProps['required'] = required;
|
|
405
|
+
inputProps['disabled'] = disabled;
|
|
406
|
+
inputProps['autoFocus'] = autoFocus;
|
|
407
|
+
inputProps['id'] = id;
|
|
408
|
+
inputProps['type'] = type;
|
|
409
|
+
|
|
410
|
+
inputProps = {
|
|
411
|
+
...inputProps,
|
|
412
|
+
...this.events()
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
return inputProps;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
render() {
|
|
419
|
+
const { checkInputProps } = this;
|
|
420
|
+
const { mask, label } = this.props;
|
|
421
|
+
|
|
422
|
+
const inputProps = checkInputProps();
|
|
423
|
+
|
|
424
|
+
if (!mask) {
|
|
425
|
+
return (
|
|
426
|
+
<div style={this.styleDiv1}>
|
|
427
|
+
<label style={this.styleLabel}
|
|
428
|
+
>{label}</label>
|
|
429
|
+
<div style={this.styleDiv2}>
|
|
430
|
+
<input style={this.styleInput} {...inputProps} />
|
|
431
|
+
<fieldset style={this.stylefieldset}>
|
|
432
|
+
<legend style={this.styleLegend}>
|
|
433
|
+
<span style={this.styleSpan}></span>
|
|
434
|
+
</legend>
|
|
435
|
+
</fieldset>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
);
|
|
439
|
+
}
|
|
440
|
+
return (
|
|
441
|
+
<div style={this.styleDiv1}>
|
|
442
|
+
<label style={this.styleLabel}
|
|
443
|
+
>{label}</label>
|
|
444
|
+
<div style={this.styleDiv2}>
|
|
445
|
+
<MaskedInput mask={mask} style={this.styleInput} {...this.props} />
|
|
446
|
+
<fieldset style={this.stylefieldset}>
|
|
447
|
+
<legend style={this.styleLegend}>
|
|
448
|
+
<span style={this.styleSpan}></span>
|
|
449
|
+
</legend>
|
|
450
|
+
</fieldset>
|
|
451
|
+
</div>
|
|
452
|
+
</div>
|
|
453
|
+
);
|
|
454
|
+
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
stateOptions = () => {
|
|
458
|
+
const { confs } = this;
|
|
459
|
+
const { type } = this.props;
|
|
460
|
+
|
|
461
|
+
if (confs) return confs;
|
|
462
|
+
|
|
463
|
+
const confsAux = {};
|
|
464
|
+
|
|
465
|
+
switch (type) {
|
|
466
|
+
case 'time':
|
|
467
|
+
confsAux['alias'] = 'text';
|
|
468
|
+
break;
|
|
469
|
+
case 'date':
|
|
470
|
+
confsAux['alias'] = 'text';
|
|
471
|
+
break;
|
|
472
|
+
case 'datetime-local':
|
|
473
|
+
confsAux['alias'] = 'text';
|
|
474
|
+
break;
|
|
475
|
+
case 'email':
|
|
476
|
+
confsAux['alias'] = 'text';
|
|
477
|
+
break;
|
|
478
|
+
case 'url':
|
|
479
|
+
confsAux['alias'] = 'text';
|
|
480
|
+
break;
|
|
481
|
+
case 'month':
|
|
482
|
+
confsAux['alias'] = 'text';
|
|
483
|
+
break;
|
|
484
|
+
case 'week':
|
|
485
|
+
confsAux['alias'] = 'text';
|
|
486
|
+
break;
|
|
487
|
+
case 'number':
|
|
488
|
+
confsAux['alias'] = 'text';
|
|
489
|
+
break;
|
|
490
|
+
case 'password':
|
|
491
|
+
confsAux['alias'] = 'text';
|
|
492
|
+
break;
|
|
493
|
+
case 'search':
|
|
494
|
+
confsAux['alias'] = 'text';
|
|
495
|
+
break;
|
|
496
|
+
case 'button':
|
|
497
|
+
confsAux['alias'] = 'button';
|
|
498
|
+
break;
|
|
499
|
+
case 'submit':
|
|
500
|
+
confsAux['alias'] = 'button';
|
|
501
|
+
break;
|
|
502
|
+
case 'file':
|
|
503
|
+
confsAux['alias'] = 'button';
|
|
504
|
+
break;
|
|
505
|
+
case 'checkbox':
|
|
506
|
+
confsAux['alias'] = 'check';
|
|
507
|
+
break;
|
|
508
|
+
case 'radio':
|
|
509
|
+
confsAux['alias'] = 'check';
|
|
510
|
+
break;
|
|
511
|
+
case 'color':
|
|
512
|
+
confsAux['alias'] = 'color';
|
|
513
|
+
break;
|
|
514
|
+
case 'hidden':
|
|
515
|
+
confsAux['alias'] = 'hidden';
|
|
516
|
+
break;
|
|
517
|
+
case 'range':
|
|
518
|
+
confsAux['alias'] = 'range';
|
|
519
|
+
break;
|
|
520
|
+
default:
|
|
521
|
+
confsAux['alias'] = 'text';
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
this.confs = confsAux;
|
|
525
|
+
|
|
526
|
+
return confsAux;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
events = () => {
|
|
530
|
+
const {
|
|
531
|
+
onFocus,
|
|
532
|
+
onBlur,
|
|
533
|
+
onKeyDown,
|
|
534
|
+
onKeyPress,
|
|
535
|
+
onKeyUp,
|
|
536
|
+
onMouseEnter,
|
|
537
|
+
onMouseOver,
|
|
538
|
+
onMouseMove,
|
|
539
|
+
onMouseDown,
|
|
540
|
+
onMouseUp,
|
|
541
|
+
onClick,
|
|
542
|
+
onDoubleClick,
|
|
543
|
+
onMouseLeave,
|
|
544
|
+
onMouseOut
|
|
545
|
+
} = this.props;
|
|
546
|
+
|
|
547
|
+
const onChange = this.onChange;
|
|
548
|
+
|
|
549
|
+
return {
|
|
550
|
+
onChange,
|
|
551
|
+
onFocus,
|
|
552
|
+
onBlur,
|
|
553
|
+
onKeyDown,
|
|
554
|
+
onKeyPress,
|
|
555
|
+
onKeyUp,
|
|
556
|
+
onMouseEnter,
|
|
557
|
+
onMouseOver,
|
|
558
|
+
onMouseMove,
|
|
559
|
+
onMouseDown,
|
|
560
|
+
onMouseUp,
|
|
561
|
+
onClick,
|
|
562
|
+
onDoubleClick,
|
|
563
|
+
onMouseLeave,
|
|
564
|
+
onMouseOut
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
ArgousInput.propTypes = {
|
|
570
|
+
field: PropTypes.string.isRequired,
|
|
571
|
+
defaultValue: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]),
|
|
572
|
+
ajax: PropTypes.bool,
|
|
573
|
+
onChange: PropTypes.func,
|
|
574
|
+
action: PropTypes.string,
|
|
575
|
+
dados: PropTypes.object,
|
|
576
|
+
receiveUpdates: PropTypes.array,
|
|
577
|
+
sendUpdates: PropTypes.array,
|
|
578
|
+
onFieldSuccess: PropTypes.func,
|
|
579
|
+
onActionSuccess: PropTypes.func,
|
|
580
|
+
onAllUpdated: PropTypes.func,
|
|
581
|
+
fieldListener: PropTypes.func,
|
|
582
|
+
destroyOnUnmount: PropTypes.bool,
|
|
583
|
+
mask: PropTypes.string,
|
|
584
|
+
placeholder: PropTypes.string,
|
|
585
|
+
className: PropTypes.string,
|
|
586
|
+
style: PropTypes.object,
|
|
587
|
+
id: PropTypes.string,
|
|
588
|
+
name: PropTypes.string,
|
|
589
|
+
min: PropTypes.string,
|
|
590
|
+
max: PropTypes.string,
|
|
591
|
+
step: PropTypes.string,
|
|
592
|
+
maxLength: PropTypes.string,
|
|
593
|
+
minLength: PropTypes.string,
|
|
594
|
+
autoFocus: PropTypes.bool,
|
|
595
|
+
disabled: PropTypes.bool,
|
|
596
|
+
readOnly: PropTypes.bool,
|
|
597
|
+
required: PropTypes.bool,
|
|
598
|
+
onFocus: PropTypes.func,
|
|
599
|
+
onBlur: PropTypes.func,
|
|
600
|
+
onKeyDown: PropTypes.func,
|
|
601
|
+
onKeyPress: PropTypes.func,
|
|
602
|
+
onKeyUp: PropTypes.func,
|
|
603
|
+
onMouseEnter: PropTypes.func,
|
|
604
|
+
onMouseOver: PropTypes.func,
|
|
605
|
+
onMouseMove: PropTypes.func,
|
|
606
|
+
onMouseDown: PropTypes.func,
|
|
607
|
+
onMouseUp: PropTypes.func,
|
|
608
|
+
onClick: PropTypes.func,
|
|
609
|
+
onDoubleClick: PropTypes.func,
|
|
610
|
+
onMouseLeave: PropTypes.func,
|
|
611
|
+
onMouseOut: PropTypes.func,
|
|
612
|
+
stopWriting: PropTypes.func,
|
|
613
|
+
stopWritingTime: PropTypes.number
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
export default createField(ArgousInput);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ArgousInput';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Select, MenuItem, InputBase, Box, Toolbar, Typography, IconButton } from '@material-ui/core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { MdKeyboardArrowLeft, MdKeyboardArrowRight } from 'react-icons/md';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
const ArgousPagination = (props) => {
|
|
9
|
+
|
|
10
|
+
const value = props.ctrlPgnReturn.qtRegs;
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<Toolbar style={{ minHeight: 52, paddingRight: 2 }}>
|
|
14
|
+
<div style={{ flex: '1 1 100%' }}/>
|
|
15
|
+
<Typography color='inherit' variant='body2' style={{ flexShrink: 0 }}>Linhas</Typography>
|
|
16
|
+
{value && (
|
|
17
|
+
<Select
|
|
18
|
+
input={<InputBase style={{ marginRight: 32, marginLeft: 8, color: 'inherit', fontSize: 'inherit', flexShrink: 0, }} />}
|
|
19
|
+
onChange={(e) => props.onChangeRowsPerPage(e.target.value)} value={value} style={{ marginLeft: 15 }}>
|
|
20
|
+
{props.linhasPorPagina.map((coluna, index) => {
|
|
21
|
+
return (<MenuItem key={index} value={coluna}>{coluna}</MenuItem>);
|
|
22
|
+
})}
|
|
23
|
+
</Select>
|
|
24
|
+
)}
|
|
25
|
+
<Typography color='inherit' variant='body2' component='div' style={{ flexShrink: 0 }}>
|
|
26
|
+
<Box padding='1px 0px' display='inline'>
|
|
27
|
+
<InputBase style={{ width: 40 }} inputProps={{ value: props.ctrlPgnReturn.pgAtl }} onBlur={e => props.onChangePageNumber(e.target.value) }/>
|
|
28
|
+
{` / ${props.ctrlPgnReturn.qtPaginas}`}
|
|
29
|
+
</Box>
|
|
30
|
+
</Typography>
|
|
31
|
+
<Box style={{ flexShrink: 0, marginLeft: '20px' }} >
|
|
32
|
+
<IconButton onClick={() => props.onChangePage('P')} disabled={props.ctrlPgnReturn.pgAtl === 1} title='Página Anterior'>
|
|
33
|
+
<MdKeyboardArrowLeft />
|
|
34
|
+
</IconButton>
|
|
35
|
+
<IconButton onClick={() => props.onChangePage('N')} disabled={props.ctrlPgnReturn.pgAtl === props.ctrlPgnReturn.qtPaginas} title='Página Seguinte'>
|
|
36
|
+
<MdKeyboardArrowRight />
|
|
37
|
+
</IconButton>
|
|
38
|
+
</Box>
|
|
39
|
+
</Toolbar>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default ArgousPagination;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ArgousPagination';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ArgousProgressBarProps {
|
|
4
|
+
valueLabel?: string,
|
|
5
|
+
valueSuffix?: string,
|
|
6
|
+
maxValueSuffix?: string,
|
|
7
|
+
maxValueLabel?: string,
|
|
8
|
+
value: number,
|
|
9
|
+
maxValue?: number,
|
|
10
|
+
rightIndicatorColor?: string,
|
|
11
|
+
topIndicatorColor?: string,
|
|
12
|
+
borderColor?: string,
|
|
13
|
+
barColor?: string,
|
|
14
|
+
fullBarColor?: string,
|
|
15
|
+
preset?: 'default' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'hot' | 'cold'
|
|
16
|
+
compact?: boolean,
|
|
17
|
+
className?: string
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare function ArgousProgressBar(props: ArgousProgressBarProps): JSX.Element
|
|
21
|
+
|
|
22
|
+
export default ArgousProgressBar;
|