ps-toolkit-ui 1.9.54 → 1.9.55

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.
@@ -1736,7 +1736,6 @@
1736
1736
  };
1737
1737
  FormClass.prototype.clearInputs = function () {
1738
1738
  this.inputs.filter(function (x) { return x.type !== exports.InputType.Constant; }).forEach(function (inp) {
1739
- console.log(inp);
1740
1739
  inp.clear();
1741
1740
  });
1742
1741
  };
@@ -6928,15 +6927,15 @@
6928
6927
  return true;
6929
6928
  };
6930
6929
  this.inp.clear = function () {
6931
- // this.inp.error = null;
6932
- // this.inp.setValue(null, false);
6933
- // this.changeType(VehicleType.Car);
6934
- // this.car.clear();
6935
- // this.motor.clear();
6936
- // this.carF.clear();
6937
- // this.carG.clear();
6938
- // this.driver.clear();
6939
- // this.fingerprint.clear();
6930
+ _this.inp.error = null;
6931
+ _this.inp.setValue(null, false);
6932
+ _this.changeType(exports.VehicleType.Car);
6933
+ _this.car.clear();
6934
+ _this.motor.clear();
6935
+ _this.carF.clear();
6936
+ _this.carG.clear();
6937
+ _this.driver.clear();
6938
+ _this.fingerprint.clear();
6940
6939
  };
6941
6940
  this.inp.data = function () {
6942
6941
  var d = { Type: _this.type };
@@ -7011,8 +7010,8 @@
7011
7010
  var _this = this;
7012
7011
  if (this.type === exports.VehicleType.Car || this.type === exports.VehicleType.Motorcycle || this.type === exports.VehicleType.CarF || this.type === exports.VehicleType.CarG) {
7013
7012
  setTimeout(function () {
7014
- $('#' + _this.inp.id + 'VehicleSearchInput' + ' .plaque-inp').click();
7015
- $('#' + _this.inp.id + 'VehicleSearchInput' + ' #Part1TextInput .control').focus();
7013
+ $('#' + _this.inp.id + 'VehicleSearchInput .plaque-inp').click();
7014
+ $('#' + _this.inp.id + 'VehicleSearchInput #Part1TextInput .control').focus();
7016
7015
  }, 100);
7017
7016
  }
7018
7017
  else if (this.type === exports.VehicleType.Driver) {
@@ -7124,8 +7123,9 @@
7124
7123
  this.onFocusIn();
7125
7124
  };
7126
7125
  FormVehicleComponent.prototype.onFocusIn = function () {
7126
+ var _this = this;
7127
7127
  setTimeout(function () {
7128
- $('#Part1TextInput .control').focus();
7128
+ $('#' + _this.inp.id + 'VehicleInput #Part1TextInput .control').focus();
7129
7129
  }, 100);
7130
7130
  };
7131
7131
  return FormVehicleComponent;