ps-toolkit-ui 1.5.80 → 1.5.83
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 +2 -6
- 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 +3 -7
- package/fesm2015/ps-toolkit-ui.js +2 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3553,8 +3553,6 @@
|
|
|
3553
3553
|
FormCheckboxComponent.prototype.ngOnInit = function () {
|
|
3554
3554
|
var _this = this;
|
|
3555
3555
|
this.inp.clear = function () {
|
|
3556
|
-
_this.inp.error = null;
|
|
3557
|
-
_this.inp.value = _this.inp.default;
|
|
3558
3556
|
};
|
|
3559
3557
|
this.inp.isValid = function () {
|
|
3560
3558
|
_this.inp.error = null;
|
|
@@ -3568,12 +3566,14 @@
|
|
|
3568
3566
|
return _this.inp.value;
|
|
3569
3567
|
};
|
|
3570
3568
|
this.inp.setValue = function (v) {
|
|
3569
|
+
console.log(v, 1111);
|
|
3571
3570
|
_this.inp.value = v;
|
|
3572
3571
|
};
|
|
3573
3572
|
this.inp.focus = function () {
|
|
3574
3573
|
_this.onFocusIn();
|
|
3575
3574
|
};
|
|
3576
3575
|
this.inp.setValue(this.inp.value === true, false);
|
|
3576
|
+
console.log(this.inp.value, 2222);
|
|
3577
3577
|
};
|
|
3578
3578
|
FormCheckboxComponent.prototype.onFocusIn = function () {
|
|
3579
3579
|
this.inp.error = null;
|
|
@@ -3584,10 +3584,6 @@
|
|
|
3584
3584
|
};
|
|
3585
3585
|
FormCheckboxComponent.prototype.onChange = function () {
|
|
3586
3586
|
var _this = this;
|
|
3587
|
-
console.log(this.inp.onChange);
|
|
3588
|
-
setTimeout(function () {
|
|
3589
|
-
console.log(_this.inp.value);
|
|
3590
|
-
}, 5000);
|
|
3591
3587
|
if (this.inp.onChange) {
|
|
3592
3588
|
setTimeout(function () {
|
|
3593
3589
|
_this.inp.onChange(_this.inp);
|