ps-toolkit-ui 1.5.11 → 1.5.14
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 +5 -4
- 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/search/form.car.search.component.js +3 -2
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +4 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4645,7 +4645,6 @@
|
|
|
4645
4645
|
}
|
|
4646
4646
|
};
|
|
4647
4647
|
FormPlaqueSelectComponent.prototype.plaqueChangeFocus = function (p, a) {
|
|
4648
|
-
var _this = this;
|
|
4649
4648
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaque) {
|
|
4650
4649
|
if (p === 'Part1') {
|
|
4651
4650
|
if (a === 'Tab' || a === 'Enter') {
|
|
@@ -4695,7 +4694,7 @@
|
|
|
4695
4694
|
if (a === 'Tab' || a === 'Enter') {
|
|
4696
4695
|
this.part3.focus();
|
|
4697
4696
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
|
|
4698
|
-
|
|
4697
|
+
this.loadOptions();
|
|
4699
4698
|
}
|
|
4700
4699
|
}
|
|
4701
4700
|
else if (a === 'ShiftTab' || a === 'ShiftEnter') {
|
|
@@ -4709,7 +4708,7 @@
|
|
|
4709
4708
|
else if (a === 'ShiftTab' || a === 'ShiftEnter') {
|
|
4710
4709
|
this.part1.focus();
|
|
4711
4710
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
|
|
4712
|
-
|
|
4711
|
+
this.loadOptions();
|
|
4713
4712
|
}
|
|
4714
4713
|
}
|
|
4715
4714
|
}
|
|
@@ -6716,9 +6715,11 @@
|
|
|
6716
6715
|
this.onFocusIn();
|
|
6717
6716
|
};
|
|
6718
6717
|
FormCarSearchComponent.prototype.onFocusIn = function () {
|
|
6718
|
+
var _this = this;
|
|
6719
6719
|
if (this.type === 'Car' || this.type === 'Motor' || this.type === 'CarF') {
|
|
6720
6720
|
setTimeout(function () {
|
|
6721
|
-
$('#
|
|
6721
|
+
$('#' + _this.inp.name + 'Input' + ' .plaque-inp').click();
|
|
6722
|
+
$('#' + _this.inp.name + 'Input' + ' #Part1Input .control').focus();
|
|
6722
6723
|
}, 100);
|
|
6723
6724
|
}
|
|
6724
6725
|
else if (this.type === 'Driver') {
|