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