ps-toolkit-ui 1.4.82 → 1.4.83

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.
@@ -2892,7 +2892,7 @@
2892
2892
  _this.table.form.inputs.filter(function (x) { return !x.inEditVisible; }).forEach(function (x) { return x.visible = false; });
2893
2893
  _this.table.form.inputs.forEach(function (x) { return x.required = x.inEditRequired; });
2894
2894
  if (_this.table.modal) {
2895
- _this.table.modal.show();
2895
+ _this.table.modal.show(true);
2896
2896
  }
2897
2897
  });
2898
2898
  }
@@ -2939,10 +2939,11 @@
2939
2939
  this.id = this.name;
2940
2940
  this.class = cls;
2941
2941
  }
2942
- ModalClass.prototype.show = function () {
2942
+ ModalClass.prototype.show = function (isEdit) {
2943
2943
  var _this = this;
2944
+ if (isEdit === void 0) { isEdit = false; }
2944
2945
  if (this.onShow) {
2945
- this.onShow();
2946
+ this.onShow(isEdit);
2946
2947
  }
2947
2948
  $__namespace('body').addClass('open-modal');
2948
2949
  $__namespace('#' + this.id + 'Modal').fadeIn(300, function () {