ps-toolkit-ui 1.3.49 → 1.3.52
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/ps-toolkit-ui.umd.js +15 -9
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/car/form.car.component.js +12 -10
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +14 -9
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4761,6 +4761,7 @@
|
|
|
4761
4761
|
};
|
|
4762
4762
|
};
|
|
4763
4763
|
FormPlaqueComponent.prototype.changeFocus = function (p, a) {
|
|
4764
|
+
console.log('changeFocus', p, a);
|
|
4764
4765
|
if (this.inp.type === exports.InputType.Plaque) {
|
|
4765
4766
|
if (p === 'Part1') {
|
|
4766
4767
|
if (a === 'Tab' || a === 'Enter') {
|
|
@@ -4816,7 +4817,9 @@
|
|
|
4816
4817
|
};
|
|
4817
4818
|
FormPlaqueComponent.prototype.onFocusIn = function (e) {
|
|
4818
4819
|
if (e === void 0) { e = null; }
|
|
4820
|
+
console.log('onFocusIn');
|
|
4819
4821
|
if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
|
|
4822
|
+
console.log('this.part1.focus');
|
|
4820
4823
|
this.part1.focus();
|
|
4821
4824
|
}
|
|
4822
4825
|
};
|
|
@@ -6667,15 +6670,18 @@
|
|
|
6667
6670
|
this.onFocusIn();
|
|
6668
6671
|
};
|
|
6669
6672
|
FormCarComponent.prototype.onFocusIn = function () {
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6673
|
+
var _this = this;
|
|
6674
|
+
setTimeout(function () {
|
|
6675
|
+
if (_this.type === exports.VehicleType.Car) {
|
|
6676
|
+
_this.car.focus();
|
|
6677
|
+
}
|
|
6678
|
+
else if (_this.type === exports.VehicleType.CarF) {
|
|
6679
|
+
_this.carF.focus();
|
|
6680
|
+
}
|
|
6681
|
+
else if (_this.type === exports.VehicleType.Motorcycle) {
|
|
6682
|
+
_this.motor.focus();
|
|
6683
|
+
}
|
|
6684
|
+
}, 3000);
|
|
6679
6685
|
};
|
|
6680
6686
|
return FormCarComponent;
|
|
6681
6687
|
}());
|