ps-toolkit-ui 1.3.55 → 1.3.58

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.
@@ -4761,7 +4761,6 @@
4761
4761
  };
4762
4762
  };
4763
4763
  FormPlaqueComponent.prototype.changeFocus = function (p, a) {
4764
- console.log('changeFocus', p, a);
4765
4764
  if (this.inp.type === exports.InputType.Plaque) {
4766
4765
  if (p === 'Part1') {
4767
4766
  if (a === 'Tab' || a === 'Enter') {
@@ -4817,9 +4816,9 @@
4817
4816
  };
4818
4817
  FormPlaqueComponent.prototype.onFocusIn = function (e) {
4819
4818
  if (e === void 0) { e = null; }
4820
- console.log('onFocusIn');
4819
+ console.log(111, 'onFocusIn');
4821
4820
  if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
4822
- console.log('this.part1.focus');
4821
+ console.log(2222);
4823
4822
  this.part1.focus();
4824
4823
  }
4825
4824
  };
@@ -5111,7 +5110,6 @@
5111
5110
  var code = e.keyCode || e.which;
5112
5111
  if (code === 9) {
5113
5112
  e.preventDefault();
5114
- console.log('00000 onKeyDown');
5115
5113
  this.cI(e.shiftKey ? 'ShiftTab' : 'Tab');
5116
5114
  }
5117
5115
  else if (code === 13) {
@@ -5124,7 +5122,6 @@
5124
5122
  this.selectOption(h.value);
5125
5123
  }
5126
5124
  else {
5127
- console.log('00000else onKeyDown');
5128
5125
  this.cI('Tab');
5129
5126
  }
5130
5127
  }
@@ -5205,7 +5202,6 @@
5205
5202
  }
5206
5203
  }
5207
5204
  if (!isEdit && !this.inp.multiple) {
5208
- console.log('00000 selectOption');
5209
5205
  this.cI('Tab');
5210
5206
  }
5211
5207
  };
@@ -6673,18 +6669,15 @@
6673
6669
  this.onFocusIn();
6674
6670
  };
6675
6671
  FormCarComponent.prototype.onFocusIn = function () {
6676
- var _this = this;
6677
- setTimeout(function () {
6678
- if (_this.type === exports.VehicleType.Car) {
6679
- _this.car.focus();
6680
- }
6681
- else if (_this.type === exports.VehicleType.CarF) {
6682
- _this.carF.focus();
6683
- }
6684
- else if (_this.type === exports.VehicleType.Motorcycle) {
6685
- _this.motor.focus();
6686
- }
6687
- }, 3000);
6672
+ if (this.type === exports.VehicleType.Car) {
6673
+ this.car.focus();
6674
+ }
6675
+ else if (this.type === exports.VehicleType.CarF) {
6676
+ this.carF.focus();
6677
+ }
6678
+ else if (this.type === exports.VehicleType.Motorcycle) {
6679
+ this.motor.focus();
6680
+ }
6688
6681
  };
6689
6682
  return FormCarComponent;
6690
6683
  }());