ps-toolkit-ui 1.18.9 → 1.18.11

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.
@@ -3922,7 +3922,7 @@
3922
3922
  }
3923
3923
  else if (c.enum != null) {
3924
3924
  c.search.type = exports.InputType.Select;
3925
- c.search.options = [new OptionClass('', '-1')].concat(EnumUtils.getKeysAndValues(c.enum).map(function (x) { return new OptionClass(_this.table.l(x.key), x.value); }));
3925
+ c.search.options = [new OptionClass('', '-1')].concat(EnumUtils.getKeysAndValues(c.enum).map(function (x) { return new OptionClass(_this.table.l(x.key), x.value.toString()); }));
3926
3926
  }
3927
3927
  else {
3928
3928
  c.search.type = exports.InputType.Text;
@@ -6045,7 +6045,6 @@
6045
6045
  }
6046
6046
  this.inp.setValue = function (v, isEdit) {
6047
6047
  if (!_this.inp.multiple) {
6048
- console.log(v, 'vvvvvvvvvvvvv');
6049
6048
  _this.selectOption(v == null ? null : v.toString(), isEdit);
6050
6049
  }
6051
6050
  else {
@@ -6054,7 +6053,6 @@
6054
6053
  }
6055
6054
  }
6056
6055
  };
6057
- console.log(this.inp.default, 'this.inp.defaultthis.inp.defaultthis.inp.default');
6058
6056
  if (this.inp.default != null) {
6059
6057
  this.inp.setValue(this.inp.default, false);
6060
6058
  }
@@ -6258,8 +6256,6 @@
6258
6256
  if (isEdit === void 0) { isEdit = false; }
6259
6257
  this.inp.error = null;
6260
6258
  var va = this.getValue(v);
6261
- console.log(this.inp.options, 'this.inp.optionsthis.inp.optionsthis.inp.optionsthis.inp.options');
6262
- console.log(this.inp.options.find(function (x) { return x.value === v; }), 'this.inp.options.findthis.inp.options.findthis.inp.options.find');
6263
6259
  if (this.inp.multiple) {
6264
6260
  this.toggle(va);
6265
6261
  this.inp.search = '';
@@ -6267,9 +6263,6 @@
6267
6263
  else {
6268
6264
  this.inp.value = v;
6269
6265
  this.inp.search = va ? (((this.inp.type !== exports.InputType.SelectSearch && this.inp.type !== exports.InputType.Select) || va.search) ? va.search : va.name) : '';
6270
- console.log(va, 'vavavavavavavaa');
6271
- console.log(this.inp.value, 'this.inp.valuethis.inp.valuethis.inp.valuethis.inp.value');
6272
- console.log(this.inp.search, 'this.inp.searchthis.inp.searchthis.inp.searchthis.inp.search');
6273
6266
  }
6274
6267
  this.setOptions();
6275
6268
  this.cSearch = this.inp.search;