ps-toolkit-ui 1.6.74 → 1.6.75

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.
@@ -4945,7 +4945,7 @@
4945
4945
  };
4946
4946
  this.inp.setValue = function (v) {
4947
4947
  var parts = v.split('_');
4948
- if (parts.length === 4) {
4948
+ if (_this.inp.type === exports.InputType.Plaque) {
4949
4949
  setTimeout(function () {
4950
4950
  _this.inp.value = v;
4951
4951
  _this.part1.value = parts[0];
@@ -4954,14 +4954,14 @@
4954
4954
  _this.part4.value = parts[3];
4955
4955
  }, 100);
4956
4956
  }
4957
- else if (parts.length === 2) {
4957
+ else if (_this.inp.type === exports.InputType.PlaqueM || _this.inp.type === exports.InputType.PlaqueF) {
4958
4958
  setTimeout(function () {
4959
4959
  _this.inp.value = v;
4960
4960
  _this.part1.value = parts[0];
4961
4961
  _this.part3.value = parts[1];
4962
4962
  }, 100);
4963
4963
  }
4964
- else if (parts.length === 1) {
4964
+ else if (_this.inp.type === exports.InputType.PlaqueG) {
4965
4965
  setTimeout(function () {
4966
4966
  _this.inp.value = v;
4967
4967
  _this.part1.value = parts[0];