ps-toolkit-ui 1.12.52 → 1.12.53

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.
@@ -6780,9 +6780,8 @@
6780
6780
  ];
6781
6781
  this.confirm.form.addButtons('Accept', 'blue', false);
6782
6782
  };
6783
- ConfirmComponent.prototype.show = function (l, url, data, accept, failed) {
6783
+ ConfirmComponent.prototype.show = function (l, url, data, accept) {
6784
6784
  var _this = this;
6785
- if (failed === void 0) { failed = null; }
6786
6785
  this.confirmLabel.value = l;
6787
6786
  this.confirm.form.url = url;
6788
6787
  this.confirm.form.data = function () {
@@ -6792,10 +6791,6 @@
6792
6791
  _this.confirm.hide();
6793
6792
  accept(result);
6794
6793
  };
6795
- this.confirm.form.onFailed = function (result) {
6796
- _this.confirm.hide();
6797
- failed(result);
6798
- };
6799
6794
  this.confirm.show();
6800
6795
  };
6801
6796
  return ConfirmComponent;