ps-toolkit-ui 1.3.50 → 1.3.53
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 +7 -1
- 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 +2 -2
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +4 -1
- package/esm2015/lib/components/form/select/form.select.component.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +7 -1
- 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
|
};
|
|
@@ -5108,6 +5111,7 @@
|
|
|
5108
5111
|
var code = e.keyCode || e.which;
|
|
5109
5112
|
if (code === 9) {
|
|
5110
5113
|
e.preventDefault();
|
|
5114
|
+
console.log('00000 onKeyDown');
|
|
5111
5115
|
this.cI(e.shiftKey ? 'ShiftTab' : 'Tab');
|
|
5112
5116
|
}
|
|
5113
5117
|
else if (code === 13) {
|
|
@@ -5120,6 +5124,7 @@
|
|
|
5120
5124
|
this.selectOption(h.value);
|
|
5121
5125
|
}
|
|
5122
5126
|
else {
|
|
5127
|
+
console.log('00000else onKeyDown');
|
|
5123
5128
|
this.cI('Tab');
|
|
5124
5129
|
}
|
|
5125
5130
|
}
|
|
@@ -5200,6 +5205,7 @@
|
|
|
5200
5205
|
}
|
|
5201
5206
|
}
|
|
5202
5207
|
if (!isEdit && !this.inp.multiple) {
|
|
5208
|
+
console.log('00000 selectOption');
|
|
5203
5209
|
this.cI('Tab');
|
|
5204
5210
|
}
|
|
5205
5211
|
};
|
|
@@ -6678,7 +6684,7 @@
|
|
|
6678
6684
|
else if (_this.type === exports.VehicleType.Motorcycle) {
|
|
6679
6685
|
_this.motor.focus();
|
|
6680
6686
|
}
|
|
6681
|
-
},
|
|
6687
|
+
}, 3000);
|
|
6682
6688
|
};
|
|
6683
6689
|
return FormCarComponent;
|
|
6684
6690
|
}());
|