@fluxhub/fluxhub-lib 10.0.466 → 10.0.468
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/fluxhub-fluxhub-lib.umd.js +9 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhtimepicker.js +10 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -3545,9 +3545,10 @@
|
|
|
3545
3545
|
this.sc();
|
|
3546
3546
|
};
|
|
3547
3547
|
FHTimePickerComponent.prototype.upm = function () {
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3548
|
+
var tt = parseInt(this.m + '') + parseInt(this.step + '');
|
|
3549
|
+
console.log('upm ', this.m, parseInt(this.m + ''), tt);
|
|
3550
|
+
if (tt < 60) {
|
|
3551
|
+
this.m = tt;
|
|
3551
3552
|
}
|
|
3552
3553
|
this.sc();
|
|
3553
3554
|
};
|
|
@@ -3568,7 +3569,9 @@
|
|
|
3568
3569
|
if (this.m > 59) {
|
|
3569
3570
|
this.m = 59;
|
|
3570
3571
|
}
|
|
3571
|
-
this.m =
|
|
3572
|
+
this.m = Math.round(this.m / this.step) * this.step;
|
|
3573
|
+
if (this.m == 60)
|
|
3574
|
+
this.m = 60 - this.step;
|
|
3572
3575
|
this.sc();
|
|
3573
3576
|
};
|
|
3574
3577
|
FHTimePickerComponent.prototype.onKeyDown = function (event) {
|
|
@@ -3626,6 +3629,8 @@
|
|
|
3626
3629
|
var a = desc_val.split(":");
|
|
3627
3630
|
this.h = parseInt(a[0]);
|
|
3628
3631
|
this.m = Math.round(parseInt(a[1]) / this.step) * this.step;
|
|
3632
|
+
if (this.m == 60)
|
|
3633
|
+
this.m = 60 - this.step;
|
|
3629
3634
|
if (desc_val.length != 5) {
|
|
3630
3635
|
this.onChange(this.getValue());
|
|
3631
3636
|
}
|