argous 1.2.247 → 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.
Files changed (439) hide show
  1. package/dist/api/WebSocket.d.ts +18 -10
  2. package/dist/api/WebSocket.js +26 -18
  3. package/dist/api/index.js +54 -43
  4. package/dist/api/ws.d.ts +1 -1
  5. package/dist/api/ws.js +44 -3
  6. package/dist/components/Alert/Alert.d.ts +19 -5
  7. package/dist/components/Alert/Alert.js +17 -7
  8. package/dist/components/Alert/index.d.ts +1 -2
  9. package/dist/components/ArgousAction/ArgousAction.d.ts +26 -5
  10. package/dist/components/ArgousAction/ArgousAction.js +17 -7
  11. package/dist/components/ArgousAction/index.d.ts +1 -2
  12. package/dist/components/ArgousAvatar/ArgousAvatar.d.ts +3 -14
  13. package/dist/components/ArgousAvatar/ArgousAvatar.js +44 -60
  14. package/dist/components/ArgousAvatar/index.d.ts +1 -2
  15. package/dist/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +3 -76
  16. package/dist/components/ArgousComplexPagination/ArgousComplexPagination.js +107 -81
  17. package/dist/components/ArgousComplexPagination/index.d.ts +1 -2
  18. package/dist/components/ArgousComplexTable/ArgousComplexTable.d.ts +3 -158
  19. package/dist/components/ArgousComplexTable/ArgousComplexTable.js +39 -52
  20. package/dist/components/ArgousComplexTable/index.d.ts +1 -2
  21. package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +7 -177
  22. package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.js +119 -97
  23. package/dist/components/ArgousComplexTableBody/DragAndDrop.d.ts +37 -0
  24. package/dist/components/ArgousComplexTableBody/DragAndDrop.js +156 -0
  25. package/dist/components/ArgousComplexTableBody/index.d.ts +1 -2
  26. package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.d.ts +3 -73
  27. package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.js +64 -47
  28. package/dist/components/ArgousComplexTableHead/index.d.ts +1 -2
  29. package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.d.ts +3 -58
  30. package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +55 -37
  31. package/dist/components/ArgousComplexTableToolbar/index.d.ts +1 -2
  32. package/dist/components/ArgousInput/ArgousInput.d.ts +2 -8
  33. package/dist/components/ArgousInput/ArgousInput.js +19 -9
  34. package/dist/components/ArgousInput/index.d.ts +1 -2
  35. package/dist/components/ArgousPagination/ArgousPagination.d.ts +3 -5
  36. package/dist/components/ArgousPagination/ArgousPagination.js +18 -11
  37. package/dist/components/ArgousPagination/index.d.ts +1 -2
  38. package/dist/components/ArgousProgressBar/ArgousProgressBar.d.ts +31 -21
  39. package/dist/components/ArgousProgressBar/ArgousProgressBar.js +64 -74
  40. package/dist/components/ArgousProgressBar/index.d.ts +1 -2
  41. package/dist/components/ArgousSimpleTable/ArgousSimpleTable.d.ts +3 -5
  42. package/dist/components/ArgousSimpleTable/ArgousSimpleTable.js +28 -22
  43. package/dist/components/ArgousSimpleTable/index.d.ts +1 -2
  44. package/dist/components/AutoComplete/AutoComplete.d.ts +2 -8
  45. package/dist/components/AutoComplete/AutoComplete.js +18 -9
  46. package/dist/components/AutoComplete/index.d.ts +1 -2
  47. package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +28 -101
  48. package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.js +226 -174
  49. package/dist/components/AutoCompleteFavorites/index.d.ts +1 -2
  50. package/dist/components/BarChart/BarChart.d.ts +29 -5
  51. package/dist/components/BarChart/BarChart.js +17 -7
  52. package/dist/components/BarChart/index.d.ts +1 -2
  53. package/dist/components/BarraFerramentas/BarraFerramentas.d.ts +54 -53
  54. package/dist/components/BarraFerramentas/BarraFerramentas.js +119 -105
  55. package/dist/components/BarraFerramentas/index.d.ts +1 -2
  56. package/dist/components/Button/Button.d.ts +54 -5
  57. package/dist/components/Button/Button.js +17 -7
  58. package/dist/components/Button/index.d.ts +1 -2
  59. package/dist/components/Cabecalho/Cabecalho.d.ts +2 -8
  60. package/dist/components/Cabecalho/Cabecalho.js +17 -7
  61. package/dist/components/Cabecalho/index.d.ts +1 -2
  62. package/dist/components/Calendar/Calendar.d.ts +2 -8
  63. package/dist/components/Calendar/Calendar.js +24 -41
  64. package/dist/components/Calendar/index.d.ts +1 -2
  65. package/dist/components/Cam/Cam.d.ts +24 -24
  66. package/dist/components/Cam/Cam.js +19 -9
  67. package/dist/components/Cam/index.d.ts +1 -2
  68. package/dist/components/Carousel/Carousel.d.ts +21 -71
  69. package/dist/components/Carousel/Carousel.js +113 -103
  70. package/dist/components/Carousel/index.d.ts +1 -2
  71. package/dist/components/CartaoUsuario/CartaoUsuario.d.ts +6 -9
  72. package/dist/components/CartaoUsuario/CartaoUsuario.js +36 -26
  73. package/dist/components/CartaoUsuario/index.d.ts +1 -2
  74. package/dist/components/Collapse/Collapse.d.ts +55 -56
  75. package/dist/components/Collapse/Collapse.js +121 -71
  76. package/dist/components/Collapse/index.d.ts +1 -3
  77. package/dist/components/Compartilhar/Compartilhar.d.ts +3 -7
  78. package/dist/components/Compartilhar/Compartilhar.js +70 -65
  79. package/dist/components/Compartilhar/index.d.ts +1 -2
  80. package/dist/components/ConfirmModal/BasicModal.d.ts +1 -1
  81. package/dist/components/ConfirmModal/BasicModal.js +8 -8
  82. package/dist/components/ConfirmModal/ModalProvider.d.ts +12 -1
  83. package/dist/components/ConfirmModal/ModalProvider.js +17 -7
  84. package/dist/components/ConfirmModal/WrapperModal.d.ts +2 -2
  85. package/dist/components/ConfirmModal/WrapperModal.js +5 -5
  86. package/dist/components/ConfirmModal/index.d.ts +6 -20
  87. package/dist/components/ContactValidationInput/ContactValidationInput.d.ts +17 -62
  88. package/dist/components/ContactValidationInput/ContactValidationInput.js +105 -80
  89. package/dist/components/ContactValidationInput/SealModal.d.ts +1 -1
  90. package/dist/components/ContactValidationInput/SealModal.js +13 -20
  91. package/dist/components/ContactValidationInput/index.d.ts +1 -2
  92. package/dist/components/Document/Icons.d.ts +2 -2
  93. package/dist/components/Document/Icons.js +33 -16
  94. package/dist/components/Document/ModalVisualizacaoDocumentos.d.ts +1 -1
  95. package/dist/components/Document/ModalVisualizacaoDocumentos.js +33 -17
  96. package/dist/components/Document/Visualizacao.d.ts +1 -1
  97. package/dist/components/Document/Visualizacao.js +48 -34
  98. package/dist/components/Document/index.d.ts +3 -3
  99. package/dist/components/DropArea/DropArea.d.ts +8 -21
  100. package/dist/components/DropArea/DropArea.js +27 -12
  101. package/dist/components/DropArea/Html5FileSelector.js +6 -7
  102. package/dist/components/DropArea/index.d.ts +1 -2
  103. package/dist/components/Editor/ScriptLoader2.d.ts +1 -1
  104. package/dist/components/Editor/ScriptLoader2.js +2 -2
  105. package/dist/components/Editor/Utils.d.ts +3 -3
  106. package/dist/components/Editor/Utils.js +2 -2
  107. package/dist/components/Editor/components/Editor.d.ts +1 -1
  108. package/dist/components/Editor/components/Editor.js +18 -9
  109. package/dist/components/Editor/components/EditorPropTypes.js +17 -7
  110. package/dist/components/FilePreparer/FilePreparer.d.ts +16 -26
  111. package/dist/components/FilePreparer/FilePreparer.js +105 -88
  112. package/dist/components/FilePreparer/index.d.ts +1 -2
  113. package/dist/components/FileUploader/FileUploader.d.ts +21 -8
  114. package/dist/components/FileUploader/FileUploader.js +33 -22
  115. package/dist/components/FileUploader/index.d.ts +1 -2
  116. package/dist/components/FormVisualizer/FormVisualizer.d.ts +8 -92
  117. package/dist/components/FormVisualizer/FormVisualizer.js +92 -61
  118. package/dist/components/FormVisualizer/index.d.ts +1 -2
  119. package/dist/components/HalfGauge/HalfGauge.d.ts +23 -82
  120. package/dist/components/HalfGauge/HalfGauge.js +87 -135
  121. package/dist/components/HalfGauge/index.d.ts +1 -2
  122. package/dist/components/Highlight/Highlight.d.ts +20 -7
  123. package/dist/components/Highlight/Highlight.js +23 -12
  124. package/dist/components/Highlight/index.d.ts +1 -2
  125. package/dist/components/ImageResize/ImageResize.d.ts +8 -28
  126. package/dist/components/ImageResize/ImageResize.js +79 -85
  127. package/dist/components/ImageResize/index.d.ts +1 -2
  128. package/dist/components/ImageResizeButton/ImageResizeButton.d.ts +2 -25
  129. package/dist/components/ImageResizeButton/ImageResizeButton.js +19 -9
  130. package/dist/components/ImageResizeButton/index.d.ts +1 -2
  131. package/dist/components/Input/Input.d.ts +2 -8
  132. package/dist/components/Input/Input.js +19 -9
  133. package/dist/components/Input/index.d.ts +1 -2
  134. package/dist/components/InputTags/InputTags.d.ts +2 -8
  135. package/dist/components/InputTags/InputTags.js +22 -13
  136. package/dist/components/InputTags/index.d.ts +1 -2
  137. package/dist/components/ListSelect/ListSelect.d.ts +2 -8
  138. package/dist/components/ListSelect/ListSelect.js +17 -7
  139. package/dist/components/ListSelect/index.d.ts +1 -2
  140. package/dist/components/MaterialButton/MaterialButton.d.ts +30 -12
  141. package/dist/components/MaterialButton/MaterialButton.js +56 -125
  142. package/dist/components/MaterialButton/index.d.ts +1 -2
  143. package/dist/components/MenuBar/MenuBar.d.ts +2 -8
  144. package/dist/components/MenuBar/MenuBar.js +17 -7
  145. package/dist/components/MenuBar/index.d.ts +1 -2
  146. package/dist/components/MonthPicker/MonthPicker.d.ts +2 -8
  147. package/dist/components/MonthPicker/MonthPicker.js +20 -10
  148. package/dist/components/MonthPicker/index.d.ts +1 -2
  149. package/dist/components/MultipleSelect/MultipleSelect.d.ts +2 -8
  150. package/dist/components/MultipleSelect/MultipleSelect.js +17 -7
  151. package/dist/components/MultipleSelect/index.d.ts +1 -2
  152. package/dist/components/OtpInput/OtpInput.d.ts +1 -1
  153. package/dist/components/OtpInput/OtpInput.js +71 -58
  154. package/dist/components/OtpInput/index.d.ts +1 -2
  155. package/dist/components/OutputText/OutputText.d.ts +2 -8
  156. package/dist/components/OutputText/OutputText.js +17 -7
  157. package/dist/components/OutputText/index.d.ts +1 -2
  158. package/dist/components/Pagination/Pagination.d.ts +16 -5
  159. package/dist/components/Pagination/Pagination.js +17 -7
  160. package/dist/components/Pagination/index.d.ts +1 -2
  161. package/dist/components/PercentageDisplay/PercentageDisplay.d.ts +14 -51
  162. package/dist/components/PercentageDisplay/PercentageDisplay.js +24 -92
  163. package/dist/components/PercentageDisplay/index.d.ts +1 -2
  164. package/dist/components/Programa/PageCodeEasterEgg.d.ts +5 -4
  165. package/dist/components/Programa/PageCodeEasterEgg.js +41 -32
  166. package/dist/components/Programa/Programa.d.ts +72 -47
  167. package/dist/components/Programa/Programa.js +50 -28
  168. package/dist/components/Programa/Tab.d.ts +2 -2
  169. package/dist/components/Programa/TabNavigationRail.d.ts +3 -3
  170. package/dist/components/Programa/TabNavigationRail.js +13 -55
  171. package/dist/components/Programa/index.d.ts +1 -2
  172. package/dist/components/ProgressBar/ProgressBar.d.ts +20 -5
  173. package/dist/components/ProgressBar/ProgressBar.js +17 -7
  174. package/dist/components/ProgressBar/index.d.ts +1 -2
  175. package/dist/components/Select/Select.d.ts +2 -8
  176. package/dist/components/Select/Select.js +17 -7
  177. package/dist/components/Select/index.d.ts +1 -2
  178. package/dist/components/SimpleTable/SimpleTable.d.ts +27 -10
  179. package/dist/components/SimpleTable/SimpleTable.js +17 -7
  180. package/dist/components/SimpleTable/index.d.ts +1 -2
  181. package/dist/components/Stepper/Stepper.d.ts +25 -68
  182. package/dist/components/Stepper/Stepper.js +194 -179
  183. package/dist/components/Stepper/index.d.ts +1 -2
  184. package/dist/components/TablePicker/TablePicker.d.ts +3 -8
  185. package/dist/components/TablePicker/TablePicker.js +37 -12
  186. package/dist/components/TablePicker/index.d.ts +1 -2
  187. package/dist/components/Tabs/Tabs.d.ts +25 -5
  188. package/dist/components/Tabs/Tabs.js +17 -7
  189. package/dist/components/Tabs/index.d.ts +1 -2
  190. package/dist/components/TextArea/TextArea.d.ts +2 -8
  191. package/dist/components/TextArea/TextArea.js +17 -7
  192. package/dist/components/TextArea/index.d.ts +1 -2
  193. package/dist/components/TextToHtml/Cursor.d.ts +1 -1
  194. package/dist/components/TextToHtml/Cursor.js +17 -7
  195. package/dist/components/TextToHtml/TextStyles.d.ts +1 -1
  196. package/dist/components/TextToHtml/TextStyles.js +51 -44
  197. package/dist/components/TextToHtml/TextToHtml.d.ts +32 -36
  198. package/dist/components/TextToHtml/TextToHtml.js +37 -17
  199. package/dist/components/TextToHtml/index.d.ts +1 -2
  200. package/dist/components/ThreadLog/ThreadLog.d.ts +36 -5
  201. package/dist/components/ThreadLog/ThreadLog.js +19 -9
  202. package/dist/components/ThreadLog/index.d.ts +1 -2
  203. package/dist/components/UserCard/UserCard.d.ts +6 -15
  204. package/dist/components/UserCard/UserCard.js +36 -26
  205. package/dist/components/UserCard/index.d.ts +1 -2
  206. package/dist/components/UtilAutoComplete/UtilAutoComplete.d.ts +32 -97
  207. package/dist/components/UtilAutoComplete/UtilAutoComplete.js +26 -16
  208. package/dist/components/UtilAutoComplete/index.d.ts +1 -2
  209. package/dist/components/UtilTextField/UtilTextField.d.ts +7 -23
  210. package/dist/components/UtilTextField/UtilTextField.js +26 -14
  211. package/dist/components/UtilTextField/index.d.ts +1 -2
  212. package/dist/components/Zoom/Zoom.d.ts +7 -15
  213. package/dist/components/Zoom/Zoom.js +23 -24
  214. package/dist/components/Zoom/index.d.ts +1 -2
  215. package/dist/components/index.d.ts +118 -180
  216. package/dist/fieldsRedux/createField.d.ts +6 -6
  217. package/dist/fieldsRedux/createField.js +17 -7
  218. package/dist/fieldsRedux/fieldsRedux.d.ts +3 -58
  219. package/dist/fieldsRedux/fieldsRedux.js +19 -9
  220. package/dist/fieldsRedux/index.d.ts +17 -2
  221. package/dist/fieldsRedux/passFields.d.ts +2 -0
  222. package/dist/fieldsRedux/passFields.js +17 -7
  223. package/dist/reducers/index.d.ts +98 -2
  224. package/dist/utils/api.js +32 -15
  225. package/dist/utils/config.js +2 -3
  226. package/dist/utils/index.d.ts +3 -3
  227. package/dist/utils/index.js +68 -54
  228. package/dist/utils/store.js +2 -3
  229. package/lib/api/WebSocket.js +11 -12
  230. package/lib/api/index.js +14 -14
  231. package/lib/api/ws.js +48 -4
  232. package/lib/components/ArgousAvatar/ArgousAvatar.d.ts +1 -1
  233. package/lib/components/ArgousAvatar/ArgousAvatar.js +20 -54
  234. package/lib/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +1 -1
  235. package/lib/components/ArgousComplexPagination/ArgousComplexPagination.js +50 -25
  236. package/lib/components/ArgousComplexTable/ArgousComplexTable.d.ts +1 -1
  237. package/lib/components/ArgousComplexTable/ArgousComplexTable.js +15 -15
  238. package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +1 -1
  239. package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.js +121 -106
  240. package/lib/components/ArgousComplexTableBody/DragAndDrop.js +85 -0
  241. package/lib/components/ArgousComplexTableHead/ArgousComplexTableHead.js +60 -51
  242. package/lib/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +21 -12
  243. package/lib/components/ArgousInput/ArgousInput.js +2 -2
  244. package/lib/components/ArgousPagination/ArgousPagination.js +12 -4
  245. package/lib/components/ArgousProgressBar/ArgousProgressBar.js +67 -78
  246. package/lib/components/ArgousSimpleTable/ArgousSimpleTable.js +12 -18
  247. package/lib/components/AutoComplete/AutoComplete.js +2 -3
  248. package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +3 -4
  249. package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.js +174 -108
  250. package/lib/components/BarraFerramentas/BarraFerramentas.js +32 -21
  251. package/lib/components/Calendar/Calendar.js +7 -42
  252. package/lib/components/Carousel/Carousel.js +42 -27
  253. package/lib/components/CartaoUsuario/CartaoUsuario.js +6 -6
  254. package/lib/components/Collapse/Collapse.d.ts +3 -3
  255. package/lib/components/Collapse/Collapse.js +92 -57
  256. package/lib/components/Compartilhar/Compartilhar.js +47 -46
  257. package/lib/components/ConfirmModal/BasicModal.tsx +1 -1
  258. package/lib/components/ConfirmModal/WrapperModal.tsx +2 -2
  259. package/lib/components/ContactValidationInput/ContactValidationInput.d.ts +1 -1
  260. package/lib/components/ContactValidationInput/ContactValidationInput.js +248 -213
  261. package/lib/components/ContactValidationInput/SealModal.js +38 -32
  262. package/lib/components/Document/Icons.js +14 -6
  263. package/lib/components/Document/ModalVisualizacaoDocumentos.js +9 -2
  264. package/lib/components/Document/Visualizacao.js +31 -25
  265. package/lib/components/DropArea/DropArea.js +9 -3
  266. package/lib/components/Editor/ScriptLoader2.ts +3 -3
  267. package/lib/components/Editor/Utils.ts +3 -3
  268. package/lib/components/Editor/components/Editor.tsx +1 -1
  269. package/lib/components/Editor/tinymce/README.md +73 -0
  270. package/lib/components/Editor/tinymce/langs/README.md +3 -0
  271. package/lib/components/Editor/tinymce/models/dom/model.min.js +1 -1
  272. package/lib/components/Editor/tinymce/plugins/accordion/plugin.min.js +1 -1
  273. package/lib/components/Editor/tinymce/plugins/autolink/plugin.min.js +1 -1
  274. package/lib/components/Editor/tinymce/plugins/autosave/plugin.min.js +1 -1
  275. package/lib/components/Editor/tinymce/plugins/charmap/plugin.min.js +1 -1
  276. package/lib/components/Editor/tinymce/plugins/codesample/plugin.min.js +1 -1
  277. package/lib/components/Editor/tinymce/plugins/directionality/plugin.min.js +1 -1
  278. package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  279. package/lib/components/Editor/tinymce/plugins/help/plugin.min.js +1 -1
  280. package/lib/components/Editor/tinymce/plugins/image/plugin.min.js +1 -1
  281. package/lib/components/Editor/tinymce/plugins/link/plugin.min.js +1 -1
  282. package/lib/components/Editor/tinymce/plugins/lists/plugin.min.js +1 -1
  283. package/lib/components/Editor/tinymce/plugins/media/plugin.min.js +1 -1
  284. package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  285. package/lib/components/Editor/tinymce/plugins/table/plugin.js +3 -3
  286. package/lib/components/Editor/tinymce/plugins/table/plugin.min.js +1 -1
  287. package/lib/components/Editor/tinymce/plugins/visualchars/plugin.min.js +1 -1
  288. package/lib/components/Editor/tinymce/themes/silver/theme.js +38 -38
  289. package/lib/components/Editor/tinymce/themes/silver/theme.min.js +1 -1
  290. package/lib/components/Editor/tinymce/tinymce.js +12 -12
  291. package/lib/components/Editor/tinymce/tinymce.min.js +1 -1
  292. package/lib/components/FilePreparer/FilePreparer.d.ts +1 -1
  293. package/lib/components/FilePreparer/FilePreparer.js +112 -108
  294. package/lib/components/FileUploader/FileUploader.js +8 -7
  295. package/lib/components/FormVisualizer/FormVisualizer.d.ts +5 -7
  296. package/lib/components/FormVisualizer/FormVisualizer.js +59 -46
  297. package/lib/components/HalfGauge/HalfGauge.js +87 -85
  298. package/lib/components/Highlight/Highlight.js +4 -4
  299. package/lib/components/ImageResize/ImageResize.d.ts +1 -1
  300. package/lib/components/ImageResize/ImageResize.js +123 -118
  301. package/lib/components/ImageResizeButton/ImageResizeButton.d.ts +1 -1
  302. package/lib/components/ImageResizeButton/ImageResizeButton.js +1 -1
  303. package/lib/components/Input/Input.js +2 -2
  304. package/lib/components/InputTags/InputTags.js +6 -7
  305. package/lib/components/MaterialButton/MaterialButton.d.ts +2 -4
  306. package/lib/components/MaterialButton/MaterialButton.js +50 -125
  307. package/lib/components/MonthPicker/MonthPicker.js +2 -2
  308. package/lib/components/OtpInput/OtpInput.tsx +77 -69
  309. package/lib/components/PercentageDisplay/PercentageDisplay.d.ts +1 -1
  310. package/lib/components/PercentageDisplay/PercentageDisplay.js +29 -54
  311. package/lib/components/Programa/PageCodeEasterEgg.js +41 -40
  312. package/lib/components/Programa/Programa.d.ts +2 -2
  313. package/lib/components/Programa/Programa.js +21 -5
  314. package/lib/components/Programa/Tab.ts +4 -2
  315. package/lib/components/Programa/TabNavigationRail.js +9 -31
  316. package/lib/components/Stepper/Stepper.d.ts +1 -1
  317. package/lib/components/Stepper/Stepper.js +222 -190
  318. package/lib/components/TablePicker/TablePicker.js +11 -6
  319. package/lib/components/TextToHtml/TextStyles.js +42 -42
  320. package/lib/components/TextToHtml/TextToHtml.js +102 -92
  321. package/lib/components/ThreadLog/ThreadLog.js +1 -1
  322. package/lib/components/UserCard/UserCard.js +6 -6
  323. package/lib/components/UtilAutoComplete/UtilAutoComplete.d.ts +3 -4
  324. package/lib/components/UtilAutoComplete/UtilAutoComplete.js +67 -9
  325. package/lib/components/UtilTextField/UtilTextField.d.ts +1 -1
  326. package/lib/components/UtilTextField/UtilTextField.js +18 -16
  327. package/lib/components/Zoom/Zoom.js +6 -3
  328. package/lib/utils/api.ts +1 -1
  329. package/lib/utils/index.ts +10 -8
  330. package/package.json +56 -56
  331. package/.gitlab-ci.yml +0 -21
  332. package/dist/components/Cam/cam.css +0 -8
  333. package/dist/components/ContactValidationInput/style.css +0 -10
  334. package/dist/components/Document/icons/ai.svg +0 -20
  335. package/dist/components/Document/icons/audio.svg +0 -16
  336. package/dist/components/Document/icons/avi.svg +0 -15
  337. package/dist/components/Document/icons/css.svg +0 -47
  338. package/dist/components/Document/icons/csv.svg +0 -37
  339. package/dist/components/Document/icons/dbf.svg +0 -30
  340. package/dist/components/Document/icons/doc.svg +0 -47
  341. package/dist/components/Document/icons/dwg.svg +0 -32
  342. package/dist/components/Document/icons/exe.svg +0 -20
  343. package/dist/components/Document/icons/file.svg +0 -11
  344. package/dist/components/Document/icons/fla.svg +0 -23
  345. package/dist/components/Document/icons/html.svg +0 -23
  346. package/dist/components/Document/icons/image.svg +0 -16
  347. package/dist/components/Document/icons/iso.svg +0 -40
  348. package/dist/components/Document/icons/jpg.svg +0 -33
  349. package/dist/components/Document/icons/js.svg +0 -40
  350. package/dist/components/Document/icons/json.svg +0 -45
  351. package/dist/components/Document/icons/mod.svg +0 -41
  352. package/dist/components/Document/icons/mp3.svg +0 -36
  353. package/dist/components/Document/icons/mp4.svg +0 -25
  354. package/dist/components/Document/icons/pdf.svg +0 -35
  355. package/dist/components/Document/icons/png.svg +0 -30
  356. package/dist/components/Document/icons/ppt.svg +0 -31
  357. package/dist/components/Document/icons/psd.svg +0 -50
  358. package/dist/components/Document/icons/rtf.svg +0 -35
  359. package/dist/components/Document/icons/search.svg +0 -20
  360. package/dist/components/Document/icons/svg.svg +0 -34
  361. package/dist/components/Document/icons/txt.svg +0 -29
  362. package/dist/components/Document/icons/video.svg +0 -17
  363. package/dist/components/Document/icons/xls.svg +0 -31
  364. package/dist/components/Document/icons/xml.svg +0 -25
  365. package/dist/components/Document/icons/zip.svg +0 -24
  366. package/dist/components/Document/icons/zip1.svg +0 -18
  367. package/dist/components/Editor/skins/content/dark/content.min.css +0 -1
  368. package/dist/components/Editor/skins/content/default/content.min.css +0 -1
  369. package/dist/components/Editor/skins/content/document/content.min.css +0 -1
  370. package/dist/components/Editor/skins/content/tinymce-5/content.min.css +0 -1
  371. package/dist/components/Editor/skins/content/tinymce-5-dark/content.min.css +0 -1
  372. package/dist/components/Editor/skins/content/writer/content.min.css +0 -1
  373. package/dist/components/Editor/skins/ui/oxide/content.inline.min.css +0 -1
  374. package/dist/components/Editor/skins/ui/oxide/content.min.css +0 -1
  375. package/dist/components/Editor/skins/ui/oxide/skin.min.css +0 -1
  376. package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  377. package/dist/components/Editor/skins/ui/oxide-dark/content.inline.min.css +0 -1
  378. package/dist/components/Editor/skins/ui/oxide-dark/content.min.css +0 -1
  379. package/dist/components/Editor/skins/ui/oxide-dark/skin.min.css +0 -1
  380. package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  381. package/dist/components/Editor/skins/ui/tinymce-5/content.inline.min.css +0 -1
  382. package/dist/components/Editor/skins/ui/tinymce-5/content.min.css +0 -1
  383. package/dist/components/Editor/skins/ui/tinymce-5/skin.min.css +0 -1
  384. package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  385. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
  386. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.min.css +0 -1
  387. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  388. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  389. package/dist/components/Editor/tinymce/icons/default/icons.js +0 -194
  390. package/dist/components/Editor/tinymce/icons/default/icons.min.js +0 -1
  391. package/dist/components/Editor/tinymce/skins/content/dark/content.css +0 -66
  392. package/dist/components/Editor/tinymce/skins/content/dark/content.min.css +0 -2
  393. package/dist/components/Editor/tinymce/skins/content/default/content.css +0 -61
  394. package/dist/components/Editor/tinymce/skins/content/default/content.min.css +0 -2
  395. package/dist/components/Editor/tinymce/skins/content/document/content.css +0 -66
  396. package/dist/components/Editor/tinymce/skins/content/document/content.min.css +0 -2
  397. package/dist/components/Editor/tinymce/skins/content/tinymce-5/content.css +0 -61
  398. package/dist/components/Editor/tinymce/skins/content/tinymce-5/content.min.css +0 -2
  399. package/dist/components/Editor/tinymce/skins/content/tinymce-5-dark/content.css +0 -66
  400. package/dist/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -2
  401. package/dist/components/Editor/tinymce/skins/content/writer/content.css +0 -62
  402. package/dist/components/Editor/tinymce/skins/content/writer/content.min.css +0 -2
  403. package/dist/components/Editor/tinymce/skins/ui/oxide/content.css +0 -785
  404. package/dist/components/Editor/tinymce/skins/ui/oxide/content.inline.css +0 -779
  405. package/dist/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -2
  406. package/dist/components/Editor/tinymce/skins/ui/oxide/content.min.css +0 -2
  407. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.css +0 -3763
  408. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.min.css +0 -2
  409. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  410. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -2
  411. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.css +0 -766
  412. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
  413. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -2
  414. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -2
  415. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  416. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -2
  417. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  418. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -2
  419. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.css +0 -785
  420. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.css +0 -779
  421. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -2
  422. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -2
  423. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
  424. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -2
  425. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
  426. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -2
  427. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.css +0 -766
  428. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -779
  429. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -2
  430. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -2
  431. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
  432. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -2
  433. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
  434. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -2
  435. package/dist/components/Editor/tinymce/tinymce.d.ts +0 -3238
  436. package/dist/components/TextToHtml/icons/resize_area.svg +0 -2
  437. package/dist/components/TextToHtml/style.css +0 -40
  438. package/dist/components/Zoom/style.css +0 -25
  439. package/dist/types.d.ts +0 -164
