ps-toolkit-ui 1.3.4 → 1.3.5

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,7 +2635,7 @@
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
- console.log('onChangeonChangeonChange');
2638
+ console.log(inp.data(), 'onChangeonChangeonChange');
2639
2639
  _this.row.Data[option.Action] = !inp.data();
2640
2640
  var p = new PermissionClass();
2641
2641
  p.RelatedId = _this.table.permissions.RelatedId;
@@ -3516,10 +3516,8 @@
3516
3516
  }
3517
3517
  FormCheckboxComponent.prototype.ngOnInit = function () {
3518
3518
  var _this = this;
3519
- console.log('ngOnInitngOnInitngOnInit');
3520
- if (this.inp.value === true) {
3521
- this.setValue(this.inp.value);
3522
- }
3519
+ console.log(this.inp.value, 'ngOnInitngOnInitngOnInit');
3520
+ this.setValue(this.inp.value === true);
3523
3521
  this.inp.clear = function () {
3524
3522
  _this.inp.error = null;
3525
3523
  _this.setValue(_this.inp.default);
@@ -3548,7 +3546,7 @@
3548
3546
  };
3549
3547
  FormCheckboxComponent.prototype.onClick = function () {
3550
3548
  this.setValue(!this.inp.value);
3551
- console.log('onClickonClickonClick');
3549
+ console.log(this.inp.value, 'onClickonClickonClick');
3552
3550
  this.onChange();
3553
3551
  };
3554
3552
  FormCheckboxComponent.prototype.setValue = function (v) {