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.
@@ -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
  }());