@@ -1,73 +1,3 @@
1
- import * as React from 'react';
2
-
3
- export interface ArgousComplexTableHeadProps {
4
- /**
5
- * Array de títulos para o cabeçalho da tabela
6
- */
7
- head?: Array<string>,
8
- /**
9
- * Array de estilos para cada item do cabeçalho
10
- */
11
- headerColumnStyles?: Array<React.CSSProperties>,
12
- /**
13
- * Array de booleanos para desabilitar a ordenacao em itens expecificos
14
- */
15
- disableSorting?: Array<boolean>,
16
- }
17
-
18
- export interface ArgousComplexTableHeadPrivateProps extends ArgousComplexTableHeadProps {
19
- /**
20
- * Quantidade de itens selecionados
21
- */
22
- numSelected: number,
23
- /**
24
- * Quantidade de linhas por página
25
- */
26
- rowCount: number,
27
- /**
28
- * Habilita a seleção de linhas da lista
29
- */
30
- enableCheck?: boolean,
31
- /**
32
- * Habilita o drag and drop das linhas
33
- */
34
- enableDrag?: boolean,
35
- /**
36
- * Função que decide se a seleção de determinada linha está habilitada
37
- *
38
- * @param linhaOriginal - Linha original, antes de ser formatada pela função line
39
- * @param linhaFormatada - Linha ja formatada pela função line
40
- * @param index - Índice da linha
41
- *
42
- * @returns {boolean} Booleano
43
- */
44
- disableCheckIf?: (linhaOriginal: Array<any> | object, linhaFormatada: Array<any>, index: number) => boolean,
45
- /**
46
- * Função que converte a linha original em um array com os dados a serem exibidos
47
- *
48
- * @param linhaOriginal - linha a ser formatada
49
- *
50
- * @returns {Array<any>} Retorna array
51
- */
52
- line: (linhaOriginal: Array<Array<any> | Object>) => Array<any>,
53
- /**
54
- * Quantidade total de linhas na tabela
55
- */
56
- size: number,
57
- /**
58
- * Array de booleanos retornado pelo caminhador para habilitar a ordenação
59
- */
60
- ordCols: Array<boolean>,
61
- /**
62
- * Recebe o array com todos os dados e retorna um array somente com os dados mostrados
63
- *
64
- * @param dados - Dados completos
65
- *
66
- * @returns {Array<Array<any> | Object>} Array com dados mostrados
67
- */
68
- cortaDados: (dados: Array<Array<any> | Object>) => Array<Array<any> | Object>
69
- }
70
-
71
- declare function ArgousComplexTableHead(props: ArgousComplexTableHeadPrivateProps): JSX.Element
72
-
73
- export default ArgousComplexTableHead;
1
+ export default ArgousComplexTableHead;
2
+ declare const ArgousComplexTableHead: React.NamedExoticComponent<object>;
3
+ import React from 'react';
@@ -15,46 +15,61 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
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
+ })();
28
35
  Object.defineProperty(exports, "__esModule", { value: true });
