homeflowjs 1.0.92 → 1.0.94
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.
package/Jenkinsfile
CHANGED
package/package.json
CHANGED
|
@@ -32,6 +32,7 @@ class PropertyMap extends React.Component {
|
|
|
32
32
|
mapTypeControl,
|
|
33
33
|
scrollWheel,
|
|
34
34
|
zoom,
|
|
35
|
+
zoomControl,
|
|
35
36
|
disableStreetview,
|
|
36
37
|
custom,
|
|
37
38
|
iconConfig,
|
|
@@ -45,6 +46,7 @@ class PropertyMap extends React.Component {
|
|
|
45
46
|
mapTypeControl,
|
|
46
47
|
scrollWheel,
|
|
47
48
|
zoom,
|
|
49
|
+
zoomControl,
|
|
48
50
|
streetViewControl: !disableStreetview,
|
|
49
51
|
mapId: 'HF_PROPERTY_MAP',
|
|
50
52
|
};
|
|
@@ -111,6 +113,7 @@ PropertyMap.propTypes = {
|
|
|
111
113
|
scrollWheel: PropTypes.bool,
|
|
112
114
|
custom: PropTypes.oneOf(['simple_bw', null]),
|
|
113
115
|
zoom: PropTypes.number,
|
|
116
|
+
zoomControl: PropTypes.bool,
|
|
114
117
|
disableStreetview: PropTypes.bool,
|
|
115
118
|
initGoogleMaps: PropTypes.func.isRequired,
|
|
116
119
|
google: PropTypes.bool,
|
|
@@ -125,6 +128,7 @@ PropertyMap.defaultProps = {
|
|
|
125
128
|
scrollWheel: false,
|
|
126
129
|
custom: null,
|
|
127
130
|
zoom: 15,
|
|
131
|
+
zoomControl: false,
|
|
128
132
|
disableStreetview: false,
|
|
129
133
|
google: false,
|
|
130
134
|
iconConfig: null,
|
|
@@ -14,13 +14,20 @@ const SortOrderSelect = (props) => {
|
|
|
14
14
|
reactSelect,
|
|
15
15
|
className,
|
|
16
16
|
defaultSort,
|
|
17
|
+
propertiesForBranch
|
|
17
18
|
} = props;
|
|
18
19
|
|
|
19
20
|
const { sorted } = search;
|
|
20
21
|
|
|
21
22
|
if (reactSelect) {
|
|
22
23
|
const handleChange = ({ value }) => {
|
|
23
|
-
const newSearch = {
|
|
24
|
+
const newSearch = {
|
|
25
|
+
...search,
|
|
26
|
+
page: null,
|
|
27
|
+
...(propertiesForBranch && {
|
|
28
|
+
branch_id: propertiesForBranch,
|
|
29
|
+
})
|
|
30
|
+
};
|
|
24
31
|
newSearch.sorted = value;
|
|
25
32
|
|
|
26
33
|
propertySearch(newSearch);
|
|
@@ -69,6 +76,12 @@ const SortOrderSelect = (props) => {
|
|
|
69
76
|
SortOrderSelect.propTypes = {
|
|
70
77
|
defaultSort: PropTypes.string,
|
|
71
78
|
reactSelect: PropTypes.bool,
|
|
79
|
+
search: PropTypes.shape({}),
|
|
80
|
+
propertiesForBranch: PropTypes.number,
|
|
81
|
+
children: PropTypes.node,
|
|
82
|
+
className: PropTypes.string,
|
|
83
|
+
styles: PropTypes.object,
|
|
84
|
+
dispatch: PropTypes.func,
|
|
72
85
|
};
|
|
73
86
|
|
|
74
87
|
SortOrderSelect.defaultProps = {
|