argous 1.2.131 → 1.2.135
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/.gitlab-ci.yml +20 -20
- package/README.md +1 -1
- package/dist/actions/index.d.ts +58 -58
- package/dist/actions/index.js +59 -59
- package/dist/api/WebSocket.d.ts +25 -25
- package/dist/api/WebSocket.js +170 -170
- package/dist/api/index.d.ts +63 -62
- package/dist/api/index.js +762 -745
- package/dist/api/ws.d.ts +4 -4
- package/dist/api/ws.js +36 -36
- package/dist/components/Alert/Alert.d.ts +7 -7
- package/dist/components/Alert/Alert.js +68 -68
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Alert/index.js +8 -8
- package/dist/components/ArgousAction/ArgousAction.d.ts +7 -7
- package/dist/components/ArgousAction/ArgousAction.js +87 -87
- package/dist/components/ArgousAction/index.d.ts +1 -1
- package/dist/components/ArgousAction/index.js +8 -8
- package/dist/components/ArgousAvatar/ArgousAvatar.d.ts +13 -13
- package/dist/components/ArgousAvatar/ArgousAvatar.js +124 -124
- package/dist/components/ArgousAvatar/index.d.ts +1 -1
- package/dist/components/ArgousAvatar/index.js +8 -8
- package/dist/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +75 -75
- package/dist/components/ArgousComplexPagination/ArgousComplexPagination.js +156 -156
- package/dist/components/ArgousComplexPagination/index.d.ts +1 -1
- package/dist/components/ArgousComplexPagination/index.js +8 -8
- package/dist/components/ArgousComplexTable/ArgousComplexTable.d.ts +130 -130
- package/dist/components/ArgousComplexTable/ArgousComplexTable.js +333 -333
- package/dist/components/ArgousComplexTable/index.d.ts +1 -1
- package/dist/components/ArgousComplexTable/index.js +8 -8
- package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +176 -176
- package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.js +155 -155
- package/dist/components/ArgousComplexTableBody/index.d.ts +1 -1
- package/dist/components/ArgousComplexTableBody/index.js +8 -8
- package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.d.ts +72 -72
- package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.js +88 -88
- package/dist/components/ArgousComplexTableHead/index.d.ts +1 -1
- package/dist/components/ArgousComplexTableHead/index.js +8 -8
- package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.d.ts +57 -57
- package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +70 -70
- package/dist/components/ArgousComplexTableToolbar/index.d.ts +1 -1
- package/dist/components/ArgousComplexTableToolbar/index.js +8 -8
- package/dist/components/ArgousInput/ArgousInput.d.ts +7 -7
- package/dist/components/ArgousInput/ArgousInput.js +578 -578
- package/dist/components/ArgousInput/index.d.ts +1 -1
- package/dist/components/ArgousInput/index.js +8 -8
- package/dist/components/ArgousPagination/ArgousPagination.d.ts +7 -7
- package/dist/components/ArgousPagination/ArgousPagination.js +29 -29
- package/dist/components/ArgousPagination/index.d.ts +1 -1
- package/dist/components/ArgousPagination/index.js +8 -8
- package/dist/components/ArgousProgressBar/ArgousProgressBar.d.ts +21 -21
- package/dist/components/ArgousProgressBar/ArgousProgressBar.js +162 -162
- package/dist/components/ArgousProgressBar/index.d.ts +1 -1
- package/dist/components/ArgousProgressBar/index.js +8 -8
- package/dist/components/ArgousSimpleTable/ArgousSimpleTable.d.ts +7 -7
- package/dist/components/ArgousSimpleTable/ArgousSimpleTable.js +201 -201
- package/dist/components/ArgousSimpleTable/index.d.ts +1 -1
- package/dist/components/ArgousSimpleTable/index.js +8 -8
- package/dist/components/AutoComplete/AutoComplete.d.ts +7 -7
- package/dist/components/AutoComplete/AutoComplete.js +185 -185
- package/dist/components/AutoComplete/index.d.ts +1 -1
- package/dist/components/AutoComplete/index.js +8 -8
- package/dist/components/BarChart/BarChart.d.ts +7 -7
- package/dist/components/BarChart/BarChart.js +125 -125
- package/dist/components/BarChart/index.d.ts +1 -1
- package/dist/components/BarChart/index.js +8 -8
- package/dist/components/BarraFerramentas/BarraFerramentas.d.ts +20 -20
- package/dist/components/BarraFerramentas/BarraFerramentas.js +228 -228
- package/dist/components/BarraFerramentas/index.d.ts +1 -1
- package/dist/components/BarraFerramentas/index.js +8 -8
- package/dist/components/Button/Button.d.ts +7 -7
- package/dist/components/Button/Button.js +144 -144
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.js +8 -8
- package/dist/components/Cabecalho/Cabecalho.d.ts +7 -7
- package/dist/components/Cabecalho/Cabecalho.js +231 -231
- package/dist/components/Cabecalho/index.d.ts +1 -1
- package/dist/components/Cabecalho/index.js +8 -8
- package/dist/components/Calendar/Calendar.d.ts +7 -7
- package/dist/components/Calendar/Calendar.js +171 -171
- package/dist/components/Calendar/index.d.ts +1 -1
- package/dist/components/Calendar/index.js +8 -8
- package/dist/components/CartaoUsuario/CartaoUsuario.d.ts +8 -8
- package/dist/components/CartaoUsuario/CartaoUsuario.js +165 -165
- package/dist/components/CartaoUsuario/index.d.ts +1 -1
- package/dist/components/CartaoUsuario/index.js +8 -8
- package/dist/components/Collapse/Collapse.d.ts +59 -59
- package/dist/components/Collapse/Collapse.js +290 -290
- package/dist/components/Collapse/index.d.ts +2 -2
- package/dist/components/Collapse/index.js +8 -8
- package/dist/components/Compartilhar/Compartilhar.d.ts +6 -6
- package/dist/components/Compartilhar/Compartilhar.js +266 -266
- package/dist/components/Compartilhar/index.d.ts +1 -1
- package/dist/components/Compartilhar/index.js +8 -8
- package/dist/components/ConfirmModal/BasicModal.d.ts +38 -38
- package/dist/components/ConfirmModal/BasicModal.js +29 -29
- package/dist/components/ConfirmModal/ModalProvider.d.ts +5 -5
- package/dist/components/ConfirmModal/ModalProvider.js +108 -108
- package/dist/components/ConfirmModal/WrapperModal.d.ts +18 -18
- package/dist/components/ConfirmModal/WrapperModal.js +41 -41
- package/dist/components/ConfirmModal/index.d.ts +19 -19
- package/dist/components/ConfirmModal/index.js +25 -25
- package/dist/components/DropArea/DropArea.d.ts +20 -20
- package/dist/components/DropArea/DropArea.js +149 -149
- package/dist/components/DropArea/Html5FileSelector.d.ts +16 -16
- package/dist/components/DropArea/Html5FileSelector.js +229 -229
- package/dist/components/DropArea/index.d.ts +1 -1
- package/dist/components/DropArea/index.js +8 -8
- package/dist/components/Editor/Events.d.ts +79 -79
- package/dist/components/Editor/Events.js +9 -9
- package/dist/components/Editor/ScriptLoader.d.ts +20 -20
- package/dist/components/Editor/ScriptLoader.js +70 -70
- package/dist/components/Editor/TinyMCE.d.ts +10 -10
- package/dist/components/Editor/TinyMCE.js +16 -16
- package/dist/components/Editor/Utils.d.ts +19 -19
- package/dist/components/Editor/Utils.js +62 -62
- package/dist/components/Editor/components/Editor.d.ts +67 -67
- package/dist/components/Editor/components/Editor.js +351 -351
- package/dist/components/Editor/components/EditorPropTypes.d.ts +18 -18
- package/dist/components/Editor/components/EditorPropTypes.js +110 -110
- package/dist/components/Editor/index.d.ts +9 -9
- package/dist/components/Editor/index.js +12 -12
- package/dist/components/Editor/tinymce/tinymce.d.ts +2963 -2963
- package/dist/components/FilePreparer/FilePreparer.d.ts +25 -25
- package/dist/components/FilePreparer/FilePreparer.js +279 -279
- package/dist/components/FilePreparer/index.d.ts +1 -1
- package/dist/components/FilePreparer/index.js +8 -8
- package/dist/components/FileUploader/FileUploader.d.ts +8 -8
- package/dist/components/FileUploader/FileUploader.js +445 -445
- package/dist/components/FileUploader/index.d.ts +1 -1
- package/dist/components/FileUploader/index.js +8 -8
- package/dist/components/FormVisualizer/FormVisualizer.d.ts +91 -91
- package/dist/components/FormVisualizer/FormVisualizer.js +264 -264
- package/dist/components/FormVisualizer/index.d.ts +1 -1
- package/dist/components/FormVisualizer/index.js +8 -8
- package/dist/components/Highlight/Highlight.d.ts +6 -6
- package/dist/components/Highlight/Highlight.js +75 -75
- package/dist/components/Highlight/index.d.ts +1 -1
- package/dist/components/Highlight/index.js +8 -8
- package/dist/components/ImageResize/ImageResize.d.ts +27 -27
- package/dist/components/ImageResize/ImageResize.js +472 -472
- package/dist/components/ImageResize/index.d.ts +1 -1
- package/dist/components/ImageResize/index.js +8 -8
- package/dist/components/ImageResizeButton/ImageResizeButton.d.ts +25 -25
- package/dist/components/ImageResizeButton/ImageResizeButton.js +89 -89
- package/dist/components/ImageResizeButton/index.d.ts +1 -1
- package/dist/components/ImageResizeButton/index.js +8 -8
- package/dist/components/Input/Input.d.ts +7 -7
- package/dist/components/Input/Input.js +328 -328
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.js +8 -8
- package/dist/components/InputTags/InputTags.d.ts +7 -7
- package/dist/components/InputTags/InputTags.js +129 -129
- package/dist/components/InputTags/index.d.ts +1 -1
- package/dist/components/InputTags/index.js +8 -8
- package/dist/components/ListSelect/ListSelect.d.ts +7 -7
- package/dist/components/ListSelect/ListSelect.js +126 -126
- package/dist/components/ListSelect/index.d.ts +1 -1
- package/dist/components/ListSelect/index.js +8 -8
- package/dist/components/MaterialButton/MaterialButton.d.ts +12 -12
- package/dist/components/MaterialButton/MaterialButton.js +192 -192
- package/dist/components/MaterialButton/index.d.ts +1 -1
- package/dist/components/MaterialButton/index.js +8 -8
- package/dist/components/MenuBar/MenuBar.d.ts +7 -7
- package/dist/components/MenuBar/MenuBar.js +157 -157
- package/dist/components/MenuBar/index.d.ts +1 -1
- package/dist/components/MenuBar/index.js +8 -8
- package/dist/components/MonthPicker/MonthPicker.d.ts +7 -7
- package/dist/components/MonthPicker/MonthPicker.js +288 -288
- package/dist/components/MonthPicker/index.d.ts +1 -1
- package/dist/components/MonthPicker/index.js +8 -8
- package/dist/components/MultipleSelect/MultipleSelect.d.ts +7 -7
- package/dist/components/MultipleSelect/MultipleSelect.js +139 -139
- package/dist/components/MultipleSelect/index.d.ts +1 -1
- package/dist/components/MultipleSelect/index.js +8 -8
- package/dist/components/OtpInput/OtpInput.d.ts +18 -18
- package/dist/components/OtpInput/OtpInput.js +207 -207
- package/dist/components/OtpInput/index.d.ts +1 -1
- package/dist/components/OtpInput/index.js +8 -8
- package/dist/components/OutputText/OutputText.d.ts +7 -7
- package/dist/components/OutputText/OutputText.js +89 -89
- package/dist/components/OutputText/index.d.ts +1 -1
- package/dist/components/OutputText/index.js +8 -8
- package/dist/components/Pagination/Pagination.d.ts +7 -7
- package/dist/components/Pagination/Pagination.js +64 -64
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/Pagination/index.js +8 -8
- package/dist/components/Programa/Programa.d.ts +30 -30
- package/dist/components/Programa/Programa.js +201 -201
- package/dist/components/Programa/index.d.ts +1 -1
- package/dist/components/Programa/index.js +8 -8
- package/dist/components/ProgressBar/ProgressBar.d.ts +7 -7
- package/dist/components/ProgressBar/ProgressBar.js +98 -98
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.js +8 -8
- package/dist/components/Select/Select.d.ts +7 -7
- package/dist/components/Select/Select.js +142 -142
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.js +8 -8
- package/dist/components/SimpleTable/SimpleTable.d.ts +12 -12
- package/dist/components/SimpleTable/SimpleTable.js +390 -390
- package/dist/components/SimpleTable/index.d.ts +1 -1
- package/dist/components/SimpleTable/index.js +10 -10
- package/dist/components/Stepper/Stepper.d.ts +53 -53
- package/dist/components/Stepper/Stepper.js +157 -157
- package/dist/components/Stepper/index.d.ts +1 -1
- package/dist/components/Stepper/index.js +8 -8
- package/dist/components/TablePicker/TablePicker.d.ts +7 -7
- package/dist/components/TablePicker/TablePicker.js +222 -222
- package/dist/components/TablePicker/index.d.ts +1 -1
- package/dist/components/TablePicker/index.js +8 -8
- package/dist/components/Tabs/Tabs.d.ts +7 -7
- package/dist/components/Tabs/Tabs.js +76 -76
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.js +8 -8
- package/dist/components/TextArea/TextArea.d.ts +7 -7
- package/dist/components/TextArea/TextArea.js +148 -148
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextArea/index.js +8 -8
- package/dist/components/ThreadLog/ThreadLog.d.ts +7 -7
- package/dist/components/ThreadLog/ThreadLog.js +225 -225
- package/dist/components/ThreadLog/index.d.ts +1 -1
- package/dist/components/ThreadLog/index.js +8 -8
- package/dist/components/UtilAutoComplete/UtilAutoComplete.d.ts +92 -92
- package/dist/components/UtilAutoComplete/UtilAutoComplete.js +188 -188
- package/dist/components/UtilAutoComplete/index.d.ts +1 -1
- package/dist/components/UtilAutoComplete/index.js +8 -8
- package/dist/components/index.d.ts +147 -147
- package/dist/components/index.js +162 -162
- package/dist/fieldsRedux/createField.d.ts +8 -8
- package/dist/fieldsRedux/createField.js +149 -149
- package/dist/fieldsRedux/fieldsRedux.d.ts +71 -71
- package/dist/fieldsRedux/fieldsRedux.js +436 -436
- package/dist/fieldsRedux/index.d.ts +4 -4
- package/dist/fieldsRedux/index.js +27 -27
- package/dist/fieldsRedux/passFields.d.ts +5 -5
- package/dist/fieldsRedux/passFields.js +107 -107
- package/dist/reducers/argous.d.ts +76 -76
- package/dist/reducers/argous.js +63 -63
- package/dist/reducers/index.d.ts +4 -4
- package/dist/reducers/index.js +9 -9
- package/dist/types.d.ts +144 -144
- package/dist/utils/api.d.ts +29 -29
- package/dist/utils/api.js +255 -255
- package/dist/utils/config.d.ts +3 -3
- package/dist/utils/config.js +13 -13
- package/dist/utils/date.d.ts +8 -8
- package/dist/utils/date.js +60 -60
- package/dist/utils/index.d.ts +61 -61
- package/dist/utils/index.js +383 -383
- package/dist/utils/rippleEffect.d.ts +2 -2
- package/dist/utils/rippleEffect.js +173 -173
- package/dist/utils/store.d.ts +3 -3
- package/dist/utils/store.js +12 -12
- package/dist/utils/xmlToJson.d.ts +2 -2
- package/dist/utils/xmlToJson.js +158 -158
- package/index.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/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/lib/components/Editor/tinymce/plugins/colorpicker/plugin.js +22 -0
- package/lib/components/Editor/tinymce/plugins/colorpicker/plugin.min.js +9 -0
- package/lib/components/Editor/tinymce/plugins/contextmenu/plugin.js +22 -0
- 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/lib/components/Editor/tinymce/plugins/textcolor/plugin.js +22 -0
- 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 +107 -107
|
@@ -1,288 +1,288 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
37
|
-
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
38
|
-
to[j] = from[i];
|
|
39
|
-
return to;
|
|
40
|
-
};
|
|
41
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
42
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
43
|
-
};
|
|
44
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
-
var fieldsRedux_1 = require("../../fieldsRedux");
|
|
46
|
-
var prop_types_1 = __importDefault(require("prop-types"));
|
|
47
|
-
var react_1 = __importStar(require("react"));
|
|
48
|
-
var react_maskedinput_1 = __importDefault(require("react-maskedinput"));
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated
|
|
51
|
-
*/
|
|
52
|
-
var MonthPicker = /** @class */ (function (_super) {
|
|
53
|
-
__extends(MonthPicker, _super);
|
|
54
|
-
function MonthPicker() {
|
|
55
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
56
|
-
_this.mobj = [
|
|
57
|
-
[{
|
|
58
|
-
mes: '01',
|
|
59
|
-
nome: 'Janeiro'
|
|
60
|
-
}, {
|
|
61
|
-
mes: '02',
|
|
62
|
-
nome: 'Fevereiro'
|
|
63
|
-
}, {
|
|
64
|
-
mes: '03',
|
|
65
|
-
nome: 'Março'
|
|
66
|
-
}], [{
|
|
67
|
-
mes: '04',
|
|
68
|
-
nome: 'Abril'
|
|
69
|
-
}, {
|
|
70
|
-
mes: '05',
|
|
71
|
-
nome: 'Maio'
|
|
72
|
-
}, {
|
|
73
|
-
mes: '06',
|
|
74
|
-
nome: 'Junho'
|
|
75
|
-
}], [{
|
|
76
|
-
mes: '07',
|
|
77
|
-
nome: 'Julho'
|
|
78
|
-
}, {
|
|
79
|
-
mes: '08',
|
|
80
|
-
nome: 'Agosto'
|
|
81
|
-
}, {
|
|
82
|
-
mes: '09',
|
|
83
|
-
nome: 'Setembro'
|
|
84
|
-
}], [{
|
|
85
|
-
mes: '10',
|
|
86
|
-
nome: 'Outubro'
|
|
87
|
-
}, {
|
|
88
|
-
mes: '11',
|
|
89
|
-
nome: 'Novembro'
|
|
90
|
-
}, {
|
|
91
|
-
mes: '12',
|
|
92
|
-
nome: 'Dezembro'
|
|
93
|
-
}]
|
|
94
|
-
];
|
|
95
|
-
_this.state = {
|
|
96
|
-
initialized: false,
|
|
97
|
-
year: 0,
|
|
98
|
-
stageMonths: [],
|
|
99
|
-
selectOpen: false,
|
|
100
|
-
selectOpenClicks: 0
|
|
101
|
-
};
|
|
102
|
-
_this.fieldListener = function (fieldObject, prevFieldObject) {
|
|
103
|
-
var initialized = _this.state.initialized;
|
|
104
|
-
var fieldListener = _this.props.fieldListener;
|
|
105
|
-
if (!initialized && typeof fieldObject.defaultValue !== 'undefined') {
|
|
106
|
-
if (fieldObject.defaultValue.length > 0) {
|
|
107
|
-
if (typeof fieldObject.value[0] !== 'string') {
|
|
108
|
-
var stringifyedValues = fieldObject.value.map(function (v) { return v.toString(); });
|
|
109
|
-
fieldsRedux_1.setField(_this.props.field, 'value', stringifyedValues);
|
|
110
|
-
}
|
|
111
|
-
var last = fieldObject.defaultValue[fieldObject.defaultValue.length - 1].toString();
|
|
112
|
-
_this.setState({ year: parseInt(last.slice(0, 4), 10) });
|
|
113
|
-
}
|
|
114
|
-
_this.handleinputValue(fieldObject.defaultValue);
|
|
115
|
-
_this.setState({ initialized: true });
|
|
116
|
-
}
|
|
117
|
-
if (fieldObject.value !== prevFieldObject.value) {
|
|
118
|
-
_this.handleinputValue(fieldObject.value ? fieldObject.value : []);
|
|
119
|
-
}
|
|
120
|
-
if (fieldListener) {
|
|
121
|
-
fieldListener(fieldObject);
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
_this.onClick = function (values, month) {
|
|
125
|
-
var year = _this.state.year;
|
|
126
|
-
var _a = _this.props.type, type = _a === void 0 ? 'single' : _a;
|
|
127
|
-
var formatedValue = "" + year + month;
|
|
128
|
-
var newValue;
|
|
129
|
-
if (values && values.length > 0) {
|
|
130
|
-
newValue = _this.handleExistentValue(values, formatedValue, month);
|
|
131
|
-
if (type === 'stage' || type === 'multiple') {
|
|
132
|
-
newValue = newValue.sort(function (a, b) { return a > b ? 1 : 0; });
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
newValue = [formatedValue];
|
|
137
|
-
}
|
|
138
|
-
_this.handleinputValue(newValue);
|
|
139
|
-
_this.props.handleUpdates(newValue);
|
|
140
|
-
if (type === 'single' && newValue.length > 0) {
|
|
141
|
-
_this.closeSelect();
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
_this.handleExistentValue = function (value, formatedValue, month) {
|
|
145
|
-
var _a = _this.props, field = _a.field, _b = _a.type, type = _b === void 0 ? 'single' : _b;
|
|
146
|
-
var indexValue = value.indexOf(formatedValue);
|
|
147
|
-
if (indexValue > -1) {
|
|
148
|
-
value.splice(indexValue, 1);
|
|
149
|
-
return __spreadArray([], value);
|
|
150
|
-
}
|
|
151
|
-
switch (type) {
|
|
152
|
-
case 'single':
|
|
153
|
-
return [formatedValue];
|
|
154
|
-
case 'stage': {
|
|
155
|
-
var fieldValueLgt2 = fieldsRedux_1.getField(field, 'value').length === 2;
|
|
156
|
-
var newValue = fieldValueLgt2 ? [formatedValue] : [value[0], formatedValue];
|
|
157
|
-
if (!fieldValueLgt2) {
|
|
158
|
-
_this.closeSelect();
|
|
159
|
-
}
|
|
160
|
-
return newValue;
|
|
161
|
-
}
|
|
162
|
-
case 'multiple':
|
|
163
|
-
return __spreadArray(__spreadArray([], value), [formatedValue]);
|
|
164
|
-
default:
|
|
165
|
-
return [formatedValue];
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
_this.handleinputValue = function (value) {
|
|
169
|
-
var _a = _this.props, field = _a.field, _b = _a.type, type = _b === void 0 ? 'single' : _b;
|
|
170
|
-
value = __spreadArray([], value);
|
|
171
|
-
var sortedValues = value.sort(function (a, b) { return a > b ? 1 : 0; });
|
|
172
|
-
var inputValues = sortedValues.map(function (v) { return "" + v.toString().slice(4) + v.toString().slice(0, 4); });
|
|
173
|
-
switch (type) {
|
|
174
|
-
case 'single':
|
|
175
|
-
fieldsRedux_1.setField(field, 'inputValue', inputValues[0]);
|
|
176
|
-
break;
|
|
177
|
-
case 'stage':
|
|
178
|
-
fieldsRedux_1.setField(field, 'inputValue', "" + inputValues[0] + (inputValues[1] ? inputValues[1] : ''));
|
|
179
|
-
break;
|
|
180
|
-
case 'multiple': {
|
|
181
|
-
var multipleValue = '';
|
|
182
|
-
for (var _i = 0, inputValues_1 = inputValues; _i < inputValues_1.length; _i++) {
|
|
183
|
-
var v = inputValues_1[_i];
|
|
184
|
-
multipleValue += v.slice(0, 2) + "/" + v.slice(2) + " ";
|
|
185
|
-
}
|
|
186
|
-
fieldsRedux_1.setField(field, 'inputValue', multipleValue);
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
default:
|
|
190
|
-
fieldsRedux_1.setField(field, 'inputValue', inputValues[0]);
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
_this.isActive = function (values, month) {
|
|
194
|
-
var _a = _this.state, year = _a.year, stageMonths = _a.stageMonths;
|
|
195
|
-
var formatedValue = "" + year + month;
|
|
196
|
-
return (values.indexOf(formatedValue) < 0 ? '' : 'active') + " " + (stageMonths.indexOf(formatedValue) < 0 ? '' : 'hovered');
|
|
197
|
-
};
|
|
198
|
-
_this.restYear = function () {
|
|
199
|
-
var date = new Date();
|
|
200
|
-
_this.setState({ year: date.getFullYear() });
|
|
201
|
-
};
|
|
202
|
-
_this.onValueCapture = function (v) {
|
|
203
|
-
var field = _this.props.field;
|
|
204
|
-
var value = v.target.value;
|
|
205
|
-
fieldsRedux_1.setField(field, 'inputValue', value);
|
|
206
|
-
value = value.replace(/\D+/g, '');
|
|
207
|
-
var valueLength = value.length;
|
|
208
|
-
var resolvedValues = [];
|
|
209
|
-
if (valueLength >= 6) {
|
|
210
|
-
var resto = valueLength % 6;
|
|
211
|
-
var valueAux = value.slice(0, valueLength - resto);
|
|
212
|
-
var length_1 = valueAux.length / 6;
|
|
213
|
-
for (var i = 0; i < length_1; i++) {
|
|
214
|
-
var aux = i * 6;
|
|
215
|
-
var mes = valueAux.slice(aux, aux + 2);
|
|
216
|
-
var ano = valueAux.slice(aux + 2, aux + 6);
|
|
217
|
-
if (parseInt(mes, 10) <= 12 && parseInt(mes, 10) >= 1) {
|
|
218
|
-
resolvedValues.push("" + ano + mes);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
_this.props.handleUpdates(resolvedValues);
|
|
223
|
-
};
|
|
224
|
-
_this.openSelect = function () {
|
|
225
|
-
var selectOpen = _this.state.selectOpen;
|
|
226
|
-
if (!selectOpen) {
|
|
227
|
-
_this.setState({ selectOpen: true, selectOpenClicks: 0 });
|
|
228
|
-
window.addEventListener('click', _this.closeSelect);
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
_this.closeSelect = function () {
|
|
232
|
-
var selectOpenClicks = _this.state.selectOpenClicks;
|
|
233
|
-
if (selectOpenClicks > 0) {
|
|
234
|
-
_this.setState({ selectOpen: false });
|
|
235
|
-
window.removeEventListener('click', _this.closeSelect);
|
|
236
|
-
}
|
|
237
|
-
_this.setState({ selectOpenClicks: selectOpenClicks + 1 });
|
|
238
|
-
};
|
|
239
|
-
return _this;
|
|
240
|
-
}
|
|
241
|
-
MonthPicker.prototype.componentDidMount = function () {
|
|
242
|
-
this.restYear();
|
|
243
|
-
};
|
|
244
|
-
MonthPicker.prototype.componentWillUnmount = function () {
|
|
245
|
-
window.removeEventListener('click', this.closeSelect);
|
|
246
|
-
};
|
|
247
|
-
MonthPicker.prototype.componentDidUpdate = function (prevProps) {
|
|
248
|
-
var field = this.props.field;
|
|
249
|
-
fieldsRedux_1.fieldChangeListener(field, this.fieldListener, prevProps);
|
|
250
|
-
};
|
|
251
|
-
MonthPicker.prototype.render = function () {
|
|
252
|
-
var _this = this;
|
|
253
|
-
var _a = this.props, field = _a.field, _b = _a.type, type = _b === void 0 ? 'single' : _b;
|
|
254
|
-
var _c = this.state, year = _c.year, selectOpen = _c.selectOpen;
|
|
255
|
-
var values = fieldsRedux_1.getField(field, 'value');
|
|
256
|
-
var inputValue = fieldsRedux_1.getField(field, 'inputValue');
|
|
257
|
-
var mask = type === 'single' ? '11/1111' : '11/1111 à 11/1111';
|
|
258
|
-
return (react_1.default.createElement("div", { className: 'monthPickermaxwidth' },
|
|
259
|
-
(type === 'single' || type === 'stage') && (react_1.default.createElement(react_maskedinput_1.default, { value: inputValue, onClick: this.openSelect, onChange: this.onValueCapture, mask: mask, className: 'pg-monthpicker-input' })),
|
|
260
|
-
type === 'multiple' && (react_1.default.createElement("input", { value: inputValue, onClick: this.openSelect, onChange: this.onValueCapture, className: 'pg-monthpicker-input' })),
|
|
261
|
-
selectOpen && (react_1.default.createElement("div", { onClick: function (e) { return e.stopPropagation(); }, className: 'monthPickerSelect' },
|
|
262
|
-
react_1.default.createElement("div", { className: 'pg-monthpicker-year', onClick: this.restYear }, year),
|
|
263
|
-
react_1.default.createElement("div", { className: 'system-btn-group pull-left', style: { width: '100%' } },
|
|
264
|
-
react_1.default.createElement("span", { onClick: function () { return _this.setState({ year: year - 1 }); }, className: 'btn system-btn-white', style: { width: '50%', borderRadius: 0 } },
|
|
265
|
-
react_1.default.createElement("i", { className: 'glyphicon glyphicon-chevron-left' })),
|
|
266
|
-
react_1.default.createElement("span", { onClick: function () { return _this.setState({ year: year + 1 }); }, className: 'btn system-btn-white', style: { width: '50%', borderRadius: 0 } },
|
|
267
|
-
react_1.default.createElement("i", { className: 'glyphicon glyphicon-chevron-right' }))),
|
|
268
|
-
react_1.default.createElement("table", { className: 'table table-bordered table-monthpicker' },
|
|
269
|
-
react_1.default.createElement("tbody", null, this.mobj.map(function (item, index) { return (react_1.default.createElement("tr", { key: index }, item.map(function (month, index) { return (react_1.default.createElement("td", { key: index, className: _this.isActive(values, month.mes), onClick: function () { return _this.onClick(values, month.mes); } }, month.nome)); }))); })))))));
|
|
270
|
-
};
|
|
271
|
-
return MonthPicker;
|
|
272
|
-
}(react_1.Component));
|
|
273
|
-
MonthPicker.propTypes = {
|
|
274
|
-
field: prop_types_1.default.string.isRequired,
|
|
275
|
-
defaultValue: prop_types_1.default.oneOfType([prop_types_1.default.number, prop_types_1.default.string, prop_types_1.default.object, prop_types_1.default.array]),
|
|
276
|
-
ajax: prop_types_1.default.bool,
|
|
277
|
-
action: prop_types_1.default.string,
|
|
278
|
-
dados: prop_types_1.default.object,
|
|
279
|
-
receiveUpdates: prop_types_1.default.array,
|
|
280
|
-
sendUpdates: prop_types_1.default.array,
|
|
281
|
-
onFieldSuccess: prop_types_1.default.func,
|
|
282
|
-
onActionSuccess: prop_types_1.default.func,
|
|
283
|
-
onAllUpdated: prop_types_1.default.func,
|
|
284
|
-
fieldListener: prop_types_1.default.func,
|
|
285
|
-
destroyOnUnmount: prop_types_1.default.bool,
|
|
286
|
-
type: prop_types_1.default.oneOf(['single', 'stage', 'multiple'])
|
|
287
|
-
};
|
|
288
|
-
exports.default = fieldsRedux_1.createField(MonthPicker, { disableFieldChangeListener: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
37
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
38
|
+
to[j] = from[i];
|
|
39
|
+
return to;
|
|
40
|
+
};
|
|
41
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
42
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
var fieldsRedux_1 = require("../../fieldsRedux");
|
|
46
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
47
|
+
var react_1 = __importStar(require("react"));
|
|
48
|
+
var react_maskedinput_1 = __importDefault(require("react-maskedinput"));
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated
|
|
51
|
+
*/
|
|
52
|
+
var MonthPicker = /** @class */ (function (_super) {
|
|
53
|
+
__extends(MonthPicker, _super);
|
|
54
|
+
function MonthPicker() {
|
|
55
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
56
|
+
_this.mobj = [
|
|
57
|
+
[{
|
|
58
|
+
mes: '01',
|
|
59
|
+
nome: 'Janeiro'
|
|
60
|
+
}, {
|
|
61
|
+
mes: '02',
|
|
62
|
+
nome: 'Fevereiro'
|
|
63
|
+
}, {
|
|
64
|
+
mes: '03',
|
|
65
|
+
nome: 'Março'
|
|
66
|
+
}], [{
|
|
67
|
+
mes: '04',
|
|
68
|
+
nome: 'Abril'
|
|
69
|
+
}, {
|
|
70
|
+
mes: '05',
|
|
71
|
+
nome: 'Maio'
|
|
72
|
+
}, {
|
|
73
|
+
mes: '06',
|
|
74
|
+
nome: 'Junho'
|
|
75
|
+
}], [{
|
|
76
|
+
mes: '07',
|
|
77
|
+
nome: 'Julho'
|
|
78
|
+
}, {
|
|
79
|
+
mes: '08',
|
|
80
|
+
nome: 'Agosto'
|
|
81
|
+
}, {
|
|
82
|
+
mes: '09',
|
|
83
|
+
nome: 'Setembro'
|
|
84
|
+
}], [{
|
|
85
|
+
mes: '10',
|
|
86
|
+
nome: 'Outubro'
|
|
87
|
+
}, {
|
|
88
|
+
mes: '11',
|
|
89
|
+
nome: 'Novembro'
|
|
90
|
+
}, {
|
|
91
|
+
mes: '12',
|
|
92
|
+
nome: 'Dezembro'
|
|
93
|
+
}]
|
|
94
|
+
];
|
|
95
|
+
_this.state = {
|
|
96
|
+
initialized: false,
|
|
97
|
+
year: 0,
|
|
98
|
+
stageMonths: [],
|
|
99
|
+
selectOpen: false,
|
|
100
|
+
selectOpenClicks: 0
|
|
101
|
+
};
|
|
102
|
+
_this.fieldListener = function (fieldObject, prevFieldObject) {
|
|
103
|
+
var initialized = _this.state.initialized;
|
|
104
|
+
var fieldListener = _this.props.fieldListener;
|
|
105
|
+
if (!initialized && typeof fieldObject.defaultValue !== 'undefined') {
|
|
106
|
+
if (fieldObject.defaultValue.length > 0) {
|
|
107
|
+
if (typeof fieldObject.value[0] !== 'string') {
|
|
108
|
+
var stringifyedValues = fieldObject.value.map(function (v) { return v.toString(); });
|
|
109
|
+
fieldsRedux_1.setField(_this.props.field, 'value', stringifyedValues);
|
|
110
|
+
}
|
|
111
|
+
var last = fieldObject.defaultValue[fieldObject.defaultValue.length - 1].toString();
|
|
112
|
+
_this.setState({ year: parseInt(last.slice(0, 4), 10) });
|
|
113
|
+
}
|
|
114
|
+
_this.handleinputValue(fieldObject.defaultValue);
|
|
115
|
+
_this.setState({ initialized: true });
|
|
116
|
+
}
|
|
117
|
+
if (fieldObject.value !== prevFieldObject.value) {
|
|
118
|
+
_this.handleinputValue(fieldObject.value ? fieldObject.value : []);
|
|
119
|
+
}
|
|
120
|
+
if (fieldListener) {
|
|
121
|
+
fieldListener(fieldObject);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
_this.onClick = function (values, month) {
|
|
125
|
+
var year = _this.state.year;
|
|
126
|
+
var _a = _this.props.type, type = _a === void 0 ? 'single' : _a;
|
|
127
|
+
var formatedValue = "" + year + month;
|
|
128
|
+
var newValue;
|
|
129
|
+
if (values && values.length > 0) {
|
|
130
|
+
newValue = _this.handleExistentValue(values, formatedValue, month);
|
|
131
|
+
if (type === 'stage' || type === 'multiple') {
|
|
132
|
+
newValue = newValue.sort(function (a, b) { return a > b ? 1 : 0; });
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
newValue = [formatedValue];
|
|
137
|
+
}
|
|
138
|
+
_this.handleinputValue(newValue);
|
|
139
|
+
_this.props.handleUpdates(newValue);
|
|
140
|
+
if (type === 'single' && newValue.length > 0) {
|
|
141
|
+
_this.closeSelect();
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
_this.handleExistentValue = function (value, formatedValue, month) {
|
|
145
|
+
var _a = _this.props, field = _a.field, _b = _a.type, type = _b === void 0 ? 'single' : _b;
|
|
146
|
+
var indexValue = value.indexOf(formatedValue);
|
|
147
|
+
if (indexValue > -1) {
|
|
148
|
+
value.splice(indexValue, 1);
|
|
149
|
+
return __spreadArray([], value);
|
|
150
|
+
}
|
|
151
|
+
switch (type) {
|
|
152
|
+
case 'single':
|
|
153
|
+
return [formatedValue];
|
|
154
|
+
case 'stage': {
|
|
155
|
+
var fieldValueLgt2 = fieldsRedux_1.getField(field, 'value').length === 2;
|
|
156
|
+
var newValue = fieldValueLgt2 ? [formatedValue] : [value[0], formatedValue];
|
|
157
|
+
if (!fieldValueLgt2) {
|
|
158
|
+
_this.closeSelect();
|
|
159
|
+
}
|
|
160
|
+
return newValue;
|
|
161
|
+
}
|
|
162
|
+
case 'multiple':
|
|
163
|
+
return __spreadArray(__spreadArray([], value), [formatedValue]);
|
|
164
|
+
default:
|
|
165
|
+
return [formatedValue];
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
_this.handleinputValue = function (value) {
|
|
169
|
+
var _a = _this.props, field = _a.field, _b = _a.type, type = _b === void 0 ? 'single' : _b;
|
|
170
|
+
value = __spreadArray([], value);
|
|
171
|
+
var sortedValues = value.sort(function (a, b) { return a > b ? 1 : 0; });
|
|
172
|
+
var inputValues = sortedValues.map(function (v) { return "" + v.toString().slice(4) + v.toString().slice(0, 4); });
|
|
173
|
+
switch (type) {
|
|
174
|
+
case 'single':
|
|
175
|
+
fieldsRedux_1.setField(field, 'inputValue', inputValues[0]);
|
|
176
|
+
break;
|
|
177
|
+
case 'stage':
|
|
178
|
+
fieldsRedux_1.setField(field, 'inputValue', "" + inputValues[0] + (inputValues[1] ? inputValues[1] : ''));
|
|
179
|
+
break;
|
|
180
|
+
case 'multiple': {
|
|
181
|
+
var multipleValue = '';
|
|
182
|
+
for (var _i = 0, inputValues_1 = inputValues; _i < inputValues_1.length; _i++) {
|
|
183
|
+
var v = inputValues_1[_i];
|
|
184
|
+
multipleValue += v.slice(0, 2) + "/" + v.slice(2) + " ";
|
|
185
|
+
}
|
|
186
|
+
fieldsRedux_1.setField(field, 'inputValue', multipleValue);
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
default:
|
|
190
|
+
fieldsRedux_1.setField(field, 'inputValue', inputValues[0]);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
_this.isActive = function (values, month) {
|
|
194
|
+
var _a = _this.state, year = _a.year, stageMonths = _a.stageMonths;
|
|
195
|
+
var formatedValue = "" + year + month;
|
|
196
|
+
return (values.indexOf(formatedValue) < 0 ? '' : 'active') + " " + (stageMonths.indexOf(formatedValue) < 0 ? '' : 'hovered');
|
|
197
|
+
};
|
|
198
|
+
_this.restYear = function () {
|
|
199
|
+
var date = new Date();
|
|
200
|
+
_this.setState({ year: date.getFullYear() });
|
|
201
|
+
};
|
|
202
|
+
_this.onValueCapture = function (v) {
|
|
203
|
+
var field = _this.props.field;
|
|
204
|
+
var value = v.target.value;
|
|
205
|
+
fieldsRedux_1.setField(field, 'inputValue', value);
|
|
206
|
+
value = value.replace(/\D+/g, '');
|
|
207
|
+
var valueLength = value.length;
|
|
208
|
+
var resolvedValues = [];
|
|
209
|
+
if (valueLength >= 6) {
|
|
210
|
+
var resto = valueLength % 6;
|
|
211
|
+
var valueAux = value.slice(0, valueLength - resto);
|
|
212
|
+
var length_1 = valueAux.length / 6;
|
|
213
|
+
for (var i = 0; i < length_1; i++) {
|
|
214
|
+
var aux = i * 6;
|
|
215
|
+
var mes = valueAux.slice(aux, aux + 2);
|
|
216
|
+
var ano = valueAux.slice(aux + 2, aux + 6);
|
|
217
|
+
if (parseInt(mes, 10) <= 12 && parseInt(mes, 10) >= 1) {
|
|
218
|
+
resolvedValues.push("" + ano + mes);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
_this.props.handleUpdates(resolvedValues);
|
|
223
|
+
};
|
|
224
|
+
_this.openSelect = function () {
|
|
225
|
+
var selectOpen = _this.state.selectOpen;
|
|
226
|
+
if (!selectOpen) {
|
|
227
|
+
_this.setState({ selectOpen: true, selectOpenClicks: 0 });
|
|
228
|
+
window.addEventListener('click', _this.closeSelect);
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
_this.closeSelect = function () {
|
|
232
|
+
var selectOpenClicks = _this.state.selectOpenClicks;
|
|
233
|
+
if (selectOpenClicks > 0) {
|
|
234
|
+
_this.setState({ selectOpen: false });
|
|
235
|
+
window.removeEventListener('click', _this.closeSelect);
|
|
236
|
+
}
|
|
237
|
+
_this.setState({ selectOpenClicks: selectOpenClicks + 1 });
|
|
238
|
+
};
|
|
239
|
+
return _this;
|
|
240
|
+
}
|
|
241
|
+
MonthPicker.prototype.componentDidMount = function () {
|
|
242
|
+
this.restYear();
|
|
243
|
+
};
|
|
244
|
+
MonthPicker.prototype.componentWillUnmount = function () {
|
|
245
|
+
window.removeEventListener('click', this.closeSelect);
|
|
246
|
+
};
|
|
247
|
+
MonthPicker.prototype.componentDidUpdate = function (prevProps) {
|
|
248
|
+
var field = this.props.field;
|
|
249
|
+
fieldsRedux_1.fieldChangeListener(field, this.fieldListener, prevProps);
|
|
250
|
+
};
|
|
251
|
+
MonthPicker.prototype.render = function () {
|
|
252
|
+
var _this = this;
|
|
253
|
+
var _a = this.props, field = _a.field, _b = _a.type, type = _b === void 0 ? 'single' : _b;
|
|
254
|
+
var _c = this.state, year = _c.year, selectOpen = _c.selectOpen;
|
|
255
|
+
var values = fieldsRedux_1.getField(field, 'value');
|
|
256
|
+
var inputValue = fieldsRedux_1.getField(field, 'inputValue');
|
|
257
|
+
var mask = type === 'single' ? '11/1111' : '11/1111 à 11/1111';
|
|
258
|
+
return (react_1.default.createElement("div", { className: 'monthPickermaxwidth' },
|
|
259
|
+
(type === 'single' || type === 'stage') && (react_1.default.createElement(react_maskedinput_1.default, { value: inputValue, onClick: this.openSelect, onChange: this.onValueCapture, mask: mask, className: 'pg-monthpicker-input' })),
|
|
260
|
+
type === 'multiple' && (react_1.default.createElement("input", { value: inputValue, onClick: this.openSelect, onChange: this.onValueCapture, className: 'pg-monthpicker-input' })),
|
|
261
|
+
selectOpen && (react_1.default.createElement("div", { onClick: function (e) { return e.stopPropagation(); }, className: 'monthPickerSelect' },
|
|
262
|
+
react_1.default.createElement("div", { className: 'pg-monthpicker-year', onClick: this.restYear }, year),
|
|
263
|
+
react_1.default.createElement("div", { className: 'system-btn-group pull-left', style: { width: '100%' } },
|
|
264
|
+
react_1.default.createElement("span", { onClick: function () { return _this.setState({ year: year - 1 }); }, className: 'btn system-btn-white', style: { width: '50%', borderRadius: 0 } },
|
|
265
|
+
react_1.default.createElement("i", { className: 'glyphicon glyphicon-chevron-left' })),
|
|
266
|
+
react_1.default.createElement("span", { onClick: function () { return _this.setState({ year: year + 1 }); }, className: 'btn system-btn-white', style: { width: '50%', borderRadius: 0 } },
|
|
267
|
+
react_1.default.createElement("i", { className: 'glyphicon glyphicon-chevron-right' }))),
|
|
268
|
+
react_1.default.createElement("table", { className: 'table table-bordered table-monthpicker' },
|
|
269
|
+
react_1.default.createElement("tbody", null, this.mobj.map(function (item, index) { return (react_1.default.createElement("tr", { key: index }, item.map(function (month, index) { return (react_1.default.createElement("td", { key: index, className: _this.isActive(values, month.mes), onClick: function () { return _this.onClick(values, month.mes); } }, month.nome)); }))); })))))));
|
|
270
|
+
};
|
|
271
|
+
return MonthPicker;
|
|
272
|
+
}(react_1.Component));
|
|
273
|
+
MonthPicker.propTypes = {
|
|
274
|
+
field: prop_types_1.default.string.isRequired,
|
|
275
|
+
defaultValue: prop_types_1.default.oneOfType([prop_types_1.default.number, prop_types_1.default.string, prop_types_1.default.object, prop_types_1.default.array]),
|
|
276
|
+
ajax: prop_types_1.default.bool,
|
|
277
|
+
action: prop_types_1.default.string,
|
|
278
|
+
dados: prop_types_1.default.object,
|
|
279
|
+
receiveUpdates: prop_types_1.default.array,
|
|
280
|
+
sendUpdates: prop_types_1.default.array,
|
|
281
|
+
onFieldSuccess: prop_types_1.default.func,
|
|
282
|
+
onActionSuccess: prop_types_1.default.func,
|
|
283
|
+
onAllUpdated: prop_types_1.default.func,
|
|
284
|
+
fieldListener: prop_types_1.default.func,
|
|
285
|
+
destroyOnUnmount: prop_types_1.default.bool,
|
|
286
|
+
type: prop_types_1.default.oneOf(['single', 'stage', 'multiple'])
|
|
287
|
+
};
|
|
288
|
+
exports.default = fieldsRedux_1.createField(MonthPicker, { disableFieldChangeListener: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './MonthPicker';
|
|
1
|
+
export { default } from './MonthPicker';
|
|
2
2
|
export * from './MonthPicker';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var MonthPicker_1 = require("./MonthPicker");
|
|
8
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(MonthPicker_1).default; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var MonthPicker_1 = require("./MonthPicker");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(MonthPicker_1).default; } });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface MultipleSelectProps {}
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* @param props
|
|
5
|
-
*/
|
|
6
|
-
declare function MultipleSelect(props: MultipleSelectProps): JSX.Element
|
|
7
|
-
|
|
1
|
+
export interface MultipleSelectProps {}
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated
|
|
4
|
+
* @param props
|
|
5
|
+
*/
|
|
6
|
+
declare function MultipleSelect(props: MultipleSelectProps): JSX.Element
|
|
7
|
+
|
|
8
8
|
export default MultipleSelect;
|