@colijnit/corecomponents_v12 12.0.99 → 12.0.100
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/colijnit-corecomponents_v12.umd.js +5 -3
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +4 -3
- package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +2 -1
- package/esm2015/lib/core/model/bounds-constrained-number-value.js +3 -3
- package/fesm2015/colijnit-corecomponents_v12.js +5 -3
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/core/constant/default-upper-bound-for-range-components.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6970,6 +6970,7 @@
|
|
|
6970
6970
|
|
|
6971
6971
|
var JAVA_MAX_INT = 2147483647;
|
|
6972
6972
|
|
|
6973
|
+
var DEFAULT_LOWER_BOUND_FOR_RANGE_COMPONENTS = -JAVA_MAX_INT;
|
|
6973
6974
|
var DEFAULT_UPPER_BOUND_FOR_RANGE_COMPONENTS = JAVA_MAX_INT;
|
|
6974
6975
|
|
|
6975
6976
|
// A data type class that represents a stepped-bounds numerical value, with min max and step size. Value is always within these bounds and is auto corrected for incoming manipulation requests.
|
|
@@ -6980,7 +6981,7 @@
|
|
|
6980
6981
|
// the actual numeric current value, which we ensure always complies to our current min, max and step
|
|
6981
6982
|
this._value = 0;
|
|
6982
6983
|
this._valueAsString = "0";
|
|
6983
|
-
this._min =
|
|
6984
|
+
this._min = DEFAULT_LOWER_BOUND_FOR_RANGE_COMPONENTS;
|
|
6984
6985
|
this._max = DEFAULT_UPPER_BOUND_FOR_RANGE_COMPONENTS;
|
|
6985
6986
|
this._step = 1; // stepsize before the decimal.
|
|
6986
6987
|
this._stepDecimals = 0; // derived from step
|
|
@@ -7358,7 +7359,7 @@
|
|
|
7358
7359
|
},
|
|
7359
7360
|
// @override
|
|
7360
7361
|
set: function (model) {
|
|
7361
|
-
this.setValue(model, true);
|
|
7362
|
+
// this.setValue(model, true);
|
|
7362
7363
|
_super.prototype.model = model;
|
|
7363
7364
|
},
|
|
7364
7365
|
enumerable: false,
|
|
@@ -7410,7 +7411,8 @@
|
|
|
7410
7411
|
return true;
|
|
7411
7412
|
};
|
|
7412
7413
|
InputNumberPickerComponent.prototype.ngOnInit = function () {
|
|
7413
|
-
this.numberLogic.
|
|
7414
|
+
this.numberLogic.setValue(this.model, true);
|
|
7415
|
+
// this.numberLogic.init(true);
|
|
7414
7416
|
this._updateButtonsShowState();
|
|
7415
7417
|
};
|
|
7416
7418
|
InputNumberPickerComponent.prototype.ngOnDestroy = function () {
|