ps-toolkit-ui 1.20.42 → 1.20.44

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.
@@ -2596,9 +2596,11 @@
2596
2596
  _this.type === exports.InputType.SelectAutoCompletePlaqueF || _this.type === exports.InputType.SelectAutoCompletePlaqueG || _this.type === exports.InputType.Radio) {
2597
2597
  var r = _this.getOptions(result, null);
2598
2598
  var s = result.find(function (x) { return x.Selected; });
2599
+ console.log('value 20', _this.value);
2599
2600
  if (s) {
2600
2601
  _this.value = s.Id.toString();
2601
2602
  }
2603
+ console.log('value 21', _this.value);
2602
2604
  _this.setOptions(r);
2603
2605
  }
2604
2606
  else if (_this.type === exports.InputType.Tree || _this.type === exports.InputType.TreeRadio) {
@@ -2639,10 +2641,9 @@
2639
2641
  InputClass.prototype.setOptions = function (r) {
2640
2642
  var _this = this;
2641
2643
  this.options = r;
2642
- console.log('this.value', this.value);
2644
+ console.log('value 3', this.value);
2643
2645
  if (this.value != null) {
2644
2646
  setTimeout(function () {
2645
- console.log('this.setValue(this.value, true)');
2646
2647
  _this.setValue(_this.value, true);
2647
2648
  }, 500);
2648
2649
  }
@@ -6062,7 +6063,7 @@
6062
6063
  }
6063
6064
  else {
6064
6065
  if (v != null) {
6065
- console.log(v.map(String), 'v.map(String)');
6066
+ _this.inp.value = v.map(String);
6066
6067
  _this.setValue(v.map(String));
6067
6068
  }
6068
6069
  }
@@ -6297,7 +6298,7 @@
6297
6298
  if (v !== null) {
6298
6299
  this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
6299
6300
  if (this.inp.rel.type !== exports.InputType.SelectAutoComplete) {
6300
- console.log('this.inp.rel.load');
6301
+ console.log('value 1', this.inp.rel.value);
6301
6302
  this.inp.rel.load(null, function () {
6302
6303
  console.log('this.inp.rel.load done');
6303
6304
  });