ps-toolkit-ui 1.3.55 → 1.3.56
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 +9 -18
- 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 +10 -12
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +1 -4
- package/esm2015/lib/components/form/select/form.select.component.js +1 -4
- package/fesm2015/ps-toolkit-ui.js +9 -17
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4761,7 +4761,6 @@
|
|
|
4761
4761
|
};
|
|
4762
4762
|
};
|
|
4763
4763
|
FormPlaqueComponent.prototype.changeFocus = function (p, a) {
|
|
4764
|
-
console.log('changeFocus', p, a);
|
|
4765
4764
|
if (this.inp.type === exports.InputType.Plaque) {
|
|
4766
4765
|
if (p === 'Part1') {
|
|
4767
4766
|
if (a === 'Tab' || a === 'Enter') {
|
|
@@ -4817,9 +4816,7 @@
|
|
|
4817
4816
|
};
|
|
4818
4817
|
FormPlaqueComponent.prototype.onFocusIn = function (e) {
|
|
4819
4818
|
if (e === void 0) { e = null; }
|
|
4820
|
-
console.log('onFocusIn');
|
|
4821
4819
|
if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
|
|
4822
|
-
console.log('this.part1.focus');
|
|
4823
4820
|
this.part1.focus();
|
|
4824
4821
|
}
|
|
4825
4822
|
};
|
|
@@ -5111,7 +5108,6 @@
|
|
|
5111
5108
|
var code = e.keyCode || e.which;
|
|
5112
5109
|
if (code === 9) {
|
|
5113
5110
|
e.preventDefault();
|
|
5114
|
-
console.log('00000 onKeyDown');
|
|
5115
5111
|
this.cI(e.shiftKey ? 'ShiftTab' : 'Tab');
|
|
5116
5112
|
}
|
|
5117
5113
|
else if (code === 13) {
|
|
@@ -5124,7 +5120,6 @@
|
|
|
5124
5120
|
this.selectOption(h.value);
|
|
5125
5121
|
}
|
|
5126
5122
|
else {
|
|
5127
|
-
console.log('00000else onKeyDown');
|
|
5128
5123
|
this.cI('Tab');
|
|
5129
5124
|
}
|
|
5130
5125
|
}
|
|
@@ -5205,7 +5200,6 @@
|
|
|
5205
5200
|
}
|
|
5206
5201
|
}
|
|
5207
5202
|
if (!isEdit && !this.inp.multiple) {
|
|
5208
|
-
console.log('00000 selectOption');
|
|
5209
5203
|
this.cI('Tab');
|
|
5210
5204
|
}
|
|
5211
5205
|
};
|
|
@@ -6673,18 +6667,15 @@
|
|
|
6673
6667
|
this.onFocusIn();
|
|
6674
6668
|
};
|
|
6675
6669
|
FormCarComponent.prototype.onFocusIn = function () {
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
_this.motor.focus();
|
|
6686
|
-
}
|
|
6687
|
-
}, 3000);
|
|
6670
|
+
if (this.type === exports.VehicleType.Car) {
|
|
6671
|
+
this.car.focus();
|
|
6672
|
+
}
|
|
6673
|
+
else if (this.type === exports.VehicleType.CarF) {
|
|
6674
|
+
this.carF.focus();
|
|
6675
|
+
}
|
|
6676
|
+
else if (this.type === exports.VehicleType.Motorcycle) {
|
|
6677
|
+
this.motor.focus();
|
|
6678
|
+
}
|
|
6688
6679
|
};
|
|
6689
6680
|
return FormCarComponent;
|
|
6690
6681
|
}());
|