ps-toolkit-ui 1.9.42 → 1.9.43
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 +0 -15
- 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/vehicle/search/form.vehicle.search.component.js +1 -15
- package/fesm2015/ps-toolkit-ui.js +0 -14
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6897,7 +6897,6 @@
|
|
|
6897
6897
|
};
|
|
6898
6898
|
this.inp.focus = function () {
|
|
6899
6899
|
console.log(2222, 'this.inp.focus');
|
|
6900
|
-
_this.onFocusIn();
|
|
6901
6900
|
};
|
|
6902
6901
|
this.inp.isValid = function () {
|
|
6903
6902
|
_this.inp.error = null;
|
|
@@ -7005,24 +7004,10 @@
|
|
|
7005
7004
|
this.car.url = this.motor.url = this.carF.url = this.carG.url = this.driver.url = this.inp.url.replace('_{}', '_' + this.type);
|
|
7006
7005
|
console.log(111111, isEdit);
|
|
7007
7006
|
if (!isEdit) {
|
|
7008
|
-
this.onFocusIn();
|
|
7009
7007
|
}
|
|
7010
7008
|
};
|
|
7011
7009
|
FormVehicleSearchComponent.prototype.onFocusIn = function () {
|
|
7012
|
-
var _this = this;
|
|
7013
7010
|
console.log(2222, 'onFocusIn');
|
|
7014
|
-
if (this.type === exports.VehicleType.Car || this.type === exports.VehicleType.Motorcycle || this.type === exports.VehicleType.CarF || this.type === exports.VehicleType.CarG) {
|
|
7015
|
-
setTimeout(function () {
|
|
7016
|
-
$('#' + _this.inp.id + 'VehicleSearchInput' + ' .plaque-inp').click();
|
|
7017
|
-
$('#' + _this.inp.id + 'VehicleSearchInput' + ' #Part1TextInput .control').focus();
|
|
7018
|
-
}, 100);
|
|
7019
|
-
}
|
|
7020
|
-
else if (this.type === exports.VehicleType.Driver) {
|
|
7021
|
-
this.driver.focus();
|
|
7022
|
-
}
|
|
7023
|
-
else if (this.type === exports.VehicleType.Fingerprint) {
|
|
7024
|
-
this.fingerprint.focus();
|
|
7025
|
-
}
|
|
7026
7011
|
};
|
|
7027
7012
|
return FormVehicleSearchComponent;
|
|
7028
7013
|
}());
|