ps-toolkit-ui 1.7.12 → 1.7.13

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.
@@ -4482,7 +4482,6 @@
4482
4482
  this.part1.displayLabel = this.part2.displayLabel = this.part3.displayLabel = this.part4.displayLabel = false;
4483
4483
  this.part1.placeholder = this.part2.placeholder = this.part3.placeholder = this.part4.placeholder = null;
4484
4484
  this.part1.onChange = function (v) {
4485
- console.log('this.part1.onChange', v, v.length);
4486
4485
  _this.inp.error = null;
4487
4486
  _this.inp.value = null;
4488
4487
  if (v.length === 2 && _this.inp.type === exports.InputType.SelectAutoCompletePlaque) {
@@ -4495,7 +4494,6 @@
4495
4494
  }
4496
4495
  };
4497
4496
  this.part2.onChange = function (v) {
4498
- console.log('this.part2.onChange', v, v.length);
4499
4497
  _this.inp.error = null;
4500
4498
  _this.inp.value = null;
4501
4499
  if (v.length === 1) {
@@ -4508,7 +4506,6 @@
4508
4506
  }
4509
4507
  };
4510
4508
  this.part3.onChange = function (v) {
4511
- console.log('this.part3.onChange', v, v.length);
4512
4509
  _this.inp.error = null;
4513
4510
  _this.inp.value = null;
4514
4511
  if (v.length === 3 && _this.inp.type === exports.InputType.SelectAutoCompletePlaque) {
@@ -4528,7 +4525,6 @@
4528
4525
  }
4529
4526
  };
4530
4527
  this.part4.onChange = function (v) {
4531
- console.log('this.part4.onChange', v, v.length);
4532
4528
  _this.inp.error = null;
4533
4529
  _this.inp.value = null;
4534
4530
  if (v.length === 2) {
@@ -4657,8 +4653,8 @@
4657
4653
  if (isEdit === void 0) { isEdit = false; }
4658
4654
  this.inp.error = null;
4659
4655
  var va = this.getValue(v);
4660
- this.inp.value = v;
4661
- this.inp.search = va ? va.search : '';
4656
+ this.inp.setValue(v, false);
4657
+ this.inp.setSearch(va ? va.search : '');
4662
4658
  this.cSearch = this.inp.search;
4663
4659
  if (this.inp.onChange) {
4664
4660
  this.inp.onChange(this.inp);
@@ -5996,9 +5992,6 @@
5996
5992
  }
5997
5993
  if (this.inp.onChange) {
5998
5994
  if (this.cValue !== e.target.value) {
5999
- console.log(this.cValue);
6000
- console.log(e.target.value);
6001
- console.log(this.cValue !== e.target.value);
6002
5995
  this.inp.onChange(e.target.value);
6003
5996
  this.cValue = e.target.value;
6004
5997
  }