29
36
  var ArgousComplexTable_1 = require("../ArgousComplexTable/ArgousComplexTable");
30
- var core_1 = require("@material-ui/core");
31
- var clsx_1 = __importDefault(require("clsx"));
37
+ var material_1 = require("@mui/material");
38
+ var styles_1 = require("@mui/material/styles");
39
+ var clsx_1 = require("clsx");
32
40
  var lodash_1 = require("lodash");
33
41
  var react_1 = __importStar(require("react"));
34
- var useStyles = (0, core_1.makeStyles)(function (theme) { return ({
35
- highlight: {
36
- color: theme.palette.type === 'light' ? theme.palette.secondary.main : theme.palette.text.primary,
37
- backgroundColor: (0, core_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity * 2)
38
- },
39
- lighthighlight: {
40
- background: (0, core_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity)
41
- },
42
- visuallyHidden: {
43
- border: 0,
44
- clip: 'rect(0 0 0 0)',
45
- height: 1,
46
- margin: -1,
47
- overflow: 'hidden',
48
- padding: 0,
49
- position: 'absolute',
50
- top: 20,
51
- width: 1,
52
- }
53
- }); });
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
+ };
54
70
  var ArgousComplexTableHead = (0, react_1.memo)(function (_a) {
55
71
  var _b;
56
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;
57
- var classes = useStyles();
58
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;
59
74
  var handleRequestSort = function (property) {
60
75
  var isAsc = orderBy === property && order === 'asc';
@@ -74,19 +89,21 @@ var ArgousComplexTableHead = (0, react_1.memo)(function (_a) {
74
89
  else
75
90
  dispatch({ type: 'setSelected', value: [] });
76
91
  };
77
- return (react_1.default.createElement(core_1.TableHead, null,
78
- react_1.default.createElement(core_1.TableRow, { className: (0, clsx_1.default)((_b = {},
79
- _b[classes.highlight] = (((numSelected === rowCount) || (numSelected === length) || (numSelected === (lista === null || lista === void 0 ? void 0 : lista.length))) && (rowCount && length)),
80
- _b[classes.lighthighlight] = ((numSelected > 0) && ((method || externalCtrlPgn) ? (numSelected < (lista === null || lista === void 0 ? void 0 : lista.length)) : (numSelected < rowCount))),
81
- _b)) },
82
- enableDrag && react_1.default.createElement(core_1.TableCell, { padding: 'checkbox' }),
83
- enableCheck && react_1.default.createElement(core_1.TableCell, { padding: 'checkbox' },
84
- react_1.default.createElement(core_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 })),
85
- (0, lodash_1.isArray)(head) && head.map(function (item, i) { return (react_1.default.createElement(core_1.TableCell, { key: i, style: headerColumnStyles ? headerColumnStyles[i] : undefined }, (disableSorting[i] || (ordCols && !ordCols[i])) ?
86
- item
87
- :
88
- react_1.default.createElement(core_1.TableSortLabel, { active: orderBy === i, direction: orderBy === i ? order : 'asc', onClick: function () { return handleRequestSort(i); } },
89
- item,
90
- orderBy === i ? (react_1.default.createElement("span", { className: classes.visuallyHidden }, order === 'desc' ? 'sorted descending' : 'sorted ascending')) : null))); }))));
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))); })))));
91
108
  });
