ps-toolkit-ui 0.0.176 → 0.0.180

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.
@@ -2741,7 +2741,7 @@
2741
2741
  }
2742
2742
  else if (option.InputAction === exports.PermissionInputActionEnum.OnClick) {
2743
2743
  opt.onClick = function (btn) {
2744
- _this.table.optionsActions.find(function (x) { return x.name === option.Action; }).onClick(_this.row.Data);
2744
+ _this.table.optionsActions.find(function (x) { return x.name === option.Action; }).onClick(btn);
2745
2745
  };
2746
2746
  }
2747
2747
  opts.push(opt);
@@ -4078,7 +4078,12 @@
4078
4078
  FormLabelComponent.prototype.ngOnInit = function () {
4079
4079
  var _this = this;
4080
4080
  this.inp.setValue = function (v) {
4081
+ console.log(v);
4081
4082
  _this.inp.value = v;
4083
+ console.log(_this.inp.value);
4084
+ setTimeout(function () {
4085
+ _this.inp.value = v;
4086
+ }, 5000);
4082
4087
  };
4083
4088
  this.inp.isValid = function () {
4084
4089
  return true;
@@ -7277,6 +7282,11 @@
7277
7282
  accessInp.url = '/Report' + p.getUrl();
7278
7283
  accessInp.urlNewTab = true;
7279
7284
  }
7285
+ else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {
7286
+ accessInp.onClick = function (btn) {
7287
+ _this.optionsActions.find(function (x) { return x.name === access.Action; }).onClick(btn);
7288
+ };
7289
+ }
7280
7290
  this_1.buttons.push(accessInp);
7281
7291
  };
7282
7292
  var this_1 = this;