Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value: 750000,
title: formatter(750000),
},
{
value: 1000000,
title: formatter(1000000),
},
{
value: 2000000,
title: formatter(2000000),
},
],
max: [
{
value: 10000,
title: formatter(10000),
},
{
value: 25000,
title: formatter(25000),
},
{
value: 50000,
title: formatter(50000),
},
{
value: 100000,
title: formatter(100000),
},
{
value: 250000,
title: formatter(250000),
},
{
value: 50000,
title: formatter(50000),
},
{
value: 100000,
title: formatter(100000),
},
{
value: 250000,
title: formatter(250000),
},
{
value: 500000,
title: formatter(500000),
},
{
value: 750000,
title: formatter(750000),
},
{
value: 1000000,
title: formatter(1000000),
},
{
value: 2000000,
title: formatter(2000000),
},
],
}}
/>
function getFormated(value, format, sign = '', dec = 2) {
if (format === 'fullPrice') {
return `${sign}${numberWithSpaces(value.toFixed(dec))}`;
}
if (format === 'formatter') {
return formatter(value, sign);
}
return `${sign}${numberWithSpaces(toShort(value))}`;
}
},
{
value: 250000,
title: formatter(250000),
},
{
value: 500000,
title: formatter(500000),
},
{
value: 750000,
title: formatter(750000),
},
{
value: 1000000,
title: formatter(1000000),
},
{
value: 2000000,
title: formatter(2000000),
},
],
max: [
{
value: 10000,
title: formatter(10000),
},
{
value: 25000,
title: formatter(25000),
},
{
},
{
value: 100000,
title: formatter(100000),
},
{
value: 250000,
title: formatter(250000),
},
{
value: 500000,
title: formatter(500000),
},
{
value: 750000,
title: formatter(750000),
},
{
value: 1000000,
title: formatter(1000000),
},
{
value: 2000000,
title: formatter(2000000),
},
],
}}
/>
));
};
value: 1000000,
title: formatter(1000000),
},
{
value: 2000000,
title: formatter(2000000),
},
],
max: [
{
value: 10000,
title: formatter(10000),
},
{
value: 25000,
title: formatter(25000),
},
{
value: 50000,
title: formatter(50000),
},
{
value: 100000,
title: formatter(100000),
},
{
value: 250000,
title: formatter(250000),
},
{
value: 500000,
title: formatter(500000),
max: [
{
value: 10000,
title: formatter(10000),
},
{
value: 25000,
title: formatter(25000),
},
{
value: 50000,
title: formatter(50000),
},
{
value: 100000,
title: formatter(100000),
},
{
value: 250000,
title: formatter(250000),
},
{
value: 500000,
title: formatter(500000),
},
{
value: 750000,
title: formatter(750000),
},
{
value: 1000000,
title: formatter(1000000),
stats={[
3, 45, 2, 15, 80, 50, 20, 10, 15, 15, 31, 12, 50, 88, 68, 48,
]}
quickValues={{
min: [
{
value: 10000,
title: formatter(10000),
},
{
value: 25000,
title: formatter(25000),
},
{
value: 50000,
title: formatter(50000),
},
{
value: 100000,
title: formatter(100000),
},
{
value: 250000,
title: formatter(250000),
},
{
value: 500000,
title: formatter(500000),
},
{
value: 750000,
title: formatter(750000),
render() {
const {
i18, List, listStore, show, ...props
} = this.props;
return (
listStore.setSearch(get(e, 'target.value', e))}
value={listStore.search || ''}
canClear={!!listStore.search}
onClear={() => listStore.setSearch(null)}
actions={show.filterButton && }
placeholder={i18.t('lskList.searchPlaceholder')}
{...props}
/>
);
}
}