ps-toolkit-ui 0.2.99 → 0.3.0

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.
@@ -2635,13 +2635,13 @@
2635
2635
  var inp = new InputClass(this_1.table.environment, this_1.table.l, null, null, exports.InputType.Check, 'h-25 without-border m-h-5 d-ib va-m f-u', this_1.row.Data[option.Action] === true);
2636
2636
  inp.row = this_1.row;
2637
2637
  inp.onChange = function () {
2638
+ _this.row.Data[option.Action] = !inp.data();
2638
2639
  var p = new PermissionClass();
2639
2640
  p.RelatedId = _this.table.permissions.RelatedId;
2640
2641
  p.Area = _this.table.permissions.Area;
2641
2642
  p.Controller = option.Controller;
2642
2643
  p.Action = option.Action;
2643
2644
  new RequestClass(_this.table.l).send(p.getUrl(), exports.Method.Post, null, null, function () {
2644
- _this.row.Data[option.Action] = !inp.data();
2645
2645
  });
2646
2646
  };
2647
2647
  inp.displayLabel = false;
@@ -3546,6 +3546,7 @@
3546
3546
  };
3547
3547
  FormCheckboxComponent.prototype.onClick = function () {
3548
3548
  this.setValue(!this.inp.value);
3549
+ this.onChange();
3549
3550
  };
3550
3551
  FormCheckboxComponent.prototype.setValue = function (v) {
3551
3552
  this.inp.value = v;