ps-toolkit-ui 1.9.49 → 1.9.51

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.
@@ -3168,6 +3168,7 @@
3168
3168
  $__namespace('body').removeClass('open-modal');
3169
3169
  $__namespace('#' + this.id + 'Modal').fadeOut(300, function () {
3170
3170
  if (_this.form && _this.form.name !== 'Confirm' && _this.form.name !== 'Alert') {
3171
+ _this.form.clear();
3171
3172
  if (_this.form.onHideModal) {
3172
3173
  _this.form.onHideModal();
3173
3174
  }
@@ -3175,6 +3176,9 @@
3175
3176
  if (_this.table && _this.table.form) {
3176
3177
  _this.table.form.clear();
3177
3178
  }
3179
+ if (_this.onHide) {
3180
+ _this.onHide();
3181
+ }
3178
3182
  });
3179
3183
  };
3180
3184
  return ModalClass;
@@ -6923,15 +6927,15 @@
6923
6927
  return true;
6924
6928
  };
6925
6929
  this.inp.clear = function () {
6926
- _this.inp.error = null;
6927
- _this.inp.setValue(null, false);
6928
- _this.changeType(exports.VehicleType.Car);
6929
- _this.car.clear();
6930
- _this.motor.clear();
6931
- _this.carF.clear();
6932
- _this.carG.clear();
6933
- _this.driver.clear();
6934
- _this.fingerprint.clear();
6930
+ // this.inp.error = null;
6931
+ // this.inp.setValue(null, false);
6932
+ // this.changeType(VehicleType.Car);
6933
+ // this.car.clear();
6934
+ // this.motor.clear();
6935
+ // this.carF.clear();
6936
+ // this.carG.clear();
6937
+ // this.driver.clear();
6938
+ // this.fingerprint.clear();
6935
6939
  };
6936
6940
  this.inp.data = function () {
6937
6941
  var d = { Type: _this.type };