ps-toolkit-ui 1.6.81 → 1.6.82

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.
@@ -4921,42 +4921,42 @@
4921
4921
  _this.inp.error = null;
4922
4922
  if (v.length === 2 && _this.inp.type === exports.InputType.Plaque) {
4923
4923
  if (_this.part2.data() != null) {
4924
- _this.part3.focus();
4924
+ _this.part3.focus(true);
4925
4925
  }
4926
4926
  else {
4927
- _this.part2.focus();
4927
+ _this.part2.focus(true);
4928
4928
  }
4929
4929
  }
4930
4930
  else if (v.length === 3 && _this.inp.type === exports.InputType.PlaqueM) {
4931
- _this.part3.focus();
4931
+ _this.part3.focus(true);
4932
4932
  }
4933
4933
  };
4934
4934
  this.part2.onChange = function (v) {
4935
4935
  _this.inp.error = null;
4936
4936
  if (v.length === 1) {
4937
4937
  setTimeout(function () {
4938
- _this.part3.focus();
4938
+ _this.part3.focus(true);
4939
4939
  }, 100);
4940
4940
  }
4941
4941
  else if (v.length === 0) {
4942
4942
  setTimeout(function () {
4943
- _this.part1.focus();
4943
+ _this.part1.focus(true);
4944
4944
  }, 100);
4945
4945
  }
4946
4946
  };
4947
4947
  this.part3.onChange = function (v) {
4948
4948
  _this.inp.error = null;
4949
4949
  if (v.length === 3 && _this.inp.type === exports.InputType.Plaque) {
4950
- _this.part4.focus();
4950
+ _this.part4.focus(true);
4951
4951
  }
4952
4952
  if (v.length === 0 && _this.inp.type === exports.InputType.Plaque) {
4953
- _this.part2.focus();
4953
+ _this.part2.focus(true);
4954
4954
  }
4955
4955
  else if (v.length === 5 && _this.inp.type === exports.InputType.PlaqueM) {
4956
4956
  _this.changeIndex.emit('Tab');
4957
4957
  }
4958
4958
  else if (v.length === 0 && _this.inp.type === exports.InputType.PlaqueM) {
4959
- _this.part1.focus();
4959
+ _this.part1.focus(true);
4960
4960
  }
4961
4961
  };
4962
4962
  this.part4.onChange = function (v) {
@@ -4966,7 +4966,7 @@
4966
4966
  }
4967
4967
  else {
4968
4968
  if (v.length === 0) {
4969
- _this.part3.focus();
4969
+ _this.part3.focus(true);
4970
4970
  }
4971
4971
  }
4972
4972
  };