ps-toolkit-ui 0.0.165 → 0.0.169

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.
@@ -2504,7 +2504,7 @@
2504
2504
  if (this.table.permissions.hasAccess(exports.PermissionAccessTypeEnum.Insert)) {
2505
2505
  this.addChildren = new InputClass(this.table.environment, this.table.l, this.table.name + 'AddSubsetTitle', 'fad fa-plus fa-rotate-90', exports.InputType.Icon, 'green m-h-5 h-25 d-ib va-m f-u');
2506
2506
  this.addChildren.onClick = function () {
2507
- _this.table.form.inputs.find(function (x) { return x.name === 'ParentId'; }).setValue(_this.row.Data.Id, false);
2507
+ _this.table.form.url = _this.table.url + 'Insert/' + _this.row.Data.Id;
2508
2508
  _this.table.form.onSuccessBase = function () {
2509
2509
  _this.table.modal.hide();
2510
2510
  _this.showChildren.type = exports.InputType.Icon;
@@ -5054,7 +5054,7 @@
5054
5054
  this.setOptions();
5055
5055
  this.cSearch = this.inp.search;
5056
5056
  if (this.inp.onChange) {
5057
- this.inp.onChange(this.inp);
5057
+ this.inp.onChange(this.inp, isEdit);
5058
5058
  }
5059
5059
  if (this.inp.rel) {
5060
5060
  this.inp.rel.value = null;
@@ -6014,10 +6014,8 @@
6014
6014
  ];
6015
6015
  }
6016
6016
  AlertComponent.prototype.show = function (l, accept) {
6017
- var _this = this;
6018
6017
  this.alertLabel.value = l;
6019
6018
  this.alert.onHide = function () {
6020
- _this.alert.hide();
6021
6019
  accept();
6022
6020
  };
6023
6021
  this.alert.show();