@maplander/components 0.21.30 → 0.21.32
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/bundles/maplander-components.umd.js +5 -6
- package/bundles/maplander-components.umd.js.map +1 -1
- package/bundles/maplander-components.umd.min.js +1 -1
- package/bundles/maplander-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/filters/filters.component.js +5 -7
- package/esm2015/lib/services/markers/markers.service.js +2 -1
- package/esm5/lib/components/filters/filters.component.js +5 -7
- package/esm5/lib/services/markers/markers.service.js +2 -1
- package/fesm2015/maplander-components.js +5 -6
- package/fesm2015/maplander-components.js.map +1 -1
- package/fesm5/maplander-components.js +5 -6
- package/fesm5/maplander-components.js.map +1 -1
- package/lib/services/markers/markers.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2930,10 +2930,6 @@
|
|
|
2930
2930
|
*/
|
|
2931
2931
|
function (index) {
|
|
2932
2932
|
this.resetFilters(index);
|
|
2933
|
-
this.filter.locationType = 'STATE';
|
|
2934
|
-
this.filter.state = null;
|
|
2935
|
-
this.filter.municipality = null;
|
|
2936
|
-
this.filter.colony = null;
|
|
2937
2933
|
this.applyAmenities();
|
|
2938
2934
|
this.filter.type = this.propertyTypeSelected.value;
|
|
2939
2935
|
switch (this.propertyTypeSelected.value) {
|
|
@@ -2944,6 +2940,10 @@
|
|
|
2944
2940
|
this.filtersForm.controls['offering'].setValue(types.OfferingTypeEnum.SALE);
|
|
2945
2941
|
break;
|
|
2946
2942
|
}
|
|
2943
|
+
this.filter.locationType = 'STATE';
|
|
2944
|
+
this.filter.state = null;
|
|
2945
|
+
this.filter.municipality = null;
|
|
2946
|
+
this.filter.colony = null;
|
|
2947
2947
|
this.changeFilter.emit({ type: 'propertyType', payload: { filter: this.filter, value: this.filtersForm.value } });
|
|
2948
2948
|
};
|
|
2949
2949
|
/**
|
|
@@ -2959,8 +2959,6 @@
|
|
|
2959
2959
|
this.filter.state = null;
|
|
2960
2960
|
this.filter.municipality = null;
|
|
2961
2961
|
this.filter.colony = null;
|
|
2962
|
-
this.filtersForm.get('state').setValue('');
|
|
2963
|
-
this.filtersForm.get('state').markAsTouched();
|
|
2964
2962
|
this.filter.offering = (/** @type {?} */ (ev));
|
|
2965
2963
|
this.changeFilter.emit({ type: 'offer', payload: { filter: this.filter, value: this.filtersForm.value } });
|
|
2966
2964
|
};
|
|
@@ -7781,6 +7779,7 @@
|
|
|
7781
7779
|
price: listElement.price,
|
|
7782
7780
|
currency: listElement.currency,
|
|
7783
7781
|
url: listElement.url,
|
|
7782
|
+
type: listElement.type,
|
|
7784
7783
|
extras: {}
|
|
7785
7784
|
});
|
|
7786
7785
|
}
|