92
109
  exports.default = ArgousComplexTableHead;
@@ -1,2 +1 @@
1
- export { default } from './ArgousComplexTableHead';
2
- export * from './ArgousComplexTableHead';
1
+ export { default } from "./ArgousComplexTableHead";
@@ -1,58 +1,3 @@
1
- import * as React from 'react';
2
- import { IconType } from 'react-icons';
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';
@@ -15,41 +15,56 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
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
+ })();
28
35
  Object.defineProperty(exports, "__esModule", { value: true });
29
36
  var ArgousComplexTable_1 = require("../ArgousComplexTable/ArgousComplexTable");
30
- var core_1 = require("@material-ui/core");
31
- var clsx_1 = __importDefault(require("clsx"));
37
+ var material_1 = require("@mui/material");
38
+ var styles_1 = require("@mui/material/styles");
39
+ var clsx_1 = require("clsx");
32
40
  var lodash_1 = require("lodash");
33
41
  var react_1 = __importStar(require("react"));
34
- var useStyles = (0, core_1.makeStyles)(function (theme) { return ({
35
- toolbar: {
36
- minHeight: 0,
37
- paddingLeft: theme.spacing(2),
38
- paddingRight: theme.spacing(1),
39
- },
40
- highlight: {
41
- color: theme.palette.type === 'light' ? theme.palette.secondary.main : theme.palette.text.primary,
42
- backgroundColor: (0, core_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity * 2)
43
- },
44
- title: {
45
- flex: '1 1 100%',
46
- lineHeight: '50px'
47
- }
48
- }); });
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
+ };
49
65
  var ArgousComplexTableToolBar = (0, react_1.memo)(function (_a) {
50
66
  var _b;
51
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;
52
- var classes = useStyles();
53
68
  var _c = (0, react_1.useContext)(ArgousComplexTable_1.TableContext), selected = _c.selected, dispatch = _c.dispatch;
54
69
  var filterTime = (0, react_1.useRef)();
55
70
  var handleChange = function (e) {
@@ -59,16 +74,19 @@ var ArgousComplexTableToolBar = (0, react_1.memo)(function (_a) {
59
74
  dispatch({ type: 'setFilter', value: value });
60
75
  }, 300);
61
76
  };
62
- return (react_1.default.createElement(core_1.Toolbar, { className: (0, clsx_1.default)(classes.toolbar, (_b = {}, _b[classes.highlight] = numSelected > 0, _b)) },
63
- numSelected > 0 ? (react_1.default.createElement(core_1.Typography, { className: classes.title, color: 'inherit', variant: 'subtitle1', component: 'div' },
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
+ } },
64
82
  numSelected,
65
83
  " ",
66
- numSelected === 1 ? 'selecionado' : 'selecionados')) : react_1.default.createElement(core_1.Grid, { container: true, spacing: 2, style: { marginRight: 0 } },
67
- title && react_1.default.createElement(core_1.Grid, { item: true, xs: true, style: { display: 'flex', alignItems: 'center' } },
68
- react_1.default.createElement(core_1.Typography, { className: classes.title, variant: 'h6', component: 'div' }, title)),
69
- !disableFilter && react_1.default.createElement(core_1.Grid, { item: true, xs: true },
70
- react_1.default.createElement(core_1.TextField, { label: filterLabel, fullWidth: true, margin: 'dense', variant: 'outlined', onChange: handleChange }))),
71
- (fixedToolbar || numSelected > 0) && (0, lodash_1.isArray)(actions) && actions.map(function (action, i) { return (react_1.default.createElement(core_1.Tooltip, { key: i, title: action[0] },
72
- react_1.default.createElement(core_1.IconButton, { onClick: function (e) { return action[2](selected, e, lista.filter(function (linha) { return selected.indexOf(linha[indexToSelect]) > -1; })); } }, action[1]))); })));
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]))); })));
73
91
  });
