ps-toolkit-ui 1.10.26 → 1.10.28

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.
@@ -1746,7 +1746,6 @@
1746
1746
  };
1747
1747
  FormClass.prototype.clearInputs = function () {
1748
1748
  this.inputs.filter(function (x) { return x.type !== exports.InputType.Constant; }).forEach(function (inp) {
1749
- console.log(inp, '$$$$$$$$$');
1750
1749
  inp.clear();
1751
1750
  });
1752
1751
  };
@@ -4349,9 +4348,11 @@
4349
4348
  var lastInp = this.form.inputs.map(function (x) { return x.type !== exports.InputType.Submit && x.type !== exports.InputType.Button &&
4350
4349
  x.type !== exports.InputType.Label && x.type !== exports.InputType.Hidden && !x.disabled && x.visible; }).lastIndexOf(true);
4351
4350
  if (index === lastInp && action === 'Enter') {
4352
- var submit = this.form.inputs.find(function (x) { return x.type === exports.InputType.Submit; });
4353
- if (submit) {
4354
- submit.onClick(submit);
4351
+ var submit_1 = this.form.inputs.find(function (x) { return x.type === exports.InputType.Submit; });
4352
+ if (submit_1) {
4353
+ setTimeout(function () {
4354
+ submit_1.onClick(submit_1);
4355
+ }, 1000);
4355
4356
  return;
4356
4357
  }
4357
4358
  }
@@ -5972,7 +5973,6 @@
5972
5973
  this.inp.setValue = function (v) {
5973
5974
  _this.inp.value = v != null ? v.toString() : '';
5974
5975
  _this.cValue = _this.inp.value;
5975
- console.log(_this.inp, _this.inp.value, 'this.inp.value $$$$$$$$$');
5976
5976
  };
5977
5977
  this.inp.focus = function (changeIndex) {
5978
5978
  if (changeIndex === void 0) { changeIndex = false; }
@@ -6065,7 +6065,6 @@
6065
6065
  this.inp.clear = function () {
6066
6066
  _this.inp.error = null;
6067
6067
  _this.inp.setValue(_this.inp.default, false);
6068
- console.log(_this.inp, _this.inp.default, 'this.inp.default $$$$$$$$$');
6069
6068
  };
6070
6069
  this.inp.data = function () {
6071
6070
  var v = _this.inp.value;