@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
|
@@ -2918,10 +2918,6 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
2918
2918
|
*/
|
|
2919
2919
|
function (index) {
|
|
2920
2920
|
this.resetFilters(index);
|
|
2921
|
-
this.filter.locationType = 'STATE';
|
|
2922
|
-
this.filter.state = null;
|
|
2923
|
-
this.filter.municipality = null;
|
|
2924
|
-
this.filter.colony = null;
|
|
2925
2921
|
this.applyAmenities();
|
|
2926
2922
|
this.filter.type = this.propertyTypeSelected.value;
|
|
2927
2923
|
switch (this.propertyTypeSelected.value) {
|
|
@@ -2932,6 +2928,10 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
2932
2928
|
this.filtersForm.controls['offering'].setValue(OfferingTypeEnum.SALE);
|
|
2933
2929
|
break;
|
|
2934
2930
|
}
|
|
2931
|
+
this.filter.locationType = 'STATE';
|
|
2932
|
+
this.filter.state = null;
|
|
2933
|
+
this.filter.municipality = null;
|
|
2934
|
+
this.filter.colony = null;
|
|
2935
2935
|
this.changeFilter.emit({ type: 'propertyType', payload: { filter: this.filter, value: this.filtersForm.value } });
|
|
2936
2936
|
};
|
|
2937
2937
|
/**
|
|
@@ -2947,8 +2947,6 @@ var FiltersComponent = /** @class */ (function () {
|
|
|
2947
2947
|
this.filter.state = null;
|
|
2948
2948
|
this.filter.municipality = null;
|
|
2949
2949
|
this.filter.colony = null;
|
|
2950
|
-
this.filtersForm.get('state').setValue('');
|
|
2951
|
-
this.filtersForm.get('state').markAsTouched();
|
|
2952
2950
|
this.filter.offering = (/** @type {?} */ (ev));
|
|
2953
2951
|
this.changeFilter.emit({ type: 'offer', payload: { filter: this.filter, value: this.filtersForm.value } });
|
|
2954
2952
|
};
|
|
@@ -7769,6 +7767,7 @@ var MarkersService = /** @class */ (function () {
|
|
|
7769
7767
|
price: listElement.price,
|
|
7770
7768
|
currency: listElement.currency,
|
|
7771
7769
|
url: listElement.url,
|
|
7770
|
+
type: listElement.type,
|
|
7772
7771
|
extras: {}
|
|
7773
7772
|
});
|
|
7774
7773
|
}
|