74
92
  exports.default = ArgousComplexTableToolBar;
@@ -1,2 +1 @@
1
- export { default } from './ArgousComplexTableToolBar';
2
- export * from './ArgousComplexTableToolBar';
1
+ export { default } from "./ArgousComplexTableToolBar";
@@ -1,8 +1,2 @@
1
- export interface ArgousInputProps {}
2
- /**
3
- * @deprecated
4
- * @param props
5
- */
6
- declare function ArgousInput(props: ArgousInputProps): JSX.Element
7
-
8
- export default ArgousInput;
1
+ declare const _default: any;
2
+ export default _default;
@@ -41,13 +41,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
41
41
  }) : function(o, v) {
42
42
  o["default"] = v;
43
43
  });
44
- var __importStar = (this && this.__importStar) || function (mod) {
45
- if (mod && mod.__esModule) return mod;
46
- var result = {};
47
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
48
- __setModuleDefault(result, mod);
49
- return result;
50
- };
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
+ })();
51
61
  var __importDefault = (this && this.__importDefault) || function (mod) {
52
62
  return (mod && mod.__esModule) ? mod : { "default": mod };
53
63
  };
@@ -55,7 +65,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
55
65
  var fieldsRedux_1 = require("../../fieldsRedux");
56
66
  var prop_types_1 = __importDefault(require("prop-types"));
