ps-toolkit-ui 1.18.64 → 1.18.66

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.
@@ -3980,19 +3980,21 @@
3980
3980
  }
3981
3981
  if (x.type === exports.InputType.Submit) {
3982
3982
  x.onClick = function () {
3983
+ console.log('x.onClick');
3983
3984
  if (_this.table.searchForm.onBeforeSubmit && !_this.table.searchForm.onBeforeSubmit()) {
3984
3985
  return;
3985
3986
  }
3986
3987
  _this.table.load(x);
3987
3988
  $__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
3988
3989
  };
3989
- _this.table.searchForm.submit = function () {
3990
- if (_this.table.searchForm.onBeforeSubmit && !_this.table.searchForm.onBeforeSubmit()) {
3991
- return;
3992
- }
3993
- _this.table.load(x);
3994
- $__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
3995
- };
3990
+ // this.table.searchForm.submit = () => {
3991
+ // console.log('this.table.searchForm.submit');
3992
+ // if (this.table.searchForm.onBeforeSubmit && !this.table.searchForm.onBeforeSubmit()){
3993
+ // return;
3994
+ // }
3995
+ // this.table.load(x);
3996
+ // $(this.tableDiv.nativeElement).removeClass('show-expert-search');
3997
+ // };
3996
3998
  }
3997
3999
  });
3998
4000
  }
@@ -7160,6 +7162,7 @@
7160
7162
  _this.setValue(v.map(String));
7161
7163
  };
7162
7164
  this.inp.clear = function () {
7165
+ _this.inp.error = null;
7163
7166
  _this.inp.setValue([], false);
7164
7167
  };
7165
7168
  if (this.inp.default != null) {
@@ -7249,6 +7252,7 @@
7249
7252
  if (this.inp.onChange) {
7250
7253
  this.inp.onChange(this.inp);
7251
7254
  }
7255
+ this.inp.error = null;
7252
7256
  };
7253
7257
  FormTreeComponent.prototype.check = function (c) {
7254
7258
  if (this.inp.type === exports.InputType.Tree) {