|
|
@@ -1,11 +1,18 @@
|
|
|
import { createTheme } from '@mui/material';
|
|
|
-
|
|
|
+
|
|
|
export const TableStyle = () => createTheme({
|
|
|
components: {
|
|
|
- MuiPaper:{
|
|
|
+ MUIDataTableToolbar: {
|
|
|
styleOverrides: {
|
|
|
root: {
|
|
|
- boxShadow:'none'
|
|
|
+ paddingLeft: 15
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ MuiPaper: {
|
|
|
+ styleOverrides: {
|
|
|
+ root: {
|
|
|
+ boxShadow: 'none'
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -17,13 +24,48 @@ export const TableStyle = () => createTheme({
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- MuiTablePagination:{
|
|
|
+ MuiTablePagination: {
|
|
|
styleOverrides: {
|
|
|
toolbar: {
|
|
|
- paddingTop :7,
|
|
|
+ paddingTop: 7,
|
|
|
alignItems: 'baseline'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
+export const TextLabels = {
|
|
|
+ body: {
|
|
|
+ noMatch: "No se encontró ningún elemento",
|
|
|
+ toolTip: "Sort",
|
|
|
+ columnHeaderTooltip: column => `Sort for ${column.label}`
|
|
|
+ },
|
|
|
+ pagination: {
|
|
|
+ next: "Next Page",
|
|
|
+ previous: "Previous Page",
|
|
|
+ rowsPerPage: "Elementos por Página",
|
|
|
+ displayRows: "of",
|
|
|
+ },
|
|
|
+ toolbar: {
|
|
|
+ search: "Buscar",
|
|
|
+ downloadCsv: "Descargar CSV",
|
|
|
+ print: "Imprimir",
|
|
|
+ viewColumns: "Seleccionar Columnas",
|
|
|
+ filterTable: "Filtrar Tabla",
|
|
|
+ },
|
|
|
+ filter: {
|
|
|
+ all: "Todos",
|
|
|
+ title: "FILTROS",
|
|
|
+ reset: "Limpiar",
|
|
|
+ },
|
|
|
+ viewColumns: {
|
|
|
+ title: "Show Columns",
|
|
|
+ titleAria: "Show/Hide Table Columns",
|
|
|
+ },
|
|
|
+ selectedRows: {
|
|
|
+ text: "Elemento(s) selecionado",
|
|
|
+ delete: "Delete",
|
|
|
+ deleteAria: "Delete Selected Rows",
|
|
|
+ },
|
|
|
+}
|