57
67
  var react_1 = __importStar(require("react"));
58
- var react_maskedinput_1 = __importDefault(require("react-maskedinput"));
68
+ var react_input_mask_1 = __importDefault(require("@mona-health/react-input-mask"));
59
69
  /**
60
70
  * @deprecated
61
71
  */
@@ -526,7 +536,7 @@ var ArgousInput = /** @class */ (function (_super) {
526
536
  return (react_1.default.createElement("div", { style: this.styleDiv1 },
527
537
  react_1.default.createElement("label", { style: this.styleLabel }, label),
528
538
  react_1.default.createElement("div", { style: this.styleDiv2 },
529
- react_1.default.createElement(react_maskedinput_1.default, __assign({ mask: mask, style: this.styleInput }, this.props)),
539
+ react_1.default.createElement(react_input_mask_1.default, __assign({ mask: mask.replaceAll('1', '9').replaceAll('#', '*'), style: this.styleInput }, this.props)),
530
540
  react_1.default.createElement("fieldset", { style: this.stylefieldset },
531
541
  react_1.default.createElement("legend", { style: this.styleLegend },
532
542
  react_1.default.createElement("span", { style: this.styleSpan }))))));
@@ -1,2 +1 @@
1
- export { default } from './ArgousInput';
2
- export * from './ArgousInput';
1
+ export { default } from "./ArgousInput";
@@ -1,8 +1,6 @@
1
- export interface ArgousPaginationProps {}
1
+ export default ArgousPagination;
2
2
  /**
3
3
  * @deprecated
4
- * @param props
5
4
  */
6
- declare function ArgousPagination(props: ArgousPaginationProps): JSX.Element
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 core_1 = require("@material-ui/core");
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(core_1.Toolbar, { style: { minHeight: 52, paddingRight: 2 } },
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(core_1.Typography, { color: 'inherit', variant: 'body2', style: { flexShrink: 0 } }, "Linhas"),
17
- value && (react_1.default.createElement(core_1.Select, { input: react_1.default.createElement(core_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) {
18
- return (react_1.default.createElement(core_1.MenuItem, { key: index, value: coluna }, coluna));
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(core_1.Typography, { color: 'inherit', variant: 'body2', component: 'div', style: { flexShrink: 0 } },
21
- react_1.default.createElement(core_1.Box, { padding: '1px 0px', display: 'inline' },
22
- react_1.default.createElement(core_1.InputBase, { style: { width: 40 }, inputProps: { value: props.ctrlPgnReturn.pgAtl }, onBlur: function (e) { return props.onChangePageNumber(e.target.value); } }), " / ".concat(props.ctrlPgnReturn.qtPaginas))),
23
- react_1.default.createElement(core_1.Box, { style: { flexShrink: 0, marginLeft: '20px' } },
24
- react_1.default.createElement(core_1.IconButton, { onClick: function () { return props.onChangePage('P'); }, disabled: props.ctrlPgnReturn.pgAtl === 1, title: 'P\u00E1gina Anterior' },
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(core_1.IconButton, { onClick: function () { return props.onChangePage('N'); }, disabled: props.ctrlPgnReturn.pgAtl === props.ctrlPgnReturn.qtPaginas, title: 'P\u00E1gina Seguinte' },
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 './ArgousPagination';
2
- export * from './ArgousPagination';
1
+ export { default } from "./ArgousPagination";
@@ -1,22 +1,32 @@
1
- import * as React from 'react';
2
-
3
- export interface ArgousProgressBarProps {
4
- valueLabel?: string,
5
- valueSuffix?: string,
6
- maxValueSuffix?: string,
7
- maxValueLabel?: string,
8
- value: number,
9
- maxValue?: number,
10
- rightIndicatorColor?: string,
11
- topIndicatorColor?: string,
12
- borderColor?: string,
13
- barColor?: string,
14
- fullBarColor?: string,
15
- preset?: 'default' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'hot' | 'cold'
16
- compact?: boolean,
17
- className?: string
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
- declare function ArgousProgressBar(props: ArgousProgressBarProps): JSX.Element
21
-
22
- export default ArgousProgressBar;
30
+ export default ProgressBar;
31
+ import React from 'react';
32
+ import PropTypes from 'prop-types';