argous 1.2.246 → 1.3.2
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/WebSocket.d.ts +22 -10
- package/dist/api/WebSocket.js +40 -28
- package/dist/api/index.js +154 -132
- package/dist/api/ws.d.ts +1 -1
- package/dist/api/ws.js +45 -4
- package/dist/components/Alert/Alert.d.ts +19 -5
- package/dist/components/Alert/Alert.js +23 -9
- package/dist/components/Alert/index.d.ts +1 -2
- package/dist/components/ArgousAction/ArgousAction.d.ts +26 -5
- package/dist/components/ArgousAction/ArgousAction.js +25 -11
- package/dist/components/ArgousAction/index.d.ts +1 -2
- package/dist/components/ArgousAvatar/ArgousAvatar.d.ts +3 -14
- package/dist/components/ArgousAvatar/ArgousAvatar.js +54 -66
- package/dist/components/ArgousAvatar/index.d.ts +1 -2
- package/dist/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +3 -76
- package/dist/components/ArgousComplexPagination/ArgousComplexPagination.js +114 -82
- package/dist/components/ArgousComplexPagination/index.d.ts +1 -2
- package/dist/components/ArgousComplexTable/ArgousComplexTable.d.ts +3 -158
- package/dist/components/ArgousComplexTable/ArgousComplexTable.js +94 -80
- package/dist/components/ArgousComplexTable/index.d.ts +1 -2
- package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +7 -177
- package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.js +126 -100
- package/dist/components/ArgousComplexTableBody/DragAndDrop.d.ts +37 -0
- package/dist/components/ArgousComplexTableBody/DragAndDrop.js +156 -0
- package/dist/components/ArgousComplexTableBody/index.d.ts +1 -2
- package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.d.ts +3 -73
- package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.js +72 -51
- package/dist/components/ArgousComplexTableHead/index.d.ts +1 -2
- package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.d.ts +3 -58
- package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +63 -41
- package/dist/components/ArgousComplexTableToolbar/index.d.ts +1 -2
- package/dist/components/ArgousInput/ArgousInput.d.ts +2 -8
- package/dist/components/ArgousInput/ArgousInput.js +27 -13
- package/dist/components/ArgousInput/index.d.ts +1 -2
- package/dist/components/ArgousPagination/ArgousPagination.d.ts +3 -5
- package/dist/components/ArgousPagination/ArgousPagination.js +18 -11
- package/dist/components/ArgousPagination/index.d.ts +1 -2
- package/dist/components/ArgousProgressBar/ArgousProgressBar.d.ts +31 -21
- package/dist/components/ArgousProgressBar/ArgousProgressBar.js +64 -74
- package/dist/components/ArgousProgressBar/index.d.ts +1 -2
- package/dist/components/ArgousSimpleTable/ArgousSimpleTable.d.ts +3 -5
- package/dist/components/ArgousSimpleTable/ArgousSimpleTable.js +43 -33
- package/dist/components/ArgousSimpleTable/index.d.ts +1 -2
- package/dist/components/AutoComplete/AutoComplete.d.ts +2 -8
- package/dist/components/AutoComplete/AutoComplete.js +34 -21
- package/dist/components/AutoComplete/index.d.ts +1 -2
- package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +28 -101
- package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.js +241 -185
- package/dist/components/AutoCompleteFavorites/index.d.ts +1 -2
- package/dist/components/BarChart/BarChart.d.ts +29 -5
- package/dist/components/BarChart/BarChart.js +22 -8
- package/dist/components/BarChart/index.d.ts +1 -2
- package/dist/components/BarraFerramentas/BarraFerramentas.d.ts +54 -25
- package/dist/components/BarraFerramentas/BarraFerramentas.js +163 -131
- package/dist/components/BarraFerramentas/index.d.ts +1 -2
- package/dist/components/Button/Button.d.ts +54 -5
- package/dist/components/Button/Button.js +25 -11
- package/dist/components/Button/index.d.ts +1 -2
- package/dist/components/Cabecalho/Cabecalho.d.ts +2 -8
- package/dist/components/Cabecalho/Cabecalho.js +46 -32
- package/dist/components/Cabecalho/index.d.ts +1 -2
- package/dist/components/Calendar/Calendar.d.ts +2 -8
- package/dist/components/Calendar/Calendar.js +35 -48
- package/dist/components/Calendar/index.d.ts +1 -2
- package/dist/components/Cam/Cam.d.ts +24 -24
- package/dist/components/Cam/Cam.js +34 -20
- package/dist/components/Cam/index.d.ts +1 -2
- package/dist/components/Carousel/Carousel.d.ts +21 -71
- package/dist/components/Carousel/Carousel.js +125 -111
- package/dist/components/Carousel/index.d.ts +1 -2
- package/dist/components/CartaoUsuario/CartaoUsuario.d.ts +6 -9
- package/dist/components/CartaoUsuario/CartaoUsuario.js +54 -40
- package/dist/components/CartaoUsuario/index.d.ts +1 -2
- package/dist/components/Collapse/Collapse.d.ts +55 -56
- package/dist/components/Collapse/Collapse.js +133 -79
- package/dist/components/Collapse/index.d.ts +1 -3
- package/dist/components/Compartilhar/Compartilhar.d.ts +3 -7
- package/dist/components/Compartilhar/Compartilhar.js +92 -83
- package/dist/components/Compartilhar/index.d.ts +1 -2
- package/dist/components/ConfirmModal/BasicModal.d.ts +1 -1
- package/dist/components/ConfirmModal/BasicModal.js +8 -8
- package/dist/components/ConfirmModal/ModalProvider.d.ts +12 -1
- package/dist/components/ConfirmModal/ModalProvider.js +34 -20
- package/dist/components/ConfirmModal/WrapperModal.d.ts +2 -2
- package/dist/components/ConfirmModal/WrapperModal.js +5 -5
- package/dist/components/ConfirmModal/index.d.ts +6 -20
- package/dist/components/ConfirmModal/index.js +5 -1
- package/dist/components/ContactValidationInput/ContactValidationInput.d.ts +17 -62
- package/dist/components/ContactValidationInput/ContactValidationInput.js +133 -105
- package/dist/components/ContactValidationInput/SealModal.d.ts +1 -1
- package/dist/components/ContactValidationInput/SealModal.js +13 -20
- package/dist/components/ContactValidationInput/index.d.ts +1 -2
- package/dist/components/Document/Icons.d.ts +2 -2
- package/dist/components/Document/Icons.js +46 -25
- package/dist/components/Document/ModalVisualizacaoDocumentos.d.ts +1 -1
- package/dist/components/Document/ModalVisualizacaoDocumentos.js +44 -24
- package/dist/components/Document/Visualizacao.d.ts +1 -1
- package/dist/components/Document/Visualizacao.js +60 -42
- package/dist/components/Document/index.d.ts +3 -3
- package/dist/components/Document/index.js +5 -1
- package/dist/components/DropArea/DropArea.d.ts +8 -21
- package/dist/components/DropArea/DropArea.js +43 -24
- package/dist/components/DropArea/Html5FileSelector.js +8 -9
- package/dist/components/DropArea/index.d.ts +1 -2
- package/dist/components/Editor/Events.d.ts +2 -2
- package/dist/components/Editor/ScriptLoader2.d.ts +2 -2
- package/dist/components/Editor/ScriptLoader2.js +3 -3
- package/dist/components/Editor/Utils.d.ts +4 -4
- package/dist/components/Editor/Utils.js +3 -3
- package/dist/components/Editor/components/Editor.d.ts +2 -2
- package/dist/components/Editor/components/Editor.js +38 -24
- package/dist/components/Editor/components/EditorPropTypes.d.ts +2 -2
- package/dist/components/Editor/components/EditorPropTypes.js +22 -8
- package/dist/components/FilePreparer/FilePreparer.d.ts +16 -26
- package/dist/components/FilePreparer/FilePreparer.js +133 -108
- package/dist/components/FilePreparer/index.d.ts +1 -2
- package/dist/components/FileUploader/FileUploader.d.ts +21 -8
- package/dist/components/FileUploader/FileUploader.js +54 -39
- package/dist/components/FileUploader/index.d.ts +1 -2
- package/dist/components/FormVisualizer/FormVisualizer.d.ts +8 -92
- package/dist/components/FormVisualizer/FormVisualizer.js +119 -80
- package/dist/components/FormVisualizer/index.d.ts +1 -2
- package/dist/components/HalfGauge/HalfGauge.d.ts +23 -82
- package/dist/components/HalfGauge/HalfGauge.js +107 -151
- package/dist/components/HalfGauge/index.d.ts +1 -2
- package/dist/components/Highlight/Highlight.d.ts +20 -7
- package/dist/components/Highlight/Highlight.js +28 -13
- package/dist/components/Highlight/index.d.ts +1 -2
- package/dist/components/ImageResize/ImageResize.d.ts +8 -28
- package/dist/components/ImageResize/ImageResize.js +128 -130
- package/dist/components/ImageResize/index.d.ts +1 -2
- package/dist/components/ImageResizeButton/ImageResizeButton.d.ts +2 -25
- package/dist/components/ImageResizeButton/ImageResizeButton.js +28 -14
- package/dist/components/ImageResizeButton/index.d.ts +1 -2
- package/dist/components/Input/Input.d.ts +2 -8
- package/dist/components/Input/Input.js +27 -13
- package/dist/components/Input/index.d.ts +1 -2
- package/dist/components/InputTags/InputTags.d.ts +2 -8
- package/dist/components/InputTags/InputTags.js +38 -21
- package/dist/components/InputTags/index.d.ts +1 -2
- package/dist/components/ListSelect/ListSelect.d.ts +2 -8
- package/dist/components/ListSelect/ListSelect.js +28 -14
- package/dist/components/ListSelect/index.d.ts +1 -2
- package/dist/components/MaterialButton/MaterialButton.d.ts +30 -12
- package/dist/components/MaterialButton/MaterialButton.js +56 -125
- package/dist/components/MaterialButton/index.d.ts +1 -2
- package/dist/components/MenuBar/MenuBar.d.ts +2 -8
- package/dist/components/MenuBar/MenuBar.js +28 -14
- package/dist/components/MenuBar/index.d.ts +1 -2
- package/dist/components/MonthPicker/MonthPicker.d.ts +2 -8
- package/dist/components/MonthPicker/MonthPicker.js +53 -35
- package/dist/components/MonthPicker/index.d.ts +1 -2
- package/dist/components/MultipleSelect/MultipleSelect.d.ts +2 -8
- package/dist/components/MultipleSelect/MultipleSelect.js +37 -19
- package/dist/components/MultipleSelect/index.d.ts +1 -2
- package/dist/components/OtpInput/OtpInput.d.ts +1 -1
- package/dist/components/OtpInput/OtpInput.js +80 -63
- package/dist/components/OtpInput/index.d.ts +1 -2
- package/dist/components/OutputText/OutputText.d.ts +2 -8
- package/dist/components/OutputText/OutputText.js +25 -11
- package/dist/components/OutputText/index.d.ts +1 -2
- package/dist/components/Pagination/Pagination.d.ts +16 -5
- package/dist/components/Pagination/Pagination.js +22 -8
- package/dist/components/Pagination/index.d.ts +1 -2
- package/dist/components/PercentageDisplay/PercentageDisplay.d.ts +14 -51
- package/dist/components/PercentageDisplay/PercentageDisplay.js +25 -89
- package/dist/components/PercentageDisplay/index.d.ts +1 -2
- package/dist/components/Programa/PageCodeEasterEgg.d.ts +6 -5
- package/dist/components/Programa/PageCodeEasterEgg.js +49 -36
- package/dist/components/Programa/Programa.d.ts +72 -32
- package/dist/components/Programa/Programa.js +78 -28
- package/dist/components/Programa/Tab.d.ts +7 -0
- package/dist/components/Programa/Tab.js +2 -0
- package/dist/components/Programa/TabNavigationRail.d.ts +12 -0
- package/dist/components/Programa/TabNavigationRail.js +76 -0
- package/dist/components/Programa/index.d.ts +1 -2
- package/dist/components/ProgressBar/ProgressBar.d.ts +20 -5
- package/dist/components/ProgressBar/ProgressBar.js +25 -11
- package/dist/components/ProgressBar/index.d.ts +1 -2
- package/dist/components/Select/Select.d.ts +2 -8
- package/dist/components/Select/Select.js +28 -14
- package/dist/components/Select/index.d.ts +1 -2
- package/dist/components/SimpleTable/SimpleTable.d.ts +27 -10
- package/dist/components/SimpleTable/SimpleTable.js +47 -33
- package/dist/components/SimpleTable/index.d.ts +1 -2
- package/dist/components/Stepper/Stepper.d.ts +25 -68
- package/dist/components/Stepper/Stepper.js +200 -181
- package/dist/components/Stepper/index.d.ts +1 -2
- package/dist/components/TablePicker/TablePicker.d.ts +3 -8
- package/dist/components/TablePicker/TablePicker.js +76 -43
- package/dist/components/TablePicker/index.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +25 -5
- package/dist/components/Tabs/Tabs.js +25 -11
- package/dist/components/Tabs/index.d.ts +1 -2
- package/dist/components/TextArea/TextArea.d.ts +2 -8
- package/dist/components/TextArea/TextArea.js +25 -11
- package/dist/components/TextArea/index.d.ts +1 -2
- package/dist/components/TextToHtml/Cursor.d.ts +1 -1
- package/dist/components/TextToHtml/Cursor.js +26 -12
- package/dist/components/TextToHtml/TextStyles.d.ts +1 -1
- package/dist/components/TextToHtml/TextStyles.js +57 -46
- package/dist/components/TextToHtml/TextToHtml.d.ts +32 -36
- package/dist/components/TextToHtml/TextToHtml.js +76 -56
- package/dist/components/TextToHtml/index.d.ts +1 -2
- package/dist/components/ThreadLog/ThreadLog.d.ts +36 -5
- package/dist/components/ThreadLog/ThreadLog.js +34 -20
- package/dist/components/ThreadLog/index.d.ts +1 -2
- package/dist/components/UserCard/UserCard.d.ts +6 -15
- package/dist/components/UserCard/UserCard.js +51 -37
- package/dist/components/UserCard/index.d.ts +1 -2
- package/dist/components/UtilAutoComplete/UtilAutoComplete.d.ts +32 -97
- package/dist/components/UtilAutoComplete/UtilAutoComplete.js +44 -30
- package/dist/components/UtilAutoComplete/index.d.ts +1 -2
- package/dist/components/UtilTextField/UtilTextField.d.ts +7 -23
- package/dist/components/UtilTextField/UtilTextField.js +36 -20
- package/dist/components/UtilTextField/index.d.ts +1 -2
- package/dist/components/Zoom/Zoom.d.ts +7 -15
- package/dist/components/Zoom/Zoom.js +32 -29
- package/dist/components/Zoom/index.d.ts +1 -2
- package/dist/components/index.d.ts +118 -180
- package/dist/components/index.js +5 -1
- package/dist/fieldsRedux/createField.d.ts +6 -6
- package/dist/fieldsRedux/createField.js +39 -25
- package/dist/fieldsRedux/fieldsRedux.d.ts +3 -58
- package/dist/fieldsRedux/fieldsRedux.js +63 -49
- package/dist/fieldsRedux/index.d.ts +17 -2
- package/dist/fieldsRedux/passFields.d.ts +2 -0
- package/dist/fieldsRedux/passFields.js +33 -19
- package/dist/reducers/index.d.ts +98 -2
- package/dist/reducers/index.js +1 -1
- package/dist/utils/api.d.ts +2 -2
- package/dist/utils/api.js +50 -33
- package/dist/utils/config.js +2 -3
- package/dist/utils/date.js +4 -4
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +108 -162
- package/dist/utils/store.js +2 -3
- package/dist/utils/xmlToJson.js +1 -1
- package/lib/api/WebSocket.js +11 -12
- package/lib/api/index.js +14 -14
- package/lib/api/ws.js +48 -4
- package/lib/components/ArgousAvatar/ArgousAvatar.d.ts +1 -1
- package/lib/components/ArgousAvatar/ArgousAvatar.js +20 -54
- package/lib/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +1 -1
- package/lib/components/ArgousComplexPagination/ArgousComplexPagination.js +50 -25
- package/lib/components/ArgousComplexTable/ArgousComplexTable.d.ts +1 -1
- package/lib/components/ArgousComplexTable/ArgousComplexTable.js +15 -15
- package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +1 -1
- package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.js +121 -106
- package/lib/components/ArgousComplexTableBody/DragAndDrop.js +85 -0
- package/lib/components/ArgousComplexTableHead/ArgousComplexTableHead.js +60 -51
- package/lib/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +21 -12
- package/lib/components/ArgousInput/ArgousInput.js +2 -2
- package/lib/components/ArgousPagination/ArgousPagination.js +12 -4
- package/lib/components/ArgousProgressBar/ArgousProgressBar.js +67 -78
- package/lib/components/ArgousSimpleTable/ArgousSimpleTable.js +12 -18
- package/lib/components/AutoComplete/AutoComplete.js +2 -3
- package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +3 -4
- package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.js +174 -108
- package/lib/components/BarraFerramentas/BarraFerramentas.d.ts +30 -2
- package/lib/components/BarraFerramentas/BarraFerramentas.js +92 -37
- package/lib/components/Calendar/Calendar.js +7 -42
- package/lib/components/Carousel/Carousel.js +42 -27
- package/lib/components/CartaoUsuario/CartaoUsuario.js +6 -6
- package/lib/components/Collapse/Collapse.d.ts +3 -3
- package/lib/components/Collapse/Collapse.js +92 -57
- package/lib/components/Compartilhar/Compartilhar.js +47 -46
- package/lib/components/ConfirmModal/BasicModal.tsx +1 -1
- package/lib/components/ConfirmModal/WrapperModal.tsx +2 -2
- package/lib/components/ContactValidationInput/ContactValidationInput.d.ts +1 -1
- package/lib/components/ContactValidationInput/ContactValidationInput.js +248 -213
- package/lib/components/ContactValidationInput/SealModal.js +38 -32
- package/lib/components/Document/Icons.js +14 -6
- package/lib/components/Document/ModalVisualizacaoDocumentos.js +9 -2
- package/lib/components/Document/Visualizacao.js +31 -25
- package/lib/components/DropArea/DropArea.js +9 -3
- package/lib/components/Editor/ScriptLoader2.ts +3 -3
- package/lib/components/Editor/Utils.ts +3 -3
- package/lib/components/Editor/components/Editor.tsx +1 -1
- package/lib/components/Editor/tinymce/models/dom/model.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/codesample/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/help/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/image/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/link/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/lists/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/media/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/table/plugin.js +3 -3
- package/lib/components/Editor/tinymce/plugins/table/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/themes/silver/theme.js +38 -38
- package/lib/components/Editor/tinymce/themes/silver/theme.min.js +1 -1
- package/lib/components/Editor/tinymce/tinymce.js +12 -12
- package/lib/components/Editor/tinymce/tinymce.min.js +1 -1
- package/lib/components/FilePreparer/FilePreparer.d.ts +1 -1
- package/lib/components/FilePreparer/FilePreparer.js +112 -108
- package/lib/components/FileUploader/FileUploader.js +8 -7
- package/lib/components/FormVisualizer/FormVisualizer.d.ts +5 -7
- package/lib/components/FormVisualizer/FormVisualizer.js +59 -46
- package/lib/components/HalfGauge/HalfGauge.js +87 -85
- package/lib/components/Highlight/Highlight.js +4 -4
- package/lib/components/ImageResize/ImageResize.d.ts +1 -1
- package/lib/components/ImageResize/ImageResize.js +123 -118
- package/lib/components/ImageResizeButton/ImageResizeButton.d.ts +1 -1
- package/lib/components/ImageResizeButton/ImageResizeButton.js +1 -1
- package/lib/components/Input/Input.js +2 -2
- package/lib/components/InputTags/InputTags.js +6 -7
- package/lib/components/MaterialButton/MaterialButton.d.ts +2 -4
- package/lib/components/MaterialButton/MaterialButton.js +50 -125
- package/lib/components/MonthPicker/MonthPicker.js +2 -2
- package/lib/components/OtpInput/OtpInput.tsx +77 -69
- package/lib/components/PercentageDisplay/PercentageDisplay.d.ts +1 -1
- package/lib/components/PercentageDisplay/PercentageDisplay.js +29 -54
- package/lib/components/Programa/PageCodeEasterEgg.js +41 -40
- package/lib/components/Programa/Programa.d.ts +18 -3
- package/lib/components/Programa/Programa.js +60 -7
- package/lib/components/Programa/Tab.ts +8 -0
- package/lib/components/Programa/TabNavigationRail.js +96 -0
- package/lib/components/Stepper/Stepper.d.ts +1 -1
- package/lib/components/Stepper/Stepper.js +222 -190
- package/lib/components/TablePicker/TablePicker.js +11 -6
- package/lib/components/TextToHtml/TextStyles.js +42 -42
- package/lib/components/TextToHtml/TextToHtml.js +102 -92
- package/lib/components/ThreadLog/ThreadLog.js +1 -1
- package/lib/components/UserCard/UserCard.js +6 -6
- package/lib/components/UtilAutoComplete/UtilAutoComplete.d.ts +3 -4
- package/lib/components/UtilAutoComplete/UtilAutoComplete.js +67 -9
- package/lib/components/UtilTextField/UtilTextField.d.ts +1 -1
- package/lib/components/UtilTextField/UtilTextField.js +18 -16
- package/lib/components/Zoom/Zoom.js +6 -3
- package/lib/utils/api.ts +1 -1
- package/lib/utils/index.ts +10 -96
- package/package.json +56 -56
- package/.gitlab-ci.yml +0 -21
- package/dist/components/Cam/cam.css +0 -8
- package/dist/components/ContactValidationInput/style.css +0 -10
- package/dist/components/Document/icons/ai.svg +0 -20
- package/dist/components/Document/icons/audio.svg +0 -16
- package/dist/components/Document/icons/avi.svg +0 -15
- package/dist/components/Document/icons/css.svg +0 -47
- package/dist/components/Document/icons/csv.svg +0 -37
- package/dist/components/Document/icons/dbf.svg +0 -30
- package/dist/components/Document/icons/doc.svg +0 -47
- package/dist/components/Document/icons/dwg.svg +0 -32
- package/dist/components/Document/icons/exe.svg +0 -20
- package/dist/components/Document/icons/file.svg +0 -11
- package/dist/components/Document/icons/fla.svg +0 -23
- package/dist/components/Document/icons/html.svg +0 -23
- package/dist/components/Document/icons/image.svg +0 -16
- package/dist/components/Document/icons/iso.svg +0 -40
- package/dist/components/Document/icons/jpg.svg +0 -33
- package/dist/components/Document/icons/js.svg +0 -40
- package/dist/components/Document/icons/json.svg +0 -45
- package/dist/components/Document/icons/mod.svg +0 -41
- package/dist/components/Document/icons/mp3.svg +0 -36
- package/dist/components/Document/icons/mp4.svg +0 -25
- package/dist/components/Document/icons/pdf.svg +0 -35
- package/dist/components/Document/icons/png.svg +0 -30
- package/dist/components/Document/icons/ppt.svg +0 -31
- package/dist/components/Document/icons/psd.svg +0 -50
- package/dist/components/Document/icons/rtf.svg +0 -35
- package/dist/components/Document/icons/search.svg +0 -20
- package/dist/components/Document/icons/svg.svg +0 -34
- package/dist/components/Document/icons/txt.svg +0 -29
- package/dist/components/Document/icons/video.svg +0 -17
- package/dist/components/Document/icons/xls.svg +0 -31
- package/dist/components/Document/icons/xml.svg +0 -25
- package/dist/components/Document/icons/zip.svg +0 -24
- package/dist/components/Document/icons/zip1.svg +0 -18
- package/dist/components/Editor/skins/content/dark/content.min.css +0 -1
- package/dist/components/Editor/skins/content/default/content.min.css +0 -1
- package/dist/components/Editor/skins/content/document/content.min.css +0 -1
- package/dist/components/Editor/skins/content/tinymce-5/content.min.css +0 -1
- package/dist/components/Editor/skins/content/tinymce-5-dark/content.min.css +0 -1
- package/dist/components/Editor/skins/content/writer/content.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide/content.inline.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide/content.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide/skin.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide-dark/content.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide-dark/skin.min.css +0 -1
- package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5/content.inline.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5/content.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5/skin.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5-dark/content.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/dist/components/Editor/tinymce/icons/default/icons.js +0 -194
- package/dist/components/Editor/tinymce/icons/default/icons.min.js +0 -1
- package/dist/components/Editor/tinymce/skins/content/dark/content.css +0 -66
- package/dist/components/Editor/tinymce/skins/content/dark/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/content/default/content.css +0 -61
- package/dist/components/Editor/tinymce/skins/content/default/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/content/document/content.css +0 -66
- package/dist/components/Editor/tinymce/skins/content/document/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/content/tinymce-5/content.css +0 -61
- package/dist/components/Editor/tinymce/skins/content/tinymce-5/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/content/tinymce-5-dark/content.css +0 -66
- package/dist/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/content/writer/content.css +0 -62
- package/dist/components/Editor/tinymce/skins/content/writer/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide/content.css +0 -785
- package/dist/components/Editor/tinymce/skins/ui/oxide/content.inline.css +0 -779
- package/dist/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/dist/components/Editor/tinymce/skins/ui/oxide/skin.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/dist/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.css +0 -766
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.css +0 -785
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.css +0 -779
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.css +0 -766
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -779
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -2
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
- package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -2
- package/dist/components/Editor/tinymce/tinymce.d.ts +0 -3238
- package/dist/components/TextToHtml/icons/resize_area.svg +0 -2
- package/dist/components/TextToHtml/style.css +0 -40
- package/dist/components/Zoom/style.css +0 -25
- package/dist/types.d.ts +0 -164
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -11,53 +15,68 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
11
15
|
}) : function(o, v) {
|
|
12
16
|
o["default"] = v;
|
|
13
17
|
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
24
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
36
|
var ArgousComplexTable_1 = require("../ArgousComplexTable/ArgousComplexTable");
|
|
26
|
-
var
|
|
27
|
-
var
|
|
37
|
+
var material_1 = require("@mui/material");
|
|
38
|
+
var styles_1 = require("@mui/material/styles");
|
|
39
|
+
var clsx_1 = require("clsx");
|
|
28
40
|
var lodash_1 = require("lodash");
|
|
29
41
|
var react_1 = __importStar(require("react"));
|
|
30
|
-
var
|
|
31
|
-
highlight:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
var classes = {
|
|
43
|
+
highlight: 'argous-complex-table-head-highlight',
|
|
44
|
+
lighthighlight: 'argous-complex-table-head-light-highlight',
|
|
45
|
+
visuallyHidden: 'argous-complex-table-head-visually-hidden',
|
|
46
|
+
};
|
|
47
|
+
var tableHeadStyles = function (theme) {
|
|
48
|
+
var _a;
|
|
49
|
+
return (_a = {},
|
|
50
|
+
_a[".".concat(classes.highlight)] = {
|
|
51
|
+
color: theme.palette.mode === 'light' ? theme.palette.secondary.main : theme.palette.text.primary,
|
|
52
|
+
backgroundColor: (0, styles_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity * 2)
|
|
53
|
+
},
|
|
54
|
+
_a[".".concat(classes.lighthighlight)] = {
|
|
55
|
+
background: (0, styles_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity)
|
|
56
|
+
},
|
|
57
|
+
_a[".".concat(classes.visuallyHidden)] = {
|
|
58
|
+
border: 0,
|
|
59
|
+
clip: 'rect(0 0 0 0)',
|
|
60
|
+
height: 1,
|
|
61
|
+
margin: -1,
|
|
62
|
+
overflow: 'hidden',
|
|
63
|
+
padding: 0,
|
|
64
|
+
position: 'absolute',
|
|
65
|
+
top: 20,
|
|
66
|
+
width: 1,
|
|
67
|
+
},
|
|
68
|
+
_a);
|
|
69
|
+
};
|
|
70
|
+
var ArgousComplexTableHead = (0, react_1.memo)(function (_a) {
|
|
51
71
|
var _b;
|
|
52
72
|
var numSelected = _a.numSelected, rowCount = _a.rowCount, head = _a.head, enableCheck = _a.enableCheck, disableCheckIf = _a.disableCheckIf, line = _a.line, size = _a.size, headerColumnStyles = _a.headerColumnStyles, disableSorting = _a.disableSorting, ordCols = _a.ordCols, cortaDados = _a.cortaDados, enableDrag = _a.enableDrag;
|
|
53
|
-
var
|
|
54
|
-
var _c = react_1.useContext(ArgousComplexTable_1.TableContext), selected = _c.selected, order = _c.order, orderBy = _c.orderBy, dispatch = _c.dispatch, lista = _c.lista, indexToSelect = _c.indexToSelect, method = _c.method, externalCtrlPgn = _c.externalCtrlPgn;
|
|
73
|
+
var _c = (0, react_1.useContext)(ArgousComplexTable_1.TableContext), selected = _c.selected, order = _c.order, orderBy = _c.orderBy, dispatch = _c.dispatch, lista = _c.lista, indexToSelect = _c.indexToSelect, method = _c.method, externalCtrlPgn = _c.externalCtrlPgn;
|
|
55
74
|
var handleRequestSort = function (property) {
|
|
56
75
|
var isAsc = orderBy === property && order === 'asc';
|
|
57
76
|
dispatch({ type: 'setOrder', value: isAsc ? 'desc' : 'asc' });
|
|
58
77
|
dispatch({ type: 'setOrderBy', value: property });
|
|
59
78
|
};
|
|
60
|
-
var length = react_1.useMemo(function () { return disableCheckIf ? lista.reduce(function (acc, linha, i) { return !disableCheckIf(linha, line(linha), i) ? acc + 1 : acc; }, 0) : size; }, [disableCheckIf, lista, size, line]);
|
|
79
|
+
var length = (0, react_1.useMemo)(function () { return disableCheckIf ? lista.reduce(function (acc, linha, i) { return !disableCheckIf(linha, line(linha), i) ? acc + 1 : acc; }, 0) : size; }, [disableCheckIf, lista, size, line]);
|
|
61
80
|
var handleSelectAllClick = function (event) {
|
|
62
81
|
if (event.target.checked) {
|
|
63
82
|
if (!method && !externalCtrlPgn && (selected.length === 0))
|
|
@@ -70,19 +89,21 @@ var ArgousComplexTableHead = react_1.memo(function (_a) {
|
|
|
70
89
|
else
|
|
71
90
|
dispatch({ type: 'setSelected', value: [] });
|
|
72
91
|
};
|
|
73
|
-
return (react_1.default.createElement(
|
|
74
|
-
react_1.default.createElement(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
react_1.default.createElement(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
92
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
93
|
+
react_1.default.createElement(material_1.GlobalStyles, { styles: tableHeadStyles }),
|
|
94
|
+
react_1.default.createElement(material_1.TableHead, null,
|
|
95
|
+
react_1.default.createElement(material_1.TableRow, { className: (0, clsx_1.clsx)((_b = {},
|
|
96
|
+
_b[classes.highlight] = (((numSelected === rowCount) || (numSelected === length) || (numSelected === (lista === null || lista === void 0 ? void 0 : lista.length))) && (rowCount && length)),
|
|
97
|
+
_b[classes.lighthighlight] = ((numSelected > 0) && ((method || externalCtrlPgn) ? (numSelected < (lista === null || lista === void 0 ? void 0 : lista.length)) : (numSelected < rowCount))),
|
|
98
|
+
_b)) },
|
|
99
|
+
enableDrag && react_1.default.createElement(material_1.TableCell, { padding: 'checkbox' }),
|
|
100
|
+
enableCheck && react_1.default.createElement(material_1.TableCell, { padding: 'checkbox' },
|
|
101
|
+
react_1.default.createElement(material_1.Checkbox, { disabled: !length, indeterminate: (method || externalCtrlPgn) ? ((numSelected > 0) && (numSelected < (lista === null || lista === void 0 ? void 0 : lista.length))) : ((numSelected > 0) && (numSelected < length)), checked: (method || externalCtrlPgn) ? ((rowCount > 0) && ((numSelected === rowCount) || (numSelected === (lista === null || lista === void 0 ? void 0 : lista.length)))) : ((rowCount > 0) && length && (numSelected === length)), onChange: handleSelectAllClick })),
|
|
102
|
+
(0, lodash_1.isArray)(head) && head.map(function (item, i) { return (react_1.default.createElement(material_1.TableCell, { key: i, style: headerColumnStyles ? headerColumnStyles[i] : undefined }, (disableSorting[i] || (ordCols && !ordCols[i])) ?
|
|
103
|
+
item
|
|
104
|
+
:
|
|
105
|
+
react_1.default.createElement(material_1.TableSortLabel, { active: orderBy === i, direction: orderBy === i ? order : 'asc', onClick: function () { return handleRequestSort(i); } },
|
|
106
|
+
item,
|
|
107
|
+
orderBy === i ? (react_1.default.createElement("span", { className: classes.visuallyHidden }, order === 'desc' ? 'sorted descending' : 'sorted ascending')) : null))); })))));
|
|
87
108
|
});
|
|
88
109
|
exports.default = ArgousComplexTableHead;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from './ArgousComplexTableHead';
|
|
1
|
+
export { default } from "./ArgousComplexTableHead";
|
|
@@ -1,58 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare interface ActionsFunction {
|
|
5
|
-
/**
|
|
6
|
-
* @param identificador - Array com todos os itens que foram selecionados
|
|
7
|
-
*
|
|
8
|
-
* @returns {void} Sem retorno
|
|
9
|
-
*/
|
|
10
|
-
(identificador: Array<any>): void
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface ArgousComplexTableToolBarProps {
|
|
14
|
-
/**
|
|
15
|
-
* Recebe um array com as ações para a tabela, cada item do array deve ser outro array
|
|
16
|
-
* com três itens na seguinte ordem:
|
|
17
|
-
*
|
|
18
|
-
* @param icone - Icone, do react icons, que ficará visivel na action
|
|
19
|
-
* @param title - Texto que aparecerá ao passar o mouse por cima do icone
|
|
20
|
-
* @param callback - Funcao q será chamada ao clicar no icone, ela pode receber como parametros os itens selecioandos na lista
|
|
21
|
-
*/
|
|
22
|
-
actions?: Array<Array<IconType | string | ActionsFunction>>,
|
|
23
|
-
/**
|
|
24
|
-
* Titulo que aparecerá acima da tabela
|
|
25
|
-
*/
|
|
26
|
-
title?: string,
|
|
27
|
-
/**
|
|
28
|
-
* Desabilita o filtro
|
|
29
|
-
*/
|
|
30
|
-
disableFilter?: boolean,
|
|
31
|
-
/**
|
|
32
|
-
* Label a ser aplicado ao filtro
|
|
33
|
-
*/
|
|
34
|
-
filterLabel?: string,
|
|
35
|
-
/**
|
|
36
|
-
* Deixa a barra de ferramentas fixa sempre ativa
|
|
37
|
-
*/
|
|
38
|
-
fixedToolbar?: boolean,
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface ArgousComplexTableToolBarPrivateProps extends ArgousComplexTableToolBarProps {
|
|
42
|
-
/**
|
|
43
|
-
* Quantidade de itens selecionados
|
|
44
|
-
*/
|
|
45
|
-
numSelected: number,
|
|
46
|
-
/**
|
|
47
|
-
* Lista com os itens da tabela
|
|
48
|
-
*/
|
|
49
|
-
lista: Array<Array<any> | Object>,
|
|
50
|
-
/**
|
|
51
|
-
* Ìndice da linha original a ser utilizado como ID primário na hora das seleções e que será retornado pelas actions
|
|
52
|
-
*/
|
|
53
|
-
indexToSelect?: number | string,
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
declare function ArgousComplexTableToolBar(props: ArgousComplexTableToolBarPrivateProps): JSX.Element
|
|
57
|
-
|
|
58
|
-
export default ArgousComplexTableToolBar;
|
|
1
|
+
export default ArgousComplexTableToolBar;
|
|
2
|
+
declare const ArgousComplexTableToolBar: React.NamedExoticComponent<object>;
|
|
3
|
+
import React from 'react';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -11,43 +15,58 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
11
15
|
}) : function(o, v) {
|
|
12
16
|
o["default"] = v;
|
|
13
17
|
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
24
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
36
|
var ArgousComplexTable_1 = require("../ArgousComplexTable/ArgousComplexTable");
|
|
26
|
-
var
|
|
27
|
-
var
|
|
37
|
+
var material_1 = require("@mui/material");
|
|
38
|
+
var styles_1 = require("@mui/material/styles");
|
|
39
|
+
var clsx_1 = require("clsx");
|
|
28
40
|
var lodash_1 = require("lodash");
|
|
29
41
|
var react_1 = __importStar(require("react"));
|
|
30
|
-
var
|
|
31
|
-
toolbar:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
var classes = {
|
|
43
|
+
toolbar: 'argous-complex-table-toolbar-toolbar',
|
|
44
|
+
highlight: 'argous-complex-table-toolbar-highlight',
|
|
45
|
+
title: 'argous-complex-table-toolbar-title',
|
|
46
|
+
};
|
|
47
|
+
var toolbarStyles = function (theme) {
|
|
48
|
+
var _a;
|
|
49
|
+
return (_a = {},
|
|
50
|
+
_a[".".concat(classes.toolbar)] = {
|
|
51
|
+
minHeight: 0,
|
|
52
|
+
paddingLeft: theme.spacing(2),
|
|
53
|
+
paddingRight: theme.spacing(1),
|
|
54
|
+
},
|
|
55
|
+
_a[".".concat(classes.highlight)] = {
|
|
56
|
+
color: theme.palette.mode === 'light' ? theme.palette.secondary.main : theme.palette.text.primary,
|
|
57
|
+
backgroundColor: (0, styles_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity * 2)
|
|
58
|
+
},
|
|
59
|
+
_a[".".concat(classes.title)] = {
|
|
60
|
+
flex: '1 1 100%',
|
|
61
|
+
lineHeight: '50px'
|
|
62
|
+
},
|
|
63
|
+
_a);
|
|
64
|
+
};
|
|
65
|
+
var ArgousComplexTableToolBar = (0, react_1.memo)(function (_a) {
|
|
46
66
|
var _b;
|
|
47
67
|
var numSelected = _a.numSelected, actions = _a.actions, title = _a.title, disableFilter = _a.disableFilter, filterLabel = _a.filterLabel, lista = _a.lista, indexToSelect = _a.indexToSelect, fixedToolbar = _a.fixedToolbar;
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var filterTime = react_1.useRef();
|
|
68
|
+
var _c = (0, react_1.useContext)(ArgousComplexTable_1.TableContext), selected = _c.selected, dispatch = _c.dispatch;
|
|
69
|
+
var filterTime = (0, react_1.useRef)();
|
|
51
70
|
var handleChange = function (e) {
|
|
52
71
|
var value = e.target.value;
|
|
53
72
|
clearTimeout(filterTime.current);
|
|
@@ -55,16 +74,19 @@ var ArgousComplexTableToolBar = react_1.memo(function (_a) {
|
|
|
55
74
|
dispatch({ type: 'setFilter', value: value });
|
|
56
75
|
}, 300);
|
|
57
76
|
};
|
|
58
|
-
return (react_1.default.createElement(
|
|
59
|
-
|
|
77
|
+
return (react_1.default.createElement(material_1.Toolbar, { className: (0, clsx_1.clsx)(classes.toolbar, (_b = {}, _b[classes.highlight] = numSelected > 0, _b)) },
|
|
78
|
+
react_1.default.createElement(material_1.GlobalStyles, { styles: toolbarStyles }),
|
|
79
|
+
numSelected > 0 ? (react_1.default.createElement(material_1.Typography, { className: classes.title, variant: 'subtitle1', component: 'div', sx: {
|
|
80
|
+
color: 'inherit'
|
|
81
|
+
} },
|
|
60
82
|
numSelected,
|
|
61
83
|
" ",
|
|
62
|
-
numSelected === 1 ? 'selecionado' : 'selecionados')) : react_1.default.createElement(
|
|
63
|
-
title && react_1.default.createElement(
|
|
64
|
-
react_1.default.createElement(
|
|
65
|
-
!disableFilter && react_1.default.createElement(
|
|
66
|
-
react_1.default.createElement(
|
|
67
|
-
(fixedToolbar || numSelected > 0) && lodash_1.isArray(actions) && actions.map(function (action, i) { return (react_1.default.createElement(
|
|
68
|
-
react_1.default.createElement(
|
|
84
|
+
numSelected === 1 ? 'selecionado' : 'selecionados')) : react_1.default.createElement(material_1.Grid, { container: true, spacing: 2, style: { marginRight: 0 } },
|
|
85
|
+
title && react_1.default.createElement(material_1.Grid, { style: { display: 'flex', alignItems: 'center' }, size: 'grow' },
|
|
86
|
+
react_1.default.createElement(material_1.Typography, { className: classes.title, variant: 'h6', component: 'div' }, title)),
|
|
87
|
+
!disableFilter && react_1.default.createElement(material_1.Grid, { size: 'grow' },
|
|
88
|
+
react_1.default.createElement(material_1.TextField, { label: filterLabel, fullWidth: true, margin: 'dense', variant: 'outlined', onChange: handleChange }))),
|
|
89
|
+
(fixedToolbar || numSelected > 0) && (0, lodash_1.isArray)(actions) && actions.map(function (action, i) { return (react_1.default.createElement(material_1.Tooltip, { key: i, title: action[0] },
|
|
90
|
+
react_1.default.createElement(material_1.IconButton, { onClick: function (e) { return action[2](selected, e, lista.filter(function (linha) { return selected.indexOf(linha[indexToSelect]) > -1; })); } }, action[1]))); })));
|
|
69
91
|
});
|
|
70
92
|
exports.default = ArgousComplexTableToolBar;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from './ArgousComplexTableToolBar';
|
|
1
|
+
export { default } from "./ArgousComplexTableToolBar";
|
|
@@ -27,7 +27,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
27
27
|
};
|
|
28
28
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
29
29
|
if (k2 === undefined) k2 = k;
|
|
30
|
-
Object.
|
|
30
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
31
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
32
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
33
|
+
}
|
|
34
|
+
Object.defineProperty(o, k2, desc);
|
|
31
35
|
}) : (function(o, m, k, k2) {
|
|
32
36
|
if (k2 === undefined) k2 = k;
|
|
33
37
|
o[k2] = m[k];
|
|
@@ -37,13 +41,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
37
41
|
}) : function(o, v) {
|
|
38
42
|
o["default"] = v;
|
|
39
43
|
});
|
|
40
|
-
var __importStar = (this && this.__importStar) || function (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
};
|
|
44
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
45
|
+
var ownKeys = function(o) {
|
|
46
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
47
|
+
var ar = [];
|
|
48
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
49
|
+
return ar;
|
|
50
|
+
};
|
|
51
|
+
return ownKeys(o);
|
|
52
|
+
};
|
|
53
|
+
return function (mod) {
|
|
54
|
+
if (mod && mod.__esModule) return mod;
|
|
55
|
+
var result = {};
|
|
56
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
57
|
+
__setModuleDefault(result, mod);
|
|
58
|
+
return result;
|
|
59
|
+
};
|
|
60
|
+
})();
|
|
47
61
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
62
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
63
|
};
|
|
@@ -51,7 +65,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
65
|
var fieldsRedux_1 = require("../../fieldsRedux");
|
|
52
66
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
53
67
|
var react_1 = __importStar(require("react"));
|
|
54
|
-
var
|
|
68
|
+
var react_input_mask_1 = __importDefault(require("@mona-health/react-input-mask"));
|
|
55
69
|
/**
|
|
56
70
|
* @deprecated
|
|
57
71
|
*/
|
|
@@ -361,7 +375,7 @@ var ArgousInput = /** @class */ (function (_super) {
|
|
|
361
375
|
_this.handleWithTypeValues = function (value) {
|
|
362
376
|
var _a = _this.props, field = _a.field, type = _a.type, optionValue = _a.optionValue;
|
|
363
377
|
if (type === 'checkbox') {
|
|
364
|
-
var fieldValue = fieldsRedux_1.getField(field, 'value') || [];
|
|
378
|
+
var fieldValue = (0, fieldsRedux_1.getField)(field, 'value') || [];
|
|
365
379
|
var index = fieldValue.indexOf(optionValue);
|
|
366
380
|
if (index < 0) {
|
|
367
381
|
fieldValue.push(optionValue);
|
|
@@ -393,7 +407,7 @@ var ArgousInput = /** @class */ (function (_super) {
|
|
|
393
407
|
};
|
|
394
408
|
_this.checkInputProps = function () {
|
|
395
409
|
var _a = _this.props, field = _a.field, id = _a.id, _b = _a.type, type = _b === void 0 ? 'text' : _b, placeholder = _a.placeholder, min = _a.min, max = _a.max, step = _a.step, maxLength = _a.maxLength, minLength = _a.minLength, autoFocus = _a.autoFocus, disabled = _a.disabled, readOnly = _a.readOnly, required = _a.required;
|
|
396
|
-
var value = fieldsRedux_1.getField(field, 'value');
|
|
410
|
+
var value = (0, fieldsRedux_1.getField)(field, 'value');
|
|
397
411
|
var inputProps = {};
|
|
398
412
|
inputProps['min'] = min;
|
|
399
413
|
inputProps['max'] = max;
|
|
@@ -522,7 +536,7 @@ var ArgousInput = /** @class */ (function (_super) {
|
|
|
522
536
|
return (react_1.default.createElement("div", { style: this.styleDiv1 },
|
|
523
537
|
react_1.default.createElement("label", { style: this.styleLabel }, label),
|
|
524
538
|
react_1.default.createElement("div", { style: this.styleDiv2 },
|
|
525
|
-
react_1.default.createElement(
|
|
539
|
+
react_1.default.createElement(react_input_mask_1.default, __assign({ mask: mask.replaceAll('1', '9').replaceAll('#', '*'), style: this.styleInput }, this.props)),
|
|
526
540
|
react_1.default.createElement("fieldset", { style: this.stylefieldset },
|
|
527
541
|
react_1.default.createElement("legend", { style: this.styleLegend },
|
|
528
542
|
react_1.default.createElement("span", { style: this.styleSpan }))))));
|
|
@@ -575,4 +589,4 @@ ArgousInput.propTypes = {
|
|
|
575
589
|
stopWriting: prop_types_1.default.func,
|
|
576
590
|
stopWritingTime: prop_types_1.default.number
|
|
577
591
|
};
|
|
578
|
-
exports.default = fieldsRedux_1.createField(ArgousInput);
|
|
592
|
+
exports.default = (0, fieldsRedux_1.createField)(ArgousInput);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from './ArgousInput';
|
|
1
|
+
export { default } from "./ArgousInput";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export default ArgousPagination;
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated
|
|
4
|
-
* @param props
|
|
5
4
|
*/
|
|
6
|
-
declare function ArgousPagination(props:
|
|
7
|
-
|
|
8
|
-
export default ArgousPagination;
|
|
5
|
+
declare function ArgousPagination(props: any): React.JSX.Element;
|
|
6
|
+
import React from 'react';
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var
|
|
6
|
+
var material_1 = require("@mui/material");
|
|
7
7
|
var react_1 = __importDefault(require("react"));
|
|
8
8
|
var md_1 = require("react-icons/md");
|
|
9
9
|
/**
|
|
@@ -11,19 +11,26 @@ var md_1 = require("react-icons/md");
|
|
|
11
11
|
*/
|
|
12
12
|
var ArgousPagination = function (props) {
|
|
13
13
|
var value = props.ctrlPgnReturn.qtRegs;
|
|
14
|
-
return (react_1.default.createElement(
|
|
14
|
+
return (react_1.default.createElement(material_1.Toolbar, { style: { minHeight: 52, paddingRight: 2 } },
|
|
15
15
|
react_1.default.createElement("div", { style: { flex: '1 1 100%' } }),
|
|
16
|
-
react_1.default.createElement(
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
react_1.default.createElement(material_1.Typography, { variant: 'body2', style: { flexShrink: 0 }, sx: {
|
|
17
|
+
color: 'inherit'
|
|
18
|
+
} }, "Linhas"),
|
|
19
|
+
value && (react_1.default.createElement(material_1.Select, { input: react_1.default.createElement(material_1.InputBase, { style: { marginRight: 32, marginLeft: 8, color: 'inherit', fontSize: 'inherit', flexShrink: 0, } }), onChange: function (e) { return props.onChangeRowsPerPage(e.target.value); }, value: value, style: { marginLeft: 15 } }, props.linhasPorPagina.map(function (coluna, index) {
|
|
20
|
+
return (react_1.default.createElement(material_1.MenuItem, { key: index, value: coluna }, coluna));
|
|
19
21
|
}))),
|
|
20
|
-
react_1.default.createElement(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
react_1.default.createElement(material_1.Typography, { variant: 'body2', component: 'div', style: { flexShrink: 0 }, sx: {
|
|
23
|
+
color: 'inherit'
|
|
24
|
+
} },
|
|
25
|
+
react_1.default.createElement(material_1.Box, { sx: {
|
|
26
|
+
padding: '1px 0px',
|
|
27
|
+
display: 'inline'
|
|
28
|
+
} },
|
|
29
|
+
react_1.default.createElement(material_1.InputBase, { style: { width: 40 }, inputProps: { value: props.ctrlPgnReturn.pgAtl }, onBlur: function (e) { return props.onChangePageNumber(e.target.value); } }), " / ".concat(props.ctrlPgnReturn.qtPaginas))),
|
|
30
|
+
react_1.default.createElement(material_1.Box, { style: { flexShrink: 0, marginLeft: '20px' } },
|
|
31
|
+
react_1.default.createElement(material_1.IconButton, { onClick: function () { return props.onChangePage('P'); }, disabled: props.ctrlPgnReturn.pgAtl === 1, title: 'P\u00E1gina Anterior' },
|
|
25
32
|
react_1.default.createElement(md_1.MdKeyboardArrowLeft, null)),
|
|
26
|
-
react_1.default.createElement(
|
|
33
|
+
react_1.default.createElement(material_1.IconButton, { onClick: function () { return props.onChangePage('N'); }, disabled: props.ctrlPgnReturn.pgAtl === props.ctrlPgnReturn.qtPaginas, title: 'P\u00E1gina Seguinte' },
|
|
27
34
|
react_1.default.createElement(md_1.MdKeyboardArrowRight, null)))));
|
|
28
35
|
};
|
|
29
36
|
exports.default = ArgousPagination;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from './ArgousPagination';
|
|
1
|
+
export { default } from "./ArgousPagination";
|
|
@@ -1,22 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
declare function ProgressBar({ valueLabel, valueSuffix, maxValueSuffix, maxValueLabel, value, maxValue, rightIndicatorColor, topIndicatorColor, borderColor, barColor, fullBarColor, preset, compact, className }: {
|
|
2
|
+
valueLabel: any;
|
|
3
|
+
valueSuffix: any;
|
|
4
|
+
maxValueSuffix: any;
|
|
5
|
+
maxValueLabel: any;
|
|
6
|
+
value: any;
|
|
7
|
+
maxValue: any;
|
|
8
|
+
rightIndicatorColor: any;
|
|
9
|
+
topIndicatorColor: any;
|
|
10
|
+
borderColor: any;
|
|
11
|
+
barColor: any;
|
|
12
|
+
fullBarColor: any;
|
|
13
|
+
preset: any;
|
|
14
|
+
compact: any;
|
|
15
|
+
className: any;
|
|
16
|
+
}): React.JSX.Element;
|
|
17
|
+
declare namespace ProgressBar {
|
|
18
|
+
namespace propTypes {
|
|
19
|
+
let value: PropTypes.Requireable<number>;
|
|
20
|
+
let maxValue: PropTypes.Requireable<number>;
|
|
21
|
+
let rightIndicatorColor: PropTypes.Requireable<string>;
|
|
22
|
+
let topIndicatorColor: PropTypes.Requireable<string>;
|
|
23
|
+
let borderColor: PropTypes.Requireable<string>;
|
|
24
|
+
let barColor: PropTypes.Requireable<string>;
|
|
25
|
+
let fullBarColor: PropTypes.Requireable<string>;
|
|
26
|
+
let compact: PropTypes.Requireable<boolean>;
|
|
27
|
+
let preset: PropTypes.Requireable<string>;
|
|
28
|
+
}
|
|
18
29
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export default ArgousProgressBar;
|
|
30
|
+
export default ProgressBar;
|
|
31
|
+
import React from 'react';
|
|
32
|
+
import PropTypes from 'prop-types';
|