ps-toolkit-ui 0.2.98 → 1.3.4
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.
- package/bundles/ps-toolkit-ui.umd.js +5 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +4 -1
- package/esm2015/lib/components/table/row/table.row.component.js +3 -1
- package/fesm2015/ps-toolkit-ui.js +5 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2635,6 +2635,8 @@
|
|
|
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');
|
|
2639
|
+
_this.row.Data[option.Action] = !inp.data();
|
|
2638
2640
|
var p = new PermissionClass();
|
|
2639
2641
|
p.RelatedId = _this.table.permissions.RelatedId;
|
|
2640
2642
|
p.Area = _this.table.permissions.Area;
|
|
@@ -3514,6 +3516,7 @@
|
|
|
3514
3516
|
}
|
|
3515
3517
|
FormCheckboxComponent.prototype.ngOnInit = function () {
|
|
3516
3518
|
var _this = this;
|
|
3519
|
+
console.log('ngOnInitngOnInitngOnInit');
|
|
3517
3520
|
if (this.inp.value === true) {
|
|
3518
3521
|
this.setValue(this.inp.value);
|
|
3519
3522
|
}
|
|
@@ -3545,6 +3548,8 @@
|
|
|
3545
3548
|
};
|
|
3546
3549
|
FormCheckboxComponent.prototype.onClick = function () {
|
|
3547
3550
|
this.setValue(!this.inp.value);
|
|
3551
|
+
console.log('onClickonClickonClick');
|
|
3552
|
+
this.onChange();
|
|
3548
3553
|
};
|
|
3549
3554
|
FormCheckboxComponent.prototype.setValue = function (v) {
|
|
3550
3555
|
this.inp.value = v;
|