@maplander/components 0.21.40 → 0.21.42
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 +13 -8
- 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 +14 -9
- package/esm5/lib/components/filters/filters.component.js +14 -9
- package/fesm2015/maplander-components.js +13 -8
- package/fesm2015/maplander-components.js.map +1 -1
- package/fesm5/maplander-components.js +13 -8
- package/fesm5/maplander-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2899,6 +2899,7 @@
|
|
|
2899
2899
|
for (var _b = __values(this.stateOptions), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2900
2900
|
var stateOption = _c.value;
|
|
2901
2901
|
if (stateOption.name === this._lastState) {
|
|
2902
|
+
this.propertyTotal = stateOption.total;
|
|
2902
2903
|
this.filter.state = this._lastState;
|
|
2903
2904
|
this.filtersForm.patchValue({
|
|
2904
2905
|
state: this._lastState
|
|
@@ -3123,6 +3124,18 @@
|
|
|
3123
3124
|
if (this.surfaceUnitSelected === 1) {
|
|
3124
3125
|
filterToSearch.mainArea = filterToSearch.mainArea * this.METERS_TO_SQ;
|
|
3125
3126
|
}
|
|
3127
|
+
if (!this.filtersForm.controls['minPrice'].value) {
|
|
3128
|
+
this.filtersForm.controls['minPrice'].reset(0);
|
|
3129
|
+
this.filtersForm.patchValue({
|
|
3130
|
+
minPrice: 0
|
|
3131
|
+
});
|
|
3132
|
+
}
|
|
3133
|
+
if (!this.filtersForm.controls['minPrice'].value) {
|
|
3134
|
+
this.filtersForm.controls['minPrice'].reset(0);
|
|
3135
|
+
this.filtersForm.patchValue({
|
|
3136
|
+
maxPrice: 0
|
|
3137
|
+
});
|
|
3138
|
+
}
|
|
3126
3139
|
this.changeFilter.emit({ type: 'filter', payload: { filter: this.filter, value: filterToSearch } });
|
|
3127
3140
|
};
|
|
3128
3141
|
/**
|
|
@@ -3409,10 +3422,6 @@
|
|
|
3409
3422
|
*/
|
|
3410
3423
|
function (value) {
|
|
3411
3424
|
if (!value) {
|
|
3412
|
-
_this.filtersForm.controls['minPrice'].reset(0);
|
|
3413
|
-
_this.filtersForm.patchValue({
|
|
3414
|
-
minPrice: 0
|
|
3415
|
-
});
|
|
3416
3425
|
return;
|
|
3417
3426
|
}
|
|
3418
3427
|
_this.maxPriceList = Object.assign([], _this._tmpMaxPriceList);
|
|
@@ -3428,10 +3437,6 @@
|
|
|
3428
3437
|
*/
|
|
3429
3438
|
function (value) {
|
|
3430
3439
|
if (!value) {
|
|
3431
|
-
_this.filtersForm.controls['maxPrice'].reset(0);
|
|
3432
|
-
_this.filtersForm.patchValue({
|
|
3433
|
-
maxPrice: 0
|
|
3434
|
-
});
|
|
3435
3440
|
return;
|
|
3436
3441
|
}
|
|
3437
3442
|
_this.minPriceList = Object.assign([], _this._tmpMinPriceList);
|