igniteui-angular 11.1.30 → 11.1.31
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/igniteui-angular.umd.js +13 -9
- package/bundles/igniteui-angular.umd.js.map +1 -1
- package/bundles/igniteui-angular.umd.min.js +1 -1
- package/bundles/igniteui-angular.umd.min.js.map +1 -1
- package/esm2015/lib/grids/state.directive.js +2 -2
- package/esm2015/lib/slider/slider.component.js +13 -9
- package/fesm2015/igniteui-angular.js +13 -9
- package/fesm2015/igniteui-angular.js.map +1 -1
- package/igniteui-angular.metadata.json +1 -1
- package/lib/slider/slider.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -64232,7 +64232,7 @@
|
|
|
64232
64232
|
expr_1.searchVal = new Set(expr_1.searchVal);
|
|
64233
64233
|
}
|
|
64234
64234
|
else {
|
|
64235
|
-
expr_1.searchVal = (dataType === 'date') ? new Date(Date.parse(expr_1.searchVal)) : expr_1.searchVal;
|
|
64235
|
+
expr_1.searchVal = expr_1.searchVal && (dataType === 'date') ? new Date(Date.parse(expr_1.searchVal)) : expr_1.searchVal;
|
|
64236
64236
|
}
|
|
64237
64237
|
expr_1.condition = this_1.generateFilteringCondition(dataType, expr_1.condition.name);
|
|
64238
64238
|
expressionsTree.filteringOperands.push(expr_1);
|
|
@@ -72359,7 +72359,9 @@
|
|
|
72359
72359
|
this._step = step;
|
|
72360
72360
|
if (this._hasViewInit) {
|
|
72361
72361
|
this.stepDistance = this.calculateStepDistance();
|
|
72362
|
-
this.normalizeByStep(this.
|
|
72362
|
+
this.normalizeByStep(this._value);
|
|
72363
|
+
this.setValue(this._value, true);
|
|
72364
|
+
this.positionHandlersAndUpdateTrack();
|
|
72363
72365
|
this.setTickInterval();
|
|
72364
72366
|
}
|
|
72365
72367
|
},
|
|
@@ -72634,13 +72636,11 @@
|
|
|
72634
72636
|
* ```
|
|
72635
72637
|
*/
|
|
72636
72638
|
set: function (value) {
|
|
72639
|
+
this.normalizeByStep(value);
|
|
72637
72640
|
if (this._hasViewInit) {
|
|
72638
|
-
this.setValue(
|
|
72641
|
+
this.setValue(this._value, true);
|
|
72639
72642
|
this.positionHandlersAndUpdateTrack();
|
|
72640
72643
|
}
|
|
72641
|
-
else {
|
|
72642
|
-
this._value = value;
|
|
72643
|
-
}
|
|
72644
72644
|
},
|
|
72645
72645
|
enumerable: false,
|
|
72646
72646
|
configurable: true
|
|
@@ -72914,6 +72914,9 @@
|
|
|
72914
72914
|
this._maxValue = changes.maxValue.currentValue;
|
|
72915
72915
|
this._minValue = changes.minValue.currentValue;
|
|
72916
72916
|
}
|
|
72917
|
+
if (changes.step && changes.step.isFirstChange()) {
|
|
72918
|
+
this.normalizeByStep(this._value);
|
|
72919
|
+
}
|
|
72917
72920
|
};
|
|
72918
72921
|
/**
|
|
72919
72922
|
* @hidden
|
|
@@ -72972,6 +72975,8 @@
|
|
|
72972
72975
|
return;
|
|
72973
72976
|
}
|
|
72974
72977
|
this.normalizeByStep(value);
|
|
72978
|
+
this.setValue(this._value, false);
|
|
72979
|
+
this.positionHandlersAndUpdateTrack();
|
|
72975
72980
|
};
|
|
72976
72981
|
/**
|
|
72977
72982
|
* @hidden
|
|
@@ -73236,15 +73241,14 @@
|
|
|
73236
73241
|
*/
|
|
73237
73242
|
IgxSliderComponent.prototype.normalizeByStep = function (value) {
|
|
73238
73243
|
if (this.isRange) {
|
|
73239
|
-
this.
|
|
73244
|
+
this._value = {
|
|
73240
73245
|
lower: value.lower - (value.lower % this.step),
|
|
73241
73246
|
upper: value.upper - (value.upper % this.step)
|
|
73242
73247
|
};
|
|
73243
73248
|
}
|
|
73244
73249
|
else {
|
|
73245
|
-
this.
|
|
73250
|
+
this._value = value - (value % this.step);
|
|
73246
73251
|
}
|
|
73247
|
-
this._cdr.detectChanges();
|
|
73248
73252
|
};
|
|
73249
73253
|
IgxSliderComponent.prototype.updateTrack = function () {
|
|
73250
73254
|
var fromPosition = this.valueToFraction(this.lowerValue);
|