ps-toolkit-ui 1.9.44 → 1.9.45

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.
@@ -4989,7 +4989,6 @@
4989
4989
  _this.part3.focus(true);
4990
4990
  }
4991
4991
  else if (v.length === 0) {
4992
- _this.part1.focus(true);
4993
4992
  }
4994
4993
  };
4995
4994
  this.part3.onChange = function (v) {
@@ -5004,7 +5003,6 @@
5004
5003
  _this.changeIndex.emit('Tab');
5005
5004
  }
5006
5005
  else if (v.length === 0 && _this.inp.type === exports.InputType.PlaqueM) {
5007
- _this.part1.focus(true);
5008
5006
  }
5009
5007
  };
5010
5008
  this.part4.onChange = function (v) {
@@ -5094,7 +5092,6 @@
5094
5092
  this.part3.focus(true);
5095
5093
  }
5096
5094
  else if (a === 'ShiftTab' || a === 'ShiftEnter') {
5097
- this.part1.focus(true);
5098
5095
  }
5099
5096
  }
5100
5097
  else if (p === 'Part3') {
@@ -5128,7 +5125,6 @@
5128
5125
  this.changeIndex.emit('Tab');
5129
5126
  }
5130
5127
  else if (a === 'ShiftTab' || a === 'ShiftEnter') {
5131
- this.part1.focus(true);
5132
5128
  }
5133
5129
  }
5134
5130
  }
@@ -5145,6 +5141,8 @@
5145
5141
  };
5146
5142
  FormPlaqueComponent.prototype.onFocusIn = function (e) {
5147
5143
  if (e === void 0) { e = null; }
5144
+ if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
5145
+ }
5148
5146
  };
5149
5147
  FormPlaqueComponent.prototype.onKeyDown = function (e) {
5150
5148
  this.inp.error = null;
@@ -7004,19 +7002,6 @@
7004
7002
  }
7005
7003
  };
7006
7004
  FormVehicleSearchComponent.prototype.onFocusIn = function () {
7007
- var _this = this;
7008
- if (this.type === exports.VehicleType.Car || this.type === exports.VehicleType.Motorcycle || this.type === exports.VehicleType.CarF || this.type === exports.VehicleType.CarG) {
7009
- setTimeout(function () {
7010
- $('#' + _this.inp.id + 'VehicleSearchInput' + ' .plaque-inp').click();
7011
- $('#' + _this.inp.id + 'VehicleSearchInput' + ' #Part1TextInput .control').focus();
7012
- }, 100);
7013
- }
7014
- else if (this.type === exports.VehicleType.Driver) {
7015
- this.driver.focus();
7016
- }
7017
- else if (this.type === exports.VehicleType.Fingerprint) {
7018
- this.fingerprint.focus();
7019
- }
7020
7005
  };
7021
7006
  return FormVehicleSearchComponent;
7022
7007
  }());