{"version":3,"sources":["redux/actions/types.js","redux/reducers/InmuebleReducer.js","redux/reducers/userReducer.js","redux/reducers/rootReducer.js","redux/store.js","services/index.js","redux/actions/inmuebleActions.js","components/TopBar.js","img/logo.png","components/NavMenu.js","components/InmuebleFiltro.js","helpers/index.js","components/InmuebleItem.js","img/defaultInmueble.jpg","components/MostrarError.jsx","components/modalShareLink.js","views/detallesInmueble.js","views/modalInmueble.js","components/Layout.js","redux/actions/userActions.js","App.js","index.js"],"names":["userTypes","inmuebleTypes","_PENDING","_REJECTED","_FULFILLED","initialState","list","byId","isFetching","isPending","fulfilled","error","showModal","data","combineReducers","user","state","action","type","payload","response","status","inmuebles","results","filter","e","inmId","new","unshift","showDetailsModal","inmEstado","estEstado","inmEstadoDescripcion","estDescripcion","id","totalRecordCount","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","store","createStore","rootReducer","applyMiddleware","promise","thunk","API","require","create","baseURL","headers","getInmuebles","params","get","getUser","userName","mostrarInmuebleById","dispatch","parseInt","interceptors","use","Promise","reject","connect","auth","withRouter","props","className","onClick","onToggle","placeholder","name","value","searcValue","onChange","onSearch","aria-hidden","src","usuAvatar","logo","alt","Object","keys","length","usuNombres","usuApellidos","children","InmuebleFiltro","tipo","numHab","numBanos","estado","precioMin","precioMax","asp-action","submit","reset","currency","valor","country","countryCode","localMoneda","localStorage","getItem","monedas","Intl","NumberFormat","forEach","toLocaleString","style","toFixed","replace","InmuebleItem","item","backgroundImage","urlImage","inmReferencia","inmDescripcion","substr","inmPrecioAlquiler","paiCodeMoneda","inmPrecioVenta","OverlayTrigger","placement","overlay","Tooltip","inmHabitaciones","Button","variant","size","inmBanos","inmEstacionamientos","inmAreaConstruida","inmAreaTotal","MostrarError","errors","fixed","useState","mensaje","setMensaje","errorsList","setErrorsList","useEffect","title","errores","contrato","inquilino","Inquilino","Contrato","Alert","show","onClose","dismissible","map","key","join","styleInput","border","width","background","color","padding","ModalShareLink","setShow","link","btnText","Modal","onHide","centered","Header","closeButton","Title","defaultValue","readOnly","Body","href","target","rel","document","getElementById","select","execCommand","textContent","InmuebleDetalles","zoomImg","bind","toggleForm","handleSubmit","handleChange","showAlert","msjSent","showForm","sendingMsj","captcha","form","nombre","telefono","comentario","this","match","urlId","setState","prevState","event","preventDefault","obj","inmueble","cleanObj","_","omitBy","v","post","then","catch","console","log","finally","adjuntos","images","adj","fileExt","elements","url","GLightbox","open","inmTipoDescripcion","inmAnoConstruccion","inmDirCalle","inmDirNumeroCalle","inmDirResidencial","inmDirApartamento","inmDirSector","inmDirCiudad","inmDirProvincia","caracteristicas","dir","to","Carousel","i","Item","descripcion","car","carDescripcion","carId","onSubmit","required","disabled","Component","USER","location","pathname","split","ModalInmueble","onCloseModal","Layout","drawerToggle","classList","toggle","querySelector","outerWidth","inputFilterChange","getItems","resetFilter","loading","view","page","banos","mostrarUsuario","mostrarInmuebles","pageNumber","isEmpty","opacity","pageCount","innerclassName","activePage","itemsCountPerPage","pageSize","totalItemsCount","handlePageChange","itemclassName","linkclassName","hideFirstLastPages","toggleModal","getState","App","path","component","exact","DetallesInmueble","rootElement","ReactDOM","render"],"mappings":"sNAIaA,EACQ,kBAGRC,EACU,oBADVA,EAEgB,0BAFhBA,EAGgB,0BAHhBA,EAIU,qBAJVA,EAKkB,4BALlBA,EAMgB,0BANhBA,EAOc,wBAKdC,EAAW,WACXC,EAAY,YACZC,EAAa,aCpBpBC,EAAe,CACjBC,KAAM,GACNC,KAAM,GACNC,YAAY,EACZC,WAAW,EACXC,WAAW,EACXC,MAAO,GACPC,WAAW,GCPTP,EAAe,CACjBC,KAAM,GACNO,KAAM,GACNL,YAAY,EACZG,MAAO,ICDIG,cAAgB,CAC3BC,KDEW,WAAwC,IAAvCC,EAAsC,uDAA9BX,EAAcY,EAAgB,uDAAP,GAC3C,OAAQA,EAAOC,MACX,KAAKlB,EAA4BE,EAC7B,OAAO,2BACAc,GADP,IAEIR,YAAY,EACZK,KAAM,GACNF,MAAO,KAGf,K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K","file":"static/js/main.edd0360a.chunk.js","sourcesContent":["\r\nexport const SET_CURRENT_USER = 'SET_CURRENT_USER';\r\nexport const CHANGE_CURRENT_USER_INFO = 'CHANGE_CURRENT_USER_INFO';\r\n\r\nexport const userTypes = {\r\n MOSTRAR_USUARIO: 'MOSTRAR_USUARIO',\r\n\r\n}\r\nexport const inmuebleTypes = {\r\n MOSTRAR_INMUEBLES: 'MOSTRAR_INMUEBLES',\r\n MOSTRAR_INMUEBLE_POR_ID: 'MOSTRAR_INMUEBLE_POR_ID',\r\n AGREGAR_EDITAR_INMUEBLE: 'AGREGAR_EDITAR_INMUEBLE',\r\n ELIMINAR_INMUEBLE: 'ELIMINAR_INMUEBLES',\r\n MOSTRAR_INMUEBLE_DETALLES: 'MOSTRAR_INMUEBLE_DETALLES',\r\n CAMBIAR_INMUEBLE_ESTADO: 'CAMBIAR_INMUEBLE_ESTADO',\r\n TOGGLE_MODAL_INMUEBLE: 'TOGGLE_MODAL_INMUEBLE',\r\n\r\n}\r\n\r\n//COMPARTIDOS\r\nexport const _PENDING = '_PENDING';\r\nexport const _REJECTED = '_REJECTED';\r\nexport const _FULFILLED = '_FULFILLED';","import {inmuebleTypes, _PENDING, _REJECTED, _FULFILLED} from '../actions/types';\r\n \r\nconst initialState = {\r\n list: {},\r\n byId: {},\r\n isFetching: false,\r\n isPending: false,\r\n fulfilled: false,\r\n error: {},\r\n showModal: false\r\n}\r\nexport default (state = initialState, action = {}) => {\r\n switch (action.type) {\r\n case inmuebleTypes.MOSTRAR_INMUEBLES + _PENDING: {\r\n return {\r\n ...state,\r\n isFetching: true,\r\n fulfilled: false, \r\n byId: {},\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLES + _FULFILLED: {\r\n return {\r\n ...state,\r\n list: action.payload.data,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLES + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: { data, status}\r\n }\r\n }\r\n //toggle Modal\r\n case inmuebleTypes.TOGGLE_MODAL_INMUEBLE: {\r\n return {\r\n ...state,\r\n showModal: !state.showModal,\r\n byId: action.payload? action.payload: {},\r\n error: {}\r\n }\r\n }\r\n //mostrar por id\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID + _PENDING: {\r\n return {\r\n ...state,\r\n isFetching: true,\r\n fulfilled: false, \r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID + _FULFILLED: {\r\n return {\r\n ...state,\r\n byId: action.payload.data,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: { data, status }\r\n }\r\n }\r\n //agregar o editar\r\n case inmuebleTypes.AGREGAR_EDITAR_INMUEBLE + _PENDING: {\r\n return {\r\n ...state,\r\n fulfilled: false, \r\n isPending: true,\r\n byId:{},\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.AGREGAR_EDITAR_INMUEBLE + _FULFILLED: {\r\n const { data } = action.payload;\r\n let list = state.list;\r\n list.results?\r\n list.results = list.results.filter(e => e.inmId !== data.inmId): list.results = [];\r\n data.new = true\r\n //var list = state.list.filter(e => e.carId !== data.carId)\r\n list.results.unshift(data)\r\n\r\n return {\r\n ...state,\r\n // list,\r\n fulfilled: true, \r\n isPending: false,\r\n showDetailsModal: false,\r\n byId: data,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.AGREGAR_EDITAR_INMUEBLE + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isPending: false,\r\n isFetching: false,\r\n error: { data, status }\r\n }\r\n }\r\n //Cambiar Estado\r\n case inmuebleTypes.CAMBIAR_INMUEBLE_ESTADO + _PENDING: {\r\n return {\r\n ...state,\r\n fulfilled: false,\r\n isPending: true,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.CAMBIAR_INMUEBLE_ESTADO + _FULFILLED: {\r\n const { data } = action.payload;\r\n let byId = state.byId;\r\n if (byId.inmId && byId.inmId === data.inmId){\r\n byId.inmEstado = data.estEstado;\r\n byId.inmEstadoDescripcion = data.estDescripcion;\r\n }\r\n // list.results ?\r\n // list.results = list.results.filter(e => e.inmId !== data.inmId) : list.results = [];\r\n // data.new = true\r\n // //var list = state.list.filter(e => e.carId !== data.carId)\r\n // list.results.unshift(data)\r\n\r\n return {\r\n ...state,\r\n // list,\r\n byId,\r\n fulfilled: true,\r\n isPending: false,\r\n isFetching: false,\r\n showDetailsModal: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.CAMBIAR_INMUEBLE_ESTADO + _REJECTED: {\r\n const { data, status } = action.payload.response || { data: \"Error no definido\" };\r\n return {\r\n ...state,\r\n isPending: false,\r\n isFetching: false,\r\n error: { data, status }\r\n }\r\n }\r\n //Eliminar\r\n\r\n case inmuebleTypes.ELIMINAR_INMUEBLE + _FULFILLED: {\r\n const { data: id } = action.payload;\r\n let list = state.list\r\n list.results = list.results.filter(e => e.inmId !== id)\r\n --list.totalRecordCount\r\n return {\r\n ...state,\r\n list,\r\n isPending: false,\r\n showDetailsModal: false,\r\n byId:{},\r\n error: {}\r\n }\r\n }\r\n \r\n //modal details\r\n\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_DETALLES + _FULFILLED: {\r\n const { data } = action.payload;\r\n return {\r\n ...state,\r\n showDetailsModal: true,\r\n byId: data\r\n }\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n","import {userTypes, _PENDING, _REJECTED, _FULFILLED} from '../actions/types';\r\n \r\nconst initialState = {\r\n list: {},\r\n data: {},\r\n isFetching: false,\r\n error: {},\r\n}\r\nexport default (state = initialState, action = {}) => {\r\n switch (action.type) {\r\n case userTypes.MOSTRAR_USUARIO + _PENDING: {\r\n return {\r\n ...state,\r\n isFetching: true,\r\n data: {},\r\n error: {}\r\n }\r\n }\r\n case userTypes.MOSTRAR_USUARIO + _FULFILLED: {\r\n return {\r\n ...state,\r\n data: action.payload.data,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case userTypes.MOSTRAR_USUARIO + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: { data, status}\r\n }\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n","import { combineReducers } from 'redux';\r\nimport inmuebles from './InmuebleReducer';\r\nimport user from './userReducer';\r\n\r\n\r\nexport default combineReducers({\r\n user,\r\n inmuebles\r\n});","import { createStore, applyMiddleware,compose } from 'redux';\r\nimport thunk from 'redux-thunk';\r\nimport rootReducer from './reducers/rootReducer';\r\nimport promise from \"redux-promise-middleware\";\r\n\r\n\r\nconst inititalState = {};\r\n\r\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\r\nconst store = createStore(rootReducer, inititalState, composeEnhancers(\r\n applyMiddleware(promise, thunk)\r\n ));\r\n\r\nexport default store;\r\n","const axios = require('axios');\r\n//var online = window.navigator.onLine;\r\n\r\nconst base_url = \"https://api.gestinmueble.com/\"\r\nexport const API = axios.create({\r\n baseURL: base_url,\r\n // timeout: 1000,\r\n headers: {\r\n 'contentType': 'application/json; charset=utf-8',\r\n 'Key': '2B48009E-0E67-40DD-ABDE-0A3C182E6165'\r\n\r\n // 'Authorization': 'Bearer '+ getIdToken(),\r\n }\r\n})\r\nAPI.interceptors.response.use(function (response) {\r\n //console.log(response.data)\r\n //PouchDB_AddCliente(response.data)\r\n return response;\r\n \r\n}, function (error) {\r\n return Promise.reject(error);\r\n});\r\n\r\n//Inmuebles\r\nexport function getInmuebles(params) {\r\n if(typeof params == 'number'){\r\n return API.get(`Publico/Inmuebles/${params}`);\r\n }else{\r\n return API.get('Publico/Inmuebles',{params});\r\n }\r\n}\r\n//usuarios\r\nexport function getUser(userName) {\r\n return API.get('/Publico/Usuario/' + userName);\r\n}\r\n//solicitud\r\nexport function sentMsj(obj) {\r\n return API.post('/Publico/Solicitud', obj);\r\n}","import {inmuebleTypes} from './types';\r\nimport {getInmuebles} from '../../services';\r\n\r\n\r\nexport function mostrarInmuebles(obj) {\r\n return (dispatch) => {\r\n // if (Object.keys(getState().inmuebles.list).length) return false;\r\n dispatch({\r\n type: inmuebleTypes.MOSTRAR_INMUEBLES,\r\n payload: getInmuebles(obj)\r\n })\r\n }\r\n}\r\nexport function mostrarInmuebleById(params) {\r\n return dispatch => {\r\n if(params.inmId)\r\n dispatch({ type: inmuebleTypes.TOGGLE_MODAL_INMUEBLE, payload:params });\r\n\r\n dispatch({\r\n type: inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID,\r\n payload: getInmuebles(params.inmId ? params.inmId : parseInt(params))\r\n })\r\n }\r\n}\r\nexport function toggleModal() {\r\n return (dispatch) => {\r\n dispatch({ type: inmuebleTypes.TOGGLE_MODAL_INMUEBLE })\r\n }\r\n}\r\n","import React from 'react';\r\nimport { compose } from 'redux';\r\nimport { connect } from 'react-redux';\r\n\r\nimport { withRouter } from 'react-router-dom';\r\n\r\n\r\nfunction TopBar(props){\r\n return (\r\n \r\n );\r\n}\r\nconst mapStateToprops = (state) => ({\r\n auth: state.auth\r\n })\r\nexport default compose( connect(mapStateToprops )(withRouter(TopBar)));\r\n \r\n ","export default __webpack_public_path__ + \"static/media/logo.2ab3f61d.png\";","import React from 'react';\r\nimport { compose } from 'redux';\r\nimport { connect } from 'react-redux';\r\nimport logo from \"../img/logo.png\"\r\nfunction NavMenu(props) {\r\n // const [mantMenu, setMantMenu] = useState(false);\r\n const {user, isFetching} = props\r\n return (\r\n <>\r\n
\r\n \r\n >\r\n );\r\n}\r\nconst mapStateToprops = (state) => ({\r\n user: state.user.data,\r\n isFetching: state.user.isFetching\r\n})\r\nexport default compose(connect(mapStateToprops))(NavMenu);\r\n\r\n","import React from 'react';\r\n\r\nimport \"../sass/components/imuebleItem.scss\"\r\nexport default function InmuebleFiltro(props) {\r\n const { tipo, name, numHab, numBanos, estado, precioMin, precioMax } = props.value;\r\n\r\n return (\r\n \r\n );\r\n}\r\n","import moment from \"moment\";\r\n//import 'moment/locale/es-do';\r\nimport Swal from 'sweetalert2'\r\n\r\nexport function currency(value = 0, country) {\r\n let countryCode = country;\r\n let valor;\r\n const localMoneda = localStorage.getItem('moneda');\r\n\r\n if (!country && localMoneda){\r\n countryCode = localMoneda\r\n }\r\n const monedas = [\r\n [\"es-DO\", \"DOP\"],\r\n [\"en-US\", \"USA\"],\r\n [\"es-ES\", \"EUR\"],\r\n [\"es-BO\", \"BOB\"],\r\n [\"es-CO\", \"COP\"],\r\n [\"es-CR\", \"CRC\"],\r\n [\"es-PY\", \"PYG\"],\r\n [\"es-GT\", \"GTQ\"],\r\n [\"es-VE\", \"VES\"],\r\n [\"es-PE\", \"PEN\"],\r\n [\"es-HN\", \"HNL\"],\r\n [\"es-NI\", \"NIO\"],\r\n [\"es-PA\", \"PAB\"],\r\n [\"es-MX\", \"MXN\"],\r\n [\"es-AR\", \"ARS\"],\r\n [\"es-CL\", \"CLP\"],\r\n [\"es-UY\", \"UYU\"]\r\n ]\r\n if (countryCode && typeof Intl == 'object' && typeof Intl.NumberFormat == 'function'){\r\n monedas.forEach(e => {\r\n if (e[0] === countryCode) {\r\n valor = value.toLocaleString(countryCode, {\r\n style: 'currency',\r\n currency: e[1],\r\n });\r\n }\r\n })\r\n }else{\r\n valor = '$' + parseInt(value)\r\n .toFixed(1)\r\n .replace(/(\\d)(?=(\\d{3})+\\.)/g, '$1,')\r\n }\r\n\r\n return valor;\r\n}\r\nexport function showMsj(msj) { \r\n Swal.fire({\r\n text: msj,\r\n showCloseButton: true,\r\n showConfirmButton: false,\r\n })\r\n}\r\nexport function doneMsj(msj, type) {\r\n const Toast = Swal.mixin({\r\n toast: true,\r\n position: 'bottom-end',\r\n // animation: false,\r\n showConfirmButton: false,\r\n timer: 5000\r\n })\r\n\r\n Toast.fire({\r\n type: 'success',\r\n title: msj\r\n })\r\n // Swal.fire({\r\n // type: 'success',\r\n // text: msj,\r\n // showCloseButton: true,\r\n // showConfirmButton: false,\r\n // })\r\n}\r\nexport function date(date, format = 'DD/MM/YYYY') { //h:mm a\r\n if(!date)\r\n date = Date.now();\r\n return moment(date).format(format);\r\n}\r\n// open new windows\r\nexport function openNewWindows(url, width, height) {\r\n\r\n if (url.length > 3) {\r\n var W_width = parseInt(width, 10) > 0 ? parseInt(width, 10) : 1061;\r\n var W_height = parseInt(height, 10) > 0 ? parseInt(height, 10) : 850;\r\n\r\n var center_left = (window.screen.width / 2) - (W_width / 2);\r\n var center_top = (window.screen.height / 2) - (W_width / 2);\r\n try {\r\n var my_window = window.open(url, \"Title\", \"directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=1, width=\" + W_width + \", height=\" + W_height + \", left=\" + center_left + \", top=\" + center_top);\r\n if (my_window)\r\n my_window.focus();\r\n }\r\n catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n\r\n}\r\nexport function nullTostring(obj) {\r\n Object.keys(obj).forEach(function (key) {\r\n if (obj[key] === null) {\r\n obj[key] = '';\r\n }\r\n })\r\n return obj;\r\n}","import React from 'react';\r\nimport { Button, OverlayTrigger, Tooltip } from 'react-bootstrap';\r\nimport { currency } from '../helpers';\r\nimport \"../sass/components/imuebleItem.scss\"\r\n\r\nimport defaultInmueble from '../img/defaultInmueble.jpg';\r\n\r\nexport default function InmuebleItem(props){\r\n const { item } = props;\r\n // var backgroundImage = {\r\n // backgroundImage: \"url(\" + { Background } + \")\"\r\n // };\r\n return (\r\n{item.inmDescripcion && item.inmDescripcion.substr(0, 86)}...
\r\n\r\n {!!item.inmPrecioAlquiler &&Tipo: {inmTipoDescripcion} / Código: {inmReferencia}
\r\n{inmDescripcion}
\r\n\r\n {!!inmPrecioAlquiler &&{dir}
\r\n }\r\n