Se corrigen selectores
This commit is contained in:
parent
307e4344f4
commit
e020420014
5 changed files with 877 additions and 643 deletions
1471
package-lock.json
generated
1471
package-lock.json
generated
File diff suppressed because it is too large
Load diff
35
package.json
35
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@chimera-pe/react-saas",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.4",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
@ -11,38 +11,39 @@
|
|||
"dependencies": {
|
||||
"@emotion/react": "^11.11.1",
|
||||
"@emotion/styled": "^11.11.0",
|
||||
"@mui/icons-material": "^5.14.8",
|
||||
"@mui/icons-material": "^5.14.11",
|
||||
"@mui/lab": "^5.0.0-alpha.143",
|
||||
"@mui/material": "^5.14.8",
|
||||
"@mui/x-date-pickers": "^6.12.1",
|
||||
"@reduxjs/toolkit": "^1.9.5",
|
||||
"axios": "^1.5.0",
|
||||
"@mui/material": "^5.14.11",
|
||||
"@mui/x-date-pickers": "^6.15.0",
|
||||
"@reduxjs/toolkit": "^1.9.6",
|
||||
"axios": "^1.5.1",
|
||||
"date-fns": "^2.30.0",
|
||||
"final-form": "^4.20.10",
|
||||
"jwt-decode": "^3.1.2",
|
||||
"lodash": "^4.17.21",
|
||||
"mui-rff": "^6.2.3",
|
||||
"navigator-languages": "^2.0.2",
|
||||
"node-polyglot": "^2.5.0",
|
||||
"react": ">=18",
|
||||
"react-dom": ">=18",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-final-form": "^6.5.9",
|
||||
"react-polyglot": "^0.7.2",
|
||||
"react-redux": "^8.1.2",
|
||||
"react-router-dom": "^6.15.0"
|
||||
"react-router-dom": "^6.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18",
|
||||
"react-dom": ">=18"
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.15",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@vitejs/plugin-react": "^4.0.3",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"@types/react": "^18.2.23",
|
||||
"@types/react-dom": "^18.2.8",
|
||||
"@vitejs/plugin-react": "^4.1.0",
|
||||
"eslint": "^8.50.0",
|
||||
"eslint-plugin-react": "^7.33.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.3",
|
||||
"vite": "^4.4.5"
|
||||
"vite": "^4.4.9"
|
||||
},
|
||||
"description": "Componente integrador con SaaS",
|
||||
"main": "./dist/react-saas.umd.cjs",
|
||||
|
|
|
@ -54,6 +54,6 @@ export const inicializar = createAsyncThunk("inicializar",async (payload) => {
|
|||
return response.data;
|
||||
});
|
||||
|
||||
export const getInstancia=state => state.instancia;
|
||||
export const getInstancia=state => state.aplicacion.instancia;
|
||||
|
||||
export default inicializarSlice.reducer;
|
|
@ -91,10 +91,10 @@ export const refreshToken = createAsyncThunk("login/refreshToken",async (devURL,
|
|||
|
||||
export const {logout} = loginSlice.actions;
|
||||
|
||||
export const getToken=state => state.token;
|
||||
export const getToken=state => state.login.token;
|
||||
|
||||
export const getUsuario=state => state.usuario;
|
||||
export const getUsuario=state => state.login.usuario;
|
||||
|
||||
export const getPerfiles=state => state.perfiles;
|
||||
export const getPerfiles=state => state.login.perfiles;
|
||||
|
||||
export default loginSlice.reducer;
|
|
@ -39,7 +39,8 @@ export default defineConfig({
|
|||
"object-assign",
|
||||
"prop-types",
|
||||
"react-final-form",
|
||||
"final-form"
|
||||
"final-form",
|
||||
"lodash/memoize"
|
||||
],
|
||||
output: {
|
||||
globals: {
|
||||
|
@ -69,7 +70,8 @@ export default defineConfig({
|
|||
"object-assign": "ObjectAssign",
|
||||
"prop-types": "PropTypes",
|
||||
"react-final-form": "ReactFinalForm",
|
||||
"final-form": "FinalForm"
|
||||
"final-form": "FinalForm",
|
||||
"lodash/memoize": "LodashMemoize"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue